Hi,
While validating a parser I see an error with message
generic::unknown: invalid event 0: LOG_PARSING_GENERATED_INVALID_EVENT: "generic::invalid_argument: *events_go_proto.Event_Alert: alert event device 1 is invalid: device is empty"The error message is seen for some of the logs due to the parser block below
if ![missing_tenant] and "%{agent.labels.tenant}" != "" and "%{agent.labels.tenant}" != "-" {
mutate {
replace => {
"event.idm.read_only_udm.principal.namespace" => "%{agent.labels.tenant}"
}
on_error => "failed_replace.tenantLabel"
}
}The parser works and the namespace is seen when looking at the statedump. However it shows the error above at UDM output and the validation fails. Just commenting out the code block above resolves the issue. Any pointers on what could be the issue and how to resolve it?
Screenshots attached.


