Splunk Search

Search all machines logged into particular server

Funkriff
New Member

I am trying to get a list of all machine names that have logged into a certain server. Can anyone shed any light on this query? Thanks

Tags (1)
0 Karma

lpolo
Motivator

Try this:

index=main splunk_server=your_server|stats count by host

Or you can try this one too:

index=main|stats count by splunk_server host
0 Karma
Get Updates on the Splunk Community!

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 ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...

Data Management Digest – November 2025

  Welcome to the inaugural edition of Data Management Digest! As your trusted partner in data innovation, the ...