<?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 generate a search that will display event times by sourcetype? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-that-will-display-event-times-by/m-p/284644#M86090</link>
    <description>&lt;P&gt;This is should get you started&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats count where index=* by sourcetype _time span=1h 
| chart sum(count) limit=0 by _time span=1h sourcetype
| addtotals fieldname=Total
| where Total &amp;gt; 0
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 10 Feb 2017 18:18:40 GMT</pubDate>
    <dc:creator>rjthibod</dc:creator>
    <dc:date>2017-02-10T18:18:40Z</dc:date>
    <item>
      <title>How to generate a search that will display event times by sourcetype?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-that-will-display-event-times-by/m-p/284643#M86089</link>
      <description>&lt;P&gt;I am trying to write a search that will return a report of event times by hour for each sourcetype.&lt;/P&gt;

&lt;P&gt;For example,&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;                      Source1      Source2    Source3             Total
1/1/17 1:00PM         5000         2000       500                 7500 
1/1/17 2:00PM         4000         1000       100                 5100
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Any assistance will be appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 17:46:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-that-will-display-event-times-by/m-p/284643#M86089</guid>
      <dc:creator>lasonyadj</dc:creator>
      <dc:date>2017-02-10T17:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a search that will display event times by sourcetype?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-that-will-display-event-times-by/m-p/284644#M86090</link>
      <description>&lt;P&gt;This is should get you started&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats count where index=* by sourcetype _time span=1h 
| chart sum(count) limit=0 by _time span=1h sourcetype
| addtotals fieldname=Total
| where Total &amp;gt; 0
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 10 Feb 2017 18:18:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-that-will-display-event-times-by/m-p/284644#M86090</guid>
      <dc:creator>rjthibod</dc:creator>
      <dc:date>2017-02-10T18:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a search that will display event times by sourcetype?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-that-will-display-event-times-by/m-p/284645#M86091</link>
      <description>&lt;P&gt;try like this:&lt;/P&gt;

&lt;P&gt;index=_internal|eventstats count by sourcetype|timechart span=1h c by sourcetype | addtotals &lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 18:19:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-that-will-display-event-times-by/m-p/284645#M86091</guid>
      <dc:creator>mpreddy</dc:creator>
      <dc:date>2017-02-10T18:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a search that will display event times by sourcetype?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-that-will-display-event-times-by/m-p/284646#M86092</link>
      <description>&lt;P&gt;Thanks, that seemed to do the trick!!&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 18:42:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-that-will-display-event-times-by/m-p/284646#M86092</guid>
      <dc:creator>lasonyadj</dc:creator>
      <dc:date>2017-02-10T18:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to generate a search that will display event times by sourcetype?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-that-will-display-event-times-by/m-p/284647#M86093</link>
      <description>&lt;P&gt;Thanks!  this one only gave me the database stats but its a good starting point.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 18:43:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-generate-a-search-that-will-display-event-times-by/m-p/284647#M86093</guid>
      <dc:creator>lasonyadj</dc:creator>
      <dc:date>2017-02-10T18:43:31Z</dc:date>
    </item>
  </channel>
</rss>

