blob: 6b5e42d0a1996489c933566b83fa84149fd01e75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
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
|