Hi There,
I have a requirement like below:
I need to send all the logs in to the specified source type in Splunk.
Please, somebody, give me some code examples(links).
Regards,
Laxmi
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).
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") ;
--Laxmi
I don't think this startup mode option is available in the scripting API.