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?
Have you installed the Example Dashbords
app? It is FULL of working examples:
https://splunkbase.splunk.com/app/1603/
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?
I agree with felipesewaybricker
@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.
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?
$click.value$ does not work $row.$ does work
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
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?