Commit graph

548 commits

Author SHA1 Message Date
István Zoltán Szabó
47e0d5dd7d
[7.17][DOCS] Changes URL to use branch variable instead of master. (#93916) 2023-02-20 15:52:43 +01:00
Sylvain Wallez
9116dc745f
[docs] Explain and advertise HLRC compatibility mode (#86900) 2022-05-18 20:29:10 +02:00
Seth Michael Larson
79878662c5
Revert "Enable HLRC compatibility mode by default (#86517)" (#86873)
This reverts commit 0cb5108942.
2022-05-17 18:06:52 -05:00
Sylvain Wallez
0cb5108942
Enable HLRC compatibility mode by default (#86517) 2022-05-12 19:00:54 +02:00
Andrei Stefan
eeb39f8499
EQL: HLRC documentation (#80979) 2021-12-08 13:56:25 +02:00
István Zoltán Szabó
9c0c9a66ea
[DOCS] Adds link that points to Java API Client to HLRC deprecation note. (#78957) (#78963) 2021-10-12 10:16:49 +02:00
István Zoltán Szabó
addf98c466
[7.x][DOCS] Redirects links in Java HLRC book (#78680) 2021-10-05 12:29:10 +02:00
István Zoltán Szabó
24631ac461
[7.x][DOCS] Redirects links in Java REST Client book (#78674) 2021-10-05 11:20:51 +02:00
István Zoltán Szabó
a7bd118649
[DOCS] Adds deprecation notice to the index file of Java HLRC. (#77988) (#77992) 2021-09-20 11:07:35 +02:00
István Zoltán Szabó
669a4fbe5a
[DOCS] Removes deprecated word from HLRC title. (#77851) (#77854) 2021-09-16 16:07:39 +02:00
Lisa Cawley
12b6f3469f
[DOCS] Adds new Java high-level client book (#77747) (#77825)
Co-authored-by: István Zoltán Szabó <istvan.szabo@elastic.co>
2021-09-16 10:08:09 +02:00
Yang Wang
431aca0a46
CreateApiKey response now returns the base64 encoded credentials (#77351) (#77670)
This PR adds a new "encoded" field to the response of CreateApiKey API.
It is the base64 encoded value of "id:api_key". The field is added for
the convenience of the API consumers so that no extra
computation/encoding is needed. Sometimes the extra computation/encoding
can be error prone or not feasible for simple clients.

Resolves: #50235
2021-09-14 01:38:34 -04:00
James Rodewig
14950ce2d8
[DOCS] Fix typo (#76911) (#76934)
Co-authored-by: weensykim <hello@weensy.co>
2021-08-25 10:13:24 -04:00
Yang Wang
c3e82b278a
HLRC support for query API key API (#76520) (#76597)
This PR adds HLRC for the new Query API key API added with #75335 and #76144

Relates: #71023
2021-08-18 10:00:37 +10:00
Yang Wang
90fa1a4aaf
Return file-backed service tokens from all nodes (#75200) (#75995)
The Get service account credentials API now returns file-backed tokens from all
nodes instead of only the local node. For each file-backed service token, we
list names of the nodes where this token is found. The response for node-local
credentials (currently only file-backed tokens) is place inside the
"nodes_credentials.file_tokens" field. There is also a nodes_credentials._nodes
field containing information about the overall request execution (it works the
same way as the _nodes field of Nodes info API, etc.) Detailed response sample
can be found in #74530

This PR also removes the beta label from the API's documentation page.

Resolves: #74530
2021-08-03 16:41:50 +10:00
Nhat Nguyen
c19788fc51 Fix HLRC doc link for point in time API (#73874)
The PIT's docs in HLRC wasn't linked properly.
2021-06-27 22:45:16 -04:00
Lisa Cawley
5bc32d91b2
[DOCS] Add get user privileges API (#73016) (#74438) 2021-06-22 09:15:07 -07:00
Dimitris Athanasiou
ae7d9dfe5b
[ML][HLRC] Adds support for reset job api (#74254)
Adds HLRC support for the newly added reset anomaly
detection job API.
2021-06-18 09:34:49 +03:00
Yang Wang
8ce016d2f3
Service Accounts - HLRC (#72431) (#74231)
This PR adds corresponding components in High Level Rest Client for the new
APIs related to the service accounts feature.
2021-06-17 22:28:12 +10:00
Francisco Fernández Castaño
6ecd80cf05
Add support for index pattern exclusion in CCR AutoFollow (#73765)
This commit adds the ability to specify exclusion patterns in Auto-Follow patterns.
This allows excluding indices that match any of the inclusion patterns and also match
some of the exclusion patterns giving more fine grained control in scenarios where this is important.

Related #67686
Backport of #72935
2021-06-04 15:32:56 +02:00
AndyHunt66
a7b0e2c22c
[DOCS] Remove unneeded phrase (#73752) 2021-06-04 08:49:05 -04:00
David Roberts
8cf1fdcd05
[ML] Make ml_standard tokenizer the default for new categorization jobs (#73605)
Categorization jobs created once the entire cluster is upgraded to
version 7.14 or higher will default to using the new ml_standard
tokenizer rather than the previous default of the ml_classic
tokenizer, and will incorporate the new first_non_blank_line char
filter so that categorization is based purely on the first non-blank
line of each message.

The difference between the ml_classic and ml_standard tokenizers
is that ml_classic splits on slashes and colons, so creates multiple
tokens from URLs and filesystem paths, whereas ml_standard attempts
to keep URLs, email addresses and filesystem paths as single tokens.

It is still possible to config the ml_classic tokenizer if you
prefer: just provide a categorization_analyzer within your
analysis_config and whichever tokenizer you choose (which could be
ml_classic or any other Elasticsearch tokenizer) will be used.

To opt out of using first_non_blank_line as a default char filter,
you must explicitly specify a categorization_analyzer that does not
include it.

If no categorization_analyzer is specified but categorization_filters
are specified then the categorization filters are converted to char
filters applied that are applied after first_non_blank_line.

Backport of #72805
2021-06-02 07:04:16 +01:00
Nhat Nguyen
26d3edd3d6
Add point in time to HLRC (#72167)
Closes #70593
2021-05-12 19:57:11 -04:00
James Rodewig
73e140bdff
[DOCS] Rename mount types for searchable snapshots (#72699) (#72773)
Changes:

* Renames 'full copy searchable snapshot' to 'fully mounted index.'
* Renames 'shared cache searchable snapshot' to 'partially mounted index.'
* Removes some unneeded cache setup instructions for the frozen tier. We added a default cache size with #71844.
2021-05-05 16:46:23 -04:00
Lisa Cawley
58e9bb6ca6
[DOCS] Add runtime_mappings to update datafeed API in HLRC (#71772) (#72110)
Co-authored-by: David Kyle <david.kyle@elastic.co>
2021-04-22 09:52:31 -07:00
Tanguy Leroux
44842ee79e
[7.x] Add Searchable Snapshots Cache Stats API to HLRC (#71920)
In #71701 we added a new REST API that provides statistics 
about the searchable snapshots cache on Frozen Tier.

This commit adds the necessary plumbing to expose this API 
in the High Level REST Client. It also exposes the documentation 
of the Mount Snapshot API that was created in #68949 but not 
made accessible.

Backport of #71858
2021-04-20 14:55:34 +02:00
James Rodewig
71daaba676
[DOCS] Fix create enrich policy API title (#71494) (#71496) 2021-04-08 15:50:54 -04:00
James Rodewig
c757f9e4e7
[DOCS] Fix double spaces (#71082) (#71120) 2021-03-31 11:43:34 -04:00
James Rodewig
f19f44df97
[DOCS] Fix typos in HLRC delete stored script API (#70897) (#70924)
Co-authored-by: Ivan Brusic <ivan@brusic.com>
2021-03-26 12:28:56 -04:00
István Zoltán Szabó
591e93397a
[DOCS] Removes beta labels from DFA related docs. (#70808) (#70902) 2021-03-26 10:25:36 +01:00
Tanguy Leroux
03f736fed6
Add documentation for Clone Snapshot Java API (#70720) (#70819)
This commit adds some missing documentation about 
the Clone Snapshot Java API.

Relates #63863
2021-03-24 16:25:30 +01:00
James Rodewig
302341a526
[DOCS] Replace put with create or update in API names (#70330) (#70421)
Co-authored-by: debadair <debadair@elastic.co>
Co-authored-by: Lisa Cawley <lcawley@elastic.co>
2021-03-15 17:16:13 -04:00
James Rodewig
45d93d9458
[DOCS] Remove added admons (#69452) (#69454) 2021-02-23 10:48:36 -05:00
Lisa Cawley
ebea578071
[DOCS] Add grant API key to Java HLRC (#63783) (#69375)
Co-authored-by: Tim Vernum <tim@adjective.org>
2021-02-22 12:58:33 -08:00
Benjamin Trent
12e2cc8176
[7.x] [ML][HLRC] adds put and delete trained model alias APIs to rest high-level client (#69214) (#69297)
* [ML][HLRC] adds put and delete trained model alias APIs to rest high-level client (#69214)

adds put (and reassign) and delete trained model alias APIs to the rest high-level client.

This adds some serialization objects and request wrappers.
2021-02-22 07:36:34 -05:00
Dimitris Athanasiou
98c69cedce
[7.x][ML] Add runtime mappings to data frame analytics source config … (#69284)
Users can now specify runtime mappings as part of the source config
of a data frame analytics job. Those runtime mappings become part of
the mapping of the destination index. This ensures the fields are
accessible in the destination index even if the relevant data frame
analytics job gets deleted.

Closes #65056

Backport of #69183
2021-02-19 20:17:06 +02:00
Joe Gallo
53bcef0365
Rename max_single_primary_size to max_primary_shard_size (#69239) (#69248) 2021-02-18 22:21:47 -05:00
James Rodewig
7f7dc9dec3
[DOCS] Fix capitalization for Query DSL (#69236) (#69240) 2021-02-18 19:40:36 -05:00
Lisa Cawley
593de53698
Adds retention policy to HLRC put transform API (#68768) (#69146)
Co-authored-by: Hendrik Muhs <hendrik.muhs@elastic.co>
2021-02-17 13:23:26 -08:00
James Rodewig
b55249507e
[DOCS] Fix typos for duplicate words (#69125) (#69132) 2021-02-17 11:16:58 -05:00
Jason Tedor
1b0b5f7f02
Add Searchable Snapshots APIs to HLRC (#68949)
This commit adds the Searchable Snapshots APIs (the mount snapshot API)
to the high-level REST client.
2021-02-12 07:54:35 -05:00
Joe Gallo
5b899dafcd
Add max_single_primary_size as a condition for the rollover index API (#67842) (#68489) 2021-02-04 15:30:10 -05:00
Joe Gallo
4fed1a59da
Support max_single_primary_size in Resize Action and exposed in ILM (#67705) (#68321)
Co-authored-by: bellengao <gbl_long@163.com>
2021-02-01 15:06:50 -05:00
Valeriy Khakhutskyy
4bbd31a268
[7.x][ML] Add early stopping DFA configuration parameter (#68271)
The PR adds early_stopping_enabled optional data frame analysis configuration parameter. The enhancement was already described in elastic/ml-cpp#1676 and so I mark it here as non-issue.

Backport of #68099.
2021-02-01 14:11:06 +01:00
Lisa Cawley
a57db419f4
[DOCS] Remove experimental tag from find structure API (#68153) (#68156) 2021-01-28 13:26:46 -08:00
Dimitris Athanasiou
9e55623c29
[7.x][ML] Expand regression/classification hyperparameters (#67950) (#67983)
Expands data frame analytics regression and classification
analyses with the followin hyperparameters:

- alpha
- downsample_factor
- eta_growth_rate_per_tree
- max_optimization_rounds_per_hyperparameter
- soft_tree_depth_limit
- soft_tree_depth_tolerance

Backport of #67950
2021-01-26 15:48:13 +02:00
Benjamin Trent
a324055310
[7.x] [ML] move find file structure finder in Rest high Level client to its new endpoint and plugin (#67290) (#67510)
* [ML] move find file structure finder in Rest high Level client to its new endpoint and plugin (#67290)

Find file structure finder is now its own plugin, and separated from the ml plugin.

This commit updates the rest high level client to reflect this.

Additionally, this adjusts the internal and client object names from `FileStructure` to the more general `TextStructure`
2021-01-14 09:59:34 -05:00
Yang Wang
f0715f9a4b
Deprecate the id field for the InvalidateApiKey API (#66317) (#66670)
This PR deprecates the usage of the id field in the payload for the
InvalidateApiKey API. The ids field introduced in #63224 is now the recommended
way for performing (bulk) API key invalidation.

This PR also includes the test fix from #66696
2020-12-22 12:56:40 +11:00
David Kyle
5fec2538ca
[ML] Docs and HRLC for datafeed runtime mappings (#65810) (#66007)
For the changes in #65606
2020-12-08 11:04:21 +00:00
Benjamin Trent
39f5f39dc2
[7.x] [ML] add new snapshot upgrader API for upgrading older snapshots (#64665) (#65010)
* [ML] add new snapshot upgrader API for upgrading older snapshots (#64665)

This new API provides a way for users to upgrade their own anomaly job
model snapshots.

To upgrade a snapshot the following is done:
- Open a native process given the job id and the desired snapshot id
- load the snapshot to the process
- write the snapshot again from the native task (now updated via the
  native process)

relates #64154
2020-11-17 11:30:47 -05:00