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!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...