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

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