Splunk Enterprise

How to search Total Network devices reporting to the indexer?

Vipin_Pavithran
Explorer

Hi All,

Please let me know if anyone can help me with this query.

I need a query to find total number of Network devices reporting to the indexer for any specified time range

Labels (1)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

It depends on what you mean by a Network device, but assuming each device is in Splunk as a separate host in a given index then this query should do it.

| tstats dc(host) where index=network

 

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...