<?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: How to edit my search to chart the count of unique users each month per address? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-chart-the-count-of-unique-users-each/m-p/194581#M56089</link>
    <description>&lt;P&gt;use table move replace &lt;STRONG&gt;timechart&lt;/STRONG&gt; by &lt;STRONG&gt;stats&lt;/STRONG&gt;  add tables address and count&lt;BR /&gt;
like this &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    index="badge" | bucket _time span=30d | stats dc(user) by address| table user count | sort - count | head 100
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 25 Mar 2015 13:53:25 GMT</pubDate>
    <dc:creator>Tanefo</dc:creator>
    <dc:date>2015-03-25T13:53:25Z</dc:date>
    <item>
      <title>How to edit my search to chart the count of unique users each month per address?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-chart-the-count-of-unique-users-each/m-p/194574#M56082</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;index="badge" |  bucket _time span=30d | timechart count by _time, address | sort - count | head
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;What I want to do is get a chart that shows each address and the number of unique users per that address:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;             January  February  March
address 1       15       18       17
address 2       51       54       71
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Essentially, this will let us see how many unique users are coming into work, and whether or not people are actually present to do their jobs. Any thoughts on this?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2015 11:51:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-chart-the-count-of-unique-users-each/m-p/194574#M56082</guid>
      <dc:creator>antifreke</dc:creator>
      <dc:date>2015-03-25T11:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to chart the count of unique users each month per address?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-chart-the-count-of-unique-users-each/m-p/194575#M56083</link>
      <description>&lt;P&gt;hi try  this&lt;BR /&gt;
    index="badge" | bucket _time span=30d | timechart dc(users) by _time, address | sort - count | head 10&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2015 12:32:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-chart-the-count-of-unique-users-each/m-p/194575#M56083</guid>
      <dc:creator>Tanefo</dc:creator>
      <dc:date>2015-03-25T12:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to chart the count of unique users each month per address?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-chart-the-count-of-unique-users-each/m-p/194576#M56084</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
Do you have a field named users?&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2015 12:38:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-chart-the-count-of-unique-users-each/m-p/194576#M56084</guid>
      <dc:creator>NOUMSSI</dc:creator>
      <dc:date>2015-03-25T12:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to chart the count of unique users each month per address?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-chart-the-count-of-unique-users-each/m-p/194577#M56085</link>
      <description>&lt;P&gt;index="badge" | bucket _time span=30d | timechart dc(nick) by address | sort - count | head 1000&lt;/P&gt;

&lt;P&gt;It didn't work, so I tried the one above. Right now it's giving me the following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;          site 1     site 2     site 3 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;date 1   535&lt;BR /&gt;
date 2  677&lt;BR /&gt;
date 3  424&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2015 12:52:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-chart-the-count-of-unique-users-each/m-p/194577#M56085</guid>
      <dc:creator>antifreke</dc:creator>
      <dc:date>2015-03-25T12:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to chart the count of unique users each month per address?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-chart-the-count-of-unique-users-each/m-p/194578#M56086</link>
      <description>&lt;P&gt;I have a field named nick, yes&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2015 13:10:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-chart-the-count-of-unique-users-each/m-p/194578#M56086</guid>
      <dc:creator>antifreke</dc:creator>
      <dc:date>2015-03-25T13:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to chart the count of unique users each month per address?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-chart-the-count-of-unique-users-each/m-p/194579#M56087</link>
      <description>&lt;P&gt;please antifreke, explain me again your preocupation. &lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2015 13:31:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-chart-the-count-of-unique-users-each/m-p/194579#M56087</guid>
      <dc:creator>Tanefo</dc:creator>
      <dc:date>2015-03-25T13:31:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to chart the count of unique users each month per address?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-chart-the-count-of-unique-users-each/m-p/194580#M56088</link>
      <description>&lt;P&gt;I'm wanting to pull up unique users per address over a period of time to see how many people are actually coming to work. &lt;/P&gt;

&lt;P&gt;So far I have index=badge, fields for nick,  and address, table address date_month count&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2015 13:49:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-chart-the-count-of-unique-users-each/m-p/194580#M56088</guid>
      <dc:creator>antifreke</dc:creator>
      <dc:date>2015-03-25T13:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to chart the count of unique users each month per address?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-chart-the-count-of-unique-users-each/m-p/194581#M56089</link>
      <description>&lt;P&gt;use table move replace &lt;STRONG&gt;timechart&lt;/STRONG&gt; by &lt;STRONG&gt;stats&lt;/STRONG&gt;  add tables address and count&lt;BR /&gt;
like this &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;    index="badge" | bucket _time span=30d | stats dc(user) by address| table user count | sort - count | head 100
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 25 Mar 2015 13:53:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-chart-the-count-of-unique-users-each/m-p/194581#M56089</guid>
      <dc:creator>Tanefo</dc:creator>
      <dc:date>2015-03-25T13:53:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to chart the count of unique users each month per address?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-chart-the-count-of-unique-users-each/m-p/194582#M56090</link>
      <description>&lt;P&gt;Alright, what I have now is the following:&lt;BR /&gt;
index="acs_na"  | timechart span=7d dc(nick) by address&lt;BR /&gt;
This gives me the following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;                     address 1          address 2            address 3    address 4   null   other  address 5,6,7,8
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;week 1&lt;BR /&gt;&lt;BR /&gt;
week 2 &lt;BR /&gt;
week 3 &lt;/P&gt;

&lt;P&gt;I want to flip these, and do dates across the table, and have a list of the locations since we have 45 sites. &lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2015 15:14:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-chart-the-count-of-unique-users-each/m-p/194582#M56090</guid>
      <dc:creator>antifreke</dc:creator>
      <dc:date>2015-03-25T15:14:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to chart the count of unique users each month per address?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-chart-the-count-of-unique-users-each/m-p/194583#M56091</link>
      <description>&lt;P&gt;Hi @antifreke&lt;/P&gt;

&lt;P&gt;Please be sure than when responding to someone's answer, click on "Add comment" directly below their answer or, if responding to someone's comment, type in the "Add your comment..." box directly below their comment. You've been typing your responses in the "Enter your answer here..." box at the very bottom of the page which, instead, posts a brand new answer each time when it was really meant as a comment. This will help with a clean continuous flow of the conversation. I already converted your "answers" to comments, so just something to keep in mind from here on out. Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2015 19:36:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-chart-the-count-of-unique-users-each/m-p/194583#M56091</guid>
      <dc:creator>ppablo</dc:creator>
      <dc:date>2015-03-25T19:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to edit my search to chart the count of unique users each month per address?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-chart-the-count-of-unique-users-each/m-p/194584#M56092</link>
      <description>&lt;P&gt;Hi ! try this &lt;CODE&gt;index="badge"  address=* |eval month=strftime(_time, "%m")|chart  count by month,address|replace 01 with January in month|replace 02 with February in month|replace 03 with Martch in month|replace 04 with April in month|replace ............&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;here is one example you can use with your &lt;STRONG&gt;_internal&lt;/STRONG&gt; index, &lt;STRONG&gt;sourcetype&lt;/STRONG&gt; as your address. test it and let me know&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal sourcetype=*| eval month=strftime(_time, "%m")|chart  count by month,sourcetype|replace 01 with January in month|replace 02 with February in month|replace 03 with Martch in month|replace 04 with April in month
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 26 Mar 2015 22:01:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-edit-my-search-to-chart-the-count-of-unique-users-each/m-p/194584#M56092</guid>
      <dc:creator>stephanefotso</dc:creator>
      <dc:date>2015-03-26T22:01:51Z</dc:date>
    </item>
  </channel>
</rss>

