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
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...