Getting Data In

Maximum size of HTTP POST Request and receivers/stream endpoint

stevanic
Explorer

Hi community,

I got a couple of questions regarding POST request to receivers/stream endpoint.

  1. I have used API endpoint receivers/stream to upload events to Splunk and I am just wondering what is the maximum size of HTTP POST request Splunk API can accept.

  2. If e.g. the maximum is 10 MB, does this mean that if I want to submit 20 MB data, I need to breakdown the data and submit it in two requests?

  3. How long does streaming API socket remain open after the initial request? In Python script examples in REST api documentation, the code tries to send a request every second and I'm just wondering what is the maximum interval between request before the connection is closed.

Thanks in advance.

1 Solution

stevanic
Explorer

Maximum size of HTTP request is specified in limits.conf->max_content_length

View solution in original post

stevanic
Explorer

Maximum size of HTTP request is specified in limits.conf->max_content_length

Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...