summaryrefslogtreecommitdiffstats
path: root/logsmanagement/stock_conf/logsmanagement.d/example_forward.conf
blob: 87921d25ecd05cfa61f7f71e49b316566581f6e9 (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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
[Forward systemd]
    ## Example: Log collector that will collect streamed Systemd logs
    ## only for parsing, according to global "forward in" configuration 
    ## found in logsmanagement.d.conf .

    ## Required settings
    enabled = no
    log type = flb_systemd

    ## 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

    ## Streaming input settings.
    log source = forward
    stream guid = 6ce266f5-2704-444d-a301-2423b9d30735

    ## Charts to enable
    # collected logs total chart enable = no
    # collected logs rate chart enable = yes
    priority value chart = yes
    severity chart = yes
    facility chart = yes

[Forward Docker Events]
    ## Example: Log collector that will collect streamed Docker Events logs 
    ## only for parsing, according to global "forward in" configuration 
    ## found in logsmanagement.d.conf .

    ## Required settings
    enabled = no
    log type = flb_docker_events

    ## 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

    ## Submit structured log entries to the system journal
	# submit logs to system journal = no

    ## Streaming input settings.
    log source = forward
    stream guid = 6ce266f5-2704-444d-a301-2423b9d30736

    ## Charts to enable
    # collected logs total chart enable = no
    # collected logs rate chart enable = yes
    event type chart = yes

[Forward collection]
    ## Example: Log collector that will collect streamed logs of any type
    ## according to global "forward in" configuration found in 
    ## logsmanagement.d.conf and will also save them in the logs database.

    ## Required settings
    enabled = no
    log type = flb_tail

    ## 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 = full
    # circular buffer flush to db = 6
    # disk space limit MiB = 500

    ## Submit structured log entries to the system journal
	# submit logs to system journal = no

    ## Streaming input settings.
    log source = forward
    stream guid = 6ce266f5-2704-444d-a301-2423b9d30737

    ## Charts to enable
    # collected logs total chart enable = no
    # collected logs rate chart enable = yes