# Elastic Agent vs Logstash/Elasticsearch output

**URL:** https://discuss.elastic.co/t/elastic-agent-vs-logstash-elasticsearch-output/316345
**Category:** Elastic Agent
**Created:** [October 11, 2022, 2:56pm UTC](https://discuss.elastic.co/t/elastic-agent-vs-logstash-elasticsearch-output/316345 "2022-10-11T14:56:06Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![djkprojects](https://avatars.discourse-cdn.com/v4/letter/d/d2c977/32.png) [@djkprojects](https://discuss.elastic.co/u/djkprojects)
#### Post date: [October 11, 2022, 2:56pm UTC](https://discuss.elastic.co/t/elastic-agent-vs-logstash-elasticsearch-output/316345/1 "2022-10-11T14:56:06Z")

</div>

Hello,

We are thinking of replacing Beats with Elastic Agent and would like to send metrics to Elasticsearch directly and custom logs via Logstash. Is this even possible with Elastic Agent? Looking at Fleet settings the outputs are set per policy, not integration which would mean it's not but be good to get a definite confirmation.

Thanks

---

<div class="post-metadata">

### Author: ![juliana\_cg](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/juliana_cg/32/99127_2.png) [@juliana\_cg](https://discuss.elastic.co/u/juliana_cg)
#### Post date: [October 28, 2022, 3:46pm UTC](https://discuss.elastic.co/t/elastic-agent-vs-logstash-elasticsearch-output/316345/2 "2022-10-28T15:46:46Z")

</div>

Hello!

Logstash output is only supported for Standalone Elastic Agent, as per the [docs](https://www.elastic.co/guide/en/fleet/master/logstash-output.html).

In standalone mode you get a parameter called `use_output` which you can configure per integration/input. I have never used different outputs but from config it seems totally supported.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [November 25, 2022, 3:46pm UTC](https://discuss.elastic.co/t/elastic-agent-vs-logstash-elasticsearch-output/316345/3 "2022-11-25T15:46:49Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
