guide to using API Stats in the latest v5 version #3357
tomandjerry27
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
guide to using API Stats in the latest v5 version
my v2ray version:5.28.0
add
"stats": {},
"1" in "levels" should be same to "level" in "clients"
add "email" inside "clients" if you want to track stats by users
add a dokodemo-door inside "inbounds"
add one "rules" inside "routing-->settings"
check out your blocked rule
your api query may be blocked according to "127.0.0.0/8"
you can find blocked records in access.log like
127.0.0.1:58166 accepted tcp:127.0.0.1:0 [blocked]
had better delete such blocked rule
confirm it's working
list all stats that have been active since v2ray last started
there were no traffic through user '[email protected]' since v2ray last ran,so it isn't displayed
you can also choose one name to query
it's better to check out access.log file more often when debugging
it displays the api query records
you can also find email here to make sure that user stats is working
check out listening port
finally,don't forget to send a reply if this guide is helpful.this will help more people see it.
Beta Was this translation helpful? Give feedback.
All reactions