All Apps and Add-ons

Is there an example for plotting a polygon on the map by utilizing the bundled leaflet.js script?

martinstack
New Member

Hello,

I would like to plot a simple polygon on the map as a proof of concept in Splunk. I know the map uses leaflet.js, and I'm able to add a new javascript file to my app and include leaflet.js add then my leaflet.js instructions, but it doesn't seem to update the map in my dashboard. I'm thinking I might need to call up the map after my js with leaflet instructions. Anyway, is there a "how to" resource out there? With an implementation?

Thank you splunk cartographers!

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...