File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 32
32
}
33
33
34
34
35
- host = "intake.logs.datadoghq.com"
35
+ host = "lambda- intake.logs.datadoghq.com"
36
36
ssl_port = 10516
37
37
cloudtrail_regex = re .compile ('\d+_CloudTrail_\w{2}-\w{4,9}-\d_\d{8}T\d{4}Z.+.json.gz$' , re .I )
38
38
@@ -108,7 +108,7 @@ def parse_event_type(event):
108
108
109
109
elif "awslogs" in event :
110
110
return "awslogs"
111
-
111
+
112
112
elif "detail" in event :
113
113
return "events"
114
114
raise Exception ("Event type not supported (see #Event supported section)" )
@@ -182,9 +182,9 @@ def awslogs_handler(event):
182
182
183
183
#Handle Cloudwatch Events
184
184
def cwevent_handler (event ):
185
-
185
+
186
186
data = event
187
-
187
+
188
188
#Set the source on the log
189
189
source = data .get ("source" , "cloudwatch" )
190
190
service = source .split ("." )
You can’t perform that action at this time.
0 commit comments