diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 02:57:58 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-19 02:57:58 +0000 |
commit | be1c7e50e1e8809ea56f2c9d472eccd8ffd73a97 (patch) | |
tree | 9754ff1ca740f6346cf8483ec915d4054bc5da2d /fluent-bit/snap/snapcraft.yaml | |
parent | Initial commit. (diff) | |
download | netdata-be1c7e50e1e8809ea56f2c9d472eccd8ffd73a97.tar.xz netdata-be1c7e50e1e8809ea56f2c9d472eccd8ffd73a97.zip |
Adding upstream version 1.44.3.upstream/1.44.3upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'fluent-bit/snap/snapcraft.yaml')
-rw-r--r-- | fluent-bit/snap/snapcraft.yaml | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/fluent-bit/snap/snapcraft.yaml b/fluent-bit/snap/snapcraft.yaml new file mode 100644 index 00000000..6b5e42d0 --- /dev/null +++ b/fluent-bit/snap/snapcraft.yaml @@ -0,0 +1,64 @@ +name: fluent-bit +base: core18 +version: '2.1.10' +summary: High performance logs and stream processor +description: | + Fluent Bit is a high performance log processor and stream processor for Linux. + It provides a flexible pluggable architecture to collect, enrich and deliver + logs or metrics to multiple databases or cloud providers. +license: 'Apache-2.0' +icon: ./fluent-bit.svg +confinement: 'strict' +grade: 'stable' + +plugs: + read-config: + interface: system-files + read: + - $SNAP/etc/fluent-bit + +apps: + service: + command: fluent-bit -c $SNAP/etc/fluent-bit/fluent-bit.conf + daemon: simple + plugs: + - network + - network-bind + - read-config + fluent-bit: + command: fluent-bit + plugs: + - network + - network-bind + +parts: + fluent-bit: + source: https://github.com/fluent/fluent-bit + source-type: git + plugin: cmake + stage-packages: + - libsasl2-2 + - libssl1.1 + - libpq5 + build-packages: + - g++ + - make + - libsasl2-dev + - libsystemd-dev + - flex + - bison + - valgrind + - libssl-dev + - libpq5 + - postgresql-server-dev-all + configflags: + - -DFLB_DEBUG=On + - -DFLB_OUT_KAFKA=On + - -DFLB_JEMALLOC=On + - -DFLB_EXAMPLES=OFF + - -DFLB_SHARED_LIB=Off + - -DFLB_OUT_PGSQL=On + +layout: + /etc/fluent-bit: + bind: $SNAP/etc/fluent-bit |