icon/x Created with Sketch.

Splunk Cookie Policy

We use our own and third-party cookies to provide you with a great online experience. We also use these cookies to improve our products and services, support our marketing campaigns, and advertise to you on our website and other websites. Some cookies may continue to collect information after you have left our website. Learn more (including how to update your settings) here.
Accept Cookie Policy

We are working on something new...

A Fresh New Splunkbase
We are designing a New Splunkbase to improve search and discoverability of apps. Check out our new and improved features like Categories and Collections. New Splunkbase is currently in preview mode, as it is under active development. We welcome you to navigate New Splunkbase and give us feedback.

Accept License Agreements

This app is provided by a third party and your right to use the app is in accordance with the license provided by that third-party licensor. Splunk is not responsible for any third-party apps and does not provide any warranty or support. If you have any questions, complaints or claims with respect to this app, please contact the licensor directly.

Thank You

Downloading Scalable Vector Graphics - Custom Visualization
SHA256 checksum (scalable-vector-graphics-custom-visualization_350.tgz) db18479eada9d45443d95bd68165879d4c87b832791718796d16a49f3e787d47 SHA256 checksum (scalable-vector-graphics-custom-visualization_302.tgz) c3c77f0981032e6fcc0baae354767afd598db7d91cb761c53a3b85018ae16105 SHA256 checksum (scalable-vector-graphics-custom-visualization_301.tgz) 300b617cdf1488e455799b3e737b9e6a55eaf86cdc7db3a081b556a24924e778
To install your download
For instructions specific to your download, click the Details tab after closing this window.

Flag As Inappropriate

splunk

Scalable Vector Graphics - Custom Visualization

Splunk Cloud
Splunk Labs
This app is NOT supported by Splunk. Please read about what that means for you here.
Overview
Details
Build any visualization directly with Search Processing Language (SPL) using Scalable Vector Graphics (SVG), includes reusable battery, truck and counter examples.

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

  • "SVG Examples" / "How Tos" / "Playground" - for simple SVG shapes
  • "SVG Examples" / "Showcase" - quick examples of what can be done with this visualization
  • "SVG Examples" / "Infrastrucuture Monitoring" - dynamic value/indicators embedded infrastrucutre diagram
  • "SVG Examples" / "Where's Wally? (Waldo)" - dynamic map showing locations of people

The app contains macros to display pre-canned battery and counters visualisations.

Example dashboards in menu using SVG macros

  • "SVG Examples" / "Battery with Percentages" - percentage value displayed on battery, for example percentage charged
  • "SVG Examples" / "Battery with Bars" - use bars on a battery instead of percentages
  • "SVG Examples" / "Circles and Squares" - alternative ways to display counters / text

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] (https://www.splunk.com/blog/2018/11/07/painting-a-picture-with-splunk.html) 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] (https://conf.splunk.com/files/2018/recordings/visualize-this-mother-trucker-fn1209.mp4)
2. [Visualize This, Mother Trucker - Slides] (https://static.rainfocus.com/splunk/splunkconf18/sess/1522264007181001u2i3/finalPDF/FN1209_VisualizeThisMotherTrucker_Final_1538794427127001rdIr.pdf)

Known Issues

  1. Very large SVG text cannot be viewed from the dashboard via the magnifying glass
  2. No PDF generation available. See "Limitations to PDF generation" on for details

Release Notes

Version 3.5.0
June 16, 2022

Removal of direct jQuery references
Update of dependant javascript libraries
Update trellis dashboards to increase panel height

For Splunk versions 8.1 and below please use 3.0.1 / 3.0.2

Version 3.0.2
May 10, 2020

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 3.0.1
April 16, 2019

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 3.0.0
SVG can now work with Trellis layout ( 4 new working example dashboards added )
SVG logo and Turtle are now macros
Tweaked remaining fields in SPL left after macros run
Bumped up versions of dependant javascript libraries
Removed white_background.css use light_theme_background.css instead
Support for Splunk 6.5 dropped with the arrival of Trellis layouts
New macro svg_viz_add_viewbox added which wraps existing SVG into a viewbox to help with initial scaling of some external SVGs


Subscribe Share

Are you a developer?

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 from Splunk, our partners and our community. Find an app for most any data source and user need, or simply create your own with help from our developer portal.

Follow Us:
Splunk, Splunk>,Turn Data Into Doing, Data-to-Everything, and D2E are trademarks or registered trademarks of Splunk Inc. in the United States and other countries. All other brand names,product names,or trademarks belong to their respective owners.