04/09/2021, 10:42 AM
Hello, may I ask if there is an API interface for this query result?I want to call this interface directly to import the result content of the query into my database
04/09/2021, 3:57 PM
Yes. Documented in
and below sections. You can use the Go or JS API clients that
and the Fleet web UI use if you are working in either of those languages.
04/12/2021, 3:27 AM
OK, thank you for your answer👍
Hi,I haven't used the Go or JS API. What's the best way to implement it in Python?
In addition, I saw in the document that the websocket should be changed to websockets?
I want to use it simply, but I can't connect to the websocket
Hello, may I ask if you have time to check the problems of websocket and websockets? Thank you very much
04/13/2021, 3:14 PM
You'll need to look into the network tab to see what went wrong there
Make sure you have a look at how it looks in the network tab when the Fleet UI does it.
04/15/2021, 10:34 AM
Hello, again for your trouble.I saw WebSocket on Fleet UI when I was queried online. I don't understand
here / 437 / q4il0pxy what meaning be
04/15/2021, 3:30 PM
That's part of the sockjs protocol (you are looking at
). If you have a regular websockets client you'll want to use
04/19/2021, 5:41 AM
Thanks to Zwass for your help.I have solved the problem of connecting to Fleet WebSocket. The key is that the settings on my nginx need to be set to support WebSocket