Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.

CloudWatch logs config: define multi_line_start_pattern #333

Open
pasha-r opened this issue Dec 7, 2016 · 0 comments
Open

CloudWatch logs config: define multi_line_start_pattern #333

pasha-r opened this issue Dec 7, 2016 · 0 comments

Comments

@pasha-r
Copy link

pasha-r commented Dec 7, 2016

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant