Ad slot: top

SPL

User Agent - Browser Details & Information for IIS

Description

Submitted by SplunkNinja

This Splunk query will reference a lookup table to return user agent (browser information) within IIS logs.  Specifically the output will list browser name and version, crawler, and mobile. It will give a count based on visits not hits (hence the dedup). Depending on the length of time this query can take a very long time to run. *NOTE* The app TA-browscap_express - HTTP User Agent lookup with browscap must be installed
0 0
sourcetype=iis |dedup JSESSIONID| eval http_user_agent=urldecode(cs_User_Agent) | lookup browscap_lookup_express http_user_agent OUTPUT ua_parent ua_crawler ua_ismobiledevice| stats count by ua_parent ua_crawler ua_ismobiledevice | rename ua_parent as "Browser Name and Version" ua_crawler as Crawler ua_ismobiledevice as "Mobile Device"

Comments

0 total

Be the first to comment on this SPL.

Leave a comment

You must log in to post a comment.

Ad slot: bottom