# Beatsで収集したログをそのままlogstashに送信できない

**URL:** <https://discuss.elastic.co/t/beats-logstash/297840>\
**Category:** 日本語による質問・議論はこちら\
**Created:** [February 22, 2022, 5:40am UTC](https://discuss.elastic.co/t/beats-logstash/297840 "2022-02-22T05:40:44Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![tsgkdt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/tsgkdt/32/39151_2.png) [@tsgkdt](https://discuss.elastic.co/u/tsgkdt)\
**Post date:** [February 22, 2022, 1:13pm UTC](https://discuss.elastic.co/t/beats-logstash/297840/3 "2022-02-22T13:13:48Z")

</div>

余計なメタデータのフィールドが邪魔ということでしたら、こちらの投稿が参考になるのではないでしょうか。

> [@How do you remove (or not send) metadata from filebeat to logstash?](https://discuss.elastic.co/t/how-do-you-remove-or-not-send-metadata-from-filebeat-to-logstash/201090/2):
>
> You can do it with processors ([https://www.elastic.co/guide/en/beats/filebeat/current/drop-fields.html](https://www.elastic.co/guide/en/beats/filebeat/current/drop-fields.html)). Also you can comment out the add\_host\_metadata (see below) option. processors: - drop\_fields: fields: ["ecs.version", "agent.version", "agent.type", "agent.id", "agent.hostname", "input.type"] # - add\_host\_metadata: ~ # - add\_cloud\_metadata: ~

---

_[View the full topic](https://discuss.elastic.co/t/beats-logstash/297840)._
