Is there any way how to remove unnecessary exported fields before indexing?
Using Elastic Agent integration, and along with it comes many exported fields. Tried Elastic Agent processor "drop_fields", but all listed fields for dropping still apears in document. Another option would be to use ingestion pipeline, but at this point it would be more costly and processing in the Agent itself is more preffered.
Just a short example used in configuration file:
processors: - drop_fields: fields: - "cloud.provider" - "cloud.region" - "host.mac" - "host.os.family" - "host.os.kernel" - "host.os.name" - "host.os.codename" ignore missing: true