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
[Logstash] Add Node Dashboards to Logstash integration package #7704
Conversation
This commit adds dashboards to the Logstash integration. These dashboards are intended as the first phase in a long term replacement of the dedicated stack monitoring UI with standard Kibana visualizations, and are intended to allow serverless users to continue to monitor Logstash. This commit includes a Logstash overview dashboard, an overview of all the Logstash nodes, allowing drill downs to individual nodes, with dashboards for general information on a single node, and a more advanced view of a single node. The intention of this commit is to mirror the existing stack monitoring UI as much as possible, using the current `node.stats` data available. Limitations: * Dashboards related to pipelines will be addressed in follow-up PRs - the current data in the integration does not fit well with standard Kibana visualizations, and will be addressed separately * The Advanced node view differs from the Stack Monitoring UI: * The size of the persistent queue is not presented here. PQ size statistics are only presented in the `node.state` document, which we do not want to use going forward. Additionally, the existing UI has significant limitations, in that only the total size across all PQs is shown, which is misleading when multiple PQs are available. * Additional graphs showing OS and Process CPU usage, and file descriptor usage are added
🌐 Coverage report
|
/test |
I'll review this now, have you considered linking these new dashboards into the SM UI, similar to what was done recently for Ingest Pipeline monitoring? |
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.
Not much to review given the generated dashboard JSON!
The only thing to note is that it should be possible to make the dashboards also read from the .monitoring-*
data streams to make it work with Beats collection as well, which would make it available to use also for ESS users.
Will now read from "metrics-*,metricbeat-*,.monitoring-*" indices, as per Elasticsearch package.
@miltonhultgren Thank you for the fast turnaround!
This commit is the starting phase of a project to replace the stack monitoring UI for Logstash with standard Kibana visualizations, rather than rely on the custom UI.
Done - I've added an index pattern along the same lines as that done in the |
Sounds good to me! |
@miltonhultgren Is this good to go after the index pattern changes? |
Yes, this LGTM! |
Package logstash - 2.3.3 containing this change is available at https://epr.elastic.co/search?package=logstash |
Package logstash - 2.3.4 containing this change is available at https://epr.elastic.co/search?package=logstash |
What does this PR do?
This PR adds dashboards to the Logstash integration.
These dashboards are intended as the first phase in a long term replacement of the
dedicated stack monitoring UI with standard Kibana visualizations, and are intended to
allow serverless users to continue to monitor Logstash.
This PR includes a Logstash overview dashboard, an overview of all the Logstash nodes, allowing
drill downs to individual nodes, with dashboards for general information on a single node, and a more
advanced view of a single node.
The intention of this commit is to mirror the existing stack monitoring UI as much as possible, using the
current
node.stats
data available.Limitations:
not fit well with standard Kibana visualizations, and will be addressed separately
node.state
document, which we do not want to use going forward. Additionally, the existing UI has significant limitations, in that
only the total size across all PQs is shown, which is misleading when multiple PQs are available.
Checklist
changelog.yml
file.Related issues
Screenshots
Logstash Overview
This PR:
Existing Stack Monitoring UI:
Nodes Overview
This PR:
Existing Stack Monitoring UI:
Single Node Overview
This PR:
Existing Stack Monitoring UI:
Single Node Advanced View
This PR:
Existing Stack Monitoring UI