How to add the swarm cluster metadata?

I want to collect logs from services with swarm cluster?
But I can't add a label .
Maybe there is a workaround?
Thank you!

Hi @alex16,

I'm not very familiar with swarm and there is no native support at beats, but probably you can take advantage of add_docker_metadata processor to gather the labels that should tell you the service a pod belongs to.

Have checked this out? -->

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.