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
storage

View File

@ -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'

View File

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