Getting Data In
Provide Splunk Cloud feedback in this confidential UX survey by June 17
for a chance to win a $200 Amazon gift card!

Monitor Docker Swarm clusters

Jonson
Engager

Hi all,

I am currently planning and preparing the monitoring of a platform with Docker Swarm Clusters running on underlying Linux and Windows hosts.

Collecting the docker logs seems straightforward, either with the Splunk logging driver sending it to the HEC or monitoring the logs with an UF on the host. (Please correct me if I'm wrong)

For the docker metrics, I can use some help on the approach to collect this. I found the Splunk app for Infrastructure supports Docker monitoring but only for standalone Linux hosts or for Kubernetes or Openshift, but not for Docker Swarm. Does anyone know why this is not supporting Docker Swarm? Will this be added in a future release?

I found the following solutions to get the Splunk metrics in to Splunk:

 

Any advice on which path I should go for collecting the docker stats with Splunk?

Thanks for you help!

Labels (4)
0 Karma

mattymo
Splunk Employee
Splunk Employee

Frankly, cause Docker swarm and Enterprise (now Mirantis) have mostly lost the war of orchestrators. Are you using an Enterprise supported version?

I would recommend checking out Splunk Smart Agent and Splunk Infra Monitoring which integrates nicely with docker. 

https://github.com/signalfx/signalfx-agent/tree/master/deployments/docker

For logging I would use our Fluentd-hec images as part of the work we do For Splunk Connect for Kubernetes. 

0 Karma
Take the 2021 Splunk Career Survey

Help us learn about how Splunk has
impacted your career by taking the 2021 Splunk Career Survey.

Earn $50 in Amazon cash!