I am using filebeat to collect log files.
I'm using filebeat to collect log files, and on one of my servers, filebeat's memory usage is high.
I would like to limit the memory usage of filebeat.
I have set up
queue.mem by referring to the following page, but the situation is the same as before.
(I think the default value was used because it was not mentioned before the configuration)
Why does the memory usage not change?
Also, is there a better way?
vi /etc/filebeat/filebeat.yml ... snip ... # ======= configuring internal queue ======= queue.mem: events: 128 flush.min_events: 64 flush.timeout: 5s
top PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1851 mysql 20 0 6724m 3.8g 6608 S 7.3 48.3 50:59.88 mysqld 2229 root 20 0 1075m 57m 23m S 2.7 0.7 0:04.29 filebeat