Splunk has stopped ingesting Carbon Black Cloud (CBC) datasuch as Alerts or Audit Logsand the following errors are observed in the logs:
log_level=ERROR pid=<PID> tid=MainThread file="VMWModularInput.py" function="print_error" line_number="974" version="2.2.6" host=<Splunk_Host> sourcetype=vmware_app_for_splunk:error source=vmware:cbc:input:<Input_GUID> error_message="could not convert string to float: ''" error_type="<class 'ValueError'>" error_arguments="could not convert string to float: ''" error_filename="VMWModularInput.py" error_line_number="404" input_guid="<Input_GUID>" input_name="<InputName>" log_level=ERROR pid=<PID> tid=MainThread file="VMWModularInput.py" function="print_error" line_number="974" version="2.2.6" host=<Splunk_Host> sourcetype=vmware_app_for_splunk:error source=vmware:cbc:input:<Input_GUID> error_message="an integer is required (got type str)" error_type="<class 'TypeError'>" error_arguments="an integer is required (got type str)" error_filename="vmware_cbc_client.py" error_line_number="405" input_guid="<Input_GUID>" input_name="<InputName>"
The Splunk application stores the timestamp of its last successful data fetch inside a .txt checkpoint file. If Splunk or the app encounters an unexpected error or interruption, this file can be left entirely blank or become corrupted. When the app runs its next collection cycle, it attempts to read this corrupted/blank file to determine where it last left off. Because there is no valid numerical timestamp to read, the error occurs.