7.check.mql 675 B

12345678910111213141516171819202122232425262728
  1. update /m3event/devops/alerts_status set alertgroup = '日志'
  2. ;
  3. select * from /m3event/devops/alerts_status where severity != 5 limit -1
  4. ;
  5. select alertgroup,alertkey,evtproccode,firstoccurrence,lastoccurrence,node,nodealias,policylevel,policyname,severity,status,summary,tally,id,entity,class from /m3event/devops/alerts_status where severity != 5 limit -1
  6. /**
  7. output()
  8. **/
  9. ;
  10. update /m3event/devops/ set status= 1231 where id in ('6513184388393225798')
  11. ;
  12. select id,status from /m3event/devops/alerts_status where id in ('6513184388393225798')
  13. /**
  14. output()
  15. **/
  16. ;
  17. select id,status from /m3event/devops/ where id in ('6513184388393225798')
  18. /**
  19. output()
  20. **/
  21. ;