-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker.conf
57 lines (45 loc) · 1.01 KB
/
docker.conf
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
[INPUT]
Name forward
Listen 0.0.0.0
Port 24224
[FILTER]
Name lua
Match docker.*
script conf/append_tag.lua
Call append_tag
[FILTER]
Name parser
Match docker.*
Key_Name log
Parser docker-custom
Reserve_Data On
[FILTER]
Name record_modifier
Match docker.*
Remove_key source
Remove_key container_id
Remove_key container_name
# Settings for parsing logback JSON logs
# logback uses "message" for the message, but "short_message" is
# required.
[FILTER]
Name modify
Match docker.configurator
Hard_rename message short_message
# Timestamp in json log is confusing graylog and we're already
# receiving a timestamp from docker.
[FILTER]
Name modify
Match docker.configurator
Remove timestamp
# MDC is the Java logging context, pass along all the keys
[FILTER]
Name nest
Match docker.configurator
Operation lift
Nested_under mdc
[FILTER]
Name modify
Match docker.*
Hard_rename logging-host host
Add version 1.1