Is --browsers-file
ignored?
#2425
-
I’m running an ActivityPub server and would like peers to be classified as $ cat /etc/goaccess/browsers.list
Mastodon ActivityPub
$ goaccess /var/log/caddy/mastodon.log --browsers-file=/etc/goaccess/browsers.list --output=json | jq --compact-output '.browsers.data[] | { group: .data, match: .items[] | .data }'
{"group":"Crawlers","match":"(Mastodon/4.0.2"}
{"group":"Crawlers","match":"CloudFront"}
{"group":"Crawlers","match":"(Mastodon/3.5.3"}
{"group":"Crawlers","match":"(Mastodon/3.4.7"}
{"group":"Crawlers","match":"agent"}
{"group":"Crawlers","match":"3.5.5"}
{"group":"Crawlers","match":"glitch"}
{"group":"Crawlers","match":"2022.10-1484"}
{"group":"Crawlers","match":"(Mastodon/3.2.2"}
{"group":"Crawlers","match":"2020.12-dev-1382"}
{"group":"Crawlers","match":"(Mastodon/3.2.0"}
{"group":"Crawlers","match":"(Mastodon/3.5.1"}
{"group":"Crawlers","match":"SemrushBot/7~bl"}
{"group":"Crawlers","match":"MastodonInstances"}
{"group":"Crawlers","match":"(Mastodon/3.2.1"}
{"group":"Crawlers","match":"2022.12-dev-1497"}
{"group":"Crawlers","match":"(Mastodon/3.5.5"}
{"group":"Unknown","match":"Unknown"}
{"group":"Firefox","match":"Firefox/107.0"}
{"group":"Firefox","match":"Firefox/106.0"}
{"group":"Others","match":"python-requests/2.28.1"}
{"group":"Others","match":"python-requests/2.25.1"}
{"group":"Others","match":"python-requests/2.27.1"}
{"group":"Others","match":"python-requests/2.22.0"}
{"group":"Chrome","match":"Chrome/87.0.4280.88"}
$ goaccess /var/log/caddy/mastodon.log --browsers-file=/etc/goaccess/browsers.list --output=json | jq --raw-output '.hosts.data[].items[]' | grep 'Mastodon' | head -n 10
http.rb/5.1.0 (Mastodon/4.0.2; +https://mastodon.social/)
http.rb/5.1.0 (Mastodon/4.0.2; +https://fosstodon.org/)
http.rb/5.1.0 (Mastodon/4.0.2; +https://hachyderm.io/)
http.rb/5.1.0 (Mastodon/4.0.2; +https://social.coop/)
http.rb/5.1.0 (Mastodon/4.0.2; +https://artisan.chat/)
http.rb/5.1.0 (Mastodon/4.0.2; +https://mstdn.social/)
http.rb/5.1.0 (Mastodon/4.0.2+glitch; +https://infosec.exchange/)
http.rb/5.1.0 (Mastodon/4.0.2; +https://en.osm.town/)
http.rb/5.1.0 (Mastodon/4.0.2; +https://social.ridetrans.it/)
http.rb/5.1.0 (Mastodon/4.0.2; +https://mastodon.seattlematrix.org/) What am I doing wrong? GoAccess 1.6.5, Ubuntu 22.04.1 LTS |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Just tested this by adding an entry to the browsers.list as:
Where |
Beta Was this translation helpful? Give feedback.
-
Here's what I get: |
Beta Was this translation helpful? Give feedback.
Here's what I get: