Get an enrich policy
- GET /_enrich/policy/{name}
- GET /_enrich/policy
Returns information about an enrich policy.
Path Parameters
-
nameName | Nameoptional -
Comma-separated list of enrich policy names used to limit the request. To return information for all enrich policies, omit this parameter.
Leave it out to use
/_enrich/policy.
Query Parameters
-
master_timeoutstring Duration · default: 30s Period to wait for a connection to the master node.
Response
application/json
-
policiesSummaryrequired -
configmap string to Policyrequired -
<string>Policy -
enrich_fieldsstring Fieldsrequired -
indicesstring Indicesrequired -
match_fieldstring Fieldrequired -
namestring Name -
elasticsearch_versionstring