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!

Splunk Search APIを使えば調査過程が残せます

   このゲストブログは、JCOM株式会社の情報セキュリティ本部・専任部長である渡辺慎太郎氏によって執筆されました。 Note: This article is published in both Japanese ...

Integrating Splunk Search API and Quarto to Create Reproducible Investigation ...

 Splunk is More Than Just the Web Console For Digital Forensics and Incident Response (DFIR) practitioners, ...

Congratulations to the 2025-2026 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...