-
Notifications
You must be signed in to change notification settings - Fork 474
Add cluster UUID to the Logstash node datastream. #9971
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
Add cluster UUID to the Logstash node datastream. #9971
Conversation
I've started a stack and the logstash service defined in the _dev/deploy directory. after configuring the integration to collect metrics from the previously started logstash I can't see the |
Thanks @klacabane ! |
packages/logstash/data_stream/node_cel/agent/stream/cel.yml.hbs
Outdated
Show resolved
Hide resolved
Map with a proper data shape. Co-authored-by: Rob Bavey <rob.bavey@elastic.co>
🚀 Benchmarks reportTo see the full report comment with |
💚 Build Succeeded
History
cc @mashhurs |
|
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 logstash - 2.4.7 containing this change is available at https://epr.elastic.co/search?package=logstash |
Proposed commit message
Logstash monitoring with metricbeat and self include
cluster_uuid
which will be used during the queries (example telemetry collection). However, with agent driven monitoring we are losing the cluster UUID. This change fixes the explained bug.Checklist
changelog.yml
file.Author's Checklist
How to test this PR locally
Use the Logstash integration, install the agent and copy the change script into the policy. We can see the cluster UUID will be reflected in
.ds-metrics-logstash.node*
indices. Also query againstcluster_uuid
(which is an alias forlogstash.elasticsearch.cluster.id
) also works as expected.Related issues
Screenshots