<?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: How to set a background image in html dashboard? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-a-background-image-in-html-dashboard/m-p/427700#M28192</link>
    <description>&lt;P&gt;Hi dcondliffe,&lt;BR /&gt;
did you tried to modify CSS?&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
    <pubDate>Tue, 18 Jun 2019 07:34:52 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2019-06-18T07:34:52Z</dc:date>
    <item>
      <title>How to set a background image in html dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-a-background-image-in-html-dashboard/m-p/427695#M28187</link>
      <description>&lt;P&gt;I just converted my simple XML dashboard to HTML, I want to jazz it up a little bit. &lt;BR /&gt;
So I want to add a background image to the whole dashboard, not just a panel.&lt;BR /&gt;
I know how it should work, but adding the background image stanza to the in the HTML dashboard did not work. &lt;BR /&gt;
I have tried a couple of other places but can't seem to get it to work.&lt;/P&gt;

&lt;P&gt;Any help would be greatly appreciated.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2019 19:19:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-a-background-image-in-html-dashboard/m-p/427695#M28187</guid>
      <dc:creator>dcondliffe</dc:creator>
      <dc:date>2019-06-17T19:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a background image in html dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-a-background-image-in-html-dashboard/m-p/427696#M28188</link>
      <description>&lt;P&gt;Hello @dcondliffe,&lt;BR /&gt;
I noticed your question seems to be unfinished, could you give us some more context for your query? You have a much better chance of getting your question answered if you provide more information about your issue. Plus, it will help guide future community users who are facing a similar problem.  Thank you!!&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2019 20:36:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-a-background-image-in-html-dashboard/m-p/427696#M28188</guid>
      <dc:creator>evania</dc:creator>
      <dc:date>2019-06-17T20:36:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a background image in html dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-a-background-image-in-html-dashboard/m-p/427697#M28189</link>
      <description>&lt;P&gt;I did finish the sentence when i was posting, not sure what went wrong... anyway to finish the explanation...... but adding the background image stanza to the  in the html dashboard did not work. I have tried a couple of other places but cant seem to get it to work.&lt;/P&gt;

&lt;P&gt;Any help would be greatly appreciated...&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2019 20:47:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-a-background-image-in-html-dashboard/m-p/427697#M28189</guid>
      <dc:creator>dcondliffe</dc:creator>
      <dc:date>2019-06-17T20:47:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a background image in html dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-a-background-image-in-html-dashboard/m-p/427698#M28190</link>
      <description>&lt;P&gt;@dcondliffe Thank you! I've just updated your question.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2019 20:53:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-a-background-image-in-html-dashboard/m-p/427698#M28190</guid>
      <dc:creator>evania</dc:creator>
      <dc:date>2019-06-17T20:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a background image in html dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-a-background-image-in-html-dashboard/m-p/427699#M28191</link>
      <description>&lt;P&gt;was trying another variation, and now the image seems to be loading, but I cant see it because of the panels .... does anyone have any ideas on how I make the panels transparent...&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2019 20:56:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-a-background-image-in-html-dashboard/m-p/427699#M28191</guid>
      <dc:creator>dcondliffe</dc:creator>
      <dc:date>2019-06-17T20:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a background image in html dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-a-background-image-in-html-dashboard/m-p/427700#M28192</link>
      <description>&lt;P&gt;Hi dcondliffe,&lt;BR /&gt;
did you tried to modify CSS?&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2019 07:34:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-a-background-image-in-html-dashboard/m-p/427700#M28192</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2019-06-18T07:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a background image in html dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-a-background-image-in-html-dashboard/m-p/427701#M28193</link>
      <description>&lt;P&gt;You can try to use CSS for this&lt;/P&gt;

&lt;P&gt;there is already an attribute given called: &lt;EM&gt;background-image&lt;/EM&gt; for this.&lt;/P&gt;

&lt;P&gt;Also if you want o make a panel transparent, you can play with the attribute &lt;EM&gt;opacity&lt;/EM&gt; (you can set the value to about .5 to .6 to get a good balance)&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2019 09:41:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-a-background-image-in-html-dashboard/m-p/427701#M28193</guid>
      <dc:creator>pramit46</dc:creator>
      <dc:date>2019-06-18T09:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a background image in html dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-a-background-image-in-html-dashboard/m-p/427702#M28194</link>
      <description>&lt;P&gt;@dcondliffe you can &lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Option 1&lt;/STRONG&gt;) Upload the CSS file to your Splunk App's appserver/static folder and then refer the same in your Splunk dashboard using:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;link rel="stylesheet" type="text/css" media="all" href="{{SPLUNKWEB_URL_PREFIX}}/static/app/&amp;lt;yourSplunkAppName&amp;gt;/&amp;lt;yourCSSFileName&amp;gt;css" /&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Following is an example where app name is search and css file is dashboard.css:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;link rel="stylesheet" type="text/css" media="all" href="{{SPLUNKWEB_URL_PREFIX}}/static/app/search/dashboard.css" /&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;In the CSS file have the following code (PS: you can have image also uploaded to app's static folder and just refer the image):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;                        .dashboard-body{
                            background-image: url('/static/app/&amp;lt;yourAppName&amp;gt;/&amp;lt;yourImageNameAndType&amp;gt;');
                        }
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;PS: Following example I have used http URL to make the dashboard with a run anywhere example.&lt;BR /&gt;
&lt;STRONG&gt;Option 2&lt;/STRONG&gt;) If you want background image to be applied to all the dashboards in your app, you can add above code in &lt;CODE&gt;dashboard.css&lt;/CODE&gt; file.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Option 3&lt;/STRONG&gt;) Add the following code to an html panel which will always be hidden to apply In-Page CSS &lt;CODE&gt;&amp;lt;style&amp;gt;&lt;/CODE&gt;.&lt;BR /&gt;
PS: Replace the Web URL with static image path as described above.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;div id="row_html_css_style" class="dashboard-row dashboard-row1" data-depends="$alwaysHideCSSStyle$"&amp;gt;
    &amp;lt;div id="panel_css_style" class="dashboard-cell" style="width: 100%;"&amp;gt;
        &amp;lt;div class="dashboard-panel clearfix"&amp;gt;

            &amp;lt;div class="panel-element-row"&amp;gt;
                &amp;lt;div id="element1" class="dashboard-element html" style="width: 100%"&amp;gt;
                    &amp;lt;div class="panel-body html"&amp;gt;
                      &amp;lt;style&amp;gt;
                        .dashboard-body{
                            background-image: url(https://image.freepik.com/free-vector/brick-wall-realistic_1284-4683.jpg);
                        }
                      &amp;lt;/style&amp;gt;
                    &amp;lt;/div&amp;gt;
                &amp;lt;/div&amp;gt;
            &amp;lt;/div&amp;gt;
        &amp;lt;/div&amp;gt;
    &amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 18 Jun 2019 17:12:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-a-background-image-in-html-dashboard/m-p/427702#M28194</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-06-18T17:12:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a background image in html dashboard?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-a-background-image-in-html-dashboard/m-p/427703#M28195</link>
      <description>&lt;P&gt;that worked fantastic ... thanks very much...&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jun 2019 14:22:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-set-a-background-image-in-html-dashboard/m-p/427703#M28195</guid>
      <dc:creator>dcondliffe</dc:creator>
      <dc:date>2019-06-19T14:22:58Z</dc:date>
    </item>
  </channel>
</rss>

