Lambda function to send tab-delimited log output to CloudWatch Logs to Grafana Loki.
Run the Build.
$ make
It works if you register the completed zip file with AWS Lambda.
The following environment variables must be set.
Key | Value |
---|---|
LOKI_ENDPOINT | http://xxx.xxx.xxx.xxx/loki/api/v1/push |
SERVICE_NAME | Unique service name |
Register Lambda to the log group subscription you want to send to Loki.
$ make clean
MIT, see LICENSE.