-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OBSDOCS-1640: Document HTTP output proxy should be configurable #88847
base: logging-docs-6.2
Are you sure you want to change the base?
Conversation
@theashiot: This pull request references OBSDOCS-1640 which is a valid jira issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
Skipping CI for Draft Pull Request. |
/test all |
---- | ||
$ oc -n openshift-logging create secret generic gcp-secret --from-file google-application-credentials.json=_<your_service_account_key_file.json>_ | ||
---- | ||
. Create a `ClusterLogForwarder` Custom Resource YAML using the template below: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤖 [error] Vale.Terms: Use 'custom resources?' instead of 'Custom Resource'.
@@ -0,0 +1,188 @@ | |||
:_mod-docs-content-type: PROCEDURE | |||
[id="cluster-logging-collector-log-forward-syslog_{context}"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤖 [error] OpenShiftAsciiDoc.IdHasContextVariable: ID is missing the '_{context}' variable at the end of the ID.
modules/log6x/cluster-logging-collector-log-forward-syslog.adoc
Outdated
Show resolved
Hide resolved
modules/log6x/cluster-logging-collector-log-forward-syslog.adoc
Outdated
Show resolved
Hide resolved
$ oc -n openshift-logging create secret generic vector-splunk-secret --from-literal hecToken=<HEC_Token> | ||
---- | ||
+ | ||
. Create or edit the `ClusterLogForwarder` Custom Resource (CR) using the template below: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤖 [error] Vale.Terms: Use 'custom resources?' instead of 'Custom Resource'.
at testjava.Main.main(Main.java:10) | ||
---- | ||
|
||
* To enable logging to detect multi-line exceptions and reassemble them into a single log entry, ensure that the `ClusterLogForwarder` Custom Resource (CR) contains a `detectMultilineErrors` field, with a value of `true`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤖 [error] Vale.Terms: Use 'custom resources?' instead of 'Custom Resource'.
e39f1f3
to
fe7ce6c
Compare
/retest |
fe7ce6c
to
7965028
Compare
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM for the HTTP output section
0a9aa7e
to
2cd53b4
Compare
Thanks, @alanconway! |
outputs: | ||
- name: httpout-app | ||
type: http | ||
url: <4> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The 'url' attribute should be inside the 'http' output type.
spec:
managementState: Managed
outputs:
- http:
headers:
h1: v1
h2: v2
method: POST
proxyURL: <proxy_url>
url: <url>
name: httpout-app
type: http
pipelines:
- inputRefs:
- application
name: app-logs
outputRefs:
- httpout-app
serviceAccount:
name: <service_account_name>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the example, i've updated this.
tls: | ||
insecureSkipVerify: <8> | ||
pipelines: | ||
- name: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please provide a name for the pipeline here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated as per your comment above.
7965028
to
d88c7f9
Compare
d88c7f9
to
8b1adb4
Compare
/test all |
@theashiot: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Version(s):
Issue:
Link to docs preview:
QE review:
Additional information: