---
title: Configure the output
description: 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...
url: https://www.elastic.co/docs/reference/beats/filebeat/configuring-output
products:
  - Beats
  - Filebeat
applies_to:
  - Elastic Cloud Serverless: Generally available
  - Elastic Stack: Generally available
---

# 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](https://www.elastic.co/docs/reference/beats/filebeat/securing-filebeat) for more about security-related configuration options.
- [Elastic Cloud Hosted](https://www.elastic.co/docs/reference/beats/filebeat/configure-cloud-id)
- [Elasticsearch](https://www.elastic.co/docs/reference/beats/filebeat/elasticsearch-output)
- [Logstash](https://www.elastic.co/docs/reference/beats/filebeat/logstash-output)
- [Kafka](https://www.elastic.co/docs/reference/beats/filebeat/kafka-output)
- [Redis](https://www.elastic.co/docs/reference/beats/filebeat/redis-output)
- [File](https://www.elastic.co/docs/reference/beats/filebeat/file-output)
- [Console](https://www.elastic.co/docs/reference/beats/filebeat/console-output)
- [Discard](https://www.elastic.co/docs/reference/beats/filebeat/discard-output)

<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](https://www.elastic.co/docs/reference/beats/serverless/beats) for setup instructions.
</tip>