From d69ac19d3689afcc721aa0058e263c9ba0b474a7 Mon Sep 17 00:00:00 2001 From: Aleksander Cynarski Date: Fri, 30 Nov 2018 16:34:52 +0100 Subject: [PATCH] Logging support - fluentd - influxdb --- .gitignore | 1 + docker-compose.yml | 4 ++-- fluentd/conf/fluent.conf | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 6e92f57..ecdc809 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ tags +storage diff --git a/docker-compose.yml b/docker-compose.yml index 1cbbe9d..38d4ec5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -47,7 +47,7 @@ services: volumes: - ./fluentd/conf:/fluentd/etc links: - - "exen-influxdb" + - "influxdb" ports: - 24224:24224 environment: @@ -59,7 +59,7 @@ services: restart: always container_name: influxdb_elena volumes: - - ./influxdb/data:/var/lib/influxdb + - ./storage/influxdb/data:/var/lib/influxdb environment: INFLUXDB_DATA_ENGINE: 'tsm1' INFLUXDB_REPORTING_DISABLED: 'false' diff --git a/fluentd/conf/fluent.conf b/fluentd/conf/fluent.conf index 6cd9cfc..4f268d8 100644 --- a/fluentd/conf/fluent.conf +++ b/fluentd/conf/fluent.conf @@ -8,7 +8,7 @@ @type copy @type influxdb - host exen-influxdb + host influxdb_elena dbname logging port 8086 tag_key @log_name