-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
filter_lua: allow to return an array of messages. #811
Conversation
Signed-off-by: Manuel Luis Sanmartín Rozada <[email protected]>
To allow to split a message in multiple messages in the lua filter, the result can be a map or an array of maps.
|
thanks |
Signed-off-by: Manuel Luis Sanmartín Rozada <[email protected]>
Awesome! This is just what I want. I've looked the Fluent Bit docs but found nothing about this feature. Google search also returned nothing. Thank you for the nice work. By the way, I'll make a patch to update the |
Add description about that the Lua callback can return an array of records, i.e., the third return value of the callback function can be an array of tables. This feature enables this Lua filter to split an input record into multiple records. Document the record split feature as a new subsection and add an example about it. See also fluent/fluent-bit#811 . While there, variosu minor grammar and format fixes. Signed-off-by: Aaron LI <[email protected]>
Add description about that the Lua callback can return an array of records, i.e., the third return value of the callback function can be an array of tables. This feature enables this Lua filter to split an input record into multiple records. Document the record split feature as a new subsection and add an example about it. See also fluent/fluent-bit#811 . While there, variosu minor grammar and format fixes. Signed-off-by: Weitian LI <[email protected]>
Add description about that the Lua callback can return an array of records, i.e., the third return value of the callback function can be an array of tables. This feature enables this Lua filter to split an input record into multiple records. Document the record split feature as a new subsection and add an example about it. See also fluent/fluent-bit#811 . While there, variosu minor grammar and format fixes. Signed-off-by: Weitian LI <[email protected]>
Signed-off-by: lecaros <[email protected]>
Hi guys ! one question, Which take will take on each emitted record ? I am trying to return a table where the records should match different tags, is it possible ? |
No description provided.