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!

Dashboard Studio Challenge - Learn New Tricks, Showcase Your Skills, and Win Prizes!

Reimagine what you can do with your dashboards. Dashboard Studio is Splunk’s newest dashboard builder to ...

Introducing Edge Processor: Next Gen Data Transformation

We get it - not only can it take a lot of time, money and resources to get data into Splunk, but it also takes ...

Take the 2021 Splunk Career Survey for $50 in Amazon Cash

Help us learn about how Splunk has impacted your career by taking the 2021 Splunk Career Survey. Last year’s ...