Open par7133 opened 2 months ago
I’m not sure I understand your question. Are you asking about clearing out the saved database? You can run it without the --persistence
or --restore
options. Also, getting rid via rm -rf /tmp/goaccess*
should do it.
This was a specific situation where I found myself inside. I removed persistence but tne report got not cleared for a while. Good tip, thanks.
-Dan
Sep 26, 2024 02:09:45 Gerardo O. @.***>:
I’m not sure I understand your question. Are you asking about clearing out the saved database? You can run it without the --persistence or --restore options. Also, getting rid via *rm -rf /tmp/goaccess** should do it.
— Reply to this email directly, view it on GitHub[https://github.com/allinurl/goaccess/issues/2724#issuecomment-2375481242], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AFONMRF4J2WIDJ7W6DD5QPLZYNGEJAVCNFSM6AAAAABOU7ZZKWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZVGQ4DCMRUGI]. You are receiving this because you authored the thread. [Tracking image][https://github.com/notifications/beacon/AFONMRAGO5M2S3SETGG5PGDZYNGEJA5CNFSM6AAAAABOU7ZZKWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUNS33ZU.gif]
Just to underline the prb: if, after a log reset, I don't launch an rm -rf /tmp/goaccess* I got always stuck on old data.
You can use --keep-last=7
, where 7 represents the number of days you wish to retain the data in the report/database.
I'm going to try it, thanks!
-Dan
Sep 29, 2024 20:36:29 Gerardo O. @.***>:
You can use --keep-last=7, where 7 represents the number of days you wish to retain the data in the report/database.
— Reply to this email directly, view it on GitHub[https://github.com/allinurl/goaccess/issues/2724#issuecomment-2381456194], or unsubscribe[https://github.com/notifications/unsubscribe-auth/AFONMRER7UWDRTPL7V22GX3ZZBCCRAVCNFSM6AAAAABOU7ZZKWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBRGQ2TMMJZGQ]. You are receiving this because you authored the thread. [Tracking image][https://github.com/notifications/beacon/AFONMRGS3AMBAJJHK6ZI24TZZBCCRA5CNFSM6AAAAABOU7ZZKWWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUN6IRUE.gif]
Hi everybody...
So @par7133 , a trick is ever process from old to newer LOGs
.
I.E. in chronological order in time.
Hello,
HTML report get not cleared removing persistence until log get good stuff
-Dan