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!

Celebrating Fast Lane: 2025 Authorized Learning Partner of the Year

At .conf25, Splunk proudly recognized Fast Lane as the 2025 Authorized Learning Partner of the Year. This ...

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...