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!

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

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...