lib/splunk_search.rb
#wait until finished with percentage of completion put every @WAIT_TIME
wait until finished with percentage of completion put every @WAIT_TIME
wait until finished with percentage of completion put every @WAIT_TIME
def wait_percent
        while(!complete?)
            puts percent_complete
            sleep @WAIT_TIME
        end
    end
def wait_percent while ( ! complete? ) puts percent_complete sleep @WAIT_TIME end end
wait until finished with percentage of completion put every @WAIT_TIME
wait until finished with percentage of completion put every @WAIT_TIME