For example i have some sql
log:
< 2019-03-13 09:50:50.431 CET >WYRAƻENIE: SELECT
SELECT column1, column2, ...
FROM table_name
ORDER BY column1, column2, ... ASC|DESC;
< 2019-03-13 09:58:50.943 CET >UWAGA: detail: RUCH_KRADZ, 0.05, sum: 0.25, date: 2019-03-03
In kibana each line is a seperate log. In filebeat i have:
# Paths that should be crawled and fetched. Glob based paths.
paths:
- /opt/tomcat/logs/*.json
- /var/lib/psql/logs/*
I want that only for the /var/lib/psql/logs/*
the log should be as one beetween date. So in the example above we should have 2 logs in Kibana, not 5 - that is number of lines.