Getting Data In

Can an input be enabled or disabled based on another input?

jmc82
Explorer

I have a dashboard containing a checkbox with some values. These values are OR'd together in my search string. For example:

Checkbox Input:
A
B
C

translates to: search MY_FIELD= A OR B OR C

If the user selects value C I would like another input field to either appear or to become enabled on my dashboard. Specifically I want two radio buttons to become available with values of Yes and No.

So the search should become:

search MY_FIELD= A OR B OR (C AND MY_OTHER_FIELD=Yes/No)

Is this possible?

markthompson
Builder

Yes, take a look on the Splunk 6.x dashboard examples - under Cascading Form Input or Post Process Search.

Hope this helps - please rate if it does.

Get Updates on the Splunk Community!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...