We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug There is some inconsistencies between the GO variable schema and the Kibana API to create a SLO, in the "params" settings :
This inconsistency between the API and Go code leads to an issue when creating a filter which includes a bool query and a KQL query.
Versions:
The text was updated successfully, but these errors were encountered:
@ntls31 do you have an example config reproducing this issue?
Sorry, something went wrong.
@tobio, here an example of a SLO configuration deployed by the customer working through the kibana API (but not with terraform):
POST kbn:/api/observability/slos { "name": "slo", "description": "", "indicator": { "type": "sli.kql.custom", "params": { "index": "metrics-*", "filter": { "filters": [ { "query": { "bool": { "filter": [ { "script": { "script": { "source": "doc['@timestamp'].value.getHour() >= params.startHour && doc['@timestamp'].value.getHour() <= params.endHour", "params": { "startHour": 7, "endHour": 14 } } } } ] } }, "meta": { "index": "metrics-*", "type": "custom", "disabled": false, "negate": false, "alias": "test" } } ], "kqlQuery": "metricset.name : \"state_deployment\"" }, "good": """metricset.name : "state_deployment" and kubernetes.deployment.status.available : "true" """, "total": """metricset.name : "state_deployment" and kubernetes.deployment.status.available : * """, "timestampField": "@timestamp", "dataViewId": "xxx" } }, "budgetingMethod": "occurrences", "timeWindow": { "duration": "7d", "type": "rolling" }, "objective": { "target": 0.99 }, "tags": [], "groupBy": [ "*" ], "settings": { "preventInitialBackfill": false } }
No branches or pull requests
Describe the bug
There is some inconsistencies between the GO variable schema and the Kibana API to create a SLO, in the "params" settings :
This inconsistency between the API and Go code leads to an issue when creating a filter which includes a bool query and a KQL query.
Versions:
The text was updated successfully, but these errors were encountered: