-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filebeat elasticsearch module uses datastream constant_keyword Fields #30642
Comments
Pinging @elastic/elastic-agent-data-plane (Team:Elastic-Agent-Data-Plane) |
Hi! We're labeling this issue as |
Still relevant in 8.6.2. |
Hi! We're labeling this issue as |
Still relevant. |
In version 8.x the filebeat
elasticsearch
module writes data to the following fields:These fields are mapped with type
constant_keyword
, which results in wrong information for subsequent events as filebeat does not use dedicated datastreams per input, like the agent does.AFAIK these fields should not be used by beats.
The beats test files can be used as example:
https://github.com/elastic/beats/blob/main/filebeat/module/elasticsearch/deprecation/test/es_deprecation-json.800.log-expected.json
As a workaround I changed the mapping in the template to
keyword
.The text was updated successfully, but these errors were encountered: