Skip to content

Commit cb5e55e

Browse files
committed
LOG-6850: syslog input missing from 'obsclf.spec.inputs.receiver'
1 parent dc68de2 commit cb5e55e

5 files changed

+68
-9
lines changed

api/observability/v1/input_types.go

+9
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,13 @@ type InputTLSSpec TLSSpec
258258
type ReceiverSpec struct {
259259
// Type of Receiver plugin.
260260
//
261+
// Supported Receiver types are:
262+
//
263+
// 1. http
264+
// - Currently only supports kubernetes audit logs (log_type = "audit")
265+
// 2. syslog
266+
// - Currently only supports node infrastucture logs (log_type = "infrastructure")
267+
//
261268
// +kubebuilder:validation:Required
262269
// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Receiver Type"
263270
Type ReceiverType `json:"type"`
@@ -297,6 +304,8 @@ const (
297304
type HTTPReceiver struct {
298305
// Format is the format of incoming log data.
299306
//
307+
// The only currently supported format is `kubeAPIAudit`.
308+
//
300309
// +kubebuilder:validation:Required
301310
// +operator-sdk:csv:customresourcedefinitions:type=spec,displayName="Data Format"
302311
Format HTTPReceiverFormat `json:"format"`

bundle/manifests/cluster-logging.clusterserviceversion.yaml

+17-3
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ metadata:
8282
categories: OpenShift Optional, Logging & Tracing
8383
certified: "false"
8484
containerImage: quay.io/openshift-logging/cluster-logging-operator:latest
85-
createdAt: "2025-02-06T14:39:16Z"
85+
createdAt: "2025-03-12T17:45:14Z"
8686
description: The Red Hat OpenShift Logging Operator for OCP provides a means for
8787
configuring and managing log collection and forwarding.
8888
features.operators.openshift.io/cnf: "false"
@@ -380,7 +380,11 @@ spec:
380380
path: inputs[0].receiver
381381
- displayName: HTTP Receiver Configuration
382382
path: inputs[0].receiver.http
383-
- description: Format is the format of incoming log data.
383+
- description: |-
384+
Format is the format of incoming log data.
385+
386+
387+
The current supported format is `kubeAPIAudit`.
384388
displayName: Data Format
385389
path: inputs[0].receiver.http.format
386390
- description: Port the Receiver listens on. It must be a value between 1024
@@ -398,7 +402,17 @@ spec:
398402
the collector. The collector is configured to use the public and private key provided by the service
399403
displayName: TLS Options
400404
path: inputs[0].receiver.tls
401-
- description: Type of Receiver plugin.
405+
- description: |-
406+
Type of Receiver plugin.
407+
408+
409+
Supported Receiver types are:
410+
411+
412+
1. http
413+
- Currently only supports kubernetes audit logs (log_type = "audit")
414+
2. syslog
415+
- Currently only supports node infrastucture logs (log_type = "infrastructure")
402416
displayName: Receiver Type
403417
path: inputs[0].receiver.type
404418
- description: Type of output sink.

bundle/manifests/observability.openshift.io_clusterlogforwarders.yaml

+13-2
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,10 @@ spec:
683683
endpoint.
684684
properties:
685685
format:
686-
description: Format is the format of incoming log data.
686+
description: |-
687+
Format is the format of incoming log data.
688+
689+
The current supported format is `kubeAPIAudit`.
687690
enum:
688691
- kubeAPIAudit
689692
type: string
@@ -791,7 +794,15 @@ spec:
791794
type: object
792795
type: object
793796
type:
794-
description: Type of Receiver plugin.
797+
description: |-
798+
Type of Receiver plugin.
799+
800+
Supported Receiver types are:
801+
802+
1. http
803+
- Currently only supports kubernetes audit logs (log_type = "audit")
804+
2. syslog
805+
- Currently only supports node infrastucture logs (log_type = "infrastructure")
795806
enum:
796807
- http
797808
- syslog

config/crd/bases/observability.openshift.io_clusterlogforwarders.yaml

+13-2
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,10 @@ spec:
683683
endpoint.
684684
properties:
685685
format:
686-
description: Format is the format of incoming log data.
686+
description: |-
687+
Format is the format of incoming log data.
688+
689+
The current supported format is `kubeAPIAudit`.
687690
enum:
688691
- kubeAPIAudit
689692
type: string
@@ -791,7 +794,15 @@ spec:
791794
type: object
792795
type: object
793796
type:
794-
description: Type of Receiver plugin.
797+
description: |-
798+
Type of Receiver plugin.
799+
800+
Supported Receiver types are:
801+
802+
1. http
803+
- Currently only supports kubernetes audit logs (log_type = "audit")
804+
2. syslog
805+
- Currently only supports node infrastucture logs (log_type = "infrastructure")
795806
enum:
796807
- http
797808
- syslog

config/manifests/bases/cluster-logging.clusterserviceversion.yaml

+16-2
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,11 @@ spec:
303303
path: inputs[0].receiver
304304
- displayName: HTTP Receiver Configuration
305305
path: inputs[0].receiver.http
306-
- description: Format is the format of incoming log data.
306+
- description: |-
307+
Format is the format of incoming log data.
308+
309+
310+
The current supported format is `kubeAPIAudit`.
307311
displayName: Data Format
308312
path: inputs[0].receiver.http.format
309313
- description: Port the Receiver listens on. It must be a value between 1024
@@ -321,7 +325,17 @@ spec:
321325
the collector. The collector is configured to use the public and private key provided by the service
322326
displayName: TLS Options
323327
path: inputs[0].receiver.tls
324-
- description: Type of Receiver plugin.
328+
- description: |-
329+
Type of Receiver plugin.
330+
331+
332+
Supported Receiver types are:
333+
334+
335+
1. http
336+
- Currently only supports kubernetes audit logs (log_type = "audit")
337+
2. syslog
338+
- Currently only supports node infrastucture logs (log_type = "infrastructure")
325339
displayName: Receiver Type
326340
path: inputs[0].receiver.type
327341
- description: Type of output sink.

0 commit comments

Comments
 (0)