<?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: Native Chart Format Limitations in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Native-Chart-Format-Limitations/m-p/154008#M43281</link>
    <description>&lt;P&gt;Check your format options on the line graph. One choice is between the options "Gap", "Treat as Zero", and "Trend". Try different options and see if you get what you want.&lt;/P&gt;

&lt;P&gt;Perhaps a better option is to run the search this way:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="ec_com_donations_CSV" 
| timechart sum(Value) by Entity_name useother=f limit=6 span=12mon
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In your original search, you used the &lt;CODE&gt;bin&lt;/CODE&gt; command to group the data, but &lt;CODE&gt;timechart&lt;/CODE&gt; didn't know about the grouping and therefore saw the data as disjoint points. In this version, timechart itself is doing the grouping and therefore should preserve the lines.&lt;/P&gt;</description>
    <pubDate>Sun, 24 Nov 2013 04:30:08 GMT</pubDate>
    <dc:creator>lguinn2</dc:creator>
    <dc:date>2013-11-24T04:30:08Z</dc:date>
    <item>
      <title>Native Chart Format Limitations</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Native-Chart-Format-Limitations/m-p/154007#M43280</link>
      <description>&lt;P&gt;I'm trying to build a timechart (line graph) over 13 years using a 12 month span.&lt;/P&gt;

&lt;P&gt;My search to generate the visualisation looks like this:&lt;/P&gt;

&lt;PRE&gt;sourcetype="ec_com_donations_CSV"| bin _time span=12mon| timechart sum(Value) by Entity_name useother=f limit=6&lt;/PRE&gt;

&lt;P&gt;And produces a line graph (-line) the looks like this:&lt;/P&gt;

&lt;P&gt;&lt;IMG src="http://answers.splunk.com//storage/Search_-_Splunk.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;If I choose a span &amp;lt;= to 1mon the visualisation shows an adjoining line between points, as intended. However, anything &amp;gt; 1mon, like my search above, the lines disappear.&lt;/P&gt;

&lt;P&gt;Why is this? I know this can probably be resolved through XML, but can it be done natively in Splunk (am I missing something obvious!)?&lt;/P&gt;</description>
      <pubDate>Sat, 23 Nov 2013 22:20:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Native-Chart-Format-Limitations/m-p/154007#M43280</guid>
      <dc:creator>himynamesdave</dc:creator>
      <dc:date>2013-11-23T22:20:37Z</dc:date>
    </item>
    <item>
      <title>Re: Native Chart Format Limitations</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Native-Chart-Format-Limitations/m-p/154008#M43281</link>
      <description>&lt;P&gt;Check your format options on the line graph. One choice is between the options "Gap", "Treat as Zero", and "Trend". Try different options and see if you get what you want.&lt;/P&gt;

&lt;P&gt;Perhaps a better option is to run the search this way:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="ec_com_donations_CSV" 
| timechart sum(Value) by Entity_name useother=f limit=6 span=12mon
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In your original search, you used the &lt;CODE&gt;bin&lt;/CODE&gt; command to group the data, but &lt;CODE&gt;timechart&lt;/CODE&gt; didn't know about the grouping and therefore saw the data as disjoint points. In this version, timechart itself is doing the grouping and therefore should preserve the lines.&lt;/P&gt;</description>
      <pubDate>Sun, 24 Nov 2013 04:30:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Native-Chart-Format-Limitations/m-p/154008#M43281</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2013-11-24T04:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: Native Chart Format Limitations</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Native-Chart-Format-Limitations/m-p/154009#M43282</link>
      <description>&lt;P&gt;Thanks for your help.&lt;/P&gt;

&lt;P&gt;I managed to solve it by selecting - Format &amp;gt; General &amp;gt; Null Values &amp;gt; Join - using my original search command.&lt;/P&gt;

&lt;P&gt;I'm interested to know more about why the "span" command in the search you suggested does not work (this was the search I tried first for this viz). Using "span=12mon" does not group the data into 12 month buckets (it remains in 1 month intervals) - which is why I experimented with the "bin" command.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2013 14:52:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Native-Chart-Format-Limitations/m-p/154009#M43282</guid>
      <dc:creator>himynamesdave</dc:creator>
      <dc:date>2013-11-26T14:52:17Z</dc:date>
    </item>
    <item>
      <title>Re: Native Chart Format Limitations</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Native-Chart-Format-Limitations/m-p/154010#M43283</link>
      <description>&lt;P&gt;Wow - that's weird. I did actually know that Splunk sees the &lt;CODE&gt;span&lt;/CODE&gt; option of &lt;CODE&gt;timechart&lt;/CODE&gt; as somewhat advisory in nature. But I have never seen &lt;CODE&gt;timechart&lt;/CODE&gt; refuse to create larger time buckets, only smaller ones. (For example, &lt;CODE&gt;timechart&lt;/CODE&gt; can't show 30 days of data in seconds.) And in recent versions, I have seen Splunk issue a message rather than simply ignoring the option.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2013 15:24:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Native-Chart-Format-Limitations/m-p/154010#M43283</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2013-11-26T15:24:50Z</dc:date>
    </item>
  </channel>
</rss>

