<?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 Unique number of users in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Unique-number-of-users/m-p/502572#M195207</link>
    <description>&lt;P&gt;Hi , I am running a query to get count of unique users like &lt;BR /&gt;
| stats dc(user)&lt;/P&gt;

&lt;P&gt;How do I get list of those unique users?&lt;/P&gt;</description>
    <pubDate>Mon, 23 Mar 2020 17:48:36 GMT</pubDate>
    <dc:creator>rashi83</dc:creator>
    <dc:date>2020-03-23T17:48:36Z</dc:date>
    <item>
      <title>Unique number of users</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Unique-number-of-users/m-p/502572#M195207</link>
      <description>&lt;P&gt;Hi , I am running a query to get count of unique users like &lt;BR /&gt;
| stats dc(user)&lt;/P&gt;

&lt;P&gt;How do I get list of those unique users?&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2020 17:48:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Unique-number-of-users/m-p/502572#M195207</guid>
      <dc:creator>rashi83</dc:creator>
      <dc:date>2020-03-23T17:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Unique number of users</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Unique-number-of-users/m-p/502573#M195208</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| stats values(user)
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You can combine it with the distinct count like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| stats values(user) as users dc(user) as usercount
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Alternatively:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| stats count by user
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 23 Mar 2020 17:52:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Unique-number-of-users/m-p/502573#M195208</guid>
      <dc:creator>whrg</dc:creator>
      <dc:date>2020-03-23T17:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: Unique number of users</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Unique-number-of-users/m-p/502574#M195209</link>
      <description>&lt;P&gt;Hi @rashi83,&lt;BR /&gt;
Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your_search
| dedup user
| sort user
| table user
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Ciao.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 23 Mar 2020 17:52:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Unique-number-of-users/m-p/502574#M195209</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2020-03-23T17:52:45Z</dc:date>
    </item>
  </channel>
</rss>

