-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Separating UAs from their versions #2808
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
Comments
Thanks for sharing those details. To better understand the current state compared to the intended output, could you please post a few sample access log lines that I can use to replicate this from my end? Additionally, what specific changes or improvements for those sample lines would you like to see? |
Apologies if I was unclear. OK, lets go by example log lines:
From these example lines, currently the agents from lines 1+2 would be seen as the same agent (so: 2 visitors, 2 hits for "F-Droid") – while all other agents would be counted as unique agents (i.e. 1 visitor, 1 hit for each). It would be great if there'd be a way to group them, so there'd be a summary like F-Droid: 2 + 2 (while optionally the separate entries are still shown, as in the second screenshot above). Currently, it seems the space (or any white space) are used to separate the client name from its version (and other additional information) – as e.g. "F-Droid 1.21.1" becomes simply "F-Droid". If it would be possible to specify additional separators (here: Further, please also note in the first screenshot above, that for some clients the closing quote of the UA string is displayed (just for some, not for all), which is also quite unexpected (though "cosmetic"). This could be due to the log-format I specified:
(maybe I should add quotes around |
I see that for some UAs, separation works – if they use a space to separate that. But if they are using a slash, each version is counted as a separate UA:
If you wonder, I've added those F-Droid clients to my
browsers.list
:I see that
com.machiav3lli.fdroid.neo
is recognized as "RepoClient" despite not being named inbrowsers.list
(which is OK in this case, as it's a separate "flavor" of the same client) – so basically, what I put intobrowsers.list
is read as "starts-with". But is there a way to set a "stop word" to tell GoAccess where the name of an UA ends and the version begins (what currently seems to be a white-space character)? In the above example, I'd would e.g. like to have the two "Droidify" combined, and the same for the Neo Store (com.machiav3lli.fdroid) versions.Seeing the versions separately of course is also very helpful (here for the corresponding devs, to see which older versions are still used). Not sure if some "sub-grouping" would make sense? Maybe like Webalizer allows:
Just brainstorming there…
The text was updated successfully, but these errors were encountered: