There was an error while loading. Please reload this page.
1 parent 547c61b commit cdd0f91Copy full SHA for cdd0f91
config-sample.js
@@ -10,13 +10,14 @@ module.exports = Object.freeze({
10
},
11
12
//Target client: where documents are to be transferred to
13
-//If 'host' field is present, it'll be assumed the target is an elasticsearch server
14
"target": {
15
"index": "my_target_index",
16
"type": "_doc",
17
+ //if options.consume.byFile is not set, this will be ignored
18
"filePath": "data.json",
19
20
+ //if options.consume.byElastic is not set, this will be ignored
21
"host": "localhost:9200",
22
"importMappingFromSource": true
23
}
0 commit comments