1

Iv set up a grafana instance.

I want to create dashboards to get metrics on lambda functions but useing cloud watch logs would be expencive.

Are there any cheaper alternatives to achive this that might be worth looking at?

1 Answer 1

1

Grafana was not really built to view logs from the get go.

They however introduced this feature in v6.0 via the Explore tab

This can be leveraged in 2 ways.

Via Elasticsearch data source (in v6.3+)

Check the Elasticsearch docs for more.

If you want, you can still integrate this with Cloudwatch. Check out the log subscirber-consumer solution & this

Via Loki & AWS Lambda

If you want to stick to Cloudwatch as your primary source of logs, you can create a Lambda function that ships them to Loki which in tern can be used in Grafana as a data source. See 1, 2 & 3

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.