How to interpret CPU and memory stats?

Hi!

Filebeat logs metric stats in its log file, I am wondering what CPU and memstat mean. Do these show CPU and memory utilization of the beat on the server? Adding a sample for reference.

2023-05-05T10:26:56.954Z        INFO    [monitoring]    log/log.go:145  Non-zero metrics in the last 30s        {"monito
ring": {"metrics": {"beat":{"cpu":{"system":{"ticks":0,"time":{"ms":1}},"total":{"ticks":0,"time":{"ms":1},"value":0},"u
ser":{"ticks":0}},"info":{"ephemeral_id":"4b4a8c30-96a9-49c3-b9be-1753ae17b8da","uptime":{"ms":10081114}},"memstats":{"g
c_next":5970176,"memory_alloc":3293408,"memory_total":62824296},"runtime":{"goroutines":24}},"filebeat":{"harvester":{"o
pen_files":0,"running":0}},"libbeat":{"config":{"module":{"running":0}},"pipeline":{"clients":1,"events":{"active":0}}},
"registrar":{"states":{"current":5}},"system":{"load":{"1":2.1943,"15":2.2223,"5":2.2133,"norm":{"1":0.2743,"15":0.2778,
"5":0.2767}}}}}}

Kindly Assist.

1 Like

Yes that is correct, it's a self monitoring log entry.

Thanks Mark for clarifying this, however I also want to understand how I can interpret this, exactly what does cpu and memstats metrics mean here.

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