Skip to content
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

Adding custom header support #188

Merged
merged 3 commits into from
Jan 21, 2025
Merged

Adding custom header support #188

merged 3 commits into from
Jan 21, 2025

Conversation

flexitrev
Copy link
Contributor

This adds custom header support.
custom_headers => {"Key" => "Value"} will be added to requests. Supports use of API keys and bearer tokens

Duplicate of PR 187, but without merging messiness.

@flexitrev flexitrev requested a review from robbavey January 16, 2025 21:11
CHANGELOG.md Outdated Show resolved Hide resolved
@flexitrev flexitrev linked an issue Jan 16, 2025 that may be closed by this pull request
Copy link
Contributor

@robbavey robbavey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@robbavey robbavey requested a review from karenzone January 17, 2025 15:58
Copy link
Contributor

@karenzone karenzone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🎸

@flexitrev flexitrev merged commit 21de990 into main Jan 21, 2025
2 of 4 checks passed
mashhurs pushed a commit to mashhurs/logstash-filter-elasticsearch that referenced this pull request Jan 29, 2025
* recreating PR 187

* update changelog

* fixed client_options to include custom headers

(cherry picked from commit 21de990)
@mashhurs
Copy link

Backport to 3.x: #190

mashhurs added a commit that referenced this pull request Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Support for custom headers
4 participants