Splunk Search

Is there a way to track if the useragent changes during a session from IIS logs using the transaction command?

jwalzerpitt
Influencer

Is there a way to see if the useragent changes during a session using the transaction command?

Thx,
Jeff

somesoni2
Revered Legend

Try something like this

your base search | stats values(useragent) as useragent by sessionid | where mvcount(useragent)>1
0 Karma

jwalzerpitt
Influencer

Thx for the reply and search string.

Apologies for not stating earlier that I'm searching through IIS logs, which does not contain a sessionid field

0 Karma

somesoni2
Revered Legend

Then Could you provide details on the logs that you're searching, fields available and possible some sample events?

0 Karma

jwalzerpitt
Influencer

Searching against IIS logs, specifically on the fields c_ip (source IP) and cs_User_Agent.

Without a sessionID I know it's hard, but I was hoping to search for a c_ip whose cs_User_Agent changes within a specified time period, such as one minute, etc,

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