diff --git a/docker-compose.yml b/docker-compose.yml
index 044d4dc..933dc52 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -40,5 +40,29 @@ services:
- /var/run/docker.sock:/var/run/docker.sock
- portainer_data:/data
+ fluentd:
+ build: ./fluentd
+ container_name: exen-fluentd
+ volumes:
+ - ./fluentd/conf:/fluentd/etc
+ links:
+ - "exen-influxdb"
+ ports:
+ - 24224:24224
+ environment:
+ SERVICE_24224_NAME: 'fluentd'
+ SERVICE_5140_NAME: 'fluentd'
+
+ influxdb:
+ image: influxdb:latest
+ container_name: exen-influxdb
+ volumes:
+ - ./influxdb/data:/var/lib/influxdb
+ environment:
+ INFLUXDB_DATA_ENGINE: 'tsm1'
+ INFLUXDB_REPORTING_DISABLED: 'false'
+ SERVICE_8086_NAME: 'influxdb'
+
+
volumes:
portainer_data:
diff --git a/fluent.conf b/fluent.conf
new file mode 100644
index 0000000..840e9c7
--- /dev/null
+++ b/fluent.conf
@@ -0,0 +1,26 @@
+
+
+
+
diff --git a/fluentd/Dockerfile b/fluentd/Dockerfile
new file mode 100644
index 0000000..1446d54
--- /dev/null
+++ b/fluentd/Dockerfile
@@ -0,0 +1,3 @@
+FROM fluent/fluentd:latest
+
+RUN ["gem", "install", "fluent-plugin-influxdb", "--no-rdoc", "--no-ri"]
diff --git a/fluentd/conf/fluent.conf b/fluentd/conf/fluent.conf
new file mode 100644
index 0000000..6cd9cfc
--- /dev/null
+++ b/fluentd/conf/fluent.conf
@@ -0,0 +1,20 @@
+
+
+
+ @type copy
+
+ @type influxdb
+ host exen-influxdb
+ dbname logging
+ port 8086
+ tag_key @log_name
+ flush_interval 1s
+
+
+ @type stdout
+
+
diff --git a/plugins/.gitkeep b/plugins/.gitkeep
new file mode 100644
index 0000000..e69de29