Splunk Cloud Platform

HttpEventCollector - What is the max number of log send in one POST command?

arielgilad
Observer

How many log events can be sent in one http POST command?  Is there a limit?  What is the limit size of the payload.

Labels (1)
0 Karma

isoutamo
SplunkTrust
SplunkTrust

Hi

From https://docs.splunk.com/Documentation/Splunk/latest/Admin/Inputsconf#http:_.28HTTP_Event_Collector.2... you could found

maxEventSize = <positive integer>[KB|MB|GB]
* The maximum size of a single HEC (HTTP Event Collector) event.
* HEC disregards and triggers a parsing error for events whose size is
  greater than 'maxEventSize'.
* Default: 5MB

r. Ismo 

0 Karma

arielgilad
Observer

Thanks for your reply.
As I understand you answered on per event size.  This is up to to 5MB.
My question refer to the limit of number of batched event sent in one http POST command.  Can I send, for example 1000 event in one batch?  is there a limit?  per the number of event in a batch?

0 Karma

isoutamo
SplunkTrust
SplunkTrust

I'm not sure what that is. Couldn't found anything with quickly googling. Server will told to you if it's too long ; -)

Anyhow I suppose to keep the batch size reasonable to avoid other resource issues and if something fails you probably lost the batch?

r. Ismo

0 Karma
Get Updates on the Splunk Community!

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 ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...