log.io
log.io copied to clipboard
feeding daily rotated log file
anyway to instruct harvester to take only logs that generated on current date? Is there a variable we can define in file.json? Appreciate it.
For example log.2020-10-01.log
I can use *.log but it will also feed old logs
{
"source": "ABC",
"stream": "ABC logs",
"config": {
"path": "/var/log/*.log" <-- make this only feed current date log
}