HTTP Error Summary by Method and Status

Count HTTP error events per method and status code combination to identify which HTTP methods produce the most errors. Useful for triaging API failures and spotting patterns such as a high rate of 404 errors on GET requests or 400 errors on POST requests.

Visualization: the table displays one row per unique method and status code combination, with:

  • method column showing the HTTP method (GET, POST, DELETE, and so on)

  • status column showing the HTTP status code

  • _count column showing event count with threshold-based color shading

Screenshot showing a table widget with three columns (method, status, count) where method values are displayed as links and count cells are shaded by threshold to highlight higher event counts, with Format Table panel visible on the right

Figureย 256.ย HTTP Error Summary by Method and Status


Sample input data:

@timestampendpointhostmethodstatus
1970-01-01T00:00:02/api/usersweb-01GET404
1970-01-01T00:00:02/api/ordersweb-02POST400
1970-01-01T00:00:02/api/reportsweb-01DELETE403
1970-01-01T00:00:02/api/usersweb-03PUT409
1970-01-01T00:00:02/api/authweb-02GET401

Query:

logscale
groupBy([method, status])

Query breakdown:

  1. Groups all events by the unique combination of method and status fields, producing one result row per combination.

  2. Counts the number of events in each group, storing the result in the _count field, which becomes the third column in the table.

Configuration:

  1. From the Search page, type your query in the Query Editor โ†’ click Run

  2. Choose Table in the Widget selector

  3. Click the style icon : this opens the Format panel on the side where some properties are already configured by default based on the query result.

  4. Modify the properties to obtain the look and feel in this example. Click the field method in the Columns section and set these properties:

    • Formatting โ†’ Show as Go to events link: creates links to the Event List for each entry in method, to show the corresponding result.

    • Size โ†’ Fit to data

  5. Click the field _count in the Columns section and set:

    Cell colors โ†’ Thresholds โ†’ choose a color palette โ†’ +Add threshold: different shades highlight different count ranges (below 100, 100 to 1,000, above 1,000, and so on).

To customize this widget further, see Table Property Reference.