elastic / beats

:tropical_fish: Beats - Lightweight shippers for Elasticsearch & Logstash
https://www.elastic.co/products/beats
Other
12.05k stars 4.89k forks source link

GCP: fix config period value when the given value is below the minimum allowed period. #40020

Open Linu-Elias opened 2 days ago

Linu-Elias commented 2 days ago

Proposed commit message

Currently GCP module errors when a period less than a minimum given by GCP APIs is specified. It should not produce an error, correct the value to the minimum and produce a warning log message.

Checklist

Disruptive User Impact

mergify[bot] commented 2 days ago

This pull request does not have a backport label. If this is a bug or security fix, could you label this PR @Linu-Elias? 🙏. For such, you'll need to label your PR with:

To fixup this pull request, you need to add the backport labels for the needed branches, such as: