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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...