Dashboards & Visualizations

Prepopulate the Splunk Dashboard text input field with the values from event?

bhuvanabala
New Member

Hi Team,

I have a field called errorid in my log, where errorid=x1234 and i have a solution field and its value is a link. On linking the link the user is navigated to Splunk dashboard. The dashboard contains a input text box

Please let me know how to prepopulate errorid text box with the value(x1234) from the event?

Please help us

Tags (1)
0 Karma

tiagofbmm
Influencer

Hey

You can use JS to pass tokens (form ones) specified in one dashboard to another one, like this:

function clickhandler(e,split_token) {
svc_drilldown = "/app/ESI/service_explorer"+"?&form.time.earliest="+earliest+"&form.time.latest="+latest+"&form.serviceName="+e.name2+"&form.host="+'\"'+"*"+'\"'+"&form.cluster="+cluster;
window.open(svc_drilldown);
}
0 Karma

tiagofbmm
Influencer

Please let me know if the answer was useful for you. If it was, accept it and upvote. If not, give us more input so we can help you with that

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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