elastic / elastic/elastic-serverless-forwarder
Support wildcard for cloudwatch logs input ids
- Dominant language
- Python
- Stars
- 38
- Forks
- 50
- PR merge metrics
- No merged PRs in 30d
Description
Currently in the inputs i specify in the block
```
- type: "cloudwatch-logs"
id: "arn:aws:logs:ap-southeast-1:awsaccountid:log-group:myloggroup:*"
outputs:
- type: "elasticsearch"
args:
cloud_id: "${elastic_cloud_id}"
api_key: "${elastic_api_key}"
es_datastream_name: "logs-generic-default"
batch_max_actions: 500 # optional: default value is 500
batch_max_bytes: 10485760 # optional: default value is 10485760
```
would be nice if the log group can also use wildcard? instead of just log stream.
```
arn:aws:logs:ap-southeast-1:awsaccountid:log-group:application1-loggroup-*:*
arn:aws:logs:ap-southeast-1:awsaccountid:log-group:application2-loggroup-*:*
```
currently i have massive amounts of log groups to be ingested, while their outputs are identical.
its really redundant to loop every single one of them
Contributor guide
Assessment
This issue has not been assessed yet.