-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathfile_import_settings.yml
42 lines (32 loc) · 1.05 KB
/
file_import_settings.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
fileimport:
# either transport or node
mode: node
# Folder with data
# Folder is scanned recursively
root: import/data
# Fileextension of files to import, default is json
#fileext: json
# If set to true then import files line by line (one json doc per line)
# If set to false (which is the default) treat one file as one document
#linebyline: true
# Index name
index: test
# Type name
type: test
# Bulk settings, see https://www.elastic.co/guide/en/elasticsearch/client/java-api/current/bulk.html
#flush_interval: 5s
max_bulk_actions: 1000
max_concurrent_bulk_requests: 1
max_volume_per_bulk_request: 10mb
# needed when mode: transport
transport:
addresses:
- localhost:9300
- es.comany.com:9300
# needed when mode: node
cluster:
name: elasticsearch
# list other elasticsearch settings here if needed
#discovery.zen.ping.multicast.enabled: false
#discovery.zen.ping.unicast.hosts: host:9300
#...