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!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  &#x1f680; Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...