Title
#fleet
i

Ibra

06/24/2022, 3:06 PM
Hi everyone, I would like to ask if it is possible to prepare the agent so that it sends endpoint data to 2 different fleet servers that are not clustered
zwass

zwass

06/24/2022, 5:30 PM
No, that is not possible. Osquery only supports logging to a single remote destination. What is your end goal? Maybe you can duplicate the logs in the logging pipeline?
i

Ibra

06/24/2022, 7:26 PM
I want to make it so that the fleet server present in our main office has visibility to all pcs and at the same time I have a fleet server in each branch office with visibility only of the pcs that are managed by that office. so I would need osquery to send data to both the main server and the server present at that secondary location
zwass

zwass

06/24/2022, 8:05 PM
Is this motivated by wanting to give some users access to only the computers in their branch office? If that's the case, the Teams feature of Fleet Premium is designed exactly for that.
8:06 PM
Otherwise, you could potentially run two instances of osquery on each computer with different flags and database paths. This would result in some duplication of queries but each computer would show up in both Fleet instances.