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!

Observability Highlights | January 2023 Newsletter

 January 2023New Product Releases Splunk Network Explorer for Infrastructure MonitoringSplunk unveils Network ...

Security Highlights | January 2023 Newsletter

January 2023 Splunk Security Essentials (SSE) 3.7.0 ReleaseThe free Splunk Security Essentials (SSE) 3.7.0 app ...

Platform Highlights | January 2023 Newsletter

 January 2023Peace on Earth and Peace of Mind With Business ResilienceAll organizations can start the new year ...