I don't mean the logs inside elastic ...
I want to see some of the raw lines from the postgres.log itself
Also per the docs
The postgresql
module using .log
was tested with logs from versions 9.5 on Ubuntu, 9.6 on Debian, and finally 10.11, 11.4 and 12.2 on Arch Linux 9.3.
My quick analysis is that your raw postgress logs do not adhere to the supported postgres log format.
Please take a look at this supported log formats
That not to say we can not fix this ... but that is why it is not working
it looks to me like you logs are of the format which is not standard... one part that appears to be not standard is the -05
timezone which looks like a non standard pattern.
2023-04-26 09:20:02.534 -05 [2828024] u_sistema@scp LOG: statement: insert into monitor.log(host,swap,menlibre,cargacpu,disco90,disco95,ip10,aswap,amen,uptime,llast)values('dnsserv2','36','86','0,01,','-','-','10. 1.1.96','974','976','up 18 weeks, 3 days, 11 hours, 58 minutes','reboot system boot 5.4.0-105-generi Sat Dec 17 21:21 still running')
So first can you check what version ...
and 2nd I suspect there has been some customizations to the postgressql log format
and 3rd can you changes to a standard format...
If not any of those we will need to create a custom version of the parsing pipeline....
Which is not too bad but it is something you will need to maintain and the timezone may not be correct
Also please do NOT paste images of text, that is not helpful at all ... please past text and format it with the </>
button or just put ```
3 back ticks the line before and after the text