I'm observing high CPU utilization with filebeat in trivial cases when running on Amazon Linux
Given a fresh install of filebeat with the config:
filebeat.inputs:
- paths: [/var/log/testlog]
type: log
logging.level: debug
output.file:
path: "/tmp/filebeat"
enabled: true
/var/log/testlog is an empty file that I touch on the system.
When I run top I see:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
22329 root 20 0 561m 40m 28m S 100.2 8.7 0:27.71 filebeat
I'm running filebeat as a service with the init.d script and my registry does not exist on startup.
This configuration was not creating high CPU usage for 6.3.2
What's causing the high CPU usage?