[GH-ISSUE #252] feeding daily rotated log file #204

Open
opened 2026-02-26 05:31:35 +03:00 by kerem · 0 comments
Owner

Originally created by @ethaniel86 on GitHub (Oct 7, 2020).
Original GitHub issue: https://github.com/NarrativeScience-old/log.io/issues/252

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
  }
Originally created by @ethaniel86 on GitHub (Oct 7, 2020). Original GitHub issue: https://github.com/NarrativeScience-old/log.io/issues/252 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 }
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/log.io-NarrativeScience-old#204
No description provided.