You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/data-sources/elasticsearch_enrich_policy.md
+28-4Lines changed: 28 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -74,11 +74,35 @@ output "query" {
74
74
75
75
-`name` (String) The name of the policy.
76
76
77
+
### Optional
78
+
79
+
-`elasticsearch_connection` (Block List, Deprecated) Elasticsearch connection configuration block. (see [below for nested schema](#nestedblock--elasticsearch_connection))
80
+
77
81
### Read-Only
78
82
79
-
-`enrich_fields` (Set of String) Fields to add to matching incoming documents. These fields must be present in the source indices.
83
+
-`enrich_fields` (List of String) Fields to add to matching incoming documents. These fields must be present in the source indices.
80
84
-`id` (String) Internal identifier of the resource
81
-
-`indices` (Set of String) Array of one or more source indices used to create the enrich index.
82
-
-`match_field` (String) Field in source indices used to match incoming documents.
85
+
-`indices` (List of String) Array of one or more source indices used to create the enrich index.
86
+
-`match_field` (String) Field from the source indices used to match incoming documents.
83
87
-`policy_type` (String) The type of enrich policy, can be one of geo_match, match, range.
84
-
-`query` (String) Query used to filter documents in the enrich index. The policy only uses documents matching this query to enrich incoming documents. Defaults to a match_all query.
88
+
-`query` (String) Query used to filter documents in the enrich index for matching.
89
+
90
+
<aid="nestedblock--elasticsearch_connection"></a>
91
+
### Nested Schema for `elasticsearch_connection`
92
+
93
+
Optional:
94
+
95
+
-`api_key` (String, Sensitive) API Key to use for authentication to Elasticsearch
96
+
-`bearer_token` (String, Sensitive) Bearer Token to use for authentication to Elasticsearch
-`ca_file` (String) Path to a custom Certificate Authority certificate
99
+
-`cert_data` (String) PEM encoded certificate for client auth
100
+
-`cert_file` (String) Path to a file containing the PEM encoded certificate for client auth
101
+
-`endpoints` (List of String, Sensitive) A list of endpoints where the terraform provider will point to, this must include the http(s) schema and port number.
102
+
-`es_client_authentication` (String, Sensitive) ES Client Authentication field to be used with the JWT token
103
+
-`headers` (Map of String, Sensitive) A list of headers to be sent with each request to Elasticsearch.
-`enrich_fields` (Set of String) Fields to add to matching incoming documents. These fields must be present in the source indices.
54
-
-`indices` (Set of String) Array of one or more source indices used to create the enrich index.
53
+
-`enrich_fields` (List of String) Fields to add to matching incoming documents. These fields must be present in the source indices.
54
+
-`indices` (List of String) Array of one or more source indices used to create the enrich index.
55
55
-`match_field` (String) Field in source indices used to match incoming documents.
56
56
-`name` (String) Name of the enrich policy to manage.
57
57
-`policy_type` (String) The type of enrich policy, can be one of geo_match, match, range.
58
58
59
59
### Optional
60
60
61
-
-`elasticsearch_connection` (Block List, Max: 1, Deprecated) Elasticsearch connection configuration block. This property will be removed in a future provider version. Configure the Elasticsearch connection via the provider configuration instead. (see [below for nested schema](#nestedblock--elasticsearch_connection))
61
+
-`elasticsearch_connection` (Block List, Deprecated) Elasticsearch connection configuration block. (see [below for nested schema](#nestedblock--elasticsearch_connection))
62
62
-`execute` (Boolean) Whether to call the execute API function in order to create the enrich index.
63
63
-`query` (String) Query used to filter documents in the enrich index. The policy only uses documents matching this query to enrich incoming documents. Defaults to a match_all query.
64
64
65
65
### Read-Only
66
66
67
-
-`id` (String) The ID of this resource.
67
+
-`id` (String) Internal identifier of the resource
0 commit comments