-
-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
hi dear,
how to monitor 2 file syslog and authlog?
but in format in transporters have id, file syslog or authlog
"http": {
"type": "http",
"config": {
"url": "http://10.0.24.200:3000/api/syslog",
"format": {
"msg": "${originalMessage}",
"timestamp": "${timestamp}",
"type": "['authlog','syslog']",
},
"method": "POST",
"headers": {
"Content-Type": "application/json"
}
}
}
}
and fix this
"inputs": {
"file": {
"type": "file",
"config": {
"path": ['/var/log/syslog', '/var/log/authlog'],
"watch": true,
"readmode": "watermark",
"offset": "start"
}
}
},
Metadata
Metadata
Assignees
Labels
No labels