Splunk Search

Grouping by hosts

jylee
New Member

Is there a way for me to group all events by a list of hosts in one data center and then group all events by another list of hosts in another data center?

Specifically, I'd like to determine a traffic comparison between two sets of servers

Tags (1)
0 Karma
1 Solution

sdaniels
Splunk Employee
Splunk Employee

You could use the tagging feature to identify hosts by location. See link below. If you have a large number of hosts you might want to use a look up and have that list of hosts come from a .csv file, for example.

http://docs.splunk.com/Documentation/Splunk/latest/Knowledge/Tagthehostfield

... tag = datacenter1

View solution in original post

sdaniels
Splunk Employee
Splunk Employee

You could use the tagging feature to identify hosts by location. See link below. If you have a large number of hosts you might want to use a look up and have that list of hosts come from a .csv file, for example.

http://docs.splunk.com/Documentation/Splunk/latest/Knowledge/Tagthehostfield

... tag = datacenter1

Get Updates on the Splunk Community!

Splunk MCP & Agentic AI: Machine Data Without Limits

  Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization ...

Finding Based Detections General Availability

Overview  We’ve come a long way, folks, but here in Enterprise Security 8.4 I’m happy to announce Finding ...

Get Your Hands Dirty (and Your Shoes Comfy): The Splunk Experience

Hands-On Learning and Technical Seminars  Sometimes, you just need to see the code. For those looking for a ...