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

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!

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...