# 【Filebeat S3 input】JSONファイルの取込について

**URL:** <https://discuss.elastic.co/t/filebeat-s3-input-json/245729>\
**Category:** 日本語による質問・議論はこちら\
**Created:** [August 20, 2020, 8:28am UTC](https://discuss.elastic.co/t/filebeat-s3-input-json/245729 "2020-08-20T08:28:06Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![harue](https://avatars.discourse-cdn.com/v4/letter/h/82dd89/32.png) [@harue](https://discuss.elastic.co/u/harue)\
**Post date:** [August 26, 2020, 2:21am UTC](https://discuss.elastic.co/t/filebeat-s3-input-json/245729/2 "2020-08-26T02:21:35Z")

</div>

下記を参考にFilebeatをv7.9にバージョンアップし、「 **expand\_event\_list\_from\_field** 」を設定無にしたところ、上記事象は解決しました。

> [@Filebeat s3 cannot parse jsonl file who's content-type is set to application/json](https://discuss.elastic.co/t/filebeat-s3-cannot-parse-jsonl-file-whos-content-type-is-set-to-application-json/239374):
>
> Hello! I was hoping y'all could help me out. The essence of my problem is that the filebeat S3 input plugin cannot process an s3 object who's content-type is application/json AND the object content is a separate json object per line (i.e. jsonl). Processing such an object used to be possible until v7.7.0 when the S3 input plugin started enforcing json parsing if it saw a content-type of application/json: [https://github.com/elastic/beats/blob/5e69e25b920e3d93bec76a09a31da3ab35a55607/x-pack/fileb…](https://github.com/elastic/beats/blob/5e69e25b920e3d93bec76a09a31da3ab35a55607/x-pack/filebeat/input/s3/input.go#L432)

---

_[View the full topic](https://discuss.elastic.co/t/filebeat-s3-input-json/245729)._
