380418f351
* Make number of threads configurable * Improve naming * Update path and log options for Logstash 2.4 * Use the correct logs directory Partially-Implements: blueprint monasca-roles Change-Id: I09388de4d31740f2786393c957201bd037572226
25 lines
804 B
Django/Jinja
25 lines
804 B
Django/Jinja
{
|
|
"command": "/opt/logstash/bin/logstash --log-in-json --log /var/log/kolla/logstash/monasca-log-persister.log -f /etc/logstash/conf.d/log-persister.conf",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/log-persister.conf",
|
|
"dest": "/etc/logstash/conf.d/log-persister.conf",
|
|
"owner": "logstash",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/elasticsearch-template.json",
|
|
"dest": "/etc/logstash/elasticsearch-template.json",
|
|
"owner": "logstash",
|
|
"perm": "0600"
|
|
}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/log/kolla/logstash",
|
|
"owner": "logstash:kolla",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|