try async-connect for container logging to fluentd

This commit is contained in:
2017-11-11 09:34:46 -05:00
parent 1d814563e4
commit 785db4ec18
10 changed files with 21 additions and 0 deletions

View File

@@ -45,4 +45,5 @@ services:
driver: fluentd
options:
fluentd-address: "logs.xai-corp.net:24224"
fluentd-async-connect: 'true'
tag: dkregistry

View File

@@ -31,4 +31,5 @@ services:
driver: fluentd
options:
fluentd-address: "logs.xai-corp.net:24224"
fluentd-async-connect: 'true'
tag: gitea

View File

@@ -47,4 +47,5 @@ services:
driver: fluentd
options:
fluentd-address: "logs.xai-corp.net:24224"
fluentd-async-connect: 'true'
tag: letsencrypt-update

View File

@@ -33,6 +33,7 @@ services:
driver: fluentd
options:
fluentd-address: "logs.xai-corp.net:24224"
fluentd-async-connect: 'true'
tag: nextcloud
collabora:

View File

@@ -20,6 +20,7 @@ services:
- /opt/shared/logs:/fluentd/log
ports:
- "24224:24224"
- "24224:24224/udp"
deploy:

View File

@@ -24,6 +24,7 @@ services:
driver: fluentd
options:
fluentd-address: "logs.xai-corp.net:24224"
fluentd-async-connect: 'true'
tag: sslproxy
# logging:

View File

@@ -35,4 +35,5 @@ services:
driver: fluentd
options:
fluentd-address: "logs.xai-corp.net:24224"
fluentd-async-connect: 'true'
tag: dkui

View File

@@ -81,6 +81,7 @@
- user-richard
- rsyslog
- motd
- vbox-guest
- { role: Datadog.datadog, when: ansible_architecture != 'armv7l' } #does not support armhf architecture. should switch to fluentd or logstash
- { role: ddagent_source, when: ansible_architecture == 'armv7l' }

View File

@@ -0,0 +1,11 @@
---
# install virtual box guest additions on ubuntu16.04
- name: install system packages
apt:
state: present
name: "{{item}}"
update_cache: yes
with_items:
- virtualbox-guest-dkms
when: ansible_virtualization_role == "guest"

View File

@@ -10,3 +10,5 @@
tasks:
- name: test connection
ping:
- debug: var=ansible_virtualization_role