Splunk Enterprise

Help on drilldown token

jip31
Motivator

hello

as you can see, I use a token in order to drilldown from a table panel to another table panel

        <drilldown>
          <set token="host">$click.value$</set>
        </drilldown>
      </table>
    </panel>
  </row>
  <row>
    <panel>
      <table>
        <title>% de paquets VMware perdus</title>
        <search>
          <query>`index`(sourcetype=netproc_tcp" host=$host$
 

but when I refresh te dashboard my second panel says "waiting for input"

jip31_0-1656220535542.png

is there a solution to always display the events in the second panel and to drilldown when I click on the token field?

thanks

 

 

Labels (1)
Tags (1)
0 Karma
1 Solution

bowesmana
SplunkTrust
SplunkTrust

At the start of your XML add an <init> section and set a default for the host token, i.e.

<form>
  <init>
    <set token="host">*</set>
  </init>
...

so when the dashboard first loads, or is refreshed, the default for the 'host' token will be all hosts and the second panel will show all hosts.

 

View solution in original post

0 Karma

bowesmana
SplunkTrust
SplunkTrust

At the start of your XML add an <init> section and set a default for the host token, i.e.

<form>
  <init>
    <set token="host">*</set>
  </init>
...

so when the dashboard first loads, or is refreshed, the default for the 'host' token will be all hosts and the second panel will show all hosts.

 

0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @jip31,

to be more sure, I'd need to see the search, anyway, having a table, please try to use:

<set token="host">$row.host$</set>

$click.value$ is for drilldown from graphs.

Ciao.

Giuseppe

0 Karma

jip31
Motivator

Hi

This returns an empty result...

0 Karma
Get Updates on the Splunk Community!

Database Performance Sidebar Panel Now on APM Database Query Performance & Service ...

We’ve streamlined the troubleshooting experience for database-related service issues by adding a database ...

IM Landing Page Filter - Now Available

We’ve added the capability for you to filter across the summary details on the main Infrastructure Monitoring ...

Dynamic Links from Alerts to IM Navigators - New in Observability Cloud

Splunk continues to improve the troubleshooting experience in Observability Cloud with this latest enhancement ...