<?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: Why are the values disappearing in timechart and sparklines? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-are-the-values-disappearing-in-timechart-and-sparklines/m-p/370996#M109153</link>
    <description>&lt;P&gt;can you try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=frontend sourcetype=frontend_iis | stats sparkline count by c_ip | sort -count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Try specifying a span &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=frontend sourcetype=frontend_iis | stats sparkline(count,1h) as trend count by c_ip | sort -count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;where &lt;CODE&gt;1h&lt;/CODE&gt; is span specify according to your time range&lt;BR /&gt;
Also, are you doing any acceleration? and what is time range for the searches?&lt;/P&gt;</description>
    <pubDate>Fri, 09 Feb 2018 08:49:20 GMT</pubDate>
    <dc:creator>mayurr98</dc:creator>
    <dc:date>2018-02-09T08:49:20Z</dc:date>
    <item>
      <title>Why are the values disappearing in timechart and sparklines?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-the-values-disappearing-in-timechart-and-sparklines/m-p/370995#M109152</link>
      <description>&lt;P&gt;I have an intermittent problem with some of my timecharts and sparklines, where the results will start to render correctly, but when the search finalizes, the graphs become very spiky and start showing very low values.&lt;/P&gt;

&lt;P&gt;For example:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/4357i43FE7B17097879CD/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Each one of those bumps has a value of 1 or a 2, but I'm expecting values in the neighborhood of 10-20 for every data point.  And when the graphs first start filling in, that's what I see.  Here's what the same query looks like when it first starts showing the preview, before the search is finalized:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/4358iDFE393519E575FBC/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;I've also noticed that the width of the sparklines change when this happens, almost like something is happening and the time range is switching when the search finalizes and the end result has a different number of time bins.&lt;/P&gt;

&lt;P&gt;The queries themselves are fairly simple: &lt;CODE&gt;index=frontend sourcetype=frontend_iis | stats count, sparkline(count) as trend by c_ip | sort -count&lt;/CODE&gt;  It's more prevalent with sparklines, but I've seen the same sort of thing happen with timecharts.  When a timechart is affected, all of the individual entries disappear, and I'm left with only NULL or OTHER.&lt;/P&gt;

&lt;P&gt;This doesn't always happen, but it happens enough to be annoying.  Rerunning the query doesn't seem to fix it.&lt;/P&gt;

&lt;P&gt;Inspect Job and the search.log don't appear to have any errors.&lt;/P&gt;

&lt;P&gt;Has anyone seen something like this?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2018 00:41:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-the-values-disappearing-in-timechart-and-sparklines/m-p/370995#M109152</guid>
      <dc:creator>tschrantz</dc:creator>
      <dc:date>2018-02-09T00:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Why are the values disappearing in timechart and sparklines?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-the-values-disappearing-in-timechart-and-sparklines/m-p/370996#M109153</link>
      <description>&lt;P&gt;can you try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=frontend sourcetype=frontend_iis | stats sparkline count by c_ip | sort -count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Try specifying a span &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=frontend sourcetype=frontend_iis | stats sparkline(count,1h) as trend count by c_ip | sort -count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;where &lt;CODE&gt;1h&lt;/CODE&gt; is span specify according to your time range&lt;BR /&gt;
Also, are you doing any acceleration? and what is time range for the searches?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Feb 2018 08:49:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-the-values-disappearing-in-timechart-and-sparklines/m-p/370996#M109153</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-02-09T08:49:20Z</dc:date>
    </item>
    <item>
      <title>Re: Why are the values disappearing in timechart and sparklines?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-are-the-values-disappearing-in-timechart-and-sparklines/m-p/370997#M109154</link>
      <description>&lt;P&gt;When I explicitly set the span, it seems to work.  However, I have these graphs on a dashboard with a time selector, so the time range is variable.  The default time range is 4 hours, so something like a 5m span would be fine for that, but that would be terrible for a 15 minute view or a 7 days view.&lt;/P&gt;</description>
      <pubDate>Sat, 10 Feb 2018 00:58:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-are-the-values-disappearing-in-timechart-and-sparklines/m-p/370997#M109154</guid>
      <dc:creator>tschrantz</dc:creator>
      <dc:date>2018-02-10T00:58:42Z</dc:date>
    </item>
  </channel>
</rss>

