Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
akash1810 committed Oct 13, 2023
1 parent 19b5050 commit 7541161
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 11 deletions.
1 change: 1 addition & 0 deletions ecs/Dockerfile
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
22 changes: 11 additions & 11 deletions ecs/custom.conf
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
[SERVICE]
Parsers_File /fluent-bit/parsers/parsers.conf
Parsers_File /parsers.conf

[FILTER]
Name modify
Name parser
Match *
Add ShippedBy devx-logs-for-ecs
Add stack ${STACK}
Add stage ${STAGE}
Add app ${APP}
Add gu:repo ${GU_REPO}
Rename log message
Key_Name message
Parser ecs-json

[FILTER]
Name parser
Name modify
Match *
Key_Name message
Parser docker
Add ShippedBy devx-logs-for-ecs
# Add stack ${STACK}
# Add stage ${STAGE}
# Add app ${APP}
# Add gu:repo ${GU_REPO}
Rename log message
5 changes: 5 additions & 0 deletions ecs/parsers.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[PARSER]
Name ecs-json
Format json
Time_Key time
Time_Format %Y-%m-%dT%H:%M:%SZ

0 comments on commit 7541161

Please sign in to comment.