# Logstash or straight?

**URL:** https://discuss.elastic.co/t/logstash-or-straight/253722
**Category:** Beats
**Tags:** metricbeat
**Created:** [October 29, 2020, 3:35pm UTC](https://discuss.elastic.co/t/logstash-or-straight/253722 "2020-10-29T15:35:57Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Tuckson](https://avatars.discourse-cdn.com/v4/letter/t/f14d63/32.png) [@Tuckson](https://discuss.elastic.co/u/Tuckson)
#### Post date: [October 29, 2020, 3:35pm UTC](https://discuss.elastic.co/t/logstash-or-straight/253722/1 "2020-10-29T15:35:57Z")

</div>

Hi,

Simpel question,

What would be the (dis)advantage of sending metrics via logstash to ES instead of directly?

Cheers,

---

<div class="post-metadata">

### Author: ![Tuckson](https://avatars.discourse-cdn.com/v4/letter/t/f14d63/32.png) [@Tuckson](https://discuss.elastic.co/u/Tuckson)
#### Post date: [November 12, 2020, 9:17am UTC](https://discuss.elastic.co/t/logstash-or-straight/253722/2 "2020-11-12T09:17:08Z")

</div>

nobody?

---

<div class="post-metadata">

### Author: ![Wolfram\_Haussig](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wolfram_haussig/32/70528_2.png) [@Wolfram\_Haussig](https://discuss.elastic.co/u/Wolfram_Haussig)
#### Post date: [November 13, 2020, 7:57am UTC](https://discuss.elastic.co/t/logstash-or-straight/253722/3 "2020-11-13T07:57:51Z")

</div>

Hello Eric,

I see the complexity as the biggest disadvantage of this setup: You have one more possible root of errors, more network traffic, one more application to maintain, update, ...

The question is: why would you want that?

- If you want to post process the data yu could also use an ELasticSearch ingest pipeline.
- If you do not want to open access from all servers to the elastic cluster you could host an ingest node which is accessible from those servers instead of a LogStash instance.

I am not saying that LogStash is bad - in fact we use it a lot - but I prefer to keep the pipeline from host to the Elastic Stack as clean and easy as possible.

Best regards

---

<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: [December 11, 2020, 9:57am UTC](https://discuss.elastic.co/t/logstash-or-straight/253722/4 "2020-12-11T09:57:57Z")

</div>

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