Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GoAccess processes only the last 12 months #1632

Open
darekkay opened this issue Dec 18, 2019 · 3 comments
Open

GoAccess processes only the last 12 months #1632

darekkay opened this issue Dec 18, 2019 · 3 comments

Comments

@darekkay
Copy link

@darekkay darekkay commented Dec 18, 2019

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

This comment has been minimized.

Copy link
Owner

@allinurl allinurl commented Dec 21, 2019

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

This comment has been minimized.

Copy link
Author

@darekkay darekkay commented Dec 22, 2019

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

This comment has been minimized.

Copy link
Owner

@allinurl allinurl commented Dec 24, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.