By 'send all the logs' do you mean you want to configure vRO server logging to automatically send all incoming log messages to Splunk? In this case, there are some solutions online, like https://github.com/damiendallimore/SplunkJavaLogging
The above page contains some library code that you'll need to compile plus config examples for popular Java logging frameworks (at the moment, vRO server uses Log4j 1.x).
Thank you, sir, one more question is that I want to change start behavior to "Start if scheduled in the past" by script what was the key for that.
var workflowToLaunch = myWorkflow ;
var workflowParameters = new Properties() ;
workflowParameters.put("name","John Doe") ;
workflowParameters.put("__taskName","Workflow for John Doe") ;
workflowParameters.put("__??? ","To start if scheduled in the past") ;
I don't think this startup mode option is available in the scripting API.