log-vista
Version:
LogVista Agent - Lightweight system monitoring and log collection for any project/language
41 lines (40 loc) • 1.1 kB
JSON
{
"central_system": {
"url": "http://localhost:3001",
"token": "your-agent-token-here",
"retry_attempts": 3,
"retry_interval": 5000
},
"agent": {
"collection_interval": 30,
"batch_size": 100,
"log_level": "info"
},
"projects": [
{
"project_name": "test-api-project",
"pwd_path": "E:\\Freelance\\LogVistaV2\\test-api-project",
"custom_log_paths": [
"E:\\Freelance\\LogVistaV2\\test-api-project\\logs\\app.log",
"E:\\Freelance\\LogVistaV2\\test-api-project\\logs\\error.log",
"E:\\Freelance\\LogVistaV2\\test-api-project\\logs\\access.log"
],
"enabled": true
},
{
"project_name": "example-project",
"pwd_path": "/path/to/project",
"custom_log_paths": [
"/path/to/project/logs/app.log",
"/path/to/project/logs/error.log"
],
"enabled": false
}
],
"system": {
"collect_system_metrics": true,
"collect_process_metrics": true,
"collect_network_metrics": true,
"collect_disk_metrics": true
}
}