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 (4)
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!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...