Update Monasca Log Persister config
* 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
This commit is contained in:
parent
b1dee2d85b
commit
380418f351
@ -4,7 +4,9 @@ input {
|
||||
kafka {
|
||||
zk_connect => "{{ monasca_zookeeper_servers }}"
|
||||
topic_id => "{{ monasca_transformed_logs_topic }}"
|
||||
group_id => "transformer-logstash-consumer"
|
||||
group_id => "log_persister"
|
||||
consumer_id => "log_persister_{{ ansible_hostname }}"
|
||||
consumer_threads => "{{ monasca_log_pipeline_threads }}"
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
{
|
||||
"command": "/usr/share/logstash/bin/logstash --log-in-json --log /var/log/kolla/monasca/monasca-log-persister.log -f /etc/logstash/conf.d/log-persister.conf",
|
||||
"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",
|
||||
@ -16,7 +16,7 @@
|
||||
],
|
||||
"permissions": [
|
||||
{
|
||||
"path": "/var/log/kolla/monasca",
|
||||
"path": "/var/log/kolla/logstash",
|
||||
"owner": "logstash:kolla",
|
||||
"recurse": true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user