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
Run a grok processor. Extract structured fields out of a single text field within a document. You must choose which field to extract matched fields from, as well as the grok pattern you expect will match. A grok pattern is like a regular expression that supports aliased expressions that can be reused.
Copy file name to clipboardExpand all lines: docs/reference/connecting.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -133,7 +133,7 @@ Running {{es}} without security enabled is not recommended.
133
133
::::
134
134
135
135
136
-
If your cluster is configured with [security explicitly disabled](elasticsearch://docs/reference/elasticsearch/configuration-reference/security-settings.md) then you can connect via HTTP:
136
+
If your cluster is configured with [security explicitly disabled](elasticsearch://reference/elasticsearch/configuration-reference/security-settings.md) then you can connect via HTTP:
@@ -332,7 +332,7 @@ The supported request specific options are:
332
332
| Option | Description |
333
333
| --- | ----------- |
334
334
|`ignore`|`number[]` - HTTP status codes which should not be considered errors for this request.<br>*Default:*`null`|
335
-
|`requestTimeout`|`number` or `string` - Max request timeout for the request in milliseconds. This overrides the client default, which is to not time out at all. See [Elasticsearch best practices for HTML clients](elasticsearch://docs/reference/elasticsearch/configuration-reference/networking-settings.md#_http_client_configuration) for more info.<br>_Default:* No timeout |
335
+
|`requestTimeout`|`number` or `string` - Max request timeout for the request in milliseconds. This overrides the client default, which is to not time out at all. See [Elasticsearch best practices for HTML clients](elasticsearch://reference/elasticsearch/configuration-reference/networking-settings.md#_http_client_configuration) for more info.<br>_Default:* No timeout |
336
336
|`retryOnTimeout`|`boolean` - Retry requests that have timed out.*Default:*`false`|
337
337
|`maxRetries`|`number` - Max number of retries for the request, it overrides the client default.<br>*Default:*`3`|
338
338
|`compression`|`string` or `boolean` - Enables body compression for the request.<br>*Options:*`false`, `'gzip'`<br>*Default:*`false`|
@@ -341,7 +341,7 @@ The supported request specific options are:
341
341
|`querystring`|`object` - Custom querystring for the request.<br>*Default:*`null`|
342
342
|`id`|`any` - Custom request ID. *(overrides the top level request id generator)*<br>*Default:*`null`|
343
343
|`context`|`any` - Custom object per request. *(you can use it to pass data to the clients events)*<br>*Default:*`null`|
344
-
|`opaqueId`|`string` - Set the `X-Opaque-Id` HTTP header. See [X-Opaque-Id HTTP header](elasticsearch://docs/reference/elasticsearch/rest-apis/api-conventions.md#x-opaque-id)*Default:*`null`|
344
+
|`opaqueId`|`string` - Set the `X-Opaque-Id` HTTP header. See [X-Opaque-Id HTTP header](elasticsearch://reference/elasticsearch/rest-apis/api-conventions.md#x-opaque-id)*Default:*`null`|
345
345
|`maxResponseSize`|`number` - When configured, it verifies that the uncompressed response size is lower than the configured number, if it’s higher it will abort the request. It cannot be higher than buffer.constants.MAX_STRING_LENTGH<br>*Default:*`null`|
346
346
|`maxCompressedResponseSize`|`number` - When configured, it verifies that the compressed response size is lower than the configured number, if it’s higher it will abort the request. It cannot be higher than buffer.constants.MAX_LENTGH<br>*Default:*`null`|
347
347
|`signal`|`AbortSignal` - The AbortSignal instance to allow request abortion.<br>*Default:*`null`|
Copy file name to clipboardExpand all lines: docs/reference/observability.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -312,7 +312,7 @@ child.search({
312
312
313
313
## X-Opaque-Id support [_x_opaque_id_support]
314
314
315
-
To improve observability, the client offers an easy way to configure the `X-Opaque-Id` header. If you set the `X-Opaque-Id` in a specific request, this allows you to discover this identifier in the [deprecation logs](docs-content://deploy-manage/monitor/logging-configuration/update-elasticsearch-logging-levels.md#deprecation-logging), helps you with [identifying search slow log origin](elasticsearch://docs/reference/elasticsearch/index-settings/slow-log.md) as well as [identifying running tasks](https://www.elastic.co/docs/api/doc/elasticsearch/group/endpoint-tasks).
315
+
To improve observability, the client offers an easy way to configure the `X-Opaque-Id` header. If you set the `X-Opaque-Id` in a specific request, this allows you to discover this identifier in the [deprecation logs](docs-content://deploy-manage/monitor/logging-configuration/update-elasticsearch-logging-levels.md#deprecation-logging), helps you with [identifying search slow log origin](elasticsearch://reference/elasticsearch/index-settings/slow-log.md) as well as [identifying running tasks](https://www.elastic.co/docs/api/doc/elasticsearch/group/endpoint-tasks).
316
316
317
317
The `X-Opaque-Id` should be configured in each request, for doing that you can use the `opaqueId` option, as you can see in the following example. The resulting header will be `{ 'X-Opaque-Id': 'my-search' }`.
0 commit comments