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.
Step 1: Create a dashboard
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