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!
Have you had a chance to try the latest version with your KML files?
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.
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
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
I mean in order to use name or feature id to populate some of the fields of kml and not all..
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?
That will work fine.