Splunk Search

Chart Drilldown issue with SimpleXML

ruiaires
Path Finder

I'm trying to configure a SimpleXML Chart Drilldown but I'm having problems using the

<link series=""> 

element.

The chart is a simple "timechart sum() by category" and the ideia is to open another form dashboard and pass the category that was clicked as an argument.

According to the documentation you can use the series attribute to get a value from the chart but when I provide the "series" attribute the tag just opens the standard drilldown (timeline search)... If i remove the attribute, it jumps to the correct dashboard but then I can only use the $click.value$ token.

I'm using this syntax:

<drilldown target="_blank">
  <link>
    <![CDATA[
       /app/myapp/newform
    ]]>
  </link>
</drilldown>

Questions

  • I can't find any sample on the documentation or here on answers on how to use with chart series, am I doing something wrong ?
  • I'm using Splunk 6.0, could it be a known issue ?
  • Does the $click$ token has other property instead of .value ?
0 Karma
1 Solution

adityapavan18
Contributor

Hi you can find the details here:

docs.splunk.com/Documentation/Splunk/6.1.1/Viz/PanelreferenceforSimplifiedXML

You can get tokens for click value in chart (event tokens) section if the above documentation

View solution in original post

0 Karma

adityapavan18
Contributor

Hi you can find the details here:

docs.splunk.com/Documentation/Splunk/6.1.1/Viz/PanelreferenceforSimplifiedXML

You can get tokens for click value in chart (event tokens) section if the above documentation

0 Karma

ruiaires
Path Finder

Thanks, that info was not present in the documentation for v6.0 but $click.name2$ worked 😉

Still not sure how to use the series attribute in the link tag but, for now the issue is solved!

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...