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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...