# Map Data from Logstash to Elastisearch

**URL:** <https://discuss.elastic.co/t/map-data-from-logstash-to-elastisearch/157075>\
**Category:** Logstash\
**Created:** [November 16, 2018, 2:01pm UTC](https://discuss.elastic.co/t/map-data-from-logstash-to-elastisearch/157075 "2018-11-16T14:01:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![patrick007](https://avatars.discourse-cdn.com/v4/letter/p/4af34b/32.png) [@patrick007](https://discuss.elastic.co/u/patrick007)\
**Post date:** [November 16, 2018, 2:01pm UTC](https://discuss.elastic.co/t/map-data-from-logstash-to-elastisearch/157075/1 "2018-11-16T14:01:30Z")

</div>

Hi, I am using Logstash to fetch data from Postgres Database.  
I am able to fetch the data, I want to modify the data so that I can save fetched data in a proper index format to elasticsearch.

I want to create json object based on my elastisearch index mapping

---

<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 14, 2018, 2:01pm UTC](https://discuss.elastic.co/t/map-data-from-logstash-to-elastisearch/157075/2 "2018-12-14T14:01:31Z")

</div>

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