All Apps and Add-ons

Salesforce Eventlog Issue

tiagofbmm
Influencer

Hi

Any idea how to overcome this error while collecting Salesforce Eventlog data? I can get Object data without any issues though...

CloudConnectEngine encountered exception
Traceback (most recent call last):
  File "/opt/splunk/etc/apps/Splunk_TA_salesforce/bin/splunk_ta_salesforce/cloudconnectlib/core/engine_v2.py", line 51, in start
    for temp in result:
  File "/opt/splunk/etc/apps/Splunk_TA_salesforce/bin/splunk_ta_salesforce/cloudconnectlib/core/job.py", line 87, in run
    contexts = list(self._running_task.perform(self._context) or ())
  File "/opt/splunk/etc/apps/Splunk_TA_salesforce/bin/splunk_ta_salesforce/cloudconnectlib/core/task.py", line 284, in perform
    raise CCESplitError
CCESplitError

This is being raised on

try:
    invoke_results = self._process_handler.execute(context)
except:
    logger.exception("Task=%s encountered exception", self)
    raise CCESplitError
if not invoke_results or not \
        invoke_results.get(CCESplitTask.OUTPUT_KEY):
    raise CCESplitError

Thank you

TM

plaftaric
Explorer

Hi,

I had the same problem recently.
Solution for me was to give the user that is used to connect to Salesforce following permissions:

  • View all data
  • API Enabled

More info about Salesforce Event Log: “Event monitoring is an API-only feature. It isn’t anywhere in the Salesforce Setup area. Instead, each organization’s event log files are stored in an API object called EventLogFile. Salesforce provides an API tool called Workbench that lets you access your EventLogFile objects. (https://sfdc.nicmcbride.com/event-monitoring/)”

Best regards,
MP

0 Karma

guarisma
Contributor

I have the same issue, just asked our account manager to change the permissions.
Thanks

0 Karma
Get Updates on the Splunk Community!

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

🔐 Trust at Every Hop: How mTLS in Splunk Enterprise 10.0 Makes Security Simpler

From Idea to Implementation: Why Splunk Built mTLS into Splunk Enterprise 10.0  mTLS wasn’t just a checkbox ...