Commit graph

9899 commits

Author SHA1 Message Date
István Zoltán Szabó
f09f2b2617
[DOCS] Fixes collapsible section title in preview transform API docs. (#88161) 2022-06-29 12:28:39 +02:00
Lisa Cawley
c9b4499d2e
[DOCS] Add authorization details to update datafeed API (#88099) 2022-06-28 13:43:58 -07:00
Keith Massey
ed530891a7
Adding more master_is_stable details (#87977)
Adding information about new master_is_stable details fields
2022-06-28 09:21:21 -05:00
István Zoltán Szabó
5372c51dfd
[DOCS] Fixes a link that breaks the docs build. (#88111) 2022-06-28 10:22:23 +02:00
Ryan Ernst
eed8da3919
Move the ingest attachment processor to the default distribution (#87989)
The ingest attachment processor is currently available as a plugin. This
commit moves the processor to the default distribution so it is always
available.
2022-06-28 02:10:36 -04:00
Lisa Cawley
aa19690990
[DOCS] Add authorization to anomaly detection job and datafeed API examples (#87937) 2022-06-27 13:05:35 -07:00
Alexander Zaitsev
13c7732cc2
Fix a typo in api-conventions example (#88056) 2022-06-27 13:58:51 -04:00
Dimitrios Liappis
5056b666de
[DOCS] Warn about impact of large readahead on search (#88007)
When using LVM or software raid on Linux the kernel, or specific
distribution rules, may use higher ergonomic defaults for the
readahead of resulting block device(s). This can adversely affect
search performance due to high page cache thrashing, in search
heavy scenarios when mmap is involved.

Add a clarification section in the docs raising awareness about this
value and preferring the lower default.
2022-06-27 13:00:44 +03:00
debadair
ee008a3d3b
[DOCS] Fix broken link (#87992) 2022-06-23 15:06:41 -07:00
debadair
b6eb971fdc
[DOCS] Remove ES quickstart. (#87939)
* [DOCS] Remove ES quickstart.

* Fix xref

* Fix xrefs

* Add redirect
2022-06-23 14:25:48 -07:00
Andrei Dan
f48c4e7923
[DOCS]: replace instance_has_master with master_is_stable (#87799)
Co-authored-by: James Baiera <james.baiera@gmail.com>
2022-06-23 15:19:58 +01:00
Dimitris Athanasiou
f3199e968b
[ML] Adjust docs for distributed model allocation (#87955)
[ML] Adjust docs for distributed model allocation

Follow up to #87366
2022-06-23 15:35:58 +03:00
Andrei Dan
4e869860d6
Fix StableMasterHealthIndicatorServiceTests and start-slm doc test (#87962) 2022-06-23 12:48:25 +01:00
Andrei Dan
6e98072db5
Add start slm user action (#87854)
This creates a user action for the slm health indicator that will help
the user to start SLM.
2022-06-23 11:04:45 +01:00
Andrei Dan
a4e7064b0e
Create ILM not running user action (#87852)
This creates a user action for the ilm health indicator that will help
the user to start ILM.
2022-06-23 09:54:31 +01:00
Robson Sutton
320c89ba93
Fix byte unit typo in ILM rollover doc (#87780) 2022-06-23 09:33:47 +02:00
Luigi Dell'Aquila
62f27f50ed
Add support for VERSION field type in SQL and EQL (#87590) 2022-06-23 08:54:20 +02:00
debadair
dd7d10844f
[DOCS] Add deployment options to Install topic (#87906) 2022-06-22 17:15:27 -07:00
Lisa Cawley
76cd7b63a4
[DOCS] Add authorization info to get anomaly detection jobs API (#87904) 2022-06-22 15:15:33 -07:00
James Baiera
577145bd25
Add indicator service details to health API documentation. (#87712)
This PR adds listings of all the current details that can be returned from the implemented 
Health Indicator Services. Response details are unique to each indicator and describe the 
state of the system that the indicator is basing its health decisions on.

Co-authored-by: Andrei Dan <andrei.dan@elastic.co>
2022-06-22 17:06:51 -04:00
István Zoltán Szabó
78c0ad91fc
[DOCS] Adds note to time_of_week function about how values are calculated (#87871)
Co-authored-by: Tom Veasey <tveasey@users.noreply.github.com>
2022-06-22 10:22:49 +02:00
Martijn van Groningen
6ca2e796a9
Added additional index.look_ahead_time validation (#87847)
Added a requirement that index.look_ahead_time index setting
can't be lower than time_series.poll_interval setting.

Additional changes:
* Fixed a mistake in the docs that referenced indices.lifecycle.poll_interval
  instead of time_series.poll_interval.
* Moved index.look_ahead_time setting to data stream module.
2022-06-21 10:50:33 +02:00
Yang Wang
f075d505c5
Automatically close idle connections in OIDC back-channel (#87773)
In some environment, the back-channel connection can be dropped
without sending a TCP RST to ES. When that happens, reusing the same
connection results into timeout error.

This PR adds a new http.connection_pool_ttl setting to control how long
a connection in the OIDC back-channel pool can be idle before it is
closed. This allows ES to more actively close idle connections to avoid
the timeout issue.

The new setting has a 3min default which means idle connections are
closed every 3 min if server response does not specify a shorter keep-alive.

Resolves: #75515
2022-06-20 22:31:17 +10:00
David Turner
ff269f8104
Small fixes to clear voting config excls API (#87828)
Fixes the name of the REST param in the error message, and expands the
API docs to emphasise that the exclusions should be empty in normal
operation.
2022-06-20 10:40:39 +01:00
Mayya Sharipova
1ae209335d
Undeprecate function_score query (#87807)
We had a plan to deprecate function_score query with
script_score query, but ran into a roadblock of missing
functionality to combine scores from different
functions (particularly "first" script_score).
Wee have several proposal to address this missing
functionality:
 [scripted_boolean](https://github.com/elastic/elasticsearch/issues/27588#issuecomment-444887726)
 [compound_query](https://github.com/elastic/elasticsearch/issues/51967)
 [first_query](https://github.com/elastic/elasticsearch/issues/52482)

But for now, we decided not to deprecate function_score query,
and hence we need to remove any mention that we are deprecating it.

Relates to #42811
Closes #71934
2022-06-17 11:04:26 -04:00
Dimitris Athanasiou
679351e224
[ML] Require that threads_per_allocation is a power of 2 (#87697)
As the number of cores in CPUs is typically a power of 2,
this commit adds a validation that trained model deployments
start with `threads_per_allocation` set to be a power of 2.
When we look for how we distribute the allocations across the
cluster, this prevents situations where we have a lot of wasted
CPU cores.

In addition, we add a max value limit of `32`.
2022-06-17 15:12:37 +03:00
Andrei Dan
2ec4a9e006
Add troubleshooting doc for missing tier (#87526)
Co-authored-by: Lee Hinman <dakrone@users.noreply.github.com>
2022-06-17 12:24:33 +01:00
David Kilfoyle
40e9f3097c
[DOCS] Add TSDS docs, take two (#87703)
* Revert "Revert "[DOCS] Add TSDS docs (#86905)" (#87702)"

This reverts commit 0c86d7b9b2.

* First fix to tests

* Add data_stream object to index template

* small rewording

* Add enable data stream object in gradle example setup

* Add bullet about data stream must be enabled in template
2022-06-16 12:44:10 -04:00
David Kilfoyle
0c86d7b9b2
Revert "[DOCS] Add TSDS docs (#86905)" (#87702)
Reverts elastic/elasticsearch#86905
2022-06-15 13:32:12 -04:00
David Kilfoyle
d57f4ac2c6
[DOCS] Add TSDS docs (#86905)
* [DOCS] Add TSDB docs

* Update docs/build.gradle

Co-authored-by: Adam Locke <adam.locke@elastic.co>

* Address Nik's comments, part 1

* Address Nik's comments, part deux

* Reword write index

* Add feature flags

* Wrap one more section in feature flag

* Small fixes

* set index.routing_path to optional

* Update storage reduction value

* Update create index template code example

Co-authored-by: James Rodewig <40268737+jrodewig@users.noreply.github.com>
Co-authored-by: Adam Locke <adam.locke@elastic.co>
2022-06-15 12:22:07 -04:00
István Zoltán Szabó
d48e1a2488
[DOCS] Adds section about how to use ingest timestamp to sync a transform (#87650)
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2022-06-15 15:00:44 +02:00
Stuart Tettemer
d42211c431
Ingest: IngestDocument requires non-null version (#87665)
Changes the type of the version parameter in `IngestDocument` from
`Long` to `long` and moves it to the third argument, so all required
values occur before nullable arguments.

The `IngestService` expects a non-null version for a document and will
throw an `NullPointerException` if one is not provided.

Related: #87309
2022-06-15 07:50:45 -05:00
Lisa Cawley
5b6838e6ec
[DOCS] Fix typo in anomaly detection example (#87668) 2022-06-14 14:34:33 -07:00
Jake Landis
51ea9c39ba
forward port 8.2.3 release notes (#87663) 2022-06-14 13:52:00 -05:00
David Turner
fcf293f87c
Report overall mapping size in cluster stats (#87556)
Adds measures of the total size of all mappings and the total number of
fields in the cluster (both before and after deduplication).

Relates #86639
Relates #77466
2022-06-14 13:55:14 +01:00
Luca Cavanna
fe327c6e1a
[DOCS] Clarify index_prefix in prefix query docs (#87450)
The current docs mention that Elasticsearch indexes prefixes between 2 and 5 characters in a separate field. 2 and 5 are default values, and the size of the prefixes indexed depend on the configuration settings.
2022-06-14 14:32:37 +02:00
Leaf-Lin
ed0fb8b819
Move fix common cluster issues to troubleshooting (#87440)
* Move fix common cluster issues to troubleshooting

* Include fix common cluster issues in the troubleshooting doc

* [DOCS] Remove extra include from How-To

Co-authored-by: Deb Adair <debadair@elastic.co>
2022-06-13 17:16:17 -07:00
Elasticsearch addict
336df7a266
Update disabling _source doc mentioning highlight (#87582)
Closes #87311
2022-06-13 09:11:25 -04:00
Elasticsearch addict
b5a635cae9
[DOCS] Add note for tokenizers that don't support keep types token filter (#87553)
Closes #85946
2022-06-13 11:28:32 +02:00
Julie Tibshirani
fab547bef2
Improve kNN with filtering docs (#87538)
This change tries to make it easier to find kNN with filtering in the docs:
* Mention filtering support in the kNN API description
* In kNN tutorial, link to the kNN search API page more prominently
2022-06-09 10:42:54 -07:00
Nik Everett
b18bafb207
Docs for synthetic source (#87416)
This adds some basic docs for synthetic source both to get us started
documenting it and to show how I'd like to get it documented - with a
central section in the docs for `_source` and "satellite" sections in
each of the supported field types that link back to the central section.

[Preview](https://elasticsearch_87416.docs-preview.app.elstc.co/guide/en/elasticsearch/reference/master/mapping-source-field.html#synthetic-source)
2022-06-09 09:42:06 -04:00
Armin Braun
2a5d65c17f
Remove shards per gb of heap guidance (#86223)
This guidance does not apply any longer.
The overhead per shard has been significantly reduced in recent versions
and removed rule of thumb will be too pessimistic in many if not
most cases and might be too optimistic in other specific ones.

=> Replace guidance with rule of thumb per field count on data nodes and
rule of thumb by index count (which is far more relevant nowadays than
shards) for master nodes.

relates #77466

Co-authored-by: David Turner <david.turner@elastic.co>
Co-authored-by: Henning Andersen <33268011+henningandersen@users.noreply.github.com>
2022-06-09 15:31:01 +02:00
Przemysław Witek
8656a29675
[Transform] Implement per-transform num_failure_retries setting. (#87361) 2022-06-09 15:22:06 +02:00
Luigi Dell'Aquila
3dc4176a1a Revert "Add support for VERSION field type in SQL and EQL (#85502)"
This reverts commit 79b0078b0d.
2022-06-09 09:34:26 +02:00
Luigi Dell'Aquila
79b0078b0d
Add support for VERSION field type in SQL and EQL (#85502) 2022-06-09 08:43:23 +02:00
Keith Massey
6caf39c109
How to increase node capacity docs (#87188)
This adds troubleshooting documentation for the case when the ShardsAvailabilityHealthIndicatorService
reports that there are not enough nodes in the data tier (user action "increase_node_capacity_for_allocations" or
"increase_tier_capacity_for_allocations_". This covers both the cloud and self-managed environments. For
cloud we first recommend increasing the number of availability zones (because you cannot directly add nodes), and
decreasing index.number_of_replicas if that is not possible. For self-managed, we first recommend adding nodes,
and decreasing index.number_of_replicas if that is not possible.
2022-06-08 14:06:47 -05:00
Nik Everett
86effae55c
Docs: Data streams only support create (#87263)
This removes "data streams" from the docs for the `index`, `delete`,
and `update` actions because data streams only support the `update`
action.

Closes #87231
2022-06-08 13:41:42 -04:00
Yang Wang
f5ceed19fc
User Profile - remove feature flag (#87383)
The feature flag is no longer necessary in the 8.4 release cycle. The
feature itself is still in beta.
2022-06-08 10:18:18 -04:00
James Baiera
b3ff079794
Improve the Health API documentation page with recent additions (#87139)
This PR overhauls the new health API documentation page, updating it with information on the new 
request formatting and response features.
2022-06-07 15:22:09 -04:00
Andrei Dan
15b8fc3151
Fix troubleshooting doc tab to point to self-managed (#87465)
This fixes the Self Managed tab to load the
self-managed instructions.
2022-06-07 16:29:54 +01:00