VMware Cloud Community
LaxmiRagi
Enthusiast
Enthusiast
Jump to solution

1. How to send Logs to splunk?

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

Tags (1)
Reply
0 Kudos
1 Solution

Accepted Solutions
iiliev
VMware Employee
VMware Employee
Jump to solution

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).

View solution in original post

Reply
0 Kudos
3 Replies
iiliev
VMware Employee
VMware Employee
Jump to solution

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).

Reply
0 Kudos
LaxmiRagi
Enthusiast
Enthusiast
Jump to solution

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

Reply
0 Kudos
iiliev
VMware Employee
VMware Employee
Jump to solution

I don't think this startup mode option is available in the scripting API.

Reply
0 Kudos