Step 2: add rows
This documentation does not apply to the most recent version of Splunk. Click here for the latest version.
Contents
Step 2: add rows
Dashboards are built out of rows which are in turn made of panels. Each panel can contain a chart, table or other panel type. The next section, step 3, describes the different panel types and how to add them.
Add a single row
Add a single row to your dashboard XML by using the <row> tag. Rows can accommodate up to three panels. The follow code snippet takes the dashboard from step 1 and adds a new row:
<dashboard>
<label>My dashboard</label>
<row>
...
</row>
</dashboard>
Row grouping
Group panels together within a row by adding a grouping attribute to the <row> tag. For example, the following snippet groups two panels within a row together into one column:
<dashboard>
<label>My dashboard</label>
<row grouping="2">
...
</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 in the left group and 2 panels in the right:
<dashboard>
<label>My dashboard</label>
<row grouping="3,2">
...
</row>
</dashboard>
Next, fill in the row by adding panels. Read on to learn how to add panels in step 3.
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.