33 {
44 "path": "/v1/input/abcdefghijklmnopqrstuvwxyz012345",
55 "verb": "POST",
6- "data": "[{\"message\": \"Error parsing the object. Exception: Event type not supported (see #Event supported section) for event {}\", \"ddsourcecategory\": \"aws\", \"aws\": {\"function_version\": \"$LATEST\", \"invoked_function_arn\": \"arn:aws:lambda:us-east-1:0:function:test\"}, \"ddtags\": \"forwardername:test,forwarder_memorysize:1536,forwarder_version:3.2.0\"}]"
6+ "data": [
7+ {
8+ "id": "eventId1",
9+ "timestamp": 1440442987000,
10+ "message": "[ERROR] First test message",
11+ "aws": {
12+ "awslogs": {
13+ "logGroup": "testLogGroup",
14+ "logStream": "testLogStream",
15+ "owner": "123456789123"
16+ },
17+ "function_version": "$LATEST",
18+ "invoked_function_arn": "arn:aws:lambda:us-east-1:0:function:test"
19+ },
20+ "ddsourcecategory": "aws",
21+ "ddtags": "forwardername:test,forwarder_memorysize:1536,forwarder_version:3.2.0",
22+ "ddsource": "cloudwatch",
23+ "service": "cloudwatch",
24+ "host": "testLogGroup"
25+ },
26+ {
27+ "id": "eventId2",
28+ "timestamp": 1440442987001,
29+ "message": "[ERROR] Second test message",
30+ "aws": {
31+ "awslogs": {
32+ "logGroup": "testLogGroup",
33+ "logStream": "testLogStream",
34+ "owner": "123456789123"
35+ },
36+ "function_version": "$LATEST",
37+ "invoked_function_arn": "arn:aws:lambda:us-east-1:0:function:test"
38+ },
39+ "ddsourcecategory": "aws",
40+ "ddtags": "forwardername:test,forwarder_memorysize:1536,forwarder_version:3.2.0",
41+ "ddsource": "cloudwatch",
42+ "service": "cloudwatch",
43+ "host": "testLogGroup"
44+ }
45+ ]
746 }
847 ]
948}
0 commit comments