File elasticsearch.logrotate of Package elasticsearch

/var/log/elasticsearch/*.log {
        su elasticsearch elasticsearch
        daily
        rotate 7
        copytruncate
        compress
        missingok
        notifempty
}