Administrators create a ClusterLogForwarder
instance to specify which logs will be collected, how they will be transformed, and to where they will be forwarded. The operator will deploy a collector based upon this specification. There are two collector options supported by this operator: fluentd and vector. Vector is the newest collector implementation and the difference in feature parity is identified below.
Note
|
Some features implemented in fluentd may not be implemented for vector. Justifications for this variance is documented below. |
See the ClusterLogForwarder documentation for deploying and administration information.
Following is a list of possible log sources that are collected from each node in the cluster:
Feature | Desc. | Fluentd | Vector |
---|---|---|---|
App container logs |
Logs generated by container workloads in non-infrastructure namespaces |
✓ |
✓ |
Selectively collect application by namespace or pod label selector |
✓ |
✓ |
|
Enhancement of application label selectors to choose inputs using additional metadata |
✓ |
||
Infra container logs |
Logs generated by container workloads in infrastructure namespaces |
✓ |
✓ |
Infra journal logs |
Logs generated by node services from the nodes' journald service |
✓ |
✓ |
Explicit selection of journal and/or container logs |
✓ |
||
Kubernetes api audit logs |
Kubernetes api service logs |
✓ |
✓ |
OpenShift api audit logs |
OpenShift api service logs |
✓ |
✓ |
OVN audit logs |
Open Virtual Network Logs written to the node filesystem |
✓ |
✓ |
Auditd logs |
Linux auditd logs written to the node filesystem |
✓ |
✓ |
Explicit selection of audit log sources |
✓ |
Feature | Protocol | Tested with | Fluentd | Vector |
---|---|---|---|---|
Azure Monitor Logs |
✓ |
|||
Cloudwatch |
REST over HTTPS |
✓ |
✓ |
|
Elasticsearch |
|
✓ |
||
Google Cloud Logging |
✓ |
|||
Kafka |
kafka 0.11 |
|
✓ |
✓ |
Fluent Forward |
fluentd forward v1 |
|
✓ |
|
Loki |
REST over HTTP(S) |
Loki 2.3.0 |
✓ |
✓ |
Splunk |
HEC |
v9.0.0 |
✓ |
|
Syslog |
RFC3164,RFC5424 |
rsyslog 8.39.0 |
✓ |
✓ |
Http |
Http 1.1 |
|
✓ |
Feature | Output Type | Fluentd | Vector |
---|---|---|---|
Token |
loki, splunk, http |
||
Certificates |
elasticsearch, kafka, fluentd forward, splunk, http |
✓ |
✓ |
Cloud service keys |
cloudwatch |
✓ |
✓ |
Cloud service keys |
✓ |
||
Username / Password |
elasticsearch, kafka, http |
||
Security Token Service (STS) |
cloudwatch |
✓ |
✓ |
SASL |
kafka |
✓ |
✓ |
Feature | Desc. | Fluentd | Vector |
---|---|---|---|
Viaq data model |
See reference document for details. Not all fields are supported for both collector implementations |
✓ |
✓ |
Loglevel |
✓ |
✓ |
|
✓ |
✓ |
||
Structured Index for Elasticsearch JSON parsing |
✓ |
✓ |
|
See feature document for languages supported by each collector |
✓ |
✓ |
|
✓ |
✓ |
||
✓ |
✓ |
||
✓ |
|||
✓ |
Feature | Desc. | Fluentd | Vector |
---|---|---|---|
FIPS |
Tested on a FIPS enabled cluster |
✓ |
✓ |
Crypto Export |
? |
? |
|
Comply with OCP cluster-wide cryptographic profiles for internal communication and allow configuration of outbound connection profiles. See details |
n/a |
✓ |
Following is a list of output tuning options based upon the enhancement document. Not all outputs support all tuning options.
Parameter | Desc. |
---|---|
Delivery |
The mode for log forwarding.
NOTE:: Log collection and forwarding is best effort. AtLeastOnce delivery mode does not guarantee logs will not be lost. |
Compression |
The compression algorithm to use to compress the data before sending over the network.
NOTE: An output type may not support all available compression options or compression. |
MaxWrite |
The resource quantity that limits the maximum payload of a single "send" to the output. |
MinRetryDuration |
The minimum time to wait between attempts to retry after a delivery failure. |
MaxRetryDuration |
The maximum time to wait between retry attempts after a delivery failure. |
Feature | Desc. |
---|---|
readLinesLimit |
|
|
Feature | Desc. | Fluentd | Vector |
---|---|---|---|
Logs collected |
✓ |
||
Container logs generated |
✓ |
✓ |
|
Collector dashboard |
✓ |
✓ |
|
Collector alerts |
✓ |