Splunk Search

Query to display if 500 error http status count is more then 30 percentage of total api calls

Sarvoday
New Member
 
Labels (2)
0 Karma

manjunathmeti
Champion

Use the top command. This adds two fields to the results: count and percent.

| top http_status_field_name

 Then you can filter based on http_status_field_name and percent.

| top http_status_field_name | where http_status_field_name=500 AND percent>30 
0 Karma
Get Updates on the Splunk Community!

SplunkTrust Application Period is Officially OPEN!

It's that time, folks! The application/nomination period for the 2025 SplunkTrust is officially open! If you ...

Splunk Answers Content Calendar, June Edition II

Get ready to dive into Splunk Dashboard panels this week! We'll be tackling common questions around ...

Splunk Observability Cloud's AI Assistant in Action Series: Auditing Compliance and ...

This is the third post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...