mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-25 07:37:19 -04:00
[DOCS] Remove testenv
annotations from doc snippet tests (#80023)
Removes `testenv` annotations and related code. These annotations originally let you skip x-pack snippet tests in the docs. However, that's no longer possible. Relates to #79309, #31619
This commit is contained in:
parent
a4ab7f9d03
commit
f56a0f4b66
336 changed files with 1 additions and 357 deletions
|
@ -264,19 +264,6 @@ class RestTestsFromSnippetsTask extends SnippetsTask {
|
||||||
current.println(" - stash_in_path")
|
current.println(" - stash_in_path")
|
||||||
current.println(" - stash_path_replace")
|
current.println(" - stash_path_replace")
|
||||||
current.println(" - warnings")
|
current.println(" - warnings")
|
||||||
if (test.testEnv != null) {
|
|
||||||
switch (test.testEnv) {
|
|
||||||
case 'basic':
|
|
||||||
case 'gold':
|
|
||||||
case 'platinum':
|
|
||||||
case 'enterprise':
|
|
||||||
current.println(" - xpack")
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
throw new InvalidUserDataException('Unsupported testEnv: '
|
|
||||||
+ test.testEnv)
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if (test.skip) {
|
if (test.skip) {
|
||||||
if (test.continued) {
|
if (test.continued) {
|
||||||
|
|
|
@ -73,7 +73,6 @@ class SnippetsTask extends DefaultTask {
|
||||||
Snippet snippet = null
|
Snippet snippet = null
|
||||||
StringBuilder contents = null
|
StringBuilder contents = null
|
||||||
List substitutions = null
|
List substitutions = null
|
||||||
String testEnv = null
|
|
||||||
Closure emit = {
|
Closure emit = {
|
||||||
snippet.contents = contents.toString()
|
snippet.contents = contents.toString()
|
||||||
contents = null
|
contents = null
|
||||||
|
@ -140,14 +139,10 @@ class SnippetsTask extends DefaultTask {
|
||||||
}
|
}
|
||||||
file.eachLine('UTF-8') { String line, int lineNumber ->
|
file.eachLine('UTF-8') { String line, int lineNumber ->
|
||||||
Matcher matcher
|
Matcher matcher
|
||||||
matcher = line =~ /\[testenv="([^"]+)"\]\s*/
|
|
||||||
if (matcher.matches()) {
|
|
||||||
testEnv = matcher.group(1)
|
|
||||||
}
|
|
||||||
if (line ==~ /-{4,}\s*/) { // Four dashes looks like a snippet
|
if (line ==~ /-{4,}\s*/) { // Four dashes looks like a snippet
|
||||||
if (snippet == null) {
|
if (snippet == null) {
|
||||||
Path path = docs.dir.toPath().relativize(file.toPath())
|
Path path = docs.dir.toPath().relativize(file.toPath())
|
||||||
snippet = new Snippet(path: path, start: lineNumber, testEnv: testEnv, name: name)
|
snippet = new Snippet(path: path, start: lineNumber, name: name)
|
||||||
if (lastLanguageLine == lineNumber - 1) {
|
if (lastLanguageLine == lineNumber - 1) {
|
||||||
snippet.language = lastLanguage
|
snippet.language = lastLanguage
|
||||||
}
|
}
|
||||||
|
@ -333,7 +328,6 @@ class SnippetsTask extends DefaultTask {
|
||||||
int start
|
int start
|
||||||
int end = NOT_FINISHED
|
int end = NOT_FINISHED
|
||||||
String contents
|
String contents
|
||||||
String testEnv
|
|
||||||
|
|
||||||
Boolean console = null
|
Boolean console = null
|
||||||
boolean test = false
|
boolean test = false
|
||||||
|
@ -362,9 +356,6 @@ class SnippetsTask extends DefaultTask {
|
||||||
}
|
}
|
||||||
if (test) {
|
if (test) {
|
||||||
result += '// TEST'
|
result += '// TEST'
|
||||||
if (testEnv != null) {
|
|
||||||
result += "[testenv=$testEnv]"
|
|
||||||
}
|
|
||||||
if (catchPart) {
|
if (catchPart) {
|
||||||
result += "[catch: $catchPart]"
|
result += "[catch: $catchPart]"
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[search-aggregations-bucket-multi-terms-aggregation]]
|
[[search-aggregations-bucket-multi-terms-aggregation]]
|
||||||
=== Multi Terms aggregation
|
=== Multi Terms aggregation
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[search-aggregations-metrics-boxplot-aggregation]]
|
[[search-aggregations-metrics-boxplot-aggregation]]
|
||||||
=== Boxplot aggregation
|
=== Boxplot aggregation
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="gold"]
|
|
||||||
[[search-aggregations-metrics-geo-line]]
|
[[search-aggregations-metrics-geo-line]]
|
||||||
=== Geo-Line Aggregation
|
=== Geo-Line Aggregation
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[search-aggregations-metrics-rate-aggregation]]
|
[[search-aggregations-metrics-rate-aggregation]]
|
||||||
=== Rate aggregation
|
=== Rate aggregation
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[search-aggregations-metrics-string-stats-aggregation]]
|
[[search-aggregations-metrics-string-stats-aggregation]]
|
||||||
=== String stats aggregation
|
=== String stats aggregation
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[search-aggregations-metrics-ttest-aggregation]]
|
[[search-aggregations-metrics-ttest-aggregation]]
|
||||||
=== T-test aggregation
|
=== T-test aggregation
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[search-aggregations-metrics-top-metrics]]
|
[[search-aggregations-metrics-top-metrics]]
|
||||||
=== Top metrics aggregation
|
=== Top metrics aggregation
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[search-aggregations-bucket-correlation-aggregation]]
|
[[search-aggregations-bucket-correlation-aggregation]]
|
||||||
=== Bucket correlation aggregation
|
=== Bucket correlation aggregation
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[search-aggregations-bucket-count-ks-test-aggregation]]
|
[[search-aggregations-bucket-count-ks-test-aggregation]]
|
||||||
=== Bucket count K-S test correlation aggregation
|
=== Bucket count K-S test correlation aggregation
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[search-aggregations-pipeline-cumulative-cardinality-aggregation]]
|
[[search-aggregations-pipeline-cumulative-cardinality-aggregation]]
|
||||||
=== Cumulative cardinality aggregation
|
=== Cumulative cardinality aggregation
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[search-aggregations-pipeline-inference-bucket-aggregation]]
|
[[search-aggregations-pipeline-inference-bucket-aggregation]]
|
||||||
=== {infer-cap} bucket aggregation
|
=== {infer-cap} bucket aggregation
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[search-aggregations-pipeline-moving-percentiles-aggregation]]
|
[[search-aggregations-pipeline-moving-percentiles-aggregation]]
|
||||||
=== Moving percentiles aggregation
|
=== Moving percentiles aggregation
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[search-aggregations-pipeline-normalize-aggregation]]
|
[[search-aggregations-pipeline-normalize-aggregation]]
|
||||||
=== Normalize aggregation
|
=== Normalize aggregation
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="enterprise"]
|
|
||||||
[[autoscaling-apis]]
|
[[autoscaling-apis]]
|
||||||
== Autoscaling APIs
|
== Autoscaling APIs
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="enterprise"]
|
|
||||||
[[autoscaling-delete-autoscaling-policy]]
|
[[autoscaling-delete-autoscaling-policy]]
|
||||||
=== Delete autoscaling policy API
|
=== Delete autoscaling policy API
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="enterprise"]
|
|
||||||
[[autoscaling-get-autoscaling-capacity]]
|
[[autoscaling-get-autoscaling-capacity]]
|
||||||
=== Get autoscaling capacity API
|
=== Get autoscaling capacity API
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="enterprise"]
|
|
||||||
[[autoscaling-get-autoscaling-policy]]
|
[[autoscaling-get-autoscaling-policy]]
|
||||||
=== Get autoscaling policy API
|
=== Get autoscaling policy API
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="enterprise"]
|
|
||||||
[[autoscaling-put-autoscaling-policy]]
|
[[autoscaling-put-autoscaling-policy]]
|
||||||
=== Create or update autoscaling policy API
|
=== Create or update autoscaling policy API
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="enterprise"]
|
|
||||||
[[autoscaling-deciders]]
|
[[autoscaling-deciders]]
|
||||||
== Autoscaling deciders
|
== Autoscaling deciders
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="enterprise"]
|
|
||||||
[[autoscaling-fixed-decider]]
|
[[autoscaling-fixed-decider]]
|
||||||
=== Fixed decider
|
=== Fixed decider
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="enterprise"]
|
|
||||||
[[autoscaling-machine-learning-decider]]
|
[[autoscaling-machine-learning-decider]]
|
||||||
=== Machine learning decider
|
=== Machine learning decider
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="enterprise"]
|
|
||||||
[[autoscaling-proactive-storage-decider]]
|
[[autoscaling-proactive-storage-decider]]
|
||||||
=== Proactive storage decider
|
=== Proactive storage decider
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="enterprise"]
|
|
||||||
[[xpack-autoscaling]]
|
[[xpack-autoscaling]]
|
||||||
= Autoscaling
|
= Autoscaling
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="platinum"]
|
|
||||||
[[cat-anomaly-detectors]]
|
[[cat-anomaly-detectors]]
|
||||||
=== cat anomaly detectors API
|
=== cat anomaly detectors API
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="platinum"]
|
|
||||||
[[cat-datafeeds]]
|
[[cat-datafeeds]]
|
||||||
=== cat {dfeeds} API
|
=== cat {dfeeds} API
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="platinum"]
|
|
||||||
[[cat-dfanalytics]]
|
[[cat-dfanalytics]]
|
||||||
=== cat {dfanalytics} API
|
=== cat {dfanalytics} API
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="platinum"]
|
|
||||||
[[cat-trained-model]]
|
[[cat-trained-model]]
|
||||||
=== cat trained model API
|
=== cat trained model API
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="platinum"]
|
|
||||||
[[ccr-delete-auto-follow-pattern]]
|
[[ccr-delete-auto-follow-pattern]]
|
||||||
=== Delete auto-follow pattern API
|
=== Delete auto-follow pattern API
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="platinum"]
|
|
||||||
[[ccr-get-auto-follow-pattern]]
|
[[ccr-get-auto-follow-pattern]]
|
||||||
=== Get auto-follow pattern API
|
=== Get auto-follow pattern API
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="platinum"]
|
|
||||||
[[ccr-pause-auto-follow-pattern]]
|
[[ccr-pause-auto-follow-pattern]]
|
||||||
=== Pause auto-follow pattern API
|
=== Pause auto-follow pattern API
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="platinum"]
|
|
||||||
[[ccr-put-auto-follow-pattern]]
|
[[ccr-put-auto-follow-pattern]]
|
||||||
=== Create auto-follow pattern API
|
=== Create auto-follow pattern API
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="platinum"]
|
|
||||||
[[ccr-resume-auto-follow-pattern]]
|
[[ccr-resume-auto-follow-pattern]]
|
||||||
=== Resume auto-follow pattern API
|
=== Resume auto-follow pattern API
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="platinum"]
|
|
||||||
[[ccr-apis]]
|
[[ccr-apis]]
|
||||||
== {ccr-cap} APIs
|
== {ccr-cap} APIs
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
[testenv="platinum"]
|
|
||||||
`settings`::
|
`settings`::
|
||||||
(object) Settings to override from the leader index. Note that certain
|
(object) Settings to override from the leader index. Note that certain
|
||||||
settings can not be overrode (e.g., `index.number_of_shards`).
|
settings can not be overrode (e.g., `index.number_of_shards`).
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="platinum"]
|
|
||||||
[[ccr-get-follow-info]]
|
[[ccr-get-follow-info]]
|
||||||
=== Get follower info API
|
=== Get follower info API
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="platinum"]
|
|
||||||
[[ccr-get-follow-stats]]
|
[[ccr-get-follow-stats]]
|
||||||
=== Get follower stats API
|
=== Get follower stats API
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="platinum"]
|
|
||||||
[[ccr-post-forget-follower]]
|
[[ccr-post-forget-follower]]
|
||||||
=== Forget follower API
|
=== Forget follower API
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="platinum"]
|
|
||||||
[[ccr-post-pause-follow]]
|
[[ccr-post-pause-follow]]
|
||||||
=== Pause follower API
|
=== Pause follower API
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="platinum"]
|
|
||||||
[[ccr-post-resume-follow]]
|
[[ccr-post-resume-follow]]
|
||||||
=== Resume follower API
|
=== Resume follower API
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="platinum"]
|
|
||||||
[[ccr-post-unfollow]]
|
[[ccr-post-unfollow]]
|
||||||
=== Unfollow API
|
=== Unfollow API
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="platinum"]
|
|
||||||
[[ccr-put-follow]]
|
[[ccr-put-follow]]
|
||||||
=== Create follower API
|
=== Create follower API
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="platinum"]
|
|
||||||
[[ccr-get-stats]]
|
[[ccr-get-stats]]
|
||||||
=== Get {ccr} stats API
|
=== Get {ccr} stats API
|
||||||
[subs="attributes"]
|
[subs="attributes"]
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="platinum"]
|
|
||||||
[[ccr-auto-follow]]
|
[[ccr-auto-follow]]
|
||||||
=== Manage auto-follow patterns
|
=== Manage auto-follow patterns
|
||||||
To replicate time series indices, you configure an auto-follow pattern so that
|
To replicate time series indices, you configure an auto-follow pattern so that
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="platinum"]
|
|
||||||
[[ccr-getting-started-tutorial]]
|
[[ccr-getting-started-tutorial]]
|
||||||
=== Tutorial: Set up {ccr}
|
=== Tutorial: Set up {ccr}
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="platinum"]
|
|
||||||
[[xpack-ccr]]
|
[[xpack-ccr]]
|
||||||
== {ccr-cap}
|
== {ccr-cap}
|
||||||
With {ccr}, you can replicate indices across clusters to:
|
With {ccr}, you can replicate indices across clusters to:
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="platinum"]
|
|
||||||
|
|
||||||
[[ccr-managing]]
|
[[ccr-managing]]
|
||||||
=== Manage {ccr}
|
=== Manage {ccr}
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="platinum"]
|
|
||||||
[[ccr-upgrading]]
|
[[ccr-upgrading]]
|
||||||
=== Upgrading clusters using {ccr}
|
=== Upgrading clusters using {ccr}
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
|
|
||||||
[[delete-async-eql-search-api]]
|
[[delete-async-eql-search-api]]
|
||||||
=== Delete async EQL search API
|
=== Delete async EQL search API
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[eql-ex-threat-detection]]
|
[[eql-ex-threat-detection]]
|
||||||
== Example: Detect threats with EQL
|
== Example: Detect threats with EQL
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
|
|
||||||
[[eql-search-api]]
|
[[eql-search-api]]
|
||||||
=== EQL search API
|
=== EQL search API
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[eql]]
|
[[eql]]
|
||||||
= EQL search
|
= EQL search
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[eql-function-ref]]
|
[[eql-function-ref]]
|
||||||
== EQL function reference
|
== EQL function reference
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
|
|
||||||
[[get-async-eql-search-api]]
|
[[get-async-eql-search-api]]
|
||||||
=== Get async EQL search API
|
=== Get async EQL search API
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
|
|
||||||
[[get-async-eql-status-api]]
|
[[get-async-eql-status-api]]
|
||||||
=== Get async EQL status API
|
=== Get async EQL status API
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[eql-pipe-ref]]
|
[[eql-pipe-ref]]
|
||||||
== EQL pipe reference
|
== EQL pipe reference
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[eql-syntax]]
|
[[eql-syntax]]
|
||||||
== EQL syntax reference
|
== EQL syntax reference
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="platinum"]
|
|
||||||
[[graph-explore-api]]
|
[[graph-explore-api]]
|
||||||
== Graph explore API
|
== Graph explore API
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[security-backup]]
|
[[security-backup]]
|
||||||
=== Back up a cluster's security configuration
|
=== Back up a cluster's security configuration
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[ilm-delete-lifecycle]]
|
[[ilm-delete-lifecycle]]
|
||||||
=== Delete lifecycle policy API
|
=== Delete lifecycle policy API
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[ilm-explain-lifecycle]]
|
[[ilm-explain-lifecycle]]
|
||||||
=== Explain lifecycle API
|
=== Explain lifecycle API
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[ilm-get-lifecycle]]
|
[[ilm-get-lifecycle]]
|
||||||
=== Get lifecycle policy API
|
=== Get lifecycle policy API
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[ilm-get-status]]
|
[[ilm-get-status]]
|
||||||
=== Get {ilm} status API
|
=== Get {ilm} status API
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[ilm-migrate-to-data-tiers]]
|
[[ilm-migrate-to-data-tiers]]
|
||||||
=== Migrate to data tiers routing API
|
=== Migrate to data tiers routing API
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[ilm-move-to-step]]
|
[[ilm-move-to-step]]
|
||||||
=== Move to lifecycle step API
|
=== Move to lifecycle step API
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[ilm-put-lifecycle]]
|
[[ilm-put-lifecycle]]
|
||||||
=== Create or update lifecycle policy API
|
=== Create or update lifecycle policy API
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[ilm-remove-policy]]
|
[[ilm-remove-policy]]
|
||||||
=== Remove policy from index API
|
=== Remove policy from index API
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[ilm-retry-policy]]
|
[[ilm-retry-policy]]
|
||||||
=== Retry policy execution API
|
=== Retry policy execution API
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[ilm-start]]
|
[[ilm-start]]
|
||||||
=== Start {ilm} API
|
=== Start {ilm} API
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[ilm-stop]]
|
[[ilm-stop]]
|
||||||
=== Stop {ilm} API
|
=== Stop {ilm} API
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[index-lifecycle-error-handling]]
|
[[index-lifecycle-error-handling]]
|
||||||
== Troubleshooting {ilm} errors
|
== Troubleshooting {ilm} errors
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[ilm-actions]]
|
[[ilm-actions]]
|
||||||
== Index lifecycle actions
|
== Index lifecycle actions
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[index-lifecycle-and-snapshots]]
|
[[index-lifecycle-and-snapshots]]
|
||||||
== Restore a managed data stream or index
|
== Restore a managed data stream or index
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[ilm-concepts]]
|
[[ilm-concepts]]
|
||||||
== {ilm-init} concepts
|
== {ilm-init} concepts
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[ilm-index-lifecycle]]
|
[[ilm-index-lifecycle]]
|
||||||
=== Index lifecycle
|
=== Index lifecycle
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[overview-index-lifecycle-management]]
|
[[overview-index-lifecycle-management]]
|
||||||
== {ilm-init} overview
|
== {ilm-init} overview
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[getting-started-index-lifecycle-management]]
|
[[getting-started-index-lifecycle-management]]
|
||||||
== Tutorial: Automate rollover with {ilm-init}
|
== Tutorial: Automate rollover with {ilm-init}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[ilm-with-existing-indices]]
|
[[ilm-with-existing-indices]]
|
||||||
== Manage existing indices
|
== Manage existing indices
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[[index-rollover]]
|
[[index-rollover]]
|
||||||
[testenv="basic"]
|
|
||||||
=== Rollover
|
=== Rollover
|
||||||
|
|
||||||
When indexing time series data like logs or metrics, you can't write to a single index indefinitely.
|
When indexing time series data like logs or metrics, you can't write to a single index indefinitely.
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[index-lifecycle-management]]
|
[[index-lifecycle-management]]
|
||||||
= {ilm-init}: Manage the index lifecycle
|
= {ilm-init}: Manage the index lifecycle
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[set-up-lifecycle-policy]]
|
[[set-up-lifecycle-policy]]
|
||||||
== Configure a lifecycle policy [[ilm-policy-definition]]
|
== Configure a lifecycle policy [[ilm-policy-definition]]
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[start-stop-ilm]]
|
[[start-stop-ilm]]
|
||||||
== Start and stop {ilm}
|
== Start and stop {ilm}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[update-lifecycle-policy]]
|
[[update-lifecycle-policy]]
|
||||||
=== Lifecycle policy updates
|
=== Lifecycle policy updates
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[indices-reload-analyzers]]
|
[[indices-reload-analyzers]]
|
||||||
== Reload search analyzers API
|
== Reload search analyzers API
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[unfreeze-index-api]]
|
[[unfreeze-index-api]]
|
||||||
=== Unfreeze index API
|
=== Unfreeze index API
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[delete-enrich-policy-api]]
|
[[delete-enrich-policy-api]]
|
||||||
=== Delete enrich policy API
|
=== Delete enrich policy API
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[enrich-stats-api]]
|
[[enrich-stats-api]]
|
||||||
=== Enrich stats API
|
=== Enrich stats API
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[execute-enrich-policy-api]]
|
[[execute-enrich-policy-api]]
|
||||||
=== Execute enrich policy API
|
=== Execute enrich policy API
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[get-enrich-policy-api]]
|
[[get-enrich-policy-api]]
|
||||||
=== Get enrich policy API
|
=== Get enrich policy API
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[put-enrich-policy-api]]
|
[[put-enrich-policy-api]]
|
||||||
=== Create enrich policy API
|
=== Create enrich policy API
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
[testenv="basic"]
|
|
||||||
[[ingest-enriching-data]]
|
[[ingest-enriching-data]]
|
||||||
== Enrich your data
|
== Enrich your data
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[geo-match-enrich-policy-type]]
|
[[geo-match-enrich-policy-type]]
|
||||||
=== Example: Enrich your data based on geolocation
|
=== Example: Enrich your data based on geolocation
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[match-enrich-policy-type]]
|
[[match-enrich-policy-type]]
|
||||||
=== Example: Enrich your data based on exact values
|
=== Example: Enrich your data based on exact values
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[ingest-circle-processor]]
|
[[ingest-circle-processor]]
|
||||||
=== Circle processor
|
=== Circle processor
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[community-id-processor]]
|
[[community-id-processor]]
|
||||||
=== Community ID processor
|
=== Community ID processor
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[enrich-processor]]
|
[[enrich-processor]]
|
||||||
=== Enrich processor
|
=== Enrich processor
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[fingerprint-processor]]
|
[[fingerprint-processor]]
|
||||||
=== Fingerprint processor
|
=== Fingerprint processor
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[inference-processor]]
|
[[inference-processor]]
|
||||||
=== {infer-cap} processor
|
=== {infer-cap} processor
|
||||||
++++
|
++++
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
[role="xpack"]
|
[role="xpack"]
|
||||||
[testenv="basic"]
|
|
||||||
[[network-direction-processor]]
|
[[network-direction-processor]]
|
||||||
=== Network direction processor
|
=== Network direction processor
|
||||||
++++
|
++++
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue