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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Build the Future of Agentic AI: Join the Splunk Agentic Ops Hackathon

AI is changing how teams investigate incidents, detect threats, automate workflows, and build intelligent ...

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...