Dashboards & Visualizations

How to create a custom Hunk dashboard with JavaScript and CSS to display data on top of Google Maps?

seregaserega
Explorer

Hi,

I want to create custom hunk dashboard.
This dashboard should have custom javascript, css. Javascript would query hunk to get data and display results on top of Google Maps.
There should be controls on the dashboard (day/hour dropdown for example).
Where can I find a sample for such stuff?
I've found some REST API docs, places where to drop custom javascript/css, but didn't find the right way to create and deploy such a dashboard.

0 Karma

nfilippi_splunk
Splunk Employee
Splunk Employee

Have you looked at doing this entirely using the out-of-the-box map visualization, and dashboard controls? See the dashboard examples app for a reference search/vis example.

Splunk 6.x Dashboard Examples App
https://splunkbase.splunk.com/app/1603/

In other words:

  • Use Splunk search to query hunk rather than custom javascript
  • Use the built-in Splunk maps to render results
  • Use the form inputs supported by the Splunk dashboard editor to control date/time

Ledion_Bitincka
Splunk Employee
Splunk Employee

The Google Maps Add-on (https://splunkbase.splunk.com/app/368/) would be a good starting place, it should be fully compatible with Hunk even though the name doesn't mention it

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...