# Missing fields - Postgresql Module

**URL:** <https://discuss.elastic.co/t/missing-fields-postgresql-module/184666>\
**Category:** Beats\
**Tags:** beats-module, filebeat\
**Created:** [June 6, 2019, 9:23pm UTC](https://discuss.elastic.co/t/missing-fields-postgresql-module/184666 "2019-06-06T21:23:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![zolthar-z](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/zolthar-z/32/47895_2.png) [@zolthar-z](https://discuss.elastic.co/u/zolthar-z)\
**Post date:** [June 6, 2019, 9:23pm UTC](https://discuss.elastic.co/t/missing-fields-postgresql-module/184666/1 "2019-06-06T21:23:05Z")

</div>

Hi

I'm using filebeat 7.1.0 - PostgreSQL module to send logs from the DB to Elasticsearch, from the logs I want to extract event.duration and log.postgresql.query but filebeat only send this information in some logs and in otherlogs are missing; I don't know if someone had this issue in the past and know how to solve it.

Thanks.

Regards.

---

<div class="post-metadata">

**Author:** ![maxozerov](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/maxozerov/32/48068_2.png) [@maxozerov](https://discuss.elastic.co/u/maxozerov)\
**Post date:** [June 11, 2019, 5:00pm UTC](https://discuss.elastic.co/t/missing-fields-postgresql-module/184666/2 "2019-06-11T17:00:13Z")

</div>

Hi, Luis Zabala!  
Filebeat and module - it regexp rules for parsing logs... so some logs have different format - and in this case filebeat-module cant extract event.duration and log.postgresql.query.  
So - check problem logs format - and check module regexp - for find answer - why field missing.

---

<div class="post-metadata">

**Author:** ![exekias](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/exekias/32/28718_2.png) [@exekias](https://discuss.elastic.co/u/exekias)\
**Post date:** [June 13, 2019, 9:15am UTC](https://discuss.elastic.co/t/missing-fields-postgresql-module/184666/3 "2019-06-13T09:15:15Z")

</div>

Agreed!

If you find a log message that is not being correctly processed, please report it so we can update the patterns to support it.

Best regards

---

<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 11, 2019, 9:15am UTC](https://discuss.elastic.co/t/missing-fields-postgresql-module/184666/4 "2019-07-11T09:15:16Z")

</div>

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