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!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

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 ...