Closed DynaMc closed 7 years ago
So, this is not really jsonpyes related I now know. I need to chunk my files down.
@DynaMc Glad to hear that you had solved it by yourself.
transport.tcp.connect_timeout
The socket connect timeout setting (in time setting format). Defaults to 30s.
As we can see, the default timeout of elasticsearch is set to be 30s . You can set it to be higher if necessary :smile:
Is there a way to set the timeout while using jsonpyes?
I have very large sets of data to import and I'm only trying smaller files but yet still getting:
elasticsearch.exceptions.ConnectionTimeout: ConnectionTimeout caused by - ReadTimeoutError(HTTPConnectionPool(host='localhost', port=9200): Read timed out. (read timeout=10))
I still get this even when I'm trying it on a 24M file. I have some files which are up to a few GBs each which I would like to eventually import.Any help with this would be great, thank you.