<?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 display individual URI counts by user with timechart or stats? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-individual-URI-counts-by-user-with-timechart-or/m-p/229059#M67825</link>
    <description>&lt;P&gt;Depends upon how many unique combinations you've for Name and URI, try this&lt;/P&gt;

&lt;P&gt;For smaller number- timechart&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=* sourcetype=* User="*" Download "https://abc.com/content/mobile" | eval URI=case(match(_raw,"DailyNotes"), "DailyNotes",match(_raw,"Stock"),"Stock",match(_raw,"Sector"),"Sector",match(_raw,"Search"),"Search" ) | eval User=lower(User) | lookup  lookup1.csv user_id as User | eval Name=Name.":".URI | timechart span=1mon count by Name limit=0 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Stats&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=* sourcetype=* User="*" Download "https://abc.com/content/mobile" | eval URI=case(match(_raw,"DailyNotes"), "DailyNotes",match(_raw,"Stock"),"Stock",match(_raw,"Sector"),"Sector",match(_raw,"Search"),"Search" ) | eval User=lower(User) | lookup  lookup1.csv user_id as User | eval Name=Name.":".URI | bucket span=1mon _time | stats count by _time Name URI
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 24 Jun 2016 16:16:45 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2016-06-24T16:16:45Z</dc:date>
    <item>
      <title>How to display individual URI counts by user with timechart or stats?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-individual-URI-counts-by-user-with-timechart-or/m-p/229058#M67824</link>
      <description>&lt;P&gt;I am looking to display individual URI count by User on a timechart. Is this possible?&lt;/P&gt;

&lt;P&gt;My current search returns the monthly total Accesses  by User. I would like to see the monthly Access count of each URI by User&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=* sourcetype=* User="*" Download "https://abc.com/content/mobile" | eval URI=case(match(_raw,"DailyNotes"), "DailyNotes",match(_raw,"Stock"),"Stock",match(_raw,"Sector"),"Sector",match(_raw,"Search"),"Search" ) | eval User=lower(User) | lookup  lookup1.csv user_id as User| timechart span=1mon count by Name limit=0 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If this is not possible on a timechart, can it be done in a statistics chart?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2016 16:07:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-individual-URI-counts-by-user-with-timechart-or/m-p/229058#M67824</guid>
      <dc:creator>Aaron_Fogarty</dc:creator>
      <dc:date>2016-06-24T16:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to display individual URI counts by user with timechart or stats?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-individual-URI-counts-by-user-with-timechart-or/m-p/229059#M67825</link>
      <description>&lt;P&gt;Depends upon how many unique combinations you've for Name and URI, try this&lt;/P&gt;

&lt;P&gt;For smaller number- timechart&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=* sourcetype=* User="*" Download "https://abc.com/content/mobile" | eval URI=case(match(_raw,"DailyNotes"), "DailyNotes",match(_raw,"Stock"),"Stock",match(_raw,"Sector"),"Sector",match(_raw,"Search"),"Search" ) | eval User=lower(User) | lookup  lookup1.csv user_id as User | eval Name=Name.":".URI | timechart span=1mon count by Name limit=0 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Stats&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=* sourcetype=* User="*" Download "https://abc.com/content/mobile" | eval URI=case(match(_raw,"DailyNotes"), "DailyNotes",match(_raw,"Stock"),"Stock",match(_raw,"Sector"),"Sector",match(_raw,"Search"),"Search" ) | eval User=lower(User) | lookup  lookup1.csv user_id as User | eval Name=Name.":".URI | bucket span=1mon _time | stats count by _time Name URI
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 24 Jun 2016 16:16:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-individual-URI-counts-by-user-with-timechart-or/m-p/229059#M67825</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-06-24T16:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to display individual URI counts by user with timechart or stats?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-individual-URI-counts-by-user-with-timechart-or/m-p/229060#M67826</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=* sourcetype=* User="*" Download "https://abc.com/content/mobile" | eval URI=case(match(_raw,"DailyNotes"), "DailyNotes",match(_raw,"Stock"),"Stock",match(_raw,"Sector"),"Sector",match(_raw,"Search"),"Search" ) | eval User=lower(User) | lookup  lookup1.csv user_id as User| bin span=1mon _time as time | eval t=time."#".uri | chart count over t by Name | rex field=t (?&amp;lt;Time&amp;gt;[^#]+)#(?&amp;lt;URI&amp;gt;.*)" | eval Time=strftime(Time, "%x %X")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 24 Jun 2016 16:18:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-individual-URI-counts-by-user-with-timechart-or/m-p/229060#M67826</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-06-24T16:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to display individual URI counts by user with timechart or stats?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-individual-URI-counts-by-user-with-timechart-or/m-p/229061#M67827</link>
      <description>&lt;P&gt;Like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=* sourcetype=* User="*" Download "https://abc.com/content/mobile" | eval URI=case(match(_raw,"DailyNotes"), "DailyNotes",match(_raw,"Stock"),"Stock",match(_raw,"Sector"),"Sector",match(_raw,"Search"),"Search" ) | eval User=lower(User) | lookup  lookup1.csv user_id as User| eval URI_and_User = URI . "::" . User | timechart span=1mon count BY URI_and_User limit=0
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Because timechart can only breakout a single &lt;CODE&gt;BY&lt;/CODE&gt; field, we are combining 2 fields into 1 and breaking out BY that one.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2016 16:28:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-individual-URI-counts-by-user-with-timechart-or/m-p/229061#M67827</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2016-06-24T16:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to display individual URI counts by user with timechart or stats?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-individual-URI-counts-by-user-with-timechart-or/m-p/229062#M67828</link>
      <description>&lt;P&gt;Thanks for your help guys, much appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2016 12:01:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-individual-URI-counts-by-user-with-timechart-or/m-p/229062#M67828</guid>
      <dc:creator>Aaron_Fogarty</dc:creator>
      <dc:date>2016-06-27T12:01:01Z</dc:date>
    </item>
  </channel>
</rss>

