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!

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...

Community Content Calendar, November Edition

Welcome to the November edition of our Community Spotlight! Each month, we dive into the Splunk Community to ...

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...