All Apps and Add-ons

Manually place location within Google Maps

hagjos43
Contributor

I'd like to manually set a location of servers around the country within the Google Maps app. Simply displaying where they listing if they are up or down (green=up, red=down).

The server locations don't change much, so manually specifying the locations is not a problem.

Is this possible?

0 Karma

dart
Splunk Employee
Splunk Employee

Yes, you can do this with a lookup with the latitudes and longitudes.

## host_geo.csv (don't include this line in the lookup file)
host,_geo
foobar123,"lat,lon"

Then you can use it in a search:

<search> ... | lookup host_geo.csv host 

To test your lookup for can also do:

 <search> ... | lookup host_geo.csv host | eval geo=_geo | table host geo

dart
Splunk Employee
Splunk Employee

You could put it in the google maps app under the lookups folder. If it doesn't exist already you can create it. You can also upload it via the UI.

0 Karma

hagjos43
Contributor

THANKS!

Where do you put the host_geo.csv? Within the Google Maps app folder?

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...