RouteMap is a demo application for Splunk. Current application has only one view, which can project objects with their routes from Splunk events on Google Map control.
- You need to have Splunk installed on your machine (this application is tested with Splunk 6.0).
- Install the app by copying
routemap
folder to$SPLUNK_HOME/etc/apps
. On *nix based machines instead of copying you can do symbolic link toroutemap
folder from$SPLUNK_HOME/etc/apps
with commandln -s [PATH TO CURRENT FOLDER]/routemap
. Make sure that you useroutemap
as an application folder, otherwise you will have routing issues. - (Re)start Splunk so that the app is recognized.
- From Splunk home page navigate to
Route Map -> Map
menu item.
If you want to project your own objects on map you just need to change search command.
Using normalize
macros you can specify properties in your events, which contains
information about time stamps, latitude and longitude:
- ts - Time stamp in Unix time format (number).
- lat - Latitude.
- lat - Longitude.
- fieldX - Set of fields which can be used to group events by object.
After that you can try to invoke search command, for example
source="my-data-source" | `normalize(ts=ts, lat=lat, lon=lon, field1=name)`
This software is licensed under the Apache License 2.0. Details can be found in the file LICENSE.