SQS
SQS Output
Overview
Fluentd output plugin for SQS.
Configuration
Output Config
aws_key_id (*secret.Secret, optional)
AWS access key id
aws_sec_key (*secret.Secret, optional)
AWS secret key
buffer (*Buffer, optional)
create_queue (*bool, optional)
Create SQS queue
Default: true
delay_seconds (int, optional)
Delivery delay seconds
Default: 0
include_tag (*bool, optional)
Include tag
Default: true
message_group_id (string, optional)
Message group id for FIFO queue
queue_name (string, optional)
SQS queue name - required if sqs_url is not set
region (string, optional)
AWS region
Default: ap-northeast-1
sqs_url (string, optional) {#output config-sqs_url}
SQS queue url e.g. https://sqs.us-west-2.amazonaws.com/123456789012/myqueue
slow_flush_log_threshold (string, optional)
The threshold for chunk flush performance check. Parameter type is float, not time, default: 20.0 (seconds) If chunk flush takes longer time than this threshold, fluentd logs warning message and increases metric fluentd_output_status_slow_flush_count.
tag_property_name (string, optional)
Tags property name in json
Default: ‘__tag’
Example SQS
output configurations
apiVersion: logging.banzaicloud.io/v1beta1
kind: Output
metadata:
name: sqs-output-sample
spec:
sqs:
queue_name: some-aws-sqs-queue
create_queue: false
region: us-east-1
Fluentd config result:
<match **>
@type sqs
@id test_sqs
queue_name some-aws-sqs-queue
create_queue false
region us-east-1
</match>
Last modified November 21, 2024: Merge pull request #264 from kube-logging/avoid-empty-announcement-bar (dee354e)