<?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 Custom Dashboard Help in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Custom-Dashboard-Help/m-p/740736#M58329</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need some help adding colour to my dashboard. I've got the below block sitting on my high level dashboard view, but I want it to change colour (Red or Green) dependent on the values of the underlying dashboard that it clicks through to which I will share below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sufs2000_3-1741086945524.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/37969iDA57887972DB43F3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sufs2000_3-1741086945524.png" alt="sufs2000_3-1741086945524.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is the dashboard it displays below when you click on the above...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sufs2000_4-1741087093072.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/37973i337AB8351361D311/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sufs2000_4-1741087093072.png" alt="sufs2000_4-1741087093072.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is there some way, that if any of these 5 boxes do not display "OK", then the top level block (EazyBI) will change to Red? Can anyone help me with that?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Mar 2025 11:22:30 GMT</pubDate>
    <dc:creator>sufs2000</dc:creator>
    <dc:date>2025-03-04T11:22:30Z</dc:date>
    <item>
      <title>Custom Dashboard Help</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Custom-Dashboard-Help/m-p/740736#M58329</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need some help adding colour to my dashboard. I've got the below block sitting on my high level dashboard view, but I want it to change colour (Red or Green) dependent on the values of the underlying dashboard that it clicks through to which I will share below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sufs2000_3-1741086945524.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/37969iDA57887972DB43F3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sufs2000_3-1741086945524.png" alt="sufs2000_3-1741086945524.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is the dashboard it displays below when you click on the above...&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sufs2000_4-1741087093072.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/37973i337AB8351361D311/image-size/medium?v=v2&amp;amp;px=400" role="button" title="sufs2000_4-1741087093072.png" alt="sufs2000_4-1741087093072.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Is there some way, that if any of these 5 boxes do not display "OK", then the top level block (EazyBI) will change to Red? Can anyone help me with that?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 11:22:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Custom-Dashboard-Help/m-p/740736#M58329</guid>
      <dc:creator>sufs2000</dc:creator>
      <dc:date>2025-03-04T11:22:30Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Dashboard Help</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Custom-Dashboard-Help/m-p/740767#M58334</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/308200"&gt;@sufs2000&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a look at the image below, does this help you work out the settings required to have colour dependant on the value?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="livehybrid_0-1741097365280.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/37981i410DB8D263A4594B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="livehybrid_0-1741097365280.png" alt="livehybrid_0-1741097365280.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know how you get on and consider adding karma to this or any other answer if it has helped.&lt;BR /&gt;Regards&lt;/P&gt;&lt;P&gt;Will&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 14:09:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Custom-Dashboard-Help/m-p/740767#M58334</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-03-04T14:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Dashboard Help</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Custom-Dashboard-Help/m-p/740900#M58341</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/170906"&gt;@livehybrid&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for sharing the below. I see that's how you add colour, but how does that link to the underlying dashboard? If I add the colour to the "EazyBI" block, how would it know to change colour dependent on the values on the underlying dashboard? I'm struggling with making the connection between the top level and the underlying dashboard.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2025 09:24:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Custom-Dashboard-Help/m-p/740900#M58341</guid>
      <dc:creator>sufs2000</dc:creator>
      <dc:date>2025-03-05T09:24:11Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Dashboard Help</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Custom-Dashboard-Help/m-p/740920#M58342</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/308200"&gt;@sufs2000&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I see, sorry I misread the first question. In that case I think you would need to use a search which will determine if either of the lower-level dashboard entities are not "OK" , are you comfortable creating this search?&lt;/P&gt;&lt;P&gt;Ive used the following for the example shown below&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults 
| eval statusesStr="[{\"hostname\": \"host-23\", \"status\": \"OK\"}, {\"hostname\": \"host-87\", \"status\": \"NotOK\"}, {\"hostname\": \"host-45\", \"status\": \"OK\"}]"
| eval statuses=json_array_to_mv(statusesStr)
| mvexpand statuses
| eval _raw=statuses
| fields _raw
| spath
``` end of data setup ```
| eval isBad=IF(status!="OK",1,0)
| stats sum(isBad) as isBad&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ultimately using an IF to determine if its bad (and set value to 1) then sum up the isBad field to get a single value for if there is an issue (&amp;gt;=1)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval isBad=IF(status!="OK",1,0)
| stats sum(isBad) as isBad&lt;/LI-CODE&gt;&lt;P&gt;Once that is done you can apply the same type of logic (see below)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="livehybrid_0-1741177625364.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/38018iE1077DED870801A6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="livehybrid_0-1741177625364.png" alt="livehybrid_0-1741177625364.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please let me know how you get on and consider adding karma to this or any other answer if it has helped.&lt;BR /&gt;Regards&lt;/P&gt;&lt;P&gt;Will&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2025 12:28:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Custom-Dashboard-Help/m-p/740920#M58342</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-03-05T12:28:39Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Dashboard Help</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Custom-Dashboard-Help/m-p/740930#M58343</link>
      <description>&lt;P&gt;Thanks for the suggestion. I have no idea how to create the search, I am very much a novice when it comes to SPLUNK. So is the search you're suggesting to be applied to the top level block or on the lower level dashboard? I'm not sure where I need to add it? So for example if I add the search on the top level, how does it know to go to the underlying dashboard to retrieve the isBad value? Or is the isBad value stored on the lower level dashboard and the top level is searching for the isBad value on the dashboard?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Mar 2025 13:57:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Custom-Dashboard-Help/m-p/740930#M58343</guid>
      <dc:creator>sufs2000</dc:creator>
      <dc:date>2025-03-05T13:57:17Z</dc:date>
    </item>
  </channel>
</rss>

