<?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: Does anyone have sample XML code to show color coded alert statuses based on a specific count in a dashboard panel? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Does-anyone-have-sample-XML-code-to-show-color-coded-alert/m-p/189924#M11811</link>
    <description>&lt;P&gt;Hi @Somesoni2, thanks for your reply. But in my case I need to hide count and source type details in front. Just for One value[which should run in background] and I need to show the color alone in front end.  Like text as GREEN,RED[or X symbol] ,YELLOW&lt;/P&gt;

&lt;P&gt;Please see the attachment:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://C:%5CUsers%5C149763%5CDesktop%5CAlert+status.jpg"&gt;http://C:\Users\149763\Desktop\Alert+status.jpg&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Nov 2014 07:37:15 GMT</pubDate>
    <dc:creator>Bhuavana</dc:creator>
    <dc:date>2014-11-04T07:37:15Z</dc:date>
    <item>
      <title>Does anyone have sample XML code to show color coded alert statuses based on a specific count in a dashboard panel?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Does-anyone-have-sample-XML-code-to-show-color-coded-alert/m-p/189921#M11808</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;

&lt;P&gt;Can any one please share me a sample code(xml) to show the alert status based on a specific count in Dashboard Panel?&lt;/P&gt;

&lt;P&gt;If count is &amp;gt;100 then i need to show RED as a status.&lt;/P&gt;

&lt;P&gt;If count &amp;gt;70 then i need to show YELLOW&lt;/P&gt;

&lt;P&gt;If count &amp;lt;50 then its green&lt;/P&gt;</description>
      <pubDate>Fri, 31 Oct 2014 10:52:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Does-anyone-have-sample-XML-code-to-show-color-coded-alert/m-p/189921#M11808</guid>
      <dc:creator>Bhuavana</dc:creator>
      <dc:date>2014-10-31T10:52:46Z</dc:date>
    </item>
    <item>
      <title>Re: Does anyone have sample XML code to show color coded alert statuses based on a specific count in a dashboard panel?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Does-anyone-have-sample-XML-code-to-show-color-coded-alert/m-p/189922#M11809</link>
      <description>&lt;P&gt;Something like this??&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;OverallHealthStatus&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=_internal ERROR | stats count by sourcetype | eval Status=case(count&amp;amp;gt;100,"RED", count&amp;amp;gt;70,"YELLOW", count&amp;amp;lt;50,"GREEN",1=1,"BROWN")&amp;lt;/query&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="wrap"&amp;gt;true&amp;lt;/option&amp;gt;
        &amp;lt;option name="rowNumbers"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="dataOverlayMode"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;cell&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 31 Oct 2014 15:17:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Does-anyone-have-sample-XML-code-to-show-color-coded-alert/m-p/189922#M11809</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-10-31T15:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: Does anyone have sample XML code to show color coded alert statuses based on a specific count in a dashboard panel?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Does-anyone-have-sample-XML-code-to-show-color-coded-alert/m-p/189923#M11810</link>
      <description>&lt;P&gt;Also check out the following app if you want to perform any table customization based on this status field (cell highlighting, row highlighting, icon sets, etc).&lt;/P&gt;

&lt;P&gt;Splunk 6.x Dashboard Examples&lt;BR /&gt;
&lt;A href="https://apps.splunk.com/app/1603/"&gt;https://apps.splunk.com/app/1603/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Oct 2014 16:48:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Does-anyone-have-sample-XML-code-to-show-color-coded-alert/m-p/189923#M11810</guid>
      <dc:creator>nfilippi_splunk</dc:creator>
      <dc:date>2014-10-31T16:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: Does anyone have sample XML code to show color coded alert statuses based on a specific count in a dashboard panel?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Does-anyone-have-sample-XML-code-to-show-color-coded-alert/m-p/189924#M11811</link>
      <description>&lt;P&gt;Hi @Somesoni2, thanks for your reply. But in my case I need to hide count and source type details in front. Just for One value[which should run in background] and I need to show the color alone in front end.  Like text as GREEN,RED[or X symbol] ,YELLOW&lt;/P&gt;

&lt;P&gt;Please see the attachment:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://C:%5CUsers%5C149763%5CDesktop%5CAlert+status.jpg"&gt;http://C:\Users\149763\Desktop\Alert+status.jpg&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Nov 2014 07:37:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Does-anyone-have-sample-XML-code-to-show-color-coded-alert/m-p/189924#M11811</guid>
      <dc:creator>Bhuavana</dc:creator>
      <dc:date>2014-11-04T07:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: Does anyone have sample XML code to show color coded alert statuses based on a specific count in a dashboard panel?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Does-anyone-have-sample-XML-code-to-show-color-coded-alert/m-p/189925#M11812</link>
      <description>&lt;P&gt;thnx for your reply&lt;/P&gt;</description>
      <pubDate>Tue, 04 Nov 2014 07:38:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Does-anyone-have-sample-XML-code-to-show-color-coded-alert/m-p/189925#M11812</guid>
      <dc:creator>Bhuavana</dc:creator>
      <dc:date>2014-11-04T07:38:56Z</dc:date>
    </item>
  </channel>
</rss>

