Book Image

Mastering Splunk

By : James D. Miller
Book Image

Mastering Splunk

By: James D. Miller

Overview of this book

Table of Contents (18 chapters)
Mastering Splunk
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Dynamic drilldowns


You can include the dynamic drilldown functionality in dashboards by defining destinations to link to when a user clicks on fields in your dashboard. The value captured by the mouse-click can be sent to the defined destination. This destination can be another dashboard, form, view (within your Splunk installation), or an external web page.

The essentials

The key to implementing drilldowns within a Splunk dashboard is to use the XML tags:

<drilldown></drilldown>
<link></link>

Within the <drilldown> tag, you can optionally specify a target= attribute if you wish to direct the drilldown destination (which defaults to target="_self" and the link will open in the current window).

Between the <drilldown> tags, you can add one or more <link> tags and use the <link> tags to specify a destination for the drilldown.

There are many ways to use the <link> tag, as follows:

  1. Use a relative path to connect to the dashboard:

    <link> path...