More Docker. Easy Access. New Streamlined Plans. Learn more.

newrelic/newrelic-fluentbit-output

Verified Publisher

By New Relic

Updated 3 months ago

Base container with new relic output plugin for use with our k8 integration and custom deployments.

Image
3

1B+

Introduction

This container includes fluent bit and our logging output plugin. It is primarily intended to be used as a base image for use with our kubernetes logs integration. This container can also be used as a base image upon which one could build their own container with custom configurations for different environments.

New Relic Kuberentes Logging Repo and Documentation

https://github.com/newrelic/kubernetes-logging

Linux image to Fluent Bit version mapping

Linux image VersionFluent Bit Version
2.1.03.1.9
2.0.23.1.2
2.0.0 to 2.0.13.0.4
1.19.0 to 1.19.22.2.0
1.16.0 to 1.18.02.0.8
1.14.1 to 1.15.01.9.9
1.14.01.9.4
1.12.2 to 1.13.21.8.12
1.6.1 to 1.12.11.8.1
1.6.01.7.9
1.5.21.7.9
1.5.11.7.9
1.4.3 to 1.5.01.6.2
1.4.21.4.5
1.1.3 to 1.4.11.0.3

Fluent Bit Official documentation

https://docs.fluentbit.io/manual

Example Configs

Systemd
[SERVICE]
    Flush        1
    Log_Level    info

[INPUT]
    Name            systemd
    Tag             host.*
    Systemd_Filter  _SYSTEMD_UNIT=docker.service

    [OUTPUT]
        Name  newrelic
        Match *
        apiKey "YOUR API KEY HERE"

File

[SERVICE]
    Flush        1
    Log_Level    info

[INPUT]
    Name          tail
    Path         /some/cool/mounted/path/*.log

    [OUTPUT]
        Name  newrelic
        Match *
        apiKey "YOUR API KEY HERE"

Syslog over TCP

[SERVICE]
    Flush        1
    Log_Level    info

[INPUT]
    Name     syslog
    Parser   syslog-rfc3164
    Listen   0.0.0.0
    Port     5140
    Mode     tcp

    [OUTPUT]
        Name  newrelic
        Match *
        apiKey "YOUR API KEY HERE"
Syslog over local UDP socket
[SERVICE]
    Flush        1
    Log_Level    info

[INPUT]
    Name     syslog
    Parser   syslog-rfc3164
    Path     /tmp/fluent-bit.sock
    Mode     unix_udp

    [OUTPUT]
        Name  newrelic
        Match *
        apiKey "YOUR API KEY HERE"

Docker Pull Command

docker pull newrelic/newrelic-fluentbit-output