You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cloudwatchlogs-with-dlq/cloudwatchlogs_lambda.js
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -70,11 +70,12 @@ function getConfig(env) {
70
70
// SumoLogic Endpoint to post logs
71
71
"SumoURL": env.SUMO_ENDPOINT,
72
72
73
-
// The following parameters override the sourceCategory, sourceHostand sourceName metadata fields within SumoLogic.
73
+
// The following parameters override the sourceCategory, sourceHost, sourceName and sourceFields metadata fields within SumoLogic.
74
74
// Not these can also be overridden via json within the message payload. See the README for more information.
75
75
"sourceCategoryOverride": ("SOURCE_CATEGORY_OVERRIDE"inenv) ? env.SOURCE_CATEGORY_OVERRIDE: '',// If none sourceCategoryOverride will not be overridden
76
-
"sourceHostOverride": ("SOURCE_HOST_OVERRIDE"inenv) ? env.SOURCE_HOST_OVERRIDE : '',// If none sourceHostOverride will not be set to the name of the logGroup
77
-
"sourceNameOverride": ("SOURCE_NAME_OVERRIDE"inenv) ? env.SOURCE_NAME_OVERRIDE : '',// If none sourceNameOverride will not be set to the name of the logStream
76
+
"sourceFieldsOverride": ("SOURCE_FIELDS_OVERRIDE"inenv) ? env.SOURCE_FIELDS_OVERRIDE: '',// If none sourceFieldsOverride will not be overridden
77
+
"sourceHostOverride": ("SOURCE_HOST_OVERRIDE"inenv) ? env.SOURCE_HOST_OVERRIDE : '',// If none sourceHostOverride will not be set to the name of the logGroup
78
+
"sourceNameOverride": ("SOURCE_NAME_OVERRIDE"inenv) ? env.SOURCE_NAME_OVERRIDE : '',// If none sourceNameOverride will not be set to the name of the logStream
0 commit comments