track sample configuration file
This commit is contained in:
parent
7a409ec033
commit
d851cda630
54
cmd/archive-server/config.json.SAMPLE
Normal file
54
cmd/archive-server/config.json.SAMPLE
Normal file
@ -0,0 +1,54 @@
|
|||||||
|
{
|
||||||
|
|
||||||
|
/* Timezone (IANA tz format) */
|
||||||
|
"Timezone": "Etc/UTC",
|
||||||
|
|
||||||
|
/* Number of lines per page */
|
||||||
|
"LinesPerPage": 100,
|
||||||
|
|
||||||
|
/* A list of objects describing each independent log source */
|
||||||
|
"Logs": [
|
||||||
|
|
||||||
|
/* Create one object for each independent log source */
|
||||||
|
{
|
||||||
|
/* Display name for this log source */
|
||||||
|
"Description": "my-log-source",
|
||||||
|
|
||||||
|
/* Alternative URL names for this source (the first is preferred) */
|
||||||
|
"Slugs": [],
|
||||||
|
|
||||||
|
/* A list of objects describing where files for this source can be found */
|
||||||
|
"FileLocation": [
|
||||||
|
|
||||||
|
/* Create one object for each time-based file location */
|
||||||
|
{
|
||||||
|
|
||||||
|
/*
|
||||||
|
* The full path to the log file.
|
||||||
|
* Date formatting reference: https://golang.org/pkg/time/#pkg-constants
|
||||||
|
*/
|
||||||
|
"LogFilePath": "/path/to/my-log-source/2006-01.log",
|
||||||
|
|
||||||
|
/*
|
||||||
|
* The first month for which this path is valid.
|
||||||
|
* Months are 1-based (1=January, 12=December)
|
||||||
|
*/
|
||||||
|
"StartMonth": {
|
||||||
|
"Year": 2010,
|
||||||
|
"Month": 2
|
||||||
|
},
|
||||||
|
|
||||||
|
/*
|
||||||
|
* The last month for which this is valid.
|
||||||
|
* Set `"EndMonth": null` to refer to the current month.
|
||||||
|
*/
|
||||||
|
"EndMonth": {
|
||||||
|
"Year": 2015,
|
||||||
|
"Month": 7
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user