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

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_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 AppInspect Passed
Admins: Please read about Splunk Enterprise 8.0 and the Python 2.7 end-of-life changes and impact on apps and upgradeshere.
Overview
Details
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
daniel@spavin.net
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

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

Tokens

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

FancyTree

Icons made by FontAwesome

Release Notes

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

65
Installs
101
Downloads
Share Subscribe LOGIN TO DOWNLOAD

Subscribe Share

AppInspect Tooling

Splunk AppInspect evaluates Splunk apps against a set of Splunk-defined criteria to assess the validity and security of an app package and components.

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 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.

Follow Us:
© 2005-2020 Splunk Inc. All rights reserved.
Splunk®, Splunk>®, Listen to Your Data®, The Engine for Machine Data®, Hunk®, Splunk Cloud™, Splunk Light™, SPL™ and Splunk MINT™ are trademarks and 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.