<?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: I can't Overlay an Image Like Splunk Dashboard Sample in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/I-can-t-Overlay-an-Image-Like-Splunk-Dashboard-Sample/m-p/523338#M35380</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/211534"&gt;@danielgp89&lt;/a&gt;&amp;nbsp;as suggested even browser history needs to be cleaned up. If you are in your dev instance you can remove caching features for faster static file changes (not for production environments). Refer to Splunk Documentation for web.conf config:&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/AdvancedDev/CustomVizTutorial" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/AdvancedDev/CustomVizTutorial&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do accept/up vote the answer if it helped!&lt;/P&gt;</description>
    <pubDate>Wed, 07 Oct 2020 03:22:07 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2020-10-07T03:22:07Z</dc:date>
    <item>
      <title>I can't Overlay an Image Like Splunk Dashboard Sample</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/I-can-t-Overlay-an-Image-Like-Splunk-Dashboard-Sample/m-p/521885#M35193</link>
      <description>&lt;P&gt;It's been a very very long time since I want to accomplish this goal.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to set an image in to my dashboard like the Image Overlay Dashboard Sample.&lt;/P&gt;&lt;P&gt;I already created a new app and created the appserver/static folders&lt;/P&gt;&lt;P&gt;But I have a few questions that the Dashboard Sample doesn´t say.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.- In which path do I put the .css file?&lt;/P&gt;&lt;P&gt;2.- In which path do I put the image?&lt;/P&gt;&lt;P&gt;3.- Does the image only can be in png format or can be in jpg&lt;/P&gt;&lt;P&gt;4.- In the .css file which is the exact way to target the image path? Example: the path where is the image is:&lt;/P&gt;&lt;P&gt;apps\app_name\appserver\static\image.png&lt;/P&gt;&lt;P&gt;in the ccs file is defined like this:&lt;/P&gt;&lt;P&gt;image_overlay_panel .image{&lt;BR /&gt;background: transparent 50% 50% no-repeat url('C:\Program Files\Splunk\etc\apps\app_name\appserver\static\image.png');&lt;BR /&gt;position:absolute;&lt;BR /&gt;top: 0px;&lt;BR /&gt;left: 0px;&lt;BR /&gt;width: inherit;&lt;BR /&gt;height: inherit;&lt;/P&gt;&lt;P&gt;Can you help me please&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 20:41:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/I-can-t-Overlay-an-Image-Like-Splunk-Dashboard-Sample/m-p/521885#M35193</guid>
      <dc:creator>danielgp89</dc:creator>
      <dc:date>2020-09-28T20:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: I can't Overlay an Image Like Splunk Dashboard Sample</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/I-can-t-Overlay-an-Image-Like-Splunk-Dashboard-Sample/m-p/521907#M35213</link>
      <description>&lt;P&gt;css goes in appserver/static&lt;/P&gt;&lt;P&gt;Image goes in appserver/static&lt;/P&gt;&lt;P&gt;Image can be in whatever form the browser will support&lt;/P&gt;&lt;P&gt;Image paths are like this, for example within an HTML panel&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;img src="/static/app/YouAppName/ImageName"/&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;Hope this helps&lt;/P&gt;&lt;P&gt;I think you can put the image in folders underneath appserver/static, but then just have to modify your path accordingly to add the extra component under 'YourAppName'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 00:36:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/I-can-t-Overlay-an-Image-Like-Splunk-Dashboard-Sample/m-p/521907#M35213</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2020-09-29T00:36:34Z</dc:date>
    </item>
    <item>
      <title>Re: I can't Overlay an Image Like Splunk Dashboard Sample</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/I-can-t-Overlay-an-Image-Like-Splunk-Dashboard-Sample/m-p/522075#M35235</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/211534"&gt;@danielgp89&lt;/a&gt;&amp;nbsp;I think you have got the CSS file right and issue is finding the path for image. Which should be the same as your CSS if you are using the relative path.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="css"&gt;background: transparent 50% 50% no-repeat url('/static/app/app_name/image.png');&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have have placed the image file under your app's appserver/static folder you can test whether image got picked up or not by changing the browser URL like the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;https://&amp;lt;YourSplunkServer:portnumber&amp;gt;/en-US/static/app/app_name/image.png&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the image shows up the path is correct. If not you may need to bump, refresh and restart Splunk. You may also need to clear internet browser history.&lt;BR /&gt;&lt;BR /&gt;You can refer to the following Clarafication blog to understand static files better:&amp;nbsp;&lt;A href="https://www.splunk.com/en_us/blog/tips-and-tricks/splunk-clara-fication-customizing-simplexml-dashboards-with-inline-css.html" target="_blank" rel="noopener"&gt;https://www.splunk.com/en_us/blog/tips-and-tricks/splunk-clara-fication-customizing-simplexml-dashboards-with-inline-css.html&lt;/A&gt;&lt;BR /&gt;The above also tells you about option to test CSS stuff directly through Simple XML by using &amp;lt;html&amp;gt; panels.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:14:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/I-can-t-Overlay-an-Image-Like-Splunk-Dashboard-Sample/m-p/522075#M35235</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2020-09-29T18:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: I can't Overlay an Image Like Splunk Dashboard Sample</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/I-can-t-Overlay-an-Image-Like-Splunk-Dashboard-Sample/m-p/523293#M35374</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/201110"&gt;@niketn&lt;/a&gt; &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/6367"&gt;@bowesmana&lt;/a&gt;&amp;nbsp;, hope you are doing well.&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;The issue was in the Internet Browser. I need to delete all the cookies and history for the new CSS get refresh. Even when I restart splunk, the browser was the problem, it seems it get stuck in the browser memory the wrong parms.&lt;/P&gt;&lt;P&gt;Thanks a lot for your reply and time.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 21:00:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/I-can-t-Overlay-an-Image-Like-Splunk-Dashboard-Sample/m-p/523293#M35374</guid>
      <dc:creator>danielgp89</dc:creator>
      <dc:date>2020-10-06T21:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: I can't Overlay an Image Like Splunk Dashboard Sample</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/I-can-t-Overlay-an-Image-Like-Splunk-Dashboard-Sample/m-p/523338#M35380</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/211534"&gt;@danielgp89&lt;/a&gt;&amp;nbsp;as suggested even browser history needs to be cleaned up. If you are in your dev instance you can remove caching features for faster static file changes (not for production environments). Refer to Splunk Documentation for web.conf config:&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/AdvancedDev/CustomVizTutorial" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/AdvancedDev/CustomVizTutorial&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do accept/up vote the answer if it helped!&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 03:22:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/I-can-t-Overlay-an-Image-Like-Splunk-Dashboard-Sample/m-p/523338#M35380</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2020-10-07T03:22:07Z</dc:date>
    </item>
  </channel>
</rss>

