| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- select bklog FROM /test/bucketlog
- /**
- output()
- match('bklog.len',10,'bklog.0.len',4)
- match('bklog.0.1','file1.log','bklog.4.1','file1.log','bklog.9.1','file1.log')
- **/
- ;
- SELECT bklog.time('2020-04-22', '').inst() FROM /test/bucketlog
- /**
- output()
- match('bklog.0.0','file1.log')
- **/
- ;
- SELECT bklog.date("2020-06-28").inst() FROM /test/bucketlog
- /**
- output()
- match('bklog.0.0','file1.log')
- **/
- ;
- SELECT bklog["file*.log"{116669996670004, 116669996680008}] FROM /test/bucketlog
- /**
- output()
- **/
- ;
- SELECT bklog["file1.log"{1,3,6,7}].time('2020-06-25 00:49:59,667', '').find( "twcs skipping" ) FROM /test/bucketlog
- /**
- output()
- **/
- ;
- SELECT bklog.time('2020-06-23 14:50','2020-06-23 15:00').find('twcs'),id FROM /test/bucketlog
- /**
- output()
- **/
- ;
- SELECT id FROM /test/bucketlog where bklog.time("2020-05-01","").find("INFO").assert()
- /**
- output()
- **/
- ;
- select bklog2 FROM /test/bucketlog2
- /**
- output()
- match('bklog2.len',10)
- **/
- ;
|