<?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: Limiting timechart span to only include values &amp;gt; 0 in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Limiting-timechart-span-to-only-include-values-gt-0/m-p/52624#M12797</link>
    <description>&lt;P&gt;My pleasure. I'd had the same question before, but had never looked up the answer. It's good to know!&lt;/P&gt;</description>
    <pubDate>Fri, 04 Mar 2011 04:37:38 GMT</pubDate>
    <dc:creator>David</dc:creator>
    <dc:date>2011-03-04T04:37:38Z</dc:date>
    <item>
      <title>Limiting timechart span to only include values &gt; 0</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Limiting-timechart-span-to-only-include-values-gt-0/m-p/52621#M12794</link>
      <description>&lt;P&gt;I have a search that is returning the value of a field called num_oracle_batch. I am using the following to get a per_minute count of the number of batches:&lt;/P&gt;

&lt;P&gt;timechart span=1m per_minute(num_oracle_batch)  &lt;/P&gt;

&lt;P&gt;My question is, how can I limit the timechart to only show where the value of num_oracle_batch is an actual number. As it stands, if I choose today from the timepicker, my Y axis is the entire day even though I only had matching search results in only a few minutes in the 9 oclock hour. &lt;/P&gt;

&lt;P&gt;So in short, can I dynamically set my timerange based on event results?&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2011 00:54:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Limiting-timechart-span-to-only-include-values-gt-0/m-p/52621#M12794</guid>
      <dc:creator>ericrobinson</dc:creator>
      <dc:date>2011-03-03T00:54:01Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting timechart span to only include values &gt; 0</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Limiting-timechart-span-to-only-include-values-gt-0/m-p/52622#M12795</link>
      <description>&lt;P&gt;You can add &lt;CODE&gt;cont=f&lt;/CODE&gt; to the timechart options, making the chart not continuous. With that, your timechart becomes:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;timechart span=1m per_minute(num_oracle_batch) cont=f
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;(From: &lt;A href="http://www.splunk.com/base/Documentation/latest/SearchReference/Timechart#Arguments" rel="nofollow"&gt;http://www.splunk.com/base/Documentation/latest/SearchReference/Timechart#Arguments&lt;/A&gt;)&lt;/P&gt;

&lt;P&gt;Let me know if that doesn't work.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2011 01:33:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Limiting-timechart-span-to-only-include-values-gt-0/m-p/52622#M12795</guid>
      <dc:creator>David</dc:creator>
      <dc:date>2011-03-03T01:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting timechart span to only include values &gt; 0</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Limiting-timechart-span-to-only-include-values-gt-0/m-p/52623#M12796</link>
      <description>&lt;P&gt;Thats exactly what I was looking for. I have been struggling with sub-searches and where clauses to get what I was looking for.&lt;/P&gt;

&lt;P&gt;THANKS!&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2011 01:29:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Limiting-timechart-span-to-only-include-values-gt-0/m-p/52623#M12796</guid>
      <dc:creator>ericrobinson</dc:creator>
      <dc:date>2011-03-04T01:29:50Z</dc:date>
    </item>
    <item>
      <title>Re: Limiting timechart span to only include values &gt; 0</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Limiting-timechart-span-to-only-include-values-gt-0/m-p/52624#M12797</link>
      <description>&lt;P&gt;My pleasure. I'd had the same question before, but had never looked up the answer. It's good to know!&lt;/P&gt;</description>
      <pubDate>Fri, 04 Mar 2011 04:37:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Limiting-timechart-span-to-only-include-values-gt-0/m-p/52624#M12797</guid>
      <dc:creator>David</dc:creator>
      <dc:date>2011-03-04T04:37:38Z</dc:date>
    </item>
  </channel>
</rss>

