Dashboards & Visualizations

Dashboard Panel with custom static HTML?

andrewkenth
Communicator

Is it possible to have a dashboard panel show static HTML? I'd like to put some contact and support info in 1 dashboard, that is all static. Nothing to fancy or dynamic.

Thanks!

Tags (2)
0 Karma
1 Solution

gkanapathy
Splunk Employee
Splunk Employee

grantsmiley
Path Finder

Anyone have a clean way to do this where a a power user can click on something to edit the text without going to the source and modifying the HTML?

0 Karma

gkanapathy
Splunk Employee
Splunk Employee

somesoni2
Revered Legend

To include static html contend within a dashboard, you can use "StaticContentSample" module. Example below:-

 <module name="StaticContentSample" layoutPanel="panel_row1_col1">
        <param name="text"><![CDATA[
            <h1>Header </h1>
                <p>
                  Some text                    </p>
                <p>
                   some other text                      </p>
                <p>
                    blah blah                    </p>
            ]]>
        </param>
        </module>

If you are using Sideview Util, you can utilize "HTML" module for the same as follows:-

<module name="HTML" layoutPanel="viewHeader">       
            <param name="html">
            <![CDATA[
                <table cellpadding="0" cellspacing="0" style="width: 100%">
                    <tr>
                        <td><h2>Title</h2></td>                                        
                    </tr>
                    <tr>
                        <td>This dashboard Does something </td>
                    </tr>
                </table>
            ]]>
            </param>

      </module>
0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...