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!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...