-
Notifications
You must be signed in to change notification settings - Fork 127
Expand file tree
/
Copy pathsimulate.ingest.json
More file actions
48 lines (48 loc) · 1.52 KB
/
simulate.ingest.json
File metadata and controls
48 lines (48 loc) · 1.52 KB
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
43
44
45
46
47
48
{
"simulate.ingest": {
"documentation": {
"url": "https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-simulate-ingest",
"description": "Simulate data ingestion"
},
"stability": "experimental",
"visibility": "public",
"headers": {
"accept": ["application/json"],
"content_type": ["application/json"]
},
"url": {
"paths": [
{
"path": "/_ingest/_simulate",
"methods": ["GET", "POST"]
},
{
"path": "/_ingest/{index}/_simulate",
"methods": ["GET", "POST"],
"parts": {
"index": {
"type": "string",
"description": "Default index for docs which don't provide one"
}
}
}
]
},
"params": {
"pipeline": {
"type": "string",
"description": "The pipeline id to preprocess incoming documents with if no pipeline is given for a particular document"
},
"merge_type": {
"type": "enum",
"description": "The mapping merge type if mapping overrides are being provided in mapping_addition.\nThe allowed values are one of index or template.\nThe index option merges mappings the way they would be merged into an existing index.\nThe template option merges mappings the way they would be merged into a template.",
"options": ["index", "template"],
"default": "index"
}
},
"body": {
"description": "The simulate definition",
"required": true
}
}
}