aboutsummaryrefslogtreecommitdiffstats
path: root/community/elasticsearch/elasticsearch.logrotated
diff options
context:
space:
mode:
Diffstat (limited to 'community/elasticsearch/elasticsearch.logrotated')
-rw-r--r--community/elasticsearch/elasticsearch.logrotated5
1 files changed, 5 insertions, 0 deletions
diff --git a/community/elasticsearch/elasticsearch.logrotated b/community/elasticsearch/elasticsearch.logrotated
new file mode 100644
index 0000000000..39eb6c15af
--- /dev/null
+++ b/community/elasticsearch/elasticsearch.logrotated
@@ -0,0 +1,5 @@
+/var/log/elasticsearch/*.log {
+ compress
+ copytruncate
+ missingok
+}