'Add data from AWS Cloudwatch to Kinesis
I have data in CloudWatch logs, where were sent ip addresses. For example,
{ "requestId":"test", "ip": "0.0.0.0", "requestTime":"24/May/2022", "httpMethod":"POST", ...}
Also, I have Data Stream in Kinesis, where were sent data with status 200
{
"Records": [
{
"SequenceNumber": "test",
"Data": {
test
},
"PartitionKey": "test"
}
],
"NextShardIterator": "test"
"MillisBehindLatest": 0,
"ResponseMetadata": {
"RequestId": "test",
"HTTPStatusCode": 200,
"HTTPHeaders": {
...
},
"RetryAttempts": 1
}
}
Is it possible to add IP for each record?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
