Dashboards & Visualizations

How to Integrate other Visualisation tools in splunk

kavyatim
Path Finder

Is it possible to integrate data visualization tools like Flot, Raphaël, D3 with splunk? Which other tools can be integrated to improve visualization? and how?

0 Karma

Damien_Dallimor
Ultra Champion

You can certainly extend Splunk with custom visualizations from whatever librarys you wish to integrate (d3, rickshaw, three.js , google charts etc...), or maybe a commercial library or something you've written yourself.

The approaches I would consider :

1) Create a custom advanced XML module that you could then declare inside of your Splunk UI app form or view XML. Here's a good example of such an approach on SplunkBase.

2) Create a standalone web app that uses the Splunk Javascript SDK from the browser to communicate with SplunkD (via a proxy to get around CORS issues) , and code the custom visualization logic in Javascript in the webpage sent to the browser.

3) Use the any of our language SDKs in a web server to communicate with SplunkD , and code your custom UI javascript in the webpage sent to the browser.Comms between the browser and the web server might use web sockets even.

4) Use the new Application Framework. to achieve options 2 and 3 in a much more rapid and integrated fashion , leveraging your Javascript and Python skills. Here is a tutorial for adding a custom D3 visualization with the Application Framework.

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: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

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

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