Kibana Fleet API for Logstash Output

Dear Community,

we automise the Fleet deployment process. We want to add a logstash output to specify where the agent will send the data.

What would be the proper API? Do you also have an example of the request-body.

Thanks and Kind Regards,

Rachel

Hi madra,

The API to create an output is this: Fleet APIs | Fleet and Elastic Agent Guide [master] | Elastic

You can create a logstash output from the UI and check on Chrome Network tab on what is sent as request body.