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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...