0
私はいくつかのコードからログイベントを投稿するためにboto3を使用しています。結果は、0バイトが格納されていることを示しています - それ以外はすべて有効です。次のsequenceTokenとcreationtimeですが、ログにイベントはありません。送信しているメッセージは単純なものですmessage = "test"
。この関数を呼び出すと、ログストリーム型の予期しない結果が返されます。誰がこれを引き起こしているのか知っていますか?期待していたドキュメントからクラウドウォッチboto3 put_log_events誤った返信
{'storedBytes': 0, 'creationTime': 1481640079355,
'uploadSequenceToken': 'validtoken',
'logStreamName': 'test_stream_1',
'lastIngestionTime': 1481640079447,
'arn': 'arn:aws:logs:us-east-1:[aws_id]:log-group:test_group:log-stream:test_stream_1'}
:
{
'nextSequenceToken': 'string',
'rejectedLogEventsInfo': {
'tooNewLogEventStartIndex': 123,
'tooOldLogEventEndIndex': 123,
'expiredLogEventEndIndex': 123
}
}