<?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: Complex Pie Chart in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Complex-Pie-Chart/m-p/519255#M146217</link>
    <description>&lt;LI-CODE lang="markup"&gt;| stats dc("User-Name") by SSID&lt;/LI-CODE&gt;</description>
    <pubDate>Sun, 13 Sep 2020 05:52:22 GMT</pubDate>
    <dc:creator>thambisetty</dc:creator>
    <dc:date>2020-09-13T05:52:22Z</dc:date>
    <item>
      <title>Complex Pie Chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Complex-Pie-Chart/m-p/519246#M146213</link>
      <description>&lt;P&gt;I'm sorry for the terrible subject. I can't think of a simplified title for what I'm trying to do.&lt;/P&gt;&lt;P&gt;I'm trying to graph wireless SSID utilization. I want to pie chart our SSIDs by counting unique users for each ssid based on RADIUS authentication logs.&lt;/P&gt;&lt;P&gt;The logs will contain..&lt;/P&gt;&lt;P&gt;1. A Reason-Code that lets me know that it is a successful authentication&lt;/P&gt;&lt;P&gt;2. A Called-Station-Id that I can extract the SSID from&lt;/P&gt;&lt;P&gt;3. A User-Name that I can use to get unique users&lt;/P&gt;&lt;P&gt;My first attempt is&amp;nbsp;&lt;/P&gt;&lt;P&gt;index=radius | xmlkv | search "Reason-Code"=0 | rex field="Called-Station-Id" ":(?&amp;lt;SSID&amp;gt;.+)" | stats count by SSID&lt;/P&gt;&lt;P&gt;This is getting close, but it's going to count users more than once if they authenticate more than once on the same SSID, which they will.&lt;/P&gt;&lt;P&gt;I know that dc("User-Name") will let me do distinct counting on the user, but I can't figure out how to put these together to get the number of unique users per SSID. I either don't understand the pipeline, or I'm trying to do something that can't be done this way.&lt;/P&gt;&lt;P&gt;To make it a little more complicated, I DO want to count the same user for each SSID. For example, if a user connects to ssid1 and then leaves and connects to ssid2, I would like to count them one time for each of the SSIDs.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Sep 2020 02:53:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Complex-Pie-Chart/m-p/519246#M146213</guid>
      <dc:creator>hburton</dc:creator>
      <dc:date>2020-09-13T02:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Pie Chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Complex-Pie-Chart/m-p/519255#M146217</link>
      <description>&lt;LI-CODE lang="markup"&gt;| stats dc("User-Name") by SSID&lt;/LI-CODE&gt;</description>
      <pubDate>Sun, 13 Sep 2020 05:52:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Complex-Pie-Chart/m-p/519255#M146217</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-09-13T05:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Pie Chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Complex-Pie-Chart/m-p/519299#M146230</link>
      <description>&lt;P&gt;Thank you. That works perfectly. I wish it hadn't been so simple though. I feel like a dumb* now.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Sep 2020 13:48:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Complex-Pie-Chart/m-p/519299#M146230</guid>
      <dc:creator>hburton</dc:creator>
      <dc:date>2020-09-13T13:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: Complex Pie Chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Complex-Pie-Chart/m-p/519305#M146234</link>
      <description>&lt;P&gt;It's okay, sometimes it happens no worries. keep splunking.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Sep 2020 14:37:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Complex-Pie-Chart/m-p/519305#M146234</guid>
      <dc:creator>thambisetty</dc:creator>
      <dc:date>2020-09-13T14:37:10Z</dc:date>
    </item>
  </channel>
</rss>

