Skip to content

Update Logstash report to include batch's byte_size p100 and lifetime#989

Open
andsel wants to merge 2 commits intoelastic:mainfrom
andsel:feature/update_logstash_snapshot_with_p100_and_lifetime
Open

Update Logstash report to include batch's byte_size p100 and lifetime#989
andsel wants to merge 2 commits intoelastic:mainfrom
andsel:feature/update_logstash_snapshot_with_p100_and_lifetime

Conversation

@andsel
Copy link
Copy Markdown
Member

@andsel andsel commented Apr 16, 2026

Updates the report generated when taking Logstash diags to include the max percentile just for batch's byte_size. Furthermore, adds the lifetime window for all batch relates metrics (byte_size and event_count).

Checklist

  • I have verified that the APIs in this pull request do not return sensitive data

What the PR does?

Updates the HTML template file used to generate the report bundled with Logstash diagnostic to add the lifetime window column for all percentiles of batch structure metric.
In the same table add a new percentile, p100 or max which is available only for batch's byte_size metric.

Following a set of snapshots of the updated section:

Screenshot 2026-04-16 at 10 52 04

…e max percentile just for batch's byte_size. Furthermore, adds the lifetime window for all batch relates metrics (byte_size and event_count)
@andsel andsel requested review from a team and pickypg as code owners April 16, 2026 08:56
Copy link
Copy Markdown
Contributor

@lucabelluccini lucabelluccini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😍

Copy link
Copy Markdown
Member

@pickypg pickypg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good, but I think you can / should merge these functions to avoid duplication.

Comment thread src/main/resources/logstash-diagnostic-templates/flow_metrics.html.ftlh Outdated
@andsel andsel requested a review from pickypg April 22, 2026 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

update diag tool to take this information into the html report it generates

3 participants