# How to get JSON data from AWS s3 bucket

**URL:** <https://discuss.elastic.co/t/how-to-get-json-data-from-aws-s3-bucket/235386>\
**Category:** Logstash\
**Tags:** winlogbeat\
**Created:** [June 2, 2020, 5:40pm UTC](https://discuss.elastic.co/t/how-to-get-json-data-from-aws-s3-bucket/235386 "2020-06-02T17:40:05Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Apollyon](https://avatars.discourse-cdn.com/v4/letter/a/aeb1de/32.png) [@Apollyon](https://discuss.elastic.co/u/Apollyon)\
**Post date:** [June 3, 2020, 11:58am UTC](https://discuss.elastic.co/t/how-to-get-json-data-from-aws-s3-bucket/235386/3 "2020-06-03T11:58:54Z")

</div>

Hey @Badger,  
Thank you for your reply!

Have been looking into this and have tried a couple of things. I have tired multiline codec but it didn't work. Maybe its just the matter of trying different patterns to see what one works?

I did do some looking and found a cool post you did about parsing JSON with multiline codec ([Parsing array of json objects with logstash and injesting to elastic](https://discuss.elastic.co/t/parsing-array-of-json-objects-with-logstash-and-injesting-to-elastic/203197/2)) I did try this also but didn't work.

Think maybe a pattern would be to match out different { and/or }? or you think it will be a fact out playing around with patterns with \n etc?

---

_[View the full topic](https://discuss.elastic.co/t/how-to-get-json-data-from-aws-s3-bucket/235386)._
