<?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: Tabular report showing count based on time range in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Tabular-report-showing-count-based-on-time-range/m-p/320744#M95850</link>
    <description>&lt;P&gt;can you provide some input data? i mean with fields&lt;/P&gt;</description>
    <pubDate>Thu, 07 Sep 2017 17:39:35 GMT</pubDate>
    <dc:creator>jackson1990</dc:creator>
    <dc:date>2017-09-07T17:39:35Z</dc:date>
    <item>
      <title>Tabular report showing count based on time range</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Tabular-report-showing-count-based-on-time-range/m-p/320743#M95849</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I need to create report in &lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/3458i5640E86AE0A0A267/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt; format.&lt;BR /&gt;
Could anyone help me in achieving this.&lt;BR /&gt;
I can have time interval of 2 hours as well if cannot have in the format. &lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2017 17:36:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Tabular-report-showing-count-based-on-time-range/m-p/320743#M95849</guid>
      <dc:creator>chintan_shah</dc:creator>
      <dc:date>2017-09-07T17:36:40Z</dc:date>
    </item>
    <item>
      <title>Re: Tabular report showing count based on time range</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Tabular-report-showing-count-based-on-time-range/m-p/320744#M95850</link>
      <description>&lt;P&gt;can you provide some input data? i mean with fields&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2017 17:39:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Tabular-report-showing-count-based-on-time-range/m-p/320744#M95850</guid>
      <dc:creator>jackson1990</dc:creator>
      <dc:date>2017-09-07T17:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: Tabular report showing count based on time range</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Tabular-report-showing-count-based-on-time-range/m-p/320745#M95851</link>
      <description>&lt;P&gt;its just the count of events, my requirement is to show counts based on the time range.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2017 17:41:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Tabular-report-showing-count-based-on-time-range/m-p/320745#M95851</guid>
      <dc:creator>chintan_shah</dc:creator>
      <dc:date>2017-09-07T17:41:40Z</dc:date>
    </item>
    <item>
      <title>Re: Tabular report showing count based on time range</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Tabular-report-showing-count-based-on-time-range/m-p/320746#M95852</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/174988"&gt;@chintan_shah&lt;/a&gt;, please check out Punchcard Custom Visualization App (&lt;A href="https://splunkbase.splunk.com/app/3129/" target="_blank"&gt;https://splunkbase.splunk.com/app/3129/&lt;/A&gt;), it will load some examples with &lt;CODE&gt;date_hour&lt;/CODE&gt; and &lt;CODE&gt;count&lt;/CODE&gt;, which would plot the data as per your need.&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://community.splunk.com/storage/temp/209776-punchcard.png" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:40:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Tabular-report-showing-count-based-on-time-range/m-p/320746#M95852</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2020-09-29T15:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: Tabular report showing count based on time range</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Tabular-report-showing-count-based-on-time-range/m-p/320747#M95853</link>
      <description>&lt;P&gt;If you just need count, this should be lightning fast:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| tstats count where index=_* BY date_wday date_hour 
| eval date_wday=case(date_wday="sunday"   , "      sunday",
                      date_wday="monday"   , "     monday",
                      date_wday="tuesday"  , "    tuesday",
                      date_wday="wednesday", "   wednesday",
                      date_wday="thursday" , "  thursday",
                      date_wday="friday"   , " friday",
                      true(), date_wday)
| chart first(count) OVER date_hour BY date_wday
| addtotals row=t col=t
| eval date_hour=if(date_hour&amp;gt;23, "TOTAL", date_hour)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 08 Sep 2017 04:32:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Tabular-report-showing-count-based-on-time-range/m-p/320747#M95853</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-09-08T04:32:25Z</dc:date>
    </item>
  </channel>
</rss>

