Initial commit: LogMaster with Viewer Collector Monitor modes
This commit is contained in:
41
logviewer.config.json
Normal file
41
logviewer.config.json
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"mode": "both",
|
||||
"port": 8080,
|
||||
"host": "0.0.0.0",
|
||||
"viewer": {
|
||||
"sources": [],
|
||||
"theme": "dark",
|
||||
"refreshInterval": 2000,
|
||||
"tailMode": true,
|
||||
"maxLines": 50000,
|
||||
"defaultLevel": "ALL"
|
||||
},
|
||||
"collector": {
|
||||
"enabled": true,
|
||||
"storageDir": "./collector-data",
|
||||
"maxLinesPerStream": 100000,
|
||||
"maxStreams": 50,
|
||||
"persistToDisk": true,
|
||||
"udp": {
|
||||
"enabled": true,
|
||||
"port": 5140
|
||||
},
|
||||
"rotation": {
|
||||
"maxSizeBytes": 5242880,
|
||||
"maxAgeMs": 600000,
|
||||
"compression": "gzip",
|
||||
"fileExtension": ".log"
|
||||
},
|
||||
"forwardTargets": [
|
||||
{
|
||||
"type": "console"
|
||||
}
|
||||
]
|
||||
},
|
||||
"s3": {
|
||||
"sources": {}
|
||||
},
|
||||
"remoteCollector": {
|
||||
"url": ""
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user