-
Notifications
You must be signed in to change notification settings - Fork 116
Open
Labels
type: bugA code related bugA code related bug
Description
A note for the community
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment.
Problem
I find it rather confusing for parse_user_agent("curl/8.7.1") and especially for parse_user_agent("curl/8.7.1", mode: "enriched") to set browser.version to "curl" instead of "8.7.1",
despite correctly extracting major/minor/patch versions in the enriched mode.
is this intentional or a bug?
$ parse_user_agent("curl/8.7.1")
{ "browser": { "family": "HTTP Library", "version": "curl" }, "device": { "category": "misc" }, "os": { "family": null, "version": null } }
$ parse_user_agent("curl/8.7.1", mode: "enriched")
{ "browser": { "family": "curl", "major": "8", "minor": "7", "patch": "1", "version": "curl" }, "device": { "brand": null, "category": "misc", "family": null, "model": null }, "os": { "family": null, "major": null, "minor": null, "patch": null, "patch_minor": null, "version": null } }
VRL Program
parse_user_agent("curl/8.7.1")
parse_user_agent("curl/8.7.1", mode: "enriched")
VRL and/or Vector Version
0.53.0
Debug Output
Example
Additional Context
No response
References
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type: bugA code related bugA code related bug