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!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...