-
Notifications
You must be signed in to change notification settings - Fork 444
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
elastic_agent - Set specific object_type_mapping_type #7179
elastic_agent - Set specific object_type_mapping_type #7179
Conversation
Avoid wildcard value for `object_type_mapping_type` so that objects are not matched. The problem was that `filebeat_input.httpjson_interval_pages_total`, which holds an object, was being matched by the dynamic mapping specified for `filebeat_input.*_total`. This made it a long which led to a mapping exception. Fixes elastic/beats#35933
21a0c91
to
3dee69a
Compare
🌐 Coverage report
|
Pinging @elastic/security-external-integrations (Team:Security-External Integrations) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Package elastic_agent - 1.9.1 containing this change is available at https://epr.elastic.co/search?package=elastic_agent |
What does this PR do?
Avoid wildcard value for
object_type_mapping_type
so that objects are not matched. The problem was thatfilebeat_input.httpjson_interval_pages_total
, which holds an object, was being matched by the dynamic mapping specified forfilebeat_input.*_total
.Fixes elastic/beats#35933
Checklist
changelog.yml
file.Mappings
Screenshot
Proof that httpjson metrics can now be written to Elasticsearch.