logging config
This commit is contained in:
parent
3ad0db6973
commit
62687973fc
3 changed files with 22 additions and 2 deletions
10
templates/elasticsearch-logrotate.j2
Normal file
10
templates/elasticsearch-logrotate.j2
Normal file
|
@ -0,0 +1,10 @@
|
|||
/var/log/elasticsearch/elasticsearch.log {
|
||||
daily
|
||||
missingok
|
||||
rotate 30
|
||||
compress
|
||||
delaycompress
|
||||
notifempty
|
||||
create 640 elasticsearch elasticsearch
|
||||
su root elasticsearch
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue