Interface IFluentdLogDriverProps
Specifies the fluentd log driver configuration options.
Inherited Members
Namespace: Amazon.CDK.AWS.ECS
Assembly: Amazon.CDK.AWS.ECS.dll
Syntax (csharp)
public interface IFluentdLogDriverProps : IBaseLogDriverProps
Syntax (vb)
Public Interface IFluentdLogDriverProps
Inherits IBaseLogDriverProps
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.ECS;
using Amazon.CDK;
var fluentdLogDriverProps = new FluentdLogDriverProps {
Address = "address",
AsyncConnect = false,
BufferLimit = 123,
Env = new [] { "env" },
EnvRegex = "envRegex",
Labels = new [] { "labels" },
MaxRetries = 123,
RetryWait = Duration.Minutes(30),
SubSecondPrecision = false,
Tag = "tag"
};
Synopsis
Properties
Address | By default, the logging driver connects to localhost:24224. |
AsyncConnect | Docker connects to Fluentd in the background. |
BufferLimit | The amount of data to buffer before flushing to disk. |
MaxRetries | The maximum number of retries. |
RetryWait | How long to wait between retries. |
SubSecondPrecision | Generates event logs in nanosecond resolution. |
Properties
Address
By default, the logging driver connects to localhost:24224.
virtual string Address { get; }
Property Value
System.String
Remarks
Supply the address option to connect to a different address. tcp(default) and unix sockets are supported.
Default: - address not set.
AsyncConnect
Docker connects to Fluentd in the background.
virtual Nullable<bool> AsyncConnect { get; }
Property Value
System.Nullable<System.Boolean>
Remarks
Messages are buffered until the connection is established.
Default: - false
BufferLimit
The amount of data to buffer before flushing to disk.
virtual Nullable<double> BufferLimit { get; }
Property Value
System.Nullable<System.Double>
Remarks
Default: - The amount of RAM available to the container.
MaxRetries
The maximum number of retries.
virtual Nullable<double> MaxRetries { get; }
Property Value
System.Nullable<System.Double>
Remarks
Default: - 4294967295 (2**32 - 1).
RetryWait
How long to wait between retries.
virtual Duration RetryWait { get; }
Property Value
Remarks
Default: - 1 second
SubSecondPrecision
Generates event logs in nanosecond resolution.
virtual Nullable<bool> SubSecondPrecision { get; }
Property Value
System.Nullable<System.Boolean>
Remarks
Default: - false