Dashboards & Visualizations

How to create tag cloud drilldown?

Wang_xinlu
New Member

In the dashboard, I am created a tag cloud Visualization but the tag cloud Visualization "edit drilldown" is invalid.
how to make the drilldown function use directly?alt text

0 Karma

woodcock
Esteemed Legend

Have you installed the Example Dashbords app? It is FULL of working examples:

https://splunkbase.splunk.com/app/1603/

felipesewaybric
Contributor

Hi Wang, is really easy to create tokens with drilldown. But you need to edit the source with xml, Example:

<chart>
        <search>
          <query>YOUR SEARCH</query>
        </search>
        <option name="charting.chart">column</option>
        <option name="charting.fieldColors">{"FATAL":0x006400, "WARN":0xD2691E, "INFO":0x228B22}</option>
        <option name="charting.axisLabelsX.majorLabelStyle.rotation">0</option>
        <option name="charting.axisTitleX.visibility">collapsed</option>
        <option name="charting.axisTitleY2.visibility">collapsed</option>
        <option name="charting.axisY.scale">log</option>
        <drilldown>
            <set token="token_click">$click.value$</set>
            <set token="token_name">$click.name$</set>
            <set token="token_result_value">$row.<name of label>$</set>
        </drilldown>
      </chart>

The focus here is the tag drilldown.

You can use value, value2, name, name2 and row.the_name_of_the_value

can you give a example on what information do you wanna create a token?

0 Karma

vidhyaArumalla
Path Finder

I agree with felipesewaybricker

0 Karma

niketn
Legend

@Wang_xinlu , if you are using Splunk's Built in Tag Cloud visualization, it has drilldown built-in to the visualization as results displayed are actually hyperlinks to perform search with clicked name in tag-cloud.

If you have custom visualization like Wordcloud Custom Visualization, drilldown needs to be enabled from its JavaScript code, or you can create your own jQuery Selector based drilldown using Simple XML JS Extension. Please let us know if you need help with any of these.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma

Wang_xinlu
New Member

I am using the Splunk's Built in Tag Cloud visualization, I want to make the tag-cloud hyperlinks as a token for another table visualization.
But the $click.value$ can not recognized. Do you know how to make the $click.value$ effective?

0 Karma

nicolasjeanselm
Explorer

$click.value$ does not work $row.$ does work

0 Karma

poete
Builder

Hello @Wang_xinlu, I understand you developped the tag cloud yourself, since you wrote "I am created", so I wonder. If so, you need to implement the drilldown and enable the drilldown in the vizualisations.conf file supports_drilldown = True

0 Karma

Wang_xinlu
New Member

sorry, In the app i can't find the vizualisations.conf file,only have vizualisations.js file.
If I make the < option name="drilldown" >all < /option >, drilldown can useful, but the $click.value$ can not recognized.

I don't know why , do you know how to make the $click.value$ effective?

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

.conf25 Global Broadcast: Don’t Miss a Moment

Hello Splunkers, .conf25 is only a click away.  Not able to make it to .conf25 in person? No worries, you can ...

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...