﻿---
title: Configure the output
description: You configure Metricbeat to write to a specific output by setting options in the Outputs section of the metricbeat.yml config file. Only a single output...
url: https://www.elastic.co/elastic/docs-builder/docs/2413/reference/beats/metricbeat/configuring-output
---

# Configure the output
You configure Metricbeat to write to a specific output by setting options in the Outputs section of the `metricbeat.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/elastic/docs-builder/docs/2413/reference/beats/metricbeat/securing-metricbeat) for more about security-related configuration options.
- [Elastic Cloud Hosted](https://www.elastic.co/elastic/docs-builder/docs/2413/reference/beats/metricbeat/configure-cloud-id)
- [Elasticsearch](https://www.elastic.co/elastic/docs-builder/docs/2413/reference/beats/metricbeat/elasticsearch-output)
- [Logstash](https://www.elastic.co/elastic/docs-builder/docs/2413/reference/beats/metricbeat/logstash-output)
- [Kafka](https://www.elastic.co/elastic/docs-builder/docs/2413/reference/beats/metricbeat/kafka-output)
- [Redis](https://www.elastic.co/elastic/docs-builder/docs/2413/reference/beats/metricbeat/redis-output)
- [File](https://www.elastic.co/elastic/docs-builder/docs/2413/reference/beats/metricbeat/file-output)
- [Console](https://www.elastic.co/elastic/docs-builder/docs/2413/reference/beats/metricbeat/console-output)
- [Discard](https://www.elastic.co/elastic/docs-builder/docs/2413/reference/beats/metricbeat/discard-output)