Skip to content

Improve log group search #25

@idastambuk

Description

@idastambuk

Log groups selector only fetches 50 log groups so we have a search field that users can search specific log groups by. Right now it searches by "log group prefix"

Image

This is stored as logGroupPattern in the query, but replaced with log group prefix here:

if req.LogGroupNamePattern != nil {
			input.LogGroupNamePrefix = req.LogGroupNamePattern
		}

if req.LogGroupNamePattern != nil {

which is a bit strange. Is this a limitation of the API? If not, this seems like something we should fix, as searching by pattern is more flexible than searching by prefix, since it searches by "contains" instead of "beginsWith" (like prefix does)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions