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!

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

🍂 Fall into November with a fresh lineup of Community Office Hours, Tech Talks, and Webinars we’ve ...

Transform your security operations with Splunk Enterprise Security

Hi Splunk Community, Splunk Platform has set a great foundation for your security operations. With the ...

Splunk Admins and App Developers | Earn a $35 gift card!

Splunk, in collaboration with ESG (Enterprise Strategy Group) by TechTarget, is excited to announce a ...