Dashboards & Visualizations

How to create a drilldown on separate columns in a table?

klim
Path Finder

I have a dashboard with tokens on it: Token1, Token2, and Token3.

I have a table that contains multiple columns: x, y, z.

When I click the value of column x, I want to update Token1 on the same page.

When I click the value of column y, I want to update Token2 and so on.

When I click a column I only want to update the corresponding token and not the rest of the tokens.

Labels (1)
0 Karma
1 Solution

klim
Path Finder

I figured it out. I was initially using set instead of eval. I need to use something like this:

 

<drilldown>
          <condition field="x">
            <eval token="form.Token1">$click.value2$</eval>
          </condition>
          <condition field="y">
            <eval token="form.Token2">$click.value2$</eval>
          </condition>
          <condition field="z">
            <eval token="form.Token3">$click.value2$</eval>
          </condition>
        </drilldown>

 

 

View solution in original post

0 Karma

klim
Path Finder

I figured it out. I was initially using set instead of eval. I need to use something like this:

 

<drilldown>
          <condition field="x">
            <eval token="form.Token1">$click.value2$</eval>
          </condition>
          <condition field="y">
            <eval token="form.Token2">$click.value2$</eval>
          </condition>
          <condition field="z">
            <eval token="form.Token3">$click.value2$</eval>
          </condition>
        </drilldown>

 

 

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...