Replies: 1 comment 5 replies
|
Hey Heath, Great question. You should be able to run it exactly as you described with If you'd like to test it first, try it with a couple of small sample logs, such as Also, take a look at |
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I've been sifting through the various use cases and am trying to plan one with the following features:
This seems simple enough with a combination of
cron,--restoreand--persist. But the specifics of that behaviour are subtle, so I want to make sure I'm thinking about this correctly. Here's my plan:goaccess all-the-historical-log-files --persistto seed the database with existing logs.goaccess access.log --restoregoaccess access.log.1 --persistI'm confused about the interaction of these restore/persist operations. I figure I can't just periodically
goaccess access.log --persist --restore, because when the file rotates the entries since the last periodic run will be lost. But am I taking the wrong path by having one job thatrestores and one thatpersists?All reactions