<?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 hide time without values in timechart in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-hide-time-without-values-in-timechart/m-p/98645#M25401</link>
    <description>&lt;P&gt;Something like this?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...  | timechart count | reverse | accum count as total_count | reverse | where total_count &amp;gt; 0 | fields - total_count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 25 Jan 2013 08:18:45 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2013-01-25T08:18:45Z</dc:date>
    <item>
      <title>How to hide time without values in timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-hide-time-without-values-in-timechart/m-p/98643#M25399</link>
      <description>&lt;P&gt;Hello comunity,&lt;/P&gt;

&lt;P&gt;I need help to hide a value unavailable in a timechart. I searched for some functions, but I have no sucess trying.&lt;/P&gt;

&lt;P&gt;Please, see the image below:&lt;/P&gt;

&lt;P&gt;&lt;IMG src="https://lh6.googleusercontent.com/-ftNk9OPY4F0/UQFWTgNj9qI/AAAAAAAAAmo/Bt62bfI9Aoo/s988/Dashboard+BA+Online+-+Search+-+Splunk+5.0.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;I don't want the time column "13:00" appearing in timechart, 'cause i don't have results yet (my database query get results with an interval of 15 minutes). You know anything to hide it until results are avaiable?&lt;/P&gt;

&lt;P&gt;My search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="backlog_baonline" | timechart span=1h max(TOTAL) by ACTIVITY limit=100 | rename _time AS Time | eval Time=strftime(Time, "%H:%M")

Time range: -4h to now
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I tried usenull=f useother=f, but it didn't work for my purpose.&lt;/P&gt;

&lt;P&gt;Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 24 Jan 2013 16:04:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-hide-time-without-values-in-timechart/m-p/98643#M25399</guid>
      <dc:creator>alvaromoraes</dc:creator>
      <dc:date>2013-01-24T16:04:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide time without values in timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-hide-time-without-values-in-timechart/m-p/98644#M25400</link>
      <description>&lt;P&gt;Have you tried playing with the end time of your search?   sourcetype="backlog_baonline" earliest=-4h latest=-1h | timechart span=1h max(TOTAL) by ACTIVITY limit=100 | rename _time AS Time | eval Time=strftime(Time, "%H:%M")&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jan 2013 01:03:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-hide-time-without-values-in-timechart/m-p/98644#M25400</guid>
      <dc:creator>chris</dc:creator>
      <dc:date>2013-01-25T01:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide time without values in timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-hide-time-without-values-in-timechart/m-p/98645#M25401</link>
      <description>&lt;P&gt;Something like this?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...  | timechart count | reverse | accum count as total_count | reverse | where total_count &amp;gt; 0 | fields - total_count
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 25 Jan 2013 08:18:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-hide-time-without-values-in-timechart/m-p/98645#M25401</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2013-01-25T08:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide time without values in timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-hide-time-without-values-in-timechart/m-p/98646#M25402</link>
      <description>&lt;P&gt;Yes, I tried to modify the time range like you said, but it didn't work. The column without any results always appear in the chart.&lt;/P&gt;

&lt;P&gt;Thanks for the answer.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2013 18:15:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-hide-time-without-values-in-timechart/m-p/98646#M25402</guid>
      <dc:creator>alvaromoraes</dc:creator>
      <dc:date>2013-01-29T18:15:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to hide time without values in timechart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-hide-time-without-values-in-timechart/m-p/98647#M25403</link>
      <description>&lt;P&gt;I tried  your suggestion in my source, same problem. I hate this empty column! haha&lt;/P&gt;

&lt;P&gt;Thanks for the answer.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2013 18:21:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-hide-time-without-values-in-timechart/m-p/98647#M25403</guid>
      <dc:creator>alvaromoraes</dc:creator>
      <dc:date>2013-01-29T18:21:40Z</dc:date>
    </item>
  </channel>
</rss>

