<?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: Color code single value on other field in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Color-code-single-value-on-other-field/m-p/279292#M190459</link>
    <description>&lt;P&gt;You might have already resolved the problem but in case you haven't - I am still using the single panel color coding using range with a minor workaround&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;      &amp;lt;single&amp;gt;
        &amp;lt;title&amp;gt;Status&amp;lt;/title&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;my search|eval range=if(Status &amp;lt; 1,"severe", "low") |table range Status &amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-60m@m&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="classField"&amp;gt;range&amp;lt;/option&amp;gt;
        &amp;lt;option name="field"&amp;gt;Status&amp;lt;/option&amp;gt;
      &amp;lt;/single&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Two things to remember : &lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;The variable name should be  &lt;STRONG&gt;&lt;EM&gt;range&lt;/EM&gt;&lt;/STRONG&gt; in the eval statement and also mention the same in   &lt;STRONG&gt;&lt;EM&gt;classField&lt;/EM&gt;&lt;/STRONG&gt; option &lt;/LI&gt;
&lt;LI&gt;The field you want to display as the value can be provided in the &lt;STRONG&gt;&lt;EM&gt;field&lt;/EM&gt;&lt;/STRONG&gt; option.&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
    <pubDate>Thu, 26 May 2016 08:43:34 GMT</pubDate>
    <dc:creator>renjith_nair</dc:creator>
    <dc:date>2016-05-26T08:43:34Z</dc:date>
    <item>
      <title>Color code single value on other field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Color-code-single-value-on-other-field/m-p/279290#M190457</link>
      <description>&lt;P&gt;I would like to color a single value, based on a field value that is not the one displayed in the panel. I was able to do so previously using the classField option; however, since it is deprecated in 6.4 ,I'm not sure how I would do this.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Apr 2016 18:34:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Color-code-single-value-on-other-field/m-p/279290#M190457</guid>
      <dc:creator>mschlager</dc:creator>
      <dc:date>2016-04-08T18:34:44Z</dc:date>
    </item>
    <item>
      <title>Re: Color code single value on other field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Color-code-single-value-on-other-field/m-p/279291#M190458</link>
      <description>&lt;P&gt;Did you work this out? I'm trying to do exactly the same thing.&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2016 19:03:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Color-code-single-value-on-other-field/m-p/279291#M190458</guid>
      <dc:creator>helenashton</dc:creator>
      <dc:date>2016-05-25T19:03:11Z</dc:date>
    </item>
    <item>
      <title>Re: Color code single value on other field</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Color-code-single-value-on-other-field/m-p/279292#M190459</link>
      <description>&lt;P&gt;You might have already resolved the problem but in case you haven't - I am still using the single panel color coding using range with a minor workaround&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;      &amp;lt;single&amp;gt;
        &amp;lt;title&amp;gt;Status&amp;lt;/title&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;my search|eval range=if(Status &amp;lt; 1,"severe", "low") |table range Status &amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-60m@m&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="classField"&amp;gt;range&amp;lt;/option&amp;gt;
        &amp;lt;option name="field"&amp;gt;Status&amp;lt;/option&amp;gt;
      &amp;lt;/single&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Two things to remember : &lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;The variable name should be  &lt;STRONG&gt;&lt;EM&gt;range&lt;/EM&gt;&lt;/STRONG&gt; in the eval statement and also mention the same in   &lt;STRONG&gt;&lt;EM&gt;classField&lt;/EM&gt;&lt;/STRONG&gt; option &lt;/LI&gt;
&lt;LI&gt;The field you want to display as the value can be provided in the &lt;STRONG&gt;&lt;EM&gt;field&lt;/EM&gt;&lt;/STRONG&gt; option.&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Thu, 26 May 2016 08:43:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Color-code-single-value-on-other-field/m-p/279292#M190459</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2016-05-26T08:43:34Z</dc:date>
    </item>
  </channel>
</rss>

