<?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 If I only have transaction data from 8AM to 6PM, how do I display a timechart from 00 to 24 hours? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/If-I-only-have-transaction-data-from-8AM-to-6PM-how-do-I-display/m-p/154322#M43402</link>
    <description>&lt;P&gt;I have data (transactions data) which shows 8 AM to 6 PM, but I need to show a report from 00 hrs to 24 hrs. I tried &lt;CODE&gt;timechart span=1hr&lt;/CODE&gt; and &lt;CODE&gt;fillnull value=NULL&lt;/CODE&gt;, but it's filling only null values in between 8 AM to 6 PM. I need timechart for the entire 24 hrs.&lt;/P&gt;</description>
    <pubDate>Tue, 04 Aug 2015 15:54:33 GMT</pubDate>
    <dc:creator>jkponnuri</dc:creator>
    <dc:date>2015-08-04T15:54:33Z</dc:date>
    <item>
      <title>If I only have transaction data from 8AM to 6PM, how do I display a timechart from 00 to 24 hours?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/If-I-only-have-transaction-data-from-8AM-to-6PM-how-do-I-display/m-p/154322#M43402</link>
      <description>&lt;P&gt;I have data (transactions data) which shows 8 AM to 6 PM, but I need to show a report from 00 hrs to 24 hrs. I tried &lt;CODE&gt;timechart span=1hr&lt;/CODE&gt; and &lt;CODE&gt;fillnull value=NULL&lt;/CODE&gt;, but it's filling only null values in between 8 AM to 6 PM. I need timechart for the entire 24 hrs.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2015 15:54:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/If-I-only-have-transaction-data-from-8AM-to-6PM-how-do-I-display/m-p/154322#M43402</guid>
      <dc:creator>jkponnuri</dc:creator>
      <dc:date>2015-08-04T15:54:33Z</dc:date>
    </item>
    <item>
      <title>Re: If I only have transaction data from 8AM to 6PM, how do I display a timechart from 00 to 24 hours?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/If-I-only-have-transaction-data-from-8AM-to-6PM-how-do-I-display/m-p/154323#M43403</link>
      <description>&lt;P&gt;So if I'm understanding you correctly - you have data between 8am-6pm, but want to show a timechart from 00-24hr, where data that doesn't exist gets a null value as a "placeholder value".&lt;/P&gt;

&lt;P&gt;try: &lt;CODE&gt;| timechart span=1h count | appendpipe [|stats count |addinfo | eval temp=info_min_time."##".info_max_time | makemv temp delim="##" | mvexpand temp | eval count=0 | eval _time=temp | table _time count] | timechart span=1h sum(count) as count | fillnull&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;This will give those hours that have no data a 0 value. &lt;/P&gt;</description>
      <pubDate>Tue, 04 Aug 2015 17:27:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/If-I-only-have-transaction-data-from-8AM-to-6PM-how-do-I-display/m-p/154323#M43403</guid>
      <dc:creator>jnussbaum_splun</dc:creator>
      <dc:date>2015-08-04T17:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: If I only have transaction data from 8AM to 6PM, how do I display a timechart from 00 to 24 hours?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/If-I-only-have-transaction-data-from-8AM-to-6PM-how-do-I-display/m-p/154324#M43404</link>
      <description>&lt;P&gt;Hi. Thanks for the answer but it didn't show 24 hrs. Actually I am calculating transaction per second in an hour. And showing in a timechart with only peak transactions in that hour for entire 24 hours.&lt;/P&gt;

&lt;P&gt;Here I tried...&lt;BR /&gt;
Source=ABC field1="xyz" | timechart span=1s count as req_per_second | timechart span=1hr max(req_per_second) as max | fillnull value=0 | table _time max&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 06:52:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/If-I-only-have-transaction-data-from-8AM-to-6PM-how-do-I-display/m-p/154324#M43404</guid>
      <dc:creator>jkponnuri</dc:creator>
      <dc:date>2020-09-29T06:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: If I only have transaction data from 8AM to 6PM, how do I display a timechart from 00 to 24 hours?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/If-I-only-have-transaction-data-from-8AM-to-6PM-how-do-I-display/m-p/154325#M43405</link>
      <description>&lt;P&gt;This should do the task for you&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;source=ABC field1="xyz" | timechart span=1s count as req_per_second | timechart span=1hr max(req_per_second) as max  | appendpipe [| gentimes start=-1 | addinfo | eval temp=info_min_time." ".info_max_time | table temp| makemv temp | mvexpand temp  | rename temp as _time ]  | timechart span=1h max(max) as max | makecontinuous | fillnull value=0
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 05 Aug 2015 03:20:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/If-I-only-have-transaction-data-from-8AM-to-6PM-how-do-I-display/m-p/154325#M43405</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2015-08-05T03:20:01Z</dc:date>
    </item>
    <item>
      <title>Re: If I only have transaction data from 8AM to 6PM, how do I display a timechart from 00 to 24 hours?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/If-I-only-have-transaction-data-from-8AM-to-6PM-how-do-I-display/m-p/154326#M43406</link>
      <description>&lt;P&gt;Thanks for the answer, I am not sure where is the wrong... I am receiving time from 1970. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; is there any change we can do to display only 24 hr data. Thanks again.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2015 03:59:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/If-I-only-have-transaction-data-from-8AM-to-6PM-how-do-I-display/m-p/154326#M43406</guid>
      <dc:creator>jkponnuri</dc:creator>
      <dc:date>2015-08-05T03:59:03Z</dc:date>
    </item>
    <item>
      <title>Re: If I only have transaction data from 8AM to 6PM, how do I display a timechart from 00 to 24 hours?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/If-I-only-have-transaction-data-from-8AM-to-6PM-how-do-I-display/m-p/154327#M43407</link>
      <description>&lt;P&gt;What time range did you select while running the query? I guess you're running for All Time causing the info_min_time to go back to 1970. I suppose you should select some finite time range  like Yesterday, last 7 days etc.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 06:52:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/If-I-only-have-transaction-data-from-8AM-to-6PM-how-do-I-display/m-p/154327#M43407</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2020-09-29T06:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: If I only have transaction data from 8AM to 6PM, how do I display a timechart from 00 to 24 hours?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/If-I-only-have-transaction-data-from-8AM-to-6PM-how-do-I-display/m-p/154328#M43408</link>
      <description>&lt;P&gt;EXCELLENT!!!  I got results as expected. Thanks a ton....&lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2015 04:36:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/If-I-only-have-transaction-data-from-8AM-to-6PM-how-do-I-display/m-p/154328#M43408</guid>
      <dc:creator>jkponnuri</dc:creator>
      <dc:date>2015-08-05T04:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: If I only have transaction data from 8AM to 6PM, how do I display a timechart from 00 to 24 hours?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/If-I-only-have-transaction-data-from-8AM-to-6PM-how-do-I-display/m-p/154329#M43409</link>
      <description>&lt;P&gt;Also. Can you help, If I need for one hour timechart with complete 60 mins info to display? &lt;/P&gt;</description>
      <pubDate>Wed, 05 Aug 2015 06:44:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/If-I-only-have-transaction-data-from-8AM-to-6PM-how-do-I-display/m-p/154329#M43409</guid>
      <dc:creator>jkponnuri</dc:creator>
      <dc:date>2015-08-05T06:44:12Z</dc:date>
    </item>
  </channel>
</rss>

