Dashboards & Visualizations

How to pass value to extracted field using dropdown?



I have extracted the field "ussdcode" from xml using "xmlkv" and renamed it to "UssdCode" . Now I want to pass value to "UssdCode" using dropdown list. I have also created "UssdCode_Token" in dropdown and have provided static value "ALL =* " in dropdown.

can someone plz help me with filtering the data using dropdown?

index=masapi sourcetype = myaccountservices-api_reporting_log ussdcode
AND StatusCode=$StatusCode_token$
|eval temp=split(_raw,":")
|eval trx_id=mvindex(temp,3)
|dedup trx_id
|rename ussdcode as UssdCode
|stats Count by UssdCode,StatusCode
| addcoltotals Count labelfield="StatusCode"

Labels (2)
0 Karma
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Splunk Community Dashboard Challenge for Your Chance to Win!

The Splunk Community Dashboard Challenge is underway! This is your chance to showcase your skills in creating ...

.conf24 | Session Scheduler is Live!!

.conf24 is happening June 11 - 14 in Las Vegas, and we are thrilled to announce that the conference catalog ...