:wave: Hello, team! I am new to osquery. Tried osq...
# general
a
👋 Hello, team! I am new to osquery. Tried osquery python extension to execute osqueryi commands and stuck on this error.
Could not connect to any of ['/tmp/pyosqsockndnbir6z']
My code was :
Copy code
import osquery
 instance = osquery.SpawnInstance()
 instance.open()
 result = instance.client.query("SELECT interface FROM interface_details;")
Is the correct way or I am doing something wrong ?
m
Is this error from the extension or from osqueryi? If you run with
--verbose
you might get additional context for the error. It could be that the extension or osqueryi is not being run with enough privilege to open the Thrift channel between them