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!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...