-
Notifications
You must be signed in to change notification settings - Fork 465
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Cloudflare Logpull][Meta] invalid time range: too early: logs older than 168h0m0s are not available #4414
Comments
Pinging @elastic/security-external-integrations (Team:Security-External Integrations) |
@andrewkroh I've seen this come up a few times recently. Do we know what it will take to fix or what do we need from customers to allow us to make progress? |
From https://developers.cloudflare.com/logs/logpull/requesting-logs/, some of the highlights are
This is our current config: integrations/packages/cloudflare/data_stream/logpull/agent/stream/httpjson.yml.hbs Lines 31 to 38 in 9c9f1f3
integrations/packages/cloudflare/data_stream/logpull/agent/stream/httpjson.yml.hbs Lines 45 to 47 in 9c9f1f3
So there are four constraints that we must ensure are always true.
If we used exactly Here's a simplified summary of the current logic. There are no protections to guard against some of the constraints. You can imagine hitting some of those constraints if the input is stopped for a week, uses an interval greater than 1h, and probably more.
|
I think we would need to add some protections like
We need to investigate if this can be achieved in |
Hey @andrewkroh , using latest cloudflare integration we are getting this:
|
@vulnerabivoro What collection |
The integration PR will be put up soon since we cannot merge it before 8.10 public release, as it will have dependency on the new min/max funcs added to httpjson in 8.10 |
The cloudflare.logpull integration is failing due to an invalid time range.
The text was updated successfully, but these errors were encountered: