fluent-operator
fluent-operator copied to clipboard
LUA filter inline code support
Adds support for "code:" inline block in LUA namespace-wide filter. See: https://docs.fluentbit.io/manual/pipeline/filters/lua "code | Inline LUA code instead of loading from a path via script."
None
Usage:
apiVersion: fluentbit.fluent.io/v1alpha2
kind: Filter
metadata:
labels:
fluentbit.fluent.io/enabled: "true"
name: test
spec:
match: "*"
filters:
- lua:
call: converter
protectedMode: true
code: |
function converter(tag, timestamp, record)
return 0, 0, 0
end