-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Connect to Okta module of Filebeat via proxy #24615
Comments
Pinging @elastic/siem (Team:SIEM) |
Pinging @elastic/agent (Team:Agent) |
I'm tagging both the Agent and SIEM teams as the |
Pinging @elastic/security-external-integrations (Team:Security-External Integrations) |
Looking at the httpjson docs, there doesn't appear to be any config for a proxy. The only proxy configs I could find were for outputs to elasticsearch, logstash, redis |
This sounds like a feature request to add proxy support to the httpjson input. I assume based on the LS example that it's an http proxy rather than socks5 that you want to use. You might be able to configure proxy settings globally via Go's environment variables as a workaround, but I'm not 100% sure those are taken into account. https://golang.org/pkg/net/http/#ProxyFromEnvironment |
@andrewkroh This is my first wack at Golang, master...legoguy1000:httpjson-input-proxy. It passed the integration test but IDK if there is a better way to test the changes to the httpjson input. Draft PR #24662 |
Adds a `proxy_url` config option to the httpjson v2 input. Updates all httpjson based modules to support proxy_url. Fixes #24615. Co-authored-by: Andrew Kroh <[email protected]>
Adds a `proxy_url` config option to the httpjson v2 input. Updates all httpjson based modules to support proxy_url. Fixes elastic#24615. Co-authored-by: Andrew Kroh <[email protected]> (cherry picked from commit 9a5f5d0)
Adds a `proxy_url` config option to the httpjson v2 input. Updates all httpjson based modules to support proxy_url. Fixes #24615. Co-authored-by: Andrew Kroh <[email protected]> (cherry picked from commit 9a5f5d0) Co-authored-by: Alex Resnick <[email protected]>
As I want to fetch logs from Okta, I am using filebeat 7.11 to do it. In the modules.d directory of filebeat, I can see configurations for Okta available.
I have entered the URL & credentials mentioned there. But now the problem is the URL is accessible via a proxy from my environment.
Where do I configure the proxy setting like
Proxy URL, Proxy Port, Proxy username, Proxy password, etc
Now had I used logstash http_poller input to connect to Okta API, below would have been my configuration,
But I dont see any such options while configuring Okta in filebeat.
Any input how to achieve this would be really helpful.
Thanks,
@elastic-data-integration
The text was updated successfully, but these errors were encountered: