taupage icon indicating copy to clipboard operation
taupage copied to clipboard

CloudWatch logs config: define multi_line_start_pattern

Open pasha-r opened this issue 8 years ago • 0 comments

Right now multi_line_start_pattern can only be the default one. Sometimes it'd be a nice feature to gather traceback lines into a single log message.

My feature request is this change to the config syntax:

cloudwatch_logs:
  /var/log/syslog:
    log_group: my-syslog-loggroup
    multi_line_start_pattern: '^[^\s]+'

multi_line_start_pattern is optional, if it's not there, there will be no multi_line_start_pattern in the resulting awslogs.conf file

pasha-r avatar Dec 07 '16 18:12 pasha-r