diff --git a/docs/_print/index.html b/docs/_print/index.html index c8240f3e8..7a8989dd9 100644 --- a/docs/_print/index.html +++ b/docs/_print/index.html @@ -73,7 +73,7 @@
  • 3.7.1.1: ClusterFlow
  • 3.7.1.2: ClusterOutput
  • 3.7.1.3: Common
  • 3.7.1.4: FlowSpec
  • 3.7.1.5: FluentbitSpec
  • 3.7.1.6: FluentdSpec
  • 3.7.1.7: LoggingSpec
  • 3.7.1.8: NodeAgent
  • 3.7.1.9: OutputSpec
  • 3.7.1.10: SyslogNGClusterFlow
  • 3.7.1.11: SyslogNGClusterOutput
  • 3.7.1.12: SyslogNGFlowSpec
  • 3.7.1.13: SyslogNGOutputSpec
  • 3.7.1.14: SyslogNGSpec
  • 3.7.2: Logging extensions CRDs
  • 3.8: Supported Plugins
  • 4: Examples
  • Note: Flow can be connected to Output and ClusterOutput, but ClusterFlow can be attached only to ClusterOutput.

    Fluentd S3 output example

    The following snippet defines an Amazon S3 bucket as an output.

    apiVersion: logging.banzaicloud.io/v1beta1
    +
  • For the details of the supported output plugins, see Fluentd outputs.
  • For the details of Output custom resource, see OutputSpec.
  • For the details of ClusterOutput custom resource, see ClusterOutput.
  • Fluentd S3 output example

    The following snippet defines an Amazon S3 bucket as an output.

    apiVersion: logging.banzaicloud.io/v1beta1
     kind: Output
     metadata:
       name: s3-output-sample
    @@ -1778,7 +1778,7 @@ 

    3.8.3.8 - Kubernetes Events Timesta </filter>


    -

    3.8.3.9 - Parser

    Parser Filter

    Overview

    Parses a string field in event records and mutates its event record with the parsed result.

    Configuration

    ParserConfig

    key_name (string, optional)

    Specify field name in the record to parse. If you leave empty the Container Runtime default will be used.

    Default: -

    reserve_time (bool, optional)

    Keep original event time in parsed result.

    Default: -

    reserve_data (bool, optional)

    Keep original key-value pair in parsed result.

    Default: -

    remove_key_name_field (bool, optional)

    Remove key_name field when parsing is succeeded

    Default: -

    replace_invalid_sequence (bool, optional)

    If true, invalid string is replaced with safe characters and re-parse it.

    Default: -

    inject_key_prefix (string, optional)

    Store parsed values with specified key name prefix.

    Default: -

    hash_value_field (string, optional)

    Store parsed values as a hash value in a field.

    Default: -

    emit_invalid_record_to_error (*bool, optional)

    Emit invalid record to @ERROR label. Invalid cases are: key not exist, format is not matched, unexpected error

    Default: -

    parse (ParseSection, optional)

    Parse Section

    Default: -

    parsers ([]ParseSection, optional)

    Deprecated, use parse instead

    Default: -

    Parse Section

    type (string, optional)

    Parse type: apache2, apache_error, nginx, syslog, csv, tsv, ltsv, json, multiline, none, logfmt, grok, multiline_grok

    Default: -

    expression (string, optional)

    Regexp expression to evaluate

    Default: -

    time_key (string, optional)

    Specify time field for event time. If the event doesn’t have this field, current time is used.

    Default: -

    keys (string, optional)

    Names for fields on each line. (seperated by coma)

    Default: -

    null_value_pattern (string, optional)

    Specify null value pattern.

    Default: -

    null_empty_string (bool, optional)

    If true, empty string field is replaced with nil

    Default: -

    estimate_current_event (bool, optional)

    If true, use Fluent::EventTime.now(current time) as a timestamp when time_key is specified.

    Default: -

    keep_time_key (bool, optional)

    If true, keep time field in the record.

    Default: -

    types (string, optional)

    Types casting the fields to proper types example: field1:type, field2:type

    Default: -

    time_format (string, optional)

    Process value using specified format. This is available only when time_type is string

    Default: -

    time_type (string, optional)

    Parse/format value according to this type available values: float, unixtime, string

    Default: string

    local_time (bool, optional)

    Ff true, use local time. Otherwise, UTC is used. This is exclusive with utc.

    Default: true

    utc (bool, optional)

    If true, use UTC. Otherwise, local time is used. This is exclusive with localtime

    Default: false

    timezone (string, optional)

    Use specified timezone. one can parse/format the time value in the specified timezone.

    Default: nil

    format (string, optional)

    Only available when using type: multi_format

    Default: -

    format_firstline (string, optional)

    Only available when using type: multi_format

    Default: -

    delimiter (string, optional)

    Only available when using type: ltsv

    Default: “\t”

    delimiter_pattern (string, optional)

    Only available when using type: ltsv

    Default: -

    label_delimiter (string, optional)

    Only available when using type: ltsv

    Default: “:”

    multiline ([]string, optional)

    The multiline parser plugin parses multiline logs.

    Default: -

    patterns ([]SingleParseSection, optional)

    Only available when using type: multi_format Parse Section

    Default: -

    grok_pattern (string, optional)

    Only available when using type: grok, multiline_grok. The pattern of grok. You cannot specify multiple grok pattern with this.

    Default: -

    custom_pattern_path (*secret.Secret, optional)

    Only available when using type: grok, multiline_grok. File that includes custom grok patterns.

    Default: -

    grok_failure_key (string, optional)

    Only available when using type: grok, multiline_grok. The key has grok failure reason.

    Default: -

    grok_name_key (string, optional)

    Only available when using type: grok, multiline_grok. The key name to store grok section’s name.

    Default: -

    multiline_start_regexp (string, optional)

    Only available when using type: multiline_grok The regexp to match beginning of multiline.

    Default: -

    grok_patterns ([]GrokSection, optional)

    Only available when using type: grok, multiline_grok. Grok Section Specify grok pattern series set.

    Default: -

    Parse Section (single)

    type (string, optional) {#parse section-(single)-type}

    Parse type: apache2, apache_error, nginx, syslog, csv, tsv, ltsv, json, multiline, none, logfmt, grok, multiline_grok

    Default: -

    expression (string, optional) {#parse section-(single)-expression}

    Regexp expression to evaluate

    Default: -

    time_key (string, optional) {#parse section-(single)-time_key}

    Specify time field for event time. If the event doesn’t have this field, current time is used.

    Default: -

    null_value_pattern (string, optional) {#parse section-(single)-null_value_pattern}

    Specify null value pattern.

    Default: -

    null_empty_string (bool, optional) {#parse section-(single)-null_empty_string}

    If true, empty string field is replaced with nil

    Default: -

    estimate_current_event (bool, optional) {#parse section-(single)-estimate_current_event}

    If true, use Fluent::EventTime.now(current time) as a timestamp when time_key is specified.

    Default: -

    keep_time_key (bool, optional) {#parse section-(single)-keep_time_key}

    If true, keep time field in the record.

    Default: -

    types (string, optional) {#parse section-(single)-types}

    Types casting the fields to proper types example: field1:type, field2:type

    Default: -

    time_format (string, optional) {#parse section-(single)-time_format}

    Process value using specified format. This is available only when time_type is string

    Default: -

    time_type (string, optional) {#parse section-(single)-time_type}

    Parse/format value according to this type available values: float, unixtime, string

    Default: string

    local_time (bool, optional) {#parse section-(single)-local_time}

    Ff true, use local time. Otherwise, UTC is used. This is exclusive with utc.

    Default: true

    utc (bool, optional) {#parse section-(single)-utc}

    If true, use UTC. Otherwise, local time is used. This is exclusive with localtime

    Default: false

    timezone (string, optional) {#parse section-(single)-timezone}

    Use specified timezone. one can parse/format the time value in the specified timezone.

    Default: nil

    format (string, optional) {#parse section-(single)-format}

    Only available when using type: multi_format

    Default: -

    grok_pattern (string, optional) {#parse section-(single)-grok_pattern}

    Only available when using format: grok, multiline_grok. The pattern of grok. You cannot specify multiple grok pattern with this.

    Default: -

    custom_pattern_path (*secret.Secret, optional) {#parse section-(single)-custom_pattern_path}

    Only available when using format: grok, multiline_grok. File that includes custom grok patterns.

    Default: -

    grok_failure_key (string, optional) {#parse section-(single)-grok_failure_key}

    Only available when using format: grok, multiline_grok. The key has grok failure reason.

    Default: -

    grok_name_key (string, optional) {#parse section-(single)-grok_name_key}

    Only available when using format: grok, multiline_grok. The key name to store grok section’s name.

    Default: -

    multiline_start_regexp (string, optional) {#parse section-(single)-multiline_start_regexp}

    Only available when using format: multiline_grok The regexp to match beginning of multiline.

    Default: -

    grok_patterns ([]GrokSection, optional) {#parse section-(single)-grok_patterns}

    Only available when using format: grok, multiline_grok. Grok Section Specify grok pattern series set.

    Default: -

    Grok Section

    name (string, optional)

    The name of grok section.

    Default: -

    pattern (string, required)

    The pattern of grok.

    Default: -

    keep_time_key (bool, optional)

    If true, keep time field in the record.

    Default: -

    time_key (string, optional)

    Specify time field for event time. If the event doesn’t have this field, current time is used.

    Default: time

    time_format (string, optional)

    Process value using specified format. This is available only when time_type is string.

    Default: -

    timezone (string, optional)

    Use specified timezone. one can parse/format the time value in the specified timezone.

    Default: -

    Example Parser filter configurations

    apiVersion: logging.banzaicloud.io/v1beta1
    +

    3.8.3.9 - Parser

    Parser Filter

    Overview

    Parses a string field in event records and mutates its event record with the parsed result.

    Configuration

    ParserConfig

    key_name (string, optional)

    Specify field name in the record to parse. If you leave empty the Container Runtime default will be used.

    Default: -

    reserve_time (bool, optional)

    Keep original event time in parsed result.

    Default: -

    reserve_data (bool, optional)

    Keep original key-value pair in parsed result.

    Default: -

    remove_key_name_field (bool, optional)

    Remove key_name field when parsing is succeeded

    Default: -

    replace_invalid_sequence (bool, optional)

    If true, invalid string is replaced with safe characters and re-parse it.

    Default: -

    inject_key_prefix (string, optional)

    Store parsed values with specified key name prefix.

    Default: -

    hash_value_field (string, optional)

    Store parsed values as a hash value in a field.

    Default: -

    emit_invalid_record_to_error (*bool, optional)

    Emit invalid record to @ERROR label. Invalid cases are: key not exist, format is not matched, unexpected error

    Default: -

    parse (ParseSection, optional)

    Parse Section

    Default: -

    parsers ([]ParseSection, optional)

    Deprecated, use parse instead

    Default: -

    Parse Section

    type (string, optional)

    Parse type: apache2, apache_error, nginx, syslog, csv, tsv, ltsv, json, multiline, none, logfmt, grok, multiline_grok

    Default: -

    expression (string, optional)

    Regexp expression to evaluate

    Default: -

    time_key (string, optional)

    Specify time field for event time. If the event doesn’t have this field, current time is used.

    Default: -

    keys (string, optional)

    Names for fields on each line. (seperated by coma)

    Default: -

    null_value_pattern (string, optional)

    Specify null value pattern.

    Default: -

    null_empty_string (bool, optional)

    If true, empty string field is replaced with nil

    Default: -

    estimate_current_event (bool, optional)

    If true, use Fluent::EventTime.now(current time) as a timestamp when time_key is specified.

    Default: -

    keep_time_key (bool, optional)

    If true, keep time field in the record.

    Default: -

    types (string, optional)

    Types casting the fields to proper types example: field1:type, field2:type

    Default: -

    time_format (string, optional)

    Process value using specified format. This is available only when time_type is string

    Default: -

    time_type (string, optional)

    Parse/format value according to this type available values: float, unixtime, string

    Default: string

    local_time (bool, optional)

    Ff true, use local time. Otherwise, UTC is used. This is exclusive with utc.

    Default: true

    utc (bool, optional)

    If true, use UTC. Otherwise, local time is used. This is exclusive with localtime

    Default: false

    timezone (string, optional)

    Use specified timezone. one can parse/format the time value in the specified timezone.

    Default: nil

    format (string, optional)

    Only available when using type: multi_format

    Default: -

    format_firstline (string, optional)

    Only available when using type: multi_format

    Default: -

    delimiter (string, optional)

    Only available when using type: ltsv

    Default: “\t”

    delimiter_pattern (string, optional)

    Only available when using type: ltsv

    Default: -

    label_delimiter (string, optional)

    Only available when using type: ltsv

    Default: “:”

    multiline ([]string, optional)

    The multiline parser plugin parses multiline logs.

    Default: -

    patterns ([]SingleParseSection, optional)

    Only available when using type: multi_format Parse Section

    Default: -

    grok_pattern (string, optional)

    Only available when using type: grok, multiline_grok. The pattern of grok. You cannot specify multiple grok pattern with this.

    Default: -

    custom_pattern_path (*secret.Secret, optional)

    Only available when using type: grok, multiline_grok. File that includes custom grok patterns.

    Default: -

    grok_failure_key (string, optional)

    Only available when using type: grok, multiline_grok. The key has grok failure reason.

    Default: -

    grok_name_key (string, optional)

    Only available when using type: grok, multiline_grok. The key name to store grok section’s name.

    Default: -

    multiline_start_regexp (string, optional)

    Only available when using type: multiline_grok The regexp to match beginning of multiline.

    Default: -

    grok_patterns ([]GrokSection, optional)

    Only available when using type: grok, multiline_grok. Grok Section Specify grok pattern series set.

    Default: -

    Parse Section (single)

    type (string, optional)

    Parse type: apache2, apache_error, nginx, syslog, csv, tsv, ltsv, json, multiline, none, logfmt, grok, multiline_grok

    Default: -

    expression (string, optional)

    Regexp expression to evaluate

    Default: -

    time_key (string, optional)

    Specify time field for event time. If the event doesn’t have this field, current time is used.

    Default: -

    null_value_pattern (string, optional)

    Specify null value pattern.

    Default: -

    null_empty_string (bool, optional)

    If true, empty string field is replaced with nil

    Default: -

    estimate_current_event (bool, optional)

    If true, use Fluent::EventTime.now(current time) as a timestamp when time_key is specified.

    Default: -

    keep_time_key (bool, optional)

    If true, keep time field in the record.

    Default: -

    types (string, optional)

    Types casting the fields to proper types example: field1:type, field2:type

    Default: -

    time_format (string, optional)

    Process value using specified format. This is available only when time_type is string

    Default: -

    time_type (string, optional)

    Parse/format value according to this type available values: float, unixtime, string

    Default: string

    local_time (bool, optional)

    Ff true, use local time. Otherwise, UTC is used. This is exclusive with utc.

    Default: true

    utc (bool, optional)

    If true, use UTC. Otherwise, local time is used. This is exclusive with localtime

    Default: false

    timezone (string, optional)

    Use specified timezone. one can parse/format the time value in the specified timezone.

    Default: nil

    format (string, optional)

    Only available when using type: multi_format

    Default: -

    grok_pattern (string, optional)

    Only available when using format: grok, multiline_grok. The pattern of grok. You cannot specify multiple grok pattern with this.

    Default: -

    custom_pattern_path (*secret.Secret, optional)

    Only available when using format: grok, multiline_grok. File that includes custom grok patterns.

    Default: -

    grok_failure_key (string, optional)

    Only available when using format: grok, multiline_grok. The key has grok failure reason.

    Default: -

    grok_name_key (string, optional)

    Only available when using format: grok, multiline_grok. The key name to store grok section’s name.

    Default: -

    multiline_start_regexp (string, optional)

    Only available when using format: multiline_grok The regexp to match beginning of multiline.

    Default: -

    grok_patterns ([]GrokSection, optional)

    Only available when using format: grok, multiline_grok. Grok Section Specify grok pattern series set.

    Default: -

    Grok Section

    name (string, optional)

    The name of grok section.

    Default: -

    pattern (string, required)

    The pattern of grok.

    Default: -

    keep_time_key (bool, optional)

    If true, keep time field in the record.

    Default: -

    time_key (string, optional)

    Specify time field for event time. If the event doesn’t have this field, current time is used.

    Default: time

    time_format (string, optional)

    Process value using specified format. This is available only when time_type is string.

    Default: -

    timezone (string, optional)

    Use specified timezone. one can parse/format the time value in the specified timezone.

    Default: -

    Example Parser filter configurations

    apiVersion: logging.banzaicloud.io/v1beta1
     kind: Flow
     metadata:
      name: demo-flow
    @@ -1884,7 +1884,7 @@ 

    3.8.3.11 - Record Modifier

    </record> </filter>


    -

    Replace Directive

    Specify replace rule. This directive contains three parameters.

    key (string, required) {#replace directive-key}

    Key to search for

    Default: -

    expression (string, required) {#replace directive-expression}

    Regular expression

    Default: -

    replace (string, required) {#replace directive-replace}

    Value to replace with

    Default: -

    +

    Replace Directive

    Specify replace rule. This directive contains three parameters.

    key (string, required)

    Key to search for

    Default: -

    expression (string, required)

    Regular expression

    Default: -

    replace (string, required)

    Value to replace with

    Default: -

    3.8.3.12 - Record Transformer

    Record Transformer

    Overview

    Mutates/transforms incoming event streams.

    Configuration

    RecordTransformer

    remove_keys (string, optional)

    A comma-delimited list of keys to delete

    Default: -

    keep_keys (string, optional)

    A comma-delimited list of keys to keep.

    Default: -

    renew_record (bool, optional)

    Create new Hash to transform incoming data

    Default: false

    renew_time_key (string, optional)

    Specify field name of the record to overwrite the time of events. Its value must be unix time.

    Default: -

    enable_ruby (bool, optional)

    When set to true, the full Ruby syntax is enabled in the ${…} expression.

    Default: false

    auto_typecast (bool, optional)

    Use original value type.

    Default: true

    records ([]Record, optional)

    Add records docs at: https://docs.fluentd.org/filter/record_transformer Records are represented as maps: key: value

    Default: -

    Example Record Transformer filter configurations

    apiVersion: logging.banzaicloud.io/v1beta1
     kind: Flow
     metadata:
    @@ -1989,7 +1989,7 @@ 

    3.8.3.16 - Throttle

    </filter>


    -

    3.8.4 - Outputs

    +

    3.8.4 - Fluentd outputs

    3.8.4.1 - Alibaba Cloud

    Aliyun OSS plugin for Fluentd

    Overview

    Fluent OSS output plugin buffers event logs in local files and uploads them to OSS periodically in background threads.

    This plugin splits events by using the timestamp of event logs. For example, a log ‘2019-04-09 message Hello’ is reached, and then another log ‘2019-04-10 message World’ is reached in this order, the former is stored in “20190409.gz” file, and latter in “20190410.gz” file.

    Fluent OSS input plugin reads data from OSS periodically.

    This plugin uses MNS on the same region of the OSS bucket. We must setup MNS and OSS event notification before using this plugin.

    This document shows how to setup MNS and OSS event notification.

    This plugin will poll events from MNS queue and extract object keys from these events, and then will read those objects from OSS. More info at https://github.com/aliyun/fluent-plugin-oss

    Configuration

    Output Config

    endpoint (string, required)

    OSS endpoint to connect to’

    Default: -

    bucket (string, required)

    Your bucket name

    Default: -

    access_key_id (*secret.Secret, required)

    Your access key id Secret

    Default: -

    aaccess_key_secret (*secret.Secret, required)

    Your access secret key Secret

    Default: -

    path (string, optional)

    Path prefix of the files on OSS

    Default: fluent/logs

    upload_crc_enable (bool, optional)

    Upload crc enabled

    Default: true

    download_crc_enable (bool, optional)

    Download crc enabled

    Default: true

    open_timeout (int, optional)

    Timeout for open connections

    Default: 10

    read_timeout (int, optional)

    Timeout for read response

    Default: 120

    oss_sdk_log_dir (string, optional)

    OSS SDK log directory

    Default: /var/log/td-agent

    key_format (string, optional)

    The format of OSS object keys

    Default: %{path}/%{time_slice}%{index}%{thread_id}.%{file_extension}

    store_as (string, optional)

    Archive format on OSS: gzip, json, text, lzo, lzma2

    Default: gzip

    auto_create_bucket (bool, optional)

    desc ‘Create OSS bucket if it does not exists

    Default: false

    overwrite (bool, optional)

    Overwrite already existing path

    Default: false

    check_bucket (bool, optional)

    Check bucket if exists or not

    Default: true

    check_object (bool, optional)

    Check object before creation

    Default: true

    hex_random_length (int, optional)

    The length of %{hex_random} placeholder(4-16)

    Default: 4

    index_format (string, optional)

    sprintf format for %{index}

    Default: %d

    warn_for_delay (string, optional)

    Given a threshold to treat events as delay, output warning logs if delayed events were put into OSS

    Default: -

    format (*Format, optional)

    Format

    Default: -

    buffer (*Buffer, optional)

    Buffer

    Default: -

    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.

    Default: -

    3.8.4.2 - Amazon CloudWatch

    CloudWatch output plugin for Fluentd

    Overview

    This plugin has been designed to output logs or metrics to Amazon CloudWatch. @@ -3875,7 +3875,7 @@

    5.5 - Multiple Fluent Bit agents in

    Note: If your Logging resource has its spec.loggingRef parameter set, set the same value in the spec.loggingRef parameter of the Flow resource.

    Set other Flow parameters as needed for your environment.

  • Create the outputs (called "output-for-nodegroup-A" and "output-for-nodegroup-B") for the Flows.

  • 5.6 - TLS encryption

    To use TLS encryption in your logging infrastructure, you have to configure encryption:

      -
    • for the log collection part of your logging pipeline (between Fluent Bit and Fluentd or Fluent bit and syslog-ng), and
    • for the output plugin (between Fluentd or syslog-ng and the output backend).

    For configuring the output, see the documentation of the output plugin you want to use at Outputs.

    For Fluentd and Fluent Bit, you can configure encryption in the logging resource using the following parameters:

    +
  • for the log collection part of your logging pipeline (between Fluent Bit and Fluentd or Fluent bit and syslog-ng), and
  • for the output plugin (between Fluentd or syslog-ng and the output backend).
  • For configuring the output, see the documentation of the output plugin you want to use at Fluentd outputs.

    For Fluentd and Fluent Bit, you can configure encryption in the logging resource using the following parameters:

    diff --git a/docs/configuration/_print/index.html b/docs/configuration/_print/index.html index b68e6971d..f1be1a88e 100644 --- a/docs/configuration/_print/index.html +++ b/docs/configuration/_print/index.html @@ -70,7 +70,7 @@
  • 7.1.1: ClusterFlow
  • 7.1.2: ClusterOutput
  • 7.1.3: Common
  • 7.1.4: FlowSpec
  • 7.1.5: FluentbitSpec
  • 7.1.6: FluentdSpec
  • 7.1.7: LoggingSpec
  • 7.1.8: NodeAgent
  • 7.1.9: OutputSpec
  • 7.1.10: SyslogNGClusterFlow
  • 7.1.11: SyslogNGClusterOutput
  • 7.1.12: SyslogNGFlowSpec
  • 7.1.13: SyslogNGOutputSpec
  • 7.1.14: SyslogNGSpec
  • 7.2: Logging extensions CRDs
  • 8: Supported Plugins
  • @@ -87,7 +87,7 @@

    2 - Output and ClusterOutput

    The Output resource defines an output where your Fluentd Flows can send the log messages. The output is a namespaced resource which means only a Flow within the same namespace can access it. You can use secrets in these definitions, but they must also be in the same namespace. Outputs are the final stage for a logging flow. You can define multiple outputs and attach them to multiple flows.

  • ClusterOutput defines an Output without namespace restrictions. It is only evaluated in the controlNamespace by default unless allowClusterResourcesFromAllNamespaces is set to true.
  • Note: Flow can be connected to Output and ClusterOutput, but ClusterFlow can be attached only to ClusterOutput.

      -
    • For the details of the supported output plugins, see Outputs.
    • For the details of Output custom resource, see OutputSpec.
    • For the details of ClusterOutput custom resource, see ClusterOutput.

    Fluentd S3 output example

    The following snippet defines an Amazon S3 bucket as an output.

    apiVersion: logging.banzaicloud.io/v1beta1
    +
  • For the details of the supported output plugins, see Fluentd outputs.
  • For the details of Output custom resource, see OutputSpec.
  • For the details of ClusterOutput custom resource, see ClusterOutput.
  • Fluentd S3 output example

    The following snippet defines an Amazon S3 bucket as an output.

    apiVersion: logging.banzaicloud.io/v1beta1
     kind: Output
     metadata:
       name: s3-output-sample
    @@ -1412,7 +1412,7 @@ 

    8.3.8 - Kubernetes Events Timestamp </filter>


    -

    8.3.9 - Parser

    Parser Filter

    Overview

    Parses a string field in event records and mutates its event record with the parsed result.

    Configuration

    ParserConfig

    key_name (string, optional)

    Specify field name in the record to parse. If you leave empty the Container Runtime default will be used.

    Default: -

    reserve_time (bool, optional)

    Keep original event time in parsed result.

    Default: -

    reserve_data (bool, optional)

    Keep original key-value pair in parsed result.

    Default: -

    remove_key_name_field (bool, optional)

    Remove key_name field when parsing is succeeded

    Default: -

    replace_invalid_sequence (bool, optional)

    If true, invalid string is replaced with safe characters and re-parse it.

    Default: -

    inject_key_prefix (string, optional)

    Store parsed values with specified key name prefix.

    Default: -

    hash_value_field (string, optional)

    Store parsed values as a hash value in a field.

    Default: -

    emit_invalid_record_to_error (*bool, optional)

    Emit invalid record to @ERROR label. Invalid cases are: key not exist, format is not matched, unexpected error

    Default: -

    parse (ParseSection, optional)

    Parse Section

    Default: -

    parsers ([]ParseSection, optional)

    Deprecated, use parse instead

    Default: -

    Parse Section

    type (string, optional)

    Parse type: apache2, apache_error, nginx, syslog, csv, tsv, ltsv, json, multiline, none, logfmt, grok, multiline_grok

    Default: -

    expression (string, optional)

    Regexp expression to evaluate

    Default: -

    time_key (string, optional)

    Specify time field for event time. If the event doesn’t have this field, current time is used.

    Default: -

    keys (string, optional)

    Names for fields on each line. (seperated by coma)

    Default: -

    null_value_pattern (string, optional)

    Specify null value pattern.

    Default: -

    null_empty_string (bool, optional)

    If true, empty string field is replaced with nil

    Default: -

    estimate_current_event (bool, optional)

    If true, use Fluent::EventTime.now(current time) as a timestamp when time_key is specified.

    Default: -

    keep_time_key (bool, optional)

    If true, keep time field in the record.

    Default: -

    types (string, optional)

    Types casting the fields to proper types example: field1:type, field2:type

    Default: -

    time_format (string, optional)

    Process value using specified format. This is available only when time_type is string

    Default: -

    time_type (string, optional)

    Parse/format value according to this type available values: float, unixtime, string

    Default: string

    local_time (bool, optional)

    Ff true, use local time. Otherwise, UTC is used. This is exclusive with utc.

    Default: true

    utc (bool, optional)

    If true, use UTC. Otherwise, local time is used. This is exclusive with localtime

    Default: false

    timezone (string, optional)

    Use specified timezone. one can parse/format the time value in the specified timezone.

    Default: nil

    format (string, optional)

    Only available when using type: multi_format

    Default: -

    format_firstline (string, optional)

    Only available when using type: multi_format

    Default: -

    delimiter (string, optional)

    Only available when using type: ltsv

    Default: “\t”

    delimiter_pattern (string, optional)

    Only available when using type: ltsv

    Default: -

    label_delimiter (string, optional)

    Only available when using type: ltsv

    Default: “:”

    multiline ([]string, optional)

    The multiline parser plugin parses multiline logs.

    Default: -

    patterns ([]SingleParseSection, optional)

    Only available when using type: multi_format Parse Section

    Default: -

    grok_pattern (string, optional)

    Only available when using type: grok, multiline_grok. The pattern of grok. You cannot specify multiple grok pattern with this.

    Default: -

    custom_pattern_path (*secret.Secret, optional)

    Only available when using type: grok, multiline_grok. File that includes custom grok patterns.

    Default: -

    grok_failure_key (string, optional)

    Only available when using type: grok, multiline_grok. The key has grok failure reason.

    Default: -

    grok_name_key (string, optional)

    Only available when using type: grok, multiline_grok. The key name to store grok section’s name.

    Default: -

    multiline_start_regexp (string, optional)

    Only available when using type: multiline_grok The regexp to match beginning of multiline.

    Default: -

    grok_patterns ([]GrokSection, optional)

    Only available when using type: grok, multiline_grok. Grok Section Specify grok pattern series set.

    Default: -

    Parse Section (single)

    type (string, optional) {#parse section-(single)-type}

    Parse type: apache2, apache_error, nginx, syslog, csv, tsv, ltsv, json, multiline, none, logfmt, grok, multiline_grok

    Default: -

    expression (string, optional) {#parse section-(single)-expression}

    Regexp expression to evaluate

    Default: -

    time_key (string, optional) {#parse section-(single)-time_key}

    Specify time field for event time. If the event doesn’t have this field, current time is used.

    Default: -

    null_value_pattern (string, optional) {#parse section-(single)-null_value_pattern}

    Specify null value pattern.

    Default: -

    null_empty_string (bool, optional) {#parse section-(single)-null_empty_string}

    If true, empty string field is replaced with nil

    Default: -

    estimate_current_event (bool, optional) {#parse section-(single)-estimate_current_event}

    If true, use Fluent::EventTime.now(current time) as a timestamp when time_key is specified.

    Default: -

    keep_time_key (bool, optional) {#parse section-(single)-keep_time_key}

    If true, keep time field in the record.

    Default: -

    types (string, optional) {#parse section-(single)-types}

    Types casting the fields to proper types example: field1:type, field2:type

    Default: -

    time_format (string, optional) {#parse section-(single)-time_format}

    Process value using specified format. This is available only when time_type is string

    Default: -

    time_type (string, optional) {#parse section-(single)-time_type}

    Parse/format value according to this type available values: float, unixtime, string

    Default: string

    local_time (bool, optional) {#parse section-(single)-local_time}

    Ff true, use local time. Otherwise, UTC is used. This is exclusive with utc.

    Default: true

    utc (bool, optional) {#parse section-(single)-utc}

    If true, use UTC. Otherwise, local time is used. This is exclusive with localtime

    Default: false

    timezone (string, optional) {#parse section-(single)-timezone}

    Use specified timezone. one can parse/format the time value in the specified timezone.

    Default: nil

    format (string, optional) {#parse section-(single)-format}

    Only available when using type: multi_format

    Default: -

    grok_pattern (string, optional) {#parse section-(single)-grok_pattern}

    Only available when using format: grok, multiline_grok. The pattern of grok. You cannot specify multiple grok pattern with this.

    Default: -

    custom_pattern_path (*secret.Secret, optional) {#parse section-(single)-custom_pattern_path}

    Only available when using format: grok, multiline_grok. File that includes custom grok patterns.

    Default: -

    grok_failure_key (string, optional) {#parse section-(single)-grok_failure_key}

    Only available when using format: grok, multiline_grok. The key has grok failure reason.

    Default: -

    grok_name_key (string, optional) {#parse section-(single)-grok_name_key}

    Only available when using format: grok, multiline_grok. The key name to store grok section’s name.

    Default: -

    multiline_start_regexp (string, optional) {#parse section-(single)-multiline_start_regexp}

    Only available when using format: multiline_grok The regexp to match beginning of multiline.

    Default: -

    grok_patterns ([]GrokSection, optional) {#parse section-(single)-grok_patterns}

    Only available when using format: grok, multiline_grok. Grok Section Specify grok pattern series set.

    Default: -

    Grok Section

    name (string, optional)

    The name of grok section.

    Default: -

    pattern (string, required)

    The pattern of grok.

    Default: -

    keep_time_key (bool, optional)

    If true, keep time field in the record.

    Default: -

    time_key (string, optional)

    Specify time field for event time. If the event doesn’t have this field, current time is used.

    Default: time

    time_format (string, optional)

    Process value using specified format. This is available only when time_type is string.

    Default: -

    timezone (string, optional)

    Use specified timezone. one can parse/format the time value in the specified timezone.

    Default: -

    Example Parser filter configurations

    apiVersion: logging.banzaicloud.io/v1beta1
    +

    8.3.9 - Parser

    Parser Filter

    Overview

    Parses a string field in event records and mutates its event record with the parsed result.

    Configuration

    ParserConfig

    key_name (string, optional)

    Specify field name in the record to parse. If you leave empty the Container Runtime default will be used.

    Default: -

    reserve_time (bool, optional)

    Keep original event time in parsed result.

    Default: -

    reserve_data (bool, optional)

    Keep original key-value pair in parsed result.

    Default: -

    remove_key_name_field (bool, optional)

    Remove key_name field when parsing is succeeded

    Default: -

    replace_invalid_sequence (bool, optional)

    If true, invalid string is replaced with safe characters and re-parse it.

    Default: -

    inject_key_prefix (string, optional)

    Store parsed values with specified key name prefix.

    Default: -

    hash_value_field (string, optional)

    Store parsed values as a hash value in a field.

    Default: -

    emit_invalid_record_to_error (*bool, optional)

    Emit invalid record to @ERROR label. Invalid cases are: key not exist, format is not matched, unexpected error

    Default: -

    parse (ParseSection, optional)

    Parse Section

    Default: -

    parsers ([]ParseSection, optional)

    Deprecated, use parse instead

    Default: -

    Parse Section

    type (string, optional)

    Parse type: apache2, apache_error, nginx, syslog, csv, tsv, ltsv, json, multiline, none, logfmt, grok, multiline_grok

    Default: -

    expression (string, optional)

    Regexp expression to evaluate

    Default: -

    time_key (string, optional)

    Specify time field for event time. If the event doesn’t have this field, current time is used.

    Default: -

    keys (string, optional)

    Names for fields on each line. (seperated by coma)

    Default: -

    null_value_pattern (string, optional)

    Specify null value pattern.

    Default: -

    null_empty_string (bool, optional)

    If true, empty string field is replaced with nil

    Default: -

    estimate_current_event (bool, optional)

    If true, use Fluent::EventTime.now(current time) as a timestamp when time_key is specified.

    Default: -

    keep_time_key (bool, optional)

    If true, keep time field in the record.

    Default: -

    types (string, optional)

    Types casting the fields to proper types example: field1:type, field2:type

    Default: -

    time_format (string, optional)

    Process value using specified format. This is available only when time_type is string

    Default: -

    time_type (string, optional)

    Parse/format value according to this type available values: float, unixtime, string

    Default: string

    local_time (bool, optional)

    Ff true, use local time. Otherwise, UTC is used. This is exclusive with utc.

    Default: true

    utc (bool, optional)

    If true, use UTC. Otherwise, local time is used. This is exclusive with localtime

    Default: false

    timezone (string, optional)

    Use specified timezone. one can parse/format the time value in the specified timezone.

    Default: nil

    format (string, optional)

    Only available when using type: multi_format

    Default: -

    format_firstline (string, optional)

    Only available when using type: multi_format

    Default: -

    delimiter (string, optional)

    Only available when using type: ltsv

    Default: “\t”

    delimiter_pattern (string, optional)

    Only available when using type: ltsv

    Default: -

    label_delimiter (string, optional)

    Only available when using type: ltsv

    Default: “:”

    multiline ([]string, optional)

    The multiline parser plugin parses multiline logs.

    Default: -

    patterns ([]SingleParseSection, optional)

    Only available when using type: multi_format Parse Section

    Default: -

    grok_pattern (string, optional)

    Only available when using type: grok, multiline_grok. The pattern of grok. You cannot specify multiple grok pattern with this.

    Default: -

    custom_pattern_path (*secret.Secret, optional)

    Only available when using type: grok, multiline_grok. File that includes custom grok patterns.

    Default: -

    grok_failure_key (string, optional)

    Only available when using type: grok, multiline_grok. The key has grok failure reason.

    Default: -

    grok_name_key (string, optional)

    Only available when using type: grok, multiline_grok. The key name to store grok section’s name.

    Default: -

    multiline_start_regexp (string, optional)

    Only available when using type: multiline_grok The regexp to match beginning of multiline.

    Default: -

    grok_patterns ([]GrokSection, optional)

    Only available when using type: grok, multiline_grok. Grok Section Specify grok pattern series set.

    Default: -

    Parse Section (single)

    type (string, optional)

    Parse type: apache2, apache_error, nginx, syslog, csv, tsv, ltsv, json, multiline, none, logfmt, grok, multiline_grok

    Default: -

    expression (string, optional)

    Regexp expression to evaluate

    Default: -

    time_key (string, optional)

    Specify time field for event time. If the event doesn’t have this field, current time is used.

    Default: -

    null_value_pattern (string, optional)

    Specify null value pattern.

    Default: -

    null_empty_string (bool, optional)

    If true, empty string field is replaced with nil

    Default: -

    estimate_current_event (bool, optional)

    If true, use Fluent::EventTime.now(current time) as a timestamp when time_key is specified.

    Default: -

    keep_time_key (bool, optional)

    If true, keep time field in the record.

    Default: -

    types (string, optional)

    Types casting the fields to proper types example: field1:type, field2:type

    Default: -

    time_format (string, optional)

    Process value using specified format. This is available only when time_type is string

    Default: -

    time_type (string, optional)

    Parse/format value according to this type available values: float, unixtime, string

    Default: string

    local_time (bool, optional)

    Ff true, use local time. Otherwise, UTC is used. This is exclusive with utc.

    Default: true

    utc (bool, optional)

    If true, use UTC. Otherwise, local time is used. This is exclusive with localtime

    Default: false

    timezone (string, optional)

    Use specified timezone. one can parse/format the time value in the specified timezone.

    Default: nil

    format (string, optional)

    Only available when using type: multi_format

    Default: -

    grok_pattern (string, optional)

    Only available when using format: grok, multiline_grok. The pattern of grok. You cannot specify multiple grok pattern with this.

    Default: -

    custom_pattern_path (*secret.Secret, optional)

    Only available when using format: grok, multiline_grok. File that includes custom grok patterns.

    Default: -

    grok_failure_key (string, optional)

    Only available when using format: grok, multiline_grok. The key has grok failure reason.

    Default: -

    grok_name_key (string, optional)

    Only available when using format: grok, multiline_grok. The key name to store grok section’s name.

    Default: -

    multiline_start_regexp (string, optional)

    Only available when using format: multiline_grok The regexp to match beginning of multiline.

    Default: -

    grok_patterns ([]GrokSection, optional)

    Only available when using format: grok, multiline_grok. Grok Section Specify grok pattern series set.

    Default: -

    Grok Section

    name (string, optional)

    The name of grok section.

    Default: -

    pattern (string, required)

    The pattern of grok.

    Default: -

    keep_time_key (bool, optional)

    If true, keep time field in the record.

    Default: -

    time_key (string, optional)

    Specify time field for event time. If the event doesn’t have this field, current time is used.

    Default: time

    time_format (string, optional)

    Process value using specified format. This is available only when time_type is string.

    Default: -

    timezone (string, optional)

    Use specified timezone. one can parse/format the time value in the specified timezone.

    Default: -

    Example Parser filter configurations

    apiVersion: logging.banzaicloud.io/v1beta1
     kind: Flow
     metadata:
      name: demo-flow
    @@ -1518,7 +1518,7 @@ 

    8.3.11 - Record Modifier

    </record> </filter>


    -

    Replace Directive

    Specify replace rule. This directive contains three parameters.

    key (string, required) {#replace directive-key}

    Key to search for

    Default: -

    expression (string, required) {#replace directive-expression}

    Regular expression

    Default: -

    replace (string, required) {#replace directive-replace}

    Value to replace with

    Default: -

    +

    Replace Directive

    Specify replace rule. This directive contains three parameters.

    key (string, required)

    Key to search for

    Default: -

    expression (string, required)

    Regular expression

    Default: -

    replace (string, required)

    Value to replace with

    Default: -

    8.3.12 - Record Transformer

    Record Transformer

    Overview

    Mutates/transforms incoming event streams.

    Configuration

    RecordTransformer

    remove_keys (string, optional)

    A comma-delimited list of keys to delete

    Default: -

    keep_keys (string, optional)

    A comma-delimited list of keys to keep.

    Default: -

    renew_record (bool, optional)

    Create new Hash to transform incoming data

    Default: false

    renew_time_key (string, optional)

    Specify field name of the record to overwrite the time of events. Its value must be unix time.

    Default: -

    enable_ruby (bool, optional)

    When set to true, the full Ruby syntax is enabled in the ${…} expression.

    Default: false

    auto_typecast (bool, optional)

    Use original value type.

    Default: true

    records ([]Record, optional)

    Add records docs at: https://docs.fluentd.org/filter/record_transformer Records are represented as maps: key: value

    Default: -

    Example Record Transformer filter configurations

    apiVersion: logging.banzaicloud.io/v1beta1
     kind: Flow
     metadata:
    @@ -1623,7 +1623,7 @@ 

    8.3.16 - Throttle

    </filter>


    -

    8.4 - Outputs

    +

    8.4 - Fluentd outputs

    8.4.1 - Alibaba Cloud

    Aliyun OSS plugin for Fluentd

    Overview

    Fluent OSS output plugin buffers event logs in local files and uploads them to OSS periodically in background threads.

    This plugin splits events by using the timestamp of event logs. For example, a log ‘2019-04-09 message Hello’ is reached, and then another log ‘2019-04-10 message World’ is reached in this order, the former is stored in “20190409.gz” file, and latter in “20190410.gz” file.

    Fluent OSS input plugin reads data from OSS periodically.

    This plugin uses MNS on the same region of the OSS bucket. We must setup MNS and OSS event notification before using this plugin.

    This document shows how to setup MNS and OSS event notification.

    This plugin will poll events from MNS queue and extract object keys from these events, and then will read those objects from OSS. More info at https://github.com/aliyun/fluent-plugin-oss

    Configuration

    Output Config

    endpoint (string, required)

    OSS endpoint to connect to’

    Default: -

    bucket (string, required)

    Your bucket name

    Default: -

    access_key_id (*secret.Secret, required)

    Your access key id Secret

    Default: -

    aaccess_key_secret (*secret.Secret, required)

    Your access secret key Secret

    Default: -

    path (string, optional)

    Path prefix of the files on OSS

    Default: fluent/logs

    upload_crc_enable (bool, optional)

    Upload crc enabled

    Default: true

    download_crc_enable (bool, optional)

    Download crc enabled

    Default: true

    open_timeout (int, optional)

    Timeout for open connections

    Default: 10

    read_timeout (int, optional)

    Timeout for read response

    Default: 120

    oss_sdk_log_dir (string, optional)

    OSS SDK log directory

    Default: /var/log/td-agent

    key_format (string, optional)

    The format of OSS object keys

    Default: %{path}/%{time_slice}%{index}%{thread_id}.%{file_extension}

    store_as (string, optional)

    Archive format on OSS: gzip, json, text, lzo, lzma2

    Default: gzip

    auto_create_bucket (bool, optional)

    desc ‘Create OSS bucket if it does not exists

    Default: false

    overwrite (bool, optional)

    Overwrite already existing path

    Default: false

    check_bucket (bool, optional)

    Check bucket if exists or not

    Default: true

    check_object (bool, optional)

    Check object before creation

    Default: true

    hex_random_length (int, optional)

    The length of %{hex_random} placeholder(4-16)

    Default: 4

    index_format (string, optional)

    sprintf format for %{index}

    Default: %d

    warn_for_delay (string, optional)

    Given a threshold to treat events as delay, output warning logs if delayed events were put into OSS

    Default: -

    format (*Format, optional)

    Format

    Default: -

    buffer (*Buffer, optional)

    Buffer

    Default: -

    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.

    Default: -

    8.4.2 - Amazon CloudWatch

    CloudWatch output plugin for Fluentd

    Overview

    This plugin has been designed to output logs or metrics to Amazon CloudWatch. diff --git a/docs/configuration/crds/extensions/eventtailer_types/index.html b/docs/configuration/crds/extensions/eventtailer_types/index.html index 72869f329..adfa03f23 100644 --- a/docs/configuration/crds/extensions/eventtailer_types/index.html +++ b/docs/configuration/crds/extensions/eventtailer_types/index.html @@ -40,7 +40,7 @@ Default: -"> - + - + @@ -275,7 +275,7 @@

  • - +
    • @@ -559,7 +559,7 @@
    • EventTailer

      EventTailerSpec

      EventTailerSpec defines the desired state of EventTailer

      controlNamespace (string, required)

      The resources of EventTailer will be placed into this namespace

      Default: -

      positionVolume (volume.KubernetesVolume, optional)

      Volume definition for tracking fluentbit file positions (optional)

      Default: -

      workloadMetaOverrides (*types.MetaBase, optional)

      Override metadata of the created resources

      Default: -

      workloadOverrides (*types.PodSpecBase, optional)

      Override podSpec fields for the given statefulset

      Default: -

      containerOverrides (*types.ContainerBase, optional)

      Override container fields for the given statefulset

      Default: -

      EventTailerStatus

      EventTailerStatus defines the observed state of EventTailer

      EventTailer

      EventTailer is the Schema for the eventtailers API

      (metav1.TypeMeta, required)

      Default: -

      metadata (metav1.ObjectMeta, optional)

      Default: -

      spec (EventTailerSpec, optional)

      Default: -

      status (EventTailerStatus, optional)

      Default: -

      EventTailerList

      EventTailerList contains a list of EventTailer

      (metav1.TypeMeta, required)

      Default: -

      metadata (metav1.ListMeta, optional)

      Default: -

      items ([]EventTailer, required)

      Default: -

  • diff --git a/docs/configuration/crds/extensions/hosttailer_types/index.html b/docs/configuration/crds/extensions/hosttailer_types/index.html index 7b8d63711..fe182688f 100644 --- a/docs/configuration/crds/extensions/hosttailer_types/index.html +++ b/docs/configuration/crds/extensions/hosttailer_types/index.html @@ -34,7 +34,7 @@ workloadMetaOverrides (*types.MetaBase, optional) Override metadata of the created resources"> - + - + @@ -263,7 +263,7 @@
  • - +
    • @@ -551,7 +551,7 @@
    • HostTailer

      HostTailerSpec

      HostTailerSpec defines the desired state of HostTailer

      fileTailers ([]FileTailer, optional)

      List of file tailers.

      Default: -

      systemdTailers ([]SystemdTailer, optional)

      List of systemd tailers.

      Default: -

      enableRecreateWorkloadOnImmutableFieldChange (bool, optional)

      EnableRecreateWorkloadOnImmutableFieldChange enables the operator to recreate the daemonset (and possibly other resource in the future) in case there is a change in an immutable field that otherwise couldn’t be managed with a simple update.

      Default: -

      workloadMetaOverrides (*types.MetaBase, optional)

      Override metadata of the created resources

      Default: -

      workloadOverrides (*types.PodSpecBase, optional)

      Override podSpec fields for the given daemonset

      Default: -

      HostTailerStatus

      HostTailerStatus defines the observed state of HostTailer.

      HostTailer

      HostTailer is the Schema for the hosttailers API

      (metav1.TypeMeta, required)

      Default: -

      metadata (metav1.ObjectMeta, optional)

      Default: -

      spec (HostTailerSpec, optional)

      Default: -

      status (HostTailerStatus, optional)

      Default: -

      HostTailerList

      HostTailerList contains a list of HostTailers.

      (metav1.TypeMeta, required)

      Default: -

      metadata (metav1.ListMeta, optional)

      Default: -

      items ([]HostTailer, required)

      Default: -

      FileTailer

      FileTailer configuration options

      name (string, required)

      Name for the tailer

      Default: -

      path (string, optional)

      Path to the loggable file

      Default: -

      disabled (bool, optional)

      Disable tailing the file

      Default: -

      buffer_max_size (string, optional)

      Set the limit of the buffer size per active filetailer

      Default: -

      buffer_chunk_size (string, optional)

      Set the buffer chunk size per active filetailer

      Default: -

      skip_long_lines (string, optional)

      Skip long line when exceeding Buffer_Max_Size

      Default: -

      read_from_head (bool, optional)

      Start reading from the head of new log files

      Default: -

      buffer_max_size (string, optional)

      Set the limit of the buffer size per active filetailer

      Default: -

      buffer_chunk_size (string, optional)

      Set the buffer chunk size per active filetailer

      Default: -

      skip_long_lines (string, optional)

      Skip long line when exceeding Buffer_Max_Size

      Default: -

      read_from_head (bool, optional)

      Start reading from the head of new log files

      Default: -

      containerOverrides (*types.ContainerBase, optional)

      Override container fields for the given tailer

      Default: -

      SystemdTailer

      SystemdTailer configuration options

      name (string, required)

      Name for the tailer

      Default: -

      path (string, optional)

      Override systemd log path

      Default: -

      disabled (bool, optional)

      Disable component

      Default: -

      systemdFilter (string, optional)

      Filter to select systemd unit example: kubelet.service

      Default: -

      maxEntries (int, optional)

      Maximum entries to read when starting to tail logs to avoid high pressure

      Default: -

      containerOverrides (*types.ContainerBase, optional)

      Override container fields for the given tailer

      Default: -

  • diff --git a/docs/configuration/crds/index.html b/docs/configuration/crds/index.html index 2f4650b6c..73960949b 100644 --- a/docs/configuration/crds/index.html +++ b/docs/configuration/crds/index.html @@ -232,7 +232,7 @@
  • - +
  • diff --git a/docs/configuration/crds/v1beta1/clusterflow_types/index.html b/docs/configuration/crds/v1beta1/clusterflow_types/index.html index c21ed1de3..daa32edec 100644 --- a/docs/configuration/crds/v1beta1/clusterflow_types/index.html +++ b/docs/configuration/crds/v1beta1/clusterflow_types/index.html @@ -44,7 +44,7 @@ ClusterExclude namespaces ([]string, optional) Default: -"> - + - + @@ -283,7 +283,7 @@
  • - +
    • @@ -573,7 +573,7 @@
    • ClusterFlow

      ClusterFlow

      ClusterFlow is the Schema for the clusterflows API

      (metav1.TypeMeta, required)

      Default: -

      metadata (metav1.ObjectMeta, optional)

      Default: -

      spec (ClusterFlowSpec, optional)

      Name of the logging cluster to be attached

      Default: -

      status (FlowStatus, optional)

      Default: -

      ClusterMatch

      select (*ClusterSelect, optional)

      Default: -

      exclude (*ClusterExclude, optional)

      Default: -

      ClusterSelect

      namespaces ([]string, optional)

      Default: -

      labels (map[string]string, optional)

      Default: -

      hosts ([]string, optional)

      Default: -

      container_names ([]string, optional)

      Default: -

      ClusterExclude

      namespaces ([]string, optional)

      Default: -

      labels (map[string]string, optional)

      Default: -

      hosts ([]string, optional)

      Default: -

      container_names ([]string, optional)

      Default: -

      ClusterFlowSpec

      ClusterFlowSpec is the Kubernetes spec for ClusterFlows

      selectors (map[string]string, optional)

      Deprecated

      Default: -

      match ([]ClusterMatch, optional)

      Default: -

      filters ([]Filter, optional)

      Default: -

      loggingRef (string, optional)

      Default: -

      outputRefs ([]string, optional)

      Deprecated

      Default: -

      globalOutputRefs ([]string, optional)

      Default: -

      flowLabel (string, optional)

      Default: -

      includeLabelInRouter (*bool, optional)

      Default: -

      ClusterFlowList

      ClusterFlowList contains a list of ClusterFlow

      (metav1.TypeMeta, required)

      Default: -

      metadata (metav1.ListMeta, optional)

      Default: -

      items ([]ClusterFlow, required)

      Default: -

  • diff --git a/docs/configuration/crds/v1beta1/clusteroutput_types/index.html b/docs/configuration/crds/v1beta1/clusteroutput_types/index.html index b6b9f6f7d..8aa4d17d2 100644 --- a/docs/configuration/crds/v1beta1/clusteroutput_types/index.html +++ b/docs/configuration/crds/v1beta1/clusteroutput_types/index.html @@ -42,7 +42,7 @@ items ([]ClusterOutput, required) Default: -"> - + - + @@ -279,7 +279,7 @@
  • - +
  • diff --git a/docs/configuration/crds/v1beta1/common_types/index.html b/docs/configuration/crds/v1beta1/common_types/index.html index e5658588e..e61077dab 100644 --- a/docs/configuration/crds/v1beta1/common_types/index.html +++ b/docs/configuration/crds/v1beta1/common_types/index.html @@ -44,7 +44,7 @@ prometheusAnnotations (bool, optional) Default: -"> - + - + @@ -283,7 +283,7 @@
  • - +
    • @@ -573,7 +573,7 @@
    • Common

      ImageSpec

      ImageSpec struct hold information about image specification

      repository (string, optional)

      Default: -

      tag (string, optional)

      Default: -

      pullPolicy (string, optional)

      Default: -

      imagePullSecrets ([]corev1.LocalObjectReference, optional)

      Default: -

      Metrics

      Metrics defines the service monitor endpoints

      interval (string, optional)

      Default: -

      timeout (string, optional)

      Default: -

      port (int32, optional)

      Default: -

      path (string, optional)

      Default: -

      serviceMonitor (bool, optional)

      Default: -

      serviceMonitorConfig (ServiceMonitorConfig, optional)

      Default: -

      prometheusAnnotations (bool, optional)

      Default: -

      prometheusRules (bool, optional)

      Default: -

      BufferMetrics

      BufferMetrics defines the service monitor endpoints

      (Metrics, required)

      Default: -

      mount_name (string, optional)

      Default: -

      ServiceMonitorConfig

      ServiceMonitorConfig defines the ServiceMonitor properties

      additionalLabels (map[string]string, optional)

      Default: -

      honorLabels (bool, optional)

      Default: -

      relabelings ([]*v1.RelabelConfig, optional)

      Default: -

      metricRelabelings ([]*v1.RelabelConfig, optional)

      Default: -

      scheme (string, optional)

      Default: -

      tlsConfig (*v1.TLSConfig, optional)

      Default: -

      Security

      Security defines Fluentd, FluentbitAgent deployment security properties

      serviceAccount (string, optional)

      Default: -

      roleBasedAccessControlCreate (*bool, optional)

      Default: -

      podSecurityPolicyCreate (bool, optional)

      Default: -

      securityContext (*corev1.SecurityContext, optional)

      Default: -

      podSecurityContext (*corev1.PodSecurityContext, optional)

      Default: -

      ReadinessDefaultCheck

      ReadinessDefaultCheck Enable default readiness checks

      bufferFreeSpace (bool, optional)

      Enable default Readiness check it’ll fail if the buffer volume free space exceeds the readinessDefaultThreshold percentage (90%).

      Default: -

      bufferFreeSpaceThreshold (int32, optional)

      Default: -

      bufferFileNumber (bool, optional)

      Default: -

      bufferFileNumberMax (int32, optional)

      Default: -

      initialDelaySeconds (int32, optional)

      Default: -

      timeoutSeconds (int32, optional)

      Default: -

      periodSeconds (int32, optional)

      Default: -

      successThreshold (int32, optional)

      Default: -

      failureThreshold (int32, optional)

      Default: -

  • diff --git a/docs/configuration/crds/v1beta1/flow_types/index.html b/docs/configuration/crds/v1beta1/flow_types/index.html index fe918cc3a..bc334b7a7 100644 --- a/docs/configuration/crds/v1beta1/flow_types/index.html +++ b/docs/configuration/crds/v1beta1/flow_types/index.html @@ -48,7 +48,7 @@ Select labels (map[string]string, optional) Default: -"> - + - + @@ -291,7 +291,7 @@
  • - +
    • @@ -585,7 +585,7 @@
    • FlowSpec

      FlowSpec

      FlowSpec is the Kubernetes spec for Flows

      selectors (map[string]string, optional)

      Deprecated

      Default: -

      match ([]Match, optional)

      Default: -

      filters ([]Filter, optional)

      Default: -

      loggingRef (string, optional)

      Default: -

      outputRefs ([]string, optional)

      Deprecated

      Default: -

      globalOutputRefs ([]string, optional)

      Default: -

      localOutputRefs ([]string, optional)

      Default: -

      flowLabel (string, optional)

      Default: -

      includeLabelInRouter (*bool, optional)

      Default: -

      Match

      select (*Select, optional)

      Default: -

      exclude (*Exclude, optional)

      Default: -

      Select

      labels (map[string]string, optional)

      Default: -

      hosts ([]string, optional)

      Default: -

      container_names ([]string, optional)

      Default: -

      Exclude

      labels (map[string]string, optional)

      Default: -

      hosts ([]string, optional)

      Default: -

      container_names ([]string, optional)

      Default: -

      Filter

      Filter definition for FlowSpec

      stdout (*filter.StdOutFilterConfig, optional)

      Default: -

      parser (*filter.ParserConfig, optional)

      Default: -

      tag_normaliser (*filter.TagNormaliser, optional)

      Default: -

      dedot (*filter.DedotFilterConfig, optional)

      Default: -

      elasticsearch_genid (*filter.ElasticsearchGenId, optional)

      Default: -

      record_transformer (*filter.RecordTransformer, optional)

      Default: -

      record_modifier (*filter.RecordModifier, optional)

      Default: -

      geoip (*filter.GeoIP, optional)

      Default: -

      concat (*filter.Concat, optional)

      Default: -

      detectExceptions (*filter.DetectExceptions, optional)

      Default: -

      grep (*filter.GrepConfig, optional)

      Default: -

      prometheus (*filter.PrometheusConfig, optional)

      Default: -

      throttle (*filter.Throttle, optional)

      Default: -

      sumologic (*filter.SumoLogic, optional)

      Default: -

      enhanceK8s (*filter.EnhanceK8s, optional)

      Default: -

      kube_events_timestamp (*filter.KubeEventsTimestampConfig, optional)

      Default: -

      FlowStatus

      FlowStatus defines the observed state of Flow

      active (*bool, optional)

      Default: -

      problems ([]string, optional)

      Default: -

      problemsCount (int, optional)

      Default: -

      Flow

      Flow Kubernetes object

      (metav1.TypeMeta, required)

      Default: -

      metadata (metav1.ObjectMeta, optional)

      Default: -

      spec (FlowSpec, optional)

      Default: -

      status (FlowStatus, optional)

      Default: -

      FlowList

      FlowList contains a list of Flow

      (metav1.TypeMeta, required)

      Default: -

      metadata (metav1.ListMeta, optional)

      Default: -

      items ([]Flow, required)

      Default: -

  • diff --git a/docs/configuration/crds/v1beta1/fluentbit_types/index.html b/docs/configuration/crds/v1beta1/fluentbit_types/index.html index 27f1384f1..da2c3a9a9 100644 --- a/docs/configuration/crds/v1beta1/fluentbit_types/index.html +++ b/docs/configuration/crds/v1beta1/fluentbit_types/index.html @@ -44,7 +44,7 @@ annotations (map[string]string, optional) Default: -"> - + - + @@ -283,7 +283,7 @@
  • - +
    • @@ -621,7 +621,7 @@

      FluentbitSpec

  • FluentbitStatus

    FluentbitStatus defines the resource status for FluentbitAgent

    FluentbitTLS

    FluentbitTLS defines the TLS configs

    enabled (*bool, required)

    Default: -

    secretName (string, optional)

    Default: -

    sharedKey (string, optional)

    Default: -

    FluentbitTCPOutput

    FluentbitTCPOutput defines the TLS configs

    json_date_key (string, optional)

    Default: ts

    json_date_format (string, optional)

    Default: iso8601

    FluentbitNetwork

    FluentbitNetwork defines network configuration for fluentbit

    connectTimeout (*uint32, optional)

    Sets the timeout for connecting to an upstream

    Default: 10

    connectTimeoutLogError (*bool, optional)

    On connection timeout, specify if it should log an error. When disabled, the timeout is logged as a debug message

    Default: true

    dnsMode (string, optional)

    Sets the primary transport layer protocol used by the asynchronous DNS resolver for connections established

    Default: UDP, UDP or TCP

    dnsPreferIpv4 (*bool, optional)

    Prioritize IPv4 DNS results when trying to establish a connection

    Default: false

    dnsResolver (string, optional)

    Select the primary DNS resolver type

    Default: ASYNC, LEGACY or ASYNC

    keepalive (*bool, optional)

    Whether or not TCP keepalive is used for the upstream connection

    Default: true

    keepaliveIdleTimeout (*uint32, optional)

    How long in seconds a TCP keepalive connection can be idle before being recycled

    Default: 30

    keepaliveMaxRecycle (*uint32, optional)

    How many times a TCP keepalive connection can be used before being recycled

    Default: 0, disabled

    sourceAddress (string, optional)

    Specify network address (interface) to use for connection and data traffic.

    Default: disabled

    BufferStorage

    BufferStorage is the Service Section Configuration of fluent-bit

    storage.path (string, optional)

    Set an optional location in the file system to store streams and chunks of data. If this parameter is not set, Input plugins can only use in-memory buffering.

    Default: -

    storage.sync (string, optional)

    Configure the synchronization mode used to store the data into the file system. It can take the values normal or full.

    Default: normal

    storage.checksum (string, optional)

    Enable the data integrity check when writing and reading data from the filesystem. The storage layer uses the CRC32 algorithm.

    Default: Off

    storage.backlog.mem_limit (string, optional)

    If storage.path is set, Fluent Bit will look for data chunks that were not delivered and are still in the storage layer, these are called backlog data. This option configure a hint of maximum value of memory to use when processing these records.

    Default: 5M

    InputTail

    InputTail defines FluentbitAgent tail input configuration The tail input plugin allows to monitor one or several text files. It has a similar behavior like tail -f shell command.

    storage.type (string, optional)

    Specify the buffering mechanism to use. It can be memory or filesystem.

    Default: memory

    Buffer_Chunk_Size (string, optional)

    Set the buffer size for HTTP client when reading responses from Kubernetes API server. The value must be according to the Unit Size specification.

    Default: 32k

    Buffer_Max_Size (string, optional)

    Set the limit of the buffer size per monitored file. When a buffer needs to be increased (e.g: very long lines), this value is used to restrict how much the memory buffer can grow. If reading a file exceed this limit, the file is removed from the monitored file list. The value must be according to the Unit Size specification.

    Default: Buffer_Chunk_Size

    Path (string, optional)

    Pattern specifying a specific log files or multiple ones through the use of common wildcards.

    Default: -

    Path_Key (string, optional)

    If enabled, it appends the name of the monitored file as part of the record. The value assigned becomes the key in the map.

    Default: -

    Exclude_Path (string, optional)

    Set one or multiple shell patterns separated by commas to exclude files matching a certain criteria, e.g: exclude_path=.gz,.zip

    Default: -

    Read_From_Head (bool, optional)

    For new discovered files on start (without a database offset/position), read the content from the head of the file, not tail.

    Default: -

    Refresh_Interval (string, optional)

    The interval of refreshing the list of watched files in seconds.

    Default: 60

    Rotate_Wait (string, optional)

    Specify the number of extra time in seconds to monitor a file once is rotated in case some pending data is flushed.

    Default: 5

    Ignore_Older (string, optional)

    Ignores files that have been last modified before this time in seconds. Supports m,h,d (minutes, hours,days) syntax. Default behavior is to read all specified files.

    Default: -

    Skip_Long_Lines (string, optional)

    When a monitored file reach it buffer capacity due to a very long line (Buffer_Max_Size), the default behavior is to stop monitoring that file. Skip_Long_Lines alter that behavior and instruct Fluent Bit to skip long lines and continue processing other lines that fits into the buffer size.

    Default: Off

    DB (*string, optional)

    Specify the database file to keep track of monitored files and offsets.

    Default: -

    DB_Sync (string, optional)

    Set a default synchronization (I/O) method. Values: Extra, Full, Normal, Off. This flag affects how the internal SQLite engine do synchronization to disk, for more details about each option please refer to this section.

    Default: Full

    DB.locking (*bool, optional)

    Specify that the database will be accessed only by Fluent Bit. Enabling this feature helps to increase performance when accessing the database but it restrict any external tool to query the content.

    Default: true

    DB.journal_mode (string, optional)

    sets the journal mode for databases (WAL). Enabling WAL provides higher performance. Note that WAL is not compatible with shared network file systems.

    Default: WAL

    Mem_Buf_Limit (string, optional)

    Set a limit of memory that Tail plugin can use when appending data to the Engine. If the limit is reach, it will be paused; when the data is flushed it resumes.

    Default: -

    Parser (string, optional)

    Specify the name of a parser to interpret the entry as a structured message.

    Default: -

    Key (string, optional)

    When a message is unstructured (no parser applied), it’s appended as a string under the key name log. This option allows to define an alternative name for that key.

    Default: log

    Tag (string, optional)

    Set a tag (with regex-extract fields) that will be placed on lines read.

    Default: -

    Tag_Regex (string, optional)

    Set a regex to extract fields from the file.

    Default: -

    Multiline (string, optional)

    If enabled, the plugin will try to discover multiline messages and use the proper parsers to compose the outgoing messages. Note that when this option is enabled the Parser option is not used.

    Default: Off

    Multiline_Flush (string, optional)

    Wait period time in seconds to process queued multiline messages

    Default: 4

    Parser_Firstline (string, optional)

    Name of the parser that machs the beginning of a multiline message. Note that the regular expression defined in the parser must include a group name (named capture)

    Default: -

    Parser_N ([]string, optional)

    Optional-extra parser to interpret and structure multiline entries. This option can be used to define multiple parsers, e.g: Parser_1 ab1, Parser_2 ab2, Parser_N abN.

    Default: -

    Docker_Mode (string, optional)

    If enabled, the plugin will recombine split Docker log lines before passing them to any parser as configured above. This mode cannot be used at the same time as Multiline.

    Default: Off

    Docker_Mode_Parser (string, optional)

    Specify an optional parser for the first line of the docker multiline mode.

    Default: -

    Docker_Mode_Flush (string, optional)

    Wait period time in seconds to flush queued unfinished split lines.

    Default: 4

    multiline.parser ([]string, optional)

    Specify one or multiple parser definitions to apply to the content. Part of the new Multiline Core support in 1.8

    Default: ""

    FilterKubernetes

    FilterKubernetes Fluent Bit Kubernetes Filter allows to enrich your log files with Kubernetes metadata.

    Match (string, optional)

    Match filtered records (default:kube.*)

    Default: kubernetes.*

    Buffer_Size (string, optional)

    Set the buffer size for HTTP client when reading responses from Kubernetes API server. The value must be according to the Unit Size specification. A value of 0 results in no limit, and the buffer will expand as-needed. Note that if pod specifications exceed the buffer limit, the API response will be discarded when retrieving metadata, and some kubernetes metadata will fail to be injected to the logs. If this value is empty we will set it “0”.

    Default: “0”

    Kube_URL (string, optional)

    API Server end-point (default: https://kubernetes.default.svc:443)

    Default: https://kubernetes.default.svc:443

    Kube_CA_File (string, optional)

    CA certificate file (default:/var/run/secrets/kubernetes.io/serviceaccount/ca.crt)

    Default: /var/run/secrets/kubernetes.io/serviceaccount/ca.crt

    Kube_CA_Path (string, optional)

    Absolute path to scan for certificate files

    Default: -

    Kube_Token_File (string, optional)

    Token file (default:/var/run/secrets/kubernetes.io/serviceaccount/token)

    Default: /var/run/secrets/kubernetes.io/serviceaccount/token

    Kube_Token_TTL (string, optional)

    Token TTL configurable ’time to live’ for the K8s token. By default, it is set to 600 seconds. After this time, the token is reloaded from Kube_Token_File or the Kube_Token_Command. (default:“600”)

    Default: 600

    Kube_Tag_Prefix (string, optional)

    When the source records comes from Tail input plugin, this option allows to specify what’s the prefix used in Tail configuration. (default:kube.var.log.containers.)

    Default: kubernetes.var.log.containers

    Merge_Log (string, optional)

    When enabled, it checks if the log field content is a JSON string map, if so, it append the map fields as part of the log structure. (default:Off)

    Default: On

    Merge_Log_Key (string, optional)

    When Merge_Log is enabled, the filter tries to assume the log field from the incoming message is a JSON string message and make a structured representation of it at the same level of the log field in the map. Now if Merge_Log_Key is set (a string name), all the new structured fields taken from the original log content are inserted under the new key.

    Default: -

    Merge_Log_Trim (string, optional)

    When Merge_Log is enabled, trim (remove possible \n or \r) field values.

    Default: On

    Merge_Parser (string, optional)

    Optional parser name to specify how to parse the data contained in the log key. Recommended use is for developers or testing only.

    Default: -

    Keep_Log (string, optional)

    When Keep_Log is disabled, the log field is removed from the incoming message once it has been successfully merged (Merge_Log must be enabled as well).

    Default: On

    tls.debug (string, optional)

    Debug level between 0 (nothing) and 4 (every detail).

    Default: -1

    tls.verify (string, optional)

    When enabled, turns on certificate validation when connecting to the Kubernetes API server.

    Default: On

    Use_Journal (string, optional)

    When enabled, the filter reads logs coming in Journald format.

    Default: Off

    Cache_Use_Docker_Id (string, optional)

    When enabled, metadata will be fetched from K8s when docker_id is changed.

    Default: Off

    Regex_Parser (string, optional)

    Set an alternative Parser to process record Tag and extract pod_name, namespace_name, container_name and docker_id. The parser must be registered in a parsers file (refer to parser filter-kube-test as an example).

    Default: -

    K8S-Logging.Parser (string, optional)

    Allow Kubernetes Pods to suggest a pre-defined Parser (read more about it in Kubernetes Annotations section)

    Default: Off

    K8S-Logging.Exclude (string, optional)

    Allow Kubernetes Pods to exclude their logs from the log processor (read more about it in Kubernetes Annotations section).

    Default: On

    Labels (string, optional)

    Include Kubernetes resource labels in the extra metadata.

    Default: On

    Annotations (string, optional)

    Include Kubernetes resource annotations in the extra metadata.

    Default: On

    Kube_meta_preload_cache_dir (string, optional)

    If set, Kubernetes meta-data can be cached/pre-loaded from files in JSON format in this directory, named as namespace-pod.meta

    Default: -

    Dummy_Meta (string, optional)

    If set, use dummy-meta data (for test/dev purposes)

    Default: Off

    DNS_Retries (string, optional)

    DNS lookup retries N times until the network start working

    Default: 6

    DNS_Wait_Time (string, optional)

    DNS lookup interval between network status checks

    Default: 30

    Use_Kubelet (string, optional)

    This is an optional feature flag to get metadata information from kubelet instead of calling Kube Server API to enhance the log.

    Default: Off

    Kubelet_Port (string, optional)

    kubelet port using for HTTP request, this only works when Use_Kubelet set to On

    Default: 10250

    Kube_Meta_Cache_TTL (string, optional)

    Configurable TTL for K8s cached metadata. By default, it is set to 0 which means TTL for cache entries is disabled and cache entries are evicted at random when capacity is reached. In order to enable this option, you should set the number to a time interval. For example, set this value to 60 or 60s and cache entries which have been created more than 60s will be evicted.

    Default: 0

    FilterAws

    FilterAws The AWS Filter Enriches logs with AWS Metadata.

    imds_version (string, optional)

    Specify which version of the instance metadata service to use. Valid values are ‘v1’ or ‘v2’ (default).

    Default: v2

    az (*bool, optional)

    The availability zone (default:true).

    Default: true

    ec2_instance_id (*bool, optional)

    The EC2 instance ID. (default:true)

    Default: true

    ec2_instance_type (*bool, optional)

    The EC2 instance type. (default:false)

    Default: false

    private_ip (*bool, optional)

    The EC2 instance private ip. (default:false)

    Default: false

    ami_id (*bool, optional)

    The EC2 instance image id. (default:false)

    Default: false

    account_id (*bool, optional)

    The account ID for current EC2 instance. (default:false)

    Default: false

    hostname (*bool, optional)

    The hostname for current EC2 instance. (default:false)

    Default: false

    vpc_id (*bool, optional)

    The VPC ID for current EC2 instance. (default:false)

    Default: false

    Match (string, optional)

    Match filtered records (default:*)

    Default: *

    FilterModify

    FilterModify The Modify Filter plugin allows you to change records using rules and conditions.

    rules ([]FilterModifyRule, optional)

    FluentbitAgent Filter Modification Rule

    Default: -

    conditions ([]FilterModifyCondition, optional)

    FluentbitAgent Filter Modification Condition

    Default: -

    FilterModifyRule

    FilterModifyRule The Modify Filter plugin allows you to change records using rules and conditions.

    Set (*FilterKeyValue, optional)

    Add a key/value pair with key KEY and value VALUE. If KEY already exists, this field is overwritten

    Default: -

    Add (*FilterKeyValue, optional)

    Add a key/value pair with key KEY and value VALUE if KEY does not exist

    Default: -

    Remove (*FilterKey, optional)

    Remove a key/value pair with key KEY if it exists

    Default: -

    Remove_wildcard (*FilterKey, optional)

    Remove all key/value pairs with key matching wildcard KEY

    Default: -

    Remove_regex (*FilterKey, optional)

    Remove all key/value pairs with key matching regexp KEY

    Default: -

    Rename (*FilterKeyValue, optional)

    Rename a key/value pair with key KEY to RENAMED_KEY if KEY exists AND RENAMED_KEY does not exist

    Default: -

    Hard_rename (*FilterKeyValue, optional)

    Rename a key/value pair with key KEY to RENAMED_KEY if KEY exists. If RENAMED_KEY already exists, this field is overwritten

    Default: -

    Copy (*FilterKeyValue, optional)

    Copy a key/value pair with key KEY to COPIED_KEY if KEY exists AND COPIED_KEY does not exist

    Default: -

    Hard_copy (*FilterKeyValue, optional)

    Copy a key/value pair with key KEY to COPIED_KEY if KEY exists. If COPIED_KEY already exists, this field is overwritten

    Default: -

    FilterModifyCondition

    FilterModifyCondition The Modify Filter plugin allows you to change records using rules and conditions.

    Key_exists (*FilterKey, optional)

    Is true if KEY exists

    Default: -

    Key_does_not_exist (*FilterKeyValue, optional)

    Is true if KEY does not exist

    Default: -

    A_key_matches (*FilterKey, optional)

    Is true if a key matches regex KEY

    Default: -

    No_key_matches (*FilterKey, optional)

    Is true if no key matches regex KEY

    Default: -

    Key_value_equals (*FilterKeyValue, optional)

    Is true if KEY exists and its value is VALUE

    Default: -

    Key_value_does_not_equal (*FilterKeyValue, optional)

    Is true if KEY exists and its value is not VALUE

    Default: -

    Key_value_matches (*FilterKeyValue, optional)

    Is true if key KEY exists and its value matches VALUE

    Default: -

    Key_value_does_not_match (*FilterKeyValue, optional)

    Is true if key KEY exists and its value does not match VALUE

    Default: -

    Matching_keys_have_matching_values (*FilterKeyValue, optional)

    Is true if all keys matching KEY have values that match VALUE

    Default: -

    Matching_keys_do_not_have_matching_values (*FilterKeyValue, optional)

    Is true if all keys matching KEY have values that do not match VALUE

    Default: -

    Operation

    Operation Doc stub

    Op (string, optional)

    Default: -

    Key (string, optional)

    Default: -

    Value (string, optional)

    Default: -

    FilterKey

    key (string, optional)

    Default: -

    FilterKeyValue

    key (string, optional)

    Default: -

    value (string, optional)

    Default: -

    VolumeMount

    VolumeMount defines source and destination folders of a hostPath type pod mount

    source (string, required)

    Source folder

    Default: -

    destination (string, required)

    Destination Folder

    Default: -

    readOnly (*bool, optional)

    Mount Mode

    Default: -

    ForwardOptions

    ForwardOptions defines custom forward output plugin options, see https://docs.fluentbit.io/manual/pipeline/outputs/forward

    Time_as_Integer (bool, optional)

    Default: -

    Send_options (bool, optional)

    Default: -

    Require_ack_response (bool, optional)

    Default: -

    Tag (string, optional)

    Default: -

    Retry_Limit (string, optional)

    Default: -

    storage.total_limit_size (string, optional)

    storage.total_limit_size Limit the maximum number of Chunks in the filesystem for the current output logical destination.

    Default: -

    FluentbitNameProvider

    Defines a FluentbitNameProvider

    Logging (*Logging, optional)

    Default: -

    FluentbitAgent (*FluentbitAgent, optional)

    Default: -

    diff --git a/docs/configuration/crds/v1beta1/fluentd_types/index.html b/docs/configuration/crds/v1beta1/fluentd_types/index.html index 94fa144d7..3bade0594 100644 --- a/docs/configuration/crds/v1beta1/fluentd_types/index.html +++ b/docs/configuration/crds/v1beta1/fluentd_types/index.html @@ -44,7 +44,7 @@ fluentdPvcSpec (*volume.KubernetesVolume, optional) Deprecated, use bufferStorageVolume"> - + - + @@ -283,7 +283,7 @@
  • - +
    • @@ -573,7 +573,7 @@
    • FluentdSpec

      FluentdSpec

      FluentdSpec defines the desired state of Fluentd

      statefulsetAnnotations (map[string]string, optional)

      Default: -

      annotations (map[string]string, optional)

      Default: -

      configCheckAnnotations (map[string]string, optional)

      Default: -

      labels (map[string]string, optional)

      Default: -

      envVars ([]corev1.EnvVar, optional)

      Default: -

      tls (FluentdTLS, optional)

      Default: -

      image (ImageSpec, optional)

      Default: -

      disablePvc (bool, optional)

      Default: -

      bufferStorageVolume (volume.KubernetesVolume, optional)

      BufferStorageVolume is by default configured as PVC using FluentdPvcSpec volume.KubernetesVolume

      Default: -

      extraVolumes ([]ExtraVolume, optional)

      Default: -

      fluentdPvcSpec (*volume.KubernetesVolume, optional)

      Deprecated, use bufferStorageVolume

      Default: -

      volumeMountChmod (bool, optional)

      Default: -

      volumeModImage (ImageSpec, optional)

      Default: -

      configReloaderImage (ImageSpec, optional)

      Default: -

      resources (corev1.ResourceRequirements, optional)

      Default: -

      configCheckResources (corev1.ResourceRequirements, optional)

      Default: -

      configReloaderResources (corev1.ResourceRequirements, optional)

      Default: -

      livenessProbe (*corev1.Probe, optional)

      Default: -

      livenessDefaultCheck (bool, optional)

      Default: -

      readinessProbe (*corev1.Probe, optional)

      Default: -

      readinessDefaultCheck (ReadinessDefaultCheck, optional)

      Default: -

      port (int32, optional)

      Default: -

      tolerations ([]corev1.Toleration, optional)

      Default: -

      nodeSelector (map[string]string, optional)

      Default: -

      affinity (*corev1.Affinity, optional)

      Default: -

      topologySpreadConstraints ([]corev1.TopologySpreadConstraint, optional)

      Default: -

      metrics (*Metrics, optional)

      Default: -

      bufferVolumeMetrics (*Metrics, optional)

      Default: -

      bufferVolumeImage (ImageSpec, optional)

      Default: -

      bufferVolumeArgs ([]string, optional)

      Default: -

      security (*Security, optional)

      Default: -

      scaling (*FluentdScaling, optional)

      Default: -

      workers (int32, optional)

      Default: -

      rootDir (string, optional)

      Default: -

      logLevel (string, optional)

      Default: -

      ignoreSameLogInterval (string, optional)

      Ignore same log lines more info

      Default: -

      ignoreRepeatedLogInterval (string, optional)

      Ignore repeated log lines more info

      Default: -

      enableMsgpackTimeSupport (bool, optional)

      Allows Time object in buffer’s MessagePack serde more info

      Default: -

      podPriorityClassName (string, optional)

      Default: -

      fluentLogDestination (string, optional)

      Default: -

      fluentOutLogrotate (*FluentOutLogrotate, optional)

      FluentOutLogrotate sends fluent’s stdout to file and rotates it

      Default: -

      forwardInputConfig (*input.ForwardInputConfig, optional)

      Default: -

      serviceAccount (*typeoverride.ServiceAccount, optional)

      Default: -

      dnsPolicy (corev1.DNSPolicy, optional)

      Default: -

      dnsConfig (*corev1.PodDNSConfig, optional)

      Default: -

      extraArgs ([]string, optional)

      Default: -

      compressConfigFile (bool, optional)

      Default: -

      FluentOutLogrotate

      enabled (bool, required)

      Default: -

      path (string, optional)

      Default: -

      age (string, optional)

      Default: -

      size (string, optional)

      Default: -

      ExtraVolume

      ExtraVolume defines the fluentd extra volumes

      volumeName (string, optional)

      Default: -

      path (string, optional)

      Default: -

      containerName (string, optional)

      Default: -

      volume (*volume.KubernetesVolume, optional)

      Default: -

      FluentdScaling

      FluentdScaling enables configuring the scaling behaviour of the fluentd statefulset

      replicas (int, optional)

      Default: -

      podManagementPolicy (string, optional)

      Default: -

      drain (FluentdDrainConfig, optional)

      Default: -

      FluentdTLS

      FluentdTLS defines the TLS configs

      enabled (bool, required)

      Default: -

      secretName (string, optional)

      Default: -

      sharedKey (string, optional)

      Default: -

      FluentdDrainConfig

      FluentdDrainConfig enables configuring the drain behavior when scaling down the fluentd statefulset

      enabled (bool, optional)

      Should buffers on persistent volumes left after scaling down the statefulset be drained

      Default: -

      annotations (map[string]string, optional)

      Container image to use for the drain watch sidecar

      Default: -

      deleteVolume (bool, optional)

      Should persistent volume claims be deleted after draining is done

      Default: -

      image (ImageSpec, optional)

      Default: -

      pauseImage (ImageSpec, optional)

      Container image to use for the fluentd placeholder pod

      Default: -

  • diff --git a/docs/configuration/crds/v1beta1/index.html b/docs/configuration/crds/v1beta1/index.html index d48eb8c9d..82eff3fb4 100644 --- a/docs/configuration/crds/v1beta1/index.html +++ b/docs/configuration/crds/v1beta1/index.html @@ -232,7 +232,7 @@
  • - +
  • diff --git a/docs/configuration/crds/v1beta1/logging_types/index.html b/docs/configuration/crds/v1beta1/logging_types/index.html index 8bb35e257..88c44dbee 100644 --- a/docs/configuration/crds/v1beta1/logging_types/index.html +++ b/docs/configuration/crds/v1beta1/logging_types/index.html @@ -34,7 +34,7 @@ flowConfigOverride (string, optional) Override generated config. This is a raw configuration string for troubleshooting purposes."> - + - + @@ -263,7 +263,7 @@
  • - +
    • @@ -551,7 +551,7 @@
    • LoggingSpec

      LoggingSpec

      LoggingSpec defines the desired state of Logging

      loggingRef (string, optional)

      Reference to the logging system. Each of the loggingRefs can manage a fluentbit daemonset and a fluentd statefulset.

      Default: -

      flowConfigCheckDisabled (bool, optional)

      Disable configuration check before applying new fluentd configuration.

      Default: -

      skipInvalidResources (bool, optional)

      Whether to skip invalid Flow and ClusterFlow resources

      Default: -

      flowConfigOverride (string, optional)

      Override generated config. This is a raw configuration string for troubleshooting purposes.

      Default: -

      fluentbit (*FluentbitSpec, optional)

      FluentbitAgent daemonset configuration. Deprecated, will be removed with next major version Migrate to the standalone NodeAgent resource

      Default: -

      fluentd (*FluentdSpec, optional)

      Fluentd statefulset configuration

      Default: -

      syslogNG (*SyslogNGSpec, optional)

      Syslog-NG statefulset configuration

      Default: -

      defaultFlow (*DefaultFlowSpec, optional)

      Default flow for unmatched logs. This Flow configuration collects all logs that didn’t matched any other Flow.

      Default: -

      errorOutputRef (string, optional)

      GlobalOutput name to flush ERROR events to

      Default: -

      globalFilters ([]Filter, optional)

      Global filters to apply on logs before any match or filter mechanism.

      Default: -

      watchNamespaces ([]string, optional)

      Limit namespaces to watch Flow and Output custom resources.

      Default: -

      watchNamespaceSelector (*metav1.LabelSelector, optional)

      WatchNamespaceSelector is a LabelSelector to find matching namespaces to watch as in WatchNamespaces

      Default: -

      clusterDomain (*string, optional)

      Cluster domain name to be used when templating URLs to services .

      Default: “cluster.local”

      controlNamespace (string, required)

      Namespace for cluster wide configuration resources like ClusterFlow and ClusterOutput. This should be a protected namespace from regular users. Resources like fluentbit and fluentd will run in this namespace as well.

      Default: -

      allowClusterResourcesFromAllNamespaces (bool, optional)

      Allow configuration of cluster resources from any namespace. Mutually exclusive with ControlNamespace restriction of Cluster resources

      Default: -

      nodeAgents ([]*InlineNodeAgent, optional)

      InlineNodeAgent Configuration Deprecated, will be removed with next major version

      Default: -

      enableRecreateWorkloadOnImmutableFieldChange (bool, optional)

      EnableRecreateWorkloadOnImmutableFieldChange enables the operator to recreate the fluentbit daemonset and the fluentd statefulset (and possibly other resource in the future) in case there is a change in an immutable field that otherwise couldn’t be managed with a simple update.

      Default: -

      LoggingStatus

      LoggingStatus defines the observed state of Logging

      configCheckResults (map[string]bool, optional)

      Default: -

      problems ([]string, optional)

      Default: -

      Logging

      Logging is the Schema for the loggings API

      (metav1.TypeMeta, required)

      Default: -

      metadata (metav1.ObjectMeta, optional)

      Default: -

      spec (LoggingSpec, optional)

      Default: -

      status (LoggingStatus, optional)

      Default: -

      LoggingList

      LoggingList contains a list of Logging

      (metav1.TypeMeta, required)

      Default: -

      metadata (metav1.ListMeta, optional)

      Default: -

      items ([]Logging, required)

      Default: -

      DefaultFlowSpec

      DefaultFlowSpec is a Flow for logs that did not match any other Flow

      filters ([]Filter, optional)

      Default: -

      outputRefs ([]string, optional)

      Deprecated

      Default: -

      globalOutputRefs ([]string, optional)

      Default: -

      flowLabel (string, optional)

      Default: -

      includeLabelInRouter (*bool, optional)

      Default: -

  • diff --git a/docs/configuration/crds/v1beta1/node_agent_types/index.html b/docs/configuration/crds/v1beta1/node_agent_types/index.html index 5100b0a14..074aa1caa 100644 --- a/docs/configuration/crds/v1beta1/node_agent_types/index.html +++ b/docs/configuration/crds/v1beta1/node_agent_types/index.html @@ -54,7 +54,7 @@ InlineNodeAgent InlineNodeAgent @deprecated, replaced by NodeAgent"> - + - + @@ -303,7 +303,7 @@
  • - +
    • @@ -594,7 +594,7 @@

      NodeAgent

      NodeAgent

      NodeAgent

      (metav1.TypeMeta, required)

      Default: -

      metadata (metav1.ObjectMeta, optional)

      Default: -

      spec (NodeAgentSpec, optional)

      Default: -

      status (NodeAgentStatus, optional)

      Default: -

      NodeAgentSpec

      NodeAgentSpec

      loggingRef (string, optional)

      Default: -

      (NodeAgentConfig, required)

      InlineNodeAgent

      Default: -

      NodeAgentConfig

      profile (string, optional)

      Default: -

      metadata (types.MetaBase, optional)

      Default: -

      nodeAgentFluentbit (*NodeAgentFluentbit, optional)

      Default: -

      NodeAgentStatus

      NodeAgentStatus

      NodeAgentList

      NodeAgentList

      (metav1.TypeMeta, required)

      Default: -

      metadata (metav1.ListMeta, optional)

      Default: -

      items ([]NodeAgent, required)

      Default: -

      InlineNodeAgent

      InlineNodeAgent @deprecated, replaced by NodeAgent

      name (string, optional)

      InlineNodeAgent unique name.

      Default: -

      (NodeAgentConfig, required)

      Default: -

      NodeAgentFluentbit

      enabled (*bool, optional)

      Default: -

      daemonSet (*typeoverride.DaemonSet, optional)

      Default: -

      serviceAccount (*typeoverride.ServiceAccount, optional)

      Default: -

      tls (*FluentbitTLS, optional)

      Default: -

      targetHost (string, optional)

      Default: -

      targetPort (int32, optional)

      Default: -

      flush (int32, optional)

      Set the flush time in seconds.nanoseconds. The engine loop uses a Flush timeout to define when is required to flush the records ingested by input plugins through the defined output plugins. (default: 1)

      Default: 1

      grace (int32, optional)

      Set the grace time in seconds as Integer value. The engine loop uses a Grace timeout to define wait time on exit (default: 5)

      Default: 5

      logLevel (string, optional)

      Set the logging verbosity level. Allowed values are: error, warn, info, debug and trace. Values are accumulative, e.g: if ‘debug’ is set, it will include error, warning, info and debug. Note that trace mode is only available if Fluent Bit was built with the WITH_TRACE option enabled. (default: info)

      Default: info

      coroStackSize (int32, optional)

      Set the coroutines stack size in bytes. The value must be greater than the page size of the running system. Don’t set too small value (say 4096), or coroutine threads can overrun the stack buffer. Do not change the default value of this parameter unless you know what you are doing. (default: 24576)

      Default: 24576

      metrics (*Metrics, optional)

      Default: -

      metricsService (*typeoverride.Service, optional)

      Default: -

      security (*Security, optional)

      Default: -

      positiondb (volume.KubernetesVolume, optional)

      volume.KubernetesVolume

      Default: -

      containersPath (string, optional)

      Default: -

      varLogsPath (string, optional)

      Default: -

      extraVolumeMounts ([]*VolumeMount, optional)

      Default: -

      inputTail (InputTail, optional)

      Default: -

      filterAws (*FilterAws, optional)

      Default: -

      filterKubernetes (FilterKubernetes, optional)

      Default: -

      disableKubernetesFilter (*bool, optional)

      Default: -

      bufferStorage (BufferStorage, optional)

      Default: -

      bufferStorageVolume (volume.KubernetesVolume, optional)

      volume.KubernetesVolume

      Default: -

      customConfigSecret (string, optional)

      Default: -

      podPriorityClassName (string, optional)

      Default: -

      livenessDefaultCheck (*bool, optional)

      Default: true

      network (*FluentbitNetwork, optional)

      Default: -

      forwardOptions (*ForwardOptions, optional)

      Default: -

      enableUpstream (*bool, optional)

      Default: -

  • diff --git a/docs/configuration/crds/v1beta1/output_types/index.html b/docs/configuration/crds/v1beta1/output_types/index.html index 850e9ef91..af291474a 100644 --- a/docs/configuration/crds/v1beta1/output_types/index.html +++ b/docs/configuration/crds/v1beta1/output_types/index.html @@ -46,7 +46,7 @@ file (*output.FileOutputConfig, optional) Default: -"> - + - + @@ -287,7 +287,7 @@
  • - +
    • @@ -573,7 +573,7 @@
    • OutputSpec

      OutputSpec

      OutputSpec defines the desired state of Output

      loggingRef (string, optional)

      Default: -

      s3 (*output.S3OutputConfig, optional)

      Default: -

      azurestorage (*output.AzureStorage, optional)

      Default: -

      gcs (*output.GCSOutput, optional)

      Default: -

      oss (*output.OSSOutput, optional)

      Default: -

      elasticsearch (*output.ElasticsearchOutput, optional)

      Default: -

      opensearch (*output.OpenSearchOutput, optional)

      Default: -

      logz (*output.LogZOutput, optional)

      Default: -

      loki (*output.LokiOutput, optional)

      Default: -

      sumologic (*output.SumologicOutput, optional)

      Default: -

      datadog (*output.DatadogOutput, optional)

      Default: -

      forward (*output.ForwardOutput, optional)

      Default: -

      file (*output.FileOutputConfig, optional)

      Default: -

      nullout (*output.NullOutputConfig, optional)

      Default: -

      kafka (*output.KafkaOutputConfig, optional)

      Default: -

      cloudwatch (*output.CloudWatchOutput, optional)

      Default: -

      kinesisStream (*output.KinesisStreamOutputConfig, optional)

      Default: -

      logdna (*output.LogDNAOutput, optional)

      Default: -

      newrelic (*output.NewRelicOutputConfig, optional)

      Default: -

      splunkHec (*output.SplunkHecOutput, optional)

      Default: -

      http (*output.HTTPOutputConfig, optional)

      Default: -

      awsElasticsearch (*output.AwsElasticsearchOutputConfig, optional)

      Default: -

      redis (*output.RedisOutputConfig, optional)

      Default: -

      syslog (*output.SyslogOutputConfig, optional)

      Default: -

      gelf (*output.GELFOutputConfig, optional)

      Default: -

      sqs (*output.SQSOutputConfig, optional)

      Default: -

      mattermost (*output.MattermostOutputConfig, optional)

      Default: -

      relabel (*output.RelabelOutputConfig, optional)

      Default: -

      OutputStatus

      OutputStatus defines the observed state of Output

      active (*bool, optional)

      Default: -

      problems ([]string, optional)

      Default: -

      problemsCount (int, optional)

      Default: -

      Output

      Output is the Schema for the outputs API

      (metav1.TypeMeta, required)

      Default: -

      metadata (metav1.ObjectMeta, optional)

      Default: -

      spec (OutputSpec, optional)

      Default: -

      status (OutputStatus, optional)

      Default: -

      OutputList

      OutputList contains a list of Output

      (metav1.TypeMeta, required)

      Default: -

      metadata (metav1.ListMeta, optional)

      Default: -

      items ([]Output, required)

      Default: -

  • diff --git a/docs/configuration/crds/v1beta1/syslogng_clusterflow_types/index.html b/docs/configuration/crds/v1beta1/syslogng_clusterflow_types/index.html index d2dd21c7a..baa3c783d 100644 --- a/docs/configuration/crds/v1beta1/syslogng_clusterflow_types/index.html +++ b/docs/configuration/crds/v1beta1/syslogng_clusterflow_types/index.html @@ -44,7 +44,7 @@ metadata (metav1.ListMeta, optional) Default: -"> - + - + @@ -283,7 +283,7 @@
  • - +
    • @@ -567,7 +567,7 @@
    • SyslogNGClusterFlow

      SyslogNGClusterFlow

      SyslogNGClusterFlow is the Schema for the syslog-ng clusterflows API

      (metav1.TypeMeta, required)

      Default: -

      metadata (metav1.ObjectMeta, optional)

      Default: -

      spec (SyslogNGClusterFlowSpec, optional)

      Default: -

      status (SyslogNGFlowStatus, optional)

      Default: -

      SyslogNGClusterFlowSpec

      SyslogNGClusterFlowSpec is the Kubernetes spec for Flows

      match (*SyslogNGMatch, optional)

      Default: -

      filters ([]SyslogNGFilter, optional)

      Default: -

      loggingRef (string, optional)

      Default: -

      globalOutputRefs ([]string, optional)

      Default: -

      SyslogNGClusterFlowList

      SyslogNGClusterFlowList contains a list of SyslogNGClusterFlow

      (metav1.TypeMeta, required)

      Default: -

      metadata (metav1.ListMeta, optional)

      Default: -

      items ([]SyslogNGClusterFlow, required)

      Default: -

  • diff --git a/docs/configuration/crds/v1beta1/syslogng_clusteroutput_types/index.html b/docs/configuration/crds/v1beta1/syslogng_clusteroutput_types/index.html index fe0067ee7..0fd8ffd11 100644 --- a/docs/configuration/crds/v1beta1/syslogng_clusteroutput_types/index.html +++ b/docs/configuration/crds/v1beta1/syslogng_clusteroutput_types/index.html @@ -42,7 +42,7 @@ items ([]SyslogNGClusterOutput, required) Default: -"> - + - + @@ -279,7 +279,7 @@
  • - +
    • @@ -563,7 +563,7 @@
    • SyslogNGClusterOutput

      SyslogNGClusterOutput

      SyslogNGClusterOutput is the Schema for the syslog-ng clusteroutputs API

      (metav1.TypeMeta, required)

      Default: -

      metadata (metav1.ObjectMeta, optional)

      Default: -

      spec (SyslogNGClusterOutputSpec, required)

      Default: -

      status (SyslogNGOutputStatus, optional)

      Default: -

      SyslogNGClusterOutputSpec

      SyslogNGClusterOutputSpec contains Kubernetes spec for SyslogNGClusterOutput

      (SyslogNGOutputSpec, required)

      Default: -

      enabledNamespaces ([]string, optional)

      Default: -

      SyslogNGClusterOutputList

      SyslogNGClusterOutputList contains a list of SyslogNGClusterOutput

      (metav1.TypeMeta, required)

      Default: -

      metadata (metav1.ListMeta, optional)

      Default: -

      items ([]SyslogNGClusterOutput, required)

      Default: -

  • diff --git a/docs/configuration/crds/v1beta1/syslogng_flow_types/index.html b/docs/configuration/crds/v1beta1/syslogng_flow_types/index.html index ad30c5a5f..913ad11d7 100644 --- a/docs/configuration/crds/v1beta1/syslogng_flow_types/index.html +++ b/docs/configuration/crds/v1beta1/syslogng_flow_types/index.html @@ -46,7 +46,7 @@ metadata (metav1.ObjectMeta, optional) Default: -"> - + - + @@ -287,7 +287,7 @@
  • - +
    • @@ -573,7 +573,7 @@
    • SyslogNGFlowSpec

      SyslogNGFlowSpec

      SyslogNGFlowSpec is the Kubernetes spec for SyslogNGFlows

      match (*SyslogNGMatch, optional)

      Default: -

      filters ([]SyslogNGFilter, optional)

      Default: -

      loggingRef (string, optional)

      Default: -

      globalOutputRefs ([]string, optional)

      Default: -

      localOutputRefs ([]string, optional)

      Default: -

      SyslogNGFilter

      Filter definition for SyslogNGFlowSpec

      id (string, optional)

      Default: -

      match (*filter.MatchConfig, optional)

      Default: -

      rewrite ([]filter.RewriteConfig, optional)

      Default: -

      parser (*filter.ParserConfig, optional)

      Default: -

      SyslogNGFlow

      Flow Kubernetes object

      (metav1.TypeMeta, required)

      Default: -

      metadata (metav1.ObjectMeta, optional)

      Default: -

      spec (SyslogNGFlowSpec, optional)

      Default: -

      status (SyslogNGFlowStatus, optional)

      Default: -

      SyslogNGFlowList

      FlowList contains a list of Flow

      (metav1.TypeMeta, required)

      Default: -

      metadata (metav1.ListMeta, optional)

      Default: -

      items ([]SyslogNGFlow, required)

      Default: -

  • diff --git a/docs/configuration/crds/v1beta1/syslogng_output_types/index.html b/docs/configuration/crds/v1beta1/syslogng_output_types/index.html index 725316fcf..9eff3df1a 100644 --- a/docs/configuration/crds/v1beta1/syslogng_output_types/index.html +++ b/docs/configuration/crds/v1beta1/syslogng_output_types/index.html @@ -44,7 +44,7 @@ metadata (metav1.ObjectMeta, optional) Default: -"> - + - + @@ -283,7 +283,7 @@
  • - +
    • @@ -567,7 +567,7 @@
    • SyslogNGOutputSpec

      SyslogNGOutputSpec

      SyslogNGOutputSpec defines the desired state of SyslogNGOutput

      loggingRef (string, optional)

      Default: -

      loggly (*output.Loggly, optional)

      Default: -

      syslog (*output.SyslogOutput, optional)

      Default: -

      file (*output.FileOutput, optional)

      Default: -

      mqtt (*output.MQTT, optional)

      Default: -

      sumologic-http (*output.SumologicHTTPOutput, optional)

      Default: -

      sumologic-syslog (*output.SumologicSyslogOutput, optional)

      Default: -

      http (*output.HTTPOutput, optional)

      Default: -

      logscale (*output.LogScaleOutput, optional)

      Default: -

      SyslogNGOutput

      SyslogNGOutput is the Schema for the syslog-ng outputs API

      (metav1.TypeMeta, required)

      Default: -

      metadata (metav1.ObjectMeta, optional)

      Default: -

      spec (SyslogNGOutputSpec, optional)

      Default: -

      status (SyslogNGOutputStatus, optional)

      Default: -

      SyslogNGOutputList

      SyslogNGOutputList contains a list of SyslogNGOutput

      (metav1.TypeMeta, required)

      Default: -

      metadata (metav1.ListMeta, optional)

      Default: -

      items ([]SyslogNGOutput, required)

      Default: -

  • diff --git a/docs/configuration/crds/v1beta1/syslogng_types/index.html b/docs/configuration/crds/v1beta1/syslogng_types/index.html index 08e9951ba..6ce7e85de 100644 --- a/docs/configuration/crds/v1beta1/syslogng_types/index.html +++ b/docs/configuration/crds/v1beta1/syslogng_types/index.html @@ -46,7 +46,7 @@ jsonKeyPrefix (string, optional) Default: -"> - + - + @@ -287,7 +287,7 @@
  • - +
    • @@ -573,7 +573,7 @@
    • SyslogNGSpec

      SyslogNGSpec

      SyslogNGSpec defines the desired state of SyslogNG

      tls (SyslogNGTLS, optional)

      Default: -

      readinessDefaultCheck (ReadinessDefaultCheck, optional)

      Default: -

      skipRBACCreate (bool, optional)

      Default: -

      statefulSet (*typeoverride.StatefulSet, optional)

      Default: -

      service (*typeoverride.Service, optional)

      Default: -

      serviceAccount (*typeoverride.ServiceAccount, optional)

      Default: -

      configCheckPod (*typeoverride.PodSpec, optional)

      Default: -

      metrics (*Metrics, optional)

      Default: -

      metricsService (*typeoverride.Service, optional)

      Default: -

      bufferVolumeMetrics (*BufferMetrics, optional)

      Default: -

      bufferVolumeMetricsService (*typeoverride.Service, optional)

      Default: -

      globalOptions (*GlobalOptions, optional)

      Default: -

      jsonKeyPrefix (string, optional)

      Default: -

      jsonKeyDelim (string, optional)

      Default: -

      maxConnections (int, optional)

      Default: -

      logIWSize (int, optional)

      Default: -

      SyslogNGTLS

      SyslogNGTLS defines the TLS configs

      enabled (bool, required)

      Default: -

      secretName (string, optional)

      Default: -

      sharedKey (string, optional)

      Default: -

      GlobalOptions

      stats_level (*int, optional)

      Deprecated. Use stats/level from 4.1+

      Default: -

      stats_freq (*int, optional)

      Deprecated. Use stats/freq from 4.1+

      Default: -

      stats (*Stats, optional)

      TODO switch to this by default

      Default: -

      Stats

      level (*int, optional)

      Default: -

      freq (*int, optional)

      Default: -

  • NameTypeDefaultDescription
    sample-container2:/var/log/anotherfiletails file /var/log/anotherfile in sample-container2
    /var/log/mycustomfiletails file /var/log/mycustomfile in default container (sample-container)
    foobarbaz:/foo/bar/bazwill be discarded due to non-existing container name