All Apps and Add-ons

Errors in splunk Add-onfor Salesforce

nawazns5038
Builder

Hi,

We have turned on the input for the event logs in the Splunk addon for salesforce and the input stopped collecting data and showing the following error.

2018-05-02 20:55:01,639 +0000 log_level=ERROR, pid=106988, tid=MainThread, file=engine_v2.py, func_name=start, code_line_no=56 | [stanza_name=xxxxxxxxxx] 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 535, in perform
    self._post_process(context)
  File "/opt/splunk/etc/apps/Splunk_TA_salesforce/bin/splunk_ta_salesforce/cloudconnectlib/core/task.py", line 234, in _post_process
    'post')
  File "/opt/splunk/etc/apps/Splunk_TA_salesforce/bin/splunk_ta_salesforce/cloudconnectlib/core/task.py", line 218, in _execute_handlers
    data = handler.execute(context)
  File "/opt/splunk/etc/apps/Splunk_TA_salesforce/bin/splunk_ta_salesforce/cloudconnectlib/core/task.py", line 32, in execute
    result = callable_method(*args)
  File "/opt/splunk/etc/apps/Splunk_TA_salesforce/bin/splunk_ta_salesforce/cloudconnectlib/plugin/cce_plugin_sfdc.py", line 94, in read_event_log_file
    for row in csv_reader:
  File "/opt/splunk/lib/python2.7/csv.py", line 108, in next
    row = self.reader.next()
Error: line contains NULL byte

How to troubleshoot ?

Thanks

0 Karma

bhargavnariyani
Path Finder

Hi @nawazns5038 @sushobhita The latest version of Salesforce Addon 3.0.0's release notes https://docs.splunk.com/Documentation/AddOns/released/Salesforce/Releasenotes mentions about fixing of NULL BYTE related issue. Since the description looks similar to the one mentioned here, Can you please try the latest addon version and check if the issue is resolved?

0 Karma

sushobhita
New Member

did you got any solution. I am also facing the same issue.

0 Karma
Get Updates on the Splunk Community!

Enterprise Security Content Updates (ESCU) - New Releases

In the last month, the Splunk Threat Research Team (STRT) has had 3 releases of new content via the Enterprise ...

Thought Leaders are Validating Your Hard Work and Training Rigor

As a Splunk enthusiast and member of the Splunk Community, you are one of thousands who recognize the value of ...

.conf23 Registration is Now Open!

Time to toss the .conf-etti 🎉 —  .conf23 registration is open!   Join us in Las Vegas July 17-20 for ...