Skip to content
This repository has been archived by the owner on Jul 19, 2023. It is now read-only.

Can we use wildcards to for multiple entries. #53

Open
Shri-Harsha opened this issue Jun 4, 2018 · 2 comments
Open

Can we use wildcards to for multiple entries. #53

Shri-Harsha opened this issue Jun 4, 2018 · 2 comments

Comments

@Shri-Harsha
Copy link

Mr. Luke,
Can we use wildcards to take multiple entries, which follows same pattern(at least some part), as input?

@Hainguyen1210
Copy link

I am looking for the same thing, It would be great to have.

@vacri
Copy link

vacri commented Aug 6, 2018

Wildcards are available, but not as actual wildcard characters. 'log_group_prefix' changes the 'log_group' entry so that it will grab all log groups beginning with that prefix, rather than an exact match.

    cloudwatch_logs {
        log_group => [ "/prod" ]
        log_group_prefix => true
        tags => ["prod"]
    }

The above config fetches all my cloudwatch logs that start with "/prod"

Edit: while this is not strictly wildcarding, it does allow you to grab groups of logs with partial config.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants