API Reference
Packages:
coralogix.com/v1alpha1
Samples:
AICustomEvaluation is the Schema for the AI custom evaluations API. See also https://coralogix.com/docs/user-guides/ai/
| Name | Type | Description | Required |
|---|---|---|---|
| apiVersion | string | coralogix.com/v1alpha1 | true |
| kind | string | AICustomEvaluation | true |
| metadata | object | Refer to the Kubernetes API documentation for the fields of the metadata field. | true |
| spec | object | AICustomEvaluationSpec defines the desired state of AICustomEvaluation. | false |
| status | object | AICustomEvaluationStatus defines the observed state of AICustomEvaluation. | false |
AICustomEvaluationSpec defines the desired state of AICustomEvaluation.
| Name | Type | Description | Required |
|---|---|---|---|
| instructions | string | Instructions sent to the LLM evaluator. Must contain at least one of {prompt}, {response}, or {chat_history}. | true |
| name | string | Display name of the custom evaluation. | true |
| policyType | enum | Policy type identifier. Enum: quality, security | true |
| applications | []object | AI applications to link this custom evaluation to, selected by application and subsystem. Defaults to no linked applications. | false |
| criteria | object | Acceptable and prohibited criteria for this custom evaluation. Defaults to empty criteria. Validations: | false |
| description | string | Human-readable description. | false |
| shouldIncludeSystemPrompt | boolean | Whether to include the system prompt in the LLM input. Defaults to false. Default: false | false |
| Name | Type | Description | Required |
|---|---|---|---|
| application | string | AI application name. | true |
| subsystem | string | AI application subsystem. | true |
Acceptable and prohibited criteria for this custom evaluation. Defaults to empty criteria.
| Name | Type | Description | Required |
|---|---|---|---|
| acceptable | object | Criteria and examples for acceptable responses. | false |
| prohibited | object | Criteria and examples for prohibited responses. | false |
Criteria and examples for acceptable responses.
| Name | Type | Description | Required |
|---|---|---|---|
| examples | []string | Example conversations for this criterion. | false |
| flags | string | Criterion flags. | false |
Criteria and examples for prohibited responses.
| Name | Type | Description | Required |
|---|---|---|---|
| examples | []string | Example conversations for this criterion. | false |
| flags | string | Criterion flags. | false |
AICustomEvaluationStatus defines the observed state of AICustomEvaluation.
| Name | Type | Description | Required |
|---|---|---|---|
| conditions | []object | false | |
| id | string | false | |
| printableStatus | string | false |
Condition contains details for one aspect of the current state of this API Resource.
| Name | Type | Description | Required |
|---|---|---|---|
| lastTransitionTime | string | lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. Format: date-time | true |
| message | string | message is a human readable message indicating details about the transition.
This may be an empty string. | true |
| reason | string | reason contains a programmatic identifier indicating the reason for the condition's last transition.
Producers of specific condition types may define expected values and meanings for this field,
and whether the values are considered a guaranteed API.
The value should be a CamelCase string.
This field may not be empty. | true |
| status | enum | status of the condition, one of True, False, Unknown. Enum: True, False, Unknown | true |
| type | string | type of condition in CamelCase or in foo.example.com/CamelCase. | true |
| observedGeneration | integer | observedGeneration represents the .metadata.generation that the condition was set based upon.
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
with respect to the current state of the instance. Format: int64 | false |
Samples:
AIEvaluation is the Schema for the aievaluations API.
| Name | Type | Description | Required |
|---|---|---|---|
| apiVersion | string | coralogix.com/v1alpha1 | true |
| kind | string | AIEvaluation | true |
| metadata | object | Refer to the Kubernetes API documentation for the fields of the metadata field. | true |
| spec | object | AIEvaluationSpec defines the desired state of a AIEvaluation. | false |
| status | object | AIEvaluationStatus defines the observed state of a AIEvaluation. | false |
AIEvaluationSpec defines the desired state of a AIEvaluation.
| Name | Type | Description | Required |
|---|---|---|---|
| application | string | Name of the AI application this evaluation belongs to. Validations: | true |
| config | object | AI evaluation configuration. Validations: | true |
| subsystem | string | Subsystem within the application. Validations: | true |
| target | enum | Target span content the evaluation runs against. Validations: | true |
| threshold | int or string | Score threshold. Must be between 0.0 and 1.0 inclusive. | true |
| isEnabled | boolean | Whether the evaluation is active. Default: true | false |
AI evaluation configuration.
| Name | Type | Description | Required |
|---|---|---|---|
| allowedTopics | object | Configuration for the AllowedTopics evaluation. | false |
| competition | object | Configuration for the Competition evaluation. | false |
| hallucinationCompleteness | map[string]string | Configuration for the HallucinationCompleteness evaluation (no fields). | false |
| hallucinationContextAdherence | map[string]string | Configuration for the HallucinationContextAdherence evaluation (no fields). | false |
| hallucinationContextRelevance | map[string]string | Configuration for the HallucinationContextRelevance evaluation (no fields). | false |
| hallucinationCorrectness | map[string]string | Configuration for the HallucinationCorrectness evaluation (no fields). | false |
| hallucinationTaskAdherence | map[string]string | Configuration for the HallucinationTaskAdherence evaluation (no fields). | false |
| languageMismatch | map[string]string | Configuration for the LanguageMismatch evaluation (no fields). | false |
| pii | object | Configuration for the PII evaluation. | false |
| promptInjection | object | Configuration for the PromptInjection evaluation. | false |
| restrictedTopics | object | Configuration for the RestrictedTopics evaluation. | false |
| sexism | map[string]string | Configuration for the Sexism evaluation (no fields). | false |
| sqlAllowedTables | object | Configuration for the SqlAllowedTables evaluation. | false |
| sqlHallucination | map[string]string | Configuration for the SqlHallucination evaluation (no fields). | false |
| sqlReadOnly | map[string]string | Configuration for the SqlReadOnly evaluation (no fields). | false |
| sqlRestrictedTables | object | Configuration for the SqlRestrictedTables evaluation. | false |
| toxicity | map[string]string | Configuration for the Toxicity evaluation (no fields). | false |
Configuration for the AllowedTopics evaluation.
| Name | Type | Description | Required |
|---|---|---|---|
| topics | []string | Topics considered allowed. | true |
Configuration for the Competition evaluation.
| Name | Type | Description | Required |
|---|---|---|---|
| competitors | []string | Competitor names to watch for. | true |
Configuration for the PII evaluation.
| Name | Type | Description | Required |
|---|---|---|---|
| categories | []enum | PII categories to detect. Enum: PHONE_NUMBER, EMAIL_ADDRESS, CREDIT_CARD, IBAN_CODE, US_SSN | true |
Configuration for the PromptInjection evaluation.
| Name | Type | Description | Required |
|---|---|---|---|
| additionalContext | string | Additional context passed to the LLM evaluator. Default: | false |
Configuration for the RestrictedTopics evaluation.
| Name | Type | Description | Required |
|---|---|---|---|
| topics | []string | Topics that should not appear. | true |
Configuration for the SqlAllowedTables evaluation.
| Name | Type | Description | Required |
|---|---|---|---|
| tables | []string | SQL table names that are allowed. | true |
Configuration for the SqlRestrictedTables evaluation.
| Name | Type | Description | Required |
|---|---|---|---|
| tables | []string | SQL table names that are not allowed. | true |
AIEvaluationStatus defines the observed state of a AIEvaluation.
| Name | Type | Description | Required |
|---|---|---|---|
| conditions | []object | false | |
| id | string | false | |
| printableStatus | string | false |
Condition contains details for one aspect of the current state of this API Resource.
| Name | Type | Description | Required |
|---|---|---|---|
| lastTransitionTime | string | lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. Format: date-time | true |
| message | string | message is a human readable message indicating details about the transition.
This may be an empty string. | true |
| reason | string | reason contains a programmatic identifier indicating the reason for the condition's last transition.
Producers of specific condition types may define expected values and meanings for this field,
and whether the values are considered a guaranteed API.
The value should be a CamelCase string.
This field may not be empty. | true |
| status | enum | status of the condition, one of True, False, Unknown. Enum: True, False, Unknown | true |
| type | string | type of condition in CamelCase or in foo.example.com/CamelCase. | true |
| observedGeneration | integer | observedGeneration represents the .metadata.generation that the condition was set based upon.
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
with respect to the current state of the instance. Format: int64 | false |
Samples:
AlertScheduler is the Schema for the AlertSchedulers API. It is used to suppress or activate alerts based on a schedule. See also https://coralogix.com/docs/user-guides/alerting/alert-suppression-rules/
Added in v0.4.0
| Name | Type | Description | Required |
|---|---|---|---|
| apiVersion | string | coralogix.com/v1alpha1 | true |
| kind | string | AlertScheduler | true |
| metadata | object | Refer to the Kubernetes API documentation for the fields of the metadata field. | true |
| spec | object | AlertSchedulerSpec defines the desired state Coralogix AlertScheduler. | false |
| status | object | AlertSchedulerStatus defines the observed state of AlertScheduler. | false |
AlertSchedulerSpec defines the desired state Coralogix AlertScheduler.
| Name | Type | Description | Required |
|---|---|---|---|
| filter | object | Alert Scheduler filter. Exactly one of Validations: | true |
| name | string | Alert Scheduler name. | true |
| schedule | object | Alert Scheduler schedule. Exactly one of Validations: | true |
| description | string | Alert Scheduler description. | false |
| enabled | boolean | Alert Scheduler enabled. If set to Default: true | false |
| metaLabels | []object | Alert Scheduler meta labels. | false |
Alert Scheduler filter. Exactly one of metaLabels or alerts can be set.
If none of them set, all alerts will be affected.
| Name | Type | Description | Required |
|---|---|---|---|
| whatExpression | string | DataPrime query expression - https://coralogix.com/docs/dataprime-query-language. | true |
| alerts | []object | Alert references. Conflicts with | false |
| metaLabels | []object | Alert Scheduler meta labels. Conflicts with | false |
| Name | Type | Description | Required |
|---|---|---|---|
| resourceRef | object | Alert custom resource name and namespace. If namespace is not set, the AlertScheduler namespace will be used. | true |
Alert custom resource name and namespace. If namespace is not set, the AlertScheduler namespace will be used.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Name of the resource (not id). | true |
| namespace | string | Kubernetes namespace. | false |
| Name | Type | Description | Required |
|---|---|---|---|
| key | string | true | |
| value | string | false |
Alert Scheduler schedule. Exactly one of oneTime or recurring must be set.
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | The operation to perform. Can be Enum: mute, activate | true |
| oneTime | object | One-time schedule. Conflicts with Validations: | false |
| recurring | object | Recurring schedule. Conflicts with Validations: | false |
One-time schedule. Conflicts with recurring.
| Name | Type | Description | Required |
|---|---|---|---|
| startTime | string | The start time of the time frame. In isodate format. For example, | true |
| timezone | string | The timezone of the time frame. For example, | true |
| duration | object | The duration from the start time to wait before the operation is performed.
Conflicts with | false |
| endTime | string | The end time of the time frame. In isodate format. For example, | false |
The duration from the start time to wait before the operation is performed.
Conflicts with endTime.
| Name | Type | Description | Required |
|---|---|---|---|
| forOver | integer | The number of time units to wait before the alert is triggered. For example,
if the frequency is set to Format: int32 | true |
| frequency | enum | The time unit to wait before the alert is triggered. Can be Enum: minutes, hours, days | true |
Recurring schedule. Conflicts with oneTime.
| Name | Type | Description | Required |
|---|---|---|---|
| always | object | Recurring always. | false |
| dynamic | object | Dynamic schedule. | false |
Dynamic schedule.
| Name | Type | Description | Required |
|---|---|---|---|
| frequency | object | The rule will be activated in a recurring mode (daily, weekly or monthly). | true |
| repeatEvery | integer | The rule will be activated in a recurring mode according to the interval. Format: int32 | true |
| timeFrame | object | The time frame of the rule. Validations: | true |
| terminationDate | string | The termination date of the rule. | false |
| Name | Type | Description | Required |
|---|---|---|---|
| days | []integer | The days of the month to activate the rule. | true |
| Name | Type | Description | Required |
|---|---|---|---|
| days | []enum | The days of the week to activate the rule. Enum: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, Saturday | true |
The time frame of the rule.
| Name | Type | Description | Required |
|---|---|---|---|
| startTime | string | The start time of the time frame. In isodate format. For example, | true |
| timezone | string | The timezone of the time frame. For example, | true |
| duration | object | The duration from the start time to wait before the operation is performed.
Conflicts with | false |
| endTime | string | The end time of the time frame. In isodate format. For example, | false |
The duration from the start time to wait before the operation is performed.
Conflicts with endTime.
| Name | Type | Description | Required |
|---|---|---|---|
| forOver | integer | The number of time units to wait before the alert is triggered. For example,
if the frequency is set to Format: int32 | true |
| frequency | enum | The time unit to wait before the alert is triggered. Can be Enum: minutes, hours, days | true |
| Name | Type | Description | Required |
|---|---|---|---|
| key | string | true | |
| value | string | false |
AlertSchedulerStatus defines the observed state of AlertScheduler.
| Name | Type | Description | Required |
|---|---|---|---|
| conditions | []object | false | |
| id | string | false | |
| printableStatus | string | false |
Condition contains details for one aspect of the current state of this API Resource.
| Name | Type | Description | Required |
|---|---|---|---|
| lastTransitionTime | string | lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. Format: date-time | true |
| message | string | message is a human readable message indicating details about the transition.
This may be an empty string. | true |
| reason | string | reason contains a programmatic identifier indicating the reason for the condition's last transition.
Producers of specific condition types may define expected values and meanings for this field,
and whether the values are considered a guaranteed API.
The value should be a CamelCase string.
This field may not be empty. | true |
| status | enum | status of the condition, one of True, False, Unknown. Enum: True, False, Unknown | true |
| type | string | type of condition in CamelCase or in foo.example.com/CamelCase. | true |
| observedGeneration | integer | observedGeneration represents the .metadata.generation that the condition was set based upon.
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
with respect to the current state of the instance. Format: int64 | false |
Samples:
AlertSet is the Schema for the AlertSets API.
| Name | Type | Description | Required |
|---|---|---|---|
| apiVersion | string | coralogix.com/v1alpha1 | true |
| kind | string | AlertSet | true |
| metadata | object | Refer to the Kubernetes API documentation for the fields of the metadata field. | true |
| spec | object | AlertSetSpec defines a set of Coralogix alerts. | true |
| status | object | AlertSetStatus defines the observed state of an AlertSet. | false |
AlertSetSpec defines a set of Coralogix alerts.
| Name | Type | Description | Required |
|---|---|---|---|
| alerts | []object | Alerts contains the alerts that this resource manages. | true |
AlertSetItem defines one alert in an AlertSet.
| Name | Type | Description | Required |
|---|---|---|---|
| key | string | Key is the stable identity of the alert in this AlertSet. | true |
| spec | object | Spec defines the alert. Validations: | true |
Spec defines the alert.
| Name | Type | Description | Required |
|---|---|---|---|
| alertType | object | Type of alert. Validations: | true |
| name | string | Name of the alert | true |
| priority | enum | Priority of the alert. Enum: p1, p2, p3, p4, p5 | true |
| accessPolicy | string | JSON string representing the access policy for this alert. Defines granular permissions for users and groups.
When set, the operator owns the policy and re-applies it on every reconcile, reverting changes made elsewhere.
Set to "" to keep the alert without a policy; a policy added elsewhere is removed on the next reconcile.
When omitted, the policy is not managed and is left unchanged.
Setting the policy requires the alerts:UpdateAccessPolicy permission on the operator's API key.
Permissions the policy leaves out are denied. The policy must keep granting the operator's API key alerts:ReadConfig,
alerts:UpdateConfig and the read/update pair for the alert's type (for example alerts:LogsReadConfig and
alerts:LogsUpdateConfig for logs alerts). Otherwise the API denies the operator's requests for the alert
and the Alert stays RemoteSynced=False until the policy grants them again. | false |
| caseSettings | object | Settings for the cases opened by the alert (preview).
When omitted, case settings are reset to the defaults: auto-resolve enabled, no enrichment query and no case destinations. | false |
| dataSources | []object | Data sources to run the alert on. | false |
| description | string | Description of the alert | false |
| enabled | boolean | Enable/disable the alert. Default: true | false |
| entityLabels | map[string]string | Labels attached to the alert. | false |
| groupByKeys | []string | Grouping fields for multiple alerts. | false |
| incidentsSettings | object | Settings for the attached incidents. | false |
| notificationGroup | object | Where notifications should be sent to. Validations: | false |
| notificationGroupExcess | []object | Do not use.
Deprecated: Legacy field for when multiple notification groups were attached. | false |
| phantomMode | boolean | Default: false | false |
| schedule | object | Alert activity schedule. Will be activated all the time if not specified. | false |
Type of alert.
| Name | Type | Description | Required |
|---|---|---|---|
| analyticsResultCount | object | Alerts on the number of rows a DataPrime query returns (preview). | false |
| analyticsThreshold | object | Alerts for when a DataPrime query result column crosses a threshold (preview). | false |
| flow | object | Flow alerts chaining multiple alerts together. | false |
| logsAnomaly | object | Anomaly alerts for logs. | false |
| logsImmediate | object | Immediate alerts for logs. | false |
| logsNewValue | object | Alerts when a new log value appears. | false |
| logsRatioThreshold | object | Alerts for when a log exceeds a defined ratio. Validations: | false |
| logsThreshold | object | Alerts for when a log crosses a threshold. | false |
| logsTimeRelativeThreshold | object | Alerts are sent when the number of logs matching a filter is more than or less than a threshold over a specific time window. | false |
| logsUniqueCount | object | Alerts for unique count changes. | false |
| metricAnomaly | object | Anomaly alerts for metrics. | false |
| metricThreshold | object | Alerts for when a metric crosses a threshold. | false |
| sloThreshold | object | Alerts for SLO thresholds. Validations: | false |
| tracingImmediate | object | Immediate alerts for traces. | false |
| tracingThreshold | object | Alerts for when traces crosses a threshold. | false |
Alerts on the number of rows a DataPrime query returns (preview).
| Name | Type | Description | Required |
|---|---|---|---|
| dataprimeQuery | object | DataPrime query that triggers the alert when it returns results. | true |
| timeframeMinutes | integer | Time frame in minutes the query is evaluated over. Format: int32 | true |
| evaluationDelayMs | integer | Evaluation delay in milliseconds. Format: int32 | false |
| evaluationPeriodMinutes | integer | How often the alert is evaluated, in minutes. Each evaluation runs the query over the last timeframeMinutes.
When unset, the API uses the smaller of 10 and timeframeMinutes; removing the field resets the period to that default.
The API checks the range (1-1440). May exceed timeframeMinutes, in which case data between evaluations is not covered by any evaluation. Format: int32 | false |
| noDataPolicy | object | Policy for handling missing data. | false |
| operator | enum | Comparison operator applied to the row count of every rule. When unset, moreThan. Enum: moreThan, lessThan, moreThanOrEquals, lessThanOrEquals, equals, notEquals | false |
| rules | []object | Per-priority trigger rules. Each rule compares the number of result rows that meet its condition to its count threshold;
when several rules hold, the highest priority wins. When unset, the alert fires at its own priority on any result row. | false |
DataPrime query that triggers the alert when it returns results.
| Name | Type | Description | Required |
|---|---|---|---|
| query | string | DataPrime query text, e.g. | true |
Policy for handling missing data.
| Name | Type | Description | Required |
|---|---|---|---|
| state | enum | State to use when no data is present. Enum: ok, alerting, keepLast, noData | true |
| autoRetireSeconds | integer | The timeframe in seconds for auto retiring values that were detected as no-data.
Must be a multiple of 60 seconds. Format: int32 | false |
A per-priority trigger rule of an analyticsResultCount alert.
| Name | Type | Description | Required |
|---|---|---|---|
| condition | object | Which result rows the rule counts and the count it is compared against. When unset, every row counts against 0. | false |
| override | object | Alert property overrides. Defaults to the alert priority when unset. | false |
Which result rows the rule counts and the count it is compared against. When unset, every row counts against 0.
| Name | Type | Description | Required |
|---|---|---|---|
| countThreshold | integer | Number of matching result rows the operator compares against. When unset, 0. Format: int64 | false |
| expression | string | DataPrime boolean expression over the columns of the query result. Only rows it holds for are counted.
When unset, every result row counts. | false |
Alert property overrides. Defaults to the alert priority when unset.
| Name | Type | Description | Required |
|---|---|---|---|
| priority | enum | Priority to override it Enum: p1, p2, p3, p4, p5 | true |
Alerts for when a DataPrime query result column crosses a threshold (preview).
| Name | Type | Description | Required |
|---|---|---|---|
| dataprimeQuery | object | DataPrime query whose results are evaluated against the rules. | true |
| rules | []object | Rules that match the alert to the data. Each rule must have a different priority. | true |
| timeframeMinutes | integer | Time frame in minutes the query is evaluated over. Format: int32 | true |
| evaluationDelayMs | integer | Evaluation delay in milliseconds. Format: int32 | false |
| evaluationPeriodMinutes | integer | How often the alert is evaluated, in minutes. Each evaluation runs the query over the last timeframeMinutes.
When unset, the API uses the smaller of 10 and timeframeMinutes; removing the field resets the period to that default.
The API checks the range (1-1440). May exceed timeframeMinutes, in which case data between evaluations is not covered by any evaluation. Format: int32 | false |
| noDataPolicy | object | Policy for handling missing data. | false |
| operator | enum | Comparison operator applied to the rule thresholds. Defaults to moreThan when unset. Enum: moreThan, lessThan, moreThanOrEquals, lessThanOrEquals, equals, notEquals | false |
| targetColumn | string | Numeric column of the query result to compare against the thresholds. | false |
| useRowsAsPermutations | boolean | Whether each result row is treated as a separate permutation. | false |
DataPrime query whose results are evaluated against the rules.
| Name | Type | Description | Required |
|---|---|---|---|
| query | string | DataPrime query text, e.g. | true |
Conditions to match for the rule.
| Name | Type | Description | Required |
|---|---|---|---|
| threshold | int or string | Threshold to compare the target column against. | true |
Alert property overrides. Defaults to the alert priority when unset.
| Name | Type | Description | Required |
|---|---|---|---|
| priority | enum | Priority to override it Enum: p1, p2, p3, p4, p5 | true |
Policy for handling missing data.
| Name | Type | Description | Required |
|---|---|---|---|
| state | enum | State to use when no data is present. Enum: ok, alerting, keepLast, noData | true |
| autoRetireSeconds | integer | The timeframe in seconds for auto retiring values that were detected as no-data.
Must be a multiple of 60 seconds. Format: int32 | false |
Flow alerts chaining multiple alerts together.
| Name | Type | Description | Required |
|---|---|---|---|
| enforceSuppression | boolean | Default: false | true |
| stages | []object | true |
Stages to go through.
| Name | Type | Description | Required |
|---|---|---|---|
| flowStagesType | object | Type of stage. | true |
| timeframeMs | integer | Format: int64 | true |
| timeframeType | enum | Type of timeframe. Enum: unspecified, upTo | true |
Type of stage.
| Name | Type | Description | Required |
|---|---|---|---|
| groups | []object | true |
Flow stage grouping.
| Name | Type | Description | Required |
|---|---|---|---|
| alertDefs | []object | Alerts to group. | true |
| alertsOp | enum | Operation for the alert. Enum: and, or | true |
| nextOp | enum | Link to the next alert. Enum: and, or | true |
Alert references.
| Name | Type | Description | Required |
|---|---|---|---|
| alertRef | object | Reference for an alert, backend or Kubernetes resource Validations: | true |
| not | boolean | Inversion. Default: false | true |
Reference for an alert, backend or Kubernetes resource
| Name | Type | Description | Required |
|---|---|---|---|
| backendRef | object | Coralogix id reference. Validations: | false |
| resourceRef | object | Kubernetes resource reference. | false |
Coralogix id reference.
| Name | Type | Description | Required |
|---|---|---|---|
| id | string | Alert ID. | false |
| name | string | Name of the alert. | false |
Kubernetes resource reference.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Name of the resource. | true |
| namespace | string | Kubernetes namespace. | false |
Anomaly alerts for logs.
| Name | Type | Description | Required |
|---|---|---|---|
| rules | []object | Rules that match the alert to the data. | true |
| anomalyAlertSettings | object | Settings for anomaly alerts. | false |
| evaluationDelayMs | integer | Evaluation delay in milliseconds. Format: int32 | false |
| logsFilter | object | Filter to filter the logs with. | false |
| notificationPayloadFilter | []string | Filter for the notification payload. | false |
The rule to match the alert's conditions.
| Name | Type | Description | Required |
|---|---|---|---|
| condition | object | Condition to match to. | true |
Condition to match to.
| Name | Type | Description | Required |
|---|---|---|---|
| minimumThreshold | int or string | Minimum value Default: 0 | true |
| timeWindow | object | Time window to evaluate. | true |
| conditionType | enum | Condition type. Enum: moreThanUsual | false |
Time window to evaluate.
| Name | Type | Description | Required |
|---|---|---|---|
| specificValue | enum | Logs time window type Enum: 5m, 10m, 15m, 20m, 30m, 1h, 2h, 4h, 6h, 12h, 24h, 36h | false |
Settings for anomaly alerts.
| Name | Type | Description | Required |
|---|---|---|---|
| percentageOfDeviation | int or string | The percentage of deviation from the baseline for triggering the alert. | true |
Filter to filter the logs with.
| Name | Type | Description | Required |
|---|---|---|---|
| simpleFilter | object | Simple lucene filter. | false |
Simple lucene filter.
| Name | Type | Description | Required |
|---|---|---|---|
| labelFilters | object | Filter for labels. | false |
| luceneQuery | string | The query. | false |
Filter for labels.
| Name | Type | Description | Required |
|---|---|---|---|
| applicationName | []object | Application name to filter for. | false |
| severity | []enum | Severity to filter for. Enum: debug, info, warning, error, critical, verbose | false |
| subsystemName | []object | Subsystem name to filter for. | false |
Label filter specifications
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Operation to apply. Enum: is, includes, endsWith, startsWith | true |
| value | string | The value | true |
Label filter specifications
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Operation to apply. Enum: is, includes, endsWith, startsWith | true |
| value | string | The value | true |
Immediate alerts for logs.
| Name | Type | Description | Required |
|---|---|---|---|
| logsFilter | object | Filter to filter the logs with. | false |
| notificationPayloadFilter | []string | Filter for the notification payload. | false |
Filter to filter the logs with.
| Name | Type | Description | Required |
|---|---|---|---|
| simpleFilter | object | Simple lucene filter. | false |
Simple lucene filter.
| Name | Type | Description | Required |
|---|---|---|---|
| labelFilters | object | Filter for labels. | false |
| luceneQuery | string | The query. | false |
Filter for labels.
| Name | Type | Description | Required |
|---|---|---|---|
| applicationName | []object | Application name to filter for. | false |
| severity | []enum | Severity to filter for. Enum: debug, info, warning, error, critical, verbose | false |
| subsystemName | []object | Subsystem name to filter for. | false |
Label filter specifications
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Operation to apply. Enum: is, includes, endsWith, startsWith | true |
| value | string | The value | true |
Label filter specifications
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Operation to apply. Enum: is, includes, endsWith, startsWith | true |
| value | string | The value | true |
Alerts when a new log value appears.
| Name | Type | Description | Required |
|---|---|---|---|
| logsFilter | object | Filter to filter the logs with. | true |
| rules | []object | Rules that match the alert to the data. | true |
| notificationPayloadFilter | []string | Filter for the notification payload. | false |
Filter to filter the logs with.
| Name | Type | Description | Required |
|---|---|---|---|
| simpleFilter | object | Simple lucene filter. | false |
Simple lucene filter.
| Name | Type | Description | Required |
|---|---|---|---|
| labelFilters | object | Filter for labels. | false |
| luceneQuery | string | The query. | false |
Filter for labels.
| Name | Type | Description | Required |
|---|---|---|---|
| applicationName | []object | Application name to filter for. | false |
| severity | []enum | Severity to filter for. Enum: debug, info, warning, error, critical, verbose | false |
| subsystemName | []object | Subsystem name to filter for. | false |
Label filter specifications
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Operation to apply. Enum: is, includes, endsWith, startsWith | true |
| value | string | The value | true |
Label filter specifications
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Operation to apply. Enum: is, includes, endsWith, startsWith | true |
| value | string | The value | true |
The rule to match the alert's conditions.
| Name | Type | Description | Required |
|---|---|---|---|
| condition | object | Condition to match to | true |
Condition to match to
| Name | Type | Description | Required |
|---|---|---|---|
| keypathToTrack | string | Where to look | true |
| timeWindow | object | Which time window. | true |
Which time window.
| Name | Type | Description | Required |
|---|---|---|---|
| specificValue | enum | Time windows. Enum: 12h, 24h, 48h, 72h, 1w, 1mo, 2mo, 3mo | false |
Alerts for when a log exceeds a defined ratio.
| Name | Type | Description | Required |
|---|---|---|---|
| denominator | object | A filter for logs. | true |
| denominatorAlias | string | true | |
| numerator | object | A filter for logs. | true |
| numeratorAlias | string | true | |
| rules | []object | Rules that match the alert to the data. | true |
| evaluationDelayMs | integer | Evaluation delay in milliseconds. Format: int32 | false |
| groupByFor | enum | Which side of the ratio the group-by keys are applied to. Enum: both, numeratorOnly, denominatorOnly | false |
| ignoreInfinity | boolean | Ignore infinity on the threshold value. Default: false | false |
| notificationPayloadFilter | []string | Filter for the notification payload. | false |
| undetectedValuesManagement | object | How to work with undetected values. | false |
A filter for logs.
| Name | Type | Description | Required |
|---|---|---|---|
| simpleFilter | object | Simple lucene filter. | false |
Simple lucene filter.
| Name | Type | Description | Required |
|---|---|---|---|
| labelFilters | object | Filter for labels. | false |
| luceneQuery | string | The query. | false |
Filter for labels.
| Name | Type | Description | Required |
|---|---|---|---|
| applicationName | []object | Application name to filter for. | false |
| severity | []enum | Severity to filter for. Enum: debug, info, warning, error, critical, verbose | false |
| subsystemName | []object | Subsystem name to filter for. | false |
Label filter specifications
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Operation to apply. Enum: is, includes, endsWith, startsWith | true |
| value | string | The value | true |
Label filter specifications
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Operation to apply. Enum: is, includes, endsWith, startsWith | true |
| value | string | The value | true |
A filter for logs.
| Name | Type | Description | Required |
|---|---|---|---|
| simpleFilter | object | Simple lucene filter. | false |
Simple lucene filter.
| Name | Type | Description | Required |
|---|---|---|---|
| labelFilters | object | Filter for labels. | false |
| luceneQuery | string | The query. | false |
Filter for labels.
| Name | Type | Description | Required |
|---|---|---|---|
| applicationName | []object | Application name to filter for. | false |
| severity | []enum | Severity to filter for. Enum: debug, info, warning, error, critical, verbose | false |
| subsystemName | []object | Subsystem name to filter for. | false |
Label filter specifications
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Operation to apply. Enum: is, includes, endsWith, startsWith | true |
| value | string | The value | true |
Label filter specifications
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Operation to apply. Enum: is, includes, endsWith, startsWith | true |
| value | string | The value | true |
Condition to match
| Name | Type | Description | Required |
|---|---|---|---|
| conditionType | enum | Condition to evaluate with. Enum: moreThan, lessThan | true |
| threshold | int or string | Threshold to pass. | true |
| timeWindow | object | Time window to evaluate. | true |
Time window to evaluate.
| Name | Type | Description | Required |
|---|---|---|---|
| specificValue | enum | Time window type. Enum: 5m, 10m, 15m, 30m, 1h, 2h, 4h, 6h, 12h, 24h, 36h | false |
Override alert properties
| Name | Type | Description | Required |
|---|---|---|---|
| priority | enum | Priority to override it Enum: p1, p2, p3, p4, p5 | true |
How to work with undetected values.
| Name | Type | Description | Required |
|---|---|---|---|
| autoRetireTimeframe | enum | Automatically retire the alerts after this time. Enum: never, 5m, 10m, 1h, 2h, 6h, 12h, 24h | true |
| triggerUndetectedValues | boolean | Deactivate triggering the alert on undetected values. Default: false | true |
Alerts for when a log crosses a threshold.
| Name | Type | Description | Required |
|---|---|---|---|
| rules | []object | Rules that match the alert to the data. | true |
| evaluationDelayMs | integer | Evaluation delay in milliseconds. Format: int32 | false |
| logsFilter | object | Filter to filter the logs with. | false |
| noDataPolicy | object | Policy for handling missing data. | false |
| notificationPayloadFilter | []string | Filter for the notification payload. | false |
| undetectedValuesManagement | object | How to work with undetected values. | false |
Condition to match
| Name | Type | Description | Required |
|---|---|---|---|
| logsThresholdConditionType | enum | Condition type. Enum: moreThan, lessThan, equals, notEquals | true |
| threshold | int or string | Threshold to match to. | true |
| timeWindow | object | Time window in which the condition is checked. | true |
Time window in which the condition is checked.
| Name | Type | Description | Required |
|---|---|---|---|
| specificValue | enum | Logs time window type Enum: 5m, 10m, 15m, 20m, 30m, 1h, 2h, 4h, 6h, 12h, 24h, 36h | false |
Alert overrides.
| Name | Type | Description | Required |
|---|---|---|---|
| priority | enum | Priority to override it Enum: p1, p2, p3, p4, p5 | true |
Filter to filter the logs with.
| Name | Type | Description | Required |
|---|---|---|---|
| simpleFilter | object | Simple lucene filter. | false |
Simple lucene filter.
| Name | Type | Description | Required |
|---|---|---|---|
| labelFilters | object | Filter for labels. | false |
| luceneQuery | string | The query. | false |
Filter for labels.
| Name | Type | Description | Required |
|---|---|---|---|
| applicationName | []object | Application name to filter for. | false |
| severity | []enum | Severity to filter for. Enum: debug, info, warning, error, critical, verbose | false |
| subsystemName | []object | Subsystem name to filter for. | false |
Label filter specifications
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Operation to apply. Enum: is, includes, endsWith, startsWith | true |
| value | string | The value | true |
Label filter specifications
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Operation to apply. Enum: is, includes, endsWith, startsWith | true |
| value | string | The value | true |
Policy for handling missing data.
| Name | Type | Description | Required |
|---|---|---|---|
| state | enum | State to use when no data is present. Enum: ok, alerting, keepLast, noData | true |
| autoRetireSeconds | integer | The timeframe in seconds for auto retiring values that were detected as no-data.
Must be a multiple of 60 seconds. Format: int32 | false |
How to work with undetected values.
| Name | Type | Description | Required |
|---|---|---|---|
| autoRetireTimeframe | enum | Automatically retire the alerts after this time. Enum: never, 5m, 10m, 1h, 2h, 6h, 12h, 24h | true |
| triggerUndetectedValues | boolean | Deactivate triggering the alert on undetected values. Default: false | true |
Alerts are sent when the number of logs matching a filter is more than or less than a threshold over a specific time window.
| Name | Type | Description | Required |
|---|---|---|---|
| ignoreInfinity | boolean | Ignore infinity on the threshold value. Default: false | true |
| logsFilter | object | A filter for logs. | true |
| rules | []object | Rules that match the alert to the data. | true |
| evaluationDelayMs | integer | Evaluation delay in milliseconds. Format: int32 | false |
| notificationPayloadFilter | []string | Filter for the notification payload. | false |
| undetectedValuesManagement | object | How to work with undetected values. | false |
A filter for logs.
| Name | Type | Description | Required |
|---|---|---|---|
| simpleFilter | object | Simple lucene filter. | false |
Simple lucene filter.
| Name | Type | Description | Required |
|---|---|---|---|
| labelFilters | object | Filter for labels. | false |
| luceneQuery | string | The query. | false |
Filter for labels.
| Name | Type | Description | Required |
|---|---|---|---|
| applicationName | []object | Application name to filter for. | false |
| severity | []enum | Severity to filter for. Enum: debug, info, warning, error, critical, verbose | false |
| subsystemName | []object | Subsystem name to filter for. | false |
Label filter specifications
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Operation to apply. Enum: is, includes, endsWith, startsWith | true |
| value | string | The value | true |
Label filter specifications
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Operation to apply. Enum: is, includes, endsWith, startsWith | true |
| value | string | The value | true |
The condition to match to.
| Name | Type | Description | Required |
|---|---|---|---|
| comparedTo | enum | Comparison window. Enum: previousHour, sameHourYesterday, sameHourLastWeek, yesterday, sameDayLastWeek, sameDayLastMonth | true |
| conditionType | enum | How to compare. Enum: moreThan, lessThan | true |
| threshold | int or string | Threshold to match. | true |
Override alert properties
| Name | Type | Description | Required |
|---|---|---|---|
| priority | enum | Priority to override it Enum: p1, p2, p3, p4, p5 | true |
How to work with undetected values.
| Name | Type | Description | Required |
|---|---|---|---|
| autoRetireTimeframe | enum | Automatically retire the alerts after this time. Enum: never, 5m, 10m, 1h, 2h, 6h, 12h, 24h | true |
| triggerUndetectedValues | boolean | Deactivate triggering the alert on undetected values. Default: false | true |
Alerts for unique count changes.
| Name | Type | Description | Required |
|---|---|---|---|
| logsFilter | object | Filter to filter the logs with. | true |
| rules | []object | Rules that match the alert to the data. | true |
| uniqueCountKeypath | string | true | |
| maxUniqueCountPerGroupByKey | integer | Format: int64 | false |
| notificationPayloadFilter | []string | Filter for the notification payload. | false |
Filter to filter the logs with.
| Name | Type | Description | Required |
|---|---|---|---|
| simpleFilter | object | Simple lucene filter. | false |
Simple lucene filter.
| Name | Type | Description | Required |
|---|---|---|---|
| labelFilters | object | Filter for labels. | false |
| luceneQuery | string | The query. | false |
Filter for labels.
| Name | Type | Description | Required |
|---|---|---|---|
| applicationName | []object | Application name to filter for. | false |
| severity | []enum | Severity to filter for. Enum: debug, info, warning, error, critical, verbose | false |
| subsystemName | []object | Subsystem name to filter for. | false |
Label filter specifications
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Operation to apply. Enum: is, includes, endsWith, startsWith | true |
| value | string | The value | true |
Label filter specifications
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Operation to apply. Enum: is, includes, endsWith, startsWith | true |
| value | string | The value | true |
The rule to match the alert's conditions.
| Name | Type | Description | Required |
|---|---|---|---|
| condition | object | Condition to match to. | true |
Condition to match to.
| Name | Type | Description | Required |
|---|---|---|---|
| threshold | integer | Threshold to cross Format: int64 | true |
| timeWindow | object | Time window to evaluate. | true |
Time window to evaluate.
| Name | Type | Description | Required |
|---|---|---|---|
| specificValue | enum | Time windows for Logs Unique Count Enum: 1m, 5m, 10m, 15m, 20m, 30m, 1h, 2h, 4h, 6h, 12h, 24h, 36h | true |
Anomaly alerts for metrics.
| Name | Type | Description | Required |
|---|---|---|---|
| metricFilter | object | PromQL filter for metrics | true |
| rules | []object | Rules that match the alert to the data. | true |
| anomalyAlertSettings | object | Settings for anomaly alerts. | false |
| evaluationDelayMs | integer | Evaluation delay in milliseconds. Format: int32 | false |
PromQL filter for metrics
| Name | Type | Description | Required |
|---|---|---|---|
| promql | string | PromQL query: https://coralogix.com/academy/mastering-metrics-in-coralogix/promql-fundamentals/ | false |
The rule to match the alert's conditions.
| Name | Type | Description | Required |
|---|---|---|---|
| condition | object | Condition to match to. | true |
Condition to match to.
| Name | Type | Description | Required |
|---|---|---|---|
| conditionType | enum | Condition type. Enum: moreThanUsual, lessThanUsual | true |
| forOverPct | integer | Percentage for the threshold Format: int64 | true |
| minNonNullValuesPct | integer | Replace with a number Format: int64 | true |
| ofTheLast | object | Time window to match within | true |
| threshold | int or string | Threshold to clear. | true |
Time window to match within
| Name | Type | Description | Required |
|---|---|---|---|
| specificValue | enum | Time window type. Enum: 1m, 5m, 10m, 15m, 20m, 30m, 1h, 2h, 4h, 6h, 12h, 24h, 36h | true |
Settings for anomaly alerts.
| Name | Type | Description | Required |
|---|---|---|---|
| percentageOfDeviation | int or string | The percentage of deviation from the baseline for triggering the alert. | true |
Alerts for when a metric crosses a threshold.
| Name | Type | Description | Required |
|---|---|---|---|
| metricFilter | object | Filter for metrics | true |
| missingValues | object | Missing values strategies. | true |
| rules | []object | Rules that match the alert to the data. | true |
| evaluationDelayMs | integer | Evaluation delay in milliseconds. Format: int32 | false |
| noDataPolicy | object | Policy for handling missing data. | false |
| undetectedValuesManagement | object | How to work with undetected values. | false |
Filter for metrics
| Name | Type | Description | Required |
|---|---|---|---|
| promql | string | PromQL query: https://coralogix.com/academy/mastering-metrics-in-coralogix/promql-fundamentals/ | false |
Missing values strategies.
| Name | Type | Description | Required |
|---|---|---|---|
| minNonNullValuesPct | integer | Replace with a number Format: int64 | false |
| replaceWithZero | boolean | Replace missing values with 0s Default: false | false |
Conditions to match for the rule.
| Name | Type | Description | Required |
|---|---|---|---|
| conditionType | enum | ConditionType type. Enum: moreThan, lessThan, moreThanOrEquals, lessThanOrEquals, equals, notEquals | true |
| forOverPct | integer | Format: int32 | true |
| ofTheLast | object | Time window type. Validations: | true |
| threshold | int or string | true |
Time window type.
| Name | Type | Description | Required |
|---|---|---|---|
| dynamicDuration | string | false | |
| specificValue | enum | Time window type. Enum: 1m, 5m, 10m, 15m, 20m, 30m, 1h, 2h, 4h, 6h, 12h, 24h, 36h | false |
Alert property overrides
| Name | Type | Description | Required |
|---|---|---|---|
| priority | enum | Priority to override it Enum: p1, p2, p3, p4, p5 | true |
Policy for handling missing data.
| Name | Type | Description | Required |
|---|---|---|---|
| state | enum | State to use when no data is present. Enum: ok, alerting, keepLast, noData | true |
| autoRetireSeconds | integer | The timeframe in seconds for auto retiring values that were detected as no-data.
Must be a multiple of 60 seconds. Format: int32 | false |
How to work with undetected values.
| Name | Type | Description | Required |
|---|---|---|---|
| autoRetireTimeframe | enum | Automatically retire the alerts after this time. Enum: never, 5m, 10m, 1h, 2h, 6h, 12h, 24h | true |
| triggerUndetectedValues | boolean | Deactivate triggering the alert on undetected values. Default: false | true |
Alerts for SLO thresholds.
| Name | Type | Description | Required |
|---|---|---|---|
| sloDefinition | object | true | |
| burnRate | object | false | |
| errorBudget | object | false |
| Name | Type | Description | Required |
|---|---|---|---|
| sloRef | object | Validations: | true |
| Name | Type | Description | Required |
|---|---|---|---|
| backendRef | object | Validations: | false |
| resourceRef | object | Reference to a resource within the cluster. | false |
| Name | Type | Description | Required |
|---|---|---|---|
| id | string | false | |
| name | string | false |
Reference to a resource within the cluster.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Name of the resource. | true |
| namespace | string | Kubernetes namespace. | false |
Condition to match
| Name | Type | Description | Required |
|---|---|---|---|
| threshold | int or string | true |
Alert overrides.
| Name | Type | Description | Required |
|---|---|---|---|
| priority | enum | Priority to override it Enum: p1, p2, p3, p4, p5 | true |
| Name | Type | Description | Required |
|---|---|---|---|
| timeDuration | object | true |
| Name | Type | Description | Required |
|---|---|---|---|
| duration | integer | true | |
| unit | enum | Time duration unit for a Burn Rate Slo. Enum: unspecified, hours | true |
| Name | Type | Description | Required |
|---|---|---|---|
| timeDuration | object | true |
| Name | Type | Description | Required |
|---|---|---|---|
| duration | integer | true | |
| unit | enum | Time duration unit for a Burn Rate Slo. Enum: unspecified, hours | true |
| Name | Type | Description | Required |
|---|---|---|---|
| rules | []object | true |
Condition to match
| Name | Type | Description | Required |
|---|---|---|---|
| threshold | int or string | Threshold to match to. | true |
Alert overrides.
| Name | Type | Description | Required |
|---|---|---|---|
| priority | enum | Priority to override it Enum: p1, p2, p3, p4, p5 | true |
Immediate alerts for traces.
| Name | Type | Description | Required |
|---|---|---|---|
| notificationPayloadFilter | []string | Filter for the notification payload. | false |
| tracingFilter | object | A simple tracing filter. | false |
A simple tracing filter.
| Name | Type | Description | Required |
|---|---|---|---|
| simple | object | Simple tracing filter paired with a latency. | false |
Simple tracing filter paired with a latency.
| Name | Type | Description | Required |
|---|---|---|---|
| latencyThresholdMs | integer | Format: int64 | false |
| tracingLabelFilters | object | Filter for traces. | false |
Filter for traces.
| Name | Type | Description | Required |
|---|---|---|---|
| applicationName | []object | false | |
| operationName | []object | false | |
| serviceName | []object | false | |
| spanFields | []object | false | |
| subsystemName | []object | false |
Filter - values and operation.
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Tracing filter operations. Enum: includes, endsWith, startsWith, isNot, is | true |
| values | []string | true |
Filter - values and operation.
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Tracing filter operations. Enum: includes, endsWith, startsWith, isNot, is | true |
| values | []string | true |
Filter - values and operation.
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Tracing filter operations. Enum: includes, endsWith, startsWith, isNot, is | true |
| values | []string | true |
Filter for spans
| Name | Type | Description | Required |
|---|---|---|---|
| filterType | object | Filter - values and operation. | true |
| key | string | true |
Filter - values and operation.
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Tracing filter operations. Enum: includes, endsWith, startsWith, isNot, is | true |
| values | []string | true |
Filter - values and operation.
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Tracing filter operations. Enum: includes, endsWith, startsWith, isNot, is | true |
| values | []string | true |
Alerts for when traces crosses a threshold.
| Name | Type | Description | Required |
|---|---|---|---|
| rules | []object | Rules that match the alert to the data. | true |
| notificationPayloadFilter | []string | Filter for the notification payload. | false |
| tracingFilter | object | Filter the base collection. | false |
The rule to match the alert's conditions.
| Name | Type | Description | Required |
|---|---|---|---|
| condition | object | The condition to match to. | true |
The condition to match to.
| Name | Type | Description | Required |
|---|---|---|---|
| spanAmount | int or string | Threshold amount. | true |
| timeWindow | object | Time window to evaluate. | true |
| conditionType | enum | Condition type. Enum: moreThan | false |
Time window to evaluate.
| Name | Type | Description | Required |
|---|---|---|---|
| specificValue | enum | Time window type for tracing. Enum: 5m, 10m, 15m, 20m, 30m, 1h, 2h, 4h, 6h, 12h, 24h, 36h | false |
Filter the base collection.
| Name | Type | Description | Required |
|---|---|---|---|
| simple | object | Simple tracing filter paired with a latency. | false |
Simple tracing filter paired with a latency.
| Name | Type | Description | Required |
|---|---|---|---|
| latencyThresholdMs | integer | Format: int64 | false |
| tracingLabelFilters | object | Filter for traces. | false |
Filter for traces.
| Name | Type | Description | Required |
|---|---|---|---|
| applicationName | []object | false | |
| operationName | []object | false | |
| serviceName | []object | false | |
| spanFields | []object | false | |
| subsystemName | []object | false |
Filter - values and operation.
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Tracing filter operations. Enum: includes, endsWith, startsWith, isNot, is | true |
| values | []string | true |
Filter - values and operation.
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Tracing filter operations. Enum: includes, endsWith, startsWith, isNot, is | true |
| values | []string | true |
Filter - values and operation.
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Tracing filter operations. Enum: includes, endsWith, startsWith, isNot, is | true |
| values | []string | true |
Filter for spans
| Name | Type | Description | Required |
|---|---|---|---|
| filterType | object | Filter - values and operation. | true |
| key | string | true |
Filter - values and operation.
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Tracing filter operations. Enum: includes, endsWith, startsWith, isNot, is | true |
| values | []string | true |
Filter - values and operation.
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Tracing filter operations. Enum: includes, endsWith, startsWith, isNot, is | true |
| values | []string | true |
Settings for the cases opened by the alert (preview). When omitted, case settings are reset to the defaults: auto-resolve enabled, no enrichment query and no case destinations.
| Name | Type | Description | Required |
|---|---|---|---|
| autoResolveMode | enum | Whether cases are resolved automatically when the alert resolves (preview). Enabled when omitted. Enum: enabled, disabled | false |
| destinations | []object | Where case notifications are sent (preview). | false |
| enrichmentQueries | []object | Queries that enrich the cases opened by the alert (preview). | false |
Destination for case notifications (preview).
| Name | Type | Description | Required |
|---|---|---|---|
| condition | string | Routing condition evaluated against the case notification. Use "true" to notify on every case notification, or filter on caseMetadata.notificationReason (for example caseMetadata.notificationReason == 'caseResolved'). | true |
| connector | object | Connector to send case notifications to. The connector must support the cases entity type. Validations: | true |
| connectorConfigOverrides | []object | Connector configuration fields that override the connector's own values for case notifications. | false |
| preset | object | Preset for the case notifications. Must be a cases preset for the connector type.
The default preset of the connector type is used when omitted. Validations: | false |
Connector to send case notifications to. The connector must support the cases entity type.
| Name | Type | Description | Required |
|---|---|---|---|
| backendRef | object | BackendRef is a reference to a backend resource. | false |
| resourceRef | object | ResourceRef is a reference to a Kubernetes resource. | false |
BackendRef is a reference to a backend resource.
| Name | Type | Description | Required |
|---|---|---|---|
| id | string | true |
ResourceRef is a reference to a Kubernetes resource.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Name of the resource. | true |
| namespace | string | Kubernetes namespace. | false |
| Name | Type | Description | Required |
|---|---|---|---|
| fieldName | string | The name of the configuration field. | true |
| template | string | The template for the configuration field. | true |
Preset for the case notifications. Must be a cases preset for the connector type. The default preset of the connector type is used when omitted.
| Name | Type | Description | Required |
|---|---|---|---|
| backendRef | object | BackendRef is a reference to a backend resource. | false |
| resourceRef | object | ResourceRef is a reference to a Kubernetes resource. | false |
BackendRef is a reference to a backend resource.
| Name | Type | Description | Required |
|---|---|---|---|
| id | string | true |
ResourceRef is a reference to a Kubernetes resource.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Name of the resource. | true |
| namespace | string | Kubernetes namespace. | false |
Query that enriches the cases opened by the alert (preview).
| Name | Type | Description | Required |
|---|---|---|---|
| query | string | The enrichment query. | true |
| type | enum | The query language. DataPrime when omitted. Enum: dataprime | false |
Data source to run the alert on.
| Name | Type | Description | Required |
|---|---|---|---|
| dataSet | string | Dataset of the data source. | true |
| dataSpace | string | Data space of the data source. | true |
Settings for the attached incidents.
| Name | Type | Description | Required |
|---|---|---|---|
| notifyOn | enum | When to notify. Enum: triggeredOnly, triggeredAndResolved | false |
| retriggeringPeriod | object | When to re-notify. | false |
When to re-notify.
| Name | Type | Description | Required |
|---|---|---|---|
| minutes | integer | Delay between re-triggered alerts. Format: int64 | false |
Where notifications should be sent to.
| Name | Type | Description | Required |
|---|---|---|---|
| destinations | []object | Do not use.
Deprecated: This field is deprecated and will be removed in a future version. | false |
| groupByKeys | []string | Group notification by these keys. | false |
| router | object | The router for notifications (Notification Center feature) where to route notifications to. | false |
| webhooks | []object | Webhooks to trigger for notifications. | false |
| Name | Type | Description | Required |
|---|---|---|---|
| connector | object | Connector is the connector for the destination. Should be one of backendRef or resourceRef. Validations: | true |
| notifyOn | enum | When to notify. Enum: triggeredOnly, triggeredAndResolved | true |
| triggeredRoutingOverrides | object | The routing configuration to override from the connector/preset for triggered notifications. | true |
| preset | object | Preset is the preset for the destination. Should be one of backendRef or resourceRef. Validations: | false |
| resolvedRoutingOverrides | object | Optional routing configuration to override from the connector/preset for resolved notifications. | false |
| retriggeringPeriodMinutes | integer | The time in minutes before a new notification is sent for this destination. Format: int64 | false |
Connector is the connector for the destination. Should be one of backendRef or resourceRef.
| Name | Type | Description | Required |
|---|---|---|---|
| backendRef | object | BackendRef is a reference to a backend resource. | false |
| resourceRef | object | ResourceRef is a reference to a Kubernetes resource. | false |
BackendRef is a reference to a backend resource.
| Name | Type | Description | Required |
|---|---|---|---|
| id | string | true |
ResourceRef is a reference to a Kubernetes resource.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Name of the resource. | true |
| namespace | string | Kubernetes namespace. | false |
The routing configuration to override from the connector/preset for triggered notifications.
| Name | Type | Description | Required |
|---|---|---|---|
| configOverrides | object | false |
| Name | Type | Description | Required |
|---|---|---|---|
| payloadType | string | The ID of the output schema to use for routing notifications | true |
| connectorConfigFields | []object | Connector configuration fields. | false |
| messageConfigFields | []object | Notification message configuration fields. | false |
| Name | Type | Description | Required |
|---|---|---|---|
| fieldName | string | The name of the configuration field. | true |
| template | string | The template for the configuration field. | true |
| Name | Type | Description | Required |
|---|---|---|---|
| fieldName | string | The name of the configuration field. | true |
| template | string | The template for the configuration field. | true |
Preset is the preset for the destination. Should be one of backendRef or resourceRef.
| Name | Type | Description | Required |
|---|---|---|---|
| backendRef | object | BackendRef is a reference to a backend resource. | false |
| resourceRef | object | ResourceRef is a reference to a Kubernetes resource. | false |
BackendRef is a reference to a backend resource.
| Name | Type | Description | Required |
|---|---|---|---|
| id | string | true |
ResourceRef is a reference to a Kubernetes resource.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Name of the resource. | true |
| namespace | string | Kubernetes namespace. | false |
Optional routing configuration to override from the connector/preset for resolved notifications.
| Name | Type | Description | Required |
|---|---|---|---|
| configOverrides | object | false |
| Name | Type | Description | Required |
|---|---|---|---|
| payloadType | string | The ID of the output schema to use for routing notifications | true |
| connectorConfigFields | []object | Connector configuration fields. | false |
| messageConfigFields | []object | Notification message configuration fields. | false |
| Name | Type | Description | Required |
|---|---|---|---|
| fieldName | string | The name of the configuration field. | true |
| template | string | The template for the configuration field. | true |
| Name | Type | Description | Required |
|---|---|---|---|
| fieldName | string | The name of the configuration field. | true |
| template | string | The template for the configuration field. | true |
The router for notifications (Notification Center feature) where to route notifications to.
| Name | Type | Description | Required |
|---|---|---|---|
| notifyOn | enum | When to notify. Enum: triggeredOnly, triggeredAndResolved | true |
| mode | enum | How the router is chosen. Enum: default, routingLabels | false |
Settings for a notification webhook.
| Name | Type | Description | Required |
|---|---|---|---|
| integration | object | Type and spec of webhook. Validations: | true |
| notifyOn | enum | When to notify. Enum: triggeredOnly, triggeredAndResolved | true |
| retriggeringPeriod | object | When to re-trigger. | true |
Type and spec of webhook.
| Name | Type | Description | Required |
|---|---|---|---|
| integrationRef | object | Reference to the webhook. Validations: | false |
| recipients | []string | Recipients for the notification. | false |
Reference to the webhook.
| Name | Type | Description | Required |
|---|---|---|---|
| backendRef | object | Backend reference for the outbound webhook. Validations: | false |
| resourceRef | object | Resource reference for use with the alert notification. | false |
Backend reference for the outbound webhook.
| Name | Type | Description | Required |
|---|---|---|---|
| id | integer | Webhook ID. Format: int64 | false |
| name | string | Name of the webhook. | false |
Resource reference for use with the alert notification.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Name of the resource. | true |
| namespace | string | Kubernetes namespace. | false |
When to re-trigger.
| Name | Type | Description | Required |
|---|---|---|---|
| minutes | integer | Delay between re-triggered alerts. Format: int64 | false |
Notification group to use for alert notifications.
| Name | Type | Description | Required |
|---|---|---|---|
| destinations | []object | Do not use.
Deprecated: This field is deprecated and will be removed in a future version. | false |
| groupByKeys | []string | Group notification by these keys. | false |
| router | object | The router for notifications (Notification Center feature) where to route notifications to. | false |
| webhooks | []object | Webhooks to trigger for notifications. | false |
| Name | Type | Description | Required |
|---|---|---|---|
| connector | object | Connector is the connector for the destination. Should be one of backendRef or resourceRef. Validations: | true |
| notifyOn | enum | When to notify. Enum: triggeredOnly, triggeredAndResolved | true |
| triggeredRoutingOverrides | object | The routing configuration to override from the connector/preset for triggered notifications. | true |
| preset | object | Preset is the preset for the destination. Should be one of backendRef or resourceRef. Validations: | false |
| resolvedRoutingOverrides | object | Optional routing configuration to override from the connector/preset for resolved notifications. | false |
| retriggeringPeriodMinutes | integer | The time in minutes before a new notification is sent for this destination. Format: int64 | false |
Connector is the connector for the destination. Should be one of backendRef or resourceRef.
| Name | Type | Description | Required |
|---|---|---|---|
| backendRef | object | BackendRef is a reference to a backend resource. | false |
| resourceRef | object | ResourceRef is a reference to a Kubernetes resource. | false |
BackendRef is a reference to a backend resource.
| Name | Type | Description | Required |
|---|---|---|---|
| id | string | true |
ResourceRef is a reference to a Kubernetes resource.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Name of the resource. | true |
| namespace | string | Kubernetes namespace. | false |
The routing configuration to override from the connector/preset for triggered notifications.
| Name | Type | Description | Required |
|---|---|---|---|
| configOverrides | object | false |
| Name | Type | Description | Required |
|---|---|---|---|
| payloadType | string | The ID of the output schema to use for routing notifications | true |
| connectorConfigFields | []object | Connector configuration fields. | false |
| messageConfigFields | []object | Notification message configuration fields. | false |
| Name | Type | Description | Required |
|---|---|---|---|
| fieldName | string | The name of the configuration field. | true |
| template | string | The template for the configuration field. | true |
| Name | Type | Description | Required |
|---|---|---|---|
| fieldName | string | The name of the configuration field. | true |
| template | string | The template for the configuration field. | true |
Preset is the preset for the destination. Should be one of backendRef or resourceRef.
| Name | Type | Description | Required |
|---|---|---|---|
| backendRef | object | BackendRef is a reference to a backend resource. | false |
| resourceRef | object | ResourceRef is a reference to a Kubernetes resource. | false |
BackendRef is a reference to a backend resource.
| Name | Type | Description | Required |
|---|---|---|---|
| id | string | true |
ResourceRef is a reference to a Kubernetes resource.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Name of the resource. | true |
| namespace | string | Kubernetes namespace. | false |
Optional routing configuration to override from the connector/preset for resolved notifications.
| Name | Type | Description | Required |
|---|---|---|---|
| configOverrides | object | false |
| Name | Type | Description | Required |
|---|---|---|---|
| payloadType | string | The ID of the output schema to use for routing notifications | true |
| connectorConfigFields | []object | Connector configuration fields. | false |
| messageConfigFields | []object | Notification message configuration fields. | false |
| Name | Type | Description | Required |
|---|---|---|---|
| fieldName | string | The name of the configuration field. | true |
| template | string | The template for the configuration field. | true |
| Name | Type | Description | Required |
|---|---|---|---|
| fieldName | string | The name of the configuration field. | true |
| template | string | The template for the configuration field. | true |
The router for notifications (Notification Center feature) where to route notifications to.
| Name | Type | Description | Required |
|---|---|---|---|
| notifyOn | enum | When to notify. Enum: triggeredOnly, triggeredAndResolved | true |
| mode | enum | How the router is chosen. Enum: default, routingLabels | false |
Settings for a notification webhook.
| Name | Type | Description | Required |
|---|---|---|---|
| integration | object | Type and spec of webhook. Validations: | true |
| notifyOn | enum | When to notify. Enum: triggeredOnly, triggeredAndResolved | true |
| retriggeringPeriod | object | When to re-trigger. | true |
Type and spec of webhook.
| Name | Type | Description | Required |
|---|---|---|---|
| integrationRef | object | Reference to the webhook. Validations: | false |
| recipients | []string | Recipients for the notification. | false |
Reference to the webhook.
| Name | Type | Description | Required |
|---|---|---|---|
| backendRef | object | Backend reference for the outbound webhook. Validations: | false |
| resourceRef | object | Resource reference for use with the alert notification. | false |
Backend reference for the outbound webhook.
| Name | Type | Description | Required |
|---|---|---|---|
| id | integer | Webhook ID. Format: int64 | false |
| name | string | Name of the webhook. | false |
Resource reference for use with the alert notification.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Name of the resource. | true |
| namespace | string | Kubernetes namespace. | false |
When to re-trigger.
| Name | Type | Description | Required |
|---|---|---|---|
| minutes | integer | Delay between re-triggered alerts. Format: int64 | false |
Alert activity schedule. Will be activated all the time if not specified.
| Name | Type | Description | Required |
|---|---|---|---|
| timeZone | string | Time zone. Default: UTC+00 | true |
| activeOn | object | Schedule to have the alert active. | false |
Schedule to have the alert active.
| Name | Type | Description | Required |
|---|---|---|---|
| dayOfWeek | []enum | Enum: sunday, monday, tuesday, wednesday, thursday, friday, saturday | true |
| endTime | string | Time of day. Default: 23:59 | false |
| startTime | string | Time of day. Default: 00:00 | false |
AlertSetStatus defines the observed state of an AlertSet.
| Name | Type | Description | Required |
|---|---|---|---|
| alerts | []object | Alerts contains the observed state of each managed alert. | false |
| conditions | []object | false | |
| printableStatus | string | false |
AlertSetItemStatus defines the observed state of one alert.
| Name | Type | Description | Required |
|---|---|---|---|
| key | string | Key is the stable identity of the alert in this AlertSet. | true |
| accessPolicyManaged | boolean | Deprecated: no longer set or read. Operator 2.17.0 set it while an access policy was applied, to avoid
recreating the alert on a not-found response. The API answers a policy denial with 403, not 404, so the
operator now recreates a deleted alert regardless. A value written by 2.17.0 may remain and has no effect. | false |
| id | string | ID is the remote Coralogix alert ID. | false |
| message | string | Message describes the latest synchronization failure. | false |
| state | enum | State is the latest synchronization state. Enum: Pending, Synced, Failed, Deleting | false |
Condition contains details for one aspect of the current state of this API Resource.
| Name | Type | Description | Required |
|---|---|---|---|
| lastTransitionTime | string | lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. Format: date-time | true |
| message | string | message is a human readable message indicating details about the transition.
This may be an empty string. | true |
| reason | string | reason contains a programmatic identifier indicating the reason for the condition's last transition.
Producers of specific condition types may define expected values and meanings for this field,
and whether the values are considered a guaranteed API.
The value should be a CamelCase string.
This field may not be empty. | true |
| status | enum | status of the condition, one of True, False, Unknown. Enum: True, False, Unknown | true |
| type | string | type of condition in CamelCase or in foo.example.com/CamelCase. | true |
| observedGeneration | integer | observedGeneration represents the .metadata.generation that the condition was set based upon.
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
with respect to the current state of the instance. Format: int64 | false |
Samples:
ApiKey is the Schema for the ApiKeys API. See also https://coralogix.com/docs/user-guides/account-management/api-keys/api-keys/
Added in v0.4.0
| Name | Type | Description | Required |
|---|---|---|---|
| apiVersion | string | coralogix.com/v1alpha1 | true |
| kind | string | ApiKey | true |
| metadata | object | Refer to the Kubernetes API documentation for the fields of the metadata field. | true |
| spec | object | ApiKeySpec defines the desired state of a Coralogix ApiKey. Validations: | false |
| status | object | ApiKeyStatus defines the observed state of ApiKey. | false |
ApiKeySpec defines the desired state of a Coralogix ApiKey.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Name of the ApiKey | true |
| owner | object | Owner of the ApiKey. Validations: | true |
| accessPolicy | string | JSON string representing the access policy for this API key. Defines granular permissions for users and groups. | false |
| active | boolean | Whether the ApiKey Is active. Default: true | false |
| permissions | []string | Permissions of the ApiKey | false |
| presets | []string | Permission Presets that the ApiKey uses. | false |
Owner of the ApiKey.
| Name | Type | Description | Required |
|---|---|---|---|
| teamId | integer | Team that owns the key. Format: int32 | false |
| userId | string | User that owns the key. | false |
ApiKeyStatus defines the observed state of ApiKey.
| Name | Type | Description | Required |
|---|---|---|---|
| conditions | []object | false | |
| id | string | false | |
| printableStatus | string | false |
Condition contains details for one aspect of the current state of this API Resource.
| Name | Type | Description | Required |
|---|---|---|---|
| lastTransitionTime | string | lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. Format: date-time | true |
| message | string | message is a human readable message indicating details about the transition.
This may be an empty string. | true |
| reason | string | reason contains a programmatic identifier indicating the reason for the condition's last transition.
Producers of specific condition types may define expected values and meanings for this field,
and whether the values are considered a guaranteed API.
The value should be a CamelCase string.
This field may not be empty. | true |
| status | enum | status of the condition, one of True, False, Unknown. Enum: True, False, Unknown | true |
| type | string | type of condition in CamelCase or in foo.example.com/CamelCase. | true |
| observedGeneration | integer | observedGeneration represents the .metadata.generation that the condition was set based upon.
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
with respect to the current state of the instance. Format: int64 | false |
Samples:
ArchiveLogsTarget is the Schema for the archivelogstargets API.
| Name | Type | Description | Required |
|---|---|---|---|
| apiVersion | string | coralogix.com/v1alpha1 | true |
| kind | string | ArchiveLogsTarget | true |
| metadata | object | Refer to the Kubernetes API documentation for the fields of the metadata field. | true |
| spec | object | ArchiveLogsTargetSpec defines the desired state of a ArchiveLogsTarget. Validations: | false |
| status | object | ArchiveLogsTargetStatus defines the observed state of a ArchiveLogsTarget. | false |
ArchiveLogsTargetSpec defines the desired state of a ArchiveLogsTarget.
| Name | Type | Description | Required |
|---|---|---|---|
| format | enum | Target format. Enum: cxDataV1 | false |
| ibmCosTarget | object | IbmCosTarget is an IBM Cloud Object Storage target. | false |
| isActive | boolean | Whether archiving to this target is active. Default: true | false |
| s3Target | object | This data structure represents an S3 target. | false |
IbmCosTarget is an IBM Cloud Object Storage target.
| Name | Type | Description | Required |
|---|---|---|---|
| bucketCrn | string | BucketCrn is the CRN of the IBM COS bucket. | false |
| bucketType | enum | BucketType defines the type of the bucket. Enum: UNSPECIFIED, EXTERNAL, INTERNAL | false |
| endpoint | string | Endpoint is the endpoint URL for the IBM COS service. | false |
| serviceCrn | string | ServiceCrn is the CRN of the service instance. | false |
This data structure represents an S3 target.
| Name | Type | Description | Required |
|---|---|---|---|
| bucketName | string | Bucket name. | false |
| externalId | string | External identifier. | false |
| region | string | Region. | false |
| roleArn | string | The role arn. | false |
ArchiveLogsTargetStatus defines the observed state of a ArchiveLogsTarget.
| Name | Type | Description | Required |
|---|---|---|---|
| conditions | []object | false | |
| id | string | false | |
| printableStatus | string | false | |
| retentionsActivated | boolean | false |
Condition contains details for one aspect of the current state of this API Resource.
| Name | Type | Description | Required |
|---|---|---|---|
| lastTransitionTime | string | lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. Format: date-time | true |
| message | string | message is a human readable message indicating details about the transition.
This may be an empty string. | true |
| reason | string | reason contains a programmatic identifier indicating the reason for the condition's last transition.
Producers of specific condition types may define expected values and meanings for this field,
and whether the values are considered a guaranteed API.
The value should be a CamelCase string.
This field may not be empty. | true |
| status | enum | status of the condition, one of True, False, Unknown. Enum: True, False, Unknown | true |
| type | string | type of condition in CamelCase or in foo.example.com/CamelCase. | true |
| observedGeneration | integer | observedGeneration represents the .metadata.generation that the condition was set based upon.
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
with respect to the current state of the instance. Format: int64 | false |
Samples:
ArchiveLogsTarget is the Schema for the archive logs targets API. See also https://coralogix.com/docs/archive-s3-bucket-forever
Added in v0.5.0
| Name | Type | Description | Required |
|---|---|---|---|
| apiVersion | string | coralogix.com/v1alpha1 | true |
| kind | string | ArchiveMetricsTarget | true |
| metadata | object | Refer to the Kubernetes API documentation for the fields of the metadata field. | true |
| spec | object | ArchiveMetricsTargetSpec defines the desired state of a Coralogix archive logs target. | false |
| status | object | false |
ArchiveMetricsTargetSpec defines the desired state of a Coralogix archive logs target.
| Name | Type | Description | Required |
|---|---|---|---|
| resolutionPolicy | object | The resolution policy for the metrics. | false |
| retentionDays | integer | The retention days for the metrics. Format: int64 | false |
| s3Target | object | The S3 target configuration. | false |
The resolution policy for the metrics.
| Name | Type | Description | Required |
|---|---|---|---|
| fiveMinutesResolution | integer | Format: int64 | false |
| oneHourResolution | integer | Format: int64 | false |
| rawResolution | integer | Format: int64 | false |
The S3 target configuration.
| Name | Type | Description | Required |
|---|---|---|---|
| bucketName | string | false | |
| region | string | The region of the S3 bucket. | false |
| Name | Type | Description | Required |
|---|---|---|---|
| conditions | []object | false | |
| id | string | ID is the identifier of the archive metrics target. | false |
| printableStatus | string | false |
Condition contains details for one aspect of the current state of this API Resource.
| Name | Type | Description | Required |
|---|---|---|---|
| lastTransitionTime | string | lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. Format: date-time | true |
| message | string | message is a human readable message indicating details about the transition.
This may be an empty string. | true |
| reason | string | reason contains a programmatic identifier indicating the reason for the condition's last transition.
Producers of specific condition types may define expected values and meanings for this field,
and whether the values are considered a guaranteed API.
The value should be a CamelCase string.
This field may not be empty. | true |
| status | enum | status of the condition, one of True, False, Unknown. Enum: True, False, Unknown | true |
| type | string | type of condition in CamelCase or in foo.example.com/CamelCase. | true |
| observedGeneration | integer | observedGeneration represents the .metadata.generation that the condition was set based upon.
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
with respect to the current state of the instance. Format: int64 | false |
Samples:
ConfigurationGroup is the Schema for the configurationgroups API.
| Name | Type | Description | Required |
|---|---|---|---|
| apiVersion | string | coralogix.com/v1alpha1 | true |
| kind | string | ConfigurationGroup | true |
| metadata | object | Refer to the Kubernetes API documentation for the fields of the metadata field. | true |
| spec | object | ConfigurationGroupSpec defines the desired state of a ConfigurationGroup. | false |
| status | object | ConfigurationGroupStatus defines the observed state of a ConfigurationGroup. | false |
ConfigurationGroupSpec defines the desired state of a ConfigurationGroup.
| Name | Type | Description | Required |
|---|---|---|---|
| family | object | Latest configuration family of the group. Validations: | true |
| name | string | Display name shown in Fleet Management, unique among the team's configuration groups. | true |
| description | string | Description of the group's purpose. | false |
| priorityOrder | integer | Selection priority when multiple configurations match an agent. Higher values take precedence. Format: int32 | false |
| tags | []string | Tags for organizing the group. Tags do not select agents. | false |
Latest configuration family of the group.
| Name | Type | Description | Required |
|---|---|---|---|
| active | boolean | Whether this family is eligible for delivery to matching agents. This is not confirmation that an agent has applied it. | false |
| description | string | Human-readable description. | false |
| preset | object | Configuration template settings; present when the family has a chartName and observability features. | false |
| raw | object | Inputs of a configuration family defined directly by its remote configurations; present when the family has no chartName. | false |
Configuration template settings; present when the family has a chartName and observability features.
| Name | Type | Description | Required |
|---|---|---|---|
| chartName | enum | Configuration template type: CHART_NAME_OTEL_INTEGRATION for Kubernetes, CHART_NAME_OTEL_ECS_EC2 for ECS on EC2, or CHART_NAME_OTEL_LINUX_STANDALONE, CHART_NAME_OTEL_WINDOWS_STANDALONE, or CHART_NAME_OTEL_MACOS_STANDALONE for hosts. Enum: CHART_NAME_OTEL_INTEGRATION, CHART_NAME_OTEL_LINUX_STANDALONE, CHART_NAME_OTEL_WINDOWS_STANDALONE, CHART_NAME_OTEL_MACOS_STANDALONE, CHART_NAME_OTEL_ECS_EC2 | true |
| chartVersion | string | Configuration template version. It determines the OTel Collector version, the generated collector configuration, and which integrationVersion values are supported. Unsupported versions are rejected. | true |
| observabilityFeatures | string | Observability feature settings for the configuration template, as a JSON object string; the available features depend on chartName and integrationVersion. Example: | true |
| integrationVersion | string | Version of the observability features format used for this configuration family. | false |
| metadata | map[string]string | Environment setup values for the configuration template, such as ClusterName, KubernetesRunningOn, ApplicationName, or SubsystemName. Example: Validations: | false |
Inputs of a configuration family defined directly by its remote configurations; present when the family has no chartName.
| Name | Type | Description | Required |
|---|---|---|---|
| remoteConfigurations | []object | Remote configurations of this configuration family. | true |
| collectorVersion | string | Collector semantic version targeted by this family. This is separate from the family version and the Supervisor image tag. | false |
| metadata | map[string]string | Metadata stored with this configuration family. Example: Validations: | false |
ConfigurationGroupRemoteConfiguration is the RemoteConfiguration object of the API.
| Name | Type | Description | Required |
|---|---|---|---|
| rawConfiguration | string | Collector YAML sent to matching agents. | true |
| agentSelector | object | Flat agent attributes that match agents for this configuration. | false |
| name | string | Remote configuration name. | false |
Flat agent attributes that match agents for this configuration.
| Name | Type | Description | Required |
|---|---|---|---|
| attributes | map[string]string | Attributes of the stored selector. A remote configuration saved with an omitted or empty selector is returned without agentSelector, so the empty match-all selection is preserved; attributes are not expanded to the currently matched agents. Example: | false |
ConfigurationGroupStatus defines the observed state of a ConfigurationGroup.
| Name | Type | Description | Required |
|---|---|---|---|
| conditions | []object | false | |
| id | string | false | |
| printableStatus | string | false |
Condition contains details for one aspect of the current state of this API Resource.
| Name | Type | Description | Required |
|---|---|---|---|
| lastTransitionTime | string | lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. Format: date-time | true |
| message | string | message is a human readable message indicating details about the transition.
This may be an empty string. | true |
| reason | string | reason contains a programmatic identifier indicating the reason for the condition's last transition.
Producers of specific condition types may define expected values and meanings for this field,
and whether the values are considered a guaranteed API.
The value should be a CamelCase string.
This field may not be empty. | true |
| status | enum | status of the condition, one of True, False, Unknown. Enum: True, False, Unknown | true |
| type | string | type of condition in CamelCase or in foo.example.com/CamelCase. | true |
| observedGeneration | integer | observedGeneration represents the .metadata.generation that the condition was set based upon.
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
with respect to the current state of the instance. Format: int64 | false |
Samples:
- email.yaml
- eventbridge.yaml
- generic-https.yaml
- incident-io.yaml
- microsoft-teams.yaml
- pager-duty-incidents.yaml
- pager-duty-with-secret.yaml
- pager-duty.yaml
- service-now.yaml
- slack.yaml
Connector is the Schema for the connectors API.
Added in v0.4.0 NOTE: This CRD exposes a new feature and may have breaking changes in future releases.
| Name | Type | Description | Required |
|---|---|---|---|
| apiVersion | string | coralogix.com/v1alpha1 | true |
| kind | string | Connector | true |
| metadata | object | Refer to the Kubernetes API documentation for the fields of the metadata field. | true |
| spec | object | ConnectorSpec defines the desired state of Connector.
See also https://coralogix.com/docs/user-guides/notification-center/introduction/connectors-explained/ | false |
| status | object | ConnectorStatus defines the observed state of Connector. | false |
ConnectorSpec defines the desired state of Connector. See also https://coralogix.com/docs/user-guides/notification-center/introduction/connectors-explained/
| Name | Type | Description | Required |
|---|---|---|---|
| connectorConfig | object | ConnectorConfig is the configuration of the connector. | true |
| description | string | Description is the description of the connector. | true |
| name | string | Name is the name of the connector. | true |
| type | enum | Type is the type of the connector. Can be one of slack, genericHttps, pagerDuty, pagerDutyIncidents, email, serviceNow, microsoftTeams, eventBridge, or incidentIo (preview). Enum: slack, genericHttps, pagerDuty, pagerDutyIncidents, email, serviceNow, microsoftTeams, eventBridge, incidentIo | true |
| configOverrides | []object | ConfigOverrides are the entity type config overrides for the connector. | false |
ConnectorConfig is the configuration of the connector.
| Name | Type | Description | Required |
|---|---|---|---|
| fields | []object | Fields are the fields of the connector config. | true |
ConnectorConfigField defines a field in the connector configuration.
| Name | Type | Description | Required |
|---|---|---|---|
| fieldName | string | FieldName is the name of the field. e.g. "channel" for slack. | true |
| secretKeyRef | object | SecretKeyRef is a reference to a secret key containing the field value.
Use this for sensitive data like API keys, integration keys, or tokens.
Conflicts with Value. | false |
| value | string | Value is the literal value of the field. Conflicts with SecretKeyRef. | false |
SecretKeyRef is a reference to a secret key containing the field value. Use this for sensitive data like API keys, integration keys, or tokens. Conflicts with Value.
| Name | Type | Description | Required |
|---|---|---|---|
| key | string | The key of the secret to select from. Must be a valid secret key. | true |
| name | string | Name of the referent.
This field is effectively required, but due to backwards compatibility is
allowed to be empty. Instances of this type with an empty value here are
almost certainly wrong.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names Default: | false |
| optional | boolean | Specify whether the Secret or its key must be defined | false |
| Name | Type | Description | Required |
|---|---|---|---|
| entityType | enum | EntityType is the entity type for the config override. Can be one of alerts or cases. Enum: alerts, cases | true |
| fields | []object | Fields are the templated fields for the config override. | false |
| Name | Type | Description | Required |
|---|---|---|---|
| fieldName | string | FieldName is the name of the field. e.g. "channel" for slack. | true |
| template | string | Template is the template for the field. | true |
ConnectorStatus defines the observed state of Connector.
| Name | Type | Description | Required |
|---|---|---|---|
| conditions | []object | false | |
| id | string | false | |
| printableStatus | string | false |
Condition contains details for one aspect of the current state of this API Resource.
| Name | Type | Description | Required |
|---|---|---|---|
| lastTransitionTime | string | lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. Format: date-time | true |
| message | string | message is a human readable message indicating details about the transition.
This may be an empty string. | true |
| reason | string | reason contains a programmatic identifier indicating the reason for the condition's last transition.
Producers of specific condition types may define expected values and meanings for this field,
and whether the values are considered a guaranteed API.
The value should be a CamelCase string.
This field may not be empty. | true |
| status | enum | status of the condition, one of True, False, Unknown. Enum: True, False, Unknown | true |
| type | string | type of condition in CamelCase or in foo.example.com/CamelCase. | true |
| observedGeneration | integer | observedGeneration represents the .metadata.generation that the condition was set based upon.
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
with respect to the current state of the instance. Format: int64 | false |
Samples:
CustomEnrichment is the Schema for the customenrichments API. See also https://coralogix.com/docs/user-guides/data-transformation/enrichments/custom-enrichment/#configuration.
| Name | Type | Description | Required |
|---|---|---|---|
| apiVersion | string | coralogix.com/v1alpha1 | true |
| kind | string | CustomEnrichment | true |
| metadata | object | Refer to the Kubernetes API documentation for the fields of the metadata field. | true |
| spec | object | CustomEnrichmentSpec defines the desired state of CustomEnrichment. Validations: | false |
| status | object | CustomEnrichmentStatus defines the observed state of CustomEnrichment. | false |
CustomEnrichmentSpec defines the desired state of CustomEnrichment.
| Name | Type | Description | Required |
|---|---|---|---|
| description | string | The description of the custom enrichment. | true |
| name | string | The name of the custom enrichment. | true |
| configMapRef | object | Reference to a ConfigMap that contains the CSV data. Conflicts with CSV. | false |
| csv | string | Inline CSV data. Conflicts with ConfigMapRef. | false |
Reference to a ConfigMap that contains the CSV data. Conflicts with CSV.
| Name | Type | Description | Required |
|---|---|---|---|
| key | string | The key to select. | true |
| name | string | Name of the referent.
This field is effectively required, but due to backwards compatibility is
allowed to be empty. Instances of this type with an empty value here are
almost certainly wrong.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names Default: | false |
| optional | boolean | Specify whether the ConfigMap or its key must be defined | false |
CustomEnrichmentStatus defines the observed state of CustomEnrichment.
| Name | Type | Description | Required |
|---|---|---|---|
| conditions | []object | false | |
| id | string | false | |
| printableStatus | string | false |
Condition contains details for one aspect of the current state of this API Resource.
| Name | Type | Description | Required |
|---|---|---|---|
| lastTransitionTime | string | lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. Format: date-time | true |
| message | string | message is a human readable message indicating details about the transition.
This may be an empty string. | true |
| reason | string | reason contains a programmatic identifier indicating the reason for the condition's last transition.
Producers of specific condition types may define expected values and meanings for this field,
and whether the values are considered a guaranteed API.
The value should be a CamelCase string.
This field may not be empty. | true |
| status | enum | status of the condition, one of True, False, Unknown. Enum: True, False, Unknown | true |
| type | string | type of condition in CamelCase or in foo.example.com/CamelCase. | true |
| observedGeneration | integer | observedGeneration represents the .metadata.generation that the condition was set based upon.
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
with respect to the current state of the instance. Format: int64 | false |
Samples:
CustomRole is the Schema for the customroles API.
| Name | Type | Description | Required |
|---|---|---|---|
| apiVersion | string | coralogix.com/v1alpha1 | true |
| kind | string | CustomRole | true |
| metadata | object | Refer to the Kubernetes API documentation for the fields of the metadata field. | true |
| spec | object | CustomRoleSpec defines the desired state of a CustomRole. | false |
| status | object | CustomRoleStatus defines the observed state of a CustomRole. | false |
CustomRoleSpec defines the desired state of a CustomRole.
| Name | Type | Description | Required |
|---|---|---|---|
| description | string | Human-readable description. | true |
| name | string | Display name. Unique in the team: the create and update operations answer 409 for a name that another role of the team has. | true |
| parentRoleName | string | The parent role name. | true |
| permissions | []string | List of permissions. The get operation returns the permissions that the role owns, in the case that they were written in. The list operation returns them together with the permissions of the parent role. | true |
CustomRoleStatus defines the observed state of a CustomRole.
| Name | Type | Description | Required |
|---|---|---|---|
| conditions | []object | false | |
| id | string | false | |
| printableStatus | string | false |
Condition contains details for one aspect of the current state of this API Resource.
| Name | Type | Description | Required |
|---|---|---|---|
| lastTransitionTime | string | lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. Format: date-time | true |
| message | string | message is a human readable message indicating details about the transition.
This may be an empty string. | true |
| reason | string | reason contains a programmatic identifier indicating the reason for the condition's last transition.
Producers of specific condition types may define expected values and meanings for this field,
and whether the values are considered a guaranteed API.
The value should be a CamelCase string.
This field may not be empty. | true |
| status | enum | status of the condition, one of True, False, Unknown. Enum: True, False, Unknown | true |
| type | string | type of condition in CamelCase or in foo.example.com/CamelCase. | true |
| observedGeneration | integer | observedGeneration represents the .metadata.generation that the condition was set based upon.
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
with respect to the current state of the instance. Format: int64 | false |
Samples:
Dashboard is the Schema for the dashboards API.
| Name | Type | Description | Required |
|---|---|---|---|
| apiVersion | string | coralogix.com/v1alpha1 | true |
| kind | string | Dashboard | true |
| metadata | object | Refer to the Kubernetes API documentation for the fields of the metadata field. | true |
| spec | object | DashboardSpec defines the desired state of a Dashboard. Validations: | false |
| status | object | DashboardStatus defines the observed state of a Dashboard. | false |
DashboardSpec defines the desired state of a Dashboard.
| Name | Type | Description | Required |
|---|---|---|---|
| accessPolicy | string | JSON string representing the access policy for this dashboard. Defines granular permissions for users and groups. | false |
| configMapRef | object | ConfigMapRef names the key of a ConfigMap in the namespace of the CR that holds the JSON text. | false |
| folderRef | object | DashboardFolderRef places the dashboard in a folder. It replaces the folder of the JSON content. Validations: | false |
| gzipJson | string | GzipJson is the JSON text compressed with gzip. It is base64-encoded in YAML. It wins over configMapRef. Format: byte | false |
| json | string | Json is the Dashboard as JSON text. It wins over gzipJson and configMapRef. | false |
ConfigMapRef names the key of a ConfigMap in the namespace of the CR that holds the JSON text.
| Name | Type | Description | Required |
|---|---|---|---|
| key | string | The key to select. | true |
| name | string | Name of the referent.
This field is effectively required, but due to backwards compatibility is
allowed to be empty. Instances of this type with an empty value here are
almost certainly wrong.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names Default: | false |
| optional | boolean | Specify whether the ConfigMap or its key must be defined | false |
DashboardFolderRef places the dashboard in a folder. It replaces the folder of the JSON content.
| Name | Type | Description | Required |
|---|---|---|---|
| backendRef | object | Validations: | false |
| resourceRef | object | Reference to a Coralogix resource within the cluster. | false |
| Name | Type | Description | Required |
|---|---|---|---|
| id | string | Reference to a folder by its backend's ID. | false |
| path | string | Reference to a folder by its path (<parent-folder-name-1>/<parent-folder-name-2>/<folder-name>). | false |
Reference to a Coralogix resource within the cluster.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Name of the resource (not id). | true |
| namespace | string | Kubernetes namespace. | false |
DashboardStatus defines the observed state of a Dashboard.
| Name | Type | Description | Required |
|---|---|---|---|
| conditions | []object | false | |
| id | string | false | |
| imported | boolean | false | |
| printableStatus | string | false |
Condition contains details for one aspect of the current state of this API Resource.
| Name | Type | Description | Required |
|---|---|---|---|
| lastTransitionTime | string | lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. Format: date-time | true |
| message | string | message is a human readable message indicating details about the transition.
This may be an empty string. | true |
| reason | string | reason contains a programmatic identifier indicating the reason for the condition's last transition.
Producers of specific condition types may define expected values and meanings for this field,
and whether the values are considered a guaranteed API.
The value should be a CamelCase string.
This field may not be empty. | true |
| status | enum | status of the condition, one of True, False, Unknown. Enum: True, False, Unknown | true |
| type | string | type of condition in CamelCase or in foo.example.com/CamelCase. | true |
| observedGeneration | integer | observedGeneration represents the .metadata.generation that the condition was set based upon.
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
with respect to the current state of the instance. Format: int64 | false |
Samples:
DashboardsFolder is the Schema for the dashboardsfolders API.
| Name | Type | Description | Required |
|---|---|---|---|
| apiVersion | string | coralogix.com/v1alpha1 | true |
| kind | string | DashboardsFolder | true |
| metadata | object | Refer to the Kubernetes API documentation for the fields of the metadata field. | true |
| spec | object | DashboardsFolderSpec defines the desired state of a DashboardsFolder. Validations: | false |
| status | object | DashboardsFolderStatus defines the observed state of a DashboardsFolder. | false |
DashboardsFolderSpec defines the desired state of a DashboardsFolder.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Display name. The service rejects a folder without a name, with an empty name, or with a name longer than 100 characters. Folder names are unique in the company. | true |
| customId | string | Unique identifier. A UUID. Validations: | false |
| parentFolderId | string | The parent id. A UUID that must differ from this folder's own id.
It holds the backend id of a DashboardsFolder. | false |
| parentFolderRef | object | It refers to a DashboardsFolder custom resource. | false |
It refers to a DashboardsFolder custom resource.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Name of the resource (not id). | true |
| namespace | string | Kubernetes namespace. | false |
DashboardsFolderStatus defines the observed state of a DashboardsFolder.
| Name | Type | Description | Required |
|---|---|---|---|
| conditions | []object | false | |
| id | string | false | |
| printableStatus | string | false |
Condition contains details for one aspect of the current state of this API Resource.
| Name | Type | Description | Required |
|---|---|---|---|
| lastTransitionTime | string | lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. Format: date-time | true |
| message | string | message is a human readable message indicating details about the transition.
This may be an empty string. | true |
| reason | string | reason contains a programmatic identifier indicating the reason for the condition's last transition.
Producers of specific condition types may define expected values and meanings for this field,
and whether the values are considered a guaranteed API.
The value should be a CamelCase string.
This field may not be empty. | true |
| status | enum | status of the condition, one of True, False, Unknown. Enum: True, False, Unknown | true |
| type | string | type of condition in CamelCase or in foo.example.com/CamelCase. | true |
| observedGeneration | integer | observedGeneration represents the .metadata.generation that the condition was set based upon.
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
with respect to the current state of the instance. Format: int64 | false |
Samples:
Enrichment is the Schema for the enrichments API. Will overwrite the existing enrichments on the Coralogix side, so it should contain all enrichments that should be applied, not just the new ones. See also https://coralogix.com/docs/user-guides/data-transformation/enrichments/custom-enrichment/#configuration.
| Name | Type | Description | Required |
|---|---|---|---|
| apiVersion | string | coralogix.com/v1alpha1 | true |
| kind | string | Enrichment | true |
| metadata | object | Refer to the Kubernetes API documentation for the fields of the metadata field. | true |
| spec | object | EnrichmentSpec defines the desired state of Enrichment. | false |
| status | object | EnrichmentStatus defines the observed state of Enrichment. | false |
EnrichmentSpec defines the desired state of Enrichment.
| Name | Type | Description | Required |
|---|---|---|---|
| enrichments | []object | List of enrichments to apply. Each enrichment must have exactly one of GeoIp, SuspiciousIp, Aws, or Custom set.
Will overwrite the existing enrichments on the Coralogix side,
so it should contain all enrichments that should be applied, not just the new ones. | true |
EnrichmentType must have exactly one of GeoIp, SuspiciousIp, Aws, or Custom set.
| Name | Type | Description | Required |
|---|---|---|---|
| aws | object | Coralogix allows you to enrich your logs with the data from a chosen AWS resource.
The feature enriches every log that contains a particular resourceId,
associated with the metadata of a chosen AWS resource. | false |
| custom | object | Custom Log Enrichment with Coralogix enables you to easily enrich your log data. | false |
| geoIp | object | Set of fields to enrich with geo_ip information. | false |
| suspiciousIp | object | Coralogix allows you to automatically discover threats on your web servers
by enriching your logs with the most updated IP blacklists. | false |
Coralogix allows you to enrich your logs with the data from a chosen AWS resource. The feature enriches every log that contains a particular resourceId, associated with the metadata of a chosen AWS resource.
| Name | Type | Description | Required |
|---|---|---|---|
| fieldName | string | true | |
| resourceType | string | true | |
| enrichedFieldName | string | false | |
| selectedColumns | []string | false |
Custom Log Enrichment with Coralogix enables you to easily enrich your log data.
| Name | Type | Description | Required |
|---|---|---|---|
| customEnrichmentRef | object | Validations: | true |
| fieldName | string | true | |
| enrichedFieldName | string | false | |
| selectedColumns | []string | false |
| Name | Type | Description | Required |
|---|---|---|---|
| backendRef | object | BackendRef is a reference to a CustomEnrichment in the backend. | false |
| resourceRef | object | ResourceRef is a reference to a CustomEnrichment resource in the cluster. | false |
BackendRef is a reference to a CustomEnrichment in the backend.
| Name | Type | Description | Required |
|---|---|---|---|
| id | integer | ID of the CustomEnrichment in the backend. Format: int32 | true |
ResourceRef is a reference to a CustomEnrichment resource in the cluster.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Name of the resource (not id). | true |
| namespace | string | Kubernetes namespace. | false |
Set of fields to enrich with geo_ip information.
| Name | Type | Description | Required |
|---|---|---|---|
| fieldName | string | true | |
| enrichedFieldName | string | false | |
| selectedColumns | []string | false | |
| withAsn | boolean | false |
Coralogix allows you to automatically discover threats on your web servers by enriching your logs with the most updated IP blacklists.
| Name | Type | Description | Required |
|---|---|---|---|
| fieldName | string | true | |
| enrichedFieldName | string | false | |
| selectedColumns | []string | false |
EnrichmentStatus defines the observed state of Enrichment.
| Name | Type | Description | Required |
|---|---|---|---|
| conditions | []object | false | |
| id | string | false | |
| printableStatus | string | false |
Condition contains details for one aspect of the current state of this API Resource.
| Name | Type | Description | Required |
|---|---|---|---|
| lastTransitionTime | string | lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. Format: date-time | true |
| message | string | message is a human readable message indicating details about the transition.
This may be an empty string. | true |
| reason | string | reason contains a programmatic identifier indicating the reason for the condition's last transition.
Producers of specific condition types may define expected values and meanings for this field,
and whether the values are considered a guaranteed API.
The value should be a CamelCase string.
This field may not be empty. | true |
| status | enum | status of the condition, one of True, False, Unknown. Enum: True, False, Unknown | true |
| type | string | type of condition in CamelCase or in foo.example.com/CamelCase. | true |
| observedGeneration | integer | observedGeneration represents the .metadata.generation that the condition was set based upon.
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
with respect to the current state of the instance. Format: int64 | false |
Samples:
Events2Metric is the Schema for the events2metrics API.
| Name | Type | Description | Required |
|---|---|---|---|
| apiVersion | string | coralogix.com/v1alpha1 | true |
| kind | string | Events2Metric | true |
| metadata | object | Refer to the Kubernetes API documentation for the fields of the metadata field. | true |
| spec | object | Events2MetricSpec defines the desired state of a Events2Metric. | false |
| status | object | Events2MetricStatus defines the observed state of a Events2Metric. | false |
Events2MetricSpec defines the desired state of a Events2Metric.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Human-readable name for this E2M. | true |
| query | object | Events2MetricSpecQuery holds the query fields of the released CR. Validations: | true |
| dataSource | string | Optional data source in namespace/dataset_name format. If not set, defaults to the standard logs/spans stream. | false |
| description | string | Human-readable description of this E2M. | false |
| metricFields | []object | Metric fields to extract and aggregate from the events. | false |
| metricLabels | []object | Metric labels to attach to the generated metrics. | false |
| permutationsLimit | integer | This data structure represents the limit of events2metrics permutations and if the limit was exceeded Format: int32 | false |
This data structure represents a query for logs.
| Name | Type | Description | Required |
|---|---|---|---|
| alias | string | The alias. | false |
| applicationNameFilters | []string | The applicationname filters. | false |
| lucene | string | The lucene. | false |
| severityFilters | []enum | The severity filters. Enum: debug, verbose, info, warn, error, critical | false |
| subsystemNameFilters | []string | The subsystemname filters. | false |
This data structure represents a query for spans.
| Name | Type | Description | Required |
|---|---|---|---|
| actionFilters | []string | The action filters. | false |
| applicationNameFilters | []string | The applicationname filters. | false |
| lucene | string | The lucene. | false |
| serviceFilters | []string | The service filters. | false |
| subsystemNameFilters | []string | The subsystemname filters. | false |
Events2MetricV2MetricField is the v2.MetricField object of the API.
| Name | Type | Description | Required |
|---|---|---|---|
| sourceField | string | The source field. | true |
| targetBaseMetricName | string | The target base metric name. | true |
| aggregations | []object | The aggregations. | false |
Events2MetricV2Aggregation is the v2.Aggregation object of the API.
| Name | Type | Description | Required |
|---|---|---|---|
| aggMetadata | object | Events2MetricV2AggregationAggMetadata holds the aggMetadata fields of the released CR. Validations: | true |
| aggType | enum | Agg type. Enum: min, max, count, avg, sum, histogram, samples | true |
| enabled | boolean | Whether this resource is enabled. Default: true | true |
| targetMetricName | string | Name of the target metric produced by this aggregation. | true |
e2m aggregate histogram type metadata
| Name | Type | Description | Required |
|---|---|---|---|
| buckets | []int or string | The buckets. | true |
This data structure represents the e2m aggregate samples
| Name | Type | Description | Required |
|---|---|---|---|
| sampleType | enum | Sample type. Enum: min, max | true |
Events2MetricMetricLabel is the MetricLabel object of the API.
| Name | Type | Description | Required |
|---|---|---|---|
| sourceField | string | The source field. | true |
| targetLabel | string | The target label. | true |
Events2MetricStatus defines the observed state of a Events2Metric.
| Name | Type | Description | Required |
|---|---|---|---|
| conditions | []object | false | |
| id | string | false | |
| printableStatus | string | false |
Condition contains details for one aspect of the current state of this API Resource.
| Name | Type | Description | Required |
|---|---|---|---|
| lastTransitionTime | string | lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. Format: date-time | true |
| message | string | message is a human readable message indicating details about the transition.
This may be an empty string. | true |
| reason | string | reason contains a programmatic identifier indicating the reason for the condition's last transition.
Producers of specific condition types may define expected values and meanings for this field,
and whether the values are considered a guaranteed API.
The value should be a CamelCase string.
This field may not be empty. | true |
| status | enum | status of the condition, one of True, False, Unknown. Enum: True, False, Unknown | true |
| type | string | type of condition in CamelCase or in foo.example.com/CamelCase. | true |
| observedGeneration | integer | observedGeneration represents the .metadata.generation that the condition was set based upon.
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
with respect to the current state of the instance. Format: int64 | false |
Samples:
GlobalRouter is the Schema for the globalrouters API.
| Name | Type | Description | Required |
|---|---|---|---|
| apiVersion | string | coralogix.com/v1alpha1 | true |
| kind | string | GlobalRouter | true |
| metadata | object | Refer to the Kubernetes API documentation for the fields of the metadata field. | true |
| spec | object | GlobalRouterSpec defines the desired state of a GlobalRouter. | false |
| status | object | GlobalRouterStatus defines the observed state of a GlobalRouter. | false |
GlobalRouterSpec defines the desired state of a GlobalRouter.
| Name | Type | Description | Required |
|---|---|---|---|
| description | string | Human-readable description. | true |
| name | string | Display name. | true |
| disabled | boolean | Whether the router is disabled. | false |
| entityLabels | map[string]string | The entity labels. | false |
| fallback | []object | The fallback destinations to be used if no rule matches. Deprecated: use fallbackTargets. A router cannot set both fallback and fallbackTargets. The server does not keep the order of the targets. | false |
| fallbackTargets | []object | The fallback targets. A router cannot set both fallback and fallbackTargets. The server does not keep the order of the fallback targets. | false |
| id | string | Unique identifier. | false |
| routingLabels | object | Allows to configure routing labels which are used for routers resolution. Every router needs at least one label, except the default router, whose | false |
| rules | []object | List of rules. | false |
GlobalRouterRoutingTarget is the RoutingTarget object of the API.
| Name | Type | Description | Required |
|---|---|---|---|
| connector | object | The connector id.
It refers to a Connector: by backendRef.id, or by resourceRef, a Connector custom resource. Validations: | true |
| customDetails | map[string]string | The custom details. | false |
| preset | object | The preset id.
It refers to a Preset: by backendRef.id, or by resourceRef, a Preset custom resource. Validations: | false |
The connector id. It refers to a Connector: by backendRef.id, or by resourceRef, a Connector custom resource.
| Name | Type | Description | Required |
|---|---|---|---|
| backendRef | object | BackendRef is a reference to a backend resource. | false |
| resourceRef | object | ResourceRef is a reference to a Kubernetes resource. | false |
BackendRef is a reference to a backend resource.
| Name | Type | Description | Required |
|---|---|---|---|
| id | string | true |
ResourceRef is a reference to a Kubernetes resource.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Name of the resource (not id). | true |
| namespace | string | Kubernetes namespace. | false |
The preset id. It refers to a Preset: by backendRef.id, or by resourceRef, a Preset custom resource.
| Name | Type | Description | Required |
|---|---|---|---|
| backendRef | object | BackendRef is a reference to a backend resource. | false |
| resourceRef | object | ResourceRef is a reference to a Kubernetes resource. | false |
BackendRef is a reference to a backend resource.
| Name | Type | Description | Required |
|---|---|---|---|
| id | string | true |
ResourceRef is a reference to a Kubernetes resource.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Name of the resource (not id). | true |
| namespace | string | Kubernetes namespace. | false |
GlobalRouterFallbackTarget is the FallbackTarget object of the API.
| Name | Type | Description | Required |
|---|---|---|---|
| entityType | enum | Entity type. Enum: alerts, cases | true |
| target | object | Defines routing target for notifications | true |
Defines routing target for notifications
| Name | Type | Description | Required |
|---|---|---|---|
| connector | object | The connector id.
It refers to a Connector: by backendRef.id, or by resourceRef, a Connector custom resource. Validations: | true |
| customDetails | map[string]string | The custom details. | false |
| preset | object | The preset id.
It refers to a Preset: by backendRef.id, or by resourceRef, a Preset custom resource. Validations: | false |
The connector id. It refers to a Connector: by backendRef.id, or by resourceRef, a Connector custom resource.
| Name | Type | Description | Required |
|---|---|---|---|
| backendRef | object | BackendRef is a reference to a backend resource. | false |
| resourceRef | object | ResourceRef is a reference to a Kubernetes resource. | false |
BackendRef is a reference to a backend resource.
| Name | Type | Description | Required |
|---|---|---|---|
| id | string | true |
ResourceRef is a reference to a Kubernetes resource.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Name of the resource (not id). | true |
| namespace | string | Kubernetes namespace. | false |
The preset id. It refers to a Preset: by backendRef.id, or by resourceRef, a Preset custom resource.
| Name | Type | Description | Required |
|---|---|---|---|
| backendRef | object | BackendRef is a reference to a backend resource. | false |
| resourceRef | object | ResourceRef is a reference to a Kubernetes resource. | false |
BackendRef is a reference to a backend resource.
| Name | Type | Description | Required |
|---|---|---|---|
| id | string | true |
ResourceRef is a reference to a Kubernetes resource.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Name of the resource (not id). | true |
| namespace | string | Kubernetes namespace. | false |
Allows to configure routing labels which are used for routers resolution. Every router needs at least one label, except the default router, whose id is router_default. The default router must have no labels.
| Name | Type | Description | Required |
|---|---|---|---|
| environment | string | The environment. The limit is 255 bytes. | false |
| service | string | Service name. The limit is 255 bytes. | false |
| team | string | Team. The limit is 255 bytes. | false |
GlobalRouterRoutingRule is the RoutingRule object of the API.
| Name | Type | Description | Required |
|---|---|---|---|
| condition | string | Condition. | true |
| name | string | Display name. | true |
| targets | []object | List of targets. The server does not keep the order of the targets. | true |
| customDetails | map[string]string | The custom details. | false |
| entityType | enum | Enum: alerts, cases | false |
GlobalRouterRoutingTarget is the RoutingTarget object of the API.
| Name | Type | Description | Required |
|---|---|---|---|
| connector | object | The connector id.
It refers to a Connector: by backendRef.id, or by resourceRef, a Connector custom resource. Validations: | true |
| customDetails | map[string]string | The custom details. | false |
| preset | object | The preset id.
It refers to a Preset: by backendRef.id, or by resourceRef, a Preset custom resource. Validations: | false |
The connector id. It refers to a Connector: by backendRef.id, or by resourceRef, a Connector custom resource.
| Name | Type | Description | Required |
|---|---|---|---|
| backendRef | object | BackendRef is a reference to a backend resource. | false |
| resourceRef | object | ResourceRef is a reference to a Kubernetes resource. | false |
BackendRef is a reference to a backend resource.
| Name | Type | Description | Required |
|---|---|---|---|
| id | string | true |
ResourceRef is a reference to a Kubernetes resource.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Name of the resource (not id). | true |
| namespace | string | Kubernetes namespace. | false |
The preset id. It refers to a Preset: by backendRef.id, or by resourceRef, a Preset custom resource.
| Name | Type | Description | Required |
|---|---|---|---|
| backendRef | object | BackendRef is a reference to a backend resource. | false |
| resourceRef | object | ResourceRef is a reference to a Kubernetes resource. | false |
BackendRef is a reference to a backend resource.
| Name | Type | Description | Required |
|---|---|---|---|
| id | string | true |
ResourceRef is a reference to a Kubernetes resource.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Name of the resource (not id). | true |
| namespace | string | Kubernetes namespace. | false |
GlobalRouterStatus defines the observed state of a GlobalRouter.
| Name | Type | Description | Required |
|---|---|---|---|
| conditions | []object | false | |
| id | string | false | |
| printableStatus | string | false |
Condition contains details for one aspect of the current state of this API Resource.
| Name | Type | Description | Required |
|---|---|---|---|
| lastTransitionTime | string | lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. Format: date-time | true |
| message | string | message is a human readable message indicating details about the transition.
This may be an empty string. | true |
| reason | string | reason contains a programmatic identifier indicating the reason for the condition's last transition.
Producers of specific condition types may define expected values and meanings for this field,
and whether the values are considered a guaranteed API.
The value should be a CamelCase string.
This field may not be empty. | true |
| status | enum | status of the condition, one of True, False, Unknown. Enum: True, False, Unknown | true |
| type | string | type of condition in CamelCase or in foo.example.com/CamelCase. | true |
| observedGeneration | integer | observedGeneration represents the .metadata.generation that the condition was set based upon.
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
with respect to the current state of the instance. Format: int64 | false |
Samples:
Group is the Schema for the Groups API. See also https://coralogix.com/docs/user-guides/account-management/user-management/assign-user-roles-and-scopes-via-groups/
Added in v0.4.0
| Name | Type | Description | Required |
|---|---|---|---|
| apiVersion | string | coralogix.com/v1alpha1 | true |
| kind | string | Group | true |
| metadata | object | Refer to the Kubernetes API documentation for the fields of the metadata field. | true |
| spec | object | GroupSpec defines the desired state of Coralogix Group. | false |
| status | object | GroupStatus defines the observed state of Group. | false |
GroupSpec defines the desired state of Coralogix Group.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Name of the group. | true |
| customRole | object | Custom role applied to the group. | false |
| customRoles | []object | Deprecated: use customRole. Kept so Groups created against Helm chart 1.0
(spec.customRoles) keep their role after CRD upgrade. The operator uses
customRole when set, otherwise the first customRoles entry. | false |
| description | string | Description of the group. | false |
| groupType | enum | Type of the group. Enum: unspecified, open, closed, restricted | false |
| members | []object | Members of the group. | false |
| scope | object | Scope attached to the group. | false |
Custom role applied to the group.
| Name | Type | Description | Required |
|---|---|---|---|
| resourceRef | object | Reference to the custom role within the cluster. | true |
Reference to the custom role within the cluster.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Name of the resource (not id). | true |
| namespace | string | Kubernetes namespace. | false |
Custom role reference.
| Name | Type | Description | Required |
|---|---|---|---|
| resourceRef | object | Reference to the custom role within the cluster. | true |
Reference to the custom role within the cluster.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Name of the resource (not id). | true |
| namespace | string | Kubernetes namespace. | false |
User on Coralogix.
| Name | Type | Description | Required |
|---|---|---|---|
| userName | string | User's name. | true |
Scope attached to the group.
| Name | Type | Description | Required |
|---|---|---|---|
| resourceRef | object | Scope reference. | true |
Scope reference.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Name of the resource (not id). | true |
| namespace | string | Kubernetes namespace. | false |
GroupStatus defines the observed state of Group.
| Name | Type | Description | Required |
|---|---|---|---|
| conditions | []object | false | |
| id | string | false | |
| printableStatus | string | false |
Condition contains details for one aspect of the current state of this API Resource.
| Name | Type | Description | Required |
|---|---|---|---|
| lastTransitionTime | string | lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. Format: date-time | true |
| message | string | message is a human readable message indicating details about the transition.
This may be an empty string. | true |
| reason | string | reason contains a programmatic identifier indicating the reason for the condition's last transition.
Producers of specific condition types may define expected values and meanings for this field,
and whether the values are considered a guaranteed API.
The value should be a CamelCase string.
This field may not be empty. | true |
| status | enum | status of the condition, one of True, False, Unknown. Enum: True, False, Unknown | true |
| type | string | type of condition in CamelCase or in foo.example.com/CamelCase. | true |
| observedGeneration | integer | observedGeneration represents the .metadata.generation that the condition was set based upon.
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
with respect to the current state of the instance. Format: int64 | false |
Samples:
- aws-metrics-collector.yaml
- azure-metrics-collector.yaml
- crowd-strike-collector.yaml
- gcp-logs-collector.yaml
- gcp-metrics-collector-with-secret.yaml
- gcp-metrics-collector.yaml
- gcp-resources.yaml
- gcp-traces-collector.yaml
- github-enterprise-collector.yaml
- google-alert-center-collector.yaml
- google-workspace-audit-logs-collector.yaml
- google-workspace-users.yaml
- microsoft-365-collector.yaml
- okta-users.yaml
- salesforce-events-collector.yaml
- sentinel-one-collector.yaml
- wiz-collector.yaml
Integration is the Schema for the Integrations API. See also https://coralogix.com/docs/user-guides/getting-started/packages-and-extensions/integration-packages/
For available integrations see https://coralogix.com/docs/developer-portal/infrastructure-as-code/terraform-provider/integrations/aws-metrics-collector/ or at https://github.com/coralogix/coralogix-operator/tree/main/config/samples/v1alpha1/integrations.
Added in v0.4.0
| Name | Type | Description | Required |
|---|---|---|---|
| apiVersion | string | coralogix.com/v1alpha1 | true |
| kind | string | Integration | true |
| metadata | object | Refer to the Kubernetes API documentation for the fields of the metadata field. | true |
| spec | object | IntegrationSpec defines the desired state of a Coralogix (managed) integration. | false |
| status | object | IntegrationStatus defines the observed state of Integration. | false |
IntegrationSpec defines the desired state of a Coralogix (managed) integration.
| Name | Type | Description | Required |
|---|---|---|---|
| integrationKey | string | Unique name of the integration. | true |
| version | string | Desired version of the integration | true |
| parameters | object | Inline parameters for the integration. May be omitted entirely when all
parameters come from ParametersFromSecret. | false |
| parametersFromSecret | map[string]object | ParametersFromSecret is a map of parameter names to references of Kubernetes Secret keys whose values should be used as the parameter value at reconcile time. Use this for sensitive parameters (API keys, service account keys, tokens, etc.) so that secret material does not need to live in the manifest. A given parameter name must appear in either Parameters or ParametersFromSecret, not both. Only string-valued parameters are supported via this field; numeric, boolean, and list-valued parameters must be set inline in Parameters. If a SecretKeySelector has Optional set to true, a missing Secret or missing
key is silently skipped — the resulting Integration will be created or updated
in Coralogix without that parameter. Other read errors (RBAC, transient API
failures) still cause reconciliation to fail and retry. | false |
SecretKeySelector selects a key of a Secret.
| Name | Type | Description | Required |
|---|---|---|---|
| key | string | The key of the secret to select from. Must be a valid secret key. | true |
| name | string | Name of the referent.
This field is effectively required, but due to backwards compatibility is
allowed to be empty. Instances of this type with an empty value here are
almost certainly wrong.
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names Default: | false |
| optional | boolean | Specify whether the Secret or its key must be defined | false |
IntegrationStatus defines the observed state of Integration.
| Name | Type | Description | Required |
|---|---|---|---|
| conditions | []object | false | |
| id | string | false | |
| printableStatus | string | false |
Condition contains details for one aspect of the current state of this API Resource.
| Name | Type | Description | Required |
|---|---|---|---|
| lastTransitionTime | string | lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. Format: date-time | true |
| message | string | message is a human readable message indicating details about the transition.
This may be an empty string. | true |
| reason | string | reason contains a programmatic identifier indicating the reason for the condition's last transition.
Producers of specific condition types may define expected values and meanings for this field,
and whether the values are considered a guaranteed API.
The value should be a CamelCase string.
This field may not be empty. | true |
| status | enum | status of the condition, one of True, False, Unknown. Enum: True, False, Unknown | true |
| type | string | type of condition in CamelCase or in foo.example.com/CamelCase. | true |
| observedGeneration | integer | observedGeneration represents the .metadata.generation that the condition was set based upon.
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
with respect to the current state of the instance. Format: int64 | false |
Samples:
IPAccess is the Schema for the ipaccesses API. See also https://coralogix.com/docs/user-guides/account-management/account-settings/ip-access-control/ Added in v1.2.0
| Name | Type | Description | Required |
|---|---|---|---|
| apiVersion | string | coralogix.com/v1alpha1 | true |
| kind | string | IPAccess | true |
| metadata | object | Refer to the Kubernetes API documentation for the fields of the metadata field. | true |
| spec | object | IPAccessSpec defines the desired state of IPAccess. | false |
| status | object | IPAccessStatus defines the observed state of IPAccess. | false |
IPAccessSpec defines the desired state of IPAccess.
| Name | Type | Description | Required |
|---|---|---|---|
| enableCoralogixCustomerSupportAccess | enum | The Coralogix customer support access setting. Enum: unspecified, disabled, enabled | true |
| ipAccess | []object | The list of IP access entries. | false |
IPAccessRule represents a single IP access entry.
| Name | Type | Description | Required |
|---|---|---|---|
| ipRange | string | The IP range in CIDR notation. | true |
| enabled | boolean | Whether this IP access entry is enabled. | false |
| name | string | The name of the IP access entry. | false |
IPAccessStatus defines the observed state of IPAccess.
| Name | Type | Description | Required |
|---|---|---|---|
| conditions | []object | false | |
| id | string | false | |
| printableStatus | string | false |
Condition contains details for one aspect of the current state of this API Resource.
| Name | Type | Description | Required |
|---|---|---|---|
| lastTransitionTime | string | lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. Format: date-time | true |
| message | string | message is a human readable message indicating details about the transition.
This may be an empty string. | true |
| reason | string | reason contains a programmatic identifier indicating the reason for the condition's last transition.
Producers of specific condition types may define expected values and meanings for this field,
and whether the values are considered a guaranteed API.
The value should be a CamelCase string.
This field may not be empty. | true |
| status | enum | status of the condition, one of True, False, Unknown. Enum: True, False, Unknown | true |
| type | string | type of condition in CamelCase or in foo.example.com/CamelCase. | true |
| observedGeneration | integer | observedGeneration represents the .metadata.generation that the condition was set based upon.
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
with respect to the current state of the instance. Format: int64 | false |
Samples:
- aws-event-bridge.yaml
- demisto.yaml
- email-group.yaml
- generic-webhook.yaml
- jira.yaml
- microsoft-teams.yaml
- opsgenie.yaml
- pagerduty.yaml
- sendlog.yaml
- slack.yaml
OutboundWebhook is the Schema for the API See also https://coralogix.com/docs/user-guides/alerting/outbound-webhooks/aws-eventbridge-outbound-webhook/
Added in v0.4.0
| Name | Type | Description | Required |
|---|---|---|---|
| apiVersion | string | coralogix.com/v1alpha1 | true |
| kind | string | OutboundWebhook | true |
| metadata | object | Refer to the Kubernetes API documentation for the fields of the metadata field. | true |
| spec | object | OutboundWebhookSpec defines the desired state of an outbound webhook. | false |
| status | object | OutboundWebhookStatus defines the observed state of OutboundWebhook | false |
OutboundWebhookSpec defines the desired state of an outbound webhook.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Name of the webhook. | true |
| outboundWebhookType | object | Type of webhook. Validations: | true |
Type of webhook.
| Name | Type | Description | Required |
|---|---|---|---|
| awsEventBridge | object | AWS eventbridge message. | false |
| demisto | object | Demisto notification. | false |
| emailGroup | object | Email notification. | false |
| genericWebhook | object | Generic HTTP(s) webhook. | false |
| jira | object | Jira issue. | false |
| microsoftTeams | object | Teams message. | false |
| opsgenie | object | Opsgenie notification. | false |
| pagerDuty | object | PagerDuty notification. | false |
| sendLog | object | SendLog notification. | false |
| slack | object | Slack message. | false |
AWS eventbridge message.
| Name | Type | Description | Required |
|---|---|---|---|
| detail | string | true | |
| detailType | string | true | |
| eventBusArn | string | true | |
| roleName | string | true | |
| source | string | true |
Demisto notification.
| Name | Type | Description | Required |
|---|---|---|---|
| payload | string | true | |
| url | string | true | |
| uuid | string | true |
Email notification.
| Name | Type | Description | Required |
|---|---|---|---|
| emailAddresses | []string | Recipients | true |
Generic HTTP(s) webhook.
| Name | Type | Description | Required |
|---|---|---|---|
| method | enum | HTTP Method to use. Enum: Unknown, Get, Post, Put | true |
| url | string | URL to call | true |
| headers | map[string]string | Attached HTTP headers. | false |
| payload | string | Payload of the webhook call. | false |
Jira issue.
| Name | Type | Description | Required |
|---|---|---|---|
| apiToken | string | API token | true |
| string | Email address associated with the token | true | |
| projectKey | string | Project to add it to. | true |
| url | string | Jira URL | true |
Teams message.
| Name | Type | Description | Required |
|---|---|---|---|
| url | string | Teams URL | true |
Opsgenie notification.
| Name | Type | Description | Required |
|---|---|---|---|
| url | string | true |
PagerDuty notification.
| Name | Type | Description | Required |
|---|---|---|---|
| serviceKey | string | PagerDuty service key. | true |
SendLog notification.
| Name | Type | Description | Required |
|---|---|---|---|
| payload | string | Payload of the notification | true |
| url | string | Sendlog URL. | true |
Slack message.
| Name | Type | Description | Required |
|---|---|---|---|
| url | string | true | |
| attachments | []object | Attachments of the message. | false |
| digests | []object | Digest configuration. | false |
Slack attachment
| Name | Type | Description | Required |
|---|---|---|---|
| isActive | boolean | Active status. | true |
| type | string | Attachment to the message. | true |
Digest config.
| Name | Type | Description | Required |
|---|---|---|---|
| isActive | boolean | Active status. | true |
| type | string | Type of digest to send | true |
OutboundWebhookStatus defines the observed state of OutboundWebhook
| Name | Type | Description | Required |
|---|---|---|---|
| conditions | []object | false | |
| externalId | string | false | |
| id | string | false | |
| printableStatus | string | false |
Condition contains details for one aspect of the current state of this API Resource.
| Name | Type | Description | Required |
|---|---|---|---|
| lastTransitionTime | string | lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. Format: date-time | true |
| message | string | message is a human readable message indicating details about the transition.
This may be an empty string. | true |
| reason | string | reason contains a programmatic identifier indicating the reason for the condition's last transition.
Producers of specific condition types may define expected values and meanings for this field,
and whether the values are considered a guaranteed API.
The value should be a CamelCase string.
This field may not be empty. | true |
| status | enum | status of the condition, one of True, False, Unknown. Enum: True, False, Unknown | true |
| type | string | type of condition in CamelCase or in foo.example.com/CamelCase. | true |
| observedGeneration | integer | observedGeneration represents the .metadata.generation that the condition was set based upon.
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
with respect to the current state of the instance. Format: int64 | false |
Samples:
Preset is the Schema for the presets API.
| Name | Type | Description | Required |
|---|---|---|---|
| apiVersion | string | coralogix.com/v1alpha1 | true |
| kind | string | Preset | true |
| metadata | object | Refer to the Kubernetes API documentation for the fields of the metadata field. | true |
| spec | object | PresetSpec defines the desired state of a Preset. | false |
| status | object | PresetStatus defines the observed state of a Preset. | false |
PresetSpec defines the desired state of a Preset.
| Name | Type | Description | Required |
|---|---|---|---|
| connectorType | enum | Connector type. Enum: slack, genericHttps, pagerDuty, email, pagerDutyIncidents, microsoftTeams, eventBridge, incidentIo | true |
| description | string | Human-readable description. | true |
| entityType | enum | Enum: alerts, cases | true |
| name | string | Display name. | true |
| attachmentConfig | enum | Attachment config. Enum: AUTO, ENABLED, DISABLED | false |
| configOverrides | []object | The config overrides. | false |
| parentId | string | The parent id. | false |
PresetConfigOverrides is the ConfigOverrides object of the API.
| Name | Type | Description | Required |
|---|---|---|---|
| conditionType | object | Field condition.condition type. Validations: | true |
| messageConfig | object | Message config. | true |
| payloadType | string | Connector payload schema type. | false |
Field condition.condition type.
| Name | Type | Description | Required |
|---|---|---|---|
| matchEntityType | object | Match entity type condition. | false |
| matchEntityTypeAndSubType | object | Match entity type and sub type condition. | false |
Match entity type and sub type condition.
| Name | Type | Description | Required |
|---|---|---|---|
| entitySubType | string | The entity sub type. | true |
Message config.
| Name | Type | Description | Required |
|---|---|---|---|
| fields | []object | List of fields. The server does not keep the order of the fields, and a repeated field name keeps one entry. | true |
PresetNotificationCenterMessageConfigField is the notification_center.MessageConfigField object of the API.
| Name | Type | Description | Required |
|---|---|---|---|
| fieldName | string | The field name. | true |
| template | string | The template. | true |
PresetStatus defines the observed state of a Preset.
| Name | Type | Description | Required |
|---|---|---|---|
| conditions | []object | false | |
| id | string | false | |
| printableStatus | string | false |
Condition contains details for one aspect of the current state of this API Resource.
| Name | Type | Description | Required |
|---|---|---|---|
| lastTransitionTime | string | lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. Format: date-time | true |
| message | string | message is a human readable message indicating details about the transition.
This may be an empty string. | true |
| reason | string | reason contains a programmatic identifier indicating the reason for the condition's last transition.
Producers of specific condition types may define expected values and meanings for this field,
and whether the values are considered a guaranteed API.
The value should be a CamelCase string.
This field may not be empty. | true |
| status | enum | status of the condition, one of True, False, Unknown. Enum: True, False, Unknown | true |
| type | string | type of condition in CamelCase or in foo.example.com/CamelCase. | true |
| observedGeneration | integer | observedGeneration represents the .metadata.generation that the condition was set based upon.
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
with respect to the current state of the instance. Format: int64 | false |
Samples:
QuotaAllocationRuleSet is the Schema for the QuotaAllocationRuleSet API. NOTE: This account-level singleton resource replaces all user-managed backend quota allocation rules. An empty rules list clears customer-managed rules. Delete clears customer-managed rules only. Coralogix-managed (cx_managed) rules returned by the backend are preserved by the controller and are never taken from the CR.
Added in v0.4.0
| Name | Type | Description | Required |
|---|---|---|---|
| apiVersion | string | coralogix.com/v1alpha1 | true |
| kind | string | QuotaAllocationRuleSet | true |
| metadata | object | Refer to the Kubernetes API documentation for the fields of the metadata field. | true |
| spec | object | QuotaAllocationRuleSetSpec defines the desired state of Coralogix quota allocation rules. | false |
| status | object | QuotaAllocationRuleSetStatus defines the observed state of QuotaAllocationRuleSet. | false |
QuotaAllocationRuleSetSpec defines the desired state of Coralogix quota allocation rules.
| Name | Type | Description | Required |
|---|---|---|---|
| rules | []object | Complete set of customer-managed quota allocation rules.
Because the backend stores a single account-level rule set, the controller
replaces the full customer-managed set during reconcile.
Set rules to an empty list to clear all customer-managed rules.
Coralogix-managed (cx_managed) rules are never taken from this list; the
controller preserves them from the backend. | true |
QuotaAllocationRule defines quota allocation for a single entity type.
| Name | Type | Description | Required |
|---|---|---|---|
| allocation | int or string | Quota allocation value for this entity type.
For percentage, this is a share of the pool left after lockedUnits (0-100).
For lockedUnits, this is a fixed reservation from the team daily quota.
The sum of enabled locked units plus any Coralogix bundle units must fit
within the team daily quota.
Fractional values must be supplied as quoted quantities, for example "12.5". | true |
| canOverflow | boolean | Whether this entity type can overflow beyond its allocation. | true |
| enabled | boolean | Whether this quota allocation rule is enabled. | true |
| entityType | string | Entity type covered by the rule.
Known values include logs, spans, metrics, cpuProfiles, memoryProfiles,
browserLogs, browserLogs/v2, sessionRecordings, olly, auditEvents, alerts,
quotaEvents, engineQueries, engineSchemaFields, labsLimitViolations, and
notificationDeliveries. The list is additive; the API may accept more
values over time. | true |
| allocationType | enum | How the allocation value is interpreted.
Valid values are percentage (default) and lockedUnits.
unspecified is accepted as a compatible alias of percentage and is
normalized to percentage before the API call.
Locked units are reserved first from the team daily quota; percentage
rules share the remaining pool and their enabled allocations must sum to
at most 100. Enum: percentage, lockedUnits, unspecified | false |
QuotaAllocationRuleSetStatus defines the observed state of QuotaAllocationRuleSet.
| Name | Type | Description | Required |
|---|---|---|---|
| conditions | []object | false | |
| printableStatus | string | false |
Condition contains details for one aspect of the current state of this API Resource.
| Name | Type | Description | Required |
|---|---|---|---|
| lastTransitionTime | string | lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. Format: date-time | true |
| message | string | message is a human readable message indicating details about the transition.
This may be an empty string. | true |
| reason | string | reason contains a programmatic identifier indicating the reason for the condition's last transition.
Producers of specific condition types may define expected values and meanings for this field,
and whether the values are considered a guaranteed API.
The value should be a CamelCase string.
This field may not be empty. | true |
| status | enum | status of the condition, one of True, False, Unknown. Enum: True, False, Unknown | true |
| type | string | type of condition in CamelCase or in foo.example.com/CamelCase. | true |
| observedGeneration | integer | observedGeneration represents the .metadata.generation that the condition was set based upon.
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
with respect to the current state of the instance. Format: int64 | false |
Samples:
RecordingRuleGroupSet is the Schema for the RecordingRuleGroupSets API See also https://coralogix.com/docs/user-guides/data-transformation/metric-rules/recording-rules/
Added in v0.4.0
| Name | Type | Description | Required |
|---|---|---|---|
| apiVersion | string | coralogix.com/v1alpha1 | true |
| kind | string | RecordingRuleGroupSet | true |
| metadata | object | Refer to the Kubernetes API documentation for the fields of the metadata field. | true |
| spec | object | RecordingRuleGroupSetSpec defines the desired state of a set of Coralogix recording rule groups. | false |
| status | object | RecordingRuleGroupSetStatus defines the observed state of RecordingRuleGroupSet | false |
RecordingRuleGroupSetSpec defines the desired state of a set of Coralogix recording rule groups.
| Name | Type | Description | Required |
|---|---|---|---|
| groups | []object | Recording rule groups. | true |
A Coralogix recording rule group.
| Name | Type | Description | Required |
|---|---|---|---|
| intervalSeconds | integer | How often rules in the group are evaluated (in seconds). Format: int32 | false |
| limit | integer | Limits the number of alerts an alerting rule and series a recording-rule can produce. 0 is no limit. Format: int64 | false |
| name | string | The (unique) rule group name. | false |
| rules | []object | Rules of this group. | false |
A recording rule.
| Name | Type | Description | Required |
|---|---|---|---|
| expr | string | The PromQL expression to evaluate.
Every evaluation cycle this is evaluated at the current time, and the result recorded as a new set of time series with the metric name as given by 'record'. | false |
| labels | map[string]string | Labels to add or overwrite before storing the result. | false |
| record | string | The name of the time series to output to. Must be a valid metric name. | false |
RecordingRuleGroupSetStatus defines the observed state of RecordingRuleGroupSet
| Name | Type | Description | Required |
|---|---|---|---|
| conditions | []object | false | |
| id | string | false | |
| printableStatus | string | false |
Condition contains details for one aspect of the current state of this API Resource.
| Name | Type | Description | Required |
|---|---|---|---|
| lastTransitionTime | string | lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. Format: date-time | true |
| message | string | message is a human readable message indicating details about the transition.
This may be an empty string. | true |
| reason | string | reason contains a programmatic identifier indicating the reason for the condition's last transition.
Producers of specific condition types may define expected values and meanings for this field,
and whether the values are considered a guaranteed API.
The value should be a CamelCase string.
This field may not be empty. | true |
| status | enum | status of the condition, one of True, False, Unknown. Enum: True, False, Unknown | true |
| type | string | type of condition in CamelCase or in foo.example.com/CamelCase. | true |
| observedGeneration | integer | observedGeneration represents the .metadata.generation that the condition was set based upon.
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
with respect to the current state of the instance. Format: int64 | false |
Samples:
- block.yaml
- extract.yaml
- extract_timestamp.yaml
- json_extract.yaml
- mixed_rulegroup.yaml
- parse.yaml
- parse_json_field.yaml
- remove_fields.yaml
- replace.yaml
- stringify_json_field.yaml
RuleGroup is the Schema for the RuleGroups API See also https://coralogix.com/docs/user-guides/data-transformation/metric-rules/recording-rules/
Added in v0.4.0
| Name | Type | Description | Required |
|---|---|---|---|
| apiVersion | string | coralogix.com/v1alpha1 | true |
| kind | string | RuleGroup | true |
| metadata | object | Refer to the Kubernetes API documentation for the fields of the metadata field. | true |
| spec | object | RuleGroupSpec defines the Desired state of RuleGroup | false |
| status | object | RuleGroupStatus defines the observed state of RuleGroup | false |
RuleGroupSpec defines the Desired state of RuleGroup
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Name of the rule-group. | true |
| active | boolean | Whether the rule-group is active. Default: true | false |
| applications | []string | Rules will execute on logs that match the these applications. | false |
| creator | string | Rule-group creator | false |
| description | string | Description of the rule-group. | false |
| hidden | boolean | Hides the rule-group. Default: false | false |
| order | integer | The index of the rule-group between the other rule-groups. Format: int32 | false |
| severities | []enum | Rules will execute on logs that match the these severities. Enum: Debug, Verbose, Info, Warning, Error, Critical | false |
| subgroups | []object | Rules within the same subgroup have an OR relationship,
while rules in different subgroups have an AND relationship.
Refer to https://github.com/coralogix/coralogix-operator/blob/main/config/samples/v1alpha1/rulegroups/mixed_rulegroup.yaml
for an example. | false |
| subsystems | []string | Rules will execute on logs that match the these subsystems. | false |
Sub group of rules.
| Name | Type | Description | Required |
|---|---|---|---|
| active | boolean | Determines whether to rule will be active or not. Default: true | false |
| id | string | The rule id. | false |
| order | integer | Determines the index of the rule inside the rule-subgroup. Format: int32 | false |
| rules | []object | List of rules associated with the sub group. | false |
A rule to change data extraction.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Name of the rule. | true |
| active | boolean | Whether the rule will be activated. Default: true | false |
| block | object | Block rules allow for refined filtering of incoming logs with a Regular Expression. | false |
| description | string | Description of the rule. | false |
| extract | object | Use a named Regular Expression group to extract specific values you need as JSON getKeysStrings without having to parse the entire log. | false |
| extractTimestamp | object | Replace rules are used to replace logs timestamp with JSON field. | false |
| jsonExtract | object | Name a JSON field to extract its value directly into a Coralogix metadata field | false |
| jsonStringify | object | Convert JSON object to JSON string. | false |
| parse | object | Parse unstructured logs into JSON format using named Regular Expression groups. | false |
| parseJsonField | object | Convert JSON string to JSON object. | false |
| removeFields | object | Remove Fields allows to select fields that will not be indexed. | false |
| replace | object | Replace rules are used to strings in order to fix log structure, change log severity, or obscure information. | false |
Block rules allow for refined filtering of incoming logs with a Regular Expression.
| Name | Type | Description | Required |
|---|---|---|---|
| regex | string | Regular Expression. More info: https://coralogix.com/blog/regex-101/ | true |
| sourceField | string | The field on which the Regular Expression will operate on. | true |
| blockingAllMatchingBlocks | boolean | Block Logic. If true or nor set - blocking all matching blocks, if false - blocking all non-matching blocks. Default: true | false |
| keepBlockedLogs | boolean | Determines if to view blocked logs in LiveTail and archive to S3. Default: false | false |
Use a named Regular Expression group to extract specific values you need as JSON getKeysStrings without having to parse the entire log.
| Name | Type | Description | Required |
|---|---|---|---|
| regex | string | Regular Expression. More info: https://coralogix.com/blog/regex-101/ | true |
| sourceField | string | The field on which the Regular Expression will operate on. | true |
Replace rules are used to replace logs timestamp with JSON field.
| Name | Type | Description | Required |
|---|---|---|---|
| fieldFormatStandard | enum | The format standard to parse the timestamp. Enum: Strftime, JavaSDF, Golang, SecondTS, MilliTS, MicroTS, NanoTS | true |
| sourceField | string | The field on which the Regular Expression will operate on. | true |
| timeFormat | string | A time formatting string that matches the field format standard. | true |
Name a JSON field to extract its value directly into a Coralogix metadata field
| Name | Type | Description | Required |
|---|---|---|---|
| destinationField | enum | The field that will be populated by the results of the Regular Expression operation. Enum: Category, CLASSNAME, METHODNAME, THREADID, SEVERITY | true |
| jsonKey | string | JSON key to extract its value directly into a Coralogix metadata field. | true |
Convert JSON object to JSON string.
| Name | Type | Description | Required |
|---|---|---|---|
| destinationField | string | The field that will be populated by the results of the Regular Expression | true |
| sourceField | string | The field on which the Regular Expression will operate on. | true |
| keepSourceField | boolean | Default: false | false |
Parse unstructured logs into JSON format using named Regular Expression groups.
| Name | Type | Description | Required |
|---|---|---|---|
| destinationField | string | The field that will be populated by the results of the Regular Expression operation. | true |
| regex | string | Regular Expression. More info: https://coralogix.com/blog/regex-101/ | true |
| sourceField | string | The field on which the Regular Expression will operate on. | true |
Convert JSON string to JSON object.
| Name | Type | Description | Required |
|---|---|---|---|
| destinationField | string | The field that will be populated by the results of the Regular Expression | true |
| keepDestinationField | boolean | Determines whether to keep or to delete the destination field. | true |
| keepSourceField | boolean | Determines whether to keep or to delete the source field. | true |
| sourceField | string | The field on which the Regular Expression will operate on. | true |
Remove Fields allows to select fields that will not be indexed.
| Name | Type | Description | Required |
|---|---|---|---|
| excludedFields | []string | Excluded fields won't be indexed. | true |
Replace rules are used to strings in order to fix log structure, change log severity, or obscure information.
| Name | Type | Description | Required |
|---|---|---|---|
| destinationField | string | The field that will be populated by the results of the Regular Expression operation. | true |
| regex | string | Regular Expression. More info: https://coralogix.com/blog/regex-101/ | true |
| replacementString | string | The string that will replace the matched Regular Expression | true |
| sourceField | string | The field on which the Regular Expression will operate on. | true |
RuleGroupStatus defines the observed state of RuleGroup
| Name | Type | Description | Required |
|---|---|---|---|
| conditions | []object | false | |
| id | string | false | |
| printableStatus | string | false |
Condition contains details for one aspect of the current state of this API Resource.
| Name | Type | Description | Required |
|---|---|---|---|
| lastTransitionTime | string | lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. Format: date-time | true |
| message | string | message is a human readable message indicating details about the transition.
This may be an empty string. | true |
| reason | string | reason contains a programmatic identifier indicating the reason for the condition's last transition.
Producers of specific condition types may define expected values and meanings for this field,
and whether the values are considered a guaranteed API.
The value should be a CamelCase string.
This field may not be empty. | true |
| status | enum | status of the condition, one of True, False, Unknown. Enum: True, False, Unknown | true |
| type | string | type of condition in CamelCase or in foo.example.com/CamelCase. | true |
| observedGeneration | integer | observedGeneration represents the .metadata.generation that the condition was set based upon.
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
with respect to the current state of the instance. Format: int64 | false |
Samples:
Scope is the Schema for the scopes API. See also https://coralogix.com/docs/user-guides/account-management/user-management/scopes/
Added in v0.4.0
| Name | Type | Description | Required |
|---|---|---|---|
| apiVersion | string | coralogix.com/v1alpha1 | true |
| kind | string | Scope | true |
| metadata | object | Refer to the Kubernetes API documentation for the fields of the metadata field. | true |
| spec | object | ScopeSpec defines the desired state of a Coralogix Scope. | false |
| status | object | ScopeStatus defines the observed state of Coralogix Scope. | false |
ScopeSpec defines the desired state of a Coralogix Scope.
| Name | Type | Description | Required |
|---|---|---|---|
| defaultExpression | enum | Default expression to use when no filter matches the query. Until further notice, this is limited to Enum: <v1>true, <v1>false | true |
| filters | []object | Filters applied to include data in the scope. | true |
| name | string | Scope display name. | true |
| description | string | Description of the scope. Optional. | false |
ScopeFilter defines a filter to include data in a scope.
| Name | Type | Description | Required |
|---|---|---|---|
| entityType | enum | Entity type to apply the expression on. Enum: logs, spans, unspecified | true |
| expression | string | Expression to run. | true |
ScopeStatus defines the observed state of Coralogix Scope.
| Name | Type | Description | Required |
|---|---|---|---|
| conditions | []object | false | |
| id | string | false | |
| printableStatus | string | false |
Condition contains details for one aspect of the current state of this API Resource.
| Name | Type | Description | Required |
|---|---|---|---|
| lastTransitionTime | string | lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. Format: date-time | true |
| message | string | message is a human readable message indicating details about the transition.
This may be an empty string. | true |
| reason | string | reason contains a programmatic identifier indicating the reason for the condition's last transition.
Producers of specific condition types may define expected values and meanings for this field,
and whether the values are considered a guaranteed API.
The value should be a CamelCase string.
This field may not be empty. | true |
| status | enum | status of the condition, one of True, False, Unknown. Enum: True, False, Unknown | true |
| type | string | type of condition in CamelCase or in foo.example.com/CamelCase. | true |
| observedGeneration | integer | observedGeneration represents the .metadata.generation that the condition was set based upon.
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
with respect to the current state of the instance. Format: int64 | false |
Samples:
SLO is the Schema for the slos API.
| Name | Type | Description | Required |
|---|---|---|---|
| apiVersion | string | coralogix.com/v1alpha1 | true |
| kind | string | SLO | true |
| metadata | object | Refer to the Kubernetes API documentation for the fields of the metadata field. | true |
| spec | object | SLOSpec defines the desired state of a SLO. Validations: | false |
| status | object | SLOStatus defines the observed state of a SLO. | false |
SLOSpec defines the desired state of a SLO.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Human-readable display name for the SLO. Required. A missing or empty name is rejected. | true |
| targetThresholdPercentage | int or string | Target compliance percentage threshold for the SLO (e.g., 99.9 for three nines). | true |
| window | object | SLOSpecWindow holds the window fields of the released CR. | true |
| description | string | Human-readable description of the SLO. | false |
| labels | map[string]string | List of labels. | false |
| ownershipTags | object | Service, environment, and team ownership configuration for the SLO group and its permutations. | false |
| productType | enum | Product type: APM for application performance monitoring SLOs, UNSPECIFIED for manual/custom SLOs Enum: unspecified, apm | false |
| sliDefinition | object | Definition of the SLI: how it counts (request-based or window-based) and where its values come from (custom metric queries or APM). Replaces the deprecated Validations: | false |
| sliType | object | SLOSpecSliType holds the sliType fields of the released CR. Validations: | false |
SLOSpecWindow holds the window fields of the released CR.
| Name | Type | Description | Required |
|---|---|---|---|
| timeFrame | enum | Rolling evaluation window (fixed-duration lookback). Enum: unspecified, 7d, 14d, 21d, 28d, 90d | false |
Service, environment, and team ownership configuration for the SLO group and its permutations.
| Name | Type | Description | Required |
|---|---|---|---|
| environment | object | Ownership for one dimension (service, environment, or team). static_values are group-wide (broad) assignments. label_keys are metric label names whose values are read per permutation (label-driven). Both may be set; when both lists are empty, that dimension is unset. Validations: | false |
| service | object | Ownership for one dimension (service, environment, or team). static_values are group-wide (broad) assignments. label_keys are metric label names whose values are read per permutation (label-driven). Both may be set; when both lists are empty, that dimension is unset. Validations: | false |
| team | object | Ownership for one dimension (service, environment, or team). static_values are group-wide (broad) assignments. label_keys are metric label names whose values are read per permutation (label-driven). Both may be set; when both lists are empty, that dimension is unset. Validations: | false |
Ownership for one dimension (service, environment, or team). static_values are group-wide (broad) assignments. label_keys are metric label names whose values are read per permutation (label-driven). Both may be set; when both lists are empty, that dimension is unset.
| Name | Type | Description | Required |
|---|---|---|---|
| labelKeys | []string | Metric label names to use as sources (label-driven). Actual values come from series at query time. Empty if not using label-driven for this dimension. | false |
| staticValues | []string | Group-wide static values (broad). Empty if not using broad for this dimension. | false |
Ownership for one dimension (service, environment, or team). static_values are group-wide (broad) assignments. label_keys are metric label names whose values are read per permutation (label-driven). Both may be set; when both lists are empty, that dimension is unset.
| Name | Type | Description | Required |
|---|---|---|---|
| labelKeys | []string | Metric label names to use as sources (label-driven). Actual values come from series at query time. Empty if not using label-driven for this dimension. | false |
| staticValues | []string | Group-wide static values (broad). Empty if not using broad for this dimension. | false |
Ownership for one dimension (service, environment, or team). static_values are group-wide (broad) assignments. label_keys are metric label names whose values are read per permutation (label-driven). Both may be set; when both lists are empty, that dimension is unset.
| Name | Type | Description | Required |
|---|---|---|---|
| labelKeys | []string | Metric label names to use as sources (label-driven). Actual values come from series at query time. Empty if not using label-driven for this dimension. | false |
| staticValues | []string | Group-wide static values (broad). Empty if not using broad for this dimension. | false |
Definition of the SLI: how it counts (request-based or window-based) and where its values come from (custom metric queries or APM). Replaces the deprecated requestBasedMetricSli, windowBasedMetricSli and apmSli. A request must set either sliDefinition or one of the deprecated fields. When sliDefinition is set, it takes precedence and the deprecated fields are ignored. Responses always include sliDefinition, and also include the matching deprecated field when the SLI can be expressed with it.
| Name | Type | Description | Required |
|---|---|---|---|
| requestBased | object | Count per request: the SLI is the ratio of good events to total events over the SLO time frame. Validations: | false |
| windowBased | object | Count per time window: the SLI is the ratio of good windows to all windows over the SLO time frame. Validations: | false |
Good and total events generated from APM span data for the selected services.
| Name | Type | Description | Required |
|---|---|---|---|
| selector | object | Services and filters to count spans of. Required. | true |
| availability | object | A span is good when it has no error. | false |
| latency | object | A span is good when its duration is <= | false |
Services and filters to count spans of. Required.
| Name | Type | Description | Required |
|---|---|---|---|
| services | []string | Service names to monitor. Required. Exactly one service. | true |
| filters | []object | Filters on the labels of the APM metrics, narrowing the spans they cover. At most 20, each with at most 50 values, and keys and values of at most 256 characters. With the | false |
| groupingKeys | []string | Labels to group SLO results by. At most 6. With the | false |
SLOApmFilterAtSpecSliDefinitionRequestBasedApmSelectorFilters8d0adc330ae1 is the ApmFilter object of the API.
| Name | Type | Description | Required |
|---|---|---|---|
| key | string | Label/tag name to filter on. Required. A missing or empty key is rejected. | true |
| matchOperator | enum | How literals on Enum: unspecified, is, startsWith, endsWith, includes | false |
| values | []string | Preferred: multiple values to match (OR semantics, e.g. status IN [500, 503]) | false |
A span is good when its duration is <= thresholdMs. With the APM_SOURCE_E2M metric source, any thresholdMs is accepted. With APM_SOURCE_SPAN_METRICS, thresholdMs must be one of the bucket bounds of the selected service's span duration histogram; rejected otherwise.
| Name | Type | Description | Required |
|---|---|---|---|
| thresholdMs | int or string | Latency threshold in milliseconds, greater than 0, with at most 3 decimal places (whole microseconds). A span is good when its duration is <= this value. Required. | true |
Custom metric queries for the good and total events.
| Name | Type | Description | Required |
|---|---|---|---|
| goodEvents | object | Definition of a metric used in SLOs | true |
| totalEvents | object | Definition of a metric used in SLOs | true |
| groupByLabels | []string | GroupByLabels has no effect. The Coralogix API derives the SLO grouping itself and
the value is never sent. The field is kept because removing it would break existing
resources.
Deprecated: ignored by the operator and by the API. | false |
Definition of a metric used in SLOs
| Name | Type | Description | Required |
|---|---|---|---|
| query | string | Query string. Required. A missing or empty query is rejected. | true |
Definition of a metric used in SLOs
| Name | Type | Description | Required |
|---|---|---|---|
| query | string | Query string. Required. A missing or empty query is rejected. | true |
Count per time window: the SLI is the ratio of good windows to all windows over the SLO time frame.
| Name | Type | Description | Required |
|---|---|---|---|
| window | enum | Size of each evaluated time window. Required. Enum: 1m, 5m | true |
| apm | object | Window value generated from APM span data for the selected services. Validations: | false |
| custom | object | Custom metric query yielding the value of each window, and how it is compared to a threshold. | false |
| missingDataStrategy | enum | How a window without data is counted. Enum: uncounted, good, bad | false |
Window value generated from APM span data for the selected services.
| Name | Type | Description | Required |
|---|---|---|---|
| selector | object | Services and filters to aggregate spans of. Required. | true |
| availability | object | Each window's value is its ratio of spans without an error, from 0 to 1. A window is good when its value is >= | false |
| latency | object | Each window's value is its aggregated span duration, in milliseconds. A window is good when its value is <= | false |
Services and filters to aggregate spans of. Required.
| Name | Type | Description | Required |
|---|---|---|---|
| services | []string | Service names to monitor. Required. Exactly one service. | true |
| filters | []object | Filters on the labels of the APM metrics, narrowing the spans they cover. At most 20, each with at most 50 values, and keys and values of at most 256 characters. With the | false |
| groupingKeys | []string | Labels to group SLO results by. At most 6. With the | false |
SLOApmFilterAtSpecSliDefinitionRequestBasedApmSelectorFilters8d0adc330ae1 is the ApmFilter object of the API.
| Name | Type | Description | Required |
|---|---|---|---|
| key | string | Label/tag name to filter on. Required. A missing or empty key is rejected. | true |
| matchOperator | enum | How literals on Enum: unspecified, is, startsWith, endsWith, includes | false |
| values | []string | Preferred: multiple values to match (OR semantics, e.g. status IN [500, 503]) | false |
Each window's value is its ratio of spans without an error, from 0 to 1. A window is good when its value is >= thresholdRatio.
| Name | Type | Description | Required |
|---|---|---|---|
| thresholdRatio | int or string | Availability threshold as a ratio from 0 to 1 (not a percentage). A window is good when its value is >= this value. Required. | true |
Each window's value is its aggregated span duration, in milliseconds. A window is good when its value is <= thresholdMs.
| Name | Type | Description | Required |
|---|---|---|---|
| thresholdMs | int or string | Latency threshold in milliseconds, with at most 3 decimal places (whole microseconds). A window is good when its aggregated duration is <= this value. Required. Should be greater than 0; 0 is accepted only for compatibility and is deprecated. | true |
| average | object | Aggregate by the mean span duration. | false |
| quantile | object | Aggregate by a percentile of span durations. | false |
Aggregate by a percentile of span durations. percentile is required, greater than 0 and at most 1; omitting it is the same as sending 0, which is rejected.
| Name | Type | Description | Required |
|---|---|---|---|
| percentile | int or string | Percentile for latency SLOs (0.95 = P95, 0.99 = P99) Default: 0 | false |
Custom metric query yielding the value of each window, and how it is compared to a threshold.
| Name | Type | Description | Required |
|---|---|---|---|
| comparisonOperator | enum | How each window's value is compared to Enum: greaterThan, greaterThanOrEquals, lessThan, lessThanOrEquals | true |
| query | object | Query yielding the value of each window. Required. | true |
| threshold | int or string | Value each window is compared to, in the unit of the query's result. Required. | true |
Query yielding the value of each window. Required.
| Name | Type | Description | Required |
|---|---|---|---|
| query | string | Query string. Required. A missing or empty query is rejected. | true |
SLOSpecSliType holds the sliType fields of the released CR.
| Name | Type | Description | Required |
|---|---|---|---|
| apmSli | object | Definition of an APM-based SLI with automatic query generation | false |
| requestBasedMetric | object | Definition of a request-based SLI based on metrics | false |
| windowBasedMetric | object | Definition of a window-based SLI based on metrics | false |
Definition of an APM-based SLI with automatic query generation
| Name | Type | Description | Required |
|---|---|---|---|
| services | []string | List of service names to monitor. Required. At least one service; an empty list is rejected. | true |
| errorConfig | object | Configuration for error-based APM SLI | false |
| filters | []object | Additional label-based filters to apply to the metrics | false |
| groupingKeys | []string | Labels to group SLO results by | false |
| latencyConfig | object | Configuration for latency-based APM SLI | false |
SLOApmFilter is the ApmFilter object of the API.
| Name | Type | Description | Required |
|---|---|---|---|
| key | string | Label/tag name to filter on. Required. A missing or empty key is rejected. | true |
| matchOperator | enum | How literals on Enum: unspecified, is, startsWith, endsWith, includes | false |
| values | []string | Preferred: multiple values to match (OR semantics, e.g. status IN [500, 503]) | false |
Configuration for latency-based APM SLI
| Name | Type | Description | Required |
|---|---|---|---|
| timeWindow | enum | Time window for latency calculations. Required. Omitting it is rejected. Enum: 1m, 5m | true |
| average | object | Average/mean-based latency measurement | false |
| quantile | object | Quantile/percentile-based latency measurement | false |
| threshold | int or string | Threshold in milliseconds. Good when latency <= threshold, bad when latency > threshold. | false |
Quantile/percentile-based latency measurement
| Name | Type | Description | Required |
|---|---|---|---|
| percentile | int or string | Percentile for latency SLOs (0.95 = P95, 0.99 = P99) | false |
Definition of a request-based SLI based on metrics
| Name | Type | Description | Required |
|---|---|---|---|
| goodEvents | object | Definition of a metric used in SLOs | true |
| totalEvents | object | Definition of a metric used in SLOs | true |
| groupByLabels | []string | GroupByLabels has no effect. The Coralogix API derives the SLO grouping itself and
the value is never sent. The field is kept because removing it would break existing
resources.
Deprecated: ignored by the operator and by the API. | false |
Definition of a metric used in SLOs
| Name | Type | Description | Required |
|---|---|---|---|
| query | string | Query string. Required. A missing or empty query is rejected. | true |
Definition of a metric used in SLOs
| Name | Type | Description | Required |
|---|---|---|---|
| query | string | Query string. Required. A missing or empty query is rejected. | true |
Definition of a window-based SLI based on metrics
| Name | Type | Description | Required |
|---|---|---|---|
| comparisonOperator | enum | Comparison operator. Enum: greaterThan, greaterThanOrEquals, lessThan, lessThanOrEquals | true |
| query | object | Definition of a metric used in SLOs | true |
| window | enum | Window slo window. Enum: 1m, 5m | true |
| missingDataStrategy | enum | Missing data strategy. Enum: uncounted, good, bad | false |
| threshold | int or string | Threshold value. | false |
Definition of a metric used in SLOs
| Name | Type | Description | Required |
|---|---|---|---|
| query | string | Query string. Required. A missing or empty query is rejected. | true |
SLOStatus defines the observed state of a SLO.
| Name | Type | Description | Required |
|---|---|---|---|
| conditions | []object | false | |
| id | string | false | |
| printableStatus | string | false | |
| revision | integer | Format: int32 | false |
Condition contains details for one aspect of the current state of this API Resource.
| Name | Type | Description | Required |
|---|---|---|---|
| lastTransitionTime | string | lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. Format: date-time | true |
| message | string | message is a human readable message indicating details about the transition.
This may be an empty string. | true |
| reason | string | reason contains a programmatic identifier indicating the reason for the condition's last transition.
Producers of specific condition types may define expected values and meanings for this field,
and whether the values are considered a guaranteed API.
The value should be a CamelCase string.
This field may not be empty. | true |
| status | enum | status of the condition, one of True, False, Unknown. Enum: True, False, Unknown | true |
| type | string | type of condition in CamelCase or in foo.example.com/CamelCase. | true |
| observedGeneration | integer | observedGeneration represents the .metadata.generation that the condition was set based upon.
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
with respect to the current state of the instance. Format: int64 | false |
Samples:
TCOLogsPolicies is the Schema for the tcologspolicies API. NOTE: The TCOLogsPolicies is the whole list of the API. Each write replaces every item of the list, so an item that the spec does not have is removed. Deleting the TCOLogsPolicies removes every item.
| Name | Type | Description | Required |
|---|---|---|---|
| apiVersion | string | coralogix.com/v1alpha1 | true |
| kind | string | TCOLogsPolicies | true |
| metadata | object | Refer to the Kubernetes API documentation for the fields of the metadata field. | true |
| spec | object | TCOLogsPoliciesSpec defines the desired state of a TCOLogsPolicies. | false |
| status | object | TCOLogsPoliciesStatus defines the observed state of a TCOLogsPolicies. | false |
TCOLogsPoliciesSpec defines the desired state of a TCOLogsPolicies.
| Name | Type | Description | Required |
|---|---|---|---|
| policies | []object | List of policies. | true |
TCOLogsPoliciesPolicy is the Policy object of the API.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Human-readable name for the policy. Only Latin-1 characters are accepted. | true |
| applications | object | Rule. | false |
| archiveRetention | object | Archive retention.
It refers to a ArchiveRetention by backend id, backend name, or custom resource. | false |
| description | string | Optional free-text description of the policy's purpose. Only Latin-1 characters are accepted. A policy that | false |
| disabled | boolean | Indicates whether the policy is actively evaluated and applied. A create or atomic-overwrite request sets it as the opposite of its | false |
| dpxlExpression | string | The DataPrime expression that selects the data. It starts with a version tag, for example | false |
| priority | enum | TCO priority level assigned to a policy, controlling how data is routed and archived. Enum: block, low, medium, high | false |
| priorityOverride | object | Priority override. | false |
| severities | []enum | The severities. A request without Enum: debug, verbose, info, warning, error, critical | false |
| subsystems | object | Rule. | false |
| targets | []object | List of data targets/destinations to which this policy routes data. A log policy created without targets has one target: the | false |
Rule.
| Name | Type | Description | Required |
|---|---|---|---|
| names | []string | The value(s) to match. For IS and IS_NOT rules, up to 50 comma-separated values. For START_WITH and INCLUDES rules, a single value: a comma is part of the value, not a separator. The service stores the values in lower case.
The API holds the values as one string, joined by ",". | true |
| ruleType | enum | Rule type id. Enum: is, is_not, start_with, includes | true |
Archive retention. It refers to a ArchiveRetention by backend id, backend name, or custom resource.
| Name | Type | Description | Required |
|---|---|---|---|
| backendRef | object | Reference to the retention policy Validations: | true |
Reference to the retention policy
| Name | Type | Description | Required |
|---|---|---|---|
| id | string | ID of the policy. | false |
| name | string | Name of the policy. | false |
Priority override.
| Name | Type | Description | Required |
|---|---|---|---|
| quotaBased | object | Quota based. | false |
Quota based.
| Name | Type | Description | Required |
|---|---|---|---|
| usageTiers | []object | Ordered list of usage tiers that map daily quota consumption percentages to priority levels. Percentages must be strictly increasing and priorities strictly decreasing, using only LOW, MEDIUM, or HIGH. | true |
TCOLogsPoliciesUsageTier is the UsageTier object of the API.
| Name | Type | Description | Required |
|---|---|---|---|
| dailyQuotaPercentage | int or string | The daily quota percentage. Must be between 0 and 100. | true |
| priority | enum | Enum: block, low, medium, high | true |
Rule.
| Name | Type | Description | Required |
|---|---|---|---|
| names | []string | The value(s) to match. For IS and IS_NOT rules, up to 50 comma-separated values. For START_WITH and INCLUDES rules, a single value: a comma is part of the value, not a separator. The service stores the values in lower case.
The API holds the values as one string, joined by ",". | true |
| ruleType | enum | Rule type id. Enum: is, is_not, start_with, includes | true |
TCOLogsPoliciesV1Target is the v1.Target object of the API.
| Name | Type | Description | Required |
|---|---|---|---|
| dataset | string | The dataset. | true |
| priority | enum | The base priority for the target. Enum: block, low, medium, high | true |
| archiveRetention | object | Optional archive retention configuration for the target. The service accepts it and does not store it: a target never returns it.
It refers to a ArchiveRetention by backend id, backend name, or custom resource. | false |
| dataspace | string | The dataspace. Only | false |
| priorityOverride | object | Optional quota-based tiered priority override for the target. | false |
Optional archive retention configuration for the target. The service accepts it and does not store it: a target never returns it. It refers to a ArchiveRetention by backend id, backend name, or custom resource.
| Name | Type | Description | Required |
|---|---|---|---|
| backendRef | object | Reference to the retention policy Validations: | true |
Reference to the retention policy
| Name | Type | Description | Required |
|---|---|---|---|
| id | string | ID of the policy. | false |
| name | string | Name of the policy. | false |
Optional quota-based tiered priority override for the target.
| Name | Type | Description | Required |
|---|---|---|---|
| quotaBased | object | Quota based. | false |
Quota based.
| Name | Type | Description | Required |
|---|---|---|---|
| usageTiers | []object | Ordered list of usage tiers that map daily quota consumption percentages to priority levels. Percentages must be strictly increasing and priorities strictly decreasing, using only LOW, MEDIUM, or HIGH. | true |
TCOLogsPoliciesUsageTier is the UsageTier object of the API.
| Name | Type | Description | Required |
|---|---|---|---|
| dailyQuotaPercentage | int or string | The daily quota percentage. Must be between 0 and 100. | true |
| priority | enum | Enum: block, low, medium, high | true |
TCOLogsPoliciesStatus defines the observed state of a TCOLogsPolicies.
| Name | Type | Description | Required |
|---|---|---|---|
| conditions | []object | false | |
| printableStatus | string | false |
Condition contains details for one aspect of the current state of this API Resource.
| Name | Type | Description | Required |
|---|---|---|---|
| lastTransitionTime | string | lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. Format: date-time | true |
| message | string | message is a human readable message indicating details about the transition.
This may be an empty string. | true |
| reason | string | reason contains a programmatic identifier indicating the reason for the condition's last transition.
Producers of specific condition types may define expected values and meanings for this field,
and whether the values are considered a guaranteed API.
The value should be a CamelCase string.
This field may not be empty. | true |
| status | enum | status of the condition, one of True, False, Unknown. Enum: True, False, Unknown | true |
| type | string | type of condition in CamelCase or in foo.example.com/CamelCase. | true |
| observedGeneration | integer | observedGeneration represents the .metadata.generation that the condition was set based upon.
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
with respect to the current state of the instance. Format: int64 | false |
Samples:
TCORumPolicies is the Schema for the tcorumpolicies API. NOTE: The TCORumPolicies is the whole list of the API. Each write replaces every item of the list, so an item that the spec does not have is removed. Deleting the TCORumPolicies removes every item.
| Name | Type | Description | Required |
|---|---|---|---|
| apiVersion | string | coralogix.com/v1alpha1 | true |
| kind | string | TCORumPolicies | true |
| metadata | object | Refer to the Kubernetes API documentation for the fields of the metadata field. | true |
| spec | object | TCORumPoliciesSpec defines the desired state of a TCORumPolicies. | false |
| status | object | TCORumPoliciesStatus defines the observed state of a TCORumPolicies. | false |
TCORumPoliciesSpec defines the desired state of a TCORumPolicies.
| Name | Type | Description | Required |
|---|---|---|---|
| policies | []object | List of policies. | true |
TCORumPoliciesPolicy is the Policy object of the API.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Human-readable name for the policy. Only Latin-1 characters are accepted. | true |
| priority | enum | TCO priority level assigned to a policy, controlling how data is routed and archived. Enum: block, low, medium, high | true |
| applications | object | Rule. | false |
| archiveRetention | object | Archive retention.
It refers to a ArchiveRetention by backend id, backend name, or custom resource. | false |
| description | string | Optional free-text description of the policy's purpose. Only Latin-1 characters are accepted. A policy that | false |
| disabled | boolean | Indicates whether the policy is actively evaluated and applied. A create or atomic-overwrite request sets it as the opposite of its | false |
| dpxlExpression | string | The DataPrime expression that selects the data. It starts with a version tag, for example | false |
| priorityOverride | object | Priority override. | false |
| severities | []enum | The severities. A request without Enum: debug, verbose, info, warning, error, critical | false |
| subsystems | object | Rule. | false |
Rule.
| Name | Type | Description | Required |
|---|---|---|---|
| names | []string | The value(s) to match. For IS and IS_NOT rules, up to 50 comma-separated values. For START_WITH and INCLUDES rules, a single value: a comma is part of the value, not a separator. The service stores the values in lower case.
The API holds the values as one string, joined by ",". | true |
| ruleType | enum | Rule type id. Enum: is, is_not, start_with, includes | true |
Archive retention. It refers to a ArchiveRetention by backend id, backend name, or custom resource.
| Name | Type | Description | Required |
|---|---|---|---|
| backendRef | object | Reference to the retention policy Validations: | true |
Reference to the retention policy
| Name | Type | Description | Required |
|---|---|---|---|
| id | string | ID of the policy. | false |
| name | string | Name of the policy. | false |
Priority override.
| Name | Type | Description | Required |
|---|---|---|---|
| quotaBased | object | Quota based. | false |
Quota based.
| Name | Type | Description | Required |
|---|---|---|---|
| usageTiers | []object | Ordered list of usage tiers that map daily quota consumption percentages to priority levels. Percentages must be strictly increasing and priorities strictly decreasing, using only LOW, MEDIUM, or HIGH. | true |
TCORumPoliciesUsageTier is the UsageTier object of the API.
| Name | Type | Description | Required |
|---|---|---|---|
| dailyQuotaPercentage | int or string | The daily quota percentage. Must be between 0 and 100. | true |
| priority | enum | Enum: block, low, medium, high | true |
Rule.
| Name | Type | Description | Required |
|---|---|---|---|
| names | []string | The value(s) to match. For IS and IS_NOT rules, up to 50 comma-separated values. For START_WITH and INCLUDES rules, a single value: a comma is part of the value, not a separator. The service stores the values in lower case.
The API holds the values as one string, joined by ",". | true |
| ruleType | enum | Rule type id. Enum: is, is_not, start_with, includes | true |
TCORumPoliciesStatus defines the observed state of a TCORumPolicies.
| Name | Type | Description | Required |
|---|---|---|---|
| conditions | []object | false | |
| printableStatus | string | false |
Condition contains details for one aspect of the current state of this API Resource.
| Name | Type | Description | Required |
|---|---|---|---|
| lastTransitionTime | string | lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. Format: date-time | true |
| message | string | message is a human readable message indicating details about the transition.
This may be an empty string. | true |
| reason | string | reason contains a programmatic identifier indicating the reason for the condition's last transition.
Producers of specific condition types may define expected values and meanings for this field,
and whether the values are considered a guaranteed API.
The value should be a CamelCase string.
This field may not be empty. | true |
| status | enum | status of the condition, one of True, False, Unknown. Enum: True, False, Unknown | true |
| type | string | type of condition in CamelCase or in foo.example.com/CamelCase. | true |
| observedGeneration | integer | observedGeneration represents the .metadata.generation that the condition was set based upon.
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
with respect to the current state of the instance. Format: int64 | false |
Samples:
TCOTracesPolicies is the Schema for the tcotracespolicies API. NOTE: The TCOTracesPolicies is the whole list of the API. Each write replaces every item of the list, so an item that the spec does not have is removed. Deleting the TCOTracesPolicies removes every item.
| Name | Type | Description | Required |
|---|---|---|---|
| apiVersion | string | coralogix.com/v1alpha1 | true |
| kind | string | TCOTracesPolicies | true |
| metadata | object | Refer to the Kubernetes API documentation for the fields of the metadata field. | true |
| spec | object | TCOTracesPoliciesSpec defines the desired state of a TCOTracesPolicies. | false |
| status | object | TCOTracesPoliciesStatus defines the observed state of a TCOTracesPolicies. | false |
TCOTracesPoliciesSpec defines the desired state of a TCOTracesPolicies.
| Name | Type | Description | Required |
|---|---|---|---|
| policies | []object | List of policies. | true |
TCOTracesPoliciesPolicy is the Policy object of the API.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Human-readable name for the policy. Only Latin-1 characters are accepted. | true |
| priority | enum | TCO priority level assigned to a policy, controlling how data is routed and archived. Enum: block, low, medium, high | true |
| actions | object | Rule. | false |
| applications | object | Rule. | false |
| archiveRetention | object | Archive retention.
It refers to a ArchiveRetention by backend id, backend name, or custom resource. | false |
| description | string | Optional free-text description of the policy's purpose. Only Latin-1 characters are accepted. A policy that | false |
| disabled | boolean | Indicates whether the policy is actively evaluated and applied. A create or atomic-overwrite request sets it as the opposite of its | false |
| dpxlExpression | string | The DataPrime expression that selects the spans. It starts with a version tag, for example | false |
| priorityOverride | object | Priority override. | false |
| services | object | Rule. | false |
| subsystems | object | Rule. | false |
| tags | []object | The tag rules. The service does not keep their order. | false |
Rule.
| Name | Type | Description | Required |
|---|---|---|---|
| names | []string | The value(s) to match. For IS and IS_NOT rules, up to 50 comma-separated values. For START_WITH and INCLUDES rules, a single value: a comma is part of the value, not a separator. The service stores the values in lower case.
The API holds the values as one string, joined by ",". | true |
| ruleType | enum | Rule type id. Enum: is, is_not, start_with, includes | true |
Rule.
| Name | Type | Description | Required |
|---|---|---|---|
| names | []string | The value(s) to match. For IS and IS_NOT rules, up to 50 comma-separated values. For START_WITH and INCLUDES rules, a single value: a comma is part of the value, not a separator. The service stores the values in lower case.
The API holds the values as one string, joined by ",". | true |
| ruleType | enum | Rule type id. Enum: is, is_not, start_with, includes | true |
Archive retention. It refers to a ArchiveRetention by backend id, backend name, or custom resource.
| Name | Type | Description | Required |
|---|---|---|---|
| backendRef | object | Reference to the retention policy Validations: | true |
Reference to the retention policy
| Name | Type | Description | Required |
|---|---|---|---|
| id | string | ID of the policy. | false |
| name | string | Name of the policy. | false |
Priority override.
| Name | Type | Description | Required |
|---|---|---|---|
| quotaBased | object | Quota based. | false |
Quota based.
| Name | Type | Description | Required |
|---|---|---|---|
| usageTiers | []object | Ordered list of usage tiers that map daily quota consumption percentages to priority levels. Percentages must be strictly increasing and priorities strictly decreasing, using only LOW, MEDIUM, or HIGH. | true |
TCOTracesPoliciesUsageTier is the UsageTier object of the API.
| Name | Type | Description | Required |
|---|---|---|---|
| dailyQuotaPercentage | int or string | The daily quota percentage. Must be between 0 and 100. | true |
| priority | enum | Enum: block, low, medium, high | true |
Rule.
| Name | Type | Description | Required |
|---|---|---|---|
| names | []string | The value(s) to match. For IS and IS_NOT rules, up to 50 comma-separated values. For START_WITH and INCLUDES rules, a single value: a comma is part of the value, not a separator. The service stores the values in lower case.
The API holds the values as one string, joined by ",". | true |
| ruleType | enum | Rule type id. Enum: is, is_not, start_with, includes | true |
Rule.
| Name | Type | Description | Required |
|---|---|---|---|
| names | []string | The value(s) to match. For IS and IS_NOT rules, up to 50 comma-separated values. For START_WITH and INCLUDES rules, a single value: a comma is part of the value, not a separator. The service stores the values in lower case.
The API holds the values as one string, joined by ",". | true |
| ruleType | enum | Rule type id. Enum: is, is_not, start_with, includes | true |
TCOTracesPoliciesTagRule is the TagRule object of the API.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | The tag name. Must start with "tags.". | true |
| ruleType | enum | Enum: is, is_not, start_with, includes | true |
| values | []string | The tag value(s) to match. For IS and IS_NOT rules, up to 50 comma-separated values. For START_WITH and INCLUDES rules, a single value: a comma is part of the value, not a separator.
The API holds the values as one string, joined by ",". | true |
TCOTracesPoliciesStatus defines the observed state of a TCOTracesPolicies.
| Name | Type | Description | Required |
|---|---|---|---|
| conditions | []object | false | |
| printableStatus | string | false |
Condition contains details for one aspect of the current state of this API Resource.
| Name | Type | Description | Required |
|---|---|---|---|
| lastTransitionTime | string | lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. Format: date-time | true |
| message | string | message is a human readable message indicating details about the transition.
This may be an empty string. | true |
| reason | string | reason contains a programmatic identifier indicating the reason for the condition's last transition.
Producers of specific condition types may define expected values and meanings for this field,
and whether the values are considered a guaranteed API.
The value should be a CamelCase string.
This field may not be empty. | true |
| status | enum | status of the condition, one of True, False, Unknown. Enum: True, False, Unknown | true |
| type | string | type of condition in CamelCase or in foo.example.com/CamelCase. | true |
| observedGeneration | integer | observedGeneration represents the .metadata.generation that the condition was set based upon.
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
with respect to the current state of the instance. Format: int64 | false |
ViewFolder is the Schema for the viewfolders API.
| Name | Type | Description | Required |
|---|---|---|---|
| apiVersion | string | coralogix.com/v1alpha1 | true |
| kind | string | ViewFolder | true |
| metadata | object | Refer to the Kubernetes API documentation for the fields of the metadata field. | true |
| spec | object | ViewFolderSpec defines the desired state of a ViewFolder. | false |
| status | object | ViewFolderStatus defines the observed state of a ViewFolder. | false |
ViewFolderSpec defines the desired state of a ViewFolder.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Folder name | true |
ViewFolderStatus defines the observed state of a ViewFolder.
| Name | Type | Description | Required |
|---|---|---|---|
| conditions | []object | false | |
| id | string | false | |
| printableStatus | string | false |
Condition contains details for one aspect of the current state of this API Resource.
| Name | Type | Description | Required |
|---|---|---|---|
| lastTransitionTime | string | lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. Format: date-time | true |
| message | string | message is a human readable message indicating details about the transition.
This may be an empty string. | true |
| reason | string | reason contains a programmatic identifier indicating the reason for the condition's last transition.
Producers of specific condition types may define expected values and meanings for this field,
and whether the values are considered a guaranteed API.
The value should be a CamelCase string.
This field may not be empty. | true |
| status | enum | status of the condition, one of True, False, Unknown. Enum: True, False, Unknown | true |
| type | string | type of condition in CamelCase or in foo.example.com/CamelCase. | true |
| observedGeneration | integer | observedGeneration represents the .metadata.generation that the condition was set based upon.
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
with respect to the current state of the instance. Format: int64 | false |
Samples:
View is the Schema for the views API.
| Name | Type | Description | Required |
|---|---|---|---|
| apiVersion | string | coralogix.com/v1alpha1 | true |
| kind | string | View | true |
| metadata | object | Refer to the Kubernetes API documentation for the fields of the metadata field. | true |
| spec | object | ViewSpec defines the desired state of a View. | false |
| status | object | ViewStatus defines the observed state of a View. | false |
ViewSpec defines the desired state of a View.
| Name | Type | Description | Required |
|---|---|---|---|
| filters | object | Selected filters. | true |
| name | string | View name | true |
| timeSelection | object | Time selection. Validations: | true |
| folder | object | Unique identifier for folders
It refers to a ViewFolder custom resource through resourceRef. | false |
| searchQuery | object | Search query. | false |
| viewType | enum | View type. Enum: logs, templates, archiveLogs, archiveTemplates | false |
Selected filters.
| Name | Type | Description | Required |
|---|---|---|---|
| filters | []object | List of filters. | true |
ViewsV1Filter is the views.v1.Filter object of the API.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Filter name | true |
| selectedValues | map[string]boolean | Filter values to select, each set to true. The service keeps only the values set to true and drops a value set to false. | true |
Time selection.
| Name | Type | Description | Required |
|---|---|---|---|
| customSelection | object | Custom time selection. | false |
| quickSelection | object | Quick time selection. | false |
Custom time selection.
| Name | Type | Description | Required |
|---|---|---|---|
| fromTime | string | The from time. Format: date-time | true |
| toTime | string | The to time. Format: date-time | true |
Quick time selection.
| Name | Type | Description | Required |
|---|---|---|---|
| seconds | integer | Length of the quick time range, in seconds. The service stores the nearest of 60, 120, 300, 900, 1800, 3600, 7200, 21600, 43200, 86400, 172800, 259200, 432000, and 604800. Format: int32 | true |
Unique identifier for folders It refers to a ViewFolder custom resource through resourceRef.
| Name | Type | Description | Required |
|---|---|---|---|
| resourceRef | object | Reference to a Coralogix resource within the cluster. | true |
Reference to a Coralogix resource within the cluster.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Name of the resource (not id). | true |
| namespace | string | Kubernetes namespace. | false |
Search query.
| Name | Type | Description | Required |
|---|---|---|---|
| query | string | Query string. | true |
| syntaxType | enum | Syntax type. Enum: lucene, dataprime | false |
ViewStatus defines the observed state of a View.
| Name | Type | Description | Required |
|---|---|---|---|
| conditions | []object | false | |
| id | string | false | |
| printableStatus | string | false |
Condition contains details for one aspect of the current state of this API Resource.
| Name | Type | Description | Required |
|---|---|---|---|
| lastTransitionTime | string | lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. Format: date-time | true |
| message | string | message is a human readable message indicating details about the transition.
This may be an empty string. | true |
| reason | string | reason contains a programmatic identifier indicating the reason for the condition's last transition.
Producers of specific condition types may define expected values and meanings for this field,
and whether the values are considered a guaranteed API.
The value should be a CamelCase string.
This field may not be empty. | true |
| status | enum | status of the condition, one of True, False, Unknown. Enum: True, False, Unknown | true |
| type | string | type of condition in CamelCase or in foo.example.com/CamelCase. | true |
| observedGeneration | integer | observedGeneration represents the .metadata.generation that the condition was set based upon.
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
with respect to the current state of the instance. Format: int64 | false |
coralogix.com/v1beta1
Samples:
- analytics_result_count.yaml
- analytics_threshold.yaml
- flow.yaml
- logs_anomaly.yaml
- logs_immediate.yaml
- logs_immediate_access_policy.yaml
- logs_new_value.yaml
- logs_ratio_threshold.yaml
- logs_threshold.yaml
- logs_threshold_case_settings.yaml
- logs_threshold_equals.yaml
- logs_time_relative_threshold.yaml
- logs_unique_count.yaml
- metric_anomaly.yaml
- metric_threshold.yaml
- metric_threshold_not_equals.yaml
- metric_threshold_routing_labels.yaml
- slo_threshold.yaml
- tracing_immediate.yaml
- tracing_threshold.yaml
Alert is the Schema for the Alerts API.
Note that this is only for the latest version of the Alerts API. If your account has been created before March 2025, make sure that your account has been migrated before using advanced features of alerts.
Added in v0.4.0
| Name | Type | Description | Required |
|---|---|---|---|
| apiVersion | string | coralogix.com/v1beta1 | true |
| kind | string | Alert | true |
| metadata | object | Refer to the Kubernetes API documentation for the fields of the metadata field. | true |
| spec | object | AlertSpec defines the desired state of a Coralogix Alert. For more info check - https://coralogix.com/docs/getting-started-with-coralogix-alerts/. Validations: | false |
| status | object | AlertStatus defines the observed state of Alert | false |
AlertSpec defines the desired state of a Coralogix Alert. For more info check - https://coralogix.com/docs/getting-started-with-coralogix-alerts/.
| Name | Type | Description | Required |
|---|---|---|---|
| alertType | object | Type of alert. Validations: | true |
| name | string | Name of the alert | true |
| priority | enum | Priority of the alert. Enum: p1, p2, p3, p4, p5 | true |
| accessPolicy | string | JSON string representing the access policy for this alert. Defines granular permissions for users and groups.
When set, the operator owns the policy and re-applies it on every reconcile, reverting changes made elsewhere.
Set to "" to keep the alert without a policy; a policy added elsewhere is removed on the next reconcile.
When omitted, the policy is not managed and is left unchanged.
Setting the policy requires the alerts:UpdateAccessPolicy permission on the operator's API key.
Permissions the policy leaves out are denied. The policy must keep granting the operator's API key alerts:ReadConfig,
alerts:UpdateConfig and the read/update pair for the alert's type (for example alerts:LogsReadConfig and
alerts:LogsUpdateConfig for logs alerts). Otherwise the API denies the operator's requests for the alert
and the Alert stays RemoteSynced=False until the policy grants them again. | false |
| caseSettings | object | Settings for the cases opened by the alert (preview).
When omitted, case settings are reset to the defaults: auto-resolve enabled, no enrichment query and no case destinations. | false |
| dataSources | []object | Data sources to run the alert on. | false |
| description | string | Description of the alert | false |
| enabled | boolean | Enable/disable the alert. Default: true | false |
| entityLabels | map[string]string | Labels attached to the alert. | false |
| groupByKeys | []string | Grouping fields for multiple alerts. | false |
| incidentsSettings | object | Settings for the attached incidents. | false |
| notificationGroup | object | Where notifications should be sent to. Validations: | false |
| notificationGroupExcess | []object | Do not use.
Deprecated: Legacy field for when multiple notification groups were attached. | false |
| phantomMode | boolean | Default: false | false |
| schedule | object | Alert activity schedule. Will be activated all the time if not specified. | false |
Type of alert.
| Name | Type | Description | Required |
|---|---|---|---|
| analyticsResultCount | object | Alerts on the number of rows a DataPrime query returns (preview). | false |
| analyticsThreshold | object | Alerts for when a DataPrime query result column crosses a threshold (preview). | false |
| flow | object | Flow alerts chaining multiple alerts together. | false |
| logsAnomaly | object | Anomaly alerts for logs. | false |
| logsImmediate | object | Immediate alerts for logs. | false |
| logsNewValue | object | Alerts when a new log value appears. | false |
| logsRatioThreshold | object | Alerts for when a log exceeds a defined ratio. Validations: | false |
| logsThreshold | object | Alerts for when a log crosses a threshold. | false |
| logsTimeRelativeThreshold | object | Alerts are sent when the number of logs matching a filter is more than or less than a threshold over a specific time window. | false |
| logsUniqueCount | object | Alerts for unique count changes. | false |
| metricAnomaly | object | Anomaly alerts for metrics. | false |
| metricThreshold | object | Alerts for when a metric crosses a threshold. | false |
| sloThreshold | object | Alerts for SLO thresholds. Validations: | false |
| tracingImmediate | object | Immediate alerts for traces. | false |
| tracingThreshold | object | Alerts for when traces crosses a threshold. | false |
Alerts on the number of rows a DataPrime query returns (preview).
| Name | Type | Description | Required |
|---|---|---|---|
| dataprimeQuery | object | DataPrime query that triggers the alert when it returns results. | true |
| timeframeMinutes | integer | Time frame in minutes the query is evaluated over. Format: int32 | true |
| evaluationDelayMs | integer | Evaluation delay in milliseconds. Format: int32 | false |
| evaluationPeriodMinutes | integer | How often the alert is evaluated, in minutes. Each evaluation runs the query over the last timeframeMinutes.
When unset, the API uses the smaller of 10 and timeframeMinutes; removing the field resets the period to that default.
The API checks the range (1-1440). May exceed timeframeMinutes, in which case data between evaluations is not covered by any evaluation. Format: int32 | false |
| noDataPolicy | object | Policy for handling missing data. | false |
| operator | enum | Comparison operator applied to the row count of every rule. When unset, moreThan. Enum: moreThan, lessThan, moreThanOrEquals, lessThanOrEquals, equals, notEquals | false |
| rules | []object | Per-priority trigger rules. Each rule compares the number of result rows that meet its condition to its count threshold;
when several rules hold, the highest priority wins. When unset, the alert fires at its own priority on any result row. | false |
DataPrime query that triggers the alert when it returns results.
| Name | Type | Description | Required |
|---|---|---|---|
| query | string | DataPrime query text, e.g. | true |
Policy for handling missing data.
| Name | Type | Description | Required |
|---|---|---|---|
| state | enum | State to use when no data is present. Enum: ok, alerting, keepLast, noData | true |
| autoRetireSeconds | integer | The timeframe in seconds for auto retiring values that were detected as no-data.
Must be a multiple of 60 seconds. Format: int32 | false |
A per-priority trigger rule of an analyticsResultCount alert.
| Name | Type | Description | Required |
|---|---|---|---|
| condition | object | Which result rows the rule counts and the count it is compared against. When unset, every row counts against 0. | false |
| override | object | Alert property overrides. Defaults to the alert priority when unset. | false |
Which result rows the rule counts and the count it is compared against. When unset, every row counts against 0.
| Name | Type | Description | Required |
|---|---|---|---|
| countThreshold | integer | Number of matching result rows the operator compares against. When unset, 0. Format: int64 | false |
| expression | string | DataPrime boolean expression over the columns of the query result. Only rows it holds for are counted.
When unset, every result row counts. | false |
Alert property overrides. Defaults to the alert priority when unset.
| Name | Type | Description | Required |
|---|---|---|---|
| priority | enum | Priority to override it Enum: p1, p2, p3, p4, p5 | true |
Alerts for when a DataPrime query result column crosses a threshold (preview).
| Name | Type | Description | Required |
|---|---|---|---|
| dataprimeQuery | object | DataPrime query whose results are evaluated against the rules. | true |
| rules | []object | Rules that match the alert to the data. Each rule must have a different priority. | true |
| timeframeMinutes | integer | Time frame in minutes the query is evaluated over. Format: int32 | true |
| evaluationDelayMs | integer | Evaluation delay in milliseconds. Format: int32 | false |
| evaluationPeriodMinutes | integer | How often the alert is evaluated, in minutes. Each evaluation runs the query over the last timeframeMinutes.
When unset, the API uses the smaller of 10 and timeframeMinutes; removing the field resets the period to that default.
The API checks the range (1-1440). May exceed timeframeMinutes, in which case data between evaluations is not covered by any evaluation. Format: int32 | false |
| noDataPolicy | object | Policy for handling missing data. | false |
| operator | enum | Comparison operator applied to the rule thresholds. Defaults to moreThan when unset. Enum: moreThan, lessThan, moreThanOrEquals, lessThanOrEquals, equals, notEquals | false |
| targetColumn | string | Numeric column of the query result to compare against the thresholds. | false |
| useRowsAsPermutations | boolean | Whether each result row is treated as a separate permutation. | false |
DataPrime query whose results are evaluated against the rules.
| Name | Type | Description | Required |
|---|---|---|---|
| query | string | DataPrime query text, e.g. | true |
Conditions to match for the rule.
| Name | Type | Description | Required |
|---|---|---|---|
| threshold | int or string | Threshold to compare the target column against. | true |
Alert property overrides. Defaults to the alert priority when unset.
| Name | Type | Description | Required |
|---|---|---|---|
| priority | enum | Priority to override it Enum: p1, p2, p3, p4, p5 | true |
Policy for handling missing data.
| Name | Type | Description | Required |
|---|---|---|---|
| state | enum | State to use when no data is present. Enum: ok, alerting, keepLast, noData | true |
| autoRetireSeconds | integer | The timeframe in seconds for auto retiring values that were detected as no-data.
Must be a multiple of 60 seconds. Format: int32 | false |
Flow alerts chaining multiple alerts together.
| Name | Type | Description | Required |
|---|---|---|---|
| enforceSuppression | boolean | Default: false | true |
| stages | []object | true |
Stages to go through.
| Name | Type | Description | Required |
|---|---|---|---|
| flowStagesType | object | Type of stage. | true |
| timeframeMs | integer | Format: int64 | true |
| timeframeType | enum | Type of timeframe. Enum: unspecified, upTo | true |
Type of stage.
| Name | Type | Description | Required |
|---|---|---|---|
| groups | []object | true |
Flow stage grouping.
| Name | Type | Description | Required |
|---|---|---|---|
| alertDefs | []object | Alerts to group. | true |
| alertsOp | enum | Operation for the alert. Enum: and, or | true |
| nextOp | enum | Link to the next alert. Enum: and, or | true |
Alert references.
| Name | Type | Description | Required |
|---|---|---|---|
| alertRef | object | Reference for an alert, backend or Kubernetes resource Validations: | true |
| not | boolean | Inversion. Default: false | true |
Reference for an alert, backend or Kubernetes resource
| Name | Type | Description | Required |
|---|---|---|---|
| backendRef | object | Coralogix id reference. Validations: | false |
| resourceRef | object | Kubernetes resource reference. | false |
Coralogix id reference.
| Name | Type | Description | Required |
|---|---|---|---|
| id | string | Alert ID. | false |
| name | string | Name of the alert. | false |
Kubernetes resource reference.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Name of the resource. | true |
| namespace | string | Kubernetes namespace. | false |
Anomaly alerts for logs.
| Name | Type | Description | Required |
|---|---|---|---|
| rules | []object | Rules that match the alert to the data. | true |
| anomalyAlertSettings | object | Settings for anomaly alerts. | false |
| evaluationDelayMs | integer | Evaluation delay in milliseconds. Format: int32 | false |
| logsFilter | object | Filter to filter the logs with. | false |
| notificationPayloadFilter | []string | Filter for the notification payload. | false |
The rule to match the alert's conditions.
| Name | Type | Description | Required |
|---|---|---|---|
| condition | object | Condition to match to. | true |
Condition to match to.
| Name | Type | Description | Required |
|---|---|---|---|
| minimumThreshold | int or string | Minimum value Default: 0 | true |
| timeWindow | object | Time window to evaluate. | true |
| conditionType | enum | Condition type. Enum: moreThanUsual | false |
Time window to evaluate.
| Name | Type | Description | Required |
|---|---|---|---|
| specificValue | enum | Logs time window type Enum: 5m, 10m, 15m, 20m, 30m, 1h, 2h, 4h, 6h, 12h, 24h, 36h | false |
Settings for anomaly alerts.
| Name | Type | Description | Required |
|---|---|---|---|
| percentageOfDeviation | int or string | The percentage of deviation from the baseline for triggering the alert. | true |
Filter to filter the logs with.
| Name | Type | Description | Required |
|---|---|---|---|
| simpleFilter | object | Simple lucene filter. | false |
Simple lucene filter.
| Name | Type | Description | Required |
|---|---|---|---|
| labelFilters | object | Filter for labels. | false |
| luceneQuery | string | The query. | false |
Filter for labels.
| Name | Type | Description | Required |
|---|---|---|---|
| applicationName | []object | Application name to filter for. | false |
| severity | []enum | Severity to filter for. Enum: debug, info, warning, error, critical, verbose | false |
| subsystemName | []object | Subsystem name to filter for. | false |
Label filter specifications
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Operation to apply. Enum: is, includes, endsWith, startsWith | true |
| value | string | The value | true |
Label filter specifications
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Operation to apply. Enum: is, includes, endsWith, startsWith | true |
| value | string | The value | true |
Immediate alerts for logs.
| Name | Type | Description | Required |
|---|---|---|---|
| logsFilter | object | Filter to filter the logs with. | false |
| notificationPayloadFilter | []string | Filter for the notification payload. | false |
Filter to filter the logs with.
| Name | Type | Description | Required |
|---|---|---|---|
| simpleFilter | object | Simple lucene filter. | false |
Simple lucene filter.
| Name | Type | Description | Required |
|---|---|---|---|
| labelFilters | object | Filter for labels. | false |
| luceneQuery | string | The query. | false |
Filter for labels.
| Name | Type | Description | Required |
|---|---|---|---|
| applicationName | []object | Application name to filter for. | false |
| severity | []enum | Severity to filter for. Enum: debug, info, warning, error, critical, verbose | false |
| subsystemName | []object | Subsystem name to filter for. | false |
Label filter specifications
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Operation to apply. Enum: is, includes, endsWith, startsWith | true |
| value | string | The value | true |
Label filter specifications
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Operation to apply. Enum: is, includes, endsWith, startsWith | true |
| value | string | The value | true |
Alerts when a new log value appears.
| Name | Type | Description | Required |
|---|---|---|---|
| logsFilter | object | Filter to filter the logs with. | true |
| rules | []object | Rules that match the alert to the data. | true |
| notificationPayloadFilter | []string | Filter for the notification payload. | false |
Filter to filter the logs with.
| Name | Type | Description | Required |
|---|---|---|---|
| simpleFilter | object | Simple lucene filter. | false |
Simple lucene filter.
| Name | Type | Description | Required |
|---|---|---|---|
| labelFilters | object | Filter for labels. | false |
| luceneQuery | string | The query. | false |
Filter for labels.
| Name | Type | Description | Required |
|---|---|---|---|
| applicationName | []object | Application name to filter for. | false |
| severity | []enum | Severity to filter for. Enum: debug, info, warning, error, critical, verbose | false |
| subsystemName | []object | Subsystem name to filter for. | false |
Label filter specifications
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Operation to apply. Enum: is, includes, endsWith, startsWith | true |
| value | string | The value | true |
Label filter specifications
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Operation to apply. Enum: is, includes, endsWith, startsWith | true |
| value | string | The value | true |
The rule to match the alert's conditions.
| Name | Type | Description | Required |
|---|---|---|---|
| condition | object | Condition to match to | true |
Condition to match to
| Name | Type | Description | Required |
|---|---|---|---|
| keypathToTrack | string | Where to look | true |
| timeWindow | object | Which time window. | true |
Which time window.
| Name | Type | Description | Required |
|---|---|---|---|
| specificValue | enum | Time windows. Enum: 12h, 24h, 48h, 72h, 1w, 1mo, 2mo, 3mo | false |
Alerts for when a log exceeds a defined ratio.
| Name | Type | Description | Required |
|---|---|---|---|
| denominator | object | A filter for logs. | true |
| denominatorAlias | string | true | |
| numerator | object | A filter for logs. | true |
| numeratorAlias | string | true | |
| rules | []object | Rules that match the alert to the data. | true |
| evaluationDelayMs | integer | Evaluation delay in milliseconds. Format: int32 | false |
| groupByFor | enum | Which side of the ratio the group-by keys are applied to. Enum: both, numeratorOnly, denominatorOnly | false |
| ignoreInfinity | boolean | Ignore infinity on the threshold value. Default: false | false |
| notificationPayloadFilter | []string | Filter for the notification payload. | false |
| undetectedValuesManagement | object | How to work with undetected values. | false |
A filter for logs.
| Name | Type | Description | Required |
|---|---|---|---|
| simpleFilter | object | Simple lucene filter. | false |
Simple lucene filter.
| Name | Type | Description | Required |
|---|---|---|---|
| labelFilters | object | Filter for labels. | false |
| luceneQuery | string | The query. | false |
Filter for labels.
| Name | Type | Description | Required |
|---|---|---|---|
| applicationName | []object | Application name to filter for. | false |
| severity | []enum | Severity to filter for. Enum: debug, info, warning, error, critical, verbose | false |
| subsystemName | []object | Subsystem name to filter for. | false |
Label filter specifications
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Operation to apply. Enum: is, includes, endsWith, startsWith | true |
| value | string | The value | true |
Label filter specifications
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Operation to apply. Enum: is, includes, endsWith, startsWith | true |
| value | string | The value | true |
A filter for logs.
| Name | Type | Description | Required |
|---|---|---|---|
| simpleFilter | object | Simple lucene filter. | false |
Simple lucene filter.
| Name | Type | Description | Required |
|---|---|---|---|
| labelFilters | object | Filter for labels. | false |
| luceneQuery | string | The query. | false |
Filter for labels.
| Name | Type | Description | Required |
|---|---|---|---|
| applicationName | []object | Application name to filter for. | false |
| severity | []enum | Severity to filter for. Enum: debug, info, warning, error, critical, verbose | false |
| subsystemName | []object | Subsystem name to filter for. | false |
Label filter specifications
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Operation to apply. Enum: is, includes, endsWith, startsWith | true |
| value | string | The value | true |
Label filter specifications
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Operation to apply. Enum: is, includes, endsWith, startsWith | true |
| value | string | The value | true |
Condition to match
| Name | Type | Description | Required |
|---|---|---|---|
| conditionType | enum | Condition to evaluate with. Enum: moreThan, lessThan | true |
| threshold | int or string | Threshold to pass. | true |
| timeWindow | object | Time window to evaluate. | true |
Time window to evaluate.
| Name | Type | Description | Required |
|---|---|---|---|
| specificValue | enum | Time window type. Enum: 5m, 10m, 15m, 30m, 1h, 2h, 4h, 6h, 12h, 24h, 36h | false |
Override alert properties
| Name | Type | Description | Required |
|---|---|---|---|
| priority | enum | Priority to override it Enum: p1, p2, p3, p4, p5 | true |
How to work with undetected values.
| Name | Type | Description | Required |
|---|---|---|---|
| autoRetireTimeframe | enum | Automatically retire the alerts after this time. Enum: never, 5m, 10m, 1h, 2h, 6h, 12h, 24h | true |
| triggerUndetectedValues | boolean | Deactivate triggering the alert on undetected values. Default: false | true |
Alerts for when a log crosses a threshold.
| Name | Type | Description | Required |
|---|---|---|---|
| rules | []object | Rules that match the alert to the data. | true |
| evaluationDelayMs | integer | Evaluation delay in milliseconds. Format: int32 | false |
| logsFilter | object | Filter to filter the logs with. | false |
| noDataPolicy | object | Policy for handling missing data. | false |
| notificationPayloadFilter | []string | Filter for the notification payload. | false |
| undetectedValuesManagement | object | How to work with undetected values. | false |
Condition to match
| Name | Type | Description | Required |
|---|---|---|---|
| logsThresholdConditionType | enum | Condition type. Enum: moreThan, lessThan, equals, notEquals | true |
| threshold | int or string | Threshold to match to. | true |
| timeWindow | object | Time window in which the condition is checked. | true |
Time window in which the condition is checked.
| Name | Type | Description | Required |
|---|---|---|---|
| specificValue | enum | Logs time window type Enum: 5m, 10m, 15m, 20m, 30m, 1h, 2h, 4h, 6h, 12h, 24h, 36h | false |
Alert overrides.
| Name | Type | Description | Required |
|---|---|---|---|
| priority | enum | Priority to override it Enum: p1, p2, p3, p4, p5 | true |
Filter to filter the logs with.
| Name | Type | Description | Required |
|---|---|---|---|
| simpleFilter | object | Simple lucene filter. | false |
Simple lucene filter.
| Name | Type | Description | Required |
|---|---|---|---|
| labelFilters | object | Filter for labels. | false |
| luceneQuery | string | The query. | false |
Filter for labels.
| Name | Type | Description | Required |
|---|---|---|---|
| applicationName | []object | Application name to filter for. | false |
| severity | []enum | Severity to filter for. Enum: debug, info, warning, error, critical, verbose | false |
| subsystemName | []object | Subsystem name to filter for. | false |
Label filter specifications
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Operation to apply. Enum: is, includes, endsWith, startsWith | true |
| value | string | The value | true |
Label filter specifications
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Operation to apply. Enum: is, includes, endsWith, startsWith | true |
| value | string | The value | true |
Policy for handling missing data.
| Name | Type | Description | Required |
|---|---|---|---|
| state | enum | State to use when no data is present. Enum: ok, alerting, keepLast, noData | true |
| autoRetireSeconds | integer | The timeframe in seconds for auto retiring values that were detected as no-data.
Must be a multiple of 60 seconds. Format: int32 | false |
How to work with undetected values.
| Name | Type | Description | Required |
|---|---|---|---|
| autoRetireTimeframe | enum | Automatically retire the alerts after this time. Enum: never, 5m, 10m, 1h, 2h, 6h, 12h, 24h | true |
| triggerUndetectedValues | boolean | Deactivate triggering the alert on undetected values. Default: false | true |
Alerts are sent when the number of logs matching a filter is more than or less than a threshold over a specific time window.
| Name | Type | Description | Required |
|---|---|---|---|
| ignoreInfinity | boolean | Ignore infinity on the threshold value. Default: false | true |
| logsFilter | object | A filter for logs. | true |
| rules | []object | Rules that match the alert to the data. | true |
| evaluationDelayMs | integer | Evaluation delay in milliseconds. Format: int32 | false |
| notificationPayloadFilter | []string | Filter for the notification payload. | false |
| undetectedValuesManagement | object | How to work with undetected values. | false |
A filter for logs.
| Name | Type | Description | Required |
|---|---|---|---|
| simpleFilter | object | Simple lucene filter. | false |
Simple lucene filter.
| Name | Type | Description | Required |
|---|---|---|---|
| labelFilters | object | Filter for labels. | false |
| luceneQuery | string | The query. | false |
Filter for labels.
| Name | Type | Description | Required |
|---|---|---|---|
| applicationName | []object | Application name to filter for. | false |
| severity | []enum | Severity to filter for. Enum: debug, info, warning, error, critical, verbose | false |
| subsystemName | []object | Subsystem name to filter for. | false |
Label filter specifications
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Operation to apply. Enum: is, includes, endsWith, startsWith | true |
| value | string | The value | true |
Label filter specifications
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Operation to apply. Enum: is, includes, endsWith, startsWith | true |
| value | string | The value | true |
The condition to match to.
| Name | Type | Description | Required |
|---|---|---|---|
| comparedTo | enum | Comparison window. Enum: previousHour, sameHourYesterday, sameHourLastWeek, yesterday, sameDayLastWeek, sameDayLastMonth | true |
| conditionType | enum | How to compare. Enum: moreThan, lessThan | true |
| threshold | int or string | Threshold to match. | true |
Override alert properties
| Name | Type | Description | Required |
|---|---|---|---|
| priority | enum | Priority to override it Enum: p1, p2, p3, p4, p5 | true |
How to work with undetected values.
| Name | Type | Description | Required |
|---|---|---|---|
| autoRetireTimeframe | enum | Automatically retire the alerts after this time. Enum: never, 5m, 10m, 1h, 2h, 6h, 12h, 24h | true |
| triggerUndetectedValues | boolean | Deactivate triggering the alert on undetected values. Default: false | true |
Alerts for unique count changes.
| Name | Type | Description | Required |
|---|---|---|---|
| logsFilter | object | Filter to filter the logs with. | true |
| rules | []object | Rules that match the alert to the data. | true |
| uniqueCountKeypath | string | true | |
| maxUniqueCountPerGroupByKey | integer | Format: int64 | false |
| notificationPayloadFilter | []string | Filter for the notification payload. | false |
Filter to filter the logs with.
| Name | Type | Description | Required |
|---|---|---|---|
| simpleFilter | object | Simple lucene filter. | false |
Simple lucene filter.
| Name | Type | Description | Required |
|---|---|---|---|
| labelFilters | object | Filter for labels. | false |
| luceneQuery | string | The query. | false |
Filter for labels.
| Name | Type | Description | Required |
|---|---|---|---|
| applicationName | []object | Application name to filter for. | false |
| severity | []enum | Severity to filter for. Enum: debug, info, warning, error, critical, verbose | false |
| subsystemName | []object | Subsystem name to filter for. | false |
Label filter specifications
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Operation to apply. Enum: is, includes, endsWith, startsWith | true |
| value | string | The value | true |
Label filter specifications
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Operation to apply. Enum: is, includes, endsWith, startsWith | true |
| value | string | The value | true |
The rule to match the alert's conditions.
| Name | Type | Description | Required |
|---|---|---|---|
| condition | object | Condition to match to. | true |
Condition to match to.
| Name | Type | Description | Required |
|---|---|---|---|
| threshold | integer | Threshold to cross Format: int64 | true |
| timeWindow | object | Time window to evaluate. | true |
Time window to evaluate.
| Name | Type | Description | Required |
|---|---|---|---|
| specificValue | enum | Time windows for Logs Unique Count Enum: 1m, 5m, 10m, 15m, 20m, 30m, 1h, 2h, 4h, 6h, 12h, 24h, 36h | true |
Anomaly alerts for metrics.
| Name | Type | Description | Required |
|---|---|---|---|
| metricFilter | object | PromQL filter for metrics | true |
| rules | []object | Rules that match the alert to the data. | true |
| anomalyAlertSettings | object | Settings for anomaly alerts. | false |
| evaluationDelayMs | integer | Evaluation delay in milliseconds. Format: int32 | false |
PromQL filter for metrics
| Name | Type | Description | Required |
|---|---|---|---|
| promql | string | PromQL query: https://coralogix.com/academy/mastering-metrics-in-coralogix/promql-fundamentals/ | false |
The rule to match the alert's conditions.
| Name | Type | Description | Required |
|---|---|---|---|
| condition | object | Condition to match to. | true |
Condition to match to.
| Name | Type | Description | Required |
|---|---|---|---|
| conditionType | enum | Condition type. Enum: moreThanUsual, lessThanUsual | true |
| forOverPct | integer | Percentage for the threshold Format: int64 | true |
| minNonNullValuesPct | integer | Replace with a number Format: int64 | true |
| ofTheLast | object | Time window to match within | true |
| threshold | int or string | Threshold to clear. | true |
Time window to match within
| Name | Type | Description | Required |
|---|---|---|---|
| specificValue | enum | Time window type. Enum: 1m, 5m, 10m, 15m, 20m, 30m, 1h, 2h, 4h, 6h, 12h, 24h, 36h | true |
Settings for anomaly alerts.
| Name | Type | Description | Required |
|---|---|---|---|
| percentageOfDeviation | int or string | The percentage of deviation from the baseline for triggering the alert. | true |
Alerts for when a metric crosses a threshold.
| Name | Type | Description | Required |
|---|---|---|---|
| metricFilter | object | Filter for metrics | true |
| missingValues | object | Missing values strategies. | true |
| rules | []object | Rules that match the alert to the data. | true |
| evaluationDelayMs | integer | Evaluation delay in milliseconds. Format: int32 | false |
| noDataPolicy | object | Policy for handling missing data. | false |
| undetectedValuesManagement | object | How to work with undetected values. | false |
Filter for metrics
| Name | Type | Description | Required |
|---|---|---|---|
| promql | string | PromQL query: https://coralogix.com/academy/mastering-metrics-in-coralogix/promql-fundamentals/ | false |
Missing values strategies.
| Name | Type | Description | Required |
|---|---|---|---|
| minNonNullValuesPct | integer | Replace with a number Format: int64 | false |
| replaceWithZero | boolean | Replace missing values with 0s Default: false | false |
Conditions to match for the rule.
| Name | Type | Description | Required |
|---|---|---|---|
| conditionType | enum | ConditionType type. Enum: moreThan, lessThan, moreThanOrEquals, lessThanOrEquals, equals, notEquals | true |
| forOverPct | integer | Format: int32 | true |
| ofTheLast | object | Time window type. Validations: | true |
| threshold | int or string | true |
Time window type.
| Name | Type | Description | Required |
|---|---|---|---|
| dynamicDuration | string | false | |
| specificValue | enum | Time window type. Enum: 1m, 5m, 10m, 15m, 20m, 30m, 1h, 2h, 4h, 6h, 12h, 24h, 36h | false |
Alert property overrides
| Name | Type | Description | Required |
|---|---|---|---|
| priority | enum | Priority to override it Enum: p1, p2, p3, p4, p5 | true |
Policy for handling missing data.
| Name | Type | Description | Required |
|---|---|---|---|
| state | enum | State to use when no data is present. Enum: ok, alerting, keepLast, noData | true |
| autoRetireSeconds | integer | The timeframe in seconds for auto retiring values that were detected as no-data.
Must be a multiple of 60 seconds. Format: int32 | false |
How to work with undetected values.
| Name | Type | Description | Required |
|---|---|---|---|
| autoRetireTimeframe | enum | Automatically retire the alerts after this time. Enum: never, 5m, 10m, 1h, 2h, 6h, 12h, 24h | true |
| triggerUndetectedValues | boolean | Deactivate triggering the alert on undetected values. Default: false | true |
Alerts for SLO thresholds.
| Name | Type | Description | Required |
|---|---|---|---|
| sloDefinition | object | true | |
| burnRate | object | false | |
| errorBudget | object | false |
| Name | Type | Description | Required |
|---|---|---|---|
| sloRef | object | Validations: | true |
| Name | Type | Description | Required |
|---|---|---|---|
| backendRef | object | Validations: | false |
| resourceRef | object | Reference to a resource within the cluster. | false |
| Name | Type | Description | Required |
|---|---|---|---|
| id | string | false | |
| name | string | false |
Reference to a resource within the cluster.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Name of the resource. | true |
| namespace | string | Kubernetes namespace. | false |
Condition to match
| Name | Type | Description | Required |
|---|---|---|---|
| threshold | int or string | true |
Alert overrides.
| Name | Type | Description | Required |
|---|---|---|---|
| priority | enum | Priority to override it Enum: p1, p2, p3, p4, p5 | true |
| Name | Type | Description | Required |
|---|---|---|---|
| timeDuration | object | true |
| Name | Type | Description | Required |
|---|---|---|---|
| duration | integer | true | |
| unit | enum | Time duration unit for a Burn Rate Slo. Enum: unspecified, hours | true |
| Name | Type | Description | Required |
|---|---|---|---|
| timeDuration | object | true |
| Name | Type | Description | Required |
|---|---|---|---|
| duration | integer | true | |
| unit | enum | Time duration unit for a Burn Rate Slo. Enum: unspecified, hours | true |
| Name | Type | Description | Required |
|---|---|---|---|
| rules | []object | true |
Condition to match
| Name | Type | Description | Required |
|---|---|---|---|
| threshold | int or string | Threshold to match to. | true |
Alert overrides.
| Name | Type | Description | Required |
|---|---|---|---|
| priority | enum | Priority to override it Enum: p1, p2, p3, p4, p5 | true |
Immediate alerts for traces.
| Name | Type | Description | Required |
|---|---|---|---|
| notificationPayloadFilter | []string | Filter for the notification payload. | false |
| tracingFilter | object | A simple tracing filter. | false |
A simple tracing filter.
| Name | Type | Description | Required |
|---|---|---|---|
| simple | object | Simple tracing filter paired with a latency. | false |
Simple tracing filter paired with a latency.
| Name | Type | Description | Required |
|---|---|---|---|
| latencyThresholdMs | integer | Format: int64 | false |
| tracingLabelFilters | object | Filter for traces. | false |
Filter for traces.
| Name | Type | Description | Required |
|---|---|---|---|
| applicationName | []object | false | |
| operationName | []object | false | |
| serviceName | []object | false | |
| spanFields | []object | false | |
| subsystemName | []object | false |
Filter - values and operation.
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Tracing filter operations. Enum: includes, endsWith, startsWith, isNot, is | true |
| values | []string | true |
Filter - values and operation.
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Tracing filter operations. Enum: includes, endsWith, startsWith, isNot, is | true |
| values | []string | true |
Filter - values and operation.
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Tracing filter operations. Enum: includes, endsWith, startsWith, isNot, is | true |
| values | []string | true |
Filter for spans
| Name | Type | Description | Required |
|---|---|---|---|
| filterType | object | Filter - values and operation. | true |
| key | string | true |
Filter - values and operation.
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Tracing filter operations. Enum: includes, endsWith, startsWith, isNot, is | true |
| values | []string | true |
Filter - values and operation.
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Tracing filter operations. Enum: includes, endsWith, startsWith, isNot, is | true |
| values | []string | true |
Alerts for when traces crosses a threshold.
| Name | Type | Description | Required |
|---|---|---|---|
| rules | []object | Rules that match the alert to the data. | true |
| notificationPayloadFilter | []string | Filter for the notification payload. | false |
| tracingFilter | object | Filter the base collection. | false |
The rule to match the alert's conditions.
| Name | Type | Description | Required |
|---|---|---|---|
| condition | object | The condition to match to. | true |
The condition to match to.
| Name | Type | Description | Required |
|---|---|---|---|
| spanAmount | int or string | Threshold amount. | true |
| timeWindow | object | Time window to evaluate. | true |
| conditionType | enum | Condition type. Enum: moreThan | false |
Time window to evaluate.
| Name | Type | Description | Required |
|---|---|---|---|
| specificValue | enum | Time window type for tracing. Enum: 5m, 10m, 15m, 20m, 30m, 1h, 2h, 4h, 6h, 12h, 24h, 36h | false |
Filter the base collection.
| Name | Type | Description | Required |
|---|---|---|---|
| simple | object | Simple tracing filter paired with a latency. | false |
Simple tracing filter paired with a latency.
| Name | Type | Description | Required |
|---|---|---|---|
| latencyThresholdMs | integer | Format: int64 | false |
| tracingLabelFilters | object | Filter for traces. | false |
Filter for traces.
| Name | Type | Description | Required |
|---|---|---|---|
| applicationName | []object | false | |
| operationName | []object | false | |
| serviceName | []object | false | |
| spanFields | []object | false | |
| subsystemName | []object | false |
Filter - values and operation.
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Tracing filter operations. Enum: includes, endsWith, startsWith, isNot, is | true |
| values | []string | true |
Filter - values and operation.
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Tracing filter operations. Enum: includes, endsWith, startsWith, isNot, is | true |
| values | []string | true |
Filter - values and operation.
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Tracing filter operations. Enum: includes, endsWith, startsWith, isNot, is | true |
| values | []string | true |
Filter for spans
| Name | Type | Description | Required |
|---|---|---|---|
| filterType | object | Filter - values and operation. | true |
| key | string | true |
Filter - values and operation.
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Tracing filter operations. Enum: includes, endsWith, startsWith, isNot, is | true |
| values | []string | true |
Filter - values and operation.
| Name | Type | Description | Required |
|---|---|---|---|
| operation | enum | Tracing filter operations. Enum: includes, endsWith, startsWith, isNot, is | true |
| values | []string | true |
Settings for the cases opened by the alert (preview). When omitted, case settings are reset to the defaults: auto-resolve enabled, no enrichment query and no case destinations.
| Name | Type | Description | Required |
|---|---|---|---|
| autoResolveMode | enum | Whether cases are resolved automatically when the alert resolves (preview). Enabled when omitted. Enum: enabled, disabled | false |
| destinations | []object | Where case notifications are sent (preview). | false |
| enrichmentQueries | []object | Queries that enrich the cases opened by the alert (preview). | false |
Destination for case notifications (preview).
| Name | Type | Description | Required |
|---|---|---|---|
| condition | string | Routing condition evaluated against the case notification. Use "true" to notify on every case notification, or filter on caseMetadata.notificationReason (for example caseMetadata.notificationReason == 'caseResolved'). | true |
| connector | object | Connector to send case notifications to. The connector must support the cases entity type. Validations: | true |
| connectorConfigOverrides | []object | Connector configuration fields that override the connector's own values for case notifications. | false |
| preset | object | Preset for the case notifications. Must be a cases preset for the connector type.
The default preset of the connector type is used when omitted. Validations: | false |
Connector to send case notifications to. The connector must support the cases entity type.
| Name | Type | Description | Required |
|---|---|---|---|
| backendRef | object | BackendRef is a reference to a backend resource. | false |
| resourceRef | object | ResourceRef is a reference to a Kubernetes resource. | false |
BackendRef is a reference to a backend resource.
| Name | Type | Description | Required |
|---|---|---|---|
| id | string | true |
ResourceRef is a reference to a Kubernetes resource.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Name of the resource. | true |
| namespace | string | Kubernetes namespace. | false |
| Name | Type | Description | Required |
|---|---|---|---|
| fieldName | string | The name of the configuration field. | true |
| template | string | The template for the configuration field. | true |
Preset for the case notifications. Must be a cases preset for the connector type. The default preset of the connector type is used when omitted.
| Name | Type | Description | Required |
|---|---|---|---|
| backendRef | object | BackendRef is a reference to a backend resource. | false |
| resourceRef | object | ResourceRef is a reference to a Kubernetes resource. | false |
BackendRef is a reference to a backend resource.
| Name | Type | Description | Required |
|---|---|---|---|
| id | string | true |
ResourceRef is a reference to a Kubernetes resource.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Name of the resource. | true |
| namespace | string | Kubernetes namespace. | false |
Query that enriches the cases opened by the alert (preview).
| Name | Type | Description | Required |
|---|---|---|---|
| query | string | The enrichment query. | true |
| type | enum | The query language. DataPrime when omitted. Enum: dataprime | false |
Data source to run the alert on.
| Name | Type | Description | Required |
|---|---|---|---|
| dataSet | string | Dataset of the data source. | true |
| dataSpace | string | Data space of the data source. | true |
Settings for the attached incidents.
| Name | Type | Description | Required |
|---|---|---|---|
| notifyOn | enum | When to notify. Enum: triggeredOnly, triggeredAndResolved | false |
| retriggeringPeriod | object | When to re-notify. | false |
When to re-notify.
| Name | Type | Description | Required |
|---|---|---|---|
| minutes | integer | Delay between re-triggered alerts. Format: int64 | false |
Where notifications should be sent to.
| Name | Type | Description | Required |
|---|---|---|---|
| destinations | []object | Do not use.
Deprecated: This field is deprecated and will be removed in a future version. | false |
| groupByKeys | []string | Group notification by these keys. | false |
| router | object | The router for notifications (Notification Center feature) where to route notifications to. | false |
| webhooks | []object | Webhooks to trigger for notifications. | false |
| Name | Type | Description | Required |
|---|---|---|---|
| connector | object | Connector is the connector for the destination. Should be one of backendRef or resourceRef. Validations: | true |
| notifyOn | enum | When to notify. Enum: triggeredOnly, triggeredAndResolved | true |
| triggeredRoutingOverrides | object | The routing configuration to override from the connector/preset for triggered notifications. | true |
| preset | object | Preset is the preset for the destination. Should be one of backendRef or resourceRef. Validations: | false |
| resolvedRoutingOverrides | object | Optional routing configuration to override from the connector/preset for resolved notifications. | false |
| retriggeringPeriodMinutes | integer | The time in minutes before a new notification is sent for this destination. Format: int64 | false |
Connector is the connector for the destination. Should be one of backendRef or resourceRef.
| Name | Type | Description | Required |
|---|---|---|---|
| backendRef | object | BackendRef is a reference to a backend resource. | false |
| resourceRef | object | ResourceRef is a reference to a Kubernetes resource. | false |
BackendRef is a reference to a backend resource.
| Name | Type | Description | Required |
|---|---|---|---|
| id | string | true |
ResourceRef is a reference to a Kubernetes resource.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Name of the resource. | true |
| namespace | string | Kubernetes namespace. | false |
The routing configuration to override from the connector/preset for triggered notifications.
| Name | Type | Description | Required |
|---|---|---|---|
| configOverrides | object | false |
| Name | Type | Description | Required |
|---|---|---|---|
| payloadType | string | The ID of the output schema to use for routing notifications | true |
| connectorConfigFields | []object | Connector configuration fields. | false |
| messageConfigFields | []object | Notification message configuration fields. | false |
| Name | Type | Description | Required |
|---|---|---|---|
| fieldName | string | The name of the configuration field. | true |
| template | string | The template for the configuration field. | true |
| Name | Type | Description | Required |
|---|---|---|---|
| fieldName | string | The name of the configuration field. | true |
| template | string | The template for the configuration field. | true |
Preset is the preset for the destination. Should be one of backendRef or resourceRef.
| Name | Type | Description | Required |
|---|---|---|---|
| backendRef | object | BackendRef is a reference to a backend resource. | false |
| resourceRef | object | ResourceRef is a reference to a Kubernetes resource. | false |
BackendRef is a reference to a backend resource.
| Name | Type | Description | Required |
|---|---|---|---|
| id | string | true |
ResourceRef is a reference to a Kubernetes resource.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Name of the resource. | true |
| namespace | string | Kubernetes namespace. | false |
Optional routing configuration to override from the connector/preset for resolved notifications.
| Name | Type | Description | Required |
|---|---|---|---|
| configOverrides | object | false |
| Name | Type | Description | Required |
|---|---|---|---|
| payloadType | string | The ID of the output schema to use for routing notifications | true |
| connectorConfigFields | []object | Connector configuration fields. | false |
| messageConfigFields | []object | Notification message configuration fields. | false |
| Name | Type | Description | Required |
|---|---|---|---|
| fieldName | string | The name of the configuration field. | true |
| template | string | The template for the configuration field. | true |
| Name | Type | Description | Required |
|---|---|---|---|
| fieldName | string | The name of the configuration field. | true |
| template | string | The template for the configuration field. | true |
The router for notifications (Notification Center feature) where to route notifications to.
| Name | Type | Description | Required |
|---|---|---|---|
| notifyOn | enum | When to notify. Enum: triggeredOnly, triggeredAndResolved | true |
| mode | enum | How the router is chosen. Enum: default, routingLabels | false |
Settings for a notification webhook.
| Name | Type | Description | Required |
|---|---|---|---|
| integration | object | Type and spec of webhook. Validations: | true |
| notifyOn | enum | When to notify. Enum: triggeredOnly, triggeredAndResolved | true |
| retriggeringPeriod | object | When to re-trigger. | true |
Type and spec of webhook.
| Name | Type | Description | Required |
|---|---|---|---|
| integrationRef | object | Reference to the webhook. Validations: | false |
| recipients | []string | Recipients for the notification. | false |
Reference to the webhook.
| Name | Type | Description | Required |
|---|---|---|---|
| backendRef | object | Backend reference for the outbound webhook. Validations: | false |
| resourceRef | object | Resource reference for use with the alert notification. | false |
Backend reference for the outbound webhook.
| Name | Type | Description | Required |
|---|---|---|---|
| id | integer | Webhook ID. Format: int64 | false |
| name | string | Name of the webhook. | false |
Resource reference for use with the alert notification.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Name of the resource. | true |
| namespace | string | Kubernetes namespace. | false |
When to re-trigger.
| Name | Type | Description | Required |
|---|---|---|---|
| minutes | integer | Delay between re-triggered alerts. Format: int64 | false |
Notification group to use for alert notifications.
| Name | Type | Description | Required |
|---|---|---|---|
| destinations | []object | Do not use.
Deprecated: This field is deprecated and will be removed in a future version. | false |
| groupByKeys | []string | Group notification by these keys. | false |
| router | object | The router for notifications (Notification Center feature) where to route notifications to. | false |
| webhooks | []object | Webhooks to trigger for notifications. | false |
| Name | Type | Description | Required |
|---|---|---|---|
| connector | object | Connector is the connector for the destination. Should be one of backendRef or resourceRef. Validations: | true |
| notifyOn | enum | When to notify. Enum: triggeredOnly, triggeredAndResolved | true |
| triggeredRoutingOverrides | object | The routing configuration to override from the connector/preset for triggered notifications. | true |
| preset | object | Preset is the preset for the destination. Should be one of backendRef or resourceRef. Validations: | false |
| resolvedRoutingOverrides | object | Optional routing configuration to override from the connector/preset for resolved notifications. | false |
| retriggeringPeriodMinutes | integer | The time in minutes before a new notification is sent for this destination. Format: int64 | false |
Connector is the connector for the destination. Should be one of backendRef or resourceRef.
| Name | Type | Description | Required |
|---|---|---|---|
| backendRef | object | BackendRef is a reference to a backend resource. | false |
| resourceRef | object | ResourceRef is a reference to a Kubernetes resource. | false |
BackendRef is a reference to a backend resource.
| Name | Type | Description | Required |
|---|---|---|---|
| id | string | true |
ResourceRef is a reference to a Kubernetes resource.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Name of the resource. | true |
| namespace | string | Kubernetes namespace. | false |
The routing configuration to override from the connector/preset for triggered notifications.
| Name | Type | Description | Required |
|---|---|---|---|
| configOverrides | object | false |
| Name | Type | Description | Required |
|---|---|---|---|
| payloadType | string | The ID of the output schema to use for routing notifications | true |
| connectorConfigFields | []object | Connector configuration fields. | false |
| messageConfigFields | []object | Notification message configuration fields. | false |
| Name | Type | Description | Required |
|---|---|---|---|
| fieldName | string | The name of the configuration field. | true |
| template | string | The template for the configuration field. | true |
| Name | Type | Description | Required |
|---|---|---|---|
| fieldName | string | The name of the configuration field. | true |
| template | string | The template for the configuration field. | true |
Preset is the preset for the destination. Should be one of backendRef or resourceRef.
| Name | Type | Description | Required |
|---|---|---|---|
| backendRef | object | BackendRef is a reference to a backend resource. | false |
| resourceRef | object | ResourceRef is a reference to a Kubernetes resource. | false |
BackendRef is a reference to a backend resource.
| Name | Type | Description | Required |
|---|---|---|---|
| id | string | true |
ResourceRef is a reference to a Kubernetes resource.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Name of the resource. | true |
| namespace | string | Kubernetes namespace. | false |
Optional routing configuration to override from the connector/preset for resolved notifications.
| Name | Type | Description | Required |
|---|---|---|---|
| configOverrides | object | false |
| Name | Type | Description | Required |
|---|---|---|---|
| payloadType | string | The ID of the output schema to use for routing notifications | true |
| connectorConfigFields | []object | Connector configuration fields. | false |
| messageConfigFields | []object | Notification message configuration fields. | false |
| Name | Type | Description | Required |
|---|---|---|---|
| fieldName | string | The name of the configuration field. | true |
| template | string | The template for the configuration field. | true |
| Name | Type | Description | Required |
|---|---|---|---|
| fieldName | string | The name of the configuration field. | true |
| template | string | The template for the configuration field. | true |
The router for notifications (Notification Center feature) where to route notifications to.
| Name | Type | Description | Required |
|---|---|---|---|
| notifyOn | enum | When to notify. Enum: triggeredOnly, triggeredAndResolved | true |
| mode | enum | How the router is chosen. Enum: default, routingLabels | false |
Settings for a notification webhook.
| Name | Type | Description | Required |
|---|---|---|---|
| integration | object | Type and spec of webhook. Validations: | true |
| notifyOn | enum | When to notify. Enum: triggeredOnly, triggeredAndResolved | true |
| retriggeringPeriod | object | When to re-trigger. | true |
Type and spec of webhook.
| Name | Type | Description | Required |
|---|---|---|---|
| integrationRef | object | Reference to the webhook. Validations: | false |
| recipients | []string | Recipients for the notification. | false |
Reference to the webhook.
| Name | Type | Description | Required |
|---|---|---|---|
| backendRef | object | Backend reference for the outbound webhook. Validations: | false |
| resourceRef | object | Resource reference for use with the alert notification. | false |
Backend reference for the outbound webhook.
| Name | Type | Description | Required |
|---|---|---|---|
| id | integer | Webhook ID. Format: int64 | false |
| name | string | Name of the webhook. | false |
Resource reference for use with the alert notification.
| Name | Type | Description | Required |
|---|---|---|---|
| name | string | Name of the resource. | true |
| namespace | string | Kubernetes namespace. | false |
When to re-trigger.
| Name | Type | Description | Required |
|---|---|---|---|
| minutes | integer | Delay between re-triggered alerts. Format: int64 | false |
Alert activity schedule. Will be activated all the time if not specified.
| Name | Type | Description | Required |
|---|---|---|---|
| timeZone | string | Time zone. Default: UTC+00 | true |
| activeOn | object | Schedule to have the alert active. | false |
Schedule to have the alert active.
| Name | Type | Description | Required |
|---|---|---|---|
| dayOfWeek | []enum | Enum: sunday, monday, tuesday, wednesday, thursday, friday, saturday | true |
| endTime | string | Time of day. Default: 23:59 | false |
| startTime | string | Time of day. Default: 00:00 | false |
AlertStatus defines the observed state of Alert
| Name | Type | Description | Required |
|---|---|---|---|
| accessPolicyManaged | boolean | Deprecated: no longer set or read. Operator 2.17.0 set it while an access policy was applied, to avoid
recreating the alert on a not-found response. The API answers a policy denial with 403, not 404, so the
operator now recreates a deleted alert regardless. A value written by 2.17.0 may remain and has no effect. | false |
| conditions | []object | false | |
| id | string | false | |
| printableStatus | string | false |
Condition contains details for one aspect of the current state of this API Resource.
| Name | Type | Description | Required |
|---|---|---|---|
| lastTransitionTime | string | lastTransitionTime is the last time the condition transitioned from one status to another.
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. Format: date-time | true |
| message | string | message is a human readable message indicating details about the transition.
This may be an empty string. | true |
| reason | string | reason contains a programmatic identifier indicating the reason for the condition's last transition.
Producers of specific condition types may define expected values and meanings for this field,
and whether the values are considered a guaranteed API.
The value should be a CamelCase string.
This field may not be empty. | true |
| status | enum | status of the condition, one of True, False, Unknown. Enum: True, False, Unknown | true |
| type | string | type of condition in CamelCase or in foo.example.com/CamelCase. | true |
| observedGeneration | integer | observedGeneration represents the .metadata.generation that the condition was set based upon.
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
with respect to the current state of the instance. Format: int64 | false |