All Apps and Add-ons

timechart drilldown

disha
Contributor

In my search

MYSearch|chart avg(mu) over _time by vmsid

Now I want to pass vmsid value to my next view. I have tried using sideview Redirector module and splunk ViewRedirector module but it is passing time value not vmsid.


DetailedCustomerView
$click.value$
it is not working. Please help.

Thanks,
Disha

1 Solution

sideview
SplunkTrust
SplunkTrust

For timecharts that are split by another field -- in this case by vmsid, to reference the selected value of the "by field" you should use $click.name2$.

It's confusing to remember which keys to use with the charts, but they work in a very analogous way to the table drilldowns. So you can picture a SimpleResultsTable or a Table module being right where the chart module is. Then with the table modules you know that $click.value$ will always be the first column's value, and with a timechart the first column's value is always "_time". So in this way you can sort of explain why your config as written is always passing the time. 😃

In many other situations there are $foo$ keys added by Sideview Utils to make things easier or more intuitive, but in the case of grabbing the selected split-by field value from a chart or table, I'm afraid $click.name2$ is still the only way. Granted, if you were interested in vmsid="selected_vmsid_value", you could use $click.searchTerms$.

Also, as one final note beware that field names are always case sensitive and that goes here too. So VMSID is not equivalent to vmsid.

View solution in original post

sideview
SplunkTrust
SplunkTrust

For timecharts that are split by another field -- in this case by vmsid, to reference the selected value of the "by field" you should use $click.name2$.

It's confusing to remember which keys to use with the charts, but they work in a very analogous way to the table drilldowns. So you can picture a SimpleResultsTable or a Table module being right where the chart module is. Then with the table modules you know that $click.value$ will always be the first column's value, and with a timechart the first column's value is always "_time". So in this way you can sort of explain why your config as written is always passing the time. 😃

In many other situations there are $foo$ keys added by Sideview Utils to make things easier or more intuitive, but in the case of grabbing the selected split-by field value from a chart or table, I'm afraid $click.name2$ is still the only way. Granted, if you were interested in vmsid="selected_vmsid_value", you could use $click.searchTerms$.

Also, as one final note beware that field names are always case sensitive and that goes here too. So VMSID is not equivalent to vmsid.

disha
Contributor

ThankYou very much.

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...

Keep the Learning Going with the New Best of .conf Hub

Hello Splunkers, With .conf26 getting closer, there’s already a lot of excitement building around this year’s ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...