AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Every PutLogEvents request must include the sequenceToken
obtained from the response of the previous request. An upload in a newly created log
stream does not require a sequenceToken
.
The batch of events must satisfy the following constraints:
timestamp
.Namespace: Amazon.CloudWatchLogs.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class PutLogEventsRequest : AmazonCloudWatchLogsRequest IRequestEvents
The PutLogEventsRequest type exposes the following members
Name | Description | |
---|---|---|
PutLogEventsRequest() | Empty constructor used to set properties independently even when a simple constructor is available | |
PutLogEventsRequest(string, string, List<InputLogEvent>) |
Name | Type | Description | |
---|---|---|---|
LogEvents | System.Collections.Generic.List<Amazon.CloudWatchLogs.Model.InputLogEvent> | Gets and sets the property LogEvents. | |
LogGroupName | System.String |
Gets and sets the property LogGroupName.
The name of the log group to put log events to. |
|
LogStreamName | System.String |
Gets and sets the property LogStreamName.
The name of the log stream to put log events to. |
|
SequenceToken | System.String |
Gets and sets the property SequenceToken.
A string token that must be obtained from the response of the previous |
.NET Framework:
Supported in: 4.5, 4.0, 3.5