12valid.mql 787 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. select bklog FROM /test/bucketstrulog
  2. /**
  3. output()
  4. match('bklog.len',5)
  5. **/
  6. ;
  7. SELECT bklog.time('2020-04-22', '').inst() FROM /test/bucketstrulog
  8. /**
  9. output()
  10. match('bklog.0.0','file1.log')
  11. **/
  12. ;
  13. SELECT bklog.date("2021-06-16").inst() FROM /test/bucketstrulog
  14. /**
  15. output()
  16. match('bklog.0.0','file1.log')
  17. **/
  18. ;
  19. SELECT bklog["file*.log"{116669996670004, 116669996680008}] FROM /test/bucketstrulog
  20. /**
  21. output()
  22. **/
  23. ;
  24. SELECT bklog["file1.log"{1,3,6,7}].time('2020-05-15 00:49:59,667', '').find( "twcs skipping" ) FROM /test/bucketstrulog
  25. /**
  26. output()
  27. **/
  28. ;
  29. SELECT bklog.time('2020-06-23 14:50','2020-06-23 15:00').find('twcs'),id FROM /test/bucketstrulog
  30. /**
  31. output()
  32. **/
  33. ;
  34. SELECT id FROM /test/bucketstrulog where bklog.time("2020-05-01","").find("INFO").assert()
  35. /**
  36. output()
  37. **/
  38. ;