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.12k stars 1.1k forks source link

GoAccess processes only the last 12 months #1632

Open darekkay opened 4 years ago

darekkay commented 4 years ago

I've been using GoAccess 1.2 for a long time. My server logs are going back to September 2018. GoAccess 1.2 was processing/displaying all the entries. Today, I've updated to the latest development version from GitHub and now I can only see the results for the last 12 months. Was this change indended? Is there an option to turn it off? I couldn't find it anywhere.

allinurl commented 4 years ago

There hasn't been a change on that. Can you please confirm that using something like --max-items=1095 works as you expected? Thanks.

darekkay commented 4 years ago

Thank you very much, --max-items was the option I was looking for. From the documentation:

The maximum number of items to display per panel. The maximum can be a number between 1 and n. Note: Only the CSV and JSON output allow a maximum number greater than the default value of 366 (or 50 in the real-time HTML output) items per panel.

I wasn't using this option in version 1.2 (it was commented out in my goaccess.conf) and yet I could see more than the default 366 days. Interestingly, I am using the HTML output (no real-time), and yet it's working (I can now see more than 366 days in the generated HTML file again) despite the documentation stating otherwise. Is the documentation wrong?

Thanks again, this issue can be closed.

allinurl commented 4 years ago

Good question. The docs are still relevant for 1.3. The --max-items change allowing more than 365 items is a recent change upstream. Docs will be updated in the upcoming release.