goaccess icon indicating copy to clipboard operation
goaccess copied to clipboard

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

Open par7133 opened this issue 1 year ago • 6 comments

Hello,

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

-Dan

par7133 avatar Sep 22 '24 23:09 par7133

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.

allinurl avatar Sep 26 '24 00:09 allinurl

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 avatar Sep 26 '24 07:09 par7133

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.

par7133 avatar Sep 29 '24 08:09 par7133

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

allinurl avatar Sep 29 '24 18:09 allinurl

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]

par7133 avatar Sep 30 '24 01:09 par7133

Hi everybody...

So @par7133 , a trick is ever process from old to newer LOGs. I.E. in chronological order in time.

0bi-w6n-K3nobi avatar Oct 11 '24 11:10 0bi-w6n-K3nobi