Dashboards & Visualizations

How do you put icon on dashboard?

appleman
Contributor

Hello,

I want to add an icon on my dashbaord.
I looked up some documents, but I couldn't find any.
Is there any way to do that?

Thank you.


ダッシュボードにアイコンを載せる方法はありますでしょうか。

1 Solution

rakesh_498115
Motivator

Hi appleman,

You can use the HTML Module for the same, Here is the code snippet

<module name="HTML" layoutPanel="panel_row1_col1">
            <param name="html">
                <![CDATA[
                <a href="dbd_csoc"><img width="60" height="30" src="/static/app/<app-name>/icon.png"/></a>
                    ]]>
            </param>
        </module>

Hope this helps !!

View solution in original post

rakesh_498115
Motivator

Hi appleman,

You can use the HTML Module for the same, Here is the code snippet

<module name="HTML" layoutPanel="panel_row1_col1">
            <param name="html">
                <![CDATA[
                <a href="dbd_csoc"><img width="60" height="30" src="/static/app/<app-name>/icon.png"/></a>
                    ]]>
            </param>
        </module>

Hope this helps !!

appleman
Contributor

Thank you. I was trying to do by converting my simple XML to HTML, and add te icon, but I guess I can just add it if I change my simple XML to Advanced.

Get Updates on the Splunk Community!

Shape the Future of Splunk: Join the Product Research Lab!

Join the Splunk Product Research Lab and connect with us in the Slack channel #product-research-lab to get ...

Auto-Injector for Everything Else: Making OpenTelemetry Truly Universal

You might have seen Splunk’s recent announcement about donating the OpenTelemetry Injector to the ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...