Splunk Search

How to create splunk search for common filed/value across the multiple servers?

agarwal_sumit
New Member

Hello All,

I am trying to build search for common value across multiple host. For example , i have a common field call "eventID" across the multiple host. eventID is dynamic value and keep on changing. How do i build my query so that i can search for host with same eventID.

Also there are other fields, which i want to capture along with host. so final table should be-
eventID host CONNID Time

Tags (1)
0 Karma

woodcock
Esteemed Legend

Try this:

Your Base Search Here | stats first(_time) AS Time values(host) AS host values(CONNID) AS CONNID range(_time) AS duration BY eventID
0 Karma

cmerriman
Super Champion

you can try to do something like ...|stats values(host) by eventID to get a list of all hosts that have each eventID

0 Karma
Get Updates on the Splunk Community!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...