-
Notifications
You must be signed in to change notification settings - Fork 164
NO-JIRA: support custom headers for Elasticsearch output #3073
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
base: master
Are you sure you want to change the base?
NO-JIRA: support custom headers for Elasticsearch output #3073
Conversation
Hi @AndrewChubatiuk. Thanks for your PR. I'm waiting for a openshift member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
/retitle NO-JIRA: support custom headers for Loki and Elasticsearch outputs Not sure if this needs a JIRA ticket (probably it does, as there should be a release note and we'll want to backport this too) |
@AndrewChubatiuk: This pull request explicitly references no 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. |
codec = "json" | ||
except_fields = ["_internal"] | ||
|
||
[sinks.loki_receiver.request] |
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.
@AndrewChubatiuk Thanks for your contribution! Just a heads-up: according to the official docs, the Loki sink’s request block doesn’t support a headers field. https://vector.dev/docs/reference/configuration/sinks/loki/#request
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.
right, thanks, removed them for loki output
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: AndrewChubatiuk The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@AndrewChubatiuk: all tests passed! 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. |
/hold |
@AndrewChubatiuk if the intent is to use this to write to VictoriaLogs then is there a functional test we can provide to confirm functionallity. The larger question is what happens when RH logging to VictoriaLogs doesn't work and we are on the hook to support it with no backing tests. |
Description
Add ability to set custom headers for Elasticsearch protocols, which are supported by Vector to allow to customize ingested logs from Openshift into VictoriaLogs
/cc @Clee2691 @cahartma
/assign @cahartma