<?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: Get a Chart rendering as when using predict command - upper, middle and lower with transparency in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Get-a-Chart-rendering-as-when-using-predict-command-upper-middle/m-p/177862#M51130</link>
    <description>&lt;P&gt;What option are you talking about precisely? The X-Axis seems fine to me using the approach described here.&lt;/P&gt;

&lt;P&gt;&lt;IMG src="http://answers.splunk.com//storage/overlay.png" alt="alt text" /&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Apr 2014 09:22:14 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2014-04-29T09:22:14Z</dc:date>
    <item>
      <title>Get a Chart rendering as when using predict command - upper, middle and lower with transparency</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Get-a-Chart-rendering-as-when-using-predict-command-upper-middle/m-p/177856#M51124</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Does anyone knows how i could get a chart in simple xml to render as the same it automatically does when using the predit command ?&lt;/P&gt;

&lt;P&gt;To illustrate, when using the predict command (whenever you are in inline search or a dashboard you saved), a nice chart is being generated with transparency between lower and upper data:&lt;/P&gt;

&lt;P&gt;&lt;IMG src="http://answers.splunk.com//storage/2014-03-07_151518_1.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;I have other data i want to chart the same way, let's i have 4 series:&lt;/STRONG&gt;&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;the main serie, as for example cpu consummation&lt;/LI&gt;
&lt;LI&gt;3 series that will represent min, avg and max of previous periods: lower, middle and upper&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Currently, the result i have is as expected:&lt;/P&gt;

&lt;P&gt;&lt;IMG src="http://answers.splunk.com//storage/2014-03-07_151554.png" alt="alt text" /&gt;&lt;/P&gt;

&lt;P&gt;So my goal is to get the same chart result than predict command automatically generates, but the simple xml code have no differences between the one that generates the transparency between ranges and the one that does not...&lt;/P&gt;

&lt;P&gt;Thank you very much for your help !&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2014 14:30:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Get-a-Chart-rendering-as-when-using-predict-command-upper-middle/m-p/177856#M51124</guid>
      <dc:creator>guilmxm</dc:creator>
      <dc:date>2014-03-07T14:30:33Z</dc:date>
    </item>
    <item>
      <title>Re: Get a Chart rendering as when using predict command - upper, middle and lower with transparency</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Get-a-Chart-rendering-as-when-using-predict-command-upper-middle/m-p/177857#M51125</link>
      <description>&lt;P&gt;You can hack your way into this visualization by producing the same output as the &lt;CODE&gt;predict&lt;/CODE&gt; command, Splunk will automagically adapt. Take a look at this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_internal | timechart count | eval mylower = 1000 | eval mypredicted = 2000 | eval myupper = 3000 | eval _lower = "mylower" | eval _upper = "myupper" | eval _predicted = "mypredicted"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;By setting the &lt;CODE&gt;_lower&lt;/CODE&gt; etc. field names, the underlying visualization assumes this is a &lt;CODE&gt;predict&lt;/CODE&gt; output and paints it as such. Note, this may not be stable in future versions as this internal interface between the command and the visualization certainly can be subject to change.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2014 14:46:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Get-a-Chart-rendering-as-when-using-predict-command-upper-middle/m-p/177857#M51125</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-03-07T14:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Get a Chart rendering as when using predict command - upper, middle and lower with transparency</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Get-a-Chart-rendering-as-when-using-predict-command-upper-middle/m-p/177858#M51126</link>
      <description>&lt;P&gt;Hi ! Thanks you very very much, so fast so effective &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Works like a charm, i was getting crazy looking for the way Splunk was generating this automatically&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2014 14:53:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Get-a-Chart-rendering-as-when-using-predict-command-upper-middle/m-p/177858#M51126</guid>
      <dc:creator>guilmxm</dc:creator>
      <dc:date>2014-03-07T14:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: Get a Chart rendering as when using predict command - upper, middle and lower with transparency</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Get-a-Chart-rendering-as-when-using-predict-command-upper-middle/m-p/177859#M51127</link>
      <description>&lt;P&gt;Nice answer! But to use your actual data with timespans, do this: &lt;BR /&gt;
&lt;CODE&gt;timechart span=1m avg(cpu) as predicted max(cpu) as upper min(cpu) as lower | eval _lower = "lower" | eval _predicted = "predicted" | eval _upper = "upper"&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2014 15:15:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Get-a-Chart-rendering-as-when-using-predict-command-upper-middle/m-p/177859#M51127</guid>
      <dc:creator>alacercogitatus</dc:creator>
      <dc:date>2014-03-07T15:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Get a Chart rendering as when using predict command - upper, middle and lower with transparency</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Get-a-Chart-rendering-as-when-using-predict-command-upper-middle/m-p/177860#M51128</link>
      <description>&lt;P&gt;Yes off course thanks, still the essential part of this nice answer concerns the requirement of naming fields (with _lower, _predicted, _upper) as predict does to get Splunk to render the chart as wanted&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2014 16:24:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Get-a-Chart-rendering-as-when-using-predict-command-upper-middle/m-p/177860#M51128</guid>
      <dc:creator>guilmxm</dc:creator>
      <dc:date>2014-03-07T16:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: Get a Chart rendering as when using predict command - upper, middle and lower with transparency</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Get-a-Chart-rendering-as-when-using-predict-command-upper-middle/m-p/177861#M51129</link>
      <description>&lt;P&gt;Why does the x-axis become unreadable with this option?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Apr 2014 08:07:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Get-a-Chart-rendering-as-when-using-predict-command-upper-middle/m-p/177861#M51129</guid>
      <dc:creator>0range</dc:creator>
      <dc:date>2014-04-29T08:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Get a Chart rendering as when using predict command - upper, middle and lower with transparency</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Get-a-Chart-rendering-as-when-using-predict-command-upper-middle/m-p/177862#M51130</link>
      <description>&lt;P&gt;What option are you talking about precisely? The X-Axis seems fine to me using the approach described here.&lt;/P&gt;

&lt;P&gt;&lt;IMG src="http://answers.splunk.com//storage/overlay.png" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Apr 2014 09:22:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Get-a-Chart-rendering-as-when-using-predict-command-upper-middle/m-p/177862#M51130</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-04-29T09:22:14Z</dc:date>
    </item>
  </channel>
</rss>

