{
    "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"
        },{% if enable_elasticsearch | bool %}
        {
            "source": "{{ container_config_directory }}/output/01-es.conf",
            "dest": "/etc/td-agent/output/01-es.conf",
            "owner": "td-agent",
            "perm": "0600"
        },{% endif %}
        {
            "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/haproxy",
            "owner": "td-agent:td-agent",
            "recurse": true
        },
        {
            "path": "/var/log/kolla/swift",
            "owner": "td-agent:td-agent",
            "recurse": true
        }
    ]

}
