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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...