d3d4a933be
* add fluentd role * remove heka configure Co-Authored-By: yangzb09 <yangzb09@qq.com> Partially-Implements: blueprint add-fluentd-role Change-Id: Ica804a99f5bb8b157f406299c5982b7b6283b3e3
85 lines
2.8 KiB
Django/Jinja
85 lines
2.8 KiB
Django/Jinja
{
|
|
"command": "/usr/sbin/td-agent",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/td-agent.conf",
|
|
"dest": "/etc/td-agent/td-agent.conf",
|
|
"owner": "td-agent",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/input/00-global.conf",
|
|
"dest": "/etc/td-agent/input/00-global.conf",
|
|
"owner": "td-agent",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/input/02-mariadb.conf",
|
|
"dest": "/etc/td-agent/input/02-mariadb.conf",
|
|
"owner": "td-agent",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/input/03-rabbitmq.conf",
|
|
"dest": "/etc/td-agent/input/03-rabbitmq.conf",
|
|
"owner": "td-agent",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/input/01-syslog.conf",
|
|
"dest": "/etc/td-agent/input/01-syslog.conf",
|
|
"owner": "td-agent",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/filter/00-record_transformer.conf",
|
|
"dest": "/etc/td-agent/filter/00-record_transformer.conf",
|
|
"owner": "td-agent",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/filter/01-rewrite.conf",
|
|
"dest": "/etc/td-agent/filter/01-rewrite.conf",
|
|
"owner": "td-agent",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/format/apache_access.conf",
|
|
"dest": "/etc/td-agent/format/apache_access.conf",
|
|
"owner": "td-agent",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/format/wsgi_access.conf",
|
|
"dest": "/etc/td-agent/format/wsgi_access.conf",
|
|
"owner": "td-agent",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/format/wsgi_python.conf",
|
|
"dest": "/etc/td-agent/format/wsgi_python.conf",
|
|
"owner": "td-agent",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/output/01-es.conf",
|
|
"dest": "/etc/td-agent/output/01-es.conf",
|
|
"owner": "td-agent",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/output/00-local.conf",
|
|
"dest": "/etc/td-agent/output/00-local.conf",
|
|
"owner": "td-agent",
|
|
"perm": "0600"
|
|
}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/var/log/kolla",
|
|
"owner": "td-agent:td-agent",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|