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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...