Splunk Search

Splunk Query

i_am_manish
New Member

If i have n numbers of router in my index  and i want to know the current status of router if its connected or failed , if its is failed i need to show the router number of the failed router how to display the router number instead of router count , what query i should write  

Labels (3)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust
| stats latest(status) as status by router
| where status="failed"
0 Karma

isoutamo
SplunkTrust
SplunkTrust

Can you give some sample data (please use </> when you post it)? 

0 Karma
Get Updates on the Splunk Community!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...