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

Step 2: Add rows

Dashboards contain rows. Each row can contain up to three columns – typically you place a single panel in each column. Each panel typically contains a single search and displays a visualization of that search. However, you can group two or more panel visualizations into a single column within a row.

This step shows how to add rows and also how to add rows that contain panel groups. "Step 3: Add Panels" shows how to add panels to the rows.

Add rows to a dashboard

Add two rows to a dashboard using the <row> tag. Rows can accommodate up to three columns.

<dashboard>
    <label>My dashboard</label>
    <row>
     . . .
    <!-- Up to three columns -->
     . . .
    </row>
    <row>
     . . .
    <!-- Up to three columns -->
     . . .
    </row>
</dashboard>

Create a panel group for a row

Group panels together within a row by adding a grouping attribute to the <row> tag. The following example groups two panels into a single column:

<dashboard>
    <label>My dashboard</label>
    <row grouping="2">
    . . .
    <!--The two panels to be grouped-->
    . . .
    </row>
</dashboard>

You can group panels into columns on the left or right sides within a single row. The following example creates a single row of panels, separated into two columns, with 3 panels grouped in the left column and 2 panels grouped in the right column:

<dashboard>
    <label>My dashboard</label>
    <row grouping="3,2">
    . . .
    <!-- The five panels to be grouped into two columns-->
    . . .
    </row>
</dashboard>
Note: Panel groups affect the Splunk Dashboard Editor. The Dashboard Editor cannot add or edit panels for a dashboard containing grouped panels. All additional edits must be done in the underlying XML code.
PREVIOUS
Step 1: Create a dashboard
  NEXT
Step 3: Add panels

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


Comments

The default template for dashboard accepts 3 columns. Typically, you have one panel per column. However, using the grouping attribute, you can combine 2 or more panels into a single column.<br /><br />The docs are a bit unclear here, so I'll try to clarify.

Vgenovese, Splunker
September 22, 2012

I am confused about the number of panel by row. Is it a maximum of 3? Because later it says 5 panels grouped into two columns. So what is the restriction? 3 panels? 3 columns?

Schroederg, Splunker
September 21, 2012

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