Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
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

[Bug] Referrers 0 but Referring Sites is populated #2775

Closed
tebriel opened this issue Dec 19, 2024 · 5 comments
Closed

[Bug] Referrers 0 but Referring Sites is populated #2775

tebriel opened this issue Dec 19, 2024 · 5 comments

Comments

@tebriel
Copy link

tebriel commented Dec 19, 2024

Description

I have 2 referrers in my Referring Sites section but Referrers stat at the top of the TUI is 0.

Expected Result

Referrers would have a value of 2

Background

Hi! Maybe I'm not quite understanding the data that's trying to be presented. I'm using NGINX and have set the following parsing for my log lines:

goaccess --log-format='%h %^[%d:%t %^] "%r" %s %b "%R" "%u"' --date-format='%d/%b/%Y' --time-format='%H:%M:%S' /var/log/nginx/access.log

I'm running goaccess 1.9.3

goaccess --version
GoAccess - 1.9.3.
For more details visit: https://goaccess.io/
Copyright (C) 2009-2024 by Gerardo Orellana

Build configure arguments:
  --enable-utf8
  --enable-geoip=mmdb
  --with-openssl

I can see referrers in my logs ("https://forge.frodux.in/assets/js/eventsource.sharedworker.js?v=9.0.2" for example:

45.24.132.65 - - [15/Dec/2024:00:46:55 -0500] "GET /user/events HTTP/2.0" 200 0 "https://forge.frodux.in/assets/js/eventsource.sharedworker.js?v=9.0.2" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
45.24.132.65 - - [15/Dec/2024:00:47:09 -0500] "GET /user/events HTTP/2.0" 200 417 "https://forge.frodux.in/assets/js/eventsource.sharedworker.js?v=9.0.2" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
45.24.132.65 - - [15/Dec/2024:01:03:52 -0500] "GET /user/events HTTP/2.0" 200 430 "https://forge.frodux.in/assets/js/eventsource.sharedworker.js?v=9.0.2" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"
45.24.132.65 - - [15/Dec/2024:01:22:33 -0500] "GET /user/events HTTP/2.0" 200 0 "https://forge.frodux.in/assets/js/eventsource.sharedworker.js?v=9.0.2" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 Edg/131.0.0.0"

And I can see referrers in my output:

Screenshot of TUI showing 2 referrers, one url and one ip address

But the Top Level stats show Referrers 0

A screenshot of the stats at the top of the TUI showing many stats, including Referrers as the value 0

cc @shapr who has also experienced this with his logs (though the same log format so maybe we're both holding it wrong!)

@allinurl
Copy link
Owner

Good question! I believe it's related to the referrers panel, which is disabled by default. You can enable it with the following option: --enable-panel=REFERRERS. Let me know if that works for you!

@tebriel
Copy link
Author

tebriel commented Dec 20, 2024

@allinurl ok awesome thanks! What is that supposed to be hiding? Since I can see the referrers section and the heading?

@allinurl
Copy link
Owner

One displays the full referrer (assuming --enable-panel=REFERRERS), while the other shows just the site. For example:

2024-12-19-205703_652x243_scrot

Are you seeing something else?

@tebriel
Copy link
Author

tebriel commented Dec 21, 2024

@allinurl oh that makes sense, I think I just wasn't fully grokking what I was seeing. Thanks so much for the fast and thorough support!

@tebriel tebriel closed this as completed Dec 21, 2024
@allinurl
Copy link
Owner

Happy to hear that it makes sense now. Don't hesitate to reopen it if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants