Redis

Redis plugin for Fluentd

Overview

Sends logs to Redis endpoints. For details, see https://github.com/fluent-plugins-nursery/fluent-plugin-redis.

Example output configurations

spec:
  redis:
    host: redis-master.prod.svc.cluster.local
    buffer:
      tags: "[]"
      flush_interval: 10s

Configuration

Output Config

allow_duplicate_key (bool, optional)

Allow inserting key duplicate. It will work as update values.

Default: false

buffer (*Buffer, optional)

Buffer

db_number (int, optional)

DbNumber database number is optional.

Default: 0

format (*Format, optional)

Format

host (string, optional)

Host Redis endpoint

Default: localhost

insert_key_prefix (string, optional)

insert_key_prefix

Default: “${tag}”

password (*secret.Secret, optional)

Redis Server password

port (int, optional)

Port of the Redis server

Default: 6379

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 a warning message and increases the fluentd_output_status_slow_flush_count metric.

strftime_format (string, optional)

Users can set strftime format.

Default: “%s”

ttl (int, optional)

If 0 or negative value is set, ttl is not set in each key.