Hi all,
We're running a Wazuh v4.3.1 cluster with the AWS, and Azure Wodles, and GCP pubsub. All three of these sources occasionally result in illegal state exceptions as they're trying to map objects into keywords or vice versa. I believe this thread describes a similar problem:
https://groups.google.com/g/wazuh/c/FkSiLPUcUtQ/m/6NJ0XmkkAQAJ
Azure active directory Graph initially dropped a large number of events, as instead of nesting its fields under data.gcp/data.aws like GCP and AWS do, events fields are mapped directly under data, like data.status.
I think that particular case is easily addressed with a custom decoder, but we're also seeing the same when pulling logs from GCP and occasionally AWS.
Filebeat complaining about events from gcp:
{"type":"mapper_parsing_exception","reason":"object mapping for [data.gcp.protoPayload.request.instances] tried to parse field [null] as object, but found a concrete value"}, dropping event!
My worry is that we address individual conflicts, but it becomes an ongoing effort to catch and deal with mapping issues in perpetuity. Does anyone have any thoughts on how to deal with conflicts going forwards?