Create an enrich policy
Auth
Creates an enrich policy.
-
Cluster privileges
manage_enrich
-
name
string
required
-
Name of the enrich policy to create or update.
-
master_timeout
union oneOf · default: 30s
-
Period to wait for a connection to the master node.
-
Values:
-1
0
-
geo_match
object
-
Matches enrich data to incoming documents based on a geo_shape query.
-
-
enrich_fields
union oneOf
required
-
One of:
string[]
or
string
-
indices
union oneOf
required
-
One of:
string[]
or
string
-
match_field
string
required
-
elasticsearch_version
string
-
match
object
-
Matches enrich data to incoming documents based on a term query.
-
-
enrich_fields
union oneOf
required
-
One of:
string[]
or
string
-
indices
union oneOf
required
-
One of:
string[]
or
string
-
match_field
string
required
-
elasticsearch_version
string
-
range
object
-
Matches a number, date, or IP address in incoming documents to a range in the enrich index based on a term query.
-
-
enrich_fields
union oneOf
required
-
One of:
string[]
or
string
-
indices
union oneOf
required
-
One of:
string[]
or
string
-
match_field
string
required
-
elasticsearch_version
string
application/json
-
acknowledged
boolean
required
-
For a successful response, this value is always true. On failure, an exception is returned instead.
Thank you for your feedback.