log.io icon indicating copy to clipboard operation
log.io copied to clipboard

feeding daily rotated log file

Open ethaniel86 opened this issue 4 years ago • 0 comments

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
  }

ethaniel86 avatar Oct 07 '20 09:10 ethaniel86