Add HTML
This documentation does not apply to the most recent version of Splunk. Click here for the latest version.
Contents
Add HTML
The HTML panel displays inline HTML. The entire contents between the HTML tags will be interpreted literally, and displayed on the page. The HTML panel is a great way to add links, images and other Web content to your dashboard. Remember that any link references will be relatively homed to the current view location.
Configure the HTML panel
Here's an example:
<dashboard>
<label>My dashboard</label>
<row>
<title>
My dashboard
</title>
<html>
Welcome to <strong>my dashboard</strong>.
</html>
</row>
</dashboard>
The <title> tag displays a title above the table. You can add a title to any panel in a 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.
Add lists of saved searches
You can use the HTML panel to add saved searches by name to your dashboard. You will have to reference each saved search you want to add, such as:
<a href = "@go?s=<search_name>">
Here's an example of what the panel will look like in your dashboard XML:
<html>
<ul>
<li><a href = "@go?s=My first search">My first search</a></li>
<li><a href = "@go?s=My second search">My second search</a></li>
<li><a href = "@go?s=My third search">My third search</a></li>
</ul>
</html>
This documentation applies to the following versions of Splunk: 4.1 , 4.1.1 , 4.1.2 , 4.1.3 , 4.1.4 , 4.1.5 , 4.1.6 , 4.1.7 , 4.1.8 View the Article History for its revisions.
typo in: "add lists of saved searchs"