<?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 Timespan based output in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Timespan-based-output/m-p/488307#M140363</link>
    <description>&lt;P&gt;Hi&lt;BR /&gt;
Can someone help me in getting o/p over 1h interval along with Total requests count, Success count, Failure count&lt;/P&gt;

&lt;P&gt;I have written below query but am not getting the Total count as separate column for every 1h interval span&lt;/P&gt;

&lt;P&gt;index=dte_fios sourcetype=dte2_Fios FT=*FT | eval Interval=strftime('_time',"%d-%m-%Y %H:%M:%S")&lt;BR /&gt;
| eval Status=case(Error_Code=="0000","Success",1=1,"Failure")&lt;BR /&gt;
| timechart span=1h count by Status&lt;/P&gt;

&lt;P&gt;It is giving O/p as &lt;BR /&gt;
_time                                               Success                                                Failure&lt;BR /&gt;
2020-04-20 05:00                             120                                                       90&lt;/P&gt;

&lt;P&gt;I need O/P as &lt;BR /&gt;
_time                                     Total                             Failure                       Success&lt;BR /&gt;
2020-04-20 05:00                  210                                  90                             120&lt;/P&gt;</description>
    <pubDate>Wed, 30 Sep 2020 05:14:44 GMT</pubDate>
    <dc:creator>poddraj</dc:creator>
    <dc:date>2020-09-30T05:14:44Z</dc:date>
    <item>
      <title>Timespan based output</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timespan-based-output/m-p/488307#M140363</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;
Can someone help me in getting o/p over 1h interval along with Total requests count, Success count, Failure count&lt;/P&gt;

&lt;P&gt;I have written below query but am not getting the Total count as separate column for every 1h interval span&lt;/P&gt;

&lt;P&gt;index=dte_fios sourcetype=dte2_Fios FT=*FT | eval Interval=strftime('_time',"%d-%m-%Y %H:%M:%S")&lt;BR /&gt;
| eval Status=case(Error_Code=="0000","Success",1=1,"Failure")&lt;BR /&gt;
| timechart span=1h count by Status&lt;/P&gt;

&lt;P&gt;It is giving O/p as &lt;BR /&gt;
_time                                               Success                                                Failure&lt;BR /&gt;
2020-04-20 05:00                             120                                                       90&lt;/P&gt;

&lt;P&gt;I need O/P as &lt;BR /&gt;
_time                                     Total                             Failure                       Success&lt;BR /&gt;
2020-04-20 05:00                  210                                  90                             120&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 05:14:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timespan-based-output/m-p/488307#M140363</guid>
      <dc:creator>poddraj</dc:creator>
      <dc:date>2020-09-30T05:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Timespan based output</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timespan-based-output/m-p/488308#M140364</link>
      <description>&lt;P&gt;You're not getting the total count because your query does not mention total count.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=dte_fios sourcetype=dte2_Fios FT=*FT 
| eval Status=case(Error_Code=="0000","Success",1=1,"Failure")
| timechart span=1h count by Status
| eval Total = Success + Failure
| table _time Total Failure Success
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 28 Apr 2020 15:42:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timespan-based-output/m-p/488308#M140364</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-04-28T15:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: Timespan based output</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Timespan-based-output/m-p/488309#M140365</link>
      <description>&lt;P&gt;Thanks....&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 08:58:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Timespan-based-output/m-p/488309#M140365</guid>
      <dc:creator>poddraj</dc:creator>
      <dc:date>2020-04-29T08:58:15Z</dc:date>
    </item>
  </channel>
</rss>

