Splunk Search

How do I find all IPs that generated an HTTP 200 in one index & also generated an event (Snort alert) in another index?

ErraticIncome93
Explorer

I want to take the values of src_ip from this search: index=http status=200

and see which of those source IPs also generated an event in index=snort

Tags (3)
1 Solution

NOUMSSI
Builder

hi try this:

index=http status=200 src_ip=*|table src_ip|join[search index=snort| table * ]

View solution in original post

woodcock
Esteemed Legend

Assuming that the host field contains the IP of the system that generated the Snort alert (adjust to proper field name if not), this should work:

index=snort [index=http status=200 | rename src_ip AS host | fields host]

NOUMSSI
Builder

hi try this:

index=http status=200 src_ip=*|table src_ip|join[search index=snort| table * ]
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...