Hi team,
We are considering deploying Splunk Solution inside Docker containers for Production Workload??. We found though docker has support for splunk , but not sure if Splunk supports it officially.
Could you please confirm. Apology, in case it has been answered in the forum earlier.
Thanks much
The official Splunk support stance as of 2018-04-30 is that Docker is NOT supported.
If you would like to see official support of docker in the future, please talk to your account team and upvote the following enhancement request; PBL-11109
from a similar post -
https://answers.splunk.com/answers/462532/how-can-i-forward-the-container-metrics-to-splunk.html
Couple of possibilities,
1. run splunk universal forwarder in the docker container, and setup a scripted input (will need to be a shell script that essentially runs docker stats command or whatever other) with some frequency. Make sure splunk universal forwarder is setup to forward the logs to splunk instance.
2. run your own script in the container that periodically runs docker stats or whatever other comments and posts the output of it to an HTTP Event collector on Splunk via HTTP(S).
Happy splunking.
some interesting readings -
https://www.splunk.com/blog/2015/08/24/collecting-docker-logs-and-stats-with-splunk.html
https://www.splunk.com/blog/2015/12/16/splunk-logging-driver-for-docker.html
Monitoring Docker App
https://splunkbase.splunk.com/app/3723/
There were a couple of sessions at .conf2016 that were recorded, regarding running Splunk as a Docker image and monitoring/troubleshooting Docker images. There were more sessions at .conf2017 regarding Docker and Splunk, but I've no idea if they were recorded, and if they were when they may be made available.
Dave
Thanks Dave for the response ,
Seeing the above sessions details, looks like splunk has the future plans to be used inside docker containers.. but not confirmed , if as of today if its officially supported.