Metricbeat not getting the Logstash Containers

So I deployed metricbeat on an ECS cluster, in the "Number of Containers" visualization in the default Docker dashboard, it says 15 running. but in the "Docker Containers" visualization, the containers aren't 15, when I checked the containers, the containers missing were all Logstash images.
Are there any issues regarding Metricbeat on getting container metrics?
I already set the size of the visualization to 20.