-
Notifications
You must be signed in to change notification settings - Fork 133
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
53edfd0
commit f69b848
Showing
10 changed files
with
74 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
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,14 @@ | ||
@INCLUDE /ecs/service.conf | ||
@INCLUDE /ecs/input-forward.conf | ||
@INCLUDE /ecs/ecs-metadata.conf | ||
|
||
[OUTPUT] | ||
Name es | ||
Match * | ||
Host ${ES_ENDPOINT} | ||
Port 443 | ||
Index ${INDEX} | ||
Type ${TYPE} | ||
AWS_Auth On | ||
AWS_Region ${ES_REGION} | ||
tls On |
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,11 @@ | ||
@INCLUDE /ecs/service.conf | ||
@INCLUDE /ecs/input-forward.conf | ||
@INCLUDE /ecs/ecs-metadata.conf | ||
|
||
[OUTPUT] | ||
Name cloudwatch_logs | ||
Match * | ||
region ${AWS_REGION} | ||
log_group_name /aws/ecs/containerinsights/${ECS_CLUSTER}/application | ||
log_stream_prefix ecs- | ||
auto_create_group On |
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 @@ | ||
[FILTER] | ||
Name record_modifier | ||
Match * | ||
Record ecs_cluster ${ECS_CLUSTER} | ||
Record ecs_task_arn ${ECS_TASK_ARN} | ||
Record ecs_task_definition ${ECS_TASK_DEFINITION} |
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 @@ | ||
[FILTER] | ||
Name parser | ||
Match * | ||
Key_Name log | ||
Parser ${PARSER_NAME} |
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,9 @@ | ||
@INCLUDE /ecs/service.conf | ||
@INCLUDE /ecs/input-forward.conf | ||
@INCLUDE /ecs/ecs-metadata.conf | ||
|
||
[OUTPUT] | ||
Name kinesis_firehose | ||
Match * | ||
region ${FIREHOSE_REGION} | ||
delivery_stream ${DELIVERY_STREAM} |
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,3 @@ | ||
[INPUT] | ||
Name forward | ||
unix_path /var/run/fluent.sock |
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,9 @@ | ||
@INCLUDE /ecs/service.conf | ||
@INCLUDE /ecs/input-forward.conf | ||
@INCLUDE /ecs/ecs-metadata.conf | ||
|
||
[OUTPUT] | ||
Name kinesis_streams | ||
Match * | ||
region ${KINESIS_REGION} | ||
stream ${STREAM} |
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,14 @@ | ||
@INCLUDE /ecs/service.conf | ||
@INCLUDE /ecs/input-forward.conf | ||
@INCLUDE /ecs/ecs-metadata.conf | ||
|
||
[OUTPUT] | ||
Name s3 | ||
Match * | ||
bucket ${BUCKET} | ||
region ${S3_REGION} | ||
total_file_size 1M | ||
upload_timeout 1m | ||
use_put_object On | ||
s3_key_format /${ECS_CLUSTER}/${TASK_ID}/$TAG[0]/%Y/%m/%d/%H/%M/%S | ||
s3_key_format_tag_delimiters .- |
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,2 @@ | ||
[SERVICE] | ||
Grace 30 |