Fluent Bit and SQL
Statements
SELECT
SELECTSELECT results_statement
FROM STREAM:stream_name | TAG:match_rule
[WINDOW TUMBLING (integer SECOND)]
[WHERE condition]
[GROUP BY groupby]Examples [#select-examples]
SELECT * FROM STREAM:apache;CREATE STREAM
CREATE STREAMExamples [#create-stream-examples]
Aggregation functions
AVG
AVGCOUNT
COUNTMIN
MINMAX
MAXSUM
SUMTime functions
NOW
NOWUNIX_TIMESTAMP
UNIX_TIMESTAMPRecord functions
RECORD_TAG
RECORD_TAGRECORD_TIME
RECORD_TIMEWHERE condition
WHERE conditionLast updated
Was this helpful?