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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...