Comments (4)
The problem seems to be that the field is ""
, rather than "-"
to indicate an empty value. It scans for .+?
(that is, at least one character).
As far as I know, a -
should always be used to indicate missing data, but none of this is a "real" standard.
Was this generated by some common(-ish) software?
from goatcounter.
Was this generated by some common(-ish) software?
That's a real access log file of nginx, from a real website. Such records are added when user-agent header is present but empty (user-agent:
).
from goatcounter.
I could reproduce it like this:
$ nc localhost 8090
GET / HTTP/1.1
User-Agent:
HTTP/1.1 400 Bad Request
...
Gave me:
127.0.0.1 - - [17/May/2023:22:04:40 +0200] "GET / HTTP/1.1" 400 157 "-" ""
The trick is to have User-Agent header with no value, rather than User-Agent being omitted (e.g. curl -H 'User-Agent: '
will simply not send any header).
from goatcounter.
Ah, it seems you edited your message. Well, we came to the same conclusion 😅
Mostly just wanted to verify it's not an issue with a custom script or the like. I'll get it fixed.
from goatcounter.
Related Issues (20)
- Delete site shows data after adding it back HOT 4
- Full Referrer URL HOT 2
- [Bug] Gray bars appear on mouse hover when "view by day" is selected HOT 6
- Sort options for stats page HOT 3
- passing full url inside path with window.goatcounter.path = window.location.href HOT 1
- Reverse proxy + multiple sites: Site links broken HOT 2
- User navigation as Sankey Diagram
- The gear icon in top right of dashboard appears behind the scroll bar on Firefox
- Question: Is it possible to see the full referring path? HOT 3
- How do I exclude my domain from the list of referrers HOT 4
- How to track search terms HOT 6
- open for design updates? HOT 3
- TLS certs on goatcounter.com hosted service have expired (09-Apr-2024 23:59:59 GMT) HOT 5
- Multi-domain confusion HOT 3
- zgo.at and the lighthouse score (cache policy) HOT 3
- Should custom subdomain be used in the script? HOT 2
- site.cname already exists error
- Having both overall and per site statistics HOT 6
- Confusing naming for Import, Export/Import and export HOT 3
- Typo on help page HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from goatcounter.