allinurl / goaccess

GoAccess is a real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser.
https://goaccess.io
MIT License
18.28k stars 1.1k forks source link

HTML report get not cleared removing persistence until log get good stuff #2724

Open par7133 opened 1 week ago

par7133 commented 1 week ago

Hello,

HTML report get not cleared removing persistence until log get good stuff

-Dan

allinurl commented 1 week 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.

par7133 commented 6 days ago

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]

par7133 commented 3 days ago

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.

allinurl commented 3 days ago

You can use --keep-last=7, where 7 represents the number of days you wish to retain the data in the report/database.

par7133 commented 3 days ago

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]