The budgeting method to use when computing the rollup data.
Values:occurrencestimeslices
createdAtstring · format: date-time · max length: 128required
The creation date
createdBystring
The user who created the SLO.
descriptionstringrequired
The description of the SLO.
enabledbooleanrequired
Indicate if the SLO is enabled
groupByunionanyOfrequired
optional group by field or fields to use to generate an SLO per distinct value
Values:*
idstring · min length: 8 · max length: 48 · pattern: ^[a-z0-9-_]+$required
The identifier of the SLO.
indicatoruniononeOfrequired
The indicator to use to compute the SLI
One of:(determined by type)
type: sli.apm.transactionDuration
Defines properties for the APM latency indicator type
typeenumrequired
The type of indicator.
Values:sli.apm.transactionDuration
paramsobjectrequired
An object containing the indicator parameters.
dataViewIdstring
The kibana data view id to use, primarily used to include data view runtime mappings. Make sure to save SLO again if you add/update run time fields to the data view and if those fields are being used in slo queries.
environmentunionenum | stringrequired
The APM service environment or "*"
Values:*
filterunionanyOf
KQL query used for filtering the data
Any of:
the KQL query to filter the documents with.
Defines properties for a filter
filtersobject[]required
$stateobject
metaobjectrequired
Defines properties for a filter
aliasstringnullable
controlledBystring
disabledboolean
fieldstring
groupstring
indexstring
isMultiIndexboolean
keystring
negateboolean
paramsobject
typestring
valueunionanyOf
Any of:
formatstring · max length: 1024
fromunionnumber | string
gtunionnumber | string
gteunionnumber | string
ltunionnumber | string
lteunionnumber | string
tounionnumber | string
string | number | boolean[]
querymapstring to objectrequired
kqlQuerystringrequired
the KQL query to filter the documents with.
indexstringrequired
The index used by APM metrics
serviceunionenum | stringrequired
The APM service name
Values:*
thresholdnumberrequired
The latency threshold in milliseconds
transactionNameunionenum | stringrequired
The APM transaction name or "*"
Values:*
transactionTypeunionenum | stringrequired
The APM transaction type or "*"
Values:*
type: sli.apm.transactionErrorRate
Defines properties for the APM availability indicator type
typeenumrequired
The type of indicator.
Values:sli.apm.transactionErrorRate
paramsobjectrequired
An object containing the indicator parameters.
dataViewIdstring
The kibana data view id to use, primarily used to include data view runtime mappings. Make sure to save SLO again if you add/update run time fields to the data view and if those fields are being used in slo queries.
Defines properties for a synthetics availability indicator type
typeenumrequired
The type of indicator.
Values:sli.synthetics.availability
paramsobjectrequired
An object containing the indicator parameters.
dataViewIdstring
The kibana data view id to use, primarily used to include data view runtime mappings. Make sure to save SLO again if you add/update run time fields to the data view and if those fields are being used in slo queries.
Defines properties for a custom query indicator type
typeenumrequired
The type of indicator.
Values:sli.kql.custom
paramsobjectrequired
An object containing the indicator parameters.
dataViewIdstring
The kibana data view id to use, primarily used to include data view runtime mappings. Make sure to save SLO again if you add/update run time fields to the data view and if those fields are being used in slo queries.
Defines properties for a custom metric indicator type
typeenumrequired
The type of indicator.
Values:sli.metric.custom
paramsobjectrequired
An object containing the indicator parameters.
dataViewIdstring
The kibana data view id to use, primarily used to include data view runtime mappings. Make sure to save SLO again if you add/update run time fields to the data view and if those fields are being used in slo queries.
The name of the metric. Only valid options are A-Z
type: sli.metric.timeslice
Defines properties for a timeslice metric indicator type
typeenumrequired
The type of indicator.
Values:sli.metric.timeslice
paramsobjectrequired
An object containing the indicator parameters.
dataViewIdstring
The kibana data view id to use, primarily used to include data view runtime mappings. Make sure to save SLO again if you add/update run time fields to the data view and if those fields are being used in slo queries.
The name of the metric. Only valid options are A-Z
percentilenumberrequired
The percentile value.
thresholdnumberrequired
The threshold used to determine if the metric is a good slice or not.
timestampFieldstringrequired
The timestamp field used in the source indice.
type: sli.histogram.custom
Defines properties for a histogram indicator type
typeenumrequired
The type of indicator.
Values:sli.histogram.custom
paramsobjectrequired
An object containing the indicator parameters.
dataViewIdstring
The kibana data view id to use, primarily used to include data view runtime mappings. Make sure to save SLO again if you add/update run time fields to the data view and if those fields are being used in slo queries.
The starting value of the range. Only required for "range" aggregations.
tonumberrequired
The ending value of the range. Only required for "range" aggregations.
namestringrequired
The name of the SLO.
objectiveobjectrequired
Defines properties for the SLO objective
targetnumber · > 0 · < 1required
the target objective between 0 and 1 excluded
timesliceTargetnumber · min: 0 · max: 1
the target objective for each slice when using a timeslices budgeting method
timesliceWindowstring · max length: 16
the duration of each slice when using a timeslices budgeting method, as {duraton}{unit}
revisionnumberrequired
The SLO revision
settingsobjectrequired
Defines properties for SLO settings.
frequencystring · max length: 16required
The interval between checks for changes in the source data. The minimum value is 1m and the maximum is 59m. The default value is 1 minute.
preventCrossProjectSearchbooleandeprecated
Pin the L1 rollup transform to the local/origin project only, preventing flat-world (cross-linked-project) reads. Only applies on serverless. Default is false, meaning rollup transforms target all linked projects.
preventInitialBackfillbooleanrequired
Start aggregating data from the time the SLO is created, instead of backfilling data from the beginning of the time window.
projectRoutingsstring · max length: 8192nullable
ES ProjectRouting expression controlling which linked projects the L1 rollup reads. When set (including null), overrides preventCrossProjectSearch. null and _alias:_origin mean origin only; _alias:* means all linked projects. Subset example _id:p1 AND _id:p2.
syncDelaystring · max length: 16required
The time delay in minutes between the current time and the latest source data time. Increasing the value will delay any alerting. The default value is 1 minute. The minimum value is 1m and the maximum is 359m. It should always be greater then source index refresh interval.
syncFieldstringnullable
The date field that is used to identify new documents in the source. It is strongly recommended to use a field that contains the ingest timestamp. If you use a different field, you might need to set the delay such that it accounts for data transmission delays. When unspecified, we use the indicator timestamp field.
tagsstring[]required
List of tags
timeWindowuniononeOfrequired
Defines properties for the SLO time window
One of:(determined by type)
type: rolling
typeenumrequired
Indicates weither the time window is a rolling or a calendar aligned time window.
Values:rolling
durationstring · max length: 16required
the duration formatted as {duration}{unit}. Accepted values for rolling: 7d, 30d, 90d
type: calendarAligned
typeenumrequired
Indicates weither the time window is a rolling or a calendar aligned time window.
Values:calendarAligned
durationstring · max length: 16required
the duration formatted as {duration}{unit}. Accepted values for calendar aligned: 1w (weekly) or 1M (monthly)
updatedAtstring · format: date-time · max length: 128required