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!

Splunkbase Unveils New App Listing Management Public Preview

Splunkbase Unveils New App Listing Management Public PreviewWe're thrilled to announce the public preview of ...

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...

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