<?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 How to display a chart with values and also a timechart below that? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-chart-with-values-and-also-a-timechart-below/m-p/178702#M51412</link>
    <description>&lt;P&gt;I'm trying to show a chart and need to show the actual values.  At the same time I would like to display a linear timeline at the bottom of the chart.  Using this search, my chart looks good.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="log_sort" host=myhost*  | chart values(idle) by _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This works, but it does not display anything in the timechart at the bottom.  I tried another search like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| timechart values(idle) as "Idle Time"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;this shows the timechart at the bottom, but is trying to average my values.  Many times my line will drop to 0 and I need to show that on the chart.  Currently the avg might prevent this from happening.  Any ideas?&lt;/P&gt;</description>
    <pubDate>Thu, 25 Jun 2015 19:35:10 GMT</pubDate>
    <dc:creator>chadman</dc:creator>
    <dc:date>2015-06-25T19:35:10Z</dc:date>
    <item>
      <title>How to display a chart with values and also a timechart below that?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-chart-with-values-and-also-a-timechart-below/m-p/178702#M51412</link>
      <description>&lt;P&gt;I'm trying to show a chart and need to show the actual values.  At the same time I would like to display a linear timeline at the bottom of the chart.  Using this search, my chart looks good.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="log_sort" host=myhost*  | chart values(idle) by _time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This works, but it does not display anything in the timechart at the bottom.  I tried another search like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| timechart values(idle) as "Idle Time"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;this shows the timechart at the bottom, but is trying to average my values.  Many times my line will drop to 0 and I need to show that on the chart.  Currently the avg might prevent this from happening.  Any ideas?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jun 2015 19:35:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-chart-with-values-and-also-a-timechart-below/m-p/178702#M51412</guid>
      <dc:creator>chadman</dc:creator>
      <dc:date>2015-06-25T19:35:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a chart with values and also a timechart below that?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-chart-with-values-and-also-a-timechart-below/m-p/178703#M51413</link>
      <description>&lt;P&gt;I believe you are misunderstanding the &lt;CODE&gt;values&lt;/CODE&gt; function and what you are really trying to do is something this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; sourcetype="log_sort" host=myhost* | timechart span=5m avg(idle) as "Idle Time"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 26 Jun 2015 03:17:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-chart-with-values-and-also-a-timechart-below/m-p/178703#M51413</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-06-26T03:17:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a chart with values and also a timechart below that?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-chart-with-values-and-also-a-timechart-below/m-p/178704#M51414</link>
      <description>&lt;P&gt;Got it.  When I used the values it just looked how I wanted it to.  I think setting the span to a lower time would also help.  My data is normally updated every min.  My goal is to have the chart really indicate that it's 0 when that occurs and not an average.  I think the span was being auto-scaled and that might be why my charts did not look right when I looked at data over a longer period of time.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2015 15:22:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-chart-with-values-and-also-a-timechart-below/m-p/178704#M51414</guid>
      <dc:creator>chadman</dc:creator>
      <dc:date>2015-06-26T15:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a chart with values and also a timechart below that?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-chart-with-values-and-also-a-timechart-below/m-p/178705#M51415</link>
      <description>&lt;P&gt;OK, then something more like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="log_sort" host=myhost* | timechart span=1m max(idle) as "Idle Time"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This way the &lt;CODE&gt;0&lt;/CODE&gt; values of &lt;CODE&gt;Idle Time&lt;/CODE&gt; indicate the gaps.&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2015 15:49:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-chart-with-values-and-also-a-timechart-below/m-p/178705#M51415</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-06-26T15:49:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to display a chart with values and also a timechart below that?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-chart-with-values-and-also-a-timechart-below/m-p/178706#M51416</link>
      <description>&lt;P&gt;That works great!&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2015 17:50:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-a-chart-with-values-and-also-a-timechart-below/m-p/178706#M51416</guid>
      <dc:creator>chadman</dc:creator>
      <dc:date>2015-06-26T17:50:29Z</dc:date>
    </item>
  </channel>
</rss>

