-
Notifications
You must be signed in to change notification settings - Fork 25
/
config.json
74 lines (74 loc) · 2.22 KB
/
config.json
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
{
"description": "Splunk Logging Plugin",
"documentation": "https://github.com/splunk/docker-logging-plugin",
"entrypoint": ["/bin/splunk-logging-plugin"],
"network": {
"type": "host"
},
"interface": {
"types": ["docker.logdriver/1.0"],
"socket": "splunklog.sock"
},
"env": [
{
"name": "LOG_LEVEL",
"description": "Set log level to output for plugin logs",
"value": "info",
"settable": ["value"]
},
{
"name": "SPLUNK_LOGGING_DRIVER_FIFO_ERROR_RETRY_TIME",
"description": "Set number of retry when reading fifo from docker failed. -1 means retry forever",
"value": "3",
"settable": ["value"]
},
{
"name": "SPLUNK_LOGGING_DRIVER_POST_MESSAGES_FREQUENCY",
"description": "Set how often do we send messages (if we are not reaching batch size)",
"value": "5s",
"settable": ["value"]
},
{
"name": "SPLUNK_LOGGING_DRIVER_POST_MESSAGES_BATCH_SIZE",
"description": "Set number of messages to batch before buffer timeout",
"value": "1000",
"settable": ["value"]
},
{
"name": "SPLUNK_LOGGING_DRIVER_BUFFER_MAX",
"description": "Set maximum number of messages wait in the buffer before sent to Splunk",
"value": "10000",
"settable": ["value"]
},
{
"name": "SPLUNK_LOGGING_DRIVER_CHANNEL_SIZE",
"description": "Set number of messages allowed to be queued in the channel when reading from the docker provided FIFO",
"value": "4000",
"settable": ["value"]
},
{
"name": "SPLUNK_LOGGING_DRIVER_TEMP_MESSAGES_HOLD_DURATION",
"description": "Used when logs that are chunked by docker with 16kb limit. Set how long the system can wait for the next message to come.",
"value": "5s",
"settable": ["value"]
},
{
"name": "SPLUNK_LOGGING_DRIVER_TEMP_MESSAGES_BUFFER_SIZE",
"description": "Used when logs that are chunked by docker with 16kb limit. Set the biggest message that the system can reassemble.",
"value": "1048576",
"settable": ["value"]
},
{
"name": "SPLUNK_LOGGING_DRIVER_JSON_LOGS",
"description": "Determines if JSON logging is enabled.",
"value": "true",
"settable": ["value"]
},
{
"name": "SPLUNK_TELEMETRY",
"description": "Determines if telemetry is enabled.",
"value": "true",
"settable": ["value"]
}
]
}