Skip to content

d6u/import-elasticsearch-document

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

import-elasticsearch-document

To download remote Elasticsearch document to local.

Usage

$ npm install

Open conf.js update the dest section of the config, change it to the destination you want.

dest: {
  elasticsearch: {
    host: {
      protocol: 'http',
      port: 9200,
      host: 'localhost',
    }
  }
},

Then run the sync-complaints.js with Node 6, the source Elasticsearch host is provided using environment variables.

$ env ELASTICSEARCH_HOST=xxx ELASTICSEARCH_PORT=yyy ELASTICSEARCH_AUTH=zzz sync-complaints.js --help

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published