-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1c98d1c
commit 71010a5
Showing
4 changed files
with
70 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
FROM fluent/fluent-bit:1.9.8 | ||
COPY ./fluent-bit.conf /fluent-bit/etc/fluent-bit.conf | ||
COPY ./fluent-bit-dev.conf /fluent-bit/etc/fluent-bit-dev.conf | ||
COPY ./parsers.conf /fluent-bit/etc/parsers.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
[SERVICE] | ||
Parsers_file /fluent-bit/etc/parsers.conf | ||
Flush 1 | ||
Grace 30 | ||
[INPUT] | ||
Name http | ||
Host 0.0.0.0 | ||
Port 24224 | ||
[FILTER] | ||
Name parser | ||
Match * | ||
Key_Name log | ||
Parser jsonparser | ||
Reserve_Data True | ||
[OUTPUT] | ||
Name file | ||
Match * | ||
Path /logs | ||
Mkdir true | ||
Format csv | ||
# [OUTPUT] | ||
# Name influxdb | ||
# match * | ||
# Host hostly-influxdb | ||
# Port 8086 | ||
# Database hostly | ||
# Bucket hostly | ||
# Org hostly | ||
# HTTP_Token 12345678 | ||
# Sequence_Tag _seq |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
[SERVICE] | ||
Parsers_file /fluent-bit/etc/parsers.conf | ||
Flush 1 | ||
Grace 30 | ||
[INPUT] | ||
Name http | ||
Host 0.0.0.0 | ||
Port 24224 | ||
[FILTER] | ||
Name parser | ||
Match * | ||
Key_Name log | ||
Parser jsonparser | ||
Reserve_Data True | ||
[OUTPUT] | ||
Name file | ||
Match * | ||
Path /app/logs | ||
Mkdir true | ||
Format csv | ||
# [OUTPUT] | ||
# Name influxdb | ||
# match * | ||
# Host hostly-influxdb | ||
# Port 8086 | ||
# Database hostly | ||
# Bucket hostly | ||
# Org hostly | ||
# HTTP_Token 12345678 | ||
# Sequence_Tag _seq |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
[PARSER] | ||
Name jsonparser | ||
Format json | ||
Time_Key time | ||
Time_Format %Y-%m-%dT%H:%M:%S.%L | ||
Time_Keep On |