<?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: Dynamic charting.layout.splitSeries from checkbox Module in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Dynamic-charting-layout-splitSeries-from-checkbox-Module/m-p/68812#M4245</link>
    <description>&lt;P&gt;Just create a token called &lt;CODE&gt;$charting.layout.splitSeries$&lt;/CODE&gt;,  with the right value.  You can create it using a Checkbox module, or a Pulldown module, or a ResultsValueSetter.   I think you came really close with your ResultsValueSetter attempt,   except for a typo (&lt;CODE&gt;splitSeriese&lt;/CODE&gt; has an extra e on the end there). &lt;/P&gt;

&lt;P&gt;I think the easiest is just to use the Checkbox module to create it: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;module name="Checkbox"&amp;gt;
  &amp;lt;param name="name"&amp;gt;charting.layout.splitSeries&amp;lt;/param&amp;gt;
  &amp;lt;param name="label"&amp;gt;split series&amp;lt;/param&amp;gt;
  &amp;lt;param name="onValue"&amp;gt;True&amp;lt;/param&amp;gt;
  &amp;lt;param name="offValue"&amp;gt;False&amp;lt;/param&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;To quickly explain why this works --   all HiddenChartFormatter does is create a bunch of $foo$ tokens -- $charting.chart$  and $charting.chart.nullValueMode$ etc..    So you can create them yourself and they'll work just as well. &lt;/P&gt;</description>
    <pubDate>Wed, 20 Mar 2013 22:20:18 GMT</pubDate>
    <dc:creator>sideview</dc:creator>
    <dc:date>2013-03-20T22:20:18Z</dc:date>
    <item>
      <title>Dynamic charting.layout.splitSeries from checkbox Module</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Dynamic-charting-layout-splitSeries-from-checkbox-Module/m-p/68811#M4244</link>
      <description>&lt;P&gt;I was wondering if there is a way to make charting.layout.splitSeries parameter be dynamic. I tried methods such as &lt;A href="http://splunk-base.splunk.com/answers/55625/telling-splunk-to-decide-which-type-of-chart-to-use-depending-on-incoming-data"&gt;http://splunk-base.splunk.com/answers/55625/telling-splunk-to-decide-which-type-of-chart-to-use-depending-on-incoming-data&lt;/A&gt; which did not work for me. &lt;/P&gt;

&lt;P&gt;I would like to have something like &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;module name="HiddenChartFormatter"&amp;gt;                                                                                                           &amp;lt;param name="charting.layout.splitSeries"&amp;gt;$foo$&amp;lt;/param&amp;gt;
&amp;lt;module name="FlashChart"/&amp;gt;
&amp;lt;/module&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;where $foo$ is either a true or false value. Hidden Chart formatter does not seem to recognize these tokens.&lt;/P&gt;

&lt;P&gt;I also tried: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;module name="PostProcess"&amp;gt;
&amp;lt;param name="search"&amp;gt;| eval chartType=$Split_Series$| rename chartType as "charting.layout.splitSeries"&amp;lt;/param&amp;gt;
   &amp;lt;module name="ResultsValueSetter"&amp;gt;
  &amp;lt;param name="fields"&amp;gt;charting.layout.splitSeriese&amp;lt;/param&amp;gt;                                                                                               &amp;lt;module name="PostProcess"&amp;gt;
    &amp;lt;param name="search"&amp;gt; &amp;lt;/param&amp;gt;            
                                                                                                   &amp;lt;module name="HiddenChartFormatter"&amp;gt;

                                                                                                        &amp;lt;param name="charting.chart.showMarkers"&amp;gt;true&amp;lt;/param&amp;gt;
                                                                                                        &amp;lt;module name="FlashChart"&amp;gt;
                                                                                                           &amp;lt;param name="height"&amp;gt;600px&amp;lt;/param&amp;gt;
                                                                                                        &amp;lt;/module&amp;gt;
                                                                                                                                                                                                          &amp;lt;/module&amp;gt;
                                                                                                                                                                                                     &amp;lt;/module&amp;gt;
                                                                                                &amp;lt;/module&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 20 Mar 2013 20:29:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Dynamic-charting-layout-splitSeries-from-checkbox-Module/m-p/68811#M4244</guid>
      <dc:creator>cmak</dc:creator>
      <dc:date>2013-03-20T20:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic charting.layout.splitSeries from checkbox Module</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Dynamic-charting-layout-splitSeries-from-checkbox-Module/m-p/68812#M4245</link>
      <description>&lt;P&gt;Just create a token called &lt;CODE&gt;$charting.layout.splitSeries$&lt;/CODE&gt;,  with the right value.  You can create it using a Checkbox module, or a Pulldown module, or a ResultsValueSetter.   I think you came really close with your ResultsValueSetter attempt,   except for a typo (&lt;CODE&gt;splitSeriese&lt;/CODE&gt; has an extra e on the end there). &lt;/P&gt;

&lt;P&gt;I think the easiest is just to use the Checkbox module to create it: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;module name="Checkbox"&amp;gt;
  &amp;lt;param name="name"&amp;gt;charting.layout.splitSeries&amp;lt;/param&amp;gt;
  &amp;lt;param name="label"&amp;gt;split series&amp;lt;/param&amp;gt;
  &amp;lt;param name="onValue"&amp;gt;True&amp;lt;/param&amp;gt;
  &amp;lt;param name="offValue"&amp;gt;False&amp;lt;/param&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;To quickly explain why this works --   all HiddenChartFormatter does is create a bunch of $foo$ tokens -- $charting.chart$  and $charting.chart.nullValueMode$ etc..    So you can create them yourself and they'll work just as well. &lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2013 22:20:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Dynamic-charting-layout-splitSeries-from-checkbox-Module/m-p/68812#M4245</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2013-03-20T22:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic charting.layout.splitSeries from checkbox Module</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/Dynamic-charting-layout-splitSeries-from-checkbox-Module/m-p/68813#M4246</link>
      <description>&lt;P&gt;Great, this works. Yes, the extra "e" was a result of a lot of changing around and testing.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Mar 2013 22:24:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/Dynamic-charting-layout-splitSeries-from-checkbox-Module/m-p/68813#M4246</guid>
      <dc:creator>cmak</dc:creator>
      <dc:date>2013-03-20T22:24:29Z</dc:date>
    </item>
  </channel>
</rss>

