{"id":32071,"date":"2021-03-10T13:17:23","date_gmt":"2021-03-10T13:17:23","guid":{"rendered":"https:\/\/merikebi.warrenmyers.com\/?p=32071"},"modified":"2021-03-10T13:17:23","modified_gmt":"2021-03-10T13:17:23","slug":"answer-by-warren-for-in-splunk-dashboards-what-is-the-most-efficient-way-to-apply-user-input-changes","status":"publish","type":"post","link":"https:\/\/merikebi.warrenmyers.com\/?p=32071","title":{"rendered":"Answer by warren for In splunk dashboards, what is the most efficient way to apply user input changes?"},"content":{"rendered":"<p>When I need to do something like this, I have each successive input hidden until the previous is chosen (using the <code>depends=&quot;$token_name$&quot;<\/code> in the input&#8217;s <a href=\"https:\/\/docs.splunk.com\/Documentation\/Splunk\/latest\/Viz\/PanelreferenceforSimplifiedXML#input_.28form.29\" rel=\"nofollow noreferrer\">tag<\/a>)<\/p>\n<p>Inside the first input tag, then, you&#8217;d have a <code>&lt;set token=&quot;display_input_2&quot;&gt;yes&lt;\/set&gt;<\/code><\/p>\n<p>In the second, <code>&lt;set token=&quot;display_input_3&quot;&gt;yes&lt;\/set&gt;<\/code>, etc<\/p>\n<p>You can keep the &quot;search on change&quot; active &#8211; but if all three input fields are needed to actually get data, you won&#8217;t see anything until they&#8217;ve all been selected<\/p>\n<p>You can <em>also<\/em> put a <code>depends=&quot;$last_input_token_name$&quot;1<\/code> in the <code>&lt;row&gt;<\/code> or <code>&lt;panel&gt;<\/code> that needs to hide until everything&#8217;s been selected<\/p>\n<p>from User warren &#8211; Stack Overflow https:\/\/stackoverflow.com\/questions\/66556348\/in-splunk-dashboards-what-is-the-most-efficient-way-to-apply-user-input-changes\/66565413#66565413<br \/>\nvia <a href=\"https:\/\/ifttt.com\/?ref=da&#038;site=wordpress\">IFTTT<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>When I need to do something like this, I have each successive input hidden until the previous is chosen (using the depends=&quot;$token_name$&quot; in the input&#8217;s tag) Inside the first input tag, then, you&#8217;d have a &lt;set token=&quot;display_input_2&quot;&gt;yes&lt;\/set&gt; In the second, &lt;set token=&quot;display_input_3&quot;&gt;yes&lt;\/set&gt;, etc You can keep the &quot;search on change&quot; active &#8211; but if all &hellip;<br \/><a href=\"https:\/\/merikebi.warrenmyers.com\/?p=32071\" class=\"more-link pen_button pen_element_default pen_icon_arrow_double\">Continue reading <span class=\"screen-reader-text\">Answer by warren for In splunk dashboards, what is the most efficient way to apply user input changes?<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[991],"keyring_services":[],"class_list":["post-32071","post","type-post","status-publish","format-standard","hentry","category-blih","tag-stackexchange"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=\/wp\/v2\/posts\/32071","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=32071"}],"version-history":[{"count":1,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=\/wp\/v2\/posts\/32071\/revisions"}],"predecessor-version":[{"id":32072,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=\/wp\/v2\/posts\/32071\/revisions\/32072"}],"wp:attachment":[{"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=32071"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=32071"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=32071"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Fkeyring_services&post=32071"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}