logging.gdc.goog/v1
Contains API Schema definitions for the Logging group.
AlertRule
Defines the alert rules configuration.
Appears in: - LoggingRuleSpec
| Field | Description | 
|---|---|
| alertstring | The alert name. Its value must be a valid label value. | 
| exprstring | The PromQL or LogQL expression to evaluate the alert rule. | 
| forstring | The duration in seconds over which the specified condition must be met to move the alert from the pending state to the open state. | 
| labelsobject (keys:string, values:string) | The labels to add or overwrite. The required labels in this field are severity: [error, critical, warning, info],code: <short code for the error>, andresource: <component, service, or hardware related to the alert>. Any additional labels are optional. | 
| annotationsobject (keys:string, values:string) | The annotations to add. | 
LoggingRule
Defines the Schema for the Logging Rules API.
Appears in: - LoggingRuleList
| Field | Description | 
|---|---|
| apiVersionstring | logging.gdc.goog/v1 | 
| kindstring | LoggingRule | 
| metadataObjectMeta | Refer to Kubernetes API documentation for fields of metadata. | 
| specLoggingRuleSpec | |
| statusLoggingRuleStatus | 
LoggingRuleList
Contains a list of logging rules.
| Field | Description | 
|---|---|
| apiVersionstring | logging.gdc.goog/v1 | 
| kindstring | LoggingRuleList | 
| metadataListMeta | Refer to Kubernetes API documentation for fields of metadata. | 
| itemsLoggingRule array | 
LoggingRuleSpec
Defines the specification or expected state of the LoggingRule object.
Appears in: - LoggingRule
| Field | Description | 
|---|---|
| sourceSource | The log source on which to base alerts. Accepted values are operationalandaudit. | 
| intervalstring | The rule evaluation interval. | 
| limitinteger | The limit number of alerts. A value of 0means no limit. | 
| recordRulesRecordRule array | The list of record rules. | 
| alertRulesAlertRule array | The list of alert rules. | 
LoggingRuleStatus
Defines the observed state of the LoggingRule object.
Appears in: - LoggingRule
| Field | Description | 
|---|---|
| conditionsCondition array | A list of conditions observed in the logging alerting stack. | 
| lokiInstancestring | The name of the Loki host instance where the LoggingRuleobject is currently installed. | 
LoggingTarget
Defines the Schema for the operational logging targets API.
Appears in: - LoggingTargetList
| Field | Description | 
|---|---|
| apiVersionstring | logging.gdc.goog/v1 | 
| kindstring | LoggingTarget | 
| metadataObjectMeta | Refer to Kubernetes API documentation for fields of metadata. | 
| specLoggingTargetSpec | |
| statusLoggingTargetStatus | 
LoggingTargetList
Contains a list of logging targets.
| Field | Description | 
|---|---|
| apiVersionstring | logging.gdc.goog/v1 | 
| kindstring | LoggingTargetList | 
| metadataListMeta | Refer to Kubernetes API documentation for fields of metadata. | 
| itemsLoggingTarget array | 
LoggingTargetSelectors
Provides selectors that determine which pods or containers to collect logs from.
Appears in: - LoggingTargetSpec
| Field | Description | 
|---|---|
| matchClustersstring array | The clusters to collect logs from. The default configuration is to collect logs from all clusters. The relationship between different clusters is an ORrelationship. For example, the value["admin", "system"]indicates to consider the admin clusterORthe system cluster. | 
| matchPodNamesstring array | The pod name prefixes to collect logs from. The Observability platform scrapes all pods with names that start with the specified prefixes. The values must contain [a-z0-9-]characters only. The relationship between different list elements is anORrelationship. | 
| matchContainerNamesstring array | The container name prefixes to collect logs from. The Observability platform scrapes all containers with names that start with the specified prefixes. The values must contain [a-z0-9-]characters only. The relationship between different list elements is anORrelationship. | 
LoggingTargetSpec
Defines the specification or expected state of the LoggingTarget object.
Appears in: - LoggingTarget
| Field | Description | 
|---|---|
| selectorLoggingTargetSelectors | The matching pattern that identifies pods or containers to collect logs from. The relationship between different selectors is an ANDrelationship, so all selectors are considered. | 
| logAccessLevelLogAccessLevel | The access level for log entries. The default value is AOfor Application Operator. | 
| parserOperationalLogParser | The predefined parser for log entries. | 
| serviceNamestring | A service name to apply as a label. For user workloads, you can consider this field for a workload name. | 
| additionalFieldsobject (keys:string, values:string) | The additional static fields to apply to log entries. This field is a mapping of key-value pairs, where the field name is the key and the field value is the value. | 
LoggingTargetStatus
Defines the observed state of the LoggingTarget object.
Appears in: - LoggingTarget
| Field | Description | 
|---|---|
| conditionsCondition array | A list of conditions observed in the logging stack. | 
RecordRule
Defines the record rules configuration.
Appears in: - LoggingRuleSpec
| Field | Description | 
|---|---|
| recordstring | The time series in which to write the record rule. It must be a valid metric name. | 
| exprstring | The PromQL or LogQL expression to evaluate the record rule. | 
| labelsobject (keys:string, values:string) | The labels to add or overwrite. | 
SIEMOrgForwarder
Defines the Schema for the SIEMOrgForwarder API.
This API defines the type of logs, which can be audit or operational, and the external SIEM destination to send the logs.
Appears in: - SIEMOrgForwarderList
| Field | Description | 
|---|---|
| apiVersionstring | logging.gdc.goog/v1 | 
| kindstring | SIEMOrgForwarder | 
| metadataObjectMeta | Refer to Kubernetes API documentation for fields of metadata. | 
| specSIEMOrgForwarderSpec | |
| statusSIEMOrgForwarderStatus | 
SIEMOrgForwarderList
Contains a list of SIEMOrgForwarder objects.
| Field | Description | 
|---|---|
| apiVersionstring | logging.gdc.goog/v1 | 
| kindstring | SIEMOrgForwarderList | 
| metadataListMeta | Refer to Kubernetes API documentation for fields of metadata. | 
| itemsSIEMOrgForwarder array | 
SIEMOrgForwarderSpec
Defines the specification or expected state of the SIEMOrgForwarder resource.
Appears in: - SIEMOrgForwarder
| Field | Description | 
|---|---|
| sourceLogType | The type of logs to export to a SIEM destination. Accepted values are operationalandaudit. | 
| splunkOutputsSplunkOutput array | The list of Splunk outputs. | 
SIEMOrgForwarderStatus
Defines the observed state of the SIEMOrgForwarder resource.
Appears in: - SIEMOrgForwarder
| Field | Description | 
|---|---|
| conditionsCondition array | The observed state of the SIEMOrgForwarderresource. | 
SplunkOutput
Defines the Splunk output configuration.
Appears in: - SIEMOrgForwarderSpec
| Field | Description | 
|---|---|
| hoststring | The host name of the target Splunk service. | 
| tokenToken | The authentication token for the HTTP Event Collector interface. | 
| tlsstring | The Transport Layer Security (TLS) protocol. For more information, see https://docs.fluentbit.io/manual/administration/transport-security. | 
| netConnectTimeoutinteger | The maximum time in seconds to wait for a TCP connection to be established. This value includes the TLS handshake time. | 
Token
Defines the token configuration for the SIEM export.
Appears in: - SplunkOutput
| Field | Description | 
|---|---|
| namestring | The name of the token. | 
| fieldstring | The field of the token. |