<?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 How to color code a bar charts based on a fields value? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-color-code-a-bar-charts-based-on-a-fields-value/m-p/425588#M122007</link>
    <description>&lt;P&gt;I am have a search as :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="abc" sourcetype="xyz"| stats count by status_code.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So how can I change the colors of bar based on the status_code.&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/5330iB73FA52FB7183F70/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Jul 2018 14:28:50 GMT</pubDate>
    <dc:creator>Arpmjdr</dc:creator>
    <dc:date>2018-07-03T14:28:50Z</dc:date>
    <item>
      <title>How to color code a bar charts based on a fields value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-color-code-a-bar-charts-based-on-a-fields-value/m-p/425588#M122007</link>
      <description>&lt;P&gt;I am have a search as :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="abc" sourcetype="xyz"| stats count by status_code.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So how can I change the colors of bar based on the status_code.&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/5330iB73FA52FB7183F70/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jul 2018 14:28:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-color-code-a-bar-charts-based-on-a-fields-value/m-p/425588#M122007</guid>
      <dc:creator>Arpmjdr</dc:creator>
      <dc:date>2018-07-03T14:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to color code a bar charts based on a fields value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-color-code-a-bar-charts-based-on-a-fields-value/m-p/425589#M122008</link>
      <description>&lt;P&gt;@Arpmjdr try the following with transpose command.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index="abc" sourcetype="xyz" status_code=*
| stats count by status_code
| transpose 0 header_field="status_code"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 03 Jul 2018 14:33:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-color-code-a-bar-charts-based-on-a-fields-value/m-p/425589#M122008</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-07-03T14:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to color code a bar charts based on a fields value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-color-code-a-bar-charts-based-on-a-fields-value/m-p/425590#M122009</link>
      <description>&lt;P&gt;Thanks for the help Nilay &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jul 2018 09:26:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-color-code-a-bar-charts-based-on-a-fields-value/m-p/425590#M122009</guid>
      <dc:creator>Arpmjdr</dc:creator>
      <dc:date>2018-07-04T09:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to color code a bar charts based on a fields value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-color-code-a-bar-charts-based-on-a-fields-value/m-p/425591#M122010</link>
      <description>&lt;P&gt;@Arpmjdr , if your issue is resolved, do accept/up vote the answer. If not then let us know &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jul 2018 09:36:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-color-code-a-bar-charts-based-on-a-fields-value/m-p/425591#M122010</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-07-04T09:36:37Z</dc:date>
    </item>
  </channel>
</rss>

