# Measure CPU/Memory for custom libbeat application

**URL:** <https://discuss.elastic.co/t/measure-cpu-memory-for-custom-libbeat-application/343538>\
**Category:** Beats\
**Tags:** libbeat\
**Created:** [September 21, 2023, 12:23pm UTC](https://discuss.elastic.co/t/measure-cpu-memory-for-custom-libbeat-application/343538 "2023-09-21T12:23:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nikhil\_Khurana](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nikhil_khurana/32/119984_2.png) [@Nikhil\_Khurana](https://discuss.elastic.co/u/Nikhil_Khurana)\
**Post date:** [September 21, 2023, 12:23pm UTC](https://discuss.elastic.co/t/measure-cpu-memory-for-custom-libbeat-application/343538/1 "2023-09-21T12:23:02Z")

</div>

I have built a custom beat using libbeat library that parses my application logs as intended. Is there an out of the box configuration that can be added in yml file to log cpu and memory stats for this beat. I can use Metricbeat to measure these stats for custom beat but I want to log them periodically in logs as filebeat does.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 19, 2023, 2:23pm UTC](https://discuss.elastic.co/t/measure-cpu-memory-for-custom-libbeat-application/343538/2 "2023-10-19T14:23:37Z")

</div>

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