Add HTML
Contents
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.
This documentation applies to the following versions of Splunk: 4.3 , 4.3.1 , 4.3.2 View the Article History for its revisions.