Docker logs and stats equivalent command for docker swarm

Hello,

I have few question on docker swarm:

  1. As docker stats container_name command gives the cpu and memory usage of a container , is there any equivalent way in swarm to get the cpu and memory usage of a node or service or tasks in docker swarm?

  2. In docker engine we can read the standard output of a container that is running any service or application using docker logs container_name, is there any way in docker swarm to obtain the standard output of a tasks that is running in a node, both from the worker node where the task is running and from the manager node?

Hoping to get some reply soon.
Thanks!

Hello, Any idea on this will be appritiated