Splunk® Enterprise

Developing Dashboards, Views, and Apps for Splunk Web

Download manual as PDF

Splunk version 4.x reached its End of Life on October 1, 2013. Please see the migration information.
This documentation does not apply to the most recent version of Splunk. Click here for the latest version.
Download topic as PDF

Add HTML

The HTML panel displays inline HTML. Splunk display the contents between the HTML tags according to any specified HTML formatting. The HTML panel is a great way to add documentation, links, images, and other Web content to your dashboard.

Relative link references are relative to the current view location.

Configure the HTML panel

Here's an example of an HTML panel. To access the saved searches, the href attribute to the anchor tag uses the special Splunk locator, @go?s=.

<dashboard>
 <label>My dashboard</label>
  <row>
    <html>
      <p>This is an <i><b>HTML panel</b></i> providing links to saved searches.</p>
      <ul>
        <li><a href = "@go?s=Errors in the last 24 hours">Errors in the last 24 hours</a></li>
        <li><a href = "@go?s=My second search">Errors in the last hour</a></li>
        <li><a href = "@go?s=My second search">Splunk errors last 24 hours</a></li>
       </ul>
    </html>
  </row>
</dashboard>


The HTML panel does not use any of the other general panel options and there are no specific options to set for HTML. All the configuration goes into the HTML itself.

For basic configuration of HTML panels, refer to the "HTML panel entry in the Panel reference for Simplified XML.

PREVIOUS
Add a list
  NEXT
Add a single value and gauges

This documentation applies to the following versions of Splunk® Enterprise: 4.3, 4.3.1, 4.3.2, 4.3.3, 4.3.4, 4.3.5, 4.3.6, 4.3.7


Was this documentation topic helpful?

Enter your email address, and someone from the documentation team will respond to you:

Please provide your comments here. Ask a question or make a suggestion.

You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters