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/

thanks and best regards,
Sekar

PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !
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!

OpenTelemetry for Legacy Apps? Yes, You Can!

This article is a follow-up to my previous article posted on the OpenTelemetry Blog, "Your Critical Legacy App ...

UCC Framework: Discover Developer Toolkit for Building Technology Add-ons

The Next-Gen Toolkit for Splunk Technology Add-on Development The Universal Configuration Console (UCC) ...

.conf25 Community Recap

Hello Splunkers, And just like that, .conf25 is in the books! What an incredible few days — full of learning, ...