Get an enrich policy
Added in 7.5.0
Returns information about an enrich policy.
Path parameters
-
name
string | array[string] Required Comma-separated list of enrich policy names used to limit the request. To return information for all enrich policies, omit this parameter.
Query parameters
-
master_timeout
string Period to wait for a connection to the master node.
GET
/_enrich/policy/{name}
curl \
--request GET http://api.example.com/_enrich/policy/{name} \
--header "Authorization: $API_KEY"
Response examples (200)
{
"policies": [
{
"config": {
"additionalProperty1": {
"enrich_fields": "string",
"indices": "string",
"match_field": "string",
"query": {},
"name": "string",
"elasticsearch_version": "string"
},
"additionalProperty2": {
"enrich_fields": "string",
"indices": "string",
"match_field": "string",
"query": {},
"name": "string",
"elasticsearch_version": "string"
}
}
}
]
}