<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: browser name extraction from user agent in Security</title>
    <link>https://community.splunk.com/t5/Security/browser-name-extraction-from-user-agent/m-p/706590#M18267</link>
    <description>&lt;P&gt;There is an awful lot of different UAs and they can introduce themselves in many various ways. It's not standardized in any way. So browser detection is more an art than strict science. And it's even before we take into account that people can spoof their UA strings or even set it to any arbitrary value.&lt;/P&gt;&lt;P&gt;There are sites gathering known UA strings though. Like &lt;A href="https://explore.whatismybrowser.com/useragents/parse/?analyse-my-user-agent=yes#parse-useragent" target="_blank"&gt;https://explore.whatismybrowser.com/useragents/parse/?analyse-my-user-agent=yes#parse-useragent&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BTW, your search is very ineffective.&lt;/P&gt;</description>
    <pubDate>Wed, 11 Dec 2024 21:24:08 GMT</pubDate>
    <dc:creator>PickleRick</dc:creator>
    <dc:date>2024-12-11T21:24:08Z</dc:date>
    <item>
      <title>browser name extraction from user agent</title>
      <link>https://community.splunk.com/t5/Security/browser-name-extraction-from-user-agent/m-p/706566#M18265</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;I am trying to extract the unique browser name along with its count from the list of user agents(attached file) which is printed in user_agent field of splunk logs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=my_index "master" user-agent!="-" user-agent!="DIAGNOSTICS"
| eval browser=case(
searchmatch("*OPR*"),"Opera",
searchmatch("*Edg*"),"Edge",
searchmatch("*Chrome*Mobile*Safari*"),"Chrome",
searchmatch("*firefox*"),"Firefox",
searchmatch("*CriOS*safari"),"Safari")
| stats count as page_hit by browser&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am sure the result count is incorrect as I am not covering all the combination of browser string from the attached list.&lt;/P&gt;&lt;P&gt;Appreciate if someone can help me on this.&lt;/P&gt;&lt;P&gt;Many Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 18:13:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/browser-name-extraction-from-user-agent/m-p/706566#M18265</guid>
      <dc:creator>super_edition</dc:creator>
      <dc:date>2024-12-11T18:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: browser name extraction from user agent</title>
      <link>https://community.splunk.com/t5/Security/browser-name-extraction-from-user-agent/m-p/706589#M18266</link>
      <description>&lt;P&gt;Do something like this to find out which events aren't being counted and adjust your matches accordingly&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval browser=case(
searchmatch("*OPR*"),"Opera",
searchmatch("*Edg*"),"Edge",
searchmatch("*Chrome*Mobile*Safari*"),"Chrome",
searchmatch("*firefox*"),"Firefox",
searchmatch("*CriOS*safari"),"Safari")
| where isnull(browser)&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 11 Dec 2024 21:20:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/browser-name-extraction-from-user-agent/m-p/706589#M18266</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-12-11T21:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: browser name extraction from user agent</title>
      <link>https://community.splunk.com/t5/Security/browser-name-extraction-from-user-agent/m-p/706590#M18267</link>
      <description>&lt;P&gt;There is an awful lot of different UAs and they can introduce themselves in many various ways. It's not standardized in any way. So browser detection is more an art than strict science. And it's even before we take into account that people can spoof their UA strings or even set it to any arbitrary value.&lt;/P&gt;&lt;P&gt;There are sites gathering known UA strings though. Like &lt;A href="https://explore.whatismybrowser.com/useragents/parse/?analyse-my-user-agent=yes#parse-useragent" target="_blank"&gt;https://explore.whatismybrowser.com/useragents/parse/?analyse-my-user-agent=yes#parse-useragent&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BTW, your search is very ineffective.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Dec 2024 21:24:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/browser-name-extraction-from-user-agent/m-p/706590#M18267</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2024-12-11T21:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: browser name extraction from user agent</title>
      <link>https://community.splunk.com/t5/Security/browser-name-extraction-from-user-agent/m-p/706611#M18268</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp; for your response.&lt;BR /&gt;&lt;BR /&gt;I am looking to get the count of browsers which are commonly used like chrome, firefox, safari, edge and opera&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2024 05:01:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/browser-name-extraction-from-user-agent/m-p/706611#M18268</guid>
      <dc:creator>super_edition</dc:creator>
      <dc:date>2024-12-12T05:01:52Z</dc:date>
    </item>
  </channel>
</rss>

