<?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: How to color columns based on a variable? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-color-columns-based-on-a-variable/m-p/300893#M90601</link>
    <description>&lt;P&gt;| eval LDOS = case(ldos&amp;lt;0,"PID_LDOS",(ldos&amp;gt;0 OR ldos=0),"PID_NOT_LDOS") | search LDOS=X| chart values(SR) over itemShipped&lt;BR /&gt;
          &lt;EARLIEST&gt;0&lt;/EARLIEST&gt;&lt;BR /&gt;
          &lt;LATEST&gt;&lt;/LATEST&gt;&lt;BR /&gt;
        &lt;BR /&gt;
        column&lt;BR /&gt;
        {"values(SR)":0x73A550}&lt;/P&gt;

&lt;P&gt;When the search is X I want the chart to show Red&lt;BR /&gt;
When the search is "NOT_X" I want the chart to show green....I am plotting value(SR) and itemShipped. &lt;BR /&gt;
I could not access the URL mentioned above&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 14:07:34 GMT</pubDate>
    <dc:creator>anakelka</dc:creator>
    <dc:date>2020-09-29T14:07:34Z</dc:date>
    <item>
      <title>How to color columns based on a variable?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-color-columns-based-on-a-variable/m-p/300890#M90598</link>
      <description>&lt;P&gt;I am charting a Product ID v/s count in a column chart&lt;BR /&gt;
I want to color the columns in red and green. Red if the PID is X and green if PID is NOT_X&lt;BR /&gt;
I dont want X and NOT_X to show on the axis or legend.&lt;BR /&gt;
Is there a conditional chart statement that I can use?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:07:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-color-columns-based-on-a-variable/m-p/300890#M90598</guid>
      <dc:creator>anakelka</dc:creator>
      <dc:date>2020-09-29T14:07:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to color columns based on a variable?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-color-columns-based-on-a-variable/m-p/300891#M90599</link>
      <description>&lt;P&gt;What is your search?&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 21:02:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-color-columns-based-on-a-variable/m-p/300891#M90599</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-05-18T21:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to color columns based on a variable?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-color-columns-based-on-a-variable/m-p/300892#M90600</link>
      <description>&lt;P&gt;Have you taken a look at the Splunk 6.x Dashboard examples app, available on Splunkbase?&lt;/P&gt;

&lt;P&gt;&lt;A href="https://splunkbase.splunk.com/app/1603/"&gt;https://splunkbase.splunk.com/app/1603/&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;This is a great app for learning how to do different types of visualizations.&lt;/P&gt;

&lt;P&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/2959iD2C7D417A273386B/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;For each example, you can see the XML for the dashboard, as well as any javascript or css that is required for that example.&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 21:24:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-color-columns-based-on-a-variable/m-p/300892#M90600</guid>
      <dc:creator>kmorris_splunk</dc:creator>
      <dc:date>2017-05-18T21:24:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to color columns based on a variable?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-color-columns-based-on-a-variable/m-p/300893#M90601</link>
      <description>&lt;P&gt;| eval LDOS = case(ldos&amp;lt;0,"PID_LDOS",(ldos&amp;gt;0 OR ldos=0),"PID_NOT_LDOS") | search LDOS=X| chart values(SR) over itemShipped&lt;BR /&gt;
          &lt;EARLIEST&gt;0&lt;/EARLIEST&gt;&lt;BR /&gt;
          &lt;LATEST&gt;&lt;/LATEST&gt;&lt;BR /&gt;
        &lt;BR /&gt;
        column&lt;BR /&gt;
        {"values(SR)":0x73A550}&lt;/P&gt;

&lt;P&gt;When the search is X I want the chart to show Red&lt;BR /&gt;
When the search is "NOT_X" I want the chart to show green....I am plotting value(SR) and itemShipped. &lt;BR /&gt;
I could not access the URL mentioned above&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 14:07:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-color-columns-based-on-a-variable/m-p/300893#M90601</guid>
      <dc:creator>anakelka</dc:creator>
      <dc:date>2020-09-29T14:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to color columns based on a variable?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-color-columns-based-on-a-variable/m-p/300894#M90602</link>
      <description>&lt;P&gt;I am unable to access the URL&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2017 12:28:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-color-columns-based-on-a-variable/m-p/300894#M90602</guid>
      <dc:creator>anakelka</dc:creator>
      <dc:date>2017-05-19T12:28:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to color columns based on a variable?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-color-columns-based-on-a-variable/m-p/300895#M90603</link>
      <description>&lt;P&gt;Try it now. Or go to splunkbase.com and search for dashboard examples. &lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2017 12:42:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-color-columns-based-on-a-variable/m-p/300895#M90603</guid>
      <dc:creator>kmorris_splunk</dc:creator>
      <dc:date>2017-05-19T12:42:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to color columns based on a variable?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-color-columns-based-on-a-variable/m-p/300896#M90604</link>
      <description>&lt;P&gt;I could access it but somehow I am not sure it answers my question.....I want to color the graph based on another variable settings......almost like an if loop for the chart&lt;/P&gt;</description>
      <pubDate>Fri, 19 May 2017 13:15:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-color-columns-based-on-a-variable/m-p/300896#M90604</guid>
      <dc:creator>anakelka</dc:creator>
      <dc:date>2017-05-19T13:15:05Z</dc:date>
    </item>
  </channel>
</rss>

