diff --git a/website/cue/reference/components/sources/base/amqp.cue b/website/cue/reference/components/sources/base/amqp.cue index efd8675348c6e..155fa0d536dd6 100644 --- a/website/cue/reference/components/sources/base/amqp.cue +++ b/website/cue/reference/components/sources/base/amqp.cue @@ -335,26 +335,14 @@ base: components: sources: amqp: configuration: { relevant_when: "method = \"chunked_gelf\"" required: false type: object: options: { - max_chunk_length: { - description: """ - The maximum length of a single GELF chunk, in bytes. Chunks longer than this length will - be dropped. If this option is not set, the decoder does not limit the length of chunks and - the per-chunk memory is unbounded. - - This limit takes only into account the chunk's payload and the GELF header bytes are excluded from the calculation. - """ - required: false - type: uint: {} - } - max_message_length: { + max_length: { description: """ The maximum length of a single GELF message, in bytes. Messages longer than this length will be dropped. If this option is not set, the decoder does not limit the length of messages and the per-message memory is unbounded. Note that a message can be composed of multiple chunks and this limit is applied to the whole - message, not to individual chunks. This length should always be greater than the `max_chunk_length`. - This option is useful to limit the memory usage of the decoders's chunk buffer. + message, not to individual chunks. This limit takes only into account the message's payload and the GELF header bytes are excluded from the calculation. The message's payload is the concatenation of all the chunks' payloads. diff --git a/website/cue/reference/components/sources/base/aws_kinesis_firehose.cue b/website/cue/reference/components/sources/base/aws_kinesis_firehose.cue index ef112080255c4..4313099b9bc49 100644 --- a/website/cue/reference/components/sources/base/aws_kinesis_firehose.cue +++ b/website/cue/reference/components/sources/base/aws_kinesis_firehose.cue @@ -333,26 +333,14 @@ base: components: sources: aws_kinesis_firehose: configuration: { relevant_when: "method = \"chunked_gelf\"" required: false type: object: options: { - max_chunk_length: { - description: """ - The maximum length of a single GELF chunk, in bytes. Chunks longer than this length will - be dropped. If this option is not set, the decoder does not limit the length of chunks and - the per-chunk memory is unbounded. - - This limit takes only into account the chunk's payload and the GELF header bytes are excluded from the calculation. - """ - required: false - type: uint: {} - } - max_message_length: { + max_length: { description: """ The maximum length of a single GELF message, in bytes. Messages longer than this length will be dropped. If this option is not set, the decoder does not limit the length of messages and the per-message memory is unbounded. Note that a message can be composed of multiple chunks and this limit is applied to the whole - message, not to individual chunks. This length should always be greater than the `max_chunk_length`. - This option is useful to limit the memory usage of the decoders's chunk buffer. + message, not to individual chunks. This limit takes only into account the message's payload and the GELF header bytes are excluded from the calculation. The message's payload is the concatenation of all the chunks' payloads. diff --git a/website/cue/reference/components/sources/base/aws_s3.cue b/website/cue/reference/components/sources/base/aws_s3.cue index feffca6a37193..12d3322a216ce 100644 --- a/website/cue/reference/components/sources/base/aws_s3.cue +++ b/website/cue/reference/components/sources/base/aws_s3.cue @@ -433,26 +433,14 @@ base: components: sources: aws_s3: configuration: { relevant_when: "method = \"chunked_gelf\"" required: false type: object: options: { - max_chunk_length: { - description: """ - The maximum length of a single GELF chunk, in bytes. Chunks longer than this length will - be dropped. If this option is not set, the decoder does not limit the length of chunks and - the per-chunk memory is unbounded. - - This limit takes only into account the chunk's payload and the GELF header bytes are excluded from the calculation. - """ - required: false - type: uint: {} - } - max_message_length: { + max_length: { description: """ The maximum length of a single GELF message, in bytes. Messages longer than this length will be dropped. If this option is not set, the decoder does not limit the length of messages and the per-message memory is unbounded. Note that a message can be composed of multiple chunks and this limit is applied to the whole - message, not to individual chunks. This length should always be greater than the `max_chunk_length`. - This option is useful to limit the memory usage of the decoders's chunk buffer. + message, not to individual chunks. This limit takes only into account the message's payload and the GELF header bytes are excluded from the calculation. The message's payload is the concatenation of all the chunks' payloads. diff --git a/website/cue/reference/components/sources/base/aws_sqs.cue b/website/cue/reference/components/sources/base/aws_sqs.cue index 28a58f46e7aef..19db1cf8830c9 100644 --- a/website/cue/reference/components/sources/base/aws_sqs.cue +++ b/website/cue/reference/components/sources/base/aws_sqs.cue @@ -437,26 +437,14 @@ base: components: sources: aws_sqs: configuration: { relevant_when: "method = \"chunked_gelf\"" required: false type: object: options: { - max_chunk_length: { - description: """ - The maximum length of a single GELF chunk, in bytes. Chunks longer than this length will - be dropped. If this option is not set, the decoder does not limit the length of chunks and - the per-chunk memory is unbounded. - - This limit takes only into account the chunk's payload and the GELF header bytes are excluded from the calculation. - """ - required: false - type: uint: {} - } - max_message_length: { + max_length: { description: """ The maximum length of a single GELF message, in bytes. Messages longer than this length will be dropped. If this option is not set, the decoder does not limit the length of messages and the per-message memory is unbounded. Note that a message can be composed of multiple chunks and this limit is applied to the whole - message, not to individual chunks. This length should always be greater than the `max_chunk_length`. - This option is useful to limit the memory usage of the decoders's chunk buffer. + message, not to individual chunks. This limit takes only into account the message's payload and the GELF header bytes are excluded from the calculation. The message's payload is the concatenation of all the chunks' payloads. diff --git a/website/cue/reference/components/sources/base/datadog_agent.cue b/website/cue/reference/components/sources/base/datadog_agent.cue index 64dd7f7fb232f..156aa609cd356 100644 --- a/website/cue/reference/components/sources/base/datadog_agent.cue +++ b/website/cue/reference/components/sources/base/datadog_agent.cue @@ -330,26 +330,14 @@ base: components: sources: datadog_agent: configuration: { relevant_when: "method = \"chunked_gelf\"" required: false type: object: options: { - max_chunk_length: { - description: """ - The maximum length of a single GELF chunk, in bytes. Chunks longer than this length will - be dropped. If this option is not set, the decoder does not limit the length of chunks and - the per-chunk memory is unbounded. - - This limit takes only into account the chunk's payload and the GELF header bytes are excluded from the calculation. - """ - required: false - type: uint: {} - } - max_message_length: { + max_length: { description: """ The maximum length of a single GELF message, in bytes. Messages longer than this length will be dropped. If this option is not set, the decoder does not limit the length of messages and the per-message memory is unbounded. Note that a message can be composed of multiple chunks and this limit is applied to the whole - message, not to individual chunks. This length should always be greater than the `max_chunk_length`. - This option is useful to limit the memory usage of the decoders's chunk buffer. + message, not to individual chunks. This limit takes only into account the message's payload and the GELF header bytes are excluded from the calculation. The message's payload is the concatenation of all the chunks' payloads. diff --git a/website/cue/reference/components/sources/base/demo_logs.cue b/website/cue/reference/components/sources/base/demo_logs.cue index 4660526ecef0a..b7539615c41bf 100644 --- a/website/cue/reference/components/sources/base/demo_logs.cue +++ b/website/cue/reference/components/sources/base/demo_logs.cue @@ -326,26 +326,14 @@ base: components: sources: demo_logs: configuration: { relevant_when: "method = \"chunked_gelf\"" required: false type: object: options: { - max_chunk_length: { - description: """ - The maximum length of a single GELF chunk, in bytes. Chunks longer than this length will - be dropped. If this option is not set, the decoder does not limit the length of chunks and - the per-chunk memory is unbounded. - - This limit takes only into account the chunk's payload and the GELF header bytes are excluded from the calculation. - """ - required: false - type: uint: {} - } - max_message_length: { + max_length: { description: """ The maximum length of a single GELF message, in bytes. Messages longer than this length will be dropped. If this option is not set, the decoder does not limit the length of messages and the per-message memory is unbounded. Note that a message can be composed of multiple chunks and this limit is applied to the whole - message, not to individual chunks. This length should always be greater than the `max_chunk_length`. - This option is useful to limit the memory usage of the decoders's chunk buffer. + message, not to individual chunks. This limit takes only into account the message's payload and the GELF header bytes are excluded from the calculation. The message's payload is the concatenation of all the chunks' payloads. diff --git a/website/cue/reference/components/sources/base/exec.cue b/website/cue/reference/components/sources/base/exec.cue index 61857b7d28a87..b21f203dde81c 100644 --- a/website/cue/reference/components/sources/base/exec.cue +++ b/website/cue/reference/components/sources/base/exec.cue @@ -314,26 +314,14 @@ base: components: sources: exec: configuration: { relevant_when: "method = \"chunked_gelf\"" required: false type: object: options: { - max_chunk_length: { - description: """ - The maximum length of a single GELF chunk, in bytes. Chunks longer than this length will - be dropped. If this option is not set, the decoder does not limit the length of chunks and - the per-chunk memory is unbounded. - - This limit takes only into account the chunk's payload and the GELF header bytes are excluded from the calculation. - """ - required: false - type: uint: {} - } - max_message_length: { + max_length: { description: """ The maximum length of a single GELF message, in bytes. Messages longer than this length will be dropped. If this option is not set, the decoder does not limit the length of messages and the per-message memory is unbounded. Note that a message can be composed of multiple chunks and this limit is applied to the whole - message, not to individual chunks. This length should always be greater than the `max_chunk_length`. - This option is useful to limit the memory usage of the decoders's chunk buffer. + message, not to individual chunks. This limit takes only into account the message's payload and the GELF header bytes are excluded from the calculation. The message's payload is the concatenation of all the chunks' payloads. diff --git a/website/cue/reference/components/sources/base/file_descriptor.cue b/website/cue/reference/components/sources/base/file_descriptor.cue index b26a2af12b18c..f368cc4eedcc0 100644 --- a/website/cue/reference/components/sources/base/file_descriptor.cue +++ b/website/cue/reference/components/sources/base/file_descriptor.cue @@ -292,26 +292,14 @@ base: components: sources: file_descriptor: configuration: { relevant_when: "method = \"chunked_gelf\"" required: false type: object: options: { - max_chunk_length: { - description: """ - The maximum length of a single GELF chunk, in bytes. Chunks longer than this length will - be dropped. If this option is not set, the decoder does not limit the length of chunks and - the per-chunk memory is unbounded. - - This limit takes only into account the chunk's payload and the GELF header bytes are excluded from the calculation. - """ - required: false - type: uint: {} - } - max_message_length: { + max_length: { description: """ The maximum length of a single GELF message, in bytes. Messages longer than this length will be dropped. If this option is not set, the decoder does not limit the length of messages and the per-message memory is unbounded. Note that a message can be composed of multiple chunks and this limit is applied to the whole - message, not to individual chunks. This length should always be greater than the `max_chunk_length`. - This option is useful to limit the memory usage of the decoders's chunk buffer. + message, not to individual chunks. This limit takes only into account the message's payload and the GELF header bytes are excluded from the calculation. The message's payload is the concatenation of all the chunks' payloads. diff --git a/website/cue/reference/components/sources/base/gcp_pubsub.cue b/website/cue/reference/components/sources/base/gcp_pubsub.cue index cd02efc81f8f7..61187238c72f2 100644 --- a/website/cue/reference/components/sources/base/gcp_pubsub.cue +++ b/website/cue/reference/components/sources/base/gcp_pubsub.cue @@ -369,26 +369,14 @@ base: components: sources: gcp_pubsub: configuration: { relevant_when: "method = \"chunked_gelf\"" required: false type: object: options: { - max_chunk_length: { - description: """ - The maximum length of a single GELF chunk, in bytes. Chunks longer than this length will - be dropped. If this option is not set, the decoder does not limit the length of chunks and - the per-chunk memory is unbounded. - - This limit takes only into account the chunk's payload and the GELF header bytes are excluded from the calculation. - """ - required: false - type: uint: {} - } - max_message_length: { + max_length: { description: """ The maximum length of a single GELF message, in bytes. Messages longer than this length will be dropped. If this option is not set, the decoder does not limit the length of messages and the per-message memory is unbounded. Note that a message can be composed of multiple chunks and this limit is applied to the whole - message, not to individual chunks. This length should always be greater than the `max_chunk_length`. - This option is useful to limit the memory usage of the decoders's chunk buffer. + message, not to individual chunks. This limit takes only into account the message's payload and the GELF header bytes are excluded from the calculation. The message's payload is the concatenation of all the chunks' payloads. diff --git a/website/cue/reference/components/sources/base/heroku_logs.cue b/website/cue/reference/components/sources/base/heroku_logs.cue index ff45fbc204286..876b6f3a51dde 100644 --- a/website/cue/reference/components/sources/base/heroku_logs.cue +++ b/website/cue/reference/components/sources/base/heroku_logs.cue @@ -327,26 +327,14 @@ base: components: sources: heroku_logs: configuration: { relevant_when: "method = \"chunked_gelf\"" required: false type: object: options: { - max_chunk_length: { - description: """ - The maximum length of a single GELF chunk, in bytes. Chunks longer than this length will - be dropped. If this option is not set, the decoder does not limit the length of chunks and - the per-chunk memory is unbounded. - - This limit takes only into account the chunk's payload and the GELF header bytes are excluded from the calculation. - """ - required: false - type: uint: {} - } - max_message_length: { + max_length: { description: """ The maximum length of a single GELF message, in bytes. Messages longer than this length will be dropped. If this option is not set, the decoder does not limit the length of messages and the per-message memory is unbounded. Note that a message can be composed of multiple chunks and this limit is applied to the whole - message, not to individual chunks. This length should always be greater than the `max_chunk_length`. - This option is useful to limit the memory usage of the decoders's chunk buffer. + message, not to individual chunks. This limit takes only into account the message's payload and the GELF header bytes are excluded from the calculation. The message's payload is the concatenation of all the chunks' payloads. diff --git a/website/cue/reference/components/sources/base/http.cue b/website/cue/reference/components/sources/base/http.cue index fcc7a7396b61a..52ca01d56f22d 100644 --- a/website/cue/reference/components/sources/base/http.cue +++ b/website/cue/reference/components/sources/base/http.cue @@ -342,26 +342,14 @@ base: components: sources: http: configuration: { relevant_when: "method = \"chunked_gelf\"" required: false type: object: options: { - max_chunk_length: { - description: """ - The maximum length of a single GELF chunk, in bytes. Chunks longer than this length will - be dropped. If this option is not set, the decoder does not limit the length of chunks and - the per-chunk memory is unbounded. - - This limit takes only into account the chunk's payload and the GELF header bytes are excluded from the calculation. - """ - required: false - type: uint: {} - } - max_message_length: { + max_length: { description: """ The maximum length of a single GELF message, in bytes. Messages longer than this length will be dropped. If this option is not set, the decoder does not limit the length of messages and the per-message memory is unbounded. Note that a message can be composed of multiple chunks and this limit is applied to the whole - message, not to individual chunks. This length should always be greater than the `max_chunk_length`. - This option is useful to limit the memory usage of the decoders's chunk buffer. + message, not to individual chunks. This limit takes only into account the message's payload and the GELF header bytes are excluded from the calculation. The message's payload is the concatenation of all the chunks' payloads. diff --git a/website/cue/reference/components/sources/base/http_client.cue b/website/cue/reference/components/sources/base/http_client.cue index 8282ea348a16e..3e3b44cef3ec3 100644 --- a/website/cue/reference/components/sources/base/http_client.cue +++ b/website/cue/reference/components/sources/base/http_client.cue @@ -330,26 +330,14 @@ base: components: sources: http_client: configuration: { relevant_when: "method = \"chunked_gelf\"" required: false type: object: options: { - max_chunk_length: { - description: """ - The maximum length of a single GELF chunk, in bytes. Chunks longer than this length will - be dropped. If this option is not set, the decoder does not limit the length of chunks and - the per-chunk memory is unbounded. - - This limit takes only into account the chunk's payload and the GELF header bytes are excluded from the calculation. - """ - required: false - type: uint: {} - } - max_message_length: { + max_length: { description: """ The maximum length of a single GELF message, in bytes. Messages longer than this length will be dropped. If this option is not set, the decoder does not limit the length of messages and the per-message memory is unbounded. Note that a message can be composed of multiple chunks and this limit is applied to the whole - message, not to individual chunks. This length should always be greater than the `max_chunk_length`. - This option is useful to limit the memory usage of the decoders's chunk buffer. + message, not to individual chunks. This limit takes only into account the message's payload and the GELF header bytes are excluded from the calculation. The message's payload is the concatenation of all the chunks' payloads. diff --git a/website/cue/reference/components/sources/base/http_server.cue b/website/cue/reference/components/sources/base/http_server.cue index 38e9658082e2b..5e35c328b1730 100644 --- a/website/cue/reference/components/sources/base/http_server.cue +++ b/website/cue/reference/components/sources/base/http_server.cue @@ -342,26 +342,14 @@ base: components: sources: http_server: configuration: { relevant_when: "method = \"chunked_gelf\"" required: false type: object: options: { - max_chunk_length: { - description: """ - The maximum length of a single GELF chunk, in bytes. Chunks longer than this length will - be dropped. If this option is not set, the decoder does not limit the length of chunks and - the per-chunk memory is unbounded. - - This limit takes only into account the chunk's payload and the GELF header bytes are excluded from the calculation. - """ - required: false - type: uint: {} - } - max_message_length: { + max_length: { description: """ The maximum length of a single GELF message, in bytes. Messages longer than this length will be dropped. If this option is not set, the decoder does not limit the length of messages and the per-message memory is unbounded. Note that a message can be composed of multiple chunks and this limit is applied to the whole - message, not to individual chunks. This length should always be greater than the `max_chunk_length`. - This option is useful to limit the memory usage of the decoders's chunk buffer. + message, not to individual chunks. This limit takes only into account the message's payload and the GELF header bytes are excluded from the calculation. The message's payload is the concatenation of all the chunks' payloads. diff --git a/website/cue/reference/components/sources/base/kafka.cue b/website/cue/reference/components/sources/base/kafka.cue index a23a8a2ec9ae0..b5906e7d3aa3f 100644 --- a/website/cue/reference/components/sources/base/kafka.cue +++ b/website/cue/reference/components/sources/base/kafka.cue @@ -363,26 +363,14 @@ base: components: sources: kafka: configuration: { relevant_when: "method = \"chunked_gelf\"" required: false type: object: options: { - max_chunk_length: { - description: """ - The maximum length of a single GELF chunk, in bytes. Chunks longer than this length will - be dropped. If this option is not set, the decoder does not limit the length of chunks and - the per-chunk memory is unbounded. - - This limit takes only into account the chunk's payload and the GELF header bytes are excluded from the calculation. - """ - required: false - type: uint: {} - } - max_message_length: { + max_length: { description: """ The maximum length of a single GELF message, in bytes. Messages longer than this length will be dropped. If this option is not set, the decoder does not limit the length of messages and the per-message memory is unbounded. Note that a message can be composed of multiple chunks and this limit is applied to the whole - message, not to individual chunks. This length should always be greater than the `max_chunk_length`. - This option is useful to limit the memory usage of the decoders's chunk buffer. + message, not to individual chunks. This limit takes only into account the message's payload and the GELF header bytes are excluded from the calculation. The message's payload is the concatenation of all the chunks' payloads. diff --git a/website/cue/reference/components/sources/base/nats.cue b/website/cue/reference/components/sources/base/nats.cue index 6e1c0e5fa8685..52b2cbc2b5dc2 100644 --- a/website/cue/reference/components/sources/base/nats.cue +++ b/website/cue/reference/components/sources/base/nats.cue @@ -382,26 +382,14 @@ base: components: sources: nats: configuration: { relevant_when: "method = \"chunked_gelf\"" required: false type: object: options: { - max_chunk_length: { - description: """ - The maximum length of a single GELF chunk, in bytes. Chunks longer than this length will - be dropped. If this option is not set, the decoder does not limit the length of chunks and - the per-chunk memory is unbounded. - - This limit takes only into account the chunk's payload and the GELF header bytes are excluded from the calculation. - """ - required: false - type: uint: {} - } - max_message_length: { + max_length: { description: """ The maximum length of a single GELF message, in bytes. Messages longer than this length will be dropped. If this option is not set, the decoder does not limit the length of messages and the per-message memory is unbounded. Note that a message can be composed of multiple chunks and this limit is applied to the whole - message, not to individual chunks. This length should always be greater than the `max_chunk_length`. - This option is useful to limit the memory usage of the decoders's chunk buffer. + message, not to individual chunks. This limit takes only into account the message's payload and the GELF header bytes are excluded from the calculation. The message's payload is the concatenation of all the chunks' payloads. diff --git a/website/cue/reference/components/sources/base/pulsar.cue b/website/cue/reference/components/sources/base/pulsar.cue index d3d5b5f03b1ed..1f411bbb831ab 100644 --- a/website/cue/reference/components/sources/base/pulsar.cue +++ b/website/cue/reference/components/sources/base/pulsar.cue @@ -393,26 +393,14 @@ base: components: sources: pulsar: configuration: { relevant_when: "method = \"chunked_gelf\"" required: false type: object: options: { - max_chunk_length: { - description: """ - The maximum length of a single GELF chunk, in bytes. Chunks longer than this length will - be dropped. If this option is not set, the decoder does not limit the length of chunks and - the per-chunk memory is unbounded. - - This limit takes only into account the chunk's payload and the GELF header bytes are excluded from the calculation. - """ - required: false - type: uint: {} - } - max_message_length: { + max_length: { description: """ The maximum length of a single GELF message, in bytes. Messages longer than this length will be dropped. If this option is not set, the decoder does not limit the length of messages and the per-message memory is unbounded. Note that a message can be composed of multiple chunks and this limit is applied to the whole - message, not to individual chunks. This length should always be greater than the `max_chunk_length`. - This option is useful to limit the memory usage of the decoders's chunk buffer. + message, not to individual chunks. This limit takes only into account the message's payload and the GELF header bytes are excluded from the calculation. The message's payload is the concatenation of all the chunks' payloads. diff --git a/website/cue/reference/components/sources/base/redis.cue b/website/cue/reference/components/sources/base/redis.cue index f4d5599370b8b..f93131f0be48f 100644 --- a/website/cue/reference/components/sources/base/redis.cue +++ b/website/cue/reference/components/sources/base/redis.cue @@ -300,26 +300,14 @@ base: components: sources: redis: configuration: { relevant_when: "method = \"chunked_gelf\"" required: false type: object: options: { - max_chunk_length: { - description: """ - The maximum length of a single GELF chunk, in bytes. Chunks longer than this length will - be dropped. If this option is not set, the decoder does not limit the length of chunks and - the per-chunk memory is unbounded. - - This limit takes only into account the chunk's payload and the GELF header bytes are excluded from the calculation. - """ - required: false - type: uint: {} - } - max_message_length: { + max_length: { description: """ The maximum length of a single GELF message, in bytes. Messages longer than this length will be dropped. If this option is not set, the decoder does not limit the length of messages and the per-message memory is unbounded. Note that a message can be composed of multiple chunks and this limit is applied to the whole - message, not to individual chunks. This length should always be greater than the `max_chunk_length`. - This option is useful to limit the memory usage of the decoders's chunk buffer. + message, not to individual chunks. This limit takes only into account the message's payload and the GELF header bytes are excluded from the calculation. The message's payload is the concatenation of all the chunks' payloads. diff --git a/website/cue/reference/components/sources/base/socket.cue b/website/cue/reference/components/sources/base/socket.cue index c11046ac2a13f..eca545eb86d65 100644 --- a/website/cue/reference/components/sources/base/socket.cue +++ b/website/cue/reference/components/sources/base/socket.cue @@ -302,26 +302,14 @@ base: components: sources: socket: configuration: { relevant_when: "method = \"chunked_gelf\"" required: false type: object: options: { - max_chunk_length: { - description: """ - The maximum length of a single GELF chunk, in bytes. Chunks longer than this length will - be dropped. If this option is not set, the decoder does not limit the length of chunks and - the per-chunk memory is unbounded. - - This limit takes only into account the chunk's payload and the GELF header bytes are excluded from the calculation. - """ - required: false - type: uint: {} - } - max_message_length: { + max_length: { description: """ The maximum length of a single GELF message, in bytes. Messages longer than this length will be dropped. If this option is not set, the decoder does not limit the length of messages and the per-message memory is unbounded. Note that a message can be composed of multiple chunks and this limit is applied to the whole - message, not to individual chunks. This length should always be greater than the `max_chunk_length`. - This option is useful to limit the memory usage of the decoders's chunk buffer. + message, not to individual chunks. This limit takes only into account the message's payload and the GELF header bytes are excluded from the calculation. The message's payload is the concatenation of all the chunks' payloads. diff --git a/website/cue/reference/components/sources/base/stdin.cue b/website/cue/reference/components/sources/base/stdin.cue index bc706702a5aef..6fcd46ddbfa9f 100644 --- a/website/cue/reference/components/sources/base/stdin.cue +++ b/website/cue/reference/components/sources/base/stdin.cue @@ -285,26 +285,14 @@ base: components: sources: stdin: configuration: { relevant_when: "method = \"chunked_gelf\"" required: false type: object: options: { - max_chunk_length: { - description: """ - The maximum length of a single GELF chunk, in bytes. Chunks longer than this length will - be dropped. If this option is not set, the decoder does not limit the length of chunks and - the per-chunk memory is unbounded. - - This limit takes only into account the chunk's payload and the GELF header bytes are excluded from the calculation. - """ - required: false - type: uint: {} - } - max_message_length: { + max_length: { description: """ The maximum length of a single GELF message, in bytes. Messages longer than this length will be dropped. If this option is not set, the decoder does not limit the length of messages and the per-message memory is unbounded. Note that a message can be composed of multiple chunks and this limit is applied to the whole - message, not to individual chunks. This length should always be greater than the `max_chunk_length`. - This option is useful to limit the memory usage of the decoders's chunk buffer. + message, not to individual chunks. This limit takes only into account the message's payload and the GELF header bytes are excluded from the calculation. The message's payload is the concatenation of all the chunks' payloads.