<?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: Can we have any background image on a line chart in Splunk? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-have-any-background-image-on-a-line-chart-in-Splunk/m-p/378304#M24748</link>
    <description>&lt;P&gt;Hi, I have one question, in  &lt;STRONG&gt;background-image: url ("/static/app/search/bg.jpg");&lt;/STRONG&gt;&lt;BR /&gt;
which URL i am supposed to put?&lt;BR /&gt;
path: C:\Program Files\Splunk\etc\apps\aapname\appserver\static\images&lt;BR /&gt;
this is my path. &lt;BR /&gt;
when i put the image in above mentioned path and use the same in xml its not reflecting....can you help me out?&lt;/P&gt;</description>
    <pubDate>Tue, 12 Mar 2019 08:50:03 GMT</pubDate>
    <dc:creator>preacher_15</dc:creator>
    <dc:date>2019-03-12T08:50:03Z</dc:date>
    <item>
      <title>Can we have any background image on a line chart in Splunk?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-have-any-background-image-on-a-line-chart-in-Splunk/m-p/378299#M24743</link>
      <description>&lt;P&gt;Can we have any background image on a line chart in Splunk? Like I will have my line chart, which does its job (with a plain background image); But, I want to have a different image (not background color alone) altogether, and I want to display my line chart on top of it, instead of that plain background image. &lt;/P&gt;

&lt;P&gt;Please suggest.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 10 Feb 2019 23:49:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-have-any-background-image-on-a-line-chart-in-Splunk/m-p/378299#M24743</guid>
      <dc:creator>nadlurinadluri</dc:creator>
      <dc:date>2019-02-10T23:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Can we have any background image on a line chart in Splunk?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-have-any-background-image-on-a-line-chart-in-Splunk/m-p/378300#M24744</link>
      <description>&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/330361/how-to-apply-custom-css-to-a-dashboard.html"&gt;https://answers.splunk.com/answers/330361/how-to-apply-custom-css-to-a-dashboard.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://dev.splunk.com/view/webframework-developapps/SP-CAAAEQA"&gt;http://dev.splunk.com/view/webframework-developapps/SP-CAAAEQA&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Do either of those help?  I think you need custom css.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 03:07:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-have-any-background-image-on-a-line-chart-in-Splunk/m-p/378300#M24744</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2019-02-11T03:07:17Z</dc:date>
    </item>
    <item>
      <title>Re: Can we have any background image on a line chart in Splunk?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-have-any-background-image-on-a-line-chart-in-Splunk/m-p/378301#M24745</link>
      <description>&lt;P&gt;Hi @nadlurinadluri&lt;/P&gt;

&lt;P&gt;Try this and let me know&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;chart background&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;html&amp;gt;
        &amp;lt;style&amp;gt;
           #test{
            background-image: url("/static/app/search/bg.jpg");
          }
         #test rect {
          fill:none;
          }

        &amp;lt;/style&amp;gt;
      &amp;lt;/html&amp;gt;
      &amp;lt;chart id="test"&amp;gt;
        &amp;lt;title&amp;gt;Test Image background&amp;lt;/title&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=_internal | timechart  count&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="charting.chart"&amp;gt;line&amp;lt;/option&amp;gt;
        &amp;lt;option name="charting.drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
      &amp;lt;/chart&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;IMG src="https://i.ibb.co/wwPbQrG/background.png" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 04:00:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-have-any-background-image-on-a-line-chart-in-Splunk/m-p/378301#M24745</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-02-11T04:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can we have any background image on a line chart in Splunk?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-have-any-background-image-on-a-line-chart-in-Splunk/m-p/378302#M24746</link>
      <description>&lt;P&gt;Thanks for the answer. It certainly worked.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Feb 2019 20:00:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-have-any-background-image-on-a-line-chart-in-Splunk/m-p/378302#M24746</guid>
      <dc:creator>nadlurinadluri</dc:creator>
      <dc:date>2019-02-11T20:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: Can we have any background image on a line chart in Splunk?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-have-any-background-image-on-a-line-chart-in-Splunk/m-p/378303#M24747</link>
      <description>&lt;P&gt;Welcome &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 02:34:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-have-any-background-image-on-a-line-chart-in-Splunk/m-p/378303#M24747</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-02-12T02:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can we have any background image on a line chart in Splunk?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-have-any-background-image-on-a-line-chart-in-Splunk/m-p/378304#M24748</link>
      <description>&lt;P&gt;Hi, I have one question, in  &lt;STRONG&gt;background-image: url ("/static/app/search/bg.jpg");&lt;/STRONG&gt;&lt;BR /&gt;
which URL i am supposed to put?&lt;BR /&gt;
path: C:\Program Files\Splunk\etc\apps\aapname\appserver\static\images&lt;BR /&gt;
this is my path. &lt;BR /&gt;
when i put the image in above mentioned path and use the same in xml its not reflecting....can you help me out?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 08:50:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-have-any-background-image-on-a-line-chart-in-Splunk/m-p/378304#M24748</guid>
      <dc:creator>preacher_15</dc:creator>
      <dc:date>2019-03-12T08:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Can we have any background image on a line chart in Splunk?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-have-any-background-image-on-a-line-chart-in-Splunk/m-p/378305#M24749</link>
      <description>&lt;P&gt;Hi @preacher_15&lt;/P&gt;

&lt;P&gt;I had image in appserver/static folder&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 08:53:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-have-any-background-image-on-a-line-chart-in-Splunk/m-p/378305#M24749</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-03-12T08:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can we have any background image on a line chart in Splunk?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-have-any-background-image-on-a-line-chart-in-Splunk/m-p/378306#M24750</link>
      <description>&lt;P&gt;under search app&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2019 08:53:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-have-any-background-image-on-a-line-chart-in-Splunk/m-p/378306#M24750</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-03-12T08:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: Can we have any background image on a line chart in Splunk?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-have-any-background-image-on-a-line-chart-in-Splunk/m-p/378307#M24751</link>
      <description>&lt;P&gt;I am still not able to get it....i have a placed an image under  C:\Program Files\Splunk\etc\apps\aapname\appserver\static and copied the same url in xml.....what am i missing here?&lt;BR /&gt;
and one more thing in your case if search is the app why have you put it inside the static folder? shouldn't it be something like     app\search(appname)\static\image?&lt;BR /&gt;
I am still a novice in splunk...so please help.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 03:38:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-have-any-background-image-on-a-line-chart-in-Splunk/m-p/378307#M24751</guid>
      <dc:creator>preacher_15</dc:creator>
      <dc:date>2019-03-13T03:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: Can we have any background image on a line chart in Splunk?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-have-any-background-image-on-a-line-chart-in-Splunk/m-p/378308#M24752</link>
      <description>&lt;P&gt;Hi @preacher_15&lt;/P&gt;

&lt;P&gt;Try the following&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;html&amp;gt;
         &amp;lt;style&amp;gt;
            #test{
             background-image: url("/static/app/test/img/yoga-1805784_1280.png");
           }
          #test rect {
           fill:none;
           }

         &amp;lt;/style&amp;gt;
       &amp;lt;/html&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Here &lt;CODE&gt;test&lt;/CODE&gt; is the app and I had created img folder under &lt;CODE&gt;/opt/splunk/etc/apps/test/appserver/static/img/&lt;/CODE&gt;  &lt;/P&gt;

&lt;P&gt;check the url for the folder structures&lt;/P&gt;

&lt;P&gt;&lt;A href="http://dev.splunk.com/view/webframework-developapps/SP-CAAAEUC"&gt;http://dev.splunk.com/view/webframework-developapps/SP-CAAAEUC&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 04:08:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-have-any-background-image-on-a-line-chart-in-Splunk/m-p/378308#M24752</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-03-13T04:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: Can we have any background image on a line chart in Splunk?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-have-any-background-image-on-a-line-chart-in-Splunk/m-p/378309#M24753</link>
      <description>&lt;P&gt;Hi @vnravikumar &lt;BR /&gt;
I tried doing the way you told but no luck &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;
Anyways thank you very much for the help.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 05:37:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-have-any-background-image-on-a-line-chart-in-Splunk/m-p/378309#M24753</guid>
      <dc:creator>preacher_15</dc:creator>
      <dc:date>2019-03-13T05:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: Can we have any background image on a line chart in Splunk?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-have-any-background-image-on-a-line-chart-in-Splunk/m-p/378310#M24754</link>
      <description>&lt;P&gt;Hi @preacher_15&lt;/P&gt;

&lt;P&gt;Can you please inspect the corresponding div with the browser, to know whether the path is substituted correctly for the image.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 08:24:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-have-any-background-image-on-a-line-chart-in-Splunk/m-p/378310#M24754</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-03-13T08:24:35Z</dc:date>
    </item>
    <item>
      <title>Re: Can we have any background image on a line chart in Splunk?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-have-any-background-image-on-a-line-chart-in-Splunk/m-p/378311#M24755</link>
      <description>&lt;P&gt;Hi @vnravikumar i did as you told..&lt;BR /&gt;
&lt;STRONG&gt;Failed to load resource: the server responded with a status of 404 (Not Found)&lt;/STRONG&gt;&lt;BR /&gt;
this is the error its showing.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 04:42:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-have-any-background-image-on-a-line-chart-in-Splunk/m-p/378311#M24755</guid>
      <dc:creator>preacher_15</dc:creator>
      <dc:date>2019-03-14T04:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: Can we have any background image on a line chart in Splunk?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-have-any-background-image-on-a-line-chart-in-Splunk/m-p/378312#M24756</link>
      <description>&lt;P&gt;@preacher_15 if the following location is where you have static image: &lt;CODE&gt;C:\Program Files\Splunk\etc\apps\aapname\appserver\static\images&lt;/CODE&gt; you should try out &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; background-image: url("/static/app/aapname/images/&amp;lt;yourImageFileName&amp;gt;.png");
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You can also test the static file whether it is loaded successfully or not (since static files need bump, refresh or restart of Splunk along with Internet Browser history cleanup). Typing the following in the browser URL should ideally open the image file if the same has loaded successfully.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&lt;A href="http://&amp;lt;yourSplunkServer&amp;gt;/en-US/static/app/&amp;lt;yourAppName&amp;gt;/images/&amp;lt;yourFileName.png&amp;gt;" target="test_blank"&gt;http://&amp;lt;yourSplunkServer&amp;gt;/en-US/static/app/&amp;lt;yourAppName&amp;gt;/images/&amp;lt;yourFileName.png&amp;gt;&lt;/A&gt;;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;When any image does not load and you get 404 error, you can always click on the Browser's console log error and expand to the the resolved URL path in the browser. If it is navigating to incorrect path you would need to correct the same.&lt;BR /&gt;
Refer to one of my older answers: &lt;A href="https://answers.splunk.com/answers/552333/how-do-i-add-a-picture-to-my-dashboard-v-66.html"&gt;https://answers.splunk.com/answers/552333/how-do-i-add-a-picture-to-my-dashboard-v-66.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 05:14:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-have-any-background-image-on-a-line-chart-in-Splunk/m-p/378312#M24756</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-03-14T05:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Can we have any background image on a line chart in Splunk?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-have-any-background-image-on-a-line-chart-in-Splunk/m-p/378313#M24757</link>
      <description>&lt;P&gt;thank you.. it worked.  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Mar 2019 05:41:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-have-any-background-image-on-a-line-chart-in-Splunk/m-p/378313#M24757</guid>
      <dc:creator>preacher_15</dc:creator>
      <dc:date>2019-03-14T05:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Can we have any background image on a line chart in Splunk?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-have-any-background-image-on-a-line-chart-in-Splunk/m-p/556685#M38701</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;how do I implement this as simple as possible&amp;nbsp; in Version:7.3.5, seems not working as per above example, I have tried to play around with no avail. Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2021 13:20:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Can-we-have-any-background-image-on-a-line-chart-in-Splunk/m-p/556685#M38701</guid>
      <dc:creator>Bart</dc:creator>
      <dc:date>2021-06-22T13:20:08Z</dc:date>
    </item>
  </channel>
</rss>

