Sha256: 19f27c94669285a71f3cad4504900d0c33aeab3c8fc0ba6df3f7c2fde62a21a0

Contents?: true

Size: 812 Bytes

Versions: 7

Compression:

Stored size: 812 Bytes

Contents

# UNIFI
<source>
  @type syslog
  port 5140
  bind 0.0.0.0
  tag unifi
</source>

<filter unifi.**>
  @type record_transformer
  renew_record true
  enable_ruby true
  <record>
    timestamp ${time.to_f}
    hostname ${record["host"][/(^.*?),/, 1]}
    service ${tag_prefix[1]}
    log_level ${tag_suffix[2]}
    message ${record.to_json}
  </record>
</filter>

# EDGE MAX
<source>
  @type syslog
  port 5142
  bind 0.0.0.0
  tag edge-max
</source>

<filter edge-max.**>
  @type record_transformer
  renew_record true
  enable_ruby true
  <record>
    timestamp ${time.to_f}
    hostname ${record["host"]}
    service ${tag_prefix[1]}
    log_level ${tag_suffix[2]}
    message ${record.to_json}
  </record>
</filter>

# Send data
<match **>
  @type newrelic
  api_key <CHANGE TO YOUR LICENSE KEY HERE>
</match>

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
fluent-plugin-newrelic-1.2.3 examples/syslog/fluentd.config
fluent-plugin-newrelic-1.2.2 examples/syslog/fluentd.config
fluent-plugin-newrelic-1.2.1 examples/syslog/fluentd.config
fluent-plugin-newrelic-1.2.0 examples/syslog/fluentd.config
fluent-plugin-newrelic-1.1.10 examples/syslog/fluentd.config
fluent-plugin-newrelic-1.1.9 examples/syslog/fluentd.config
fluent-plugin-newrelic-1.1.8 examples/syslog/fluentd.config