Gc.log elasticsearch

Hello, I have a question.

I need some more disk space and I saw that there are a lot of gc.log logs in the var/ log / elasticsearch directory

Can I delete these gc.log files manually?

If I delete, will I have a problem?

Hi,

garbage collections logs allow you to analyze the behavior of the garbage collector of the Java virtual machine so if you don't need them for this purpose, it is safe to delete them. Please see also our docs about the configuration of GC logging.

Daniel

Ok, thanks!