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!

Cultivate Your Career Growth with Fresh Splunk Training

Growth doesn’t just happen—it’s nurtured. Like tending a garden, developing your Splunk skills takes the right ...

Introducing a Smarter Way to Discover Apps on Splunkbase

We’re excited to announce the launch of a foundational enhancement to Splunkbase: App Tiering.  Because we’ve ...

How to Send Splunk Observability Alerts to Webex teams in Minutes

As a Developer Evangelist at Splunk, my team and I are constantly tinkering with technology to explore its ...