I have a Splunk dashboard that sends data as variables to a script.
I don't want the script to run every time they refresh the page or go back a page. What should I do?
Is there a way to "submit" the form using HTTP POST so that the results won't appear in the URL?
Is there a way to run the search AND refresh the page at the same time while pressing "submit"?
Example of what I have:
<input type="text" token="host">
<input type="dropdown" token="runtime">
<choice value="30">30 Seconds</choice>
<choice value="60">1 Minute</choice>
<choice value="120">2 Minutes</choice>
<query>| script capture $host$ $runtime$</query>
Take a look at this post. The answer may help you.
This is a cool answer that helps a little, BUT the results are still in the URL.
This means that if I refresh the page, it repeats the action again and I don't want it to.