Databases Reference
In-Depth Information
<!-- map -->
<module
name="GoogleMaps"
layoutPanel="resultsAreaLeft"
group="Map" />
</module>
</module>
</module>
</view>
This code produces a search bar with a map under it, as seen here in the
following screenshot:
When using the GoogleMaps module, you would usually convert some set of values
to geographic coordinates. This is usually accomplished using the geoip lookup
(see Chapter 7 , Working with Apps , for examples) to convert IP addresses to locations,
or by using a custom lookup of some sort.
Just to show that the data can come from anywhere, let's make a graph by setting
the _geo field on events from one of our example source types:
sourcetype="impl_splunk_gen" req_time
| eventstats max(req_time) as max
| eval lat=(req_time/max*360)-180
| eval lng=abs(lat)/2-15
| eval _geo=lng+","+lat
 
Search WWH ::




Custom Search