-
Notifications
You must be signed in to change notification settings - Fork 31
/
app.json
34 lines (34 loc) · 1.07 KB
/
app.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
{
"name": "Heroku Log S3",
"description": "log drain from heroku to s3",
"repository": "https://github.com/choonkeat/heroku-log-s3",
"keywords": ["ruby", "rack", "log", "drain", "s3", "upload"],
"env": {
"AWS_REGION": "",
"S3_KEY": "",
"S3_SECRET": "",
"S3_BUCKET": "",
"DURATION": {
"description": "Seconds to buffer until we write to S3",
"value": "60"
},
"STRFTIME": {
"description": "Format of your s3 `object_id` (file path); `:thread_id` will be replaced by a unique number to prevent overwriting of the same file between reboots, in case the timestamp overlaps",
"value": "%Y%m/%d/%H/%M%S.:thread_id.log"
},
"HTTP_USER": {
"value": "logger",
"required": false
},
"HTTP_PASSWORD": {
"description": "Password to prevent public from using your log drain",
"generator": "secret",
"required": false
},
"FILTER_PREFIX": {
"description": "Lines with this prefix will be saved to S3; non-matching lines are ignored",
"value": "",
"required": false
}
}
}