<?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: Add image on dashboard in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-image-on-dashboard/m-p/356962#M40643</link>
    <description>&lt;P&gt;did you restarted or bumped your Splunk after folder creating and image adding?&lt;BR /&gt;
I usually use this method and I display images.&lt;BR /&gt;
Beware to the dimensions of your image in file, resize it to the dimensions you want.&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
    <pubDate>Fri, 11 Aug 2017 07:34:09 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2017-08-11T07:34:09Z</dc:date>
    <item>
      <title>Add image on dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-image-on-dashboard/m-p/356959#M40640</link>
      <description>&lt;P&gt;I am trying add an image in my dashboard following the link below&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Viz/PanelreferenceforSimplifiedXML"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Viz/PanelreferenceforSimplifiedXML&lt;/A&gt;&lt;BR /&gt;
Use an image file in a dashboard panel&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;Step1 Put the image file in the following directory.
$SPLUNK_HOME/etc/apps/&amp;lt;appname&amp;gt;/appserver/static/images
If an /images directory does not already exist, create one and put the file in it.

Step 2 Verify that the image file path is accessible by testing the following URL.
&lt;A href="http://&amp;lt;host&amp;gt;:&amp;lt;port&amp;gt;/static/app/&amp;lt;app_name&amp;gt;/images/&amp;lt;image&amp;gt;" target="test_blank"&gt;http://&amp;lt;host&amp;gt;:&amp;lt;port&amp;gt;/static/app/&amp;lt;app_name&amp;gt;/images/&amp;lt;image&amp;gt;&lt;/A&gt;;
For example, use this URL to verify that the my_image.png file is accessible.

&lt;A href="http://localhost:8000/static/app/search/images/my_image.png" target="test_blank"&gt;http://localhost:8000/static/app/search/images/my_image.png&lt;/A&gt;
Step 3 In the &amp;lt;html&amp;gt; panel, use this syntax to indicate a file from the current app context.
&amp;lt;html&amp;gt;
&amp;lt;img src="/static/app/search/images/&amp;lt;file_name&amp;gt;.png"&amp;gt;
&amp;lt;/img&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I have problem on step 2 where ask to verify that the image file path is accessible. &lt;/P&gt;

&lt;P&gt;Any suggestion where I can fix that?&lt;/P&gt;

&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2017 06:34:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Add-image-on-dashboard/m-p/356959#M40640</guid>
      <dc:creator>samlinsongguo</dc:creator>
      <dc:date>2017-08-10T06:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: Add image on dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-image-on-dashboard/m-p/356960#M40641</link>
      <description>&lt;P&gt;Hi samlinsongguo,&lt;BR /&gt;
at first put your image in $SPLUNK_HOME/etc/apps/appserver/static and then use a code like the following:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;panel&amp;gt;
  &amp;lt;html&amp;gt;
      &amp;lt;div style="width:100%;height:100%;text-align:center;"&amp;gt;
          &amp;lt;img src="/static/app/myapp/myimage.png" style="height:80px;border;0;"/&amp;gt;
      &amp;lt;/div&amp;gt;
    &amp;lt;/html&amp;gt;
&amp;lt;/panel&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Beware to the dimensions of your image.&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2017 06:43:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Add-image-on-dashboard/m-p/356960#M40641</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-08-10T06:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Add image on dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-image-on-dashboard/m-p/356961#M40642</link>
      <description>&lt;P&gt;my splunk install does not have folder /etc/apps/appserver. I created the folder /appserver/static but still cant see the image. I think I put the image everywhere/ all possible fodlers but still cant refer to it. is that something on my server setting like IIS settings I need to change?&lt;BR /&gt;
Thanks&lt;BR /&gt;
Sam&lt;/P&gt;</description>
      <pubDate>Thu, 10 Aug 2017 23:55:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Add-image-on-dashboard/m-p/356961#M40642</guid>
      <dc:creator>samlinsongguo</dc:creator>
      <dc:date>2017-08-10T23:55:58Z</dc:date>
    </item>
    <item>
      <title>Re: Add image on dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-image-on-dashboard/m-p/356962#M40643</link>
      <description>&lt;P&gt;did you restarted or bumped your Splunk after folder creating and image adding?&lt;BR /&gt;
I usually use this method and I display images.&lt;BR /&gt;
Beware to the dimensions of your image in file, resize it to the dimensions you want.&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2017 07:34:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Add-image-on-dashboard/m-p/356962#M40643</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-08-11T07:34:09Z</dc:date>
    </item>
    <item>
      <title>Re: Add image on dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Add-image-on-dashboard/m-p/356963#M40644</link>
      <description>&lt;P&gt;I think he meant to say $SPLUNK_HOME/etc/apps/appserver/static.&lt;BR /&gt;
And the image src would be "/static/app/image.png".&lt;/P&gt;</description>
      <pubDate>Fri, 10 Apr 2020 18:48:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Add-image-on-dashboard/m-p/356963#M40644</guid>
      <dc:creator>frechette</dc:creator>
      <dc:date>2020-04-10T18:48:53Z</dc:date>
    </item>
  </channel>
</rss>

