J
jankeir
Guest
Database for fluentd: @type tail format /^\[(? \d{4}\/\d{2}\/\d{2}@\d{2}:\d{2}:\d{2}\.\d{3}\+\d{4})\] P-(? \d+)\s+T-(? \d+)\s+(? \S) (? (SQLSRV2)|([a-zA-Z]+))(\s*)(? [^:\s]+): .(? [\d-]+).(\s+)(? .*)$/ path /some/db.lg pos_file /var/log/td-agent/somedb.lg.pos read_from_head true tag somedb Clientlog for fluentd: @type tail format /^\[(? \d{2}/\d{2}/\d{2}@\d{2}:\d{2}:\d{2}\.\d{3}\+\d{4})\] P-(? \d+) T-(? \d+) (? \d+) (? [^\s\\]+) (? [^\s\\]+)\s+(? .*)$/ path /some/client.log pos_file /var/log/td-agent/someclient.log.pos read_from_head true tag someclient path_key logfile For pasoe logfile processing with fluentd and for clientlog parsing you may be interested in this, which handles multiline messages: github.com/.../fluent-plugin-mergecommon Peter Judge I haven't looked at the parsing provided by progress recently, does it now handle multi-line messages? I wouldn't mind switching to fluent-bit if it's supported now.
Continue reading...
Continue reading...