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
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk, and empower your SOC to reach new heights! Duration: 1 hour  Prepare to ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...