Metricbeat: How to monitor podman resources

Thank you for your advice.

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

https://www.elastic.co/guide/en/beats/metricbeat/current/metricbeat-module-system.html

And disabled other default settings below. It worked fine.

/etc/metricbeat/modules.d/system.yml:

#  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"...
"libpod-56677f94b50a7cd0b4472a41b1ec6e16bda7e832a5f3c2c477339b47d799e0b0.scope","nginx","1,310,150,000,000"...

Container Memory stats [Metricbeat System] ECS
"Container ID","Process name","Usage"...
"libpod-56677f94b50a7cd0b4472a41b1ec6e16bda7e832a5f3c2c477339b47d799e0b0.scope","nginx","6447104"...

Container Block IO [Metricbeat System] ECS
"Container ID","Process name",Total,"I/O"
"libpod-56677f94b50a7cd0b4472a41b1ec6e16bda7e832a5f3c2c477339b47d799e0b0.scope","nginx","23126016,276"