You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Forwarding logs over HTTP is supported for both fluentd and vector collectors. To enable, specify `http` as the output type in the `ClusterLogForwarder` custom resource (CR).
10
+
11
+
.Procedure
12
+
13
+
* Create or edit the ClusterLogForwarder Custom Resource (CR) using the template below:
14
+
15
+
.Example ClusterLogForwarder CR
16
+
[source,yaml]
17
+
----
18
+
apiVersion: "logging.openshift.io/v1"
19
+
kind: "ClusterLogForwarder"
20
+
metadata:
21
+
name: "instance"
22
+
namespace: "openshift-logging"
23
+
spec:
24
+
outputs:
25
+
- name: httpout-app
26
+
type: http
27
+
url: <1>
28
+
http:
29
+
headers: <2>
30
+
h1: v1
31
+
h2: v2
32
+
method: POST
33
+
secret:
34
+
name: <3>
35
+
tls:
36
+
insecureSkipVerify: <4>
37
+
pipelines:
38
+
- name:
39
+
inputRefs:
40
+
- application
41
+
outputRefs:
42
+
- <5>
43
+
----
44
+
<1> Destination address for logs.
45
+
<2> Additional headers to send with the log record.
46
+
<3> Secret name for destination credentials.
47
+
<4> Values are either `true` or `false`.
48
+
<5> This value should be the same as the output name.
0 commit comments