Hello everyone. Does someone know if it is possibl...
# general
e
Hello everyone. Does someone know if it is possible to get the details about the current network speed using osquery? I was trying to get
link_speed
from
interface_details
but it always returns 0 for every interface
t
Are you interested in the negotiated link speed? Or are you looking for something similar to a speed test like speedtest[.]net?
s
@theopolis What’s
context.isColumnUsed("link_speed")
do? Looks like link_speed is only populated if that’s true. Will that work with the change to how we propagated columns?
e
@theopolis something similar to a speed test
t
@seph good question but let's make sure this is a widespread issue before jumping into code. It looks like the negotiated link speed works on macos. @Eddy this only reports hardware status. A speed test feature does not exist in osquery.
s
I get zeros on my machine, both as root and as my user. I didn't dig much deeper
There is a curl table... There's probably a way to do something like a speed test with that. Though it won't be perfect
e
Eventually, On WIndows I succeded to get the link speed using native powershell but osquery always returns 0