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!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...