-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Learning Splunk Web Framework
By :
Our new dashboard is looking good, but there is a lot of wasted space that we can use a lot better. By now, you will have noticed the row elements that we have been using, and as you can well assume, each time we open the row element it also creates a new row for us. In our example, we can bunch our two single-value elements together in one row by removing the closing and opening elements in line 18 and 19 of our code. Or, instead of removing the code, we can use the comment feature of XML to comment out the two lines that we are talking about:
We should by now know where our dashboard is on our development environment, so open the cell_counts.xml file.
Change lines 18 and 19 to the following lines of code:
18 <!-- </row> -->
19 <!-- <row> -->
Save your changes and refresh the cache. You will now see that the two single-value elements are now displaying on a single row.
If we wanted to, we could continue to...