Splunk Search

How to proceed to get only the Status column in the request?

kwy
Loves-to-Learn

Hello,

I have the request which normally show 4 rows, I need to display only  one row with only the Status column.

index=traderestitution source="web_ping://*"
|stats count(eval(response_code="200")) as count_status
| eval Status=if(count_status!="4","NOK","OK")
Here the result of the request.  Does someone can help?



kwy_0-1649866821171.png

 

Labels (1)
0 Karma

kwy
Loves-to-Learn

Find it, I added
| table Status 

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...