# Bag or no?

**URL:** <https://discuss.elastic.co/t/bag-or-no/144362>\
**Category:** Logstash\
**Created:** [August 14, 2018, 3:09pm UTC](https://discuss.elastic.co/t/bag-or-no/144362 "2018-08-14T15:09:28Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [August 14, 2018, 5:12pm UTC](https://discuss.elastic.co/t/bag-or-no/144362/2 "2018-08-14T17:12:31Z")

</div>

> [@Olha1](#):
>
> PGobject

Does [this](https://discuss.elastic.co/t/logstash-filter-to-extract-string-from-json-in-postgresql-table/141252/6) thread help? My guess is you need to CAST one of the columns to set its type.

---

_[View the full topic](https://discuss.elastic.co/t/bag-or-no/144362)._
