Splunk Search

Correlate cs_uri and referer

dmdicki
New Member

Is there a way to correlate two or more events which share the same cs_uri and referer and occurring within a specified window of time?

For example,

event 1: referer = A cs_uri = B
event 2: referer = B cs_uri = C
event 3: referer = C cs_uri = D

resulting in...

meta-event 1: referer = A

cs_uri/referer = B

cs_uri/referer = C

cs_uri = D

Tags (2)
0 Karma

alacercogitatus
SplunkTrust
SplunkTrust

I would first create a field alias in props.conf

[your_sourcetype]
FIELDALIAS-referer = cs_uri AS referer

Then in your search:

sourcetype=your_sourcetype | transaction referer maxspan=1m | do_stuff

So this is assigning the value of cs_uri to referer and doing a transaction to get the events with same referer.

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...