CustomLayerCloudwatchConfigurationLogStream

data class CustomLayerCloudwatchConfigurationLogStream(val batchCount: Int? = null, val batchSize: Int? = null, val bufferDuration: Int? = null, val datetimeFormat: String? = null, val encoding: String? = null, val file: String, val fileFingerprintLines: String? = null, val initialPosition: String? = null, val logGroupName: String, val multilineStartPattern: String? = null, val timeZone: String? = null)

Constructors

constructor(batchCount: Int? = null, batchSize: Int? = null, bufferDuration: Int? = null, datetimeFormat: String? = null, encoding: String? = null, file: String, fileFingerprintLines: String? = null, initialPosition: String? = null, logGroupName: String, multilineStartPattern: String? = null, timeZone: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val batchCount: Int? = null

Specifies the max number of log events in a batch, up to 10000. The default value is 1000.

Link copied to clipboard
val batchSize: Int? = null

Specifies the maximum size of log events in a batch, in bytes, up to 1048576 bytes. The default value is 32768 bytes.

Link copied to clipboard
val bufferDuration: Int? = null

Specifies the time duration for the batching of log events. The minimum value is 5000 and default value is 5000.

Link copied to clipboard
val datetimeFormat: String? = null

Specifies how the timestamp is extracted from logs. For more information, see the CloudWatch Logs Agent Reference (https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AgentReference.html).

Link copied to clipboard
val encoding: String? = null

Specifies the encoding of the log file so that the file can be read correctly. The default is utf_8.

Link copied to clipboard

Specifies log files that you want to push to CloudWatch Logs. File can point to a specific file or multiple files (by using wild card characters such as /var/log/system.log*).

Link copied to clipboard

Specifies the range of lines for identifying a file. The valid values are one number, or two dash-delimited numbers, such as 1, 2-5. The default value is 1.

Link copied to clipboard
val initialPosition: String? = null

Specifies where to start to read data (start_of_file or end_of_file). The default is start_of_file.

Link copied to clipboard

Specifies the destination log group. A log group is created automatically if it doesn't already exist.

Link copied to clipboard

Specifies the pattern for identifying the start of a log message.

Link copied to clipboard
val timeZone: String? = null

Specifies the time zone of log event time stamps.