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

流量统计日志中,经常出现个别“email”的value为空 #1022

Closed
ghost opened this issue Apr 9, 2022 · 4 comments
Closed

流量统计日志中,经常出现个别“email”的value为空 #1022

ghost opened this issue Apr 9, 2022 · 4 comments

Comments

@ghost
Copy link

ghost commented Apr 9, 2022

        {
            "name": "user>>>kc770>>>traffic>>>uplink",
            "value": 15094288
        },
        {
            "name": "user>>>Ann>>>traffic>>>uplink",
            "value": 709858
        },
        {
            "name": "user>>>FanLei>>>traffic>>>uplink",
            "value": 11857125
        },
        {
            "name": "user>>>kc770>>>traffic>>>downlink",
        },
        {
            "name": "user>>>YinHeng>>>traffic>>>downlink",
            "value": 49330
        },

如上所示,kc770 的 downlink 没有 value 值,但 uplink 有,如果此时我用kc770的身份做一些数据传输,value就会有值了。
这给脚本统计的时候带来一些麻烦,建议对任何"email",如果有uplink/downlink,当其中之一为空时,输出 "value": 0

这个问题存在于所有的 Xray 版本

@yuhan6665
Copy link
Member

能贴一下你使用的脚本的具体例子吗

@yuhan6665
Copy link
Member

v2fly/v2ray-core#1829
下个版本

@yuhan6665
Copy link
Member

Fixed in 1.5.9

@ghost
Copy link
Author

ghost commented Jul 18, 2022

Fixed in 1.5.9

Confirmed. Many thanks!

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

No branches or pull requests

1 participant