Configure the output
You configure Filebeat to write to a specific output by setting options in the Outputs section of the filebeat.yml config file. Only a single output may be defined.
The following topics describe how to configure each supported output. If you’ve secured the Elastic Stack, also read Secure for more about security-related configuration options.
Tip
When sending data to Elasticsearch Serverless, configure the Elasticsearch output with your project's endpoint URL and an API key. Refer to Beats for Elasticsearch Serverless for setup instructions.