Sha256: b5ca3ea7ee5b66d53afdb642b59bd1122100eb4d632690f28af0e7f5d4192ea5
Contents?: true
Size: 642 Bytes
Versions: 6
Compression:
Stored size: 642 Bytes
Contents
#Tail arbitrary text/log file <source> @type tail <parse> @type none </parse> path /var/log/backend-app*.log pos_file /var/log/backend.application.pos path_key filename # Add watched file path to path_key field for every event/record. tag backend.application </source> #Add hostname and tag fields to all events ("records") with a Fluentd tag of backend.application <filter backend.application> @type record_transformer <record> hostname "#{Socket.gethostname}" tag ${tag} </record> </filter> #Write events to New Relic <match backend.application> @type newrelic api_key <YOUR INSERT KEY> </match>
Version data entries
6 entries across 6 versions & 1 rubygems