Getting Data In

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. 

- MattyMo
0 Karma
Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

 (view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...