blob: 7b0bb0bcb3cadacbaac972339aa17990be21749b (
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
|
[Serial logs]
## Example: Log collector that will collect logs from a serial interface.
## Required settings
enabled = no
log type = flb_serial
## Optional settings, common to all log source.
## Uncomment to override global equivalents in netdata.conf.
# update every = 1
# update timeout = 10
# use log timestamp = auto
# circular buffer max size MiB = 64
# circular buffer drop logs if full = no
# compression acceleration = 1
# db mode = none
# circular buffer flush to db = 6
# disk space limit MiB = 500
## Set up configuration specific to flb_serial
log path = /dev/pts/4
bitrate = 115200
min bytes = 1
# separator = X
# format = json
## Submit structured log entries to the system journal
# submit logs to system journal = no
## Charts to enable
# collected logs total chart enable = no
# collected logs rate chart enable = yes
## Example of extracting custom metrics from serial interface messages:
# custom 1 chart = UART0
# # custom 1 regex name = test
# custom 1 regex = .*\bUART0\b.*
# # custom 1 ignore case = no
|