Deployment Architecture

Do splunk deployment officialy supported inside Docker Containers ?

atulnitk04
New Member

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

Tags (1)
0 Karma

bohanlon_splunk
Splunk Employee
Splunk Employee

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

0 Karma

inventsekar
SplunkTrust
SplunkTrust

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/2016/07/13/docker-amazon-ecs-splunk-how-they-now-all-seamlessly-work-tog...

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

https://www.splunk.com/blog/2016/02/10/there-is-a-log-introducing-splunk-logging-driver-in-docker-1-...

Monitoring Docker App
https://splunkbase.splunk.com/app/3723/

0 Karma

davebrooking
Contributor

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

0 Karma

atulnitk04
New Member

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.

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...