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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...