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!

Splunk Mobile: Your Brand-New Home Screen

Meet Your New Mobile Hub  Hello Splunk Community!  Staying connected to your data—no matter where you are—is ...

Introducing Value Insights (Beta): Understand the Business Impact your organization ...

Real progress on your strategic priorities starts with knowing the business outcomes your teams are delivering ...

Enterprise Security (ES) Essentials 8.3 is Now GA — Smarter Detections, Faster ...

As of today, Enterprise Security (ES) Essentials 8.3 is now generally available, helping SOC teams simplify ...