Updated Logstash Single Pipeline View to display batch size and event count metrics#17009
Conversation
9d81cf8 to
17217a3
Compare
|
Also, to fix the build, I suspect you are going to need to change the Logstash pipeline definitions to conform to the |
|
Hi @robbavey , I've updated the two dashboards as you asked: Pipeline Overview
Logstash single pipeline view
I've also update the LS pipeline definitions to respect the 9.x deprecations in ES output, but still the CI is red and can't figure out how to discover which is the culprit. |
|
@andsel - you can view the Logstash logs from the container of the buildkite box by following these instructions: https://docs.elastic.dev/ingest-dev-docs/elastic-packages/ecosystem-ci-pipelines#private-logs The root cause: Updating the |
c4fd186 to
24a4032
Compare
b31e7a9 to
efe5bb1
Compare
🚀 Benchmarks reportTo see the full report comment with |
mashhurs
left a comment
There was a problem hiding this comment.
CEL scripts and dashboards are overall LGTM!
I have asked some questions (why super user required, taking out gauge) to clarify and I do think we don't necessarily need a SECTION (we used sections for plugin types) and introduced metrics are belong to pipeline (common like worker utlization, etc..)
And please also update the migration version, it looks like you had a local snapshot.
Thank you for work!
packages/logstash/data_stream/pipeline/agent/stream/cel.yml.hbs
Outdated
Show resolved
Hide resolved
packages/logstash/kibana/dashboard/logstash-4bbf4a50-6ece-11ee-910d-eb0006359086.json
Outdated
Show resolved
Hide resolved
8116ddc to
44336ba
Compare
I think that that layout is less intuitive, mix batch structure graphs (those 2 vertical) with the one about evt/s. In theory with the percentiles we add even more here. |
Yep, we can address this easily if it brings any confusions. |
… graphs to show byte size and event count.
…View' replacing the previous dashboard
…ch structure graphs
… metrics and expose multiple pipelines
Co-authored-by: Rob Bavey <rob.bavey@elastic.co>
34a36dc to
281f871
Compare
💚 Build Succeeded
History
|
|
Package logstash - 2.9.0 containing this change is available at https://epr.elastic.co/package/logstash/2.9.0/ |







Proposed commit message
Update a couple of Logstash metrics dashboard to display batch size and event count. This feature is available since Logstash 9.2
Checklist
changelog.ymlfile.Author's Checklist
How to test this PR locally
The test is based on a running Logstash instance monitored by an ElasticAgent which push metric data to be processed by the integration.
Requirements: Docker must be running on test host.
Install
elastic-packageDownload from https://github.com/elastic/elastic-package/releases/tag/v0.117.1
Add permission to the file with
Run it
Bring up stack and build/install the integration (from
integration/packages/logstashof the Elastic Integration local clone)Launch the stack
Build the package locally
Install into the package registry running in the Docker, so it can be served to Fleet
Verify the integration is installed, check the listing: https://localhost:5601/app/integrations/installed?currentPage=1
Now install and configure a local Logstash that generates some metrics, this is monitored by a local agent that will be installed in next step
Download Logstash
>= 8.2.0from https://www.elastic.co/downloads/logstashOnce unpacked edit the
config/logstash.ymlto have the following settings:Run Logstash with a pipeline, rememeber to check which HTTP API port is bound, usually 9600 but since the Docker compose already setup a Logstash instance in the container, it could be
9601or so:Generate some flow with a simple script (requires
JDKandJBanginstalled locally, usesdkmanto do that). Use the gist https://gist.github.com/andsel/d3b372b90bd66e0db98a6acc1ac32c80 and run with:Add Logstash integration and create new policy and enroll a local agent that monitor the launched Logstash:
In Fleet go to the Logstash integration and press
Add LogstashCreate a new policy and enroll a new agent
Follow the instructions to download the agent and run it, but to the proposed command line remember to add:
--develop --insecure. Add--developto be able run side by side the existing Agent, and--insecureto avoid x509 certificate verification. As example should be something like:In the configuration of the policy set the port where local Logstash bound (step
3.iii)It may require to update your ´/etc/hosts´ file to avoid some error in Fleet UI like "Error get fleet-server" or something related to reaching
elasticsearch, in case add the following to your hosts:Verify the dashboard
[Metrics Logstash] Logstash Single Pipeline ViewRelated issues
Screenshots