<?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: Grouping values in bar chart when using inline search in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Grouping-values-in-bar-chart-when-using-inline-search/m-p/48259#M11531</link>
    <description>&lt;P&gt;I assume you have a HiddenChartFormatter stanza somewhere in your xml.  If so, try adding a statement like this to it:&lt;/P&gt;

&lt;P&gt;&amp;lt;param name="charting.fieldColors"&amp;gt;{"Value1":0x00FF00,"Value2":0xFF0000,"Value3":0xFF0000}&amp;lt;/param&amp;gt;&lt;/P&gt;</description>
    <pubDate>Fri, 01 Mar 2013 13:34:57 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2013-03-01T13:34:57Z</dc:date>
    <item>
      <title>Grouping values in bar chart when using inline search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Grouping-values-in-bar-chart-when-using-inline-search/m-p/48258#M11530</link>
      <description>&lt;P&gt;Using the search app I can run a search like this:&lt;/P&gt;

&lt;P&gt;&lt;SEARCH ...=""&gt; | chart avg(callcount) by sp_day sp &lt;/SEARCH&gt;&lt;/P&gt;

&lt;P&gt;which gives me a bar chart where&lt;BR /&gt;
 - there is a bar for each combination of sp_day / sp&lt;BR /&gt;
 - &lt;THIS is="" the="" important="" bit=""&gt; bars are colored according to the value of sp&lt;/THIS&gt;&lt;/P&gt;

&lt;P&gt;When I try to code this in my dashboard xml I have to drop the "| chart ..." from the end of the search term and then all the bars are always just drawn in the same color.  How can I reproduce the behaviour from the search app on my dashboard?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2013 13:00:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Grouping-values-in-bar-chart-when-using-inline-search/m-p/48258#M11530</guid>
      <dc:creator>MatMeredith</dc:creator>
      <dc:date>2013-03-01T13:00:39Z</dc:date>
    </item>
    <item>
      <title>Re: Grouping values in bar chart when using inline search</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Grouping-values-in-bar-chart-when-using-inline-search/m-p/48259#M11531</link>
      <description>&lt;P&gt;I assume you have a HiddenChartFormatter stanza somewhere in your xml.  If so, try adding a statement like this to it:&lt;/P&gt;

&lt;P&gt;&amp;lt;param name="charting.fieldColors"&amp;gt;{"Value1":0x00FF00,"Value2":0xFF0000,"Value3":0xFF0000}&amp;lt;/param&amp;gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2013 13:34:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Grouping-values-in-bar-chart-when-using-inline-search/m-p/48259#M11531</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2013-03-01T13:34:57Z</dc:date>
    </item>
  </channel>
</rss>

