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!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

 (view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...