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!

Observability Highlights | January 2023 Newsletter

 January 2023New Product Releases Splunk Network Explorer for Infrastructure MonitoringSplunk unveils Network ...

Security Highlights | January 2023 Newsletter

January 2023 Splunk Security Essentials (SSE) 3.7.0 ReleaseThe free Splunk Security Essentials (SSE) 3.7.0 app ...

Platform Highlights | January 2023 Newsletter

 January 2023Peace on Earth and Peace of Mind With Business ResilienceAll organizations can start the new year ...