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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...