Getting Data In

In splunkd.log, why do I receive repeating error "ERROR KVStorageProvider - An error occurred during the last operation...Cannot do an empty bulk write"?

bnorthway_splun
Splunk Employee
Splunk Employee
ERROR KVStorageProvider - An error occurred during the last operation ('saveBatchData', domain: '11', code: '22'): Cannot do an empty bulk write

This error is repeated in splunkd.log. The search head cluster appears to be functional but I am concerned about the cause of this error.

1 Solution

bnorthway_splun
Splunk Employee
Splunk Employee

This error indicates that a POST request has an empty json body. Try this search to find the offending request:

index=_internal sourcetype=splunkd_access batch_save status=500

In my case, Enterprise Security threat lists were failing to download and causing this error.

View solution in original post

season88481
Contributor

I found if there is a lookup file located at $SPLUNK_HOME/splunk/etc/apps/DA-ESS-ThreatIntelligence/local/data/threat_intel, such error will pop-up.

Then I mv my local_ip_intel.csv file to local_ip_intel.bak. Error message seems stop showing up. Anyone could explain what happen here?

0 Karma

bnorthway_splun
Splunk Employee
Splunk Employee

This error indicates that a POST request has an empty json body. Try this search to find the offending request:

index=_internal sourcetype=splunkd_access batch_save status=500

In my case, Enterprise Security threat lists were failing to download and causing this error.

season88481
Contributor

Hi Bnorthway,

I think I have the exact same issue as yours. The POST is realated to DA-ESS-ThreatIntelligence.

And I also have ERROR message complaining some threat intelligence download has failed:
emerging_threats_ip_blocklist
iblocklist_tor
emerging_threats_ip_blocklist
iblocklist_tor

Many thanks

0 Karma
Get Updates on the Splunk Community!

.conf25 Registration is OPEN!

Ready. Set. Splunk! Your favorite Splunk user event is back and better than ever. Get ready for more technical ...

Detecting Cross-Channel Fraud with Splunk

This article is the final installment in our three-part series exploring fraud detection techniques using ...

Splunk at Cisco Live 2025: Learning, Innovation, and a Little Bit of Mr. Brightside

Pack your bags (and maybe your dancing shoes)—Cisco Live is heading to San Diego, June 8–12, 2025, and Splunk ...