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!

Modern way of developing distributed application using OTel

Recently, I had the opportunity to work on a complex microservice using Spring boot and Quarkus to develop a ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had 3 releases of new security content via the Enterprise Security ...

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...