I am trying to import documents stored in a json file (1.4GB) via the bulk api with the following command:
curl -s -H "Content-Type: application/x-ndjson" -XPOST localhost:9200/{index}/_bulk --data-binary "@<filename>.json"
With small json documents (< 100MB) it works as expected, but with larger files such as the one mentioned above, it just exits with no message at all. No info in /var/log/elasticsearch/cluster.log at all.
My current cluster (mesh VPN) specs:
Master eligible node: 32GB RAM, 1TB HDD, 4 cores (jvm: Xms16g, Xmx16g)
Data node 1: 32GB RAM, 1TB HDD, 4 cores (jvm: Xms16g, Xmx16g)
Data node 2: 32GB RAM, 1TB HDD, 4 cores (jvm: Xms16g, Xmx16g)
Structure of the json documents are:
"
{"index": {"_index": "<index-title>", "_type": "<type-title>, "_id": "<document-id>"}}
{"attr01": val01, "attr02: "attr02", [...]}
<repeating for all documents>
"
What could be the issue?
Where can I find log information about the failing import?