<?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 use dynamic colors and icons for Status Indicator in Trellis layout? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-dynamic-colors-and-icons-for-Status-Indicator-in/m-p/610612#M212362</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi, how do I display my Status Indicator with dynamic colors and icons in a Trellis layout?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval status=case(status_id==0,"Idle", status_id&amp;gt;=1 AND status_id&amp;lt;=3,"Setup/PM", status_id==4,"Idle", status_id&amp;gt;=5 AND status_id&amp;lt;=6,"Down", status_id&amp;gt;=7 AND status_id&amp;lt;=8,"Idle", status_id==9,"Running")
| eval color=case(status_id=0,"#edd051", status_id&amp;gt;=1 AND status_id&amp;lt;=3,"#006d9c", status_id=4,"#edd051", status_id&amp;gt;=5 AND status_id&amp;lt;=6,"#ff0000", status_id&amp;gt;=7 AND status_id&amp;lt;=8,"#edd051", status_id=9,"#42dba0")
| eval icon=case(status_id=0,"times-circle", status_id&amp;gt;=1 AND status_id&amp;lt;=3,"user", status_id=4,"times-circle", status_id&amp;gt;=5 AND status_id&amp;lt;=6,"warning", status_id&amp;gt;=7 AND status_id&amp;lt;=8,"times-circle", status_id=9,"check")
| stats last(status) last(color) last(icon) BY internal_name&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This only displays the status with no icons and the default grey color.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Aug 2022 06:17:45 GMT</pubDate>
    <dc:creator>dzyfer</dc:creator>
    <dc:date>2022-08-24T06:17:45Z</dc:date>
    <item>
      <title>How to use dynamic colors and icons for Status Indicator in Trellis layout?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-use-dynamic-colors-and-icons-for-Status-Indicator-in/m-p/610612#M212362</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi, how do I display my Status Indicator with dynamic colors and icons in a Trellis layout?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval status=case(status_id==0,"Idle", status_id&amp;gt;=1 AND status_id&amp;lt;=3,"Setup/PM", status_id==4,"Idle", status_id&amp;gt;=5 AND status_id&amp;lt;=6,"Down", status_id&amp;gt;=7 AND status_id&amp;lt;=8,"Idle", status_id==9,"Running")
| eval color=case(status_id=0,"#edd051", status_id&amp;gt;=1 AND status_id&amp;lt;=3,"#006d9c", status_id=4,"#edd051", status_id&amp;gt;=5 AND status_id&amp;lt;=6,"#ff0000", status_id&amp;gt;=7 AND status_id&amp;lt;=8,"#edd051", status_id=9,"#42dba0")
| eval icon=case(status_id=0,"times-circle", status_id&amp;gt;=1 AND status_id&amp;lt;=3,"user", status_id=4,"times-circle", status_id&amp;gt;=5 AND status_id&amp;lt;=6,"warning", status_id&amp;gt;=7 AND status_id&amp;lt;=8,"times-circle", status_id=9,"check")
| stats last(status) last(color) last(icon) BY internal_name&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This only displays the status with no icons and the default grey color.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Aug 2022 06:17:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-use-dynamic-colors-and-icons-for-Status-Indicator-in/m-p/610612#M212362</guid>
      <dc:creator>dzyfer</dc:creator>
      <dc:date>2022-08-24T06:17:45Z</dc:date>
    </item>
  </channel>
</rss>

