Dashboards & Visualizations
Highlighted

How to add image icon in dashboard panel ?

Path Finder

Hello Everyone,

I have created a dashboard with multiple panel stating total no of different applications installed.
E.g. In one dashboard panel, there is total count of Google Chrome.

Now I want to add Google Chrome ICON in the panel .

Can anyone please help it.

Thanks in advance.

Best Regards,
Binay Agarwal

0 Karma
Highlighted

Re: How to add image icon in dashboard panel ?

Path Finder

There is a html tag available on the XML dashboards.

http://docs.splunk.com/Documentation/Splunk/6.0/Viz/PanelreferenceforSimplifiedXML#html

You should be able to add a static image with the tag.

0 Karma
Highlighted

Re: How to add image icon in dashboard panel ?

Legend

Hi
use something like this

        <row>
           <panel>
              <html>
                 <h3>
                    <b>
                       <img src="/static/app/your_app/your_image.png" style="height:50px;border:0;"/>
                    </b>
                  </h3>
               </html>
           </panel>
        </row>

if in addition, you want also to insert an active link, use

        <row>
           <panel>
              <html>
                 <h3>
                    <a href="http://your_link">
                       <b>
                          <img src="/static/app/your_app/your_image.png" style="height:50px;border:0;"/>
                       </b>
                    </a>
                  </h3>
               </html>
           </panel>
        </row>

see http://docs.splunk.com/Documentation/Splunk/latest/Viz/PanelreferenceforSimplifiedXML#html

Bye.
Giuseppe

0 Karma