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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...