Scalable Vector Graphics - Custom Visualization allows Scalable Vector Graphics (SVG) text generated from Splunk's Search Processing Language (SPL) to be displayed in a dashboard.
Generate any SVG text (statically or dynamically) and put the result into the svg_viz field so the visualisation can display it.
Select the SVG vizualization to display the svg_viz field as a SVG image.
The app contains different dashboard examples showing what can be created with the SVG visualisation.
Example dashboards in menu
The app contains macros to display pre-canned battery and counters visualisations.
Example dashboards in menu using SVG macros
Drilldowns are not supported per se but linking to other urls can be done via adding href links inside the SVG using the syntax <a href="{url_to_link_to}">{svg_tags}</a>
SVG visualizations can be printed directly from the browser or via Export -> Print on the dashboard.
Painting a Picture with Splunk provides an introduction to this app.
The .conf18 session "Visualize This, Mother Trucker" covers in detail what can be done with this app.
1. Visualize This, Mother Trucker - Recording
2. Visualize This, Mother Trucker - Slides
Known Issues
Version 3.0.2
Bumped up versions of dependant javascript libraries
Dependant javascript libraries set to specific versions to remove the risk of dependant library updates impacting svg app
Version 3.0.1
SVG error message updates - SVG error animation disabled, configuration for animation time removed, now shows if it’s a parse or field error, bad SVG examples dashboard updated
Macro updates - fixed hardcoded error with viewbox macro
Viewbox updates - can opt-out of the default wrapping SVG into a viewbox, so the image can automatically fill into the outer HTML container, tweaked some panels in showcase dashboards to handle new viewbox options
Version 2.0.2
Last supported version for Splunk 6.5
Trucks added! visualize that - new macros and dashboard
Example token dashboard added showing how tokens can be passed to SVG images
Changed SVG for bad SVGs, also error message display time now configurable, example error dashboard added
Battery percentage ranges set 0-100 and values rounded to nearest whole number
The Queen is now a macro
Bumped up versions of dependant javascript libraries
Version 2.0.1
Bumped up versions of dependant javascript libraries
Version 2.0.0
Changed SVG source for Where's Wally and battery examples to more open source friendly license
Bumped to 2.0.0 as new battery macros create slightly different size batteries to previous version so may need to revisit dashboard that use the battery macro
Version 1.0.0
Changed map source for Where's Wally example dashboard
Add new Wallboard example dashboard
Splunk AppInspect evaluates Splunk apps against a set of Splunk-defined criteria to assess the validity and security of an app package and components.
As a Splunkbase app developer, you will have access to all Splunk development resources and receive a 10GB license to build an app that will help solve use cases for customers all over the world. Splunkbase has 1000+ apps and add-ons from Splunk, our partners and our community. Find an app or add-on for most any data source and user need, or simply create your own with help from our developer portal.