<?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 IT Service Intelligence: How to change the color based on the value of a field (state)? in Splunk ITSI</title>
    <link>https://community.splunk.com/t5/Splunk-ITSI/IT-Service-Intelligence-How-to-change-the-color-based-on-the/m-p/380173#M555</link>
    <description>&lt;P&gt;Below is the data I have in search time. I have the entity as a state column.&lt;BR /&gt;
How can I make running as Green and Stopped as Red ?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;ServiceType="Own Process"
StartMode="Manual"
Started=true
State="Running"
Status="OK"
ProcessId=20088
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 21 May 2019 12:01:44 GMT</pubDate>
    <dc:creator>DataOrg</dc:creator>
    <dc:date>2019-05-21T12:01:44Z</dc:date>
    <item>
      <title>IT Service Intelligence: How to change the color based on the value of a field (state)?</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/IT-Service-Intelligence-How-to-change-the-color-based-on-the/m-p/380173#M555</link>
      <description>&lt;P&gt;Below is the data I have in search time. I have the entity as a state column.&lt;BR /&gt;
How can I make running as Green and Stopped as Red ?&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;ServiceType="Own Process"
StartMode="Manual"
Started=true
State="Running"
Status="OK"
ProcessId=20088
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 May 2019 12:01:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/IT-Service-Intelligence-How-to-change-the-color-based-on-the/m-p/380173#M555</guid>
      <dc:creator>DataOrg</dc:creator>
      <dc:date>2019-05-21T12:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: IT Service Intelligence: How to change the color based on the value of a field (state)?</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/IT-Service-Intelligence-How-to-change-the-color-based-on-the/m-p/380174#M556</link>
      <description>&lt;P&gt;if you are asking regarding a KPI, i would probably convert the value of &lt;CODE&gt;State&lt;/CODE&gt; field to a number&lt;BR /&gt;
for example:&lt;BR /&gt;
&lt;CODE&gt;... your search ... | eval status=if(State''"Running",0,1) ...&lt;/CODE&gt;&lt;BR /&gt;
then on the KPI i will have the &lt;CODE&gt;max&lt;/CODE&gt; function and the field to report as &lt;CODE&gt;status&lt;/CODE&gt; &lt;BR /&gt;
when defining thresholds, normal will be 0 and High or Critical will be 1&lt;/P&gt;

&lt;P&gt;hope it helps&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2019 12:25:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/IT-Service-Intelligence-How-to-change-the-color-based-on-the/m-p/380174#M556</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2019-05-21T12:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: IT Service Intelligence: How to change the color based on the value of a field (state)?</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/IT-Service-Intelligence-How-to-change-the-color-based-on-the/m-p/380175#M557</link>
      <description>&lt;P&gt;but in the KPI tile. the status will be shown as numeric value as 1 or 0. it there any way i can display the state and to calculate i can use status value?&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2019 12:51:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/IT-Service-Intelligence-How-to-change-the-color-based-on-the/m-p/380175#M557</guid>
      <dc:creator>DataOrg</dc:creator>
      <dc:date>2019-05-21T12:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: IT Service Intelligence: How to change the color based on the value of a field (state)?</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/IT-Service-Intelligence-How-to-change-the-color-based-on-the/m-p/380176#M558</link>
      <description>&lt;P&gt;ITSI KPIs working only on numeric values, you cant put a string (per-se) in the visualization as far as i know&lt;BR /&gt;
meaning, you cant have a text in the KPI viz box&lt;/P&gt;</description>
      <pubDate>Tue, 21 May 2019 12:58:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/IT-Service-Intelligence-How-to-change-the-color-based-on-the/m-p/380176#M558</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2019-05-21T12:58:36Z</dc:date>
    </item>
  </channel>
</rss>

