Skip to content

Commit 085e29f

Browse files
authored
add acceptable env var to config.json (#36)
1 parent ca49b86 commit 085e29f

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

config.json

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,48 @@
1515
"description": "Set log level to output for plugin logs",
1616
"value": "info",
1717
"settable": ["value"]
18+
},
19+
{
20+
"name": "SPLUNK_LOGGING_DRIVER_FIFO_ERROR_RETRY_TIME",
21+
"description": "Set number of retry when reading fifo from docker failed. -1 means retry forever",
22+
"value": "3",
23+
"settable": ["value"]
24+
},
25+
{
26+
"name": "SPLUNK_LOGGING_DRIVER_POST_MESSAGES_FREQUENCY",
27+
"description": "Set how often do we send messages (if we are not reaching batch size)",
28+
"value": "5s",
29+
"settable": ["value"]
30+
},
31+
{
32+
"name": "SPLUNK_LOGGING_DRIVER_POST_MESSAGES_BATCH_SIZE",
33+
"description": "Set number of messages to batch before buffer timeout",
34+
"value": "1000",
35+
"settable": ["value"]
36+
},
37+
{
38+
"name": "SPLUNK_LOGGING_DRIVER_BUFFER_MAX",
39+
"description": "Set maximum number of messages wait in the buffer before sent to Splunk",
40+
"value": "10000",
41+
"settable": ["value"]
42+
},
43+
{
44+
"name": "SPLUNK_LOGGING_DRIVER_CHANNEL_SIZE",
45+
"description": "Set number of messages allowed to be queued in the channel when reading from the docker provided FIFO",
46+
"value": "4000",
47+
"settable": ["value"]
48+
},
49+
{
50+
"name": "SPLUNK_LOGGING_DRIVER_TEMP_MESSAGES_HOLD_DURATION",
51+
"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.",
52+
"value": "100ms",
53+
"settable": ["value"]
54+
},
55+
{
56+
"name": "SPLUNK_LOGGING_DRIVER_TEMP_MESSAGES_BUFFER_SIZE",
57+
"description": "Used when logs that are chunked by docker with 16kb limit. Set the biggest message that the system can reassemble.",
58+
"value": "1048576",
59+
"settable": ["value"]
1860
}
1961
]
2062
}

0 commit comments

Comments
 (0)