# S3 to elastic

**URL:** <https://discuss.elastic.co/t/s3-to-elastic/184388>\
**Category:** Logstash\
**Created:** [June 5, 2019, 2:39pm UTC](https://discuss.elastic.co/t/s3-to-elastic/184388 "2019-06-05T14:39:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohit\_Ruke](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mohit_ruke/32/46323_2.png) [@Mohit\_Ruke](https://discuss.elastic.co/u/Mohit_Ruke)\
**Post date:** [June 5, 2019, 2:39pm UTC](https://discuss.elastic.co/t/s3-to-elastic/184388/1 "2019-06-05T14:39:40Z")

</div>

Hi ,

I am trying to push log files from some devices to s3  
And from s3 to elasticsearch using logstash and visualize in kibana.

Now I am doing it via ec2 instance from aws.  
But when I POST  
[{"SessionID":"868672020397037-168099693be-6e34795e-758b-4eb5-8c6e-190e1cb36199","Study":"TestStudy","Locale":"en\_US","ProdVer":"2.0.0","StudyVer":"00.01","Sponsor":"ERT","Device":"1331","Type":"SessionStart","Level":"INFO","Message":"Session","Source":"SitePad App","Location":"actions.transmitLogs","Site":"5552","ClientTime":"2019-01-01T13:24:49.727"},]

to an index via the kibana console it shows up in the following format

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/7/3/73f88b240804155cd6f883fc96afdab9c8a16621.png)

but when i send the data through logstash and open it in kibana it comes in this format

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/7/970e26873e2dddc437751eb8f01b209f5d5aec33.png)

all clubed togther  
But I want it like how it is in the first picture

Any suggestion,

THank you,  
Mohit Ruke

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [June 5, 2019, 3:55pm UTC](https://discuss.elastic.co/t/s3-to-elastic/184388/2 "2019-06-05T15:55:55Z")

</div>

Please do not post pictures of text, just post the text and format it using markdown.

---

<div class="post-metadata">

**Author:** ![Mohit\_Ruke](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mohit_ruke/32/46323_2.png) [@Mohit\_Ruke](https://discuss.elastic.co/u/Mohit_Ruke)\
**Post date:** [June 5, 2019, 5:49pm UTC](https://discuss.elastic.co/t/s3-to-elastic/184388/3 "2019-06-05T17:49:07Z")

</div>

understood! Do you have any suggestion for my query \>

---

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [June 5, 2019, 6:00pm UTC](https://discuss.elastic.co/t/s3-to-elastic/184388/4 "2019-06-05T18:00:43Z")

</div>

You could use a json filter to parse the JSON.

---

<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:** [July 3, 2019, 6:11pm UTC](https://discuss.elastic.co/t/s3-to-elastic/184388/5 "2019-07-03T18:11:36Z")

</div>

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