Databases Reference
In-Depth Information
Other things to notice in this dashboard are:
•
grp
builds columns inside a single panel, for instance, in
layoutPanel="panel_row4_col1_grp2"
•
SingleValue
modules do not stack vertically, but rather flow horizontally,
overflowing onto the next line when the window width is reached
•
span
used in the
bucket
statement is the minimum needed by any
post-process statements, but as large as possible to minimize the number
of events returned
Third-party add-ons
There are many excellent apps available at
http://splunkbase.com
, a number
of which provide custom modules. We will cover two of the most popular,
Google
Maps
and
Sideview Utils
.
Google Maps
As we saw in
Chapter 7
,
Working with Apps
, the
Google Maps
app provides a
dashboard and lookup for drawing results on a map. The underlying module
is also available to use in your own dashboards.
Here is a very simple dashboard that uses the
GoogleMaps
module:
<?xml version="1.0"?>
<view template="search.html">
<!-- chrome -->
<label>Chapter 8 - Google Maps Search</label>
<module name="AccountBar" layoutPanel="appHeader"/>
<module name="AppBar" layoutPanel="navigationHeader"/>
<module name="Message" layoutPanel="messaging">
<param name="filter">*</param>
<param name="clearOnJobDispatch">False</param>
<param name="maxSize">1</param>
</module>
<!-- search -->
<module name="SearchBar" layoutPanel="splSearchControls-inline">
<param name="useOwnSubmitButton">False</param>
<module name="TimeRangePicker">
<param name="selected">Last 60 minutes</param>
<module name="SubmitButton">
Search WWH ::
Custom Search