Splunk Search

Tracking user activity on website

jtworzydlo
Path Finder

Hey,
I have problem to determine the urls which lead a customer to a certain url "x". I have an apache-log in which I can determine what urls the customer visited thanks to JSESSIONID. What I don't know is how to determine the first previous url he visited before going to url "x".
Can anyone help me?

0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

Something like this?

... | reverse | streamstats current=f last(uri) as last_uri by JSESSIONID | search uri="x" | ...

View solution in original post

martin_mueller
SplunkTrust
SplunkTrust

Something like this?

... | reverse | streamstats current=f last(uri) as last_uri by JSESSIONID | search uri="x" | ...

jtworzydlo
Path Finder

Thanks a lot! That helped!

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 ...