Null output_fields
object in falco output for k8s audit events
#1845
Labels
output_fields
object in falco output for k8s audit events
#1845
Describe the bug
The
output_fields
object in falco output for k8s audit log events in an AKS cluster is null, but should either be an empty hash or have the output fields properly parsed and dropped into the object for log analysis tools.Currently fluentd cannot process these log entries and throws a parsing error
How to reproduce it
Expected behaviour
output_fields
has a value, even if it is just an empty hashEnvironment
Additional context
After successfully configuring falco and the sysdig audit log forwarder to work together in an AKS cluster, we observed that the k8s audit events have a
null
value for theoutput_fields
object.Because of this, fluentd's json parser cannot parse these events without first mutating the output to include an empty hash for the output_fields object. If we leave it null, the fluent throws a parser error for every log entry with a null value.
All of our k8s audit log events in falco have this issue, it is not limited to a specific rule or set of rules in falco.
The output in question looks like below:
It should look like below:
Please check and correct this issue.
The text was updated successfully, but these errors were encountered: