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!

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

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...