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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...