[CentOS] ElasticSearch Logrotate not working

Thu Jul 28 14:40:13 UTC 2016
Tim Dunphy <bluethundr at gmail.com>

Hey guys,

 I have this log rotation script setup in my /etc/logrotate.d folder

/var/log/elasticsearch/*.log {
    daily
    rotate 100
    size 50M
    copytruncate
    compress
    delaycompress
    missingok
    notifempty
    create 644 elasticsearch elasticsearch
}

And I notice that log files are still being generated that are upwards of 7
or 8 GBs. Can anyone point out to me where the script is going wrong, and
why log files for ES are growing so incredibly big? I would think that
having that logrotate script in place should solve that problem.

Thanks,
Tim

-- 
GPG me!!

gpg --keyserver pool.sks-keyservers.net --recv-keys F186197B