Filter event log ids should be strings
Based on the boto docs, eventId should be returned as a string. https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/logs.html#CloudWatchLogs.Client.filter_log_events
This commit is contained in:
parent
dfa7935e13
commit
3afb2862c0
2 changed files with 6 additions and 2 deletions
|
|
@ -19,7 +19,7 @@ class LogEvent:
|
|||
|
||||
def to_filter_dict(self):
|
||||
return {
|
||||
"eventId": self.eventId,
|
||||
"eventId": str(self.eventId),
|
||||
"ingestionTime": self.ingestionTime,
|
||||
# "logStreamName":
|
||||
"message": self.message,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue