Commit graph

10341 commits

Author SHA1 Message Date
Leaf-Lin
8c06aea3dd
[DOCS] CCR disaster recovery (#91491)
* Add bi-directional disaster recovery

* add ccr bi-directional disaster recovery image

* add link to bi-directional disaster recovery

* add image

* add [source]

* fix language

* Update bi-directional-disaster-recovery.asciidoc

* Update bi-directional-disaster-recovery.asciidoc

* Update bi-directional-disaster-recovery.asciidoc

* Apply suggestions from code review

Remove immutable restrictions and add update/delete by query instructions.

* Apply suggestions from code review

* Apply suggestions from code review

Fixing reference

* Apply suggestions from code review

fix list format

* Apply suggestions from code review

remove space to fix format

* add test

* Update docs/reference/ccr/bi-directional-disaster-recovery.asciidoc

* Add test

* Add uni-directional DR doc

* Add uni-directional image

* add uni-directional doc reference

* Update docs/reference/ccr/uni-directional-disaster-recovery.asciidoc

Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co>

* Apply suggestions from code review

Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co>

* Apply suggestions from code review

Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co>

* Pushing up minor edits to restart build. Previous build failure 'Could not determine the dependencies of task ':x-pack:plugin:ml:explodedBundlePlugin'

* Apply suggestions from code review

* Tip formatting and renaming follwer index to _copy in uni-direction

* Fix failing CI doc check

---------

Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co>
Co-authored-by: Amy Jonsson <amy.jonsson@elastic.co>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2023-04-21 10:02:54 +01:00
Stef Nestor
dd968f5433
Update ilm-searchable-snapshot.asciidoc (#95255)
👋🏼 howdy, team! Can we explicate that ILM Searchable Snapshot retention ([doc](https://www.elastic.co/guide/en/elasticsearch/reference/master/ilm-searchable-snapshot.html)) is not effected by SLM policies? TIA!

---------

Co-authored-by: amyjtechwriter <61687663+amyjtechwriter@users.noreply.github.com>
2023-04-20 07:03:31 -06:00
Mayya Sharipova
4d6e451d8b
Add an experimental label for 2048 vector dims (#95395)
Add an experimental lable for increased vector dims.

Relates to PR#95257
2023-04-20 07:48:12 -04:00
Salvatore Campagna
ec2bdee31b
Add time_series_dimensions param to flattened docs (#95374) 2023-04-20 10:58:12 +02:00
Ievgen Degtiarenko
c2c0ced9b1
Reset desired balance (#94525)
This introduces an endpoint to reset the desired balance.
It could be used if computed balance diverged from the actual one a lot 
to start a new computation from the current state.
2023-04-20 08:03:48 +02:00
Keith Massey
efcdbbc952
Adding origination date to DLM (#95113)
This adds support for an index's index.lifecycle.origination_date setting in DLM. If an index has a
value for index.lifecycle.origination_date then it is used instead of the creation date or rollover
date (except in the case of the write index when the write index has not been rolled over yet).
2023-04-19 08:15:24 -05:00
Pablo Alcantar Morales
253fe6325d
Add shards capacity troubleshooting guide (#95208) 2023-04-19 09:24:07 +02:00
Toby Sutor
ba9dc81115
[docs] Clarify that index template settings take precedence over comp… (#87374)
* [docs] Clarify that index template settings take precedence over component templates.

[docs] Clarify that index template settings take precedence over component templates.

* Update docs/reference/indices/index-templates.asciidoc

Co-authored-by: Adam Locke <adam.locke@chronosphere.io>

---------

Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co>
Co-authored-by: Adam Locke <adam.locke@chronosphere.io>
2023-04-19 09:18:33 +02:00
Felix Barnsteiner
11b598a519
Add reroute processor (#76511) 2023-04-18 19:09:25 +02:00
Martijn van Groningen
1f40ced134
Tiny tsdb docs update (#95333)
Update definition of metric type counter to include it resets to zero.

Just like is defined on the tsdb page:
https://www.elastic.co/guide/en/elasticsearch/reference/current/tsds.html#time-series-metric
2023-04-18 11:17:31 -04:00
Cauê Marcondes
91cd61a454
[Fleet] Support for Profiling symbolization (#95241)
* It adds the profiling index pattern profiling-* to the fleet server service privileges.
* And adds profiling-* to kibana system role privileges.

---------

Co-authored-by: Daniel Mitterdorfer <daniel.mitterdorfer@elastic.co>
2023-04-18 07:12:44 +02:00
Kathleen DeRusso
8432a5a366
Update Search Application API docs to reflect Tech Preview status (#95308) 2023-04-17 14:14:30 -04:00
David Kyle
6de8469a51
[ML] Include model definition install status for Pytorch models (#95271)
Adds a new include flag definition_status to the GET trained models API.
When present the trained model configuration returned in the response 
will have the new boolean field fully_defined if the full model definition 
is exists.
2023-04-17 18:12:26 +01:00
Andrei Dan
7b994ba8d0
Document that DS backing indices can have gaps in the name counter (#95237) 2023-04-17 17:11:05 +01:00
David Turner
822dc713d8
Add note on name resolution during startup (#95266)
Notes that the transport publish address is resolved once during
startup, plus advice to ensure that this name resolution doesn't vary by
location.
2023-04-17 14:42:15 +01:00
Przemysław Witek
2b70165ffd
[Transform] Allow specifying destination index aliases in the Transform's dest config (#94943) 2023-04-17 15:08:43 +02:00
Mayya Sharipova
32c17d79c5
Increase max number of vector dims to 2048 (#95257)
Currently Lucene limits the max number of vector dimensions to 1024.
This commit overrides KnnFloatVectorField and KnnByteVectorField
classes to increase the limit to 2048 for indexed vectors in ES.
2023-04-17 09:05:49 -04:00
David Kyle
7d90c519ef
[ML] Add embedding_size to text embedding config (#95176) 2023-04-17 11:49:35 +01:00
Andrei Dan
731e6dd097
GET _lifecycle returns data streams without lifecycle (#95192)
This changes the `GET _data_stream/ds_name/_lifecycle` endpoint to
return the data stream name even if it doesn't have a lifecycle
configured.

e.g.
```
{
  "data_streams": [
    {
      "name": "logs-nginx"
    }
  ]
}
```

* Fix xcontent and tests

* Update docs

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2023-04-17 10:35:22 +01:00
David Turner
b4b9292ce9
Small changes to corruption troubleshooting docs (#95265)
- Mention that third-party software may be to blame too
- Mention `strace` as a last resort
- Minor rewordings
2023-04-17 09:07:27 +01:00
Joe Gallo
9bc09d576a
Fix ignore_missing docs for a couple of Ingest processors (#95244) 2023-04-13 16:34:40 -04:00
Aurélien FOUCRET
9071d114f5
[Ingest Processor] Add ignore_missing param to the uri_parts ingest processor. (#95068) 2023-04-13 15:11:19 +02:00
David Kilfoyle
2c8e29807e
[DOCS] Add note about /tmp removal (#95166) 2023-04-13 08:39:53 -04:00
Andrei Dan
83402605ea
Remove the lifecycle field in the PUT _lifecycle request (#95201)
This removes a redundant `lifecycle` field in the `PUT _lifecycle`
request.

Before we had
```
PUT _data_stream/logs-nginx/_lifecycle
{
    "lifecycle": {
        "data_retention": "7d"
    }
}
```

This changes the request to
```
PUT _data_stream/logs-nginx/_lifecycle
{
  "data_retention": "7d"
}
```
2023-04-13 09:12:48 +01:00
Aurélien FOUCRET
675163b155
[Enterprise Search][Behavioral Analytics] Events ingest API (#95027) 2023-04-12 15:13:19 +02:00
Abdon Pijpelink
379131366f
[DOCS] Remove 'coming in 8.7.0' from release notes in main (#95182) 2023-04-12 14:51:28 +02:00
Pablo Alcantar Morales
3b01d7fba1
add docs for shards' capacity health indicator (#94738) 2023-04-12 11:51:22 +02:00
Alessandro Stoltenberg
2f274229cc
docs logging configuration: removed dead link and added javadoc reference instead. (#95080)
* docs: removed dead link and added javadoc reference instead.

* Update docs/reference/setup/logging-config.asciidoc

Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co>

---------

Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co>
2023-04-12 10:01:16 +02:00
Jean-Fabrice Bobo
a7e901263b
Update geoip.asciidoc (#95101)
Fix `ingest.geoip.downloader.eager.download` setting not appearing in the rendered documentation
2023-04-12 09:59:27 +02:00
Martijn van Groningen
b41f096756
Document counter field limitation. (#95155)
As is listed here:
https://github.com/elastic/elasticsearch/issues/93539#issuecomment-1420473031

Relates to #93539
2023-04-11 12:14:20 -04:00
Abdon Pijpelink
20dd5d3191
[DOCS] Rerun agg at the end of manual downsampling example (#95122)
* [DOCS] Rerun agg at the end of manual downsampling example

* Replace 'index' with 'data stream'

* One more 'index'
2023-04-11 17:33:52 +02:00
Salvatore Campagna
f315e8708e
Mute get-lifecycle docs yaml test (#95131) 2023-04-11 12:31:14 +02:00
Salvatore Campagna
0eeef45ea2
Synthetic source support for flattened fields (#94842)
Here we add synthetic source support for fields whose type is flattened.
Note that flattened fields and synthetic source have the following limitations,
all arising from the fact that in synthetic source we just see key/value pairs
when reconstructing the original object and have no type information in mappings:

* flattened fields use sorted set doc values of keywords, which means two things: 
   first we do not allow duplicate values, second we treat all values as keywords
* reconstructing array of objects results in nested objects (no array)
* reconstructing arrays with just one element results in a single-value field since we
   have no way to distinguish single-valued from multi-values fields other then looking
   at the count of values
2023-04-11 10:54:28 +02:00
Matthias Wilhelm
9fdb857010
Update field-caps.asciidoc to add information about include_unmapped (#94888)
- Adding context why `include_unmapped` doesn't return results for fields that are not mapped in any index
2023-04-11 09:34:49 +02:00
QY
2306f78ca9
Add keyed param to allow named filters agg return buckets as an array of objects (#89256)
Adds a new `keyed` param for `filters` aggs to come back with their `key` attached rather than as a json object. So that sorting them is meaningful.
2023-04-10 13:53:26 -04:00
Mary Gouseti
ed04559c98
Unmute get-lifecycle.asciidoc test (#95087) 2023-04-10 09:05:22 +02:00
István Zoltán Szabó
f350159e32
[DOCS] Creates page for ELSER semantic search docs (#95072)
* [DOCS] Creates page for ELSER semantic search docs.
2023-04-06 13:43:16 +02:00
Abdon Pijpelink
6e0071c510
[DOCS] Add documentation for cat component templates (#95035) 2023-04-05 16:51:11 +02:00
David Kilfoyle
9a673ad7f1
95017 fix downsampling step (#95054)
* Remove extra step in manual downsampling docs

* create -> view
2023-04-05 10:09:03 -04:00
István Zoltán Szabó
b0a275dee6
[DOCS] Adds tip to change point agg docs. (#94981) 2023-04-05 15:43:16 +02:00
Craig Taverner
6da08c48be
Update release notes to include 8.7.0 (#94934)
* Update release notes to include 8.7.0

Release notes and migration guide from 8.7.0 release ported into main
as well as re-generating 8.8.0 release notes. This latter step will
be overwritten anyway, multiple times, by more up-to-date regeneration
of the 8.8.0 release notes during the release process.

* Remove coming 8.7.0 line

* Update docs/reference/migration/migrate_8_7.asciidoc

Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co>

* Make same change to 8.8

---------

Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co>
2023-04-05 12:02:53 +02:00
Mary Gouseti
99145bbe9c
Add new endpoints to configure data lifecycle on a data stream level. (#94590)
With PR we introduce CRUD endpoints which update/delete the data lifecycle on the data stream level. When this is updated it will apply at the next DLM run to all the backing indices that are managed by DLM.
2023-04-04 18:37:38 +02:00
Carlos Delgado
7a782031c4
Add Enterprise Search Module (#94381)
Create base module for ent-search with CRUD APIs to manage behavioral analytics and Search Application.

---------

Co-authored-by: Jim Ferenczi <jim.ferenczi@elastic.co>
Co-authored-by: Aurélien FOUCRET <aurelien.foucret@gmail.com>
Co-authored-by: Kathleen DeRusso <63422879+kderusso@users.noreply.github.com>
Co-authored-by: Ioana Tagirta <ioanatia@users.noreply.github.com>
Co-authored-by: Joseph McElroy <joseph.mcelroy@elastic.co>
Co-authored-by: Aurelien FOUCRET <aurelien.foucret@elastic.co>
Co-authored-by: Benjamin Trent <ben.w.trent@gmail.com>
2023-04-04 10:36:13 +01:00
Mary Gouseti
1af2f438a3
[DLM] Extend the simulate template API to support include defaults (#94861) 2023-04-04 11:25:35 +02:00
David Turner
f0989404ab
Bootstrapping docs clarifications (#94977)
Explains why you should remove `cluster.initial_master_nodes`, and
rewords some of the other sections a little for (subjectively) improved
readability.
2023-04-03 14:43:12 +01:00
Jim Ferenczi
57cbbb3fcd
Minor ann docs update (#94783)
Replace the link to the deprecated knn search API and
added a link to the nightly benchmarks in Rally.
2023-03-31 17:59:25 +01:00
Ten Bradley
d5a33e439c
Update search-your-data.asciidoc (#94878)
Minor typo `hit.hits` => `hits.hits`
2023-03-31 10:49:26 +01:00
Alessandro Stoltenberg
c787e3808f
docs: set-processor minor update (#94899) 2023-03-30 14:27:05 +02:00
Benjamin Trent
f23b906891
Add new similarity field to knn clause in _search (#94828)
This adds a new parameter to `knn` that allows filtering nearest neighbor results that are outside a given similarity.

`num_candidates` and `k` are still required as this controls the nearest-neighbor vector search accuracy and exploration. For each shard the query will search `num_candidates` and only keep those that are within the provided `similarity` boundary, and then finally reduce to only the global top `k` as normal.

For example, when using the `l2_norm` indexed similarity value, this could be considered a `radius` post-filter on `knn`.

relates to: https://github.com/elastic/elasticsearch/issues/84929 && https://github.com/elastic/elasticsearch/pull/93574
2023-03-28 15:29:01 -04:00
Rafi Estrada
d0f96a8c0b
Add note about ENV for systemd installs (#91424)
* Add note about ENV for systemd installs

This ES_TMPDIR env variable is not referenced in the /guide/en/elasticsearch/reference/current/setting-system-settings.html#sysconfig section, and when searching for the error mentioned in this page, it might not become too obvious.

* Restructure

---------

Co-authored-by: Abdon Pijpelink <abdon.pijpelink@elastic.co>
2023-03-28 12:07:34 -05:00