-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32 from guardian/aa/ecs-parser
fix: Use custom parser to correctly process time field
- Loading branch information
Showing
3 changed files
with
16 additions
and
6 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 |
---|---|---|
@@ -1,2 +1,3 @@ | ||
FROM amazon/aws-for-fluent-bit:latest | ||
ADD parsers.conf /parsers.conf | ||
ADD custom.conf /custom.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 |
---|---|---|
@@ -1,18 +1,22 @@ | ||
[SERVICE] | ||
Parsers_File /fluent-bit/parsers/parsers.conf | ||
Parsers_File /parsers.conf | ||
|
||
[FILTER] | ||
Name modify | ||
Match * | ||
Add ShippedBy devx-logs-for-ecs | ||
Add stack ${STACK} | ||
Add stage ${STAGE} | ||
Add app ${APP} | ||
Add gu:repo ${GU_REPO} | ||
Rename log message | ||
|
||
[FILTER] | ||
Name parser | ||
Match * | ||
Key_Name message | ||
Parser json | ||
|
||
[FILTER] | ||
Name modify | ||
Match * | ||
Add ShippedBy devx-logs | ||
Add stack ${STACK} | ||
Add stage ${STAGE} | ||
Add app ${APP} | ||
Add gu:repo ${GU_REPO} |
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,5 @@ | ||
[PARSER] | ||
Name json | ||
Format json | ||
Time_Key time | ||
Time_Format %Y-%m-%dT%H:%M:%SZ |