Dashboards & Visualizations

How to add image icon in dashboard panel ?

bagarwal
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

gcusello
SplunkTrust
SplunkTrust

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

mgarciar
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
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...