<?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 Group Login Requests By UA String in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Group-Login-Requests-By-UA-String/m-p/345498#M160708</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I'm new to Splunk but have been working with it over a few months now. I'm trying to distinguish unique website logins by our customers from mobile devices. At the moment I have come up with 2 searches but one does what the other doesn't and vica versa. &lt;/P&gt;

&lt;P&gt;Method 1 &lt;BR /&gt;
stats count(eval(match(cs_User_Agent, "iPhone"))) as "iPhone", count(eval(match(cs_User_Agent, "iPad"))) as "iPad", count(eval(match(cs_User_Agent, "Android"))) as "Android", count(eval(match(cs_User_Agent, "Macintosh"))) as "Macintosh", count(eval(match(cs_User_Agent, "Windows"))) as "Windows", count(eval(NOT match(cs_User_Agent, "Macintosh|iPhone|iPad|Android|Windows"))) as "Other" by a_request&lt;/P&gt;

&lt;P&gt;This gives me the results I want but I cannot display this in a PIE chart???&lt;/P&gt;

&lt;P&gt;Method 2&lt;BR /&gt;
| rex field=cs_User_Agent "(?iPhone|Android|Macintosh|Windows|iPad)"  | stats count(eval(a_request)) as Logins BY Device&lt;/P&gt;

&lt;P&gt;This displays in a PIE chart but I cannot determine the "Other" field for all other Device login requests.&lt;/P&gt;

&lt;P&gt;I need assistance in one or the other. I'm a quick learner but still in early stages of understanding the syntax.&lt;/P&gt;

&lt;P&gt;Many thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 14:27:17 GMT</pubDate>
    <dc:creator>Bassik</dc:creator>
    <dc:date>2020-09-29T14:27:17Z</dc:date>
    <item>
      <title>Group Login Requests By UA String</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Group-Login-Requests-By-UA-String/m-p/345498#M160708</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I'm new to Splunk but have been working with it over a few months now. I'm trying to distinguish unique website logins by our customers from mobile devices. At the moment I have come up with 2 searches but one does what the other doesn't and vica versa. &lt;/P&gt;

&lt;P&gt;Method 1 &lt;BR /&gt;
stats count(eval(match(cs_User_Agent, "iPhone"))) as "iPhone", count(eval(match(cs_User_Agent, "iPad"))) as "iPad", count(eval(match(cs_User_Agent, "Android"))) as "Android", count(eval(match(cs_User_Agent, "Macintosh"))) as "Macintosh", count(eval(match(cs_User_Agent, "Windows"))) as "Windows", count(eval(NOT match(cs_User_Agent, "Macintosh|iPhone|iPad|Android|Windows"))) as "Other" by a_request&lt;/P&gt;

&lt;P&gt;This gives me the results I want but I cannot display this in a PIE chart???&lt;/P&gt;

&lt;P&gt;Method 2&lt;BR /&gt;
| rex field=cs_User_Agent "(?iPhone|Android|Macintosh|Windows|iPad)"  | stats count(eval(a_request)) as Logins BY Device&lt;/P&gt;

&lt;P&gt;This displays in a PIE chart but I cannot determine the "Other" field for all other Device login requests.&lt;/P&gt;

&lt;P&gt;I need assistance in one or the other. I'm a quick learner but still in early stages of understanding the syntax.&lt;/P&gt;

&lt;P&gt;Many thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:27:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Group-Login-Requests-By-UA-String/m-p/345498#M160708</guid>
      <dc:creator>Bassik</dc:creator>
      <dc:date>2020-09-29T14:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: Group Login Requests By UA String</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Group-Login-Requests-By-UA-String/m-p/345499#M160709</link>
      <description>&lt;P&gt;Well i figured it out... just needed a | transpose on method 2&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2017 04:53:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Group-Login-Requests-By-UA-String/m-p/345499#M160709</guid>
      <dc:creator>Bassik</dc:creator>
      <dc:date>2017-06-14T04:53:57Z</dc:date>
    </item>
  </channel>
</rss>

