File tree Expand file tree Collapse file tree 1 file changed +50
-10
lines changed
observability/logging/logging-6.0 Expand file tree Collapse file tree 1 file changed +50
-10
lines changed Original file line number Diff line number Diff line change @@ -250,13 +250,48 @@ metadata:
250250 name: instance
251251 namespace: openshift-logging
252252spec:
253+ serviceAccount:
254+ name: <service_account_name>
255+ managementState: Managed
253256 outputs:
254- - name: default-elasticsearch
257+ - name: audit-elasticsearch
258+ type: elasticsearch
259+ elasticsearch:
260+ url: https://elasticsearch:9200
261+ version: 6
262+ index: audit-write
263+ tls:
264+ ca:
265+ key: ca-bundle.crt
266+ secretName: collector
267+ certificate:
268+ key: tls.crt
269+ secretName: collector
270+ key:
271+ key: tls.key
272+ secretName: collector
273+ - name: app-elasticsearch
255274 type: elasticsearch
256275 elasticsearch:
257276 url: https://elasticsearch:9200
258277 version: 6
259- index: <log_type>-write-{+yyyy.MM.dd}
278+ index: app-write
279+ tls:
280+ ca:
281+ key: ca-bundle.crt
282+ secretName: collector
283+ certificate:
284+ key: tls.crt
285+ secretName: collector
286+ key:
287+ key: tls.key
288+ secretName: collector
289+ - name: infra-elasticsearch
290+ type: elasticsearch
291+ elasticsearch:
292+ url: https://elasticsearch:9200
293+ version: 6
294+ index: infra-write
260295 tls:
261296 ca:
262297 key: ca-bundle.crt
@@ -268,18 +303,23 @@ spec:
268303 key: tls.key
269304 secretName: collector
270305 pipelines:
271- - outputRefs:
272- - default-elasticsearch
273- - inputRefs:
306+ - name: app
307+ inputRefs:
274308 - application
309+ outputRefs:
310+ - app-elasticsearch
311+ - name: audit
312+ inputRefs:
313+ - audit
314+ outputRefs:
315+ - audit-elasticsearch
316+ - name: infra
317+ inputRefs:
275318 - infrastructure
319+ outputRefs:
320+ - infra-elasticsearch
276321----
277322
278- [NOTE]
279- ====
280- In this example, application logs are written to the `application-write` alias/index instead of `app-write`.
281- ====
282-
283323== Red Hat Managed LokiStack
284324
285325.v5.9 Forwarding to Red Hat Managed LokiStack
You can’t perform that action at this time.
0 commit comments