Title
#fleet
d

demonbhao

11/26/2020, 6:48 AM
Hello, is there any interface after the query on Fleet?I want to import the results of the FLEET UI query into the mysql database
Noah Talerman

Noah Talerman

12/01/2020, 8:09 PM
Hi! Apologies for the late response. When you run a live query on Fleet there should be a table in the UI that displays the results. You would like for the live query results to then be placed in the mysql db?
d

demonbhao

12/02/2020, 3:08 AM
Yes, I know that fleet UI will have lists on it, and What I want is an interface with or without this query result
Noah Talerman

Noah Talerman

12/02/2020, 3:32 PM
Ok! I’m working on getting an answer to your question “is there any interface after the query on Fleet?” Do you mind explaining your use case for importing the results of the Fleet UI query into the mysql database?
3:59 PM
While I investigate an answer you may find this section of the Fleet documentation helpful: https://github.com/fleetdm/fleet/blob/master/docs/infrastructure/faq.md#where-are-my-query-results
d

demonbhao

12/07/2020, 3:22 AM
I'm sorry to reply you so late The scenario I want is that I query the fleet UI results (shown in Figure 1) so that I can import these results to my database via the Fleet API.I did not find any API on the official website. Fleet UI provided the ability to export the table but it would be much easier if you could export the table directly through the API interface and we could look at the query results.
Noah Talerman

Noah Talerman

12/07/2020, 5:57 PM
I did not find any API on the official website.
Good catch. We’re in the process of updating the documentation with description and code examples for all API endpoints. (https://github.com/fleetdm/fleet/blob/master/docs/api/rest-endpoints.md) Right now, the documentation is limited and we’ll update you when it is complete!
5:59 PM
In the meantime, I suggest using the “Network” tab in your web browser’s developer tools to investigate the API endpoint being used when you run the query in the Fleet UI.
d

demonbhao

12/08/2020, 3:00 AM
Good,i will solve my problem according to your suggestion.Thank you very much