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.52k stars 1.11k forks source link

Why is the official website accurate to the minute, and only accurate to the day when I set it myself #2736

Open Penryn opened 1 month ago

Penryn commented 1 month ago

QQ_1728663579803 QQ_1728663610096 QQ_1728663630512 QQ_1728663662490

allinurl commented 1 month ago

You can always pass --date-spec=min, e.g.,

# goaccess access.log --log-format=COMBINED --date-spec=min --keep-last=15

Let me know if that helps.

Penryn commented 1 month ago

Can it be accurate to the second?

allinurl commented 1 month ago

to the minute.

Penryn commented 1 month ago

So how do I know the queries per second for a web development service bu using it

allinurl commented 1 month ago

Are you asking about how many visitors or hits you get per second, or do you want to know how to set up GoAccess for real-time updates? If it’s the first one, there’s no way to show hits or visitors per second. But if you’re looking for real-time updates, just use the --real-time-html option, and it’ll refresh the report as data comes in, e.g., every second.