November 2015
Beginner
206 pages
4h 1m
English
To import a JSON file into Elasticsearch, we will use the elasticdump package. It is a set of import and export tools used for Elasticsearch. It makes it easier to copy, move, and save indexes. To install elasticdump, we will require npm and Node.js as prerequisites.
In this section, npm along with Node.js will be installed. This section covers the installation of npm and Node.js on Ubuntu and Windows separately.
To install npm on Ubuntu, perform the following steps:
sudo curl --silent --location https://deb.nodesource.com/setup_0.12 | sudo bash -
As shown in the preceding screenshot, the command will add the official Node.js ...
Read now
Unlock full access