Location Tracker

Location Tracker

Simple XML for location trackers

Custom visualizations use a namespaced syntax for Simple XML. Specific visualization properties are appended to the app and visualization context.


Add a location tracker to a dashboard panel

You can add a location tracker to a dashboard panel using Simple XML. Use this syntax to specify the app and visualization context.

<viz type="location_tracker_app.location_tracker">
</viz>


Configure location tracker properties

To configure a location tracker property, add any of the following property names and a value to this syntax.

<option name=
    "location_tracker_app.location_tracker.[property_name]">[property_value]
</option>


Option name Accepted values Default Example
interval Any number from 5 - 500 5
<option name=
    "location_tracker_app.location_tracker.interval">10
</option>
showTraces [ true | false] true
<option name=
    "location_tracker_app.location_tracker.showTraces">false
</option>
staticIcon Any fontAwesome icon name none
<option name="location_tracker_app.location_tracker.staticIcon">automobile
</option>
tileSet [ light_tiles | dark_tiles | satellite_tiles | openstreetmap_tiles ] light
<option name=
    "location_tracker_app.location_tracker.tileSet">dark_tiles
</option>


Example Simple XML source

Here is an example dashboard panel.

<dashboard>
[...]
<panel>
      <title>My example tracker</title>
      <viz type="location_tracker_app.location_tracker">
        <search>
          <query>| inputlookup locations.csv | table _time latitude longitude user| sort -_time</query>
          <earliest>0</earliest>
          <latest></latest>
        </search>
        <option name="location_tracker_app.location_tracker.staticIcon">bicycle</option>
        <option name="location_tracker_app.location_tracker.showTraces">true</option>
      </viz>
    </panel>
[...]
</dashboard>
Last modified on 12 August, 2016
Add a location tracker to a dashboard   Release notes

This documentation applies to the following versions of Location Tracker: 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 1.5.1


Was this topic useful?







You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters