Getting Data In

Splunk image on openshift 4.3 and integration with it

splunkksr
New Member

Hi,
I have a requirement for our project where in splunk container has to deployed in openshift 4.3 and integrate it with openshift 4.3 so that all the logs can be seen in splunk. I have 2 queries
1. regarding deployment of splunk on openshift 4.3
2. Integration of splunk so that all the logs of openshift will be forwarded to splunk.

1.I pulled the docker image of splunk in standalone instance of aws cloud and it is running fine and able to login

When I deploy the same image in the openshift it is throwing an error : i even configured SPLUNK_HOME as /opt/splunk
below is the error
sh: /opt/container_artifact/splunk-container.state: Permission denied
In the debug terminal also I cannot find a file splunk-container.state in /opt/container_artifact/ folder
and
In opt/splunk/etc also their is not splunk-launch.config.

Couldn't read "/opt/splunk/etc/splunk-launch.conf" -- maybe $SPLUNK_HOME or $SPLUNK_ETC is set wrong

What has to be done to bypass this error and deploy the splunk?

  1. Is there any documentation available on splunk side on the steps to be carried to integrate splunk in openshift 4.3?

Thanks,
SRK

0 Karma
.conf21 Now Fully Virtual!
Register for FREE Today!

We've made .conf21 totally virtual and totally FREE! Our completely online experience will run from 10/19 through 10/20 with some additional events, too!