Commit graph

11513 commits

Author SHA1 Message Date
Lisa Cawley
d8da8fa61a
[DOCS] Update transform health rule details (#105719) 2024-03-12 07:33:19 -07:00
István Zoltán Szabó
265461fb1b
[DOCS] Changes element_type in index mapping for the infrence tutorial. (#106233) 2024-03-12 14:43:58 +01:00
Nicole Albee
7139546d5d
Clarify filters can be used while creating a normalizer. (#103826) 2024-03-12 14:19:15 +01:00
Ievgen Degtiarenko
92f6197819
Add index forecasts to /_cat/allocation output (#97561)
This change adds shard size and ingest load forecasts to /_cat/allocation output
2024-03-12 12:36:25 +01:00
Yang Wang
5632380ecd
[Doc] Trivial correction for shard allocator choice (#106216)
Relates: #105894
2024-03-12 18:34:22 +11:00
Fang Xing
8d839e3b52
add mv_slice and mv_zip (#106147) 2024-03-11 23:02:57 -04:00
David Turner
41a0210837
Expand docs on number value conventions (#106198)
Today we do not say explicitly that `integer` response fields are really
arbitrarily large JSON integers and may not fit into a Java `int`. This
commit expands the docs to add this information.
2024-03-11 15:34:09 -04:00
Joe Gallo
8be3fb229d
Mute failing snippet tests (#106196) 2024-03-11 13:22:46 -04:00
Aurélien FOUCRET
5f81c1bbe6
First version of the LTR guide. (#105956) 2024-03-11 17:26:01 +01:00
Ievgen Degtiarenko
5e52059947
Add allocation stats (#105894)
This change attempts to add allocation section to the node stats in
order to simplify unbalanced clusters debugging. It is required for
https://github.com/elastic/elasticsearch/pull/97561
2024-03-11 11:07:56 -04:00
Stef Nestor
37542e6245
(Doc+) Link Troubleshooting Discover from Mapping Explosion (#105991)
👋 howdy team! [Mapping Explosion](https://www.elastic.co/guide/en/elasticsearch/reference/current/mapping-explosion.html) is a common root issue of [Discover Slowness](https://www.elastic.co/blog/troubleshooting-guide-common-issues-kibana-discover-load), so cross-linking these Dev-reviewed pages.
2024-03-11 15:00:32 +01:00
Johannes Fredén
2063fab989
Add user information to slowlog (#105621)
* Add user/auth information to slowlog
2024-03-11 10:16:13 +01:00
Joe Gallo
265c3eee67
Revert "[DOCS] Mute snippet tests for #75069 (#75237)" (#106140)
This reverts commit 75c585c0f1.
2024-03-08 15:35:58 -05:00
Stef Nestor
18a509a18f
(DOC+) Node Stats fs.available reflects XFS quotas (#106085)
Moving https://github.com/elastic/elasticsearch/pull/103472 here.

---

👋 howdy, team!

Could we include "XFS quotas" as an example for "depending on OS or process level restrictions" for this doc's searchability for users to better understand how to investigate this potential lever's impact?

TIA!
2024-03-08 10:19:27 -05:00
Nhat Nguyen
863cbf6bb4
Add docs for cross cluster search in ES|QL(#105934)
This change adds a documentation for cross cluster search in ES|QL.

Relates #102954
Closes #105529
2024-03-07 13:15:01 -08:00
Jake Landis
b22d2af669
OIDC doc - mention client secret needs a restart (#106088) 2024-03-07 14:59:02 -06:00
István Zoltán Szabó
5d7549c2c8
[DOCS] Documents scripted metric aggregation limitation in datafeeds (#106059) 2024-03-07 14:07:14 +01:00
István Zoltán Szabó
3dcfbe0732
[DOCS] Changes the cohere example to use a different model (#106037) 2024-03-06 19:40:04 +01:00
Lee Hinman
9a049a1092
Use index block API in shrink/split/clone docs (#105997)
This uses the dedicated index block API in the docs for the shrink, split, and clone APIs, rather than putting the block in as a setting directly. The specialized API will wait for ongoing operations to finish, which is better during indexing operations.

Resolves #105831
2024-03-06 09:46:27 -07:00
Joe Gallo
38168407ef
Docs typo fix (#105835) (#106002)
Co-authored-by: MikhailBerezhanov <35196259+MikhailBerezhanov@users.noreply.github.com>
2024-03-06 07:45:13 -05:00
Mary Gouseti
6fbf9892aa
Add the parameter failure_store to multi-target syntax APIs (#105386)
In this PR we introduce a new query parameter behind the failure store feature flag. The query param, `faliure_store` allows the multi-syntax supporting APIs to choose the failure store indices as well. If an API should not support failure store, the `allowFailureStore` flag should be `false`.
2024-03-06 14:04:18 +02:00
Craig Taverner
8d93a934f6
Add two new OGC functions ST_X and ST_Y (#105768)
* Add two new OGC functions ST_X and ST_Y

Recently Nik did work that involved extracting the X and Y coordinates from geo_point data using `to_string(field)` followed by a DISSECT command to re-parse the string to get the X and Y coordinates.

This is much more efficiently achieved using existing known OGC functions `ST_X` and `ST_Y`.

* Update docs/changelog/105768.yaml

* Fixed invalid changelog yaml

* Fixed mixed cluster tests

* Fixed tests and added docs

* Removed false impression that these functions were different for geo/cartesian

With the use of WKB as the core type in the compute engine, many spatial functions are actually the same between these two types, so we should not give the impression they are different.

* Code review comments and reduced object creation.

* Revert temporary StringUtils hack, and fix bug in x/y extraction from WKB

* Revert object creation reduction

* Fixed mistakes in documentation
2024-03-06 11:19:54 +01:00
Jan Kuipers
c70956ac16
[text structure] Find field and message structure endpoints (#105660)
* Extract AbstractFindStructureRequest

* Extract FindStructureResponse

* Extract RestFindStructureRequestParser

* FindFieldStructure endpoint

* FindMessageStructure endpoint

* Improve FindTextStructureResponseTests

* REST API spec + YAML REST tests

* Lint fixes

* Remove POST find_field_structure

* Update docs/changelog/105660.yaml

* Update changelog

* Fix text_structure.find_field_structure.json

* Fix find_field_structure yaml rest test

* Fix FindTextStructureResponseTests

* Fix YAML tests with security

* Remove unreachable code

* DelimitedTextStructureFinder::createFromMessages

* NdJsonTextStructureFinderFactory::createFromMessages

* XmlTextStructureFinderFactory::createFromMessages

* LogTextStructureFinderFactory::createFromMessages

* Lint fixes

* Add createFromMessages to TextStructureFinderFactory interface

* Wire createFromMessages in the endpoints

* Uppercase UTF-8

* REST test for semi-structured messages

* Restrict query params to applicable endpoints

* typo

* Polish thread scheduling

* Propagate parent task in search request

* No header row for find message/field structure

* Expose findTextStructure more consistently

* Move text structure query params to shared doc

* Rename "find structure API" -> "find text structure API"

* Find message structure API docs

* Find field structure docs

* Maybe fix docs error?

* bugfix

* Fix docs?

* Fix find-field-structure test from docs

* Improve docs

* Add param documents_to_sample to docs

* improve docs
2024-03-06 11:03:42 +01:00
Stef Nestor
aba546d023
(API+) CAT Nodes alias for shard header to match CAT Allocation (#105847)
👋 howdy, team!  

Will you kindly consider adding `shards` as an alias to
`shard_stats.total_count` column for CAT Nodes to match its naming from
CAT Allocation? (The tests returned clean without changes which I hadn't
expected, so please let me know if I missed something.)

**Example**: To avoid running the default CAT Nodes & CAT Allocation
separately, you can run CAT Nodes

```
GET _cat/nodes?v&s=master,name&h=name,id,master,node.role,cpu,heap.percent,disk.*,sstc,uptime
```

Where `sstc` is `shards` from CAT Allocation. This is a 👶 API (+ its
doc) change to make the output more intuitive.
2024-03-05 12:10:58 -05:00
Craig Taverner
85cd204317
Fix automatic generation of spatial function types files (#105766)
* Fix automatic generation of spatial function types files

The automatic mapping of spatial function names from class names was not working for spatial types, so the automatic generation of these files did not happen, and in fact existing files were deleted.

In addition, the generation of aggregation functions types does not yet exist at all, so the st_centroid.asciidoc file was always deleted. Until such support exists, this files contents will be moved back into the function definition file.

The railroad diagrams for syntax are now also created, however, not all functions in the documentation actually use these, and certainly none of the `TO_*` type-casting functions do, so we'll not include links to them from the docs, and leave that to the docs team to decide. Personally, while these diagrams are pretty, they contain no additional informational content, and in fact give a cluttered impression to the documentation visual appeal.

* Refined to use an annotation which is more generic
2024-03-05 18:04:09 +01:00
Benjamin Trent
61b3d98227
Add note about optional times and epochs (#105786) 2024-03-05 08:44:03 -05:00
Jennie Soria
30828a5680
Update geoip.asciidoc (#105908)
The GeoIP endpoint does not use the xpack http client. The GeoIP downloader uses the JDKs builtin cacerts.

If customer is using custom https endpoint they need to provide the cacert in the jdk, whether our jdk bundled in or their jdk. Otherwise they will see something like
```
...PKiX path building failed: sun.security.provier.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target...
```
2024-03-05 11:26:49 +01:00
István Zoltán Szabó
6ae9dbfda7
[DOCS] Adds cohere service example to the inference API tutorial (#105904)
Co-authored-by: Jonathan Buttner <56361221+jonathan-buttner@users.noreply.github.com>
2024-03-04 16:43:41 +01:00
Stef Nestor
8cc438ea8e
(+DOC)(ILM) Shrink recovers to specific node (#105872) 2024-03-01 19:40:33 +01:00
Henning Andersen
07ae23aad3
Document 429 handling generically (#105700)
We only had a few mentions of 429 handling, now documenting our expectation generically.

Co-authored-by: David Turner <david.turner@elastic.co>
Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>
2024-03-01 17:21:53 +01:00
Liam Thompson
52b027e44b
[DOCS] Fix bullet in get-desired-balance ref (#105819)
Fix formatting
2024-02-29 09:32:50 +01:00
Liam Thompson
4bea4a7a10
[Docs] Tiny format fix (#105820) 2024-02-29 09:32:42 +01:00
David Kyle
3587bc828e
[ML] Rename the internal text embedding service to elasticsearch (#105753) 2024-02-25 11:06:21 +00:00
florent-leborgne
d37d93ac36
[Docs] [Remote Clusters] Note about certificates in ESS for Remote Cluster Security (#105771)
* note about ess certificates

* Update docs/reference/modules/cluster/remote-clusters-api-key.asciidoc

Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>

---------

Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>
2024-02-23 15:13:51 +01:00
Alessandro Stoltenberg
39a4ddb3f6
email-reporting-attachment-docs: Correct auth and proxy fields. (#105730) 2024-02-23 13:01:08 +01:00
elasticsearchmachine
c60706cdd9
Forward port release notes for v8.12.2 (#105752) 2024-02-22 12:35:12 -05:00
Lisa Cawley
1cfa86ee13
[DOCS] Update anomaly detection jobs health rule details (#105716) 2024-02-22 08:26:31 -08:00
István Zoltán Szabó
6073e748a3
[DOCS] Adds more detail on disk usage of kNN quantized vectors (#105724)
Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com>
Co-authored-by: Benjamin Trent <ben.w.trent@gmail.com>
2024-02-22 15:54:03 +01:00
Felix Barnsteiner
dee0be589c
Flatten object mappings when subobjects is false (#103542) 2024-02-22 11:43:12 +01:00
Moritz Mack
6b50b6ddf9
Block updates to log level for restricted loggers if less specific than INFO (#105020)
To prevent leaking sensitive information such as credentials and keys in logs, this 
commit prevents configuring some restricted loggers (currently `org.apache.http` 
and `com.amazonaws.request`) at high verbosity unless the NetworkTraceFlag 
(`es.insecure_network_trace_enabled`) is enabled.
2024-02-21 17:45:51 +01:00
István Zoltán Szabó
2d4a49af53
[DOCS] Fixes get settings and update settings security API docs (#105686)
* [DOCS] Fixes get settings and update settings security API docs.

* [DOCS] Further edits.
2024-02-21 15:06:32 +01:00
Luigi Dell'Aquila
f06a580eb7
ES|QL: Set default query LIMIT to 1000 (#105618) 2024-02-21 09:25:25 +01:00
Albert Zaharovits
065158e222
Expose owner realm_type in the returned API key information (#105629)
When querying or getting API key information, ES returns the key owner's
username and realm (i.e. the realm name that authenticated the username
that last updated the API key).
This PR adds the realm_type to the information on the key's owner.
2024-02-20 20:55:27 +02:00
David Turner
369096365c
Expand docs about max-shards-per-node (#105607)
Adds a little more detail on what sorts of problems may occur if you
exceed the default limits.
2024-02-20 08:43:18 +00:00
Liam Thompson
9e5fe197ca
[DOCS] Fix sublist syntax (#105625) 2024-02-19 16:25:31 +01:00
Niels Bauman
9a0eee603b
Add missing repository integrity docs for Health API (#105555)
Follow up on #104614
2024-02-19 15:51:32 +01:00
Chris Cressman
5f7249b4a2
[DOCS] Promote webinar on Elasticsearch docs landing (#105594)
Collaboration with Elastic Marketing
2024-02-19 08:53:18 +01:00
Albert Zaharovits
6fec837e32
[Doc] API Key deletion settings (#105392)
This documents API Key delete settings.
2024-02-18 17:38:56 +02:00
Albert Zaharovits
b2e626e7df
Support Profile Activate with JWTs with client authn (#105439)
Adds support for JWTs with client authentication
to the activate user profile API.

Closes #105342
2024-02-18 17:37:28 +02:00
Jake Landis
5b80065dfe
Update FIPS documentation for 8.x (#105041)
This commit updates the documentation for FIPS support. 
In addition to the changes for 8.x it also provides more details for how to setup/configure FIPS mode.
2024-02-15 09:23:48 -06:00