Changelog
Last updated
Was this helpful?
This page details new additions to the stream processor engine in major release versions of Fluent Bit.
Release date: June 27, 2019
Added the ability to use nested maps and sub-keys to perform conditions and key selections. For example, consider the following record:
{
"key1": 123,
"key2": 456,
"key3": {
"sub1": {
"sub2": 789
}
}
}Now you can perform queries like:
SELECT key3['sub1']['sub2'] FROM STREAM:test WHERE key3['sub1']['sub2'] = 789;For conditionals, added the new @record functions:
@record.time()
Returns the record timestamp.
@record.contains(key)
Returns true or false if key exists in the record, or false if not.
IS NULL and IS NOT NULLAdded IS NULL and IS NOT NULL statements to determine whether an existing key in a record has a null value. For example:
For more details, see Check keys and null values.
Release date: 2019-05-09
Added the stream processor to Fluent Bit.
Last updated
Was this helpful?
Was this helpful?
SELECT * FROM STREAM:test WHERE key3['sub1'] IS NOT NULL;