Forward logs to different external system(s)#24029
Forward logs to different external system(s)#24029mburke5678 merged 1 commit intoopenshift:masterfrom
Conversation
|
The preview will be available shortly at: |
There was a problem hiding this comment.
I think this sentence needs finishing?
dc067c1 to
30eb7df
Compare
bb3c1c2 to
7ca6a28
Compare
There was a problem hiding this comment.
@mburke5678 could you please remove this output? In clusterlogforwarder, we have a default output named as default, if user want to set forward logs to default ES, just need to add - default to the outputRefs, no need to define an output. You can find the details in https://issues.redhat.com/browse/LOG-706.
There was a problem hiding this comment.
Removed this file.
There was a problem hiding this comment.
Start from 4.5, we use ES v6.x, so I think maybe we should say you can optionally forward logs to an external Elasticsearch v6.x instance.
There was a problem hiding this comment.
apiVersion: logging.openshift.io/v1
There was a problem hiding this comment.
@mburke5678 could you please update this part from line 57 to 88?
With the recent changes syslog supports TLS and both RFC 3164 & 5424.
For ref: https://github.com/openshift/cluster-logging-operator/blob/master/manifests/4.6/logging.openshift.io_clusterlogforwarders_crd.yaml#L152
There was a problem hiding this comment.
apiVersion: logging.openshift.io/v1
kind: ClusterLogForwarder
There was a problem hiding this comment.
url: http://elasticsearch.example.com:9200
There was a problem hiding this comment.
container-logs is not accurate, I was thinking we could use another name.
There was a problem hiding this comment.
apiVersion: logging.openshift.io/v1
kind: ClusterLogForwarder
There was a problem hiding this comment.
Removed this topic.
There was a problem hiding this comment.
url: http://elasticsearch.example.com:9200
There was a problem hiding this comment.
Removed this topic.
There was a problem hiding this comment.
apiVersion: logging.openshift.io/v1
kind: ClusterLogForwarder
There was a problem hiding this comment.
Removed this topic.
There was a problem hiding this comment.
url: http://elasticsearch.example.com:9200
There was a problem hiding this comment.
Removed this topic.
There was a problem hiding this comment.
url: 'tcp://fluentdserver.example.com:24224'
There was a problem hiding this comment.
Removed this topic.
There was a problem hiding this comment.
url: http://elasticsearch.insecure.example.com.svc:9200
@mburke5678 out of curiosity, why do you give so many outputs here?
There was a problem hiding this comment.
Removed this topic.
There was a problem hiding this comment.
Per my understanding, no matter what kind of authentication the forward use, if user want to enable TLS, then they must create a secret and specify it in the cluster log forwarder CR. @alanconway could you please help to confirm this?
There was a problem hiding this comment.
Removed this topic.
There was a problem hiding this comment.
apiVersion: logging.openshift.io/v1
kind: ClusterLogForwarder
There was a problem hiding this comment.
Removed this topic.
There was a problem hiding this comment.
There was a problem hiding this comment.
Removed this topic.
2356ac4 to
c35b5e6
Compare
| [id="cluster-logging-collector-legacy_{context}"] | ||
| = Forwarding logs using the legacy configuration method | ||
|
|
||
| You can configure cluster logging to send logs to destinations outside of your {product-title} cluster instead of the default Elasticsearch log store using Fluentd or syslog by creating a configuration file and ConfigMap. |
There was a problem hiding this comment.
@mburke5678 Yes, unmanaged is not required
|
New changes are detected. LGTM label has been removed. |
3a7357f to
1044e8c
Compare
b9cd829 to
366befc
Compare
366befc to
92f1113
Compare
sheriff-rh
left a comment
There was a problem hiding this comment.
LGTM! Great work! 🎉 🌮 🥇
|
I am merging this PR as #25229 depends on it. Any further comments can be tracked in a new PR. |
https://issues.redhat.com/browse/LOG-561
https://issues.redhat.com/browse/OSDOCS-1074
Alan note; https://github.com/alanconway/cluster-logging-operator/blob/clf-url-parsing/docs/output_url_field.md#L1