All Apps and Add-ons

Can I use a geospatial lookup (ex: KML) over a Clustered Single Value Map Visualization?

changux
Builder

Hi all.

Can I use a geospatial lookup (kml for example) and use it over the clustered map? I want to show the map with special polygons referring to some impact areas.

Thanks!

Tags (2)
0 Karma

shaskell_splunk
Splunk Employee
Splunk Employee

Have you had a chance to try the latest version with your KML files?

0 Karma

shaskell_splunk
Splunk Employee
Splunk Employee

At this time you can't use a geospatial lookup. I did release a new version of the app today that allows you to add a KML or KMZ file into a folder within the app and use a mix of either files to render the features on the map. Download the latest version (1.3.7) with the feature.

Clustered Single Value Map Visualization

I'll look into the feasibility of leveraging geospatial lookups or at least the possibility of accessing the underlying KML/KMZ files from the lookup in a future version of the app.

Here is the info from the documentation:

Overlays

Version 1.3.7 introduces a new feature that allows you to add custom overlays to the map. The first release implements a KML or KMZ overlay feature. If you have existing KML/KMZ files that define features (polyline, polygons, whatever) you can now leverage them to overlay these features on the map.

USAGE

KML/KMZ Overlay

Copy any KML or KMZ files into the following directory

$SPLUNK_HOME/etc/apps/leaflet_maps_app/appserver/static/visualizations/leaflet_maps/contrib/kml

If you use a deployer (search head clustering) or a deployment server to manage your search heads, uncompress the app and place your KML files into the above directory and then recompress the app for distribution.

Click 'Format' and selct the 'Overlays' tab. Enter a comma separated list of filenames that you uploaded to the above directory.

file1.kml,file2.kmz

The files will be asynchronously loaded when the map is rendered.

0 Karma

Nadhiyaa
Path Finder

Hi @ shaskell ,

I added the kml files in the location.Now i can see the tiles but when i click on the tile its not showing the exact location.How to solve this problem.

Thanks,
Nadhiya

0 Karma

navpreetsinghte
Engager

Hi Shaskell,

I'll look into the feasibility of leveraging geospatial lookups or at least the possibility of accessing the underlying KML/KMZ files from the lookup in a future version of the app.

Have you by any chance done anything to leverage geospatial lookups or access the underlying KML/KMZ files from the lookup?

Thanks in advance

0 Karma

navpreetsinghte
Engager

I mean in order to use name or feature id to populate some of the fields of kml and not all..

0 Karma

Yorokobi
SplunkTrust
SplunkTrust

shaskell, will you expand on this?

If you use a deployer (search head clustering) or a deployment server to manage your search heads, uncompress the app and place your KML files into the above directory and then recompress the app for distribution.

On a SHC Deployer, is there a reason one wouldn't simply copy the KML files to $SPLUNK_HOME/etc/shcluster/apps/leaflet_maps_app/appserver/static/visualizations/leaflet_maps/contrib/kml and apply the shcluster-bundle?

0 Karma

shaskell_splunk
Splunk Employee
Splunk Employee

That will work fine.

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...