Splunk Search

Timechart dynamic drilldown

Bhuavana
Explorer

Hi,

I have a timechart as my first dashboard to display all the exception types over the time and below query is used

index=test | exception_type=* | timechart count by exception_type

From above chart i need take the exception_type as input field when i click on the dashboard line.

Please share any sample code for the same.

Also how to retreive the selected value as input type in next dashboard[to display in text box]

0 Karma

Venkat_16
Contributor

Hi Bhuavana,

In the below code I have performed the dynamic drilldown by passing the exceptiontype as token. You just need to include the stanza ..

<chart>
 <searchString>index=test exception_type=* | timechart count by exception_type</searchString>
 <earliestTime>0</earliestTime>
 <latestTime>now</latestTime>
 .....
 <drilldown>
   <link>/app/your_app_name/your_next_dashboard?form.exceptiontype=$click.name2$</link>
 </drilldown>
</chart>
Get Updates on the Splunk Community!

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...

New! Splunk Observability Search Enhancements for Splunk APM Services/Traces and ...

Regardless of where you are in Splunk Observability, you can search for relevant APM targets including service ...

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...