vaana-tech / cloudwatch-logs-to-papertrail

Route AWS CloudWatch logs to Papertrail
6 stars 5 forks source link

Improve the way hostname and program are defined #5

Open uhef opened 6 years ago

uhef commented 6 years ago

There should be a way to define the hostname and program in papertrail that is customizable. This would allow users of the lambda to cover different naming cases. Perhaps user could define a template into which some dynamic variables are being interpolated to.

E.g.

hostname = '${logGroup}-staging-${ip}'
sgronblo commented 6 years ago

Great idea. I'll try to find some time to work on this.