LogZ

LogZ output plugin for Fluentd

Overview

For details, see https://github.com/tarokkk/fluent-plugin-logzio.

Example output configurations

spec:
  logz:
    endpoint:
      url: https://listener.logz.io
      port: 8071
      token:
        valueFrom:
         secretKeyRef:
           name: logz-token
           key: token
    output_include_tags: true
    output_include_time: true
    buffer:
      type: file
      flush_mode: interval
      flush_thread_count: 4
      flush_interval: 5s
      chunk_limit_size: 16m
      queue_limit_length: 4096

Configuration

Logzio

LogZ Send your logs to LogZ.io

buffer (*Buffer, optional)

Buffer

bulk_limit (int, optional)

Limit to the size of the Logz.io upload bulk. Defaults to 1000000 bytes leaving about 24kB for overhead.

bulk_limit_warning_limit (int, optional)

Limit to the size of the Logz.io warning message when a record exceeds bulk_limit to prevent a recursion when Fluent warnings are sent to the Logz.io output.

endpoint (*Endpoint, required)

Define LogZ endpoint URL

gzip (bool, optional)

Should the plugin ship the logs in gzip compression. Default is false.

http_idle_timeout (int, optional)

Timeout in seconds that the http persistent connection will stay open without traffic.

output_include_tags (bool, optional)

Should the appender add the fluentd tag to the document, called “fluentd_tag”

output_include_time (bool, optional)

Should the appender add a timestamp to your logs on their process time (recommended).

retry_count (int, optional)

How many times to resend failed bulks.

retry_sleep (int, optional)

How long to sleep initially between retries, exponential step-off.

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.

Endpoint

Endpoint defines connection details for LogZ.io.

port (int, optional)

Port over which to connect to LogZ URL.

Default: 8071

token (*secret.Secret, optional)

LogZ API Token. Secret

url (string, optional)

LogZ URL.

Default: https://listener.logz.io