Mapping ndjson

Good day
How can I import .ndjson file by a command without GUI

Hi @111228

You can accomplish that using the ES Bulk API:

curl -X PUT "localhost:9200/sample_data/_bulk?pretty" -H 'Content-Type: application/x-ndjson' --data-binary @sample.json

see this post for reference: