Omar D
Mar 31, 2021

You will need to change the script to accommodate that requirement. I just found this script by Miztiik which might be more inline with what you want to do by updating the portion:

global_vars[“cw_logs_to_export”] = [“/aws/lambda/trending_news”]

to something like

global_vars[“cw_logs_to_export”] = [“log-group1”, “log-group2”, “log-group3”,…]

https://github.com/miztiik/serverless-cloudwatch-logs-exporter/blob/master/serverless-cloudwatch-logs-exporter.py

The script that I wrote for this article is not as advanced as Miztiik’s but it did what I needed it to do.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Omar D
Omar D

Written by Omar D

Amateur Astronomer || Traveller || Techie

No responses yet

Write a response