Unable to select certain CloudWatch log groups as Lambda triggers by name

0

I'm working within a decently large system and I ran into an issue trying to set up a Lambda that ingests logs from various CloudWatch log groups. (Resource names below slightly changed.)

One of the services spits out logs to an admittedly-nonstandard-looking CloudWatch Log Group (no / in the name, just a kebab-case set of words, let's say it's basically dev-service-name-log-group). When I go to the Lambda, if I select "Add Trigger", "CloudWatch Logs", I get a dropdown with all of the many, many /aws/whatever log groups but not this one or any other similar ones. I checked and confirmed they must be being filtered out on the server side, not just in the client-side code. But I also checked and I can retrieve my dev-service-name-log-group listing from the CLI, it is in fact a valid log group with that name.

2 Risposte
1

FYI we can do this without a problem - maybe you have a lot more "/aws/whatever" groups than we do though?

ESPERTO
con risposta un anno fa
0

You raise a good point - I think it might actually be that there's a limit on how many log groups it queries for (it looks like it might be around 1000), although I would think that if I explicitly type in a value, it shouldn't refuse to accept it in that case.

Timothy
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande