Splunk Search

Using bar dashboard with drilldowns > link to search > custome (with $click.value$ variable)

aneyraba
New Member

I am trying to use the Drilldown on Click >  Link to Search > custom :

LOGRC_TYPE=F8 | eval FUNC_TRAN =AFI_LOG03FUN+"-"+AFI_LOG03TRN

| eval temp=if("$click.value$"=="REPL-(batch) ","REPL-          ",FUNC_TRAN)

| search temp="$click.value$" 

 

I want that the search $click.value$ will be replaced with the clicked value,

First If the clicked value is == "REPL-(batch)"  change it by  "REPL-         " if not i want to keep the clicked value as it is, it seems that is not working and the search keeps the first clicked value in both $click.value$, i dont know hot to pass the updated value of $click.value$ in the  search statement.

 

Coudl you help me, please?

 

Thanks.

 

 

0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...