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!

Build Your First SPL2 App!

Watch the recording now!.Do you want to SPL™, too? SPL2, Splunk's next-generation data search and preparation ...

Exporting Splunk Apps

Join us on Monday, October 21 at 11 am PT | 2 pm ET!With the app export functionality, app developers and ...

[Coming Soon] Splunk Observability Cloud - Enhanced navigation with a modern look and ...

We are excited to introduce our enhanced UI that brings together AppDynamics and Splunk Observability. This is ...