-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Fleet] Outputs > Specify where agents will send data #150111
Comments
Pinging @elastic/fleet (Team:Fleet) |
Hi @joepa37 - it looks like you might be trying to configure a remote Elasticsearch output here, which is not supported today. However, supporting remote Elasticsearch clusters is on our roadmap, and there's a tracking issue here with some context: #104986. If this isn't a remote cluster, then you shouldn't need to provide a username/password as Fleet's "enrollment tokens" resource will provide the API key access each Agent needs to authenticate requests and ship data. For some additional technical context, Fleet and Agent use Elasticsearch API keys for authentication. So, in order to support output to a remote Elasticsearch cluster, you'd need to have the same API key be valid for two separate clusters - which is not something plain API keys support. In order to fulfill this authentication need, remote clusters will need to provision a service account token that can be given to your Fleet Server instances. |
Hello @kpollich - it's possible to achieve this using two fleet servers? I can see some done tasks related with "Proxies" feature here: |
i believe the way you may want to achieve this is by writing to Logstash and then route from there to multiple ES clusters. As mentioned above agents don't support connections to a re mote S cluster at the moment. |
Kibana version: kibana:8.5.3
Elasticsearch version: elasticsearch:8.5.3
Original install method (e.g. download page, yum, from source, etc.): Elastic ECK 2.6
Describe the bug: Is posible to send data to an external elasticsearch deployment with fleet server?
I have tried with the Kibana Fleet UI settings but there is no username, password field for connection, if I specify those on Advanced YAML configuration give me these error:
cannot set both api_key and username/password accessing 'elasticsearch'
I can see the Kibana Fleet Settings
xpack.fleet.outputs
>config
described asExtra config for that output
to set this manually but there is no example to set thisconfig
variable.Screenshots (if relevant):
![image (1)](https://user-images.githubusercontent.com/15274305/216162644-ad90c9a9-7371-47cd-9a29-1e46123eb815.png)
The text was updated successfully, but these errors were encountered: