- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Proxy Support for Splunk Add-on for Salesforce Streaming API
Please add proxy support for this applications.
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
FYI, for those seeking a workaround:
One of our salesforce security guys found a workaround that involves modifying a few python scripts under the lib folder.
There are two methods, long polling and web sockets. Long polling was applicable to us so we just fixed that.
Some information on the usage of proxy settings in aiohttp can be found here:
Advanced Client Usage — aiohttp 3.9.3 documentation
The fixes can be applied to the TA-sfdc-streaming-api pack and below is what we modified to successfully subscribe via a proxy.
1. Modify /opt/splunk/etc/apps/TA-sfdc-streaming-api/lib/aiocometd/transports/long_polling.py
search for one instance of "session.post" and add ,proxy="http://<proxyip>:<port>"
2. Modify /opt/splunk/etc/apps/TA-sfdc-streaming-api/lib/aiosfstream/auth.py
search for two instances of "session.post" and add ,proxy="http://<proxyip>:<port>"
Hope this helps!
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have been wondering if they would ever include this but since the support from Splunk has gone, it may never happen 😞
