LaxmiRagi
Enthusiast
Enthusiast

1. How to send Logs to splunk?

Jump to solution

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)
0 Kudos
1 Solution

Accepted Solutions
iiliev
VMware Employee
VMware Employee

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

0 Kudos
3 Replies
iiliev
VMware Employee
VMware Employee

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

0 Kudos
LaxmiRagi
Enthusiast
Enthusiast

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

0 Kudos
iiliev
VMware Employee
VMware Employee

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

0 Kudos