change e.s. package to elasticsearch,
add maxLogs options (to delete old logs)