Turkey Splunk User Group

Handling Large Content-Length Errors in Splunk ES Installation

Summary: Abdurrahman Ugur Unluakin brought up an issue encountered during the installation of the Enterprise Security Splunk file, specifically the error "Content-Length of 709923327 too large." Suat Celikok suggested adjusting the max_content_length parameter in the server.conf file to resolve this issue, which involves restarting the search head after making changes. Abdurrahman Ugur Unluakin shared their experience on Windows 11, which sometimes led to TCP winsock errors, and opted to use Ubuntu 24 LTS instead. Adjusting size parameters in web.conf and server.conf files worked effectively on Ubuntu, avoiding issues faced on Windows 11, and Ubuntu is now used as their test environment. This highlights considerations between different operating systems in managing Splunk installations.
AI Summary

During the installation of the Enterprise Security (ES) Splunk file using the "Install app from file" option, some users encounter a significant hurdle due to the error message: "Content-Length of 709923327 too large (maximum is 524288000)." This indicates that the file being installed exceeds the maximum allowed size by Splunk. Have you experienced this issue before? If so, how did you address it? Did it require adjusting Splunk configurations, or were other tools or methods more effective? Share your strategies and any insights you have gained from working to overcome this particular challenge. Additionally, if you have encountered other similar challenges during app installations, feel free to share those experiences as well. Let’s collaborate to find effective solutions to these installation hurdles!

2 comments

Hİ Abdurrahman,

This is a known issue on ES installations using web upload method. You can set below parameter and restart search head to overcome the issue.

/data/splunk/etc/system/local/server.conf
[httpServer]
max_content_length = 800000000

Best Regards,

Thank you, I checked this with Windows 11. Windows 11 is unpredictable, sometimes you pass the file size error and end up with another error on TCP winsock. I tried several times and decided to move onto Ubuntu 24 LTS version. It also had the size problem but changing the size parameters in web.conf and server.conf files as you suggest, worked and as I did not have any winsock TCP problem, I now continue to use Ubuntu as the NFR test environment. Windows 11, you have to think twice before use or another perspective, you can work on Windows to develop expertise to solve inherent problems of Windows.