Skip to content

Fluentd Buffer Config Schema

Note

This is auto-generated documentation from a JSON schema that is under construction, this will improve over time.

Return to the root config schema

https://raw.githubusercontent.com/elastisys/compliantkubernetes-apps/main/config/schemas/config.yaml#/properties/fluentd/properties/forwarder/properties/buffer

Fluentd buffer configuration parameters.

Note

See upstream documentation for reference, set keys will be converted from camelCase to snake_case.

Abstract Extensible Status Identifiable Custom Properties Additional Properties Access Restrictions Defined In
Can be instantiated No Unknown status No Forbidden Allowed none config/schemas/config.yaml*

TYPE:

object (Fluentd Buffer Config)

PROPERTIES:

Property Type Required Nullable Defined by
timekey string Optional cannot be null Compliant Kubernetes Apps Config
timekeyUseUtc boolean Optional cannot be null Compliant Kubernetes Apps Config
timekeyWait string Optional cannot be null Compliant Kubernetes Apps Config
chunkLimitSize string Optional cannot be null Compliant Kubernetes Apps Config
totalLimitSize string Optional cannot be null Compliant Kubernetes Apps Config
flushInterval string Optional cannot be null Compliant Kubernetes Apps Config
flushMode string Optional cannot be null Compliant Kubernetes Apps Config
flushThreadBurstInterval number Optional cannot be null Compliant Kubernetes Apps Config
flushThreadCount integer Optional cannot be null Compliant Kubernetes Apps Config
retryForever boolean Optional cannot be null Compliant Kubernetes Apps Config
retryType string Optional cannot be null Compliant Kubernetes Apps Config
retryMaxInterval integer Optional cannot be null Compliant Kubernetes Apps Config
Additional Properties Merged Optional cannot be null Compliant Kubernetes Apps Config

timekey

Output plugin will flush chunks per specified time (enabled when time is specified in chunk keys).

Common/Time parameters

timekey

TYPE:

string (Time Key)

EXAMPLES:

10m

timekeyUseUtc

Output plugin decides to use UTC or not to format placeholders using timekey.

Common/Time parameters

timekeyUseUtc

TYPE:

boolean (Timekey Use UTC)

timekeyWait

Output plugin will write chunks after timekey_wait seconds later after timekey expiration.

If a user configures timekey 60m, output plugin will wait delayed events for flushed timekey and write the chunk at 10 minutes of each hour.

Common/Time parameters

timekeyWait

TYPE:

string (Timekey wait)

EXAMPLES:

1m

chunkLimitSize

Events will be written into chunks until the size of chunks become chunkLimitSize.

Buffering parameters

chunkLimitSize

TYPE:

string (Chunk Limit Size)

EXAMPLES:

50MB

totalLimitSize

The size limitation of this buffer plugin instance.

Once the total size of stored buffer reached this threshold, all append operations will fail with error (and data will be lost).

Buffering parameters

totalLimitSize

TYPE:

string (Total Limit Size)

EXAMPLES:

9GB

flushInterval

Flushes the buffer each flushInterval, if flushMode is equal to interval.

Flushing parameters

flushInterval

TYPE:

string (Flush Interval)

EXAMPLES:

15m

flushMode

The flush mode to use.

Flushing parameters

flushMode

TYPE:

string (Flush Mode)

CONSTRAINTS:

enum: the value of this property must be equal to one of the following values:

Value Explanation
"lazy" Flushes/writes chunks once per timekey
"interval" Flushes/writes chunks per specified time via flushInterval
"immediate" Flushes/writes chunks immediately after events are appended into chunks

flushThreadBurstInterval

The sleep interval (seconds) for threads between flushes when the output plugin flushes the waiting chunks to the next ones.

Flushing parameters

flushThreadBurstInterval

TYPE:

number (Flush Thread Burst Interval)

flushThreadCount

The number of threads to flush/write chunks in parallel.

Flushing parameters

flushThreadCount

TYPE:

integer (Flush Thread Count)

retryForever

If true, plugin will ignore retryTimeout and retryMaxTimes options and retry flushing forever.

Retries parameters

retryForever

TYPE:

boolean (Retry Forever)

retryType

The retry algorithm type to use.

Retries parameters

retryType

TYPE:

string (Retry Type)

CONSTRAINTS:

enum: the value of this property must be equal to one of the following values:

Value Explanation
"exponential_backoff" Increase the wait time, in seconds, exponentially per failure
"periodic" Output plugin will retry periodically with fixed intervals (configured via retryWait)

retryMaxInterval

The maximum interval (seconds) for exponential backoff between retries while failing.

Retries parameters

retryMaxInterval

TYPE:

integer (Retry Max Interval)

PROPERTIES:

Additional properties are allowed, as long as they follow this schema:

Additional properties

Assuming that these are never structures, only scalars

TYPE:

any of the following: string or integer or boolean (Additional Properties)

not

Return to the root config schema


Generated Sun Jun 23 03:48:25 UTC 2024 from elastisys/compliantkubernetes-apps@main