Metricbeat: How to monitor podman resources

Hi Team

CentOS 7.7
metricbeat 7.5.2
podman 1.4.4-4

I'm using podman ( for run containers.
Podman is a daemonless container engine for developing, managing, and running OCI Containers on your Linux System.

Please tell me how to monitor containers, such as monitoring cgroups directly without using docker api.

This page says it can be done, but I don't know how to set it.
: It does this by directly reading the cgroups information from the proc file system, which means that it doesn’t need privileged access to the Docker API and works for other runtimes as well.

cgroups: true
process.cgroups.enabled: true

The above did not work.

best regards,


You can use something like what you already tried. You can find more information about this blogpost.

Also if you have Kubernetes involved you can use Kubernetes module directly.


Thank you for your advice.

The default settings were:
process.cgroups.enabled: true

And disabled other default settings below. It worked fine.


#  process.include_top_n:
#    by_cpu: 5      # include top 5 processes by CPU
#    by_memory: 5   # include top 5 processes by memory

I was able to get the value with kibana.

Thank you !

Dashboard [Metricbeat System] Containers overview ECS

Container CPU usage [Metricbeat System] ECS
"Container ID","Process name","CPU user"...

Container Memory stats [Metricbeat System] ECS
"Container ID","Process name","Usage"...

Container Block IO [Metricbeat System] ECS
"Container ID","Process name",Total,"I/O"

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