-
Notifications
You must be signed in to change notification settings - Fork 106
Description
Problem:
Current Splunk connector doesn't have proxy related settings, that means the connector cannot connect to HEC endpoint via a proxy configured at connector level.
For some cases, to connect to splunk cloud HEC endpoint will need to go through a dedicated outbound proxy. It could be a different proxy than other connectors.
It's not supported to configure a connector level proxy via the rest configuration api.
Configure the proxy via JVM OPTS will impact all other connectors running on the same cluster.
So provide proxy related settings via rest api or connector properties would be necessary.
Many other http based connectors also have this feature.
For example: http connector, S3 connector, SQS connector etc.
Solution:
- Add proxy settings to SplunkSinkConnecorConfig.java so that we can configure the connector's proxy via api or connect properties file. The new configurations will be together with the existing httpKeepAlive config.
- Add proxy settings to RequestConfig in HttpClientBuilder.java file if the proxy settings were configured.
- Other dependencies files and Test files etc.
- Update README.md file
- Update latest coverage report.
I would like to work on this and contribute a PR once i finish it.