I faced this issue when upgrading to splunk logging lib 1.11.8 and upgrading to a runtime using Java 17. I ended up downloading the splunk logger lib from github and debugging it directly - turns out the call to the Splunk HEC was failing with "invalid index". Updating the Splunk HTTP log4j config to add the splunk index associated with my Splunk token (index attribute) fixed the issue.