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!

What’s new on Splunk Lantern in August

This month’s Splunk Lantern update gives you the low-down on all of the articles we’ve published over the past ...

Welcome to the Future of Data Search & Exploration

You have more data coming at you than ever before. Over the next five years, the total amount of digital data ...

This Week's Community Digest - Splunk Community Happenings [8.3.22]

Get the latest news and updates from the Splunk Community here! News From Splunk Answers ✍️ Splunk Answers is ...