forked from openshift/verification-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update acceptance case to use CLF (openshift#2624)
* update acceptance case to use CLF * reverse the order
- Loading branch information
1 parent
7d19c9f
commit 620ecac
Showing
3 changed files
with
222 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
kind: Template | ||
apiVersion: v1 | ||
metadata: | ||
name: clusterlogforwarder-template | ||
objects: | ||
- apiVersion: logging.openshift.io/v1 | ||
kind: ClusterLogForwarder | ||
metadata: | ||
name: instance | ||
namespace: openshift-logging | ||
spec: | ||
outputs: | ||
- name: elasticsearch | ||
type: elasticsearch | ||
url: ${ES_URL} | ||
secret: | ||
name: ${ES_SECRET} | ||
- name: fluentd | ||
type: fluentdForward | ||
url: ${FLUENTD_URL} | ||
secret: | ||
name: ${FLUENTD_SECRET} | ||
- name: rsyslog | ||
type: syslog | ||
syslog: | ||
rfc: ${RFC} | ||
facility: ${FACILITY} | ||
severity: ${SEVERITY} | ||
url: ${SYSLOG_URL} | ||
pipelines: | ||
- name: test-infra | ||
inputRefs: | ||
- infrastructure | ||
outputRefs: | ||
- elasticsearch | ||
- default | ||
- name: test-app | ||
inputRefs: | ||
- application | ||
outputRefs: | ||
- fluentd | ||
- default | ||
- name: test-audit | ||
inputRefs: | ||
- audit | ||
outputRefs: | ||
- rsyslog | ||
- default | ||
parameters: | ||
- name: ES_URL | ||
value: http://elasticsearch-server.openshift-logging.svc:9200 | ||
- name: FLUENTD_URL | ||
value: tcp://fluentdserver.openshift-logging.svc:24224 | ||
- name: SYSLOG_URL | ||
value: 'udp://rsyslogserver.openshift-logging.svc:514' | ||
- name: FACILITY | ||
value: "local0" | ||
- name: SEVERITY | ||
value: "informational" | ||
- name: RFC | ||
value: RFC5424 | ||
- name: ES_SECRET | ||
- name: FLUENTD_SECRET |