1name: fluent-bit 2base: core18 3version: '1.8.11' 4summary: High performance logs and stream processor 5description: | 6 Fluent Bit is a high performance log processor and stream processor for Linux. 7 It provides a flexible pluggable architecture to collect, enrich and deliver 8 logs or metrics to multiple databases or cloud providers. 9license: 'Apache-2.0' 10icon: ./fluent-bit.svg 11confinement: 'strict' 12grade: 'stable' 13 14plugs: 15 read-config: 16 interface: system-files 17 read: 18 - $SNAP/etc/fluent-bit 19 20apps: 21 service: 22 command: fluent-bit -c $SNAP/etc/fluent-bit/fluent-bit.conf 23 daemon: simple 24 plugs: 25 - network 26 - network-bind 27 - read-config 28 fluent-bit: 29 command: fluent-bit 30 plugs: 31 - network 32 - network-bind 33 34parts: 35 fluent-bit: 36 source: https://github.com/fluent/fluent-bit 37 source-type: git 38 plugin: cmake 39 stage-packages: 40 - libsasl2-2 41 - libssl1.1 42 - libpq5 43 build-packages: 44 - g++ 45 - make 46 - libsasl2-dev 47 - libsystemd-dev 48 - flex 49 - bison 50 - valgrind 51 - libssl-dev 52 - libpq5 53 - postgresql-server-dev-all 54 configflags: 55 - -DFLB_DEBUG=On 56 - -DFLB_OUT_KAFKA=On 57 - -DFLB_JEMALLOC=On 58 - -DFLB_EXAMPLES=OFF 59 - -DFLB_SHARED_LIB=Off 60 - -DFLB_OUT_PGSQL=On 61 62layout: 63 /etc/fluent-bit: 64 bind: $SNAP/etc/fluent-bit 65