嗨,大家好我試圖把登錄亞馬遜CloudWatchLogs這樣的:亞馬遜CloudWatchLogs putLogEvents
$response2 = $amzonLoger->putLogEvents([
'logGroupName' => 'myGroup',
'logStreamName' => 'myStream',
'logEvents' => [
[
'timestamp' => time(),
'message' => 'message'
],
],
'sequenceToken' => lastToken,
]);
var_dump($response2);
但總是我這樣的響應:
bject(Guzzle\Service\Resource\Model)#289 (2) { ["structure":protected]=> NULL ["data":protected]=> array(2) { ["nextSequenceToken"]=> string(56) "495401145812734324234234236420825819917076850" ["rejectedLogEventsInfo"]=> array(1) { ["tooOldLogEventEndIndex"]=> int(1) } } }
ü可以幫助我瞭解有哪些呢意思是[「rejectedLogEventsInfo」] => array(1){[「tooOldLogEventEndIndex」] => int(1),我將非常感謝幫助。