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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...