Module: Fluent::AnalyzeConfigFilter::Constants

Defined in:
lib/fluent/plugin/filter_analyze_config.rb

Constant Summary collapse

KNOWN_PLUGINS =

Built-in plugins that are ok to reference in metrics.

{
  'filter' => Set[
    'geoip',
    'grep',
    'parser',
    'record_transformer',
    'stdout',
  ],
  'match' => Set[
    'copy',
    'elasticsearch',
    'exec',
    'exec_filter',
    'file',
    'forward',
    'http',
    'kafka',
    'mongo',
    'mongo_replset',
    'null',
    'relabel',
    'rewrite_tag_filter',
    'roundrobin',
    's3',
    'secondary_file',
    'stdout',
    'webhdfs',
  ],
  'source' => Set[
    'dummy',
    'exec',
    'forward',
    'http',
    'monitor_agent',
    'syslog',
    'tail',
    'tcp',
    'udp',
    'unix',
    'windows_eventlog',
  ]
}.freeze
GOOGLE_PLUGIN_PARAMS =

For Google plugins, we collect metrics on the params listed here.

{
  'google_cloud' => %w(
    adjust_invalid_timestamps
    auth_method
    autoformat_stackdriver_trace
    coerce_to_utf8
    detect_json
    enable_monitoring
    gcm_service_address
    grpc_compression_algorithm
    http_request_key
    insert_id_key
    label_map
    labels
    labels_key
    logging_api_url
    monitoring_type
    non_utf8_replacement_string
    operation_key
    private_key_email
    private_key_passphrase
    private_key_path
    project_id
    source_location_key
    span_id_key
    statusz_port
    trace_key
    trace_sampled_key
    use_grpc
    use_metadata_service
    vm_id
    vm_name
    zone
  ),
  'detect_exceptions' => %w(
    languages
    max_bytes
    max_lines
    message
    multiline_flush_interval
    remove_tag_prefix
    stream
  )
}.freeze