I've installed logstash in Ubuntu20 and started using systemd.No further configuration.the cpu consumption is almost 100% for all 8core.
There is a thread related to this https://discuss.elastic.co/t/logstash-thread-using-high-cpu-usage/297634 it mentions about groak patterns, but I haven't added anything so far, apart from starting it.