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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

Splunk is officially part of Cisco

Revolutionizing how our customers build resilience across their entire digital footprint.   Splunk ...

Splunk APM & RUM | Planned Maintenance March 26 - March 28, 2024

There will be planned maintenance for Splunk APM and RUM between March 26, 2024 and March 28, 2024 as ...