Commit graph

7664 commits

Author SHA1 Message Date
James Rodewig
1b51acbbab
[DOCS] Add PIT to search after docs (#61593)
Co-authored-by: Jim Ferenczi <jim.ferenczi@elastic.co>
2020-09-08 09:53:21 -04:00
Francisco Fernández Castaño
f55b20482a
Add repositories metering API (#60371)
This pull request adds a new set of APIs that allows tracking the number of requests performed
by the different registered repositories.

In order to avoid losing data, the repository statistics are archived after the repository is closed for
a configurable retention period `repositories.stats.archive.retention_period`. The API exposes the
statistics for the active repositories as well as the modified/closed repositories.
2020-09-08 10:44:54 +02:00
David Kyle
610a4f12ba
Mute Docs rollover index test snippet (#62045)
For #62043
2020-09-07 11:21:52 +01:00
István Zoltán Szabó
a75094e666
[DOCS] Removes inference from the names of trained model APIs. (#62036) 2020-09-07 11:23:29 +02:00
James Rodewig
dcf0c3062f
[DOCS] Document dynamic discovery settings (#61420) 2020-09-04 10:56:17 -04:00
James Rodewig
bbcd8078ce
[DOCS] Document dynamic index mgmt and buffer settings (#61753) 2020-09-04 10:19:42 -04:00
James Rodewig
9169f26ad2
[DOCS] Use correct get document API (#61804) (#61991)
The documentation refers to a deprecated get document API call (it uses document `type`).

Co-authored-by: Thiago Souza <thiago@elastic.co>
2020-09-04 10:05:21 -04:00
James Rodewig
e2d6fec643
[DOCS] Fix typo in URL-based access control docs (#61896) (#61985)
Co-authored-by: George Tseres <george.tseres@gmail.com>
2020-09-04 09:24:36 -04:00
Mikołaj Przybysz
9e8d8ee38a
[DOCS] Add line break to get ILM lifecycle API docs (#61892) 2020-09-04 09:00:11 -04:00
Lisa Cawley
511babde59
[DOCS] Refresh machine learning custom URL example (#61826) 2020-09-03 16:53:26 -07:00
James Rodewig
95ff607857 remove xref from heading 2020-09-03 17:48:16 -04:00
István Zoltán Szabó
15001bef0e
[DOCS] Makes example preface more accurate. (#61912) 2020-09-03 16:31:40 +02:00
István Zoltán Szabó
ff95360433
[DOCS] Adds filter aggregation example link to painless examples (#61890) 2020-09-03 14:19:03 +02:00
Julie Tibshirani
5065dbc41c
Remove a redundant section on field data types. (#61821)
All information in the section is already included in the 'mapping-types' page.
2020-09-02 15:00:01 -07:00
James Rodewig
95fccbebbb [DOCS] Fix keyword xref 2020-09-02 11:46:40 -04:00
James Rodewig
ea50c24eb7 [DOCS] Update shard allocation awareness xref 2020-09-02 11:32:35 -04:00
Julie Tibshirani
ceb4c02ee8
Link to the keyword family page from the field types docs. (#61819)
We now link to the top-level keyword type family page instead of its individual
subsections. This better fits the page format, where each type name is a link.
2020-09-01 16:21:25 -07:00
James Rodewig
a70c00a62c
[DOCS] Document dynamic cluster settings (#61760)
Co-authored-by: Adam Locke <adam.locke@elastic.co>
2020-09-01 15:48:45 -04:00
James Rodewig
f881a695e1
[DOCS] Add redirects for wildcard and constant keyword (#61815) 2020-09-01 15:32:35 -04:00
James Rodewig
5857c02b12
[DOCS] Combine keyword family docs (#61662) 2020-09-01 14:51:05 -04:00
James Rodewig
21deb3b7ea
[DOCS] EQL: Clarify until keyword docs (#61794) 2020-09-01 13:37:24 -04:00
James Rodewig
66e68befbc
[DOCS] Fix JSON spec linnk for PIT API (#61783) 2020-09-01 10:00:42 -04:00
Lisa Cawley
4c2d7f7737
[DOCS] Clarify enabling monitoring features (#61758) 2020-08-31 13:14:33 -07:00
Lisa Cawley
b22ade49af
[DOCS] Document static monitoring settings (#61748) 2020-08-31 12:27:53 -07:00
James Rodewig
e0efa26d81
[DOCS] Document static ILM settings (#61745) 2020-08-31 13:43:51 -04:00
James Rodewig
617652b969
[DOCS] Document dynamic cluster-lvl shard alloc settings (#61338) 2020-08-31 11:04:11 -04:00
James Rodewig
ea80a542a7
[DOCS] Fix typo in range query docs (#61722) 2020-08-31 10:46:06 -04:00
James Rodewig
0acd6e619d
[DOCS] Add force merge to hot phase list (#61725) 2020-08-31 10:44:16 -04:00
James Rodewig
b0336111af
[DOCS] Fix Gsub processor snippet (#61720) 2020-08-31 10:14:54 -04:00
Armin Braun
1bf5550498
Remove Outdated Snapshot Docs (#61684)
Removing some now outdated statements that refer to a time
when snapshot operations could not run concurrently.

Closes #61680

Co-authored-by: Adam Locke <adam.locke@elastic.co>
2020-08-31 15:52:49 +02:00
James Rodewig
136275e3e6
[DOCS] Fix typo in nodes stats docs (#61601) (#61716)
Co-authored-by: Henry <henryloh@ucla.edu>
2020-08-31 09:29:40 -04:00
Adam Locke
dc7153c7ce
[DOCS] Update audit-settings.asciidoc (#61610) (#61646)
* Update audit-settings.asciidoc

"I think" all {ess-icon} should be replaced by {ece-icon} because:
- audit logging is not allowed on ESS, as per https://www.elastic.co/guide/en/cloud/current/ec-add-user-settings.html and https://www.elastic.co/guide/en/cloud/current/ec-restrictions.html#ec-restrictions-security
- audit logging is allowed setting on ECE, as per https://www.elastic.co/guide/en/cloud-enterprise/current/ece-enable-auditing.html

* Removing ESS icons for audit settings

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

Co-authored-by: Leaf-Lin <39002973+Leaf-Lin@users.noreply.github.com>
2020-08-27 15:05:51 -04:00
Lee Hinman
28cec563b1
Allocate newly created indices on data_hot tier nodes (#61342)
This commit adds the functionality to allocate newly created indices on nodes in the "hot" tier by
default when they are created.

This does not break existing behavior, as nodes with the `data` role are considered to be part of
the hot tier. Users that separate their deployments by using the `data_hot` (and `data_warm`,
`data_cold`, `data_frozen`) roles will have their data allocated on the hot tier nodes now by
default.

This change is a little more complicated than changing the default value for
`index.routing.allocation.include._tier` from null to "data_hot". Instead, this adds the ability to
have a plugin inject a setting into the builder for a newly created index. This has the benefit of
allowing this setting to be visible as part of the settings when retrieving the index, for example:

```
// Create an index
PUT /eggplant

// Get an index
GET /eggplant?flat_settings
```

Returns the default settings now of:

```json
{
  "eggplant" : {
    "aliases" : { },
    "mappings" : { },
    "settings" : {
      "index.creation_date" : "1597855465598",
      "index.number_of_replicas" : "1",
      "index.number_of_shards" : "1",
      "index.provided_name" : "eggplant",
      "index.routing.allocation.include._tier" : "data_hot",
      "index.uuid" : "6ySG78s9RWGystRipoBFCA",
      "index.version.created" : "8000099"
    }
  }
}
```

After the initial setting of this setting, it can be treated like any other index level setting.

This new setting is *not* set on a new index if any of the following is true:

- The index is created with an `index.routing.allocation.include.<anything>` setting
- The index is created with an `index.routing.allocation.exclude.<anything>` setting
- The index is created with an `index.routing.allocation.require.<anything>` setting
- The index is created with a null `index.routing.allocation.include._tier` value
- The index was created from an existing source metadata (shrink, clone, split, etc)

Relates to #60848
2020-08-27 12:51:12 -06:00
James Rodewig
38b438dd86
[DOCS] Change 'data type' to 'field type' (#61633) 2020-08-27 09:44:35 -04:00
Leaf-Lin
82077f2352
[DOCS] Fix typo in JVM options 2020-08-27 08:42:17 -04:00
Lisa Cawley
f05d8c2b98
[DOCS] Per-partition categorization (#61506) 2020-08-26 17:07:46 -07:00
James Rodewig
d077a4f5a1
[DOCS] Document static field cache settings (#61424) 2020-08-26 17:10:08 -04:00
James Rodewig
49350ddae8
[DOCS] Reorg field data types page (#61117) 2020-08-26 14:01:34 -04:00
James Rodewig
904c866060 [DOCS] Fix EQL syntax admon 2020-08-26 13:39:23 -04:00
James Rodewig
f79d70225b [DOCS] Remove dupe EQl fn/pipe TOC 2020-08-26 12:44:51 -04:00
James Rodewig
a405002b39
[DOCS] Update admon for built-in templates (#61549) (#61559) 2020-08-26 08:10:49 -04:00
lcawl
f56ab039ae [DOCS] Fix typo in update anomaly detection job API 2020-08-25 17:12:43 -07:00
James Rodewig
590b7f1cb8 [DOCS] Fix typo in search your data docs 2020-08-25 17:00:45 -04:00
Igor Motov
f107dba741
Add rate aggregation (#61369)
Adds a new rate aggregation that can calculate a document rate for buckets
of a date_histogram.

Closes #60674
2020-08-25 11:32:20 -04:00
James Rodewig
3b94247bc7
[DOCS] Document static HTTP settings (#61429) 2020-08-25 11:10:20 -04:00
James Rodewig
915b353f36
[DOCS] Display point in time API docs (#61527) 2020-08-25 11:03:41 -04:00
Brandon Morelli
1415ff5f32 [DOCS] Fix link to quartz crontrigger tutorial (#61531) 2020-08-25 10:49:24 -04:00
markharwood
7adf766fc4
Search - add case insensitive support for regex queries. (#59441)
Added case insensitive support for regex queries.
Forks a copy of Lucene’s RegexpQuery and RegExp from Lucene master.
This can be removed when 8.7 Lucene is released.

Closes #59235
2020-08-25 15:27:49 +01:00
James Rodewig
35b35148b9
[DOCS] Remove response params for #61428 (#61524) 2020-08-25 09:30:38 -04:00
Costin Leau
997376fbe6
EQL: Replace SearchHit in response with Event (#61428)
The building block of the eql response is currently the SearchHit. This
is a problem since it is tied to an actual search, and thus has scoring,
highlighting, shard information and a lot of other things that are not
relevant for EQL.
This becomes a problem when doing sequence queries since the response is
not generated from one search query and thus there are no SearchHits to
speak of.
Emulating one is not just conceptually incorrect but also problematic
since most of the data is missed or made-up.

As such this PR introduces a simple class, Event, that maps nicely to
the terminology while hiding the ES internals (the use of SearchHit or
GetResult/GetResponse depending on the API used).

Fix #59764
Fix #59779

Co-authored-by: Igor Motov <igor@motovs.org>
2020-08-25 14:27:56 +03:00