My environment is for testing: Elasticsearch 8.7 + fleetserver
I'm trying to collect queries from Postgres version 12 and version 15 through elastic-agent.
I'm not able to collect them through the csv log.
Here are the errors I was able to track down:
Provided Grok expressions do not match field value: [2023-04-14 10:48:22.288 -03,"postgres","ajuri12",89838,"192.168.10.71:57231",643959a6.15eee,2,"SET",2023-04-14 10:48:22 -03,5/0,0,LOG,00000,"duration: 0.056 ms statement: SET extra_float_digits=3;\nSET ssl_renegotiation_limit=0;\nSET lc_monetary='C';\n",,,,,,,,,""]
There are more errors with the database queries, the grok error is identical.