-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathconfig.ini
More file actions
28 lines (27 loc) · 930 Bytes
/
config.ini
File metadata and controls
28 lines (27 loc) · 930 Bytes
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
[main]
log_output=syslog
log_level=error
;; Unique section name
[app-logs]
;; Cloudwatch group name
group = app
;; Cloudwatch stream name. Available variables:
;; Hostname, InstanceID
stream = logs
;; Socket URL to listen on. Supported sockets:
; - UDP
source = udp://localhost:5514
;; Syslog message format. Available formats:
;; - RFC3164
syslog_format = RFC3164
;; Outgoing message format. Available fields:
;; Facility, Severity, Hostname, Sslogtag, Message
;; All specified fileds will be replaced by their value.
cloudwatch_format = {{.Facility}} {{.Severity}} {{.Hostname}} {{.Syslogtag}} {{.Message}}
;; How much messages can be queued in buffer. Must be >= 0. If set to 0 then all messages will be discarded.
;; When limit is reached, all incomming messages will be discarded.
;; Defaults to 50000
;queue_size = 50000
;; Delay in milliseconds to wait between upload to cloudwatch.
;; Defaults to 200
;upload_delay = 200