<?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: Adding different colours to each panel in a dashboard-  Splunk Cloud in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Adding-different-colours-to-each-panel-in-a-dashboard-Splunk/m-p/520587#M35032</link>
    <description>&lt;P&gt;This sort of thing has been answered many times. Essentially, you give your panels an id and then add a css style associated with that id.&lt;/P&gt;</description>
    <pubDate>Mon, 21 Sep 2020 11:13:56 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2020-09-21T11:13:56Z</dc:date>
    <item>
      <title>Adding different colours to each panel in a dashboard-  Splunk Cloud</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Adding-different-colours-to-each-panel-in-a-dashboard-Splunk/m-p/520585#M35031</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I wanted to add colours to the dashboard panel. Please find below the dashboard code and screenshot. There are hyperlinks in each panel and I need to add colors to the background of each panel. Any help would be appreciated. Adding the dashboard code also below.&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/201110"&gt;@niketn&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="dkgs_0-1600685727461.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/10908iFBDA02B6005660DF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="dkgs_0-1600685727461.png" alt="dkgs_0-1600685727461.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;dashboard stylesheet="layout.css" theme="light"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;label&amp;gt;Test-Landing dashboard &amp;lt;/label&amp;gt;&lt;BR /&gt;&amp;lt;description&amp;gt;Links to all other dashboards&amp;lt;/description&amp;gt;&lt;BR /&gt;&amp;lt;row&amp;gt;&lt;BR /&gt;&amp;lt;panel depends="$alwaysHideHTMLStyle$"&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;html&amp;gt;&lt;BR /&gt;&amp;lt;style&amp;gt;&lt;/P&gt;&lt;P&gt;body{margin-bottom: 150px;background: #FFDAB9!important;}&lt;/P&gt;&lt;P&gt;.dashboard-body{background-color:#FFDAB9!important; font-weight:bold!important}&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;lt;/style&amp;gt;&lt;BR /&gt;&amp;lt;p&amp;gt;&lt;BR /&gt;&amp;lt;center&amp;gt;&amp;lt;a href="&lt;A href="https://abc.splunkcloud.com/en-GB/app/project_base-Server/30min_block" target="_blank"&gt;https://abc.splunkcloud.com/en-GB/app/project_base-Server/30min_block&lt;/A&gt;" style="color:black;" alignment="central"&amp;gt;30 MIN BLOCK&amp;lt;/a&amp;gt;&amp;lt;/center&amp;gt;&lt;BR /&gt;&amp;lt;/p&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;BR /&gt;&amp;lt;/panel&amp;gt;&lt;BR /&gt;&amp;lt;panel&amp;gt;&lt;BR /&gt;&amp;lt;html&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;p&amp;gt;&lt;BR /&gt;&amp;lt;center&amp;gt;&amp;lt;a href="&lt;A href="https://abc.splunkcloud.com/en-GB/app/project_base-Server/high_disk_" target="_blank"&gt;https://abc.splunkcloud.com/en-GB/app/project_base-Server/high_disk_&lt;/A&gt;" style="color:black;"&amp;gt;High Disk %&amp;lt;/a&amp;gt;&amp;lt;/center&amp;gt;&lt;BR /&gt;&amp;lt;/p&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;BR /&gt;&amp;lt;/panel&amp;gt;&lt;BR /&gt;&amp;lt;panel&amp;gt;&lt;BR /&gt;&amp;lt;html&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;p&amp;gt;&lt;BR /&gt;&amp;lt;center&amp;gt;&amp;lt;a href="&lt;A href="https://abc.splunkcloud.com/en-GB/app/project_base-Server/cpu_utilization_ae6hg218" target="_blank"&gt;https://abc.splunkcloud.com/en-GB/app/project_base-Server/cpu_utilization_ae6hg218&lt;/A&gt;" style="color:black;"&amp;gt;CPU Utilization AE6HG218&amp;lt;/a&amp;gt;&amp;lt;/center&amp;gt;&lt;BR /&gt;&amp;lt;/p&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;BR /&gt;&amp;lt;/panel&amp;gt;&lt;BR /&gt;&amp;lt;panel&amp;gt;&lt;BR /&gt;&amp;lt;html&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;p&amp;gt;&lt;BR /&gt;&amp;lt;center&amp;gt;&amp;lt;a href="&lt;A href="https://abc.splunkcloud.com/en-GB/app/project_base-Server/30min_block" target="_blank"&gt;https://abc.splunkcloud.com/en-GB/app/project_base-Server/30min_block&lt;/A&gt;" style="color:black;"&amp;gt;Server - Dashboard&amp;lt;/a&amp;gt;&amp;lt;/center&amp;gt;&lt;BR /&gt;&amp;lt;/p&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;BR /&gt;&amp;lt;/panel&amp;gt;&lt;BR /&gt;&amp;lt;panel&amp;gt;&lt;BR /&gt;&amp;lt;html&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;p&amp;gt;&lt;BR /&gt;&amp;lt;center&amp;gt;&amp;lt;a href="&lt;A href="https://abc.splunkcloud.com/en-GB/app/project_base-Server/sql_agent_not_running_in_Server_servers" target="_blank"&gt;https://abc.splunkcloud.com/en-GB/app/project_base-Server/sql_agent_not_running_in_Server_servers&lt;/A&gt;" style="color:black;"&amp;gt;SQL Agent Not Running in Server Servers&amp;lt;/a&amp;gt;&amp;lt;/center&amp;gt;&lt;BR /&gt;&amp;lt;/p&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;BR /&gt;&amp;lt;/panel&amp;gt;&lt;BR /&gt;&amp;lt;/row&amp;gt;&lt;BR /&gt;&amp;lt;row&amp;gt;&lt;BR /&gt;&amp;lt;panel&amp;gt;&lt;BR /&gt;&amp;lt;html&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;p&amp;gt;&lt;BR /&gt;&amp;lt;center&amp;gt;&amp;lt;a href="&lt;A href="https://abc.splunkcloud.com/en-GB/app/project_base-Server/high_cpu" target="_blank"&gt;https://abc.splunkcloud.com/en-GB/app/project_base-Server/high_cpu&lt;/A&gt;" style="color:black;"&amp;gt;High CPU&amp;lt;/a&amp;gt;&amp;lt;/center&amp;gt;&lt;BR /&gt;&amp;lt;/p&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;BR /&gt;&amp;lt;/panel&amp;gt;&lt;BR /&gt;&amp;lt;panel&amp;gt;&lt;BR /&gt;&amp;lt;html&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;p&amp;gt;&lt;BR /&gt;&amp;lt;center&amp;gt;&amp;lt;a href="&lt;A href="https://abc.splunkcloud.com/en-GB/app/project_base-Server/sql_serv_not_running" target="_blank"&gt;https://abc.splunkcloud.com/en-GB/app/project_base-Server/sql_serv_not_running&lt;/A&gt;" style="color:black;"&amp;gt;SQL Serv Not Running&amp;lt;/a&amp;gt;&amp;lt;/center&amp;gt;&lt;BR /&gt;&amp;lt;/p&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;BR /&gt;&amp;lt;/panel&amp;gt;&lt;BR /&gt;&amp;lt;panel&amp;gt;&lt;BR /&gt;&amp;lt;html&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;p&amp;gt;&lt;BR /&gt;&amp;lt;center&amp;gt;&amp;lt;a href="&lt;A href="https://abc.splunkcloud.com/en-GB/app/project_base-Server/sql_server_cpu_usage" target="_blank"&gt;https://abc.splunkcloud.com/en-GB/app/project_base-Server/sql_server_cpu_usage&lt;/A&gt;" style="color:black;"&amp;gt;SQL Server CPU UsageK&amp;lt;/a&amp;gt;&amp;lt;/center&amp;gt;&lt;BR /&gt;&amp;lt;/p&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;BR /&gt;&amp;lt;/panel&amp;gt;&lt;BR /&gt;&amp;lt;panel&amp;gt;&lt;BR /&gt;&amp;lt;html&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;p&amp;gt;&lt;BR /&gt;&amp;lt;center&amp;gt;&amp;lt;a href="&lt;A href="https://abc.splunkcloud.com/en-GB/app/project_base-Server/job_fail" target="_blank"&gt;https://abc.splunkcloud.com/en-GB/app/project_base-Server/job_fail&lt;/A&gt;" style="color:black;"&amp;gt;JOB FAIL&amp;lt;/a&amp;gt;&amp;lt;/center&amp;gt;&lt;BR /&gt;&amp;lt;/p&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;BR /&gt;&amp;lt;/panel&amp;gt;&lt;BR /&gt;&amp;lt;panel&amp;gt;&lt;BR /&gt;&amp;lt;html&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;p&amp;gt;&lt;BR /&gt;&amp;lt;center&amp;gt;&amp;lt;a href="&lt;A href="https://abc.splunkcloud.com/en-GB/app/project_base-Server/long_tran" target="_blank"&gt;https://abc.splunkcloud.com/en-GB/app/project_base-Server/long_tran&lt;/A&gt;" style="color:black;"&amp;gt;LONG TRAN&amp;lt;/a&amp;gt;&amp;lt;/center&amp;gt;&lt;BR /&gt;&amp;lt;/p&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;BR /&gt;&amp;lt;/panel&amp;gt;&lt;BR /&gt;&amp;lt;/row&amp;gt;&lt;BR /&gt;&amp;lt;/dashboard&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 10:57:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Adding-different-colours-to-each-panel-in-a-dashboard-Splunk/m-p/520585#M35031</guid>
      <dc:creator>dkgs</dc:creator>
      <dc:date>2020-09-21T10:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: Adding different colours to each panel in a dashboard-  Splunk Cloud</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Adding-different-colours-to-each-panel-in-a-dashboard-Splunk/m-p/520587#M35032</link>
      <description>&lt;P&gt;This sort of thing has been answered many times. Essentially, you give your panels an id and then add a css style associated with that id.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Sep 2020 11:13:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Adding-different-colours-to-each-panel-in-a-dashboard-Splunk/m-p/520587#M35032</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2020-09-21T11:13:56Z</dc:date>
    </item>
    <item>
      <title>Re: Adding different colours to each panel in a dashboard-  Splunk Cloud</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Adding-different-colours-to-each-panel-in-a-dashboard-Splunk/m-p/520612#M35034</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/223876"&gt;@dkgs&lt;/a&gt;&amp;nbsp;, whatever&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;said.&lt;/P&gt;&lt;P&gt;Since all panels that you want to apply CSS to are html panels, you would need following CSS selector&amp;nbsp;&lt;STRONG&gt;div#yourPanelID .panel-body.html&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Following is a sample CSS (I have grouped 2 panels for same background color, you can change as per your needs).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screen Shot 2020-09-21 at 6.31.38 PM.png" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/10910i4FEAA8C48F79A9CA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2020-09-21 at 6.31.38 PM.png" alt="Screen Shot 2020-09-21 at 6.31.38 PM.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;                  div#panel1 .panel-body.html,
                  div#panel6 .panel-body.html{
                    background: #003D5E !important;
                  }
                  div#panel2 .panel-body.html,
                  div#panel7 .panel-body.html{
                    background: #005684 !important;
                  }
                  div#panel3 .panel-body.html,
                  div#panel8 .panel-body.html{
                    background: #006EAA !important;
                  }
                  div#panel4 .panel-body.html,
                  div#panel9 .panel-body.html{
                    background: #00A4FD !important;
                  }
                  div#panel5 .panel-body.html,
                  div#panel10 .panel-body.html{
                    background: #7ED2FF !important;
                  }&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 21 Sep 2020 13:04:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Adding-different-colours-to-each-panel-in-a-dashboard-Splunk/m-p/520612#M35034</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2020-09-21T13:04:16Z</dc:date>
    </item>
  </channel>
</rss>

