Logging support

- fluentd
- influxdb
This commit is contained in:
Aleksander Cynarski 2018-11-30 16:34:52 +01:00
parent d367ba2b25
commit d69ac19d36
3 changed files with 4 additions and 3 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
tags tags
storage

View File

@ -47,7 +47,7 @@ services:
volumes: volumes:
- ./fluentd/conf:/fluentd/etc - ./fluentd/conf:/fluentd/etc
links: links:
- "exen-influxdb" - "influxdb"
ports: ports:
- 24224:24224 - 24224:24224
environment: environment:
@ -59,7 +59,7 @@ services:
restart: always restart: always
container_name: influxdb_elena container_name: influxdb_elena
volumes: volumes:
- ./influxdb/data:/var/lib/influxdb - ./storage/influxdb/data:/var/lib/influxdb
environment: environment:
INFLUXDB_DATA_ENGINE: 'tsm1' INFLUXDB_DATA_ENGINE: 'tsm1'
INFLUXDB_REPORTING_DISABLED: 'false' INFLUXDB_REPORTING_DISABLED: 'false'

View File

@ -8,7 +8,7 @@
@type copy @type copy
<store> <store>
@type influxdb @type influxdb
host exen-influxdb host influxdb_elena
dbname logging dbname logging
port 8086 port 8086
tag_key @log_name tag_key @log_name