# Getting issue while creating the index for jsonb column from postgres database

**URL:** <https://discuss.elastic.co/t/getting-issue-while-creating-the-index-for-jsonb-column-from-postgres-database/169380>\
**Category:** Logstash\
**Created:** [February 21, 2019, 10:21am UTC](https://discuss.elastic.co/t/getting-issue-while-creating-the-index-for-jsonb-column-from-postgres-database/169380 "2019-02-21T10:21:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MacJio](https://avatars.discourse-cdn.com/v4/letter/m/e480ec/32.png) [@MacJio](https://discuss.elastic.co/u/MacJio)\
**Post date:** [February 21, 2019, 10:21am UTC](https://discuss.elastic.co/t/getting-issue-while-creating-the-index-for-jsonb-column-from-postgres-database/169380/1 "2019-02-21T10:21:10Z")

</div>

In my database table one column type is jsonb . I tried to index the same table by using logstash.

I am getting below error . Please help on this.

Error :

Could not index event to Elasticsearch.

"\_id"=\>"d999b3f2-e903-4fd4-a3dd-4befa00938f0", "status"=\>400, "error"=\>{"type"=\>"mapper\_parsing\_exception", "reason"=\>"object mapping for [output\_data] tried to parse field [output\_data] as object, but found a concrete value"}}}}

---

<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:** [March 21, 2019, 10:21am UTC](https://discuss.elastic.co/t/getting-issue-while-creating-the-index-for-jsonb-column-from-postgres-database/169380/2 "2019-03-21T10:21:13Z")

</div>

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