Add logrotate configuration for elasticsearch

Change-Id: I6af9935e46dcd3c2f9ea18545e059e055b840d90
Closes-bug: #1634223
This commit is contained in:
Christian Berendt 2016-10-17 20:50:58 +02:00
parent 982f6ff442
commit 8775123b23
3 changed files with 6 additions and 1 deletions

View File

@ -27,7 +27,7 @@
with_items:
- { name: "aodh", enabled: "{{ enable_aodh }}" }
- { name: "barbican", enabled: "{{ enable_barbican }}"}
- { name: "elasticsearch", enabled: "{{ enable_central_logging }}" }
- { name: "elasticsearch", enabled: "{{ enable_elasticsearch }}" }
- { name: "global", enabled: "yes" }
- { name: "gnocchi", enabled: "{{ enable_gnocchi }}" }
- { name: "haproxy", enabled: "{{ enable_haproxy }}" }
@ -74,6 +74,7 @@
- { name: "barbican", enabled: "{{ enable_barbican }}" }
- { name: "cinder", enabled: "{{ enable_cinder }}" }
- { name: "cloudkitty", enabled: "{{ enable_cloudkitty }}" }
- { name: "elasticsearch", enabled: "{{ enable_elasticsearch }}" }
- { name: "glance", enabled: "{{ enable_glance }}" }
- { name: "global", enabled: "yes" }
- { name: "gnocchi", enabled: "{{ enable_gnocchi }}" }

View File

@ -0,0 +1,3 @@
"/var/log/kolla/elasticsearch/*.log"
{
}

View File

@ -5,6 +5,7 @@
( 'barbican', enable_barbican ),
( 'cinder', enable_cinder ),
( 'cloudkitty', enable_cloudkitty ),
( 'elasticsearch', enable_elasticsearch ),
( 'glance', enable_glance ),
( 'gnocchi', enable_gnocchi ),
( 'haproxy', enable_haproxy ),