<?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: help on rangemap in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/help-to-color-a-text-in-a-single-panel-following-conditions/m-p/581147#M11173</link>
    <description>&lt;P&gt;Correct.&amp;nbsp; If the field has to be text then &lt;FONT face="courier new,courier"&gt;rangemap&lt;/FONT&gt; is not the answer.&lt;/P&gt;&lt;P&gt;If this is part of a dashboard then this answer should help:&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-font-color-based-on-a-condition-for-a-particular/m-p/487257" target="_blank"&gt;https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-font-color-based-on-a-condition-for-a-particular/m-p/487257&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 14 Jan 2022 18:08:13 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2022-01-14T18:08:13Z</dc:date>
    <item>
      <title>help to color a text in a single panel following conditions</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/help-to-color-a-text-in-a-single-panel-following-conditions/m-p/581085#M11168</link>
      <description>&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;I need to color the field "sante" in red if his value is "Etat dégradé" and green if his value os "Etat stable"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| stats count(hang_process_name) AS hang 
| eval sante=if(hang&amp;gt;0, "Etat dégradé", "Etat stable") 
| table sante 
| rangemap field=sante low=0-0 default=severe&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;what is wrong please?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 17:48:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/help-to-color-a-text-in-a-single-panel-following-conditions/m-p/581085#M11168</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2022-01-14T17:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: help on rangemap</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/help-to-color-a-text-in-a-single-panel-following-conditions/m-p/581115#M11169</link>
      <description>&lt;P&gt;The &lt;FONT face="courier new,courier"&gt;rangemap&lt;/FONT&gt; command needs numeric values.&amp;nbsp; This query should color the field as desired, but doesn't use the specified text.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| stats count(hang_process_name) AS hang 
| eval sante=if(hang&amp;gt;0, 1, 0) 
| table sante 
| rangemap field=sante low=0-0 default=severe&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 15:24:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/help-to-color-a-text-in-a-single-panel-following-conditions/m-p/581115#M11169</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-01-14T15:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: help on rangemap</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/help-to-color-a-text-in-a-single-panel-following-conditions/m-p/581121#M11170</link>
      <description>&lt;P&gt;sorry, but my needs is to color a text so in my eval command I confirm that I need&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval sante=if(hang&amp;gt;0, "OK", "KO") &lt;/LI-CODE&gt;&lt;P&gt;so rangemap is not the good way due to numeric fields?&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 15:55:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/help-to-color-a-text-in-a-single-panel-following-conditions/m-p/581121#M11170</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2022-01-14T15:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: help on rangemap</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/help-to-color-a-text-in-a-single-panel-following-conditions/m-p/581147#M11173</link>
      <description>&lt;P&gt;Correct.&amp;nbsp; If the field has to be text then &lt;FONT face="courier new,courier"&gt;rangemap&lt;/FONT&gt; is not the answer.&lt;/P&gt;&lt;P&gt;If this is part of a dashboard then this answer should help:&amp;nbsp;&lt;A href="https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-font-color-based-on-a-condition-for-a-particular/m-p/487257" target="_blank"&gt;https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-font-color-based-on-a-condition-for-a-particular/m-p/487257&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jan 2022 18:08:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/help-to-color-a-text-in-a-single-panel-following-conditions/m-p/581147#M11173</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-01-14T18:08:13Z</dc:date>
    </item>
    <item>
      <title>Re: help on rangemap</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/help-to-color-a-text-in-a-single-panel-following-conditions/m-p/581148#M11174</link>
      <description>&lt;P&gt;Thanks but I need to display the results in a single panel and not in a table&lt;/P&gt;&lt;P&gt;I have done it works fine&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; eval sante=if(hang&amp;gt;1,"KO","OK") 
| table sante  
| eval severity=if(sante="KO",1,0) 
| rangemap field=severity low=0-0 default=severe&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 15 Jan 2022 06:01:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/help-to-color-a-text-in-a-single-panel-following-conditions/m-p/581148#M11174</guid>
      <dc:creator>jip31</dc:creator>
      <dc:date>2022-01-15T06:01:24Z</dc:date>
    </item>
  </channel>
</rss>

