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's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...