<?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: Change Pie Chart Color in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Change-Pie-Chart-Color/m-p/109462#M28560</link>
    <description>&lt;P&gt;The problem with this is that it is sequence. &lt;/P&gt;

&lt;P&gt;For example, if you have "Low, Medium and High" defined with green, yellow and red defined and you only have high results, then the color for High will be green. &lt;/P&gt;

&lt;P&gt;How do you specify a color for each result in a pie chart so that the colors in the chart generated are consistent? &lt;/P&gt;</description>
    <pubDate>Mon, 27 Jun 2016 14:04:19 GMT</pubDate>
    <dc:creator>ArkansIan</dc:creator>
    <dc:date>2016-06-27T14:04:19Z</dc:date>
    <item>
      <title>Change Pie Chart Color</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Change-Pie-Chart-Color/m-p/109460#M28558</link>
      <description>&lt;P&gt;Hello guys!&lt;BR /&gt;
Can anyone help me changin' the color for this search:&lt;/P&gt;

&lt;P&gt;index=main sourcetype=file | stats count by REQUEST_STATUS | rename count as "Quantity"&lt;/P&gt;

&lt;P&gt;I need a chart with green for few registers, yellow for medium registers and red for high frequency registers.&lt;/P&gt;

&lt;P&gt;Thanks in Advance!&lt;/P&gt;

&lt;P&gt;Bst Rgds!&lt;/P&gt;</description>
      <pubDate>Wed, 03 Sep 2014 14:27:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Change-Pie-Chart-Color/m-p/109460#M28558</guid>
      <dc:creator>vtsguerrero</dc:creator>
      <dc:date>2014-09-03T14:27:19Z</dc:date>
    </item>
    <item>
      <title>Re: Change Pie Chart Color</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Change-Pie-Chart-Color/m-p/109461#M28559</link>
      <description>&lt;P&gt;This is possible by assigning a particular color to your series. (charting.seriesColors)&lt;BR /&gt;
see &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.3/Viz/Chartcustomization#Chart_colors"&gt;http://docs.splunk.com/Documentation/Splunk/6.1.3/Viz/Chartcustomization#Chart_colors&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;You will need :&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;to name your series (charting.legend.labels)&lt;/LI&gt;
&lt;LI&gt;or to sort your series before (sort or a table )&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Wed, 03 Sep 2014 14:34:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Change-Pie-Chart-Color/m-p/109461#M28559</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2014-09-03T14:34:08Z</dc:date>
    </item>
    <item>
      <title>Re: Change Pie Chart Color</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Change-Pie-Chart-Color/m-p/109462#M28560</link>
      <description>&lt;P&gt;The problem with this is that it is sequence. &lt;/P&gt;

&lt;P&gt;For example, if you have "Low, Medium and High" defined with green, yellow and red defined and you only have high results, then the color for High will be green. &lt;/P&gt;

&lt;P&gt;How do you specify a color for each result in a pie chart so that the colors in the chart generated are consistent? &lt;/P&gt;</description>
      <pubDate>Mon, 27 Jun 2016 14:04:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Change-Pie-Chart-Color/m-p/109462#M28560</guid>
      <dc:creator>ArkansIan</dc:creator>
      <dc:date>2016-06-27T14:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Change Pie Chart Color</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Change-Pie-Chart-Color/m-p/109463#M28561</link>
      <description>&lt;P&gt;hi Arkanslan,&lt;BR /&gt;
were u able to solve this? I have similar requirement. need to fix color for series.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2016 21:04:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Change-Pie-Chart-Color/m-p/109463#M28561</guid>
      <dc:creator>Aftab_alam</dc:creator>
      <dc:date>2016-08-01T21:04:35Z</dc:date>
    </item>
    <item>
      <title>Re: Change Pie Chart Color</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Change-Pie-Chart-Color/m-p/109464#M28562</link>
      <description>&lt;P&gt;I know this question is extremely old. (5 years now)  But I've found a solution that works the way you want and for @ArkansIan and @Aftab_alam &lt;/P&gt;

&lt;P&gt;Instead of using charting.seriesColors, use charting.fieldcolors.&lt;/P&gt;

&lt;P&gt;Here's a quick example.&lt;BR /&gt;
 {"Informational":0x00812F , "Low":0x00CB09 , "Normal":0xFFC300 , "High":0xFF7400 , "Critical":0xFF0000}&lt;BR /&gt;
This sets the color for each category as it shows up and is not dependent on if all the values lower than the highest are present or not. &lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2019 18:06:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Change-Pie-Chart-Color/m-p/109464#M28562</guid>
      <dc:creator>supertal3</dc:creator>
      <dc:date>2019-07-15T18:06:06Z</dc:date>
    </item>
  </channel>
</rss>

