Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

httplistener exception read timeout using python sdk

$
0
0
Im seeing the following error in splunkd.log: 02-03-2016 14:00:36.034 -0500 ERROR HttpListener - Exception while processing request from 10.202.31.9 for /services/receivers/stream?index=solidfire&host=sf.nj1&sourcetype=solidfire&source=solidfire: Read Timeout The error i dont care too much about, but eventually splunk just stops indexing what I send to it, eventhough i my python program keeps sending the same data. Here is how my python program is structured: service = connect(host='splunk-indexer-1', port=8089, username='admin', password='secret') index = service.indexes['solidfire'] while True: #query something for data... format the data for line in lots_of_data: stream = index.attach(host='sf.nj1', source='solidfire', sourcetype='solidfire') stream.write(line+'\n') time.sleep(10) If this the best way to send data to my indexer? Why do i keep getting the Read Timeout error, and why does splunk stop indexing my data after some time?

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>