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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...