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!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...