You have a lot of logs there. Try to process older in few steps, by month/year or something like.
Another option is to reduce CPU number.
Sets the maximum number of CPUs that can be executing simultaneously. The default is the number of logical CPUs available in the system.
If the CPU load is still high, after changing max_procs, read this topic. The blog about tuning Beats can be found here.