# Postgresql logs are not seen

**URL:** <https://discuss.elastic.co/t/postgresql-logs-are-not-seen/134356>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [June 4, 2018, 5:02am UTC](https://discuss.elastic.co/t/postgresql-logs-are-not-seen/134356 "2018-06-04T05:02:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![vishnuduttpv](https://avatars.discourse-cdn.com/v4/letter/v/5daacb/32.png) [@vishnuduttpv](https://discuss.elastic.co/u/vishnuduttpv)\
**Post date:** [June 4, 2018, 5:02am UTC](https://discuss.elastic.co/t/postgresql-logs-are-not-seen/134356/1 "2018-06-04T05:02:11Z")

</div>

Hi,  
Following is my platform,  
OS - CentOS 7.4  
ES - 6.2  
LS - 6.2  
Kibana - 6.2  
Filebeat - 6.2

Following is my postgresql module configuration file,  
\> - module: postgresql  
\> # All logs  
\> log:  
\> enabled: true  
\>  
\> # Set custom paths for the log files. If left empty,  
\> # Filebeat will choose the paths depending on your OS.  
\> var.paths: ["/opt/postgresql/data/logs/pg95/_.log_"]

I am not able to view the postgres dashboard view from kibana, ☹  
The psql version I am using is postgresql 9.5 by OpenSCG (BigSQL).

Thanks In advance  
Vishnu

---

<div class="post-metadata">

**Author:** ![harshbajaj16](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/harshbajaj16/32/44970_2.png) [@harshbajaj16](https://discuss.elastic.co/u/harshbajaj16)\
**Post date:** [June 4, 2018, 8:05am UTC](https://discuss.elastic.co/t/postgresql-logs-are-not-seen/134356/2 "2018-06-04T08:05:04Z")

</div>

Hi,

could you please provide bit more information about your use case so that i can provide the solution.

Please clear this point are you able to see logs but not able to see sample dashboard or you are not able see logs in kibana?

> [@](#):
>
> I am not able to view the postgres dashboard view from kibana

If you are not able see the logs in kibana then please share your filebeat logs and config file to understand where is the problem.

Regards,

---

<div class="post-metadata">

**Author:** ![kvch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kvch/32/72058_2.png) [@kvch](https://discuss.elastic.co/u/kvch)\
**Post date:** [June 4, 2018, 11:00am UTC](https://discuss.elastic.co/t/postgresql-logs-are-not-seen/134356/3 "2018-06-04T11:00:35Z")

</div>

Are you sure your path configuration is correct? Isn't it supposed to be `var.paths: ["/opt/postgresql/data/logs/pg95/*.log"]` instead of `var.paths: ["/opt/postgresql/data/logs/pg95/.log"]`?

---

<div class="post-metadata">

**Author:** ![vishnuduttpv](https://avatars.discourse-cdn.com/v4/letter/v/5daacb/32.png) [@vishnuduttpv](https://discuss.elastic.co/u/vishnuduttpv)\
**Post date:** [June 4, 2018, 12:37pm UTC](https://discuss.elastic.co/t/postgresql-logs-are-not-seen/134356/4 "2018-06-04T12:37:08Z")

</div>

Hi,  
Its been formatted by the editor. Actually its as followes,  
["/opt/postgresql/data/logs/pg95/\<_\>.log\<_\>"]

Thanks  
Vishnu

---

<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 2, 2018, 12:37pm UTC](https://discuss.elastic.co/t/postgresql-logs-are-not-seen/134356/5 "2018-07-02T12:37:10Z")

</div>

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