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.
Splunkbase will be undergoing a scheduled migration and will be unavailable on Saturday, Oct 1, 2022, from 11AM to 3PM PDT

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 Treeview Viz
SHA256 checksum (treeview-viz_150.tgz) 174a38f7e34b559cc289f1f910a71d88a18ba5bfc6bab80fc5488359386614fa SHA256 checksum (treeview-viz_140.tgz) 23d068523c1a2f76ebcccc6f9e3e95a2859388c8fe9dc47c1395d620f7819cca SHA256 checksum (treeview-viz_130.tgz) ca1c94374ea91326a286c5e4c93216ee8bab6de2392a1a35003a903b3a75aa67 SHA256 checksum (treeview-viz_120.tgz) 9f73a3c421c4a307469a9fd2dfdccdbf40d3062ffb6870d3b81115f0ff102ef0 SHA256 checksum (treeview-viz_110.tgz) 12b570ae602c8d104c29509bf8b22644e63695ad075d505925fb13855af68e48 SHA256 checksum (treeview-viz_100.tgz) 4538599806d51b3206defe1f82bacddf960b85c781a8380fb9ae41085dd4d659
To install your download
For instructions specific to your download, click the Details tab after closing this window.

Flag As Inappropriate


Treeview Viz

Splunk Cloud
This app gives you a new way to visualize your data, allowing you to better communicate information in dashboards and reports. After installing this app you will see Treeview Viz as an additional item in the visualization picker in Search and Dashboard.

The Treeview Viz displays items with parent-child relationships much like a directory listing. You can use Treeview Viz to provide a categorized list of items, in a single dashboard panel.

Daniel Spavin
I am a Splunk Professional Services consultant working for JDS Australia (https://www.jds.net.au), in Melbourne Australia.

Version Support

8.0, 7.3, 7.2, 7.1, 7.0, 6.6

Who is this app for?

This app is for dashboard designers who want to compactly display parent-child relationships in their data.

How does the app work?

This app provides a visualization that you can use in your own apps and dashboards.

To use it in your dashboards, simply install the app, and create a search that provides the values you want to display.

Usecases for the Tree View Visualization:
Grouping categories together, e.g. sourcetypes by host
Providing a compact interface for generating tokens for drill-downs in a dashboard
Creating a menu in a set of dashboards
Visualizing the layout of files, running process, or perfmon stats on multiple hosts

The following fields can be used in the search:
id (required): An identifier for the lable. Use this value when assigning child items. Will default to the label if not supplied.
label (required): The value shown next to the item.
parentid (optional): Sets the parent item based on id. Will create a parent folder with the same label as the ID if one doesn't already exist.
iconFolder (optional): When using "custom" style, selects icon for folders.
* iconDoc (optional): When using "custom" style, selects icon for child items.

Example Search

| stats count by sourcetype, source
| rename source as id, sourcetype as parentId
| eval label = id
| table id, label, parentId


Tokens are generated each time you click an item. This can be useful if you want to populate another panel on the dashboard with a custom search, or link to a new dashboard with the tokens carying across.

  • Label text : This is the display name of the selected item. Default value: $tv_label_token$
  • ID : This is the value of the selected group you clicked. Default value: $tv_id_token$
  • Parent ID : This is the value of the selected group you clicked. Default value: $tv_parent_id_token$

The following standard Splunk drill-down tokens are also generated:

  • row.label : The Label text
  • row.id : The ID
  • row.parentid : The parent ID
  • row.<fieldname> : the field "fieldname" from the search results.

Release Notes

v 1.1.0
New option to have all folders open when the visualization starts. Options - General - Initial State = Closed / Open, Based on user request
Added app manifest for Splunk Cloud
Fixed some issues with drill-downs
AppInspect now passes

v 1.0.0
* Initial version

Issues and Limitations

If you have a bug report or feature request, please contact daniel@spavin.net

Privacy and Legal

No personally identifiable information is logged or obtained in any way through this visualizaton.

For support

Send email to daniel@spavin.net

Support is not guaranteed and will be provided on a best effort basis.

3rd Party Libraries


Icons made by FontAwesome

Release Notes

Version 1.5.0
Feb. 17, 2022

v 1.5.0
- Updated to latest libraries for Splunk Cloud compliance

Version 1.4.0
Nov. 9, 2021

v 1.4.0
- Increased search data limit to 250,000 rows. Warnings will appear if this limit is exceeded
- Fixed bug where some drilldowns didn't work
- Added detection of very deep nesting of items. Any nesting more than 1,000 items deep will trigger an warning message
- Minor changes to example dashboards
- Updated CSS to avoid conflicts

Version 1.3.0
Aug. 29, 2021

v 1.3.0
Fixed issue where the order of events could change the tree structure
Fixed bug were some item names resulted in errors
Added cycle detection - now if a cycle is detected, the node will be added to the root node instead of the parent.
Updated to JQuery 3.5.0, other minor changes to meet Splunk Cloud validation checks

Version 1.2.0
Oct. 23, 2020

V 1.2.0
- Added ability to set color for icons via new field "color"

Version 1.1.0
Aug. 2, 2020

v 1.1.0
New option to have all folders open when the visualization starts. Options - General - Initial State = Closed / Open, Based on user request
Added app manifest for Splunk Cloud
Fixed some issues with drill-downs
AppInspect now passes

Version 1.0.0
June 28, 2020

Version 1.0.0
Initial Release

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.