Splunk Search

SubmitButton allowSoftSubmit

Sriram
Communicator

I have 2 questions on the submitbutton module.

  1. Is the behavior allowSoftSubmit = False applicable only after the view is loaded. Here is my scenario, I have a pulldown modules with submitbutton and several search modules nested.
    My submitbutton has the follow parms

    .......

    Generate Dashboard
    False
    It appears when the view is loaded in the beginning, all the search are executing irrespective of allowSoftSubmit False. After initial load, it appears fine as the searches are invoked only after i click the button. Is it the expected behaviour or am I missing something. I would really like the search initiated only after user click the search button as rightnow the initial page load is slow as it takes time to finish the search and render.

    1. I would like to change the label of the search button from 'search' to 'searching' when the search is in progress and then revert it back to 'search' after it is done. Any pointer would be helpful.
Tags (1)
0 Karma

MHibbin
Influencer

Sriram,

In the "Search" modules you mention have tried explicitly turning autorun off in the search. For example

Not sure about the second request, but you'd probably need to use custom Javescript and CSS.

Regards,

MHibbin

0 Karma

Sriram
Communicator

Regarding 2nd question, can you give me some examples on how to do this in custom javascript.

0 Karma

Sriram
Communicator

autorun="false" did not help that much when nested thru pulldown module. I am able to somewhat make it work by replacing SubmitButton to Button.

Generate

False
False
However this is only working in firefox, but not in IE. Unfortunately since we are stuck with IE8, I am not able to make much progress. Although not 100% sure, I don't see this behaviour in IE8 when textfield module is nested.

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

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 GA in US-AWS!

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