Getting Data In

Splunk "sendall" command only uploading partial data...

pkurt
Path Finder

Hello,

Due to some data streaming issue from our source, I am trying to recover our large data and sent the decoded results to Splunk.
However, when I send the data to Splunk some percent of events fails to be uploaded. For example, when I try to upload 217177 events I only get 215438 events successfully uploaded. This is not a data size issue. When I try to upload something smaller like 100k events only 99994 get through.

Here is the commands I am using to upload the events:
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((HOST, PORT))
......
myRef= s.sendall(splunkString + '\n')

Can anyone suggest a fix?

Many thanks!
Pelin

Tags (2)
0 Karma

pkurt
Path Finder

resolved....

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...