Sha256: 8e518e634cc0865d53620e3dcf5480741c5255dbb17f3d58c102d4e160eb90f7

Contents?: true

Size: 454 Bytes

Versions: 6

Compression:

Stored size: 454 Bytes

Contents

#Tail arbitrary text/log file

<source>
  @type tail
  <parse>
    @type none
  </parse>
  path /home/logs/*
  path_key file
  tag sample.tag
</source>

#Add service_name field to all events ("records") with a Fluentd tag of sample.tag

<filter sample.tag>
  @type record_transformer
  <record>
    service_name ${tag}
  </record>
</filter>

#Write sample.tag events to New Relic

<match sample.tag>
  @type newrelic
  api_key <YOUR INSERT KEY>
</match>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
fluent-plugin-newrelic-1.2.3 examples/minimal_complete_config.conf
fluent-plugin-newrelic-1.2.2 examples/minimal_complete_config.conf
fluent-plugin-newrelic-1.2.1 examples/minimal_complete_config.conf
fluent-plugin-newrelic-1.2.0 examples/minimal_complete_config.conf
fluent-plugin-newrelic-1.1.10 examples/minimal_complete_config.conf
fluent-plugin-newrelic-1.1.9 examples/minimal_complete_config.conf