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!

What the End of Support for Splunk Add-on Builder Means for You

Hello Splunk Community! We want to share an important update regarding the future of the Splunk Add-on Builder ...

Solve, Learn, Repeat: New Puzzle Channel Now Live

Welcome to the Splunk Puzzle PlaygroundIf you are anything like me, you love to solve problems, and what ...

Building Reliable Asset and Identity Frameworks in Splunk ES

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