Replies: 1 comment 1 reply
-
That's an interesting point, doesn't the "Windows NT 10.0" label mean that the OS could be either Windows 10 or 11? Newer browsers like Edge just show "Windows NT 10.0" for both. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys,
Is there way how to parse correctly Windows version with GoAccess? I tried several ways but it always shows Windows 10 or Windows NT.
The based apache access log is:
127.0.0.1 - - [05/Feb/2025:11:41:08 +0100] "GET /platform/messages HTTP/1.1" 503 774 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:134.0) Gecko/20100101 Firefox/134.0" 2993
GoAccess shows OS Windows 10.0. I have a custom application where I can put there whatever I want so I would like to see the full OS version what I tried in the description and the results:
(Windows NT 10.0.22621; Win64; x64) -> Windows 10
(Windows NT 10_0_22621; Win64; x64) -> Windows 10
If I use header for macOS:
10.14.8.77 - - [05/Feb/2025:11:44:20 +0100] "POST /api/auth/token HTTP/1.1" 200 453 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 14_6_1)" 209
There is shown in GoAccess the full version correctly 14.6.1. I would like to see the same for Windows as well.
Currently the logic for Windows version detection should be (Windows 11):
Windows 11
Windows NT 10.0.22000
Windows NT 10.0.22621
Windows NT 10.0.22631
Windows NT 10.0.26100
Maybe it parse correctly the base Windows NT version but it is not sufficient for me. :/
I've tried search for similar ask but found nothing.
Beta Was this translation helpful? Give feedback.
All reactions