Forecast Policy Usage
https://api.coralogix.com/mgmt/openapi/5/dataplans/policies/v1/all/forecast-usageForecasts the usage in bytes that a draft TCO policy would match over the requested time window, given its application/subsystem rules and log or span filters. Use this before saving a new or modified policy to see the impact on your quota.
Authorizations
Request
Body
Request to forecast the usage in bytes of a draft TCO policy, based on the bytes matched by its filter rules over a given time window.
- Option 1
- Option 2
- Option 3
- Option 1
- Option 2
- Option 3
Rule.
Marker selecting a one-day forecast window.
Log rules for a policy.
Span rules.
Rule.
Optional bucket size, in milliseconds, used to split the forecast into time buckets. When set, the response includes a per-bucket breakdown in usage_buckets; when omitted, only the total estimated bytes are returned.
Possible values: non-empty and <= 20 characters, Value must match regular expression ^-?[0-9]+$
3600000Marker selecting a one-week forecast window.
Response
Forecasted usage in bytes for a draft TCO policy, based on bytes matched over a given time window.
Estimated number of bytes the draft policy would match over the requested time window.
Possible values: non-empty and <= 20 characters, Value must match regular expression ^-?[0-9]+$
13251739648Per-bucket breakdown of matched bytes over the requested time window. Empty unless time_bucket_ms was set on the request.
Possible values: <= 10080