Well, I'm trying to send data to a Splunk index via Splunk SDK for NodeJS.
The thing is: randomly, I was receiving this error for some events: Error: connect ECONNRESET 127.0.0.1:8089 at TCPConnectWrap.afterConnect [as oncomplete]
Ok, then I implemented a retrial mechanism for that error. It seemed to work, since I could send much more data to Splunk than ever. But, still, not all data are sent. And worst, no error is returned on callback.
I thought it could be concurrency, then I created a submission pool which only submits 500 events max (I even tried with 10 lol) concurrently. Nothing changed.
Out of 32k records, only between 25k and 28k are properly sent to Splunk.
Have you guys ever been through this situation?
Thanks in advance.