Skip to content

Commit e64128c

Browse files
Add LOG_STREAM_PREFIX in Cloudformation template
1 parent bd4b656 commit e64128c

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

cloudwatchlogs-with-dlq/DLQLambdaCloudFormation.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@
2828
"Default": "false",
2929
"AllowedValues" : ["true" ,"false"],
3030
"Description": "Select true to get loggroup/logstream values in logs"
31+
},
32+
"LogStreamPrefix": {
33+
"Type": "String",
34+
"Description": "Enter comma separated list of logStream name prefixes to filter by logStream"
3135
}
3236
},
3337
"Mappings" : {
@@ -221,7 +225,8 @@
221225
"Variables": {
222226
"SUMO_ENDPOINT": {"Ref": "SumoEndPointURL"},
223227
"LOG_FORMAT": {"Ref": "LogFormat"},
224-
"INCLUDE_LOG_INFO": {"Ref": "IncludeLogGroupInfo"}
228+
"INCLUDE_LOG_INFO": {"Ref": "IncludeLogGroupInfo"},
229+
"LOG_STREAM_PREFIX": {"Ref": "LogStreamPrefix"}
225230

226231
}
227232
}
@@ -296,7 +301,8 @@
296301
},
297302
"NUM_OF_WORKERS": {"Ref": "NumOfWorkers"},
298303
"LOG_FORMAT": {"Ref": "LogFormat"},
299-
"INCLUDE_LOG_INFO": {"Ref": "IncludeLogGroupInfo"}
304+
"INCLUDE_LOG_INFO": {"Ref": "IncludeLogGroupInfo"},
305+
"LOG_STREAM_PREFIX": {"Ref": "LogStreamPrefix"}
300306
}
301307
}
302308
}

0 commit comments

Comments
 (0)