-
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
Bringing back host metadata as observer #11379
Comments
Pinging @elastic/uptime |
Thanks for opening this, @andrewvc. A few thoughts on this. ECS currently doesn't allow for nesting of This new processor will help solve agent / observer issues we've been having in many situations (Metricbeat monitoring other hosts, Filebeat listening on syslog port, etc). It will then be straightforward for people to apply either cc @ruflin |
+1 on having this processor. For now I would stick to what @webmat proposed above with If I remember correctly, @elastic/apm-server already populates observer.*? Perhaps one of them can chime in? |
Yes, this is what we have at the moment: |
PR is up here: #11394 |
Resolves #11379 via addition of new add_observer_metadata processor. In addition to creating the processor this PR extracts out the common operations between add_observer_metadata and add_host_metadata for geo and netinfo fields into a new processors/util package. Please note that the observer ECS field does not contain the same values that host does. See the ECS Observer Spec for more info.
Resolves elastic#11379 via addition of new add_observer_metadata processor. In addition to creating the processor this PR extracts out the common operations between add_observer_metadata and add_host_metadata for geo and netinfo fields into a new processors/util package. Please note that the observer ECS field does not contain the same values that host does. See the ECS Observer Spec for more info. (cherry picked from commit 1d94462)
We removed the
add_host_metadata
processor from heartbeat for 7.0, thinking that it was an abuse of thehost.*
fields, since users might expecthost.*
to correspond with the instance being monitored, not the instance doing the monitoring. Indeed this is what the ECS spec saysAfter discussing this with @webmat and it seems that we can simply put this data under
observer.*
. To do this we'll need to create anadd_observer_metadata
processor, which could be implemented as a sort of alias toadd_host_metadata
with the parent field changed.The text was updated successfully, but these errors were encountered: