Understanding browser usage from transaction logsIssue The platform logs every user transaction in the syslog_transaction table. Each log entry includes the URL, transaction timing statistics, and a user agent string. The user agent string identifies the browser and certain system details of the user. A user agent can also identify programs (or agents) other than a browser, such as a download manager or a bot. For general information, see the User agent article on wikipedia.org in Related Links. Release<!-- /*NS Branding Styles*/ --> .ns-kb-css-body-editor-container { p { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } span { font-size: 12pt; font-family: Lato; color: var(--now-color--text-primary, #000000); } h2 { font-size: 24pt; font-family: Lato; color: var(--now-color--text-primary, black); } h3 { font-size: 18pt; font-family: Lato; color: var(--now-color--text-primary, black); } h4 { font-size: 14pt; font-family: Lato; color: var(--now-color--text-primary, black); } a { font-size: 12pt; font-family: Lato; color: var(--now-color--link-primary, #00718F); } a:hover { font-size: 12pt; color: var(--now-color--link-primary, #024F69); } a:target { font-size: 12pt; color: var(--now-color--link-primary, #032D42); } a:visited { font-size: 12pt; color: var(--now-color--link-primary, #00718f); } ul { font-size: 12pt; font-family: Lato; } li { font-size: 12pt; font-family: Lato; } img { display: ; max-width: ; width: ; height: ; } } All releases Resolution Viewing user agent information 1. Open the syslog_transaction table list using one of the following methods: In the Application Navigator, navigate to System Logs > Transactions (All user).Enter the following URL: /syslog_transaction_list.do?sysparm_filter_only=true Note: The table contains many records. The sysparm_filter_only parameter opens the table without returning any records until you apply a search or filter. 2. In the list view, configure the form layout to add the User agent field. This step enables filtering or reporting on the field. Understanding a user agent string The following examples show how to read a user agent string. • Firefox v33: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0 • Internet Explorer 11: Mozilla/5.0 (Windows NT 6.3; Trident/7.0; rv:11.0) like Gecko A user agent string has four common components: • Mozilla/5.0 is the general token that shows the browser is Mozilla-compatible. Almost every browser uses it today. Internet Explorer keeps it for legacy purposes. • Platform describes the native platform the browser runs on (for example, Windows, Mac, Linux, or Android). It also shows whether the device is a mobile phone. • Gecko indicates that the browser is based on Gecko. This token is new for Internet Explorer 11. It indicates improved consistency with other browsers. • Version information is expressed differently among browsers. The following are user agent strings for other browsers that ServiceNow supports: • Safari 5.0.4: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10_5_8; ja-jp) AppleWebKit/533.20.25 (KHTML, like Gecko) Version/5.0.4 Safari/533.20.27 • Chrome 41.0.2224.3: Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2224.3 Safari/537.36 The four components (Mozilla, platform, Gecko, and version) consistently appear. However, the overall user agent strings differ between browsers. Decoding the user agent strings Browsers present user agent strings in different formats. To understand the user agent string for each browser, view the browser documentation. See Related Links for the Internet Explorer, Firefox, and Chrome references. Also, use the useragentstring.com site. Add a user agent string, and the site presents the browser version and analysis. This is useful for determining typical browser usage for reporting. Reporting on browser usage The syslog_transaction table rotates, so it does not retain data for long. Reporting on this table directly is not safe for performance reasons. Instead, use the application log files to identify the user agent strings for transactions. 1. Navigate to System Logs > Utilities > Node Log File Browser. 2. Identify the user agent strings for the transactions that take place. Related Links • View the User agent article on Wikipedia • View Internet Explorer user agent string documentation • View Firefox Gecko user agent string reference • View Chrome user agent documentation • Analyze user agent strings on useragentstring.com