Skip to content

Commit f890bcb

Browse files
committed
Modifies the image to run kafka-rest ouput instead of es
1 parent a60e804 commit f890bcb

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

docker-image/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM fluent/fluent-bit:0.11.15
1+
FROM fluent/fluent-bit:0.12-dev
22
MAINTAINER Eduardo Silva <[email protected]>
33
USER root
44

docker-image/fluent-bit.conf

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,14 @@
1919
Merge_JSON_Log On
2020

2121
[OUTPUT]
22-
Name es
23-
Match *
24-
Host ${FLUENT_ELASTICSEARCH_HOST}
25-
Port ${FLUENT_ELASTICSEARCH_PORT}
26-
Logstash_Format On
27-
Retry_Limit False
22+
Name kafka-rest
23+
Match *
24+
Host ${KAFKA_REST_HOST}
25+
Port ${KAFKA_REST_PORT}
26+
Time_Key @timestamp
27+
Tag_Key _fluent-tag
28+
Include_Tag_Key On
29+
Tag_Key My_Tag_Key
30+
Topic ${KAFKA_TOPIC}
31+
# Partition 0
32+
# Message_Key abc

0 commit comments

Comments
 (0)