diff --git a/.buildkite/pipelines/es_snapshots/build.yml b/.buildkite/pipelines/es_snapshots/build.yml new file mode 100644 index 0000000000000..2bc555de8bf5d --- /dev/null +++ b/.buildkite/pipelines/es_snapshots/build.yml @@ -0,0 +1,5 @@ +steps: + - command: .buildkite/scripts/steps/es_snapshots/build.sh + label: Build ES Snapshot + agents: + queue: c2-8 diff --git a/.buildkite/pipelines/es_snapshots/promote.yml b/.buildkite/pipelines/es_snapshots/promote.yml new file mode 100644 index 0000000000000..5a003321246a1 --- /dev/null +++ b/.buildkite/pipelines/es_snapshots/promote.yml @@ -0,0 +1,12 @@ +steps: + - block: 'Promote' + prompt: "Enter the details for the snapshot you'd like to promote" + if: "build.env('ES_SNAPSHOT_MANIFEST') == null" + # Later, this could be a dropdown dynamically filled with recent builds + fields: + - text: 'ES_SNAPSHOT_MANIFEST' + key: 'ES_SNAPSHOT_MANIFEST' + hint: 'URL pointing to the manifest to promote' + required: true + - label: Promote Snapshot + command: .buildkite/scripts/steps/es_snapshots/promote.sh diff --git a/.buildkite/pipelines/es_snapshots/verify.yml b/.buildkite/pipelines/es_snapshots/verify.yml new file mode 100755 index 0000000000000..f67de4819c23a --- /dev/null +++ b/.buildkite/pipelines/es_snapshots/verify.yml @@ -0,0 +1,102 @@ +env: + IGNORE_SHIP_CI_STATS_ERROR: 'true' +steps: + - block: 'Verify' + prompt: "Enter the details for the snapshot you'd like to verify" + if: "build.env('ES_SNAPSHOT_MANIFEST') == null" + # Later, this could be a dropdown dynamically filled with recent builds + fields: + - text: 'ES_SNAPSHOT_MANIFEST' + key: 'ES_SNAPSHOT_MANIFEST' + hint: 'URL pointing to the manifest to promote' + required: true + + - command: .buildkite/scripts/lifecycle/pre_build.sh + label: Pre-Build + + - wait + + - command: .buildkite/scripts/steps/build_kibana.sh + label: Build Kibana Distribution and Plugins + agents: + queue: c2-8 + key: build + if: "build.env('KIBANA_BUILD_ID') == null || build.env('KIBANA_BUILD_ID') == ''" + + - command: .buildkite/scripts/steps/functional/xpack_cigroup.sh + label: 'Default CI Group' + parallelism: 13 + agents: + queue: ci-group-6 + artifact_paths: target/junit/**/*.xml + depends_on: build + key: default-cigroup + retry: + automatic: + - exit_status: '*' + limit: 1 + + - command: CI_GROUP=Docker .buildkite/scripts/steps/functional/xpack_cigroup.sh + label: 'Docker CI Group' + agents: + queue: ci-group-6 + artifact_paths: target/junit/**/*.xml + depends_on: build + key: default-cigroup-docker + retry: + automatic: + - exit_status: '*' + limit: 1 + + - command: .buildkite/scripts/steps/functional/oss_cigroup.sh + label: 'OSS CI Group' + parallelism: 12 + agents: + queue: ci-group-4d + artifact_paths: target/junit/**/*.xml + depends_on: build + key: oss-cigroup + retry: + automatic: + - exit_status: '*' + limit: 1 + + - command: .buildkite/scripts/steps/test/jest_integration.sh + label: 'Jest Integration Tests' + agents: + queue: jest + artifact_paths: target/junit/**/*.xml + key: jest-integration + retry: + automatic: + - exit_status: '*' + limit: 1 + + - command: .buildkite/scripts/steps/test/api_integration.sh + label: 'API Integration Tests' + agents: + queue: jest + artifact_paths: target/junit/**/*.xml + key: api-integration + + - command: .buildkite/scripts/steps/es_snapshots/trigger_promote.sh + label: Trigger promotion + depends_on: + - default-cigroup + - default-cigroup-docker + - oss-cigroup + - jest-integration + - api-integration + + - wait: ~ + continue_on_failure: true + + - plugins: + - junit-annotate#v1.9.0: + artifacts: target/junit/**/*.xml + + - wait: ~ + continue_on_failure: true + + - command: .buildkite/scripts/lifecycle/post_build.sh + label: Post-Build diff --git a/.buildkite/scripts/build_kibana_plugins.sh b/.buildkite/scripts/build_kibana_plugins.sh old mode 100644 new mode 100755 diff --git a/.buildkite/scripts/download_build_artifacts.sh b/.buildkite/scripts/download_build_artifacts.sh index 6a6b7246753f6..1e7525fff25ea 100755 --- a/.buildkite/scripts/download_build_artifacts.sh +++ b/.buildkite/scripts/download_build_artifacts.sh @@ -7,8 +7,8 @@ if [[ ! -d "$KIBANA_BUILD_LOCATION/bin" ]]; then cd "$WORKSPACE" - buildkite-agent artifact download kibana-default.tar.gz . - buildkite-agent artifact download kibana-default-plugins.tar.gz . + buildkite-agent artifact download kibana-default.tar.gz . --build "${KIBANA_BUILD_ID:-$BUILDKITE_BUILD_ID}" + buildkite-agent artifact download kibana-default-plugins.tar.gz . --build "${KIBANA_BUILD_ID:-$BUILDKITE_BUILD_ID}" mkdir -p "$KIBANA_BUILD_LOCATION" tar -xzf kibana-default.tar.gz -C "$KIBANA_BUILD_LOCATION" --strip=1 diff --git a/.buildkite/scripts/lifecycle/pre_command.sh b/.buildkite/scripts/lifecycle/pre_command.sh index b0113e6b16964..759f1e7b4ff9e 100755 --- a/.buildkite/scripts/lifecycle/pre_command.sh +++ b/.buildkite/scripts/lifecycle/pre_command.sh @@ -72,3 +72,8 @@ if [[ "${SKIP_CI_SETUP:-}" != "true" ]]; then source .buildkite/scripts/common/setup_bazel.sh fi fi + +PIPELINE_PRE_COMMAND=${PIPELINE_PRE_COMMAND:-".buildkite/scripts/lifecycle/pipelines/$BUILDKITE_PIPELINE_SLUG/pre_command.sh"} +if [[ -f "$PIPELINE_PRE_COMMAND" ]]; then + source "$PIPELINE_PRE_COMMAND" +fi diff --git a/.buildkite/scripts/steps/build_kibana.sh b/.buildkite/scripts/steps/build_kibana.sh new file mode 100755 index 0000000000000..5896dcac5d444 --- /dev/null +++ b/.buildkite/scripts/steps/build_kibana.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +set -euo pipefail + +.buildkite/scripts/bootstrap.sh +.buildkite/scripts/build_kibana.sh +.buildkite/scripts/build_kibana_plugins.sh +.buildkite/scripts/post_build_kibana.sh diff --git a/.buildkite/scripts/steps/es_snapshots/bucket_config.js b/.buildkite/scripts/steps/es_snapshots/bucket_config.js new file mode 100644 index 0000000000000..a18d1182c4a89 --- /dev/null +++ b/.buildkite/scripts/steps/es_snapshots/bucket_config.js @@ -0,0 +1,4 @@ +module.exports = { + BASE_BUCKET_DAILY: 'kibana-ci-es-snapshots-daily', + BASE_BUCKET_PERMANENT: 'kibana-ci-es-snapshots-permanent', +}; diff --git a/.buildkite/scripts/steps/es_snapshots/build.sh b/.buildkite/scripts/steps/es_snapshots/build.sh new file mode 100755 index 0000000000000..91b5004594a6d --- /dev/null +++ b/.buildkite/scripts/steps/es_snapshots/build.sh @@ -0,0 +1,101 @@ +#!/bin/bash + +set -euo pipefail + +source .buildkite/scripts/common/util.sh + +echo "--- Cloning Elasticsearch and preparing workspace" + +cd .. +destination="$(pwd)/es-build" +rm -rf "$destination" +mkdir -p "$destination" + +mkdir -p elasticsearch && cd elasticsearch + +export ELASTICSEARCH_BRANCH="${ELASTICSEARCH_BRANCH:-$BUILDKITE_BRANCH}" + +if [[ ! -d .git ]]; then + git init + git remote add origin https://github.com/elastic/elasticsearch.git +fi +git fetch origin --depth 1 "$ELASTICSEARCH_BRANCH" +git reset --hard FETCH_HEAD + +ELASTICSEARCH_GIT_COMMIT="$(git rev-parse HEAD)" +export ELASTICSEARCH_GIT_COMMIT + +ELASTICSEARCH_GIT_COMMIT_SHORT="$(git rev-parse --short HEAD)" +export ELASTICSEARCH_GIT_COMMIT_SHORT + +# These turn off automation in the Elasticsearch repo +export BUILD_NUMBER="" +export JENKINS_URL="" +export BUILD_URL="" +export JOB_NAME="" +export NODE_NAME="" +export DOCKER_BUILDKIT="" + +# Reads the ES_BUILD_JAVA env var out of .ci/java-versions.properties and exports it +export "$(grep '^ES_BUILD_JAVA' .ci/java-versions.properties | xargs)" + +export PATH="$HOME/.java/$ES_BUILD_JAVA/bin:$PATH" +export JAVA_HOME="$HOME/.java/$ES_BUILD_JAVA" + +# The Elasticsearch Dockerfile needs to be built with root privileges, but Docker on our servers is running using a non-root user +# So, let's use docker-in-docker to temporarily create a privileged docker daemon to run `docker build` on +# We have to do this, because there's no `docker build --privileged` or similar + +echo "--- Setting up Docker-in-Docker for Elasticsearch" + +docker rm -f dind || true # If there's an old daemon running that somehow didn't get cleaned up, lets remove it first +CERTS_DIR="$HOME/dind-certs" +rm -rf "$CERTS_DIR" +docker run -d --rm --privileged --name dind --userns host -p 2377:2376 -e DOCKER_TLS_CERTDIR=/certs -v "$CERTS_DIR":/certs docker:dind + +trap "docker rm -f dind" EXIT + +export DOCKER_TLS_VERIFY=true +export DOCKER_CERT_PATH="$CERTS_DIR/client" +export DOCKER_TLS_CERTDIR="$CERTS_DIR" +export DOCKER_HOST=localhost:2377 + +echo "--- Build Elasticsearch" +./gradlew -Dbuild.docker=true assemble --parallel + +echo "--- Create distribution archives" +find distribution -type f \( -name 'elasticsearch-*-*-*-*.tar.gz' -o -name 'elasticsearch-*-*-*-*.zip' \) -not -path '*no-jdk*' -not -path '*build-context*' -exec cp {} "$destination" \; + +ls -alh "$destination" + +echo "--- Create docker image archives" +docker images "docker.elastic.co/elasticsearch/elasticsearch" +docker images "docker.elastic.co/elasticsearch/elasticsearch" --format "{{.Tag}}" | xargs -n1 echo 'docker save docker.elastic.co/elasticsearch/elasticsearch:${0} | gzip > ../es-build/elasticsearch-${0}-docker-image.tar.gz' +docker images "docker.elastic.co/elasticsearch/elasticsearch" --format "{{.Tag}}" | xargs -n1 bash -c 'docker save docker.elastic.co/elasticsearch/elasticsearch:${0} | gzip > ../es-build/elasticsearch-${0}-docker-image.tar.gz' + +echo "--- Create checksums for snapshot files" +cd "$destination" +find ./* -exec bash -c "shasum -a 512 {} > {}.sha512" \; + +cd "$BUILDKITE_BUILD_CHECKOUT_PATH" +node "$(dirname "${0}")/create_manifest.js" "$destination" + +ES_SNAPSHOT_MANIFEST="$(buildkite-agent meta-data get ES_SNAPSHOT_MANIFEST)" + +cat << EOF | buildkite-agent annotate --style "info" + - \`ELASTICSEARCH_BRANCH\` - \`$ELASTICSEARCH_BRANCH\` + - \`ELASTICSEARCH_GIT_COMMIT\` - \`$ELASTICSEARCH_GIT_COMMIT\` + - \`ES_SNAPSHOT_MANIFEST\` - \`$ES_SNAPSHOT_MANIFEST\` + - \`ES_SNAPSHOT_VERSION\` - \`$(buildkite-agent meta-data get ES_SNAPSHOT_VERSION)\` + - \`ES_SNAPSHOT_ID\` - \`$(buildkite-agent meta-data get ES_SNAPSHOT_ID)\` +EOF + +cat << EOF | buildkite-agent pipeline upload +steps: + - trigger: 'kibana-elasticsearch-snapshot-verify' + async: true + build: + env: + ES_SNAPSHOT_MANIFEST: '$ES_SNAPSHOT_MANIFEST' + branch: '$BUILDKITE_BRANCH' +EOF diff --git a/.buildkite/scripts/steps/es_snapshots/create_manifest.js b/.buildkite/scripts/steps/es_snapshots/create_manifest.js new file mode 100644 index 0000000000000..3173737e984e8 --- /dev/null +++ b/.buildkite/scripts/steps/es_snapshots/create_manifest.js @@ -0,0 +1,90 @@ +const fs = require('fs'); +const { execSync } = require('child_process'); +const { BASE_BUCKET_DAILY } = require('./bucket_config.js'); + +(async () => { + console.log('--- Create ES Snapshot Manifest'); + + const destination = process.argv[2] || __dirname + '/test'; + + const ES_BRANCH = process.env.ELASTICSEARCH_BRANCH; + const GIT_COMMIT = process.env.ELASTICSEARCH_GIT_COMMIT; + const GIT_COMMIT_SHORT = process.env.ELASTICSEARCH_GIT_COMMIT_SHORT; + + let VERSION = ''; + let SNAPSHOT_ID = ''; + let DESTINATION = ''; + + const now = new Date(); + + // format: yyyyMMdd-HHmmss + const date = [ + now.getFullYear(), + (now.getMonth() + 1).toString().padStart(2, '0'), + now.getDate().toString().padStart(2, '0'), + '-', + now.getHours().toString().padStart(2, '0'), + now.getMinutes().toString().padStart(2, '0'), + now.getSeconds().toString().padStart(2, '0'), + ].join(''); + + try { + const files = fs.readdirSync(destination); + const manifestEntries = files + .filter((filename) => !filename.match(/.sha512$/)) + .filter((filename) => !filename.match(/.json$/)) + .map((filename) => { + const parts = filename.replace('elasticsearch-oss', 'oss').split('-'); + + VERSION = VERSION || parts[1]; + SNAPSHOT_ID = SNAPSHOT_ID || `${date}_${GIT_COMMIT_SHORT}`; + DESTINATION = DESTINATION || `${VERSION}/archives/${SNAPSHOT_ID}`; + + return { + filename: filename, + checksum: filename + '.sha512', + url: `https://storage.googleapis.com/${BASE_BUCKET_DAILY}/${DESTINATION}/${filename}`, + version: parts[1], + platform: parts[3], + architecture: parts[4].split('.')[0], + license: parts[0] == 'oss' ? 'oss' : 'default', + }; + }); + + const manifest = { + id: SNAPSHOT_ID, + bucket: `${BASE_BUCKET_DAILY}/${DESTINATION}`.toString(), + branch: ES_BRANCH, + sha: GIT_COMMIT, + sha_short: GIT_COMMIT_SHORT, + version: VERSION, + generated: now.toISOString(), + archives: manifestEntries, + }; + + const manifestJSON = JSON.stringify(manifest, null, 2); + fs.writeFileSync(`${destination}/manifest.json`, manifestJSON); + + console.log('Manifest:', manifestJSON); + + execSync( + ` + set -euo pipefail + + echo '--- Upload files to GCS' + cd "${destination}" + gsutil -m cp -r *.* gs://${BASE_BUCKET_DAILY}/${DESTINATION} + cp manifest.json manifest-latest.json + gsutil cp manifest-latest.json gs://${BASE_BUCKET_DAILY}/${VERSION} + + buildkite-agent meta-data set ES_SNAPSHOT_MANIFEST 'https://storage.googleapis.com/${BASE_BUCKET_DAILY}/${DESTINATION}/manifest.json' + buildkite-agent meta-data set ES_SNAPSHOT_VERSION '${VERSION}' + buildkite-agent meta-data set ES_SNAPSHOT_ID '${SNAPSHOT_ID}' + `, + { shell: '/bin/bash' } + ); + } catch (ex) { + console.error(ex); + process.exit(1); + } +})(); diff --git a/.buildkite/scripts/steps/es_snapshots/promote.sh b/.buildkite/scripts/steps/es_snapshots/promote.sh new file mode 100755 index 0000000000000..20f79d1a4e2e4 --- /dev/null +++ b/.buildkite/scripts/steps/es_snapshots/promote.sh @@ -0,0 +1,13 @@ +#!/bin/bash + +set -euo pipefail + +export ES_SNAPSHOT_MANIFEST="${ES_SNAPSHOT_MANIFEST:-"$(buildkite-agent meta-data get ES_SNAPSHOT_MANIFEST)"}" + +cat << EOF | buildkite-agent annotate --style "info" + This promotion is for the following snapshot manifest: + + $ES_SNAPSHOT_MANIFEST +EOF + +node "$(dirname "${0}")/promote_manifest.js" "$ES_SNAPSHOT_MANIFEST" diff --git a/.buildkite/scripts/steps/es_snapshots/promote_manifest.js b/.buildkite/scripts/steps/es_snapshots/promote_manifest.js new file mode 100644 index 0000000000000..ce14935dd1b84 --- /dev/null +++ b/.buildkite/scripts/steps/es_snapshots/promote_manifest.js @@ -0,0 +1,46 @@ +const fs = require('fs'); +const { execSync } = require('child_process'); +const { BASE_BUCKET_DAILY, BASE_BUCKET_PERMANENT } = require('./bucket_config.js'); + +(async () => { + try { + const MANIFEST_URL = process.argv[2]; + + if (!MANIFEST_URL) { + throw Error('Manifest URL missing'); + } + + const tempDir = fs.mkdtempSync('snapshot-promotion'); + process.chdir(tempDir); + + execSync(`curl '${MANIFEST_URL}' > manifest.json`); + + const manifestJson = fs.readFileSync('manifest.json').toString(); + const manifest = JSON.parse(manifestJson); + const { id, bucket, version } = manifest; + + const manifestPermanentJson = manifestJson + .split(BASE_BUCKET_DAILY) + .join(BASE_BUCKET_PERMANENT) + .split(`${version}/archives/${id}`) + .join(version); // e.g. replaceAll + + fs.writeFileSync('manifest-permanent.json', manifestPermanentJson); + + execSync( + ` + set -euo pipefail + cp manifest.json manifest-latest-verified.json + gsutil cp manifest-latest-verified.json gs://${BASE_BUCKET_DAILY}/${version}/ + rm manifest.json + cp manifest-permanent.json manifest.json + gsutil -m cp -r gs://${bucket}/* gs://${BASE_BUCKET_PERMANENT}/${version}/ + gsutil cp manifest.json gs://${BASE_BUCKET_PERMANENT}/${version}/ + `, + { shell: '/bin/bash' } + ); + } catch (ex) { + console.error(ex); + process.exit(1); + } +})(); diff --git a/.buildkite/scripts/steps/es_snapshots/trigger_promote.sh b/.buildkite/scripts/steps/es_snapshots/trigger_promote.sh new file mode 100644 index 0000000000000..1e8256d8c6645 --- /dev/null +++ b/.buildkite/scripts/steps/es_snapshots/trigger_promote.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +set -euo pipefail + +# If ES_SNAPSHOT_MANIFEST is set dynamically during the verify job, rather than provided during the trigger, +# such as if you provide it as input during a manual build, +# the ES_SNAPSHOT_MANIFEST env var will be empty in the context of the pipeline. +# So, we'll trigger with a script instead, so that we can ensure ES_SNAPSHOT_MANIFEST is populated. + +export ES_SNAPSHOT_MANIFEST="${ES_SNAPSHOT_MANIFEST:-"$(buildkite-agent meta-data get ES_SNAPSHOT_MANIFEST)"}" + +cat << EOF | buildkite-agent pipeline upload +steps: + - trigger: 'kibana-elasticsearch-snapshot-promote' + async: true + build: + env: + ES_SNAPSHOT_MANIFEST: '$ES_SNAPSHOT_MANIFEST' + branch: '$BUILDKITE_BRANCH' +EOF diff --git a/.buildkite/scripts/steps/functional/oss_cigroup.sh b/.buildkite/scripts/steps/functional/oss_cigroup.sh new file mode 100755 index 0000000000000..b4c643868ff7d --- /dev/null +++ b/.buildkite/scripts/steps/functional/oss_cigroup.sh @@ -0,0 +1,16 @@ +#!/usr/bin/env bash + +set -euo pipefail + +.buildkite/scripts/bootstrap.sh +.buildkite/scripts/download_build_artifacts.sh + +export CI_GROUP=${CI_GROUP:-$((BUILDKITE_PARALLEL_JOB+1))} +export JOB=kibana-oss-ciGroup${CI_GROUP} + +echo "--- OSS CI Group $CI_GROUP" + +node scripts/functional_tests \ + --bail \ + --kibana-install-dir "$KIBANA_BUILD_LOCATION" \ + --include-tag "ciGroup$CI_GROUP" diff --git a/.buildkite/scripts/steps/functional/xpack_cigroup.sh b/.buildkite/scripts/steps/functional/xpack_cigroup.sh new file mode 100755 index 0000000000000..e6ef0bba87904 --- /dev/null +++ b/.buildkite/scripts/steps/functional/xpack_cigroup.sh @@ -0,0 +1,18 @@ +#!/usr/bin/env bash + +set -euo pipefail + +.buildkite/scripts/bootstrap.sh +.buildkite/scripts/download_build_artifacts.sh + +export CI_GROUP=${CI_GROUP:-$((BUILDKITE_PARALLEL_JOB+1))} +export JOB=kibana-default-ciGroup${CI_GROUP} + +echo "--- Default CI Group $CI_GROUP" + +cd "$XPACK_DIR" + +node scripts/functional_tests \ + --bail \ + --kibana-install-dir "$KIBANA_BUILD_LOCATION" \ + --include-tag "ciGroup$CI_GROUP" diff --git a/.buildkite/scripts/steps/test/api_integration.sh b/.buildkite/scripts/steps/test/api_integration.sh new file mode 100755 index 0000000000000..4bf1ed1406ac5 --- /dev/null +++ b/.buildkite/scripts/steps/test/api_integration.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env bash + +set -euo pipefail + +.buildkite/scripts/bootstrap.sh + +echo '--- API Integration Tests' +node scripts/functional_tests \ + --config test/api_integration/config.js \ + --bail \ + --debug diff --git a/.buildkite/scripts/steps/test/jest.sh b/.buildkite/scripts/steps/test/jest.sh new file mode 100755 index 0000000000000..ab9be759b43a5 --- /dev/null +++ b/.buildkite/scripts/steps/test/jest.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +set -euo pipefail + +.buildkite/scripts/bootstrap.sh + +echo '--- Jest' +node scripts/jest --ci --verbose --maxWorkers=13 diff --git a/.buildkite/scripts/steps/test/jest_integration.sh b/.buildkite/scripts/steps/test/jest_integration.sh new file mode 100755 index 0000000000000..eb243e55670e3 --- /dev/null +++ b/.buildkite/scripts/steps/test/jest_integration.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +set -euo pipefail + +.buildkite/scripts/bootstrap.sh + +echo '--- Jest Integration Tests' +node scripts/jest_integration --ci --verbose diff --git a/.ci/es-snapshots/Jenkinsfile_trigger_build_es b/.ci/es-snapshots/Jenkinsfile_trigger_build_es index 186917e967824..d4e59ca3e411b 100644 --- a/.ci/es-snapshots/Jenkinsfile_trigger_build_es +++ b/.ci/es-snapshots/Jenkinsfile_trigger_build_es @@ -1,10 +1,7 @@ #!/bin/groovy -if (!params.branches_yaml) { - error "'branches_yaml' parameter must be specified" -} - -def branches = readYaml text: params.branches_yaml +// Only run this pipeline for 6.8. Higher branches are now running in Buildkite. +def branches = ['6.8'] branches.each { branch -> build( diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 0949c5d742435..a2d95405dcb82 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -25,7 +25,6 @@ /src/plugins/charts/ @elastic/kibana-vis-editors /src/plugins/management/ @elastic/kibana-vis-editors /src/plugins/kibana_legacy/ @elastic/kibana-vis-editors -/src/plugins/timelion/ @elastic/kibana-vis-editors /src/plugins/vis_default_editor/ @elastic/kibana-vis-editors /src/plugins/vis_types/metric/ @elastic/kibana-vis-editors /src/plugins/vis_type_table/ @elastic/kibana-vis-editors @@ -41,6 +40,8 @@ /src/plugins/chart_expressions/expression_tagcloud/ @elastic/kibana-vis-editors /src/plugins/url_forwarding/ @elastic/kibana-vis-editors /packages/kbn-tinymath/ @elastic/kibana-vis-editors +/x-pack/test/functional/apps/lens @elastic/kibana-vis-editors +/test/functional/apps/visualize/ @elastic/kibana-vis-editors # Application Services /examples/bfetch_explorer/ @elastic/kibana-app-services @@ -147,6 +148,7 @@ /src/plugins/vis_type_markdown/ @elastic/kibana-presentation /src/plugins/presentation_util/ @elastic/kibana-presentation /test/functional/apps/dashboard/ @elastic/kibana-presentation +/test/functional/apps/dashboard_elements/ @elastic/kibana-presentation /x-pack/plugins/canvas/ @elastic/kibana-presentation /x-pack/plugins/dashboard_enhanced/ @elastic/kibana-presentation /x-pack/test/functional/apps/canvas/ @elastic/kibana-presentation @@ -250,7 +252,6 @@ /src/plugins/kibana_overview/ @elastic/kibana-core /x-pack/plugins/global_search_bar/ @elastic/kibana-core #CC# /src/core/server/csp/ @elastic/kibana-core -#CC# /src/plugins/legacy_export/ @elastic/kibana-core #CC# /src/plugins/xpack_legacy/ @elastic/kibana-core #CC# /src/plugins/saved_objects/ @elastic/kibana-core #CC# /x-pack/plugins/cloud/ @elastic/kibana-core diff --git a/.gitignore b/.gitignore index 4f77a6e450c4b..32c77b20ef204 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ /.chromium .DS_Store .node_binaries +/.beats .native_modules node_modules !/src/dev/npm/integration_tests/__fixtures__/fixture1/node_modules diff --git a/.i18nrc.json b/.i18nrc.json index 77c57ded8242b..11d31be8f891c 100644 --- a/.i18nrc.json +++ b/.i18nrc.json @@ -56,7 +56,7 @@ "server": "src/legacy/server", "statusPage": "src/legacy/core_plugins/status_page", "telemetry": ["src/plugins/telemetry", "src/plugins/telemetry_management_section"], - "timelion": ["src/plugins/timelion", "src/plugins/vis_type_timelion"], + "timelion": ["src/plugins/vis_type_timelion"], "uiActions": "src/plugins/ui_actions", "visDefaultEditor": "src/plugins/vis_default_editor", "visTypeMarkdown": "src/plugins/vis_type_markdown", diff --git a/api_docs/actions.json b/api_docs/actions.json index fcad94e028b1e..6e49272bcb67a 100644 --- a/api_docs/actions.json +++ b/api_docs/actions.json @@ -463,7 +463,7 @@ "children": [ { "parentPluginId": "actions", - "id": "def-server.options", + "id": "def-server.ActionType.executor.$1", "type": "Object", "tags": [], "label": "options", @@ -653,7 +653,7 @@ "label": "ActionParamsType", "description": [], "signature": [ - "{ readonly to: string[]; readonly message: string; readonly cc: string[]; readonly bcc: string[]; readonly subject: string; readonly kibanaFooterLink: Readonly<{} & { path: string; text: string; }>; }" + "{ readonly to: string[]; readonly message: string; readonly subject: string; readonly cc: string[]; readonly bcc: string[]; readonly kibanaFooterLink: Readonly<{} & { path: string; text: string; }>; }" ], "path": "x-pack/plugins/actions/server/builtin_action_types/email.ts", "deprecated": false, @@ -875,7 +875,7 @@ "section": "def-common.ActionType", "text": "ActionType" }, - "[]>; isActionTypeEnabled: (actionTypeId: string, options?: { notifyUsage: boolean; }) => boolean; }" + "[]>; isActionTypeEnabled: (actionTypeId: string, options?: { notifyUsage: boolean; }) => boolean; isPreconfigured: (connectorId: string) => boolean; }" ], "path": "x-pack/plugins/actions/server/index.ts", "deprecated": false, @@ -1091,6 +1091,36 @@ } ], "returnComment": [] + }, + { + "parentPluginId": "actions", + "id": "def-server.PluginSetupContract.isPreconfiguredConnector", + "type": "Function", + "tags": [], + "label": "isPreconfiguredConnector", + "description": [], + "signature": [ + "(connectorId: string) => boolean" + ], + "path": "x-pack/plugins/actions/server/plugin.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "actions", + "id": "def-server.PluginSetupContract.isPreconfiguredConnector.$1", + "type": "string", + "tags": [], + "label": "connectorId", + "description": [], + "signature": [ + "string" + ], + "path": "x-pack/plugins/actions/server/plugin.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] } ], "lifecycle": "setup", @@ -1135,7 +1165,7 @@ }, { "parentPluginId": "actions", - "id": "def-server.PluginStartContract.isActionTypeEnabled.$2.options", + "id": "def-server.PluginStartContract.isActionTypeEnabled.$2", "type": "Object", "tags": [], "label": "options", @@ -1145,7 +1175,7 @@ "children": [ { "parentPluginId": "actions", - "id": "def-server.PluginStartContract.isActionTypeEnabled.$2.options.notifyUsage", + "id": "def-server.PluginStartContract.isActionTypeEnabled.$2.notifyUsage", "type": "boolean", "tags": [], "label": "notifyUsage", @@ -1201,7 +1231,7 @@ }, { "parentPluginId": "actions", - "id": "def-server.PluginStartContract.isActionExecutable.$3.options", + "id": "def-server.PluginStartContract.isActionExecutable.$3", "type": "Object", "tags": [], "label": "options", @@ -1211,7 +1241,7 @@ "children": [ { "parentPluginId": "actions", - "id": "def-server.PluginStartContract.isActionExecutable.$3.options.notifyUsage", + "id": "def-server.PluginStartContract.isActionExecutable.$3.notifyUsage", "type": "boolean", "tags": [], "label": "notifyUsage", @@ -1248,7 +1278,7 @@ "section": "def-server.ActionsClient", "text": "ActionsClient" }, - ", \"get\" | \"delete\" | \"create\" | \"update\" | \"execute\" | \"getAll\" | \"getBulk\" | \"enqueueExecution\" | \"ephemeralEnqueuedExecution\" | \"listTypes\" | \"isActionTypeEnabled\">>" + ", \"get\" | \"delete\" | \"create\" | \"update\" | \"execute\" | \"getAll\" | \"getBulk\" | \"enqueueExecution\" | \"ephemeralEnqueuedExecution\" | \"listTypes\" | \"isActionTypeEnabled\" | \"isPreconfigured\">>" ], "path": "x-pack/plugins/actions/server/plugin.ts", "deprecated": false, @@ -1818,6 +1848,20 @@ "deprecated": false, "initialIsOpen": false }, + { + "parentPluginId": "actions", + "id": "def-common.INTERNAL_BASE_ACTION_API_PATH", + "type": "string", + "tags": [], + "label": "INTERNAL_BASE_ACTION_API_PATH", + "description": [], + "signature": [ + "\"/internal/actions\"" + ], + "path": "x-pack/plugins/actions/common/index.ts", + "deprecated": false, + "initialIsOpen": false + }, { "parentPluginId": "actions", "id": "def-common.RewriteRequestCase", @@ -1842,7 +1886,7 @@ "children": [ { "parentPluginId": "actions", - "id": "def-common.requested", + "id": "def-common.RewriteRequestCase.$1", "type": "Object", "tags": [], "label": "requested", @@ -1888,7 +1932,7 @@ "children": [ { "parentPluginId": "actions", - "id": "def-common.responded", + "id": "def-common.RewriteResponseCase.$1", "type": "Uncategorized", "tags": [], "label": "responded", diff --git a/api_docs/actions.mdx b/api_docs/actions.mdx index 64b75e17fd865..4a46ce999322e 100644 --- a/api_docs/actions.mdx +++ b/api_docs/actions.mdx @@ -18,7 +18,7 @@ Contact [Kibana Alerting](https://github.com/orgs/elastic/teams/kibana-alerting- | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 119 | 0 | 119 | 7 | +| 122 | 0 | 122 | 7 | ## Server diff --git a/api_docs/advanced_settings.json b/api_docs/advanced_settings.json index adc589a5c88d2..ba157c8326940 100644 --- a/api_docs/advanced_settings.json +++ b/api_docs/advanced_settings.json @@ -132,7 +132,7 @@ "children": [ { "parentPluginId": "advancedSettings", - "id": "def-public.id", + "id": "def-public.ComponentRegistry.setup.register.$1", "type": "CompoundType", "tags": [], "label": "id", @@ -145,7 +145,7 @@ }, { "parentPluginId": "advancedSettings", - "id": "def-public.component", + "id": "def-public.ComponentRegistry.setup.register.$2", "type": "CompoundType", "tags": [], "label": "component", @@ -158,7 +158,7 @@ }, { "parentPluginId": "advancedSettings", - "id": "def-public.allowOverride", + "id": "def-public.ComponentRegistry.setup.register.$3", "type": "boolean", "tags": [], "label": "allowOverride", @@ -209,7 +209,7 @@ "children": [ { "parentPluginId": "advancedSettings", - "id": "def-public.id", + "id": "def-public.ComponentRegistry.start.get.$1", "type": "CompoundType", "tags": [], "label": "id", @@ -251,7 +251,7 @@ "children": [ { "parentPluginId": "advancedSettings", - "id": "def-public.props", + "id": "def-public.LazyField.$1", "type": "Uncategorized", "tags": [], "label": "props", diff --git a/api_docs/advanced_settings.mdx b/api_docs/advanced_settings.mdx index ae48f0931f67e..99a905767621a 100644 --- a/api_docs/advanced_settings.mdx +++ b/api_docs/advanced_settings.mdx @@ -12,7 +12,7 @@ import advancedSettingsObj from './advanced_settings.json'; -Contact [Kibana App](https://github.com/orgs/elastic/teams/kibana-app) for questions regarding this plugin. +Contact [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) for questions regarding this plugin. **Code health stats** diff --git a/api_docs/alerting.json b/api_docs/alerting.json index 3e5ad6e61c2e0..a851387510423 100644 --- a/api_docs/alerting.json +++ b/api_docs/alerting.json @@ -24,7 +24,7 @@ "section": "def-common.Alert", "text": "Alert" }, - ", \"enabled\" | \"id\" | \"name\" | \"params\" | \"actions\" | \"throttle\" | \"tags\" | \"alertTypeId\" | \"consumer\" | \"schedule\" | \"scheduledTaskId\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"apiKeyOwner\" | \"notifyWhen\" | \"muteAll\" | \"mutedInstanceIds\" | \"executionStatus\">) => string | ", + ", \"enabled\" | \"id\" | \"name\" | \"tags\" | \"params\" | \"actions\" | \"throttle\" | \"alertTypeId\" | \"consumer\" | \"schedule\" | \"scheduledTaskId\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"apiKeyOwner\" | \"notifyWhen\" | \"muteAll\" | \"mutedInstanceIds\" | \"executionStatus\">) => string | ", "JsonObject" ], "path": "x-pack/plugins/alerting/public/alert_navigation_registry/types.ts", @@ -35,13 +35,13 @@ "children": [ { "parentPluginId": "alerting", - "id": "def-public.alert", + "id": "def-public.AlertNavigationHandler.$1", "type": "Object", "tags": [], "label": "alert", "description": [], "signature": [ - "{ enabled: boolean; id: string; name: string; params: never; actions: ", + "{ enabled: boolean; id: string; name: string; tags: string[]; params: never; actions: ", { "pluginId": "alerting", "scope": "common", @@ -49,7 +49,7 @@ "section": "def-common.AlertAction", "text": "AlertAction" }, - "[]; throttle: string | null; tags: string[]; alertTypeId: string; consumer: string; schedule: ", + "[]; throttle: string | null; alertTypeId: string; consumer: string; schedule: ", { "pluginId": "alerting", "scope": "common", @@ -1008,7 +1008,7 @@ "section": "def-common.Alert", "text": "Alert" }, - ", \"enabled\" | \"id\" | \"name\" | \"params\" | \"actions\" | \"throttle\" | \"tags\" | \"alertTypeId\" | \"consumer\" | \"schedule\" | \"scheduledTaskId\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"apiKeyOwner\" | \"notifyWhen\" | \"muteAll\" | \"mutedInstanceIds\" | \"executionStatus\">, \"enabled\" | \"name\" | \"actions\" | \"throttle\" | \"tags\" | \"consumer\" | \"schedule\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"notifyWhen\"> & { producer: string; ruleTypeId: string; ruleTypeName: string; }" + ", \"enabled\" | \"id\" | \"name\" | \"tags\" | \"params\" | \"actions\" | \"throttle\" | \"alertTypeId\" | \"consumer\" | \"schedule\" | \"scheduledTaskId\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"apiKeyOwner\" | \"notifyWhen\" | \"muteAll\" | \"mutedInstanceIds\" | \"executionStatus\">, \"enabled\" | \"name\" | \"tags\" | \"actions\" | \"throttle\" | \"consumer\" | \"schedule\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"notifyWhen\"> & { producer: string; ruleTypeId: string; ruleTypeName: string; }" ], "path": "x-pack/plugins/alerting/server/types.ts", "deprecated": false @@ -1425,7 +1425,7 @@ "children": [ { "parentPluginId": "alerting", - "id": "def-server.options", + "id": "def-server.AlertType.executor.$1", "type": "Object", "tags": [], "label": "options", @@ -1607,7 +1607,7 @@ "section": "def-common.Alert", "text": "Alert" }, - ", \"enabled\" | \"id\" | \"name\" | \"params\" | \"actions\" | \"throttle\" | \"tags\" | \"alertTypeId\" | \"consumer\" | \"schedule\" | \"scheduledTaskId\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"apiKeyOwner\" | \"notifyWhen\" | \"muteAll\" | \"mutedInstanceIds\" | \"executionStatus\">[]" + ", \"enabled\" | \"id\" | \"name\" | \"tags\" | \"params\" | \"actions\" | \"throttle\" | \"alertTypeId\" | \"consumer\" | \"schedule\" | \"scheduledTaskId\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"apiKeyOwner\" | \"notifyWhen\" | \"muteAll\" | \"mutedInstanceIds\" | \"executionStatus\">[]" ], "path": "x-pack/plugins/alerting/server/rules_client/rules_client.ts", "deprecated": false @@ -2068,7 +2068,7 @@ "section": "def-common.Alert", "text": "Alert" }, - ", \"enabled\" | \"name\" | \"params\" | \"actions\" | \"throttle\" | \"tags\" | \"apiKey\" | \"alertTypeId\" | \"consumer\" | \"schedule\" | \"scheduledTaskId\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"apiKeyOwner\" | \"notifyWhen\" | \"muteAll\" | \"mutedInstanceIds\" | \"executionStatus\">>" + ", \"enabled\" | \"name\" | \"tags\" | \"params\" | \"actions\" | \"throttle\" | \"apiKey\" | \"alertTypeId\" | \"consumer\" | \"schedule\" | \"scheduledTaskId\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"apiKeyOwner\" | \"notifyWhen\" | \"muteAll\" | \"mutedInstanceIds\" | \"executionStatus\">>" ], "path": "x-pack/plugins/alerting/server/types.ts", "deprecated": false, @@ -2102,7 +2102,7 @@ "label": "RulesClient", "description": [], "signature": [ - "{ get: = never>({ id, }: { id: string; }) => Promise = never>({ id, includeLegacyId, }: { id: string; includeLegacyId?: boolean | undefined; }) => Promise, \"enabled\" | \"id\" | \"name\" | \"params\" | \"actions\" | \"throttle\" | \"tags\" | \"alertTypeId\" | \"consumer\" | \"schedule\" | \"scheduledTaskId\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"apiKeyOwner\" | \"notifyWhen\" | \"muteAll\" | \"mutedInstanceIds\" | \"executionStatus\">>; delete: ({ id }: { id: string; }) => Promise<{}>; create: = never>({ data, options, }: ", + ", \"enabled\" | \"id\" | \"name\" | \"tags\" | \"params\" | \"actions\" | \"throttle\" | \"alertTypeId\" | \"consumer\" | \"schedule\" | \"scheduledTaskId\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"apiKeyOwner\" | \"notifyWhen\" | \"muteAll\" | \"mutedInstanceIds\" | \"executionStatus\"> | Pick<", + "AlertWithLegacyId", + ", \"enabled\" | \"id\" | \"name\" | \"tags\" | \"params\" | \"actions\" | \"throttle\" | \"alertTypeId\" | \"consumer\" | \"schedule\" | \"scheduledTaskId\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"apiKeyOwner\" | \"notifyWhen\" | \"muteAll\" | \"mutedInstanceIds\" | \"executionStatus\" | \"legacyId\">>; delete: ({ id }: { id: string; }) => Promise<{}>; create: = never>({ data, options, }: ", "CreateOptions", ") => Promise, \"enabled\" | \"id\" | \"name\" | \"params\" | \"actions\" | \"throttle\" | \"tags\" | \"alertTypeId\" | \"consumer\" | \"schedule\" | \"scheduledTaskId\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"apiKeyOwner\" | \"notifyWhen\" | \"muteAll\" | \"mutedInstanceIds\" | \"executionStatus\">>; find: = never>({ options: { fields, ...options }, }?: { options?: ", + ", \"enabled\" | \"id\" | \"name\" | \"tags\" | \"params\" | \"actions\" | \"throttle\" | \"alertTypeId\" | \"consumer\" | \"schedule\" | \"scheduledTaskId\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"apiKeyOwner\" | \"notifyWhen\" | \"muteAll\" | \"mutedInstanceIds\" | \"executionStatus\">>; find: = never>({ options: { fields, ...options }, }?: { options?: ", "FindOptions", " | undefined; }) => Promise<", { @@ -3993,7 +3995,7 @@ "section": "def-common.Alert", "text": "Alert" }, - ", \"enabled\" | \"id\" | \"name\" | \"params\" | \"actions\" | \"throttle\" | \"tags\" | \"alertTypeId\" | \"consumer\" | \"schedule\" | \"scheduledTaskId\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"apiKeyOwner\" | \"notifyWhen\" | \"muteAll\" | \"mutedInstanceIds\" | \"executionStatus\"> & Pick<", + ", \"enabled\" | \"id\" | \"name\" | \"tags\" | \"params\" | \"actions\" | \"throttle\" | \"alertTypeId\" | \"consumer\" | \"schedule\" | \"scheduledTaskId\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"apiKeyOwner\" | \"notifyWhen\" | \"muteAll\" | \"mutedInstanceIds\" | \"executionStatus\"> & Pick<", { "pluginId": "core", "scope": "server", @@ -4015,7 +4017,7 @@ "label": "SanitizedAlert", "description": [], "signature": [ - "{ enabled: boolean; id: string; name: string; params: Params; actions: ", + "{ enabled: boolean; id: string; name: string; tags: string[]; params: Params; actions: ", { "pluginId": "alerting", "scope": "common", @@ -4023,7 +4025,7 @@ "section": "def-common.AlertAction", "text": "AlertAction" }, - "[]; throttle: string | null; tags: string[]; alertTypeId: string; consumer: string; schedule: ", + "[]; throttle: string | null; alertTypeId: string; consumer: string; schedule: ", { "pluginId": "alerting", "scope": "common", @@ -4061,7 +4063,7 @@ "section": "def-common.Alert", "text": "Alert" }, - ", \"enabled\" | \"id\" | \"name\" | \"params\" | \"actions\" | \"throttle\" | \"tags\" | \"alertTypeId\" | \"consumer\" | \"schedule\" | \"scheduledTaskId\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"apiKeyOwner\" | \"notifyWhen\" | \"muteAll\" | \"mutedInstanceIds\" | \"executionStatus\">, \"enabled\" | \"name\" | \"actions\" | \"throttle\" | \"tags\" | \"consumer\" | \"schedule\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"notifyWhen\"> & { producer: string; ruleTypeId: string; ruleTypeName: string; }" + ", \"enabled\" | \"id\" | \"name\" | \"tags\" | \"params\" | \"actions\" | \"throttle\" | \"alertTypeId\" | \"consumer\" | \"schedule\" | \"scheduledTaskId\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"apiKeyOwner\" | \"notifyWhen\" | \"muteAll\" | \"mutedInstanceIds\" | \"executionStatus\">, \"enabled\" | \"name\" | \"tags\" | \"actions\" | \"throttle\" | \"consumer\" | \"schedule\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"notifyWhen\"> & { producer: string; ruleTypeId: string; ruleTypeName: string; }" ], "path": "x-pack/plugins/alerting/common/alert.ts", "deprecated": false, diff --git a/api_docs/alerting.mdx b/api_docs/alerting.mdx index 801d8fa58d83a..845c2c53ff7fa 100644 --- a/api_docs/alerting.mdx +++ b/api_docs/alerting.mdx @@ -18,7 +18,7 @@ Contact [Kibana Alerting](https://github.com/orgs/elastic/teams/kibana-alerting- | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 248 | 0 | 240 | 16 | +| 248 | 0 | 240 | 17 | ## Client diff --git a/api_docs/apm.json b/api_docs/apm.json index 45b7a2b67d108..4ad469df91383 100644 --- a/api_docs/apm.json +++ b/api_docs/apm.json @@ -186,7 +186,7 @@ "APMPluginSetupDependencies", ", \"data\" | \"security\" | \"home\" | \"features\" | \"fleet\" | \"ml\" | \"actions\" | \"usageCollection\" | \"apmOss\" | \"licensing\" | \"observability\" | \"ruleRegistry\" | \"spaces\" | \"cloud\" | \"taskManager\" | \"alerting\">) => { config$: ", "Observable", - "<{ 'apm_oss.transactionIndices': string; 'apm_oss.spanIndices': string; 'apm_oss.errorIndices': string; 'apm_oss.metricsIndices': string; 'apm_oss.sourcemapIndices': string; 'apm_oss.onboardingIndices': string; 'apm_oss.indexPattern': string; 'xpack.apm.serviceMapEnabled': boolean; 'xpack.apm.serviceMapFingerprintBucketSize': number; 'xpack.apm.serviceMapTraceIdBucketSize': number; 'xpack.apm.serviceMapFingerprintGlobalBucketSize': number; 'xpack.apm.serviceMapTraceIdGlobalBucketSize': number; 'xpack.apm.serviceMapMaxTracesPerRequest': number; 'xpack.apm.ui.enabled': boolean; 'xpack.apm.maxServiceEnvironments': number; 'xpack.apm.maxServiceSelection': number; 'xpack.apm.ui.maxTraceItems': number; 'xpack.apm.ui.transactionGroupBucketSize': number; 'xpack.apm.autocreateApmIndexPattern': boolean; 'xpack.apm.telemetryCollectionEnabled': boolean; 'xpack.apm.searchAggregatedTransactions': ", + "<{ 'apm_oss.transactionIndices': string; 'apm_oss.spanIndices': string; 'apm_oss.errorIndices': string; 'apm_oss.metricsIndices': string; 'apm_oss.sourcemapIndices': string; 'apm_oss.onboardingIndices': string; 'xpack.apm.serviceMapEnabled': boolean; 'xpack.apm.serviceMapFingerprintBucketSize': number; 'xpack.apm.serviceMapTraceIdBucketSize': number; 'xpack.apm.serviceMapFingerprintGlobalBucketSize': number; 'xpack.apm.serviceMapTraceIdGlobalBucketSize': number; 'xpack.apm.serviceMapMaxTracesPerRequest': number; 'xpack.apm.ui.enabled': boolean; 'xpack.apm.maxServiceEnvironments': number; 'xpack.apm.maxServiceSelection': number; 'xpack.apm.ui.maxTraceItems': number; 'xpack.apm.ui.transactionGroupBucketSize': number; 'xpack.apm.autocreateApmIndexPattern': boolean; 'xpack.apm.telemetryCollectionEnabled': boolean; 'xpack.apm.searchAggregatedTransactions': ", "SearchAggregatedTransactionSetting", "; 'xpack.apm.metricsInterval': number; 'xpack.apm.agent.migrations.enabled': boolean; }>; getApmIndices: () => Promise<", "ApmIndicesConfig", @@ -327,7 +327,7 @@ "signature": [ "(apmOssConfig: Readonly<{} & { enabled: boolean; transactionIndices: string; spanIndices: string; errorIndices: string; metricsIndices: string; sourcemapIndices: string; onboardingIndices: string; indexPattern: string; fleetMode: boolean; }>, apmConfig: Readonly<{} & { enabled: boolean; serviceMapEnabled: boolean; serviceMapFingerprintBucketSize: number; serviceMapTraceIdBucketSize: number; serviceMapFingerprintGlobalBucketSize: number; serviceMapTraceIdGlobalBucketSize: number; serviceMapMaxTracesPerRequest: number; autocreateApmIndexPattern: boolean; ui: Readonly<{} & { enabled: boolean; transactionGroupBucketSize: number; maxTraceItems: number; }>; searchAggregatedTransactions: ", "SearchAggregatedTransactionSetting", - "; telemetryCollectionEnabled: boolean; metricsInterval: number; maxServiceEnvironments: number; maxServiceSelection: number; profilingEnabled: boolean; agent: Readonly<{} & { migrations: Readonly<{} & { enabled: boolean; }>; }>; }>) => { 'apm_oss.transactionIndices': string; 'apm_oss.spanIndices': string; 'apm_oss.errorIndices': string; 'apm_oss.metricsIndices': string; 'apm_oss.sourcemapIndices': string; 'apm_oss.onboardingIndices': string; 'apm_oss.indexPattern': string; 'xpack.apm.serviceMapEnabled': boolean; 'xpack.apm.serviceMapFingerprintBucketSize': number; 'xpack.apm.serviceMapTraceIdBucketSize': number; 'xpack.apm.serviceMapFingerprintGlobalBucketSize': number; 'xpack.apm.serviceMapTraceIdGlobalBucketSize': number; 'xpack.apm.serviceMapMaxTracesPerRequest': number; 'xpack.apm.ui.enabled': boolean; 'xpack.apm.maxServiceEnvironments': number; 'xpack.apm.maxServiceSelection': number; 'xpack.apm.ui.maxTraceItems': number; 'xpack.apm.ui.transactionGroupBucketSize': number; 'xpack.apm.autocreateApmIndexPattern': boolean; 'xpack.apm.telemetryCollectionEnabled': boolean; 'xpack.apm.searchAggregatedTransactions': ", + "; telemetryCollectionEnabled: boolean; metricsInterval: number; maxServiceEnvironments: number; maxServiceSelection: number; profilingEnabled: boolean; agent: Readonly<{} & { migrations: Readonly<{} & { enabled: boolean; }>; }>; }>) => { 'apm_oss.transactionIndices': string; 'apm_oss.spanIndices': string; 'apm_oss.errorIndices': string; 'apm_oss.metricsIndices': string; 'apm_oss.sourcemapIndices': string; 'apm_oss.onboardingIndices': string; 'xpack.apm.serviceMapEnabled': boolean; 'xpack.apm.serviceMapFingerprintBucketSize': number; 'xpack.apm.serviceMapTraceIdBucketSize': number; 'xpack.apm.serviceMapFingerprintGlobalBucketSize': number; 'xpack.apm.serviceMapTraceIdGlobalBucketSize': number; 'xpack.apm.serviceMapMaxTracesPerRequest': number; 'xpack.apm.ui.enabled': boolean; 'xpack.apm.maxServiceEnvironments': number; 'xpack.apm.maxServiceSelection': number; 'xpack.apm.ui.maxTraceItems': number; 'xpack.apm.ui.transactionGroupBucketSize': number; 'xpack.apm.autocreateApmIndexPattern': boolean; 'xpack.apm.telemetryCollectionEnabled': boolean; 'xpack.apm.searchAggregatedTransactions': ", "SearchAggregatedTransactionSetting", "; 'xpack.apm.metricsInterval': number; 'xpack.apm.agent.migrations.enabled': boolean; }" ], @@ -434,7 +434,7 @@ "label": "config", "description": [], "signature": [ - "{ 'apm_oss.transactionIndices': string; 'apm_oss.spanIndices': string; 'apm_oss.errorIndices': string; 'apm_oss.metricsIndices': string; 'apm_oss.sourcemapIndices': string; 'apm_oss.onboardingIndices': string; 'apm_oss.indexPattern': string; 'xpack.apm.serviceMapEnabled': boolean; 'xpack.apm.serviceMapFingerprintBucketSize': number; 'xpack.apm.serviceMapTraceIdBucketSize': number; 'xpack.apm.serviceMapFingerprintGlobalBucketSize': number; 'xpack.apm.serviceMapTraceIdGlobalBucketSize': number; 'xpack.apm.serviceMapMaxTracesPerRequest': number; 'xpack.apm.ui.enabled': boolean; 'xpack.apm.maxServiceEnvironments': number; 'xpack.apm.maxServiceSelection': number; 'xpack.apm.ui.maxTraceItems': number; 'xpack.apm.ui.transactionGroupBucketSize': number; 'xpack.apm.autocreateApmIndexPattern': boolean; 'xpack.apm.telemetryCollectionEnabled': boolean; 'xpack.apm.searchAggregatedTransactions': ", + "{ 'apm_oss.transactionIndices': string; 'apm_oss.spanIndices': string; 'apm_oss.errorIndices': string; 'apm_oss.metricsIndices': string; 'apm_oss.sourcemapIndices': string; 'apm_oss.onboardingIndices': string; 'xpack.apm.serviceMapEnabled': boolean; 'xpack.apm.serviceMapFingerprintBucketSize': number; 'xpack.apm.serviceMapTraceIdBucketSize': number; 'xpack.apm.serviceMapFingerprintGlobalBucketSize': number; 'xpack.apm.serviceMapTraceIdGlobalBucketSize': number; 'xpack.apm.serviceMapMaxTracesPerRequest': number; 'xpack.apm.ui.enabled': boolean; 'xpack.apm.maxServiceEnvironments': number; 'xpack.apm.maxServiceSelection': number; 'xpack.apm.ui.maxTraceItems': number; 'xpack.apm.ui.transactionGroupBucketSize': number; 'xpack.apm.autocreateApmIndexPattern': boolean; 'xpack.apm.telemetryCollectionEnabled': boolean; 'xpack.apm.searchAggregatedTransactions': ", "SearchAggregatedTransactionSetting", "; 'xpack.apm.metricsInterval': number; 'xpack.apm.agent.migrations.enabled': boolean; }" ], @@ -799,7 +799,7 @@ "label": "APMConfig", "description": [], "signature": [ - "{ 'apm_oss.transactionIndices': string; 'apm_oss.spanIndices': string; 'apm_oss.errorIndices': string; 'apm_oss.metricsIndices': string; 'apm_oss.sourcemapIndices': string; 'apm_oss.onboardingIndices': string; 'apm_oss.indexPattern': string; 'xpack.apm.serviceMapEnabled': boolean; 'xpack.apm.serviceMapFingerprintBucketSize': number; 'xpack.apm.serviceMapTraceIdBucketSize': number; 'xpack.apm.serviceMapFingerprintGlobalBucketSize': number; 'xpack.apm.serviceMapTraceIdGlobalBucketSize': number; 'xpack.apm.serviceMapMaxTracesPerRequest': number; 'xpack.apm.ui.enabled': boolean; 'xpack.apm.maxServiceEnvironments': number; 'xpack.apm.maxServiceSelection': number; 'xpack.apm.ui.maxTraceItems': number; 'xpack.apm.ui.transactionGroupBucketSize': number; 'xpack.apm.autocreateApmIndexPattern': boolean; 'xpack.apm.telemetryCollectionEnabled': boolean; 'xpack.apm.searchAggregatedTransactions': ", + "{ 'apm_oss.transactionIndices': string; 'apm_oss.spanIndices': string; 'apm_oss.errorIndices': string; 'apm_oss.metricsIndices': string; 'apm_oss.sourcemapIndices': string; 'apm_oss.onboardingIndices': string; 'xpack.apm.serviceMapEnabled': boolean; 'xpack.apm.serviceMapFingerprintBucketSize': number; 'xpack.apm.serviceMapTraceIdBucketSize': number; 'xpack.apm.serviceMapFingerprintGlobalBucketSize': number; 'xpack.apm.serviceMapTraceIdGlobalBucketSize': number; 'xpack.apm.serviceMapMaxTracesPerRequest': number; 'xpack.apm.ui.enabled': boolean; 'xpack.apm.maxServiceEnvironments': number; 'xpack.apm.maxServiceSelection': number; 'xpack.apm.ui.maxTraceItems': number; 'xpack.apm.ui.transactionGroupBucketSize': number; 'xpack.apm.autocreateApmIndexPattern': boolean; 'xpack.apm.telemetryCollectionEnabled': boolean; 'xpack.apm.searchAggregatedTransactions': ", "SearchAggregatedTransactionSetting", "; 'xpack.apm.metricsInterval': number; 'xpack.apm.agent.migrations.enabled': boolean; }" ], @@ -852,18 +852,6 @@ "IndexPatternTitleAndFields", " | undefined; }, ", "APMRouteCreateOptions", - ">; } & { \"GET /api/apm/index_pattern/title\": ", - "ServerRoute", - "<\"GET /api/apm/index_pattern/title\", undefined, ", - { - "pluginId": "apm", - "scope": "server", - "docId": "kibApmPluginApi", - "section": "def-server.APMRouteHandlerResources", - "text": "APMRouteHandlerResources" - }, - ", { indexPatternTitle: string; }, ", - "APMRouteCreateOptions", ">; } & { \"GET /api/apm/environments\": ", "ServerRoute", "<\"GET /api/apm/environments\", ", @@ -1674,7 +1662,7 @@ "section": "def-server.APMRouteHandlerResources", "text": "APMRouteHandlerResources" }, - ", { serviceNodes: { name: string; cpu: number | null; heapMemory: number | null; nonHeapMemory: number | null; threadCount: number | null; }[]; }, ", + ", { serviceNodes: { name: string; cpu: number | null; heapMemory: number | null; hostName: string | null | undefined; nonHeapMemory: number | null; threadCount: number | null; }[]; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/services\": ", "ServerRoute", @@ -2133,6 +2121,12 @@ "<{ transactionType: ", "StringC", "; }>, ", + "PartialC", + "<{ transactionName: ", + "StringC", + "; }>, ", + "IntersectionC", + "<[", "TypeC", "<{ environment: ", "UnionC", @@ -2162,7 +2156,7 @@ "Type", "; comparisonEnd: ", "Type", - "; }>]>; }>, ", + "; }>]>]>; }>, ", { "pluginId": "apm", "scope": "server", @@ -2642,7 +2636,7 @@ "section": "def-server.APMRouteHandlerResources", "text": "APMRouteHandlerResources" }, - ", { serviceInfrastructure: { containerIds: any; hostNames: any; podNames: any; }; }, ", + ", { serviceInfrastructure: { containerIds: any; hostNames: any; }; }, ", "APMRouteCreateOptions", ">; } & { \"GET /api/apm/traces/{traceId}\": ", "ServerRoute", @@ -4469,20 +4463,6 @@ "path": "x-pack/plugins/apm/server/index.ts", "deprecated": false, "initialIsOpen": false - }, - { - "parentPluginId": "apm", - "id": "def-server.InspectResponse", - "type": "Type", - "tags": [], - "label": "InspectResponse", - "description": [], - "signature": [ - "{ response: any; duration: number; requestType: string; requestParams: Record; esError: Error; operationName: string; }[]" - ], - "path": "x-pack/plugins/apm/server/routes/typings.ts", - "deprecated": false, - "initialIsOpen": false } ], "objects": [], @@ -4505,7 +4485,7 @@ "description": [], "signature": [ "Observable", - "<{ 'apm_oss.transactionIndices': string; 'apm_oss.spanIndices': string; 'apm_oss.errorIndices': string; 'apm_oss.metricsIndices': string; 'apm_oss.sourcemapIndices': string; 'apm_oss.onboardingIndices': string; 'apm_oss.indexPattern': string; 'xpack.apm.serviceMapEnabled': boolean; 'xpack.apm.serviceMapFingerprintBucketSize': number; 'xpack.apm.serviceMapTraceIdBucketSize': number; 'xpack.apm.serviceMapFingerprintGlobalBucketSize': number; 'xpack.apm.serviceMapTraceIdGlobalBucketSize': number; 'xpack.apm.serviceMapMaxTracesPerRequest': number; 'xpack.apm.ui.enabled': boolean; 'xpack.apm.maxServiceEnvironments': number; 'xpack.apm.maxServiceSelection': number; 'xpack.apm.ui.maxTraceItems': number; 'xpack.apm.ui.transactionGroupBucketSize': number; 'xpack.apm.autocreateApmIndexPattern': boolean; 'xpack.apm.telemetryCollectionEnabled': boolean; 'xpack.apm.searchAggregatedTransactions': ", + "<{ 'apm_oss.transactionIndices': string; 'apm_oss.spanIndices': string; 'apm_oss.errorIndices': string; 'apm_oss.metricsIndices': string; 'apm_oss.sourcemapIndices': string; 'apm_oss.onboardingIndices': string; 'xpack.apm.serviceMapEnabled': boolean; 'xpack.apm.serviceMapFingerprintBucketSize': number; 'xpack.apm.serviceMapTraceIdBucketSize': number; 'xpack.apm.serviceMapFingerprintGlobalBucketSize': number; 'xpack.apm.serviceMapTraceIdGlobalBucketSize': number; 'xpack.apm.serviceMapMaxTracesPerRequest': number; 'xpack.apm.ui.enabled': boolean; 'xpack.apm.maxServiceEnvironments': number; 'xpack.apm.maxServiceSelection': number; 'xpack.apm.ui.maxTraceItems': number; 'xpack.apm.ui.transactionGroupBucketSize': number; 'xpack.apm.autocreateApmIndexPattern': boolean; 'xpack.apm.telemetryCollectionEnabled': boolean; 'xpack.apm.searchAggregatedTransactions': ", "SearchAggregatedTransactionSetting", "; 'xpack.apm.metricsInterval': number; 'xpack.apm.agent.migrations.enabled': boolean; }>" ], @@ -4560,7 +4540,7 @@ "children": [ { "parentPluginId": "apm", - "id": "def-server.APMPluginSetup.createApmEventClient.$1.params", + "id": "def-server.APMPluginSetup.createApmEventClient.$1", "type": "Object", "tags": [], "label": "params", @@ -4570,7 +4550,7 @@ "children": [ { "parentPluginId": "apm", - "id": "def-server.APMPluginSetup.createApmEventClient.$1.params.debug", + "id": "def-server.APMPluginSetup.createApmEventClient.$1.debug", "type": "CompoundType", "tags": [], "label": "debug", @@ -4583,7 +4563,7 @@ }, { "parentPluginId": "apm", - "id": "def-server.APMPluginSetup.createApmEventClient.$1.params.request", + "id": "def-server.APMPluginSetup.createApmEventClient.$1.request", "type": "Object", "tags": [], "label": "request", @@ -4603,7 +4583,7 @@ }, { "parentPluginId": "apm", - "id": "def-server.APMPluginSetup.createApmEventClient.$1.params.context", + "id": "def-server.APMPluginSetup.createApmEventClient.$1.context", "type": "Object", "tags": [], "label": "context", diff --git a/api_docs/apm.mdx b/api_docs/apm.mdx index c241ea2376f26..ec2b50e738fb9 100644 --- a/api_docs/apm.mdx +++ b/api_docs/apm.mdx @@ -12,13 +12,13 @@ import apmObj from './apm.json'; -Contact APM UI for questions regarding this plugin. +Contact [APM UI](https://github.com/orgs/elastic/teams/apm-ui) for questions regarding this plugin. **Code health stats** | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 42 | 0 | 42 | 30 | +| 41 | 0 | 41 | 30 | ## Client diff --git a/api_docs/apm_oss.mdx b/api_docs/apm_oss.mdx index e9598ba9fd3f0..2189cd5b43edd 100644 --- a/api_docs/apm_oss.mdx +++ b/api_docs/apm_oss.mdx @@ -12,7 +12,7 @@ import apmOssObj from './apm_oss.json'; -Contact APM UI for questions regarding this plugin. +Contact [APM UI](https://github.com/orgs/elastic/teams/apm-ui) for questions regarding this plugin. **Code health stats** diff --git a/api_docs/bfetch.json b/api_docs/bfetch.json index 2e42ea6066eee..c274b6a6d1ced 100644 --- a/api_docs/bfetch.json +++ b/api_docs/bfetch.json @@ -60,7 +60,7 @@ "children": [ { "parentPluginId": "bfetch", - "id": "def-public.payload", + "id": "def-public.BatchedFunc.$1", "type": "Uncategorized", "tags": [], "label": "payload", @@ -73,7 +73,7 @@ }, { "parentPluginId": "bfetch", - "id": "def-public.signal", + "id": "def-public.BatchedFunc.$2", "type": "Object", "tags": [], "label": "signal", @@ -277,7 +277,7 @@ "children": [ { "parentPluginId": "bfetch", - "id": "def-server.context", + "id": "def-server.StreamingRequestHandler.$1", "type": "Object", "tags": [], "label": "context", @@ -296,7 +296,7 @@ }, { "parentPluginId": "bfetch", - "id": "def-server.request", + "id": "def-server.StreamingRequestHandler.$2", "type": "Object", "tags": [], "label": "request", diff --git a/api_docs/canvas.json b/api_docs/canvas.json index ec511b19af93a..5bbd6d01afb20 100644 --- a/api_docs/canvas.json +++ b/api_docs/canvas.json @@ -92,7 +92,65 @@ "functions": [], "interfaces": [], "enums": [], - "misc": [], + "misc": [ + { + "parentPluginId": "canvas", + "id": "def-common.CANVAS_APP_LOCATOR", + "type": "string", + "tags": [], + "label": "CANVAS_APP_LOCATOR", + "description": [], + "signature": [ + "\"CANVAS_APP_LOCATOR\"" + ], + "path": "x-pack/plugins/canvas/common/locator.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "canvas", + "id": "def-common.CanvasAppLocator", + "type": "Type", + "tags": [], + "label": "CanvasAppLocator", + "description": [], + "signature": [ + { + "pluginId": "share", + "scope": "common", + "docId": "kibSharePluginApi", + "section": "def-common.LocatorPublic", + "text": "LocatorPublic" + }, + "<", + { + "pluginId": "canvas", + "scope": "common", + "docId": "kibCanvasPluginApi", + "section": "def-common.CanvasAppLocatorParams", + "text": "CanvasAppLocatorParams" + }, + ">" + ], + "path": "x-pack/plugins/canvas/common/locator.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "canvas", + "id": "def-common.CanvasAppLocatorParams", + "type": "Type", + "tags": [], + "label": "CanvasAppLocatorParams", + "description": [], + "signature": [ + "{ view: \"workpadPDF\"; id: string; page: number; }" + ], + "path": "x-pack/plugins/canvas/common/locator.ts", + "deprecated": false, + "initialIsOpen": false + } + ], "objects": [ { "parentPluginId": "canvas", diff --git a/api_docs/canvas.mdx b/api_docs/canvas.mdx index ad4bc2740342c..3d27f41576824 100644 --- a/api_docs/canvas.mdx +++ b/api_docs/canvas.mdx @@ -18,7 +18,7 @@ Contact [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-prese | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 6 | 0 | 5 | 3 | +| 9 | 0 | 8 | 3 | ## Client @@ -36,3 +36,6 @@ Contact [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-prese ### Objects +### Consts, variables and types + + diff --git a/api_docs/cases.json b/api_docs/cases.json index d635ddce46102..02ea5df201e0d 100644 --- a/api_docs/cases.json +++ b/api_docs/cases.json @@ -2800,7 +2800,7 @@ "label": "actionField", "description": [], "signature": [ - "(\"status\" | \"description\" | \"title\" | \"comment\" | \"tags\" | \"settings\" | \"owner\" | \"connector\" | \"pushed\" | \"sub_case\")[]" + "(\"status\" | \"description\" | \"title\" | \"tags\" | \"comment\" | \"settings\" | \"owner\" | \"connector\" | \"pushed\" | \"sub_case\")[]" ], "path": "x-pack/plugins/cases/common/ui/types.ts", "deprecated": false @@ -6359,7 +6359,7 @@ "label": "CaseUserActionAttributes", "description": [], "signature": [ - "{ action_field: (\"status\" | \"description\" | \"title\" | \"comment\" | \"tags\" | \"settings\" | \"owner\" | \"connector\" | \"pushed\" | \"sub_case\")[]; action: \"add\" | \"delete\" | \"create\" | \"update\" | \"push-to-service\"; action_at: string; action_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; }; new_value: string | null; old_value: string | null; owner: string; }" + "{ action_field: (\"status\" | \"description\" | \"title\" | \"tags\" | \"comment\" | \"settings\" | \"owner\" | \"connector\" | \"pushed\" | \"sub_case\")[]; action: \"add\" | \"delete\" | \"create\" | \"update\" | \"push-to-service\"; action_at: string; action_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; }; new_value: string | null; old_value: string | null; owner: string; }" ], "path": "x-pack/plugins/cases/common/api/cases/user_actions.ts", "deprecated": false, @@ -6373,7 +6373,7 @@ "label": "CaseUserActionResponse", "description": [], "signature": [ - "{ action_field: (\"status\" | \"description\" | \"title\" | \"comment\" | \"tags\" | \"settings\" | \"owner\" | \"connector\" | \"pushed\" | \"sub_case\")[]; action: \"add\" | \"delete\" | \"create\" | \"update\" | \"push-to-service\"; action_at: string; action_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; }; new_value: string | null; old_value: string | null; owner: string; } & { action_id: string; case_id: string; comment_id: string | null; } & { sub_case_id?: string | undefined; }" + "{ action_field: (\"status\" | \"description\" | \"title\" | \"tags\" | \"comment\" | \"settings\" | \"owner\" | \"connector\" | \"pushed\" | \"sub_case\")[]; action: \"add\" | \"delete\" | \"create\" | \"update\" | \"push-to-service\"; action_at: string; action_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; }; new_value: string | null; old_value: string | null; owner: string; } & { action_id: string; case_id: string; comment_id: string | null; } & { sub_case_id?: string | undefined; }" ], "path": "x-pack/plugins/cases/common/api/cases/user_actions.ts", "deprecated": false, @@ -6387,7 +6387,7 @@ "label": "CaseUserActionsResponse", "description": [], "signature": [ - "({ action_field: (\"status\" | \"description\" | \"title\" | \"comment\" | \"tags\" | \"settings\" | \"owner\" | \"connector\" | \"pushed\" | \"sub_case\")[]; action: \"add\" | \"delete\" | \"create\" | \"update\" | \"push-to-service\"; action_at: string; action_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; }; new_value: string | null; old_value: string | null; owner: string; } & { action_id: string; case_id: string; comment_id: string | null; } & { sub_case_id?: string | undefined; })[]" + "({ action_field: (\"status\" | \"description\" | \"title\" | \"tags\" | \"comment\" | \"settings\" | \"owner\" | \"connector\" | \"pushed\" | \"sub_case\")[]; action: \"add\" | \"delete\" | \"create\" | \"update\" | \"push-to-service\"; action_at: string; action_by: { email: string | null | undefined; full_name: string | null | undefined; username: string | null | undefined; }; new_value: string | null; old_value: string | null; owner: string; } & { action_id: string; case_id: string; comment_id: string | null; } & { sub_case_id?: string | undefined; })[]" ], "path": "x-pack/plugins/cases/common/api/cases/user_actions.ts", "deprecated": false, @@ -8108,7 +8108,7 @@ "label": "UserActionField", "description": [], "signature": [ - "(\"status\" | \"description\" | \"title\" | \"comment\" | \"tags\" | \"settings\" | \"owner\" | \"connector\" | \"pushed\" | \"sub_case\")[]" + "(\"status\" | \"description\" | \"title\" | \"tags\" | \"comment\" | \"settings\" | \"owner\" | \"connector\" | \"pushed\" | \"sub_case\")[]" ], "path": "x-pack/plugins/cases/common/api/cases/user_actions.ts", "deprecated": false, @@ -8122,7 +8122,7 @@ "label": "UserActionFieldType", "description": [], "signature": [ - "\"status\" | \"description\" | \"title\" | \"comment\" | \"tags\" | \"settings\" | \"owner\" | \"connector\" | \"pushed\" | \"sub_case\"" + "\"status\" | \"description\" | \"title\" | \"tags\" | \"comment\" | \"settings\" | \"owner\" | \"connector\" | \"pushed\" | \"sub_case\"" ], "path": "x-pack/plugins/cases/common/api/cases/user_actions.ts", "deprecated": false, diff --git a/api_docs/charts.json b/api_docs/charts.json index eea87223f2e18..ba8751304f710 100644 --- a/api_docs/charts.json +++ b/api_docs/charts.json @@ -529,7 +529,7 @@ "children": [ { "parentPluginId": "charts", - "id": "def-public.props", + "id": "def-public.LegendToggle.$1", "type": "Uncategorized", "tags": [], "label": "props", @@ -1641,7 +1641,7 @@ }, { "parentPluginId": "charts", - "id": "def-public.PaletteDefinition.getColorForValue.$3.minmax", + "id": "def-public.PaletteDefinition.getColorForValue.$3", "type": "Object", "tags": [], "label": "{ min, max }", @@ -1651,7 +1651,7 @@ "children": [ { "parentPluginId": "charts", - "id": "def-public.PaletteDefinition.getColorForValue.$3.minmax.min", + "id": "def-public.PaletteDefinition.getColorForValue.$3.min", "type": "number", "tags": [], "label": "min", @@ -1661,7 +1661,7 @@ }, { "parentPluginId": "charts", - "id": "def-public.PaletteDefinition.getColorForValue.$3.minmax.max", + "id": "def-public.PaletteDefinition.getColorForValue.$3.max", "type": "number", "tags": [], "label": "max", diff --git a/api_docs/charts.mdx b/api_docs/charts.mdx index 31f7e40b23d0a..38c52bb1e44e2 100644 --- a/api_docs/charts.mdx +++ b/api_docs/charts.mdx @@ -12,7 +12,7 @@ import chartsObj from './charts.json'; -Contact [Kibana App](https://github.com/orgs/elastic/teams/kibana-app) for questions regarding this plugin. +Contact [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) for questions regarding this plugin. **Code health stats** diff --git a/api_docs/cloud.json b/api_docs/cloud.json index 660c9c1555653..6c6dbf6f48003 100644 --- a/api_docs/cloud.json +++ b/api_docs/cloud.json @@ -200,6 +200,19 @@ "path": "x-pack/plugins/cloud/public/plugin.ts", "deprecated": false }, + { + "parentPluginId": "cloud", + "id": "def-public.CloudSetup.snapshotsUrl", + "type": "string", + "tags": [], + "label": "snapshotsUrl", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "x-pack/plugins/cloud/public/plugin.ts", + "deprecated": false + }, { "parentPluginId": "cloud", "id": "def-public.CloudSetup.isCloudEnabled", diff --git a/api_docs/cloud.mdx b/api_docs/cloud.mdx index 001bcf9d77a82..393e9f27562df 100644 --- a/api_docs/cloud.mdx +++ b/api_docs/cloud.mdx @@ -18,7 +18,7 @@ Contact [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) for que | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 21 | 0 | 21 | 0 | +| 22 | 0 | 22 | 0 | ## Client diff --git a/api_docs/console.json b/api_docs/console.json index 9c40a292c8695..b62897e6194cb 100644 --- a/api_docs/console.json +++ b/api_docs/console.json @@ -48,9 +48,25 @@ "section": "def-public.CoreSetup", "text": "CoreSetup" }, - ", { devTools, home, usageCollection }: ", + ", { devTools, home, share, usageCollection }: ", "AppSetupUIPluginDependencies", - ") => void" + ") => { locator: ", + { + "pluginId": "share", + "scope": "common", + "docId": "kibSharePluginApi", + "section": "def-common.LocatorPublic", + "text": "LocatorPublic" + }, + "<", + { + "pluginId": "console", + "scope": "public", + "docId": "kibConsolePluginApi", + "section": "def-public.ConsoleUILocatorParams", + "text": "ConsoleUILocatorParams" + }, + ">; }" ], "path": "src/plugins/console/public/plugin.ts", "deprecated": false, @@ -81,7 +97,7 @@ "id": "def-public.ConsoleUIPlugin.setup.$2", "type": "Object", "tags": [], - "label": "{ devTools, home, usageCollection }", + "label": "{ devTools, home, share, usageCollection }", "description": [], "signature": [ "AppSetupUIPluginDependencies" @@ -113,7 +129,45 @@ } ], "functions": [], - "interfaces": [], + "interfaces": [ + { + "parentPluginId": "console", + "id": "def-public.ConsoleUILocatorParams", + "type": "Interface", + "tags": [], + "label": "ConsoleUILocatorParams", + "description": [], + "signature": [ + { + "pluginId": "console", + "scope": "public", + "docId": "kibConsolePluginApi", + "section": "def-public.ConsoleUILocatorParams", + "text": "ConsoleUILocatorParams" + }, + " extends ", + "SerializableRecord" + ], + "path": "src/plugins/console/public/plugin.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "console", + "id": "def-public.ConsoleUILocatorParams.loadFrom", + "type": "string", + "tags": [], + "label": "loadFrom", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/console/public/plugin.ts", + "deprecated": false + } + ], + "initialIsOpen": false + } + ], "enums": [], "misc": [], "objects": [] diff --git a/api_docs/console.mdx b/api_docs/console.mdx index 9c91b5fac00de..a29962083727d 100644 --- a/api_docs/console.mdx +++ b/api_docs/console.mdx @@ -18,13 +18,16 @@ Contact [Stack Management](https://github.com/orgs/elastic/teams/kibana-stack-ma | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 7 | 0 | 7 | 1 | +| 9 | 0 | 9 | 1 | ## Client ### Classes +### Interfaces + + ## Server ### Setup diff --git a/api_docs/core.json b/api_docs/core.json index 93a84eb38f5c6..2e9e92cced3e9 100644 --- a/api_docs/core.json +++ b/api_docs/core.json @@ -47,7 +47,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-public.ToastsApi.Unnamed.$1.deps", + "id": "def-public.ToastsApi.Unnamed.$1", "type": "Object", "tags": [], "label": "deps", @@ -57,7 +57,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-public.ToastsApi.Unnamed.$1.deps.uiSettings", + "id": "def-public.ToastsApi.Unnamed.$1.uiSettings", "type": "Object", "tags": [], "label": "uiSettings", @@ -1620,7 +1620,7 @@ "label": "links", "description": [], "signature": [ - "{ readonly settings: string; readonly canvas: { readonly guide: string; }; readonly dashboard: { readonly guide: string; readonly drilldowns: string; readonly drilldownsTriggerPicker: string; readonly urlDrilldownTemplateSyntax: string; readonly urlDrilldownVariables: string; }; readonly discover: Record; readonly filebeat: { readonly base: string; readonly installation: string; readonly configuration: string; readonly elasticsearchOutput: string; readonly elasticsearchModule: string; readonly startup: string; readonly exportedFields: string; readonly suricataModule: string; readonly zeekModule: string; }; readonly auditbeat: { readonly base: string; readonly auditdModule: string; readonly systemModule: string; }; readonly metricbeat: { readonly base: string; readonly configure: string; readonly httpEndpoint: string; readonly install: string; readonly start: string; }; readonly enterpriseSearch: { readonly base: string; readonly appSearchBase: string; readonly workplaceSearchBase: string; }; readonly heartbeat: { readonly base: string; }; readonly libbeat: { readonly getStarted: string; }; readonly logstash: { readonly base: string; }; readonly functionbeat: { readonly base: string; }; readonly winlogbeat: { readonly base: string; }; readonly aggs: { readonly composite: string; readonly composite_missing_bucket: string; readonly date_histogram: string; readonly date_range: string; readonly date_format_pattern: string; readonly filter: string; readonly filters: string; readonly geohash_grid: string; readonly histogram: string; readonly ip_range: string; readonly range: string; readonly significant_terms: string; readonly terms: string; readonly avg: string; readonly avg_bucket: string; readonly max_bucket: string; readonly min_bucket: string; readonly sum_bucket: string; readonly cardinality: string; readonly count: string; readonly cumulative_sum: string; readonly derivative: string; readonly geo_bounds: string; readonly geo_centroid: string; readonly max: string; readonly median: string; readonly min: string; readonly moving_avg: string; readonly percentile_ranks: string; readonly serial_diff: string; readonly std_dev: string; readonly sum: string; readonly top_hits: string; }; readonly runtimeFields: { readonly overview: string; readonly mapping: string; }; readonly scriptedFields: { readonly scriptFields: string; readonly scriptAggs: string; readonly painless: string; readonly painlessApi: string; readonly painlessLangSpec: string; readonly painlessSyntax: string; readonly painlessWalkthrough: string; readonly luceneExpressions: string; }; readonly search: { readonly sessions: string; readonly sessionLimits: string; }; readonly indexPatterns: { readonly introduction: string; readonly fieldFormattersNumber: string; readonly fieldFormattersString: string; readonly runtimeFields: string; }; readonly addData: string; readonly kibana: string; readonly upgradeAssistant: string; readonly rollupJobs: string; readonly elasticsearch: Record; readonly siem: { readonly guide: string; readonly gettingStarted: string; readonly ml: string; readonly ruleChangeLog: string; readonly detectionsReq: string; readonly networkMap: string; }; readonly query: { readonly eql: string; readonly kueryQuerySyntax: string; readonly luceneQuerySyntax: string; readonly percolate: string; readonly queryDsl: string; readonly autocompleteChanges: string; }; readonly date: { readonly dateMath: string; readonly dateMathIndexNames: string; }; readonly management: Record; readonly ml: Record; readonly transforms: Record; readonly visualize: Record; readonly apis: Readonly<{ bulkIndexAlias: string; byteSizeUnits: string; createAutoFollowPattern: string; createFollower: string; createIndex: string; createSnapshotLifecyclePolicy: string; createRoleMapping: string; createRoleMappingTemplates: string; createRollupJobsRequest: string; createApiKey: string; createPipeline: string; createTransformRequest: string; cronExpressions: string; executeWatchActionModes: string; indexExists: string; openIndex: string; putComponentTemplate: string; painlessExecute: string; painlessExecuteAPIContexts: string; putComponentTemplateMetadata: string; putSnapshotLifecyclePolicy: string; putIndexTemplateV1: string; putWatch: string; simulatePipeline: string; timeUnits: string; updateTransform: string; }>; readonly observability: Record; readonly alerting: Record; readonly maps: Record; readonly monitoring: Record; readonly security: Readonly<{ apiKeyServiceSettings: string; clusterPrivileges: string; elasticsearchSettings: string; elasticsearchEnableSecurity: string; indicesPrivileges: string; kibanaTLS: string; kibanaPrivileges: string; mappingRoles: string; mappingRolesFieldRules: string; runAsPrivilege: string; }>; readonly watcher: Record; readonly ccs: Record; readonly plugins: Record; readonly snapshotRestore: Record; readonly ingest: Record; readonly fleet: Readonly<{ guide: string; fleetServer: string; fleetServerAddFleetServer: string; settings: string; settingsFleetServerHostSettings: string; troubleshooting: string; elasticAgent: string; datastreams: string; datastreamsNamingScheme: string; upgradeElasticAgent: string; upgradeElasticAgent712lower: string; }>; readonly ecs: { readonly guide: string; }; }" + "{ readonly settings: string; readonly apm: { readonly kibanaSettings: string; readonly supportedServiceMaps: string; readonly customLinks: string; readonly droppedTransactionSpans: string; readonly upgrading: string; readonly metaData: string; }; readonly canvas: { readonly guide: string; }; readonly dashboard: { readonly guide: string; readonly drilldowns: string; readonly drilldownsTriggerPicker: string; readonly urlDrilldownTemplateSyntax: string; readonly urlDrilldownVariables: string; }; readonly discover: Record; readonly filebeat: { readonly base: string; readonly installation: string; readonly configuration: string; readonly elasticsearchOutput: string; readonly elasticsearchModule: string; readonly startup: string; readonly exportedFields: string; readonly suricataModule: string; readonly zeekModule: string; }; readonly auditbeat: { readonly base: string; readonly auditdModule: string; readonly systemModule: string; }; readonly metricbeat: { readonly base: string; readonly configure: string; readonly httpEndpoint: string; readonly install: string; readonly start: string; }; readonly enterpriseSearch: { readonly base: string; readonly appSearchBase: string; readonly workplaceSearchBase: string; }; readonly heartbeat: { readonly base: string; }; readonly libbeat: { readonly getStarted: string; }; readonly logstash: { readonly base: string; }; readonly functionbeat: { readonly base: string; }; readonly winlogbeat: { readonly base: string; }; readonly aggs: { readonly composite: string; readonly composite_missing_bucket: string; readonly date_histogram: string; readonly date_range: string; readonly date_format_pattern: string; readonly filter: string; readonly filters: string; readonly geohash_grid: string; readonly histogram: string; readonly ip_range: string; readonly range: string; readonly significant_terms: string; readonly terms: string; readonly avg: string; readonly avg_bucket: string; readonly max_bucket: string; readonly min_bucket: string; readonly sum_bucket: string; readonly cardinality: string; readonly count: string; readonly cumulative_sum: string; readonly derivative: string; readonly geo_bounds: string; readonly geo_centroid: string; readonly max: string; readonly median: string; readonly min: string; readonly moving_avg: string; readonly percentile_ranks: string; readonly serial_diff: string; readonly std_dev: string; readonly sum: string; readonly top_hits: string; }; readonly runtimeFields: { readonly overview: string; readonly mapping: string; }; readonly scriptedFields: { readonly scriptFields: string; readonly scriptAggs: string; readonly painless: string; readonly painlessApi: string; readonly painlessLangSpec: string; readonly painlessSyntax: string; readonly painlessWalkthrough: string; readonly luceneExpressions: string; }; readonly search: { readonly sessions: string; readonly sessionLimits: string; }; readonly indexPatterns: { readonly introduction: string; readonly fieldFormattersNumber: string; readonly fieldFormattersString: string; readonly runtimeFields: string; }; readonly addData: string; readonly kibana: string; readonly upgradeAssistant: string; readonly rollupJobs: string; readonly elasticsearch: Record; readonly siem: { readonly privileges: string; readonly guide: string; readonly gettingStarted: string; readonly ml: string; readonly ruleChangeLog: string; readonly detectionsReq: string; readonly networkMap: string; }; readonly query: { readonly eql: string; readonly kueryQuerySyntax: string; readonly luceneQuerySyntax: string; readonly percolate: string; readonly queryDsl: string; readonly autocompleteChanges: string; }; readonly date: { readonly dateMath: string; readonly dateMathIndexNames: string; }; readonly management: Record; readonly ml: Record; readonly transforms: Record; readonly visualize: Record; readonly apis: Readonly<{ bulkIndexAlias: string; byteSizeUnits: string; createAutoFollowPattern: string; createFollower: string; createIndex: string; createSnapshotLifecyclePolicy: string; createRoleMapping: string; createRoleMappingTemplates: string; createRollupJobsRequest: string; createApiKey: string; createPipeline: string; createTransformRequest: string; cronExpressions: string; executeWatchActionModes: string; indexExists: string; openIndex: string; putComponentTemplate: string; painlessExecute: string; painlessExecuteAPIContexts: string; putComponentTemplateMetadata: string; putSnapshotLifecyclePolicy: string; putIndexTemplateV1: string; putWatch: string; simulatePipeline: string; timeUnits: string; updateTransform: string; }>; readonly observability: Record; readonly alerting: Record; readonly maps: Record; readonly monitoring: Record; readonly security: Readonly<{ apiKeyServiceSettings: string; clusterPrivileges: string; elasticsearchSettings: string; elasticsearchEnableSecurity: string; indicesPrivileges: string; kibanaTLS: string; kibanaPrivileges: string; mappingRoles: string; mappingRolesFieldRules: string; runAsPrivilege: string; }>; readonly watcher: Record; readonly ccs: Record; readonly plugins: Record; readonly snapshotRestore: Record; readonly ingest: Record; readonly fleet: Readonly<{ guide: string; fleetServer: string; fleetServerAddFleetServer: string; settings: string; settingsFleetServerHostSettings: string; troubleshooting: string; elasticAgent: string; datastreams: string; datastreamsNamingScheme: string; upgradeElasticAgent: string; upgradeElasticAgent712lower: string; }>; readonly ecs: { readonly guide: string; }; }" ], "path": "src/core/public/doc_links/doc_links_service.ts", "deprecated": false @@ -1929,7 +1929,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-public.I18nStart.Context.$1.children", + "id": "def-public.I18nStart.Context.$1", "type": "Object", "tags": [], "label": "{ children }", @@ -1939,7 +1939,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-public.I18nStart.Context.$1.children.children", + "id": "def-public.I18nStart.Context.$1.children", "type": "CompoundType", "tags": [], "label": "children", @@ -3703,7 +3703,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-public.mount", + "id": "def-public.OverlayStart.openFlyout.$1", "type": "Function", "tags": [], "label": "mount", @@ -3724,7 +3724,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-public.element", + "id": "def-public.OverlayStart.openFlyout.$1.$1", "type": "Uncategorized", "tags": [], "label": "element", @@ -3739,7 +3739,7 @@ }, { "parentPluginId": "core", - "id": "def-public.options", + "id": "def-public.OverlayStart.openFlyout.$2", "type": "Object", "tags": [], "label": "options", @@ -3800,7 +3800,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-public.mount", + "id": "def-public.OverlayStart.openModal.$1", "type": "Function", "tags": [], "label": "mount", @@ -3821,7 +3821,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-public.element", + "id": "def-public.OverlayStart.openModal.$1.$1", "type": "Uncategorized", "tags": [], "label": "element", @@ -3836,7 +3836,7 @@ }, { "parentPluginId": "core", - "id": "def-public.options", + "id": "def-public.OverlayStart.openModal.$2", "type": "Object", "tags": [], "label": "options", @@ -3890,7 +3890,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-public.message", + "id": "def-public.OverlayStart.openConfirm.$1", "type": "CompoundType", "tags": [], "label": "message", @@ -3911,7 +3911,7 @@ }, { "parentPluginId": "core", - "id": "def-public.options", + "id": "def-public.OverlayStart.openConfirm.$2", "type": "Object", "tags": [], "label": "options", @@ -6472,7 +6472,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-public.element", + "id": "def-public.MountPoint.$1", "type": "Uncategorized", "tags": [], "label": "element", @@ -6530,7 +6530,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-public.core", + "id": "def-public.PluginInitializer.$1", "type": "Object", "tags": [], "label": "core", @@ -7555,7 +7555,7 @@ "label": "rawConfig", "description": [], "signature": [ - "Readonly<{ username?: string | undefined; password?: string | undefined; serviceAccountToken?: string | undefined; } & { ssl: Readonly<{ key?: string | undefined; certificate?: string | undefined; certificateAuthorities?: string | string[] | undefined; keyPassphrase?: string | undefined; } & { verificationMode: \"none\" | \"certificate\" | \"full\"; keystore: Readonly<{ path?: string | undefined; password?: string | undefined; } & {}>; truststore: Readonly<{ path?: string | undefined; password?: string | undefined; } & {}>; alwaysPresentCertificate: boolean; }>; hosts: string | string[]; requestTimeout: moment.Duration; sniffOnStart: boolean; sniffInterval: false | moment.Duration; sniffOnConnectionFault: boolean; requestHeadersWhitelist: string | string[]; customHeaders: Record; shardTimeout: moment.Duration; pingTimeout: moment.Duration; logQueries: boolean; apiVersion: string; healthCheck: Readonly<{} & { delay: moment.Duration; }>; ignoreVersionMismatch: boolean; }>" + "Readonly<{ username?: string | undefined; password?: string | undefined; serviceAccountToken?: string | undefined; } & { ssl: Readonly<{ key?: string | undefined; certificate?: string | undefined; certificateAuthorities?: string | string[] | undefined; keyPassphrase?: string | undefined; } & { verificationMode: \"none\" | \"certificate\" | \"full\"; keystore: Readonly<{ path?: string | undefined; password?: string | undefined; } & {}>; truststore: Readonly<{ path?: string | undefined; password?: string | undefined; } & {}>; alwaysPresentCertificate: boolean; }>; hosts: string | string[]; requestTimeout: moment.Duration; sniffOnStart: boolean; sniffInterval: false | moment.Duration; sniffOnConnectionFault: boolean; requestHeadersWhitelist: string | string[]; customHeaders: Record; shardTimeout: moment.Duration; pingTimeout: moment.Duration; logQueries: boolean; apiVersion: string; healthCheck: Readonly<{} & { delay: moment.Duration; }>; ignoreVersionMismatch: boolean; skipStartupConnectionCheck: boolean; }>" ], "path": "src/core/server/elasticsearch/elasticsearch_config.ts", "deprecated": false, @@ -9190,13 +9190,27 @@ "path": "src/core/server/deprecations/types.ts", "deprecated": false, "children": [ + { + "parentPluginId": "core", + "id": "def-server.DeprecationsDetails.title", + "type": "string", + "tags": [], + "label": "title", + "description": [ + "\nThe title of the deprecation.\nCheck the README for writing deprecations in `src/core/server/deprecations/README.mdx`" + ], + "path": "src/core/server/deprecations/types.ts", + "deprecated": false + }, { "parentPluginId": "core", "id": "def-server.DeprecationsDetails.message", "type": "string", "tags": [], "label": "message", - "description": [], + "description": [ + "\nThe description message to be displayed for the deprecation.\nCheck the README for writing deprecations in `src/core/server/deprecations/README.mdx`" + ], "path": "src/core/server/deprecations/types.ts", "deprecated": false }, @@ -11262,7 +11276,7 @@ "signature": [ "Pick<", "KibanaClient", - ", \"get\" | \"delete\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"count\" | \"search\" | \"security\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"monitoring\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\"> & { transport: { request(params: ", + ", \"get\" | \"delete\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"security\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"monitoring\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\"> & { transport: { request(params: ", "TransportRequestParams", ", options?: ", "TransportRequestOptions", @@ -12376,7 +12390,7 @@ "signature": [ "Pick<", "KibanaClient", - ", \"get\" | \"delete\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"count\" | \"search\" | \"security\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"monitoring\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\"> & { transport: { request(params: ", + ", \"get\" | \"delete\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"security\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"monitoring\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\"> & { transport: { request(params: ", "TransportRequestParams", ", options?: ", "TransportRequestOptions", @@ -12401,7 +12415,7 @@ "signature": [ "Pick<", "KibanaClient", - ", \"get\" | \"delete\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"count\" | \"search\" | \"security\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"monitoring\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\"> & { transport: { request(params: ", + ", \"get\" | \"delete\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"security\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"monitoring\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\"> & { transport: { request(params: ", "TransportRequestParams", ", options?: ", "TransportRequestOptions", @@ -16041,7 +16055,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.details", + "id": "def-server.AddConfigDeprecation.$1", "type": "Object", "tags": [], "label": "details", @@ -16145,7 +16159,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.request", + "id": "def-server.CapabilitiesSwitcher.$1", "type": "Object", "tags": [], "label": "request", @@ -16165,7 +16179,7 @@ }, { "parentPluginId": "core", - "id": "def-server.uiCapabilities", + "id": "def-server.CapabilitiesSwitcher.$2", "type": "Object", "tags": [], "label": "uiCapabilities", @@ -16178,7 +16192,7 @@ }, { "parentPluginId": "core", - "id": "def-server.useDefaultCapabilities", + "id": "def-server.CapabilitiesSwitcher.$3", "type": "boolean", "tags": [], "label": "useDefaultCapabilities", @@ -16211,7 +16225,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.factory", + "id": "def-server.ConfigDeprecationProvider.$1", "type": "Object", "tags": [], "label": "factory", @@ -16388,7 +16402,7 @@ "signature": [ "Pick<", "KibanaClient", - ", \"get\" | \"delete\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"count\" | \"search\" | \"security\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"monitoring\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\"> & { transport: { request(params: ", + ", \"get\" | \"delete\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"security\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"monitoring\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\"> & { transport: { request(params: ", "TransportRequestParams", ", options?: ", "TransportRequestOptions", @@ -16488,7 +16502,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.context", + "id": "def-server.HandlerFunction.$1", "type": "Uncategorized", "tags": [], "label": "context", @@ -16501,7 +16515,7 @@ }, { "parentPluginId": "core", - "id": "def-server.args", + "id": "def-server.HandlerFunction.$2", "type": "Array", "tags": [], "label": "args", @@ -16757,7 +16771,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.context", + "id": "def-server.HttpResourcesRequestHandler.$1", "type": "Uncategorized", "tags": [], "label": "context", @@ -16770,7 +16784,7 @@ }, { "parentPluginId": "core", - "id": "def-server.request", + "id": "def-server.HttpResourcesRequestHandler.$2", "type": "Object", "tags": [], "label": "request", @@ -16790,7 +16804,7 @@ }, { "parentPluginId": "core", - "id": "def-server.response", + "id": "def-server.HttpResourcesRequestHandler.$3", "type": "Uncategorized", "tags": [], "label": "response", @@ -17028,7 +17042,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.context", + "id": "def-server.IContextProvider.$1", "type": "Object", "tags": [], "label": "context", @@ -17043,7 +17057,7 @@ }, { "parentPluginId": "core", - "id": "def-server.rest", + "id": "def-server.IContextProvider.$2", "type": "Object", "tags": [], "label": "rest", @@ -17285,7 +17299,7 @@ "signature": [ "Pick<", "EcsBase", - ", \"labels\" | \"tags\"> & ", + ", \"tags\" | \"labels\"> & ", "EcsTracing", " & { agent?: ", "EcsAgent", @@ -17468,7 +17482,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.core", + "id": "def-server.PluginInitializer.$1", "type": "Object", "tags": [], "label": "core", diff --git a/api_docs/core.mdx b/api_docs/core.mdx index 0f8e650899570..d4c746e9fa575 100644 --- a/api_docs/core.mdx +++ b/api_docs/core.mdx @@ -18,7 +18,7 @@ Contact [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) for que | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 2246 | 27 | 998 | 30 | +| 2249 | 27 | 997 | 30 | ## Client diff --git a/api_docs/core_application.json b/api_docs/core_application.json index 66df68f065e2f..35c12330898fb 100644 --- a/api_docs/core_application.json +++ b/api_docs/core_application.json @@ -444,7 +444,7 @@ }, { "parentPluginId": "core", - "id": "def-public.ScopedHistory.createHref.$2.prependBasePathtrue", + "id": "def-public.ScopedHistory.createHref.$2", "type": "Object", "tags": [], "label": "{ prependBasePath = true }", @@ -454,7 +454,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-public.ScopedHistory.createHref.$2.prependBasePathtrue.prependBasePath", + "id": "def-public.ScopedHistory.createHref.$2.prependBasePath", "type": "CompoundType", "tags": [], "label": "prependBasePath", @@ -715,7 +715,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-public.params", + "id": "def-public.App.mount.$1", "type": "Object", "tags": [], "label": "params", @@ -1203,7 +1203,7 @@ }, { "parentPluginId": "core", - "id": "def-public.ApplicationStart.getUrlForApp.$2.options", + "id": "def-public.ApplicationStart.getUrlForApp.$2", "type": "Object", "tags": [], "label": "options", @@ -1213,7 +1213,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-public.ApplicationStart.getUrlForApp.$2.options.path", + "id": "def-public.ApplicationStart.getUrlForApp.$2.path", "type": "string", "tags": [], "label": "path", @@ -1226,7 +1226,7 @@ }, { "parentPluginId": "core", - "id": "def-public.ApplicationStart.getUrlForApp.$2.options.absolute", + "id": "def-public.ApplicationStart.getUrlForApp.$2.absolute", "type": "CompoundType", "tags": [], "label": "absolute", @@ -1239,7 +1239,7 @@ }, { "parentPluginId": "core", - "id": "def-public.ApplicationStart.getUrlForApp.$2.options.deepLinkId", + "id": "def-public.ApplicationStart.getUrlForApp.$2.deepLinkId", "type": "string", "tags": [], "label": "deepLinkId", @@ -1393,10 +1393,6 @@ "plugin": "kibanaOverview", "path": "src/plugins/kibana_overview/public/application.tsx" }, - { - "plugin": "timelion", - "path": "src/plugins/timelion/public/application.ts" - }, { "plugin": "management", "path": "src/plugins/management/target/types/public/application.d.ts" @@ -2004,7 +2000,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-public.factory", + "id": "def-public.AppLeaveHandler.$1", "type": "Object", "tags": [], "label": "factory", @@ -2017,7 +2013,7 @@ }, { "parentPluginId": "core", - "id": "def-public.nextAppId", + "id": "def-public.AppLeaveHandler.$2", "type": "string", "tags": [], "label": "nextAppId", @@ -2075,7 +2071,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-public.params", + "id": "def-public.AppMount.$1", "type": "Object", "tags": [], "label": "params", @@ -2188,7 +2184,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-public.app", + "id": "def-public.AppUpdater.$1", "type": "Object", "tags": [], "label": "app", diff --git a/api_docs/core_application.mdx b/api_docs/core_application.mdx index 61315ac1f840d..86de977df0b35 100644 --- a/api_docs/core_application.mdx +++ b/api_docs/core_application.mdx @@ -18,7 +18,7 @@ Contact [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) for que | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 2246 | 27 | 998 | 30 | +| 2249 | 27 | 997 | 30 | ## Client diff --git a/api_docs/core_chrome.json b/api_docs/core_chrome.json index 4706491d6efe2..e2404c6b386fc 100644 --- a/api_docs/core_chrome.json +++ b/api_docs/core_chrome.json @@ -570,7 +570,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-public.element", + "id": "def-public.ChromeNavControl.mount.$1", "type": "Uncategorized", "tags": [], "label": "element", @@ -1850,6 +1850,25 @@ } ], "returnComment": [] + }, + { + "parentPluginId": "core", + "id": "def-public.ChromeStart.hasHeaderBanner$", + "type": "Function", + "tags": [], + "label": "hasHeaderBanner$", + "description": [ + "\nGet an observable of the current header banner presence state." + ], + "signature": [ + "() => ", + "Observable", + "" + ], + "path": "src/core/public/chrome/types.ts", + "deprecated": false, + "children": [], + "returnComment": [] } ], "initialIsOpen": false @@ -1887,7 +1906,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-public.element", + "id": "def-public.ChromeUserBanner.content.$1", "type": "Uncategorized", "tags": [], "label": "element", diff --git a/api_docs/core_chrome.mdx b/api_docs/core_chrome.mdx index 9f2e1f7984b0c..45a2027591070 100644 --- a/api_docs/core_chrome.mdx +++ b/api_docs/core_chrome.mdx @@ -18,7 +18,7 @@ Contact [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) for que | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 2246 | 27 | 998 | 30 | +| 2249 | 27 | 997 | 30 | ## Client diff --git a/api_docs/core_http.json b/api_docs/core_http.json index 154aa16987ca3..5a20607b2ad84 100644 --- a/api_docs/core_http.json +++ b/api_docs/core_http.json @@ -3046,7 +3046,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.request", + "id": "def-server.HttpAuth.get.$1", "type": "Object", "tags": [], "label": "request", @@ -3092,7 +3092,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.request", + "id": "def-server.HttpAuth.isAuthenticated.$1", "type": "Object", "tags": [], "label": "request", @@ -4089,9 +4089,9 @@ " | null; (detailed: false): ", "PeerCertificate", " | null; (detailed?: boolean | undefined): ", - "DetailedPeerCertificate", - " | ", "PeerCertificate", + " | ", + "DetailedPeerCertificate", " | null; }" ], "path": "src/core/server/http/router/socket.ts", @@ -4127,9 +4127,9 @@ " | null; (detailed: false): ", "PeerCertificate", " | null; (detailed?: boolean | undefined): ", - "DetailedPeerCertificate", - " | ", "PeerCertificate", + " | ", + "DetailedPeerCertificate", " | null; }" ], "path": "src/core/server/http/router/socket.ts", @@ -4167,9 +4167,9 @@ " | null; (detailed: false): ", "PeerCertificate", " | null; (detailed?: boolean | undefined): ", - "DetailedPeerCertificate", - " | ", "PeerCertificate", + " | ", + "DetailedPeerCertificate", " | null; }" ], "path": "src/core/server/http/router/socket.ts", @@ -4230,7 +4230,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.IKibanaSocket.renegotiate.$1.options", + "id": "def-server.IKibanaSocket.renegotiate.$1", "type": "Object", "tags": [], "label": "options", @@ -4240,7 +4240,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.IKibanaSocket.renegotiate.$1.options.rejectUnauthorized", + "id": "def-server.IKibanaSocket.renegotiate.$1.rejectUnauthorized", "type": "CompoundType", "tags": [], "label": "rejectUnauthorized", @@ -4253,7 +4253,7 @@ }, { "parentPluginId": "core", - "id": "def-server.IKibanaSocket.renegotiate.$1.options.requestCert", + "id": "def-server.IKibanaSocket.renegotiate.$1.requestCert", "type": "CompoundType", "tags": [], "label": "requestCert", @@ -4546,7 +4546,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.route", + "id": "def-server.IRouter.get.$1", "type": "Object", "tags": [], "label": "route", @@ -4566,7 +4566,7 @@ }, { "parentPluginId": "core", - "id": "def-server.handler", + "id": "def-server.IRouter.get.$2", "type": "Function", "tags": [], "label": "handler", @@ -4778,7 +4778,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.context", + "id": "def-server.IRouter.get.$2.$1", "type": "Uncategorized", "tags": [], "label": "context", @@ -4791,7 +4791,7 @@ }, { "parentPluginId": "core", - "id": "def-server.request", + "id": "def-server.IRouter.get.$2.$2", "type": "Object", "tags": [], "label": "request", @@ -4811,7 +4811,7 @@ }, { "parentPluginId": "core", - "id": "def-server.response", + "id": "def-server.IRouter.get.$2.$3", "type": "Uncategorized", "tags": [], "label": "response", @@ -5034,7 +5034,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.route", + "id": "def-server.IRouter.post.$1", "type": "Object", "tags": [], "label": "route", @@ -5054,7 +5054,7 @@ }, { "parentPluginId": "core", - "id": "def-server.handler", + "id": "def-server.IRouter.post.$2", "type": "Function", "tags": [], "label": "handler", @@ -5266,7 +5266,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.context", + "id": "def-server.IRouter.post.$2.$1", "type": "Uncategorized", "tags": [], "label": "context", @@ -5279,7 +5279,7 @@ }, { "parentPluginId": "core", - "id": "def-server.request", + "id": "def-server.IRouter.post.$2.$2", "type": "Object", "tags": [], "label": "request", @@ -5299,7 +5299,7 @@ }, { "parentPluginId": "core", - "id": "def-server.response", + "id": "def-server.IRouter.post.$2.$3", "type": "Uncategorized", "tags": [], "label": "response", @@ -5522,7 +5522,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.route", + "id": "def-server.IRouter.put.$1", "type": "Object", "tags": [], "label": "route", @@ -5542,7 +5542,7 @@ }, { "parentPluginId": "core", - "id": "def-server.handler", + "id": "def-server.IRouter.put.$2", "type": "Function", "tags": [], "label": "handler", @@ -5754,7 +5754,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.context", + "id": "def-server.IRouter.put.$2.$1", "type": "Uncategorized", "tags": [], "label": "context", @@ -5767,7 +5767,7 @@ }, { "parentPluginId": "core", - "id": "def-server.request", + "id": "def-server.IRouter.put.$2.$2", "type": "Object", "tags": [], "label": "request", @@ -5787,7 +5787,7 @@ }, { "parentPluginId": "core", - "id": "def-server.response", + "id": "def-server.IRouter.put.$2.$3", "type": "Uncategorized", "tags": [], "label": "response", @@ -6010,7 +6010,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.route", + "id": "def-server.IRouter.patch.$1", "type": "Object", "tags": [], "label": "route", @@ -6030,7 +6030,7 @@ }, { "parentPluginId": "core", - "id": "def-server.handler", + "id": "def-server.IRouter.patch.$2", "type": "Function", "tags": [], "label": "handler", @@ -6242,7 +6242,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.context", + "id": "def-server.IRouter.patch.$2.$1", "type": "Uncategorized", "tags": [], "label": "context", @@ -6255,7 +6255,7 @@ }, { "parentPluginId": "core", - "id": "def-server.request", + "id": "def-server.IRouter.patch.$2.$2", "type": "Object", "tags": [], "label": "request", @@ -6275,7 +6275,7 @@ }, { "parentPluginId": "core", - "id": "def-server.response", + "id": "def-server.IRouter.patch.$2.$3", "type": "Uncategorized", "tags": [], "label": "response", @@ -6498,7 +6498,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.route", + "id": "def-server.IRouter.delete.$1", "type": "Object", "tags": [], "label": "route", @@ -6518,7 +6518,7 @@ }, { "parentPluginId": "core", - "id": "def-server.handler", + "id": "def-server.IRouter.delete.$2", "type": "Function", "tags": [], "label": "handler", @@ -6730,7 +6730,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.context", + "id": "def-server.IRouter.delete.$2.$1", "type": "Uncategorized", "tags": [], "label": "context", @@ -6743,7 +6743,7 @@ }, { "parentPluginId": "core", - "id": "def-server.request", + "id": "def-server.IRouter.delete.$2.$2", "type": "Object", "tags": [], "label": "request", @@ -6763,7 +6763,7 @@ }, { "parentPluginId": "core", - "id": "def-server.response", + "id": "def-server.IRouter.delete.$2.$3", "type": "Uncategorized", "tags": [], "label": "response", @@ -7184,7 +7184,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.handler", + "id": "def-server.IRouter.handleLegacyErrors.$1", "type": "Function", "tags": [], "label": "handler", @@ -7222,7 +7222,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.context", + "id": "def-server.IRouter.handleLegacyErrors.$1.$1", "type": "Uncategorized", "tags": [], "label": "context", @@ -7235,7 +7235,7 @@ }, { "parentPluginId": "core", - "id": "def-server.request", + "id": "def-server.IRouter.handleLegacyErrors.$1.$2", "type": "Object", "tags": [], "label": "request", @@ -7255,7 +7255,7 @@ }, { "parentPluginId": "core", - "id": "def-server.response", + "id": "def-server.IRouter.handleLegacyErrors.$1.$3", "type": "Uncategorized", "tags": [], "label": "response", @@ -7389,7 +7389,7 @@ "section": "def-server.RouteConfigOptions", "text": "RouteConfigOptions" }, - ", \"timeout\" | \"tags\" | \"authRequired\" | \"xsrfRequired\">> : Required<", + ", \"tags\" | \"timeout\" | \"authRequired\" | \"xsrfRequired\">> : Required<", { "pluginId": "core", "scope": "server", @@ -8833,7 +8833,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.request", + "id": "def-server.AuthenticationHandler.$1", "type": "Object", "tags": [], "label": "request", @@ -8853,7 +8853,7 @@ }, { "parentPluginId": "core", - "id": "def-server.response", + "id": "def-server.AuthenticationHandler.$2", "type": "Object", "tags": [], "label": "response", @@ -8994,7 +8994,7 @@ }, { "parentPluginId": "core", - "id": "def-server.toolkit", + "id": "def-server.AuthenticationHandler.$3", "type": "Object", "tags": [], "label": "toolkit", @@ -9112,7 +9112,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.request", + "id": "def-server.GetAuthHeaders.$1", "type": "Object", "tags": [], "label": "request", @@ -9167,7 +9167,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.request", + "id": "def-server.GetAuthState.$1", "type": "Object", "tags": [], "label": "request", @@ -9280,7 +9280,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.request", + "id": "def-server.IsAuthenticated.$1", "type": "Object", "tags": [], "label": "request", @@ -9327,7 +9327,7 @@ "section": "def-server.RouteConfigOptions", "text": "RouteConfigOptions" }, - ", \"timeout\" | \"tags\" | \"authRequired\" | \"xsrfRequired\">> : Required<", + ", \"tags\" | \"timeout\" | \"authRequired\" | \"xsrfRequired\">> : Required<", { "pluginId": "core", "scope": "server", @@ -9857,7 +9857,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.request", + "id": "def-server.OnPostAuthHandler.$1", "type": "Object", "tags": [], "label": "request", @@ -9877,7 +9877,7 @@ }, { "parentPluginId": "core", - "id": "def-server.response", + "id": "def-server.OnPostAuthHandler.$2", "type": "Object", "tags": [], "label": "response", @@ -10018,7 +10018,7 @@ }, { "parentPluginId": "core", - "id": "def-server.toolkit", + "id": "def-server.OnPostAuthHandler.$3", "type": "Object", "tags": [], "label": "toolkit", @@ -10204,7 +10204,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.request", + "id": "def-server.OnPreAuthHandler.$1", "type": "Object", "tags": [], "label": "request", @@ -10224,7 +10224,7 @@ }, { "parentPluginId": "core", - "id": "def-server.response", + "id": "def-server.OnPreAuthHandler.$2", "type": "Object", "tags": [], "label": "response", @@ -10365,7 +10365,7 @@ }, { "parentPluginId": "core", - "id": "def-server.toolkit", + "id": "def-server.OnPreAuthHandler.$3", "type": "Object", "tags": [], "label": "toolkit", @@ -10427,7 +10427,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.request", + "id": "def-server.OnPreResponseHandler.$1", "type": "Object", "tags": [], "label": "request", @@ -10447,7 +10447,7 @@ }, { "parentPluginId": "core", - "id": "def-server.preResponse", + "id": "def-server.OnPreResponseHandler.$2", "type": "Object", "tags": [], "label": "preResponse", @@ -10466,7 +10466,7 @@ }, { "parentPluginId": "core", - "id": "def-server.toolkit", + "id": "def-server.OnPreResponseHandler.$3", "type": "Object", "tags": [], "label": "toolkit", @@ -10652,7 +10652,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.request", + "id": "def-server.OnPreRoutingHandler.$1", "type": "Object", "tags": [], "label": "request", @@ -10672,7 +10672,7 @@ }, { "parentPluginId": "core", - "id": "def-server.response", + "id": "def-server.OnPreRoutingHandler.$2", "type": "Object", "tags": [], "label": "response", @@ -10813,7 +10813,7 @@ }, { "parentPluginId": "core", - "id": "def-server.toolkit", + "id": "def-server.OnPreRoutingHandler.$3", "type": "Object", "tags": [], "label": "toolkit", @@ -10898,7 +10898,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.context", + "id": "def-server.RequestHandler.$1", "type": "Uncategorized", "tags": [], "label": "context", @@ -10911,7 +10911,7 @@ }, { "parentPluginId": "core", - "id": "def-server.request", + "id": "def-server.RequestHandler.$2", "type": "Object", "tags": [], "label": "request", @@ -10931,7 +10931,7 @@ }, { "parentPluginId": "core", - "id": "def-server.response", + "id": "def-server.RequestHandler.$3", "type": "Uncategorized", "tags": [], "label": "response", @@ -11167,7 +11167,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.context", + "id": "def-server.RequestHandlerContextProvider.$1", "type": "Object", "tags": [], "label": "context", @@ -11180,7 +11180,7 @@ }, { "parentPluginId": "core", - "id": "def-server.rest", + "id": "def-server.RequestHandlerContextProvider.$2", "type": "Object", "tags": [], "label": "rest", @@ -11782,7 +11782,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.handler", + "id": "def-server.RequestHandlerWrapper.$1", "type": "Function", "tags": [], "label": "handler", @@ -11820,7 +11820,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.context", + "id": "def-server.RequestHandlerWrapper.$1.$1", "type": "Uncategorized", "tags": [], "label": "context", @@ -11833,7 +11833,7 @@ }, { "parentPluginId": "core", - "id": "def-server.request", + "id": "def-server.RequestHandlerWrapper.$1.$2", "type": "Object", "tags": [], "label": "request", @@ -11853,7 +11853,7 @@ }, { "parentPluginId": "core", - "id": "def-server.response", + "id": "def-server.RequestHandlerWrapper.$1.$3", "type": "Uncategorized", "tags": [], "label": "response", @@ -12157,7 +12157,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.route", + "id": "def-server.RouteRegistrar.$1", "type": "Object", "tags": [], "label": "route", @@ -12177,7 +12177,7 @@ }, { "parentPluginId": "core", - "id": "def-server.handler", + "id": "def-server.RouteRegistrar.$2", "type": "Function", "tags": [], "label": "handler", @@ -12389,7 +12389,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.context", + "id": "def-server.RouteRegistrar.$2.$1", "type": "Uncategorized", "tags": [], "label": "context", @@ -12402,7 +12402,7 @@ }, { "parentPluginId": "core", - "id": "def-server.request", + "id": "def-server.RouteRegistrar.$2.$2", "type": "Object", "tags": [], "label": "request", @@ -12422,7 +12422,7 @@ }, { "parentPluginId": "core", - "id": "def-server.response", + "id": "def-server.RouteRegistrar.$2.$3", "type": "Uncategorized", "tags": [], "label": "response", @@ -12472,7 +12472,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.data", + "id": "def-server.RouteValidationFunction.$1", "type": "Any", "tags": [], "label": "data", @@ -12485,7 +12485,7 @@ }, { "parentPluginId": "core", - "id": "def-server.validationResult", + "id": "def-server.RouteValidationFunction.$2", "type": "Object", "tags": [], "label": "validationResult", diff --git a/api_docs/core_http.mdx b/api_docs/core_http.mdx index 0c0912c987b79..fd34cbdc90b4e 100644 --- a/api_docs/core_http.mdx +++ b/api_docs/core_http.mdx @@ -18,7 +18,7 @@ Contact [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) for que | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 2246 | 27 | 998 | 30 | +| 2249 | 27 | 997 | 30 | ## Client diff --git a/api_docs/core_saved_objects.json b/api_docs/core_saved_objects.json index 862a2e5f7adc5..6429a2f434132 100644 --- a/api_docs/core_saved_objects.json +++ b/api_docs/core_saved_objects.json @@ -4729,7 +4729,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.SavedObjectsExporter.Unnamed.$1.savedObjectsClienttypeRegistryexportSizeLimitlogger", + "id": "def-server.SavedObjectsExporter.Unnamed.$1", "type": "Object", "tags": [], "label": "{\n savedObjectsClient,\n typeRegistry,\n exportSizeLimit,\n logger,\n }", @@ -4739,7 +4739,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.SavedObjectsExporter.Unnamed.$1.savedObjectsClienttypeRegistryexportSizeLimitlogger.savedObjectsClient", + "id": "def-server.SavedObjectsExporter.Unnamed.$1.savedObjectsClient", "type": "Object", "tags": [], "label": "savedObjectsClient", @@ -5052,7 +5052,7 @@ }, { "parentPluginId": "core", - "id": "def-server.SavedObjectsExporter.Unnamed.$1.savedObjectsClienttypeRegistryexportSizeLimitlogger.typeRegistry", + "id": "def-server.SavedObjectsExporter.Unnamed.$1.typeRegistry", "type": "Object", "tags": [], "label": "typeRegistry", @@ -5097,7 +5097,7 @@ }, { "parentPluginId": "core", - "id": "def-server.SavedObjectsExporter.Unnamed.$1.savedObjectsClienttypeRegistryexportSizeLimitlogger.exportSizeLimit", + "id": "def-server.SavedObjectsExporter.Unnamed.$1.exportSizeLimit", "type": "number", "tags": [], "label": "exportSizeLimit", @@ -5107,7 +5107,7 @@ }, { "parentPluginId": "core", - "id": "def-server.SavedObjectsExporter.Unnamed.$1.savedObjectsClienttypeRegistryexportSizeLimitlogger.logger", + "id": "def-server.SavedObjectsExporter.Unnamed.$1.logger", "type": "Object", "tags": [], "label": "logger", @@ -5893,7 +5893,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.SavedObjectsImporter.Unnamed.$1.savedObjectsClienttypeRegistryimportSizeLimit", + "id": "def-server.SavedObjectsImporter.Unnamed.$1", "type": "Object", "tags": [], "label": "{\n savedObjectsClient,\n typeRegistry,\n importSizeLimit,\n }", @@ -5903,7 +5903,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.SavedObjectsImporter.Unnamed.$1.savedObjectsClienttypeRegistryimportSizeLimit.savedObjectsClient", + "id": "def-server.SavedObjectsImporter.Unnamed.$1.savedObjectsClient", "type": "Object", "tags": [], "label": "savedObjectsClient", @@ -6216,7 +6216,7 @@ }, { "parentPluginId": "core", - "id": "def-server.SavedObjectsImporter.Unnamed.$1.savedObjectsClienttypeRegistryimportSizeLimit.typeRegistry", + "id": "def-server.SavedObjectsImporter.Unnamed.$1.typeRegistry", "type": "Object", "tags": [], "label": "typeRegistry", @@ -6261,7 +6261,7 @@ }, { "parentPluginId": "core", - "id": "def-server.SavedObjectsImporter.Unnamed.$1.savedObjectsClienttypeRegistryimportSizeLimit.importSizeLimit", + "id": "def-server.SavedObjectsImporter.Unnamed.$1.importSizeLimit", "type": "number", "tags": [], "label": "importSizeLimit", @@ -9765,6 +9765,21 @@ ], "path": "src/core/server/saved_objects/service/saved_objects_client.ts", "deprecated": false + }, + { + "parentPluginId": "core", + "id": "def-server.SavedObjectsBulkGetObject.namespaces", + "type": "Array", + "tags": [], + "label": "namespaces", + "description": [ + "\nOptional namespace(s) for the object to be retrieved in. If this is defined, it will supersede the namespace ID that is in the\ntop-level options.\n\n* For shareable object types (registered with `namespaceType: 'multiple'`): this option can be used to specify one or more spaces,\n including the \"All spaces\" identifier (`'*'`).\n* For isolated object types (registered with `namespaceType: 'single'` or `namespaceType: 'multiple-isolated'`): this option can only\n be used to specify a single space, and the \"All spaces\" identifier (`'*'`) is not allowed.\n* For global object types (registered with `namespaceType: 'agnostic'`): this option cannot be used." + ], + "signature": [ + "string[] | undefined" + ], + "path": "src/core/server/saved_objects/service/saved_objects_client.ts", + "deprecated": false } ], "initialIsOpen": false @@ -15558,7 +15573,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.doc", + "id": "def-server.SavedObjectMigrationFn.$1", "type": "CompoundType", "tags": [], "label": "doc", @@ -15571,7 +15586,7 @@ }, { "parentPluginId": "core", - "id": "def-server.context", + "id": "def-server.SavedObjectMigrationFn.$2", "type": "Object", "tags": [], "label": "context", @@ -15957,7 +15972,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.__0", + "id": "def-server.SavedObjectsClientFactory.$1", "type": "Object", "tags": [], "label": "__0", @@ -16012,7 +16027,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.repositoryFactory", + "id": "def-server.SavedObjectsClientFactoryProvider.$1", "type": "Object", "tags": [], "label": "repositoryFactory", @@ -16066,7 +16081,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.options", + "id": "def-server.SavedObjectsClientWrapperFactory.$1", "type": "Object", "tags": [], "label": "options", @@ -16170,7 +16185,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.context", + "id": "def-server.SavedObjectsExportTransform.$1", "type": "Object", "tags": [], "label": "context", @@ -16189,7 +16204,7 @@ }, { "parentPluginId": "core", - "id": "def-server.objects", + "id": "def-server.SavedObjectsExportTransform.$2", "type": "Array", "tags": [], "label": "objects", @@ -16326,7 +16341,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.objects", + "id": "def-server.SavedObjectsImportHook.$1", "type": "Array", "tags": [], "label": "objects", @@ -16419,7 +16434,7 @@ "children": [ { "parentPluginId": "core", - "id": "def-server.toolkit", + "id": "def-server.SavedObjectTypeExcludeFromUpgradeFilterHook.$1", "type": "Object", "tags": [], "label": "toolkit", diff --git a/api_docs/core_saved_objects.mdx b/api_docs/core_saved_objects.mdx index c55776fb3f178..a1a05e9e1b249 100644 --- a/api_docs/core_saved_objects.mdx +++ b/api_docs/core_saved_objects.mdx @@ -18,7 +18,7 @@ Contact [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) for que | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 2246 | 27 | 998 | 30 | +| 2249 | 27 | 997 | 30 | ## Client diff --git a/api_docs/dashboard.json b/api_docs/dashboard.json index 52ac3b6ad3b24..d9f9c7d848766 100644 --- a/api_docs/dashboard.json +++ b/api_docs/dashboard.json @@ -933,7 +933,7 @@ "children": [ { "parentPluginId": "dashboard", - "id": "def-public.state", + "id": "def-public.DashboardContainerFactoryDefinition.inject.$1", "type": "Uncategorized", "tags": [], "label": "state", @@ -946,7 +946,7 @@ }, { "parentPluginId": "dashboard", - "id": "def-public.references", + "id": "def-public.DashboardContainerFactoryDefinition.inject.$2", "type": "Array", "tags": [], "label": "references", @@ -994,7 +994,7 @@ "children": [ { "parentPluginId": "dashboard", - "id": "def-public.state", + "id": "def-public.DashboardContainerFactoryDefinition.extract.$1", "type": "Uncategorized", "tags": [], "label": "state", @@ -1117,231 +1117,6 @@ } ], "interfaces": [ - { - "parentPluginId": "dashboard", - "id": "def-public.DashboardAppLocatorParams", - "type": "Interface", - "tags": [], - "label": "DashboardAppLocatorParams", - "description": [], - "signature": [ - { - "pluginId": "dashboard", - "scope": "public", - "docId": "kibDashboardPluginApi", - "section": "def-public.DashboardAppLocatorParams", - "text": "DashboardAppLocatorParams" - }, - " extends ", - "SerializableRecord" - ], - "path": "src/plugins/dashboard/public/locator.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dashboard", - "id": "def-public.DashboardAppLocatorParams.dashboardId", - "type": "string", - "tags": [], - "label": "dashboardId", - "description": [ - "\nIf given, the dashboard saved object with this id will be loaded. If not given,\na new, unsaved dashboard will be loaded up." - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/dashboard/public/locator.ts", - "deprecated": false - }, - { - "parentPluginId": "dashboard", - "id": "def-public.DashboardAppLocatorParams.timeRange", - "type": "Object", - "tags": [], - "label": "timeRange", - "description": [ - "\nOptionally set the time range in the time picker." - ], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataQueryPluginApi", - "section": "def-common.TimeRange", - "text": "TimeRange" - }, - " | undefined" - ], - "path": "src/plugins/dashboard/public/locator.ts", - "deprecated": false - }, - { - "parentPluginId": "dashboard", - "id": "def-public.DashboardAppLocatorParams.refreshInterval", - "type": "CompoundType", - "tags": [], - "label": "refreshInterval", - "description": [ - "\nOptionally set the refresh interval." - ], - "signature": [ - "(", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataQueryPluginApi", - "section": "def-common.RefreshInterval", - "text": "RefreshInterval" - }, - " & ", - "SerializableRecord", - ") | undefined" - ], - "path": "src/plugins/dashboard/public/locator.ts", - "deprecated": false - }, - { - "parentPluginId": "dashboard", - "id": "def-public.DashboardAppLocatorParams.filters", - "type": "Array", - "tags": [], - "label": "filters", - "description": [ - "\nOptionally apply filers. NOTE: if given and used in conjunction with `dashboardId`, and the\nsaved dashboard has filters saved with it, this will _replace_ those filters." - ], - "signature": [ - "Filter", - "[] | undefined" - ], - "path": "src/plugins/dashboard/public/locator.ts", - "deprecated": false - }, - { - "parentPluginId": "dashboard", - "id": "def-public.DashboardAppLocatorParams.query", - "type": "Object", - "tags": [], - "label": "query", - "description": [ - "\nOptionally set a query. NOTE: if given and used in conjunction with `dashboardId`, and the\nsaved dashboard has a query saved with it, this will _replace_ that query." - ], - "signature": [ - "Query", - " | undefined" - ], - "path": "src/plugins/dashboard/public/locator.ts", - "deprecated": false - }, - { - "parentPluginId": "dashboard", - "id": "def-public.DashboardAppLocatorParams.useHash", - "type": "CompoundType", - "tags": [], - "label": "useHash", - "description": [ - "\nIf not given, will use the uiSettings configuration for `storeInSessionStorage`. useHash determines\nwhether to hash the data in the url to avoid url length issues." - ], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/dashboard/public/locator.ts", - "deprecated": false - }, - { - "parentPluginId": "dashboard", - "id": "def-public.DashboardAppLocatorParams.preserveSavedFilters", - "type": "CompoundType", - "tags": [], - "label": "preserveSavedFilters", - "description": [ - "\nWhen `true` filters from saved filters from destination dashboard as merged with applied filters\nWhen `false` applied filters take precedence and override saved filters\n\ntrue is default" - ], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/dashboard/public/locator.ts", - "deprecated": false - }, - { - "parentPluginId": "dashboard", - "id": "def-public.DashboardAppLocatorParams.viewMode", - "type": "CompoundType", - "tags": [], - "label": "viewMode", - "description": [ - "\nView mode of the dashboard." - ], - "signature": [ - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.ViewMode", - "text": "ViewMode" - }, - " | undefined" - ], - "path": "src/plugins/dashboard/public/locator.ts", - "deprecated": false - }, - { - "parentPluginId": "dashboard", - "id": "def-public.DashboardAppLocatorParams.searchSessionId", - "type": "string", - "tags": [], - "label": "searchSessionId", - "description": [ - "\nSearch search session ID to restore.\n(Background search)" - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/dashboard/public/locator.ts", - "deprecated": false - }, - { - "parentPluginId": "dashboard", - "id": "def-public.DashboardAppLocatorParams.panels", - "type": "CompoundType", - "tags": [], - "label": "panels", - "description": [ - "\nList of dashboard panels" - ], - "signature": [ - "(", - { - "pluginId": "dashboard", - "scope": "common", - "docId": "kibDashboardPluginApi", - "section": "def-common.SavedDashboardPanel730ToLatest", - "text": "SavedDashboardPanel730ToLatest" - }, - "[] & ", - "SerializableRecord", - ") | undefined" - ], - "path": "src/plugins/dashboard/public/locator.ts", - "deprecated": false - }, - { - "parentPluginId": "dashboard", - "id": "def-public.DashboardAppLocatorParams.savedQuery", - "type": "string", - "tags": [], - "label": "savedQuery", - "description": [ - "\nSaved query ID" - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/dashboard/public/locator.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, { "parentPluginId": "dashboard", "id": "def-public.DashboardContainerInput", @@ -2289,6 +2064,60 @@ "deprecated": false, "initialIsOpen": false }, + { + "parentPluginId": "dashboard", + "id": "def-public.DashboardAppLocatorParams", + "type": "Type", + "tags": [], + "label": "DashboardAppLocatorParams", + "description": [ + "\nWe use `type` instead of `interface` to avoid having to extend this type with\n`SerializableRecord`. See https://github.com/microsoft/TypeScript/issues/15300." + ], + "signature": [ + "{ dashboardId?: string | undefined; timeRange?: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, + " | undefined; refreshInterval?: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.RefreshInterval", + "text": "RefreshInterval" + }, + " | undefined; filters?: ", + "Filter", + "[] | undefined; query?: ", + "Query", + " | undefined; useHash?: boolean | undefined; preserveSavedFilters?: boolean | undefined; viewMode?: ", + { + "pluginId": "embeddable", + "scope": "common", + "docId": "kibEmbeddablePluginApi", + "section": "def-common.ViewMode", + "text": "ViewMode" + }, + " | undefined; searchSessionId?: string | undefined; panels?: ", + { + "pluginId": "dashboard", + "scope": "common", + "docId": "kibDashboardPluginApi", + "section": "def-common.SavedDashboardPanel730ToLatest", + "text": "SavedDashboardPanel730ToLatest" + }, + "[] | undefined; savedQuery?: string | undefined; options?: ", + "DashboardOptions", + " | undefined; }" + ], + "path": "src/plugins/dashboard/public/locator.ts", + "deprecated": false, + "initialIsOpen": false + }, { "parentPluginId": "dashboard", "id": "def-public.DashboardUrlGenerator", @@ -2622,7 +2451,9 @@ "section": "def-server.SavedObjectsRepository", "text": "SavedObjectsRepository" }, - ", \"get\" | \"delete\" | \"create\" | \"bulkCreate\" | \"checkConflicts\" | \"deleteByNamespace\" | \"find\" | \"bulkGet\" | \"resolve\" | \"update\" | \"collectMultiNamespaceReferences\" | \"updateObjectsSpaces\" | \"bulkUpdate\" | \"removeReferencesTo\" | \"incrementCounter\" | \"openPointInTimeForType\" | \"closePointInTime\" | \"createPointInTimeFinder\">, \"find\">, embeddableType: string) => Promise<{ [key: string]: unknown; }[]>" + ", \"get\" | \"delete\" | \"create\" | \"bulkCreate\" | \"checkConflicts\" | \"deleteByNamespace\" | \"find\" | \"bulkGet\" | \"resolve\" | \"update\" | \"collectMultiNamespaceReferences\" | \"updateObjectsSpaces\" | \"bulkUpdate\" | \"removeReferencesTo\" | \"incrementCounter\" | \"openPointInTimeForType\" | \"closePointInTime\" | \"createPointInTimeFinder\">, \"find\">, embeddableType: string) => Promise<{ [key: string]: ", + "Serializable", + "; }[]>" ], "path": "src/plugins/dashboard/server/usage/find_by_value_embeddables.ts", "deprecated": false, @@ -2750,7 +2581,9 @@ "section": "def-common.SavedDashboardPanel630", "text": "SavedDashboardPanel630" }, - ")[], version: string, useMargins: boolean, uiState: { [key: string]: { [key: string]: unknown; }; } | undefined) => ", + ")[], version: string, useMargins: boolean, uiState: { [key: string]: ", + "SerializableRecord", + "; } | undefined) => ", { "pluginId": "dashboard", "scope": "common", @@ -2847,7 +2680,7 @@ }, { "parentPluginId": "dashboard", - "id": "def-common.migratePanelsTo730.$4.uiState", + "id": "def-common.migratePanelsTo730.$4", "type": "Object", "tags": [], "label": "uiState", @@ -2857,7 +2690,7 @@ "children": [ { "parentPluginId": "dashboard", - "id": "def-common.migratePanelsTo730.$4.uiState.Unnamed", + "id": "def-common.migratePanelsTo730.$4.Unnamed", "type": "Any", "tags": [], "label": "Unnamed", @@ -2928,69 +2761,6 @@ } ], "initialIsOpen": false - }, - { - "parentPluginId": "dashboard", - "id": "def-common.GridData", - "type": "Interface", - "tags": [], - "label": "GridData", - "description": [], - "path": "src/plugins/dashboard/common/embeddable/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "dashboard", - "id": "def-common.GridData.w", - "type": "number", - "tags": [], - "label": "w", - "description": [], - "path": "src/plugins/dashboard/common/embeddable/types.ts", - "deprecated": false - }, - { - "parentPluginId": "dashboard", - "id": "def-common.GridData.h", - "type": "number", - "tags": [], - "label": "h", - "description": [], - "path": "src/plugins/dashboard/common/embeddable/types.ts", - "deprecated": false - }, - { - "parentPluginId": "dashboard", - "id": "def-common.GridData.x", - "type": "number", - "tags": [], - "label": "x", - "description": [], - "path": "src/plugins/dashboard/common/embeddable/types.ts", - "deprecated": false - }, - { - "parentPluginId": "dashboard", - "id": "def-common.GridData.y", - "type": "number", - "tags": [], - "label": "y", - "description": [], - "path": "src/plugins/dashboard/common/embeddable/types.ts", - "deprecated": false - }, - { - "parentPluginId": "dashboard", - "id": "def-common.GridData.i", - "type": "string", - "tags": [], - "label": "i", - "description": [], - "path": "src/plugins/dashboard/common/embeddable/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false } ], "enums": [], @@ -3037,6 +2807,20 @@ "deprecated": false, "initialIsOpen": false }, + { + "parentPluginId": "dashboard", + "id": "def-common.GridData", + "type": "Type", + "tags": [], + "label": "GridData", + "description": [], + "signature": [ + "{ w: number; h: number; x: number; y: number; i: string; }" + ], + "path": "src/plugins/dashboard/common/embeddable/types.ts", + "deprecated": false, + "initialIsOpen": false + }, { "parentPluginId": "dashboard", "id": "def-common.RawSavedDashboardPanel730ToLatest", diff --git a/api_docs/dashboard.mdx b/api_docs/dashboard.mdx index 82acfd3cb8cea..eb9ec6e8c1781 100644 --- a/api_docs/dashboard.mdx +++ b/api_docs/dashboard.mdx @@ -18,7 +18,7 @@ Contact [Kibana Presentation](https://github.com/orgs/elastic/teams/kibana-prese | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 161 | 1 | 138 | 9 | +| 145 | 1 | 132 | 10 | ## Client diff --git a/api_docs/dashboard_enhanced.json b/api_docs/dashboard_enhanced.json index 00833c9762326..182c66b721972 100644 --- a/api_docs/dashboard_enhanced.json +++ b/api_docs/dashboard_enhanced.json @@ -608,8 +608,16 @@ "; url: ", "UrlService", "; navigate(options: ", - "RedirectOptions", - "): void; }" + { + "pluginId": "share", + "scope": "public", + "docId": "kibSharePluginApi", + "section": "def-public.RedirectOptions", + "text": "RedirectOptions" + }, + "<", + "SerializableRecord", + ">): void; }" ], "path": "x-pack/plugins/dashboard_enhanced/public/plugin.ts", "deprecated": false @@ -705,8 +713,16 @@ "; url: ", "UrlService", "; navigate(options: ", - "RedirectOptions", - "): void; }" + { + "pluginId": "share", + "scope": "public", + "docId": "kibSharePluginApi", + "section": "def-public.RedirectOptions", + "text": "RedirectOptions" + }, + "<", + "SerializableRecord", + ">): void; }" ], "path": "x-pack/plugins/dashboard_enhanced/public/plugin.ts", "deprecated": false @@ -908,7 +924,7 @@ "children": [ { "parentPluginId": "dashboardEnhanced", - "id": "def-common.createExtract.$1.drilldownId", + "id": "def-common.createExtract.$1", "type": "Object", "tags": [], "label": "{\n drilldownId,\n}", @@ -918,7 +934,7 @@ "children": [ { "parentPluginId": "dashboardEnhanced", - "id": "def-common.createExtract.$1.drilldownId.drilldownId", + "id": "def-common.createExtract.$1.drilldownId", "type": "string", "tags": [], "label": "drilldownId", @@ -964,7 +980,7 @@ "children": [ { "parentPluginId": "dashboardEnhanced", - "id": "def-common.createInject.$1.drilldownId", + "id": "def-common.createInject.$1", "type": "Object", "tags": [], "label": "{\n drilldownId,\n}", @@ -974,7 +990,7 @@ "children": [ { "parentPluginId": "dashboardEnhanced", - "id": "def-common.createInject.$1.drilldownId.drilldownId", + "id": "def-common.createInject.$1.drilldownId", "type": "string", "tags": [], "label": "drilldownId", diff --git a/api_docs/data.json b/api_docs/data.json index d76adbc36a7c4..d6442b90246a9 100644 --- a/api_docs/data.json +++ b/api_docs/data.json @@ -2300,7 +2300,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-public.agg", + "id": "def-public.AggParamType.makeAgg.$1", "type": "Uncategorized", "tags": [], "label": "agg", @@ -2313,7 +2313,7 @@ }, { "parentPluginId": "data", - "id": "def-public.state", + "id": "def-public.AggParamType.makeAgg.$2", "type": "Object", "tags": [], "label": "state", @@ -2634,18 +2634,18 @@ }, { "parentPluginId": "data", - "id": "def-public.DuplicateIndexPatternError", + "id": "def-public.DuplicateDataViewError", "type": "Class", "tags": [], - "label": "DuplicateIndexPatternError", + "label": "DuplicateDataViewError", "description": [], "signature": [ { "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.DuplicateIndexPatternError", - "text": "DuplicateIndexPatternError" + "section": "def-common.DuplicateDataViewError", + "text": "DuplicateDataViewError" }, " extends Error" ], @@ -2654,7 +2654,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-public.DuplicateIndexPatternError.Unnamed", + "id": "def-public.DuplicateDataViewError.Unnamed", "type": "Function", "tags": [], "label": "Constructor", @@ -2667,7 +2667,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-public.DuplicateIndexPatternError.Unnamed.$1", + "id": "def-public.DuplicateDataViewError.Unnamed.$1", "type": "string", "tags": [], "label": "message", @@ -2689,7 +2689,9 @@ "parentPluginId": "data", "id": "def-public.IndexPattern", "type": "Class", - "tags": [], + "tags": [ + "deprecated" + ], "label": "IndexPattern", "description": [], "signature": [ @@ -2700,7894 +2702,1161 @@ "section": "def-common.IndexPattern", "text": "IndexPattern" }, - " implements ", + " extends ", { "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IIndexPattern", - "text": "IIndexPattern" + "section": "def-common.DataView", + "text": "DataView" } ], "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [ + "deprecated": true, + "references": [ { - "parentPluginId": "data", - "id": "def-public.IndexPattern.id", - "type": "string", - "tags": [], - "label": "id", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.title", - "type": "string", - "tags": [], - "label": "title", - "description": [], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.fieldFormatMap", - "type": "Object", - "tags": [], - "label": "fieldFormatMap", - "description": [], - "signature": [ - "{ [x: string]: any; }" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.typeMeta", - "type": "Object", - "tags": [], - "label": "typeMeta", - "description": [ - "\nOnly used by rollup indices, used by rollup specific endpoint to load field list" - ], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.TypeMeta", - "text": "TypeMeta" - }, - " | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.fields", - "type": "CompoundType", - "tags": [], - "label": "fields", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IIndexPatternFieldList", - "text": "IIndexPatternFieldList" - }, - " & { toSpec: () => Record; }" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.timeFieldName", - "type": "string", - "tags": [], - "label": "timeFieldName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.intervalName", - "type": "string", - "tags": [ - "deprecated" - ], - "label": "intervalName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.type", - "type": "string", - "tags": [], - "label": "type", - "description": [ - "\nType is used to identify rollup index patterns" - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.formatHit", - "type": "Function", - "tags": [], - "label": "formatHit", - "description": [], - "signature": [ - "{ (hit: Record, type?: string | undefined): any; formatField: FormatFieldFn; }" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.hit", - "type": "Object", - "tags": [], - "label": "hit", - "description": [], - "signature": [ - "{ [x: string]: any; }" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false - } - ] + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/columns.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.formatField", - "type": "Function", - "tags": [], - "label": "formatField", - "description": [], - "signature": [ - "(hit: Record, fieldName: string) => any" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.hit", - "type": "Object", - "tags": [], - "label": "hit", - "description": [], - "signature": [ - "{ [x: string]: any; }" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.fieldName", - "type": "string", - "tags": [], - "label": "fieldName", - "description": [], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false - } - ] + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/columns.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.flattenHit", - "type": "Function", - "tags": [], - "label": "flattenHit", - "description": [], - "signature": [ - "(hit: Record, deep?: boolean | undefined) => Record" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.hit", - "type": "Object", - "tags": [], - "label": "hit", - "description": [], - "signature": [ - "{ [x: string]: any; }" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.deep", - "type": "CompoundType", - "tags": [], - "label": "deep", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false - } - ] + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/helpers/update_search_source.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.metaFields", - "type": "Array", - "tags": [], - "label": "metaFields", - "description": [], - "signature": [ - "string[]" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/helpers/update_search_source.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.version", - "type": "string", - "tags": [], - "label": "version", - "description": [ - "\nSavedObject version" - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.sourceFilters", - "type": "Array", - "tags": [], - "label": "sourceFilters", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.SourceFilter", - "text": "SourceFilter" - }, - "[] | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.allowNoIndex", - "type": "boolean", - "tags": [], - "label": "allowNoIndex", - "description": [ - "\nprevents errors when index pattern exists before indices" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.Unnamed", - "type": "Function", - "tags": [], - "label": "Constructor", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.IndexPattern.Unnamed.$1", - "type": "Object", - "tags": [], - "label": "{\n spec = {},\n fieldFormats,\n shortDotsEnable = false,\n metaFields = [],\n }", - "description": [], - "signature": [ - "IndexPatternDeps" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.getOriginalSavedObjectBody", - "type": "Function", - "tags": [], - "label": "getOriginalSavedObjectBody", - "description": [ - "\nGet last saved saved object fields" - ], - "signature": [ - "() => { fieldAttrs?: string | undefined; title?: string | undefined; timeFieldName?: string | undefined; intervalName?: string | undefined; fields?: string | undefined; sourceFilters?: string | undefined; fieldFormatMap?: string | undefined; typeMeta?: string | undefined; type?: string | undefined; }" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.resetOriginalSavedObjectBody", - "type": "Function", - "tags": [], - "label": "resetOriginalSavedObjectBody", - "description": [ - "\nReset last saved saved object fields. used after saving" - ], - "signature": [ - "() => void" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.getFieldAttrs", - "type": "Function", - "tags": [], - "label": "getFieldAttrs", - "description": [], - "signature": [ - "() => { [x: string]: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldAttrSet", - "text": "FieldAttrSet" - }, - "; }" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app_content.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.getComputedFields", - "type": "Function", - "tags": [], - "label": "getComputedFields", - "description": [], - "signature": [ - "() => { storedFields: string[]; scriptFields: any; docvalueFields: { field: any; format: string; }[]; runtimeFields: Record; }" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app_content.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.toSpec", - "type": "Function", - "tags": [], - "label": "toSpec", - "description": [ - "\nCreate static representation of index pattern" - ], - "signature": [ - "() => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" - } - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.getSourceFiltering", - "type": "Function", - "tags": [], - "label": "getSourceFiltering", - "description": [ - "\nGet the source filtering configuration for that index." - ], - "signature": [ - "() => { excludes: any[]; }" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.addScriptedField", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "addScriptedField", - "description": [ - "\nAdd scripted field to field list\n" - ], - "signature": [ - "(name: string, script: string, fieldType?: string) => Promise" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.IndexPattern.addScriptedField.$1", - "type": "string", - "tags": [], - "label": "name", - "description": [ - "field name" - ], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-public.IndexPattern.addScriptedField.$2", - "type": "string", - "tags": [], - "label": "script", - "description": [ - "script code" - ], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-public.IndexPattern.addScriptedField.$3", - "type": "string", - "tags": [], - "label": "fieldType", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_index_pattern.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.removeScriptedField", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "removeScriptedField", - "description": [ - "\nRemove scripted field from field list" - ], - "signature": [ - "(fieldName: string) => void" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" - } - ], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.IndexPattern.removeScriptedField.$1", - "type": "string", - "tags": [], - "label": "fieldName", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_index_pattern.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.getNonScriptedFields", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "getNonScriptedFields", - "description": [ - "\n" - ], - "signature": [ - "() => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" - }, - "[]" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_type_timeseries/public/application/lib/fetch_fields.ts" - } - ], - "children": [], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.getScriptedFields", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "getScriptedFields", - "description": [ - "\n" - ], - "signature": [ - "() => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" - }, - "[]" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" - } - ], - "children": [], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.isTimeBased", - "type": "Function", - "tags": [], - "label": "isTimeBased", - "description": [], - "signature": [ - "() => boolean" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/update_search_source.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.isTimeNanosBased", - "type": "Function", - "tags": [], - "label": "isTimeNanosBased", - "description": [], - "signature": [ - "() => boolean" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/update_search_source.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.getTimeField", - "type": "Function", - "tags": [], - "label": "getTimeField", - "description": [], - "signature": [ - "() => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" - }, - " | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/types.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.getFieldByName", - "type": "Function", - "tags": [], - "label": "getFieldByName", - "description": [], - "signature": [ - "(name: string) => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" - }, - " | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.IndexPattern.getFieldByName.$1", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/types.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.getAggregationRestrictions", - "type": "Function", - "tags": [], - "label": "getAggregationRestrictions", - "description": [], - "signature": [ - "() => Record> | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_documents.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.getAsSavedObjectBody", - "type": "Function", - "tags": [], - "label": "getAsSavedObjectBody", - "description": [ - "\nReturns index pattern as saved object body for saving" - ], - "signature": [ - "() => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternAttributes", - "text": "IndexPatternAttributes" - } - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_documents.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.getFormatterForField", - "type": "Function", - "tags": [], - "label": "getFormatterForField", - "description": [ - "\nProvide a field, get its formatter" - ], - "signature": [ - "(field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - ") => ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormat", - "text": "FieldFormat" - } - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.IndexPattern.getFormatterForField.$1", - "type": "CompoundType", - "tags": [], - "label": "field", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - } - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.addRuntimeField", - "type": "Function", - "tags": [], - "label": "addRuntimeField", - "description": [ - "\nAdd a runtime field - Appended to existing mapped field or a new field is\ncreated as appropriate" - ], - "signature": [ - "(name: string, runtimeField: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.RuntimeField", - "text": "RuntimeField" - }, - ") => void" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.IndexPattern.addRuntimeField.$1", - "type": "string", - "tags": [], - "label": "name", - "description": [ - "Field name" - ], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-public.IndexPattern.addRuntimeField.$2", - "type": "Object", - "tags": [], - "label": "runtimeField", - "description": [ - "Runtime field definition" - ], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.RuntimeField", - "text": "RuntimeField" - } - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.hasRuntimeField", - "type": "Function", - "tags": [], - "label": "hasRuntimeField", - "description": [ - "\nChecks if runtime field exists" - ], - "signature": [ - "(name: string) => boolean" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.IndexPattern.hasRuntimeField.$1", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.getRuntimeField", - "type": "Function", - "tags": [], - "label": "getRuntimeField", - "description": [ - "\nReturns runtime field if exists" - ], - "signature": [ - "(name: string) => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.RuntimeField", - "text": "RuntimeField" - }, - " | null" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.IndexPattern.getRuntimeField.$1", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.replaceAllRuntimeFields", - "type": "Function", - "tags": [], - "label": "replaceAllRuntimeFields", - "description": [ - "\nReplaces all existing runtime fields with new fields" - ], - "signature": [ - "(newFields: Record) => void" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.IndexPattern.replaceAllRuntimeFields.$1", - "type": "Object", - "tags": [], - "label": "newFields", - "description": [], - "signature": [ - "Record" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.removeRuntimeField", - "type": "Function", - "tags": [], - "label": "removeRuntimeField", - "description": [ - "\nRemove a runtime field - removed from mapped field or removed unmapped\nfield as appropriate. Doesn't clear associated field attributes." - ], - "signature": [ - "(name: string) => void" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.IndexPattern.removeRuntimeField.$1", - "type": "string", - "tags": [], - "label": "name", - "description": [ - "- Field name to remove" - ], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.getFormatterForFieldNoDefault", - "type": "Function", - "tags": [], - "label": "getFormatterForFieldNoDefault", - "description": [ - "\nGet formatter for a given field name. Return undefined if none exists" - ], - "signature": [ - "(fieldname: string) => ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormat", - "text": "FieldFormat" - }, - " | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.IndexPattern.getFormatterForFieldNoDefault.$1", - "type": "string", - "tags": [], - "label": "fieldname", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.setFieldAttrs", - "type": "Function", - "tags": [], - "label": "setFieldAttrs", - "description": [], - "signature": [ - "(fieldName: string, attrName: K, value: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldAttrSet", - "text": "FieldAttrSet" - }, - "[K]) => void" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.IndexPattern.setFieldAttrs.$1", - "type": "string", - "tags": [], - "label": "fieldName", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-public.IndexPattern.setFieldAttrs.$2", - "type": "Uncategorized", - "tags": [], - "label": "attrName", - "description": [], - "signature": [ - "K" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-public.IndexPattern.setFieldAttrs.$3", - "type": "Uncategorized", - "tags": [], - "label": "value", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldAttrSet", - "text": "FieldAttrSet" - }, - "[K]" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.setFieldCustomLabel", - "type": "Function", - "tags": [], - "label": "setFieldCustomLabel", - "description": [], - "signature": [ - "(fieldName: string, customLabel: string | null | undefined) => void" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.IndexPattern.setFieldCustomLabel.$1", - "type": "string", - "tags": [], - "label": "fieldName", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-public.IndexPattern.setFieldCustomLabel.$2", - "type": "CompoundType", - "tags": [], - "label": "customLabel", - "description": [], - "signature": [ - "string | null | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [] + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.setFieldCount", - "type": "Function", - "tags": [], - "label": "setFieldCount", - "description": [], - "signature": [ - "(fieldName: string, count: number | null | undefined) => void" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.IndexPattern.setFieldCount.$1", - "type": "string", - "tags": [], - "label": "fieldName", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-public.IndexPattern.setFieldCount.$2", - "type": "CompoundType", - "tags": [], - "label": "count", - "description": [], - "signature": [ - "number | null | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [] + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.setFieldFormat", - "type": "Function", - "tags": [], - "label": "setFieldFormat", - "description": [], - "signature": [ - "(fieldName: string, format: ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.SerializedFieldFormat", - "text": "SerializedFieldFormat" - }, - ">) => void" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.IndexPattern.setFieldFormat.$1", - "type": "string", - "tags": [], - "label": "fieldName", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-public.IndexPattern.setFieldFormat.$2", - "type": "Object", - "tags": [], - "label": "format", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.SerializedFieldFormat", - "text": "SerializedFieldFormat" - }, - ">" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPattern.deleteFieldFormat", - "type": "Function", - "tags": [], - "label": "deleteFieldFormat", - "description": [], - "signature": [ - "(fieldName: string) => void" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.IndexPattern.deleteFieldFormat.$1", - "type": "string", - "tags": [], - "label": "fieldName", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.IndexPatternField", - "type": "Class", - "tags": [], - "label": "IndexPatternField", - "description": [], - "signature": [ + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts" }, - " implements ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - } - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false, - "children": [ + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts" + }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternField.spec", - "type": "Object", - "tags": [], - "label": "spec", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - } - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternField.Unnamed", - "type": "Function", - "tags": [], - "label": "Constructor", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.IndexPatternField.Unnamed.$1", - "type": "Object", - "tags": [], - "label": "spec", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - } - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternField.count", - "type": "number", - "tags": [], - "label": "count", - "description": [ - "\nCount is used for field popularity" - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternField.count", - "type": "number", - "tags": [], - "label": "count", - "description": [], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternField.runtimeField", - "type": "Object", - "tags": [], - "label": "runtimeField", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.RuntimeField", - "text": "RuntimeField" - }, - " | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternField.runtimeField", - "type": "Object", - "tags": [], - "label": "runtimeField", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.RuntimeField", - "text": "RuntimeField" - }, - " | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternField.script", - "type": "string", - "tags": [], - "label": "script", - "description": [ - "\nScript field code" - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/common/types/index.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternField.script", - "type": "string", - "tags": [], - "label": "script", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/common/types/index.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternField.lang", - "type": "CompoundType", - "tags": [], - "label": "lang", - "description": [ - "\nScript field language" - ], - "signature": [ - "\"painless\" | \"expression\" | \"mustache\" | \"java\" | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternField.lang", - "type": "CompoundType", - "tags": [], - "label": "lang", - "description": [], - "signature": [ - "\"painless\" | \"expression\" | \"mustache\" | \"java\" | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternField.customLabel", - "type": "string", - "tags": [], - "label": "customLabel", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternField.customLabel", - "type": "string", - "tags": [], - "label": "customLabel", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternField.conflictDescriptions", - "type": "Object", - "tags": [], - "label": "conflictDescriptions", - "description": [ - "\nDescription of field type conflicts across different indices in the same index pattern" - ], - "signature": [ - "Record | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternField.conflictDescriptions", - "type": "Object", - "tags": [], - "label": "conflictDescriptions", - "description": [], - "signature": [ - "Record | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternField.name", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternField.displayName", - "type": "string", - "tags": [], - "label": "displayName", - "description": [], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternField.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternField.esTypes", - "type": "Array", - "tags": [], - "label": "esTypes", - "description": [], - "signature": [ - "string[] | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternField.scripted", - "type": "boolean", - "tags": [], - "label": "scripted", - "description": [], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternField.searchable", - "type": "boolean", - "tags": [], - "label": "searchable", - "description": [], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternField.aggregatable", - "type": "boolean", - "tags": [], - "label": "aggregatable", - "description": [], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternField.readFromDocValues", - "type": "boolean", - "tags": [], - "label": "readFromDocValues", - "description": [], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternField.subType", - "type": "Object", - "tags": [], - "label": "subType", - "description": [], - "signature": [ - "IFieldSubType", - " | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternField.isMapped", - "type": "CompoundType", - "tags": [], - "label": "isMapped", - "description": [ - "\nIs the field part of the index mapping?" - ], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternField.sortable", - "type": "boolean", - "tags": [], - "label": "sortable", - "description": [], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternField.filterable", - "type": "boolean", - "tags": [], - "label": "filterable", - "description": [], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/index.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternField.visualizable", - "type": "boolean", - "tags": [], - "label": "visualizable", - "description": [], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/index.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternField.deleteCount", - "type": "Function", - "tags": [], - "label": "deleteCount", - "description": [], - "signature": [ - "() => void" - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/index.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternField.toJSON", - "type": "Function", - "tags": [], - "label": "toJSON", - "description": [], - "signature": [ - "() => { count: number; script: string | undefined; lang: \"painless\" | \"expression\" | \"mustache\" | \"java\" | undefined; conflictDescriptions: Record | undefined; name: string; type: string; esTypes: string[] | undefined; scripted: boolean; searchable: boolean; aggregatable: boolean; readFromDocValues: boolean; subType: ", - "IFieldSubType", - " | undefined; customLabel: string | undefined; }" - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternField.toSpec", - "type": "Function", - "tags": [], - "label": "toSpec", - "description": [], - "signature": [ - "({ getFormatterForField, }?: { getFormatterForField?: ((field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - ") => ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormat", - "text": "FieldFormat" - }, - ") | undefined; }) => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - } - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.IndexPatternField.toSpec.$1.getFormatterForField", - "type": "Object", - "tags": [], - "label": "{\n getFormatterForField,\n }", - "description": [], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.IndexPatternField.toSpec.$1.getFormatterForField.getFormatterForField", - "type": "Function", - "tags": [], - "label": "getFormatterForField", - "description": [], - "signature": [ - "((field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - ") => ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormat", - "text": "FieldFormat" - }, - ") | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false - } - ] - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService", - "type": "Class", - "tags": [], - "label": "IndexPatternsService", - "description": [], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" + }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.ensureDefaultIndexPattern", - "type": "Function", - "tags": [], - "label": "ensureDefaultIndexPattern", - "description": [], - "signature": [ - "() => Promise | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "returnComment": [], - "children": [] + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.Unnamed", - "type": "Function", - "tags": [], - "label": "Constructor", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.Unnamed.$1", - "type": "Object", - "tags": [], - "label": "{\n uiSettings,\n savedObjectsClient,\n apiClient,\n fieldFormats,\n onNotification,\n onError,\n onRedirectNoIndexPattern = () => {},\n }", - "description": [], - "signature": [ - "IndexPatternsServiceDeps" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.getIds", - "type": "Function", - "tags": [], - "label": "getIds", - "description": [ - "\nGet list of index pattern ids" - ], - "signature": [ - "(refresh?: boolean) => Promise" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.getIds.$1", - "type": "boolean", - "tags": [], - "label": "refresh", - "description": [ - "Force refresh of index pattern list" - ], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.getTitles", - "type": "Function", - "tags": [], - "label": "getTitles", - "description": [ - "\nGet list of index pattern titles" - ], - "signature": [ - "(refresh?: boolean) => Promise" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.getTitles.$1", - "type": "boolean", - "tags": [], - "label": "refresh", - "description": [ - "Force refresh of index pattern list" - ], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.find", - "type": "Function", - "tags": [], - "label": "find", - "description": [ - "\nFind and load index patterns by title" - ], - "signature": [ - "(search: string, size?: number) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - }, - "[]>" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.find.$1", - "type": "string", - "tags": [], - "label": "search", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.find.$2", - "type": "number", - "tags": [], - "label": "size", - "description": [], - "signature": [ - "number" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [ - "IndexPattern[]" - ] + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.getIdsWithTitle", - "type": "Function", - "tags": [], - "label": "getIdsWithTitle", - "description": [ - "\nGet list of index pattern ids with titles" - ], - "signature": [ - "(refresh?: boolean) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternListItem", - "text": "IndexPatternListItem" - }, - "[]>" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.getIdsWithTitle.$1", - "type": "boolean", - "tags": [], - "label": "refresh", - "description": [ - "Force refresh of index pattern list" - ], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.clearCache", - "type": "Function", - "tags": [], - "label": "clearCache", - "description": [ - "\nClear index pattern list cache" - ], - "signature": [ - "(id?: string | undefined) => void" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.clearCache.$1", - "type": "string", - "tags": [], - "label": "id", - "description": [ - "optionally clear a single id" - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [] + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.getCache", - "type": "Function", - "tags": [], - "label": "getCache", - "description": [], - "signature": [ - "() => Promise<", - "SavedObject", - ">[] | null | undefined>" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.getDefault", - "type": "Function", - "tags": [], - "label": "getDefault", - "description": [ - "\nGet default index pattern" - ], - "signature": [ - "() => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - }, - " | null>" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.getDefaultId", - "type": "Function", - "tags": [], - "label": "getDefaultId", - "description": [ - "\nGet default index pattern id" - ], - "signature": [ - "() => Promise" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.setDefault", - "type": "Function", - "tags": [], - "label": "setDefault", - "description": [ - "\nOptionally set default index pattern, unless force = true" - ], - "signature": [ - "(id: string | null, force?: boolean) => Promise" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.setDefault.$1", - "type": "CompoundType", - "tags": [], - "label": "id", - "description": [], - "signature": [ - "string | null" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": false - }, - { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.setDefault.$2", - "type": "boolean", - "tags": [], - "label": "force", - "description": [], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.hasUserIndexPattern", - "type": "Function", - "tags": [], - "label": "hasUserIndexPattern", - "description": [ - "\nChecks if current user has a user created index pattern ignoring fleet's server default index patterns" - ], - "signature": [ - "() => Promise" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.getFieldsForWildcard", - "type": "Function", - "tags": [], - "label": "getFieldsForWildcard", - "description": [ - "\nGet field list by providing { pattern }" - ], - "signature": [ - "(options: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - }, - ") => Promise" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.getFieldsForWildcard.$1", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - } - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [ - "FieldSpec[]" - ] + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.getFieldsForIndexPattern", - "type": "Function", - "tags": [], - "label": "getFieldsForIndexPattern", - "description": [ - "\nGet field list by providing an index patttern (or spec)" - ], - "signature": [ - "(indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" - }, - ", options?: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - }, - " | undefined) => Promise" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.getFieldsForIndexPattern.$1", - "type": "CompoundType", - "tags": [], - "label": "indexPattern", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" - } - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.getFieldsForIndexPattern.$2", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - }, - " | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [ - "FieldSpec[]" - ] + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.refreshFields", - "type": "Function", - "tags": [], - "label": "refreshFields", - "description": [ - "\nRefresh field list for a given index pattern" - ], - "signature": [ - "(indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - }, - ") => Promise" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.refreshFields.$1", - "type": "Object", - "tags": [], - "label": "indexPattern", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - } - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/common/index_patterns_utils.test.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.fieldArrayToMap", - "type": "Function", - "tags": [], - "label": "fieldArrayToMap", - "description": [ - "\nConverts field array to map" - ], - "signature": [ - "(fields: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "[], fieldAttrs?: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldAttrs", - "text": "FieldAttrs" - }, - " | undefined) => Record" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.fieldArrayToMap.$1", - "type": "Array", - "tags": [], - "label": "fields", - "description": [ - ": FieldSpec[]" - ], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "[]" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.fieldArrayToMap.$2", - "type": "Object", - "tags": [], - "label": "fieldAttrs", - "description": [ - ": FieldAttrs" - ], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldAttrs", - "text": "FieldAttrs" - }, - " | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [ - "Record" - ] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/common/index_patterns_utils.test.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.savedObjectToSpec", - "type": "Function", - "tags": [], - "label": "savedObjectToSpec", - "description": [ - "\nConverts index pattern saved object to index pattern spec" - ], - "signature": [ - "(savedObject: ", - "SavedObject", - "<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternAttributes", - "text": "IndexPatternAttributes" - }, - ">) => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" - } - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.savedObjectToSpec.$1", - "type": "Object", - "tags": [], - "label": "savedObject", - "description": [], - "signature": [ - "SavedObject", - "<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternAttributes", - "text": "IndexPatternAttributes" - }, - ">" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [ - "IndexPatternSpec" - ] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/common/index_patterns_utils.test.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.get", - "type": "Function", - "tags": [], - "label": "get", - "description": [ - "\nGet an index pattern by id. Cache optimized" - ], - "signature": [ - "(id: string) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - }, - ">" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.get.$1", - "type": "string", - "tags": [], - "label": "id", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/common/index_patterns_utils.test.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.create", - "type": "Function", - "tags": [], - "label": "create", - "description": [ - "\nCreate a new index pattern instance" - ], - "signature": [ - "(spec: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" - }, - ", skipFetchFields?: boolean) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - }, - ">" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.create.$1", - "type": "Object", - "tags": [], - "label": "spec", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" - } - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.create.$2", - "type": "boolean", - "tags": [], - "label": "skipFetchFields", - "description": [], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [ - "IndexPattern" - ] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/index_pattern_select/types.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.createAndSave", - "type": "Function", - "tags": [], - "label": "createAndSave", - "description": [ - "\nCreate a new index pattern and save it right away" - ], - "signature": [ - "(spec: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" - }, - ", override?: boolean, skipFetchFields?: boolean) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - }, - ">" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.createAndSave.$1", - "type": "Object", - "tags": [], - "label": "spec", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" - } - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.createAndSave.$2", - "type": "boolean", - "tags": [], - "label": "override", - "description": [ - "Overwrite if existing index pattern exists." - ], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.createAndSave.$3", - "type": "boolean", - "tags": [], - "label": "skipFetchFields", - "description": [ - "Whether to skip field refresh step." - ], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/index_pattern_select/types.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.createSavedObject", - "type": "Function", - "tags": [], - "label": "createSavedObject", - "description": [ - "\nSave a new index pattern" - ], - "signature": [ - "(indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - }, - ", override?: boolean) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - }, - ">" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.createSavedObject.$1", - "type": "Object", - "tags": [], - "label": "indexPattern", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - } - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.createSavedObject.$2", - "type": "boolean", - "tags": [], - "label": "override", - "description": [ - "Overwrite if existing index pattern exists" - ], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/index_pattern_select/index_pattern_select.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.updateSavedObject", - "type": "Function", - "tags": [], - "label": "updateSavedObject", - "description": [ - "\nSave existing index pattern. Will attempt to merge differences if there are conflicts" - ], - "signature": [ - "(indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - }, - ", saveAttempts?: number, ignoreErrors?: boolean) => Promise" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.updateSavedObject.$1", - "type": "Object", - "tags": [], - "label": "indexPattern", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - } - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.updateSavedObject.$2", - "type": "number", - "tags": [], - "label": "saveAttempts", - "description": [], - "signature": [ - "number" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.updateSavedObject.$3", - "type": "boolean", - "tags": [], - "label": "ignoreErrors", - "description": [], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/index_pattern_select/index_pattern_select.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.delete", - "type": "Function", - "tags": [], - "label": "delete", - "description": [ - "\nDeletes an index pattern from .kibana index" - ], - "signature": [ - "(indexPatternId: string) => Promise<{}>" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.IndexPatternsService.delete.$1", - "type": "string", - "tags": [], - "label": "indexPatternId", - "description": [ - ": Id of kibana Index Pattern to delete" - ], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.OptionedParamType", - "type": "Class", - "tags": [], - "label": "OptionedParamType", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.OptionedParamType", - "text": "OptionedParamType" + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_pattern.ts" }, - " extends ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.BaseParamType", - "text": "BaseParamType" + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_pattern.ts" }, - "<", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.AggConfig", - "text": "AggConfig" + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_pattern_with_timefield.ts" }, - ">" - ], - "path": "src/plugins/data/common/search/aggs/param_types/optioned.ts", - "deprecated": false, - "children": [ { - "parentPluginId": "data", - "id": "def-public.OptionedParamType.options", - "type": "Array", - "tags": [], - "label": "options", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.OptionedValueProp", - "text": "OptionedValueProp" - }, - "[]" - ], - "path": "src/plugins/data/common/search/aggs/param_types/optioned.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_pattern_with_timefield.ts" }, { - "parentPluginId": "data", - "id": "def-public.OptionedParamType.Unnamed", - "type": "Function", - "tags": [], - "label": "Constructor", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data/common/search/aggs/param_types/optioned.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.OptionedParamType.Unnamed.$1", - "type": "Object", - "tags": [], - "label": "config", - "description": [], - "signature": [ - "Record" - ], - "path": "src/plugins/data/common/search/aggs/param_types/optioned.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.SearchSource", - "type": "Class", - "tags": [], - "label": "SearchSource", - "description": [], - "path": "src/plugins/data/common/search/search_source/search_source.ts", - "deprecated": false, - "children": [ + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, { - "parentPluginId": "data", - "id": "def-public.SearchSource.history", - "type": "Array", - "tags": [], - "label": "history", - "description": [], - "signature": [ - "Record[]" - ], - "path": "src/plugins/data/common/search/search_source/search_source.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" }, { - "parentPluginId": "data", - "id": "def-public.SearchSource.Unnamed", - "type": "Function", - "tags": [], - "label": "Constructor", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data/common/search/search_source/search_source.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.SearchSource.Unnamed.$1", - "type": "Object", - "tags": [], - "label": "fields", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSourceFields", - "text": "SearchSourceFields" - } - ], - "path": "src/plugins/data/common/search/search_source/search_source.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-public.SearchSource.Unnamed.$2", - "type": "Object", - "tags": [], - "label": "dependencies", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSourceDependencies", - "text": "SearchSourceDependencies" - } - ], - "path": "src/plugins/data/common/search/search_source/search_source.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" }, { - "parentPluginId": "data", - "id": "def-public.SearchSource.setPreferredSearchStrategyId", - "type": "Function", - "tags": [], - "label": "setPreferredSearchStrategyId", - "description": [ - "**\nPUBLIC API\n\ninternal, dont use" - ], - "signature": [ - "(searchStrategyId: string) => void" - ], - "path": "src/plugins/data/common/search/search_source/search_source.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.SearchSource.setPreferredSearchStrategyId.$1", - "type": "string", - "tags": [], - "label": "searchStrategyId", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/search/search_source/search_source.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" }, { - "parentPluginId": "data", - "id": "def-public.SearchSource.setField", - "type": "Function", - "tags": [], - "label": "setField", - "description": [ - "\nsets value to a single search source field" - ], - "signature": [ - "(field: K, value: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSourceFields", - "text": "SearchSourceFields" - }, - "[K]) => this" - ], - "path": "src/plugins/data/common/search/search_source/search_source.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.SearchSource.setField.$1", - "type": "Uncategorized", - "tags": [], - "label": "field", - "description": [ - ": field name" - ], - "signature": [ - "K" - ], - "path": "src/plugins/data/common/search/search_source/search_source.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-public.SearchSource.setField.$2", - "type": "Uncategorized", - "tags": [], - "label": "value", - "description": [ - ": value for the field" - ], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSourceFields", - "text": "SearchSourceFields" - }, - "[K]" - ], - "path": "src/plugins/data/common/search/search_source/search_source.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" }, { - "parentPluginId": "data", - "id": "def-public.SearchSource.removeField", - "type": "Function", - "tags": [], - "label": "removeField", - "description": [ - "\nremove field" - ], - "signature": [ - "(field: K) => this" - ], - "path": "src/plugins/data/common/search/search_source/search_source.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.SearchSource.removeField.$1", - "type": "Uncategorized", - "tags": [], - "label": "field", - "description": [ - ": field name" - ], - "signature": [ - "K" - ], - "path": "src/plugins/data/common/search/search_source/search_source.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" }, { - "parentPluginId": "data", - "id": "def-public.SearchSource.setFields", - "type": "Function", - "tags": [ - "private" - ], - "label": "setFields", - "description": [ - "\nInternal, do not use. Overrides all search source fields with the new field array.\n" - ], - "signature": [ - "(newFields: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSourceFields", - "text": "SearchSourceFields" - }, - ") => this" - ], - "path": "src/plugins/data/common/search/search_source/search_source.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.SearchSource.setFields.$1", - "type": "Object", - "tags": [], - "label": "newFields", - "description": [ - "New field array." - ], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSourceFields", - "text": "SearchSourceFields" - } - ], - "path": "src/plugins/data/common/search/search_source/search_source.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" }, { - "parentPluginId": "data", - "id": "def-public.SearchSource.getId", - "type": "Function", - "tags": [], - "label": "getId", - "description": [ - "\nreturns search source id" - ], - "signature": [ - "() => string" - ], - "path": "src/plugins/data/common/search/search_source/search_source.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" }, { - "parentPluginId": "data", - "id": "def-public.SearchSource.getFields", - "type": "Function", - "tags": [], - "label": "getFields", - "description": [ - "\nreturns all search source fields" - ], - "signature": [ - "() => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSourceFields", - "text": "SearchSourceFields" - } - ], - "path": "src/plugins/data/common/search/search_source/search_source.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" }, { - "parentPluginId": "data", - "id": "def-public.SearchSource.getField", - "type": "Function", - "tags": [], - "label": "getField", - "description": [ - "\nGets a single field from the fields" - ], - "signature": [ - "(field: K, recurse?: boolean) => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSourceFields", - "text": "SearchSourceFields" - }, - "[K]" - ], - "path": "src/plugins/data/common/search/search_source/search_source.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.SearchSource.getField.$1", - "type": "Uncategorized", - "tags": [], - "label": "field", - "description": [], - "signature": [ - "K" - ], - "path": "src/plugins/data/common/search/search_source/search_source.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-public.SearchSource.getField.$2", - "type": "boolean", - "tags": [], - "label": "recurse", - "description": [], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/search/search_source/search_source.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" }, { - "parentPluginId": "data", - "id": "def-public.SearchSource.getOwnField", - "type": "Function", - "tags": [], - "label": "getOwnField", - "description": [ - "\nGet the field from our own fields, don't traverse up the chain" - ], - "signature": [ - "(field: K) => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSourceFields", - "text": "SearchSourceFields" - }, - "[K]" - ], - "path": "src/plugins/data/common/search/search_source/search_source.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.SearchSource.getOwnField.$1", - "type": "Uncategorized", - "tags": [], - "label": "field", - "description": [], - "signature": [ - "K" - ], - "path": "src/plugins/data/common/search/search_source/search_source.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/types.ts" }, { - "parentPluginId": "data", - "id": "def-public.SearchSource.create", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "create", - "description": [], - "signature": [ - "() => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSource", - "text": "SearchSource" - } - ], - "path": "src/plugins/data/common/search/search_source/search_source.ts", - "deprecated": true, - "references": [ - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" - } - ], - "children": [], - "returnComment": [] + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/types.ts" }, { - "parentPluginId": "data", - "id": "def-public.SearchSource.createCopy", - "type": "Function", - "tags": [], - "label": "createCopy", - "description": [ - "\ncreates a copy of this search source (without its children)" - ], - "signature": [ - "() => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSource", - "text": "SearchSource" - } - ], - "path": "src/plugins/data/common/search/search_source/search_source.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" }, { - "parentPluginId": "data", - "id": "def-public.SearchSource.createChild", - "type": "Function", - "tags": [], - "label": "createChild", - "description": [ - "\ncreates a new child search source" - ], - "signature": [ - "(options?: {}) => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSource", - "text": "SearchSource" - } - ], - "path": "src/plugins/data/common/search/search_source/search_source.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.SearchSource.createChild.$1", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "signature": [ - "{}" - ], - "path": "src/plugins/data/common/search/search_source/search_source.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" }, { - "parentPluginId": "data", - "id": "def-public.SearchSource.setParent", - "type": "Function", - "tags": [ - "return" - ], - "label": "setParent", - "description": [ - "\nSet a searchSource that this source should inherit from" - ], - "signature": [ - "(parent?: Pick<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSource", - "text": "SearchSource" - }, - ", \"create\" | \"history\" | \"setPreferredSearchStrategyId\" | \"setField\" | \"removeField\" | \"setFields\" | \"getId\" | \"getFields\" | \"getField\" | \"getOwnField\" | \"createCopy\" | \"createChild\" | \"setParent\" | \"getParent\" | \"fetch$\" | \"fetch\" | \"onRequestStart\" | \"getSearchRequestBody\" | \"destroy\" | \"getSerializedFields\" | \"serialize\"> | undefined, options?: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSourceOptions", - "text": "SearchSourceOptions" - }, - ") => this" - ], - "path": "src/plugins/data/common/search/search_source/search_source.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.SearchSource.setParent.$1", - "type": "Object", - "tags": [], - "label": "parent", - "description": [ - "- the parent searchSource" - ], - "signature": [ - "Pick<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSource", - "text": "SearchSource" - }, - ", \"create\" | \"history\" | \"setPreferredSearchStrategyId\" | \"setField\" | \"removeField\" | \"setFields\" | \"getId\" | \"getFields\" | \"getField\" | \"getOwnField\" | \"createCopy\" | \"createChild\" | \"setParent\" | \"getParent\" | \"fetch$\" | \"fetch\" | \"onRequestStart\" | \"getSearchRequestBody\" | \"destroy\" | \"getSerializedFields\" | \"serialize\"> | undefined" - ], - "path": "src/plugins/data/common/search/search_source/search_source.ts", - "deprecated": false, - "isRequired": false - }, - { - "parentPluginId": "data", - "id": "def-public.SearchSource.setParent.$2", - "type": "Object", - "tags": [], - "label": "options", - "description": [ - "- the inherit options" - ], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSourceOptions", - "text": "SearchSourceOptions" - } - ], - "path": "src/plugins/data/common/search/search_source/search_source.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [ - "- chainable" - ] + "plugin": "ml", + "path": "x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx" }, { - "parentPluginId": "data", - "id": "def-public.SearchSource.getParent", - "type": "Function", - "tags": [ - "return" - ], - "label": "getParent", - "description": [ - "\nGet the parent of this SearchSource" - ], - "signature": [ - "() => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSource", - "text": "SearchSource" - }, - " | undefined" - ], - "path": "src/plugins/data/common/search/search_source/search_source.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "ml", + "path": "x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx" }, { - "parentPluginId": "data", - "id": "def-public.SearchSource.fetch$", - "type": "Function", - "tags": [], - "label": "fetch$", - "description": [ - "\nFetch this source from Elasticsearch, returning an observable over the response(s)" - ], - "signature": [ - "(options?: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.ISearchOptions", - "text": "ISearchOptions" - }, - ") => ", - "Observable", - "<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.IKibanaSearchResponse", - "text": "IKibanaSearchResponse" - }, - "<", - "SearchResponse", - ">>" - ], - "path": "src/plugins/data/common/search/search_source/search_source.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.SearchSource.fetch$.$1", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.ISearchOptions", - "text": "ISearchOptions" - } - ], - "path": "src/plugins/data/common/search/search_source/search_source.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/state/reducers/index_pattern.ts" }, { - "parentPluginId": "data", - "id": "def-public.SearchSource.fetch", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "fetch", - "description": [ - "\nFetch this source and reject the returned Promise on error" - ], - "signature": [ - "(options?: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.ISearchOptions", - "text": "ISearchOptions" - }, - ") => Promise<", - "SearchResponse", - ">" - ], - "path": "src/plugins/data/common/search/search_source/search_source.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context/api/utils/fetch_hits_in_interval.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context/api/anchor.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/list_control_factory.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/range_control_factory.ts" - } - ], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.SearchSource.fetch.$1", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.ISearchOptions", - "text": "ISearchOptions" - } - ], - "path": "src/plugins/data/common/search/search_source/search_source.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/state/reducers/index_pattern.ts" }, { - "parentPluginId": "data", - "id": "def-public.SearchSource.onRequestStart", - "type": "Function", - "tags": [ - "return" - ], - "label": "onRequestStart", - "description": [ - "\n Add a handler that will be notified whenever requests start" - ], - "signature": [ - "(handler: (searchSource: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSource", - "text": "SearchSource" - }, - ", options?: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.ISearchOptions", - "text": "ISearchOptions" - }, - " | undefined) => Promise) => void" - ], - "path": "src/plugins/data/common/search/search_source/search_source.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.SearchSource.onRequestStart.$1", - "type": "Function", - "tags": [], - "label": "handler", - "description": [], - "signature": [ - "(searchSource: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSource", - "text": "SearchSource" - }, - ", options?: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.ISearchOptions", - "text": "ISearchOptions" - }, - " | undefined) => Promise" - ], - "path": "src/plugins/data/common/search/search_source/search_source.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.test.ts" }, { - "parentPluginId": "data", - "id": "def-public.SearchSource.getSearchRequestBody", - "type": "Function", - "tags": [], - "label": "getSearchRequestBody", - "description": [ - "\nReturns body contents of the search request, often referred as query DSL." - ], - "signature": [ - "() => any" - ], - "path": "src/plugins/data/common/search/search_source/search_source.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.test.ts" }, { - "parentPluginId": "data", - "id": "def-public.SearchSource.destroy", - "type": "Function", - "tags": [ - "return" - ], - "label": "destroy", - "description": [ - "\nCompletely destroy the SearchSource." - ], - "signature": [ - "() => void" - ], - "path": "src/plugins/data/common/search/search_source/search_source.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" }, { - "parentPluginId": "data", - "id": "def-public.SearchSource.getSerializedFields", - "type": "Function", - "tags": [], - "label": "getSerializedFields", - "description": [ - "\nserializes search source fields (which can later be passed to {@link ISearchStartSearchSource})" - ], - "signature": [ - "(recurse?: boolean) => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSourceFields", - "text": "SearchSourceFields" - } - ], - "path": "src/plugins/data/common/search/search_source/search_source.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.SearchSource.getSerializedFields.$1", - "type": "boolean", - "tags": [], - "label": "recurse", - "description": [], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/search/search_source/search_source.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" }, { - "parentPluginId": "data", - "id": "def-public.SearchSource.serialize", - "type": "Function", - "tags": [], - "label": "serialize", - "description": [ - "\nSerializes the instance to a JSON string and a set of referenced objects.\nUse this method to get a representation of the search source which can be stored in a saved object.\n\nThe references returned by this function can be mixed with other references in the same object,\nhowever make sure there are no name-collisions. The references will be named `kibanaSavedObjectMeta.searchSourceJSON.index`\nand `kibanaSavedObjectMeta.searchSourceJSON.filter[].meta.index`.\n\nUsing `createSearchSource`, the instance can be re-created." - ], - "signature": [ - "() => { searchSourceJSON: string; references: ", - "SavedObjectReference", - "[]; }" - ], - "path": "src/plugins/data/common/search/search_source/search_source.ts", - "deprecated": false, - "children": [], - "returnComment": [] - } - ], - "initialIsOpen": false - } - ], - "functions": [ - { - "parentPluginId": "data", - "id": "def-public.castEsToKbnFieldTypeName", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "castEsToKbnFieldTypeName", - "description": [], - "signature": [ - "(esType: string) => ", - "KBN_FIELD_TYPES" - ], - "path": "src/plugins/data/common/kbn_field_types/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/doc_views/doc_views_types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/doc_views/doc_views_types.ts" + }, { "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx" + "path": "src/plugins/index_pattern_field_editor/public/shared_imports.ts" }, { "plugin": "indexPatternFieldEditor", - "path": "src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx" + "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" }, { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/lib/create_field_list.ts" + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" }, { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/lib/create_field_list.ts" - } - ], - "returnComment": [], - "children": [ + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx" + }, { - "parentPluginId": "data", - "id": "def-public.esType", - "type": "string", - "tags": [], - "label": "esType", - "description": [], - "path": "node_modules/@kbn/field-types/target_types/kbn_field_types.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.extractReferences", - "type": "Function", - "tags": [], - "label": "extractReferences", - "description": [], - "signature": [ - "(state: ", + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx" + }, { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSourceFields", - "text": "SearchSourceFields" + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts" }, - ") => [", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSourceFields", - "text": "SearchSourceFields" + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts" }, - " & { indexRefName?: string | undefined; }, ", - "SavedObjectReference", - "[]]" - ], - "path": "src/plugins/data/common/search/search_source/extract_references.ts", - "deprecated": false, - "children": [ { - "parentPluginId": "data", - "id": "def-public.extractReferences.$1", - "type": "Object", - "tags": [], - "label": "state", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSourceFields", - "text": "SearchSourceFields" - } - ], - "path": "src/plugins/data/common/search/search_source/extract_references.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.fieldList", - "type": "Function", - "tags": [], - "label": "fieldList", - "description": [], - "signature": [ - "(specs?: ", + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx" + }, { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx" }, - "[], shortDotsEnable?: boolean) => ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IIndexPatternFieldList", - "text": "IIndexPatternFieldList" - } - ], - "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", - "deprecated": false, - "children": [ + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/delete_field_provider.tsx" + }, { - "parentPluginId": "data", - "id": "def-public.fieldList.$1", - "type": "Array", - "tags": [], - "label": "specs", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "[]" - ], - "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", - "deprecated": false, - "isRequired": true + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/delete_field_provider.tsx" }, { - "parentPluginId": "data", - "id": "def-public.fieldList.$2", - "type": "boolean", - "tags": [], - "label": "shortDotsEnable", - "description": [], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.getEsQueryConfig", - "type": "Function", - "tags": [], - "label": "getEsQueryConfig", - "description": [], - "signature": [ - "(config: KibanaConfig) => ", - "EsQueryConfig" - ], - "path": "src/plugins/data/common/es_query/get_es_query_config.ts", - "deprecated": false, - "children": [ + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" + }, { - "parentPluginId": "data", - "id": "def-public.getEsQueryConfig.$1", - "type": "Object", - "tags": [], - "label": "config", - "description": [], - "signature": [ - "KibanaConfig" - ], - "path": "src/plugins/data/common/es_query/get_es_query_config.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.getKbnTypeNames", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "getKbnTypeNames", - "description": [], - "signature": [ - "() => string[]" - ], - "path": "src/plugins/data/common/kbn_field_types/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" + }, { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/field_editor/constants/index.ts" + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" }, { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/field_editor/constants/index.ts" - } - ], - "returnComment": [], - "children": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.getSearchParamsFromRequest", - "type": "Function", - "tags": [], - "label": "getSearchParamsFromRequest", - "description": [], - "signature": [ - "(searchRequest: Record, dependencies: { getConfig: ", + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" + }, { - "pluginId": "data", - "scope": "common", - "docId": "kibDataPluginApi", - "section": "def-common.GetConfigFn", - "text": "GetConfigFn" + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx" }, - "; }) => ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.ISearchRequestParams", - "text": "ISearchRequestParams" - } - ], - "path": "src/plugins/data/common/search/search_source/fetch/get_search_params.ts", - "deprecated": false, - "children": [ + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx" + }, { - "parentPluginId": "data", - "id": "def-public.getSearchParamsFromRequest.$1", - "type": "Object", - "tags": [], - "label": "searchRequest", - "description": [], - "signature": [ - "Record" - ], - "path": "src/plugins/data/common/search/search_source/fetch/get_search_params.ts", - "deprecated": false, - "isRequired": true + "plugin": "discover", + "path": "src/plugins/discover/public/kibana_services.ts" }, { - "parentPluginId": "data", - "id": "def-public.getSearchParamsFromRequest.$2.dependencies", - "type": "Object", - "tags": [], - "label": "dependencies", - "description": [], - "path": "src/plugins/data/common/search/search_source/fetch/get_search_params.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.getSearchParamsFromRequest.$2.dependencies.getConfig", - "type": "Function", - "tags": [], - "label": "getConfig", - "description": [], - "signature": [ - "(key: string, defaultOverride?: T | undefined) => T" - ], - "path": "src/plugins/data/common/search/search_source/fetch/get_search_params.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.key", - "type": "string", - "tags": [], - "label": "key", - "description": [], - "path": "src/plugins/data/common/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.defaultOverride", - "type": "Uncategorized", - "tags": [], - "label": "defaultOverride", - "description": [], - "signature": [ - "T | undefined" - ], - "path": "src/plugins/data/common/types.ts", - "deprecated": false - } - ] - } - ] - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.getTime", - "type": "Function", - "tags": [], - "label": "getTime", - "description": [], - "signature": [ - "(indexPattern: ", + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx" + }, { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IIndexPattern", - "text": "IIndexPattern" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx" }, - " | undefined, timeRange: ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataQueryPluginApi", - "section": "def-common.TimeRange", - "text": "TimeRange" + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx" }, - ", options: { forceNow?: Date | undefined; fieldName?: string | undefined; } | undefined) => ", - "RangeFilter", - " | ", - "ScriptedRangeFilter", - " | ", - "MatchAllRangeFilter", - " | undefined" - ], - "path": "src/plugins/data/common/query/timefilter/get_time.ts", - "deprecated": false, - "children": [ { - "parentPluginId": "data", - "id": "def-public.getTime.$1", - "type": "Object", - "tags": [], - "label": "indexPattern", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IIndexPattern", - "text": "IIndexPattern" - }, - " | undefined" - ], - "path": "src/plugins/data/common/query/timefilter/get_time.ts", - "deprecated": false, - "isRequired": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx" }, { - "parentPluginId": "data", - "id": "def-public.getTime.$2", - "type": "Object", - "tags": [], - "label": "timeRange", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataQueryPluginApi", - "section": "def-common.TimeRange", - "text": "TimeRange" - } - ], - "path": "src/plugins/data/common/query/timefilter/get_time.ts", - "deprecated": false, - "isRequired": true + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx" }, { - "parentPluginId": "data", - "id": "def-public.getTime.$3.options", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "path": "src/plugins/data/common/query/timefilter/get_time.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.getTime.$3.options.forceNow", - "type": "Object", - "tags": [], - "label": "forceNow", - "description": [], - "signature": [ - "Date | undefined" - ], - "path": "src/plugins/data/common/query/timefilter/get_time.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.getTime.$3.options.fieldName", - "type": "string", - "tags": [], - "label": "fieldName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/query/timefilter/get_time.ts", - "deprecated": false - } - ] - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.injectReferences", - "type": "Function", - "tags": [], - "label": "injectReferences", - "description": [], - "signature": [ - "(searchSourceFields: ", + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx" + }, { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSourceFields", - "text": "SearchSourceFields" + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx" }, - " & { indexRefName: string; }, references: ", - "SavedObjectReference", - "[]) => ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSourceFields", - "text": "SearchSourceFields" - } - ], - "path": "src/plugins/data/common/search/search_source/inject_references.ts", - "deprecated": false, - "children": [ + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx" + }, { - "parentPluginId": "data", - "id": "def-public.injectReferences.$1", - "type": "CompoundType", - "tags": [], - "label": "searchSourceFields", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSourceFields", - "text": "SearchSourceFields" - }, - " & { indexRefName: string; }" - ], - "path": "src/plugins/data/common/search/search_source/inject_references.ts", - "deprecated": false, - "isRequired": true + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid.tsx" }, { - "parentPluginId": "data", - "id": "def-public.injectReferences.$2", - "type": "Array", - "tags": [], - "label": "references", - "description": [], - "signature": [ - "SavedObjectReference", - "[]" - ], - "path": "src/plugins/data/common/search/search_source/inject_references.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.isCompleteResponse", - "type": "Function", - "tags": [], - "label": "isCompleteResponse", - "description": [], - "signature": [ - "(response?: ", + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid.tsx" + }, { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.IKibanaSearchResponse", - "text": "IKibanaSearchResponse" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_default_sort.ts" }, - " | undefined) => boolean" - ], - "path": "src/plugins/data/common/search/utils.ts", - "deprecated": false, - "children": [ { - "parentPluginId": "data", - "id": "def-public.isCompleteResponse.$1", - "type": "Object", - "tags": [], - "label": "response", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.IKibanaSearchResponse", - "text": "IKibanaSearchResponse" - }, - " | undefined" - ], - "path": "src/plugins/data/common/search/utils.ts", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [ - "true if response is completed successfully" - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.isErrorResponse", - "type": "Function", - "tags": [], - "label": "isErrorResponse", - "description": [], - "signature": [ - "(response?: ", + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_default_sort.ts" + }, { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.IKibanaSearchResponse", - "text": "IKibanaSearchResponse" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/table_header.tsx" }, - " | undefined) => boolean" - ], - "path": "src/plugins/data/common/search/utils.ts", - "deprecated": false, - "children": [ { - "parentPluginId": "data", - "id": "def-public.isErrorResponse.$1", - "type": "Object", - "tags": [], - "label": "response", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.IKibanaSearchResponse", - "text": "IKibanaSearchResponse" - }, - " | undefined" - ], - "path": "src/plugins/data/common/search/utils.ts", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [ - "true if response had an error while executing in ES" - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.isFilter", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "isFilter", - "description": [], - "signature": [ - "(x: unknown) => x is ", - "Filter" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "returnComment": [], - "children": [ + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/table_header.tsx" + }, { - "parentPluginId": "data", - "id": "def-public.x", - "type": "Unknown", - "tags": [], - "label": "x", - "description": [], - "signature": [ - "unknown" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.isFilters", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "isFilters", - "description": [], - "signature": [ - "(x: unknown) => x is ", - "Filter", - "[]" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.tsx" + }, { - "plugin": "dashboardEnhanced", - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.tsx" }, { - "plugin": "dashboardEnhanced", - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx" - } - ], - "returnComment": [], - "children": [ + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.tsx" + }, { - "parentPluginId": "data", - "id": "def-public.x", - "type": "Unknown", - "tags": [], - "label": "x", - "description": [], - "signature": [ - "unknown" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.isPartialResponse", - "type": "Function", - "tags": [], - "label": "isPartialResponse", - "description": [], - "signature": [ - "(response?: ", + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" + }, { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.IKibanaSearchResponse", - "text": "IKibanaSearchResponse" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" }, - " | undefined) => boolean" - ], - "path": "src/plugins/data/common/search/utils.ts", - "deprecated": false, - "children": [ { - "parentPluginId": "data", - "id": "def-public.isPartialResponse.$1", - "type": "Object", - "tags": [], - "label": "response", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.IKibanaSearchResponse", - "text": "IKibanaSearchResponse" - }, - " | undefined" - ], - "path": "src/plugins/data/common/search/utils.ts", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [ - "true if request is still running an/d response contains partial results" - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.isQuery", - "type": "Function", - "tags": [], - "label": "isQuery", - "description": [], - "signature": [ - "(x: unknown) => x is ", - "Query" - ], - "path": "src/plugins/data/common/query/is_query.ts", - "deprecated": false, - "children": [ + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.ts" + }, { - "parentPluginId": "data", - "id": "def-public.isQuery.$1", - "type": "Unknown", - "tags": [], - "label": "x", - "description": [], - "signature": [ - "unknown" - ], - "path": "src/plugins/data/common/query/is_query.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.isTimeRange", - "type": "Function", - "tags": [], - "label": "isTimeRange", - "description": [], - "signature": [ - "(x: unknown) => x is ", + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.ts" + }, { - "pluginId": "data", - "scope": "common", - "docId": "kibDataQueryPluginApi", - "section": "def-common.TimeRange", - "text": "TimeRange" - } - ], - "path": "src/plugins/data/common/query/timefilter/is_time_range.ts", - "deprecated": false, - "children": [ + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_data_grid_columns.ts" + }, { - "parentPluginId": "data", - "id": "def-public.isTimeRange.$1", - "type": "Unknown", - "tags": [], - "label": "x", - "description": [], - "signature": [ - "unknown" - ], - "path": "src/plugins/data/common/query/timefilter/is_time_range.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.parseSearchSourceJSON", - "type": "Function", - "tags": [], - "label": "parseSearchSourceJSON", - "description": [], - "signature": [ - "(searchSourceJSON: string) => ", + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_data_grid_columns.ts" + }, { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSourceFields", - "text": "SearchSourceFields" - } - ], - "path": "src/plugins/data/common/search/search_source/parse_json.ts", - "deprecated": false, - "children": [ + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/utils/sorting.ts" + }, { - "parentPluginId": "data", - "id": "def-public.parseSearchSourceJSON.$1", - "type": "string", - "tags": [], - "label": "searchSourceJSON", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/search/search_source/parse_json.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - } - ], - "interfaces": [ - { - "parentPluginId": "data", - "id": "def-public.AggFunctionsMapping", - "type": "Interface", - "tags": [], - "label": "AggFunctionsMapping", - "description": [ - "\nA global list of the expression function definitions for each agg type function." - ], - "path": "src/plugins/data/common/search/aggs/types.ts", - "deprecated": false, - "children": [ + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/utils/sorting.ts" + }, { - "parentPluginId": "data", - "id": "def-public.AggFunctionsMapping.aggFilter", - "type": "Object", - "tags": [], - "label": "aggFilter", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" - }, - "<\"aggFilter\", any, Pick, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\"> & Pick<{ geo_bounding_box?: ({ type: \"geo_bounding_box\"; } & GeoBox) | ({ type: \"geo_bounding_box\"; } & { top_left: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.GeoPoint", - "text": "GeoPoint" - }, - "; bottom_right: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.GeoPoint", - "text": "GeoPoint" - }, - "; }) | ({ type: \"geo_bounding_box\"; } & { top_right: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.GeoPoint", - "text": "GeoPoint" - }, - "; bottom_left: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.GeoPoint", - "text": "GeoPoint" - }, - "; }) | ({ type: \"geo_bounding_box\"; } & WellKnownText) | undefined; filter?: ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionValueBoxed", - "text": "ExpressionValueBoxed" - }, - "<\"kibana_query\", ", - "Query", - "> | undefined; }, \"filter\" | \"geo_bounding_box\"> & Pick<{ geo_bounding_box?: ({ type: \"geo_bounding_box\"; } & GeoBox) | ({ type: \"geo_bounding_box\"; } & { top_left: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.GeoPoint", - "text": "GeoPoint" - }, - "; bottom_right: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.GeoPoint", - "text": "GeoPoint" - }, - "; }) | ({ type: \"geo_bounding_box\"; } & { top_right: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.GeoPoint", - "text": "GeoPoint" - }, - "; bottom_left: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.GeoPoint", - "text": "GeoPoint" - }, - "; }) | ({ type: \"geo_bounding_box\"; } & WellKnownText) | undefined; filter?: ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionValueBoxed", - "text": "ExpressionValueBoxed" - }, - "<\"kibana_query\", ", - "Query", - "> | undefined; }, never>, \"enabled\" | \"id\" | \"filter\" | \"customLabel\" | \"schema\" | \"geo_bounding_box\" | \"json\" | \"timeShift\">, ", - "AggExpressionType", - ", ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" - }, - "<", - { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" - }, - ", ", - "SerializableRecord", - ">>" - ], - "path": "src/plugins/data/common/search/aggs/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts" }, { - "parentPluginId": "data", - "id": "def-public.AggFunctionsMapping.aggFilters", - "type": "Object", - "tags": [], - "label": "aggFilters", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" - }, - "<\"aggFilters\", any, Pick, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"timeShift\"> & Pick<{ filters?: ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionValueBoxed", - "text": "ExpressionValueBoxed" - }, - "<\"kibana_query_filter\", ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.QueryFilter", - "text": "QueryFilter" - }, - ">[] | undefined; }, \"filters\"> & Pick<{ filters?: ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionValueBoxed", - "text": "ExpressionValueBoxed" - }, - "<\"kibana_query_filter\", ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.QueryFilter", - "text": "QueryFilter" - }, - ">[] | undefined; }, never>, \"enabled\" | \"filters\" | \"id\" | \"schema\" | \"json\" | \"timeShift\">, ", - "AggExpressionType", - ", ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" - }, - "<", - { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" - }, - ", ", - "SerializableRecord", - ">>" - ], - "path": "src/plugins/data/common/search/aggs/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts" }, { - "parentPluginId": "data", - "id": "def-public.AggFunctionsMapping.aggSignificantTerms", - "type": "Object", - "tags": [], - "label": "aggSignificantTerms", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" - }, - "<\"aggSignificantTerms\", any, ", - "AggExpressionFunctionArgs", - "<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.BUCKET_TYPES", - "text": "BUCKET_TYPES" - }, - ".SIGNIFICANT_TERMS>, ", - "AggExpressionType", - ", ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" - }, - "<", - { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" - }, - ", ", - "SerializableRecord", - ">>" - ], - "path": "src/plugins/data/common/search/aggs/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/calc_field_counts.ts" }, { - "parentPluginId": "data", - "id": "def-public.AggFunctionsMapping.aggIpRange", - "type": "Object", - "tags": [], - "label": "aggIpRange", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" - }, - "<\"aggIpRange\", any, Pick, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"field\"> & Pick<{ ranges?: (", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionValueBoxed", - "text": "ExpressionValueBoxed" - }, - "<\"cidr\", ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.Cidr", - "text": "Cidr" - }, - "> | ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionValueBoxed", - "text": "ExpressionValueBoxed" - }, - "<\"ip_range\", ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.IpRange", - "text": "IpRange" - }, - ">)[] | undefined; ipRangeType?: string | undefined; }, \"ipRangeType\" | \"ranges\"> & Pick<{ ranges?: (", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionValueBoxed", - "text": "ExpressionValueBoxed" - }, - "<\"cidr\", ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.Cidr", - "text": "Cidr" - }, - "> | ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionValueBoxed", - "text": "ExpressionValueBoxed" - }, - "<\"ip_range\", ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.IpRange", - "text": "IpRange" - }, - ">)[] | undefined; ipRangeType?: string | undefined; }, never>, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"field\" | \"ipRangeType\" | \"ranges\">, ", - "AggExpressionType", - ", ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" - }, - "<", - { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" - }, - ", ", - "SerializableRecord", - ">>" - ], - "path": "src/plugins/data/common/search/aggs/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/calc_field_counts.ts" }, { - "parentPluginId": "data", - "id": "def-public.AggFunctionsMapping.aggDateRange", - "type": "Object", - "tags": [], - "label": "aggDateRange", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" - }, - "<\"aggDateRange\", any, Pick, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"field\" | \"time_zone\"> & Pick<{ ranges?: ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionValueBoxed", - "text": "ExpressionValueBoxed" - }, - "<\"date_range\", ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.DateRange", - "text": "DateRange" - }, - ">[] | undefined; }, \"ranges\"> & Pick<{ ranges?: ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionValueBoxed", - "text": "ExpressionValueBoxed" - }, - "<\"date_range\", ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.DateRange", - "text": "DateRange" - }, - ">[] | undefined; }, never>, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"field\" | \"ranges\" | \"time_zone\">, ", - "AggExpressionType", - ", ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" - }, - "<", - { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" - }, - ", ", - "SerializableRecord", - ">>" - ], - "path": "src/plugins/data/common/search/aggs/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/get_top_nav_links.ts" }, { - "parentPluginId": "data", - "id": "def-public.AggFunctionsMapping.aggRange", - "type": "Object", - "tags": [], - "label": "aggRange", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" - }, - "<\"aggRange\", any, Pick, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"field\"> & Pick<{ ranges?: ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionValueBoxed", - "text": "ExpressionValueBoxed" - }, - "<\"numerical_range\", ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.NumericalRange", - "text": "NumericalRange" - }, - ">[] | undefined; }, \"ranges\"> & Pick<{ ranges?: ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionValueBoxed", - "text": "ExpressionValueBoxed" - }, - "<\"numerical_range\", ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.NumericalRange", - "text": "NumericalRange" - }, - ">[] | undefined; }, never>, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"field\" | \"ranges\">, ", - "AggExpressionType", - ", ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" - }, - "<", - { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" - }, - ", ", - "SerializableRecord", - ">>" - ], - "path": "src/plugins/data/common/search/aggs/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/get_top_nav_links.ts" }, { - "parentPluginId": "data", - "id": "def-public.AggFunctionsMapping.aggGeoTile", - "type": "Object", - "tags": [], - "label": "aggGeoTile", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" - }, - "<\"aggGeoTile\", any, ", - "AggExpressionFunctionArgs", - "<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.BUCKET_TYPES", - "text": "BUCKET_TYPES" - }, - ".GEOTILE_GRID>, ", - "AggExpressionType", - ", ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" - }, - "<", - { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" - }, - ", ", - "SerializableRecord", - ">>" - ], - "path": "src/plugins/data/common/search/aggs/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.ts" }, { - "parentPluginId": "data", - "id": "def-public.AggFunctionsMapping.aggGeoHash", - "type": "Object", - "tags": [], - "label": "aggGeoHash", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" - }, - "<\"aggGeoHash\", any, Pick, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"field\" | \"autoPrecision\" | \"precision\" | \"useGeocentroid\" | \"isFilteredByCollar\"> & Pick<{ boundingBox?: ({ type: \"geo_bounding_box\"; } & GeoBox) | ({ type: \"geo_bounding_box\"; } & { top_left: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.GeoPoint", - "text": "GeoPoint" - }, - "; bottom_right: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.GeoPoint", - "text": "GeoPoint" - }, - "; }) | ({ type: \"geo_bounding_box\"; } & { top_right: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.GeoPoint", - "text": "GeoPoint" - }, - "; bottom_left: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.GeoPoint", - "text": "GeoPoint" - }, - "; }) | ({ type: \"geo_bounding_box\"; } & WellKnownText) | undefined; }, \"boundingBox\"> & Pick<{ boundingBox?: ({ type: \"geo_bounding_box\"; } & GeoBox) | ({ type: \"geo_bounding_box\"; } & { top_left: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.GeoPoint", - "text": "GeoPoint" - }, - "; bottom_right: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.GeoPoint", - "text": "GeoPoint" - }, - "; }) | ({ type: \"geo_bounding_box\"; } & { top_right: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.GeoPoint", - "text": "GeoPoint" - }, - "; bottom_left: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.GeoPoint", - "text": "GeoPoint" - }, - "; }) | ({ type: \"geo_bounding_box\"; } & WellKnownText) | undefined; }, never>, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"field\" | \"autoPrecision\" | \"precision\" | \"useGeocentroid\" | \"isFilteredByCollar\" | \"boundingBox\">, ", - "AggExpressionType", - ", ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" - }, - "<", - { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" - }, - ", ", - "SerializableRecord", - ">>" - ], - "path": "src/plugins/data/common/search/aggs/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.ts" }, { - "parentPluginId": "data", - "id": "def-public.AggFunctionsMapping.aggHistogram", - "type": "Object", - "tags": [], - "label": "aggHistogram", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" - }, - "<\"aggHistogram\", any, Pick, \"enabled\" | \"interval\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"field\" | \"used_interval\" | \"maxBars\" | \"intervalBase\" | \"min_doc_count\" | \"has_extended_bounds\"> & Pick<{ extended_bounds?: ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionValueBoxed", - "text": "ExpressionValueBoxed" - }, - "<\"extended_bounds\", ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.ExtendedBounds", - "text": "ExtendedBounds" - }, - "> | undefined; }, \"extended_bounds\"> & Pick<{ extended_bounds?: ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionValueBoxed", - "text": "ExpressionValueBoxed" - }, - "<\"extended_bounds\", ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.ExtendedBounds", - "text": "ExtendedBounds" - }, - "> | undefined; }, never>, \"enabled\" | \"interval\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"field\" | \"used_interval\" | \"maxBars\" | \"intervalBase\" | \"min_doc_count\" | \"has_extended_bounds\" | \"extended_bounds\">, ", - "AggExpressionType", - ", ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" - }, - "<", - { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" - }, - ", ", - "SerializableRecord", - ">>" - ], - "path": "src/plugins/data/common/search/aggs/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.ts" }, { - "parentPluginId": "data", - "id": "def-public.AggFunctionsMapping.aggDateHistogram", - "type": "Object", - "tags": [], - "label": "aggDateHistogram", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" - }, - "<\"aggDateHistogram\", any, Pick, \"enabled\" | \"interval\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"field\" | \"time_zone\" | \"used_interval\" | \"min_doc_count\" | \"useNormalizedEsInterval\" | \"scaleMetricValues\" | \"used_time_zone\" | \"drop_partials\" | \"format\"> & Pick<{ timeRange?: ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionValueBoxed", - "text": "ExpressionValueBoxed" - }, - "<\"timerange\", ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataQueryPluginApi", - "section": "def-common.TimeRange", - "text": "TimeRange" - }, - "> | undefined; extended_bounds?: ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionValueBoxed", - "text": "ExpressionValueBoxed" - }, - "<\"extended_bounds\", ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.ExtendedBounds", - "text": "ExtendedBounds" - }, - "> | undefined; }, \"timeRange\" | \"extended_bounds\"> & Pick<{ timeRange?: ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionValueBoxed", - "text": "ExpressionValueBoxed" - }, - "<\"timerange\", ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataQueryPluginApi", - "section": "def-common.TimeRange", - "text": "TimeRange" - }, - "> | undefined; extended_bounds?: ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionValueBoxed", - "text": "ExpressionValueBoxed" - }, - "<\"extended_bounds\", ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.ExtendedBounds", - "text": "ExtendedBounds" - }, - "> | undefined; }, never>, \"enabled\" | \"interval\" | \"timeRange\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"field\" | \"time_zone\" | \"used_interval\" | \"min_doc_count\" | \"extended_bounds\" | \"useNormalizedEsInterval\" | \"scaleMetricValues\" | \"used_time_zone\" | \"drop_partials\" | \"format\">, ", - "AggExpressionType", - ", ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" - }, - "<", - { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" - }, - ", ", - "SerializableRecord", - ">>" - ], - "path": "src/plugins/data/common/search/aggs/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/nested_fields.ts" }, { - "parentPluginId": "data", - "id": "def-public.AggFunctionsMapping.aggTerms", - "type": "Object", - "tags": [], - "label": "aggTerms", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" - }, - "<\"aggTerms\", any, Pick, \"enabled\" | \"id\" | \"size\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"field\" | \"orderBy\" | \"order\" | \"missingBucket\" | \"missingBucketLabel\" | \"otherBucket\" | \"otherBucketLabel\" | \"exclude\" | \"include\"> & Pick<{ orderAgg?: ", - "AggExpressionType", - " | undefined; }, \"orderAgg\"> & Pick<{ orderAgg?: ", - "AggExpressionType", - " | undefined; }, never>, \"enabled\" | \"id\" | \"size\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"field\" | \"orderBy\" | \"orderAgg\" | \"order\" | \"missingBucket\" | \"missingBucketLabel\" | \"otherBucket\" | \"otherBucketLabel\" | \"exclude\" | \"include\">, ", - "AggExpressionType", - ", ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" - }, - "<", - { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" - }, - ", ", - "SerializableRecord", - ">>" - ], - "path": "src/plugins/data/common/search/aggs/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/nested_fields.ts" }, { - "parentPluginId": "data", - "id": "def-public.AggFunctionsMapping.aggAvg", - "type": "Object", - "tags": [], - "label": "aggAvg", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" - }, - "<\"aggAvg\", any, ", - "AggExpressionFunctionArgs", - "<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.METRIC_TYPES", - "text": "METRIC_TYPES" - }, - ".AVG>, ", - "AggExpressionType", - ", ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" - }, - "<", - { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" - }, - ", ", - "SerializableRecord", - ">>" - ], - "path": "src/plugins/data/common/search/aggs/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table.tsx" }, { - "parentPluginId": "data", - "id": "def-public.AggFunctionsMapping.aggBucketAvg", - "type": "Object", - "tags": [], - "label": "aggBucketAvg", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" - }, - "<\"aggBucketAvg\", any, Pick, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\"> & Pick<{ customBucket?: ", - "AggExpressionType", - " | undefined; customMetric?: ", - "AggExpressionType", - " | undefined; }, \"customMetric\" | \"customBucket\"> & Pick<{ customBucket?: ", - "AggExpressionType", - " | undefined; customMetric?: ", - "AggExpressionType", - " | undefined; }, never>, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"customMetric\" | \"customBucket\">, ", - "AggExpressionType", - ", ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" - }, - "<", - { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" - }, - ", ", - "SerializableRecord", - ">>" - ], - "path": "src/plugins/data/common/search/aggs/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table.tsx" }, { - "parentPluginId": "data", - "id": "def-public.AggFunctionsMapping.aggBucketMax", - "type": "Object", - "tags": [], - "label": "aggBucketMax", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" - }, - "<\"aggBucketMax\", any, Pick, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\"> & Pick<{ customBucket?: ", - "AggExpressionType", - " | undefined; customMetric?: ", - "AggExpressionType", - " | undefined; }, \"customMetric\" | \"customBucket\"> & Pick<{ customBucket?: ", - "AggExpressionType", - " | undefined; customMetric?: ", - "AggExpressionType", - " | undefined; }, never>, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"customMetric\" | \"customBucket\">, ", - "AggExpressionType", - ", ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" - }, - "<", - { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" - }, - ", ", - "SerializableRecord", - ">>" - ], - "path": "src/plugins/data/common/search/aggs/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/types.ts" }, { - "parentPluginId": "data", - "id": "def-public.AggFunctionsMapping.aggBucketMin", - "type": "Object", - "tags": [], - "label": "aggBucketMin", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" - }, - "<\"aggBucketMin\", any, Pick, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\"> & Pick<{ customBucket?: ", - "AggExpressionType", - " | undefined; customMetric?: ", - "AggExpressionType", - " | undefined; }, \"customMetric\" | \"customBucket\"> & Pick<{ customBucket?: ", - "AggExpressionType", - " | undefined; customMetric?: ", - "AggExpressionType", - " | undefined; }, never>, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"customMetric\" | \"customBucket\">, ", - "AggExpressionType", - ", ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" - }, - "<", - { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" - }, - ", ", - "SerializableRecord", - ">>" - ], - "path": "src/plugins/data/common/search/aggs/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/types.ts" }, { - "parentPluginId": "data", - "id": "def-public.AggFunctionsMapping.aggBucketSum", - "type": "Object", - "tags": [], - "label": "aggBucketSum", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" - }, - "<\"aggBucketSum\", any, Pick, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\"> & Pick<{ customBucket?: ", - "AggExpressionType", - " | undefined; customMetric?: ", - "AggExpressionType", - " | undefined; }, \"customMetric\" | \"customBucket\"> & Pick<{ customBucket?: ", - "AggExpressionType", - " | undefined; customMetric?: ", - "AggExpressionType", - " | undefined; }, never>, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"customMetric\" | \"customBucket\">, ", - "AggExpressionType", - ", ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" - }, - "<", - { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" - }, - ", ", - "SerializableRecord", - ">>" - ], - "path": "src/plugins/data/common/search/aggs/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" }, { - "parentPluginId": "data", - "id": "def-public.AggFunctionsMapping.aggFilteredMetric", - "type": "Object", - "tags": [], - "label": "aggFilteredMetric", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" - }, - "<\"aggFilteredMetric\", any, Pick, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\"> & Pick<{ customBucket?: ", - "AggExpressionType", - " | undefined; customMetric?: ", - "AggExpressionType", - " | undefined; }, \"customMetric\" | \"customBucket\"> & Pick<{ customBucket?: ", - "AggExpressionType", - " | undefined; customMetric?: ", - "AggExpressionType", - " | undefined; }, never>, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"customMetric\" | \"customBucket\">, ", - "AggExpressionType", - ", ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" - }, - "<", - { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" - }, - ", ", - "SerializableRecord", - ">>" - ], - "path": "src/plugins/data/common/search/aggs/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" }, { - "parentPluginId": "data", - "id": "def-public.AggFunctionsMapping.aggCardinality", - "type": "Object", - "tags": [], - "label": "aggCardinality", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" - }, - "<\"aggCardinality\", any, ", - "AggExpressionFunctionArgs", - "<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.METRIC_TYPES", - "text": "METRIC_TYPES" - }, - ".CARDINALITY>, ", - "AggExpressionType", - ", ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" - }, - "<", - { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" - }, - ", ", - "SerializableRecord", - ">>" - ], - "path": "src/plugins/data/common/search/aggs/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" }, { - "parentPluginId": "data", - "id": "def-public.AggFunctionsMapping.aggCount", - "type": "Object", - "tags": [], - "label": "aggCount", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" - }, - "<\"aggCount\", any, ", - "AggExpressionFunctionArgs", - "<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.METRIC_TYPES", - "text": "METRIC_TYPES" - }, - ".COUNT>, ", - "AggExpressionType", - ", ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" - }, - "<", - { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" - }, - ", ", - "SerializableRecord", - ">>" - ], - "path": "src/plugins/data/common/search/aggs/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" }, { - "parentPluginId": "data", - "id": "def-public.AggFunctionsMapping.aggCumulativeSum", - "type": "Object", - "tags": [], - "label": "aggCumulativeSum", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" - }, - "<\"aggCumulativeSum\", any, Pick, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"buckets_path\" | \"metricAgg\"> & Pick<{ customMetric?: ", - "AggExpressionType", - " | undefined; }, \"customMetric\"> & Pick<{ customMetric?: ", - "AggExpressionType", - " | undefined; }, never>, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"customMetric\" | \"buckets_path\" | \"metricAgg\">, ", - "AggExpressionType", - ", ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" - }, - "<", - { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" - }, - ", ", - "SerializableRecord", - ">>" - ], - "path": "src/plugins/data/common/search/aggs/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" }, { - "parentPluginId": "data", - "id": "def-public.AggFunctionsMapping.aggDerivative", - "type": "Object", - "tags": [], - "label": "aggDerivative", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" - }, - "<\"aggDerivative\", any, Pick, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"buckets_path\" | \"metricAgg\"> & Pick<{ customMetric?: ", - "AggExpressionType", - " | undefined; }, \"customMetric\"> & Pick<{ customMetric?: ", - "AggExpressionType", - " | undefined; }, never>, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"customMetric\" | \"buckets_path\" | \"metricAgg\">, ", - "AggExpressionType", - ", ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" - }, - "<", - { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" - }, - ", ", - "SerializableRecord", - ">>" - ], - "path": "src/plugins/data/common/search/aggs/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_row.tsx" }, { - "parentPluginId": "data", - "id": "def-public.AggFunctionsMapping.aggGeoBounds", - "type": "Object", - "tags": [], - "label": "aggGeoBounds", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" - }, - "<\"aggGeoBounds\", any, ", - "AggExpressionFunctionArgs", - "<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.METRIC_TYPES", - "text": "METRIC_TYPES" - }, - ".GEO_BOUNDS>, ", - "AggExpressionType", - ", ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" - }, - "<", - { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" - }, - ", ", - "SerializableRecord", - ">>" - ], - "path": "src/plugins/data/common/search/aggs/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_row.tsx" }, { - "parentPluginId": "data", - "id": "def-public.AggFunctionsMapping.aggGeoCentroid", - "type": "Object", - "tags": [], - "label": "aggGeoCentroid", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" - }, - "<\"aggGeoCentroid\", any, ", - "AggExpressionFunctionArgs", - "<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.METRIC_TYPES", - "text": "METRIC_TYPES" - }, - ".GEO_CENTROID>, ", - "AggExpressionType", - ", ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" - }, - "<", - { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" - }, - ", ", - "SerializableRecord", - ">>" - ], - "path": "src/plugins/data/common/search/aggs/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" }, { - "parentPluginId": "data", - "id": "def-public.AggFunctionsMapping.aggMax", - "type": "Object", - "tags": [], - "label": "aggMax", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" - }, - "<\"aggMax\", any, ", - "AggExpressionFunctionArgs", - "<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.METRIC_TYPES", - "text": "METRIC_TYPES" - }, - ".MAX>, ", - "AggExpressionType", - ", ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" - }, - "<", - { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" - }, - ", ", - "SerializableRecord", - ">>" - ], - "path": "src/plugins/data/common/search/aggs/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" }, { - "parentPluginId": "data", - "id": "def-public.AggFunctionsMapping.aggMedian", - "type": "Object", - "tags": [], - "label": "aggMedian", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" - }, - "<\"aggMedian\", any, ", - "AggExpressionFunctionArgs", - "<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.METRIC_TYPES", - "text": "METRIC_TYPES" - }, - ".MEDIAN>, ", - "AggExpressionType", - ", ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" - }, - "<", - { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" - }, - ", ", - "SerializableRecord", - ">>" - ], - "path": "src/plugins/data/common/search/aggs/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" }, { - "parentPluginId": "data", - "id": "def-public.AggFunctionsMapping.aggSinglePercentile", - "type": "Object", - "tags": [], - "label": "aggSinglePercentile", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" - }, - "<\"aggSinglePercentile\", any, ", - "AggExpressionFunctionArgs", - "<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.METRIC_TYPES", - "text": "METRIC_TYPES" - }, - ".SINGLE_PERCENTILE>, ", - "AggExpressionType", - ", ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" - }, - "<", - { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" - }, - ", ", - "SerializableRecord", - ">>" - ], - "path": "src/plugins/data/common/search/aggs/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.ts" }, { - "parentPluginId": "data", - "id": "def-public.AggFunctionsMapping.aggMin", - "type": "Object", - "tags": [], - "label": "aggMin", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" - }, - "<\"aggMin\", any, ", - "AggExpressionFunctionArgs", - "<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.METRIC_TYPES", - "text": "METRIC_TYPES" - }, - ".MIN>, ", - "AggExpressionType", - ", ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" - }, - "<", - { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" - }, - ", ", - "SerializableRecord", - ">>" - ], - "path": "src/plugins/data/common/search/aggs/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.ts" }, { - "parentPluginId": "data", - "id": "def-public.AggFunctionsMapping.aggMovingAvg", - "type": "Object", - "tags": [], - "label": "aggMovingAvg", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" - }, - "<\"aggMovingAvg\", any, Pick, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"buckets_path\" | \"metricAgg\" | \"window\" | \"script\"> & Pick<{ customMetric?: ", - "AggExpressionType", - " | undefined; }, \"customMetric\"> & Pick<{ customMetric?: ", - "AggExpressionType", - " | undefined; }, never>, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"customMetric\" | \"buckets_path\" | \"metricAgg\" | \"window\" | \"script\">, ", - "AggExpressionType", - ", ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" - }, - "<", - { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" - }, - ", ", - "SerializableRecord", - ">>" - ], - "path": "src/plugins/data/common/search/aggs/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/actions/columns.ts" }, { - "parentPluginId": "data", - "id": "def-public.AggFunctionsMapping.aggPercentileRanks", - "type": "Object", - "tags": [], - "label": "aggPercentileRanks", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" - }, - "<\"aggPercentileRanks\", any, ", - "AggExpressionFunctionArgs", - "<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.METRIC_TYPES", - "text": "METRIC_TYPES" - }, - ".PERCENTILE_RANKS>, ", - "AggExpressionType", - ", ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" - }, - "<", - { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" - }, - ", ", - "SerializableRecord", - ">>" - ], - "path": "src/plugins/data/common/search/aggs/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/actions/columns.ts" }, { - "parentPluginId": "data", - "id": "def-public.AggFunctionsMapping.aggPercentiles", - "type": "Object", - "tags": [], - "label": "aggPercentiles", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" - }, - "<\"aggPercentiles\", any, ", - "AggExpressionFunctionArgs", - "<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.METRIC_TYPES", - "text": "METRIC_TYPES" - }, - ".PERCENTILES>, ", - "AggExpressionType", - ", ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" - }, - "<", - { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" - }, - ", ", - "SerializableRecord", - ">>" - ], - "path": "src/plugins/data/common/search/aggs/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_state.ts" }, { - "parentPluginId": "data", - "id": "def-public.AggFunctionsMapping.aggSerialDiff", - "type": "Object", - "tags": [], - "label": "aggSerialDiff", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" - }, - "<\"aggSerialDiff\", any, Pick, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"buckets_path\" | \"metricAgg\"> & Pick<{ customMetric?: ", - "AggExpressionType", - " | undefined; }, \"customMetric\"> & Pick<{ customMetric?: ", - "AggExpressionType", - " | undefined; }, never>, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"customMetric\" | \"buckets_path\" | \"metricAgg\">, ", - "AggExpressionType", - ", ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" - }, - "<", - { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" - }, - ", ", - "SerializableRecord", - ">>" - ], - "path": "src/plugins/data/common/search/aggs/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_state.ts" }, { - "parentPluginId": "data", - "id": "def-public.AggFunctionsMapping.aggStdDeviation", - "type": "Object", - "tags": [], - "label": "aggStdDeviation", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" - }, - "<\"aggStdDeviation\", any, ", - "AggExpressionFunctionArgs", - "<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.METRIC_TYPES", - "text": "METRIC_TYPES" - }, - ".STD_DEV>, ", - "AggExpressionType", - ", ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" - }, - "<", - { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" - }, - ", ", - "SerializableRecord", - ">>" - ], - "path": "src/plugins/data/common/search/aggs/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/anchor.ts" }, { - "parentPluginId": "data", - "id": "def-public.AggFunctionsMapping.aggSum", - "type": "Object", - "tags": [], - "label": "aggSum", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" - }, - "<\"aggSum\", any, ", - "AggExpressionFunctionArgs", - "<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.METRIC_TYPES", - "text": "METRIC_TYPES" - }, - ".SUM>, ", - "AggExpressionType", - ", ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" - }, - "<", - { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" - }, - ", ", - "SerializableRecord", - ">>" - ], - "path": "src/plugins/data/common/search/aggs/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/anchor.ts" }, { - "parentPluginId": "data", - "id": "def-public.AggFunctionsMapping.aggTopHit", - "type": "Object", - "tags": [], - "label": "aggTopHit", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" - }, - "<\"aggTopHit\", any, ", - "AggExpressionFunctionArgs", - "<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.METRIC_TYPES", - "text": "METRIC_TYPES" - }, - ".TOP_HITS>, ", - "AggExpressionType", - ", ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" - }, - "<", - { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" - }, - ", ", - "SerializableRecord", - ">>" - ], - "path": "src/plugins/data/common/search/aggs/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.AggParamOption", - "type": "Interface", - "tags": [], - "label": "AggParamOption", - "description": [], - "path": "src/plugins/data/common/search/aggs/agg_params.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.AggParamOption.val", - "type": "string", - "tags": [], - "label": "val", - "description": [], - "path": "src/plugins/data/common/search/aggs/agg_params.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" }, { - "parentPluginId": "data", - "id": "def-public.AggParamOption.display", - "type": "string", - "tags": [], - "label": "display", - "description": [], - "path": "src/plugins/data/common/search/aggs/agg_params.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" }, { - "parentPluginId": "data", - "id": "def-public.AggParamOption.enabled", - "type": "Function", - "tags": [], - "label": "enabled", - "description": [], - "signature": [ - "((agg: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.AggConfig", - "text": "AggConfig" - }, - ") => boolean) | undefined" - ], - "path": "src/plugins/data/common/search/aggs/agg_params.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.AggParamOption.enabled.$1", - "type": "Object", - "tags": [], - "label": "agg", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.AggConfig", - "text": "AggConfig" - } - ], - "path": "src/plugins/data/common/search/aggs/agg_params.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.ApplyGlobalFilterActionContext", - "type": "Interface", - "tags": [], - "label": "ApplyGlobalFilterActionContext", - "description": [], - "path": "src/plugins/data/public/actions/apply_filter_action.ts", - "deprecated": false, - "children": [ + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_fetch.tsx" + }, { - "parentPluginId": "data", - "id": "def-public.ApplyGlobalFilterActionContext.filters", - "type": "Array", - "tags": [], - "label": "filters", - "description": [], - "signature": [ - "Filter", - "[]" - ], - "path": "src/plugins/data/public/actions/apply_filter_action.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_fetch.tsx" }, { - "parentPluginId": "data", - "id": "def-public.ApplyGlobalFilterActionContext.timeFieldName", - "type": "string", - "tags": [], - "label": "timeFieldName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/public/actions/apply_filter_action.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" }, { - "parentPluginId": "data", - "id": "def-public.ApplyGlobalFilterActionContext.embeddable", - "type": "Unknown", - "tags": [], - "label": "embeddable", - "description": [], - "signature": [ - "unknown" - ], - "path": "src/plugins/data/public/actions/apply_filter_action.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" }, { - "parentPluginId": "data", - "id": "def-public.ApplyGlobalFilterActionContext.controlledBy", - "type": "string", - "tags": [], - "label": "controlledBy", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/public/actions/apply_filter_action.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.DataPublicPluginStartActions", - "type": "Interface", - "tags": [], - "label": "DataPublicPluginStartActions", - "description": [ - "\nutilities to generate filters from action context" - ], - "path": "src/plugins/data/public/types.ts", - "deprecated": false, - "children": [ + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, { - "parentPluginId": "data", - "id": "def-public.DataPublicPluginStartActions.createFiltersFromValueClickAction", - "type": "Function", - "tags": [], - "label": "createFiltersFromValueClickAction", - "description": [], - "signature": [ - "({ data, negate, }: ", - "ValueClickDataContext", - ") => Promise<", - "Filter", - "[]>" - ], - "path": "src/plugins/data/public/types.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.__0", - "type": "Object", - "tags": [], - "label": "__0", - "description": [], - "signature": [ - "ValueClickDataContext" - ], - "path": "src/plugins/data/public/actions/filters/create_filters_from_value_click.ts", - "deprecated": false - } - ] + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" }, { - "parentPluginId": "data", - "id": "def-public.DataPublicPluginStartActions.createFiltersFromRangeSelectAction", - "type": "Function", - "tags": [], - "label": "createFiltersFromRangeSelectAction", - "description": [], - "signature": [ - "(event: ", - "RangeSelectDataContext", - ") => Promise<", - "Filter", - "[]>" - ], - "path": "src/plugins/data/public/types.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.event", - "type": "Object", - "tags": [], - "label": "event", - "description": [], - "signature": [ - "RangeSelectDataContext" - ], - "path": "src/plugins/data/public/actions/filters/create_filters_from_range_select.ts", - "deprecated": false - } - ] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.DataPublicPluginStartUi", - "type": "Interface", - "tags": [], - "label": "DataPublicPluginStartUi", - "description": [ - "\nData plugin prewired UI components" - ], - "path": "src/plugins/data/public/types.ts", - "deprecated": false, - "children": [ + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" + }, { - "parentPluginId": "data", - "id": "def-public.DataPublicPluginStartUi.IndexPatternSelect", - "type": "CompoundType", - "tags": [], - "label": "IndexPatternSelect", - "description": [], - "signature": [ - "React.ComponentClass<", - { - "pluginId": "data", - "scope": "public", - "docId": "kibDataUiPluginApi", - "section": "def-public.IndexPatternSelectProps", - "text": "IndexPatternSelectProps" - }, - ", any> | React.FunctionComponent<", - { - "pluginId": "data", - "scope": "public", - "docId": "kibDataUiPluginApi", - "section": "def-public.IndexPatternSelectProps", - "text": "IndexPatternSelectProps" - }, - ">" - ], - "path": "src/plugins/data/public/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" }, { - "parentPluginId": "data", - "id": "def-public.DataPublicPluginStartUi.SearchBar", - "type": "CompoundType", - "tags": [], - "label": "SearchBar", - "description": [], - "signature": [ - "React.ComponentClass<", - { - "pluginId": "data", - "scope": "public", - "docId": "kibDataUiPluginApi", - "section": "def-public.StatefulSearchBarProps", - "text": "StatefulSearchBarProps" - }, - ", any> | React.FunctionComponent<", - { - "pluginId": "data", - "scope": "public", - "docId": "kibDataUiPluginApi", - "section": "def-public.StatefulSearchBarProps", - "text": "StatefulSearchBarProps" - }, - ">" - ], - "path": "src/plugins/data/public/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.GetFieldsOptions", - "type": "Interface", - "tags": [], - "label": "GetFieldsOptions", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "children": [ + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" + }, { - "parentPluginId": "data", - "id": "def-public.GetFieldsOptions.pattern", - "type": "string", - "tags": [], - "label": "pattern", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" }, { - "parentPluginId": "data", - "id": "def-public.GetFieldsOptions.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" }, { - "parentPluginId": "data", - "id": "def-public.GetFieldsOptions.lookBack", - "type": "CompoundType", - "tags": [], - "label": "lookBack", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" }, { - "parentPluginId": "data", - "id": "def-public.GetFieldsOptions.metaFields", - "type": "Array", - "tags": [], - "label": "metaFields", - "description": [], - "signature": [ - "string[] | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" }, { - "parentPluginId": "data", - "id": "def-public.GetFieldsOptions.rollupIndex", - "type": "string", - "tags": [], - "label": "rollupIndex", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" }, { - "parentPluginId": "data", - "id": "def-public.GetFieldsOptions.allowNoIndex", - "type": "CompoundType", - "tags": [], - "label": "allowNoIndex", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.IDataPluginServices", - "type": "Interface", - "tags": [], - "label": "IDataPluginServices", - "description": [], - "signature": [ + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/persist_saved_search.ts" + }, { - "pluginId": "data", - "scope": "public", - "docId": "kibDataPluginApi", - "section": "def-public.IDataPluginServices", - "text": "IDataPluginServices" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/persist_saved_search.ts" }, - " extends Partial<", { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.CoreStart", - "text": "CoreStart" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts" }, - ">" - ], - "path": "src/plugins/data/public/types.ts", - "deprecated": false, - "children": [ { - "parentPluginId": "data", - "id": "def-public.IDataPluginServices.appName", - "type": "string", - "tags": [], - "label": "appName", - "description": [], - "path": "src/plugins/data/public/types.ts", - "deprecated": false + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts" }, { - "parentPluginId": "data", - "id": "def-public.IDataPluginServices.uiSettings", - "type": "Object", - "tags": [], - "label": "uiSettings", - "description": [], - "signature": [ - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.IUiSettingsClient", - "text": "IUiSettingsClient" - } - ], - "path": "src/plugins/data/public/types.ts", - "deprecated": false + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" }, { - "parentPluginId": "data", - "id": "def-public.IDataPluginServices.savedObjects", - "type": "Object", - "tags": [], - "label": "savedObjects", - "description": [], - "signature": [ - { - "pluginId": "core", - "scope": "public", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-public.SavedObjectsStart", - "text": "SavedObjectsStart" - } - ], - "path": "src/plugins/data/public/types.ts", - "deprecated": false + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" }, { - "parentPluginId": "data", - "id": "def-public.IDataPluginServices.notifications", - "type": "Object", - "tags": [], - "label": "notifications", - "description": [], - "signature": [ - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.NotificationsStart", - "text": "NotificationsStart" - } - ], - "path": "src/plugins/data/public/types.ts", - "deprecated": false + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" }, { - "parentPluginId": "data", - "id": "def-public.IDataPluginServices.http", - "type": "Object", - "tags": [], - "label": "http", - "description": [], - "signature": [ - { - "pluginId": "core", - "scope": "public", - "docId": "kibCoreHttpPluginApi", - "section": "def-public.HttpSetup", - "text": "HttpSetup" - } - ], - "path": "src/plugins/data/public/types.ts", - "deprecated": false + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" }, { - "parentPluginId": "data", - "id": "def-public.IDataPluginServices.storage", - "type": "Object", - "tags": [], - "label": "storage", - "description": [], - "signature": [ - { - "pluginId": "kibanaUtils", - "scope": "public", - "docId": "kibKibanaUtilsPluginApi", - "section": "def-public.IStorageWrapper", - "text": "IStorageWrapper" - }, - "" - ], - "path": "src/plugins/data/public/types.ts", - "deprecated": false + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" }, { - "parentPluginId": "data", - "id": "def-public.IDataPluginServices.data", - "type": "Object", - "tags": [], - "label": "data", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "public", - "docId": "kibDataPluginApi", - "section": "def-public.DataPublicPluginStart", - "text": "DataPublicPluginStart" - } - ], - "path": "src/plugins/data/public/types.ts", - "deprecated": false + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" }, { - "parentPluginId": "data", - "id": "def-public.IDataPluginServices.usageCollection", - "type": "Object", - "tags": [], - "label": "usageCollection", - "description": [], - "signature": [ - { - "pluginId": "usageCollection", - "scope": "public", - "docId": "kibUsageCollectionPluginApi", - "section": "def-public.UsageCollectionStart", - "text": "UsageCollectionStart" - }, - " | undefined" - ], - "path": "src/plugins/data/public/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.IEsSearchRequest", - "type": "Interface", - "tags": [], - "label": "IEsSearchRequest", - "description": [], - "signature": [ + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.IEsSearchRequest", - "text": "IEsSearchRequest" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" }, - " extends ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.IKibanaSearchRequest", - "text": "IKibanaSearchRequest" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" }, - "<", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.ISearchRequestParams", - "text": "ISearchRequestParams" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" }, - ">" - ], - "path": "src/plugins/data/common/search/strategies/es_search/types.ts", - "deprecated": false, - "children": [ { - "parentPluginId": "data", - "id": "def-public.IEsSearchRequest.indexType", - "type": "string", - "tags": [], - "label": "indexType", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/search/strategies/es_search/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.IFieldType", - "type": "Interface", - "tags": [ - "deprecated" - ], - "label": "IFieldType", - "description": [], - "signature": [ + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" + }, { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" }, - " extends ", - "IndexPatternFieldBase" - ], - "path": "src/plugins/data/common/index_patterns/fields/types.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/es_doc_field.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/es_doc_field.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/components/filter_label.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/components/filter_label.tsx" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "path": "x-pack/plugins/maps/public/classes/tooltips/es_agg_tooltip_property.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "path": "x-pack/plugins/maps/public/classes/tooltips/es_agg_tooltip_property.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + "path": "x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + "path": "x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" + "path": "x-pack/plugins/maps/public/components/geo_index_pattern_select.tsx" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" + "path": "x-pack/plugins/maps/public/components/geo_index_pattern_select.tsx" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" }, { "plugin": "maps", @@ -10603,47 +3872,51 @@ }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.tsx" + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.tsx" + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.tsx" + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.tsx" + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx" + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form.tsx" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx" + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form.tsx" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" }, { "plugin": "maps", @@ -10667,259 +3940,547 @@ }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector_service.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector_service.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/field_format_service.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/inventory/components/expression.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/field_format_service.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/inventory/components/expression.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/common/group_by_expression/selector.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/common/group_by_expression/selector.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/common/group_by_expression/group_by_expression.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/common/group_by_expression/group_by_expression.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/use_scatterplot_field_options.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criteria.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/use_scatterplot_field_options.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criteria.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/group_by.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/group_by.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_row.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_row.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/metrics.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/single_metric_job_creator.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/metrics.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/single_metric_job_creator.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/multi_metric_job_creator.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/multi_metric_job_creator.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/population_job_creator.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/population_job_creator.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/advanced_job_creator.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/advanced_job_creator.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/categorization_job_creator.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/categorization_job_creator.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/rare_job_creator.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/rare_job_creator.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator_factory.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator_factory.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector_service.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector_service.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_results.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_results.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_results.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_results.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/exploration_results_table.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/exploration_results_table.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/ml_context.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/ml_context.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/common/use_results_view_config.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/common/use_results_view_config.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/common/use_results_view_config.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/types/app_state.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/types/app_state.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.sagas.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.sagas.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/inspect_panel.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/inspect_panel.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/threatmatch_input/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/threatmatch_input/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/threatmatch_input/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/step_define_rule/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/step_define_rule/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/step_define_rule/index.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/hooks/update_kuery_string.ts" + }, + { + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/hooks/update_kuery_string.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/mocks.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/mocks.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/es_search_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/es_search_source.d.ts" }, { "plugin": "maps", @@ -10930,204 +4491,204 @@ "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/field_types_utils.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.test.ts" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/field_types_utils.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.test.ts" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_index_pattern_select.d.ts" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_index_pattern_select.d.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities._service.test.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities._service.test.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/remove_nested_field_children.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/remove_nested_field_children.test.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/__mocks__/index_pattern.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/group_by_expression.d.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/__mocks__/index_pattern.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/group_by_expression.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/count_agg_field.d.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/selector.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/count_agg_field.d.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/selector.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/agg_field.d.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/inventory/components/expression.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/agg_field.d.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/inventory/components/expression.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/inventory/components/metric.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/inventory/components/metric.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_row.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_row.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/geo_line_form.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/geo_line_form.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/log_threshold/components/expression_editor/criteria.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/log_threshold/components/expression_editor/criteria.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/filter_editor/filter_editor.d.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/log_threshold/components/expression_editor/criterion.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/filter_editor/filter_editor.d.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/log_threshold/components/expression_editor/criterion.d.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/components/full_time_range_selector/full_time_range_selector.d.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/group_by.d.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/components/full_time_range_selector/full_time_range_selector.d.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/group_by.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/target/types/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.d.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/metrics.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/target/types/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.d.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/metrics.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.d.ts" + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.d.ts" + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.d.ts" + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.d.ts" + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.d.ts" }, { "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts" + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" }, { "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts" + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.d.ts" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.d.ts" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.d.ts" + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/shared_imports.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.d.ts" + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/open_editor.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.d.ts" + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/open_editor.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.d.ts" + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/types.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/metric_control/index.d.ts" + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/types.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/metric_control/index.d.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" }, { "plugin": "indexPatternManagement", @@ -11139,10759 +4700,18634 @@ }, { "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + "path": "src/plugins/index_pattern_management/public/components/utils.ts" }, { "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/types.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/types.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/geo_field_select.tsx" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/geo_field_select.tsx" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/public/indexpattern_datasource/types.d.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/public/indexpattern_datasource/types.d.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/help_flyout.tsx" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/help_flyout.tsx" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" - } - ], - "children": [ + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" + }, { - "parentPluginId": "data", - "id": "def-public.IFieldType.count", - "type": "number", - "tags": [], - "label": "count", - "description": [], - "signature": [ - "number | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/types.ts", - "deprecated": false + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" }, { - "parentPluginId": "data", - "id": "def-public.IFieldType.esTypes", - "type": "Array", - "tags": [], - "label": "esTypes", - "description": [], - "signature": [ - "string[] | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/types.ts", - "deprecated": false + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" }, { - "parentPluginId": "data", - "id": "def-public.IFieldType.aggregatable", - "type": "CompoundType", - "tags": [], - "label": "aggregatable", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/types.ts", - "deprecated": false + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" }, { - "parentPluginId": "data", - "id": "def-public.IFieldType.filterable", - "type": "CompoundType", - "tags": [], - "label": "filterable", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/types.ts", - "deprecated": false + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/create_search_source.ts" }, { - "parentPluginId": "data", - "id": "def-public.IFieldType.searchable", - "type": "CompoundType", - "tags": [], - "label": "searchable", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/types.ts", - "deprecated": false + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/create_search_source.ts" }, { - "parentPluginId": "data", - "id": "def-public.IFieldType.sortable", - "type": "CompoundType", - "tags": [], - "label": "sortable", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/types.ts", - "deprecated": false + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IFieldType.visualizable", - "type": "CompoundType", - "tags": [], - "label": "visualizable", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/types.ts", - "deprecated": false + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IFieldType.readFromDocValues", - "type": "CompoundType", - "tags": [], - "label": "readFromDocValues", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/types.ts", - "deprecated": false + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IFieldType.displayName", - "type": "string", - "tags": [], - "label": "displayName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/types.ts", - "deprecated": false + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IFieldType.customLabel", - "type": "string", - "tags": [], - "label": "customLabel", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/types.ts", - "deprecated": false + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IFieldType.format", - "type": "Any", - "tags": [], - "label": "format", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data/common/index_patterns/fields/types.ts", - "deprecated": false + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IFieldType.toSpec", - "type": "Function", - "tags": [], - "label": "toSpec", - "description": [], - "signature": [ - "((options?: { getFormatterForField?: ((field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - ") => ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormat", - "text": "FieldFormat" - }, - ") | undefined; } | undefined) => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - ") | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.IFieldType.toSpec.$1.options", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "path": "src/plugins/data/common/index_patterns/fields/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.IFieldType.toSpec.$1.options.getFormatterForField", - "type": "Function", - "tags": [], - "label": "getFormatterForField", - "description": [], - "signature": [ - "((field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - ") => ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormat", - "text": "FieldFormat" - }, - ") | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/types.ts", - "deprecated": false - } - ] - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.IIndexPattern", - "type": "Interface", - "tags": [ - "deprecated" - ], - "label": "IIndexPattern", - "description": [], - "signature": [ + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IIndexPattern", - "text": "IIndexPattern" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" }, - " extends ", - "IndexPatternBase" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": true, - "references": [ { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/t_grid/helpers.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/control_editor.tsx" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/t_grid/helpers.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/control_editor.tsx" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/controls_tab.tsx" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/controls_tab.tsx" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/container/source/index.tsx" + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/container/source/index.tsx" + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/container/source/index.tsx" + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx" + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx" + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/utils/editor_config.ts" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/utils/editor_config.ts" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.d.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.d.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_select.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_select.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/utils/kuery.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/utils/kuery.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.test.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.test.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.ts" + "plugin": "visTypeTable", + "path": "src/plugins/vis_type_table/public/legacy/table_vis_controller.test.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_chart.tsx" + "plugin": "visTypeTable", + "path": "src/plugins/vis_type_table/public/legacy/table_vis_controller.test.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_chart.tsx" + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts" + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts" + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/containers/with_source/with_source.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/containers/with_source/with_source.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/toolbar.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/toolbar.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/index.tsx" + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/target/types/public/types.d.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/index.tsx" + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/target/types/public/types.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/common/search_strategy/index_fields/index.ts" + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/target/types/public/components/field_format_editor/field_format_editor.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/common/search_strategy/index_fields/index.ts" + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/target/types/public/components/field_format_editor/field_format_editor.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/types.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/types.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/action.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/action.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/containers/source/index.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/containers/source/index.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/containers/source/index.tsx" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/utils/editor_config.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/helpers.tsx" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/utils/editor_config.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/helpers.tsx" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/query_bar/index.tsx" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/query_bar/index.tsx" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_bar/index.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/control/create_search_source.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_bar/index.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/control/create_search_source.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/columns.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/test_utils/get_index_pattern_mock.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/columns.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/test_utils/get_index_pattern_mock.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/columns.tsx" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_select.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_select.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/top_n/top_n.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_sharing_data.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/top_n/top_n.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_sharing_data.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_sharing_data.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/components/editor/controls_tab.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/components/editor/controls_tab.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_calculator.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_calculator.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/pages/details/types.ts" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/pages/details/types.ts" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/index.tsx" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/nested_fields.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/index.tsx" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/nested_fields.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/details/types.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/source_filters_table/components/table/table.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/details/types.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/source_filters_table/components/table/table.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/alerts_by_category/index.tsx" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/alerts_by_category/index.tsx" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/event_counts/index.tsx" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/event_counts/index.tsx" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/types.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/types.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern_management.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern_management.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/ueba/pages/details/types.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/ueba/pages/details/types.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/mock/index_pattern.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/mock/index_pattern.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/common/search_strategy/index_fields/index.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/common/search_strategy/index_fields/index.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/containers/with_kuery_autocompletion.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/containers/with_kuery_autocompletion.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/containers/with_source/with_source.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/containers/with_source/with_source.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/index_pattern_context.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/index_pattern_context.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/containers/source/index.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/containers/source/index.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/containers/source/index.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/columns.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/columns.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/columns.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_chart.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_chart.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/data_loader/data_loader.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/index.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/data_loader/data_loader.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/index.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/data_loader/data_loader.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/hosts/pages/details/types.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/hosts/pages/details/types.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/index.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/index.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_pattern_management/index_pattern_management.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/network/pages/details/types.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_pattern_management/index_pattern_management.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/network/pages/details/types.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/ueba/pages/details/types.d.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/ueba/pages/details/types.d.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/embeddables/types.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.d.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/embeddables/types.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.d.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.d.ts" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/percentile_agg_field.d.ts" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/target/types/public/application/jobs/new_job/common/index_pattern_context.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/percentile_agg_field.d.ts" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/target/types/public/application/jobs/new_job/common/index_pattern_context.d.ts" + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/saved_object.test.ts" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/target/types/public/application/jobs/new_job/common/index_pattern_context.d.ts" + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/saved_object.test.ts" }, { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx" + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/saved_object.test.ts" }, { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx" + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/saved_object.test.ts" }, { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.test.ts" }, { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.test.ts" + } + ], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.IndexPatternField", + "type": "Class", + "tags": [ + "deprecated" + ], + "label": "IndexPatternField", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IndexPatternField", + "text": "IndexPatternField" }, + " extends ", { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index_header.tsx" + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + } + ], + "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", + "deprecated": true, + "references": [ + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/shared_imports.ts" }, { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index_header.tsx" + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" }, { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/index_header/index_header.d.ts" + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" }, { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/index_header/index_header.d.ts" + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.tsx" + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.tsx" + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/use_delete_action.tsx" + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/use_delete_action.tsx" + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/utils.d.ts" + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/utils.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/kibana_services.ts" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_utils.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_utils.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/index.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/field_name/field_name.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/index.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/field_name/field_name.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/store/sourcerer/model.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table_cell_actions.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/store/sourcerer/model.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table_cell_actions.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/pages/navigation/types.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/pages/navigation/types.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/pages/navigation/types.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/mock/index_pattern.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/mock/index_pattern.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_query_bar/exploration_query_bar.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_query_bar/exploration_query_bar.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/editor.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/editor.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/custom_urls.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/custom_urls.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/services/es_index_service.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/services/es_index_service.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/server/routes/api/transforms.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/server/routes/api/transforms.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/explorer/components/explorer_query_bar/explorer_query_bar.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/explorer/components/explorer_query_bar/explorer_query_bar.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/explorer/components/explorer_query_bar/explorer_query_bar.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/utils/new_job_utils.test.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/utils/new_job_utils.test.ts" - } - ], - "children": [ + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, { - "parentPluginId": "data", - "id": "def-public.IIndexPattern.title", - "type": "string", - "tags": [], - "label": "title", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" }, { - "parentPluginId": "data", - "id": "def-public.IIndexPattern.fields", - "type": "Array", - "tags": [], - "label": "fields", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - "[]" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" }, { - "parentPluginId": "data", - "id": "def-public.IIndexPattern.type", - "type": "string", - "tags": [], - "label": "type", - "description": [ - "\nType is used for identifying rollup indices, otherwise left undefined" - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IIndexPattern.timeFieldName", - "type": "string", - "tags": [], - "label": "timeFieldName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IIndexPattern.getTimeField", - "type": "Function", - "tags": [], - "label": "getTimeField", - "description": [], - "signature": [ - "(() => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | undefined) | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IIndexPattern.fieldFormatMap", - "type": "Object", - "tags": [], - "label": "fieldFormatMap", - "description": [], - "signature": [ - "Record | undefined> | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IIndexPattern.getFormatterForField", - "type": "Function", - "tags": [], - "label": "getFormatterForField", - "description": [ - "\nLook up a formatter for a given field" - ], - "signature": [ - "((field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - ") => ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormat", - "text": "FieldFormat" - }, - ") | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.IIndexPattern.getFormatterForField.$1", - "type": "CompoundType", - "tags": [], - "label": "field", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - } - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.IKibanaSearchRequest", - "type": "Interface", - "tags": [], - "label": "IKibanaSearchRequest", - "description": [], - "signature": [ + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.IKibanaSearchRequest", - "text": "IKibanaSearchRequest" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" }, - "" - ], - "path": "src/plugins/data/common/search/types.ts", - "deprecated": false, - "children": [ { - "parentPluginId": "data", - "id": "def-public.IKibanaSearchRequest.id", - "type": "string", - "tags": [], - "label": "id", - "description": [ - "\nAn id can be used to uniquely identify this request." - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/search/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IKibanaSearchRequest.params", - "type": "Uncategorized", - "tags": [], - "label": "params", - "description": [], - "signature": [ - "Params | undefined" - ], - "path": "src/plugins/data/common/search/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.IKibanaSearchResponse", - "type": "Interface", - "tags": [], - "label": "IKibanaSearchResponse", - "description": [], - "signature": [ + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.IKibanaSearchResponse", - "text": "IKibanaSearchResponse" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" }, - "" - ], - "path": "src/plugins/data/common/search/types.ts", - "deprecated": false, - "children": [ { - "parentPluginId": "data", - "id": "def-public.IKibanaSearchResponse.id", - "type": "string", - "tags": [], - "label": "id", - "description": [ - "\nSome responses may contain a unique id to identify the request this response came from." - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/search/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_layout.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IKibanaSearchResponse.total", - "type": "number", - "tags": [], - "label": "total", - "description": [ - "\nIf relevant to the search strategy, return a total number\nthat represents how progress is indicated." - ], - "signature": [ - "number | undefined" - ], - "path": "src/plugins/data/common/search/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_layout.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IKibanaSearchResponse.loaded", - "type": "number", - "tags": [], - "label": "loaded", - "description": [ - "\nIf relevant to the search strategy, return a loaded number\nthat represents how progress is indicated." - ], - "signature": [ - "number | undefined" - ], - "path": "src/plugins/data/common/search/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" }, { - "parentPluginId": "data", - "id": "def-public.IKibanaSearchResponse.isRunning", - "type": "CompoundType", - "tags": [], - "label": "isRunning", - "description": [ - "\nIndicates whether search is still in flight" - ], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/search/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" }, { - "parentPluginId": "data", - "id": "def-public.IKibanaSearchResponse.isPartial", - "type": "CompoundType", - "tags": [], - "label": "isPartial", - "description": [ - "\nIndicates whether the results returned are complete or partial" - ], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/search/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/es_doc_field.ts" }, { - "parentPluginId": "data", - "id": "def-public.IKibanaSearchResponse.isRestored", - "type": "CompoundType", - "tags": [], - "label": "isRestored", - "description": [ - "\nIndicates whether the results returned are from the async-search index" - ], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/search/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/es_doc_field.ts" }, { - "parentPluginId": "data", - "id": "def-public.IKibanaSearchResponse.warning", - "type": "string", - "tags": [], - "label": "warning", - "description": [ - "\nOptional warnings that should be surfaced to the end user" - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/search/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" }, { - "parentPluginId": "data", - "id": "def-public.IKibanaSearchResponse.rawResponse", - "type": "Uncategorized", - "tags": [], - "label": "rawResponse", - "description": [ - "\nThe raw response returned by the internal search method (usually the raw ES response)" - ], - "signature": [ - "RawResponse" - ], - "path": "src/plugins/data/common/search/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.IndexPatternAttributes", - "type": "Interface", - "tags": [], - "label": "IndexPatternAttributes", - "description": [ - "\nInterface for an index pattern saved object" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "children": [ + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternAttributes.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternAttributes.fields", - "type": "string", - "tags": [], - "label": "fields", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternAttributes.title", - "type": "string", - "tags": [], - "label": "title", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternAttributes.typeMeta", - "type": "string", - "tags": [], - "label": "typeMeta", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternAttributes.timeFieldName", - "type": "string", - "tags": [], - "label": "timeFieldName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternAttributes.intervalName", - "type": "string", - "tags": [], - "label": "intervalName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternAttributes.sourceFilters", - "type": "string", - "tags": [], - "label": "sourceFilters", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternAttributes.fieldFormatMap", - "type": "string", - "tags": [], - "label": "fieldFormatMap", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternAttributes.fieldAttrs", - "type": "string", - "tags": [], - "label": "fieldAttrs", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternAttributes.runtimeFieldMap", - "type": "string", - "tags": [], - "label": "runtimeFieldMap", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternAttributes.allowNoIndex", - "type": "CompoundType", - "tags": [], - "label": "allowNoIndex", - "description": [ - "\nprevents errors when index pattern exists before indices" - ], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.IndexPatternListItem", - "type": "Interface", - "tags": [], - "label": "IndexPatternListItem", - "description": [], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternListItem.id", - "type": "string", - "tags": [], - "label": "id", - "description": [], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternListItem.title", - "type": "string", - "tags": [], - "label": "title", - "description": [], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternListItem.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternListItem.typeMeta", - "type": "Object", - "tags": [], - "label": "typeMeta", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.TypeMeta", - "text": "TypeMeta" - }, - " | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.IndexPatternSpec", - "type": "Interface", - "tags": [], - "label": "IndexPatternSpec", - "description": [ - "\nStatic index pattern format\nSerialized data object, representing index pattern attributes and state" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "children": [ + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternSpec.id", - "type": "string", - "tags": [], - "label": "id", - "description": [ - "\nsaved object id" - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternSpec.version", - "type": "string", - "tags": [], - "label": "version", - "description": [ - "\nsaved object version string" - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternSpec.title", - "type": "string", - "tags": [], - "label": "title", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternSpec.intervalName", - "type": "string", - "tags": [ - "deprecated" - ], - "label": "intervalName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": true, - "references": [] + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternSpec.timeFieldName", - "type": "string", - "tags": [], - "label": "timeFieldName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternSpec.sourceFilters", - "type": "Array", - "tags": [], - "label": "sourceFilters", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.SourceFilter", - "text": "SourceFilter" - }, - "[] | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternSpec.fields", - "type": "Object", - "tags": [], - "label": "fields", - "description": [], - "signature": [ - "Record | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternSpec.typeMeta", - "type": "Object", - "tags": [], - "label": "typeMeta", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.TypeMeta", - "text": "TypeMeta" - }, - " | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternSpec.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternSpec.fieldFormats", - "type": "Object", - "tags": [], - "label": "fieldFormats", - "description": [], - "signature": [ - "Record>> | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternSpec.runtimeFieldMap", - "type": "Object", - "tags": [], - "label": "runtimeFieldMap", - "description": [], - "signature": [ - "Record | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternSpec.fieldAttrs", - "type": "Object", - "tags": [], - "label": "fieldAttrs", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldAttrs", - "text": "FieldAttrs" - }, - " | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" }, { - "parentPluginId": "data", - "id": "def-public.IndexPatternSpec.allowNoIndex", - "type": "CompoundType", - "tags": [], - "label": "allowNoIndex", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.ISearchOptions", - "type": "Interface", - "tags": [], - "label": "ISearchOptions", - "description": [], - "path": "src/plugins/data/common/search/types.ts", - "deprecated": false, - "children": [ + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, { - "parentPluginId": "data", - "id": "def-public.ISearchOptions.abortSignal", - "type": "Object", - "tags": [], - "label": "abortSignal", - "description": [ - "\nAn `AbortSignal` that allows the caller of `search` to abort a search request." - ], - "signature": [ - "AbortSignal | undefined" - ], - "path": "src/plugins/data/common/search/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" }, { - "parentPluginId": "data", - "id": "def-public.ISearchOptions.strategy", - "type": "string", - "tags": [], - "label": "strategy", - "description": [ - "\nUse this option to force using a specific server side search strategy. Leave empty to use the default strategy." - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/search/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" }, { - "parentPluginId": "data", - "id": "def-public.ISearchOptions.legacyHitsTotal", - "type": "CompoundType", - "tags": [], - "label": "legacyHitsTotal", - "description": [ - "\nRequest the legacy format for the total number of hits. If sending `rest_total_hits_as_int` to\nsomething other than `true`, this should be set to `false`." - ], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/search/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" }, { - "parentPluginId": "data", - "id": "def-public.ISearchOptions.sessionId", - "type": "string", - "tags": [], - "label": "sessionId", - "description": [ - "\nA session ID, grouping multiple search requests into a single session." - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/search/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" }, { - "parentPluginId": "data", - "id": "def-public.ISearchOptions.isStored", - "type": "CompoundType", - "tags": [], - "label": "isStored", - "description": [ - "\nWhether the session is already saved (i.e. sent to background)" - ], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/search/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" }, { - "parentPluginId": "data", - "id": "def-public.ISearchOptions.isRestore", - "type": "CompoundType", - "tags": [], - "label": "isRestore", - "description": [ - "\nWhether the session is restored (i.e. search requests should re-use the stored search IDs,\nrather than starting from scratch)" - ], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/search/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" }, { - "parentPluginId": "data", - "id": "def-public.ISearchOptions.indexPattern", - "type": "Object", - "tags": [], - "label": "indexPattern", - "description": [ - "\nIndex pattern reference is used for better error messages" - ], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - }, - " | undefined" - ], - "path": "src/plugins/data/common/search/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/geo_field_select.tsx" }, { - "parentPluginId": "data", - "id": "def-public.ISearchOptions.inspector", - "type": "Object", - "tags": [], - "label": "inspector", - "description": [ - "\nInspector integration options" - ], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.IInspectorInfo", - "text": "IInspectorInfo" - }, - " | undefined" - ], - "path": "src/plugins/data/common/search/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/geo_field_select.tsx" }, { - "parentPluginId": "data", - "id": "def-public.ISearchOptions.executionContext", - "type": "Object", - "tags": [], - "label": "executionContext", - "description": [], - "signature": [ - "KibanaExecutionContext", - " | undefined" - ], - "path": "src/plugins/data/common/search/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.ISearchStartSearchSource", - "type": "Interface", - "tags": [], - "label": "ISearchStartSearchSource", - "description": [ - "\nhigh level search service" - ], - "path": "src/plugins/data/common/search/search_source/types.ts", - "deprecated": false, - "children": [ + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, { - "parentPluginId": "data", - "id": "def-public.ISearchStartSearchSource.create", - "type": "Function", - "tags": [], - "label": "create", - "description": [ - "\ncreates {@link SearchSource} based on provided serialized {@link SearchSourceFields}" - ], - "signature": [ - "(fields?: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSourceFields", - "text": "SearchSourceFields" - }, - " | undefined) => Promise>" - ], - "path": "src/plugins/data/common/search/search_source/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.ISearchStartSearchSource.create.$1", - "type": "Object", - "tags": [], - "label": "fields", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSourceFields", - "text": "SearchSourceFields" - }, - " | undefined" - ], - "path": "src/plugins/data/common/search/search_source/types.ts", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [] + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" }, { - "parentPluginId": "data", - "id": "def-public.ISearchStartSearchSource.createEmpty", - "type": "Function", - "tags": [], - "label": "createEmpty", - "description": [ - "\ncreates empty {@link SearchSource}" - ], - "signature": [ - "() => Pick<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSource", - "text": "SearchSource" - }, - ", \"create\" | \"history\" | \"setPreferredSearchStrategyId\" | \"setField\" | \"removeField\" | \"setFields\" | \"getId\" | \"getFields\" | \"getField\" | \"getOwnField\" | \"createCopy\" | \"createChild\" | \"setParent\" | \"getParent\" | \"fetch$\" | \"fetch\" | \"onRequestStart\" | \"getSearchRequestBody\" | \"destroy\" | \"getSerializedFields\" | \"serialize\">" - ], - "path": "src/plugins/data/common/search/search_source/types.ts", - "deprecated": false, - "children": [], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.OptionedValueProp", - "type": "Interface", - "tags": [], - "label": "OptionedValueProp", - "description": [], - "path": "src/plugins/data/common/search/aggs/param_types/optioned.ts", - "deprecated": false, - "children": [ + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, { - "parentPluginId": "data", - "id": "def-public.OptionedValueProp.value", - "type": "string", - "tags": [], - "label": "value", - "description": [], - "path": "src/plugins/data/common/search/aggs/param_types/optioned.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" }, { - "parentPluginId": "data", - "id": "def-public.OptionedValueProp.text", - "type": "string", - "tags": [], - "label": "text", - "description": [], - "path": "src/plugins/data/common/search/aggs/param_types/optioned.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" }, { - "parentPluginId": "data", - "id": "def-public.OptionedValueProp.disabled", - "type": "CompoundType", - "tags": [], - "label": "disabled", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/search/aggs/param_types/optioned.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" }, { - "parentPluginId": "data", - "id": "def-public.OptionedValueProp.isCompatible", - "type": "Function", - "tags": [], - "label": "isCompatible", - "description": [], - "signature": [ - "(agg: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.AggConfig", - "text": "AggConfig" - }, - ") => boolean" - ], - "path": "src/plugins/data/common/search/aggs/param_types/optioned.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.OptionedValueProp.isCompatible.$1", - "type": "Object", - "tags": [], - "label": "agg", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.AggConfig", - "text": "AggConfig" - } - ], - "path": "src/plugins/data/common/search/aggs/param_types/optioned.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.RefreshInterval", - "type": "Interface", - "tags": [], - "label": "RefreshInterval", - "description": [], - "path": "src/plugins/data/common/query/timefilter/types.ts", - "deprecated": false, - "children": [ + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, { - "parentPluginId": "data", - "id": "def-public.RefreshInterval.pause", - "type": "boolean", - "tags": [], - "label": "pause", - "description": [], - "path": "src/plugins/data/common/query/timefilter/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.tsx" }, { - "parentPluginId": "data", - "id": "def-public.RefreshInterval.value", - "type": "number", - "tags": [], - "label": "value", - "description": [], - "path": "src/plugins/data/common/query/timefilter/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.SearchSourceFields", - "type": "Interface", - "tags": [], - "label": "SearchSourceFields", - "description": [ - "\nsearch source fields" - ], - "path": "src/plugins/data/common/search/search_source/types.ts", - "deprecated": false, - "children": [ + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.tsx" + }, { - "parentPluginId": "data", - "id": "def-public.SearchSourceFields.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/search/search_source/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" }, { - "parentPluginId": "data", - "id": "def-public.SearchSourceFields.query", - "type": "Object", - "tags": [], - "label": "query", - "description": [ - "\n{@link Query}" - ], - "signature": [ - "Query", - " | undefined" - ], - "path": "src/plugins/data/common/search/search_source/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" }, { - "parentPluginId": "data", - "id": "def-public.SearchSourceFields.filter", - "type": "CompoundType", - "tags": [], - "label": "filter", - "description": [ - "\n{@link Filter}" - ], - "signature": [ - "Filter", - " | ", - "Filter", - "[] | (() => ", - "Filter", - " | ", - "Filter", - "[] | undefined) | undefined" - ], - "path": "src/plugins/data/common/search/search_source/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" }, { - "parentPluginId": "data", - "id": "def-public.SearchSourceFields.sort", - "type": "CompoundType", - "tags": [], - "label": "sort", - "description": [ - "\n{@link EsQuerySortValue}" - ], - "signature": [ - "Record | Record[] | undefined" - ], - "path": "src/plugins/data/common/search/search_source/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.tsx" }, { - "parentPluginId": "data", - "id": "def-public.SearchSourceFields.highlight", - "type": "Any", - "tags": [], - "label": "highlight", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data/common/search/search_source/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.tsx" }, { - "parentPluginId": "data", - "id": "def-public.SearchSourceFields.highlightAll", - "type": "CompoundType", - "tags": [], - "label": "highlightAll", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/search/search_source/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx" }, { - "parentPluginId": "data", - "id": "def-public.SearchSourceFields.trackTotalHits", - "type": "CompoundType", - "tags": [], - "label": "trackTotalHits", - "description": [], - "signature": [ - "number | boolean | undefined" - ], - "path": "src/plugins/data/common/search/search_source/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx" }, { - "parentPluginId": "data", - "id": "def-public.SearchSourceFields.aggs", - "type": "CompoundType", - "tags": [], - "label": "aggs", - "description": [ - "\n{@link AggConfigs}" - ], - "signature": [ - "object | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.AggConfigs", - "text": "AggConfigs" - }, - " | (() => object) | undefined" - ], - "path": "src/plugins/data/common/search/search_source/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" }, { - "parentPluginId": "data", - "id": "def-public.SearchSourceFields.from", - "type": "number", - "tags": [], - "label": "from", - "description": [], - "signature": [ - "number | undefined" - ], - "path": "src/plugins/data/common/search/search_source/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" }, { - "parentPluginId": "data", - "id": "def-public.SearchSourceFields.size", - "type": "number", - "tags": [], - "label": "size", - "description": [], - "signature": [ - "number | undefined" - ], - "path": "src/plugins/data/common/search/search_source/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" }, { - "parentPluginId": "data", - "id": "def-public.SearchSourceFields.source", - "type": "CompoundType", - "tags": [], - "label": "source", - "description": [], - "signature": [ - "string | boolean | string[] | undefined" - ], - "path": "src/plugins/data/common/search/search_source/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" }, { - "parentPluginId": "data", - "id": "def-public.SearchSourceFields.version", - "type": "CompoundType", - "tags": [], - "label": "version", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/search/search_source/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" }, { - "parentPluginId": "data", - "id": "def-public.SearchSourceFields.fields", - "type": "Array", - "tags": [], - "label": "fields", - "description": [ - "\nRetrieve fields via the search Fields API" - ], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchFieldValue", - "text": "SearchFieldValue" - }, - "[] | undefined" - ], - "path": "src/plugins/data/common/search/search_source/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" }, { - "parentPluginId": "data", - "id": "def-public.SearchSourceFields.fieldsFromSource", - "type": "CompoundType", - "tags": [ - "deprecated" - ], - "label": "fieldsFromSource", - "description": [ - "\nRetreive fields directly from _source (legacy behavior)\n" - ], - "signature": [ - "string | string[] | undefined" - ], - "path": "src/plugins/data/common/search/search_source/types.ts", - "deprecated": true, - "references": [ - { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts" - }, - { - "plugin": "reporting", - "path": "x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts" - } - ] + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" }, { - "parentPluginId": "data", - "id": "def-public.SearchSourceFields.index", - "type": "Object", - "tags": [], - "label": "index", - "description": [ - "\n{@link IndexPatternService}" - ], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - }, - " | undefined" - ], - "path": "src/plugins/data/common/search/search_source/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" }, { - "parentPluginId": "data", - "id": "def-public.SearchSourceFields.searchAfter", - "type": "Object", - "tags": [], - "label": "searchAfter", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.EsQuerySearchAfter", - "text": "EsQuerySearchAfter" - }, - " | undefined" - ], - "path": "src/plugins/data/common/search/search_source/types.ts", - "deprecated": false + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" }, { - "parentPluginId": "data", - "id": "def-public.SearchSourceFields.timeout", - "type": "string", - "tags": [], - "label": "timeout", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/search/search_source/types.ts", - "deprecated": false + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" }, { - "parentPluginId": "data", - "id": "def-public.SearchSourceFields.terminate_after", - "type": "number", - "tags": [], - "label": "terminate_after", - "description": [], - "signature": [ - "number | undefined" - ], - "path": "src/plugins/data/common/search/search_source/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" }, { - "parentPluginId": "data", - "id": "def-public.SearchSourceFields.parent", - "type": "Object", - "tags": [], - "label": "parent", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSourceFields", - "text": "SearchSourceFields" - }, - " | undefined" - ], - "path": "src/plugins/data/common/search/search_source/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.TypeMeta", - "type": "Interface", - "tags": [], - "label": "TypeMeta", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "children": [ + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, { - "parentPluginId": "data", - "id": "def-public.TypeMeta.aggs", - "type": "Object", - "tags": [], - "label": "aggs", - "description": [], - "signature": [ - "Record> | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" }, { - "parentPluginId": "data", - "id": "def-public.TypeMeta.params", - "type": "Object", - "tags": [], - "label": "params", - "description": [], - "signature": [ - "{ rollup_index: string; } | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - } - ], - "enums": [ - { - "parentPluginId": "data", - "id": "def-public.BUCKET_TYPES", - "type": "Enum", - "tags": [], - "label": "BUCKET_TYPES", - "description": [], - "path": "src/plugins/data/common/search/aggs/buckets/bucket_agg_types.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.ES_FIELD_TYPES", - "type": "Enum", - "tags": [], - "label": "ES_FIELD_TYPES", - "description": [], - "signature": [ - "ES_FIELD_TYPES" - ], - "path": "node_modules/@kbn/field-types/target_types/types.d.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.IndexPatternType", - "type": "Enum", - "tags": [], - "label": "IndexPatternType", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.KBN_FIELD_TYPES", - "type": "Enum", - "tags": [], - "label": "KBN_FIELD_TYPES", - "description": [], - "signature": [ - "KBN_FIELD_TYPES" - ], - "path": "node_modules/@kbn/field-types/target_types/types.d.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.METRIC_TYPES", - "type": "Enum", - "tags": [], - "label": "METRIC_TYPES", - "description": [], - "path": "src/plugins/data/common/search/aggs/metrics/metric_agg_types.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.SortDirection", - "type": "Enum", - "tags": [], - "label": "SortDirection", - "description": [], - "path": "src/plugins/data/common/search/search_source/types.ts", - "deprecated": false, - "initialIsOpen": false - } - ], - "misc": [ - { - "parentPluginId": "data", - "id": "def-public.ACTION_GLOBAL_APPLY_FILTER", - "type": "string", - "tags": [], - "label": "ACTION_GLOBAL_APPLY_FILTER", - "description": [], - "signature": [ - "\"ACTION_GLOBAL_APPLY_FILTER\"" - ], - "path": "src/plugins/data/public/actions/apply_filter_action.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.AggConfigOptions", - "type": "Type", - "tags": [], - "label": "AggConfigOptions", - "description": [], - "signature": [ - "{ type: ", + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.IAggType", - "text": "IAggType" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" }, - "; enabled?: boolean | undefined; id?: string | undefined; schema?: string | undefined; params?: {} | ", - "SerializableRecord", - " | undefined; }" - ], - "path": "src/plugins/data/common/search/aggs/agg_config.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.AggConfigSerialized", - "type": "Type", - "tags": [], - "label": "AggConfigSerialized", - "description": [], - "signature": [ - "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", - "SerializableRecord", - " | undefined; schema?: string | undefined; }" - ], - "path": "src/plugins/data/common/search/aggs/agg_config.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.AggGroupName", - "type": "Type", - "tags": [], - "label": "AggGroupName", - "description": [], - "signature": [ - "\"none\" | \"buckets\" | \"metrics\"" - ], - "path": "src/plugins/data/common/search/aggs/agg_groups.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.AggParam", - "type": "Type", - "tags": [], - "label": "AggParam", - "description": [], - "signature": [ { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.BaseParamType", - "text": "BaseParamType" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" }, - "<", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.AggConfig", - "text": "AggConfig" + "plugin": "maps", + "path": "x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts" }, - ">" - ], - "path": "src/plugins/data/common/search/aggs/agg_params.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.AggregationRestrictions", - "type": "Type", - "tags": [], - "label": "AggregationRestrictions", - "description": [], - "signature": [ - "{ [x: string]: { agg?: string | undefined; interval?: number | undefined; fixed_interval?: string | undefined; calendar_interval?: string | undefined; delay?: string | undefined; time_zone?: string | undefined; }; }" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.AggregationRestrictions", - "type": "Type", - "tags": [], - "label": "AggregationRestrictions", - "description": [], - "signature": [ - "{ [x: string]: { agg?: string | undefined; interval?: number | undefined; fixed_interval?: string | undefined; calendar_interval?: string | undefined; delay?: string | undefined; time_zone?: string | undefined; }; }" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.AggsStart", - "type": "Type", - "tags": [], - "label": "AggsStart", - "description": [ - "\nAggsStart represents the actual external contract as AggsCommonStart\nis only used internally. The difference is that AggsStart includes the\ntypings for the registry with initialized agg types.\n" - ], - "signature": [ - "{ calculateAutoTimeExpression: (range: ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataQueryPluginApi", - "section": "def-common.TimeRange", - "text": "TimeRange" + "plugin": "maps", + "path": "x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts" }, - ") => string | undefined; datatableUtilities: { getIndexPattern: (column: ", { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.DatatableColumn", - "text": "DatatableColumn" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx" }, - ") => Promise<", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx" }, - " | undefined>; getAggConfig: (column: ", { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.DatatableColumn", - "text": "DatatableColumn" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" }, - ") => Promise<", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.AggConfig", - "text": "AggConfig" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" }, - " | undefined>; isFilterable: (column: ", { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.DatatableColumn", - "text": "DatatableColumn" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" }, - ") => boolean; }; createAggConfigs: (indexPattern: ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" }, - ", configStates?: Pick & Pick<{ type: string | ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.IAggType", - "text": "IAggType" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" }, - "; }, \"type\"> & Pick<{ type: string | ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.IAggType", - "text": "IAggType" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" }, - "; }, never>, \"type\" | \"enabled\" | \"id\" | \"schema\" | \"params\">[] | undefined) => ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.AggConfigs", - "text": "AggConfigs" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/es_doc_field.d.ts" }, - "; types: ", - "AggTypesRegistryStart", - "; }" - ], - "path": "src/plugins/data/common/search/aggs/types.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.APPLY_FILTER_TRIGGER", - "type": "string", - "tags": [], - "label": "APPLY_FILTER_TRIGGER", - "description": [], - "signature": [ - "\"FILTER_TRIGGER\"" - ], - "path": "src/plugins/data/public/triggers/apply_filter_trigger.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.CustomFilter", - "type": "Type", - "tags": [ - "deprecated" - ], - "label": "CustomFilter", - "description": [], - "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.ES_SEARCH_STRATEGY", - "type": "string", - "tags": [], - "label": "ES_SEARCH_STRATEGY", - "description": [], - "signature": [ - "\"es\"" - ], - "path": "src/plugins/data/common/search/strategies/es_search/types.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.EsaggsExpressionFunctionDefinition", - "type": "Type", - "tags": [], - "label": "EsaggsExpressionFunctionDefinition", - "description": [], - "signature": [ { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/es_doc_field.d.ts" }, - "<\"esaggs\", Input, Arguments, Output, ", { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/update_source_editor.d.ts" }, - "<", { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/update_source_editor.d.ts" }, - ", ", - "SerializableRecord", - ">>" - ], - "path": "src/plugins/data/common/search/expressions/esaggs/esaggs_fn.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.EsQueryConfig", - "type": "Type", - "tags": [ - "deprecated" - ], - "label": "EsQueryConfig", - "description": [], - "signature": [ - "KueryQueryOptions", - " & { allowLeadingWildcards: boolean; queryStringOptions: ", - "SerializableRecord", - "; ignoreFilterIfFieldNotInIndex: boolean; }" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/table/types.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/update_source_editor.d.ts" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/table/types.ts" - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.EsQuerySortValue", - "type": "Type", - "tags": [], - "label": "EsQuerySortValue", - "description": [], - "signature": [ - "{ [x: string]: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SortDirection", - "text": "SortDirection" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" }, - " | ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SortDirectionNumeric", - "text": "SortDirectionNumeric" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" }, - " | ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SortDirectionFormat", - "text": "SortDirectionFormat" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" }, - "; }" - ], - "path": "src/plugins/data/common/search/search_source/types.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.ExecutionContextSearch", - "type": "Type", - "tags": [], - "label": "ExecutionContextSearch", - "description": [], - "signature": [ - "{ filters?: ", - "Filter", - "[] | undefined; query?: ", - "Query", - " | ", - "Query", - "[] | undefined; timeRange?: ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataQueryPluginApi", - "section": "def-common.TimeRange", - "text": "TimeRange" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" }, - " | undefined; }" - ], - "path": "src/plugins/data/common/search/expressions/kibana_context_type.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.ExistsFilter", - "type": "Type", - "tags": [ - "deprecated" - ], - "label": "ExistsFilter", - "description": [], - "signature": [ - "Filter", - " & { meta: ", - "FilterMeta", - "; exists?: { field: string; } | undefined; }" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.ExpressionFunctionKibana", - "type": "Type", - "tags": [], - "label": "ExpressionFunctionKibana", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" }, - "<\"kibana\", Input, object, ", { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionValueBoxed", - "text": "ExpressionValueBoxed" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" }, - "<\"kibana_context\", ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.ExecutionContextSearch", - "text": "ExecutionContextSearch" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" }, - ">, ", { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" }, - "<", { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" }, - ", ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.ExecutionContextSearch", - "text": "ExecutionContextSearch" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" }, - ">>" - ], - "path": "src/plugins/data/common/search/expressions/kibana.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.ExpressionFunctionKibanaContext", - "type": "Type", - "tags": [], - "label": "ExpressionFunctionKibanaContext", - "description": [], - "signature": [ { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" }, - "<\"kibana_context\", Input, Arguments, Promise<", { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionValueBoxed", - "text": "ExpressionValueBoxed" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" }, - "<\"kibana_context\", ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.ExecutionContextSearch", - "text": "ExecutionContextSearch" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" }, - ">>, ", { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" }, - "<", { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_field_select.d.ts" }, - ", ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.ExecutionContextSearch", - "text": "ExecutionContextSearch" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_field_select.d.ts" }, - ">>" - ], - "path": "src/plugins/data/common/search/expressions/kibana_context.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.ExpressionValueSearchContext", - "type": "Type", - "tags": [], - "label": "ExpressionValueSearchContext", - "description": [], - "signature": [ - "{ type: \"kibana_context\"; } & ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.ExecutionContextSearch", - "text": "ExecutionContextSearch" - } - ], - "path": "src/plugins/data/common/search/expressions/kibana_context_type.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.Filter", - "type": "Type", - "tags": [ - "deprecated" - ], - "label": "Filter", - "description": [], - "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/target/types/canvas_plugin_src/functions/external/saved_lens.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/url_generator.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/url_generator.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/url_generator.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/locator.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/locator.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/locator.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metrics_editor.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/types.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metrics_editor.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/types.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metric_editor.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context/api/context.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metric_editor.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context/api/context.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context/api/context.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context/api/context.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context_state.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context_state.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context_state.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context_state.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/top_hits_form.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context_state.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/top_hits_form.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context_state.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/top_hits_form.d.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context_state.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.d.ts" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.d.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/filter_utils.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.d.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/filter_utils.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.d.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/filter_utils.ts" + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/shared_imports.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/filter_utils.ts" + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/filter_utils.ts" + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/state/dashboard_state_slice.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/state/dashboard_state_slice.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/state/dashboard_state_slice.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_filter_state.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_filter_state.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_filter_state.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_container_input.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_container_input.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/types.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/types.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/types.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/types.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/url_generator.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/url_generator.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/url_generator.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/locator.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/locator.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/locator.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/list_control_factory.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/locator.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/list_control_factory.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/types.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/range_control_factory.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/types.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/range_control_factory.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/types.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/state_management/types.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/state_management/types.ts" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/fields_accordion.tsx" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/fields_accordion.tsx" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_param_props.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/common/types/timeline/store.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_param_props.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/common/types/timeline/store.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/store/t_grid/model.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/store/t_grid/model.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/top_field.tsx" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/top_field.tsx" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/top_sort_field.tsx" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/hover_actions/utils.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/top_sort_field.tsx" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/hover_actions/utils.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/hover_actions/utils.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/reducers/map/types.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/reducers/map/types.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts" + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts" + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts" + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_param_props.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_param_props.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/join_tooltip_property.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_field.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/join_tooltip_property.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_field.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_sort_field.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_sort_field.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/selectors/map_selectors.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/selectors/map_selectors.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/actions/map_actions.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/actions/map_actions.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.tsx" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.tsx" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_geometry_filter_form.tsx" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_geometry_filter_form.tsx" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/features_tooltip.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/features_tooltip.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_popover.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_popover.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_control.tsx" + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_control.tsx" + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/mb_map.tsx" + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/mb_map/mb_map.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/toolbar_overlay/toolbar_overlay.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/toolbar_overlay/toolbar_overlay.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/map_container/map_container.tsx" + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/map_container/map_container.tsx" + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/url_state/global_sync.ts" + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/url_state/global_sync.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/url_state/app_state_manager.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/url_state/app_state_manager.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/url_state/app_state_manager.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/map_app/index.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/map_app/index.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/embeddable/map_embeddable.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/embeddable/map_embeddable.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/embeddable/map_embeddable.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/locators.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/locators.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/locators.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/locators.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/locators.ts" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/components/log_stream/log_stream_embeddable.tsx" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/components/log_stream/log_stream_embeddable.tsx" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx" }, { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/migrations/types.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/migrations/types.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/migrations/types.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/migrations/types.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/migrations/saved_object_migrations.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/server/migrations/saved_object_migrations.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" }, { - "plugin": "dashboardEnhanced", - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" }, { - "plugin": "dashboardEnhanced", - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" }, { - "plugin": "discoverEnhanced", - "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_context_menu_action.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" }, { - "plugin": "discoverEnhanced", - "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_context_menu_action.ts" - }, + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + } + ], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.IndexPatternsService", + "type": "Class", + "tags": [ + "deprecated" + ], + "label": "IndexPatternsService", + "description": [], + "signature": [ { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/common/types/timeline/store.ts" + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IndexPatternsService", + "text": "IndexPatternsService" }, + " extends ", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/common/types/timeline/store.ts" - }, + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewsService", + "text": "DataViewsService" + } + ], + "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", + "deprecated": true, + "references": [ { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/store/inputs/model.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/store/inputs/model.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/store/inputs/actions.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/store/inputs/actions.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/store/inputs/selectors.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/store/inputs/selectors.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/actions.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/actions.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/helpers.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/types.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/helpers.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/types.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/helpers.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/server/kibana_server_services.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/url_state/helpers.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/server/kibana_server_services.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/url_state/helpers.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/server/data_indexing/create_doc_source.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/url_state/helpers.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/server/data_indexing/create_doc_source.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/navigation/helpers.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/navigation/helpers.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/query_bar/index.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/common/index_patterns_utils.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/query_bar/index.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/common/index_patterns_utils.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/query_bar/index.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/fields_fetcher.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/fields_fetcher.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/plugin.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/plugin.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/common/index_patterns_utils.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/common/index_patterns_utils.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/common/index_patterns_utils.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_patterns.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_bar/index.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_patterns.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_bar/index.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/add_filter_to_global_search_bar/helpers.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/add_filter_to_global_search_bar/helpers.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/add_filter_to_global_search_bar/helpers.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/add_filter_to_global_search_bar/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/add_filter_to_global_search_bar/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/navigation/types.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/navigation/types.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/navigation/types.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/index.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/index.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/alerts_viewer/types.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/alerts_viewer/types.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/alerts_viewer/types.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/alerts_viewer/alerts_table.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/alerts_viewer/alerts_table.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/alerts_viewer/alerts_table.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/navigation/alerts_query_tab_body.tsx" - }, + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + } + ], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.OptionedParamType", + "type": "Class", + "tags": [], + "label": "OptionedParamType", + "description": [], + "signature": [ { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/navigation/alerts_query_tab_body.tsx" + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.OptionedParamType", + "text": "OptionedParamType" }, + " extends ", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx" + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.BaseParamType", + "text": "BaseParamType" }, + "<", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx" + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.AggConfig", + "text": "AggConfig" }, + ">" + ], + "path": "src/plugins/data/common/search/aggs/param_types/optioned.ts", + "deprecated": false, + "children": [ { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_histogram_panel/index.tsx" + "parentPluginId": "data", + "id": "def-public.OptionedParamType.options", + "type": "Array", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.OptionedValueProp", + "text": "OptionedValueProp" + }, + "[]" + ], + "path": "src/plugins/data/common/search/aggs/param_types/optioned.ts", + "deprecated": false }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_histogram_panel/index.tsx" - }, + "parentPluginId": "data", + "id": "def-public.OptionedParamType.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data/common/search/aggs/param_types/optioned.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-public.OptionedParamType.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "config", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data/common/search/aggs/param_types/optioned.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.SearchSource", + "type": "Class", + "tags": [], + "label": "SearchSource", + "description": [], + "path": "src/plugins/data/common/search/search_source/search_source.ts", + "deprecated": false, + "children": [ { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/signals_by_category/index.tsx" + "parentPluginId": "data", + "id": "def-public.SearchSource.history", + "type": "Array", + "tags": [], + "label": "history", + "description": [], + "signature": [ + "Record[]" + ], + "path": "src/plugins/data/common/search/search_source/search_source.ts", + "deprecated": false }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/signals_by_category/index.tsx" + "parentPluginId": "data", + "id": "def-public.SearchSource.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data/common/search/search_source/search_source.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-public.SearchSource.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "fields", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSourceFields", + "text": "SearchSourceFields" + } + ], + "path": "src/plugins/data/common/search/search_source/search_source.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-public.SearchSource.Unnamed.$2", + "type": "Object", + "tags": [], + "label": "dependencies", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSourceDependencies", + "text": "SearchSourceDependencies" + } + ], + "path": "src/plugins/data/common/search/search_source/search_source.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/top_n/top_n.tsx" + "parentPluginId": "data", + "id": "def-public.SearchSource.setPreferredSearchStrategyId", + "type": "Function", + "tags": [], + "label": "setPreferredSearchStrategyId", + "description": [ + "**\nPUBLIC API\n\ninternal, dont use" + ], + "signature": [ + "(searchStrategyId: string) => void" + ], + "path": "src/plugins/data/common/search/search_source/search_source.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-public.SearchSource.setPreferredSearchStrategyId.$1", + "type": "string", + "tags": [], + "label": "searchStrategyId", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data/common/search/search_source/search_source.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/top_n/top_n.tsx" + "parentPluginId": "data", + "id": "def-public.SearchSource.setField", + "type": "Function", + "tags": [], + "label": "setField", + "description": [ + "\nsets value to a single search source field" + ], + "signature": [ + "(field: K, value: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSourceFields", + "text": "SearchSourceFields" + }, + "[K]) => this" + ], + "path": "src/plugins/data/common/search/search_source/search_source.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-public.SearchSource.setField.$1", + "type": "Uncategorized", + "tags": [], + "label": "field", + "description": [ + ": field name" + ], + "signature": [ + "K" + ], + "path": "src/plugins/data/common/search/search_source/search_source.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-public.SearchSource.setField.$2", + "type": "Uncategorized", + "tags": [], + "label": "value", + "description": [ + ": value for the field" + ], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSourceFields", + "text": "SearchSourceFields" + }, + "[K]" + ], + "path": "src/plugins/data/common/search/search_source/search_source.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" + "parentPluginId": "data", + "id": "def-public.SearchSource.removeField", + "type": "Function", + "tags": [], + "label": "removeField", + "description": [ + "\nremove field" + ], + "signature": [ + "(field: K) => this" + ], + "path": "src/plugins/data/common/search/search_source/search_source.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-public.SearchSource.removeField.$1", + "type": "Uncategorized", + "tags": [], + "label": "field", + "description": [ + ": field name" + ], + "signature": [ + "K" + ], + "path": "src/plugins/data/common/search/search_source/search_source.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" + "parentPluginId": "data", + "id": "def-public.SearchSource.setFields", + "type": "Function", + "tags": [ + "private" + ], + "label": "setFields", + "description": [ + "\nInternal, do not use. Overrides all search source fields with the new field array.\n" + ], + "signature": [ + "(newFields: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSourceFields", + "text": "SearchSourceFields" + }, + ") => this" + ], + "path": "src/plugins/data/common/search/search_source/search_source.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-public.SearchSource.setFields.$1", + "type": "Object", + "tags": [], + "label": "newFields", + "description": [ + "New field array." + ], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSourceFields", + "text": "SearchSourceFields" + } + ], + "path": "src/plugins/data/common/search/search_source/search_source.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/helpers.ts" + "parentPluginId": "data", + "id": "def-public.SearchSource.getId", + "type": "Function", + "tags": [], + "label": "getId", + "description": [ + "\nreturns search source id" + ], + "signature": [ + "() => string" + ], + "path": "src/plugins/data/common/search/search_source/search_source.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/helpers.ts" + "parentPluginId": "data", + "id": "def-public.SearchSource.getFields", + "type": "Function", + "tags": [], + "label": "getFields", + "description": [ + "\nreturns all search source fields" + ], + "signature": [ + "() => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSourceFields", + "text": "SearchSourceFields" + } + ], + "path": "src/plugins/data/common/search/search_source/search_source.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" + "parentPluginId": "data", + "id": "def-public.SearchSource.getField", + "type": "Function", + "tags": [], + "label": "getField", + "description": [ + "\nGets a single field from the fields" + ], + "signature": [ + "(field: K, recurse?: boolean) => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSourceFields", + "text": "SearchSourceFields" + }, + "[K]" + ], + "path": "src/plugins/data/common/search/search_source/search_source.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-public.SearchSource.getField.$1", + "type": "Uncategorized", + "tags": [], + "label": "field", + "description": [], + "signature": [ + "K" + ], + "path": "src/plugins/data/common/search/search_source/search_source.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-public.SearchSource.getField.$2", + "type": "boolean", + "tags": [], + "label": "recurse", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data/common/search/search_source/search_source.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_count_panel/index.tsx" + "parentPluginId": "data", + "id": "def-public.SearchSource.getOwnField", + "type": "Function", + "tags": [], + "label": "getOwnField", + "description": [ + "\nGet the field from our own fields, don't traverse up the chain" + ], + "signature": [ + "(field: K) => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSourceFields", + "text": "SearchSourceFields" + }, + "[K]" + ], + "path": "src/plugins/data/common/search/search_source/search_source.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-public.SearchSource.getOwnField.$1", + "type": "Uncategorized", + "tags": [], + "label": "field", + "description": [], + "signature": [ + "K" + ], + "path": "src/plugins/data/common/search/search_source/search_source.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_count_panel/index.tsx" + "parentPluginId": "data", + "id": "def-public.SearchSource.create", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "create", + "description": [], + "signature": [ + "() => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSource", + "text": "SearchSource" + } + ], + "path": "src/plugins/data/common/search/search_source/search_source.ts", + "deprecated": true, + "references": [ + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + } + ], + "children": [], + "returnComment": [] }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/navigation/tab_navigation/types.ts" + "parentPluginId": "data", + "id": "def-public.SearchSource.createCopy", + "type": "Function", + "tags": [], + "label": "createCopy", + "description": [ + "\ncreates a copy of this search source (without its children)" + ], + "signature": [ + "() => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSource", + "text": "SearchSource" + } + ], + "path": "src/plugins/data/common/search/search_source/search_source.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/navigation/tab_navigation/types.ts" + "parentPluginId": "data", + "id": "def-public.SearchSource.createChild", + "type": "Function", + "tags": [], + "label": "createChild", + "description": [ + "\ncreates a new child search source" + ], + "signature": [ + "(options?: {}) => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSource", + "text": "SearchSource" + } + ], + "path": "src/plugins/data/common/search/search_source/search_source.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-public.SearchSource.createChild.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "{}" + ], + "path": "src/plugins/data/common/search/search_source/search_source.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/details/types.ts" + "parentPluginId": "data", + "id": "def-public.SearchSource.setParent", + "type": "Function", + "tags": [ + "return" + ], + "label": "setParent", + "description": [ + "\nSet a searchSource that this source should inherit from" + ], + "signature": [ + "(parent?: Pick<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSource", + "text": "SearchSource" + }, + ", \"create\" | \"history\" | \"setPreferredSearchStrategyId\" | \"setField\" | \"removeField\" | \"setFields\" | \"getId\" | \"getFields\" | \"getField\" | \"getOwnField\" | \"createCopy\" | \"createChild\" | \"setParent\" | \"getParent\" | \"fetch$\" | \"fetch\" | \"onRequestStart\" | \"getSearchRequestBody\" | \"destroy\" | \"getSerializedFields\" | \"serialize\"> | undefined, options?: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSourceOptions", + "text": "SearchSourceOptions" + }, + ") => this" + ], + "path": "src/plugins/data/common/search/search_source/search_source.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-public.SearchSource.setParent.$1", + "type": "Object", + "tags": [], + "label": "parent", + "description": [ + "- the parent searchSource" + ], + "signature": [ + "Pick<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSource", + "text": "SearchSource" + }, + ", \"create\" | \"history\" | \"setPreferredSearchStrategyId\" | \"setField\" | \"removeField\" | \"setFields\" | \"getId\" | \"getFields\" | \"getField\" | \"getOwnField\" | \"createCopy\" | \"createChild\" | \"setParent\" | \"getParent\" | \"fetch$\" | \"fetch\" | \"onRequestStart\" | \"getSearchRequestBody\" | \"destroy\" | \"getSerializedFields\" | \"serialize\"> | undefined" + ], + "path": "src/plugins/data/common/search/search_source/search_source.ts", + "deprecated": false, + "isRequired": false + }, + { + "parentPluginId": "data", + "id": "def-public.SearchSource.setParent.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [ + "- the inherit options" + ], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSourceOptions", + "text": "SearchSourceOptions" + } + ], + "path": "src/plugins/data/common/search/search_source/search_source.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [ + "- chainable" + ] }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/details/types.ts" + "parentPluginId": "data", + "id": "def-public.SearchSource.getParent", + "type": "Function", + "tags": [ + "return" + ], + "label": "getParent", + "description": [ + "\nGet the parent of this SearchSource" + ], + "signature": [ + "() => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSource", + "text": "SearchSource" + }, + " | undefined" + ], + "path": "src/plugins/data/common/search/search_source/search_source.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/details/types.ts" + "parentPluginId": "data", + "id": "def-public.SearchSource.fetch$", + "type": "Function", + "tags": [], + "label": "fetch$", + "description": [ + "\nFetch this source from Elasticsearch, returning an observable over the response(s)" + ], + "signature": [ + "(options?: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.ISearchOptions", + "text": "ISearchOptions" + }, + ") => ", + "Observable", + "<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.IKibanaSearchResponse", + "text": "IKibanaSearchResponse" + }, + "<", + "SearchResponse", + ">>" + ], + "path": "src/plugins/data/common/search/search_source/search_source.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-public.SearchSource.fetch$.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.ISearchOptions", + "text": "ISearchOptions" + } + ], + "path": "src/plugins/data/common/search/search_source/search_source.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/details/helpers.ts" + "parentPluginId": "data", + "id": "def-public.SearchSource.fetch", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "fetch", + "description": [ + "\nFetch this source and reject the returned Promise on error" + ], + "signature": [ + "(options?: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.ISearchOptions", + "text": "ISearchOptions" + }, + ") => Promise<", + "SearchResponse", + ">" + ], + "path": "src/plugins/data/common/search/search_source/search_source.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/anchor.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/utils/fetch_hits_in_interval.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/list_control_factory.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/range_control_factory.ts" + } + ], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.SearchSource.fetch.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.ISearchOptions", + "text": "ISearchOptions" + } + ], + "path": "src/plugins/data/common/search/search_source/search_source.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/details/helpers.ts" + "parentPluginId": "data", + "id": "def-public.SearchSource.onRequestStart", + "type": "Function", + "tags": [ + "return" + ], + "label": "onRequestStart", + "description": [ + "\n Add a handler that will be notified whenever requests start" + ], + "signature": [ + "(handler: (searchSource: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSource", + "text": "SearchSource" + }, + ", options?: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.ISearchOptions", + "text": "ISearchOptions" + }, + " | undefined) => Promise) => void" + ], + "path": "src/plugins/data/common/search/search_source/search_source.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-public.SearchSource.onRequestStart.$1", + "type": "Function", + "tags": [], + "label": "handler", + "description": [], + "signature": [ + "(searchSource: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSource", + "text": "SearchSource" + }, + ", options?: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.ISearchOptions", + "text": "ISearchOptions" + }, + " | undefined) => Promise" + ], + "path": "src/plugins/data/common/search/search_source/search_source.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/details/index.tsx" + "parentPluginId": "data", + "id": "def-public.SearchSource.getSearchRequestBody", + "type": "Function", + "tags": [], + "label": "getSearchRequestBody", + "description": [ + "\nReturns body contents of the search request, often referred as query DSL." + ], + "signature": [ + "() => any" + ], + "path": "src/plugins/data/common/search/search_source/search_source.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/details/index.tsx" + "parentPluginId": "data", + "id": "def-public.SearchSource.destroy", + "type": "Function", + "tags": [ + "return" + ], + "label": "destroy", + "description": [ + "\nCompletely destroy the SearchSource." + ], + "signature": [ + "() => void" + ], + "path": "src/plugins/data/common/search/search_source/search_source.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/components/embeddables/embedded_map_helpers.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/components/embeddables/embedded_map_helpers.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/components/embeddables/embedded_map.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/components/embeddables/embedded_map.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/alerts_by_category/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/alerts_by_category/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/event_counts/index.tsx" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/event_counts/index.tsx" + "parentPluginId": "data", + "id": "def-public.SearchSource.getSerializedFields", + "type": "Function", + "tags": [], + "label": "getSerializedFields", + "description": [ + "\nserializes search source fields (which can later be passed to {@link ISearchStartSearchSource})" + ], + "signature": [ + "(recurse?: boolean) => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSourceFields", + "text": "SearchSourceFields" + } + ], + "path": "src/plugins/data/common/search/search_source/search_source.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-public.SearchSource.getSerializedFields.$1", + "type": "boolean", + "tags": [], + "label": "recurse", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data/common/search/search_source/search_source.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/types.ts" - }, + "parentPluginId": "data", + "id": "def-public.SearchSource.serialize", + "type": "Function", + "tags": [], + "label": "serialize", + "description": [ + "\nSerializes the instance to a JSON string and a set of referenced objects.\nUse this method to get a representation of the search source which can be stored in a saved object.\n\nThe references returned by this function can be mixed with other references in the same object,\nhowever make sure there are no name-collisions. The references will be named `kibanaSavedObjectMeta.searchSourceJSON.index`\nand `kibanaSavedObjectMeta.searchSourceJSON.filter[].meta.index`.\n\nUsing `createSearchSource`, the instance can be re-created." + ], + "signature": [ + "() => { searchSourceJSON: string; references: ", + "SavedObjectReference", + "[]; }" + ], + "path": "src/plugins/data/common/search/search_source/search_source.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "functions": [ + { + "parentPluginId": "data", + "id": "def-public.castEsToKbnFieldTypeName", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "castEsToKbnFieldTypeName", + "description": [], + "signature": [ + "(esType: string) => ", + "KBN_FIELD_TYPES" + ], + "path": "src/plugins/data/common/kbn_field_types/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/types.ts" + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/lib/create_field_list.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" - }, + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/lib/create_field_list.ts" + } + ], + "returnComment": [], + "children": [ { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/ueba/pages/details/types.ts" - }, + "parentPluginId": "data", + "id": "def-public.castEsToKbnFieldTypeName.$1", + "type": "string", + "tags": [], + "label": "esType", + "description": [], + "path": "node_modules/@kbn/field-types/target_types/kbn_field_types.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.extractReferences", + "type": "Function", + "tags": [], + "label": "extractReferences", + "description": [], + "signature": [ + "(state: ", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/ueba/pages/details/types.ts" + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSourceFields", + "text": "SearchSourceFields" }, + ") => [", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/ueba/pages/details/types.ts" + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSourceFields", + "text": "SearchSourceFields" }, + " & { indexRefName?: string | undefined; }, ", + "SavedObjectReference", + "[]]" + ], + "path": "src/plugins/data/common/search/search_source/extract_references.ts", + "deprecated": false, + "children": [ { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/ueba/pages/details/helpers.ts" - }, + "parentPluginId": "data", + "id": "def-public.extractReferences.$1", + "type": "Object", + "tags": [], + "label": "state", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSourceFields", + "text": "SearchSourceFields" + } + ], + "path": "src/plugins/data/common/search/search_source/extract_references.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.fieldList", + "type": "Function", + "tags": [], + "label": "fieldList", + "description": [], + "signature": [ + "(specs?: ", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/ueba/pages/details/helpers.ts" + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" }, + "[], shortDotsEnable?: boolean) => ", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/ueba/pages/details/index.tsx" - }, + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IIndexPatternFieldList", + "text": "IIndexPatternFieldList" + } + ], + "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", + "deprecated": false, + "children": [ { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/ueba/pages/details/index.tsx" + "parentPluginId": "data", + "id": "def-public.fieldList.$1", + "type": "Array", + "tags": [], + "label": "specs", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[]" + ], + "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", + "deprecated": false, + "isRequired": true }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/url_state/initialize_redux_by_url.tsx" - }, + "parentPluginId": "data", + "id": "def-public.fieldList.$2", + "type": "boolean", + "tags": [], + "label": "shortDotsEnable", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.getEsQueryConfig", + "type": "Function", + "tags": [], + "label": "getEsQueryConfig", + "description": [], + "signature": [ + "(config: KibanaConfig) => ", + "EsQueryConfig" + ], + "path": "src/plugins/data/common/es_query/get_es_query_config.ts", + "deprecated": false, + "children": [ { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/url_state/initialize_redux_by_url.tsx" - }, + "parentPluginId": "data", + "id": "def-public.getEsQueryConfig.$1", + "type": "Object", + "tags": [], + "label": "config", + "description": [], + "signature": [ + "KibanaConfig" + ], + "path": "src/plugins/data/common/es_query/get_es_query_config.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.getKbnTypeNames", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "getKbnTypeNames", + "description": [], + "signature": [ + "() => string[]" + ], + "path": "src/plugins/data/common/kbn_field_types/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/search_or_filter.tsx" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/constants/index.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/search_or_filter.tsx" - }, + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/constants/index.ts" + } + ], + "returnComment": [], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.getSearchParamsFromRequest", + "type": "Function", + "tags": [], + "label": "getSearchParamsFromRequest", + "description": [], + "signature": [ + "(searchRequest: Record, dependencies: { getConfig: ", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/search_or_filter.tsx" + "pluginId": "data", + "scope": "common", + "docId": "kibDataPluginApi", + "section": "def-common.GetConfigFn", + "text": "GetConfigFn" }, + "; }) => ", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/index.tsx" - }, + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.ISearchRequestParams", + "text": "ISearchRequestParams" + } + ], + "path": "src/plugins/data/common/search/search_source/fetch/get_search_params.ts", + "deprecated": false, + "children": [ { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/index.tsx" + "parentPluginId": "data", + "id": "def-public.getSearchParamsFromRequest.$1", + "type": "Object", + "tags": [], + "label": "searchRequest", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data/common/search/search_source/fetch/get_search_params.ts", + "deprecated": false, + "isRequired": true }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/index.tsx" - }, + "parentPluginId": "data", + "id": "def-public.getSearchParamsFromRequest.$2", + "type": "Object", + "tags": [], + "label": "dependencies", + "description": [], + "path": "src/plugins/data/common/search/search_source/fetch/get_search_params.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-public.getSearchParamsFromRequest.$2.getConfig", + "type": "Function", + "tags": [], + "label": "getConfig", + "description": [], + "signature": [ + "(key: string, defaultOverride?: T | undefined) => T" + ], + "path": "src/plugins/data/common/search/search_source/fetch/get_search_params.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.getSearchParamsFromRequest.$2.getConfig.$1", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "path": "src/plugins/data/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.getSearchParamsFromRequest.$2.getConfig.$2", + "type": "Uncategorized", + "tags": [], + "label": "defaultOverride", + "description": [], + "signature": [ + "T | undefined" + ], + "path": "src/plugins/data/common/types.ts", + "deprecated": false + } + ] + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.getTime", + "type": "Function", + "tags": [], + "label": "getTime", + "description": [], + "signature": [ + "(indexPattern: ", { - "plugin": "urlDrilldown", - "path": "x-pack/plugins/drilldowns/url_drilldown/public/lib/variables/context_variables.ts" + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IIndexPattern", + "text": "IIndexPattern" }, + " | undefined, timeRange: ", { - "plugin": "urlDrilldown", - "path": "x-pack/plugins/drilldowns/url_drilldown/public/lib/variables/context_variables.ts" + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" }, + ", options: { forceNow?: Date | undefined; fieldName?: string | undefined; } | undefined) => ", + "RangeFilter", + " | ", + "ScriptedRangeFilter", + " | ", + "MatchAllRangeFilter", + " | undefined" + ], + "path": "src/plugins/data/common/query/timefilter/get_time.ts", + "deprecated": false, + "children": [ { - "plugin": "urlDrilldown", - "path": "x-pack/plugins/drilldowns/url_drilldown/public/lib/url_drilldown.tsx" + "parentPluginId": "data", + "id": "def-public.getTime.$1", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IIndexPattern", + "text": "IIndexPattern" + }, + " | undefined" + ], + "path": "src/plugins/data/common/query/timefilter/get_time.ts", + "deprecated": false, + "isRequired": false }, { - "plugin": "urlDrilldown", - "path": "x-pack/plugins/drilldowns/url_drilldown/public/lib/url_drilldown.tsx" + "parentPluginId": "data", + "id": "def-public.getTime.$2", + "type": "Object", + "tags": [], + "label": "timeRange", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + } + ], + "path": "src/plugins/data/common/query/timefilter/get_time.ts", + "deprecated": false, + "isRequired": true }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/persistence/filter_references.test.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/persistence/filter_references.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/selectors/map_selectors.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/selectors/map_selectors.test.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/common/detection_engine/get_query_filter.test.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/common/detection_engine/get_query_filter.test.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/common/detection_engine/get_query_filter.test.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/common/detection_engine/get_query_filter.test.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/target/types/canvas_plugin_src/functions/external/saved_lens.d.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/target/types/canvas_plugin_src/functions/external/saved_lens.d.ts" - }, + "parentPluginId": "data", + "id": "def-public.getTime.$3", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "path": "src/plugins/data/common/query/timefilter/get_time.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-public.getTime.$3.forceNow", + "type": "Object", + "tags": [], + "label": "forceNow", + "description": [], + "signature": [ + "Date | undefined" + ], + "path": "src/plugins/data/common/query/timefilter/get_time.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.getTime.$3.fieldName", + "type": "string", + "tags": [], + "label": "fieldName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data/common/query/timefilter/get_time.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.injectReferences", + "type": "Function", + "tags": [], + "label": "injectReferences", + "description": [], + "signature": [ + "(searchSourceFields: ", { - "plugin": "discoverEnhanced", - "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_chart_action.test.ts" + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSourceFields", + "text": "SearchSourceFields" }, + " & { indexRefName: string; }, references: ", + "SavedObjectReference", + "[]) => ", { - "plugin": "discoverEnhanced", - "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_chart_action.test.ts" - }, + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSourceFields", + "text": "SearchSourceFields" + } + ], + "path": "src/plugins/data/common/search/search_source/inject_references.ts", + "deprecated": false, + "children": [ { - "plugin": "discoverEnhanced", - "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_chart_action.test.ts" + "parentPluginId": "data", + "id": "def-public.injectReferences.$1", + "type": "CompoundType", + "tags": [], + "label": "searchSourceFields", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSourceFields", + "text": "SearchSourceFields" + }, + " & { indexRefName: string; }" + ], + "path": "src/plugins/data/common/search/search_source/inject_references.ts", + "deprecated": false, + "isRequired": true }, { - "plugin": "urlDrilldown", - "path": "x-pack/plugins/drilldowns/url_drilldown/public/lib/test/data.ts" - }, + "parentPluginId": "data", + "id": "def-public.injectReferences.$2", + "type": "Array", + "tags": [], + "label": "references", + "description": [], + "signature": [ + "SavedObjectReference", + "[]" + ], + "path": "src/plugins/data/common/search/search_source/inject_references.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.isCompleteResponse", + "type": "Function", + "tags": [], + "label": "isCompleteResponse", + "description": [], + "signature": [ + "(response?: ", { - "plugin": "urlDrilldown", - "path": "x-pack/plugins/drilldowns/url_drilldown/public/lib/test/data.ts" + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.IKibanaSearchResponse", + "text": "IKibanaSearchResponse" }, + " | undefined) => boolean" + ], + "path": "src/plugins/data/common/search/utils.ts", + "deprecated": false, + "children": [ { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" - }, + "parentPluginId": "data", + "id": "def-public.isCompleteResponse.$1", + "type": "Object", + "tags": [], + "label": "response", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.IKibanaSearchResponse", + "text": "IKibanaSearchResponse" + }, + " | undefined" + ], + "path": "src/plugins/data/common/search/utils.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [ + "true if response is completed successfully" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.isErrorResponse", + "type": "Function", + "tags": [], + "label": "isErrorResponse", + "description": [], + "signature": [ + "(response?: ", { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.IKibanaSearchResponse", + "text": "IKibanaSearchResponse" }, + " | undefined) => boolean" + ], + "path": "src/plugins/data/common/search/utils.ts", + "deprecated": false, + "children": [ { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/migrations/types.d.ts" - }, + "parentPluginId": "data", + "id": "def-public.isErrorResponse.$1", + "type": "Object", + "tags": [], + "label": "response", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.IKibanaSearchResponse", + "text": "IKibanaSearchResponse" + }, + " | undefined" + ], + "path": "src/plugins/data/common/search/utils.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [ + "true if response had an error while executing in ES" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.isFilter", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "isFilter", + "description": [], + "signature": [ + "(x: unknown) => x is ", + "Filter" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "returnComment": [], + "children": [ { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/migrations/types.d.ts" - }, + "parentPluginId": "data", + "id": "def-public.isFilter.$1", + "type": "Unknown", + "tags": [], + "label": "x", + "description": [], + "signature": [ + "unknown" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.isFilters", + "type": "Function", + "tags": [ + "deprecated" + ], + "label": "isFilters", + "description": [], + "signature": [ + "(x: unknown) => x is ", + "Filter", + "[]" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/migrations/types.d.ts" + "plugin": "dashboardEnhanced", + "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/server/migrations/types.d.ts" - }, + "plugin": "dashboardEnhanced", + "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx" + } + ], + "returnComment": [], + "children": [ { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/tooltips/tooltip_property.d.ts" - }, + "parentPluginId": "data", + "id": "def-public.isFilters.$1", + "type": "Unknown", + "tags": [], + "label": "x", + "description": [], + "signature": [ + "unknown" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.isPartialResponse", + "type": "Function", + "tags": [], + "label": "isPartialResponse", + "description": [], + "signature": [ + "(response?: ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/tooltips/tooltip_property.d.ts" + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.IKibanaSearchResponse", + "text": "IKibanaSearchResponse" }, + " | undefined) => boolean" + ], + "path": "src/plugins/data/common/search/utils.ts", + "deprecated": false, + "children": [ { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/tooltips/tooltip_property.d.ts" - }, + "parentPluginId": "data", + "id": "def-public.isPartialResponse.$1", + "type": "Object", + "tags": [], + "label": "response", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.IKibanaSearchResponse", + "text": "IKibanaSearchResponse" + }, + " | undefined" + ], + "path": "src/plugins/data/common/search/utils.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [ + "true if request is still running an/d response contains partial results" + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.isQuery", + "type": "Function", + "tags": [], + "label": "isQuery", + "description": [], + "signature": [ + "(x: unknown) => x is ", + "Query" + ], + "path": "src/plugins/data/common/query/is_query.ts", + "deprecated": false, + "children": [ { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/tooltips/tooltip_property.d.ts" - }, + "parentPluginId": "data", + "id": "def-public.isQuery.$1", + "type": "Unknown", + "tags": [], + "label": "x", + "description": [], + "signature": [ + "unknown" + ], + "path": "src/plugins/data/common/query/is_query.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.isTimeRange", + "type": "Function", + "tags": [], + "label": "isTimeRange", + "description": [], + "signature": [ + "(x: unknown) => x is ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/vector_source/vector_source.d.ts" - }, + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + } + ], + "path": "src/plugins/data/common/query/timefilter/is_time_range.ts", + "deprecated": false, + "children": [ { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/vector_source/vector_source.d.ts" - }, + "parentPluginId": "data", + "id": "def-public.isTimeRange.$1", + "type": "Unknown", + "tags": [], + "label": "x", + "description": [], + "signature": [ + "unknown" + ], + "path": "src/plugins/data/common/query/timefilter/is_time_range.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.parseSearchSourceJSON", + "type": "Function", + "tags": [], + "label": "parseSearchSourceJSON", + "description": [], + "signature": [ + "(searchSourceJSON: string) => ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/actions/map_actions.d.ts" - }, + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSourceFields", + "text": "SearchSourceFields" + } + ], + "path": "src/plugins/data/common/search/search_source/parse_json.ts", + "deprecated": false, + "children": [ { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/actions/map_actions.d.ts" - }, + "parentPluginId": "data", + "id": "def-public.parseSearchSourceJSON.$1", + "type": "string", + "tags": [], + "label": "searchSourceJSON", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data/common/search/search_source/parse_json.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "data", + "id": "def-public.AggFunctionsMapping", + "type": "Interface", + "tags": [], + "label": "AggFunctionsMapping", + "description": [ + "\nA global list of the expression function definitions for each agg type function." + ], + "path": "src/plugins/data/common/search/aggs/types.ts", + "deprecated": false, + "children": [ { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/routes/map_page/url_state/global_sync.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/routes/map_page/url_state/global_sync.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/routes/map_page/url_state/app_state_manager.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/routes/map_page/url_state/app_state_manager.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/routes/map_page/url_state/app_state_manager.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/helpers.test.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/helpers.test.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/helpers.test.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/helpers.test.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/helpers.test.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/epic.test.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/epic.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/map_container/map_container.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/map_container/map_container.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/mb_map.d.ts" + "parentPluginId": "data", + "id": "def-public.AggFunctionsMapping.aggFilter", + "type": "Object", + "tags": [], + "label": "aggFilter", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"aggFilter\", any, Pick, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\"> & Pick<{ geo_bounding_box?: ({ type: \"geo_bounding_box\"; } & GeoBox) | ({ type: \"geo_bounding_box\"; } & { top_left: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.GeoPoint", + "text": "GeoPoint" + }, + "; bottom_right: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.GeoPoint", + "text": "GeoPoint" + }, + "; }) | ({ type: \"geo_bounding_box\"; } & { top_right: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.GeoPoint", + "text": "GeoPoint" + }, + "; bottom_left: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.GeoPoint", + "text": "GeoPoint" + }, + "; }) | ({ type: \"geo_bounding_box\"; } & WellKnownText) | undefined; filter?: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionValueBoxed", + "text": "ExpressionValueBoxed" + }, + "<\"kibana_query\", ", + "Query", + "> | undefined; }, \"filter\" | \"geo_bounding_box\"> & Pick<{ geo_bounding_box?: ({ type: \"geo_bounding_box\"; } & GeoBox) | ({ type: \"geo_bounding_box\"; } & { top_left: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.GeoPoint", + "text": "GeoPoint" + }, + "; bottom_right: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.GeoPoint", + "text": "GeoPoint" + }, + "; }) | ({ type: \"geo_bounding_box\"; } & { top_right: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.GeoPoint", + "text": "GeoPoint" + }, + "; bottom_left: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.GeoPoint", + "text": "GeoPoint" + }, + "; }) | ({ type: \"geo_bounding_box\"; } & WellKnownText) | undefined; filter?: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionValueBoxed", + "text": "ExpressionValueBoxed" + }, + "<\"kibana_query\", ", + "Query", + "> | undefined; }, never>, \"enabled\" | \"id\" | \"filter\" | \"schema\" | \"geo_bounding_box\" | \"json\" | \"customLabel\" | \"timeShift\">, ", + "AggExpressionType", + ", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + "SerializableRecord", + ">>" + ], + "path": "src/plugins/data/common/search/aggs/types.ts", + "deprecated": false }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/mb_map.d.ts" + "parentPluginId": "data", + "id": "def-public.AggFunctionsMapping.aggFilters", + "type": "Object", + "tags": [], + "label": "aggFilters", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"aggFilters\", any, Pick, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"timeShift\"> & Pick<{ filters?: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionValueBoxed", + "text": "ExpressionValueBoxed" + }, + "<\"kibana_query_filter\", ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.QueryFilter", + "text": "QueryFilter" + }, + ">[] | undefined; }, \"filters\"> & Pick<{ filters?: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionValueBoxed", + "text": "ExpressionValueBoxed" + }, + "<\"kibana_query_filter\", ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.QueryFilter", + "text": "QueryFilter" + }, + ">[] | undefined; }, never>, \"enabled\" | \"filters\" | \"id\" | \"schema\" | \"json\" | \"timeShift\">, ", + "AggExpressionType", + ", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + "SerializableRecord", + ">>" + ], + "path": "src/plugins/data/common/search/aggs/types.ts", + "deprecated": false }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/toolbar_overlay/toolbar_overlay.d.ts" + "parentPluginId": "data", + "id": "def-public.AggFunctionsMapping.aggSignificantTerms", + "type": "Object", + "tags": [], + "label": "aggSignificantTerms", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"aggSignificantTerms\", any, ", + "AggExpressionFunctionArgs", + "<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.BUCKET_TYPES", + "text": "BUCKET_TYPES" + }, + ".SIGNIFICANT_TERMS>, ", + "AggExpressionType", + ", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + "SerializableRecord", + ">>" + ], + "path": "src/plugins/data/common/search/aggs/types.ts", + "deprecated": false }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/toolbar_overlay/toolbar_overlay.d.ts" + "parentPluginId": "data", + "id": "def-public.AggFunctionsMapping.aggIpRange", + "type": "Object", + "tags": [], + "label": "aggIpRange", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"aggIpRange\", any, Pick, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"field\"> & Pick<{ ranges?: (", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionValueBoxed", + "text": "ExpressionValueBoxed" + }, + "<\"cidr\", ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.Cidr", + "text": "Cidr" + }, + "> | ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionValueBoxed", + "text": "ExpressionValueBoxed" + }, + "<\"ip_range\", ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.IpRange", + "text": "IpRange" + }, + ">)[] | undefined; ipRangeType?: string | undefined; }, \"ipRangeType\" | \"ranges\"> & Pick<{ ranges?: (", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionValueBoxed", + "text": "ExpressionValueBoxed" + }, + "<\"cidr\", ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.Cidr", + "text": "Cidr" + }, + "> | ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionValueBoxed", + "text": "ExpressionValueBoxed" + }, + "<\"ip_range\", ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.IpRange", + "text": "IpRange" + }, + ">)[] | undefined; ipRangeType?: string | undefined; }, never>, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"field\" | \"ipRangeType\" | \"ranges\">, ", + "AggExpressionType", + ", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + "SerializableRecord", + ">>" + ], + "path": "src/plugins/data/common/search/aggs/types.ts", + "deprecated": false }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" + "parentPluginId": "data", + "id": "def-public.AggFunctionsMapping.aggDateRange", + "type": "Object", + "tags": [], + "label": "aggDateRange", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"aggDateRange\", any, Pick, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"field\" | \"time_zone\"> & Pick<{ ranges?: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionValueBoxed", + "text": "ExpressionValueBoxed" + }, + "<\"date_range\", ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.DateRange", + "text": "DateRange" + }, + ">[] | undefined; }, \"ranges\"> & Pick<{ ranges?: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionValueBoxed", + "text": "ExpressionValueBoxed" + }, + "<\"date_range\", ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.DateRange", + "text": "DateRange" + }, + ">[] | undefined; }, never>, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"field\" | \"ranges\" | \"time_zone\">, ", + "AggExpressionType", + ", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + "SerializableRecord", + ">>" + ], + "path": "src/plugins/data/common/search/aggs/types.ts", + "deprecated": false }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/tooltip_control.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/tooltip_control.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/tooltip_popover.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/tooltip_popover.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" + "parentPluginId": "data", + "id": "def-public.AggFunctionsMapping.aggRange", + "type": "Object", + "tags": [], + "label": "aggRange", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"aggRange\", any, Pick, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"field\"> & Pick<{ ranges?: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionValueBoxed", + "text": "ExpressionValueBoxed" + }, + "<\"numerical_range\", ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.NumericalRange", + "text": "NumericalRange" + }, + ">[] | undefined; }, \"ranges\"> & Pick<{ ranges?: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionValueBoxed", + "text": "ExpressionValueBoxed" + }, + "<\"numerical_range\", ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.NumericalRange", + "text": "NumericalRange" + }, + ">[] | undefined; }, never>, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"field\" | \"ranges\">, ", + "AggExpressionType", + ", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + "SerializableRecord", + ">>" + ], + "path": "src/plugins/data/common/search/aggs/types.ts", + "deprecated": false }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" + "parentPluginId": "data", + "id": "def-public.AggFunctionsMapping.aggGeoTile", + "type": "Object", + "tags": [], + "label": "aggGeoTile", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"aggGeoTile\", any, ", + "AggExpressionFunctionArgs", + "<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.BUCKET_TYPES", + "text": "BUCKET_TYPES" + }, + ".GEOTILE_GRID>, ", + "AggExpressionType", + ", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + "SerializableRecord", + ">>" + ], + "path": "src/plugins/data/common/search/aggs/types.ts", + "deprecated": false }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" + "parentPluginId": "data", + "id": "def-public.AggFunctionsMapping.aggGeoHash", + "type": "Object", + "tags": [], + "label": "aggGeoHash", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"aggGeoHash\", any, Pick, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"field\" | \"autoPrecision\" | \"precision\" | \"useGeocentroid\" | \"isFilteredByCollar\"> & Pick<{ boundingBox?: ({ type: \"geo_bounding_box\"; } & GeoBox) | ({ type: \"geo_bounding_box\"; } & { top_left: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.GeoPoint", + "text": "GeoPoint" + }, + "; bottom_right: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.GeoPoint", + "text": "GeoPoint" + }, + "; }) | ({ type: \"geo_bounding_box\"; } & { top_right: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.GeoPoint", + "text": "GeoPoint" + }, + "; bottom_left: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.GeoPoint", + "text": "GeoPoint" + }, + "; }) | ({ type: \"geo_bounding_box\"; } & WellKnownText) | undefined; }, \"boundingBox\"> & Pick<{ boundingBox?: ({ type: \"geo_bounding_box\"; } & GeoBox) | ({ type: \"geo_bounding_box\"; } & { top_left: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.GeoPoint", + "text": "GeoPoint" + }, + "; bottom_right: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.GeoPoint", + "text": "GeoPoint" + }, + "; }) | ({ type: \"geo_bounding_box\"; } & { top_right: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.GeoPoint", + "text": "GeoPoint" + }, + "; bottom_left: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.GeoPoint", + "text": "GeoPoint" + }, + "; }) | ({ type: \"geo_bounding_box\"; } & WellKnownText) | undefined; }, never>, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"field\" | \"autoPrecision\" | \"precision\" | \"useGeocentroid\" | \"isFilteredByCollar\" | \"boundingBox\">, ", + "AggExpressionType", + ", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + "SerializableRecord", + ">>" + ], + "path": "src/plugins/data/common/search/aggs/types.ts", + "deprecated": false }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" + "parentPluginId": "data", + "id": "def-public.AggFunctionsMapping.aggHistogram", + "type": "Object", + "tags": [], + "label": "aggHistogram", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"aggHistogram\", any, Pick, \"enabled\" | \"interval\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"field\" | \"used_interval\" | \"maxBars\" | \"intervalBase\" | \"min_doc_count\" | \"has_extended_bounds\"> & Pick<{ extended_bounds?: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionValueBoxed", + "text": "ExpressionValueBoxed" + }, + "<\"extended_bounds\", ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.ExtendedBounds", + "text": "ExtendedBounds" + }, + "> | undefined; }, \"extended_bounds\"> & Pick<{ extended_bounds?: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionValueBoxed", + "text": "ExpressionValueBoxed" + }, + "<\"extended_bounds\", ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.ExtendedBounds", + "text": "ExtendedBounds" + }, + "> | undefined; }, never>, \"enabled\" | \"interval\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"field\" | \"used_interval\" | \"maxBars\" | \"intervalBase\" | \"min_doc_count\" | \"has_extended_bounds\" | \"extended_bounds\">, ", + "AggExpressionType", + ", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + "SerializableRecord", + ">>" + ], + "path": "src/plugins/data/common/search/aggs/types.ts", + "deprecated": false }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" + "parentPluginId": "data", + "id": "def-public.AggFunctionsMapping.aggDateHistogram", + "type": "Object", + "tags": [], + "label": "aggDateHistogram", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"aggDateHistogram\", any, Pick, \"enabled\" | \"interval\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"field\" | \"time_zone\" | \"used_interval\" | \"min_doc_count\" | \"useNormalizedEsInterval\" | \"scaleMetricValues\" | \"used_time_zone\" | \"drop_partials\" | \"format\"> & Pick<{ timeRange?: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionValueBoxed", + "text": "ExpressionValueBoxed" + }, + "<\"timerange\", ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, + "> | undefined; extended_bounds?: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionValueBoxed", + "text": "ExpressionValueBoxed" + }, + "<\"extended_bounds\", ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.ExtendedBounds", + "text": "ExtendedBounds" + }, + "> | undefined; }, \"timeRange\" | \"extended_bounds\"> & Pick<{ timeRange?: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionValueBoxed", + "text": "ExpressionValueBoxed" + }, + "<\"timerange\", ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, + "> | undefined; extended_bounds?: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionValueBoxed", + "text": "ExpressionValueBoxed" + }, + "<\"extended_bounds\", ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.ExtendedBounds", + "text": "ExtendedBounds" + }, + "> | undefined; }, never>, \"enabled\" | \"interval\" | \"timeRange\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"field\" | \"time_zone\" | \"used_interval\" | \"min_doc_count\" | \"extended_bounds\" | \"useNormalizedEsInterval\" | \"scaleMetricValues\" | \"used_time_zone\" | \"drop_partials\" | \"format\">, ", + "AggExpressionType", + ", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + "SerializableRecord", + ">>" + ], + "path": "src/plugins/data/common/search/aggs/types.ts", + "deprecated": false }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/hosts/pages/details/types.d.ts" + "parentPluginId": "data", + "id": "def-public.AggFunctionsMapping.aggTerms", + "type": "Object", + "tags": [], + "label": "aggTerms", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"aggTerms\", any, Pick, \"enabled\" | \"id\" | \"size\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"field\" | \"orderBy\" | \"order\" | \"missingBucket\" | \"missingBucketLabel\" | \"otherBucket\" | \"otherBucketLabel\" | \"exclude\" | \"include\"> & Pick<{ orderAgg?: ", + "AggExpressionType", + " | undefined; }, \"orderAgg\"> & Pick<{ orderAgg?: ", + "AggExpressionType", + " | undefined; }, never>, \"enabled\" | \"id\" | \"size\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"field\" | \"orderBy\" | \"orderAgg\" | \"order\" | \"missingBucket\" | \"missingBucketLabel\" | \"otherBucket\" | \"otherBucketLabel\" | \"exclude\" | \"include\">, ", + "AggExpressionType", + ", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + "SerializableRecord", + ">>" + ], + "path": "src/plugins/data/common/search/aggs/types.ts", + "deprecated": false }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/hosts/pages/details/types.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/hosts/pages/details/types.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/ueba/pages/details/types.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/ueba/pages/details/types.d.ts" - }, - { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/ueba/pages/details/types.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_geometry_filter_form.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_geometry_filter_form.d.ts" + "parentPluginId": "data", + "id": "def-public.AggFunctionsMapping.aggAvg", + "type": "Object", + "tags": [], + "label": "aggAvg", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"aggAvg\", any, ", + "AggExpressionFunctionArgs", + "<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.METRIC_TYPES", + "text": "METRIC_TYPES" + }, + ".AVG>, ", + "AggExpressionType", + ", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + "SerializableRecord", + ">>" + ], + "path": "src/plugins/data/common/search/aggs/types.ts", + "deprecated": false }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.d.ts" + "parentPluginId": "data", + "id": "def-public.AggFunctionsMapping.aggBucketAvg", + "type": "Object", + "tags": [], + "label": "aggBucketAvg", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"aggBucketAvg\", any, Pick, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\"> & Pick<{ customBucket?: ", + "AggExpressionType", + " | undefined; customMetric?: ", + "AggExpressionType", + " | undefined; }, \"customMetric\" | \"customBucket\"> & Pick<{ customBucket?: ", + "AggExpressionType", + " | undefined; customMetric?: ", + "AggExpressionType", + " | undefined; }, never>, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"customMetric\" | \"customBucket\">, ", + "AggExpressionType", + ", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + "SerializableRecord", + ">>" + ], + "path": "src/plugins/data/common/search/aggs/types.ts", + "deprecated": false }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.d.ts" + "parentPluginId": "data", + "id": "def-public.AggFunctionsMapping.aggBucketMax", + "type": "Object", + "tags": [], + "label": "aggBucketMax", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"aggBucketMax\", any, Pick, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\"> & Pick<{ customBucket?: ", + "AggExpressionType", + " | undefined; customMetric?: ", + "AggExpressionType", + " | undefined; }, \"customMetric\" | \"customBucket\"> & Pick<{ customBucket?: ", + "AggExpressionType", + " | undefined; customMetric?: ", + "AggExpressionType", + " | undefined; }, never>, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"customMetric\" | \"customBucket\">, ", + "AggExpressionType", + ", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + "SerializableRecord", + ">>" + ], + "path": "src/plugins/data/common/search/aggs/types.ts", + "deprecated": false }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.d.ts" + "parentPluginId": "data", + "id": "def-public.AggFunctionsMapping.aggBucketMin", + "type": "Object", + "tags": [], + "label": "aggBucketMin", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"aggBucketMin\", any, Pick, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\"> & Pick<{ customBucket?: ", + "AggExpressionType", + " | undefined; customMetric?: ", + "AggExpressionType", + " | undefined; }, \"customMetric\" | \"customBucket\"> & Pick<{ customBucket?: ", + "AggExpressionType", + " | undefined; customMetric?: ", + "AggExpressionType", + " | undefined; }, never>, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"customMetric\" | \"customBucket\">, ", + "AggExpressionType", + ", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + "SerializableRecord", + ">>" + ], + "path": "src/plugins/data/common/search/aggs/types.ts", + "deprecated": false }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.d.ts" + "parentPluginId": "data", + "id": "def-public.AggFunctionsMapping.aggBucketSum", + "type": "Object", + "tags": [], + "label": "aggBucketSum", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"aggBucketSum\", any, Pick, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\"> & Pick<{ customBucket?: ", + "AggExpressionType", + " | undefined; customMetric?: ", + "AggExpressionType", + " | undefined; }, \"customMetric\" | \"customBucket\"> & Pick<{ customBucket?: ", + "AggExpressionType", + " | undefined; customMetric?: ", + "AggExpressionType", + " | undefined; }, never>, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"customMetric\" | \"customBucket\">, ", + "AggExpressionType", + ", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + "SerializableRecord", + ">>" + ], + "path": "src/plugins/data/common/search/aggs/types.ts", + "deprecated": false }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/features_tooltip.d.ts" + "parentPluginId": "data", + "id": "def-public.AggFunctionsMapping.aggFilteredMetric", + "type": "Object", + "tags": [], + "label": "aggFilteredMetric", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"aggFilteredMetric\", any, Pick, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\"> & Pick<{ customBucket?: ", + "AggExpressionType", + " | undefined; customMetric?: ", + "AggExpressionType", + " | undefined; }, \"customMetric\" | \"customBucket\"> & Pick<{ customBucket?: ", + "AggExpressionType", + " | undefined; customMetric?: ", + "AggExpressionType", + " | undefined; }, never>, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"customMetric\" | \"customBucket\">, ", + "AggExpressionType", + ", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + "SerializableRecord", + ">>" + ], + "path": "src/plugins/data/common/search/aggs/types.ts", + "deprecated": false }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/features_tooltip.d.ts" + "parentPluginId": "data", + "id": "def-public.AggFunctionsMapping.aggCardinality", + "type": "Object", + "tags": [], + "label": "aggCardinality", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"aggCardinality\", any, ", + "AggExpressionFunctionArgs", + "<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.METRIC_TYPES", + "text": "METRIC_TYPES" + }, + ".CARDINALITY>, ", + "AggExpressionType", + ", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + "SerializableRecord", + ">>" + ], + "path": "src/plugins/data/common/search/aggs/types.ts", + "deprecated": false }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/url_generator.test.ts" + "parentPluginId": "data", + "id": "def-public.AggFunctionsMapping.aggCount", + "type": "Object", + "tags": [], + "label": "aggCount", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"aggCount\", any, ", + "AggExpressionFunctionArgs", + "<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.METRIC_TYPES", + "text": "METRIC_TYPES" + }, + ".COUNT>, ", + "AggExpressionType", + ", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + "SerializableRecord", + ">>" + ], + "path": "src/plugins/data/common/search/aggs/types.ts", + "deprecated": false }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/url_generator.test.ts" + "parentPluginId": "data", + "id": "def-public.AggFunctionsMapping.aggCumulativeSum", + "type": "Object", + "tags": [], + "label": "aggCumulativeSum", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"aggCumulativeSum\", any, Pick, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"buckets_path\" | \"metricAgg\"> & Pick<{ customMetric?: ", + "AggExpressionType", + " | undefined; }, \"customMetric\"> & Pick<{ customMetric?: ", + "AggExpressionType", + " | undefined; }, never>, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"customMetric\" | \"buckets_path\" | \"metricAgg\">, ", + "AggExpressionType", + ", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + "SerializableRecord", + ">>" + ], + "path": "src/plugins/data/common/search/aggs/types.ts", + "deprecated": false }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" - }, - { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + "parentPluginId": "data", + "id": "def-public.AggFunctionsMapping.aggDerivative", + "type": "Object", + "tags": [], + "label": "aggDerivative", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"aggDerivative\", any, Pick, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"buckets_path\" | \"metricAgg\"> & Pick<{ customMetric?: ", + "AggExpressionType", + " | undefined; }, \"customMetric\"> & Pick<{ customMetric?: ", + "AggExpressionType", + " | undefined; }, never>, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"customMetric\" | \"buckets_path\" | \"metricAgg\">, ", + "AggExpressionType", + ", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + "SerializableRecord", + ">>" + ], + "path": "src/plugins/data/common/search/aggs/types.ts", + "deprecated": false }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + "parentPluginId": "data", + "id": "def-public.AggFunctionsMapping.aggGeoBounds", + "type": "Object", + "tags": [], + "label": "aggGeoBounds", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"aggGeoBounds\", any, ", + "AggExpressionFunctionArgs", + "<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.METRIC_TYPES", + "text": "METRIC_TYPES" + }, + ".GEO_BOUNDS>, ", + "AggExpressionType", + ", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + "SerializableRecord", + ">>" + ], + "path": "src/plugins/data/common/search/aggs/types.ts", + "deprecated": false }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/control.ts" + "parentPluginId": "data", + "id": "def-public.AggFunctionsMapping.aggGeoCentroid", + "type": "Object", + "tags": [], + "label": "aggGeoCentroid", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"aggGeoCentroid\", any, ", + "AggExpressionFunctionArgs", + "<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.METRIC_TYPES", + "text": "METRIC_TYPES" + }, + ".GEO_CENTROID>, ", + "AggExpressionType", + ", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + "SerializableRecord", + ">>" + ], + "path": "src/plugins/data/common/search/aggs/types.ts", + "deprecated": false }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/control.ts" + "parentPluginId": "data", + "id": "def-public.AggFunctionsMapping.aggMax", + "type": "Object", + "tags": [], + "label": "aggMax", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"aggMax\", any, ", + "AggExpressionFunctionArgs", + "<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.METRIC_TYPES", + "text": "METRIC_TYPES" + }, + ".MAX>, ", + "AggExpressionType", + ", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + "SerializableRecord", + ">>" + ], + "path": "src/plugins/data/common/search/aggs/types.ts", + "deprecated": false }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/vis_controller.tsx" + "parentPluginId": "data", + "id": "def-public.AggFunctionsMapping.aggMedian", + "type": "Object", + "tags": [], + "label": "aggMedian", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"aggMedian\", any, ", + "AggExpressionFunctionArgs", + "<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.METRIC_TYPES", + "text": "METRIC_TYPES" + }, + ".MEDIAN>, ", + "AggExpressionType", + ", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + "SerializableRecord", + ">>" + ], + "path": "src/plugins/data/common/search/aggs/types.ts", + "deprecated": false }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/vis_controller.tsx" + "parentPluginId": "data", + "id": "def-public.AggFunctionsMapping.aggSinglePercentile", + "type": "Object", + "tags": [], + "label": "aggSinglePercentile", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"aggSinglePercentile\", any, ", + "AggExpressionFunctionArgs", + "<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.METRIC_TYPES", + "text": "METRIC_TYPES" + }, + ".SINGLE_PERCENTILE>, ", + "AggExpressionType", + ", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + "SerializableRecord", + ">>" + ], + "path": "src/plugins/data/common/search/aggs/types.ts", + "deprecated": false }, { - "plugin": "visTypeTimelion", - "path": "src/plugins/vis_type_timelion/public/helpers/timelion_request_handler.ts" + "parentPluginId": "data", + "id": "def-public.AggFunctionsMapping.aggMin", + "type": "Object", + "tags": [], + "label": "aggMin", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"aggMin\", any, ", + "AggExpressionFunctionArgs", + "<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.METRIC_TYPES", + "text": "METRIC_TYPES" + }, + ".MIN>, ", + "AggExpressionType", + ", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + "SerializableRecord", + ">>" + ], + "path": "src/plugins/data/common/search/aggs/types.ts", + "deprecated": false }, { - "plugin": "visTypeTimelion", - "path": "src/plugins/vis_type_timelion/public/helpers/timelion_request_handler.ts" + "parentPluginId": "data", + "id": "def-public.AggFunctionsMapping.aggMovingAvg", + "type": "Object", + "tags": [], + "label": "aggMovingAvg", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"aggMovingAvg\", any, Pick, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"buckets_path\" | \"metricAgg\" | \"window\" | \"script\"> & Pick<{ customMetric?: ", + "AggExpressionType", + " | undefined; }, \"customMetric\"> & Pick<{ customMetric?: ", + "AggExpressionType", + " | undefined; }, never>, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"customMetric\" | \"buckets_path\" | \"metricAgg\" | \"window\" | \"script\">, ", + "AggExpressionType", + ", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + "SerializableRecord", + ">>" + ], + "path": "src/plugins/data/common/search/aggs/types.ts", + "deprecated": false }, { - "plugin": "visualize", - "path": "src/plugins/visualize/public/application/types.ts" + "parentPluginId": "data", + "id": "def-public.AggFunctionsMapping.aggPercentileRanks", + "type": "Object", + "tags": [], + "label": "aggPercentileRanks", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"aggPercentileRanks\", any, ", + "AggExpressionFunctionArgs", + "<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.METRIC_TYPES", + "text": "METRIC_TYPES" + }, + ".PERCENTILE_RANKS>, ", + "AggExpressionType", + ", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + "SerializableRecord", + ">>" + ], + "path": "src/plugins/data/common/search/aggs/types.ts", + "deprecated": false }, { - "plugin": "visualize", - "path": "src/plugins/visualize/public/application/types.ts" + "parentPluginId": "data", + "id": "def-public.AggFunctionsMapping.aggPercentiles", + "type": "Object", + "tags": [], + "label": "aggPercentiles", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"aggPercentiles\", any, ", + "AggExpressionFunctionArgs", + "<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.METRIC_TYPES", + "text": "METRIC_TYPES" + }, + ".PERCENTILES>, ", + "AggExpressionType", + ", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + "SerializableRecord", + ">>" + ], + "path": "src/plugins/data/common/search/aggs/types.ts", + "deprecated": false }, { - "plugin": "visualize", - "path": "src/plugins/visualize/public/application/types.ts" - }, - { - "plugin": "visualize", - "path": "src/plugins/visualize/public/application/types.ts" - }, - { - "plugin": "visualize", - "path": "src/plugins/visualize/public/application/utils/utils.ts" - }, - { - "plugin": "visualize", - "path": "src/plugins/visualize/public/application/utils/utils.ts" - }, - { - "plugin": "visualize", - "path": "src/plugins/visualize/public/application/utils/use/use_linked_search_updates.ts" - }, - { - "plugin": "visualize", - "path": "src/plugins/visualize/public/application/utils/use/use_linked_search_updates.ts" - }, - { - "plugin": "visTypeTimelion", - "path": "src/plugins/vis_type_timelion/public/timelion_vis_fn.ts" - }, - { - "plugin": "visTypeTimelion", - "path": "src/plugins/vis_type_timelion/public/timelion_vis_fn.ts" - }, - { - "plugin": "visTypeVega", - "path": "src/plugins/vis_types/vega/public/vega_request_handler.ts" - }, - { - "plugin": "visTypeVega", - "path": "src/plugins/vis_types/vega/public/vega_request_handler.ts" + "parentPluginId": "data", + "id": "def-public.AggFunctionsMapping.aggSerialDiff", + "type": "Object", + "tags": [], + "label": "aggSerialDiff", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"aggSerialDiff\", any, Pick, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"buckets_path\" | \"metricAgg\"> & Pick<{ customMetric?: ", + "AggExpressionType", + " | undefined; }, \"customMetric\"> & Pick<{ customMetric?: ", + "AggExpressionType", + " | undefined; }, never>, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"customMetric\" | \"buckets_path\" | \"metricAgg\">, ", + "AggExpressionType", + ", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + "SerializableRecord", + ">>" + ], + "path": "src/plugins/data/common/search/aggs/types.ts", + "deprecated": false }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/saved_objects/move_filters_to_query.test.ts" + "parentPluginId": "data", + "id": "def-public.AggFunctionsMapping.aggStdDeviation", + "type": "Object", + "tags": [], + "label": "aggStdDeviation", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"aggStdDeviation\", any, ", + "AggExpressionFunctionArgs", + "<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.METRIC_TYPES", + "text": "METRIC_TYPES" + }, + ".STD_DEV>, ", + "AggExpressionType", + ", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + "SerializableRecord", + ">>" + ], + "path": "src/plugins/data/common/search/aggs/types.ts", + "deprecated": false }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/saved_objects/move_filters_to_query.test.ts" + "parentPluginId": "data", + "id": "def-public.AggFunctionsMapping.aggSum", + "type": "Object", + "tags": [], + "label": "aggSum", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"aggSum\", any, ", + "AggExpressionFunctionArgs", + "<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.METRIC_TYPES", + "text": "METRIC_TYPES" + }, + ".SUM>, ", + "AggExpressionType", + ", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + "SerializableRecord", + ">>" + ], + "path": "src/plugins/data/common/search/aggs/types.ts", + "deprecated": false }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context_state.test.ts" - }, + "parentPluginId": "data", + "id": "def-public.AggFunctionsMapping.aggTopHit", + "type": "Object", + "tags": [], + "label": "aggTopHit", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"aggTopHit\", any, ", + "AggExpressionFunctionArgs", + "<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.METRIC_TYPES", + "text": "METRIC_TYPES" + }, + ".TOP_HITS>, ", + "AggExpressionType", + ", ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + "SerializableRecord", + ">>" + ], + "path": "src/plugins/data/common/search/aggs/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.AggParamOption", + "type": "Interface", + "tags": [], + "label": "AggParamOption", + "description": [], + "path": "src/plugins/data/common/search/aggs/agg_params.ts", + "deprecated": false, + "children": [ { - "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context_state.test.ts" + "parentPluginId": "data", + "id": "def-public.AggParamOption.val", + "type": "string", + "tags": [], + "label": "val", + "description": [], + "path": "src/plugins/data/common/search/aggs/agg_params.ts", + "deprecated": false }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context_state.test.ts" + "parentPluginId": "data", + "id": "def-public.AggParamOption.display", + "type": "string", + "tags": [], + "label": "display", + "description": [], + "path": "src/plugins/data/common/search/aggs/agg_params.ts", + "deprecated": false }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" - }, + "parentPluginId": "data", + "id": "def-public.AggParamOption.enabled", + "type": "Function", + "tags": [], + "label": "enabled", + "description": [], + "signature": [ + "((agg: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.AggConfig", + "text": "AggConfig" + }, + ") => boolean) | undefined" + ], + "path": "src/plugins/data/common/search/aggs/agg_params.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-public.AggParamOption.enabled.$1", + "type": "Object", + "tags": [], + "label": "agg", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.AggConfig", + "text": "AggConfig" + } + ], + "path": "src/plugins/data/common/search/aggs/agg_params.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.ApplyGlobalFilterActionContext", + "type": "Interface", + "tags": [], + "label": "ApplyGlobalFilterActionContext", + "description": [], + "path": "src/plugins/data/public/actions/apply_filter_action.ts", + "deprecated": false, + "children": [ { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" + "parentPluginId": "data", + "id": "def-public.ApplyGlobalFilterActionContext.filters", + "type": "Array", + "tags": [], + "label": "filters", + "description": [], + "signature": [ + "Filter", + "[]" + ], + "path": "src/plugins/data/public/actions/apply_filter_action.ts", + "deprecated": false }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" + "parentPluginId": "data", + "id": "def-public.ApplyGlobalFilterActionContext.timeFieldName", + "type": "string", + "tags": [], + "label": "timeFieldName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data/public/actions/apply_filter_action.ts", + "deprecated": false }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" + "parentPluginId": "data", + "id": "def-public.ApplyGlobalFilterActionContext.embeddable", + "type": "Unknown", + "tags": [], + "label": "embeddable", + "description": [], + "signature": [ + "unknown" + ], + "path": "src/plugins/data/public/actions/apply_filter_action.ts", + "deprecated": false }, { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" - }, + "parentPluginId": "data", + "id": "def-public.ApplyGlobalFilterActionContext.controlledBy", + "type": "string", + "tags": [], + "label": "controlledBy", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data/public/actions/apply_filter_action.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.DataPublicPluginStartActions", + "type": "Interface", + "tags": [], + "label": "DataPublicPluginStartActions", + "description": [ + "\nutilities to generate filters from action context" + ], + "path": "src/plugins/data/public/types.ts", + "deprecated": false, + "children": [ { - "plugin": "inputControlVis", - "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" + "parentPluginId": "data", + "id": "def-public.DataPublicPluginStartActions.createFiltersFromValueClickAction", + "type": "Function", + "tags": [], + "label": "createFiltersFromValueClickAction", + "description": [], + "signature": [ + "({ data, negate, }: ", + "ValueClickDataContext", + ") => Promise<", + "Filter", + "[]>" + ], + "path": "src/plugins/data/public/types.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.DataPublicPluginStartActions.createFiltersFromValueClickAction.$1", + "type": "Object", + "tags": [], + "label": "__0", + "description": [], + "signature": [ + "ValueClickDataContext" + ], + "path": "src/plugins/data/public/actions/filters/create_filters_from_value_click.ts", + "deprecated": false + } + ] }, { - "plugin": "visualize", - "path": "src/plugins/visualize/target/types/public/application/types.d.ts" - }, + "parentPluginId": "data", + "id": "def-public.DataPublicPluginStartActions.createFiltersFromRangeSelectAction", + "type": "Function", + "tags": [], + "label": "createFiltersFromRangeSelectAction", + "description": [], + "signature": [ + "(event: ", + "RangeSelectDataContext", + ") => Promise<", + "Filter", + "[]>" + ], + "path": "src/plugins/data/public/types.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.DataPublicPluginStartActions.createFiltersFromRangeSelectAction.$1", + "type": "Object", + "tags": [], + "label": "event", + "description": [], + "signature": [ + "RangeSelectDataContext" + ], + "path": "src/plugins/data/public/actions/filters/create_filters_from_range_select.ts", + "deprecated": false + } + ] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.DataPublicPluginStartUi", + "type": "Interface", + "tags": [], + "label": "DataPublicPluginStartUi", + "description": [ + "\nData plugin prewired UI components" + ], + "path": "src/plugins/data/public/types.ts", + "deprecated": false, + "children": [ { - "plugin": "visualize", - "path": "src/plugins/visualize/target/types/public/application/types.d.ts" + "parentPluginId": "data", + "id": "def-public.DataPublicPluginStartUi.IndexPatternSelect", + "type": "CompoundType", + "tags": [], + "label": "IndexPatternSelect", + "description": [], + "signature": [ + "React.ComponentClass<", + { + "pluginId": "data", + "scope": "public", + "docId": "kibDataUiPluginApi", + "section": "def-public.IndexPatternSelectProps", + "text": "IndexPatternSelectProps" + }, + ", any> | React.FunctionComponent<", + { + "pluginId": "data", + "scope": "public", + "docId": "kibDataUiPluginApi", + "section": "def-public.IndexPatternSelectProps", + "text": "IndexPatternSelectProps" + }, + ">" + ], + "path": "src/plugins/data/public/types.ts", + "deprecated": false }, { - "plugin": "visualize", - "path": "src/plugins/visualize/target/types/public/application/types.d.ts" - }, + "parentPluginId": "data", + "id": "def-public.DataPublicPluginStartUi.SearchBar", + "type": "CompoundType", + "tags": [], + "label": "SearchBar", + "description": [], + "signature": [ + "React.ComponentClass<", + { + "pluginId": "data", + "scope": "public", + "docId": "kibDataUiPluginApi", + "section": "def-public.StatefulSearchBarProps", + "text": "StatefulSearchBarProps" + }, + ", any> | React.FunctionComponent<", + { + "pluginId": "data", + "scope": "public", + "docId": "kibDataUiPluginApi", + "section": "def-public.StatefulSearchBarProps", + "text": "StatefulSearchBarProps" + }, + ">" + ], + "path": "src/plugins/data/public/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.GetFieldsOptions", + "type": "Interface", + "tags": [], + "label": "GetFieldsOptions", + "description": [], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "children": [ { - "plugin": "visualize", - "path": "src/plugins/visualize/target/types/public/application/types.d.ts" + "parentPluginId": "data", + "id": "def-public.GetFieldsOptions.pattern", + "type": "string", + "tags": [], + "label": "pattern", + "description": [], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false }, { - "plugin": "presentationUtil", - "path": "src/plugins/presentation_util/public/components/input_controls/embeddable/types.ts" + "parentPluginId": "data", + "id": "def-public.GetFieldsOptions.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false }, { - "plugin": "presentationUtil", - "path": "src/plugins/presentation_util/public/components/input_controls/embeddable/types.ts" + "parentPluginId": "data", + "id": "def-public.GetFieldsOptions.lookBack", + "type": "CompoundType", + "tags": [], + "label": "lookBack", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false }, { - "plugin": "presentationUtil", - "path": "src/plugins/presentation_util/public/components/input_controls/embeddable/types.ts" + "parentPluginId": "data", + "id": "def-public.GetFieldsOptions.metaFields", + "type": "Array", + "tags": [], + "label": "metaFields", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/angular/context/api/context.d.ts" + "parentPluginId": "data", + "id": "def-public.GetFieldsOptions.rollupIndex", + "type": "string", + "tags": [], + "label": "rollupIndex", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false }, { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/angular/context/api/context.d.ts" - }, + "parentPluginId": "data", + "id": "def-public.GetFieldsOptions.allowNoIndex", + "type": "CompoundType", + "tags": [], + "label": "allowNoIndex", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.IDataPluginServices", + "type": "Interface", + "tags": [], + "label": "IDataPluginServices", + "description": [], + "signature": [ { - "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/angular/context/api/context.d.ts" + "pluginId": "data", + "scope": "public", + "docId": "kibDataPluginApi", + "section": "def-public.IDataPluginServices", + "text": "IDataPluginServices" }, + " extends Partial<", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/server/lib/detection_engine/types.ts" + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.CoreStart", + "text": "CoreStart" }, + ">" + ], + "path": "src/plugins/data/public/types.ts", + "deprecated": false, + "children": [ { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/server/lib/detection_engine/types.ts" + "parentPluginId": "data", + "id": "def-public.IDataPluginServices.appName", + "type": "string", + "tags": [], + "label": "appName", + "description": [], + "path": "src/plugins/data/public/types.ts", + "deprecated": false }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + "parentPluginId": "data", + "id": "def-public.IDataPluginServices.uiSettings", + "type": "Object", + "tags": [], + "label": "uiSettings", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.IUiSettingsClient", + "text": "IUiSettingsClient" + } + ], + "path": "src/plugins/data/public/types.ts", + "deprecated": false }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + "parentPluginId": "data", + "id": "def-public.IDataPluginServices.savedObjects", + "type": "Object", + "tags": [], + "label": "savedObjects", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "public", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-public.SavedObjectsStart", + "text": "SavedObjectsStart" + } + ], + "path": "src/plugins/data/public/types.ts", + "deprecated": false }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/descriptor_types/data_request_descriptor_types.ts" + "parentPluginId": "data", + "id": "def-public.IDataPluginServices.notifications", + "type": "Object", + "tags": [], + "label": "notifications", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "public", + "docId": "kibCorePluginApi", + "section": "def-public.NotificationsStart", + "text": "NotificationsStart" + } + ], + "path": "src/plugins/data/public/types.ts", + "deprecated": false }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/descriptor_types/data_request_descriptor_types.ts" + "parentPluginId": "data", + "id": "def-public.IDataPluginServices.http", + "type": "Object", + "tags": [], + "label": "http", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "public", + "docId": "kibCoreHttpPluginApi", + "section": "def-public.HttpSetup", + "text": "HttpSetup" + } + ], + "path": "src/plugins/data/public/types.ts", + "deprecated": false }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/types.ts" + "parentPluginId": "data", + "id": "def-public.IDataPluginServices.storage", + "type": "Object", + "tags": [], + "label": "storage", + "description": [], + "signature": [ + { + "pluginId": "kibanaUtils", + "scope": "public", + "docId": "kibKibanaUtilsPluginApi", + "section": "def-public.IStorageWrapper", + "text": "IStorageWrapper" + }, + "" + ], + "path": "src/plugins/data/public/types.ts", + "deprecated": false }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/types.ts" + "parentPluginId": "data", + "id": "def-public.IDataPluginServices.data", + "type": "Object", + "tags": [], + "label": "data", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "public", + "docId": "kibDataPluginApi", + "section": "def-public.DataPublicPluginStart", + "text": "DataPublicPluginStart" + } + ], + "path": "src/plugins/data/public/types.ts", + "deprecated": false }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/embeddable/types.ts" - }, + "parentPluginId": "data", + "id": "def-public.IDataPluginServices.usageCollection", + "type": "Object", + "tags": [], + "label": "usageCollection", + "description": [], + "signature": [ + { + "pluginId": "usageCollection", + "scope": "public", + "docId": "kibUsageCollectionPluginApi", + "section": "def-public.UsageCollectionStart", + "text": "UsageCollectionStart" + }, + " | undefined" + ], + "path": "src/plugins/data/public/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.IEsSearchRequest", + "type": "Interface", + "tags": [], + "label": "IEsSearchRequest", + "description": [], + "signature": [ { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/embeddable/types.ts" + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.IEsSearchRequest", + "text": "IEsSearchRequest" }, + " extends ", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_fn.ts" + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.IKibanaSearchRequest", + "text": "IKibanaSearchRequest" }, + "<", { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_fn.ts" + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.ISearchRequestParams", + "text": "ISearchRequestParams" }, + ">" + ], + "path": "src/plugins/data/common/search/strategies/es_search/types.ts", + "deprecated": false, + "children": [ { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/embeddable/map_component.tsx" - }, + "parentPluginId": "data", + "id": "def-public.IEsSearchRequest.indexType", + "type": "string", + "tags": [], + "label": "indexType", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data/common/search/strategies/es_search/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.IFieldType", + "type": "Interface", + "tags": [ + "deprecated" + ], + "label": "IFieldType", + "description": [], + "signature": [ { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/embeddable/map_component.tsx" + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" }, + " extends ", + "DataViewFieldBase" + ], + "path": "src/plugins/data/common/index_patterns/fields/types.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_visualization.tsx" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_visualization.tsx" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_fn.ts" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_fn.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_visualization.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_visualization.tsx" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/ui_actions/apply_influencer_filters_action.tsx" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/ui_actions/apply_influencer_filters_action.tsx" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/ui_actions/apply_entity_filters_action.tsx" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/ui_actions/apply_entity_filters_action.tsx" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx" }, { "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts" + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx" }, { "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts" + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx" }, { "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts" + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_type_timeseries/common/types/index.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_type_timeseries/common/types/index.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/types.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/inventory/components/expression.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/types.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/inventory/components/expression.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/types.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/common/group_by_expression/selector.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/ueba/pages/navigation/types.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/common/group_by_expression/selector.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/ueba/pages/navigation/types.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/common/group_by_expression/group_by_expression.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/server/lib/detection_engine/signals/threshold/get_threshold_bucket_filters.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/common/group_by_expression/group_by_expression.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/server/lib/detection_engine/signals/threshold/get_threshold_bucket_filters.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/server/lib/detection_engine/signals/threshold/get_threshold_bucket_filters.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/server/lib/detection_engine/signals/threat_mapping/build_threat_mapping_filter.mock.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/server/lib/detection_engine/signals/threat_mapping/build_threat_mapping_filter.mock.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/server/lib/detection_engine/signals/threat_mapping/build_threat_mapping_filter.mock.d.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/server/lib/detection_engine/signals/threat_mapping/build_threat_mapping_filter.mock.d.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/server/lib/detection_engine/signals/threshold/get_threshold_bucket_filters.d.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criteria.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/server/lib/detection_engine/signals/threshold/get_threshold_bucket_filters.d.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criteria.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_preview/helpers.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/group_by.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_preview/helpers.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/group_by.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_preview/reducer.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_row.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_preview/reducer.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_row.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/metrics.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/metrics.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/pages/navigation/alerts_query_tab_body.tsx" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/pages/navigation/alerts_query_tab_body.tsx" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/details/helpers.test.ts" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/details/helpers.test.ts" - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.IAggConfig", - "type": "Type", - "tags": [ - "name", - "description" - ], - "label": "IAggConfig", - "description": [], - "signature": [ + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.AggConfig", - "text": "AggConfig" - } - ], - "path": "src/plugins/data/common/search/aggs/agg_config.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.IAggType", - "type": "Type", - "tags": [], - "label": "IAggType", - "description": [], - "signature": [ + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.AggType", - "text": "AggType" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" }, - "<", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.AggConfig", - "text": "AggConfig" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.ts" }, - ", ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.AggParamType", - "text": "AggParamType" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.ts" }, - "<", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.AggConfig", - "text": "AggConfig" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" }, - ">>" - ], - "path": "src/plugins/data/common/search/aggs/agg_type.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.IEsSearchResponse", - "type": "Type", - "tags": [], - "label": "IEsSearchResponse", - "description": [], - "signature": [ { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.IKibanaSearchResponse", - "text": "IKibanaSearchResponse" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" }, - "<", - "SearchResponse", - ">" - ], - "path": "src/plugins/data/common/search/strategies/es_search/types.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.IFieldParamType", - "type": "Type", - "tags": [], - "label": "IFieldParamType", - "description": [], - "signature": [ { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.FieldParamType", - "text": "FieldParamType" - } - ], - "path": "src/plugins/data/common/search/aggs/param_types/field.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.IFieldSubType", - "type": "Type", - "tags": [ - "deprecated" - ], - "label": "IFieldSubType", - "description": [], - "signature": [ - "IFieldSubType" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" + }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/common/types/timeline/columns/index.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/common/types/timeline/columns/index.tsx" - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.IMetricAggType", - "type": "Type", - "tags": [], - "label": "IMetricAggType", - "description": [], - "signature": [ + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" + }, { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.MetricAggType", - "text": "MetricAggType" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/group_by_expression.d.ts" }, - "<", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.IMetricAggConfig", - "text": "IMetricAggConfig" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/group_by_expression.d.ts" }, - ">" - ], - "path": "src/plugins/data/common/search/aggs/metrics/metric_agg_type.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.INDEX_PATTERN_SAVED_OBJECT_TYPE", - "type": "string", - "tags": [], - "label": "INDEX_PATTERN_SAVED_OBJECT_TYPE", - "description": [], - "signature": [ - "\"index-pattern\"" - ], - "path": "src/plugins/data/common/constants.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.IndexPatternLoadExpressionFunctionDefinition", - "type": "Type", - "tags": [], - "label": "IndexPatternLoadExpressionFunctionDefinition", - "description": [], - "signature": [ { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/selector.d.ts" }, - "<\"indexPatternLoad\", null, Arguments, Output, ", { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/selector.d.ts" }, - "<", { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/inventory/components/expression.d.ts" }, - ", ", - "SerializableRecord", - ">>" - ], - "path": "src/plugins/data/common/index_patterns/expressions/load_index_pattern.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.IndexPatternsContract", - "type": "Type", - "tags": [], - "label": "IndexPatternsContract", - "description": [], - "signature": [ - "{ get: (id: string) => Promise<", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/inventory/components/expression.d.ts" }, - ">; delete: (indexPatternId: string) => Promise<{}>; create: (spec: ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/inventory/components/metric.d.ts" }, - ", skipFetchFields?: boolean) => Promise<", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/inventory/components/metric.d.ts" }, - ">; find: (search: string, size?: number) => Promise<", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_row.d.ts" }, - "[]>; ensureDefaultIndexPattern: ", - "EnsureDefaultIndexPattern", - "; getIds: (refresh?: boolean) => Promise; getTitles: (refresh?: boolean) => Promise; getIdsWithTitle: (refresh?: boolean) => Promise<", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternListItem", - "text": "IndexPatternListItem" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_row.d.ts" }, - "[]>; clearCache: (id?: string | undefined) => void; getCache: () => Promise<", - "SavedObject", - ">[] | null | undefined>; getDefault: () => Promise<", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/log_threshold/components/expression_editor/criteria.d.ts" }, - " | null>; getDefaultId: () => Promise; setDefault: (id: string | null, force?: boolean) => Promise; hasUserIndexPattern: () => Promise; getFieldsForWildcard: (options: ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/log_threshold/components/expression_editor/criterion.d.ts" }, - ") => Promise; getFieldsForIndexPattern: (indexPattern: ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/log_threshold/components/expression_editor/criterion.d.ts" }, - " | ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/group_by.d.ts" }, - ", options?: ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/group_by.d.ts" }, - " | undefined) => Promise; refreshFields: (indexPattern: ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/metrics.d.ts" }, - ") => Promise; fieldArrayToMap: (fields: ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/metrics.d.ts" }, - "[], fieldAttrs?: ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldAttrs", - "text": "FieldAttrs" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts" }, - " | undefined) => Record; savedObjectToSpec: (savedObject: ", - "SavedObject", - "<", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternAttributes", - "text": "IndexPatternAttributes" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.d.ts" }, - ">) => ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.d.ts" }, - "; createAndSave: (spec: ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.d.ts" }, - ", override?: boolean, skipFetchFields?: boolean) => Promise<", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.d.ts" }, - ">; createSavedObject: (indexPattern: ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.d.ts" }, - ", override?: boolean) => Promise<", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.d.ts" }, - ">; updateSavedObject: (indexPattern: ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/metric_control/index.d.ts" }, - ", saveAttempts?: number, ignoreErrors?: boolean) => Promise; }" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.ISearchGeneric", - "type": "Type", - "tags": [], - "label": "ISearchGeneric", - "description": [], - "signature": [ - " = ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.IEsSearchRequest", - "text": "IEsSearchRequest" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" }, - ", SearchStrategyResponse extends ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.IKibanaSearchResponse", - "text": "IKibanaSearchResponse" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" }, - " = ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.IEsSearchResponse", - "text": "IEsSearchResponse" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" }, - ">(request: SearchStrategyRequest, options?: ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.ISearchOptions", - "text": "ISearchOptions" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" }, - " | undefined) => ", - "Observable", - "" - ], - "path": "src/plugins/data/common/search/types.ts", - "deprecated": false, - "returnComment": [], - "children": [ { - "parentPluginId": "data", - "id": "def-public.request", - "type": "Uncategorized", - "tags": [], - "label": "request", - "description": [], - "signature": [ - "SearchStrategyRequest" - ], - "path": "src/plugins/data/common/search/types.ts", - "deprecated": false + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" }, { - "parentPluginId": "data", - "id": "def-public.options", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.ISearchOptions", - "text": "ISearchOptions" - }, - " | undefined" - ], - "path": "src/plugins/data/common/search/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.ISearchSource", - "type": "Type", - "tags": [], - "label": "ISearchSource", - "description": [ - "\nsearch source interface" - ], - "signature": [ - "{ create: () => ", + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSource", - "text": "SearchSource" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" }, - "; history: Record[]; setPreferredSearchStrategyId: (searchStrategyId: string) => void; setField: (field: K, value: ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSourceFields", - "text": "SearchSourceFields" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" }, - "[K]) => ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSource", - "text": "SearchSource" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" }, - "; removeField: (field: K) => ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSource", - "text": "SearchSource" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" }, - "; setFields: (newFields: ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSourceFields", - "text": "SearchSourceFields" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" }, - ") => ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSource", - "text": "SearchSource" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" }, - "; getId: () => string; getFields: () => ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSourceFields", - "text": "SearchSourceFields" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" }, - "; getField: (field: K, recurse?: boolean) => ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSourceFields", - "text": "SearchSourceFields" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" }, - "[K]; getOwnField: (field: K) => ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSourceFields", - "text": "SearchSourceFields" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" }, - "[K]; createCopy: () => ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSource", - "text": "SearchSource" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" }, - "; createChild: (options?: {}) => ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSource", - "text": "SearchSource" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" }, - "; setParent: (parent?: Pick<", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSource", - "text": "SearchSource" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" }, - ", \"create\" | \"history\" | \"setPreferredSearchStrategyId\" | \"setField\" | \"removeField\" | \"setFields\" | \"getId\" | \"getFields\" | \"getField\" | \"getOwnField\" | \"createCopy\" | \"createChild\" | \"setParent\" | \"getParent\" | \"fetch$\" | \"fetch\" | \"onRequestStart\" | \"getSearchRequestBody\" | \"destroy\" | \"getSerializedFields\" | \"serialize\"> | undefined, options?: ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSourceOptions", - "text": "SearchSourceOptions" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" }, - ") => ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSource", - "text": "SearchSource" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + } + ], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.IFieldType.count", + "type": "number", + "tags": [], + "label": "count", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "src/plugins/data/common/index_patterns/fields/types.ts", + "deprecated": false }, - "; getParent: () => ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSource", - "text": "SearchSource" + "parentPluginId": "data", + "id": "def-public.IFieldType.esTypes", + "type": "Array", + "tags": [], + "label": "esTypes", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/data/common/index_patterns/fields/types.ts", + "deprecated": false }, - " | undefined; fetch$: (options?: ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.ISearchOptions", - "text": "ISearchOptions" + "parentPluginId": "data", + "id": "def-public.IFieldType.aggregatable", + "type": "CompoundType", + "tags": [], + "label": "aggregatable", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data/common/index_patterns/fields/types.ts", + "deprecated": false }, - ") => ", - "Observable", - "<", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.IKibanaSearchResponse", - "text": "IKibanaSearchResponse" + "parentPluginId": "data", + "id": "def-public.IFieldType.filterable", + "type": "CompoundType", + "tags": [], + "label": "filterable", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data/common/index_patterns/fields/types.ts", + "deprecated": false }, - "<", - "SearchResponse", - ">>; fetch: (options?: ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.ISearchOptions", - "text": "ISearchOptions" + "parentPluginId": "data", + "id": "def-public.IFieldType.searchable", + "type": "CompoundType", + "tags": [], + "label": "searchable", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data/common/index_patterns/fields/types.ts", + "deprecated": false }, - ") => Promise<", - "SearchResponse", - ">; onRequestStart: (handler: (searchSource: ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSource", - "text": "SearchSource" + "parentPluginId": "data", + "id": "def-public.IFieldType.sortable", + "type": "CompoundType", + "tags": [], + "label": "sortable", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data/common/index_patterns/fields/types.ts", + "deprecated": false }, - ", options?: ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.ISearchOptions", - "text": "ISearchOptions" + "parentPluginId": "data", + "id": "def-public.IFieldType.visualizable", + "type": "CompoundType", + "tags": [], + "label": "visualizable", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data/common/index_patterns/fields/types.ts", + "deprecated": false }, - " | undefined) => Promise) => void; getSearchRequestBody: () => any; destroy: () => void; getSerializedFields: (recurse?: boolean) => ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSourceFields", - "text": "SearchSourceFields" + "parentPluginId": "data", + "id": "def-public.IFieldType.readFromDocValues", + "type": "CompoundType", + "tags": [], + "label": "readFromDocValues", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data/common/index_patterns/fields/types.ts", + "deprecated": false }, - "; serialize: () => { searchSourceJSON: string; references: ", - "SavedObjectReference", - "[]; }; }" - ], - "path": "src/plugins/data/common/search/search_source/types.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.KibanaContext", - "type": "Type", - "tags": [], - "label": "KibanaContext", - "description": [], - "signature": [ - "{ type: \"kibana_context\"; } & ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.ExecutionContextSearch", - "text": "ExecutionContextSearch" + "parentPluginId": "data", + "id": "def-public.IFieldType.displayName", + "type": "string", + "tags": [], + "label": "displayName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data/common/index_patterns/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.IFieldType.customLabel", + "type": "string", + "tags": [], + "label": "customLabel", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data/common/index_patterns/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.IFieldType.format", + "type": "Any", + "tags": [], + "label": "format", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data/common/index_patterns/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.IFieldType.toSpec", + "type": "Function", + "tags": [], + "label": "toSpec", + "description": [], + "signature": [ + "((options?: { getFormatterForField?: ((field: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined; } | undefined) => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + ") | undefined" + ], + "path": "src/plugins/data/common/index_patterns/fields/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-public.IFieldType.toSpec.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "path": "src/plugins/data/common/index_patterns/fields/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-public.IFieldType.toSpec.$1.getFormatterForField", + "type": "Function", + "tags": [], + "label": "getFormatterForField", + "description": [], + "signature": [ + "((field: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined" + ], + "path": "src/plugins/data/common/index_patterns/fields/types.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] } ], - "path": "src/plugins/data/common/search/expressions/kibana_context_type.ts", - "deprecated": false, "initialIsOpen": false }, { "parentPluginId": "data", - "id": "def-public.KueryNode", - "type": "Type", + "id": "def-public.IIndexPattern", + "type": "Interface", "tags": [ "deprecated" ], - "label": "KueryNode", + "label": "IIndexPattern", "description": [], "signature": [ - "KueryNode" + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IIndexPattern", + "text": "IIndexPattern" + }, + " extends ", + "DataViewBase" ], - "path": "src/plugins/data/common/es_query/index.ts", + "path": "src/plugins/data/common/index_patterns/types.ts", "deprecated": true, - "removeBy": "8.1", "references": [ { - "plugin": "cases", - "path": "x-pack/plugins/cases/server/common/types.ts" + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/helpers.tsx" }, { - "plugin": "cases", - "path": "x-pack/plugins/cases/server/common/types.ts" + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/helpers.tsx" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/rules_client.ts" + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/rules_client.ts" + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx" }, { - "plugin": "alerting", - "path": "x-pack/plugins/alerting/server/rules_client/rules_client.ts" + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/container/source/index.tsx" }, { - "plugin": "cases", - "path": "x-pack/plugins/cases/server/authorization/types.ts" + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/container/source/index.tsx" }, { - "plugin": "cases", - "path": "x-pack/plugins/cases/server/authorization/types.ts" + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/container/source/index.tsx" }, { - "plugin": "cases", - "path": "x-pack/plugins/cases/server/authorization/utils.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx" }, { - "plugin": "cases", - "path": "x-pack/plugins/cases/server/authorization/utils.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx" }, { - "plugin": "cases", - "path": "x-pack/plugins/cases/server/authorization/utils.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx" }, { - "plugin": "cases", - "path": "x-pack/plugins/cases/server/authorization/utils.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx" }, { - "plugin": "cases", - "path": "x-pack/plugins/cases/server/authorization/utils.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" }, { - "plugin": "cases", - "path": "x-pack/plugins/cases/server/client/utils.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" }, { - "plugin": "cases", - "path": "x-pack/plugins/cases/server/client/utils.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts" }, { - "plugin": "cases", - "path": "x-pack/plugins/cases/server/client/utils.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts" }, { - "plugin": "cases", - "path": "x-pack/plugins/cases/server/client/utils.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.d.ts" }, { - "plugin": "cases", - "path": "x-pack/plugins/cases/server/client/utils.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.d.ts" }, { - "plugin": "cases", - "path": "x-pack/plugins/cases/server/client/utils.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts" }, { - "plugin": "cases", - "path": "x-pack/plugins/cases/server/client/utils.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts" }, { - "plugin": "cases", - "path": "x-pack/plugins/cases/server/client/utils.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts" }, { - "plugin": "cases", - "path": "x-pack/plugins/cases/server/client/utils.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts" }, { - "plugin": "cases", - "path": "x-pack/plugins/cases/server/client/utils.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx" }, { - "plugin": "cases", - "path": "x-pack/plugins/cases/server/client/utils.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx" }, { - "plugin": "cases", - "path": "x-pack/plugins/cases/server/client/utils.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/utils/kuery.ts" }, { - "plugin": "cases", - "path": "x-pack/plugins/cases/server/client/utils.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/utils/kuery.ts" }, { - "plugin": "cases", - "path": "x-pack/plugins/cases/server/client/utils.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts" }, { - "plugin": "cases", - "path": "x-pack/plugins/cases/server/client/utils.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts" }, { - "plugin": "cases", - "path": "x-pack/plugins/cases/server/client/utils.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.ts" }, { - "plugin": "cases", - "path": "x-pack/plugins/cases/server/client/utils.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.ts" }, { - "plugin": "cases", - "path": "x-pack/plugins/cases/server/services/cases/index.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_chart.tsx" }, { - "plugin": "cases", - "path": "x-pack/plugins/cases/server/services/cases/index.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_chart.tsx" }, { - "plugin": "cases", - "path": "x-pack/plugins/cases/server/services/cases/index.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts" }, { - "plugin": "cases", - "path": "x-pack/plugins/cases/server/services/cases/index.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts" }, { - "plugin": "cases", - "path": "x-pack/plugins/cases/server/services/cases/index.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/with_source/with_source.tsx" }, { - "plugin": "cases", - "path": "x-pack/plugins/cases/server/services/attachments/index.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/with_source/with_source.tsx" }, { - "plugin": "cases", - "path": "x-pack/plugins/cases/server/services/attachments/index.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/toolbar.tsx" }, { - "plugin": "dataEnhanced", - "path": "x-pack/plugins/data_enhanced/server/search/session/types.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/toolbar.tsx" }, { - "plugin": "dataEnhanced", - "path": "x-pack/plugins/data_enhanced/server/search/session/types.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.ts" }, { - "plugin": "dataEnhanced", - "path": "x-pack/plugins/data_enhanced/server/search/session/get_search_session_page.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.ts" }, { - "plugin": "dataEnhanced", - "path": "x-pack/plugins/data_enhanced/server/search/session/get_search_session_page.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/index.tsx" }, { - "plugin": "dataEnhanced", - "path": "x-pack/plugins/data_enhanced/server/search/session/check_persisted_sessions.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/index.tsx" }, { - "plugin": "dataEnhanced", - "path": "x-pack/plugins/data_enhanced/server/search/session/check_persisted_sessions.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/common/search_strategy/index_fields/index.ts" }, { - "plugin": "dataEnhanced", - "path": "x-pack/plugins/data_enhanced/server/search/session/check_non_persisted_sessions.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/common/search_strategy/index_fields/index.ts" }, { - "plugin": "dataEnhanced", - "path": "x-pack/plugins/data_enhanced/server/search/session/check_non_persisted_sessions.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/types.ts" }, { - "plugin": "dataEnhanced", - "path": "x-pack/plugins/data_enhanced/server/search/session/expire_persisted_sessions.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/types.ts" }, { - "plugin": "dataEnhanced", - "path": "x-pack/plugins/data_enhanced/server/search/session/expire_persisted_sessions.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/action.ts" }, { - "plugin": "cases", - "path": "x-pack/plugins/cases/target/types/server/authorization/types.d.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/action.ts" }, { - "plugin": "cases", - "path": "x-pack/plugins/cases/target/types/server/authorization/types.d.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/containers/source/index.tsx" }, { - "plugin": "dataEnhanced", - "path": "x-pack/plugins/data_enhanced/target/types/server/search/session/types.d.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/containers/source/index.tsx" }, { - "plugin": "dataEnhanced", - "path": "x-pack/plugins/data_enhanced/target/types/server/search/session/types.d.ts" - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.MatchAllFilter", - "type": "Type", - "tags": [ - "deprecated" - ], - "label": "MatchAllFilter", - "description": [], - "signature": [ - "Filter", - " & { meta: ", - "MatchAllFilterMeta", - "; match_all: ", - "QueryDslMatchAllQuery", - "; }" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.ParsedInterval", - "type": "Type", - "tags": [], - "label": "ParsedInterval", - "description": [], - "signature": [ - "{ value: number; unit: ", - "Unit", - "; type: \"calendar\" | \"fixed\"; }" - ], - "path": "src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_es_interval.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.PhraseFilter", - "type": "Type", - "tags": [ - "deprecated" - ], - "label": "PhraseFilter", - "description": [], - "signature": [ - "Filter", - " & { meta: ", - "PhraseFilterMeta", - "; query: { match_phrase?: Record | undefined; match?: Record | undefined; }; }" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.PhrasesFilter", - "type": "Type", - "tags": [ - "deprecated" - ], - "label": "PhrasesFilter", - "description": [], - "signature": [ - "Filter", - " & { meta: ", - "PhrasesFilterMeta", - "; query: ", - "QueryDslQueryContainer", - "; }" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.Query", - "type": "Type", - "tags": [], - "label": "Query", - "description": [], - "signature": [ - "{ query: string | { [key: string]: any; }; language: string; }" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/types.d.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.RangeFilter", - "type": "Type", - "tags": [ - "deprecated" - ], - "label": "RangeFilter", - "description": [], - "signature": [ - "Filter", - " & { meta: ", - "RangeFilterMeta", - "; range: { [key: string]: ", - "RangeFilterParams", - "; }; }" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ - { - "plugin": "discoverEnhanced", - "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_chart_action.test.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/containers/source/index.tsx" }, { - "plugin": "discoverEnhanced", - "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_chart_action.test.ts" - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.RangeFilterMeta", - "type": "Type", - "tags": [ - "deprecated" - ], - "label": "RangeFilterMeta", - "description": [], - "signature": [ - "FilterMeta", - " & { params: ", - "RangeFilterParams", - "; field?: string | undefined; formattedValue?: string | undefined; }" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.RangeFilterParams", - "type": "Type", - "tags": [ - "deprecated" - ], - "label": "RangeFilterParams", - "description": [], - "signature": [ - "RangeFilterParams" - ], - "path": "src/plugins/data/common/es_query/index.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ - { - "plugin": "visTypeTimelion", - "path": "src/plugins/vis_type_timelion/public/components/timelion_vis_component.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/helpers.tsx" }, { - "plugin": "visTypeTimelion", - "path": "src/plugins/vis_type_timelion/public/components/timelion_vis_component.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/helpers.tsx" }, { - "plugin": "visTypeTimelion", - "path": "src/plugins/vis_type_timelion/public/timelion_vis_renderer.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" }, { - "plugin": "visTypeTimelion", - "path": "src/plugins/vis_type_timelion/public/timelion_vis_renderer.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" }, { - "plugin": "visTypeTimelion", - "path": "src/plugins/vis_type_timelion/public/legacy/timelion_vis_component.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" }, { - "plugin": "visTypeTimelion", - "path": "src/plugins/vis_type_timelion/public/legacy/timelion_vis_component.tsx" - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.TimeRange", - "type": "Type", - "tags": [], - "label": "TimeRange", - "description": [], - "signature": [ - "{ from: string; to: string; mode?: \"absolute\" | \"relative\" | undefined; }" - ], - "path": "src/plugins/data/common/query/timefilter/types.ts", - "deprecated": false, - "initialIsOpen": false - } - ], - "objects": [ - { - "parentPluginId": "data", - "id": "def-public.AggGroupLabels", - "type": "Object", - "tags": [], - "label": "AggGroupLabels", - "description": [], - "path": "src/plugins/data/common/search/aggs/agg_groups.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.AggGroupLabels.AggGroupNames.Buckets", - "type": "string", - "tags": [], - "label": "[AggGroupNames.Buckets]", - "description": [], - "path": "src/plugins/data/common/search/aggs/agg_groups.ts", - "deprecated": false + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/query_bar/index.tsx" }, { - "parentPluginId": "data", - "id": "def-public.AggGroupLabels.AggGroupNames.Metrics", - "type": "string", - "tags": [], - "label": "[AggGroupNames.Metrics]", - "description": [], - "path": "src/plugins/data/common/search/aggs/agg_groups.ts", - "deprecated": false + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/query_bar/index.tsx" }, { - "parentPluginId": "data", - "id": "def-public.AggGroupLabels.AggGroupNames.None", - "type": "string", - "tags": [], - "label": "[AggGroupNames.None]", - "description": [], - "path": "src/plugins/data/common/search/aggs/agg_groups.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.AggGroupNames", - "type": "Object", - "tags": [], - "label": "AggGroupNames", - "description": [], - "signature": [ - "{ readonly Buckets: \"buckets\"; readonly Metrics: \"metrics\"; readonly None: \"none\"; }" - ], - "path": "src/plugins/data/common/search/aggs/agg_groups.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.esFilters", - "type": "Object", - "tags": [ - "deprecated" - ], - "label": "esFilters", - "description": [ - "\nFilter helpers namespace:" - ], - "path": "src/plugins/data/public/deprecated.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_bar/index.tsx" + }, { - "plugin": "discover", - "path": "src/plugins/discover/public/url_generator.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_bar/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/url_generator.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/columns.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/url_generator.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/columns.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/locator.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/columns.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/locator.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/locator.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_context_url.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/helpers/get_context_url.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/top_n.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/top_n.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/pages/details/types.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/pages/details/types.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/context_app/context_app.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/components/context_app/context_app.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/types.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_layout.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/types.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_layout.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/alerts_by_category/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/plugin.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/alerts_by_category/index.tsx" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/plugin.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/event_counts/index.tsx" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/event_counts/index.tsx" }, { - "plugin": "visualizations", - "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/types.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/save_dashboard.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/types.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/save_dashboard.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/ueba/pages/details/types.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_container_input.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/ueba/pages/details/types.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_container_input.ts" + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/mock/index_pattern.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_container_input.ts" + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/mock/index_pattern.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/plugin.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/common/search_strategy/index_fields/index.d.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/plugin.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/common/search_strategy/index_fields/index.d.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/url_generator.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/containers/with_kuery_autocompletion.d.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/url_generator.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/containers/with_kuery_autocompletion.d.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/url_generator.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/containers/with_source/with_source.d.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/locator.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/containers/with_source/with_source.d.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/locator.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/index_pattern_context.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/locator.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/index_pattern_context.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/app_plugin/save_modal_container.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/containers/source/index.d.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/app_plugin/save_modal_container.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/containers/source/index.d.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/containers/source/index.d.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/columns.d.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/columns.d.ts" }, { - "plugin": "observability", - "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/columns.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_chart.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_chart.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/index.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.tsx" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/index.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/url_state/app_sync.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/hosts/pages/details/types.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/url_state/app_sync.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/hosts/pages/details/types.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/index.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/index.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/embeddable/map_embeddable.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/pages/details/types.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/embeddable/map_embeddable.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/pages/details/types.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/locators.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/ueba/pages/details/types.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/locators.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/ueba/pages/details/types.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/locators.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.d.ts" }, { - "plugin": "dashboardEnhanced", - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.d.ts" }, { - "plugin": "dashboardEnhanced", - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.d.ts" }, { - "plugin": "dashboardEnhanced", - "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.d.ts" }, { - "plugin": "discoverEnhanced", - "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_chart_action.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/jobs/new_job/common/index_pattern_context.d.ts" }, { - "plugin": "discoverEnhanced", - "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_chart_action.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/jobs/new_job/common/index_pattern_context.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/locators.test.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/jobs/new_job/common/index_pattern_context.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/locators.test.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index_header.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index_header.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/index_header/index_header.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/index_header/index_header.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/use_delete_action.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/use_delete_action.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/utils.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/utils.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_utils.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_utils.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/index.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/index.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts" + "path": "x-pack/plugins/security_solution/public/common/store/sourcerer/model.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts" + "path": "x-pack/plugins/security_solution/public/common/store/sourcerer/model.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts" + "path": "x-pack/plugins/security_solution/public/network/pages/navigation/types.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/helpers.tsx" + "path": "x-pack/plugins/security_solution/public/network/pages/navigation/types.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/helpers.tsx" + "path": "x-pack/plugins/security_solution/public/network/pages/navigation/types.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/helpers.tsx" + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/mocks.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/mocks.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/state_management/time_range_middleware.test.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/state_management/time_range_middleware.test.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/helpers.test.ts" + "path": "x-pack/plugins/security_solution/public/common/mock/index_pattern.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/helpers.test.ts" + "path": "x-pack/plugins/security_solution/public/common/mock/index_pattern.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/epic.test.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/epic.test.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/epic.test.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_query_bar/exploration_query_bar.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/all/__mocks__/mock.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_query_bar/exploration_query_bar.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/all/__mocks__/mock.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/editor.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/all/__mocks__/mock.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/editor.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/locator.test.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/custom_urls.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/locator.test.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/custom_urls.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/url_generator.test.ts" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/url_generator.test.ts" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/public/application/utils/use/use_visualize_app_state.tsx" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/public/application/utils/use/use_visualize_app_state.tsx" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/public/plugin.ts" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/public/plugin.ts" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" }, { - "plugin": "timelion", - "path": "src/plugins/timelion/public/plugin.ts" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" }, { - "plugin": "timelion", - "path": "src/plugins/timelion/public/plugin.ts" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/saved_objects/move_filters_to_query.test.ts" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/saved_objects/move_filters_to_query.test.ts" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/server/saved_objects/move_filters_to_query.test.ts" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/listing/get_dashboard_list_item_link.test.ts" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/services/es_index_service.ts" }, { - "plugin": "dashboard", - "path": "src/plugins/dashboard/public/application/listing/get_dashboard_list_item_link.test.ts" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/services/es_index_service.ts" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/public/application/utils/get_visualize_list_item_link.test.ts" + "plugin": "transform", + "path": "x-pack/plugins/transform/server/routes/api/transforms.ts" }, { - "plugin": "visualize", - "path": "src/plugins/visualize/public/application/utils/get_visualize_list_item_link.test.ts" + "plugin": "transform", + "path": "x-pack/plugins/transform/server/routes/api/transforms.ts" }, { - "plugin": "presentationUtil", - "path": "src/plugins/presentation_util/public/components/input_controls/control_types/options_list/options_list_embeddable.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/explorer/components/explorer_query_bar/explorer_query_bar.tsx" }, { - "plugin": "presentationUtil", - "path": "src/plugins/presentation_util/public/components/input_controls/control_types/options_list/options_list_embeddable.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/explorer/components/explorer_query_bar/explorer_query_bar.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/explorer/components/explorer_query_bar/explorer_query_bar.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/utils/new_job_utils.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/utils/new_job_utils.test.ts" } ], "children": [ { "parentPluginId": "data", - "id": "def-public.esFilters.FilterLabel", - "type": "Function", + "id": "def-public.IIndexPattern.title", + "type": "string", "tags": [], - "label": "FilterLabel", + "label": "title", "description": [], - "signature": [ - "(props: ", - "FilterLabelProps", - ") => JSX.Element" - ], - "path": "src/plugins/data/public/deprecated.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.props", - "type": "Object", - "tags": [], - "label": "props", - "description": [], - "signature": [ - "FilterLabelProps" - ], - "path": "src/plugins/data/public/ui/filter_bar/index.tsx", - "deprecated": false - } - ] + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false }, { "parentPluginId": "data", - "id": "def-public.esFilters.FilterItem", - "type": "Function", + "id": "def-public.IIndexPattern.fields", + "type": "Array", "tags": [], - "label": "FilterItem", + "label": "fields", "description": [], "signature": [ - "(props: ", - "FilterItemProps", - ") => JSX.Element" - ], - "path": "src/plugins/data/public/deprecated.ts", - "deprecated": false, - "returnComment": [], - "children": [ { - "parentPluginId": "data", - "id": "def-public.props", - "type": "Object", - "tags": [], - "label": "props", - "description": [], - "signature": [ - "FilterItemProps" - ], - "path": "src/plugins/data/public/ui/filter_bar/index.tsx", - "deprecated": false - } - ] + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + "[]" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false }, { "parentPluginId": "data", - "id": "def-public.esFilters.FILTERS", - "type": "Object", + "id": "def-public.IIndexPattern.type", + "type": "string", "tags": [], - "label": "FILTERS", - "description": [], + "label": "type", + "description": [ + "\nType is used for identifying rollup indices, otherwise left undefined" + ], "signature": [ - "typeof ", - "FILTERS" + "string | undefined" ], - "path": "src/plugins/data/public/deprecated.ts", + "path": "src/plugins/data/common/index_patterns/types.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-public.esFilters.FilterStateStore", - "type": "Object", + "id": "def-public.IIndexPattern.timeFieldName", + "type": "string", "tags": [], - "label": "FilterStateStore", + "label": "timeFieldName", "description": [], "signature": [ - "typeof ", - "FilterStateStore" + "string | undefined" ], - "path": "src/plugins/data/public/deprecated.ts", + "path": "src/plugins/data/common/index_patterns/types.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-public.esFilters.buildEmptyFilter", + "id": "def-public.IIndexPattern.getTimeField", "type": "Function", "tags": [], - "label": "buildEmptyFilter", + "label": "getTimeField", "description": [], "signature": [ - "(isPinned: boolean, index?: string | undefined) => ", - "Filter" - ], - "path": "src/plugins/data/public/deprecated.ts", - "deprecated": false, - "returnComment": [], - "children": [ + "(() => ", { - "parentPluginId": "data", - "id": "def-public.isPinned", - "type": "boolean", - "tags": [], - "label": "isPinned", - "description": [], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_empty_filter.d.ts", - "deprecated": false + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" }, - { - "parentPluginId": "data", - "id": "def-public.index", - "type": "string", - "tags": [], - "label": "index", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_empty_filter.d.ts", - "deprecated": false - } - ] + " | undefined) | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "children": [], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-public.esFilters.buildPhrasesFilter", - "type": "Function", + "id": "def-public.IIndexPattern.fieldFormatMap", + "type": "Object", "tags": [], - "label": "buildPhrasesFilter", + "label": "fieldFormatMap", "description": [], "signature": [ - "(field: ", - "IndexPatternFieldBase", - ", params: ", - "PhraseFilterValue", - "[], indexPattern: ", - "IndexPatternBase", - ") => ", - "PhrasesFilter" - ], - "path": "src/plugins/data/public/deprecated.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.field", - "type": "Object", - "tags": [], - "label": "field", - "description": [], - "signature": [ - "IndexPatternFieldBase" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrases_filter.d.ts", - "deprecated": false - }, + "Record | undefined> | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false }, { "parentPluginId": "data", - "id": "def-public.esFilters.buildExistsFilter", + "id": "def-public.IIndexPattern.getFormatterForField", "type": "Function", "tags": [], - "label": "buildExistsFilter", - "description": [], + "label": "getFormatterForField", + "description": [ + "\nLook up a formatter for a given field" + ], "signature": [ - "(field: ", - "IndexPatternFieldBase", - ", indexPattern: ", - "IndexPatternBase", + "((field: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, ") => ", - "ExistsFilter" + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined" ], - "path": "src/plugins/data/public/deprecated.ts", + "path": "src/plugins/data/common/index_patterns/types.ts", "deprecated": false, - "returnComment": [], "children": [ { "parentPluginId": "data", - "id": "def-public.field", - "type": "Object", + "id": "def-public.IIndexPattern.getFormatterForField.$1", + "type": "CompoundType", "tags": [], "label": "field", "description": [], "signature": [ - "IndexPatternFieldBase" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/exists_filter.d.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.indexPattern", - "type": "Object", - "tags": [], - "label": "indexPattern", - "description": [], - "signature": [ - "IndexPatternBase" + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + } ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/exists_filter.d.ts", - "deprecated": false + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "isRequired": true } - ] + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.IKibanaSearchRequest", + "type": "Interface", + "tags": [], + "label": "IKibanaSearchRequest", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.IKibanaSearchRequest", + "text": "IKibanaSearchRequest" }, + "" + ], + "path": "src/plugins/data/common/search/types.ts", + "deprecated": false, + "children": [ { "parentPluginId": "data", - "id": "def-public.esFilters.buildPhraseFilter", - "type": "Function", + "id": "def-public.IKibanaSearchRequest.id", + "type": "string", "tags": [], - "label": "buildPhraseFilter", - "description": [], + "label": "id", + "description": [ + "\nAn id can be used to uniquely identify this request." + ], "signature": [ - "(field: ", - "IndexPatternFieldBase", - ", value: ", - "PhraseFilterValue", - ", indexPattern: ", - "IndexPatternBase", - ") => ", - "PhraseFilter", - " | ", - "ScriptedPhraseFilter" + "string | undefined" ], - "path": "src/plugins/data/public/deprecated.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.field", - "type": "Object", - "tags": [], - "label": "field", - "description": [], - "signature": [ - "IndexPatternFieldBase" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.value", - "type": "CompoundType", - "tags": [], - "label": "value", - "description": [], - "signature": [ - "string | number | boolean" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.indexPattern", - "type": "Object", - "tags": [], - "label": "indexPattern", - "description": [], - "signature": [ - "IndexPatternBase" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", - "deprecated": false - } - ] + "path": "src/plugins/data/common/search/types.ts", + "deprecated": false }, { "parentPluginId": "data", - "id": "def-public.esFilters.buildQueryFilter", - "type": "Function", + "id": "def-public.IKibanaSearchRequest.params", + "type": "Uncategorized", "tags": [], - "label": "buildQueryFilter", + "label": "params", "description": [], "signature": [ - "(query: (Record & { query_string?: { query: string; } | undefined; }) | undefined, index: string, alias: string) => ", - "QueryStringFilter" + "Params | undefined" ], - "path": "src/plugins/data/public/deprecated.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.query", - "type": "CompoundType", - "tags": [], - "label": "query", - "description": [], - "signature": [ - "(Record & { query_string?: { query: string; } | undefined; }) | undefined" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/query_string_filter.d.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.index", - "type": "string", - "tags": [], - "label": "index", - "description": [], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/query_string_filter.d.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.alias", - "type": "string", - "tags": [], - "label": "alias", - "description": [], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/query_string_filter.d.ts", - "deprecated": false - } - ] + "path": "src/plugins/data/common/search/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.IKibanaSearchResponse", + "type": "Interface", + "tags": [], + "label": "IKibanaSearchResponse", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.IKibanaSearchResponse", + "text": "IKibanaSearchResponse" }, + "" + ], + "path": "src/plugins/data/common/search/types.ts", + "deprecated": false, + "children": [ { "parentPluginId": "data", - "id": "def-public.esFilters.buildRangeFilter", - "type": "Function", + "id": "def-public.IKibanaSearchResponse.id", + "type": "string", "tags": [], - "label": "buildRangeFilter", - "description": [], + "label": "id", + "description": [ + "\nSome responses may contain a unique id to identify the request this response came from." + ], "signature": [ - "(field: ", - "IndexPatternFieldBase", - ", params: ", - "RangeFilterParams", - ", indexPattern: ", - "IndexPatternBase", - ", formattedValue?: string | undefined) => ", - "RangeFilter", - " | ", - "ScriptedRangeFilter", - " | ", - "MatchAllRangeFilter" + "string | undefined" ], - "path": "src/plugins/data/public/deprecated.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.field", - "type": "Object", - "tags": [], - "label": "field", - "description": [], - "signature": [ - "IndexPatternFieldBase" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.params", - "type": "Object", - "tags": [], - "label": "params", - "description": [], - "signature": [ - "RangeFilterParams" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.indexPattern", - "type": "Object", - "tags": [], - "label": "indexPattern", - "description": [], - "signature": [ - "IndexPatternBase" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.formattedValue", - "type": "string", - "tags": [], - "label": "formattedValue", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", - "deprecated": false - } - ] + "path": "src/plugins/data/common/search/types.ts", + "deprecated": false }, { "parentPluginId": "data", - "id": "def-public.esFilters.isPhraseFilter", - "type": "Function", + "id": "def-public.IKibanaSearchResponse.total", + "type": "number", "tags": [], - "label": "isPhraseFilter", - "description": [], + "label": "total", + "description": [ + "\nIf relevant to the search strategy, return a total number\nthat represents how progress is indicated." + ], "signature": [ - "(filter: ", - "Filter", - ") => filter is ", - "PhraseFilter" + "number | undefined" ], - "path": "src/plugins/data/public/deprecated.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.filter", - "type": "Object", - "tags": [], - "label": "filter", - "description": [], - "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", - "deprecated": false - } - ] + "path": "src/plugins/data/common/search/types.ts", + "deprecated": false }, { "parentPluginId": "data", - "id": "def-public.esFilters.isExistsFilter", - "type": "Function", + "id": "def-public.IKibanaSearchResponse.loaded", + "type": "number", "tags": [], - "label": "isExistsFilter", - "description": [], + "label": "loaded", + "description": [ + "\nIf relevant to the search strategy, return a loaded number\nthat represents how progress is indicated." + ], "signature": [ - "(filter: ", - "Filter", - ") => filter is ", - "ExistsFilter" + "number | undefined" ], - "path": "src/plugins/data/public/deprecated.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.filter", - "type": "Object", - "tags": [], - "label": "filter", - "description": [], - "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/exists_filter.d.ts", - "deprecated": false - } - ] + "path": "src/plugins/data/common/search/types.ts", + "deprecated": false }, { "parentPluginId": "data", - "id": "def-public.esFilters.isPhrasesFilter", - "type": "Function", + "id": "def-public.IKibanaSearchResponse.isRunning", + "type": "CompoundType", "tags": [], - "label": "isPhrasesFilter", - "description": [], + "label": "isRunning", + "description": [ + "\nIndicates whether search is still in flight" + ], "signature": [ - "(filter: ", - "Filter", - ") => filter is ", - "PhrasesFilter" + "boolean | undefined" ], - "path": "src/plugins/data/public/deprecated.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.filter", - "type": "Object", - "tags": [], - "label": "filter", - "description": [], - "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrases_filter.d.ts", - "deprecated": false - } - ] + "path": "src/plugins/data/common/search/types.ts", + "deprecated": false }, { "parentPluginId": "data", - "id": "def-public.esFilters.isRangeFilter", - "type": "Function", + "id": "def-public.IKibanaSearchResponse.isPartial", + "type": "CompoundType", "tags": [], - "label": "isRangeFilter", - "description": [], + "label": "isPartial", + "description": [ + "\nIndicates whether the results returned are complete or partial" + ], "signature": [ - "(filter?: ", - "Filter", - " | undefined) => filter is ", - "RangeFilter" + "boolean | undefined" ], - "path": "src/plugins/data/public/deprecated.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.filter", - "type": "Object", - "tags": [], - "label": "filter", - "description": [], - "signature": [ - "Filter", - " | undefined" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", - "deprecated": false - } - ] + "path": "src/plugins/data/common/search/types.ts", + "deprecated": false }, { "parentPluginId": "data", - "id": "def-public.esFilters.isMatchAllFilter", - "type": "Function", + "id": "def-public.IKibanaSearchResponse.isRestored", + "type": "CompoundType", "tags": [], - "label": "isMatchAllFilter", - "description": [], + "label": "isRestored", + "description": [ + "\nIndicates whether the results returned are from the async-search index" + ], "signature": [ - "(filter: ", - "Filter", - ") => filter is ", - "MatchAllFilter" + "boolean | undefined" ], - "path": "src/plugins/data/public/deprecated.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.filter", - "type": "Object", - "tags": [], - "label": "filter", - "description": [], - "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/match_all_filter.d.ts", - "deprecated": false - } - ] + "path": "src/plugins/data/common/search/types.ts", + "deprecated": false }, { "parentPluginId": "data", - "id": "def-public.esFilters.isMissingFilter", - "type": "Function", + "id": "def-public.IKibanaSearchResponse.warning", + "type": "string", "tags": [], - "label": "isMissingFilter", - "description": [], + "label": "warning", + "description": [ + "\nOptional warnings that should be surfaced to the end user" + ], "signature": [ - "(filter: ", - "Filter", - ") => filter is ", - "MissingFilter" + "string | undefined" ], - "path": "src/plugins/data/public/deprecated.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.filter", - "type": "Object", - "tags": [], - "label": "filter", - "description": [], - "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/missing_filter.d.ts", - "deprecated": false - } - ] + "path": "src/plugins/data/common/search/types.ts", + "deprecated": false }, { "parentPluginId": "data", - "id": "def-public.esFilters.isQueryStringFilter", - "type": "Function", + "id": "def-public.IKibanaSearchResponse.rawResponse", + "type": "Uncategorized", "tags": [], - "label": "isQueryStringFilter", - "description": [], + "label": "rawResponse", + "description": [ + "\nThe raw response returned by the internal search method (usually the raw ES response)" + ], "signature": [ - "(filter: ", - "Filter", - ") => filter is ", - "QueryStringFilter" + "RawResponse" ], - "path": "src/plugins/data/public/deprecated.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.filter", - "type": "Object", - "tags": [], - "label": "filter", - "description": [], - "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/query_string_filter.d.ts", - "deprecated": false - } - ] + "path": "src/plugins/data/common/search/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.ISearchOptions", + "type": "Interface", + "tags": [], + "label": "ISearchOptions", + "description": [], + "path": "src/plugins/data/common/search/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-public.ISearchOptions.abortSignal", + "type": "Object", + "tags": [], + "label": "abortSignal", + "description": [ + "\nAn `AbortSignal` that allows the caller of `search` to abort a search request." + ], + "signature": [ + "AbortSignal | undefined" + ], + "path": "src/plugins/data/common/search/types.ts", + "deprecated": false }, { "parentPluginId": "data", - "id": "def-public.esFilters.isFilterPinned", - "type": "Function", + "id": "def-public.ISearchOptions.strategy", + "type": "string", "tags": [], - "label": "isFilterPinned", - "description": [], + "label": "strategy", + "description": [ + "\nUse this option to force using a specific server side search strategy. Leave empty to use the default strategy." + ], "signature": [ - "(filter: ", - "Filter", - ") => boolean | undefined" + "string | undefined" ], - "path": "src/plugins/data/public/deprecated.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.filter", - "type": "Object", - "tags": [], - "label": "filter", - "description": [], - "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", - "deprecated": false - } - ] + "path": "src/plugins/data/common/search/types.ts", + "deprecated": false }, { "parentPluginId": "data", - "id": "def-public.esFilters.toggleFilterNegated", - "type": "Function", + "id": "def-public.ISearchOptions.legacyHitsTotal", + "type": "CompoundType", "tags": [], - "label": "toggleFilterNegated", - "description": [], + "label": "legacyHitsTotal", + "description": [ + "\nRequest the legacy format for the total number of hits. If sending `rest_total_hits_as_int` to\nsomething other than `true`, this should be set to `false`." + ], "signature": [ - "(filter: ", - "Filter", - ") => { meta: { negate: boolean; alias?: string | null | undefined; disabled?: boolean | undefined; controlledBy?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; $state?: { store: ", - "FilterStateStore", - "; } | undefined; query?: Record | undefined; }" + "boolean | undefined" ], - "path": "src/plugins/data/public/deprecated.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.filter", - "type": "Object", - "tags": [], - "label": "filter", - "description": [], - "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", - "deprecated": false - } - ] + "path": "src/plugins/data/common/search/types.ts", + "deprecated": false }, { "parentPluginId": "data", - "id": "def-public.esFilters.disableFilter", - "type": "Function", + "id": "def-public.ISearchOptions.sessionId", + "type": "string", "tags": [], - "label": "disableFilter", - "description": [], + "label": "sessionId", + "description": [ + "\nA session ID, grouping multiple search requests into a single session." + ], "signature": [ - "(filter: ", - "Filter", - ") => ", - "Filter" + "string | undefined" ], - "path": "src/plugins/data/public/deprecated.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.filter", - "type": "Object", - "tags": [], - "label": "filter", - "description": [], - "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", - "deprecated": false - } - ] + "path": "src/plugins/data/common/search/types.ts", + "deprecated": false }, { "parentPluginId": "data", - "id": "def-public.esFilters.getPhraseFilterField", - "type": "Function", + "id": "def-public.ISearchOptions.isStored", + "type": "CompoundType", "tags": [], - "label": "getPhraseFilterField", - "description": [], + "label": "isStored", + "description": [ + "\nWhether the session is already saved (i.e. sent to background)" + ], "signature": [ - "(filter: ", - "PhraseFilter", - ") => string" + "boolean | undefined" ], - "path": "src/plugins/data/public/deprecated.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.filter", - "type": "CompoundType", - "tags": [], - "label": "filter", - "description": [], - "signature": [ - "Filter", - " & { meta: ", - "PhraseFilterMeta", - "; query: { match_phrase?: Record | undefined; match?: Record | undefined; }; }" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", - "deprecated": false - } - ] + "path": "src/plugins/data/common/search/types.ts", + "deprecated": false }, { "parentPluginId": "data", - "id": "def-public.esFilters.getPhraseFilterValue", - "type": "Function", + "id": "def-public.ISearchOptions.isRestore", + "type": "CompoundType", "tags": [], - "label": "getPhraseFilterValue", - "description": [], + "label": "isRestore", + "description": [ + "\nWhether the session is restored (i.e. search requests should re-use the stored search IDs,\nrather than starting from scratch)" + ], "signature": [ - "(filter: ", - "PhraseFilter", - " | ", - "ScriptedPhraseFilter", - ") => ", - "PhraseFilterValue" + "boolean | undefined" ], - "path": "src/plugins/data/public/deprecated.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.filter", - "type": "CompoundType", - "tags": [], - "label": "filter", - "description": [], - "signature": [ - "PhraseFilter", - " | ", - "ScriptedPhraseFilter" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", - "deprecated": false - } - ] + "path": "src/plugins/data/common/search/types.ts", + "deprecated": false }, { "parentPluginId": "data", - "id": "def-public.esFilters.getDisplayValueFromFilter", - "type": "Function", + "id": "def-public.ISearchOptions.indexPattern", + "type": "Object", "tags": [], - "label": "getDisplayValueFromFilter", - "description": [], + "label": "indexPattern", + "description": [ + "\nIndex pattern reference is used for better error messages" + ], "signature": [ - "(filter: ", - "Filter", - ", indexPatterns: ", { "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IIndexPattern", - "text": "IIndexPattern" + "section": "def-common.IndexPattern", + "text": "IndexPattern" }, - "[]) => string" + " | undefined" ], - "path": "src/plugins/data/public/deprecated.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.filter", - "type": "Object", - "tags": [], - "label": "filter", - "description": [], - "signature": [ - "{ $state?: { store: ", - "FilterStateStore", - "; } | undefined; meta: ", - "FilterMeta", - "; query?: Record | undefined; }" - ], - "path": "src/plugins/data/public/query/filter_manager/lib/get_display_value.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.indexPatterns", - "type": "Array", - "tags": [], - "label": "indexPatterns", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IIndexPattern", - "text": "IIndexPattern" - }, - "[]" - ], - "path": "src/plugins/data/public/query/filter_manager/lib/get_display_value.ts", - "deprecated": false - } - ] + "path": "src/plugins/data/common/search/types.ts", + "deprecated": false }, { "parentPluginId": "data", - "id": "def-public.esFilters.compareFilters", - "type": "Function", + "id": "def-public.ISearchOptions.inspector", + "type": "Object", "tags": [], - "label": "compareFilters", - "description": [], - "signature": [ - "(first: ", - "Filter", - " | ", - "Filter", - "[], second: ", - "Filter", - " | ", - "Filter", - "[], comparatorOptions?: ", - "FilterCompareOptions", - " | undefined) => boolean" + "label": "inspector", + "description": [ + "\nInspector integration options" ], - "path": "src/plugins/data/public/deprecated.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.first", - "type": "CompoundType", - "tags": [], - "label": "first", - "description": [], - "signature": [ - "Filter", - " | ", - "Filter", - "[]" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/compare_filters.d.ts", - "deprecated": false - }, + "signature": [ { - "parentPluginId": "data", - "id": "def-public.second", - "type": "CompoundType", - "tags": [], - "label": "second", - "description": [], - "signature": [ - "Filter", - " | ", - "Filter", - "[]" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/compare_filters.d.ts", - "deprecated": false + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.IInspectorInfo", + "text": "IInspectorInfo" }, - { - "parentPluginId": "data", - "id": "def-public.comparatorOptions", - "type": "Object", - "tags": [], - "label": "comparatorOptions", - "description": [], - "signature": [ - "FilterCompareOptions", - " | undefined" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/compare_filters.d.ts", - "deprecated": false - } - ] + " | undefined" + ], + "path": "src/plugins/data/common/search/types.ts", + "deprecated": false }, { "parentPluginId": "data", - "id": "def-public.esFilters.COMPARE_ALL_OPTIONS", + "id": "def-public.ISearchOptions.executionContext", "type": "Object", "tags": [], - "label": "COMPARE_ALL_OPTIONS", + "label": "executionContext", "description": [], "signature": [ - "FilterCompareOptions" + "KibanaExecutionContext", + " | undefined" ], - "path": "src/plugins/data/public/deprecated.ts", + "path": "src/plugins/data/common/search/types.ts", "deprecated": false - }, + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.ISearchStartSearchSource", + "type": "Interface", + "tags": [], + "label": "ISearchStartSearchSource", + "description": [ + "\nhigh level search service" + ], + "path": "src/plugins/data/common/search/search_source/types.ts", + "deprecated": false, + "children": [ { "parentPluginId": "data", - "id": "def-public.esFilters.generateFilters", + "id": "def-public.ISearchStartSearchSource.create", "type": "Function", "tags": [], - "label": "generateFilters", - "description": [], + "label": "create", + "description": [ + "\ncreates {@link SearchSource} based on provided serialized {@link SearchSourceFields}" + ], "signature": [ - "(filterManager: ", + "(fields?: ", { "pluginId": "data", - "scope": "public", - "docId": "kibDataQueryPluginApi", - "section": "def-public.FilterManager", - "text": "FilterManager" + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSourceFields", + "text": "SearchSourceFields" }, - ", field: string | ", + " | undefined) => Promise ", - "Filter", - "[]" + ", \"create\" | \"history\" | \"setPreferredSearchStrategyId\" | \"setField\" | \"removeField\" | \"setFields\" | \"getId\" | \"getFields\" | \"getField\" | \"getOwnField\" | \"createCopy\" | \"createChild\" | \"setParent\" | \"getParent\" | \"fetch$\" | \"fetch\" | \"onRequestStart\" | \"getSearchRequestBody\" | \"destroy\" | \"getSerializedFields\" | \"serialize\">>" ], - "path": "src/plugins/data/public/deprecated.ts", + "path": "src/plugins/data/common/search/search_source/types.ts", "deprecated": false, - "returnComment": [], "children": [ { "parentPluginId": "data", - "id": "def-public.filterManager", + "id": "def-public.ISearchStartSearchSource.create.$1", "type": "Object", "tags": [], - "label": "filterManager", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "public", - "docId": "kibDataQueryPluginApi", - "section": "def-public.FilterManager", - "text": "FilterManager" - } - ], - "path": "src/plugins/data/public/query/filter_manager/lib/generate_filters.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.field", - "type": "CompoundType", - "tags": [], - "label": "field", + "label": "fields", "description": [], "signature": [ - "string | ", { "pluginId": "data", "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - } - ], - "path": "src/plugins/data/public/query/filter_manager/lib/generate_filters.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.values", - "type": "Any", - "tags": [], - "label": "values", - "description": [], - "signature": [ - "any" + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSourceFields", + "text": "SearchSourceFields" + }, + " | undefined" ], - "path": "src/plugins/data/public/query/filter_manager/lib/generate_filters.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.operation", - "type": "string", - "tags": [], - "label": "operation", - "description": [], - "path": "src/plugins/data/public/query/filter_manager/lib/generate_filters.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.index", - "type": "string", - "tags": [], - "label": "index", - "description": [], - "path": "src/plugins/data/public/query/filter_manager/lib/generate_filters.ts", - "deprecated": false + "path": "src/plugins/data/common/search/search_source/types.ts", + "deprecated": false, + "isRequired": false } - ] + ], + "returnComment": [] }, { "parentPluginId": "data", - "id": "def-public.esFilters.onlyDisabledFiltersChanged", + "id": "def-public.ISearchStartSearchSource.createEmpty", "type": "Function", "tags": [], - "label": "onlyDisabledFiltersChanged", - "description": [], - "signature": [ - "(newFilters?: ", - "Filter", - "[] | undefined, oldFilters?: ", - "Filter", - "[] | undefined) => boolean" + "label": "createEmpty", + "description": [ + "\ncreates empty {@link SearchSource}" ], - "path": "src/plugins/data/public/deprecated.ts", - "deprecated": false, - "returnComment": [], - "children": [ + "signature": [ + "() => Pick<", { - "parentPluginId": "data", - "id": "def-public.newFilters", - "type": "Array", - "tags": [], - "label": "newFilters", - "description": [], - "signature": [ - "Filter", - "[] | undefined" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/only_disabled.d.ts", - "deprecated": false + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSource", + "text": "SearchSource" }, - { - "parentPluginId": "data", - "id": "def-public.oldFilters", - "type": "Array", - "tags": [], - "label": "oldFilters", - "description": [], - "signature": [ - "Filter", - "[] | undefined" - ], - "path": "node_modules/@kbn/es-query/target_types/filters/helpers/only_disabled.d.ts", - "deprecated": false - } - ] + ", \"create\" | \"history\" | \"setPreferredSearchStrategyId\" | \"setField\" | \"removeField\" | \"setFields\" | \"getId\" | \"getFields\" | \"getField\" | \"getOwnField\" | \"createCopy\" | \"createChild\" | \"setParent\" | \"getParent\" | \"fetch$\" | \"fetch\" | \"onRequestStart\" | \"getSearchRequestBody\" | \"destroy\" | \"getSerializedFields\" | \"serialize\">" + ], + "path": "src/plugins/data/common/search/search_source/types.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.OptionedValueProp", + "type": "Interface", + "tags": [], + "label": "OptionedValueProp", + "description": [], + "path": "src/plugins/data/common/search/aggs/param_types/optioned.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-public.OptionedValueProp.value", + "type": "string", + "tags": [], + "label": "value", + "description": [], + "path": "src/plugins/data/common/search/aggs/param_types/optioned.ts", + "deprecated": false }, { "parentPluginId": "data", - "id": "def-public.esFilters.changeTimeFilter", - "type": "Function", + "id": "def-public.OptionedValueProp.text", + "type": "string", "tags": [], - "label": "changeTimeFilter", + "label": "text", + "description": [], + "path": "src/plugins/data/common/search/aggs/param_types/optioned.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.OptionedValueProp.disabled", + "type": "CompoundType", + "tags": [], + "label": "disabled", "description": [], "signature": [ - "(timeFilter: Pick<", - "Timefilter", - ", \"isTimeRangeSelectorEnabled\" | \"isAutoRefreshSelectorEnabled\" | \"isTimeTouched\" | \"getEnabledUpdated$\" | \"getTimeUpdate$\" | \"getRefreshIntervalUpdate$\" | \"getAutoRefreshFetch$\" | \"getFetch$\" | \"getTime\" | \"getAbsoluteTime\" | \"setTime\" | \"getRefreshInterval\" | \"setRefreshInterval\" | \"createFilter\" | \"getBounds\" | \"calculateBounds\" | \"getActiveBounds\" | \"enableTimeRangeSelector\" | \"disableTimeRangeSelector\" | \"enableAutoRefreshSelector\" | \"disableAutoRefreshSelector\" | \"getTimeDefaults\" | \"getRefreshIntervalDefaults\">, filter: ", - "RangeFilter", - ") => void" + "boolean | undefined" ], - "path": "src/plugins/data/public/deprecated.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.timeFilter", - "type": "Object", - "tags": [], - "label": "timeFilter", - "description": [], - "signature": [ - "{ isTimeRangeSelectorEnabled: () => boolean; isAutoRefreshSelectorEnabled: () => boolean; isTimeTouched: () => boolean; getEnabledUpdated$: () => ", - "Observable", - "; getTimeUpdate$: () => ", - "Observable", - "; getRefreshIntervalUpdate$: () => ", - "Observable", - "; getAutoRefreshFetch$: () => ", - "Observable", - "<", - { - "pluginId": "data", - "scope": "public", - "docId": "kibDataQueryPluginApi", - "section": "def-public.AutoRefreshDoneFn", - "text": "AutoRefreshDoneFn" - }, - ">; getFetch$: () => ", - "Observable", - "; getTime: () => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataQueryPluginApi", - "section": "def-common.TimeRange", - "text": "TimeRange" - }, - "; getAbsoluteTime: () => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataQueryPluginApi", - "section": "def-common.TimeRange", - "text": "TimeRange" - }, - "; setTime: (time: ", - "InputTimeRange", - ") => void; getRefreshInterval: () => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataQueryPluginApi", - "section": "def-common.RefreshInterval", - "text": "RefreshInterval" - }, - "; setRefreshInterval: (refreshInterval: Partial<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataQueryPluginApi", - "section": "def-common.RefreshInterval", - "text": "RefreshInterval" - }, - ">) => void; createFilter: (indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IIndexPattern", - "text": "IIndexPattern" - }, - ", timeRange?: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataQueryPluginApi", - "section": "def-common.TimeRange", - "text": "TimeRange" - }, - " | undefined) => ", - "RangeFilter", - " | ", - "ScriptedRangeFilter", - " | ", - "MatchAllRangeFilter", - " | undefined; getBounds: () => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataQueryPluginApi", - "section": "def-common.TimeRangeBounds", - "text": "TimeRangeBounds" - }, - "; calculateBounds: (timeRange: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataQueryPluginApi", - "section": "def-common.TimeRange", - "text": "TimeRange" - }, - ") => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataQueryPluginApi", - "section": "def-common.TimeRangeBounds", - "text": "TimeRangeBounds" - }, - "; getActiveBounds: () => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataQueryPluginApi", - "section": "def-common.TimeRangeBounds", - "text": "TimeRangeBounds" - }, - " | undefined; enableTimeRangeSelector: () => void; disableTimeRangeSelector: () => void; enableAutoRefreshSelector: () => void; disableAutoRefreshSelector: () => void; getTimeDefaults: () => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataQueryPluginApi", - "section": "def-common.TimeRange", - "text": "TimeRange" - }, - "; getRefreshIntervalDefaults: () => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataQueryPluginApi", - "section": "def-common.RefreshInterval", - "text": "RefreshInterval" - }, - "; }" - ], - "path": "src/plugins/data/public/query/timefilter/lib/change_time_filter.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.filter", - "type": "CompoundType", - "tags": [], - "label": "filter", - "description": [], - "signature": [ - "Filter", - " & { meta: ", - "RangeFilterMeta", - "; range: { [key: string]: ", - "RangeFilterParams", - "; }; }" - ], - "path": "src/plugins/data/public/query/timefilter/lib/change_time_filter.ts", - "deprecated": false - } - ] + "path": "src/plugins/data/common/search/aggs/param_types/optioned.ts", + "deprecated": false }, { "parentPluginId": "data", - "id": "def-public.esFilters.convertRangeFilterToTimeRangeString", + "id": "def-public.OptionedValueProp.isCompatible", "type": "Function", "tags": [], - "label": "convertRangeFilterToTimeRangeString", + "label": "isCompatible", "description": [], "signature": [ - "(filter: ", - "RangeFilter", - ") => ", + "(agg: ", { "pluginId": "data", "scope": "common", - "docId": "kibDataQueryPluginApi", - "section": "def-common.TimeRange", - "text": "TimeRange" - } + "docId": "kibDataSearchPluginApi", + "section": "def-common.AggConfig", + "text": "AggConfig" + }, + ") => boolean" ], - "path": "src/plugins/data/public/deprecated.ts", + "path": "src/plugins/data/common/search/aggs/param_types/optioned.ts", "deprecated": false, - "returnComment": [], "children": [ { "parentPluginId": "data", - "id": "def-public.filter", - "type": "CompoundType", + "id": "def-public.OptionedValueProp.isCompatible.$1", + "type": "Object", "tags": [], - "label": "filter", + "label": "agg", "description": [], "signature": [ - "Filter", - " & { meta: ", - "RangeFilterMeta", - "; range: { [key: string]: ", - "RangeFilterParams", - "; }; }" + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.AggConfig", + "text": "AggConfig" + } ], - "path": "src/plugins/data/public/query/timefilter/lib/change_time_filter.ts", - "deprecated": false + "path": "src/plugins/data/common/search/aggs/param_types/optioned.ts", + "deprecated": false, + "isRequired": true } - ] - }, + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.SearchSourceFields", + "type": "Interface", + "tags": [], + "label": "SearchSourceFields", + "description": [ + "\nsearch source fields" + ], + "path": "src/plugins/data/common/search/search_source/types.ts", + "deprecated": false, + "children": [ { "parentPluginId": "data", - "id": "def-public.esFilters.mapAndFlattenFilters", - "type": "Function", + "id": "def-public.SearchSourceFields.type", + "type": "string", "tags": [], - "label": "mapAndFlattenFilters", + "label": "type", "description": [], "signature": [ - "(filters: ", - "Filter", - "[]) => ", - "Filter", - "[]" + "string | undefined" ], - "path": "src/plugins/data/public/deprecated.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.filters", - "type": "Array", - "tags": [], - "label": "filters", - "description": [], - "signature": [ - "Filter", - "[]" - ], - "path": "src/plugins/data/public/query/filter_manager/lib/map_and_flatten_filters.ts", - "deprecated": false - } - ] + "path": "src/plugins/data/common/search/search_source/types.ts", + "deprecated": false }, { "parentPluginId": "data", - "id": "def-public.esFilters.extractTimeFilter", - "type": "Function", + "id": "def-public.SearchSourceFields.query", + "type": "Object", "tags": [], - "label": "extractTimeFilter", - "description": [], + "label": "query", + "description": [ + "\n{@link Query}" + ], "signature": [ - "(timeFieldName: string, filters: ", - "Filter", - "[]) => { restOfFilters: ", - "Filter", - "[]; timeRangeFilter: ", - "RangeFilter", - " | undefined; }" + "Query", + " | undefined" ], - "path": "src/plugins/data/public/deprecated.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.timeFieldName", - "type": "string", - "tags": [], - "label": "timeFieldName", - "description": [], - "path": "src/plugins/data/public/query/timefilter/lib/extract_time_filter.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.filters", - "type": "Array", - "tags": [], - "label": "filters", - "description": [], - "signature": [ - "Filter", - "[]" - ], - "path": "src/plugins/data/public/query/timefilter/lib/extract_time_filter.ts", - "deprecated": false - } - ] + "path": "src/plugins/data/common/search/search_source/types.ts", + "deprecated": false }, { "parentPluginId": "data", - "id": "def-public.esFilters.extractTimeRange", - "type": "Function", + "id": "def-public.SearchSourceFields.filter", + "type": "CompoundType", "tags": [], - "label": "extractTimeRange", - "description": [], + "label": "filter", + "description": [ + "\n{@link Filter}" + ], "signature": [ - "(filters: ", "Filter", - "[], timeFieldName?: string | undefined) => { restOfFilters: ", + " | ", "Filter", - "[]; timeRange?: ", + "[] | (() => ", + "Filter", + " | ", + "Filter", + "[] | undefined) | undefined" + ], + "path": "src/plugins/data/common/search/search_source/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.SearchSourceFields.sort", + "type": "CompoundType", + "tags": [], + "label": "sort", + "description": [ + "\n{@link EsQuerySortValue}" + ], + "signature": [ + "Record | Record[] | undefined" + ], + "path": "src/plugins/data/common/search/search_source/types.ts", + "deprecated": false }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx" + "parentPluginId": "data", + "id": "def-public.SearchSourceFields.highlight", + "type": "Any", + "tags": [], + "label": "highlight", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data/common/search/search_source/types.ts", + "deprecated": false }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx" + "parentPluginId": "data", + "id": "def-public.SearchSourceFields.highlightAll", + "type": "CompoundType", + "tags": [], + "label": "highlightAll", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data/common/search/search_source/types.ts", + "deprecated": false }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/utils/kuery.ts" + "parentPluginId": "data", + "id": "def-public.SearchSourceFields.trackTotalHits", + "type": "CompoundType", + "tags": [], + "label": "trackTotalHits", + "description": [], + "signature": [ + "number | boolean | undefined" + ], + "path": "src/plugins/data/common/search/search_source/types.ts", + "deprecated": false }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/utils/kuery.ts" + "parentPluginId": "data", + "id": "def-public.SearchSourceFields.aggs", + "type": "CompoundType", + "tags": [], + "label": "aggs", + "description": [ + "\n{@link AggConfigs}" + ], + "signature": [ + "object | ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.AggConfigs", + "text": "AggConfigs" + }, + " | (() => object) | undefined" + ], + "path": "src/plugins/data/common/search/search_source/types.ts", + "deprecated": false }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/utils/kuery.ts" + "parentPluginId": "data", + "id": "def-public.SearchSourceFields.from", + "type": "number", + "tags": [], + "label": "from", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "src/plugins/data/common/search/search_source/types.ts", + "deprecated": false }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_filters.ts" + "parentPluginId": "data", + "id": "def-public.SearchSourceFields.size", + "type": "number", + "tags": [], + "label": "size", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "src/plugins/data/common/search/search_source/types.ts", + "deprecated": false }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_filters.ts" + "parentPluginId": "data", + "id": "def-public.SearchSourceFields.source", + "type": "CompoundType", + "tags": [], + "label": "source", + "description": [], + "signature": [ + "string | boolean | string[] | undefined" + ], + "path": "src/plugins/data/common/search/search_source/types.ts", + "deprecated": false }, { - "plugin": "apm", - "path": "x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx" + "parentPluginId": "data", + "id": "def-public.SearchSourceFields.version", + "type": "CompoundType", + "tags": [], + "label": "version", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data/common/search/search_source/types.ts", + "deprecated": false }, { - "plugin": "apm", - "path": "x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx" + "parentPluginId": "data", + "id": "def-public.SearchSourceFields.fields", + "type": "Array", + "tags": [], + "label": "fields", + "description": [ + "\nRetrieve fields via the search Fields API" + ], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchFieldValue", + "text": "SearchFieldValue" + }, + "[] | undefined" + ], + "path": "src/plugins/data/common/search/search_source/types.ts", + "deprecated": false }, { - "plugin": "apm", - "path": "x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx" + "parentPluginId": "data", + "id": "def-public.SearchSourceFields.fieldsFromSource", + "type": "CompoundType", + "tags": [ + "deprecated" + ], + "label": "fieldsFromSource", + "description": [ + "\nRetreive fields directly from _source (legacy behavior)\n" + ], + "signature": [ + "string | string[] | undefined" + ], + "path": "src/plugins/data/common/search/search_source/types.ts", + "deprecated": true, + "references": [ + { + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts" + }, + { + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts" + } + ] }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + "parentPluginId": "data", + "id": "def-public.SearchSourceFields.index", + "type": "Object", + "tags": [], + "label": "index", + "description": [ + "\n{@link IndexPatternService}" + ], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IndexPattern", + "text": "IndexPattern" + }, + " | undefined" + ], + "path": "src/plugins/data/common/search/search_source/types.ts", + "deprecated": false }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + "parentPluginId": "data", + "id": "def-public.SearchSourceFields.searchAfter", + "type": "Object", + "tags": [], + "label": "searchAfter", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.EsQuerySearchAfter", + "text": "EsQuerySearchAfter" + }, + " | undefined" + ], + "path": "src/plugins/data/common/search/search_source/types.ts", + "deprecated": false }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_search_bar.ts" + "parentPluginId": "data", + "id": "def-public.SearchSourceFields.timeout", + "type": "string", + "tags": [], + "label": "timeout", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data/common/search/search_source/types.ts", + "deprecated": false }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_search_bar.ts" + "parentPluginId": "data", + "id": "def-public.SearchSourceFields.terminate_after", + "type": "number", + "tags": [], + "label": "terminate_after", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "src/plugins/data/common/search/search_source/types.ts", + "deprecated": false }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_search_bar.ts" + "parentPluginId": "data", + "id": "def-public.SearchSourceFields.parent", + "type": "Object", + "tags": [], + "label": "parent", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSourceFields", + "text": "SearchSourceFields" + }, + " | undefined" + ], + "path": "src/plugins/data/common/search/search_source/types.ts", + "deprecated": false } ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.TypeMeta", + "type": "Interface", + "tags": [], + "label": "TypeMeta", + "description": [], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, "children": [ { "parentPluginId": "data", - "id": "def-public.esKuery.nodeTypes", + "id": "def-public.TypeMeta.aggs", "type": "Object", "tags": [], - "label": "nodeTypes", + "label": "aggs", "description": [], "signature": [ - "NodeTypes" + "Record> | undefined" ], - "path": "src/plugins/data/public/deprecated.ts", + "path": "src/plugins/data/common/index_patterns/types.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-public.esKuery.fromKueryExpression", - "type": "Function", + "id": "def-public.TypeMeta.params", + "type": "Object", "tags": [], - "label": "fromKueryExpression", + "label": "params", "description": [], "signature": [ - "(expression: string | ", - "QueryDslQueryContainer", - ", parseOptions?: Partial<", - "KueryParseOptions", - "> | undefined) => ", - "KueryNode" + "{ rollup_index: string; } | undefined" ], - "path": "src/plugins/data/public/deprecated.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.expression", - "type": "CompoundType", - "tags": [], - "label": "expression", - "description": [], - "signature": [ - "string | ", - "QueryDslQueryContainer" - ], - "path": "node_modules/@kbn/es-query/target_types/kuery/ast/ast.d.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.parseOptions", - "type": "Object", - "tags": [], - "label": "parseOptions", - "description": [], - "signature": [ - "Partial<", - "KueryParseOptions", - "> | undefined" - ], - "path": "node_modules/@kbn/es-query/target_types/kuery/ast/ast.d.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "data", - "id": "def-public.esKuery.toElasticsearchQuery", - "type": "Function", - "tags": [], - "label": "toElasticsearchQuery", - "description": [], - "signature": [ - "(node: ", - "KueryNode", - ", indexPattern?: ", - "IndexPatternBase", - " | undefined, config?: ", - "KueryQueryOptions", - " | undefined, context?: Record | undefined) => ", - "QueryDslQueryContainer" - ], - "path": "src/plugins/data/public/deprecated.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.node", - "type": "Object", - "tags": [], - "label": "node", - "description": [], - "signature": [ - "KueryNode" - ], - "path": "node_modules/@kbn/es-query/target_types/kuery/index.d.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.indexPattern", - "type": "Object", - "tags": [], - "label": "indexPattern", - "description": [], - "signature": [ - "IndexPatternBase", - " | undefined" - ], - "path": "node_modules/@kbn/es-query/target_types/kuery/index.d.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.config", - "type": "Object", - "tags": [], - "label": "config", - "description": [], - "signature": [ - "KueryQueryOptions", - " | undefined" - ], - "path": "node_modules/@kbn/es-query/target_types/kuery/index.d.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.context", - "type": "Object", - "tags": [], - "label": "context", - "description": [], - "signature": [ - "Record | undefined" - ], - "path": "node_modules/@kbn/es-query/target_types/kuery/index.d.ts", - "deprecated": false - } - ] + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false } ], "initialIsOpen": false + } + ], + "enums": [ + { + "parentPluginId": "data", + "id": "def-public.BUCKET_TYPES", + "type": "Enum", + "tags": [], + "label": "BUCKET_TYPES", + "description": [], + "path": "src/plugins/data/common/search/aggs/buckets/bucket_agg_types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.ES_FIELD_TYPES", + "type": "Enum", + "tags": [], + "label": "ES_FIELD_TYPES", + "description": [], + "signature": [ + "ES_FIELD_TYPES" + ], + "path": "node_modules/@kbn/field-types/target_types/types.d.ts", + "deprecated": false, + "initialIsOpen": false }, { "parentPluginId": "data", - "id": "def-public.esQuery", - "type": "Object", + "id": "def-public.IndexPatternType", + "type": "Enum", "tags": [ "deprecated" ], - "label": "esQuery", + "label": "IndexPatternType", "description": [], - "path": "src/plugins/data/public/deprecated.ts", + "path": "src/plugins/data/common/index_patterns/types.ts", "deprecated": true, - "removeBy": "8.1", - "references": [ + "references": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.KBN_FIELD_TYPES", + "type": "Enum", + "tags": [], + "label": "KBN_FIELD_TYPES", + "description": [], + "signature": [ + "KBN_FIELD_TYPES" + ], + "path": "node_modules/@kbn/field-types/target_types/types.d.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.METRIC_TYPES", + "type": "Enum", + "tags": [], + "label": "METRIC_TYPES", + "description": [], + "path": "src/plugins/data/common/search/aggs/metrics/metric_agg_types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.SortDirection", + "type": "Enum", + "tags": [], + "label": "SortDirection", + "description": [], + "path": "src/plugins/data/common/search/search_source/types.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "misc": [ + { + "parentPluginId": "data", + "id": "def-public.ACTION_GLOBAL_APPLY_FILTER", + "type": "string", + "tags": [], + "label": "ACTION_GLOBAL_APPLY_FILTER", + "description": [], + "signature": [ + "\"ACTION_GLOBAL_APPLY_FILTER\"" + ], + "path": "src/plugins/data/public/actions/apply_filter_action.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.AggConfigOptions", + "type": "Type", + "tags": [], + "label": "AggConfigOptions", + "description": [], + "signature": [ + "{ type: ", { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/validation.ts" + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.IAggType", + "text": "IAggType" }, + "; enabled?: boolean | undefined; id?: string | undefined; schema?: string | undefined; params?: {} | ", + "SerializableRecord", + " | undefined; }" + ], + "path": "src/plugins/data/common/search/aggs/agg_config.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.AggConfigSerialized", + "type": "Type", + "tags": [], + "label": "AggConfigSerialized", + "description": [], + "signature": [ + "{ type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", + "SerializableRecord", + " | undefined; schema?: string | undefined; }" + ], + "path": "src/plugins/data/common/search/aggs/agg_config.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.AggGroupName", + "type": "Type", + "tags": [], + "label": "AggGroupName", + "description": [], + "signature": [ + "\"none\" | \"buckets\" | \"metrics\"" + ], + "path": "src/plugins/data/common/search/aggs/agg_groups.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.AggParam", + "type": "Type", + "tags": [], + "label": "AggParam", + "description": [], + "signature": [ { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/validation.ts" + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.BaseParamType", + "text": "BaseParamType" }, + "<", { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/terms/index.tsx" + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.AggConfig", + "text": "AggConfig" }, + ">" + ], + "path": "src/plugins/data/common/search/aggs/agg_params.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.AggregationRestrictions", + "type": "Type", + "tags": [], + "label": "AggregationRestrictions", + "description": [], + "signature": [ + "{ [x: string]: { agg?: string | undefined; interval?: number | undefined; fixed_interval?: string | undefined; calendar_interval?: string | undefined; delay?: string | undefined; time_zone?: string | undefined; }; }" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.AggregationRestrictions", + "type": "Type", + "tags": [], + "label": "AggregationRestrictions", + "description": [], + "signature": [ + "{ [x: string]: { agg?: string | undefined; interval?: number | undefined; fixed_interval?: string | undefined; calendar_interval?: string | undefined; delay?: string | undefined; time_zone?: string | undefined; }; }" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.AggsStart", + "type": "Type", + "tags": [], + "label": "AggsStart", + "description": [ + "\nAggsStart represents the actual external contract as AggsCommonStart\nis only used internally. The difference is that AggsStart includes the\ntypings for the registry with initialized agg types.\n" + ], + "signature": [ + "{ calculateAutoTimeExpression: (range: ", { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/terms/index.tsx" + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" }, + ") => string | undefined; datatableUtilities: { getIndexPattern: (column: ", { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/terms/index.tsx" + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.DatatableColumn", + "text": "DatatableColumn" }, + ") => Promise<", { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx" + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IndexPattern", + "text": "IndexPattern" }, + " | undefined>; getAggConfig: (column: ", { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx" + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.DatatableColumn", + "text": "DatatableColumn" }, + ") => Promise<", { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx" + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.AggConfig", + "text": "AggConfig" }, + " | undefined>; isFilterable: (column: ", { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/datapanel.tsx" + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.DatatableColumn", + "text": "DatatableColumn" }, + ") => boolean; }; createAggConfigs: (indexPattern: ", { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/datapanel.tsx" + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IndexPattern", + "text": "IndexPattern" }, + ", configStates?: Pick & Pick<{ type: string | ", { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/datapanel.tsx" + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.IAggType", + "text": "IAggType" }, + "; }, \"type\"> & Pick<{ type: string | ", { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx" + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.IAggType", + "text": "IAggType" }, + "; }, never>, \"type\" | \"enabled\" | \"id\" | \"schema\" | \"params\">[] | undefined) => ", { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx" + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.AggConfigs", + "text": "AggConfigs" }, + "; types: ", + "AggTypesRegistryStart", + "; }" + ], + "path": "src/plugins/data/common/search/aggs/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.APPLY_FILTER_TRIGGER", + "type": "string", + "tags": [], + "label": "APPLY_FILTER_TRIGGER", + "description": [], + "signature": [ + "\"FILTER_TRIGGER\"" + ], + "path": "src/plugins/data/public/triggers/apply_filter_trigger.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.CustomFilter", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "CustomFilter", + "description": [], + "signature": [ + "{ $state?: { store: ", + "FilterStateStore", + "; } | undefined; meta: ", + "FilterMeta", + "; query?: Record | undefined; }" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.DataViewsContract", + "type": "Type", + "tags": [], + "label": "DataViewsContract", + "description": [], + "signature": [ + "{ get: (id: string) => Promise<", { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx" + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + ">; delete: (indexPatternId: string) => Promise<{}>; create: (spec: ", { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx" + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" }, + ", skipFetchFields?: boolean) => Promise<", { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx" + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + ">; find: (search: string, size?: number) => Promise<", { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx" + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + "[]>; ensureDefaultIndexPattern: ", + "EnsureDefaultDataView", + "; getIds: (refresh?: boolean) => Promise; getTitles: (refresh?: boolean) => Promise; getIdsWithTitle: (refresh?: boolean) => Promise<", { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/containers/logs/log_stream/index.ts" + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewListItem", + "text": "DataViewListItem" }, + "[]>; clearCache: (id?: string | undefined) => void; getCache: () => Promise<", + "SavedObject", + ">[] | null | undefined>; getDefault: () => Promise<", { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts" + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + " | null>; getDefaultId: () => Promise; setDefault: (id: string | null, force?: boolean) => Promise; hasUserIndexPattern: () => Promise; getFieldsForWildcard: (options: ", { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts" + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" }, + ") => Promise; getFieldsForIndexPattern: (indexPattern: ", { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts" + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + " | ", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/side_panel/network_details/expandable_network.tsx" + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" }, + ", options?: ", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/side_panel/network_details/expandable_network.tsx" + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" }, + " | undefined) => Promise; refreshFields: (indexPattern: ", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx" + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + ") => Promise; fieldArrayToMap: (fields: ", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx" + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" }, + "[], fieldAttrs?: ", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx" + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.FieldAttrs", + "text": "FieldAttrs" }, + " | undefined) => Record; savedObjectToSpec: (savedObject: ", + "SavedObject", + "<", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_histogram_panel/index.tsx" + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" }, + ">) => ", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_histogram_panel/index.tsx" + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" }, + "; createAndSave: (spec: ", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_histogram_panel/index.tsx" + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" }, + ", override?: boolean, skipFetchFields?: boolean) => Promise<", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + ">; createSavedObject: (indexPattern: ", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + ", override?: boolean) => Promise<", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/index.tsx" + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + ">; updateSavedObject: (indexPattern: ", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/index.tsx" + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + ", saveAttempts?: number, ignoreErrors?: boolean) => Promise; }" + ], + "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.ES_SEARCH_STRATEGY", + "type": "string", + "tags": [], + "label": "ES_SEARCH_STRATEGY", + "description": [], + "signature": [ + "\"es\"" + ], + "path": "src/plugins/data/common/search/strategies/es_search/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.EsaggsExpressionFunctionDefinition", + "type": "Type", + "tags": [], + "label": "EsaggsExpressionFunctionDefinition", + "description": [], + "signature": [ { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_count_panel/index.tsx" + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" }, + "<\"esaggs\", Input, Arguments, Output, ", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_count_panel/index.tsx" + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" }, + "<", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/pages/details/index.tsx" + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" }, + ", ", + "SerializableRecord", + ">>" + ], + "path": "src/plugins/data/common/search/expressions/esaggs/esaggs_fn.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.EsQueryConfig", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "EsQueryConfig", + "description": [], + "signature": [ + "KueryQueryOptions", + " & { allowLeadingWildcards: boolean; queryStringOptions: ", + "SerializableRecord", + "; ignoreFilterIfFieldNotInIndex: boolean; }" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/pages/details/index.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/table/types.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/details/index.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/table/types.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.EsQuerySortValue", + "type": "Type", + "tags": [], + "label": "EsQuerySortValue", + "description": [], + "signature": [ + "{ [x: string]: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SortDirection", + "text": "SortDirection" }, + " | ", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/details/index.tsx" + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SortDirectionNumeric", + "text": "SortDirectionNumeric" }, + " | ", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/hosts.tsx" + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SortDirectionFormat", + "text": "SortDirectionFormat" }, + "; }" + ], + "path": "src/plugins/data/common/search/search_source/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.ExecutionContextSearch", + "type": "Type", + "tags": [], + "label": "ExecutionContextSearch", + "description": [], + "signature": [ + "{ filters?: ", + "Filter", + "[] | undefined; query?: ", + "Query", + " | ", + "Query", + "[] | undefined; timeRange?: ", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/hosts.tsx" + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" }, + " | undefined; }" + ], + "path": "src/plugins/data/common/search/expressions/kibana_context_type.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.ExistsFilter", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "ExistsFilter", + "description": [], + "signature": [ + "Filter", + " & { meta: ", + "FilterMeta", + "; exists?: { field: string; } | undefined; }" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/hosts.tsx" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/pages/network.tsx" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.ExpressionFunctionKibana", + "type": "Type", + "tags": [], + "label": "ExpressionFunctionKibana", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" }, + "<\"kibana\", Input, object, ", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/pages/network.tsx" + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionValueBoxed", + "text": "ExpressionValueBoxed" }, + "<\"kibana_context\", ", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/pages/network.tsx" + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.ExecutionContextSearch", + "text": "ExecutionContextSearch" }, + ">, ", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/alerts_by_category/index.tsx" + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" }, + "<", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/alerts_by_category/index.tsx" + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" }, + ", ", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/event_counts/index.tsx" + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.ExecutionContextSearch", + "text": "ExecutionContextSearch" }, + ">>" + ], + "path": "src/plugins/data/common/search/expressions/kibana.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.ExpressionFunctionKibanaContext", + "type": "Type", + "tags": [], + "label": "ExpressionFunctionKibanaContext", + "description": [], + "signature": [ { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/event_counts/index.tsx" + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" }, + "<\"kibana_context\", Input, Arguments, Promise<", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/event_counts/index.tsx" + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionValueBoxed", + "text": "ExpressionValueBoxed" }, + "<\"kibana_context\", ", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/ueba/pages/ueba.tsx" + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.ExecutionContextSearch", + "text": "ExecutionContextSearch" }, + ">>, ", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/ueba/pages/ueba.tsx" + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" }, + "<", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/ueba/pages/ueba.tsx" + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" }, + ", ", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/ueba/pages/details/index.tsx" + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.ExecutionContextSearch", + "text": "ExecutionContextSearch" }, + ">>" + ], + "path": "src/plugins/data/common/search/expressions/kibana_context.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.ExpressionValueSearchContext", + "type": "Type", + "tags": [], + "label": "ExpressionValueSearchContext", + "description": [], + "signature": [ + "{ type: \"kibana_context\"; } & ", { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/ueba/pages/details/index.tsx" + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.ExecutionContextSearch", + "text": "ExecutionContextSearch" + } + ], + "path": "src/plugins/data/common/search/expressions/kibana_context_type.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.Filter", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "Filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + "FilterStateStore", + "; } | undefined; meta: ", + "FilterMeta", + "; query?: Record | undefined; }" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "discover", + "path": "src/plugins/discover/public/url_generator.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/flyout/header/index.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/url_generator.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/flyout/header/index.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/url_generator.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/flyout/header/index.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/locator.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_tab_content/index.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/locator.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_tab_content/index.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/locator.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/types.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/types.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_search_bar.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_search_bar.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" }, { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" }, { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" }, { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" }, { - "plugin": "visTypeTimelion", - "path": "src/plugins/vis_type_timelion/public/helpers/timelion_request_handler.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" }, { - "plugin": "visTypeTimelion", - "path": "src/plugins/vis_type_timelion/public/helpers/timelion_request_handler.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" }, { - "plugin": "visTypeTimelion", - "path": "src/plugins/vis_type_timelion/public/helpers/timelion_request_handler.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" }, { - "plugin": "visTypeVega", - "path": "src/plugins/vis_types/vega/public/vega_request_handler.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" }, { - "plugin": "visTypeVega", - "path": "src/plugins/vis_types/vega/public/vega_request_handler.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" }, { - "plugin": "visTypeVega", - "path": "src/plugins/vis_types/vega/public/vega_request_handler.ts" - } - ], - "children": [ + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" + }, { - "parentPluginId": "data", - "id": "def-public.esQuery.buildEsQuery", - "type": "Function", - "tags": [], - "label": "buildEsQuery", - "description": [], - "signature": [ - "(indexPattern: ", - "IndexPatternBase", - " | undefined, queries: ", - "Query", - " | ", - "Query", - "[], filters: ", - "Filter", - " | ", - "Filter", - "[], config?: ", - "EsQueryConfig", - " | undefined) => { bool: ", - "BoolQuery", - "; }" - ], - "path": "src/plugins/data/public/deprecated.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.indexPattern", - "type": "Object", - "tags": [], - "label": "indexPattern", - "description": [], - "signature": [ - "IndexPatternBase", - " | undefined" - ], - "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.queries", - "type": "CompoundType", - "tags": [], - "label": "queries", - "description": [], - "signature": [ - "Query", - " | ", - "Query", - "[]" - ], - "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.filters", - "type": "CompoundType", - "tags": [], - "label": "filters", - "description": [], - "signature": [ - "Filter", - " | ", - "Filter", - "[]" - ], - "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.config", - "type": "CompoundType", - "tags": [], - "label": "config", - "description": [], - "signature": [ - "EsQueryConfig", - " | undefined" - ], - "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", - "deprecated": false - } - ] + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" }, { - "parentPluginId": "data", - "id": "def-public.esQuery.getEsQueryConfig", - "type": "Function", - "tags": [], - "label": "getEsQueryConfig", - "description": [], - "signature": [ - "(config: KibanaConfig) => ", - "EsQueryConfig" - ], - "path": "src/plugins/data/public/deprecated.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.config", - "type": "Object", - "tags": [], - "label": "config", - "description": [], - "signature": [ - "KibanaConfig" - ], - "path": "src/plugins/data/common/es_query/get_es_query_config.ts", - "deprecated": false - } - ] + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" }, { - "parentPluginId": "data", - "id": "def-public.esQuery.buildQueryFromFilters", - "type": "Function", - "tags": [], - "label": "buildQueryFromFilters", - "description": [], - "signature": [ - "(filters: ", - "Filter", - "[] | undefined, indexPattern: ", - "IndexPatternBase", - " | undefined, ignoreFilterIfFieldNotInIndex?: boolean | undefined) => ", - "BoolQuery" - ], - "path": "src/plugins/data/public/deprecated.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.filters", - "type": "Array", - "tags": [], - "label": "filters", - "description": [], - "signature": [ - "Filter", - "[] | undefined" - ], - "path": "node_modules/@kbn/es-query/target_types/es_query/from_filters.d.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.indexPattern", - "type": "Object", - "tags": [], - "label": "indexPattern", - "description": [], - "signature": [ - "IndexPatternBase", - " | undefined" - ], - "path": "node_modules/@kbn/es-query/target_types/es_query/from_filters.d.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.ignoreFilterIfFieldNotInIndex", - "type": "CompoundType", - "tags": [], - "label": "ignoreFilterIfFieldNotInIndex", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "node_modules/@kbn/es-query/target_types/es_query/from_filters.d.ts", - "deprecated": false - } - ] + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" }, { - "parentPluginId": "data", - "id": "def-public.esQuery.luceneStringToDsl", - "type": "Function", - "tags": [], - "label": "luceneStringToDsl", - "description": [], - "signature": [ - "(query: string | ", - "QueryDslQueryContainer", - ") => ", - "QueryDslQueryContainer" - ], - "path": "src/plugins/data/public/deprecated.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.query", - "type": "CompoundType", - "tags": [], - "label": "query", - "description": [], - "signature": [ - "string | ", - "QueryDslQueryContainer" - ], - "path": "node_modules/@kbn/es-query/target_types/es_query/lucene_string_to_dsl.d.ts", - "deprecated": false - } - ] + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" }, { - "parentPluginId": "data", - "id": "def-public.esQuery.decorateQuery", - "type": "Function", - "tags": [], - "label": "decorateQuery", - "description": [], - "signature": [ - "(query: ", - "QueryDslQueryContainer", - ", queryStringOptions: string | ", - "SerializableRecord", - ", dateFormatTZ?: string | undefined) => ", - "QueryDslQueryContainer" - ], - "path": "src/plugins/data/public/deprecated.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.query", - "type": "Object", - "tags": [], - "label": "query", - "description": [], - "signature": [ - "QueryDslQueryContainer" - ], - "path": "node_modules/@kbn/es-query/target_types/es_query/decorate_query.d.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.queryStringOptions", - "type": "CompoundType", - "tags": [], - "label": "queryStringOptions", - "description": [], - "signature": [ - "string | ", - "SerializableRecord" - ], - "path": "node_modules/@kbn/es-query/target_types/es_query/decorate_query.d.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.dateFormatTZ", - "type": "string", - "tags": [], - "label": "dateFormatTZ", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "node_modules/@kbn/es-query/target_types/es_query/decorate_query.d.ts", - "deprecated": false - } - ] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.exporters", - "type": "Object", - "tags": [], - "label": "exporters", - "description": [], - "path": "src/plugins/data/public/index.ts", - "deprecated": false, - "children": [ + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/filter_utils.ts" + }, { - "parentPluginId": "data", - "id": "def-public.exporters.datatableToCSV", - "type": "Function", - "tags": [], - "label": "datatableToCSV", - "description": [], - "signature": [ - "({ columns, rows }: ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.Datatable", - "text": "Datatable" - }, - ", { csvSeparator, quoteValues, formatFactory, raw, escapeFormulaValues }: CSVOptions) => string" - ], - "path": "src/plugins/data/public/index.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.__0", - "type": "Object", - "tags": [], - "label": "__0", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.Datatable", - "text": "Datatable" - } - ], - "path": "src/plugins/data/common/exports/export_csv.tsx", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.__1", - "type": "Object", - "tags": [], - "label": "__1", - "description": [], - "signature": [ - "CSVOptions" - ], - "path": "src/plugins/data/common/exports/export_csv.tsx", - "deprecated": false - } - ] + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/filter_utils.ts" }, { - "parentPluginId": "data", - "id": "def-public.exporters.CSV_MIME_TYPE", - "type": "string", - "tags": [], - "label": "CSV_MIME_TYPE", - "description": [], - "path": "src/plugins/data/public/index.ts", - "deprecated": false + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/filter_utils.ts" }, { - "parentPluginId": "data", - "id": "def-public.exporters.cellHasFormulas", - "type": "Function", - "tags": [], - "label": "cellHasFormulas", - "description": [], - "signature": [ - "(val: string) => boolean" - ], - "path": "src/plugins/data/public/index.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.val", - "type": "string", - "tags": [], - "label": "val", - "description": [], - "path": "src/plugins/data/common/exports/formula_checks.ts", - "deprecated": false - } - ] + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/filter_utils.ts" }, { - "parentPluginId": "data", - "id": "def-public.exporters.tableHasFormulas", - "type": "Function", - "tags": [], - "label": "tableHasFormulas", - "description": [], - "signature": [ - "(columns: ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.DatatableColumn", - "text": "DatatableColumn" - }, - "[], rows: Record[]) => boolean" - ], - "path": "src/plugins/data/public/index.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.columns", - "type": "Array", - "tags": [], - "label": "columns", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.DatatableColumn", - "text": "DatatableColumn" - }, - "[]" - ], - "path": "src/plugins/data/common/exports/formula_checks.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.rows", - "type": "Array", - "tags": [], - "label": "rows", - "description": [], - "signature": [ - "Record[]" - ], - "path": "src/plugins/data/common/exports/formula_checks.ts", - "deprecated": false - } - ] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.indexPatterns", - "type": "Object", - "tags": [], - "label": "indexPatterns", - "description": [], - "path": "src/plugins/data/public/index.ts", - "deprecated": false, - "children": [ + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/filter_utils.ts" + }, { - "parentPluginId": "data", - "id": "def-public.indexPatterns.ILLEGAL_CHARACTERS_KEY", - "type": "string", - "tags": [], - "label": "ILLEGAL_CHARACTERS_KEY", - "description": [], - "path": "src/plugins/data/public/index.ts", - "deprecated": false + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts" }, { - "parentPluginId": "data", - "id": "def-public.indexPatterns.CONTAINS_SPACES_KEY", - "type": "string", - "tags": [], - "label": "CONTAINS_SPACES_KEY", - "description": [], - "path": "src/plugins/data/public/index.ts", - "deprecated": false + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts" }, { - "parentPluginId": "data", - "id": "def-public.indexPatterns.ILLEGAL_CHARACTERS_VISIBLE", - "type": "Array", - "tags": [], - "label": "ILLEGAL_CHARACTERS_VISIBLE", - "description": [], - "signature": [ - "string[]" - ], - "path": "src/plugins/data/public/index.ts", - "deprecated": false + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/state/dashboard_state_slice.ts" }, { - "parentPluginId": "data", - "id": "def-public.indexPatterns.ILLEGAL_CHARACTERS", - "type": "Array", - "tags": [], - "label": "ILLEGAL_CHARACTERS", - "description": [], - "signature": [ - "string[]" - ], - "path": "src/plugins/data/public/index.ts", - "deprecated": false + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/state/dashboard_state_slice.ts" }, { - "parentPluginId": "data", - "id": "def-public.indexPatterns.isDefault", - "type": "Function", - "tags": [], - "label": "isDefault", - "description": [], - "signature": [ - "(indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IIndexPattern", - "text": "IIndexPattern" - }, - ") => boolean" - ], - "path": "src/plugins/data/public/index.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.indexPattern", - "type": "Object", - "tags": [], - "label": "indexPattern", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IIndexPattern", - "text": "IIndexPattern" - } - ], - "path": "src/plugins/data/common/index_patterns/lib/is_default.ts", - "deprecated": false - } - ] + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/state/dashboard_state_slice.ts" }, { - "parentPluginId": "data", - "id": "def-public.indexPatterns.isFilterable", - "type": "Function", - "tags": [], - "label": "isFilterable", - "description": [], - "signature": [ - "(field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - ") => boolean" - ], - "path": "src/plugins/data/public/index.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.field", - "type": "Object", - "tags": [], - "label": "field", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - } - ], - "path": "src/plugins/data/common/index_patterns/fields/utils.ts", - "deprecated": false - } - ] + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_filter_state.ts" }, { - "parentPluginId": "data", - "id": "def-public.indexPatterns.isNestedField", - "type": "Function", - "tags": [], - "label": "isNestedField", - "description": [], - "signature": [ - "(field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - ") => boolean" - ], - "path": "src/plugins/data/public/index.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.field", - "type": "Object", - "tags": [], - "label": "field", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - } - ], - "path": "src/plugins/data/common/index_patterns/fields/utils.ts", - "deprecated": false - } - ] + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_filter_state.ts" }, { - "parentPluginId": "data", - "id": "def-public.indexPatterns.validate", - "type": "Function", - "tags": [], - "label": "validate", - "description": [], - "signature": [ - "(indexPattern: string) => Record" - ], - "path": "src/plugins/data/public/index.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.indexPattern", - "type": "string", - "tags": [], - "label": "indexPattern", - "description": [], - "path": "src/plugins/data/common/index_patterns/lib/validate_index_pattern.ts", - "deprecated": false - } - ] + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_filter_state.ts" }, { - "parentPluginId": "data", - "id": "def-public.indexPatterns.flattenHitWrapper", - "type": "Function", - "tags": [], - "label": "flattenHitWrapper", - "description": [], - "signature": [ - "(indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - }, - ", metaFields?: {}, cache?: WeakMap) => (hit: Record, deep?: boolean) => Record" - ], - "path": "src/plugins/data/public/index.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.indexPattern", - "type": "Object", - "tags": [], - "label": "indexPattern", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - } - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/flatten_hit.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.metaFields", - "type": "Object", - "tags": [], - "label": "metaFields", - "description": [], - "signature": [ - "{}" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/flatten_hit.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.cache", - "type": "Object", - "tags": [], - "label": "cache", - "description": [], - "signature": [ - "WeakMap" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/flatten_hit.ts", - "deprecated": false - } - ] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.search", - "type": "Object", - "tags": [], - "label": "search", - "description": [], - "path": "src/plugins/data/public/index.ts", - "deprecated": false, - "children": [ + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts" + }, { - "parentPluginId": "data", - "id": "def-public.search.aggs", - "type": "Object", - "tags": [], - "label": "aggs", - "description": [], - "path": "src/plugins/data/public/index.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-public.search.aggs.CidrMask", - "type": "Object", - "tags": [], - "label": "CidrMask", - "description": [], - "signature": [ - "typeof ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.CidrMask", - "text": "CidrMask" - } - ], - "path": "src/plugins/data/public/index.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.search.aggs.dateHistogramInterval", - "type": "Function", - "tags": [], - "label": "dateHistogramInterval", - "description": [], - "signature": [ - "(interval: string) => Interval" - ], - "path": "src/plugins/data/public/index.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.interval", - "type": "string", - "tags": [], - "label": "interval", - "description": [], - "path": "src/plugins/data/common/search/aggs/utils/date_interval_utils/date_histogram_interval.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "data", - "id": "def-public.search.aggs.intervalOptions", - "type": "Array", - "tags": [], - "label": "intervalOptions", - "description": [], - "signature": [ - "({ display: string; val: string; enabled(agg: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.IBucketAggConfig", - "text": "IBucketAggConfig" - }, - "): boolean; } | { display: string; val: string; })[]" - ], - "path": "src/plugins/data/public/index.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.search.aggs.InvalidEsCalendarIntervalError", - "type": "Object", - "tags": [], - "label": "InvalidEsCalendarIntervalError", - "description": [], - "signature": [ - "typeof ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.InvalidEsCalendarIntervalError", - "text": "InvalidEsCalendarIntervalError" - } - ], - "path": "src/plugins/data/public/index.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.search.aggs.InvalidEsIntervalFormatError", - "type": "Object", - "tags": [], - "label": "InvalidEsIntervalFormatError", - "description": [], - "signature": [ - "typeof ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.InvalidEsIntervalFormatError", - "text": "InvalidEsIntervalFormatError" - } - ], - "path": "src/plugins/data/public/index.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.search.aggs.IpAddress", - "type": "Object", - "tags": [], - "label": "IpAddress", - "description": [], - "signature": [ - "typeof ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.IpAddress", - "text": "IpAddress" - } - ], - "path": "src/plugins/data/public/index.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.search.aggs.isDateHistogramBucketAggConfig", - "type": "Function", - "tags": [], - "label": "isDateHistogramBucketAggConfig", - "description": [], - "signature": [ - "(agg: any) => agg is ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.IBucketDateHistogramAggConfig", - "text": "IBucketDateHistogramAggConfig" - } - ], - "path": "src/plugins/data/public/index.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.agg", - "type": "Any", - "tags": [], - "label": "agg", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data/common/search/aggs/buckets/date_histogram.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "data", - "id": "def-public.search.aggs.isNumberType", - "type": "Function", - "tags": [], - "label": "isNumberType", - "description": [], - "signature": [ - "(agg: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.AggConfig", - "text": "AggConfig" - }, - ") => boolean" - ], - "path": "src/plugins/data/public/index.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.agg", - "type": "Object", - "tags": [], - "label": "agg", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.AggConfig", - "text": "AggConfig" - } - ], - "path": "src/plugins/data/common/search/aggs/buckets/migrate_include_exclude_format.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "data", - "id": "def-public.search.aggs.isStringType", - "type": "Function", - "tags": [], - "label": "isStringType", - "description": [], - "signature": [ - "(agg: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.AggConfig", - "text": "AggConfig" - }, - ") => boolean" - ], - "path": "src/plugins/data/public/index.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.agg", - "type": "Object", - "tags": [], - "label": "agg", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.AggConfig", - "text": "AggConfig" - } - ], - "path": "src/plugins/data/common/search/aggs/buckets/migrate_include_exclude_format.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "data", - "id": "def-public.search.aggs.isType", - "type": "Function", - "tags": [], - "label": "isType", - "description": [], - "signature": [ - "(...types: string[]) => (agg: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.AggConfig", - "text": "AggConfig" - }, - ") => boolean" - ], - "path": "src/plugins/data/public/index.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.types", - "type": "Array", - "tags": [], - "label": "types", - "description": [], - "signature": [ - "string[]" - ], - "path": "src/plugins/data/common/search/aggs/buckets/migrate_include_exclude_format.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "data", - "id": "def-public.search.aggs.isValidEsInterval", - "type": "Function", - "tags": [], - "label": "isValidEsInterval", - "description": [], - "signature": [ - "(interval: string) => boolean" - ], - "path": "src/plugins/data/public/index.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.interval", - "type": "string", - "tags": [], - "label": "interval", - "description": [], - "path": "src/plugins/data/common/search/aggs/utils/date_interval_utils/is_valid_es_interval.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "data", - "id": "def-public.search.aggs.isValidInterval", - "type": "Function", - "tags": [], - "label": "isValidInterval", - "description": [], - "signature": [ - "(value: string, baseInterval?: string | undefined) => boolean" - ], - "path": "src/plugins/data/public/index.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.value", - "type": "string", - "tags": [], - "label": "value", - "description": [], - "path": "src/plugins/data/common/search/aggs/utils/date_interval_utils/is_valid_interval.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.baseInterval", - "type": "string", - "tags": [], - "label": "baseInterval", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/search/aggs/utils/date_interval_utils/is_valid_interval.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "data", - "id": "def-public.search.aggs.parentPipelineType", - "type": "string", - "tags": [], - "label": "parentPipelineType", - "description": [], - "path": "src/plugins/data/public/index.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.search.aggs.parseEsInterval", - "type": "Function", - "tags": [], - "label": "parseEsInterval", - "description": [], - "signature": [ - "(interval: string) => { value: number; unit: ", - "Unit", - "; type: \"calendar\" | \"fixed\"; }" - ], - "path": "src/plugins/data/public/index.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.interval", - "type": "string", - "tags": [], - "label": "interval", - "description": [], - "path": "src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_es_interval.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "data", - "id": "def-public.search.aggs.parseInterval", - "type": "Function", - "tags": [], - "label": "parseInterval", - "description": [], - "signature": [ - "(interval: string) => moment.Duration | null" - ], - "path": "src/plugins/data/public/index.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.interval", - "type": "string", - "tags": [], - "label": "interval", - "description": [], - "path": "src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_interval.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "data", - "id": "def-public.search.aggs.propFilter", - "type": "Function", - "tags": [], - "label": "propFilter", - "description": [], - "signature": [ - "

(prop: P) => (list: T[], filters?: string | string[] | FilterFunc) => T[]" - ], - "path": "src/plugins/data/public/index.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.prop", - "type": "Uncategorized", - "tags": [], - "label": "prop", - "description": [], - "signature": [ - "P" - ], - "path": "src/plugins/data/common/search/aggs/utils/prop_filter.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "data", - "id": "def-public.search.aggs.siblingPipelineType", - "type": "string", - "tags": [], - "label": "siblingPipelineType", - "description": [], - "path": "src/plugins/data/public/index.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.search.aggs.termsAggFilter", - "type": "Array", - "tags": [], - "label": "termsAggFilter", - "description": [], - "signature": [ - "string[]" - ], - "path": "src/plugins/data/public/index.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.search.aggs.toAbsoluteDates", - "type": "Function", - "tags": [], - "label": "toAbsoluteDates", - "description": [], - "signature": [ - "(range: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataQueryPluginApi", - "section": "def-common.TimeRange", - "text": "TimeRange" - }, - ") => { from: Date; to: Date; } | undefined" - ], - "path": "src/plugins/data/public/index.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.range", - "type": "Object", - "tags": [], - "label": "range", - "description": [], - "signature": [ - "{ from: string; to: string; mode?: \"absolute\" | \"relative\" | undefined; }" - ], - "path": "src/plugins/data/common/search/aggs/utils/date_interval_utils/to_absolute_dates.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "data", - "id": "def-public.search.aggs.boundsDescendingRaw", - "type": "Array", - "tags": [], - "label": "boundsDescendingRaw", - "description": [], - "signature": [ - "({ bound: number; interval: moment.Duration; boundLabel: string; intervalLabel: string; } | { bound: moment.Duration; interval: moment.Duration; boundLabel: string; intervalLabel: string; })[]" - ], - "path": "src/plugins/data/public/index.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.search.aggs.getNumberHistogramIntervalByDatatableColumn", - "type": "Function", - "tags": [], - "label": "getNumberHistogramIntervalByDatatableColumn", - "description": [], - "signature": [ - "(column: ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.DatatableColumn", - "text": "DatatableColumn" - }, - ") => number | undefined" - ], - "path": "src/plugins/data/public/index.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.column", - "type": "Object", - "tags": [], - "label": "column", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.DatatableColumn", - "text": "DatatableColumn" - } - ], - "path": "src/plugins/data/common/search/aggs/utils/get_number_histogram_interval.ts", - "deprecated": false - } - ] - }, - { - "parentPluginId": "data", - "id": "def-public.search.aggs.getDateHistogramMetaDataByDatatableColumn", - "type": "Function", - "tags": [], - "label": "getDateHistogramMetaDataByDatatableColumn", - "description": [], - "signature": [ - "(column: ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.DatatableColumn", - "text": "DatatableColumn" - }, - ", defaults?: Partial<{ timeZone: string; }>) => { interval: string | undefined; timeZone: string | undefined; timeRange: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataQueryPluginApi", - "section": "def-common.TimeRange", - "text": "TimeRange" - }, - " | undefined; } | undefined" - ], - "path": "src/plugins/data/public/index.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.column", - "type": "Object", - "tags": [], - "label": "column", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.DatatableColumn", - "text": "DatatableColumn" - } - ], - "path": "src/plugins/data/common/search/aggs/utils/get_date_histogram_meta.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.defaults", - "type": "Object", - "tags": [], - "label": "defaults", - "description": [], - "signature": [ - "{ timeZone?: string | undefined; }" - ], - "path": "src/plugins/data/common/search/aggs/utils/get_date_histogram_meta.ts", - "deprecated": false - } - ] - } - ] + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts" }, { - "parentPluginId": "data", - "id": "def-public.search.getResponseInspectorStats", - "type": "Function", - "tags": [], - "label": "getResponseInspectorStats", - "description": [], - "signature": [ - "(resp?: ", - "SearchResponse", - " | undefined, searchSource?: Pick<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSource", - "text": "SearchSource" - }, - ", \"create\" | \"history\" | \"setPreferredSearchStrategyId\" | \"setField\" | \"removeField\" | \"setFields\" | \"getId\" | \"getFields\" | \"getField\" | \"getOwnField\" | \"createCopy\" | \"createChild\" | \"setParent\" | \"getParent\" | \"fetch$\" | \"fetch\" | \"onRequestStart\" | \"getSearchRequestBody\" | \"destroy\" | \"getSerializedFields\" | \"serialize\"> | undefined) => ", - { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.RequestStatistics", - "text": "RequestStatistics" - } - ], - "path": "src/plugins/data/public/index.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.resp", - "type": "Object", - "tags": [], - "label": "resp", - "description": [], - "signature": [ - "SearchResponse", - " | undefined" - ], - "path": "src/plugins/data/common/search/search_source/inspect/inspector_stats.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.searchSource", - "type": "Object", - "tags": [], - "label": "searchSource", - "description": [], - "signature": [ - "Pick<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.SearchSource", - "text": "SearchSource" - }, - ", \"create\" | \"history\" | \"setPreferredSearchStrategyId\" | \"setField\" | \"removeField\" | \"setFields\" | \"getId\" | \"getFields\" | \"getField\" | \"getOwnField\" | \"createCopy\" | \"createChild\" | \"setParent\" | \"getParent\" | \"fetch$\" | \"fetch\" | \"onRequestStart\" | \"getSearchRequestBody\" | \"destroy\" | \"getSerializedFields\" | \"serialize\"> | undefined" - ], - "path": "src/plugins/data/common/search/search_source/inspect/inspector_stats.ts", - "deprecated": false - } - ] + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts" }, { - "parentPluginId": "data", - "id": "def-public.search.tabifyAggResponse", - "type": "Function", - "tags": [], - "label": "tabifyAggResponse", - "description": [], - "signature": [ - "(aggConfigs: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.AggConfigs", - "text": "AggConfigs" - }, - ", esResponse: Record, respOpts?: Partial<", - "TabbedResponseWriterOptions", - "> | undefined) => ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.Datatable", - "text": "Datatable" - } - ], - "path": "src/plugins/data/public/index.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.aggConfigs", - "type": "Object", - "tags": [], - "label": "aggConfigs", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.AggConfigs", - "text": "AggConfigs" - } - ], - "path": "src/plugins/data/common/search/tabify/tabify.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.esResponse", - "type": "Object", - "tags": [], - "label": "esResponse", - "description": [], - "signature": [ - "{ [x: string]: any; }" - ], - "path": "src/plugins/data/common/search/tabify/tabify.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.respOpts", - "type": "Object", - "tags": [], - "label": "respOpts", - "description": [], - "signature": [ - "Partial<", - "TabbedResponseWriterOptions", - "> | undefined" - ], - "path": "src/plugins/data/common/search/tabify/tabify.ts", - "deprecated": false - } - ] + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_container_input.ts" }, { - "parentPluginId": "data", - "id": "def-public.search.tabifyGetColumns", - "type": "Function", - "tags": [], - "label": "tabifyGetColumns", - "description": [], - "signature": [ - "(aggs: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.AggConfig", - "text": "AggConfig" - }, - "[], minimalColumns: boolean) => ", - "TabbedAggColumn", - "[]" - ], - "path": "src/plugins/data/public/index.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-public.aggs", - "type": "Array", - "tags": [], - "label": "aggs", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.AggConfig", - "text": "AggConfig" - }, - "[]" - ], - "path": "src/plugins/data/common/search/tabify/get_columns.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.minimalColumns", - "type": "boolean", - "tags": [], - "label": "minimalColumns", - "description": [], - "path": "src/plugins/data/common/search/tabify/get_columns.ts", - "deprecated": false - } - ] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-public.UI_SETTINGS", - "type": "Object", - "tags": [], - "label": "UI_SETTINGS", - "description": [], - "signature": [ - "{ readonly META_FIELDS: \"metaFields\"; readonly DOC_HIGHLIGHT: \"doc_table:highlight\"; readonly QUERY_STRING_OPTIONS: \"query:queryString:options\"; readonly QUERY_ALLOW_LEADING_WILDCARDS: \"query:allowLeadingWildcards\"; readonly SEARCH_QUERY_LANGUAGE: \"search:queryLanguage\"; readonly SORT_OPTIONS: \"sort:options\"; readonly COURIER_IGNORE_FILTER_IF_FIELD_NOT_IN_INDEX: \"courier:ignoreFilterIfFieldNotInIndex\"; readonly COURIER_SET_REQUEST_PREFERENCE: \"courier:setRequestPreference\"; readonly COURIER_CUSTOM_REQUEST_PREFERENCE: \"courier:customRequestPreference\"; readonly COURIER_MAX_CONCURRENT_SHARD_REQUESTS: \"courier:maxConcurrentShardRequests\"; readonly SEARCH_INCLUDE_FROZEN: \"search:includeFrozen\"; readonly SEARCH_TIMEOUT: \"search:timeout\"; readonly HISTOGRAM_BAR_TARGET: \"histogram:barTarget\"; readonly HISTOGRAM_MAX_BARS: \"histogram:maxBars\"; readonly HISTORY_LIMIT: \"history:limit\"; readonly TIMEPICKER_REFRESH_INTERVAL_DEFAULTS: \"timepicker:refreshIntervalDefaults\"; readonly TIMEPICKER_QUICK_RANGES: \"timepicker:quickRanges\"; readonly TIMEPICKER_TIME_DEFAULTS: \"timepicker:timeDefaults\"; readonly INDEXPATTERN_PLACEHOLDER: \"indexPattern:placeholder\"; readonly FILTERS_PINNED_BY_DEFAULT: \"filters:pinnedByDefault\"; readonly FILTERS_EDITOR_SUGGEST_VALUES: \"filterEditor:suggestValues\"; readonly AUTOCOMPLETE_USE_TIMERANGE: \"autocomplete:useTimeRange\"; readonly AUTOCOMPLETE_VALUE_SUGGESTION_METHOD: \"autocomplete:valueSuggestionMethod\"; }" - ], - "path": "src/plugins/data/common/constants.ts", - "deprecated": false, - "initialIsOpen": false - } - ], - "setup": { - "parentPluginId": "data", - "id": "def-public.DataPublicPluginSetup", - "type": "Interface", - "tags": [], - "label": "DataPublicPluginSetup", + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_container_input.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/embeddable/dashboard_container.tsx" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/locator.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/locator.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/locator.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/locator.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/url_generator.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/url_generator.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/url_generator.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/types.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/types.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/types.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/state_management/types.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/state_management/types.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/fields_accordion.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/fields_accordion.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/common/types/timeline/store.ts" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/common/types/timeline/store.ts" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/store/t_grid/model.ts" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/store/t_grid/model.ts" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/hover_actions/utils.ts" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/hover_actions/utils.ts" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/hover_actions/utils.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/reducers/map/types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/reducers/map/types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/selectors/map_selectors.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/selectors/map_selectors.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/actions/map_actions.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/actions/map_actions.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/join_tooltip_property.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/join_tooltip_property.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_geometry_filter_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_geometry_filter_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/features_tooltip.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/features_tooltip/features_tooltip.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_popover.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_popover.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_control.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/tooltip_control.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/mb_map.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/mb_map/mb_map.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/toolbar_overlay/toolbar_overlay.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/toolbar_overlay/toolbar_overlay.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/map_container/map_container.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/map_container/map_container.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/url_state/global_sync.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/url_state/global_sync.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/url_state/app_state_manager.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/url_state/app_state_manager.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/url_state/app_state_manager.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/index.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/index.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/map_embeddable.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/map_embeddable.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/map_embeddable.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/locators.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/locators.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/locators.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/locators.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/locators.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/components/log_stream/log_stream_embeddable.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/components/log_stream/log_stream_embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/migrations/types.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/migrations/types.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/migrations/types.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/migrations/types.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/migrations/saved_object_migrations.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/migrations/saved_object_migrations.ts" + }, + { + "plugin": "dashboardEnhanced", + "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx" + }, + { + "plugin": "dashboardEnhanced", + "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx" + }, + { + "plugin": "discoverEnhanced", + "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_context_menu_action.ts" + }, + { + "plugin": "discoverEnhanced", + "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_context_menu_action.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/common/types/timeline/store.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/common/types/timeline/store.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/store/inputs/model.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/store/inputs/model.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/store/inputs/actions.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/store/inputs/actions.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/store/inputs/selectors.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/store/inputs/selectors.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/actions.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/actions.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/url_state/helpers.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/url_state/helpers.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/url_state/helpers.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/navigation/helpers.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/navigation/helpers.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/add_filter_to_global_search_bar/helpers.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/add_filter_to_global_search_bar/helpers.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/add_filter_to_global_search_bar/helpers.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/add_filter_to_global_search_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/add_filter_to_global_search_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/navigation/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/navigation/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/navigation/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/alerts_viewer/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/alerts_viewer/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/alerts_viewer/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/alerts_viewer/alerts_table.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/alerts_viewer/alerts_table.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/alerts_viewer/alerts_table.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/navigation/alerts_query_tab_body.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/navigation/alerts_query_tab_body.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_histogram_panel/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_histogram_panel/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/signals_by_category/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/signals_by_category/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/top_n.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/top_n.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/helpers.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/helpers.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_count_panel/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_count_panel/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/navigation/tab_navigation/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/navigation/tab_navigation/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/helpers.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/helpers.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/embeddables/embedded_map_helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/embeddables/embedded_map_helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/embeddables/embedded_map.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/embeddables/embedded_map.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/alerts_by_category/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/alerts_by_category/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/event_counts/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/event_counts/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/ueba/pages/details/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/ueba/pages/details/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/ueba/pages/details/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/ueba/pages/details/helpers.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/ueba/pages/details/helpers.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/ueba/pages/details/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/ueba/pages/details/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/url_state/initialize_redux_by_url.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/url_state/initialize_redux_by_url.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/search_or_filter.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/search_or_filter.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/search_or_filter.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/search_or_filter/index.tsx" + }, + { + "plugin": "urlDrilldown", + "path": "x-pack/plugins/drilldowns/url_drilldown/public/lib/variables/context_variables.ts" + }, + { + "plugin": "urlDrilldown", + "path": "x-pack/plugins/drilldowns/url_drilldown/public/lib/variables/context_variables.ts" + }, + { + "plugin": "urlDrilldown", + "path": "x-pack/plugins/drilldowns/url_drilldown/public/lib/url_drilldown.tsx" + }, + { + "plugin": "urlDrilldown", + "path": "x-pack/plugins/drilldowns/url_drilldown/public/lib/url_drilldown.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/persistence/filter_references.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/persistence/filter_references.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/selectors/map_selectors.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/selectors/map_selectors.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/common/detection_engine/get_query_filter.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/common/detection_engine/get_query_filter.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/common/detection_engine/get_query_filter.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/common/detection_engine/get_query_filter.test.ts" + }, + { + "plugin": "discoverEnhanced", + "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_chart_action.test.ts" + }, + { + "plugin": "discoverEnhanced", + "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_chart_action.test.ts" + }, + { + "plugin": "discoverEnhanced", + "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_chart_action.test.ts" + }, + { + "plugin": "urlDrilldown", + "path": "x-pack/plugins/drilldowns/url_drilldown/public/lib/test/data.ts" + }, + { + "plugin": "urlDrilldown", + "path": "x-pack/plugins/drilldowns/url_drilldown/public/lib/test/data.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/migrations/types.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/migrations/types.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/migrations/types.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/migrations/types.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/tooltips/tooltip_property.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/tooltips/tooltip_property.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/tooltips/tooltip_property.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/tooltips/tooltip_property.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/vector_source/vector_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/vector_source/vector_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/actions/map_actions.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/actions/map_actions.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/url_state/global_sync.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/url_state/global_sync.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/url_state/app_state_manager.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/url_state/app_state_manager.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/routes/map_page/url_state/app_state_manager.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/helpers.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/helpers.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/helpers.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/helpers.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/helpers.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/epic.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/epic.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/map_container/map_container.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/map_container/map_container.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/mb_map.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/mb_map.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/toolbar_overlay/toolbar_overlay.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/toolbar_overlay/toolbar_overlay.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/tooltip_control.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/tooltip_control.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/tooltip_popover.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/tooltip_popover.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/hosts/pages/details/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/hosts/pages/details/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/hosts/pages/details/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/ueba/pages/details/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/ueba/pages/details/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/ueba/pages/details/types.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/draw_control/draw_filter_control/draw_filter_control.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_geometry_filter_form.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_geometry_filter_form.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/feature_properties.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/features_tooltip.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/mb_map/tooltip_control/features_tooltip/features_tooltip.d.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/url_generator.test.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/url_generator.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/control.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/control.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/vis_controller.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/vis_controller.tsx" + }, + { + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_type_timelion/public/helpers/timelion_request_handler.ts" + }, + { + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_type_timelion/public/helpers/timelion_request_handler.ts" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/types.ts" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/types.ts" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/types.ts" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/types.ts" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/utils/utils.ts" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/utils/utils.ts" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/utils/use/use_linked_search_updates.ts" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/utils/use/use_linked_search_updates.ts" + }, + { + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_type_timelion/public/timelion_vis_fn.ts" + }, + { + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_type_timelion/public/timelion_vis_fn.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/move_filters_to_query.test.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/move_filters_to_query.test.ts" + }, + { + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/vega_request_handler.ts" + }, + { + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/vega_request_handler.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/target/types/public/application/types.d.ts" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/target/types/public/application/types.d.ts" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/target/types/public/application/types.d.ts" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/target/types/public/application/types.d.ts" + }, + { + "plugin": "presentationUtil", + "path": "src/plugins/presentation_util/public/components/input_controls/embeddable/types.ts" + }, + { + "plugin": "presentationUtil", + "path": "src/plugins/presentation_util/public/components/input_controls/embeddable/types.ts" + }, + { + "plugin": "presentationUtil", + "path": "src/plugins/presentation_util/public/components/input_controls/embeddable/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context_state.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context_state.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context_state.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/server/lib/detection_engine/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/server/lib/detection_engine/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/descriptor_types/data_request_descriptor_types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/descriptor_types/data_request_descriptor_types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_fn.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_fn.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/map_component.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/map_component.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_visualization.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/legacy_visualizations/region_map/region_map_visualization.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_fn.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_fn.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_visualization.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/legacy_visualizations/tile_map/tile_map_visualization.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/ui_actions/apply_influencer_filters_action.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/ui_actions/apply_influencer_filters_action.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/ui_actions/apply_entity_filters_action.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/ui_actions/apply_entity_filters_action.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/common/types/index.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/common/types/index.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/ueba/pages/navigation/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/ueba/pages/navigation/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/server/lib/detection_engine/signals/threshold/get_threshold_bucket_filters.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/server/lib/detection_engine/signals/threshold/get_threshold_bucket_filters.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/server/lib/detection_engine/signals/threshold/get_threshold_bucket_filters.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/server/lib/detection_engine/signals/threat_mapping/build_threat_mapping_filter.mock.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/server/lib/detection_engine/signals/threat_mapping/build_threat_mapping_filter.mock.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/server/lib/detection_engine/signals/threat_mapping/build_threat_mapping_filter.mock.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/server/lib/detection_engine/signals/threat_mapping/build_threat_mapping_filter.mock.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/server/lib/detection_engine/signals/threshold/get_threshold_bucket_filters.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/server/lib/detection_engine/signals/threshold/get_threshold_bucket_filters.d.ts" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/common/locator.ts" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/common/locator.ts" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/target/types/common/locator.d.ts" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/target/types/common/locator.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_preview/helpers.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_preview/helpers.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_preview/reducer.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_preview/reducer.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/pages/navigation/alerts_query_tab_body.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/pages/navigation/alerts_query_tab_body.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/helpers.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/helpers.test.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.IAggConfig", + "type": "Type", + "tags": [ + "name", + "description" + ], + "label": "IAggConfig", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.AggConfig", + "text": "AggConfig" + } + ], + "path": "src/plugins/data/common/search/aggs/agg_config.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.IAggType", + "type": "Type", + "tags": [], + "label": "IAggType", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.AggType", + "text": "AggType" + }, + "<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.AggConfig", + "text": "AggConfig" + }, + ", ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.AggParamType", + "text": "AggParamType" + }, + "<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.AggConfig", + "text": "AggConfig" + }, + ">>" + ], + "path": "src/plugins/data/common/search/aggs/agg_type.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.IEsSearchResponse", + "type": "Type", + "tags": [], + "label": "IEsSearchResponse", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.IKibanaSearchResponse", + "text": "IKibanaSearchResponse" + }, + "<", + "SearchResponse", + ">" + ], + "path": "src/plugins/data/common/search/strategies/es_search/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.IFieldParamType", + "type": "Type", + "tags": [], + "label": "IFieldParamType", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.FieldParamType", + "text": "FieldParamType" + } + ], + "path": "src/plugins/data/common/search/aggs/param_types/field.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.IFieldSubType", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IFieldSubType", + "description": [], + "signature": [ + "IFieldSubType" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/common/types/timeline/columns/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/common/types/timeline/columns/index.tsx" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.IMetricAggType", + "type": "Type", + "tags": [], + "label": "IMetricAggType", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.MetricAggType", + "text": "MetricAggType" + }, + "<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.IMetricAggConfig", + "text": "IMetricAggConfig" + }, + ">" + ], + "path": "src/plugins/data/common/search/aggs/metrics/metric_agg_type.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.INDEX_PATTERN_SAVED_OBJECT_TYPE", + "type": "string", + "tags": [ + "deprecated" + ], + "label": "INDEX_PATTERN_SAVED_OBJECT_TYPE", + "description": [], + "signature": [ + "\"index-pattern\"" + ], + "path": "src/plugins/data/common/constants.ts", + "deprecated": true, + "references": [ + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.IndexPatternAttributes", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IndexPatternAttributes", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + } + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": true, + "references": [ + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/lib/es_service.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/lib/es_service.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/lib/es_service.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_route.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_route.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_route.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/common/types/kibana.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/common/types/kibana.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/common/types/kibana.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/common/types/kibana.d.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.IndexPatternListItem", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IndexPatternListItem", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewListItem", + "text": "DataViewListItem" + } + ], + "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", + "deprecated": true, + "references": [ + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.IndexPatternLoadExpressionFunctionDefinition", + "type": "Type", + "tags": [], + "label": "IndexPatternLoadExpressionFunctionDefinition", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"indexPatternLoad\", null, Arguments, Output, ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + "SerializableRecord", + ">>" + ], + "path": "src/plugins/data/common/index_patterns/expressions/load_index_pattern.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.IndexPatternsContract", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IndexPatternsContract", + "description": [], + "signature": [ + "{ get: (id: string) => Promise<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; delete: (indexPatternId: string) => Promise<{}>; create: (spec: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", skipFetchFields?: boolean) => Promise<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; find: (search: string, size?: number) => Promise<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + "[]>; ensureDefaultIndexPattern: ", + "EnsureDefaultDataView", + "; getIds: (refresh?: boolean) => Promise; getTitles: (refresh?: boolean) => Promise; getIdsWithTitle: (refresh?: boolean) => Promise<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewListItem", + "text": "DataViewListItem" + }, + "[]>; clearCache: (id?: string | undefined) => void; getCache: () => Promise<", + "SavedObject", + ">[] | null | undefined>; getDefault: () => Promise<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | null>; getDefaultId: () => Promise; setDefault: (id: string | null, force?: boolean) => Promise; hasUserIndexPattern: () => Promise; getFieldsForWildcard: (options: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + ") => Promise; getFieldsForIndexPattern: (indexPattern: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", options?: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + " | undefined) => Promise; refreshFields: (indexPattern: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ") => Promise; fieldArrayToMap: (fields: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[], fieldAttrs?: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.FieldAttrs", + "text": "FieldAttrs" + }, + " | undefined) => Record; savedObjectToSpec: (savedObject: ", + "SavedObject", + "<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + }, + ">) => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + "; createAndSave: (spec: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", override?: boolean, skipFetchFields?: boolean) => Promise<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; createSavedObject: (indexPattern: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", override?: boolean) => Promise<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; updateSavedObject: (indexPattern: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", saveAttempts?: number, ignoreErrors?: boolean) => Promise; }" + ], + "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", + "deprecated": true, + "references": [ + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_index_pattern.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_index_pattern.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/logs/log_source/log_source.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/logs/log_source/log_source.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/build_services.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/build_services.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/kibana_services.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_data_grid_columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_data_grid_columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/actions/columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/actions/columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/doc/components/doc.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/doc/components/doc.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/anchor.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/anchor.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/test_helpers/make_default_services.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/test_helpers/make_default_services.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable_factory.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable_factory.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/dependency_cache.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/dependency_cache.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/routing/resolvers.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/routing/resolvers.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/routing/router.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/routing/router.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/ml_context.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/ml_context.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/application.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/application.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/__mocks__/index_patterns.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/__mocks__/index_patterns.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/routing/router.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/routing/router.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/util/dependency_cache.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/util/dependency_cache.d.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx" + }, + { + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_type_timelion/public/helpers/plugin_services.ts" + }, + { + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_type_timelion/public/helpers/plugin_services.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.test.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.test.ts" + }, + { + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_type_timelion/public/components/timelion_expression_input_helpers.test.ts" + }, + { + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_type_timelion/public/components/timelion_expression_input_helpers.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/build_services.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/build_services.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/_stubs.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/_stubs.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/doc/components/doc.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/doc/components/doc.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/lazy_load_bundle/index.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/lazy_load_bundle/index.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.IndexPatternSpec", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IndexPatternSpec", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": true, + "references": [ + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/shared_imports.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/components/index_pattern_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/components/index_pattern_flyout_content_container.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.ISearchGeneric", + "type": "Type", + "tags": [], + "label": "ISearchGeneric", + "description": [], + "signature": [ + " = ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.IEsSearchRequest", + "text": "IEsSearchRequest" + }, + ", SearchStrategyResponse extends ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.IKibanaSearchResponse", + "text": "IKibanaSearchResponse" + }, + " = ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.IEsSearchResponse", + "text": "IEsSearchResponse" + }, + ">(request: SearchStrategyRequest, options?: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.ISearchOptions", + "text": "ISearchOptions" + }, + " | undefined) => ", + "Observable", + "" + ], + "path": "src/plugins/data/common/search/types.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.ISearchGeneric.$1", + "type": "Uncategorized", + "tags": [], + "label": "request", + "description": [], + "signature": [ + "SearchStrategyRequest" + ], + "path": "src/plugins/data/common/search/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.ISearchGeneric.$2", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.ISearchOptions", + "text": "ISearchOptions" + }, + " | undefined" + ], + "path": "src/plugins/data/common/search/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.ISearchSource", + "type": "Type", + "tags": [], + "label": "ISearchSource", + "description": [ + "\nsearch source interface" + ], + "signature": [ + "{ create: () => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSource", + "text": "SearchSource" + }, + "; history: Record[]; setPreferredSearchStrategyId: (searchStrategyId: string) => void; setField: (field: K, value: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSourceFields", + "text": "SearchSourceFields" + }, + "[K]) => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSource", + "text": "SearchSource" + }, + "; removeField: (field: K) => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSource", + "text": "SearchSource" + }, + "; setFields: (newFields: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSourceFields", + "text": "SearchSourceFields" + }, + ") => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSource", + "text": "SearchSource" + }, + "; getId: () => string; getFields: () => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSourceFields", + "text": "SearchSourceFields" + }, + "; getField: (field: K, recurse?: boolean) => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSourceFields", + "text": "SearchSourceFields" + }, + "[K]; getOwnField: (field: K) => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSourceFields", + "text": "SearchSourceFields" + }, + "[K]; createCopy: () => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSource", + "text": "SearchSource" + }, + "; createChild: (options?: {}) => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSource", + "text": "SearchSource" + }, + "; setParent: (parent?: Pick<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSource", + "text": "SearchSource" + }, + ", \"create\" | \"history\" | \"setPreferredSearchStrategyId\" | \"setField\" | \"removeField\" | \"setFields\" | \"getId\" | \"getFields\" | \"getField\" | \"getOwnField\" | \"createCopy\" | \"createChild\" | \"setParent\" | \"getParent\" | \"fetch$\" | \"fetch\" | \"onRequestStart\" | \"getSearchRequestBody\" | \"destroy\" | \"getSerializedFields\" | \"serialize\"> | undefined, options?: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSourceOptions", + "text": "SearchSourceOptions" + }, + ") => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSource", + "text": "SearchSource" + }, + "; getParent: () => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSource", + "text": "SearchSource" + }, + " | undefined; fetch$: (options?: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.ISearchOptions", + "text": "ISearchOptions" + }, + ") => ", + "Observable", + "<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.IKibanaSearchResponse", + "text": "IKibanaSearchResponse" + }, + "<", + "SearchResponse", + ">>; fetch: (options?: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.ISearchOptions", + "text": "ISearchOptions" + }, + ") => Promise<", + "SearchResponse", + ">; onRequestStart: (handler: (searchSource: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSource", + "text": "SearchSource" + }, + ", options?: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.ISearchOptions", + "text": "ISearchOptions" + }, + " | undefined) => Promise) => void; getSearchRequestBody: () => any; destroy: () => void; getSerializedFields: (recurse?: boolean) => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSourceFields", + "text": "SearchSourceFields" + }, + "; serialize: () => { searchSourceJSON: string; references: ", + "SavedObjectReference", + "[]; }; }" + ], + "path": "src/plugins/data/common/search/search_source/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.KibanaContext", + "type": "Type", + "tags": [], + "label": "KibanaContext", + "description": [], + "signature": [ + "{ type: \"kibana_context\"; } & ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.ExecutionContextSearch", + "text": "ExecutionContextSearch" + } + ], + "path": "src/plugins/data/common/search/expressions/kibana_context_type.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.KueryNode", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "KueryNode", + "description": [], + "signature": [ + "KueryNode" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "cases", + "path": "x-pack/plugins/cases/server/common/types.ts" + }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/server/common/types.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/rules_client/rules_client.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/rules_client/rules_client.ts" + }, + { + "plugin": "alerting", + "path": "x-pack/plugins/alerting/server/rules_client/rules_client.ts" + }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/server/authorization/types.ts" + }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/server/authorization/types.ts" + }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/server/authorization/utils.ts" + }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/server/authorization/utils.ts" + }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/server/authorization/utils.ts" + }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/server/authorization/utils.ts" + }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/server/authorization/utils.ts" + }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/server/client/utils.ts" + }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/server/client/utils.ts" + }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/server/client/utils.ts" + }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/server/client/utils.ts" + }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/server/client/utils.ts" + }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/server/client/utils.ts" + }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/server/client/utils.ts" + }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/server/client/utils.ts" + }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/server/client/utils.ts" + }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/server/client/utils.ts" + }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/server/client/utils.ts" + }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/server/client/utils.ts" + }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/server/client/utils.ts" + }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/server/client/utils.ts" + }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/server/client/utils.ts" + }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/server/client/utils.ts" + }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/server/client/utils.ts" + }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/server/services/cases/index.ts" + }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/server/services/cases/index.ts" + }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/server/services/cases/index.ts" + }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/server/services/cases/index.ts" + }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/server/services/cases/index.ts" + }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/server/services/attachments/index.ts" + }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/server/services/attachments/index.ts" + }, + { + "plugin": "dataEnhanced", + "path": "x-pack/plugins/data_enhanced/server/search/session/types.ts" + }, + { + "plugin": "dataEnhanced", + "path": "x-pack/plugins/data_enhanced/server/search/session/types.ts" + }, + { + "plugin": "dataEnhanced", + "path": "x-pack/plugins/data_enhanced/server/search/session/get_search_session_page.ts" + }, + { + "plugin": "dataEnhanced", + "path": "x-pack/plugins/data_enhanced/server/search/session/get_search_session_page.ts" + }, + { + "plugin": "dataEnhanced", + "path": "x-pack/plugins/data_enhanced/server/search/session/check_persisted_sessions.ts" + }, + { + "plugin": "dataEnhanced", + "path": "x-pack/plugins/data_enhanced/server/search/session/check_persisted_sessions.ts" + }, + { + "plugin": "dataEnhanced", + "path": "x-pack/plugins/data_enhanced/server/search/session/check_non_persisted_sessions.ts" + }, + { + "plugin": "dataEnhanced", + "path": "x-pack/plugins/data_enhanced/server/search/session/check_non_persisted_sessions.ts" + }, + { + "plugin": "dataEnhanced", + "path": "x-pack/plugins/data_enhanced/server/search/session/expire_persisted_sessions.ts" + }, + { + "plugin": "dataEnhanced", + "path": "x-pack/plugins/data_enhanced/server/search/session/expire_persisted_sessions.ts" + }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/target/types/server/authorization/types.d.ts" + }, + { + "plugin": "cases", + "path": "x-pack/plugins/cases/target/types/server/authorization/types.d.ts" + }, + { + "plugin": "dataEnhanced", + "path": "x-pack/plugins/data_enhanced/target/types/server/search/session/types.d.ts" + }, + { + "plugin": "dataEnhanced", + "path": "x-pack/plugins/data_enhanced/target/types/server/search/session/types.d.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.MatchAllFilter", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "MatchAllFilter", + "description": [], + "signature": [ + "Filter", + " & { meta: ", + "MatchAllFilterMeta", + "; match_all: ", + "QueryDslMatchAllQuery", + "; }" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.ParsedInterval", + "type": "Type", + "tags": [], + "label": "ParsedInterval", + "description": [], + "signature": [ + "{ value: number; unit: ", + "Unit", + "; type: \"calendar\" | \"fixed\"; }" + ], + "path": "src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_es_interval.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.PhraseFilter", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "PhraseFilter", + "description": [], + "signature": [ + "Filter", + " & { meta: ", + "PhraseFilterMeta", + "; query: { match_phrase?: Record | undefined; match?: Record | undefined; }; }" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.PhrasesFilter", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "PhrasesFilter", + "description": [], + "signature": [ + "Filter", + " & { meta: ", + "PhrasesFilterMeta", + "; query: ", + "QueryDslQueryContainer", + "; }" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.Query", + "type": "Type", + "tags": [], + "label": "Query", + "description": [], + "signature": [ + "{ query: string | { [key: string]: any; }; language: string; }" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/types.d.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.RangeFilter", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "RangeFilter", + "description": [], + "signature": [ + "Filter", + " & { meta: ", + "RangeFilterMeta", + "; range: { [key: string]: ", + "RangeFilterParams", + "; }; }" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "discoverEnhanced", + "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_chart_action.test.ts" + }, + { + "plugin": "discoverEnhanced", + "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_chart_action.test.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.RangeFilterMeta", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "RangeFilterMeta", + "description": [], + "signature": [ + "FilterMeta", + " & { params: ", + "RangeFilterParams", + "; field?: string | undefined; formattedValue?: string | undefined; }" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.RangeFilterParams", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "RangeFilterParams", + "description": [], + "signature": [ + "RangeFilterParams" + ], + "path": "src/plugins/data/common/es_query/index.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_type_timelion/public/components/timelion_vis_component.tsx" + }, + { + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_type_timelion/public/components/timelion_vis_component.tsx" + }, + { + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_type_timelion/public/timelion_vis_renderer.tsx" + }, + { + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_type_timelion/public/timelion_vis_renderer.tsx" + }, + { + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_type_timelion/public/legacy/timelion_vis_component.tsx" + }, + { + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_type_timelion/public/legacy/timelion_vis_component.tsx" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.RefreshInterval", + "type": "Type", + "tags": [], + "label": "RefreshInterval", + "description": [], + "signature": [ + "{ pause: boolean; value: number; }" + ], + "path": "src/plugins/data/common/query/timefilter/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.TimeRange", + "type": "Type", + "tags": [], + "label": "TimeRange", + "description": [], + "signature": [ + "{ from: string; to: string; mode?: \"absolute\" | \"relative\" | undefined; }" + ], + "path": "src/plugins/data/common/query/timefilter/types.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "objects": [ + { + "parentPluginId": "data", + "id": "def-public.AggGroupLabels", + "type": "Object", + "tags": [], + "label": "AggGroupLabels", + "description": [], + "path": "src/plugins/data/common/search/aggs/agg_groups.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-public.AggGroupLabels.AggGroupNames.Buckets", + "type": "string", + "tags": [], + "label": "[AggGroupNames.Buckets]", + "description": [], + "path": "src/plugins/data/common/search/aggs/agg_groups.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.AggGroupLabels.AggGroupNames.Metrics", + "type": "string", + "tags": [], + "label": "[AggGroupNames.Metrics]", + "description": [], + "path": "src/plugins/data/common/search/aggs/agg_groups.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.AggGroupLabels.AggGroupNames.None", + "type": "string", + "tags": [], + "label": "[AggGroupNames.None]", + "description": [], + "path": "src/plugins/data/common/search/aggs/agg_groups.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.AggGroupNames", + "type": "Object", + "tags": [], + "label": "AggGroupNames", + "description": [], + "signature": [ + "{ readonly Buckets: \"buckets\"; readonly Metrics: \"metrics\"; readonly None: \"none\"; }" + ], + "path": "src/plugins/data/common/search/aggs/agg_groups.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters", + "type": "Object", + "tags": [ + "deprecated" + ], + "label": "esFilters", + "description": [ + "\nFilter helpers namespace:" + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "discover", + "path": "src/plugins/discover/public/url_generator.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/url_generator.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/url_generator.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/locator.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/locator.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/locator.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_context_url.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_context_url.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_layout.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_layout.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/plugin.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/plugin.tsx" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/save_dashboard.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/save_dashboard.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_container_input.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_container_input.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_container_input.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/plugin.tsx" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/plugin.tsx" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/locator.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/locator.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/url_generator.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/url_generator.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/url_generator.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/app_plugin/save_modal_container.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/app_plugin/save_modal_container.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/url_state/app_sync.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/url_state/app_sync.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/map_embeddable.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/map_embeddable.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/locators.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/locators.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/locators.ts" + }, + { + "plugin": "dashboardEnhanced", + "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx" + }, + { + "plugin": "dashboardEnhanced", + "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx" + }, + { + "plugin": "dashboardEnhanced", + "path": "x-pack/plugins/dashboard_enhanced/public/services/drilldowns/embeddable_to_dashboard_drilldown/embeddable_to_dashboard_drilldown.tsx" + }, + { + "plugin": "discoverEnhanced", + "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_chart_action.ts" + }, + { + "plugin": "discoverEnhanced", + "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_chart_action.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/locators.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/locators.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/mocks.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/mocks.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/state_management/time_range_middleware.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/state_management/time_range_middleware.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/helpers.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/helpers.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/epic.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/epic.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/store/timeline/epic.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/all/__mocks__/mock.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/all/__mocks__/mock.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/pages/detection_engine/rules/all/__mocks__/mock.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/locator.test.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/locator.test.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/url_generator.test.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/url_generator.test.ts" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/utils/use/use_visualize_app_state.tsx" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/utils/use/use_visualize_app_state.tsx" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/plugin.ts" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/plugin.ts" + }, + { + "plugin": "timelion", + "path": "src/plugins/timelion/public/plugin.ts" + }, + { + "plugin": "timelion", + "path": "src/plugins/timelion/public/plugin.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/move_filters_to_query.test.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/move_filters_to_query.test.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/move_filters_to_query.test.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/listing/get_dashboard_list_item_link.test.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/listing/get_dashboard_list_item_link.test.ts" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/utils/get_visualize_list_item_link.test.ts" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/utils/get_visualize_list_item_link.test.ts" + }, + { + "plugin": "presentationUtil", + "path": "src/plugins/presentation_util/public/components/input_controls/control_types/options_list/options_list_embeddable.tsx" + }, + { + "plugin": "presentationUtil", + "path": "src/plugins/presentation_util/public/components/input_controls/control_types/options_list/options_list_embeddable.tsx" + } + ], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.esFilters.FilterLabel", + "type": "Function", + "tags": [], + "label": "FilterLabel", + "description": [], + "signature": [ + "(props: ", + "FilterLabelProps", + ") => JSX.Element" + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.esFilters.FilterLabel.$1", + "type": "Object", + "tags": [], + "label": "props", + "description": [], + "signature": [ + "FilterLabelProps" + ], + "path": "src/plugins/data/public/ui/filter_bar/index.tsx", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.FilterItem", + "type": "Function", + "tags": [], + "label": "FilterItem", + "description": [], + "signature": [ + "(props: ", + "FilterItemProps", + ") => JSX.Element" + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.esFilters.FilterItem.$1", + "type": "Object", + "tags": [], + "label": "props", + "description": [], + "signature": [ + "FilterItemProps" + ], + "path": "src/plugins/data/public/ui/filter_bar/index.tsx", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.FILTERS", + "type": "Object", + "tags": [], + "label": "FILTERS", + "description": [], + "signature": [ + "typeof ", + "FILTERS" + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.FilterStateStore", + "type": "Object", + "tags": [], + "label": "FilterStateStore", + "description": [], + "signature": [ + "typeof ", + "FilterStateStore" + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.buildEmptyFilter", + "type": "Function", + "tags": [], + "label": "buildEmptyFilter", + "description": [], + "signature": [ + "(isPinned: boolean, index?: string | undefined) => ", + "Filter" + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.esFilters.buildEmptyFilter.$1", + "type": "boolean", + "tags": [], + "label": "isPinned", + "description": [], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_empty_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.buildEmptyFilter.$2", + "type": "string", + "tags": [], + "label": "index", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_empty_filter.d.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.buildPhrasesFilter", + "type": "Function", + "tags": [], + "label": "buildPhrasesFilter", + "description": [], + "signature": [ + "(field: ", + "DataViewFieldBase", + ", params: ", + "PhraseFilterValue", + "[], indexPattern: ", + "DataViewBase", + ") => ", + "PhrasesFilter" + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.esFilters.buildPhrasesFilter.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + "DataViewFieldBase" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrases_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.buildPhrasesFilter.$2", + "type": "Array", + "tags": [], + "label": "params", + "description": [], + "signature": [ + "PhraseFilterValue", + "[]" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrases_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.buildPhrasesFilter.$3", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + "DataViewBase" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrases_filter.d.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.buildExistsFilter", + "type": "Function", + "tags": [], + "label": "buildExistsFilter", + "description": [], + "signature": [ + "(field: ", + "DataViewFieldBase", + ", indexPattern: ", + "DataViewBase", + ") => ", + "ExistsFilter" + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.esFilters.buildExistsFilter.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + "DataViewFieldBase" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/exists_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.buildExistsFilter.$2", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + "DataViewBase" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/exists_filter.d.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.buildPhraseFilter", + "type": "Function", + "tags": [], + "label": "buildPhraseFilter", + "description": [], + "signature": [ + "(field: ", + "DataViewFieldBase", + ", value: ", + "PhraseFilterValue", + ", indexPattern: ", + "DataViewBase", + ") => ", + "PhraseFilter", + " | ", + "ScriptedPhraseFilter" + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.esFilters.buildPhraseFilter.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + "DataViewFieldBase" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.buildPhraseFilter.$2", + "type": "CompoundType", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "string | number | boolean" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.buildPhraseFilter.$3", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + "DataViewBase" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.buildQueryFilter", + "type": "Function", + "tags": [], + "label": "buildQueryFilter", + "description": [], + "signature": [ + "(query: (Record & { query_string?: { query: string; } | undefined; }) | undefined, index: string, alias: string) => ", + "QueryStringFilter" + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.esFilters.buildQueryFilter.$1", + "type": "CompoundType", + "tags": [], + "label": "query", + "description": [], + "signature": [ + "(Record & { query_string?: { query: string; } | undefined; }) | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/query_string_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.buildQueryFilter.$2", + "type": "string", + "tags": [], + "label": "index", + "description": [], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/query_string_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.buildQueryFilter.$3", + "type": "string", + "tags": [], + "label": "alias", + "description": [], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/query_string_filter.d.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.buildRangeFilter", + "type": "Function", + "tags": [], + "label": "buildRangeFilter", + "description": [], + "signature": [ + "(field: ", + "DataViewFieldBase", + ", params: ", + "RangeFilterParams", + ", indexPattern: ", + "DataViewBase", + ", formattedValue?: string | undefined) => ", + "RangeFilter", + " | ", + "ScriptedRangeFilter", + " | ", + "MatchAllRangeFilter" + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.esFilters.buildRangeFilter.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + "DataViewFieldBase" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.buildRangeFilter.$2", + "type": "Object", + "tags": [], + "label": "params", + "description": [], + "signature": [ + "RangeFilterParams" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.buildRangeFilter.$3", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + "DataViewBase" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.buildRangeFilter.$4", + "type": "string", + "tags": [], + "label": "formattedValue", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.isPhraseFilter", + "type": "Function", + "tags": [], + "label": "isPhraseFilter", + "description": [], + "signature": [ + "(filter: ", + "Filter", + ") => filter is ", + "PhraseFilter" + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.esFilters.isPhraseFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + "FilterStateStore", + "; } | undefined; meta: ", + "FilterMeta", + "; query?: Record | undefined; }" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.isExistsFilter", + "type": "Function", + "tags": [], + "label": "isExistsFilter", + "description": [], + "signature": [ + "(filter: ", + "Filter", + ") => filter is ", + "ExistsFilter" + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.esFilters.isExistsFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + "FilterStateStore", + "; } | undefined; meta: ", + "FilterMeta", + "; query?: Record | undefined; }" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/exists_filter.d.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.isPhrasesFilter", + "type": "Function", + "tags": [], + "label": "isPhrasesFilter", + "description": [], + "signature": [ + "(filter: ", + "Filter", + ") => filter is ", + "PhrasesFilter" + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.esFilters.isPhrasesFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + "FilterStateStore", + "; } | undefined; meta: ", + "FilterMeta", + "; query?: Record | undefined; }" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrases_filter.d.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.isRangeFilter", + "type": "Function", + "tags": [], + "label": "isRangeFilter", + "description": [], + "signature": [ + "(filter?: ", + "Filter", + " | undefined) => filter is ", + "RangeFilter" + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.esFilters.isRangeFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "Filter", + " | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.isMatchAllFilter", + "type": "Function", + "tags": [], + "label": "isMatchAllFilter", + "description": [], + "signature": [ + "(filter: ", + "Filter", + ") => filter is ", + "MatchAllFilter" + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.esFilters.isMatchAllFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + "FilterStateStore", + "; } | undefined; meta: ", + "FilterMeta", + "; query?: Record | undefined; }" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/match_all_filter.d.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.isMissingFilter", + "type": "Function", + "tags": [], + "label": "isMissingFilter", + "description": [], + "signature": [ + "(filter: ", + "Filter", + ") => filter is ", + "MissingFilter" + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.esFilters.isMissingFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + "FilterStateStore", + "; } | undefined; meta: ", + "FilterMeta", + "; query?: Record | undefined; }" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/missing_filter.d.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.isQueryStringFilter", + "type": "Function", + "tags": [], + "label": "isQueryStringFilter", + "description": [], + "signature": [ + "(filter: ", + "Filter", + ") => filter is ", + "QueryStringFilter" + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.esFilters.isQueryStringFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + "FilterStateStore", + "; } | undefined; meta: ", + "FilterMeta", + "; query?: Record | undefined; }" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/query_string_filter.d.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.isFilterPinned", + "type": "Function", + "tags": [], + "label": "isFilterPinned", + "description": [], + "signature": [ + "(filter: ", + "Filter", + ") => boolean | undefined" + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.esFilters.isFilterPinned.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + "FilterStateStore", + "; } | undefined; meta: ", + "FilterMeta", + "; query?: Record | undefined; }" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.toggleFilterNegated", + "type": "Function", + "tags": [], + "label": "toggleFilterNegated", + "description": [], + "signature": [ + "(filter: ", + "Filter", + ") => { meta: { negate: boolean; alias?: string | null | undefined; disabled?: boolean | undefined; controlledBy?: string | undefined; index?: string | undefined; isMultiIndex?: boolean | undefined; type?: string | undefined; key?: string | undefined; params?: any; value?: string | undefined; }; $state?: { store: ", + "FilterStateStore", + "; } | undefined; query?: Record | undefined; }" + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.esFilters.toggleFilterNegated.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + "FilterStateStore", + "; } | undefined; meta: ", + "FilterMeta", + "; query?: Record | undefined; }" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.disableFilter", + "type": "Function", + "tags": [], + "label": "disableFilter", + "description": [], + "signature": [ + "(filter: ", + "Filter", + ") => ", + "Filter" + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.esFilters.disableFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + "FilterStateStore", + "; } | undefined; meta: ", + "FilterMeta", + "; query?: Record | undefined; }" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/meta_filter.d.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.getPhraseFilterField", + "type": "Function", + "tags": [], + "label": "getPhraseFilterField", + "description": [], + "signature": [ + "(filter: ", + "PhraseFilter", + ") => string" + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.esFilters.getPhraseFilterField.$1", + "type": "CompoundType", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "Filter", + " & { meta: ", + "PhraseFilterMeta", + "; query: { match_phrase?: Record | undefined; match?: Record | undefined; }; }" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.getPhraseFilterValue", + "type": "Function", + "tags": [], + "label": "getPhraseFilterValue", + "description": [], + "signature": [ + "(filter: ", + "PhraseFilter", + " | ", + "ScriptedPhraseFilter", + ") => ", + "PhraseFilterValue" + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.esFilters.getPhraseFilterValue.$1", + "type": "CompoundType", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "PhraseFilter", + " | ", + "ScriptedPhraseFilter" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.getDisplayValueFromFilter", + "type": "Function", + "tags": [], + "label": "getDisplayValueFromFilter", + "description": [], + "signature": [ + "(filter: ", + "Filter", + ", indexPatterns: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IIndexPattern", + "text": "IIndexPattern" + }, + "[]) => string" + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.esFilters.getDisplayValueFromFilter.$1", + "type": "Object", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "{ $state?: { store: ", + "FilterStateStore", + "; } | undefined; meta: ", + "FilterMeta", + "; query?: Record | undefined; }" + ], + "path": "src/plugins/data/public/query/filter_manager/lib/get_display_value.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.getDisplayValueFromFilter.$2", + "type": "Array", + "tags": [], + "label": "indexPatterns", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IIndexPattern", + "text": "IIndexPattern" + }, + "[]" + ], + "path": "src/plugins/data/public/query/filter_manager/lib/get_display_value.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.compareFilters", + "type": "Function", + "tags": [], + "label": "compareFilters", + "description": [], + "signature": [ + "(first: ", + "Filter", + " | ", + "Filter", + "[], second: ", + "Filter", + " | ", + "Filter", + "[], comparatorOptions?: ", + "FilterCompareOptions", + " | undefined) => boolean" + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.esFilters.compareFilters.$1", + "type": "CompoundType", + "tags": [], + "label": "first", + "description": [], + "signature": [ + "Filter", + " | ", + "Filter", + "[]" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/compare_filters.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.compareFilters.$2", + "type": "CompoundType", + "tags": [], + "label": "second", + "description": [], + "signature": [ + "Filter", + " | ", + "Filter", + "[]" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/compare_filters.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.compareFilters.$3", + "type": "Object", + "tags": [], + "label": "comparatorOptions", + "description": [], + "signature": [ + "FilterCompareOptions", + " | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/compare_filters.d.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.COMPARE_ALL_OPTIONS", + "type": "Object", + "tags": [], + "label": "COMPARE_ALL_OPTIONS", + "description": [], + "signature": [ + "FilterCompareOptions" + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.generateFilters", + "type": "Function", + "tags": [], + "label": "generateFilters", + "description": [], + "signature": [ + "(filterManager: ", + { + "pluginId": "data", + "scope": "public", + "docId": "kibDataQueryPluginApi", + "section": "def-public.FilterManager", + "text": "FilterManager" + }, + ", field: string | ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + ", values: any, operation: string, index: string) => ", + "Filter", + "[]" + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.esFilters.generateFilters.$1", + "type": "Object", + "tags": [], + "label": "filterManager", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "public", + "docId": "kibDataQueryPluginApi", + "section": "def-public.FilterManager", + "text": "FilterManager" + } + ], + "path": "src/plugins/data/public/query/filter_manager/lib/generate_filters.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.generateFilters.$2", + "type": "CompoundType", + "tags": [], + "label": "field", + "description": [], + "signature": [ + "string | ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + } + ], + "path": "src/plugins/data/public/query/filter_manager/lib/generate_filters.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.generateFilters.$3", + "type": "Any", + "tags": [], + "label": "values", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data/public/query/filter_manager/lib/generate_filters.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.generateFilters.$4", + "type": "string", + "tags": [], + "label": "operation", + "description": [], + "path": "src/plugins/data/public/query/filter_manager/lib/generate_filters.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.generateFilters.$5", + "type": "string", + "tags": [], + "label": "index", + "description": [], + "path": "src/plugins/data/public/query/filter_manager/lib/generate_filters.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.onlyDisabledFiltersChanged", + "type": "Function", + "tags": [], + "label": "onlyDisabledFiltersChanged", + "description": [], + "signature": [ + "(newFilters?: ", + "Filter", + "[] | undefined, oldFilters?: ", + "Filter", + "[] | undefined) => boolean" + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.esFilters.onlyDisabledFiltersChanged.$1", + "type": "Array", + "tags": [], + "label": "newFilters", + "description": [], + "signature": [ + "Filter", + "[] | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/only_disabled.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.onlyDisabledFiltersChanged.$2", + "type": "Array", + "tags": [], + "label": "oldFilters", + "description": [], + "signature": [ + "Filter", + "[] | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/filters/helpers/only_disabled.d.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.changeTimeFilter", + "type": "Function", + "tags": [], + "label": "changeTimeFilter", + "description": [], + "signature": [ + "(timeFilter: Pick<", + "Timefilter", + ", \"isTimeRangeSelectorEnabled\" | \"isAutoRefreshSelectorEnabled\" | \"isTimeTouched\" | \"getEnabledUpdated$\" | \"getTimeUpdate$\" | \"getRefreshIntervalUpdate$\" | \"getAutoRefreshFetch$\" | \"getFetch$\" | \"getTime\" | \"getAbsoluteTime\" | \"setTime\" | \"getRefreshInterval\" | \"setRefreshInterval\" | \"createFilter\" | \"getBounds\" | \"calculateBounds\" | \"getActiveBounds\" | \"enableTimeRangeSelector\" | \"disableTimeRangeSelector\" | \"enableAutoRefreshSelector\" | \"disableAutoRefreshSelector\" | \"getTimeDefaults\" | \"getRefreshIntervalDefaults\">, filter: ", + "RangeFilter", + ") => void" + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.esFilters.changeTimeFilter.$1", + "type": "Object", + "tags": [], + "label": "timeFilter", + "description": [], + "signature": [ + "{ isTimeRangeSelectorEnabled: () => boolean; isAutoRefreshSelectorEnabled: () => boolean; isTimeTouched: () => boolean; getEnabledUpdated$: () => ", + "Observable", + "; getTimeUpdate$: () => ", + "Observable", + "; getRefreshIntervalUpdate$: () => ", + "Observable", + "; getAutoRefreshFetch$: () => ", + "Observable", + "<", + { + "pluginId": "data", + "scope": "public", + "docId": "kibDataQueryPluginApi", + "section": "def-public.AutoRefreshDoneFn", + "text": "AutoRefreshDoneFn" + }, + ">; getFetch$: () => ", + "Observable", + "; getTime: () => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, + "; getAbsoluteTime: () => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, + "; setTime: (time: ", + "InputTimeRange", + ") => void; getRefreshInterval: () => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.RefreshInterval", + "text": "RefreshInterval" + }, + "; setRefreshInterval: (refreshInterval: Partial<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.RefreshInterval", + "text": "RefreshInterval" + }, + ">) => void; createFilter: (indexPattern: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IIndexPattern", + "text": "IIndexPattern" + }, + ", timeRange?: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, + " | undefined) => ", + "RangeFilter", + " | ", + "ScriptedRangeFilter", + " | ", + "MatchAllRangeFilter", + " | undefined; getBounds: () => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRangeBounds", + "text": "TimeRangeBounds" + }, + "; calculateBounds: (timeRange: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, + ") => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRangeBounds", + "text": "TimeRangeBounds" + }, + "; getActiveBounds: () => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRangeBounds", + "text": "TimeRangeBounds" + }, + " | undefined; enableTimeRangeSelector: () => void; disableTimeRangeSelector: () => void; enableAutoRefreshSelector: () => void; disableAutoRefreshSelector: () => void; getTimeDefaults: () => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, + "; getRefreshIntervalDefaults: () => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.RefreshInterval", + "text": "RefreshInterval" + }, + "; }" + ], + "path": "src/plugins/data/public/query/timefilter/lib/change_time_filter.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.changeTimeFilter.$2", + "type": "CompoundType", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "Filter", + " & { meta: ", + "RangeFilterMeta", + "; range: { [key: string]: ", + "RangeFilterParams", + "; }; }" + ], + "path": "src/plugins/data/public/query/timefilter/lib/change_time_filter.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.convertRangeFilterToTimeRangeString", + "type": "Function", + "tags": [], + "label": "convertRangeFilterToTimeRangeString", + "description": [], + "signature": [ + "(filter: ", + "RangeFilter", + ") => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + } + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.esFilters.convertRangeFilterToTimeRangeString.$1", + "type": "CompoundType", + "tags": [], + "label": "filter", + "description": [], + "signature": [ + "Filter", + " & { meta: ", + "RangeFilterMeta", + "; range: { [key: string]: ", + "RangeFilterParams", + "; }; }" + ], + "path": "src/plugins/data/public/query/timefilter/lib/change_time_filter.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.mapAndFlattenFilters", + "type": "Function", + "tags": [], + "label": "mapAndFlattenFilters", + "description": [], + "signature": [ + "(filters: ", + "Filter", + "[]) => ", + "Filter", + "[]" + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.esFilters.mapAndFlattenFilters.$1", + "type": "Array", + "tags": [], + "label": "filters", + "description": [], + "signature": [ + "Filter", + "[]" + ], + "path": "src/plugins/data/public/query/filter_manager/lib/map_and_flatten_filters.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.extractTimeFilter", + "type": "Function", + "tags": [], + "label": "extractTimeFilter", + "description": [], + "signature": [ + "(timeFieldName: string, filters: ", + "Filter", + "[]) => { restOfFilters: ", + "Filter", + "[]; timeRangeFilter: ", + "RangeFilter", + " | undefined; }" + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.esFilters.extractTimeFilter.$1", + "type": "string", + "tags": [], + "label": "timeFieldName", + "description": [], + "path": "src/plugins/data/public/query/timefilter/lib/extract_time_filter.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.extractTimeFilter.$2", + "type": "Array", + "tags": [], + "label": "filters", + "description": [], + "signature": [ + "Filter", + "[]" + ], + "path": "src/plugins/data/public/query/timefilter/lib/extract_time_filter.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.extractTimeRange", + "type": "Function", + "tags": [], + "label": "extractTimeRange", + "description": [], + "signature": [ + "(filters: ", + "Filter", + "[], timeFieldName?: string | undefined) => { restOfFilters: ", + "Filter", + "[]; timeRange?: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, + " | undefined; }" + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.esFilters.extractTimeRange.$1", + "type": "Array", + "tags": [], + "label": "filters", + "description": [], + "signature": [ + "Filter", + "[]" + ], + "path": "src/plugins/data/public/query/timefilter/lib/extract_time_filter.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.esFilters.extractTimeRange.$2", + "type": "string", + "tags": [], + "label": "timeFieldName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data/public/query/timefilter/lib/extract_time_filter.ts", + "deprecated": false + } + ] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.esKuery", + "type": "Object", + "tags": [ + "deprecated" + ], + "label": "esKuery", + "description": [], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/validation.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/validation.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/validation.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/utils/kuery.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/utils/kuery.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/utils/kuery.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_filters.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_filters.ts" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_search_bar.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_search_bar.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_search_bar.ts" + } + ], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.esKuery.nodeTypes", + "type": "Object", + "tags": [], + "label": "nodeTypes", + "description": [], + "signature": [ + "NodeTypes" + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.esKuery.fromKueryExpression", + "type": "Function", + "tags": [], + "label": "fromKueryExpression", + "description": [], + "signature": [ + "(expression: string | ", + "QueryDslQueryContainer", + ", parseOptions?: Partial<", + "KueryParseOptions", + "> | undefined) => ", + "KueryNode" + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.esKuery.fromKueryExpression.$1", + "type": "CompoundType", + "tags": [], + "label": "expression", + "description": [], + "signature": [ + "string | ", + "QueryDslQueryContainer" + ], + "path": "node_modules/@kbn/es-query/target_types/kuery/ast/ast.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.esKuery.fromKueryExpression.$2", + "type": "Object", + "tags": [], + "label": "parseOptions", + "description": [], + "signature": [ + "Partial<", + "KueryParseOptions", + "> | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/kuery/ast/ast.d.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.esKuery.toElasticsearchQuery", + "type": "Function", + "tags": [], + "label": "toElasticsearchQuery", + "description": [], + "signature": [ + "(node: ", + "KueryNode", + ", indexPattern?: ", + "DataViewBase", + " | undefined, config?: ", + "KueryQueryOptions", + " | undefined, context?: Record | undefined) => ", + "QueryDslQueryContainer" + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.esKuery.toElasticsearchQuery.$1", + "type": "Object", + "tags": [], + "label": "node", + "description": [], + "signature": [ + "KueryNode" + ], + "path": "node_modules/@kbn/es-query/target_types/kuery/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.esKuery.toElasticsearchQuery.$2", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + "DataViewBase", + " | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/kuery/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.esKuery.toElasticsearchQuery.$3", + "type": "Object", + "tags": [], + "label": "config", + "description": [], + "signature": [ + "KueryQueryOptions", + " | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/kuery/index.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.esKuery.toElasticsearchQuery.$4", + "type": "Object", + "tags": [], + "label": "context", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/kuery/index.d.ts", + "deprecated": false + } + ] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.esQuery", + "type": "Object", + "tags": [ + "deprecated" + ], + "label": "esQuery", + "description": [], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/validation.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/validation.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/terms/index.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/terms/index.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/terms/index.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/datapanel.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/datapanel.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/datapanel.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/logs/log_stream/index.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/logs/log_stream/index.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/side_panel/network_details/expandable_network.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/side_panel/network_details/expandable_network.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_histogram_panel/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_histogram_panel/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_histogram_panel/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_count_panel/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_count_panel/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/pages/details/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/pages/details/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/hosts.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/hosts.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/hosts.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/pages/network.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/pages/network.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/pages/network.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/alerts_by_category/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/alerts_by_category/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/event_counts/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/event_counts/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/event_counts/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/ueba/pages/ueba.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/ueba/pages/ueba.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/ueba/pages/ueba.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/ueba/pages/details/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/ueba/pages/details/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/flyout/header/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/flyout/header/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/flyout/header/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_tab_content/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/query_tab_content/index.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_search_bar.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_search_bar.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx" + }, + { + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_type_timelion/public/helpers/timelion_request_handler.ts" + }, + { + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_type_timelion/public/helpers/timelion_request_handler.ts" + }, + { + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_type_timelion/public/helpers/timelion_request_handler.ts" + }, + { + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/vega_request_handler.ts" + }, + { + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/vega_request_handler.ts" + }, + { + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/vega_request_handler.ts" + } + ], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.esQuery.buildEsQuery", + "type": "Function", + "tags": [], + "label": "buildEsQuery", + "description": [], + "signature": [ + "(indexPattern: ", + "DataViewBase", + " | undefined, queries: ", + "Query", + " | ", + "Query", + "[], filters: ", + "Filter", + " | ", + "Filter", + "[], config?: ", + "EsQueryConfig", + " | undefined) => { bool: ", + "BoolQuery", + "; }" + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.esQuery.buildEsQuery.$1", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + "DataViewBase", + " | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.esQuery.buildEsQuery.$2", + "type": "CompoundType", + "tags": [], + "label": "queries", + "description": [], + "signature": [ + "Query", + " | ", + "Query", + "[]" + ], + "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.esQuery.buildEsQuery.$3", + "type": "CompoundType", + "tags": [], + "label": "filters", + "description": [], + "signature": [ + "Filter", + " | ", + "Filter", + "[]" + ], + "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.esQuery.buildEsQuery.$4", + "type": "CompoundType", + "tags": [], + "label": "config", + "description": [], + "signature": [ + "EsQueryConfig", + " | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.esQuery.getEsQueryConfig", + "type": "Function", + "tags": [], + "label": "getEsQueryConfig", + "description": [], + "signature": [ + "(config: KibanaConfig) => ", + "EsQueryConfig" + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.esQuery.getEsQueryConfig.$1", + "type": "Object", + "tags": [], + "label": "config", + "description": [], + "signature": [ + "KibanaConfig" + ], + "path": "src/plugins/data/common/es_query/get_es_query_config.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.esQuery.buildQueryFromFilters", + "type": "Function", + "tags": [], + "label": "buildQueryFromFilters", + "description": [], + "signature": [ + "(filters: ", + "Filter", + "[] | undefined, indexPattern: ", + "DataViewBase", + " | undefined, ignoreFilterIfFieldNotInIndex?: boolean | undefined) => ", + "BoolQuery" + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.esQuery.buildQueryFromFilters.$1", + "type": "Array", + "tags": [], + "label": "filters", + "description": [], + "signature": [ + "Filter", + "[] | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/es_query/from_filters.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.esQuery.buildQueryFromFilters.$2", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + "DataViewBase", + " | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/es_query/from_filters.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.esQuery.buildQueryFromFilters.$3", + "type": "CompoundType", + "tags": [], + "label": "ignoreFilterIfFieldNotInIndex", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/es_query/from_filters.d.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.esQuery.luceneStringToDsl", + "type": "Function", + "tags": [], + "label": "luceneStringToDsl", + "description": [], + "signature": [ + "(query: string | ", + "QueryDslQueryContainer", + ") => ", + "QueryDslQueryContainer" + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.esQuery.luceneStringToDsl.$1", + "type": "CompoundType", + "tags": [], + "label": "query", + "description": [], + "signature": [ + "string | ", + "QueryDslQueryContainer" + ], + "path": "node_modules/@kbn/es-query/target_types/es_query/lucene_string_to_dsl.d.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.esQuery.decorateQuery", + "type": "Function", + "tags": [], + "label": "decorateQuery", + "description": [], + "signature": [ + "(query: ", + "QueryDslQueryContainer", + ", queryStringOptions: string | ", + "SerializableRecord", + ", dateFormatTZ?: string | undefined) => ", + "QueryDslQueryContainer" + ], + "path": "src/plugins/data/public/deprecated.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.esQuery.decorateQuery.$1", + "type": "Object", + "tags": [], + "label": "query", + "description": [], + "signature": [ + "QueryDslQueryContainer" + ], + "path": "node_modules/@kbn/es-query/target_types/es_query/decorate_query.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.esQuery.decorateQuery.$2", + "type": "CompoundType", + "tags": [], + "label": "queryStringOptions", + "description": [], + "signature": [ + "string | ", + "SerializableRecord" + ], + "path": "node_modules/@kbn/es-query/target_types/es_query/decorate_query.d.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.esQuery.decorateQuery.$3", + "type": "string", + "tags": [], + "label": "dateFormatTZ", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "node_modules/@kbn/es-query/target_types/es_query/decorate_query.d.ts", + "deprecated": false + } + ] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.exporters", + "type": "Object", + "tags": [], + "label": "exporters", + "description": [], + "path": "src/plugins/data/public/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-public.exporters.datatableToCSV", + "type": "Function", + "tags": [], + "label": "datatableToCSV", + "description": [], + "signature": [ + "({ columns, rows }: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.Datatable", + "text": "Datatable" + }, + ", { csvSeparator, quoteValues, formatFactory, raw, escapeFormulaValues }: CSVOptions) => string" + ], + "path": "src/plugins/data/public/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.exporters.datatableToCSV.$1", + "type": "Object", + "tags": [], + "label": "__0", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.Datatable", + "text": "Datatable" + } + ], + "path": "src/plugins/data/common/exports/export_csv.tsx", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.exporters.datatableToCSV.$2", + "type": "Object", + "tags": [], + "label": "__1", + "description": [], + "signature": [ + "CSVOptions" + ], + "path": "src/plugins/data/common/exports/export_csv.tsx", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.exporters.CSV_MIME_TYPE", + "type": "string", + "tags": [], + "label": "CSV_MIME_TYPE", + "description": [], + "path": "src/plugins/data/public/index.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.exporters.cellHasFormulas", + "type": "Function", + "tags": [], + "label": "cellHasFormulas", + "description": [], + "signature": [ + "(val: string) => boolean" + ], + "path": "src/plugins/data/public/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.exporters.cellHasFormulas.$1", + "type": "string", + "tags": [], + "label": "val", + "description": [], + "path": "src/plugins/data/common/exports/formula_checks.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.exporters.tableHasFormulas", + "type": "Function", + "tags": [], + "label": "tableHasFormulas", + "description": [], + "signature": [ + "(columns: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.DatatableColumn", + "text": "DatatableColumn" + }, + "[], rows: Record[]) => boolean" + ], + "path": "src/plugins/data/public/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.exporters.tableHasFormulas.$1", + "type": "Array", + "tags": [], + "label": "columns", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.DatatableColumn", + "text": "DatatableColumn" + }, + "[]" + ], + "path": "src/plugins/data/common/exports/formula_checks.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.exporters.tableHasFormulas.$2", + "type": "Array", + "tags": [], + "label": "rows", + "description": [], + "signature": [ + "Record[]" + ], + "path": "src/plugins/data/common/exports/formula_checks.ts", + "deprecated": false + } + ] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.indexPatterns", + "type": "Object", + "tags": [], + "label": "indexPatterns", + "description": [], + "path": "src/plugins/data/public/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-public.indexPatterns.ILLEGAL_CHARACTERS_KEY", + "type": "string", + "tags": [], + "label": "ILLEGAL_CHARACTERS_KEY", + "description": [], + "path": "src/plugins/data/public/index.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.indexPatterns.CONTAINS_SPACES_KEY", + "type": "string", + "tags": [], + "label": "CONTAINS_SPACES_KEY", + "description": [], + "path": "src/plugins/data/public/index.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.indexPatterns.ILLEGAL_CHARACTERS_VISIBLE", + "type": "Array", + "tags": [], + "label": "ILLEGAL_CHARACTERS_VISIBLE", + "description": [], + "signature": [ + "string[]" + ], + "path": "src/plugins/data/public/index.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.indexPatterns.ILLEGAL_CHARACTERS", + "type": "Array", + "tags": [], + "label": "ILLEGAL_CHARACTERS", + "description": [], + "signature": [ + "string[]" + ], + "path": "src/plugins/data/public/index.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.indexPatterns.isDefault", + "type": "Function", + "tags": [], + "label": "isDefault", + "description": [], + "signature": [ + "(indexPattern: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IIndexPattern", + "text": "IIndexPattern" + }, + ") => boolean" + ], + "path": "src/plugins/data/public/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.indexPatterns.isDefault.$1", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IIndexPattern", + "text": "IIndexPattern" + } + ], + "path": "src/plugins/data/common/index_patterns/lib/is_default.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.indexPatterns.isFilterable", + "type": "Function", + "tags": [], + "label": "isFilterable", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + ") => boolean" + ], + "path": "src/plugins/data/public/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.indexPatterns.isFilterable.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + } + ], + "path": "src/plugins/data/common/index_patterns/fields/utils.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.indexPatterns.isNestedField", + "type": "Function", + "tags": [], + "label": "isNestedField", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + ") => boolean" + ], + "path": "src/plugins/data/public/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.indexPatterns.isNestedField.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + } + ], + "path": "src/plugins/data/common/index_patterns/fields/utils.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.indexPatterns.validate", + "type": "Function", + "tags": [], + "label": "validate", + "description": [], + "signature": [ + "(indexPattern: string) => Record" + ], + "path": "src/plugins/data/public/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.indexPatterns.validate.$1", + "type": "string", + "tags": [], + "label": "indexPattern", + "description": [], + "path": "src/plugins/data/common/index_patterns/lib/validate_index_pattern.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.indexPatterns.flattenHitWrapper", + "type": "Function", + "tags": [], + "label": "flattenHitWrapper", + "description": [], + "signature": [ + "(indexPattern: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", metaFields?: {}, cache?: WeakMap) => (hit: Record, deep?: boolean) => Record" + ], + "path": "src/plugins/data/public/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.indexPatterns.flattenHitWrapper.$1", + "type": "Object", + "tags": [], + "label": "indexPattern", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + } + ], + "path": "src/plugins/data/common/index_patterns/index_patterns/flatten_hit.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.indexPatterns.flattenHitWrapper.$2", + "type": "Object", + "tags": [], + "label": "metaFields", + "description": [], + "signature": [ + "{}" + ], + "path": "src/plugins/data/common/index_patterns/index_patterns/flatten_hit.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.indexPatterns.flattenHitWrapper.$3", + "type": "Object", + "tags": [], + "label": "cache", + "description": [], + "signature": [ + "WeakMap" + ], + "path": "src/plugins/data/common/index_patterns/index_patterns/flatten_hit.ts", + "deprecated": false + } + ] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.search", + "type": "Object", + "tags": [], + "label": "search", + "description": [], + "path": "src/plugins/data/public/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-public.search.aggs", + "type": "Object", + "tags": [], + "label": "aggs", + "description": [], + "path": "src/plugins/data/public/index.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-public.search.aggs.CidrMask", + "type": "Object", + "tags": [], + "label": "CidrMask", + "description": [], + "signature": [ + "typeof ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.CidrMask", + "text": "CidrMask" + } + ], + "path": "src/plugins/data/public/index.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.search.aggs.dateHistogramInterval", + "type": "Function", + "tags": [], + "label": "dateHistogramInterval", + "description": [], + "signature": [ + "(interval: string) => Interval" + ], + "path": "src/plugins/data/public/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.search.aggs.dateHistogramInterval.$1", + "type": "string", + "tags": [], + "label": "interval", + "description": [], + "path": "src/plugins/data/common/search/aggs/utils/date_interval_utils/date_histogram_interval.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.search.aggs.intervalOptions", + "type": "Array", + "tags": [], + "label": "intervalOptions", + "description": [], + "signature": [ + "({ display: string; val: string; enabled(agg: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.IBucketAggConfig", + "text": "IBucketAggConfig" + }, + "): boolean; } | { display: string; val: string; })[]" + ], + "path": "src/plugins/data/public/index.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.search.aggs.InvalidEsCalendarIntervalError", + "type": "Object", + "tags": [], + "label": "InvalidEsCalendarIntervalError", + "description": [], + "signature": [ + "typeof ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.InvalidEsCalendarIntervalError", + "text": "InvalidEsCalendarIntervalError" + } + ], + "path": "src/plugins/data/public/index.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.search.aggs.InvalidEsIntervalFormatError", + "type": "Object", + "tags": [], + "label": "InvalidEsIntervalFormatError", + "description": [], + "signature": [ + "typeof ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.InvalidEsIntervalFormatError", + "text": "InvalidEsIntervalFormatError" + } + ], + "path": "src/plugins/data/public/index.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.search.aggs.IpAddress", + "type": "Object", + "tags": [], + "label": "IpAddress", + "description": [], + "signature": [ + "typeof ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.IpAddress", + "text": "IpAddress" + } + ], + "path": "src/plugins/data/public/index.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.search.aggs.isDateHistogramBucketAggConfig", + "type": "Function", + "tags": [], + "label": "isDateHistogramBucketAggConfig", + "description": [], + "signature": [ + "(agg: any) => agg is ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.IBucketDateHistogramAggConfig", + "text": "IBucketDateHistogramAggConfig" + } + ], + "path": "src/plugins/data/public/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.search.aggs.isDateHistogramBucketAggConfig.$1", + "type": "Any", + "tags": [], + "label": "agg", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data/common/search/aggs/buckets/date_histogram.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.search.aggs.isNumberType", + "type": "Function", + "tags": [], + "label": "isNumberType", + "description": [], + "signature": [ + "(agg: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.AggConfig", + "text": "AggConfig" + }, + ") => boolean" + ], + "path": "src/plugins/data/public/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.search.aggs.isNumberType.$1", + "type": "Object", + "tags": [], + "label": "agg", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.AggConfig", + "text": "AggConfig" + } + ], + "path": "src/plugins/data/common/search/aggs/buckets/migrate_include_exclude_format.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.search.aggs.isStringType", + "type": "Function", + "tags": [], + "label": "isStringType", + "description": [], + "signature": [ + "(agg: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.AggConfig", + "text": "AggConfig" + }, + ") => boolean" + ], + "path": "src/plugins/data/public/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.search.aggs.isStringType.$1", + "type": "Object", + "tags": [], + "label": "agg", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.AggConfig", + "text": "AggConfig" + } + ], + "path": "src/plugins/data/common/search/aggs/buckets/migrate_include_exclude_format.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.search.aggs.isType", + "type": "Function", + "tags": [], + "label": "isType", + "description": [], + "signature": [ + "(...types: string[]) => (agg: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.AggConfig", + "text": "AggConfig" + }, + ") => boolean" + ], + "path": "src/plugins/data/public/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.search.aggs.isType.$1", + "type": "Array", + "tags": [], + "label": "types", + "description": [], + "signature": [ + "string[]" + ], + "path": "src/plugins/data/common/search/aggs/buckets/migrate_include_exclude_format.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.search.aggs.isValidEsInterval", + "type": "Function", + "tags": [], + "label": "isValidEsInterval", + "description": [], + "signature": [ + "(interval: string) => boolean" + ], + "path": "src/plugins/data/public/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.search.aggs.isValidEsInterval.$1", + "type": "string", + "tags": [], + "label": "interval", + "description": [], + "path": "src/plugins/data/common/search/aggs/utils/date_interval_utils/is_valid_es_interval.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.search.aggs.isValidInterval", + "type": "Function", + "tags": [], + "label": "isValidInterval", + "description": [], + "signature": [ + "(value: string, baseInterval?: string | undefined) => boolean" + ], + "path": "src/plugins/data/public/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.search.aggs.isValidInterval.$1", + "type": "string", + "tags": [], + "label": "value", + "description": [], + "path": "src/plugins/data/common/search/aggs/utils/date_interval_utils/is_valid_interval.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.search.aggs.isValidInterval.$2", + "type": "string", + "tags": [], + "label": "baseInterval", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data/common/search/aggs/utils/date_interval_utils/is_valid_interval.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.search.aggs.parentPipelineType", + "type": "string", + "tags": [], + "label": "parentPipelineType", + "description": [], + "path": "src/plugins/data/public/index.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.search.aggs.parseEsInterval", + "type": "Function", + "tags": [], + "label": "parseEsInterval", + "description": [], + "signature": [ + "(interval: string) => { value: number; unit: ", + "Unit", + "; type: \"calendar\" | \"fixed\"; }" + ], + "path": "src/plugins/data/public/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.search.aggs.parseEsInterval.$1", + "type": "string", + "tags": [], + "label": "interval", + "description": [], + "path": "src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_es_interval.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.search.aggs.parseInterval", + "type": "Function", + "tags": [], + "label": "parseInterval", + "description": [], + "signature": [ + "(interval: string) => moment.Duration | null" + ], + "path": "src/plugins/data/public/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.search.aggs.parseInterval.$1", + "type": "string", + "tags": [], + "label": "interval", + "description": [], + "path": "src/plugins/data/common/search/aggs/utils/date_interval_utils/parse_interval.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.search.aggs.propFilter", + "type": "Function", + "tags": [], + "label": "propFilter", + "description": [], + "signature": [ + "

(prop: P) => (list: T[], filters?: string | string[] | FilterFunc) => T[]" + ], + "path": "src/plugins/data/public/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.search.aggs.propFilter.$1", + "type": "Uncategorized", + "tags": [], + "label": "prop", + "description": [], + "signature": [ + "P" + ], + "path": "src/plugins/data/common/search/aggs/utils/prop_filter.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.search.aggs.siblingPipelineType", + "type": "string", + "tags": [], + "label": "siblingPipelineType", + "description": [], + "path": "src/plugins/data/public/index.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.search.aggs.termsAggFilter", + "type": "Array", + "tags": [], + "label": "termsAggFilter", + "description": [], + "signature": [ + "string[]" + ], + "path": "src/plugins/data/public/index.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.search.aggs.toAbsoluteDates", + "type": "Function", + "tags": [], + "label": "toAbsoluteDates", + "description": [], + "signature": [ + "(range: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, + ") => { from: Date; to: Date; } | undefined" + ], + "path": "src/plugins/data/public/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.search.aggs.toAbsoluteDates.$1", + "type": "Object", + "tags": [], + "label": "range", + "description": [], + "signature": [ + "{ from: string; to: string; mode?: \"absolute\" | \"relative\" | undefined; }" + ], + "path": "src/plugins/data/common/search/aggs/utils/date_interval_utils/to_absolute_dates.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.search.aggs.boundsDescendingRaw", + "type": "Array", + "tags": [], + "label": "boundsDescendingRaw", + "description": [], + "signature": [ + "({ bound: number; interval: moment.Duration; boundLabel: string; intervalLabel: string; } | { bound: moment.Duration; interval: moment.Duration; boundLabel: string; intervalLabel: string; })[]" + ], + "path": "src/plugins/data/public/index.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.search.aggs.getNumberHistogramIntervalByDatatableColumn", + "type": "Function", + "tags": [], + "label": "getNumberHistogramIntervalByDatatableColumn", + "description": [], + "signature": [ + "(column: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.DatatableColumn", + "text": "DatatableColumn" + }, + ") => number | undefined" + ], + "path": "src/plugins/data/public/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.search.aggs.getNumberHistogramIntervalByDatatableColumn.$1", + "type": "Object", + "tags": [], + "label": "column", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.DatatableColumn", + "text": "DatatableColumn" + } + ], + "path": "src/plugins/data/common/search/aggs/utils/get_number_histogram_interval.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.search.aggs.getDateHistogramMetaDataByDatatableColumn", + "type": "Function", + "tags": [], + "label": "getDateHistogramMetaDataByDatatableColumn", + "description": [], + "signature": [ + "(column: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.DatatableColumn", + "text": "DatatableColumn" + }, + ", defaults?: Partial<{ timeZone: string; }>) => { interval: string | undefined; timeZone: string | undefined; timeRange: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataQueryPluginApi", + "section": "def-common.TimeRange", + "text": "TimeRange" + }, + " | undefined; } | undefined" + ], + "path": "src/plugins/data/public/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.search.aggs.getDateHistogramMetaDataByDatatableColumn.$1", + "type": "Object", + "tags": [], + "label": "column", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.DatatableColumn", + "text": "DatatableColumn" + } + ], + "path": "src/plugins/data/common/search/aggs/utils/get_date_histogram_meta.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.search.aggs.getDateHistogramMetaDataByDatatableColumn.$2", + "type": "Object", + "tags": [], + "label": "defaults", + "description": [], + "signature": [ + "{ timeZone?: string | undefined; }" + ], + "path": "src/plugins/data/common/search/aggs/utils/get_date_histogram_meta.ts", + "deprecated": false + } + ] + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.search.getResponseInspectorStats", + "type": "Function", + "tags": [], + "label": "getResponseInspectorStats", + "description": [], + "signature": [ + "(resp?: ", + "SearchResponse", + " | undefined, searchSource?: Pick<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSource", + "text": "SearchSource" + }, + ", \"create\" | \"history\" | \"setPreferredSearchStrategyId\" | \"setField\" | \"removeField\" | \"setFields\" | \"getId\" | \"getFields\" | \"getField\" | \"getOwnField\" | \"createCopy\" | \"createChild\" | \"setParent\" | \"getParent\" | \"fetch$\" | \"fetch\" | \"onRequestStart\" | \"getSearchRequestBody\" | \"destroy\" | \"getSerializedFields\" | \"serialize\"> | undefined) => ", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.RequestStatistics", + "text": "RequestStatistics" + } + ], + "path": "src/plugins/data/public/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.search.getResponseInspectorStats.$1", + "type": "Object", + "tags": [], + "label": "resp", + "description": [], + "signature": [ + "SearchResponse", + " | undefined" + ], + "path": "src/plugins/data/common/search/search_source/inspect/inspector_stats.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.search.getResponseInspectorStats.$2", + "type": "Object", + "tags": [], + "label": "searchSource", + "description": [], + "signature": [ + "Pick<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.SearchSource", + "text": "SearchSource" + }, + ", \"create\" | \"history\" | \"setPreferredSearchStrategyId\" | \"setField\" | \"removeField\" | \"setFields\" | \"getId\" | \"getFields\" | \"getField\" | \"getOwnField\" | \"createCopy\" | \"createChild\" | \"setParent\" | \"getParent\" | \"fetch$\" | \"fetch\" | \"onRequestStart\" | \"getSearchRequestBody\" | \"destroy\" | \"getSerializedFields\" | \"serialize\"> | undefined" + ], + "path": "src/plugins/data/common/search/search_source/inspect/inspector_stats.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.search.tabifyAggResponse", + "type": "Function", + "tags": [], + "label": "tabifyAggResponse", + "description": [], + "signature": [ + "(aggConfigs: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.AggConfigs", + "text": "AggConfigs" + }, + ", esResponse: Record, respOpts?: Partial<", + "TabbedResponseWriterOptions", + "> | undefined) => ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.Datatable", + "text": "Datatable" + } + ], + "path": "src/plugins/data/public/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.search.tabifyAggResponse.$1", + "type": "Object", + "tags": [], + "label": "aggConfigs", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.AggConfigs", + "text": "AggConfigs" + } + ], + "path": "src/plugins/data/common/search/tabify/tabify.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.search.tabifyAggResponse.$2", + "type": "Object", + "tags": [], + "label": "esResponse", + "description": [], + "signature": [ + "{ [x: string]: any; }" + ], + "path": "src/plugins/data/common/search/tabify/tabify.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.search.tabifyAggResponse.$3", + "type": "Object", + "tags": [], + "label": "respOpts", + "description": [], + "signature": [ + "Partial<", + "TabbedResponseWriterOptions", + "> | undefined" + ], + "path": "src/plugins/data/common/search/tabify/tabify.ts", + "deprecated": false + } + ] + }, + { + "parentPluginId": "data", + "id": "def-public.search.tabifyGetColumns", + "type": "Function", + "tags": [], + "label": "tabifyGetColumns", + "description": [], + "signature": [ + "(aggs: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.AggConfig", + "text": "AggConfig" + }, + "[], minimalColumns: boolean) => ", + "TabbedAggColumn", + "[]" + ], + "path": "src/plugins/data/public/index.ts", + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "data", + "id": "def-public.search.tabifyGetColumns.$1", + "type": "Array", + "tags": [], + "label": "aggs", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.AggConfig", + "text": "AggConfig" + }, + "[]" + ], + "path": "src/plugins/data/common/search/tabify/get_columns.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-public.search.tabifyGetColumns.$2", + "type": "boolean", + "tags": [], + "label": "minimalColumns", + "description": [], + "path": "src/plugins/data/common/search/tabify/get_columns.ts", + "deprecated": false + } + ] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-public.UI_SETTINGS", + "type": "Object", + "tags": [], + "label": "UI_SETTINGS", + "description": [], + "signature": [ + "{ readonly META_FIELDS: \"metaFields\"; readonly DOC_HIGHLIGHT: \"doc_table:highlight\"; readonly QUERY_STRING_OPTIONS: \"query:queryString:options\"; readonly QUERY_ALLOW_LEADING_WILDCARDS: \"query:allowLeadingWildcards\"; readonly SEARCH_QUERY_LANGUAGE: \"search:queryLanguage\"; readonly SORT_OPTIONS: \"sort:options\"; readonly COURIER_IGNORE_FILTER_IF_FIELD_NOT_IN_INDEX: \"courier:ignoreFilterIfFieldNotInIndex\"; readonly COURIER_SET_REQUEST_PREFERENCE: \"courier:setRequestPreference\"; readonly COURIER_CUSTOM_REQUEST_PREFERENCE: \"courier:customRequestPreference\"; readonly COURIER_MAX_CONCURRENT_SHARD_REQUESTS: \"courier:maxConcurrentShardRequests\"; readonly SEARCH_INCLUDE_FROZEN: \"search:includeFrozen\"; readonly SEARCH_TIMEOUT: \"search:timeout\"; readonly HISTOGRAM_BAR_TARGET: \"histogram:barTarget\"; readonly HISTOGRAM_MAX_BARS: \"histogram:maxBars\"; readonly HISTORY_LIMIT: \"history:limit\"; readonly TIMEPICKER_REFRESH_INTERVAL_DEFAULTS: \"timepicker:refreshIntervalDefaults\"; readonly TIMEPICKER_QUICK_RANGES: \"timepicker:quickRanges\"; readonly TIMEPICKER_TIME_DEFAULTS: \"timepicker:timeDefaults\"; readonly FILTERS_PINNED_BY_DEFAULT: \"filters:pinnedByDefault\"; readonly FILTERS_EDITOR_SUGGEST_VALUES: \"filterEditor:suggestValues\"; readonly AUTOCOMPLETE_USE_TIMERANGE: \"autocomplete:useTimeRange\"; readonly AUTOCOMPLETE_VALUE_SUGGESTION_METHOD: \"autocomplete:valueSuggestionMethod\"; }" + ], + "path": "src/plugins/data/common/constants.ts", + "deprecated": false, + "initialIsOpen": false + } + ], + "setup": { + "parentPluginId": "data", + "id": "def-public.DataPublicPluginSetup", + "type": "Interface", + "tags": [], + "label": "DataPublicPluginSetup", "description": [ "\nData plugin public Setup contract" ], @@ -21928,33 +23364,15 @@ "description": [], "signature": [ { - "pluginId": "data", - "scope": "public", - "docId": "kibDataSearchPluginApi", - "section": "def-public.ISearchSetup", - "text": "ISearchSetup" - } - ], - "path": "src/plugins/data/public/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-public.DataPublicPluginSetup.fieldFormats", - "type": "Object", - "tags": [ - "deprecated" - ], - "label": "fieldFormats", - "description": [], - "signature": [ - "{ register: (fieldFormats: ", - "FieldFormatInstanceType", - "[]) => void; has: (id: string) => boolean; }" + "pluginId": "data", + "scope": "public", + "docId": "kibDataSearchPluginApi", + "section": "def-public.ISearchSetup", + "text": "ISearchSetup" + } ], "path": "src/plugins/data/public/types.ts", - "deprecated": true, - "references": [] + "deprecated": false }, { "parentPluginId": "data", @@ -22063,12 +23481,12 @@ }, { "parentPluginId": "data", - "id": "def-public.DataPublicPluginStart.indexPatterns", + "id": "def-public.DataPublicPluginStart.dataViews", "type": "Object", "tags": [], - "label": "indexPatterns", + "label": "dataViews", "description": [ - "\nindex patterns service\n{@link IndexPatternsContract}" + "\ndata views service\n{@link DataViewsContract}" ], "signature": [ "{ get: (id: string) => Promise<", @@ -22076,42 +23494,42 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "section": "def-common.DataView", + "text": "DataView" }, ">; delete: (indexPatternId: string) => Promise<{}>; create: (spec: ", { "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" }, ", skipFetchFields?: boolean) => Promise<", { "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "section": "def-common.DataView", + "text": "DataView" }, ">; find: (search: string, size?: number) => Promise<", { "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "section": "def-common.DataView", + "text": "DataView" }, "[]>; ensureDefaultIndexPattern: ", - "EnsureDefaultIndexPattern", + "EnsureDefaultDataView", "; getIds: (refresh?: boolean) => Promise; getTitles: (refresh?: boolean) => Promise; getIdsWithTitle: (refresh?: boolean) => Promise<", { "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternListItem", - "text": "IndexPatternListItem" + "section": "def-common.DataViewListItem", + "text": "DataViewListItem" }, "[]>; clearCache: (id?: string | undefined) => void; getCache: () => Promise<", "SavedObject", @@ -22120,16 +23538,16 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternAttributes", - "text": "IndexPatternAttributes" + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" }, ", \"type\" | \"title\" | \"typeMeta\">>[] | null | undefined>; getDefault: () => Promise<", { "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "section": "def-common.DataView", + "text": "DataView" }, " | null>; getDefaultId: () => Promise; setDefault: (id: string | null, force?: boolean) => Promise; hasUserIndexPattern: () => Promise; getFieldsForWildcard: (options: ", { @@ -22144,16 +23562,16 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "section": "def-common.DataView", + "text": "DataView" }, " | ", { "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" }, ", options?: ", { @@ -22168,8 +23586,8 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "section": "def-common.DataView", + "text": "DataView" }, ") => Promise; fieldArrayToMap: (fields: ", { @@ -22202,62 +23620,727 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternAttributes", - "text": "IndexPatternAttributes" + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" }, ">) => ", { "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" }, "; createAndSave: (spec: ", { "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" }, ", override?: boolean, skipFetchFields?: boolean) => Promise<", { "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "section": "def-common.DataView", + "text": "DataView" }, ">; createSavedObject: (indexPattern: ", { "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "section": "def-common.DataView", + "text": "DataView" }, ", override?: boolean) => Promise<", { "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "section": "def-common.DataView", + "text": "DataView" }, ">; updateSavedObject: (indexPattern: ", { "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "section": "def-common.DataView", + "text": "DataView" }, ", saveAttempts?: number, ignoreErrors?: boolean) => Promise; }" ], "path": "src/plugins/data/public/types.ts", "deprecated": false }, + { + "parentPluginId": "data", + "id": "def-public.DataPublicPluginStart.indexPatterns", + "type": "Object", + "tags": [ + "deprecated" + ], + "label": "indexPatterns", + "description": [ + "\nindex patterns service\n{@link DataViewsContract}" + ], + "signature": [ + "{ get: (id: string) => Promise<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; delete: (indexPatternId: string) => Promise<{}>; create: (spec: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", skipFetchFields?: boolean) => Promise<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; find: (search: string, size?: number) => Promise<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + "[]>; ensureDefaultIndexPattern: ", + "EnsureDefaultDataView", + "; getIds: (refresh?: boolean) => Promise; getTitles: (refresh?: boolean) => Promise; getIdsWithTitle: (refresh?: boolean) => Promise<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewListItem", + "text": "DataViewListItem" + }, + "[]>; clearCache: (id?: string | undefined) => void; getCache: () => Promise<", + "SavedObject", + ">[] | null | undefined>; getDefault: () => Promise<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | null>; getDefaultId: () => Promise; setDefault: (id: string | null, force?: boolean) => Promise; hasUserIndexPattern: () => Promise; getFieldsForWildcard: (options: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + ") => Promise; getFieldsForIndexPattern: (indexPattern: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", options?: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + " | undefined) => Promise; refreshFields: (indexPattern: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ") => Promise; fieldArrayToMap: (fields: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[], fieldAttrs?: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.FieldAttrs", + "text": "FieldAttrs" + }, + " | undefined) => Record; savedObjectToSpec: (savedObject: ", + "SavedObject", + "<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + }, + ">) => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + "; createAndSave: (spec: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", override?: boolean, skipFetchFields?: boolean) => Promise<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; createSavedObject: (indexPattern: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", override?: boolean) => Promise<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; updateSavedObject: (indexPattern: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", saveAttempts?: number, ignoreErrors?: boolean) => Promise; }" + ], + "path": "src/plugins/data/public/types.ts", + "deprecated": true, + "references": [ + { + "plugin": "home", + "path": "src/plugins/home/public/plugin.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/plugin.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/management/roles/roles_management_app.tsx" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/plugin.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/plugin.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/build_services.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/source_viewer/source_viewer.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_route.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_route.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_route.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/plugin.tsx" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/plugin.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/dashboard_router.tsx" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/dashboard_router.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/datapanel.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/datapanel.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/datapanel.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/datapanel.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/indexpattern.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/plugin.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/plugin.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/pages/alerts/index.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/kibana_services.ts" + }, + { + "plugin": "fileUpload", + "path": "x-pack/plugins/file_upload/public/kibana_services.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/file_data_visualizer/file_data_visualizer.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/datavisualizer/index_based/index_data_visualizer.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/datavisualizer/file_based/file_datavisualizer.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/app.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/app.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/import_export_jobs/import_jobs_flyout/import_jobs_flyout.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/editor.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/components/log_stream/log_stream.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/components/log_stream/log_stream.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/utils/logs_overview_fetchers.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/link_to/redirect_to_node_logs.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/hooks/use_kibana_index_patterns.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/page_providers.tsx" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/plugin.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/plugin.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_create/step_create_form.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_details/step_details_form.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/use_search_items.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/transform_management/components/action_clone/use_clone_action.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/transform_management/components/action_discover/use_action_discover.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/transform_management/components/edit_transform_flyout/edit_transform_flyout_form.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/transform_management/components/action_edit/use_edit_action.tsx" + }, + { + "plugin": "upgradeAssistant", + "path": "x-pack/plugins/upgrade_assistant/public/application/components/overview/fix_deprecation_logs_step/external_links.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.test.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.test.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.test.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.test.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.test.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.test.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.test.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.test.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.test.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.test.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.test.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/plugin.tsx" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/plugin.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/list_control_factory.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/range_control_factory.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/controls_tab.tsx" + }, + { + "plugin": "kibanaOverview", + "path": "src/plugins/kibana_overview/public/components/overview/overview.tsx" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/saved_objects_table_page.tsx" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/plugin.ts" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/plugin.ts" + }, + { + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_type_timelion/public/plugin.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/lib/fetch_fields.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/query_bar_wrapper.tsx" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/annotation_row.tsx" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/metrics_type.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/timeseries_visualization.tsx" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/timeseries_visualization.tsx" + }, + { + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/data_model/search_api.ts" + }, + { + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/vega_request_handler.ts" + }, + { + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" + }, + { + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/data_model/search_api.test.ts" + }, + { + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/data_model/search_api.test.ts" + }, + { + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/data_model/search_api.test.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/utils/logs_overview_fetches.test.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/mock/endpoint/dependencies_start_mock.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/saved_object.test.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/saved_object.test.ts" + }, + { + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/vega_view/vega_map_view/view.test.ts" + } + ] + }, { "parentPluginId": "data", "id": "def-public.DataPublicPluginStart.search", @@ -22394,10 +24477,6 @@ "plugin": "indexPatternManagement", "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" }, - { - "plugin": "visTypeMetric", - "path": "src/plugins/vis_types/metric/public/plugin.ts" - }, { "plugin": "visTypeTable", "path": "src/plugins/vis_type_table/public/plugin.ts" @@ -22406,6 +24485,10 @@ "plugin": "visTypeTimeseries", "path": "src/plugins/vis_type_timeseries/public/plugin.ts" }, + { + "plugin": "visTypeMetric", + "path": "src/plugins/vis_types/metric/public/plugin.ts" + }, { "plugin": "visTypePie", "path": "src/plugins/vis_types/pie/public/pie_component.tsx" @@ -22600,4484 +24683,4860 @@ "classes": [ { "parentPluginId": "data", - "id": "def-server.DataServerPlugin", + "id": "def-server.DataServerPlugin", + "type": "Class", + "tags": [], + "label": "DataServerPlugin", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "server", + "docId": "kibDataPluginApi", + "section": "def-server.DataServerPlugin", + "text": "DataServerPlugin" + }, + " implements ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.Plugin", + "text": "Plugin" + }, + "<", + { + "pluginId": "data", + "scope": "server", + "docId": "kibDataPluginApi", + "section": "def-server.DataPluginSetup", + "text": "DataPluginSetup" + }, + ", ", + { + "pluginId": "data", + "scope": "server", + "docId": "kibDataPluginApi", + "section": "def-server.DataPluginStart", + "text": "DataPluginStart" + }, + ", ", + "DataPluginSetupDependencies", + ", ", + "DataPluginStartDependencies", + ">" + ], + "path": "src/plugins/data/server/plugin.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-server.DataServerPlugin.Unnamed", + "type": "Function", + "tags": [], + "label": "Constructor", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data/server/plugin.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-server.DataServerPlugin.Unnamed.$1", + "type": "Object", + "tags": [], + "label": "initializerContext", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.PluginInitializerContext", + "text": "PluginInitializerContext" + }, + "; }>; }>; autocomplete: Readonly<{} & { querySuggestions: Readonly<{} & { enabled: boolean; }>; valueSuggestions: Readonly<{} & { enabled: boolean; timeout: moment.Duration; tiers: string[]; terminateAfter: moment.Duration; }>; }>; }>>" + ], + "path": "src/plugins/data/server/plugin.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-server.DataServerPlugin.setup", + "type": "Function", + "tags": [], + "label": "setup", + "description": [], + "signature": [ + "(core: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.CoreSetup", + "text": "CoreSetup" + }, + "<", + "DataPluginStartDependencies", + ", ", + { + "pluginId": "data", + "scope": "server", + "docId": "kibDataPluginApi", + "section": "def-server.DataPluginStart", + "text": "DataPluginStart" + }, + ">, { bfetch, expressions, usageCollection, fieldFormats }: ", + "DataPluginSetupDependencies", + ") => { __enhance: (enhancements: ", + "DataEnhancements", + ") => void; search: ", + "ISearchSetup", + "; fieldFormats: ", + { + "pluginId": "fieldFormats", + "scope": "server", + "docId": "kibFieldFormatsPluginApi", + "section": "def-server.FieldFormatsSetup", + "text": "FieldFormatsSetup" + }, + "; }" + ], + "path": "src/plugins/data/server/plugin.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-server.DataServerPlugin.setup.$1", + "type": "Object", + "tags": [], + "label": "core", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.CoreSetup", + "text": "CoreSetup" + }, + "<", + "DataPluginStartDependencies", + ", ", + { + "pluginId": "data", + "scope": "server", + "docId": "kibDataPluginApi", + "section": "def-server.DataPluginStart", + "text": "DataPluginStart" + }, + ">" + ], + "path": "src/plugins/data/server/plugin.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-server.DataServerPlugin.setup.$2", + "type": "Object", + "tags": [], + "label": "{ bfetch, expressions, usageCollection, fieldFormats }", + "description": [], + "signature": [ + "DataPluginSetupDependencies" + ], + "path": "src/plugins/data/server/plugin.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-server.DataServerPlugin.start", + "type": "Function", + "tags": [], + "label": "start", + "description": [], + "signature": [ + "(core: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" + }, + ", { fieldFormats }: ", + "DataPluginStartDependencies", + ") => { fieldFormats: ", + { + "pluginId": "fieldFormats", + "scope": "server", + "docId": "kibFieldFormatsPluginApi", + "section": "def-server.FieldFormatsStart", + "text": "FieldFormatsStart" + }, + "; indexPatterns: { indexPatternsServiceFactory: (savedObjectsClient: Pick<", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCoreSavedObjectsPluginApi", + "section": "def-server.SavedObjectsClient", + "text": "SavedObjectsClient" + }, + ", \"get\" | \"delete\" | \"create\" | \"bulkCreate\" | \"checkConflicts\" | \"find\" | \"bulkGet\" | \"resolve\" | \"update\" | \"collectMultiNamespaceReferences\" | \"updateObjectsSpaces\" | \"bulkUpdate\" | \"removeReferencesTo\" | \"openPointInTimeForType\" | \"closePointInTime\" | \"createPointInTimeFinder\" | \"errors\">, elasticsearchClient: ", + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.ElasticsearchClient", + "text": "ElasticsearchClient" + }, + ") => Promise<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IndexPatternsService", + "text": "IndexPatternsService" + }, + ">; }; search: ", + "ISearchStart", + "<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.IEsSearchRequest", + "text": "IEsSearchRequest" + }, + ", ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataSearchPluginApi", + "section": "def-common.IEsSearchResponse", + "text": "IEsSearchResponse" + }, + ">; }" + ], + "path": "src/plugins/data/server/plugin.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-server.DataServerPlugin.start.$1", + "type": "Object", + "tags": [], + "label": "core", + "description": [], + "signature": [ + { + "pluginId": "core", + "scope": "server", + "docId": "kibCorePluginApi", + "section": "def-server.CoreStart", + "text": "CoreStart" + } + ], + "path": "src/plugins/data/server/plugin.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-server.DataServerPlugin.start.$2", + "type": "Object", + "tags": [], + "label": "{ fieldFormats }", + "description": [], + "signature": [ + "DataPluginStartDependencies" + ], + "path": "src/plugins/data/server/plugin.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-server.DataServerPlugin.stop", + "type": "Function", + "tags": [], + "label": "stop", + "description": [], + "signature": [ + "() => void" + ], + "path": "src/plugins/data/server/plugin.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-server.IndexPattern", + "type": "Class", + "tags": [ + "deprecated" + ], + "label": "IndexPattern", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IndexPattern", + "text": "IndexPattern" + }, + " extends ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + } + ], + "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", + "deprecated": true, + "references": [ + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts" + }, + { + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/helpers/update_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/helpers/update_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app_content.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app_content.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_index_pattern.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_index_pattern.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/update_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/update_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_documents.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_documents.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/common/types/index.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/common/types/index.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx" + }, + { + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/index.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/index_pattern_select/types.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/index_pattern_select/types.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/index_pattern_select/index_pattern_select.tsx" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/index_pattern_select/index_pattern_select.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_pattern.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_pattern.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_pattern_with_timefield.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_pattern_with_timefield.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/types.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx" + }, + { + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/state/reducers/index_pattern.ts" + }, + { + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/state/reducers/index_pattern.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/doc_views/doc_views_types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/doc_views/doc_views_types.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/shared_imports.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/delete_field_provider.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/delete_field_provider.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/kibana_services.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_default_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_default_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/table_header.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/table_header.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_data_grid_columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_data_grid_columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/utils/sorting.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/utils/sorting.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/calc_field_counts.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/calc_field_counts.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/get_top_nav_links.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/get_top_nav_links.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/nested_fields.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/nested_fields.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_row.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_row.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/actions/columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/actions/columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_state.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/anchor.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/anchor.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_fetch.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_fetch.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/persist_saved_search.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/persist_saved_search.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/components/filter_label.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/components/filter_label.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_agg_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_agg_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/geo_index_pattern_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/geo_index_pattern_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector_service.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector_service.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/field_format_service.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/field_format_service.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/use_scatterplot_field_options.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/use_scatterplot_field_options.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/single_metric_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/single_metric_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/multi_metric_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/multi_metric_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/population_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/population_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/advanced_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/advanced_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/categorization_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/categorization_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/rare_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/rare_job_creator.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator_factory.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator_factory.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector_service.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector_service.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_results.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_results.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_results.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_results.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/exploration_results_table.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/exploration_results_table.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/ml_context.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/ml_context.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/common/use_results_view_config.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/common/use_results_view_config.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/common/use_results_view_config.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/types/app_state.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/types/app_state.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.sagas.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.sagas.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/inspect_panel.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/inspect_panel.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/threatmatch_input/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/threatmatch_input/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/threatmatch_input/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/step_define_rule/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/step_define_rule/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/step_define_rule/index.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/hooks/update_kuery_string.ts" + }, + { + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/hooks/update_kuery_string.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/mocks.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/mocks.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/es_search_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/es_search_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_index_pattern_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_index_pattern_select.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities._service.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities._service.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/remove_nested_field_children.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/remove_nested_field_children.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/__mocks__/index_pattern.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/__mocks__/index_pattern.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/count_agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/count_agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/geo_line_form.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/geo_line_form.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/filter_editor/filter_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/filter_editor/filter_editor.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/components/full_time_range_selector/full_time_range_selector.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/components/full_time_range_selector/full_time_range_selector.d.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/target/types/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.d.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/target/types/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.d.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/shared_imports.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/types.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/types.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/help_flyout.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/help_flyout.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/create_search_source.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/create_search_source.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/controls_tab.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/controls_tab.tsx" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/utils/editor_config.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/utils/editor_config.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_select.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_select.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params.tsx" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.test.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.test.ts" + }, + { + "plugin": "visTypeTable", + "path": "src/plugins/vis_type_table/public/legacy/table_vis_controller.test.ts" + }, + { + "plugin": "visTypeTable", + "path": "src/plugins/vis_type_table/public/legacy/table_vis_controller.test.ts" + }, + { + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" + }, + { + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" + }, + { + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/target/types/public/types.d.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/target/types/public/types.d.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/target/types/public/components/field_format_editor/field_format_editor.d.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/target/types/public/components/field_format_editor/field_format_editor.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/utils/editor_config.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/utils/editor_config.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/control/create_search_source.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/control/create_search_source.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/test_utils/get_index_pattern_mock.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/test_utils/get_index_pattern_mock.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_select.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_select.d.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_sharing_data.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_sharing_data.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_sharing_data.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/components/editor/controls_tab.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/components/editor/controls_tab.d.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_calculator.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_calculator.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/nested_fields.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/nested_fields.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/source_filters_table/components/table/table.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/source_filters_table/components/table/table.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern_management.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern_management.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/data_loader/data_loader.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/data_loader/data_loader.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/data_loader/data_loader.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_pattern_management/index_pattern_management.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_pattern_management/index_pattern_management.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/embeddables/types.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/embeddables/types.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/percentile_agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/percentile_agg_field.d.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/saved_object.test.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/saved_object.test.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/saved_object.test.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/saved_object.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.test.ts" + } + ], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-server.IndexPatternField", "type": "Class", - "tags": [], - "label": "DataServerPlugin", + "tags": [ + "deprecated" + ], + "label": "IndexPatternField", "description": [], "signature": [ { - "pluginId": "data", - "scope": "server", - "docId": "kibDataPluginApi", - "section": "def-server.DataServerPlugin", - "text": "DataServerPlugin" + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IndexPatternField", + "text": "IndexPatternField" + }, + " extends ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + } + ], + "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", + "deprecated": true, + "references": [ + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/shared_imports.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/kibana_services.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/field_name/field_name.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/field_name/field_name.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table_cell_actions.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table_cell_actions.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_layout.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_layout.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/es_doc_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/es_doc_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/geo_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/geo_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/es_doc_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/es_doc_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metrics_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metrics_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metric_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metric_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" }, - " implements ", { - "pluginId": "core", - "scope": "server", - "docId": "kibCorePluginApi", - "section": "def-server.Plugin", - "text": "Plugin" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" }, - "<", { - "pluginId": "data", - "scope": "server", - "docId": "kibDataPluginApi", - "section": "def-server.DataPluginSetup", - "text": "DataPluginSetup" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" }, - ", ", { - "pluginId": "data", - "scope": "server", - "docId": "kibDataPluginApi", - "section": "def-server.DataPluginStart", - "text": "DataPluginStart" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/top_hits_form.d.ts" }, - ", ", - "DataPluginSetupDependencies", - ", ", - "DataPluginStartDependencies", - ">" - ], - "path": "src/plugins/data/server/plugin.ts", - "deprecated": false, - "children": [ { - "parentPluginId": "data", - "id": "def-server.DataServerPlugin.Unnamed", - "type": "Function", - "tags": [], - "label": "Constructor", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data/server/plugin.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.DataServerPlugin.Unnamed.$1", - "type": "Object", - "tags": [], - "label": "initializerContext", - "description": [], - "signature": [ - { - "pluginId": "core", - "scope": "server", - "docId": "kibCorePluginApi", - "section": "def-server.PluginInitializerContext", - "text": "PluginInitializerContext" - }, - "; }>; }>; autocomplete: Readonly<{} & { querySuggestions: Readonly<{} & { enabled: boolean; }>; valueSuggestions: Readonly<{} & { enabled: boolean; timeout: moment.Duration; tiers: string[]; terminateAfter: moment.Duration; }>; }>; }>>" - ], - "path": "src/plugins/data/server/plugin.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/top_hits_form.d.ts" }, { - "parentPluginId": "data", - "id": "def-server.DataServerPlugin.setup", - "type": "Function", - "tags": [], - "label": "setup", - "description": [], - "signature": [ - "(core: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCorePluginApi", - "section": "def-server.CoreSetup", - "text": "CoreSetup" - }, - "<", - "DataPluginStartDependencies", - ", ", - { - "pluginId": "data", - "scope": "server", - "docId": "kibDataPluginApi", - "section": "def-server.DataPluginStart", - "text": "DataPluginStart" - }, - ">, { bfetch, expressions, usageCollection, fieldFormats }: ", - "DataPluginSetupDependencies", - ") => { __enhance: (enhancements: ", - "DataEnhancements", - ") => void; search: ", - "ISearchSetup", - "; fieldFormats: ", - { - "pluginId": "fieldFormats", - "scope": "server", - "docId": "kibFieldFormatsPluginApi", - "section": "def-server.FieldFormatsSetup", - "text": "FieldFormatsSetup" - }, - "; }" - ], - "path": "src/plugins/data/server/plugin.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.DataServerPlugin.setup.$1", - "type": "Object", - "tags": [], - "label": "core", - "description": [], - "signature": [ - { - "pluginId": "core", - "scope": "server", - "docId": "kibCorePluginApi", - "section": "def-server.CoreSetup", - "text": "CoreSetup" - }, - "<", - "DataPluginStartDependencies", - ", ", - { - "pluginId": "data", - "scope": "server", - "docId": "kibDataPluginApi", - "section": "def-server.DataPluginStart", - "text": "DataPluginStart" - }, - ">" - ], - "path": "src/plugins/data/server/plugin.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-server.DataServerPlugin.setup.$2", - "type": "Object", - "tags": [], - "label": "{ bfetch, expressions, usageCollection, fieldFormats }", - "description": [], - "signature": [ - "DataPluginSetupDependencies" - ], - "path": "src/plugins/data/server/plugin.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/top_hits_form.d.ts" }, { - "parentPluginId": "data", - "id": "def-server.DataServerPlugin.start", - "type": "Function", - "tags": [], - "label": "start", - "description": [], - "signature": [ - "(core: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCorePluginApi", - "section": "def-server.CoreStart", - "text": "CoreStart" - }, - ", { fieldFormats }: ", - "DataPluginStartDependencies", - ") => { fieldFormats: ", - { - "pluginId": "fieldFormats", - "scope": "server", - "docId": "kibFieldFormatsPluginApi", - "section": "def-server.FieldFormatsStart", - "text": "FieldFormatsStart" - }, - "; indexPatterns: { indexPatternsServiceFactory: (savedObjectsClient: Pick<", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCoreSavedObjectsPluginApi", - "section": "def-server.SavedObjectsClient", - "text": "SavedObjectsClient" - }, - ", \"get\" | \"delete\" | \"create\" | \"bulkCreate\" | \"checkConflicts\" | \"find\" | \"bulkGet\" | \"resolve\" | \"update\" | \"collectMultiNamespaceReferences\" | \"updateObjectsSpaces\" | \"bulkUpdate\" | \"removeReferencesTo\" | \"openPointInTimeForType\" | \"closePointInTime\" | \"createPointInTimeFinder\" | \"errors\">, elasticsearchClient: ", - { - "pluginId": "core", - "scope": "server", - "docId": "kibCorePluginApi", - "section": "def-server.ElasticsearchClient", - "text": "ElasticsearchClient" - }, - ") => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternsService", - "text": "IndexPatternsService" - }, - ">; }; search: ", - "ISearchStart", - "<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.IEsSearchRequest", - "text": "IEsSearchRequest" - }, - ", ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.IEsSearchResponse", - "text": "IEsSearchResponse" - }, - ">; }" - ], - "path": "src/plugins/data/server/plugin.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.DataServerPlugin.start.$1", - "type": "Object", - "tags": [], - "label": "core", - "description": [], - "signature": [ - { - "pluginId": "core", - "scope": "server", - "docId": "kibCorePluginApi", - "section": "def-server.CoreStart", - "text": "CoreStart" - } - ], - "path": "src/plugins/data/server/plugin.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-server.DataServerPlugin.start.$2", - "type": "Object", - "tags": [], - "label": "{ fieldFormats }", - "description": [], - "signature": [ - "DataPluginStartDependencies" - ], - "path": "src/plugins/data/server/plugin.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" }, { - "parentPluginId": "data", - "id": "def-server.DataServerPlugin.stop", - "type": "Function", - "tags": [], - "label": "stop", - "description": [], - "signature": [ - "() => void" - ], - "path": "src/plugins/data/server/plugin.ts", - "deprecated": false, - "children": [], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPattern", - "type": "Class", - "tags": [], - "label": "IndexPattern", - "description": [], - "signature": [ + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + }, { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.d.ts" }, - " implements ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IIndexPattern", - "text": "IIndexPattern" - } - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [ + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.d.ts" + }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.id", - "type": "string", - "tags": [], - "label": "id", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.d.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.title", - "type": "string", - "tags": [], - "label": "title", - "description": [], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.d.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.fieldFormatMap", - "type": "Object", - "tags": [], - "label": "fieldFormatMap", - "description": [], - "signature": [ - "{ [x: string]: any; }" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/shared_imports.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.typeMeta", - "type": "Object", - "tags": [], - "label": "typeMeta", - "description": [ - "\nOnly used by rollup indices, used by rollup specific endpoint to load field list" - ], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.TypeMeta", - "text": "TypeMeta" - }, - " | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/list_control_factory.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/list_control_factory.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/range_control_factory.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/range_control_factory.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_param_props.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_param_props.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/top_field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/top_field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/top_sort_field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/top_sort_field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.fields", - "type": "CompoundType", - "tags": [], - "label": "fields", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IIndexPatternFieldList", - "text": "IIndexPatternFieldList" - }, - " & { toSpec: () => Record; }" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.timeFieldName", - "type": "string", - "tags": [], - "label": "timeFieldName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.intervalName", - "type": "string", - "tags": [ - "deprecated" - ], - "label": "intervalName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [] + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_param_props.d.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.type", - "type": "string", - "tags": [], - "label": "type", - "description": [ - "\nType is used to identify rollup index patterns" - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_param_props.d.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.formatHit", - "type": "Function", - "tags": [], - "label": "formatHit", - "description": [], - "signature": [ - "{ (hit: Record, type?: string | undefined): any; formatField: FormatFieldFn; }" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-server.hit", - "type": "Object", - "tags": [], - "label": "hit", - "description": [], - "signature": [ - "{ [x: string]: any; }" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false - } - ] + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.formatField", - "type": "Function", - "tags": [], - "label": "formatField", - "description": [], - "signature": [ - "(hit: Record, fieldName: string) => any" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-server.hit", - "type": "Object", - "tags": [], - "label": "hit", - "description": [], - "signature": [ - "{ [x: string]: any; }" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.fieldName", - "type": "string", - "tags": [], - "label": "fieldName", - "description": [], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false - } - ] + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.flattenHit", - "type": "Function", - "tags": [], - "label": "flattenHit", - "description": [], - "signature": [ - "(hit: Record, deep?: boolean | undefined) => Record" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-server.hit", - "type": "Object", - "tags": [], - "label": "hit", - "description": [], - "signature": [ - "{ [x: string]: any; }" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.deep", - "type": "CompoundType", - "tags": [], - "label": "deep", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false - } - ] + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_field.d.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.metaFields", - "type": "Array", - "tags": [], - "label": "metaFields", - "description": [], - "signature": [ - "string[]" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_field.d.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.version", - "type": "string", - "tags": [], - "label": "version", - "description": [ - "\nSavedObject version" - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_sort_field.d.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.sourceFilters", - "type": "Array", - "tags": [], - "label": "sourceFilters", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.SourceFilter", - "text": "SourceFilter" - }, - "[] | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_sort_field.d.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.allowNoIndex", - "type": "boolean", - "tags": [], - "label": "allowNoIndex", - "description": [ - "\nprevents errors when index pattern exists before indices" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.Unnamed", - "type": "Function", - "tags": [], - "label": "Constructor", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPattern.Unnamed.$1", - "type": "Object", - "tags": [], - "label": "{\n spec = {},\n fieldFormats,\n shortDotsEnable = false,\n metaFields = [],\n }", - "description": [], - "signature": [ - "IndexPatternDeps" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.getOriginalSavedObjectBody", - "type": "Function", - "tags": [], - "label": "getOriginalSavedObjectBody", - "description": [ - "\nGet last saved saved object fields" - ], - "signature": [ - "() => { fieldAttrs?: string | undefined; title?: string | undefined; timeFieldName?: string | undefined; intervalName?: string | undefined; fields?: string | undefined; sourceFilters?: string | undefined; fieldFormatMap?: string | undefined; typeMeta?: string | undefined; type?: string | undefined; }" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.resetOriginalSavedObjectBody", - "type": "Function", - "tags": [], - "label": "resetOriginalSavedObjectBody", - "description": [ - "\nReset last saved saved object fields. used after saving" - ], - "signature": [ - "() => void" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.getFieldAttrs", - "type": "Function", - "tags": [], - "label": "getFieldAttrs", - "description": [], - "signature": [ - "() => { [x: string]: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldAttrSet", - "text": "FieldAttrSet" - }, - "; }" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.getComputedFields", - "type": "Function", - "tags": [], - "label": "getComputedFields", - "description": [], - "signature": [ - "() => { storedFields: string[]; scriptFields: any; docvalueFields: { field: any; format: string; }[]; runtimeFields: Record; }" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.toSpec", - "type": "Function", - "tags": [], - "label": "toSpec", - "description": [ - "\nCreate static representation of index pattern" - ], - "signature": [ - "() => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" - } - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.getSourceFiltering", - "type": "Function", - "tags": [], - "label": "getSourceFiltering", - "description": [ - "\nGet the source filtering configuration for that index." - ], - "signature": [ - "() => { excludes: any[]; }" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.addScriptedField", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "addScriptedField", - "description": [ - "\nAdd scripted field to field list\n" - ], - "signature": [ - "(name: string, script: string, fieldType?: string) => Promise" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [], - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPattern.addScriptedField.$1", - "type": "string", - "tags": [], - "label": "name", - "description": [ - "field name" - ], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPattern.addScriptedField.$2", - "type": "string", - "tags": [], - "label": "script", - "description": [ - "script code" - ], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPattern.addScriptedField.$3", - "type": "string", - "tags": [], - "label": "fieldType", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.removeScriptedField", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "removeScriptedField", - "description": [ - "\nRemove scripted field from field list" - ], - "signature": [ - "(fieldName: string) => void" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" - } - ], - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPattern.removeScriptedField.$1", - "type": "string", - "tags": [], - "label": "fieldName", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.getNonScriptedFields", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "getNonScriptedFields", - "description": [ - "\n" - ], - "signature": [ - "() => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" - }, - "[]" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" - }, - { - "plugin": "graph", - "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" - }, - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_type_timeseries/public/application/lib/fetch_fields.ts" - } - ], - "children": [], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.getScriptedFields", - "type": "Function", - "tags": [ - "deprecated" - ], - "label": "getScriptedFields", - "description": [ - "\n" - ], - "signature": [ - "() => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" - }, - "[]" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ - { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" - } - ], - "children": [], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.isTimeBased", - "type": "Function", - "tags": [], - "label": "isTimeBased", - "description": [], - "signature": [ - "() => boolean" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.isTimeNanosBased", - "type": "Function", - "tags": [], - "label": "isTimeNanosBased", - "description": [], - "signature": [ - "() => boolean" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.getTimeField", - "type": "Function", - "tags": [], - "label": "getTimeField", - "description": [], - "signature": [ - "() => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" - }, - " | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.getFieldByName", - "type": "Function", - "tags": [], - "label": "getFieldByName", - "description": [], - "signature": [ - "(name: string) => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" - }, - " | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPattern.getFieldByName.$1", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.getAggregationRestrictions", - "type": "Function", - "tags": [], - "label": "getAggregationRestrictions", - "description": [], - "signature": [ - "() => Record> | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.getAsSavedObjectBody", - "type": "Function", - "tags": [], - "label": "getAsSavedObjectBody", - "description": [ - "\nReturns index pattern as saved object body for saving" - ], - "signature": [ - "() => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternAttributes", - "text": "IndexPatternAttributes" - } - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.getFormatterForField", - "type": "Function", - "tags": [], - "label": "getFormatterForField", - "description": [ - "\nProvide a field, get its formatter" - ], - "signature": [ - "(field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - ") => ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormat", - "text": "FieldFormat" - } - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPattern.getFormatterForField.$1", - "type": "CompoundType", - "tags": [], - "label": "field", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - } - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.addRuntimeField", - "type": "Function", - "tags": [], - "label": "addRuntimeField", - "description": [ - "\nAdd a runtime field - Appended to existing mapped field or a new field is\ncreated as appropriate" - ], - "signature": [ - "(name: string, runtimeField: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.RuntimeField", - "text": "RuntimeField" - }, - ") => void" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPattern.addRuntimeField.$1", - "type": "string", - "tags": [], - "label": "name", - "description": [ - "Field name" - ], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPattern.addRuntimeField.$2", - "type": "Object", - "tags": [], - "label": "runtimeField", - "description": [ - "Runtime field definition" - ], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.RuntimeField", - "text": "RuntimeField" - } - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.hasRuntimeField", - "type": "Function", - "tags": [], - "label": "hasRuntimeField", - "description": [ - "\nChecks if runtime field exists" - ], - "signature": [ - "(name: string) => boolean" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPattern.hasRuntimeField.$1", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.getRuntimeField", - "type": "Function", - "tags": [], - "label": "getRuntimeField", - "description": [ - "\nReturns runtime field if exists" - ], - "signature": [ - "(name: string) => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.RuntimeField", - "text": "RuntimeField" - }, - " | null" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPattern.getRuntimeField.$1", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.replaceAllRuntimeFields", - "type": "Function", - "tags": [], - "label": "replaceAllRuntimeFields", - "description": [ - "\nReplaces all existing runtime fields with new fields" - ], - "signature": [ - "(newFields: Record) => void" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPattern.replaceAllRuntimeFields.$1", - "type": "Object", - "tags": [], - "label": "newFields", - "description": [], - "signature": [ - "Record" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.removeRuntimeField", - "type": "Function", - "tags": [], - "label": "removeRuntimeField", - "description": [ - "\nRemove a runtime field - removed from mapped field or removed unmapped\nfield as appropriate. Doesn't clear associated field attributes." - ], - "signature": [ - "(name: string) => void" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPattern.removeRuntimeField.$1", - "type": "string", - "tags": [], - "label": "name", - "description": [ - "- Field name to remove" - ], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.getFormatterForFieldNoDefault", - "type": "Function", - "tags": [], - "label": "getFormatterForFieldNoDefault", - "description": [ - "\nGet formatter for a given field name. Return undefined if none exists" - ], - "signature": [ - "(fieldname: string) => ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormat", - "text": "FieldFormat" - }, - " | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPattern.getFormatterForFieldNoDefault.$1", - "type": "string", - "tags": [], - "label": "fieldname", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.setFieldAttrs", - "type": "Function", - "tags": [], - "label": "setFieldAttrs", - "description": [], - "signature": [ - "(fieldName: string, attrName: K, value: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldAttrSet", - "text": "FieldAttrSet" - }, - "[K]) => void" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPattern.setFieldAttrs.$1", - "type": "string", - "tags": [], - "label": "fieldName", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPattern.setFieldAttrs.$2", - "type": "Uncategorized", - "tags": [], - "label": "attrName", - "description": [], - "signature": [ - "K" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPattern.setFieldAttrs.$3", - "type": "Uncategorized", - "tags": [], - "label": "value", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldAttrSet", - "text": "FieldAttrSet" - }, - "[K]" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.setFieldCustomLabel", - "type": "Function", - "tags": [], - "label": "setFieldCustomLabel", - "description": [], - "signature": [ - "(fieldName: string, customLabel: string | null | undefined) => void" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPattern.setFieldCustomLabel.$1", - "type": "string", - "tags": [], - "label": "fieldName", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPattern.setFieldCustomLabel.$2", - "type": "CompoundType", - "tags": [], - "label": "customLabel", - "description": [], - "signature": [ - "string | null | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [] + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.setFieldCount", - "type": "Function", - "tags": [], - "label": "setFieldCount", - "description": [], - "signature": [ - "(fieldName: string, count: number | null | undefined) => void" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPattern.setFieldCount.$1", - "type": "string", - "tags": [], - "label": "fieldName", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPattern.setFieldCount.$2", - "type": "CompoundType", - "tags": [], - "label": "count", - "description": [], - "signature": [ - "number | null | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [] + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.setFieldFormat", - "type": "Function", - "tags": [], - "label": "setFieldFormat", - "description": [], - "signature": [ - "(fieldName: string, format: ", - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.SerializedFieldFormat", - "text": "SerializedFieldFormat" - }, - ">) => void" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPattern.setFieldFormat.$1", - "type": "string", - "tags": [], - "label": "fieldName", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPattern.setFieldFormat.$2", - "type": "Object", - "tags": [], - "label": "format", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.SerializedFieldFormat", - "text": "SerializedFieldFormat" - }, - ">" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPattern.deleteFieldFormat", - "type": "Function", - "tags": [], - "label": "deleteFieldFormat", - "description": [], - "signature": [ - "(fieldName: string) => void" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPattern.deleteFieldFormat.$1", - "type": "string", - "tags": [], - "label": "fieldName", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternField", - "type": "Class", - "tags": [], - "label": "IndexPatternField", - "description": [], - "signature": [ + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" }, - " implements ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - } - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false, - "children": [ + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternField.spec", - "type": "Object", - "tags": [], - "label": "spec", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - } - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternField.Unnamed", - "type": "Function", - "tags": [], - "label": "Constructor", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternField.Unnamed.$1", - "type": "Object", - "tags": [], - "label": "spec", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - } - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternField.count", - "type": "number", - "tags": [], - "label": "count", - "description": [ - "\nCount is used for field popularity" - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternField.count", - "type": "number", - "tags": [], - "label": "count", - "description": [], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternField.runtimeField", - "type": "Object", - "tags": [], - "label": "runtimeField", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.RuntimeField", - "text": "RuntimeField" - }, - " | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternField.runtimeField", - "type": "Object", - "tags": [], - "label": "runtimeField", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.RuntimeField", - "text": "RuntimeField" - }, - " | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternField.script", - "type": "string", - "tags": [], - "label": "script", - "description": [ - "\nScript field code" - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternField.script", - "type": "string", - "tags": [], - "label": "script", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternField.lang", - "type": "CompoundType", - "tags": [], - "label": "lang", - "description": [ - "\nScript field language" - ], - "signature": [ - "\"painless\" | \"expression\" | \"mustache\" | \"java\" | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternField.lang", - "type": "CompoundType", - "tags": [], - "label": "lang", - "description": [], - "signature": [ - "\"painless\" | \"expression\" | \"mustache\" | \"java\" | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternField.customLabel", - "type": "string", - "tags": [], - "label": "customLabel", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternField.customLabel", - "type": "string", - "tags": [], - "label": "customLabel", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternField.conflictDescriptions", - "type": "Object", - "tags": [], - "label": "conflictDescriptions", - "description": [ - "\nDescription of field type conflicts across different indices in the same index pattern" - ], - "signature": [ - "Record | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternField.conflictDescriptions", - "type": "Object", - "tags": [], - "label": "conflictDescriptions", - "description": [], - "signature": [ - "Record | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternField.name", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternField.displayName", - "type": "string", - "tags": [], - "label": "displayName", - "description": [], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternField.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternField.esTypes", - "type": "Array", - "tags": [], - "label": "esTypes", - "description": [], - "signature": [ - "string[] | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternField.scripted", - "type": "boolean", - "tags": [], - "label": "scripted", - "description": [], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternField.searchable", - "type": "boolean", - "tags": [], - "label": "searchable", - "description": [], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternField.aggregatable", - "type": "boolean", - "tags": [], - "label": "aggregatable", - "description": [], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternField.readFromDocValues", - "type": "boolean", - "tags": [], - "label": "readFromDocValues", - "description": [], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternField.subType", - "type": "Object", - "tags": [], - "label": "subType", - "description": [], - "signature": [ - "IFieldSubType", - " | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternField.isMapped", - "type": "CompoundType", - "tags": [], - "label": "isMapped", - "description": [ - "\nIs the field part of the index mapping?" - ], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternField.sortable", - "type": "boolean", - "tags": [], - "label": "sortable", - "description": [], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternField.filterable", - "type": "boolean", - "tags": [], - "label": "filterable", - "description": [], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternField.visualizable", - "type": "boolean", - "tags": [], - "label": "visualizable", - "description": [], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternField.deleteCount", - "type": "Function", - "tags": [], - "label": "deleteCount", - "description": [], - "signature": [ - "() => void" - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternField.toJSON", - "type": "Function", - "tags": [], - "label": "toJSON", - "description": [], - "signature": [ - "() => { count: number; script: string | undefined; lang: \"painless\" | \"expression\" | \"mustache\" | \"java\" | undefined; conflictDescriptions: Record | undefined; name: string; type: string; esTypes: string[] | undefined; scripted: boolean; searchable: boolean; aggregatable: boolean; readFromDocValues: boolean; subType: ", - "IFieldSubType", - " | undefined; customLabel: string | undefined; }" - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternField.toSpec", - "type": "Function", - "tags": [], - "label": "toSpec", - "description": [], - "signature": [ - "({ getFormatterForField, }?: { getFormatterForField?: ((field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - ") => ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormat", - "text": "FieldFormat" - }, - ") | undefined; }) => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - } - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternField.toSpec.$1.getFormatterForField", - "type": "Object", - "tags": [], - "label": "{\n getFormatterForField,\n }", - "description": [], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternField.toSpec.$1.getFormatterForField.getFormatterForField", - "type": "Function", - "tags": [], - "label": "getFormatterForField", - "description": [], - "signature": [ - "((field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - ") => ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormat", - "text": "FieldFormat" - }, - ") | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", - "deprecated": false - } - ] - } - ], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" } ], + "children": [], "initialIsOpen": false }, { "parentPluginId": "data", "id": "def-server.IndexPatternsService", "type": "Class", - "tags": [], + "tags": [ + "deprecated" + ], "label": "IndexPatternsService", "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IndexPatternsService", + "text": "IndexPatternsService" + }, + " extends ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewsService", + "text": "DataViewsService" + } + ], "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ + "deprecated": true, + "references": [ { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.ensureDefaultIndexPattern", - "type": "Function", - "tags": [], - "label": "ensureDefaultIndexPattern", - "description": [], - "signature": [ - "() => Promise | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "returnComment": [], - "children": [] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.Unnamed", - "type": "Function", - "tags": [], - "label": "Constructor", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.Unnamed.$1", - "type": "Object", - "tags": [], - "label": "{\n uiSettings,\n savedObjectsClient,\n apiClient,\n fieldFormats,\n onNotification,\n onError,\n onRedirectNoIndexPattern = () => {},\n }", - "description": [], - "signature": [ - "IndexPatternsServiceDeps" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.getIds", - "type": "Function", - "tags": [], - "label": "getIds", - "description": [ - "\nGet list of index pattern ids" - ], - "signature": [ - "(refresh?: boolean) => Promise" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.getIds.$1", - "type": "boolean", - "tags": [], - "label": "refresh", - "description": [ - "Force refresh of index pattern list" - ], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/types.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/types.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/kibana_server_services.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/kibana_server_services.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/data_indexing/create_doc_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/data_indexing/create_doc_source.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.getTitles", - "type": "Function", - "tags": [], - "label": "getTitles", - "description": [ - "\nGet list of index pattern titles" - ], - "signature": [ - "(refresh?: boolean) => Promise" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.getTitles.$1", - "type": "boolean", - "tags": [], - "label": "refresh", - "description": [ - "Force refresh of index pattern list" - ], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/common/index_patterns_utils.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.find", - "type": "Function", - "tags": [], - "label": "find", - "description": [ - "\nFind and load index patterns by title" - ], - "signature": [ - "(search: string, size?: number) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - }, - "[]>" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.find.$1", - "type": "string", - "tags": [], - "label": "search", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.find.$2", - "type": "number", - "tags": [], - "label": "size", - "description": [], - "signature": [ - "number" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [ - "IndexPattern[]" - ] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/common/index_patterns_utils.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.getIdsWithTitle", - "type": "Function", - "tags": [], - "label": "getIdsWithTitle", - "description": [ - "\nGet list of index pattern ids with titles" - ], - "signature": [ - "(refresh?: boolean) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternListItem", - "text": "IndexPatternListItem" - }, - "[]>" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.getIdsWithTitle.$1", - "type": "boolean", - "tags": [], - "label": "refresh", - "description": [ - "Force refresh of index pattern list" - ], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/fields_fetcher.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.clearCache", - "type": "Function", - "tags": [], - "label": "clearCache", - "description": [ - "\nClear index pattern list cache" - ], - "signature": [ - "(id?: string | undefined) => void" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.clearCache.$1", - "type": "string", - "tags": [], - "label": "id", - "description": [ - "optionally clear a single id" - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/fields_fetcher.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.getCache", - "type": "Function", - "tags": [], - "label": "getCache", - "description": [], - "signature": [ - "() => Promise<", - "SavedObject", - ">[] | null | undefined>" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/plugin.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.getDefault", - "type": "Function", - "tags": [], - "label": "getDefault", - "description": [ - "\nGet default index pattern" - ], - "signature": [ - "() => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - }, - " | null>" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/plugin.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.getDefaultId", - "type": "Function", - "tags": [], - "label": "getDefaultId", - "description": [ - "\nGet default index pattern id" - ], - "signature": [ - "() => Promise" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/common/index_patterns_utils.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.setDefault", - "type": "Function", - "tags": [], - "label": "setDefault", - "description": [ - "\nOptionally set default index pattern, unless force = true" - ], - "signature": [ - "(id: string | null, force?: boolean) => Promise" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.setDefault.$1", - "type": "CompoundType", - "tags": [], - "label": "id", - "description": [], - "signature": [ - "string | null" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": false - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.setDefault.$2", - "type": "boolean", - "tags": [], - "label": "force", - "description": [], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/common/index_patterns_utils.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.hasUserIndexPattern", - "type": "Function", - "tags": [], - "label": "hasUserIndexPattern", - "description": [ - "\nChecks if current user has a user created index pattern ignoring fleet's server default index patterns" - ], - "signature": [ - "() => Promise" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/common/index_patterns_utils.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.getFieldsForWildcard", - "type": "Function", - "tags": [], - "label": "getFieldsForWildcard", - "description": [ - "\nGet field list by providing { pattern }" - ], - "signature": [ - "(options: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - }, - ") => Promise" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.getFieldsForWildcard.$1", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - } - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [ - "FieldSpec[]" - ] + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_patterns.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.getFieldsForIndexPattern", - "type": "Function", - "tags": [], - "label": "getFieldsForIndexPattern", - "description": [ - "\nGet field list by providing an index patttern (or spec)" - ], - "signature": [ - "(indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" - }, - ", options?: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - }, - " | undefined) => Promise" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.getFieldsForIndexPattern.$1", - "type": "CompoundType", - "tags": [], - "label": "indexPattern", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" - } - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.getFieldsForIndexPattern.$2", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - }, - " | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [ - "FieldSpec[]" - ] + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_patterns.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.refreshFields", - "type": "Function", - "tags": [], - "label": "refreshFields", - "description": [ - "\nRefresh field list for a given index pattern" - ], - "signature": [ - "(indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - }, - ") => Promise" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.refreshFields.$1", - "type": "Object", - "tags": [], - "label": "indexPattern", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - } - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.fieldArrayToMap", - "type": "Function", - "tags": [], - "label": "fieldArrayToMap", - "description": [ - "\nConverts field array to map" - ], - "signature": [ - "(fields: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "[], fieldAttrs?: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldAttrs", - "text": "FieldAttrs" - }, - " | undefined) => Record" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.fieldArrayToMap.$1", - "type": "Array", - "tags": [], - "label": "fields", - "description": [ - ": FieldSpec[]" - ], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "[]" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.fieldArrayToMap.$2", - "type": "Object", - "tags": [], - "label": "fieldAttrs", - "description": [ - ": FieldAttrs" - ], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldAttrs", - "text": "FieldAttrs" - }, - " | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [ - "Record" - ] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.savedObjectToSpec", - "type": "Function", - "tags": [], - "label": "savedObjectToSpec", - "description": [ - "\nConverts index pattern saved object to index pattern spec" - ], - "signature": [ - "(savedObject: ", - "SavedObject", - "<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternAttributes", - "text": "IndexPatternAttributes" - }, - ">) => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" - } - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.savedObjectToSpec.$1", - "type": "Object", - "tags": [], - "label": "savedObject", - "description": [], - "signature": [ - "SavedObject", - "<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternAttributes", - "text": "IndexPatternAttributes" - }, - ">" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [ - "IndexPatternSpec" - ] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.get", - "type": "Function", - "tags": [], - "label": "get", - "description": [ - "\nGet an index pattern by id. Cache optimized" - ], - "signature": [ - "(id: string) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - }, - ">" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.get.$1", - "type": "string", - "tags": [], - "label": "id", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.create", - "type": "Function", - "tags": [], - "label": "create", - "description": [ - "\nCreate a new index pattern instance" - ], - "signature": [ - "(spec: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" - }, - ", skipFetchFields?: boolean) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - }, - ">" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.create.$1", - "type": "Object", - "tags": [], - "label": "spec", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" - } - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.create.$2", - "type": "boolean", - "tags": [], - "label": "skipFetchFields", - "description": [], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [ - "IndexPattern" - ] + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.createAndSave", - "type": "Function", - "tags": [], - "label": "createAndSave", - "description": [ - "\nCreate a new index pattern and save it right away" - ], - "signature": [ - "(spec: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" - }, - ", override?: boolean, skipFetchFields?: boolean) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - }, - ">" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.createAndSave.$1", - "type": "Object", - "tags": [], - "label": "spec", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" - } - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.createAndSave.$2", - "type": "boolean", - "tags": [], - "label": "override", - "description": [ - "Overwrite if existing index pattern exists." - ], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.createAndSave.$3", - "type": "boolean", - "tags": [], - "label": "skipFetchFields", - "description": [ - "Whether to skip field refresh step." - ], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.createSavedObject", - "type": "Function", - "tags": [], - "label": "createSavedObject", - "description": [ - "\nSave a new index pattern" - ], - "signature": [ - "(indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - }, - ", override?: boolean) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - }, - ">" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.createSavedObject.$1", - "type": "Object", - "tags": [], - "label": "indexPattern", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - } - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.createSavedObject.$2", - "type": "boolean", - "tags": [], - "label": "override", - "description": [ - "Overwrite if existing index pattern exists" - ], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.updateSavedObject", - "type": "Function", - "tags": [], - "label": "updateSavedObject", - "description": [ - "\nSave existing index pattern. Will attempt to merge differences if there are conflicts" - ], - "signature": [ - "(indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - }, - ", saveAttempts?: number, ignoreErrors?: boolean) => Promise" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.updateSavedObject.$1", - "type": "Object", - "tags": [], - "label": "indexPattern", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - } - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.updateSavedObject.$2", - "type": "number", - "tags": [], - "label": "saveAttempts", - "description": [], - "signature": [ - "number" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.updateSavedObject.$3", - "type": "boolean", - "tags": [], - "label": "ignoreErrors", - "description": [], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.delete", - "type": "Function", - "tags": [], - "label": "delete", - "description": [ - "\nDeletes an index pattern from .kibana index" - ], - "signature": [ - "(indexPatternId: string) => Promise<{}>" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.delete.$1", - "type": "string", - "tags": [], - "label": "indexPatternId", - "description": [ - ": Id of kibana Index Pattern to delete" - ], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" } ], + "children": [], "initialIsOpen": false }, { "parentPluginId": "data", "id": "def-server.IndexPatternsService", "type": "Class", - "tags": [], + "tags": [ + "deprecated" + ], "label": "IndexPatternsService", "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IndexPatternsService", + "text": "IndexPatternsService" + }, + " extends ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewsService", + "text": "DataViewsService" + } + ], "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ + "deprecated": true, + "references": [ { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.ensureDefaultIndexPattern", - "type": "Function", - "tags": [], - "label": "ensureDefaultIndexPattern", - "description": [], - "signature": [ - "() => Promise | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "returnComment": [], - "children": [] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.Unnamed", - "type": "Function", - "tags": [], - "label": "Constructor", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.Unnamed.$1", - "type": "Object", - "tags": [], - "label": "{\n uiSettings,\n savedObjectsClient,\n apiClient,\n fieldFormats,\n onNotification,\n onError,\n onRedirectNoIndexPattern = () => {},\n }", - "description": [], - "signature": [ - "IndexPatternsServiceDeps" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.getIds", - "type": "Function", - "tags": [], - "label": "getIds", - "description": [ - "\nGet list of index pattern ids" - ], - "signature": [ - "(refresh?: boolean) => Promise" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.getIds.$1", - "type": "boolean", - "tags": [], - "label": "refresh", - "description": [ - "Force refresh of index pattern list" - ], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.getTitles", - "type": "Function", - "tags": [], - "label": "getTitles", - "description": [ - "\nGet list of index pattern titles" - ], - "signature": [ - "(refresh?: boolean) => Promise" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.getTitles.$1", - "type": "boolean", - "tags": [], - "label": "refresh", - "description": [ - "Force refresh of index pattern list" - ], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.find", - "type": "Function", - "tags": [], - "label": "find", - "description": [ - "\nFind and load index patterns by title" - ], - "signature": [ - "(search: string, size?: number) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - }, - "[]>" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.find.$1", - "type": "string", - "tags": [], - "label": "search", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.find.$2", - "type": "number", - "tags": [], - "label": "size", - "description": [], - "signature": [ - "number" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [ - "IndexPattern[]" - ] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.getIdsWithTitle", - "type": "Function", - "tags": [], - "label": "getIdsWithTitle", - "description": [ - "\nGet list of index pattern ids with titles" - ], - "signature": [ - "(refresh?: boolean) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternListItem", - "text": "IndexPatternListItem" - }, - "[]>" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.getIdsWithTitle.$1", - "type": "boolean", - "tags": [], - "label": "refresh", - "description": [ - "Force refresh of index pattern list" - ], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.clearCache", - "type": "Function", - "tags": [], - "label": "clearCache", - "description": [ - "\nClear index pattern list cache" - ], - "signature": [ - "(id?: string | undefined) => void" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.clearCache.$1", - "type": "string", - "tags": [], - "label": "id", - "description": [ - "optionally clear a single id" - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.getCache", - "type": "Function", - "tags": [], - "label": "getCache", - "description": [], - "signature": [ - "() => Promise<", - "SavedObject", - ">[] | null | undefined>" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.getDefault", - "type": "Function", - "tags": [], - "label": "getDefault", - "description": [ - "\nGet default index pattern" - ], - "signature": [ - "() => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - }, - " | null>" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/types.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.getDefaultId", - "type": "Function", - "tags": [], - "label": "getDefaultId", - "description": [ - "\nGet default index pattern id" - ], - "signature": [ - "() => Promise" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/types.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/kibana_server_services.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.setDefault", - "type": "Function", - "tags": [], - "label": "setDefault", - "description": [ - "\nOptionally set default index pattern, unless force = true" - ], - "signature": [ - "(id: string | null, force?: boolean) => Promise" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.setDefault.$1", - "type": "CompoundType", - "tags": [], - "label": "id", - "description": [], - "signature": [ - "string | null" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": false - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.setDefault.$2", - "type": "boolean", - "tags": [], - "label": "force", - "description": [], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "maps", + "path": "x-pack/plugins/maps/server/kibana_server_services.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.hasUserIndexPattern", - "type": "Function", - "tags": [], - "label": "hasUserIndexPattern", - "description": [ - "\nChecks if current user has a user created index pattern ignoring fleet's server default index patterns" - ], - "signature": [ - "() => Promise" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "maps", + "path": "x-pack/plugins/maps/server/data_indexing/create_doc_source.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.getFieldsForWildcard", - "type": "Function", - "tags": [], - "label": "getFieldsForWildcard", - "description": [ - "\nGet field list by providing { pattern }" - ], - "signature": [ - "(options: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - }, - ") => Promise" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.getFieldsForWildcard.$1", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - } - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [ - "FieldSpec[]" - ] + "plugin": "maps", + "path": "x-pack/plugins/maps/server/data_indexing/create_doc_source.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.getFieldsForIndexPattern", - "type": "Function", - "tags": [], - "label": "getFieldsForIndexPattern", - "description": [ - "\nGet field list by providing an index patttern (or spec)" - ], - "signature": [ - "(indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" - }, - ", options?: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - }, - " | undefined) => Promise" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.getFieldsForIndexPattern.$1", - "type": "CompoundType", - "tags": [], - "label": "indexPattern", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" - } - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.getFieldsForIndexPattern.$2", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - }, - " | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [ - "FieldSpec[]" - ] + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.refreshFields", - "type": "Function", - "tags": [], - "label": "refreshFields", - "description": [ - "\nRefresh field list for a given index pattern" - ], - "signature": [ - "(indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - }, - ") => Promise" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.refreshFields.$1", - "type": "Object", - "tags": [], - "label": "indexPattern", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - } - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.fieldArrayToMap", - "type": "Function", - "tags": [], - "label": "fieldArrayToMap", - "description": [ - "\nConverts field array to map" - ], - "signature": [ - "(fields: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "[], fieldAttrs?: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldAttrs", - "text": "FieldAttrs" - }, - " | undefined) => Record" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.fieldArrayToMap.$1", - "type": "Array", - "tags": [], - "label": "fields", - "description": [ - ": FieldSpec[]" - ], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "[]" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.fieldArrayToMap.$2", - "type": "Object", - "tags": [], - "label": "fieldAttrs", - "description": [ - ": FieldAttrs" - ], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldAttrs", - "text": "FieldAttrs" - }, - " | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": false - } - ], - "returnComment": [ - "Record" - ] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/common/index_patterns_utils.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.savedObjectToSpec", - "type": "Function", - "tags": [], - "label": "savedObjectToSpec", - "description": [ - "\nConverts index pattern saved object to index pattern spec" - ], - "signature": [ - "(savedObject: ", - "SavedObject", - "<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternAttributes", - "text": "IndexPatternAttributes" - }, - ">) => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" - } - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.savedObjectToSpec.$1", - "type": "Object", - "tags": [], - "label": "savedObject", - "description": [], - "signature": [ - "SavedObject", - "<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternAttributes", - "text": "IndexPatternAttributes" - }, - ">" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [ - "IndexPatternSpec" - ] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/common/index_patterns_utils.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.get", - "type": "Function", - "tags": [], - "label": "get", - "description": [ - "\nGet an index pattern by id. Cache optimized" - ], - "signature": [ - "(id: string) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - }, - ">" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.get.$1", - "type": "string", - "tags": [], - "label": "id", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/fields_fetcher.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.create", - "type": "Function", - "tags": [], - "label": "create", - "description": [ - "\nCreate a new index pattern instance" - ], - "signature": [ - "(spec: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" - }, - ", skipFetchFields?: boolean) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - }, - ">" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.create.$1", - "type": "Object", - "tags": [], - "label": "spec", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" - } - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.create.$2", - "type": "boolean", - "tags": [], - "label": "skipFetchFields", - "description": [], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [ - "IndexPattern" - ] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/fields_fetcher.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.createAndSave", - "type": "Function", - "tags": [], - "label": "createAndSave", - "description": [ - "\nCreate a new index pattern and save it right away" - ], - "signature": [ - "(spec: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" - }, - ", override?: boolean, skipFetchFields?: boolean) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - }, - ">" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.createAndSave.$1", - "type": "Object", - "tags": [], - "label": "spec", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" - } - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.createAndSave.$2", - "type": "boolean", - "tags": [], - "label": "override", - "description": [ - "Overwrite if existing index pattern exists." - ], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.createAndSave.$3", - "type": "boolean", - "tags": [], - "label": "skipFetchFields", - "description": [ - "Whether to skip field refresh step." - ], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/plugin.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.createSavedObject", - "type": "Function", - "tags": [], - "label": "createSavedObject", - "description": [ - "\nSave a new index pattern" - ], - "signature": [ - "(indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - }, - ", override?: boolean) => Promise<", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - }, - ">" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.createSavedObject.$1", - "type": "Object", - "tags": [], - "label": "indexPattern", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - } - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.createSavedObject.$2", - "type": "boolean", - "tags": [], - "label": "override", - "description": [ - "Overwrite if existing index pattern exists" - ], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/plugin.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.updateSavedObject", - "type": "Function", - "tags": [], - "label": "updateSavedObject", - "description": [ - "\nSave existing index pattern. Will attempt to merge differences if there are conflicts" - ], - "signature": [ - "(indexPattern: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - }, - ", saveAttempts?: number, ignoreErrors?: boolean) => Promise" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.updateSavedObject.$1", - "type": "Object", - "tags": [], - "label": "indexPattern", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" - } - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.updateSavedObject.$2", - "type": "number", - "tags": [], - "label": "saveAttempts", - "description": [], - "signature": [ - "number" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.updateSavedObject.$3", - "type": "boolean", - "tags": [], - "label": "ignoreErrors", - "description": [], - "signature": [ - "boolean" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/common/index_patterns_utils.test.ts" }, { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.delete", - "type": "Function", - "tags": [], - "label": "delete", - "description": [ - "\nDeletes an index pattern from .kibana index" - ], - "signature": [ - "(indexPatternId: string) => Promise<{}>" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternsService.delete.$1", - "type": "string", - "tags": [], - "label": "indexPatternId", - "description": [ - ": Id of kibana Index Pattern to delete" - ], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_patterns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_patterns.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" } ], + "children": [], "initialIsOpen": false } ], @@ -27120,7 +29579,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-server.esType", + "id": "def-server.castEsToKbnFieldTypeName.$1", "type": "string", "tags": [], "label": "esType", @@ -27241,7 +29700,7 @@ }, { "parentPluginId": "data", - "id": "def-server.getTime.$3.options", + "id": "def-server.getTime.$3", "type": "Object", "tags": [], "label": "options", @@ -27251,7 +29710,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-server.getTime.$3.options.forceNow", + "id": "def-server.getTime.$3.forceNow", "type": "Object", "tags": [], "label": "forceNow", @@ -27264,7 +29723,7 @@ }, { "parentPluginId": "data", - "id": "def-server.getTime.$3.options.fieldName", + "id": "def-server.getTime.$3.fieldName", "type": "string", "tags": [], "label": "fieldName", @@ -27384,7 +29843,7 @@ "text": "IFieldType" }, " extends ", - "IndexPatternFieldBase" + "DataViewFieldBase" ], "path": "src/plugins/data/common/index_patterns/fields/types.ts", "deprecated": true, @@ -27402,238 +29861,6 @@ "plugin": "fleet", "path": "x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx" }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/es_doc_field.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/es_doc_field.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" - }, { "plugin": "ml", "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" @@ -27774,14 +30001,6 @@ "plugin": "fleet", "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx" }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts" - }, { "plugin": "stackAlerts", "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" @@ -27814,86 +30033,6 @@ "plugin": "stackAlerts", "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" - }, { "plugin": "ml", "path": "x-pack/plugins/ml/public/application/util/field_types_utils.ts" @@ -27922,26 +30061,6 @@ "plugin": "ml", "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" - }, { "plugin": "infra", "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/group_by_expression.d.ts" @@ -27982,22 +30101,6 @@ "plugin": "infra", "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_row.d.ts" }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" - }, { "plugin": "infra", "path": "x-pack/plugins/infra/target/types/public/alerting/log_threshold/components/expression_editor/criteria.d.ts" @@ -28030,30 +30133,6 @@ "plugin": "infra", "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/metrics.d.ts" }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.d.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.d.ts" - }, { "plugin": "stackAlerts", "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts" @@ -28110,66 +30189,6 @@ "plugin": "indexPatternManagement", "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/types.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/types.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/geo_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/geo_field_select.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/public/indexpattern_datasource/types.d.ts" - }, - { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/public/indexpattern_datasource/types.d.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts" - }, - { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts" - }, { "plugin": "stackAlerts", "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" @@ -28233,14 +30252,6 @@ { "plugin": "stackAlerts", "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" - }, - { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" } ], "children": [ @@ -28408,16 +30419,16 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" + "section": "def-common.FieldSpec", + "text": "FieldSpec" }, " | ", { "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" + "section": "def-common.DataViewField", + "text": "DataViewField" }, ") => ", { @@ -28442,7 +30453,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-server.IFieldType.toSpec.$1.options", + "id": "def-server.IFieldType.toSpec.$1", "type": "Object", "tags": [], "label": "options", @@ -28452,7 +30463,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-server.IFieldType.toSpec.$1.options.getFormatterForField", + "id": "def-server.IFieldType.toSpec.$1.getFormatterForField", "type": "Function", "tags": [], "label": "getFormatterForField", @@ -28471,16 +30482,16 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" + "section": "def-common.FieldSpec", + "text": "FieldSpec" }, " | ", { "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" + "section": "def-common.DataViewField", + "text": "DataViewField" }, ") => ", { @@ -28503,154 +30514,6 @@ ], "initialIsOpen": false }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternAttributes", - "type": "Interface", - "tags": [], - "label": "IndexPatternAttributes", - "description": [ - "\nInterface for an index pattern saved object" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-server.IndexPatternAttributes.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternAttributes.fields", - "type": "string", - "tags": [], - "label": "fields", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternAttributes.title", - "type": "string", - "tags": [], - "label": "title", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternAttributes.typeMeta", - "type": "string", - "tags": [], - "label": "typeMeta", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternAttributes.timeFieldName", - "type": "string", - "tags": [], - "label": "timeFieldName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternAttributes.intervalName", - "type": "string", - "tags": [], - "label": "intervalName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternAttributes.sourceFilters", - "type": "string", - "tags": [], - "label": "sourceFilters", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternAttributes.fieldFormatMap", - "type": "string", - "tags": [], - "label": "fieldFormatMap", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternAttributes.fieldAttrs", - "type": "string", - "tags": [], - "label": "fieldAttrs", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternAttributes.runtimeFieldMap", - "type": "string", - "tags": [], - "label": "runtimeFieldMap", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-server.IndexPatternAttributes.allowNoIndex", - "type": "CompoundType", - "tags": [], - "label": "allowNoIndex", - "description": [ - "\nprevents errors when index pattern exists before indices" - ], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, { "parentPluginId": "data", "id": "def-server.ISearchOptions", @@ -28919,14 +30782,6 @@ "deprecated": true, "removeBy": "8.1", "references": [ - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/target/types/canvas_plugin_src/functions/external/saved_lens.d.ts" - }, { "plugin": "discover", "path": "src/plugins/discover/public/url_generator.ts" @@ -28961,63 +30816,63 @@ }, { "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context/api/context.ts" + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context/api/context.ts" + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context/api/context.ts" + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context/api/context.ts" + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context_state.ts" + "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context_state.ts" + "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context_state.ts" + "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context_state.ts" + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context_state.ts" + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context_state.ts" + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context_state.ts" + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" }, { "plugin": "visualizations", @@ -29129,15 +30984,15 @@ }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/url_generator.ts" + "path": "src/plugins/dashboard/public/locator.ts" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/url_generator.ts" + "path": "src/plugins/dashboard/public/locator.ts" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/url_generator.ts" + "path": "src/plugins/dashboard/public/locator.ts" }, { "plugin": "dashboard", @@ -29145,15 +31000,15 @@ }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/locator.ts" + "path": "src/plugins/dashboard/public/url_generator.ts" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/locator.ts" + "path": "src/plugins/dashboard/public/url_generator.ts" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/locator.ts" + "path": "src/plugins/dashboard/public/url_generator.ts" }, { "plugin": "lens", @@ -29297,47 +31152,47 @@ }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/join_tooltip_property.ts" + "path": "x-pack/plugins/maps/public/selectors/map_selectors.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/join_tooltip_property.ts" + "path": "x-pack/plugins/maps/public/selectors/map_selectors.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + "path": "x-pack/plugins/maps/public/actions/map_actions.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + "path": "x-pack/plugins/maps/public/actions/map_actions.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + "path": "x-pack/plugins/maps/public/classes/tooltips/join_tooltip_property.tsx" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "path": "x-pack/plugins/maps/public/classes/tooltips/join_tooltip_property.tsx" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/selectors/map_selectors.ts" + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/selectors/map_selectors.ts" + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/actions/map_actions.ts" + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/actions/map_actions.ts" + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" }, { "plugin": "maps", @@ -29523,14 +31378,6 @@ "plugin": "infra", "path": "x-pack/plugins/infra/public/components/log_stream/log_stream_embeddable.tsx" }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.ts" - }, { "plugin": "lens", "path": "x-pack/plugins/lens/server/migrations/types.ts" @@ -30059,14 +31906,6 @@ "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/common/detection_engine/get_query_filter.test.ts" }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/target/types/canvas_plugin_src/functions/external/saved_lens.d.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/target/types/canvas_plugin_src/functions/external/saved_lens.d.ts" - }, { "plugin": "discoverEnhanced", "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_chart_action.test.ts" @@ -30415,14 +32254,6 @@ "plugin": "visTypeTimelion", "path": "src/plugins/vis_type_timelion/public/timelion_vis_fn.ts" }, - { - "plugin": "visTypeVega", - "path": "src/plugins/vis_types/vega/public/vega_request_handler.ts" - }, - { - "plugin": "visTypeVega", - "path": "src/plugins/vis_types/vega/public/vega_request_handler.ts" - }, { "plugin": "dashboard", "path": "src/plugins/dashboard/server/saved_objects/move_filters_to_query.test.ts" @@ -30432,16 +32263,12 @@ "path": "src/plugins/dashboard/server/saved_objects/move_filters_to_query.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context_state.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context_state.test.ts" + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/vega_request_handler.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context_state.test.ts" + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/vega_request_handler.ts" }, { "plugin": "inputControlVis", @@ -30497,15 +32324,27 @@ }, { "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/angular/context/api/context.d.ts" + "path": "src/plugins/discover/public/application/apps/context/services/context_state.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context_state.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context_state.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/angular/context/api/context.d.ts" + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/angular/context/api/context.d.ts" + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" }, { "plugin": "securitySolution", @@ -30533,19 +32372,19 @@ }, { "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/types.ts" + "path": "x-pack/plugins/maps/public/embeddable/types.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/types.ts" + "path": "x-pack/plugins/maps/public/embeddable/types.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/embeddable/types.ts" + "path": "x-pack/plugins/maps/common/elasticsearch_util/types.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/embeddable/types.ts" + "path": "x-pack/plugins/maps/common/elasticsearch_util/types.ts" }, { "plugin": "maps", @@ -30679,6 +32518,22 @@ "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/target/types/server/lib/detection_engine/signals/threshold/get_threshold_bucket_filters.d.ts" }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/common/locator.ts" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/common/locator.ts" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/target/types/common/locator.d.ts" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/target/types/common/locator.d.ts" + }, { "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_preview/helpers.ts" @@ -30723,6 +32578,14 @@ "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" + }, { "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/public/network/pages/navigation/alerts_query_tab_body.tsx" @@ -30796,14 +32659,222 @@ "parentPluginId": "data", "id": "def-server.INDEX_PATTERN_SAVED_OBJECT_TYPE", "type": "string", - "tags": [], + "tags": [ + "deprecated" + ], "label": "INDEX_PATTERN_SAVED_OBJECT_TYPE", "description": [], "signature": [ "\"index-pattern\"" ], "path": "src/plugins/data/common/constants.ts", - "deprecated": false, + "deprecated": true, + "references": [ + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-server.IndexPatternAttributes", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IndexPatternAttributes", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + } + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": true, + "references": [ + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/lib/es_service.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/lib/es_service.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/lib/es_service.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/types.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_route.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_route.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_route.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/common/types/kibana.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/common/types/kibana.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/common/types/kibana.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/common/types/kibana.d.ts" + } + ], "initialIsOpen": false }, { @@ -31098,7 +33169,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-server.query", + "id": "def-server.esFilters.buildQueryFilter.$1", "type": "CompoundType", "tags": [], "label": "query", @@ -31111,7 +33182,7 @@ }, { "parentPluginId": "data", - "id": "def-server.index", + "id": "def-server.esFilters.buildQueryFilter.$2", "type": "string", "tags": [], "label": "index", @@ -31121,7 +33192,7 @@ }, { "parentPluginId": "data", - "id": "def-server.alias", + "id": "def-server.esFilters.buildQueryFilter.$3", "type": "string", "tags": [], "label": "alias", @@ -31152,7 +33223,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-server.indexPatternString", + "id": "def-server.esFilters.buildCustomFilter.$1", "type": "string", "tags": [], "label": "indexPatternString", @@ -31162,7 +33233,7 @@ }, { "parentPluginId": "data", - "id": "def-server.queryDsl", + "id": "def-server.esFilters.buildCustomFilter.$2", "type": "Object", "tags": [], "label": "queryDsl", @@ -31175,7 +33246,7 @@ }, { "parentPluginId": "data", - "id": "def-server.disabled", + "id": "def-server.esFilters.buildCustomFilter.$3", "type": "boolean", "tags": [], "label": "disabled", @@ -31185,7 +33256,7 @@ }, { "parentPluginId": "data", - "id": "def-server.negate", + "id": "def-server.esFilters.buildCustomFilter.$4", "type": "boolean", "tags": [], "label": "negate", @@ -31195,7 +33266,7 @@ }, { "parentPluginId": "data", - "id": "def-server.alias", + "id": "def-server.esFilters.buildCustomFilter.$5", "type": "CompoundType", "tags": [], "label": "alias", @@ -31208,7 +33279,7 @@ }, { "parentPluginId": "data", - "id": "def-server.store", + "id": "def-server.esFilters.buildCustomFilter.$6", "type": "Enum", "tags": [], "label": "store", @@ -31238,7 +33309,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-server.isPinned", + "id": "def-server.esFilters.buildEmptyFilter.$1", "type": "boolean", "tags": [], "label": "isPinned", @@ -31248,7 +33319,7 @@ }, { "parentPluginId": "data", - "id": "def-server.index", + "id": "def-server.esFilters.buildEmptyFilter.$2", "type": "string", "tags": [], "label": "index", @@ -31270,9 +33341,9 @@ "description": [], "signature": [ "(field: ", - "IndexPatternFieldBase", + "DataViewFieldBase", ", indexPattern: ", - "IndexPatternBase", + "DataViewBase", ") => ", "ExistsFilter" ], @@ -31282,26 +33353,26 @@ "children": [ { "parentPluginId": "data", - "id": "def-server.field", + "id": "def-server.esFilters.buildExistsFilter.$1", "type": "Object", "tags": [], "label": "field", "description": [], "signature": [ - "IndexPatternFieldBase" + "DataViewFieldBase" ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/exists_filter.d.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-server.indexPattern", + "id": "def-server.esFilters.buildExistsFilter.$2", "type": "Object", "tags": [], "label": "indexPattern", "description": [], "signature": [ - "IndexPatternBase" + "DataViewBase" ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/exists_filter.d.ts", "deprecated": false @@ -31317,9 +33388,9 @@ "description": [], "signature": [ "(indexPattern: ", - "IndexPatternBase", + "DataViewBase", ", field: ", - "IndexPatternFieldBase", + "DataViewFieldBase", ", type: ", "FILTERS", ", negate: boolean, disabled: boolean, params: ", @@ -31335,33 +33406,33 @@ "children": [ { "parentPluginId": "data", - "id": "def-server.indexPattern", + "id": "def-server.esFilters.buildFilter.$1", "type": "Object", "tags": [], "label": "indexPattern", "description": [], "signature": [ - "IndexPatternBase" + "DataViewBase" ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-server.field", + "id": "def-server.esFilters.buildFilter.$2", "type": "Object", "tags": [], "label": "field", "description": [], "signature": [ - "IndexPatternFieldBase" + "DataViewFieldBase" ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-server.type", + "id": "def-server.esFilters.buildFilter.$3", "type": "Enum", "tags": [], "label": "type", @@ -31374,7 +33445,7 @@ }, { "parentPluginId": "data", - "id": "def-server.negate", + "id": "def-server.esFilters.buildFilter.$4", "type": "boolean", "tags": [], "label": "negate", @@ -31384,7 +33455,7 @@ }, { "parentPluginId": "data", - "id": "def-server.disabled", + "id": "def-server.esFilters.buildFilter.$5", "type": "boolean", "tags": [], "label": "disabled", @@ -31394,7 +33465,7 @@ }, { "parentPluginId": "data", - "id": "def-server.params", + "id": "def-server.esFilters.buildFilter.$6", "type": "CompoundType", "tags": [], "label": "params", @@ -31411,7 +33482,7 @@ }, { "parentPluginId": "data", - "id": "def-server.alias", + "id": "def-server.esFilters.buildFilter.$7", "type": "CompoundType", "tags": [], "label": "alias", @@ -31424,7 +33495,7 @@ }, { "parentPluginId": "data", - "id": "def-server.store", + "id": "def-server.esFilters.buildFilter.$8", "type": "CompoundType", "tags": [], "label": "store", @@ -31447,11 +33518,11 @@ "description": [], "signature": [ "(field: ", - "IndexPatternFieldBase", + "DataViewFieldBase", ", value: ", "PhraseFilterValue", ", indexPattern: ", - "IndexPatternBase", + "DataViewBase", ") => ", "PhraseFilter", " | ", @@ -31463,20 +33534,20 @@ "children": [ { "parentPluginId": "data", - "id": "def-server.field", + "id": "def-server.esFilters.buildPhraseFilter.$1", "type": "Object", "tags": [], "label": "field", "description": [], "signature": [ - "IndexPatternFieldBase" + "DataViewFieldBase" ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-server.value", + "id": "def-server.esFilters.buildPhraseFilter.$2", "type": "CompoundType", "tags": [], "label": "value", @@ -31489,13 +33560,13 @@ }, { "parentPluginId": "data", - "id": "def-server.indexPattern", + "id": "def-server.esFilters.buildPhraseFilter.$3", "type": "Object", "tags": [], "label": "indexPattern", "description": [], "signature": [ - "IndexPatternBase" + "DataViewBase" ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", "deprecated": false @@ -31511,11 +33582,11 @@ "description": [], "signature": [ "(field: ", - "IndexPatternFieldBase", + "DataViewFieldBase", ", params: ", "PhraseFilterValue", "[], indexPattern: ", - "IndexPatternBase", + "DataViewBase", ") => ", "PhrasesFilter" ], @@ -31525,20 +33596,20 @@ "children": [ { "parentPluginId": "data", - "id": "def-server.field", + "id": "def-server.esFilters.buildPhrasesFilter.$1", "type": "Object", "tags": [], "label": "field", "description": [], "signature": [ - "IndexPatternFieldBase" + "DataViewFieldBase" ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrases_filter.d.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-server.params", + "id": "def-server.esFilters.buildPhrasesFilter.$2", "type": "Array", "tags": [], "label": "params", @@ -31552,13 +33623,13 @@ }, { "parentPluginId": "data", - "id": "def-server.indexPattern", + "id": "def-server.esFilters.buildPhrasesFilter.$3", "type": "Object", "tags": [], "label": "indexPattern", "description": [], "signature": [ - "IndexPatternBase" + "DataViewBase" ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrases_filter.d.ts", "deprecated": false @@ -31574,11 +33645,11 @@ "description": [], "signature": [ "(field: ", - "IndexPatternFieldBase", + "DataViewFieldBase", ", params: ", "RangeFilterParams", ", indexPattern: ", - "IndexPatternBase", + "DataViewBase", ", formattedValue?: string | undefined) => ", "RangeFilter", " | ", @@ -31592,20 +33663,20 @@ "children": [ { "parentPluginId": "data", - "id": "def-server.field", + "id": "def-server.esFilters.buildRangeFilter.$1", "type": "Object", "tags": [], "label": "field", "description": [], "signature": [ - "IndexPatternFieldBase" + "DataViewFieldBase" ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-server.params", + "id": "def-server.esFilters.buildRangeFilter.$2", "type": "Object", "tags": [], "label": "params", @@ -31618,20 +33689,20 @@ }, { "parentPluginId": "data", - "id": "def-server.indexPattern", + "id": "def-server.esFilters.buildRangeFilter.$3", "type": "Object", "tags": [], "label": "indexPattern", "description": [], "signature": [ - "IndexPatternBase" + "DataViewBase" ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-server.formattedValue", + "id": "def-server.esFilters.buildRangeFilter.$4", "type": "string", "tags": [], "label": "formattedValue", @@ -31662,7 +33733,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-server.filter", + "id": "def-server.esFilters.isFilterDisabled.$1", "type": "Object", "tags": [], "label": "filter", @@ -31726,7 +33797,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-server.expression", + "id": "def-server.esKuery.fromKueryExpression.$1", "type": "CompoundType", "tags": [], "label": "expression", @@ -31740,7 +33811,7 @@ }, { "parentPluginId": "data", - "id": "def-server.parseOptions", + "id": "def-server.esKuery.fromKueryExpression.$2", "type": "Object", "tags": [], "label": "parseOptions", @@ -31766,7 +33837,7 @@ "(node: ", "KueryNode", ", indexPattern?: ", - "IndexPatternBase", + "DataViewBase", " | undefined, config?: ", "KueryQueryOptions", " | undefined, context?: Record | undefined) => ", @@ -31778,7 +33849,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-server.node", + "id": "def-server.esKuery.toElasticsearchQuery.$1", "type": "Object", "tags": [], "label": "node", @@ -31791,13 +33862,13 @@ }, { "parentPluginId": "data", - "id": "def-server.indexPattern", + "id": "def-server.esKuery.toElasticsearchQuery.$2", "type": "Object", "tags": [], "label": "indexPattern", "description": [], "signature": [ - "IndexPatternBase", + "DataViewBase", " | undefined" ], "path": "node_modules/@kbn/es-query/target_types/kuery/index.d.ts", @@ -31805,7 +33876,7 @@ }, { "parentPluginId": "data", - "id": "def-server.config", + "id": "def-server.esKuery.toElasticsearchQuery.$3", "type": "Object", "tags": [], "label": "config", @@ -31819,7 +33890,7 @@ }, { "parentPluginId": "data", - "id": "def-server.context", + "id": "def-server.esKuery.toElasticsearchQuery.$4", "type": "Object", "tags": [], "label": "context", @@ -31856,7 +33927,7 @@ "(filters: ", "Filter", "[] | undefined, indexPattern: ", - "IndexPatternBase", + "DataViewBase", " | undefined, ignoreFilterIfFieldNotInIndex?: boolean | undefined) => ", "BoolQuery" ], @@ -31866,7 +33937,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-server.filters", + "id": "def-server.esQuery.buildQueryFromFilters.$1", "type": "Array", "tags": [], "label": "filters", @@ -31880,13 +33951,13 @@ }, { "parentPluginId": "data", - "id": "def-server.indexPattern", + "id": "def-server.esQuery.buildQueryFromFilters.$2", "type": "Object", "tags": [], "label": "indexPattern", "description": [], "signature": [ - "IndexPatternBase", + "DataViewBase", " | undefined" ], "path": "node_modules/@kbn/es-query/target_types/es_query/from_filters.d.ts", @@ -31894,7 +33965,7 @@ }, { "parentPluginId": "data", - "id": "def-server.ignoreFilterIfFieldNotInIndex", + "id": "def-server.esQuery.buildQueryFromFilters.$3", "type": "CompoundType", "tags": [], "label": "ignoreFilterIfFieldNotInIndex", @@ -31924,7 +33995,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-server.config", + "id": "def-server.esQuery.getEsQueryConfig.$1", "type": "Object", "tags": [], "label": "config", @@ -31946,7 +34017,7 @@ "description": [], "signature": [ "(indexPattern: ", - "IndexPatternBase", + "DataViewBase", " | undefined, queries: ", "Query", " | ", @@ -31967,13 +34038,13 @@ "children": [ { "parentPluginId": "data", - "id": "def-server.indexPattern", + "id": "def-server.esQuery.buildEsQuery.$1", "type": "Object", "tags": [], "label": "indexPattern", "description": [], "signature": [ - "IndexPatternBase", + "DataViewBase", " | undefined" ], "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", @@ -31981,7 +34052,7 @@ }, { "parentPluginId": "data", - "id": "def-server.queries", + "id": "def-server.esQuery.buildEsQuery.$2", "type": "CompoundType", "tags": [], "label": "queries", @@ -31997,7 +34068,7 @@ }, { "parentPluginId": "data", - "id": "def-server.filters", + "id": "def-server.esQuery.buildEsQuery.$3", "type": "CompoundType", "tags": [], "label": "filters", @@ -32013,7 +34084,7 @@ }, { "parentPluginId": "data", - "id": "def-server.config", + "id": "def-server.esQuery.buildEsQuery.$4", "type": "CompoundType", "tags": [], "label": "config", @@ -32064,7 +34135,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-server.__0", + "id": "def-server.exporters.datatableToCSV.$1", "type": "Object", "tags": [], "label": "__0", @@ -32083,7 +34154,7 @@ }, { "parentPluginId": "data", - "id": "def-server.__1", + "id": "def-server.exporters.datatableToCSV.$2", "type": "Object", "tags": [], "label": "__1", @@ -32165,7 +34236,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-server.interval", + "id": "def-server.search.aggs.dateHistogramInterval.$1", "type": "string", "tags": [], "label": "interval", @@ -32211,7 +34282,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-server.interval", + "id": "def-server.search.aggs.parseInterval.$1", "type": "string", "tags": [], "label": "interval", @@ -32237,7 +34308,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-server.maxBucketCount", + "id": "def-server.search.aggs.calcAutoIntervalLessThan.$1", "type": "number", "tags": [], "label": "maxBucketCount", @@ -32247,7 +34318,7 @@ }, { "parentPluginId": "data", - "id": "def-server.duration", + "id": "def-server.search.aggs.calcAutoIntervalLessThan.$2", "type": "number", "tags": [], "label": "duration", @@ -32270,7 +34341,7 @@ "label": "UI_SETTINGS", "description": [], "signature": [ - "{ readonly META_FIELDS: \"metaFields\"; readonly DOC_HIGHLIGHT: \"doc_table:highlight\"; readonly QUERY_STRING_OPTIONS: \"query:queryString:options\"; readonly QUERY_ALLOW_LEADING_WILDCARDS: \"query:allowLeadingWildcards\"; readonly SEARCH_QUERY_LANGUAGE: \"search:queryLanguage\"; readonly SORT_OPTIONS: \"sort:options\"; readonly COURIER_IGNORE_FILTER_IF_FIELD_NOT_IN_INDEX: \"courier:ignoreFilterIfFieldNotInIndex\"; readonly COURIER_SET_REQUEST_PREFERENCE: \"courier:setRequestPreference\"; readonly COURIER_CUSTOM_REQUEST_PREFERENCE: \"courier:customRequestPreference\"; readonly COURIER_MAX_CONCURRENT_SHARD_REQUESTS: \"courier:maxConcurrentShardRequests\"; readonly SEARCH_INCLUDE_FROZEN: \"search:includeFrozen\"; readonly SEARCH_TIMEOUT: \"search:timeout\"; readonly HISTOGRAM_BAR_TARGET: \"histogram:barTarget\"; readonly HISTOGRAM_MAX_BARS: \"histogram:maxBars\"; readonly HISTORY_LIMIT: \"history:limit\"; readonly TIMEPICKER_REFRESH_INTERVAL_DEFAULTS: \"timepicker:refreshIntervalDefaults\"; readonly TIMEPICKER_QUICK_RANGES: \"timepicker:quickRanges\"; readonly TIMEPICKER_TIME_DEFAULTS: \"timepicker:timeDefaults\"; readonly INDEXPATTERN_PLACEHOLDER: \"indexPattern:placeholder\"; readonly FILTERS_PINNED_BY_DEFAULT: \"filters:pinnedByDefault\"; readonly FILTERS_EDITOR_SUGGEST_VALUES: \"filterEditor:suggestValues\"; readonly AUTOCOMPLETE_USE_TIMERANGE: \"autocomplete:useTimeRange\"; readonly AUTOCOMPLETE_VALUE_SUGGESTION_METHOD: \"autocomplete:valueSuggestionMethod\"; }" + "{ readonly META_FIELDS: \"metaFields\"; readonly DOC_HIGHLIGHT: \"doc_table:highlight\"; readonly QUERY_STRING_OPTIONS: \"query:queryString:options\"; readonly QUERY_ALLOW_LEADING_WILDCARDS: \"query:allowLeadingWildcards\"; readonly SEARCH_QUERY_LANGUAGE: \"search:queryLanguage\"; readonly SORT_OPTIONS: \"sort:options\"; readonly COURIER_IGNORE_FILTER_IF_FIELD_NOT_IN_INDEX: \"courier:ignoreFilterIfFieldNotInIndex\"; readonly COURIER_SET_REQUEST_PREFERENCE: \"courier:setRequestPreference\"; readonly COURIER_CUSTOM_REQUEST_PREFERENCE: \"courier:customRequestPreference\"; readonly COURIER_MAX_CONCURRENT_SHARD_REQUESTS: \"courier:maxConcurrentShardRequests\"; readonly SEARCH_INCLUDE_FROZEN: \"search:includeFrozen\"; readonly SEARCH_TIMEOUT: \"search:timeout\"; readonly HISTOGRAM_BAR_TARGET: \"histogram:barTarget\"; readonly HISTOGRAM_MAX_BARS: \"histogram:maxBars\"; readonly HISTORY_LIMIT: \"history:limit\"; readonly TIMEPICKER_REFRESH_INTERVAL_DEFAULTS: \"timepicker:refreshIntervalDefaults\"; readonly TIMEPICKER_QUICK_RANGES: \"timepicker:quickRanges\"; readonly TIMEPICKER_TIME_DEFAULTS: \"timepicker:timeDefaults\"; readonly FILTERS_PINNED_BY_DEFAULT: \"filters:pinnedByDefault\"; readonly FILTERS_EDITOR_SUGGEST_VALUES: \"filterEditor:suggestValues\"; readonly AUTOCOMPLETE_USE_TIMERANGE: \"autocomplete:useTimeRange\"; readonly AUTOCOMPLETE_VALUE_SUGGESTION_METHOD: \"autocomplete:valueSuggestionMethod\"; }" ], "path": "src/plugins/data/common/constants.ts", "deprecated": false, @@ -32533,7 +34604,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.indexPatternString", + "id": "def-common.buildCustomFilter.$1", "type": "string", "tags": [], "label": "indexPatternString", @@ -32543,7 +34614,7 @@ }, { "parentPluginId": "data", - "id": "def-common.queryDsl", + "id": "def-common.buildCustomFilter.$2", "type": "Object", "tags": [], "label": "queryDsl", @@ -32556,7 +34627,7 @@ }, { "parentPluginId": "data", - "id": "def-common.disabled", + "id": "def-common.buildCustomFilter.$3", "type": "boolean", "tags": [], "label": "disabled", @@ -32566,7 +34637,7 @@ }, { "parentPluginId": "data", - "id": "def-common.negate", + "id": "def-common.buildCustomFilter.$4", "type": "boolean", "tags": [], "label": "negate", @@ -32576,7 +34647,7 @@ }, { "parentPluginId": "data", - "id": "def-common.alias", + "id": "def-common.buildCustomFilter.$5", "type": "CompoundType", "tags": [], "label": "alias", @@ -32589,7 +34660,7 @@ }, { "parentPluginId": "data", - "id": "def-common.store", + "id": "def-common.buildCustomFilter.$6", "type": "Enum", "tags": [], "label": "store", @@ -32624,7 +34695,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.isPinned", + "id": "def-common.buildEmptyFilter.$1", "type": "boolean", "tags": [], "label": "isPinned", @@ -32634,7 +34705,7 @@ }, { "parentPluginId": "data", - "id": "def-common.index", + "id": "def-common.buildEmptyFilter.$2", "type": "string", "tags": [], "label": "index", @@ -32659,7 +34730,7 @@ "description": [], "signature": [ "(indexPattern: ", - "IndexPatternBase", + "DataViewBase", " | undefined, queries: ", "Query", " | ", @@ -32682,13 +34753,13 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.indexPattern", + "id": "def-common.buildEsQuery.$1", "type": "Object", "tags": [], "label": "indexPattern", "description": [], "signature": [ - "IndexPatternBase", + "DataViewBase", " | undefined" ], "path": "node_modules/@kbn/es-query/target_types/es_query/build_es_query.d.ts", @@ -32696,7 +34767,7 @@ }, { "parentPluginId": "data", - "id": "def-common.queries", + "id": "def-common.buildEsQuery.$2", "type": "CompoundType", "tags": [], "label": "queries", @@ -32712,7 +34783,7 @@ }, { "parentPluginId": "data", - "id": "def-common.filters", + "id": "def-common.buildEsQuery.$3", "type": "CompoundType", "tags": [], "label": "filters", @@ -32728,7 +34799,7 @@ }, { "parentPluginId": "data", - "id": "def-common.config", + "id": "def-common.buildEsQuery.$4", "type": "CompoundType", "tags": [], "label": "config", @@ -32754,9 +34825,9 @@ "description": [], "signature": [ "(field: ", - "IndexPatternFieldBase", + "DataViewFieldBase", ", indexPattern: ", - "IndexPatternBase", + "DataViewBase", ") => ", "ExistsFilter" ], @@ -32768,26 +34839,26 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.field", + "id": "def-common.buildExistsFilter.$1", "type": "Object", "tags": [], "label": "field", "description": [], "signature": [ - "IndexPatternFieldBase" + "DataViewFieldBase" ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/exists_filter.d.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.indexPattern", + "id": "def-common.buildExistsFilter.$2", "type": "Object", "tags": [], "label": "indexPattern", "description": [], "signature": [ - "IndexPatternBase" + "DataViewBase" ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/exists_filter.d.ts", "deprecated": false @@ -32806,9 +34877,9 @@ "description": [], "signature": [ "(indexPattern: ", - "IndexPatternBase", + "DataViewBase", ", field: ", - "IndexPatternFieldBase", + "DataViewFieldBase", ", type: ", "FILTERS", ", negate: boolean, disabled: boolean, params: ", @@ -32826,33 +34897,33 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.indexPattern", + "id": "def-common.buildFilter.$1", "type": "Object", "tags": [], "label": "indexPattern", "description": [], "signature": [ - "IndexPatternBase" + "DataViewBase" ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.field", + "id": "def-common.buildFilter.$2", "type": "Object", "tags": [], "label": "field", "description": [], "signature": [ - "IndexPatternFieldBase" + "DataViewFieldBase" ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/build_filters.d.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.type", + "id": "def-common.buildFilter.$3", "type": "Enum", "tags": [], "label": "type", @@ -32865,7 +34936,7 @@ }, { "parentPluginId": "data", - "id": "def-common.negate", + "id": "def-common.buildFilter.$4", "type": "boolean", "tags": [], "label": "negate", @@ -32875,7 +34946,7 @@ }, { "parentPluginId": "data", - "id": "def-common.disabled", + "id": "def-common.buildFilter.$5", "type": "boolean", "tags": [], "label": "disabled", @@ -32885,7 +34956,7 @@ }, { "parentPluginId": "data", - "id": "def-common.params", + "id": "def-common.buildFilter.$6", "type": "CompoundType", "tags": [], "label": "params", @@ -32902,7 +34973,7 @@ }, { "parentPluginId": "data", - "id": "def-common.alias", + "id": "def-common.buildFilter.$7", "type": "CompoundType", "tags": [], "label": "alias", @@ -32915,7 +34986,7 @@ }, { "parentPluginId": "data", - "id": "def-common.store", + "id": "def-common.buildFilter.$8", "type": "CompoundType", "tags": [], "label": "store", @@ -32941,11 +35012,11 @@ "description": [], "signature": [ "(field: ", - "IndexPatternFieldBase", + "DataViewFieldBase", ", value: ", "PhraseFilterValue", ", indexPattern: ", - "IndexPatternBase", + "DataViewBase", ") => ", "PhraseFilter", " | ", @@ -32959,20 +35030,20 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.field", + "id": "def-common.buildPhraseFilter.$1", "type": "Object", "tags": [], "label": "field", "description": [], "signature": [ - "IndexPatternFieldBase" + "DataViewFieldBase" ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.value", + "id": "def-common.buildPhraseFilter.$2", "type": "CompoundType", "tags": [], "label": "value", @@ -32985,13 +35056,13 @@ }, { "parentPluginId": "data", - "id": "def-common.indexPattern", + "id": "def-common.buildPhraseFilter.$3", "type": "Object", "tags": [], "label": "indexPattern", "description": [], "signature": [ - "IndexPatternBase" + "DataViewBase" ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrase_filter.d.ts", "deprecated": false @@ -33010,11 +35081,11 @@ "description": [], "signature": [ "(field: ", - "IndexPatternFieldBase", + "DataViewFieldBase", ", params: ", "PhraseFilterValue", "[], indexPattern: ", - "IndexPatternBase", + "DataViewBase", ") => ", "PhrasesFilter" ], @@ -33026,20 +35097,20 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.field", + "id": "def-common.buildPhrasesFilter.$1", "type": "Object", "tags": [], "label": "field", "description": [], "signature": [ - "IndexPatternFieldBase" + "DataViewFieldBase" ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrases_filter.d.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.params", + "id": "def-common.buildPhrasesFilter.$2", "type": "Array", "tags": [], "label": "params", @@ -33053,13 +35124,13 @@ }, { "parentPluginId": "data", - "id": "def-common.indexPattern", + "id": "def-common.buildPhrasesFilter.$3", "type": "Object", "tags": [], "label": "indexPattern", "description": [], "signature": [ - "IndexPatternBase" + "DataViewBase" ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/phrases_filter.d.ts", "deprecated": false @@ -33088,7 +35159,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.query", + "id": "def-common.buildQueryFilter.$1", "type": "CompoundType", "tags": [], "label": "query", @@ -33101,7 +35172,7 @@ }, { "parentPluginId": "data", - "id": "def-common.index", + "id": "def-common.buildQueryFilter.$2", "type": "string", "tags": [], "label": "index", @@ -33111,7 +35182,7 @@ }, { "parentPluginId": "data", - "id": "def-common.alias", + "id": "def-common.buildQueryFilter.$3", "type": "string", "tags": [], "label": "alias", @@ -33135,7 +35206,7 @@ "(filters: ", "Filter", "[] | undefined, indexPattern: ", - "IndexPatternBase", + "DataViewBase", " | undefined, ignoreFilterIfFieldNotInIndex?: boolean | undefined) => ", "BoolQuery" ], @@ -33147,7 +35218,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.filters", + "id": "def-common.buildQueryFromFilters.$1", "type": "Array", "tags": [], "label": "filters", @@ -33161,13 +35232,13 @@ }, { "parentPluginId": "data", - "id": "def-common.indexPattern", + "id": "def-common.buildQueryFromFilters.$2", "type": "Object", "tags": [], "label": "indexPattern", "description": [], "signature": [ - "IndexPatternBase", + "DataViewBase", " | undefined" ], "path": "node_modules/@kbn/es-query/target_types/es_query/from_filters.d.ts", @@ -33175,7 +35246,7 @@ }, { "parentPluginId": "data", - "id": "def-common.ignoreFilterIfFieldNotInIndex", + "id": "def-common.buildQueryFromFilters.$3", "type": "CompoundType", "tags": [], "label": "ignoreFilterIfFieldNotInIndex", @@ -33200,11 +35271,11 @@ "description": [], "signature": [ "(field: ", - "IndexPatternFieldBase", + "DataViewFieldBase", ", params: ", "RangeFilterParams", ", indexPattern: ", - "IndexPatternBase", + "DataViewBase", ", formattedValue?: string | undefined) => ", "RangeFilter", " | ", @@ -33220,20 +35291,20 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.field", + "id": "def-common.buildRangeFilter.$1", "type": "Object", "tags": [], "label": "field", "description": [], "signature": [ - "IndexPatternFieldBase" + "DataViewFieldBase" ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.params", + "id": "def-common.buildRangeFilter.$2", "type": "Object", "tags": [], "label": "params", @@ -33246,20 +35317,20 @@ }, { "parentPluginId": "data", - "id": "def-common.indexPattern", + "id": "def-common.buildRangeFilter.$3", "type": "Object", "tags": [], "label": "indexPattern", "description": [], "signature": [ - "IndexPatternBase" + "DataViewBase" ], "path": "node_modules/@kbn/es-query/target_types/filters/build_filters/range_filter.d.ts", "deprecated": false }, { "parentPluginId": "data", - "id": "def-common.formattedValue", + "id": "def-common.buildRangeFilter.$4", "type": "string", "tags": [], "label": "formattedValue", @@ -33311,7 +35382,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.esType", + "id": "def-common.castEsToKbnFieldTypeName.$1", "type": "string", "tags": [], "label": "esType", @@ -33383,7 +35454,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.first", + "id": "def-common.compareFilters.$1", "type": "CompoundType", "tags": [], "label": "first", @@ -33399,7 +35470,7 @@ }, { "parentPluginId": "data", - "id": "def-common.second", + "id": "def-common.compareFilters.$2", "type": "CompoundType", "tags": [], "label": "second", @@ -33415,7 +35486,7 @@ }, { "parentPluginId": "data", - "id": "def-common.comparatorOptions", + "id": "def-common.compareFilters.$3", "type": "Object", "tags": [], "label": "comparatorOptions", @@ -33559,7 +35630,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.query", + "id": "def-common.decorateQuery.$1", "type": "Object", "tags": [], "label": "query", @@ -33572,7 +35643,7 @@ }, { "parentPluginId": "data", - "id": "def-common.queryStringOptions", + "id": "def-common.decorateQuery.$2", "type": "CompoundType", "tags": [], "label": "queryStringOptions", @@ -33586,7 +35657,7 @@ }, { "parentPluginId": "data", - "id": "def-common.dateFormatTZ", + "id": "def-common.decorateQuery.$3", "type": "string", "tags": [], "label": "dateFormatTZ", @@ -33628,7 +35699,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.existingFilters", + "id": "def-common.dedupFilters.$1", "type": "Array", "tags": [], "label": "existingFilters", @@ -33642,7 +35713,7 @@ }, { "parentPluginId": "data", - "id": "def-common.filters", + "id": "def-common.dedupFilters.$2", "type": "Array", "tags": [], "label": "filters", @@ -33656,7 +35727,7 @@ }, { "parentPluginId": "data", - "id": "def-common.comparatorOptions", + "id": "def-common.dedupFilters.$3", "type": "Object", "tags": [], "label": "comparatorOptions", @@ -33694,7 +35765,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.filter", + "id": "def-common.disableFilter.$1", "type": "Object", "tags": [], "label": "filter", @@ -33735,7 +35806,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.filter", + "id": "def-common.enableFilter.$1", "type": "Object", "tags": [], "label": "filter", @@ -33778,7 +35849,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.expression", + "id": "def-common.fromKueryExpression.$1", "type": "CompoundType", "tags": [], "label": "expression", @@ -33792,7 +35863,7 @@ }, { "parentPluginId": "data", - "id": "def-common.parseOptions", + "id": "def-common.fromKueryExpression.$2", "type": "Object", "tags": [], "label": "parseOptions", @@ -33881,7 +35952,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.typeName", + "id": "def-common.getKbnFieldType.$1", "type": "string", "tags": [], "label": "typeName", @@ -33943,7 +36014,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.filter", + "id": "def-common.getPhraseFilterField.$1", "type": "CompoundType", "tags": [], "label": "filter", @@ -33989,7 +36060,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.filter", + "id": "def-common.getPhraseFilterValue.$1", "type": "CompoundType", "tags": [], "label": "filter", @@ -34028,7 +36099,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.filter", + "id": "def-common.isExistsFilter.$1", "type": "Object", "tags": [], "label": "filter", @@ -34067,7 +36138,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.x", + "id": "def-common.isFilter.$1", "type": "Unknown", "tags": [], "label": "x", @@ -34103,7 +36174,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.filter", + "id": "def-common.isFilterDisabled.$1", "type": "Object", "tags": [], "label": "filter", @@ -34138,12 +36209,25 @@ "path": "src/plugins/data/common/es_query/index.ts", "deprecated": true, "removeBy": "8.1", - "references": [], + "references": [ + { + "plugin": "visualize", + "path": "src/plugins/visualize/common/locator.ts" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/common/locator.ts" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/common/locator.ts" + } + ], "returnComment": [], "children": [ { "parentPluginId": "data", - "id": "def-common.filter", + "id": "def-common.isFilterPinned.$1", "type": "Object", "tags": [], "label": "filter", @@ -34192,7 +36276,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.x", + "id": "def-common.isFilters.$1", "type": "Unknown", "tags": [], "label": "x", @@ -34229,7 +36313,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.filter", + "id": "def-common.isMatchAllFilter.$1", "type": "Object", "tags": [], "label": "filter", @@ -34270,7 +36354,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.filter", + "id": "def-common.isMissingFilter.$1", "type": "Object", "tags": [], "label": "filter", @@ -34311,7 +36395,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.filter", + "id": "def-common.isPhraseFilter.$1", "type": "Object", "tags": [], "label": "filter", @@ -34352,7 +36436,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.filter", + "id": "def-common.isPhrasesFilter.$1", "type": "Object", "tags": [], "label": "filter", @@ -34393,7 +36477,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.filter", + "id": "def-common.isQueryStringFilter.$1", "type": "Object", "tags": [], "label": "filter", @@ -34434,7 +36518,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.filter", + "id": "def-common.isRangeFilter.$1", "type": "Object", "tags": [], "label": "filter", @@ -34472,7 +36556,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.query", + "id": "def-common.luceneStringToDsl.$1", "type": "CompoundType", "tags": [], "label": "query", @@ -34511,7 +36595,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.newFilters", + "id": "def-common.onlyDisabledFiltersChanged.$1", "type": "Array", "tags": [], "label": "newFilters", @@ -34525,7 +36609,7 @@ }, { "parentPluginId": "data", - "id": "def-common.oldFilters", + "id": "def-common.onlyDisabledFiltersChanged.$2", "type": "Array", "tags": [], "label": "oldFilters", @@ -34563,7 +36647,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.filter", + "id": "def-common.pinFilter.$1", "type": "Object", "tags": [], "label": "filter", @@ -34689,7 +36773,7 @@ "(node: ", "KueryNode", ", indexPattern?: ", - "IndexPatternBase", + "DataViewBase", " | undefined, config?: ", "KueryQueryOptions", " | undefined, context?: Record | undefined) => ", @@ -34703,7 +36787,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.node", + "id": "def-common.toElasticsearchQuery.$1", "type": "Object", "tags": [], "label": "node", @@ -34716,13 +36800,13 @@ }, { "parentPluginId": "data", - "id": "def-common.indexPattern", + "id": "def-common.toElasticsearchQuery.$2", "type": "Object", "tags": [], "label": "indexPattern", "description": [], "signature": [ - "IndexPatternBase", + "DataViewBase", " | undefined" ], "path": "node_modules/@kbn/es-query/target_types/kuery/index.d.ts", @@ -34730,7 +36814,7 @@ }, { "parentPluginId": "data", - "id": "def-common.config", + "id": "def-common.toElasticsearchQuery.$3", "type": "Object", "tags": [], "label": "config", @@ -34744,7 +36828,7 @@ }, { "parentPluginId": "data", - "id": "def-common.context", + "id": "def-common.toElasticsearchQuery.$4", "type": "Object", "tags": [], "label": "context", @@ -34782,7 +36866,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.filter", + "id": "def-common.toggleFilterDisabled.$1", "type": "Object", "tags": [], "label": "filter", @@ -34824,7 +36908,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.filter", + "id": "def-common.toggleFilterNegated.$1", "type": "Object", "tags": [], "label": "filter", @@ -34868,7 +36952,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.filters", + "id": "def-common.uniqFilters.$1", "type": "Array", "tags": [], "label": "filters", @@ -34882,7 +36966,7 @@ }, { "parentPluginId": "data", - "id": "def-common.comparatorOptions", + "id": "def-common.uniqFilters.$2", "type": "Object", "tags": [], "label": "comparatorOptions", @@ -34925,7 +37009,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.value", + "id": "def-common.FilterValueFormatter.convert.$1", "type": "Any", "tags": [], "label": "value", @@ -35306,6 +37390,20 @@ "references": [], "initialIsOpen": false }, + { + "parentPluginId": "data", + "id": "def-common.DATA_VIEW_SAVED_OBJECT_TYPE", + "type": "string", + "tags": [], + "label": "DATA_VIEW_SAVED_OBJECT_TYPE", + "description": [], + "signature": [ + "\"index-pattern\"" + ], + "path": "src/plugins/data/common/constants.ts", + "deprecated": false, + "initialIsOpen": false + }, { "parentPluginId": "data", "id": "def-common.DEFAULT_QUERY_LANGUAGE", @@ -35400,14 +37498,6 @@ "deprecated": true, "removeBy": "8.1", "references": [ - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/target/types/canvas_plugin_src/functions/external/saved_lens.d.ts" - }, { "plugin": "discover", "path": "src/plugins/discover/public/url_generator.ts" @@ -35442,63 +37532,63 @@ }, { "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context/api/context.ts" + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context/api/context.ts" + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context/api/context.ts" + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context/api/context.ts" + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" + "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context_state.ts" + "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context_state.ts" + "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context_state.ts" + "path": "src/plugins/discover/public/application/apps/context/services/context_state.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context_state.ts" + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context_state.ts" + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context_state.ts" + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context_state.ts" + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" }, { "plugin": "visualizations", @@ -35610,15 +37700,15 @@ }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/url_generator.ts" + "path": "src/plugins/dashboard/public/locator.ts" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/url_generator.ts" + "path": "src/plugins/dashboard/public/locator.ts" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/url_generator.ts" + "path": "src/plugins/dashboard/public/locator.ts" }, { "plugin": "dashboard", @@ -35626,15 +37716,15 @@ }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/locator.ts" + "path": "src/plugins/dashboard/public/url_generator.ts" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/locator.ts" + "path": "src/plugins/dashboard/public/url_generator.ts" }, { "plugin": "dashboard", - "path": "src/plugins/dashboard/public/locator.ts" + "path": "src/plugins/dashboard/public/url_generator.ts" }, { "plugin": "lens", @@ -35778,47 +37868,47 @@ }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/join_tooltip_property.ts" + "path": "x-pack/plugins/maps/public/selectors/map_selectors.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/join_tooltip_property.ts" + "path": "x-pack/plugins/maps/public/selectors/map_selectors.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + "path": "x-pack/plugins/maps/public/actions/map_actions.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + "path": "x-pack/plugins/maps/public/actions/map_actions.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + "path": "x-pack/plugins/maps/public/classes/tooltips/join_tooltip_property.tsx" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "path": "x-pack/plugins/maps/public/classes/tooltips/join_tooltip_property.tsx" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/selectors/map_selectors.ts" + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/selectors/map_selectors.ts" + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/actions/map_actions.ts" + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/actions/map_actions.ts" + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" }, { "plugin": "maps", @@ -36004,14 +38094,6 @@ "plugin": "infra", "path": "x-pack/plugins/infra/public/components/log_stream/log_stream_embeddable.tsx" }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.ts" - }, { "plugin": "lens", "path": "x-pack/plugins/lens/server/migrations/types.ts" @@ -36540,14 +38622,6 @@ "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/common/detection_engine/get_query_filter.test.ts" }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/target/types/canvas_plugin_src/functions/external/saved_lens.d.ts" - }, - { - "plugin": "canvas", - "path": "x-pack/plugins/canvas/target/types/canvas_plugin_src/functions/external/saved_lens.d.ts" - }, { "plugin": "discoverEnhanced", "path": "x-pack/plugins/discover_enhanced/public/actions/explore_data/explore_data_chart_action.test.ts" @@ -36896,14 +38970,6 @@ "plugin": "visTypeTimelion", "path": "src/plugins/vis_type_timelion/public/timelion_vis_fn.ts" }, - { - "plugin": "visTypeVega", - "path": "src/plugins/vis_types/vega/public/vega_request_handler.ts" - }, - { - "plugin": "visTypeVega", - "path": "src/plugins/vis_types/vega/public/vega_request_handler.ts" - }, { "plugin": "dashboard", "path": "src/plugins/dashboard/server/saved_objects/move_filters_to_query.test.ts" @@ -36913,16 +38979,12 @@ "path": "src/plugins/dashboard/server/saved_objects/move_filters_to_query.test.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context_state.test.ts" - }, - { - "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context_state.test.ts" + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/vega_request_handler.ts" }, { - "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context_state.test.ts" + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/vega_request_handler.ts" }, { "plugin": "inputControlVis", @@ -36978,15 +39040,27 @@ }, { "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/angular/context/api/context.d.ts" + "path": "src/plugins/discover/public/application/apps/context/services/context_state.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context_state.test.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/angular/context/api/context.d.ts" + "path": "src/plugins/discover/public/application/apps/context/services/context_state.test.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/target/types/public/application/angular/context/api/context.d.ts" + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" }, { "plugin": "securitySolution", @@ -37014,19 +39088,19 @@ }, { "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/types.ts" + "path": "x-pack/plugins/maps/public/embeddable/types.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/types.ts" + "path": "x-pack/plugins/maps/public/embeddable/types.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/embeddable/types.ts" + "path": "x-pack/plugins/maps/common/elasticsearch_util/types.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/embeddable/types.ts" + "path": "x-pack/plugins/maps/common/elasticsearch_util/types.ts" }, { "plugin": "maps", @@ -37160,6 +39234,22 @@ "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/target/types/server/lib/detection_engine/signals/threshold/get_threshold_bucket_filters.d.ts" }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/common/locator.ts" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/common/locator.ts" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/target/types/common/locator.d.ts" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/target/types/common/locator.d.ts" + }, { "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_preview/helpers.ts" @@ -37204,6 +39294,14 @@ "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/alerts_table/default_config.tsx" + }, { "plugin": "securitySolution", "path": "x-pack/plugins/security_solution/public/network/pages/navigation/alerts_query_tab_body.tsx" @@ -37259,7 +39357,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.key", + "id": "def-common.GetConfigFn.$1", "type": "string", "tags": [], "label": "key", @@ -37269,7 +39367,7 @@ }, { "parentPluginId": "data", - "id": "def-common.defaultOverride", + "id": "def-common.GetConfigFn.$2", "type": "Uncategorized", "tags": [], "label": "defaultOverride", @@ -37314,14 +39412,74 @@ "parentPluginId": "data", "id": "def-common.INDEX_PATTERN_SAVED_OBJECT_TYPE", "type": "string", - "tags": [], + "tags": [ + "deprecated" + ], "label": "INDEX_PATTERN_SAVED_OBJECT_TYPE", "description": [], "signature": [ "\"index-pattern\"" ], "path": "src/plugins/data/common/constants.ts", - "deprecated": false, + "deprecated": true, + "references": [ + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts" + } + ], "initialIsOpen": false }, { @@ -38133,7 +40291,7 @@ "label": "UI_SETTINGS", "description": [], "signature": [ - "{ readonly META_FIELDS: \"metaFields\"; readonly DOC_HIGHLIGHT: \"doc_table:highlight\"; readonly QUERY_STRING_OPTIONS: \"query:queryString:options\"; readonly QUERY_ALLOW_LEADING_WILDCARDS: \"query:allowLeadingWildcards\"; readonly SEARCH_QUERY_LANGUAGE: \"search:queryLanguage\"; readonly SORT_OPTIONS: \"sort:options\"; readonly COURIER_IGNORE_FILTER_IF_FIELD_NOT_IN_INDEX: \"courier:ignoreFilterIfFieldNotInIndex\"; readonly COURIER_SET_REQUEST_PREFERENCE: \"courier:setRequestPreference\"; readonly COURIER_CUSTOM_REQUEST_PREFERENCE: \"courier:customRequestPreference\"; readonly COURIER_MAX_CONCURRENT_SHARD_REQUESTS: \"courier:maxConcurrentShardRequests\"; readonly SEARCH_INCLUDE_FROZEN: \"search:includeFrozen\"; readonly SEARCH_TIMEOUT: \"search:timeout\"; readonly HISTOGRAM_BAR_TARGET: \"histogram:barTarget\"; readonly HISTOGRAM_MAX_BARS: \"histogram:maxBars\"; readonly HISTORY_LIMIT: \"history:limit\"; readonly TIMEPICKER_REFRESH_INTERVAL_DEFAULTS: \"timepicker:refreshIntervalDefaults\"; readonly TIMEPICKER_QUICK_RANGES: \"timepicker:quickRanges\"; readonly TIMEPICKER_TIME_DEFAULTS: \"timepicker:timeDefaults\"; readonly INDEXPATTERN_PLACEHOLDER: \"indexPattern:placeholder\"; readonly FILTERS_PINNED_BY_DEFAULT: \"filters:pinnedByDefault\"; readonly FILTERS_EDITOR_SUGGEST_VALUES: \"filterEditor:suggestValues\"; readonly AUTOCOMPLETE_USE_TIMERANGE: \"autocomplete:useTimeRange\"; readonly AUTOCOMPLETE_VALUE_SUGGESTION_METHOD: \"autocomplete:valueSuggestionMethod\"; }" + "{ readonly META_FIELDS: \"metaFields\"; readonly DOC_HIGHLIGHT: \"doc_table:highlight\"; readonly QUERY_STRING_OPTIONS: \"query:queryString:options\"; readonly QUERY_ALLOW_LEADING_WILDCARDS: \"query:allowLeadingWildcards\"; readonly SEARCH_QUERY_LANGUAGE: \"search:queryLanguage\"; readonly SORT_OPTIONS: \"sort:options\"; readonly COURIER_IGNORE_FILTER_IF_FIELD_NOT_IN_INDEX: \"courier:ignoreFilterIfFieldNotInIndex\"; readonly COURIER_SET_REQUEST_PREFERENCE: \"courier:setRequestPreference\"; readonly COURIER_CUSTOM_REQUEST_PREFERENCE: \"courier:customRequestPreference\"; readonly COURIER_MAX_CONCURRENT_SHARD_REQUESTS: \"courier:maxConcurrentShardRequests\"; readonly SEARCH_INCLUDE_FROZEN: \"search:includeFrozen\"; readonly SEARCH_TIMEOUT: \"search:timeout\"; readonly HISTOGRAM_BAR_TARGET: \"histogram:barTarget\"; readonly HISTOGRAM_MAX_BARS: \"histogram:maxBars\"; readonly HISTORY_LIMIT: \"history:limit\"; readonly TIMEPICKER_REFRESH_INTERVAL_DEFAULTS: \"timepicker:refreshIntervalDefaults\"; readonly TIMEPICKER_QUICK_RANGES: \"timepicker:quickRanges\"; readonly TIMEPICKER_TIME_DEFAULTS: \"timepicker:timeDefaults\"; readonly FILTERS_PINNED_BY_DEFAULT: \"filters:pinnedByDefault\"; readonly FILTERS_EDITOR_SUGGEST_VALUES: \"filterEditor:suggestValues\"; readonly AUTOCOMPLETE_USE_TIMERANGE: \"autocomplete:useTimeRange\"; readonly AUTOCOMPLETE_VALUE_SUGGESTION_METHOD: \"autocomplete:valueSuggestionMethod\"; }" ], "path": "src/plugins/data/common/constants.ts", "deprecated": false, diff --git a/api_docs/data.mdx b/api_docs/data.mdx index 7af9d8cdbce17..35884a885946e 100644 --- a/api_docs/data.mdx +++ b/api_docs/data.mdx @@ -18,7 +18,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 3498 | 44 | 2981 | 50 | +| 3099 | 44 | 2738 | 50 | ## Client diff --git a/api_docs/data_autocomplete.json b/api_docs/data_autocomplete.json index 57fe5efbde55a..aae6f7d861cf2 100644 --- a/api_docs/data_autocomplete.json +++ b/api_docs/data_autocomplete.json @@ -385,7 +385,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-public.args", + "id": "def-public.QuerySuggestionGetFn.$1", "type": "Object", "tags": [], "label": "args", diff --git a/api_docs/data_autocomplete.mdx b/api_docs/data_autocomplete.mdx index 5618db8f44f6b..ef44e5fe3e887 100644 --- a/api_docs/data_autocomplete.mdx +++ b/api_docs/data_autocomplete.mdx @@ -18,7 +18,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 3498 | 44 | 2981 | 50 | +| 3099 | 44 | 2738 | 50 | ## Client diff --git a/api_docs/data_index_patterns.json b/api_docs/data_index_patterns.json index 0ea451c7bc6e2..dc87175ac6d1b 100644 --- a/api_docs/data_index_patterns.json +++ b/api_docs/data_index_patterns.json @@ -99,7 +99,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.options", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1", "type": "Object", "tags": [], "label": "options", @@ -109,7 +109,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.options.pattern", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.pattern", "type": "CompoundType", "tags": [], "label": "pattern", @@ -122,7 +122,7 @@ }, { "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.options.metaFields", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.metaFields", "type": "Array", "tags": [], "label": "metaFields", @@ -135,7 +135,7 @@ }, { "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.options.fieldCapsOptions", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.fieldCapsOptions", "type": "Object", "tags": [], "label": "fieldCapsOptions", @@ -148,7 +148,7 @@ }, { "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.options.type", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.type", "type": "string", "tags": [], "label": "type", @@ -161,7 +161,7 @@ }, { "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.options.rollupIndex", + "id": "def-server.IndexPatternsFetcher.getFieldsForWildcard.$1.rollupIndex", "type": "string", "tags": [], "label": "rollupIndex", @@ -207,7 +207,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.options", + "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1", "type": "Object", "tags": [], "label": "options", @@ -217,7 +217,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.options.pattern", + "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.pattern", "type": "string", "tags": [], "label": "pattern", @@ -227,7 +227,7 @@ }, { "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.options.metaFields", + "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.metaFields", "type": "Array", "tags": [], "label": "metaFields", @@ -240,7 +240,7 @@ }, { "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.options.lookBack", + "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.lookBack", "type": "number", "tags": [], "label": "lookBack", @@ -250,7 +250,7 @@ }, { "parentPluginId": "data", - "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.options.interval", + "id": "def-server.IndexPatternsFetcher.getFieldsForTimePattern.$1.interval", "type": "string", "tags": [], "label": "interval", @@ -480,71 +480,18 @@ "classes": [ { "parentPluginId": "data", - "id": "def-common.DuplicateIndexPatternError", + "id": "def-common.DataView", "type": "Class", "tags": [], - "label": "DuplicateIndexPatternError", + "label": "DataView", "description": [], "signature": [ { "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.DuplicateIndexPatternError", - "text": "DuplicateIndexPatternError" - }, - " extends Error" - ], - "path": "src/plugins/data/common/index_patterns/errors/duplicate_index_pattern.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DuplicateIndexPatternError.Unnamed", - "type": "Function", - "tags": [], - "label": "Constructor", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data/common/index_patterns/errors/duplicate_index_pattern.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.DuplicateIndexPatternError.Unnamed.$1", - "type": "string", - "tags": [], - "label": "message", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/errors/duplicate_index_pattern.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IndexPattern", - "type": "Class", - "tags": [], - "label": "IndexPattern", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "section": "def-common.DataView", + "text": "DataView" }, " implements ", { @@ -560,7 +507,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.IndexPattern.id", + "id": "def-common.DataView.id", "type": "string", "tags": [], "label": "id", @@ -573,7 +520,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.title", + "id": "def-common.DataView.title", "type": "string", "tags": [], "label": "title", @@ -583,7 +530,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.fieldFormatMap", + "id": "def-common.DataView.fieldFormatMap", "type": "Object", "tags": [], "label": "fieldFormatMap", @@ -596,7 +543,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.typeMeta", + "id": "def-common.DataView.typeMeta", "type": "Object", "tags": [], "label": "typeMeta", @@ -618,7 +565,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.fields", + "id": "def-common.DataView.fields", "type": "CompoundType", "tags": [], "label": "fields", @@ -646,7 +593,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.timeFieldName", + "id": "def-common.DataView.timeFieldName", "type": "string", "tags": [], "label": "timeFieldName", @@ -659,7 +606,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.intervalName", + "id": "def-common.DataView.intervalName", "type": "string", "tags": [ "deprecated" @@ -676,7 +623,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.type", + "id": "def-common.DataView.type", "type": "string", "tags": [], "label": "type", @@ -691,7 +638,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.formatHit", + "id": "def-common.DataView.formatHit", "type": "Function", "tags": [], "label": "formatHit", @@ -705,7 +652,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.hit", + "id": "def-common.DataView.formatHit.$1", "type": "Object", "tags": [], "label": "hit", @@ -718,7 +665,7 @@ }, { "parentPluginId": "data", - "id": "def-common.type", + "id": "def-common.DataView.formatHit.$2", "type": "string", "tags": [], "label": "type", @@ -733,7 +680,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.formatField", + "id": "def-common.DataView.formatField", "type": "Function", "tags": [], "label": "formatField", @@ -747,7 +694,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.hit", + "id": "def-common.DataView.formatField.$1", "type": "Object", "tags": [], "label": "hit", @@ -760,7 +707,7 @@ }, { "parentPluginId": "data", - "id": "def-common.fieldName", + "id": "def-common.DataView.formatField.$2", "type": "string", "tags": [], "label": "fieldName", @@ -772,7 +719,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.flattenHit", + "id": "def-common.DataView.flattenHit", "type": "Function", "tags": [], "label": "flattenHit", @@ -786,7 +733,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.hit", + "id": "def-common.DataView.flattenHit.$1", "type": "Object", "tags": [], "label": "hit", @@ -799,7 +746,7 @@ }, { "parentPluginId": "data", - "id": "def-common.deep", + "id": "def-common.DataView.flattenHit.$2", "type": "CompoundType", "tags": [], "label": "deep", @@ -814,7 +761,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.metaFields", + "id": "def-common.DataView.metaFields", "type": "Array", "tags": [], "label": "metaFields", @@ -827,7 +774,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.version", + "id": "def-common.DataView.version", "type": "string", "tags": [], "label": "version", @@ -842,7 +789,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.sourceFilters", + "id": "def-common.DataView.sourceFilters", "type": "Array", "tags": [], "label": "sourceFilters", @@ -862,7 +809,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.allowNoIndex", + "id": "def-common.DataView.allowNoIndex", "type": "boolean", "tags": [], "label": "allowNoIndex", @@ -874,7 +821,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.Unnamed", + "id": "def-common.DataView.Unnamed", "type": "Function", "tags": [], "label": "Constructor", @@ -887,13 +834,13 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.IndexPattern.Unnamed.$1", + "id": "def-common.DataView.Unnamed.$1", "type": "Object", "tags": [], - "label": "{\n spec = {},\n fieldFormats,\n shortDotsEnable = false,\n metaFields = [],\n }", + "label": "{ spec = {}, fieldFormats, shortDotsEnable = false, metaFields = [] }", "description": [], "signature": [ - "IndexPatternDeps" + "DataViewDeps" ], "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", "deprecated": false, @@ -904,7 +851,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.getOriginalSavedObjectBody", + "id": "def-common.DataView.getOriginalSavedObjectBody", "type": "Function", "tags": [], "label": "getOriginalSavedObjectBody", @@ -921,7 +868,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.resetOriginalSavedObjectBody", + "id": "def-common.DataView.resetOriginalSavedObjectBody", "type": "Function", "tags": [], "label": "resetOriginalSavedObjectBody", @@ -938,7 +885,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.getFieldAttrs", + "id": "def-common.DataView.getFieldAttrs", "type": "Function", "tags": [], "label": "getFieldAttrs", @@ -961,7 +908,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.getComputedFields", + "id": "def-common.DataView.getComputedFields", "type": "Function", "tags": [], "label": "getComputedFields", @@ -984,7 +931,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.toSpec", + "id": "def-common.DataView.toSpec", "type": "Function", "tags": [], "label": "toSpec", @@ -997,8 +944,8 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" } ], "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", @@ -1008,7 +955,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.getSourceFiltering", + "id": "def-common.DataView.getSourceFiltering", "type": "Function", "tags": [], "label": "getSourceFiltering", @@ -1025,7 +972,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.addScriptedField", + "id": "def-common.DataView.addScriptedField", "type": "Function", "tags": [ "deprecated" @@ -1044,7 +991,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.IndexPattern.addScriptedField.$1", + "id": "def-common.DataView.addScriptedField.$1", "type": "string", "tags": [], "label": "name", @@ -1060,7 +1007,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.addScriptedField.$2", + "id": "def-common.DataView.addScriptedField.$2", "type": "string", "tags": [], "label": "script", @@ -1076,7 +1023,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.addScriptedField.$3", + "id": "def-common.DataView.addScriptedField.$3", "type": "string", "tags": [], "label": "fieldType", @@ -1093,7 +1040,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.removeScriptedField", + "id": "def-common.DataView.removeScriptedField", "type": "Function", "tags": [ "deprecated" @@ -1121,7 +1068,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.IndexPattern.removeScriptedField.$1", + "id": "def-common.DataView.removeScriptedField.$1", "type": "string", "tags": [], "label": "fieldName", @@ -1138,7 +1085,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.getNonScriptedFields", + "id": "def-common.DataView.getNonScriptedFields", "type": "Function", "tags": [ "deprecated" @@ -1153,8 +1100,8 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" + "section": "def-common.DataViewField", + "text": "DataViewField" }, "[]" ], @@ -1208,7 +1155,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.getScriptedFields", + "id": "def-common.DataView.getScriptedFields", "type": "Function", "tags": [ "deprecated" @@ -1223,8 +1170,8 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" + "section": "def-common.DataViewField", + "text": "DataViewField" }, "[]" ], @@ -1242,7 +1189,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.isTimeBased", + "id": "def-common.DataView.isTimeBased", "type": "Function", "tags": [], "label": "isTimeBased", @@ -1257,7 +1204,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.isTimeNanosBased", + "id": "def-common.DataView.isTimeNanosBased", "type": "Function", "tags": [], "label": "isTimeNanosBased", @@ -1272,7 +1219,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.getTimeField", + "id": "def-common.DataView.getTimeField", "type": "Function", "tags": [], "label": "getTimeField", @@ -1283,8 +1230,8 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" + "section": "def-common.DataViewField", + "text": "DataViewField" }, " | undefined" ], @@ -1295,7 +1242,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.getFieldByName", + "id": "def-common.DataView.getFieldByName", "type": "Function", "tags": [], "label": "getFieldByName", @@ -1306,8 +1253,8 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" + "section": "def-common.DataViewField", + "text": "DataViewField" }, " | undefined" ], @@ -1316,7 +1263,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.IndexPattern.getFieldByName.$1", + "id": "def-common.DataView.getFieldByName.$1", "type": "string", "tags": [], "label": "name", @@ -1333,7 +1280,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.getAggregationRestrictions", + "id": "def-common.DataView.getAggregationRestrictions", "type": "Function", "tags": [], "label": "getAggregationRestrictions", @@ -1348,7 +1295,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.getAsSavedObjectBody", + "id": "def-common.DataView.getAsSavedObjectBody", "type": "Function", "tags": [], "label": "getAsSavedObjectBody", @@ -1361,8 +1308,8 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternAttributes", - "text": "IndexPatternAttributes" + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" } ], "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", @@ -1372,7 +1319,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.getFormatterForField", + "id": "def-common.DataView.getFormatterForField", "type": "Function", "tags": [], "label": "getFormatterForField", @@ -1393,16 +1340,16 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" + "section": "def-common.FieldSpec", + "text": "FieldSpec" }, " | ", { "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" + "section": "def-common.DataViewField", + "text": "DataViewField" }, ") => ", { @@ -1418,7 +1365,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.IndexPattern.getFormatterForField.$1", + "id": "def-common.DataView.getFormatterForField.$1", "type": "CompoundType", "tags": [], "label": "field", @@ -1436,16 +1383,16 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" + "section": "def-common.FieldSpec", + "text": "FieldSpec" }, " | ", { "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" + "section": "def-common.DataViewField", + "text": "DataViewField" } ], "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", @@ -1457,7 +1404,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.addRuntimeField", + "id": "def-common.DataView.addRuntimeField", "type": "Function", "tags": [], "label": "addRuntimeField", @@ -1480,7 +1427,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.IndexPattern.addRuntimeField.$1", + "id": "def-common.DataView.addRuntimeField.$1", "type": "string", "tags": [], "label": "name", @@ -1496,7 +1443,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.addRuntimeField.$2", + "id": "def-common.DataView.addRuntimeField.$2", "type": "Object", "tags": [], "label": "runtimeField", @@ -1521,7 +1468,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.hasRuntimeField", + "id": "def-common.DataView.hasRuntimeField", "type": "Function", "tags": [], "label": "hasRuntimeField", @@ -1536,7 +1483,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.IndexPattern.hasRuntimeField.$1", + "id": "def-common.DataView.hasRuntimeField.$1", "type": "string", "tags": [], "label": "name", @@ -1553,7 +1500,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.getRuntimeField", + "id": "def-common.DataView.getRuntimeField", "type": "Function", "tags": [], "label": "getRuntimeField", @@ -1576,7 +1523,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.IndexPattern.getRuntimeField.$1", + "id": "def-common.DataView.getRuntimeField.$1", "type": "string", "tags": [], "label": "name", @@ -1593,7 +1540,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.replaceAllRuntimeFields", + "id": "def-common.DataView.replaceAllRuntimeFields", "type": "Function", "tags": [], "label": "replaceAllRuntimeFields", @@ -1616,7 +1563,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.IndexPattern.replaceAllRuntimeFields.$1", + "id": "def-common.DataView.replaceAllRuntimeFields.$1", "type": "Object", "tags": [], "label": "newFields", @@ -1641,7 +1588,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.removeRuntimeField", + "id": "def-common.DataView.removeRuntimeField", "type": "Function", "tags": [], "label": "removeRuntimeField", @@ -1656,7 +1603,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.IndexPattern.removeRuntimeField.$1", + "id": "def-common.DataView.removeRuntimeField.$1", "type": "string", "tags": [], "label": "name", @@ -1675,7 +1622,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.getFormatterForFieldNoDefault", + "id": "def-common.DataView.getFormatterForFieldNoDefault", "type": "Function", "tags": [], "label": "getFormatterForFieldNoDefault", @@ -1698,7 +1645,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.IndexPattern.getFormatterForFieldNoDefault.$1", + "id": "def-common.DataView.getFormatterForFieldNoDefault.$1", "type": "string", "tags": [], "label": "fieldname", @@ -1715,7 +1662,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.setFieldAttrs", + "id": "def-common.DataView.setFieldAttrs", "type": "Function", "tags": [], "label": "setFieldAttrs", @@ -1736,7 +1683,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.IndexPattern.setFieldAttrs.$1", + "id": "def-common.DataView.setFieldAttrs.$1", "type": "string", "tags": [], "label": "fieldName", @@ -1750,7 +1697,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.setFieldAttrs.$2", + "id": "def-common.DataView.setFieldAttrs.$2", "type": "Uncategorized", "tags": [], "label": "attrName", @@ -1764,7 +1711,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.setFieldAttrs.$3", + "id": "def-common.DataView.setFieldAttrs.$3", "type": "Uncategorized", "tags": [], "label": "value", @@ -1788,7 +1735,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.setFieldCustomLabel", + "id": "def-common.DataView.setFieldCustomLabel", "type": "Function", "tags": [], "label": "setFieldCustomLabel", @@ -1801,7 +1748,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.IndexPattern.setFieldCustomLabel.$1", + "id": "def-common.DataView.setFieldCustomLabel.$1", "type": "string", "tags": [], "label": "fieldName", @@ -1815,7 +1762,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.setFieldCustomLabel.$2", + "id": "def-common.DataView.setFieldCustomLabel.$2", "type": "CompoundType", "tags": [], "label": "customLabel", @@ -1832,7 +1779,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.setFieldCount", + "id": "def-common.DataView.setFieldCount", "type": "Function", "tags": [], "label": "setFieldCount", @@ -1845,7 +1792,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.IndexPattern.setFieldCount.$1", + "id": "def-common.DataView.setFieldCount.$1", "type": "string", "tags": [], "label": "fieldName", @@ -1859,7 +1806,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.setFieldCount.$2", + "id": "def-common.DataView.setFieldCount.$2", "type": "CompoundType", "tags": [], "label": "count", @@ -1876,7 +1823,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.setFieldFormat", + "id": "def-common.DataView.setFieldFormat", "type": "Function", "tags": [], "label": "setFieldFormat", @@ -1897,7 +1844,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.IndexPattern.setFieldFormat.$1", + "id": "def-common.DataView.setFieldFormat.$1", "type": "string", "tags": [], "label": "fieldName", @@ -1911,7 +1858,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.setFieldFormat.$2", + "id": "def-common.DataView.setFieldFormat.$2", "type": "Object", "tags": [], "label": "format", @@ -1935,7 +1882,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPattern.deleteFieldFormat", + "id": "def-common.DataView.deleteFieldFormat", "type": "Function", "tags": [], "label": "deleteFieldFormat", @@ -1948,7 +1895,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.IndexPattern.deleteFieldFormat.$1", + "id": "def-common.DataView.deleteFieldFormat.$1", "type": "string", "tags": [], "label": "fieldName", @@ -1968,18 +1915,18 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternField", + "id": "def-common.DataViewField", "type": "Class", "tags": [], - "label": "IndexPatternField", + "label": "DataViewField", "description": [], "signature": [ { "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" + "section": "def-common.DataViewField", + "text": "DataViewField" }, " implements ", { @@ -1995,7 +1942,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.IndexPatternField.spec", + "id": "def-common.DataViewField.spec", "type": "Object", "tags": [], "label": "spec", @@ -2014,7 +1961,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternField.Unnamed", + "id": "def-common.DataViewField.Unnamed", "type": "Function", "tags": [], "label": "Constructor", @@ -2027,7 +1974,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.IndexPatternField.Unnamed.$1", + "id": "def-common.DataViewField.Unnamed.$1", "type": "Object", "tags": [], "label": "spec", @@ -2050,7 +1997,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternField.count", + "id": "def-common.DataViewField.count", "type": "number", "tags": [], "label": "count", @@ -2062,7 +2009,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternField.count", + "id": "def-common.DataViewField.count", "type": "number", "tags": [], "label": "count", @@ -2072,7 +2019,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternField.runtimeField", + "id": "def-common.DataViewField.runtimeField", "type": "Object", "tags": [], "label": "runtimeField", @@ -2092,7 +2039,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternField.runtimeField", + "id": "def-common.DataViewField.runtimeField", "type": "Object", "tags": [], "label": "runtimeField", @@ -2112,7 +2059,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternField.script", + "id": "def-common.DataViewField.script", "type": "string", "tags": [], "label": "script", @@ -2127,7 +2074,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternField.script", + "id": "def-common.DataViewField.script", "type": "string", "tags": [], "label": "script", @@ -2140,7 +2087,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternField.lang", + "id": "def-common.DataViewField.lang", "type": "CompoundType", "tags": [], "label": "lang", @@ -2155,7 +2102,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternField.lang", + "id": "def-common.DataViewField.lang", "type": "CompoundType", "tags": [], "label": "lang", @@ -2168,7 +2115,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternField.customLabel", + "id": "def-common.DataViewField.customLabel", "type": "string", "tags": [], "label": "customLabel", @@ -2181,7 +2128,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternField.customLabel", + "id": "def-common.DataViewField.customLabel", "type": "string", "tags": [], "label": "customLabel", @@ -2194,7 +2141,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternField.conflictDescriptions", + "id": "def-common.DataViewField.conflictDescriptions", "type": "Object", "tags": [], "label": "conflictDescriptions", @@ -2209,7 +2156,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternField.conflictDescriptions", + "id": "def-common.DataViewField.conflictDescriptions", "type": "Object", "tags": [], "label": "conflictDescriptions", @@ -2222,7 +2169,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternField.name", + "id": "def-common.DataViewField.name", "type": "string", "tags": [], "label": "name", @@ -2232,7 +2179,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternField.displayName", + "id": "def-common.DataViewField.displayName", "type": "string", "tags": [], "label": "displayName", @@ -2242,7 +2189,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternField.type", + "id": "def-common.DataViewField.type", "type": "string", "tags": [], "label": "type", @@ -2252,7 +2199,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternField.esTypes", + "id": "def-common.DataViewField.esTypes", "type": "Array", "tags": [], "label": "esTypes", @@ -2265,7 +2212,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternField.scripted", + "id": "def-common.DataViewField.scripted", "type": "boolean", "tags": [], "label": "scripted", @@ -2275,7 +2222,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternField.searchable", + "id": "def-common.DataViewField.searchable", "type": "boolean", "tags": [], "label": "searchable", @@ -2285,7 +2232,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternField.aggregatable", + "id": "def-common.DataViewField.aggregatable", "type": "boolean", "tags": [], "label": "aggregatable", @@ -2295,7 +2242,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternField.readFromDocValues", + "id": "def-common.DataViewField.readFromDocValues", "type": "boolean", "tags": [], "label": "readFromDocValues", @@ -2305,7 +2252,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternField.subType", + "id": "def-common.DataViewField.subType", "type": "Object", "tags": [], "label": "subType", @@ -2319,7 +2266,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternField.isMapped", + "id": "def-common.DataViewField.isMapped", "type": "CompoundType", "tags": [], "label": "isMapped", @@ -2334,7 +2281,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternField.sortable", + "id": "def-common.DataViewField.sortable", "type": "boolean", "tags": [], "label": "sortable", @@ -2344,7 +2291,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternField.filterable", + "id": "def-common.DataViewField.filterable", "type": "boolean", "tags": [], "label": "filterable", @@ -2354,7 +2301,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternField.visualizable", + "id": "def-common.DataViewField.visualizable", "type": "boolean", "tags": [], "label": "visualizable", @@ -2364,7 +2311,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternField.deleteCount", + "id": "def-common.DataViewField.deleteCount", "type": "Function", "tags": [], "label": "deleteCount", @@ -2379,7 +2326,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternField.toJSON", + "id": "def-common.DataViewField.toJSON", "type": "Function", "tags": [], "label": "toJSON", @@ -2396,7 +2343,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternField.toSpec", + "id": "def-common.DataViewField.toSpec", "type": "Function", "tags": [], "label": "toSpec", @@ -2415,16 +2362,16 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" + "section": "def-common.FieldSpec", + "text": "FieldSpec" }, " | ", { "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" + "section": "def-common.DataViewField", + "text": "DataViewField" }, ") => ", { @@ -2448,7 +2395,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.IndexPatternField.toSpec.$1.getFormatterForField", + "id": "def-common.DataViewField.toSpec.$1", "type": "Object", "tags": [], "label": "{\n getFormatterForField,\n }", @@ -2458,7 +2405,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.IndexPatternField.toSpec.$1.getFormatterForField.getFormatterForField", + "id": "def-common.DataViewField.toSpec.$1.getFormatterForField", "type": "Function", "tags": [], "label": "getFormatterForField", @@ -2477,16 +2424,16 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" + "section": "def-common.FieldSpec", + "text": "FieldSpec" }, " | ", { "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" + "section": "def-common.DataViewField", + "text": "DataViewField" }, ") => ", { @@ -2511,17 +2458,17 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternsService", + "id": "def-common.DataViewsService", "type": "Class", "tags": [], - "label": "IndexPatternsService", + "label": "DataViewsService", "description": [], "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", "deprecated": false, "children": [ { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.ensureDefaultIndexPattern", + "id": "def-common.DataViewsService.ensureDefaultIndexPattern", "type": "Function", "tags": [], "label": "ensureDefaultIndexPattern", @@ -2536,7 +2483,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.Unnamed", + "id": "def-common.DataViewsService.Unnamed", "type": "Function", "tags": [], "label": "Constructor", @@ -2549,7 +2496,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.Unnamed.$1", + "id": "def-common.DataViewsService.Unnamed.$1", "type": "Object", "tags": [], "label": "{\n uiSettings,\n savedObjectsClient,\n apiClient,\n fieldFormats,\n onNotification,\n onError,\n onRedirectNoIndexPattern = () => {},\n }", @@ -2566,7 +2513,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.getIds", + "id": "def-common.DataViewsService.getIds", "type": "Function", "tags": [], "label": "getIds", @@ -2581,7 +2528,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.getIds.$1", + "id": "def-common.DataViewsService.getIds.$1", "type": "boolean", "tags": [], "label": "refresh", @@ -2600,7 +2547,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.getTitles", + "id": "def-common.DataViewsService.getTitles", "type": "Function", "tags": [], "label": "getTitles", @@ -2615,7 +2562,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.getTitles.$1", + "id": "def-common.DataViewsService.getTitles.$1", "type": "boolean", "tags": [], "label": "refresh", @@ -2634,7 +2581,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.find", + "id": "def-common.DataViewsService.find", "type": "Function", "tags": [], "label": "find", @@ -2647,8 +2594,8 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "section": "def-common.DataView", + "text": "DataView" }, "[]>" ], @@ -2657,7 +2604,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.find.$1", + "id": "def-common.DataViewsService.find.$1", "type": "string", "tags": [], "label": "search", @@ -2671,7 +2618,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.find.$2", + "id": "def-common.DataViewsService.find.$2", "type": "number", "tags": [], "label": "size", @@ -2690,7 +2637,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.getIdsWithTitle", + "id": "def-common.DataViewsService.getIdsWithTitle", "type": "Function", "tags": [], "label": "getIdsWithTitle", @@ -2703,8 +2650,8 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternListItem", - "text": "IndexPatternListItem" + "section": "def-common.DataViewListItem", + "text": "DataViewListItem" }, "[]>" ], @@ -2713,7 +2660,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.getIdsWithTitle.$1", + "id": "def-common.DataViewsService.getIdsWithTitle.$1", "type": "boolean", "tags": [], "label": "refresh", @@ -2732,7 +2679,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.clearCache", + "id": "def-common.DataViewsService.clearCache", "type": "Function", "tags": [], "label": "clearCache", @@ -2747,7 +2694,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.clearCache.$1", + "id": "def-common.DataViewsService.clearCache.$1", "type": "string", "tags": [], "label": "id", @@ -2766,7 +2713,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.getCache", + "id": "def-common.DataViewsService.getCache", "type": "Function", "tags": [], "label": "getCache", @@ -2779,8 +2726,8 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternAttributes", - "text": "IndexPatternAttributes" + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" }, ", \"type\" | \"title\" | \"typeMeta\">>[] | null | undefined>" ], @@ -2791,7 +2738,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.getDefault", + "id": "def-common.DataViewsService.getDefault", "type": "Function", "tags": [], "label": "getDefault", @@ -2804,8 +2751,8 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "section": "def-common.DataView", + "text": "DataView" }, " | null>" ], @@ -2816,7 +2763,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.getDefaultId", + "id": "def-common.DataViewsService.getDefaultId", "type": "Function", "tags": [], "label": "getDefaultId", @@ -2833,7 +2780,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.setDefault", + "id": "def-common.DataViewsService.setDefault", "type": "Function", "tags": [], "label": "setDefault", @@ -2848,7 +2795,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.setDefault.$1", + "id": "def-common.DataViewsService.setDefault.$1", "type": "CompoundType", "tags": [], "label": "id", @@ -2862,7 +2809,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.setDefault.$2", + "id": "def-common.DataViewsService.setDefault.$2", "type": "boolean", "tags": [], "label": "force", @@ -2879,7 +2826,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.hasUserIndexPattern", + "id": "def-common.DataViewsService.hasUserIndexPattern", "type": "Function", "tags": [], "label": "hasUserIndexPattern", @@ -2896,7 +2843,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.getFieldsForWildcard", + "id": "def-common.DataViewsService.getFieldsForWildcard", "type": "Function", "tags": [], "label": "getFieldsForWildcard", @@ -2919,7 +2866,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.getFieldsForWildcard.$1", + "id": "def-common.DataViewsService.getFieldsForWildcard.$1", "type": "Object", "tags": [], "label": "options", @@ -2944,7 +2891,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.getFieldsForIndexPattern", + "id": "def-common.DataViewsService.getFieldsForIndexPattern", "type": "Function", "tags": [], "label": "getFieldsForIndexPattern", @@ -2957,16 +2904,16 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "section": "def-common.DataView", + "text": "DataView" }, " | ", { "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" }, ", options?: ", { @@ -2983,7 +2930,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.getFieldsForIndexPattern.$1", + "id": "def-common.DataViewsService.getFieldsForIndexPattern.$1", "type": "CompoundType", "tags": [], "label": "indexPattern", @@ -2993,16 +2940,16 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "section": "def-common.DataView", + "text": "DataView" }, " | ", { "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" } ], "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", @@ -3011,7 +2958,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.getFieldsForIndexPattern.$2", + "id": "def-common.DataViewsService.getFieldsForIndexPattern.$2", "type": "Object", "tags": [], "label": "options", @@ -3037,7 +2984,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.refreshFields", + "id": "def-common.DataViewsService.refreshFields", "type": "Function", "tags": [], "label": "refreshFields", @@ -3050,8 +2997,8 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "section": "def-common.DataView", + "text": "DataView" }, ") => Promise" ], @@ -3060,7 +3007,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.refreshFields.$1", + "id": "def-common.DataViewsService.refreshFields.$1", "type": "Object", "tags": [], "label": "indexPattern", @@ -3070,8 +3017,8 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "section": "def-common.DataView", + "text": "DataView" } ], "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", @@ -3083,7 +3030,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.fieldArrayToMap", + "id": "def-common.DataViewsService.fieldArrayToMap", "type": "Function", "tags": [], "label": "fieldArrayToMap", @@ -3122,7 +3069,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.fieldArrayToMap.$1", + "id": "def-common.DataViewsService.fieldArrayToMap.$1", "type": "Array", "tags": [], "label": "fields", @@ -3145,7 +3092,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.fieldArrayToMap.$2", + "id": "def-common.DataViewsService.fieldArrayToMap.$2", "type": "Object", "tags": [], "label": "fieldAttrs", @@ -3173,7 +3120,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.savedObjectToSpec", + "id": "def-common.DataViewsService.savedObjectToSpec", "type": "Function", "tags": [], "label": "savedObjectToSpec", @@ -3188,16 +3135,16 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternAttributes", - "text": "IndexPatternAttributes" + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" }, ">) => ", { "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" } ], "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", @@ -3205,7 +3152,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.savedObjectToSpec.$1", + "id": "def-common.DataViewsService.savedObjectToSpec.$1", "type": "Object", "tags": [], "label": "savedObject", @@ -3217,8 +3164,8 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternAttributes", - "text": "IndexPatternAttributes" + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" }, ">" ], @@ -3233,7 +3180,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.get", + "id": "def-common.DataViewsService.get", "type": "Function", "tags": [], "label": "get", @@ -3246,8 +3193,8 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "section": "def-common.DataView", + "text": "DataView" }, ">" ], @@ -3256,7 +3203,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.get.$1", + "id": "def-common.DataViewsService.get.$1", "type": "string", "tags": [], "label": "id", @@ -3273,7 +3220,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.create", + "id": "def-common.DataViewsService.create", "type": "Function", "tags": [], "label": "create", @@ -3286,16 +3233,16 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" }, ", skipFetchFields?: boolean) => Promise<", { "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "section": "def-common.DataView", + "text": "DataView" }, ">" ], @@ -3304,7 +3251,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.create.$1", + "id": "def-common.DataViewsService.create.$1", "type": "Object", "tags": [], "label": "spec", @@ -3314,8 +3261,8 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" } ], "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", @@ -3324,7 +3271,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.create.$2", + "id": "def-common.DataViewsService.create.$2", "type": "boolean", "tags": [], "label": "skipFetchFields", @@ -3343,7 +3290,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.createAndSave", + "id": "def-common.DataViewsService.createAndSave", "type": "Function", "tags": [], "label": "createAndSave", @@ -3356,16 +3303,16 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" }, ", override?: boolean, skipFetchFields?: boolean) => Promise<", { "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "section": "def-common.DataView", + "text": "DataView" }, ">" ], @@ -3374,7 +3321,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.createAndSave.$1", + "id": "def-common.DataViewsService.createAndSave.$1", "type": "Object", "tags": [], "label": "spec", @@ -3384,8 +3331,8 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" } ], "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", @@ -3394,7 +3341,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.createAndSave.$2", + "id": "def-common.DataViewsService.createAndSave.$2", "type": "boolean", "tags": [], "label": "override", @@ -3410,7 +3357,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.createAndSave.$3", + "id": "def-common.DataViewsService.createAndSave.$3", "type": "boolean", "tags": [], "label": "skipFetchFields", @@ -3429,7 +3376,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.createSavedObject", + "id": "def-common.DataViewsService.createSavedObject", "type": "Function", "tags": [], "label": "createSavedObject", @@ -3442,16 +3389,16 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "section": "def-common.DataView", + "text": "DataView" }, ", override?: boolean) => Promise<", { "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "section": "def-common.DataView", + "text": "DataView" }, ">" ], @@ -3460,7 +3407,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.createSavedObject.$1", + "id": "def-common.DataViewsService.createSavedObject.$1", "type": "Object", "tags": [], "label": "indexPattern", @@ -3470,8 +3417,8 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "section": "def-common.DataView", + "text": "DataView" } ], "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", @@ -3480,7 +3427,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.createSavedObject.$2", + "id": "def-common.DataViewsService.createSavedObject.$2", "type": "boolean", "tags": [], "label": "override", @@ -3499,7 +3446,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.updateSavedObject", + "id": "def-common.DataViewsService.updateSavedObject", "type": "Function", "tags": [], "label": "updateSavedObject", @@ -3512,8 +3459,8 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "section": "def-common.DataView", + "text": "DataView" }, ", saveAttempts?: number, ignoreErrors?: boolean) => Promise" ], @@ -3522,7 +3469,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.updateSavedObject.$1", + "id": "def-common.DataViewsService.updateSavedObject.$1", "type": "Object", "tags": [], "label": "indexPattern", @@ -3532,8 +3479,8 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "section": "def-common.DataView", + "text": "DataView" } ], "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", @@ -3542,7 +3489,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.updateSavedObject.$2", + "id": "def-common.DataViewsService.updateSavedObject.$2", "type": "number", "tags": [], "label": "saveAttempts", @@ -3556,7 +3503,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.updateSavedObject.$3", + "id": "def-common.DataViewsService.updateSavedObject.$3", "type": "boolean", "tags": [], "label": "ignoreErrors", @@ -3573,7 +3520,7 @@ }, { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.delete", + "id": "def-common.DataViewsService.delete", "type": "Function", "tags": [], "label": "delete", @@ -3588,7 +3535,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.IndexPatternsService.delete.$1", + "id": "def-common.DataViewsService.delete.$1", "type": "string", "tags": [], "label": "indexPatternId", @@ -3607,4881 +3554,9913 @@ } ], "initialIsOpen": false - } - ], - "functions": [ + }, { "parentPluginId": "data", - "id": "def-common.fieldList", - "type": "Function", + "id": "def-common.DuplicateDataViewError", + "type": "Class", "tags": [], - "label": "fieldList", + "label": "DuplicateDataViewError", "description": [], "signature": [ - "(specs?: ", { "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" + "section": "def-common.DuplicateDataViewError", + "text": "DuplicateDataViewError" }, - "[], shortDotsEnable?: boolean) => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IIndexPatternFieldList", - "text": "IIndexPatternFieldList" - } + " extends Error" ], - "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", + "path": "src/plugins/data/common/index_patterns/errors/duplicate_index_pattern.ts", "deprecated": false, "children": [ { "parentPluginId": "data", - "id": "def-common.fieldList.$1", - "type": "Array", + "id": "def-common.DuplicateDataViewError.Unnamed", + "type": "Function", "tags": [], - "label": "specs", + "label": "Constructor", "description": [], "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "[]" + "any" ], - "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", + "path": "src/plugins/data/common/index_patterns/errors/duplicate_index_pattern.ts", "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.fieldList.$2", - "type": "boolean", - "tags": [], - "label": "shortDotsEnable", - "description": [], - "signature": [ - "boolean" + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DuplicateDataViewError.Unnamed.$1", + "type": "string", + "tags": [], + "label": "message", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data/common/index_patterns/errors/duplicate_index_pattern.ts", + "deprecated": false, + "isRequired": true + } ], - "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", - "deprecated": false, - "isRequired": true + "returnComment": [] } ], - "returnComment": [], "initialIsOpen": false }, { "parentPluginId": "data", - "id": "def-common.getIndexPatternLoadMeta", - "type": "Function", - "tags": [], - "label": "getIndexPatternLoadMeta", + "id": "def-common.IndexPattern", + "type": "Class", + "tags": [ + "deprecated" + ], + "label": "IndexPattern", "description": [], "signature": [ - "() => Pick<", { "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternLoadExpressionFunctionDefinition", - "text": "IndexPatternLoadExpressionFunctionDefinition" + "section": "def-common.IndexPattern", + "text": "IndexPattern" }, - ", \"type\" | \"telemetry\" | \"extract\" | \"inject\" | \"migrations\" | \"name\" | \"disabled\" | \"help\" | \"inputTypes\" | \"args\" | \"aliases\" | \"context\">" - ], - "path": "src/plugins/data/common/index_patterns/expressions/load_index_pattern.ts", - "deprecated": false, - "children": [], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.isFilterable", - "type": "Function", - "tags": [], - "label": "isFilterable", - "description": [], - "signature": [ - "(field: ", + " extends ", { "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - ") => boolean" - ], - "path": "src/plugins/data/common/index_patterns/fields/utils.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.isFilterable.$1", - "type": "Object", - "tags": [], - "label": "field", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - } - ], - "path": "src/plugins/data/common/index_patterns/fields/utils.ts", - "deprecated": false, - "isRequired": true + "section": "def-common.DataView", + "text": "DataView" } ], - "returnComment": [], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.isNestedField", - "type": "Function", - "tags": [], - "label": "isNestedField", - "description": [], - "signature": [ - "(field: ", + "path": "src/plugins/data/common/index_patterns/index_patterns/index_pattern.ts", + "deprecated": true, + "references": [ { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" }, - ") => boolean" - ], - "path": "src/plugins/data/common/index_patterns/fields/utils.ts", - "deprecated": false, - "children": [ { - "parentPluginId": "data", - "id": "def-common.isNestedField.$1", - "type": "Object", - "tags": [], - "label": "field", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - } - ], - "path": "src/plugins/data/common/index_patterns/fields/utils.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false - } - ], - "interfaces": [ - { - "parentPluginId": "data", - "id": "def-common.FieldAttrs", - "type": "Interface", - "tags": [ - "intenal" - ], - "label": "FieldAttrs", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "children": [ + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, { - "parentPluginId": "data", - "id": "def-common.FieldAttrs.Unnamed", - "type": "Any", - "tags": [], - "label": "Unnamed", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldAttrSet", - "type": "Interface", - "tags": [], - "label": "FieldAttrSet", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "children": [ + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, { - "parentPluginId": "data", - "id": "def-common.FieldAttrSet.customLabel", - "type": "string", - "tags": [], - "label": "customLabel", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" }, { - "parentPluginId": "data", - "id": "def-common.FieldAttrSet.count", - "type": "number", - "tags": [], - "label": "count", - "description": [], - "signature": [ - "number | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpec", - "type": "Interface", - "tags": [], - "label": "FieldSpec", - "description": [], - "signature": [ + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts" + }, { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" + "plugin": "reporting", + "path": "x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts" }, - " extends ", - "IndexPatternFieldBase" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "children": [ { - "parentPluginId": "data", - "id": "def-common.FieldSpec.count", - "type": "number", - "tags": [], - "label": "count", - "description": [ - "\nPopularity count is used by discover" - ], - "signature": [ - "number | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.ts" }, { - "parentPluginId": "data", - "id": "def-common.FieldSpec.conflictDescriptions", - "type": "Object", - "tags": [], - "label": "conflictDescriptions", - "description": [], - "signature": [ - "Record | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.ts" }, { - "parentPluginId": "data", - "id": "def-common.FieldSpec.format", - "type": "Object", - "tags": [], - "label": "format", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.SerializedFieldFormat", - "text": "SerializedFieldFormat" - }, - "> | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/columns.ts" }, { - "parentPluginId": "data", - "id": "def-common.FieldSpec.esTypes", - "type": "Array", - "tags": [], - "label": "esTypes", - "description": [], - "signature": [ - "string[] | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/columns.ts" }, { - "parentPluginId": "data", - "id": "def-common.FieldSpec.searchable", - "type": "boolean", - "tags": [], - "label": "searchable", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/helpers/update_search_source.ts" }, { - "parentPluginId": "data", - "id": "def-common.FieldSpec.aggregatable", - "type": "boolean", - "tags": [], - "label": "aggregatable", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/helpers/update_search_source.ts" }, { - "parentPluginId": "data", - "id": "def-common.FieldSpec.readFromDocValues", - "type": "CompoundType", - "tags": [], - "label": "readFromDocValues", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" }, { - "parentPluginId": "data", - "id": "def-common.FieldSpec.indexed", - "type": "CompoundType", - "tags": [], - "label": "indexed", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" }, { - "parentPluginId": "data", - "id": "def-common.FieldSpec.customLabel", - "type": "string", - "tags": [], - "label": "customLabel", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" }, { - "parentPluginId": "data", - "id": "def-common.FieldSpec.runtimeField", - "type": "Object", - "tags": [], - "label": "runtimeField", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.RuntimeField", - "text": "RuntimeField" - }, - " | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" }, { - "parentPluginId": "data", - "id": "def-common.FieldSpec.shortDotsEnable", - "type": "CompoundType", - "tags": [], - "label": "shortDotsEnable", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" }, { - "parentPluginId": "data", - "id": "def-common.FieldSpec.isMapped", - "type": "CompoundType", - "tags": [], - "label": "isMapped", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt", - "type": "Interface", - "tags": [], - "label": "FieldSpecExportFmt", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "children": [ + "plugin": "discover", + "path": "src/plugins/discover/public/application/services/use_es_doc_search.ts" + }, { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.count", - "type": "number", - "tags": [], - "label": "count", - "description": [], - "signature": [ - "number | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app_content.tsx" }, { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.script", - "type": "string", - "tags": [], - "label": "script", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app_content.tsx" }, { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.lang", - "type": "CompoundType", - "tags": [], - "label": "lang", - "description": [], - "signature": [ - "\"painless\" | \"expression\" | \"mustache\" | \"java\" | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" }, { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.conflictDescriptions", - "type": "Object", - "tags": [], - "label": "conflictDescriptions", - "description": [], - "signature": [ - "Record | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" }, { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.name", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_index_pattern.tsx" }, { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.type", - "type": "Enum", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "KBN_FIELD_TYPES" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_index_pattern.tsx" }, { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.esTypes", - "type": "Array", - "tags": [], - "label": "esTypes", - "description": [], - "signature": [ - "string[] | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" }, { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.scripted", - "type": "boolean", - "tags": [], - "label": "scripted", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" }, { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.searchable", - "type": "boolean", - "tags": [], - "label": "searchable", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/update_search_source.ts" }, { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.aggregatable", - "type": "boolean", - "tags": [], - "label": "aggregatable", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/update_search_source.ts" }, { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.readFromDocValues", - "type": "CompoundType", - "tags": [], - "label": "readFromDocValues", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/types.ts" }, { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.subType", - "type": "Object", - "tags": [], - "label": "subType", - "description": [], - "signature": [ - "IFieldSubType", - " | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/types.ts" }, { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.format", - "type": "Object", - "tags": [], - "label": "format", - "description": [], - "signature": [ - { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.SerializedFieldFormat", - "text": "SerializedFieldFormat" - }, - "> | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_documents.tsx" }, { - "parentPluginId": "data", - "id": "def-common.FieldSpecExportFmt.indexed", - "type": "CompoundType", - "tags": [], - "label": "indexed", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.GetFieldsOptions", - "type": "Interface", - "tags": [], - "label": "GetFieldsOptions", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "children": [ + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_documents.tsx" + }, { - "parentPluginId": "data", - "id": "def-common.GetFieldsOptions.pattern", - "type": "string", - "tags": [], - "label": "pattern", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" }, { - "parentPluginId": "data", - "id": "def-common.GetFieldsOptions.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" }, { - "parentPluginId": "data", - "id": "def-common.GetFieldsOptions.lookBack", - "type": "CompoundType", - "tags": [], - "label": "lookBack", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts" }, { - "parentPluginId": "data", - "id": "def-common.GetFieldsOptions.metaFields", - "type": "Array", - "tags": [], - "label": "metaFields", - "description": [], - "signature": [ - "string[] | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts" }, { - "parentPluginId": "data", - "id": "def-common.GetFieldsOptions.rollupIndex", - "type": "string", - "tags": [], - "label": "rollupIndex", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts" }, { - "parentPluginId": "data", - "id": "def-common.GetFieldsOptions.allowNoIndex", - "type": "CompoundType", - "tags": [], - "label": "allowNoIndex", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.GetFieldsOptionsTimePattern", - "type": "Interface", - "tags": [], - "label": "GetFieldsOptionsTimePattern", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "children": [ + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx" + }, { - "parentPluginId": "data", - "id": "def-common.GetFieldsOptionsTimePattern.pattern", - "type": "string", - "tags": [], - "label": "pattern", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx" }, { - "parentPluginId": "data", - "id": "def-common.GetFieldsOptionsTimePattern.metaFields", - "type": "Array", - "tags": [], - "label": "metaFields", - "description": [], - "signature": [ - "string[]" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" }, { - "parentPluginId": "data", - "id": "def-common.GetFieldsOptionsTimePattern.lookBack", - "type": "number", - "tags": [], - "label": "lookBack", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" }, { - "parentPluginId": "data", - "id": "def-common.GetFieldsOptionsTimePattern.interval", - "type": "string", - "tags": [], - "label": "interval", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IFieldType", - "type": "Interface", - "tags": [ - "deprecated" - ], - "label": "IFieldType", - "description": [], - "signature": [ + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" + }, { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" }, - " extends ", - "IndexPatternFieldBase" - ], - "path": "src/plugins/data/common/index_patterns/fields/types.ts", - "deprecated": true, - "removeBy": "8.1", - "references": [ { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/es_doc_field.ts" + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/fields/es_doc_field.ts" + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/common/types/index.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/common/types/index.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "plugin": "osquery", + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/index.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/index.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/threat_match/index.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + "plugin": "transform", + "path": "x-pack/plugins/transform/common/types/index_pattern.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.test.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.tsx" + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/common/index_patterns_utils.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/common/index_patterns_utils.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/common/index_patterns_utils.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/common/index_patterns_utils.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/index_pattern_select/types.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/index_pattern_select/types.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/index_pattern_select/index_pattern_select.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/index_pattern_select/index_pattern_select.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_pattern.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_pattern.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_pattern_with_timefield.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_pattern_with_timefield.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/types.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/embeddable/types.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/inventory/components/expression.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/inventory/components/expression.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/common/group_by_expression/selector.tsx" + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/state/reducers/index_pattern.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/common/group_by_expression/selector.tsx" + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/state/reducers/index_pattern.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/common/group_by_expression/group_by_expression.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.test.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/common/group_by_expression/group_by_expression.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.test.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criteria.tsx" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criteria.tsx" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/group_by.tsx" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/group_by.tsx" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_row.tsx" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/vis_types/types.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_row.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/doc_views/doc_views_types.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/metrics.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/doc_views/doc_views_types.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/metrics.tsx" + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/shared_imports.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx" + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx" + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" }, { - "plugin": "fleet", - "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx" + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts" + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts" + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/delete_field_provider.tsx" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/delete_field_provider.tsx" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/kibana_services.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/get_render_cell_value.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_default_sort.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_default_sort.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/table_header.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/table_header.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/field_types_utils.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/field_types_utils.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.ts" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.ts" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_data_grid_columns.ts" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_data_grid_columns.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/utils/sorting.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/utils/sorting.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/calc_field_counts.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/group_by_expression.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/calc_field_counts.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/group_by_expression.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/get_top_nav_links.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/selector.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/get_top_nav_links.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/selector.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/inventory/components/expression.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/inventory/components/expression.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/inventory/components/metric.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/nested_fields.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/inventory/components/metric.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/nested_fields.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_row.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_row.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/types.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/types.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/log_threshold/components/expression_editor/criteria.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/log_threshold/components/expression_editor/criteria.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/log_threshold/components/expression_editor/criterion.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/log_threshold/components/expression_editor/criterion.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_row.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/group_by.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/components/table_row.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/group_by.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/metrics.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/metrics.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/services/discover_state.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/actions/columns.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/actions/columns.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_state.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_state.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/anchor.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/anchor.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_fetch.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/utils/use_context_app_fetch.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/metric_control/index.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/metric_control/index.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" }, { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/utils.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" }, { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/utils.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" }, { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" }, { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/types.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/public/indexpattern_datasource/types.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/persist_saved_search.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/geo_field_select.tsx" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/persist_saved_search.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/components/geo_field_select.tsx" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" }, { - "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/embeddable/visualize_embeddable.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/public/indexpattern_datasource/types.d.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" }, { - "plugin": "lens", - "path": "x-pack/plugins/lens/target/types/public/indexpattern_datasource/types.d.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" }, { - "plugin": "visTypeTimeseries", - "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + "plugin": "lens", + "path": "x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/components/filter_label.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/components/filter_label.tsx" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" }, { "plugin": "maps", - "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" - } - ], - "children": [ + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, { - "parentPluginId": "data", - "id": "def-common.IFieldType.count", - "type": "number", - "tags": [], - "label": "count", - "description": [], - "signature": [ - "number | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" }, { - "parentPluginId": "data", - "id": "def-common.IFieldType.esTypes", - "type": "Array", - "tags": [], - "label": "esTypes", - "description": [], - "signature": [ - "string[] | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_agg_tooltip_property.ts" }, { - "parentPluginId": "data", - "id": "def-common.IFieldType.aggregatable", - "type": "CompoundType", - "tags": [], - "label": "aggregatable", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_agg_tooltip_property.ts" }, { - "parentPluginId": "data", - "id": "def-common.IFieldType.filterable", - "type": "CompoundType", - "tags": [], - "label": "filterable", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.ts" }, { - "parentPluginId": "data", - "id": "def-common.IFieldType.searchable", - "type": "CompoundType", - "tags": [], - "label": "searchable", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/count_agg_field.ts" }, { - "parentPluginId": "data", - "id": "def-common.IFieldType.sortable", - "type": "CompoundType", - "tags": [], - "label": "sortable", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field.ts" }, { - "parentPluginId": "data", - "id": "def-common.IFieldType.visualizable", - "type": "CompoundType", - "tags": [], - "label": "visualizable", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field.ts" }, { - "parentPluginId": "data", - "id": "def-common.IFieldType.readFromDocValues", - "type": "CompoundType", - "tags": [], - "label": "readFromDocValues", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" }, { - "parentPluginId": "data", - "id": "def-common.IFieldType.displayName", - "type": "string", - "tags": [], - "label": "displayName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" }, { - "parentPluginId": "data", - "id": "def-common.IFieldType.customLabel", - "type": "string", - "tags": [], - "label": "customLabel", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.ts" }, { - "parentPluginId": "data", - "id": "def-common.IFieldType.format", - "type": "Any", - "tags": [], - "label": "format", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data/common/index_patterns/fields/types.ts", - "deprecated": false + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" }, { - "parentPluginId": "data", - "id": "def-common.IFieldType.toSpec", - "type": "Function", - "tags": [], - "label": "toSpec", - "description": [], - "signature": [ - "((options?: { getFormatterForField?: ((field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - ") => ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormat", - "text": "FieldFormat" - }, - ") | undefined; } | undefined) => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - ") | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IFieldType.toSpec.$1.options", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "path": "src/plugins/data/common/index_patterns/fields/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IFieldType.toSpec.$1.options.getFormatterForField", - "type": "Function", - "tags": [], - "label": "getFormatterForField", - "description": [], - "signature": [ - "((field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - ") => ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormat", - "text": "FieldFormat" - }, - ") | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/types.ts", - "deprecated": false - } - ] - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IIndexPattern", - "type": "Interface", - "tags": [ - "deprecated" - ], - "label": "IIndexPattern", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IIndexPattern", - "text": "IIndexPattern" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" }, - " extends ", - "IndexPatternBase" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": true, - "references": [ { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/t_grid/helpers.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/t_grid/helpers.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/container/source/index.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/container/source/index.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/geo_index_pattern_select.tsx" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/container/source/index.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/geo_index_pattern_select.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/geo_line_form.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/utils/kuery.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/utils/kuery.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/create_source_editor.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_chart.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_chart.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/routes/map_page/map_app/map_app.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector_service.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/containers/with_source/with_source.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector_service.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/containers/with_source/with_source.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/toolbar.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/toolbar.tsx" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.ts" + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/index.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/index.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/common/search_strategy/index_fields/index.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/common/search_strategy/index_fields/index.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/field_format_service.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/types.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/field_format_service.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/types.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/action.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/action.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/containers/source/index.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/containers/source/index.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/containers/source/index.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/helpers.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/datavisualizer/index_based/data_loader/data_loader.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/helpers.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/hooks/use_index_data.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/use_scatterplot_field_options.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/query_bar/index.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/use_scatterplot_field_options.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/query_bar/index.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_bar/index.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/scatterplot_matrix/scatterplot_matrix.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_bar/index.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/columns.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/columns.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/columns.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/single_metric_job_creator.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/single_metric_job_creator.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/multi_metric_job_creator.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/multi_metric_job_creator.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/population_job_creator.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/top_n/top_n.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/population_job_creator.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/top_n/top_n.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/advanced_job_creator.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/advanced_job_creator.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/results_loader/categorization_examples_loader.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/categorization_job_creator.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/categorization_job_creator.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/rare_job_creator.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/rare_job_creator.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator_factory.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/pages/details/types.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/job_creator/job_creator_factory.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/pages/details/types.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector_service.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/index.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector_service.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/index.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/details/types.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/hosts/pages/details/types.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/full_time_range_selector/full_time_range_selector.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/alerts_by_category/index.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_results.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/alerts_by_category/index.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/expandable_section/expandable_section_results.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/event_counts/index.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/overview/components/event_counts/index.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/outlier_exploration/use_outlier_data.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/types.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_results.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/types.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/use_exploration_results.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/exploration_results_table.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_results_table/exploration_results_table.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/ml_context.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/ml_context.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/ueba/pages/details/types.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/common/use_results_view_config.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/ueba/pages/details/types.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/common/use_results_view_config.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/mock/index_pattern.ts" + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/common/use_results_view_config.ts" }, { - "plugin": "timelines", - "path": "x-pack/plugins/timelines/public/mock/index_pattern.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/common/search_strategy/index_fields/index.d.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/common/search_strategy/index_fields/index.d.ts" + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/containers/with_kuery_autocompletion.d.ts" + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" }, { "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/containers/with_kuery_autocompletion.d.ts" + "path": "x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/containers/with_source/with_source.d.ts" + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/containers/with_source/with_source.d.ts" + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/index_pattern_context.ts" + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/index_pattern_context.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/types/app_state.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/containers/source/index.d.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/types/app_state.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/containers/source/index.d.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/containers/source/index.d.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.sagas.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/columns.d.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.sagas.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/columns.d.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/columns.d.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_chart.d.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_chart.d.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/search_bar.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.d.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/inspect_panel.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.d.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/inspect_panel.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/index.d.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/index.d.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/hosts/pages/details/types.d.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/hosts/pages/details/types.d.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/index_pattern_cache.ts" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/index.d.ts" + "path": "x-pack/plugins/security_solution/public/detections/components/rules/threatmatch_input/index.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/index.d.ts" + "path": "x-pack/plugins/security_solution/public/detections/components/rules/threatmatch_input/index.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/network/pages/details/types.d.ts" + "path": "x-pack/plugins/security_solution/public/detections/components/rules/threatmatch_input/index.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/network/pages/details/types.d.ts" + "path": "x-pack/plugins/security_solution/public/detections/components/rules/step_define_rule/index.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/ueba/pages/details/types.d.ts" + "path": "x-pack/plugins/security_solution/public/detections/components/rules/step_define_rule/index.tsx" }, { "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/target/types/public/ueba/pages/details/types.d.ts" + "path": "x-pack/plugins/security_solution/public/detections/components/rules/step_define_rule/index.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.d.ts" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.d.ts" + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.d.ts" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.d.ts" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/target/types/public/application/jobs/new_job/common/index_pattern_context.d.ts" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/target/types/public/application/jobs/new_job/common/index_pattern_context.d.ts" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/target/types/public/application/jobs/new_job/common/index_pattern_context.d.ts" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx" }, { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx" }, { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" }, { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" }, { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" }, { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index_header.tsx" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/common/request.ts" }, { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index_header.tsx" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" }, { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/index_header/index_header.d.ts" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" }, { - "plugin": "indexPatternManagement", - "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/index_header/index_header.d.ts" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.tsx" + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.tsx" + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/hooks/update_kuery_string.ts" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/use_delete_action.tsx" + "plugin": "uptime", + "path": "x-pack/plugins/uptime/public/hooks/update_kuery_string.ts" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/use_delete_action.tsx" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/mocks.ts" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/utils.d.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/mocks.ts" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/utils.d.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_utils.d.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/state_management/datasource.test.ts" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_utils.d.ts" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/index.tsx" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/public/pages/metrics/index.tsx" + "plugin": "graph", + "path": "x-pack/plugins/graph/public/services/persistence/deserialize.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/store/sourcerer/model.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/store/sourcerer/model.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/embeddable/embeddable.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/pages/navigation/types.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/pages/navigation/types.ts" + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/network/pages/navigation/types.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/es_search_source.d.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/es_search_source.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/mock/index_pattern.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" }, { - "plugin": "securitySolution", - "path": "x-pack/plugins/security_solution/public/common/mock/index_pattern.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.test.ts" }, { - "plugin": "infra", - "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_index_pattern_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_index_pattern_select.d.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_query_bar/exploration_query_bar.tsx" + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities._service.test.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_query_bar/exploration_query_bar.tsx" + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities._service.test.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/editor.tsx" + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/remove_nested_field_children.test.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/editor.tsx" + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/remove_nested_field_children.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/custom_urls.tsx" + "path": "x-pack/plugins/ml/public/application/contexts/ml/__mocks__/index_pattern.ts" }, { "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/custom_urls.tsx" + "path": "x-pack/plugins/ml/public/application/contexts/ml/__mocks__/index_pattern.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/count_agg_field.d.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/count_agg_field.d.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/agg_field.d.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/agg_field.d.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" }, { - "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/geo_line_form.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/geo_line_form.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/filter_editor/filter_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/filter_editor/filter_editor.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/components/full_time_range_selector/full_time_range_selector.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/components/full_time_range_selector/full_time_range_selector.d.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/target/types/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.d.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/target/types/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/where_expression.d.ts" }, { "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" }, { "plugin": "stackAlerts", - "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" }, { "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/services/es_index_service.ts" + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts" }, { "plugin": "transform", - "path": "x-pack/plugins/transform/public/app/services/es_index_service.ts" + "path": "x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/common.test.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/server/routes/api/transforms.ts" + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/shared_imports.ts" }, { - "plugin": "transform", - "path": "x-pack/plugins/transform/server/routes/api/transforms.ts" + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/open_editor.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/explorer/components/explorer_query_bar/explorer_query_bar.tsx" + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/open_editor.tsx" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/explorer/components/explorer_query_bar/explorer_query_bar.tsx" + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/types.ts" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/explorer/components/explorer_query_bar/explorer_query_bar.tsx" + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/types.ts" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/utils/new_job_utils.test.ts" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" }, { - "plugin": "ml", - "path": "x-pack/plugins/ml/public/application/jobs/new_job/utils/new_job_utils.test.ts" - } - ], - "children": [ + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, { - "parentPluginId": "data", - "id": "def-common.IIndexPattern.title", - "type": "string", - "tags": [], - "label": "title", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" }, { - "parentPluginId": "data", - "id": "def-common.IIndexPattern.fields", - "type": "Array", - "tags": [], - "label": "fields", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - "[]" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" }, { - "parentPluginId": "data", - "id": "def-common.IIndexPattern.type", - "type": "string", - "tags": [], - "label": "type", - "description": [ - "\nType is used for identifying rollup indices, otherwise left undefined" - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" }, { - "parentPluginId": "data", - "id": "def-common.IIndexPattern.timeFieldName", - "type": "string", - "tags": [], - "label": "timeFieldName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" }, { - "parentPluginId": "data", - "id": "def-common.IIndexPattern.getTimeField", - "type": "Function", - "tags": [], - "label": "getTimeField", - "description": [], - "signature": [ - "(() => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | undefined) | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" }, { - "parentPluginId": "data", - "id": "def-common.IIndexPattern.fieldFormatMap", - "type": "Object", - "tags": [], - "label": "fieldFormatMap", - "description": [], - "signature": [ - "Record | undefined> | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/breadcrumbs.ts" }, { - "parentPluginId": "data", - "id": "def-common.IIndexPattern.getFormatterForField", - "type": "Function", - "tags": [], - "label": "getFormatterForField", - "description": [ - "\nLook up a formatter for a given field" - ], - "signature": [ - "((field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - ") => ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormat", - "text": "FieldFormat" - }, - ") | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IIndexPattern.getFormatterForField.$1", - "type": "CompoundType", - "tags": [], - "label": "field", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - } - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList", - "type": "Interface", - "tags": [], - "label": "IIndexPatternFieldList", - "description": [], - "signature": [ + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" + }, { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IIndexPatternFieldList", - "text": "IIndexPatternFieldList" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx" }, - " extends ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.tsx" }, - "[]" - ], - "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", - "deprecated": false, - "children": [ { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.add", - "type": "Function", - "tags": [], - "label": "add", - "description": [], - "signature": [ - "(field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - ") => void" - ], - "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.add.$1", - "type": "Object", - "tags": [], - "label": "field", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - } - ], - "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/source_filters_table.tsx" }, { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.getAll", - "type": "Function", - "tags": [], - "label": "getAll", - "description": [], - "signature": [ - "() => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" - }, - "[]" - ], - "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" }, { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.getByName", - "type": "Function", - "tags": [], - "label": "getByName", - "description": [], - "signature": [ - "(name: string) => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" - }, - " | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.getByName.$1", - "type": "string", - "tags": [], - "label": "name", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" }, { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.getByType", - "type": "Function", - "tags": [], - "label": "getByType", - "description": [], - "signature": [ - "(type: string) => ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" - }, - "[]" - ], - "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.getByType.$1", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" }, { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.remove", - "type": "Function", - "tags": [], - "label": "remove", - "description": [], - "signature": [ - "(field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - ") => void" - ], - "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.remove.$1", - "type": "Object", - "tags": [], + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/help_flyout.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/help_flyout.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/create_search_source.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/create_search_source.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/controls_tab.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/controls_tab.tsx" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" + }, + { + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" + }, + { + "plugin": "visualize", + "path": "src/plugins/visualize/public/application/components/visualize_top_nav.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/utils/editor_config.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/utils/editor_config.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_select.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_select.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params.tsx" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/test_utils/get_index_pattern_mock.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.test.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.test.ts" + }, + { + "plugin": "visTypeTable", + "path": "src/plugins/vis_type_table/public/legacy/table_vis_controller.test.ts" + }, + { + "plugin": "visTypeTable", + "path": "src/plugins/vis_type_table/public/legacy/table_vis_controller.test.ts" + }, + { + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" + }, + { + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" + }, + { + "plugin": "visTypeVega", + "path": "src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/target/types/public/types.d.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/target/types/public/types.d.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/target/types/public/components/field_format_editor/field_format_editor.d.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/target/types/public/components/field_format_editor/field_format_editor.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/utils/editor_config.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/utils/editor_config.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/control/create_search_source.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/control/create_search_source.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/test_utils/get_index_pattern_mock.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/test_utils/get_index_pattern_mock.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_select.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_select.d.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_sharing_data.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_sharing_data.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/get_sharing_data.test.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/components/editor/controls_tab.d.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/target/types/public/components/editor/controls_tab.d.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/target/types/public/application/components/lib/convert_series_to_datatable.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_calculator.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_calculator.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/nested_fields.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/utils/nested_fields.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/source_filters_table/components/table/table.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/source_filters_table/components/table/table.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern_management.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern_management.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/agg_field_types.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/agg/percentile_agg_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/lens_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/field_data_row/action_menu/actions.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/index_based_expanded_row.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/data_loader/data_loader.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/data_loader/data_loader.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/data_loader/data_loader.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/search_panel/search_panel.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/utils/saved_search_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_pattern_management/index_pattern_management.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_pattern_management/index_pattern_management.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/embeddables/types.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/embeddables/types.ts" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" + }, + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/percentile_agg_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/agg/percentile_agg_field.d.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/saved_object.test.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/saved_object.test.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/saved_object.test.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/saved_object.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.test.ts" + } + ], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IndexPatternField", + "type": "Class", + "tags": [ + "deprecated" + ], + "label": "IndexPatternField", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IndexPatternField", + "text": "IndexPatternField" + }, + " extends ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + } + ], + "path": "src/plugins/data/common/index_patterns/fields/index_pattern_field.ts", + "deprecated": true, + "references": [ + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/shared_imports.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/lib/serialization.ts" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" + }, + { + "plugin": "indexPatternFieldEditor", + "path": "src/plugins/index_pattern_field_editor/public/open_editor.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/kibana_services.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/field_name/field_name.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/field_name/field_name.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table_cell_actions.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table_cell_actions.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/table/table.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_details.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_details.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/get_index_pattern_field_list.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_layout.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/discover_layout.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/es_doc_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/fields/es_doc_field.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/single_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/top_hits_form.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/geo_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/geo_field_select.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/top_hits/create_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metric_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/components/metrics_editor/metrics_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/resources/join.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_geo_line_source/update_source_editor.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/layer_template.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/index_pattern_util.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/maps_telemetry/maps_telemetry.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_source/es_source.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/es_doc_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/fields/es_doc_field.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/index_pattern_util.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/geo_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/single_field_select.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/public/classes/sources/es_search_source/util/get_docvalue_source_fields.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metrics_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metrics_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metric_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/components/metrics_editor/metric_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/layers/choropleth_layer_wizard/layer_template.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_geo_line_source/update_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/create_source_editor.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/top_hits_form.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/top_hits_form.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/classes/sources/es_search_source/top_hits/top_hits_form.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/join_expression.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/connected_components/edit_layer_panel/join_editor/resources/metrics_expression.d.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/shared_imports.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/tabs.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/list_control_factory.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/list_control_factory.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/range_control_factory.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/range_control_factory.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/field_select.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_param_props.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_param_props.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/top_field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/top_field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/top_sort_field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/controls/top_sort_field.tsx" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/public/components/agg_params_helper.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_param_props.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/agg_param_props.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.test.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_field.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_field.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_sort_field.d.ts" + }, + { + "plugin": "visDefaultEditor", + "path": "src/plugins/vis_default_editor/target/types/public/components/controls/top_sort_field.d.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_filter.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/lib/group_fields.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/context_app.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_visualize.tsx" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/field_stats.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/get_fields_to_show.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/visualize_trigger_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_field_visualize.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/components/discover_grid/discover_grid_cell_actions.tsx" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" + }, + { + "plugin": "dataVisualizer", + "path": "x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/lib/group_fields.test.ts" + } + ], + "children": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IndexPatternsService", + "type": "Class", + "tags": [ + "deprecated" + ], + "label": "IndexPatternsService", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IndexPatternsService", + "text": "IndexPatternsService" + }, + " extends ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewsService", + "text": "DataViewsService" + } + ], + "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", + "deprecated": true, + "references": [ + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/types.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/types.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/kibana_server_services.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/kibana_server_services.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/data_indexing/create_doc_source.ts" + }, + { + "plugin": "maps", + "path": "x-pack/plugins/maps/server/data_indexing/create_doc_source.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/server/routes/existing_fields.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/common/index_patterns_utils.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/common/index_patterns_utils.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/fields_fetcher.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/fields_fetcher.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/plugin.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/plugin.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/common/index_patterns_utils.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_patterns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/__mocks__/index_patterns.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.test.ts" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx" + }, + { + "plugin": "visTypeTimeseries", + "path": "src/plugins/vis_type_timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.test.ts" + } + ], + "children": [], + "initialIsOpen": false + } + ], + "functions": [ + { + "parentPluginId": "data", + "id": "def-common.fieldList", + "type": "Function", + "tags": [], + "label": "fieldList", + "description": [], + "signature": [ + "(specs?: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[], shortDotsEnable?: boolean) => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IIndexPatternFieldList", + "text": "IIndexPatternFieldList" + } + ], + "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.fieldList.$1", + "type": "Array", + "tags": [], + "label": "specs", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[]" + ], + "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.fieldList.$2", + "type": "boolean", + "tags": [], + "label": "shortDotsEnable", + "description": [], + "signature": [ + "boolean" + ], + "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.getIndexPatternLoadMeta", + "type": "Function", + "tags": [], + "label": "getIndexPatternLoadMeta", + "description": [], + "signature": [ + "() => Pick<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IndexPatternLoadExpressionFunctionDefinition", + "text": "IndexPatternLoadExpressionFunctionDefinition" + }, + ", \"type\" | \"telemetry\" | \"inject\" | \"extract\" | \"migrations\" | \"name\" | \"disabled\" | \"help\" | \"inputTypes\" | \"args\" | \"aliases\" | \"context\">" + ], + "path": "src/plugins/data/common/index_patterns/expressions/load_index_pattern.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.isFilterable", + "type": "Function", + "tags": [], + "label": "isFilterable", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + ") => boolean" + ], + "path": "src/plugins/data/common/index_patterns/fields/utils.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.isFilterable.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + } + ], + "path": "src/plugins/data/common/index_patterns/fields/utils.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.isNestedField", + "type": "Function", + "tags": [], + "label": "isNestedField", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + ") => boolean" + ], + "path": "src/plugins/data/common/index_patterns/fields/utils.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.isNestedField.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + } + ], + "path": "src/plugins/data/common/index_patterns/fields/utils.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + } + ], + "interfaces": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewAttributes", + "type": "Interface", + "tags": [], + "label": "DataViewAttributes", + "description": [ + "\nInterface for an index pattern saved object" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewAttributes.fields", + "type": "string", + "tags": [], + "label": "fields", + "description": [], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewAttributes.title", + "type": "string", + "tags": [], + "label": "title", + "description": [], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewAttributes.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewAttributes.typeMeta", + "type": "string", + "tags": [], + "label": "typeMeta", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewAttributes.timeFieldName", + "type": "string", + "tags": [], + "label": "timeFieldName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewAttributes.intervalName", + "type": "string", + "tags": [], + "label": "intervalName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewAttributes.sourceFilters", + "type": "string", + "tags": [], + "label": "sourceFilters", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewAttributes.fieldFormatMap", + "type": "string", + "tags": [], + "label": "fieldFormatMap", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewAttributes.fieldAttrs", + "type": "string", + "tags": [], + "label": "fieldAttrs", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewAttributes.runtimeFieldMap", + "type": "string", + "tags": [], + "label": "runtimeFieldMap", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewAttributes.allowNoIndex", + "type": "CompoundType", + "tags": [], + "label": "allowNoIndex", + "description": [ + "\nprevents errors when index pattern exists before indices" + ], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewListItem", + "type": "Interface", + "tags": [], + "label": "DataViewListItem", + "description": [], + "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewListItem.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewListItem.title", + "type": "string", + "tags": [], + "label": "title", + "description": [], + "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewListItem.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewListItem.typeMeta", + "type": "Object", + "tags": [], + "label": "typeMeta", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.TypeMeta", + "text": "TypeMeta" + }, + " | undefined" + ], + "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec", + "type": "Interface", + "tags": [], + "label": "DataViewSpec", + "description": [ + "\nStatic index pattern format\nSerialized data object, representing index pattern attributes and state" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec.id", + "type": "string", + "tags": [], + "label": "id", + "description": [ + "\nsaved object id" + ], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec.version", + "type": "string", + "tags": [], + "label": "version", + "description": [ + "\nsaved object version string" + ], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec.title", + "type": "string", + "tags": [], + "label": "title", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec.intervalName", + "type": "string", + "tags": [ + "deprecated" + ], + "label": "intervalName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": true, + "references": [] + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec.timeFieldName", + "type": "string", + "tags": [], + "label": "timeFieldName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec.sourceFilters", + "type": "Array", + "tags": [], + "label": "sourceFilters", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.SourceFilter", + "text": "SourceFilter" + }, + "[] | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec.fields", + "type": "Object", + "tags": [], + "label": "fields", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec.typeMeta", + "type": "Object", + "tags": [], + "label": "typeMeta", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.TypeMeta", + "text": "TypeMeta" + }, + " | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec.fieldFormats", + "type": "Object", + "tags": [], + "label": "fieldFormats", + "description": [], + "signature": [ + "Record>> | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec.runtimeFieldMap", + "type": "Object", + "tags": [], + "label": "runtimeFieldMap", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec.fieldAttrs", + "type": "Object", + "tags": [], + "label": "fieldAttrs", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.FieldAttrs", + "text": "FieldAttrs" + }, + " | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewSpec.allowNoIndex", + "type": "CompoundType", + "tags": [], + "label": "allowNoIndex", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldAttrs", + "type": "Interface", + "tags": [ + "intenal" + ], + "label": "FieldAttrs", + "description": [], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.FieldAttrs.Unnamed", + "type": "Any", + "tags": [], + "label": "Unnamed", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldAttrSet", + "type": "Interface", + "tags": [], + "label": "FieldAttrSet", + "description": [], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.FieldAttrSet.customLabel", + "type": "string", + "tags": [], + "label": "customLabel", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldAttrSet.count", + "type": "number", + "tags": [], + "label": "count", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpec", + "type": "Interface", + "tags": [], + "label": "FieldSpec", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " extends ", + "DataViewFieldBase" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.FieldSpec.count", + "type": "number", + "tags": [], + "label": "count", + "description": [ + "\nPopularity count is used by discover" + ], + "signature": [ + "number | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpec.conflictDescriptions", + "type": "Object", + "tags": [], + "label": "conflictDescriptions", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpec.format", + "type": "Object", + "tags": [], + "label": "format", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.SerializedFieldFormat", + "text": "SerializedFieldFormat" + }, + "> | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpec.esTypes", + "type": "Array", + "tags": [], + "label": "esTypes", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpec.searchable", + "type": "boolean", + "tags": [], + "label": "searchable", + "description": [], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpec.aggregatable", + "type": "boolean", + "tags": [], + "label": "aggregatable", + "description": [], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpec.readFromDocValues", + "type": "CompoundType", + "tags": [], + "label": "readFromDocValues", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpec.indexed", + "type": "CompoundType", + "tags": [], + "label": "indexed", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpec.customLabel", + "type": "string", + "tags": [], + "label": "customLabel", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpec.runtimeField", + "type": "Object", + "tags": [], + "label": "runtimeField", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.RuntimeField", + "text": "RuntimeField" + }, + " | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpec.shortDotsEnable", + "type": "CompoundType", + "tags": [], + "label": "shortDotsEnable", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpec.isMapped", + "type": "CompoundType", + "tags": [], + "label": "isMapped", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt", + "type": "Interface", + "tags": [], + "label": "FieldSpecExportFmt", + "description": [], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.count", + "type": "number", + "tags": [], + "label": "count", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.script", + "type": "string", + "tags": [], + "label": "script", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.lang", + "type": "CompoundType", + "tags": [], + "label": "lang", + "description": [], + "signature": [ + "\"painless\" | \"expression\" | \"mustache\" | \"java\" | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.conflictDescriptions", + "type": "Object", + "tags": [], + "label": "conflictDescriptions", + "description": [], + "signature": [ + "Record | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.type", + "type": "Enum", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "KBN_FIELD_TYPES" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.esTypes", + "type": "Array", + "tags": [], + "label": "esTypes", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.scripted", + "type": "boolean", + "tags": [], + "label": "scripted", + "description": [], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.searchable", + "type": "boolean", + "tags": [], + "label": "searchable", + "description": [], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.aggregatable", + "type": "boolean", + "tags": [], + "label": "aggregatable", + "description": [], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.readFromDocValues", + "type": "CompoundType", + "tags": [], + "label": "readFromDocValues", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.subType", + "type": "Object", + "tags": [], + "label": "subType", + "description": [], + "signature": [ + "IFieldSubType", + " | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.format", + "type": "Object", + "tags": [], + "label": "format", + "description": [], + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.SerializedFieldFormat", + "text": "SerializedFieldFormat" + }, + "> | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecExportFmt.indexed", + "type": "CompoundType", + "tags": [], + "label": "indexed", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.GetFieldsOptions", + "type": "Interface", + "tags": [], + "label": "GetFieldsOptions", + "description": [], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.GetFieldsOptions.pattern", + "type": "string", + "tags": [], + "label": "pattern", + "description": [], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.GetFieldsOptions.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.GetFieldsOptions.lookBack", + "type": "CompoundType", + "tags": [], + "label": "lookBack", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.GetFieldsOptions.metaFields", + "type": "Array", + "tags": [], + "label": "metaFields", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.GetFieldsOptions.rollupIndex", + "type": "string", + "tags": [], + "label": "rollupIndex", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.GetFieldsOptions.allowNoIndex", + "type": "CompoundType", + "tags": [], + "label": "allowNoIndex", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.GetFieldsOptionsTimePattern", + "type": "Interface", + "tags": [], + "label": "GetFieldsOptionsTimePattern", + "description": [], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.GetFieldsOptionsTimePattern.pattern", + "type": "string", + "tags": [], + "label": "pattern", + "description": [], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.GetFieldsOptionsTimePattern.metaFields", + "type": "Array", + "tags": [], + "label": "metaFields", + "description": [], + "signature": [ + "string[]" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.GetFieldsOptionsTimePattern.lookBack", + "type": "number", + "tags": [], + "label": "lookBack", + "description": [], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.GetFieldsOptionsTimePattern.interval", + "type": "string", + "tags": [], + "label": "interval", + "description": [], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IDataViewsApiClient", + "type": "Interface", + "tags": [], + "label": "IDataViewsApiClient", + "description": [], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IDataViewsApiClient.getFieldsForTimePattern", + "type": "Function", + "tags": [], + "label": "getFieldsForTimePattern", + "description": [], + "signature": [ + "(options: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.GetFieldsOptionsTimePattern", + "text": "GetFieldsOptionsTimePattern" + }, + ") => Promise" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IDataViewsApiClient.getFieldsForTimePattern.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.GetFieldsOptionsTimePattern", + "text": "GetFieldsOptionsTimePattern" + } + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.IDataViewsApiClient.getFieldsForWildcard", + "type": "Function", + "tags": [], + "label": "getFieldsForWildcard", + "description": [], + "signature": [ + "(options: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + ") => Promise" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IDataViewsApiClient.getFieldsForWildcard.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + } + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.IDataViewsApiClient.hasUserIndexPattern", + "type": "Function", + "tags": [], + "label": "hasUserIndexPattern", + "description": [], + "signature": [ + "() => Promise" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "children": [], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IFieldType", + "type": "Interface", + "tags": [ + "deprecated" + ], + "label": "IFieldType", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " extends ", + "DataViewFieldBase" + ], + "path": "src/plugins/data/common/index_patterns/fields/types.ts", + "deprecated": true, + "removeBy": "8.1", + "references": [ + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_grid/common.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/inventory/components/expression.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/inventory/components/expression.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/common/group_by_expression/selector.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/common/group_by_expression/selector.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/common/group_by_expression/group_by_expression.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/common/group_by_expression/group_by_expression.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criterion.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criteria.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/criteria.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/group_by.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/group_by.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_row.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_row.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/metrics.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/metrics.tsx" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx" + }, + { + "plugin": "fleet", + "path": "x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/field_types_utils.test.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/group_by_expression.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/group_by_expression.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/selector.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/common/group_by_expression/selector.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/inventory/components/expression.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/inventory/components/expression.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/inventory/components/metric.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/inventory/components/metric.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_row.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_row.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/log_threshold/components/expression_editor/criteria.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/log_threshold/components/expression_editor/criteria.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/log_threshold/components/expression_editor/criterion.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/log_threshold/components/expression_editor/criterion.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/group_by.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/group_by.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/metrics.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/components/metrics.d.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/metric_control/index.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/inventory_view/components/waffle/metric_control/index.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_by_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + } + ], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IFieldType.count", + "type": "number", + "tags": [], + "label": "count", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "src/plugins/data/common/index_patterns/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IFieldType.esTypes", + "type": "Array", + "tags": [], + "label": "esTypes", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/data/common/index_patterns/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IFieldType.aggregatable", + "type": "CompoundType", + "tags": [], + "label": "aggregatable", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data/common/index_patterns/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IFieldType.filterable", + "type": "CompoundType", + "tags": [], + "label": "filterable", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data/common/index_patterns/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IFieldType.searchable", + "type": "CompoundType", + "tags": [], + "label": "searchable", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data/common/index_patterns/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IFieldType.sortable", + "type": "CompoundType", + "tags": [], + "label": "sortable", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data/common/index_patterns/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IFieldType.visualizable", + "type": "CompoundType", + "tags": [], + "label": "visualizable", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data/common/index_patterns/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IFieldType.readFromDocValues", + "type": "CompoundType", + "tags": [], + "label": "readFromDocValues", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/data/common/index_patterns/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IFieldType.displayName", + "type": "string", + "tags": [], + "label": "displayName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data/common/index_patterns/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IFieldType.customLabel", + "type": "string", + "tags": [], + "label": "customLabel", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data/common/index_patterns/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IFieldType.format", + "type": "Any", + "tags": [], + "label": "format", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data/common/index_patterns/fields/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IFieldType.toSpec", + "type": "Function", + "tags": [], + "label": "toSpec", + "description": [], + "signature": [ + "((options?: { getFormatterForField?: ((field: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined; } | undefined) => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + ") | undefined" + ], + "path": "src/plugins/data/common/index_patterns/fields/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IFieldType.toSpec.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "path": "src/plugins/data/common/index_patterns/fields/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IFieldType.toSpec.$1.getFormatterForField", + "type": "Function", + "tags": [], + "label": "getFormatterForField", + "description": [], + "signature": [ + "((field: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined" + ], + "path": "src/plugins/data/common/index_patterns/fields/types.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPattern", + "type": "Interface", + "tags": [ + "deprecated" + ], + "label": "IIndexPattern", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IIndexPattern", + "text": "IIndexPattern" + }, + " extends ", + "DataViewBase" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": true, + "references": [ + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/helpers.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/helpers.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/components/t_grid/integrated/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/container/source/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/container/source/index.tsx" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/container/source/index.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/utils/kuery.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/utils/kuery.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_chart.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/alerting/metric_threshold/components/expression_chart.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/with_source/with_source.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/with_source/with_source.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/toolbar.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/toolbar.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/index.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/metrics_explorer/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/common/search_strategy/index_fields/index.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/common/search_strategy/index_fields/index.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/action.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/action.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/containers/source/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/containers/source/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/containers/source/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/timelines/components/timeline/helpers.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/url_state/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/query_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/columns.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/columns.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/columns.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/top_n.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/top_n.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/top_n/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/components/search_bar/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/pages/details/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/pages/details/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/components/network_top_countries_table/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/hosts/pages/details/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/alerts_by_category/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/alerts_by_category/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/event_counts/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/overview/components/event_counts/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/detections/components/rules/description_step/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/ueba/pages/details/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/ueba/pages/details/types.ts" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/mock/index_pattern.ts" + }, + { + "plugin": "timelines", + "path": "x-pack/plugins/timelines/public/mock/index_pattern.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/common/search_strategy/index_fields/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/common/search_strategy/index_fields/index.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/containers/with_kuery_autocompletion.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/containers/with_kuery_autocompletion.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/containers/with_source/with_source.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/containers/with_source/with_source.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/index_pattern_context.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/common/index_pattern_context.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/containers/source/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/containers/source/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/containers/source/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/url_state/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/columns.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/columns.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/columns.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_chart.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/components/expression_chart.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/alerting/metric_threshold/hooks/use_metrics_explorer_chart_data.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/index.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/common/components/search_bar/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/hosts/pages/details/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/hosts/pages/details/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/components/network_top_countries_table/index.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/pages/details/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/network/pages/details/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/ueba/pages/details/types.d.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/target/types/public/ueba/pages/details/types.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/hooks/use_metric_explorer_state.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/jobs/new_job/common/index_pattern_context.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/jobs/new_job/common/index_pattern_context.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/jobs/new_job/common/index_pattern_context.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index_header.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index_header.tsx" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/index_header/index_header.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/index_header/index_header.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_clone/clone_action_name.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/use_delete_action.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_management/components/action_delete/use_delete_action.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/utils.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/utils.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_utils.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/edit_utils.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/index.tsx" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/pages/metrics/index.tsx" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/store/sourcerer/model.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/store/sourcerer/model.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/pages/navigation/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/pages/navigation/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/network/pages/navigation/types.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/models/index_pattern.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/mock/index_pattern.ts" + }, + { + "plugin": "securitySolution", + "path": "x-pack/plugins/security_solution/public/common/mock/index_pattern.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_query_bar/exploration_query_bar.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_exploration/components/exploration_query_bar/exploration_query_bar.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/editor.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/components/custom_url_editor/editor.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/custom_urls.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/jobs_list/components/edit_job_flyout/tabs/custom_urls.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/services/es_index_service.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/services/es_index_service.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/server/routes/api/transforms.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/server/routes/api/transforms.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/explorer/components/explorer_query_bar/explorer_query_bar.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/explorer/components/explorer_query_bar/explorer_query_bar.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/explorer/components/explorer_query_bar/explorer_query_bar.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/utils/new_job_utils.test.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/utils/new_job_utils.test.ts" + } + ], + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IIndexPattern.title", + "type": "string", + "tags": [], + "label": "title", + "description": [], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPattern.fields", + "type": "Array", + "tags": [], + "label": "fields", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + "[]" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPattern.type", + "type": "string", + "tags": [], + "label": "type", + "description": [ + "\nType is used for identifying rollup indices, otherwise left undefined" + ], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPattern.timeFieldName", + "type": "string", + "tags": [], + "label": "timeFieldName", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPattern.getTimeField", + "type": "Function", + "tags": [], + "label": "getTimeField", + "description": [], + "signature": [ + "(() => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | undefined) | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPattern.fieldFormatMap", + "type": "Object", + "tags": [], + "label": "fieldFormatMap", + "description": [], + "signature": [ + "Record | undefined> | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPattern.getFormatterForField", + "type": "Function", + "tags": [], + "label": "getFormatterForField", + "description": [ + "\nLook up a formatter for a given field" + ], + "signature": [ + "((field: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IIndexPattern.getFormatterForField.$1", + "type": "CompoundType", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + } + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList", + "type": "Interface", + "tags": [], + "label": "IIndexPatternFieldList", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IIndexPatternFieldList", + "text": "IIndexPatternFieldList" + }, + " extends ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + "[]" + ], + "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.add", + "type": "Function", + "tags": [], + "label": "add", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + ") => void" + ], + "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.add.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + } + ], + "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.getAll", + "type": "Function", + "tags": [], + "label": "getAll", + "description": [], + "signature": [ + "() => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + "[]" + ], + "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.getByName", + "type": "Function", + "tags": [], + "label": "getByName", + "description": [], + "signature": [ + "(name: string) => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + " | undefined" + ], + "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.getByName.$1", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.getByType", + "type": "Function", + "tags": [], + "label": "getByType", + "description": [], + "signature": [ + "(type: string) => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + "[]" + ], + "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.getByType.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.remove", + "type": "Function", + "tags": [], + "label": "remove", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + ") => void" + ], + "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.remove.$1", + "type": "Object", + "tags": [], + "label": "field", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + } + ], + "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.removeAll", + "type": "Function", + "tags": [], + "label": "removeAll", + "description": [], + "signature": [ + "() => void" + ], + "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.replaceAll", + "type": "Function", + "tags": [], + "label": "replaceAll", + "description": [], + "signature": [ + "(specs: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[]) => void" + ], + "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.replaceAll.$1", + "type": "Array", + "tags": [], + "label": "specs", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[]" + ], + "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.update", + "type": "Function", + "tags": [], + "label": "update", + "description": [], + "signature": [ + "(field: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + ") => void" + ], + "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.update.$1", + "type": "Object", + "tags": [], "label": "field", "description": [], "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - } + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + } + ], + "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.toSpec", + "type": "Function", + "tags": [], + "label": "toSpec", + "description": [], + "signature": [ + "(options?: { getFormatterForField?: ((field: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined; } | undefined) => Record" + ], + "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.toSpec.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternFieldList.toSpec.$1.getFormatterForField", + "type": "Function", + "tags": [], + "label": "getFormatterForField", + "description": [], + "signature": [ + "((field: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IFieldType", + "text": "IFieldType" + }, + " | ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + " | ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewField", + "text": "DataViewField" + }, + ") => ", + { + "pluginId": "fieldFormats", + "scope": "common", + "docId": "kibFieldFormatsPluginApi", + "section": "def-common.FieldFormat", + "text": "FieldFormat" + }, + ") | undefined" + ], + "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", + "deprecated": false + } + ] + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IndexPatternExpressionType", + "type": "Interface", + "tags": [], + "label": "IndexPatternExpressionType", + "description": [], + "path": "src/plugins/data/common/index_patterns/expressions/load_index_pattern.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.IndexPatternExpressionType.type", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"index_pattern\"" + ], + "path": "src/plugins/data/common/index_patterns/expressions/load_index_pattern.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.IndexPatternExpressionType.value", + "type": "Object", + "tags": [], + "label": "value", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } + ], + "path": "src/plugins/data/common/index_patterns/expressions/load_index_pattern.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.RuntimeField", + "type": "Interface", + "tags": [], + "label": "RuntimeField", + "description": [], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.RuntimeField.type", + "type": "CompoundType", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "\"boolean\" | \"date\" | \"keyword\" | \"geo_point\" | \"ip\" | \"long\" | \"double\"" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.RuntimeField.script", + "type": "Object", + "tags": [], + "label": "script", + "description": [], + "signature": [ + "{ source: string; } | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon", + "type": "Interface", + "tags": [], + "label": "SavedObjectsClientCommon", + "description": [], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.find", + "type": "Function", + "tags": [], + "label": "find", + "description": [], + "signature": [ + "(options: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.SavedObjectsClientCommonFindArgs", + "text": "SavedObjectsClientCommonFindArgs" + }, + ") => Promise<", + "SavedObject", + "[]>" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.find.$1", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.SavedObjectsClientCommonFindArgs", + "text": "SavedObjectsClientCommonFindArgs" + } + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [], + "signature": [ + "(type: string, id: string) => Promise<", + "SavedObject", + ">" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.get.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.get.$2", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.update", + "type": "Function", + "tags": [], + "label": "update", + "description": [], + "signature": [ + "(type: string, id: string, attributes: Record, options: Record) => Promise<", + "SavedObject", + ">" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.update.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.update.$2", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.update.$3", + "type": "Object", + "tags": [], + "label": "attributes", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.update.$4", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.create", + "type": "Function", + "tags": [], + "label": "create", + "description": [], + "signature": [ + "(type: string, attributes: Record, options: Record) => Promise<", + "SavedObject", + ">" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.create.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.create.$2", + "type": "Object", + "tags": [], + "label": "attributes", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.create.$3", + "type": "Object", + "tags": [], + "label": "options", + "description": [], + "signature": [ + "Record" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.delete", + "type": "Function", + "tags": [], + "label": "delete", + "description": [], + "signature": [ + "(type: string, id: string) => Promise<{}>" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.delete.$1", + "type": "string", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommon.delete.$2", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommonFindArgs", + "type": "Interface", + "tags": [], + "label": "SavedObjectsClientCommonFindArgs", + "description": [], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommonFindArgs.type", + "type": "CompoundType", + "tags": [], + "label": "type", + "description": [], + "signature": [ + "string | string[]" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommonFindArgs.fields", + "type": "Array", + "tags": [], + "label": "fields", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommonFindArgs.perPage", + "type": "number", + "tags": [], + "label": "perPage", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommonFindArgs.search", + "type": "string", + "tags": [], + "label": "search", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.SavedObjectsClientCommonFindArgs.searchFields", + "type": "Array", + "tags": [], + "label": "searchFields", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.SourceFilter", + "type": "Interface", + "tags": [], + "label": "SourceFilter", + "description": [], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.SourceFilter.value", + "type": "string", + "tags": [], + "label": "value", + "description": [], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.TypeMeta", + "type": "Interface", + "tags": [], + "label": "TypeMeta", + "description": [], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.TypeMeta.aggs", + "type": "Object", + "tags": [], + "label": "aggs", + "description": [], + "signature": [ + "Record> | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + }, + { + "parentPluginId": "data", + "id": "def-common.TypeMeta.params", + "type": "Object", + "tags": [], + "label": "params", + "description": [], + "signature": [ + "{ rollup_index: string; } | undefined" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.UiSettingsCommon", + "type": "Interface", + "tags": [], + "label": "UiSettingsCommon", + "description": [], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.UiSettingsCommon.get", + "type": "Function", + "tags": [], + "label": "get", + "description": [], + "signature": [ + "(key: string) => Promise" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.UiSettingsCommon.get.$1", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string" ], - "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.UiSettingsCommon.getAll", + "type": "Function", + "tags": [], + "label": "getAll", + "description": [], + "signature": [ + "() => Promise>" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.UiSettingsCommon.set", + "type": "Function", + "tags": [], + "label": "set", + "description": [], + "signature": [ + "(key: string, value: any) => Promise" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.UiSettingsCommon.set.$1", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "data", + "id": "def-common.UiSettingsCommon.set.$2", + "type": "Any", + "tags": [], + "label": "value", + "description": [], + "signature": [ + "any" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [] + }, + { + "parentPluginId": "data", + "id": "def-common.UiSettingsCommon.remove", + "type": "Function", + "tags": [], + "label": "remove", + "description": [], + "signature": [ + "(key: string) => Promise" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "data", + "id": "def-common.UiSettingsCommon.remove.$1", + "type": "string", + "tags": [], + "label": "key", + "description": [], + "signature": [ + "string" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", "deprecated": false, "isRequired": true } ], "returnComment": [] + } + ], + "initialIsOpen": false + } + ], + "enums": [ + { + "parentPluginId": "data", + "id": "def-common.DataViewType", + "type": "Enum", + "tags": [], + "label": "DataViewType", + "description": [], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IndexPatternType", + "type": "Enum", + "tags": [ + "deprecated" + ], + "label": "IndexPatternType", + "description": [], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": true, + "references": [], + "initialIsOpen": false + } + ], + "misc": [ + { + "parentPluginId": "data", + "id": "def-common.AggregationRestrictions", + "type": "Type", + "tags": [], + "label": "AggregationRestrictions", + "description": [], + "signature": [ + "{ [x: string]: { agg?: string | undefined; interval?: number | undefined; fixed_interval?: string | undefined; calendar_interval?: string | undefined; delay?: string | undefined; time_zone?: string | undefined; }; }" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewFieldMap", + "type": "Type", + "tags": [], + "label": "DataViewFieldMap", + "description": [], + "signature": [ + "{ [x: string]: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "; }" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.DataViewsContract", + "type": "Type", + "tags": [], + "label": "DataViewsContract", + "description": [], + "signature": [ + "{ get: (id: string) => Promise<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; delete: (indexPatternId: string) => Promise<{}>; create: (spec: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", skipFetchFields?: boolean) => Promise<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; find: (search: string, size?: number) => Promise<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + "[]>; ensureDefaultIndexPattern: ", + "EnsureDefaultDataView", + "; getIds: (refresh?: boolean) => Promise; getTitles: (refresh?: boolean) => Promise; getIdsWithTitle: (refresh?: boolean) => Promise<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewListItem", + "text": "DataViewListItem" + }, + "[]>; clearCache: (id?: string | undefined) => void; getCache: () => Promise<", + "SavedObject", + ">[] | null | undefined>; getDefault: () => Promise<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | null>; getDefaultId: () => Promise; setDefault: (id: string | null, force?: boolean) => Promise; hasUserIndexPattern: () => Promise; getFieldsForWildcard: (options: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + ") => Promise; getFieldsForIndexPattern: (indexPattern: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", options?: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + " | undefined) => Promise; refreshFields: (indexPattern: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ") => Promise; fieldArrayToMap: (fields: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[], fieldAttrs?: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.FieldAttrs", + "text": "FieldAttrs" + }, + " | undefined) => Record; savedObjectToSpec: (savedObject: ", + "SavedObject", + "<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + }, + ">) => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + "; createAndSave: (spec: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", override?: boolean, skipFetchFields?: boolean) => Promise<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; createSavedObject: (indexPattern: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", override?: boolean) => Promise<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; updateSavedObject: (indexPattern: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", saveAttempts?: number, ignoreErrors?: boolean) => Promise; }" + ], + "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldFormatMap", + "type": "Type", + "tags": [], + "label": "FieldFormatMap", + "description": [], + "signature": [ + "{ [x: string]: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.SerializedFieldFormat", + "text": "SerializedFieldFormat" + }, + ">; }" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.FieldSpecConflictDescriptions", + "type": "Type", + "tags": [], + "label": "FieldSpecConflictDescriptions", + "description": [], + "signature": [ + "{ [x: string]: string[]; }" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IIndexPatternsApiClient", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IIndexPatternsApiClient", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.IDataViewsApiClient", + "text": "IDataViewsApiClient" + } + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": true, + "references": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IndexPatternAttributes", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IndexPatternAttributes", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + } + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": true, + "references": [ + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/lib/es_service.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/lib/es_service.ts" + }, + { + "plugin": "canvas", + "path": "x-pack/plugins/canvas/public/lib/es_service.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/types.ts" }, { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.removeAll", - "type": "Function", - "tags": [], - "label": "removeAll", - "description": [], - "signature": [ - "() => void" - ], - "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/layout/types.ts" }, { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.replaceAll", - "type": "Function", - "tags": [], - "label": "replaceAll", - "description": [], - "signature": [ - "(specs: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "[]) => void" - ], - "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.replaceAll.$1", - "type": "Array", - "tags": [], - "label": "specs", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - "[]" - ], - "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_app.tsx" }, { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.update", - "type": "Function", - "tags": [], - "label": "update", - "description": [], - "signature": [ - "(field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - ") => void" - ], - "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.update.$1", - "type": "Object", - "tags": [], - "label": "field", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - } - ], - "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_app.tsx" }, { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.toSpec", - "type": "Function", - "tags": [], - "label": "toSpec", - "description": [], - "signature": [ - "(options?: { getFormatterForField?: ((field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - ") => ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormat", - "text": "FieldFormat" - }, - ") | undefined; } | undefined) => Record" - ], - "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.toSpec.$1.options", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternFieldList.toSpec.$1.options.getFormatterForField", - "type": "Function", - "tags": [], - "label": "getFormatterForField", - "description": [], - "signature": [ - "((field: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IFieldType", - "text": "IFieldType" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" - }, - " | ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" - }, - ") => ", - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormat", - "text": "FieldFormat" - }, - ") | undefined" - ], - "path": "src/plugins/data/common/index_patterns/fields/field_list.ts", - "deprecated": false - } - ] - } - ], - "returnComment": [] + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_route.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_route.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_route.tsx" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/common/types/kibana.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/common/types/kibana.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/common/types/kibana.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/common/types/kibana.d.ts" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IndexPatternFieldMap", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IndexPatternFieldMap", + "description": [], + "signature": [ + "{ [x: string]: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "; }" + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": true, + "references": [], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IndexPatternListItem", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IndexPatternListItem", + "description": [], + "signature": [ + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewListItem", + "text": "DataViewListItem" + } + ], + "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", + "deprecated": true, + "references": [ + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" } ], "initialIsOpen": false }, { "parentPluginId": "data", - "id": "def-common.IIndexPatternsApiClient", - "type": "Interface", + "id": "def-common.IndexPatternLoadExpressionFunctionDefinition", + "type": "Type", "tags": [], - "label": "IIndexPatternsApiClient", + "label": "IndexPatternLoadExpressionFunctionDefinition", "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", + "signature": [ + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionFunctionDefinition", + "text": "ExpressionFunctionDefinition" + }, + "<\"indexPatternLoad\", null, Arguments, Output, ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExecutionContext", + "text": "ExecutionContext" + }, + "<", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Adapters", + "text": "Adapters" + }, + ", ", + "SerializableRecord", + ">>" + ], + "path": "src/plugins/data/common/index_patterns/expressions/load_index_pattern.ts", "deprecated": false, - "children": [ + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IndexPatternsContract", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IndexPatternsContract", + "description": [], + "signature": [ + "{ get: (id: string) => Promise<", { - "parentPluginId": "data", - "id": "def-common.IIndexPatternsApiClient.getFieldsForTimePattern", - "type": "Function", - "tags": [], - "label": "getFieldsForTimePattern", - "description": [], - "signature": [ - "(options: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.GetFieldsOptionsTimePattern", - "text": "GetFieldsOptionsTimePattern" - }, - ") => Promise" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternsApiClient.getFieldsForTimePattern.$1", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.GetFieldsOptionsTimePattern", - "text": "GetFieldsOptionsTimePattern" - } - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; delete: (indexPatternId: string) => Promise<{}>; create: (spec: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", skipFetchFields?: boolean) => Promise<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; find: (search: string, size?: number) => Promise<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + "[]>; ensureDefaultIndexPattern: ", + "EnsureDefaultDataView", + "; getIds: (refresh?: boolean) => Promise; getTitles: (refresh?: boolean) => Promise; getIdsWithTitle: (refresh?: boolean) => Promise<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewListItem", + "text": "DataViewListItem" + }, + "[]>; clearCache: (id?: string | undefined) => void; getCache: () => Promise<", + "SavedObject", + ">[] | null | undefined>; getDefault: () => Promise<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | null>; getDefaultId: () => Promise; setDefault: (id: string | null, force?: boolean) => Promise; hasUserIndexPattern: () => Promise; getFieldsForWildcard: (options: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + ") => Promise; getFieldsForIndexPattern: (indexPattern: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + " | ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", options?: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.GetFieldsOptions", + "text": "GetFieldsOptions" + }, + " | undefined) => Promise; refreshFields: (indexPattern: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ") => Promise; fieldArrayToMap: (fields: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.FieldSpec", + "text": "FieldSpec" + }, + "[], fieldAttrs?: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.FieldAttrs", + "text": "FieldAttrs" + }, + " | undefined) => Record; savedObjectToSpec: (savedObject: ", + "SavedObject", + "<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewAttributes", + "text": "DataViewAttributes" + }, + ">) => ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + "; createAndSave: (spec: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + }, + ", override?: boolean, skipFetchFields?: boolean) => Promise<", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + ">; createSavedObject: (indexPattern: ", { - "parentPluginId": "data", - "id": "def-common.IIndexPatternsApiClient.getFieldsForWildcard", - "type": "Function", - "tags": [], - "label": "getFieldsForWildcard", - "description": [], - "signature": [ - "(options: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - }, - ") => Promise" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.IIndexPatternsApiClient.getFieldsForWildcard.$1", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" - } - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" }, + ", override?: boolean) => Promise<", { - "parentPluginId": "data", - "id": "def-common.IIndexPatternsApiClient.hasUserIndexPattern", - "type": "Function", - "tags": [], - "label": "hasUserIndexPattern", - "description": [], - "signature": [ - "() => Promise" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "children": [], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IndexPatternAttributes", - "type": "Interface", - "tags": [], - "label": "IndexPatternAttributes", - "description": [ - "\nInterface for an index pattern saved object" + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ">; updateSavedObject: (indexPattern: ", + { + "pluginId": "data", + "scope": "common", + "docId": "kibDataIndexPatternsPluginApi", + "section": "def-common.DataView", + "text": "DataView" + }, + ", saveAttempts?: number, ignoreErrors?: boolean) => Promise; }" ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "children": [ + "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", + "deprecated": true, + "references": [ { - "parentPluginId": "data", - "id": "def-common.IndexPatternAttributes.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_index_pattern.tsx" }, { - "parentPluginId": "data", - "id": "def-common.IndexPatternAttributes.fields", - "type": "string", - "tags": [], - "label": "fields", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_index_pattern.tsx" }, { - "parentPluginId": "data", - "id": "def-common.IndexPatternAttributes.title", - "type": "string", - "tags": [], - "label": "title", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts" }, { - "parentPluginId": "data", - "id": "def-common.IndexPatternAttributes.typeMeta", - "type": "string", - "tags": [], - "label": "typeMeta", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts" }, { - "parentPluginId": "data", - "id": "def-common.IndexPatternAttributes.timeFieldName", - "type": "string", - "tags": [], - "label": "timeFieldName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" }, { - "parentPluginId": "data", - "id": "def-common.IndexPatternAttributes.intervalName", - "type": "string", - "tags": [], - "label": "intervalName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" }, { - "parentPluginId": "data", - "id": "def-common.IndexPatternAttributes.sourceFilters", - "type": "string", - "tags": [], - "label": "sourceFilters", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/logs/log_source/log_source.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/public/containers/logs/log_source/log_source.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" + }, + { + "plugin": "infra", + "path": "x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/types.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts" + }, + { + "plugin": "savedObjects", + "path": "src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/build_services.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/build_services.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/kibana_services.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_data_grid_columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/use_data_grid_columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/helpers/popularize_field.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/actions/columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/components/doc_table/actions/columns.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/doc/components/doc.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/doc/components/doc.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/anchor.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/anchor.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/context.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts" + }, + { + "plugin": "visualizations", + "path": "src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/types.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/test_helpers/make_default_services.ts" + }, + { + "plugin": "dashboard", + "path": "src/plugins/dashboard/public/application/test_helpers/make_default_services.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable.tsx" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/utils.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" + }, + { + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.ts" }, { - "parentPluginId": "data", - "id": "def-common.IndexPatternAttributes.fieldFormatMap", - "type": "string", - "tags": [], - "label": "fieldFormatMap", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable_factory.ts" }, { - "parentPluginId": "data", - "id": "def-common.IndexPatternAttributes.fieldAttrs", - "type": "string", - "tags": [], - "label": "fieldAttrs", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "lens", + "path": "x-pack/plugins/lens/public/embeddable/embeddable_factory.ts" }, { - "parentPluginId": "data", - "id": "def-common.IndexPatternAttributes.runtimeFieldMap", - "type": "string", - "tags": [], - "label": "runtimeFieldMap", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/dependency_cache.ts" }, { - "parentPluginId": "data", - "id": "def-common.IndexPatternAttributes.allowNoIndex", - "type": "CompoundType", - "tags": [], - "label": "allowNoIndex", - "description": [ - "\nprevents errors when index pattern exists before indices" - ], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IndexPatternExpressionType", - "type": "Interface", - "tags": [], - "label": "IndexPatternExpressionType", - "description": [], - "path": "src/plugins/data/common/index_patterns/expressions/load_index_pattern.ts", - "deprecated": false, - "children": [ + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/dependency_cache.ts" + }, { - "parentPluginId": "data", - "id": "def-common.IndexPatternExpressionType.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "\"index_pattern\"" - ], - "path": "src/plugins/data/common/index_patterns/expressions/load_index_pattern.ts", - "deprecated": false + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" }, { - "parentPluginId": "data", - "id": "def-common.IndexPatternExpressionType.value", - "type": "Object", - "tags": [], - "label": "value", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" - } - ], - "path": "src/plugins/data/common/index_patterns/expressions/load_index_pattern.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IndexPatternListItem", - "type": "Interface", - "tags": [], - "label": "IndexPatternListItem", - "description": [], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, - "children": [ + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" + }, { - "parentPluginId": "data", - "id": "def-common.IndexPatternListItem.id", - "type": "string", - "tags": [], - "label": "id", - "description": [], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/util/index_utils.ts" }, { - "parentPluginId": "data", - "id": "def-common.IndexPatternListItem.title", - "type": "string", - "tags": [], - "label": "title", - "description": [], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/routing/resolvers.ts" }, { - "parentPluginId": "data", - "id": "def-common.IndexPatternListItem.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/routing/resolvers.ts" }, { - "parentPluginId": "data", - "id": "def-common.IndexPatternListItem.typeMeta", - "type": "Object", - "tags": [], - "label": "typeMeta", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.TypeMeta", - "text": "TypeMeta" - }, - " | undefined" - ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IndexPatternSpec", - "type": "Interface", - "tags": [], - "label": "IndexPatternSpec", - "description": [ - "\nStatic index pattern format\nSerialized data object, representing index pattern attributes and state" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "children": [ + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts" + }, { - "parentPluginId": "data", - "id": "def-common.IndexPatternSpec.id", - "type": "string", - "tags": [], - "label": "id", - "description": [ - "\nsaved object id" - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts" }, { - "parentPluginId": "data", - "id": "def-common.IndexPatternSpec.version", - "type": "string", - "tags": [], - "label": "version", - "description": [ - "\nsaved object version string" - ], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts" }, { - "parentPluginId": "data", - "id": "def-common.IndexPatternSpec.title", - "type": "string", - "tags": [], - "label": "title", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts" }, { - "parentPluginId": "data", - "id": "def-common.IndexPatternSpec.intervalName", - "type": "string", - "tags": [ - "deprecated" - ], - "label": "intervalName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": true, - "references": [] + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/routing/router.tsx" }, { - "parentPluginId": "data", - "id": "def-common.IndexPatternSpec.timeFieldName", - "type": "string", - "tags": [], - "label": "timeFieldName", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/routing/router.tsx" }, { - "parentPluginId": "data", - "id": "def-common.IndexPatternSpec.sourceFilters", - "type": "Array", - "tags": [], - "label": "sourceFilters", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.SourceFilter", - "text": "SourceFilter" - }, - "[] | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/ml_context.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/ml_context.ts" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/application.ts" }, { - "parentPluginId": "data", - "id": "def-common.IndexPatternSpec.fields", - "type": "Object", - "tags": [], - "label": "fields", - "description": [], - "signature": [ - "Record | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "graph", + "path": "x-pack/plugins/graph/public/application.ts" }, { - "parentPluginId": "data", - "id": "def-common.IndexPatternSpec.typeMeta", - "type": "Object", - "tags": [], - "label": "typeMeta", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.TypeMeta", - "text": "TypeMeta" - }, - " | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" }, { - "parentPluginId": "data", - "id": "def-common.IndexPatternSpec.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx" }, { - "parentPluginId": "data", - "id": "def-common.IndexPatternSpec.fieldFormats", - "type": "Object", - "tags": [], - "label": "fieldFormats", - "description": [], - "signature": [ - "Record>> | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" }, { - "parentPluginId": "data", - "id": "def-common.IndexPatternSpec.runtimeFieldMap", - "type": "Object", - "tags": [], - "label": "runtimeFieldMap", - "description": [], - "signature": [ - "Record | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" }, { - "parentPluginId": "data", - "id": "def-common.IndexPatternSpec.fieldAttrs", - "type": "Object", - "tags": [], - "label": "fieldAttrs", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldAttrs", - "text": "FieldAttrs" - }, - " | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "transform", + "path": "x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts" }, { - "parentPluginId": "data", - "id": "def-common.IndexPatternSpec.allowNoIndex", - "type": "CompoundType", - "tags": [], - "label": "allowNoIndex", - "description": [], - "signature": [ - "boolean | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.RuntimeField", - "type": "Interface", - "tags": [], - "label": "RuntimeField", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "children": [ + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" + }, { - "parentPluginId": "data", - "id": "def-common.RuntimeField.type", - "type": "CompoundType", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "\"boolean\" | \"date\" | \"keyword\" | \"long\" | \"double\" | \"ip\" | \"geo_point\"" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" }, { - "parentPluginId": "data", - "id": "def-common.RuntimeField.script", - "type": "Object", - "tags": [], - "label": "script", - "description": [], - "signature": [ - "{ source: string; } | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon", - "type": "Interface", - "tags": [], - "label": "SavedObjectsClientCommon", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "children": [ + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" + }, { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.find", - "type": "Function", - "tags": [], - "label": "find", - "description": [], - "signature": [ - "(options: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.SavedObjectsClientCommonFindArgs", - "text": "SavedObjectsClientCommonFindArgs" - }, - ") => Promise<", - "SavedObject", - "[]>" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.find.$1", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "signature": [ - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.SavedObjectsClientCommonFindArgs", - "text": "SavedObjectsClientCommonFindArgs" - } - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" }, { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.get", - "type": "Function", - "tags": [], - "label": "get", - "description": [], - "signature": [ - "(type: string, id: string) => Promise<", - "SavedObject", - ">" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.get.$1", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.get.$2", - "type": "string", - "tags": [], - "label": "id", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "lens", + "path": "x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts" }, { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.update", - "type": "Function", - "tags": [], - "label": "update", - "description": [], - "signature": [ - "(type: string, id: string, attributes: Record, options: Record) => Promise<", - "SavedObject", - ">" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.update.$1", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.update.$2", - "type": "string", - "tags": [], - "label": "id", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.update.$3", - "type": "Object", - "tags": [], - "label": "attributes", - "description": [], - "signature": [ - "Record" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.update.$4", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "signature": [ - "Record" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" }, { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.create", - "type": "Function", - "tags": [], - "label": "create", - "description": [], - "signature": [ - "(type: string, attributes: Record, options: Record) => Promise<", - "SavedObject", - ">" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.create.$1", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.create.$2", - "type": "Object", - "tags": [], - "label": "attributes", - "description": [], - "signature": [ - "Record" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.create.$3", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "signature": [ - "Record" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "lens", + "path": "x-pack/plugins/lens/target/types/public/utils.d.ts" }, { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.delete", - "type": "Function", - "tags": [], - "label": "delete", - "description": [], - "signature": [ - "(type: string, id: string) => Promise<{}>" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.delete.$1", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommon.delete.$2", - "type": "string", - "tags": [], - "label": "id", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommonFindArgs", - "type": "Interface", - "tags": [], - "label": "SavedObjectsClientCommonFindArgs", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "children": [ + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/__mocks__/index_patterns.ts" + }, { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommonFindArgs.type", - "type": "CompoundType", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string | string[]" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "ml", + "path": "x-pack/plugins/ml/public/application/contexts/ml/__mocks__/index_patterns.ts" }, { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommonFindArgs.fields", - "type": "Array", - "tags": [], - "label": "fields", - "description": [], - "signature": [ - "string[] | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/routing/router.d.ts" }, { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommonFindArgs.perPage", - "type": "number", - "tags": [], - "label": "perPage", - "description": [], - "signature": [ - "number | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/routing/router.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/util/dependency_cache.d.ts" + }, + { + "plugin": "ml", + "path": "x-pack/plugins/ml/target/types/public/application/util/dependency_cache.d.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts" + }, + { + "plugin": "security", + "path": "x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" + }, + { + "plugin": "stackAlerts", + "path": "x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts" + }, + { + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts" }, { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommonFindArgs.search", - "type": "string", - "tags": [], - "label": "search", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts" }, { - "parentPluginId": "data", - "id": "def-common.SavedObjectsClientCommonFindArgs.searchFields", - "type": "Array", - "tags": [], - "label": "searchFields", - "description": [], - "signature": [ - "string[] | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.SourceFilter", - "type": "Interface", - "tags": [], - "label": "SourceFilter", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "children": [ + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" + }, { - "parentPluginId": "data", - "id": "def-common.SourceFilter.value", - "type": "string", - "tags": [], - "label": "value", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.TypeMeta", - "type": "Interface", - "tags": [], - "label": "TypeMeta", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "children": [ + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx" + }, { - "parentPluginId": "data", - "id": "def-common.TypeMeta.aggs", - "type": "Object", - "tags": [], - "label": "aggs", - "description": [], - "signature": [ - "Record> | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx" }, { - "parentPluginId": "data", - "id": "def-common.TypeMeta.params", - "type": "Object", - "tags": [], - "label": "params", - "description": [], - "signature": [ - "{ rollup_index: string; } | undefined" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.UiSettingsCommon", - "type": "Interface", - "tags": [], - "label": "UiSettingsCommon", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "children": [ + "plugin": "savedObjectsManagement", + "path": "src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx" + }, { - "parentPluginId": "data", - "id": "def-common.UiSettingsCommon.get", - "type": "Function", - "tags": [], - "label": "get", - "description": [], - "signature": [ - "(key: string) => Promise" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.UiSettingsCommon.get.$1", - "type": "string", - "tags": [], - "label": "key", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_type_timelion/public/helpers/plugin_services.ts" }, { - "parentPluginId": "data", - "id": "def-common.UiSettingsCommon.getAll", - "type": "Function", - "tags": [], - "label": "getAll", - "description": [], - "signature": [ - "() => Promise>" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_type_timelion/public/helpers/plugin_services.ts" }, { - "parentPluginId": "data", - "id": "def-common.UiSettingsCommon.set", - "type": "Function", - "tags": [], - "label": "set", - "description": [], - "signature": [ - "(key: string, value: any) => Promise" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.UiSettingsCommon.set.$1", - "type": "string", - "tags": [], - "label": "key", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "data", - "id": "def-common.UiSettingsCommon.set.$2", - "type": "Any", - "tags": [], - "label": "value", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.test.ts" }, { - "parentPluginId": "data", - "id": "def-common.UiSettingsCommon.remove", - "type": "Function", - "tags": [], - "label": "remove", - "description": [], - "signature": [ - "(key: string) => Promise" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.UiSettingsCommon.remove.$1", - "type": "string", - "tags": [], - "label": "key", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - } - ], - "enums": [ - { - "parentPluginId": "data", - "id": "def-common.IndexPatternType", - "type": "Enum", - "tags": [], - "label": "IndexPatternType", - "description": [], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "initialIsOpen": false - } - ], - "misc": [ - { - "parentPluginId": "data", - "id": "def-common.AggregationRestrictions", - "type": "Type", - "tags": [], - "label": "AggregationRestrictions", - "description": [], - "signature": [ - "{ [x: string]: { agg?: string | undefined; interval?: number | undefined; fixed_interval?: string | undefined; calendar_interval?: string | undefined; delay?: string | undefined; time_zone?: string | undefined; }; }" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldFormatMap", - "type": "Type", - "tags": [], - "label": "FieldFormatMap", - "description": [], - "signature": [ - "{ [x: string]: ", + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/public/components/utils.test.ts" + }, + { + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_type_timelion/public/components/timelion_expression_input_helpers.test.ts" + }, { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.SerializedFieldFormat", - "text": "SerializedFieldFormat" + "plugin": "visTypeTimelion", + "path": "src/plugins/vis_type_timelion/public/components/timelion_expression_input_helpers.test.ts" }, - ">; }" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.FieldSpecConflictDescriptions", - "type": "Type", - "tags": [], - "label": "FieldSpecConflictDescriptions", - "description": [], - "signature": [ - "{ [x: string]: string[]; }" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IndexPatternFieldMap", - "type": "Type", - "tags": [], - "label": "IndexPatternFieldMap", - "description": [], - "signature": [ - "{ [x: string]: ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/build_services.d.ts" }, - "; }" - ], - "path": "src/plugins/data/common/index_patterns/types.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IndexPatternLoadExpressionFunctionDefinition", - "type": "Type", - "tags": [], - "label": "IndexPatternLoadExpressionFunctionDefinition", - "description": [], - "signature": [ { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExpressionFunctionDefinition", - "text": "ExpressionFunctionDefinition" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/build_services.d.ts" }, - "<\"indexPatternLoad\", null, Arguments, Output, ", { - "pluginId": "expressions", - "scope": "common", - "docId": "kibExpressionsPluginApi", - "section": "def-common.ExecutionContext", - "text": "ExecutionContext" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" }, - "<", { - "pluginId": "inspector", - "scope": "common", - "docId": "kibInspectorPluginApi", - "section": "def-common.Adapters", - "text": "Adapters" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts" }, - ", ", - "SerializableRecord", - ">>" - ], - "path": "src/plugins/data/common/index_patterns/expressions/load_index_pattern.ts", - "deprecated": false, - "initialIsOpen": false - }, - { - "parentPluginId": "data", - "id": "def-common.IndexPatternsContract", - "type": "Type", - "tags": [], - "label": "IndexPatternsContract", - "description": [], - "signature": [ - "{ get: (id: string) => Promise<", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" }, - ">; delete: (indexPatternId: string) => Promise<{}>; create: (spec: ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" }, - ", skipFetchFields?: boolean) => Promise<", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" }, - ">; find: (search: string, size?: number) => Promise<", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts" }, - "[]>; ensureDefaultIndexPattern: ", - "EnsureDefaultIndexPattern", - "; getIds: (refresh?: boolean) => Promise; getTitles: (refresh?: boolean) => Promise; getIdsWithTitle: (refresh?: boolean) => Promise<", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternListItem", - "text": "IndexPatternListItem" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" }, - "[]>; clearCache: (id?: string | undefined) => void; getCache: () => Promise<", - "SavedObject", - ">[] | null | undefined>; getDefault: () => Promise<", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" }, - " | null>; getDefaultId: () => Promise; setDefault: (id: string | null, force?: boolean) => Promise; hasUserIndexPattern: () => Promise; getFieldsForWildcard: (options: ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" + "plugin": "inputControlVis", + "path": "src/plugins/input_control_vis/public/control/filter_manager/range_filter_manager.test.ts" }, - ") => Promise; getFieldsForIndexPattern: (indexPattern: ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" }, - " | ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" + "plugin": "indexPatternManagement", + "path": "src/plugins/index_pattern_management/target/types/public/components/utils.d.ts" }, - ", options?: ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.GetFieldsOptions", - "text": "GetFieldsOptions" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/_stubs.ts" }, - " | undefined) => Promise; refreshFields: (indexPattern: ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/context/services/_stubs.ts" }, - ") => Promise; fieldArrayToMap: (fields: ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldSpec", - "text": "FieldSpec" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/doc/components/doc.d.ts" }, - "[], fieldAttrs?: ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.FieldAttrs", - "text": "FieldAttrs" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/doc/components/doc.d.ts" }, - " | undefined) => Record; savedObjectToSpec: (savedObject: ", - "SavedObject", - "<", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternAttributes", - "text": "IndexPatternAttributes" + "plugin": "discover", + "path": "src/plugins/discover/target/types/public/application/apps/context/services/context.d.ts" }, - ">) => ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/lazy_load_bundle/index.ts" }, - "; createAndSave: (spec: ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternSpec", - "text": "IndexPatternSpec" + "plugin": "maps", + "path": "x-pack/plugins/maps/public/lazy_load_bundle/index.ts" }, - ", override?: boolean, skipFetchFields?: boolean) => Promise<", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts" }, - ">; createSavedObject: (indexPattern: ", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "plugin": "maps", + "path": "x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts" }, - ", override?: boolean) => Promise<", { - "pluginId": "data", - "scope": "common", - "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" }, - ">; updateSavedObject: (indexPattern: ", + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx" + } + ], + "initialIsOpen": false + }, + { + "parentPluginId": "data", + "id": "def-common.IndexPatternSpec", + "type": "Type", + "tags": [ + "deprecated" + ], + "label": "IndexPatternSpec", + "description": [], + "signature": [ { "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPattern", - "text": "IndexPattern" + "section": "def-common.DataViewSpec", + "text": "DataViewSpec" + } + ], + "path": "src/plugins/data/common/index_patterns/types.ts", + "deprecated": true, + "references": [ + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" }, - ", saveAttempts?: number, ignoreErrors?: boolean) => Promise; }" + { + "plugin": "observability", + "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/shared_imports.ts" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/components/index_pattern_flyout_content_container.tsx" + }, + { + "plugin": "indexPatternEditor", + "path": "src/plugins/index_pattern_editor/public/components/index_pattern_flyout_content_container.tsx" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts" + }, + { + "plugin": "apm", + "path": "x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts" + } ], - "path": "src/plugins/data/common/index_patterns/index_patterns/index_patterns.ts", - "deprecated": false, "initialIsOpen": false }, { @@ -8508,7 +13487,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.error", + "id": "def-common.OnError.$1", "type": "Object", "tags": [], "label": "error", @@ -8521,7 +13500,7 @@ }, { "parentPluginId": "data", - "id": "def-common.toastInputFields", + "id": "def-common.OnError.$2", "type": "Object", "tags": [], "label": "toastInputFields", @@ -8565,7 +13544,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.toastInputFields", + "id": "def-common.OnNotification.$1", "type": "CompoundType", "tags": [], "label": "toastInputFields", @@ -8605,7 +13584,7 @@ "label": "RuntimeType", "description": [], "signature": [ - "\"boolean\" | \"date\" | \"keyword\" | \"long\" | \"double\" | \"ip\" | \"geo_point\"" + "\"boolean\" | \"date\" | \"keyword\" | \"geo_point\" | \"ip\" | \"long\" | \"double\"" ], "path": "src/plugins/data/common/index_patterns/types.ts", "deprecated": false, diff --git a/api_docs/data_index_patterns.mdx b/api_docs/data_index_patterns.mdx index 4c7a9976fa0f0..d678cf0ae99ce 100644 --- a/api_docs/data_index_patterns.mdx +++ b/api_docs/data_index_patterns.mdx @@ -18,7 +18,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 3498 | 44 | 2981 | 50 | +| 3099 | 44 | 2738 | 50 | ## Server diff --git a/api_docs/data_query.json b/api_docs/data_query.json index 4c7f2d3be9d82..8bd12377c8947 100644 --- a/api_docs/data_query.json +++ b/api_docs/data_query.json @@ -491,7 +491,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-public.filters", + "id": "def-public.FilterManager.telemetry.$1", "type": "Object", "tags": [], "label": "filters", @@ -504,7 +504,7 @@ }, { "parentPluginId": "data", - "id": "def-public.collector", + "id": "def-public.FilterManager.telemetry.$2", "type": "Unknown", "tags": [], "label": "collector", @@ -915,7 +915,7 @@ }, { "parentPluginId": "data", - "id": "def-public.connectToQueryState.$3.syncConfig", + "id": "def-public.connectToQueryState.$3", "type": "Object", "tags": [], "label": "syncConfig", @@ -925,7 +925,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-public.connectToQueryState.$3.syncConfig.time", + "id": "def-public.connectToQueryState.$3.time", "type": "CompoundType", "tags": [], "label": "time", @@ -938,7 +938,7 @@ }, { "parentPluginId": "data", - "id": "def-public.connectToQueryState.$3.syncConfig.refreshInterval", + "id": "def-public.connectToQueryState.$3.refreshInterval", "type": "CompoundType", "tags": [], "label": "refreshInterval", @@ -951,7 +951,7 @@ }, { "parentPluginId": "data", - "id": "def-public.connectToQueryState.$3.syncConfig.filters", + "id": "def-public.connectToQueryState.$3.filters", "type": "CompoundType", "tags": [], "label": "filters", @@ -966,7 +966,7 @@ }, { "parentPluginId": "data", - "id": "def-public.connectToQueryState.$3.syncConfig.query", + "id": "def-public.connectToQueryState.$3.query", "type": "CompoundType", "tags": [], "label": "query", @@ -1782,7 +1782,7 @@ }, { "parentPluginId": "data", - "id": "def-public.SavedQueryService.saveQuery.$2.config", + "id": "def-public.SavedQueryService.saveQuery.$2", "type": "Object", "tags": [], "label": "config", @@ -1792,7 +1792,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-public.SavedQueryService.saveQuery.$2.config.overwrite", + "id": "def-public.SavedQueryService.saveQuery.$2.overwrite", "type": "boolean", "tags": [], "label": "overwrite", @@ -2396,7 +2396,7 @@ }, { "parentPluginId": "data", - "id": "def-common.getAbsoluteTimeRange.$2.forceNow", + "id": "def-common.getAbsoluteTimeRange.$2", "type": "Object", "tags": [], "label": "{ forceNow }", @@ -2406,7 +2406,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.getAbsoluteTimeRange.$2.forceNow.forceNow", + "id": "def-common.getAbsoluteTimeRange.$2.forceNow", "type": "Object", "tags": [], "label": "forceNow", @@ -2501,7 +2501,7 @@ }, { "parentPluginId": "data", - "id": "def-common.getTime.$3.options", + "id": "def-common.getTime.$3", "type": "Object", "tags": [], "label": "options", @@ -2511,7 +2511,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.getTime.$3.options.forceNow", + "id": "def-common.getTime.$3.forceNow", "type": "Object", "tags": [], "label": "forceNow", @@ -2524,7 +2524,7 @@ }, { "parentPluginId": "data", - "id": "def-common.getTime.$3.options.fieldName", + "id": "def-common.getTime.$3.fieldName", "type": "string", "tags": [], "label": "fieldName", @@ -2613,39 +2613,6 @@ } ], "interfaces": [ - { - "parentPluginId": "data", - "id": "def-common.RefreshInterval", - "type": "Interface", - "tags": [], - "label": "RefreshInterval", - "description": [], - "path": "src/plugins/data/common/query/timefilter/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "data", - "id": "def-common.RefreshInterval.pause", - "type": "boolean", - "tags": [], - "label": "pause", - "description": [], - "path": "src/plugins/data/common/query/timefilter/types.ts", - "deprecated": false - }, - { - "parentPluginId": "data", - "id": "def-common.RefreshInterval.value", - "type": "number", - "tags": [], - "label": "value", - "description": [], - "path": "src/plugins/data/common/query/timefilter/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, { "parentPluginId": "data", "id": "def-common.TimeRangeBounds", @@ -2688,6 +2655,20 @@ ], "enums": [], "misc": [ + { + "parentPluginId": "data", + "id": "def-common.RefreshInterval", + "type": "Type", + "tags": [], + "label": "RefreshInterval", + "description": [], + "signature": [ + "{ pause: boolean; value: number; }" + ], + "path": "src/plugins/data/common/query/timefilter/types.ts", + "deprecated": false, + "initialIsOpen": false + }, { "parentPluginId": "data", "id": "def-common.TimeRange", diff --git a/api_docs/data_query.mdx b/api_docs/data_query.mdx index 088de0ad9120c..8a3119feac0e2 100644 --- a/api_docs/data_query.mdx +++ b/api_docs/data_query.mdx @@ -18,7 +18,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 3498 | 44 | 2981 | 50 | +| 3099 | 44 | 2738 | 50 | ## Client diff --git a/api_docs/data_search.json b/api_docs/data_search.json index 654649f105d92..a16dd60a6da7f 100644 --- a/api_docs/data_search.json +++ b/api_docs/data_search.json @@ -464,7 +464,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-public.request", + "id": "def-public.ISearchStart.search.$1", "type": "Uncategorized", "tags": [], "label": "request", @@ -477,7 +477,7 @@ }, { "parentPluginId": "data", - "id": "def-public.options", + "id": "def-public.ISearchStart.search.$2", "type": "Object", "tags": [], "label": "options", @@ -1250,7 +1250,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-server.sessionId", + "id": "def-server.IScopedSearchClient.saveSession.$1", "type": "string", "tags": [], "label": "sessionId", @@ -1260,7 +1260,7 @@ }, { "parentPluginId": "data", - "id": "def-server.attributes", + "id": "def-server.IScopedSearchClient.saveSession.$2", "type": "Object", "tags": [], "label": "attributes", @@ -1291,7 +1291,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-server.sessionId", + "id": "def-server.IScopedSearchClient.getSession.$1", "type": "string", "tags": [], "label": "sessionId", @@ -1333,7 +1333,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-server.options", + "id": "def-server.IScopedSearchClient.findSessions.$1", "type": "Object", "tags": [], "label": "options", @@ -1396,7 +1396,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-server.sessionId", + "id": "def-server.IScopedSearchClient.updateSession.$1", "type": "string", "tags": [], "label": "sessionId", @@ -1406,7 +1406,7 @@ }, { "parentPluginId": "data", - "id": "def-server.attributes", + "id": "def-server.IScopedSearchClient.updateSession.$2", "type": "Object", "tags": [], "label": "attributes", @@ -1435,7 +1435,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-server.sessionId", + "id": "def-server.IScopedSearchClient.cancelSession.$1", "type": "string", "tags": [], "label": "sessionId", @@ -1461,7 +1461,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-server.sessionId", + "id": "def-server.IScopedSearchClient.deleteSession.$1", "type": "string", "tags": [], "label": "sessionId", @@ -1495,7 +1495,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-server.sessionId", + "id": "def-server.IScopedSearchClient.extendSession.$1", "type": "string", "tags": [], "label": "sessionId", @@ -1505,7 +1505,7 @@ }, { "parentPluginId": "data", - "id": "def-server.expires", + "id": "def-server.IScopedSearchClient.extendSession.$2", "type": "Object", "tags": [], "label": "expires", @@ -4621,7 +4621,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.agg", + "id": "def-common.AggParamType.makeAgg.$1", "type": "Uncategorized", "tags": [], "label": "agg", @@ -4634,7 +4634,7 @@ }, { "parentPluginId": "data", - "id": "def-common.state", + "id": "def-common.AggParamType.makeAgg.$2", "type": "Object", "tags": [], "label": "state", @@ -4889,7 +4889,7 @@ "\nThe type the values produced by this agg will have in the final data table.\nIf not specified, the type of the field is used." ], "signature": [ - "\"string\" | \"number\" | \"boolean\" | \"object\" | \"date\" | \"ip\" | \"geo_point\" | \"_source\" | \"attachment\" | \"geo_shape\" | \"murmur3\" | \"unknown\" | \"conflict\" | \"nested\" | \"histogram\" | \"null\" | undefined" + "\"string\" | \"number\" | \"boolean\" | \"object\" | \"date\" | \"_source\" | \"attachment\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"murmur3\" | \"unknown\" | \"conflict\" | \"nested\" | \"histogram\" | \"null\" | undefined" ], "path": "src/plugins/data/common/search/aggs/agg_type.ts", "deprecated": false @@ -4916,7 +4916,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.aggConfig", + "id": "def-common.AggType.makeLabel.$1", "type": "Uncategorized", "tags": [], "label": "aggConfig", @@ -5032,7 +5032,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.aggConfig", + "id": "def-common.AggType.getRequestAggs.$1", "type": "Uncategorized", "tags": [], "label": "aggConfig", @@ -5067,7 +5067,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.aggConfig", + "id": "def-common.AggType.getResponseAggs.$1", "type": "Uncategorized", "tags": [], "label": "aggConfig", @@ -5145,7 +5145,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.resp", + "id": "def-common.AggType.postFlightRequest.$1", "type": "Object", "tags": [], "label": "resp", @@ -5161,7 +5161,7 @@ }, { "parentPluginId": "data", - "id": "def-common.aggConfigs", + "id": "def-common.AggType.postFlightRequest.$2", "type": "Object", "tags": [], "label": "aggConfigs", @@ -5182,7 +5182,7 @@ }, { "parentPluginId": "data", - "id": "def-common.aggConfig", + "id": "def-common.AggType.postFlightRequest.$3", "type": "Uncategorized", "tags": [], "label": "aggConfig", @@ -5197,7 +5197,7 @@ }, { "parentPluginId": "data", - "id": "def-common.searchSource", + "id": "def-common.AggType.postFlightRequest.$4", "type": "Object", "tags": [], "label": "searchSource", @@ -5386,7 +5386,7 @@ }, { "parentPluginId": "data", - "id": "def-common.inspectorRequestAdapter", + "id": "def-common.AggType.postFlightRequest.$5", "type": "Object", "tags": [], "label": "inspectorRequestAdapter", @@ -5406,7 +5406,7 @@ }, { "parentPluginId": "data", - "id": "def-common.abortSignal", + "id": "def-common.AggType.postFlightRequest.$6", "type": "Object", "tags": [], "label": "abortSignal", @@ -5421,7 +5421,7 @@ }, { "parentPluginId": "data", - "id": "def-common.searchSessionId", + "id": "def-common.AggType.postFlightRequest.$7", "type": "string", "tags": [], "label": "searchSessionId", @@ -5464,7 +5464,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.agg", + "id": "def-common.AggType.getSerializedFormat.$1", "type": "Uncategorized", "tags": [], "label": "agg", @@ -5495,7 +5495,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.agg", + "id": "def-common.AggType.getValue.$1", "type": "Uncategorized", "tags": [], "label": "agg", @@ -5508,7 +5508,7 @@ }, { "parentPluginId": "data", - "id": "def-common.bucket", + "id": "def-common.AggType.getValue.$2", "type": "Any", "tags": [], "label": "bucket", @@ -5877,7 +5877,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.aggConfig", + "id": "def-common.BaseParamType.write.$1", "type": "Uncategorized", "tags": [], "label": "aggConfig", @@ -5890,7 +5890,7 @@ }, { "parentPluginId": "data", - "id": "def-common.output", + "id": "def-common.BaseParamType.write.$2", "type": "Object", "tags": [], "label": "output", @@ -5903,7 +5903,7 @@ }, { "parentPluginId": "data", - "id": "def-common.aggConfigs", + "id": "def-common.BaseParamType.write.$3", "type": "Object", "tags": [], "label": "aggConfigs", @@ -5923,7 +5923,7 @@ }, { "parentPluginId": "data", - "id": "def-common.locals", + "id": "def-common.BaseParamType.write.$4", "type": "Object", "tags": [], "label": "locals", @@ -5952,7 +5952,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.value", + "id": "def-common.BaseParamType.serialize.$1", "type": "Any", "tags": [], "label": "value", @@ -5965,7 +5965,7 @@ }, { "parentPluginId": "data", - "id": "def-common.aggConfig", + "id": "def-common.BaseParamType.serialize.$2", "type": "Uncategorized", "tags": [], "label": "aggConfig", @@ -5994,7 +5994,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.value", + "id": "def-common.BaseParamType.deserialize.$1", "type": "Any", "tags": [], "label": "value", @@ -6007,7 +6007,7 @@ }, { "parentPluginId": "data", - "id": "def-common.aggConfig", + "id": "def-common.BaseParamType.deserialize.$2", "type": "Uncategorized", "tags": [], "label": "aggConfig", @@ -6109,7 +6109,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.aggConfig", + "id": "def-common.BaseParamType.modifyAggConfigOnSearchRequestStart.$1", "type": "Uncategorized", "tags": [], "label": "aggConfig", @@ -6122,7 +6122,7 @@ }, { "parentPluginId": "data", - "id": "def-common.searchSource", + "id": "def-common.BaseParamType.modifyAggConfigOnSearchRequestStart.$2", "type": "Object", "tags": [], "label": "searchSource", @@ -6143,7 +6143,7 @@ }, { "parentPluginId": "data", - "id": "def-common.options", + "id": "def-common.BaseParamType.modifyAggConfigOnSearchRequestStart.$3", "type": "Object", "tags": [], "label": "options", @@ -6248,7 +6248,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.bucket", + "id": "def-common.BucketAggType.getKey.$1", "type": "Any", "tags": [], "label": "bucket", @@ -6261,7 +6261,7 @@ }, { "parentPluginId": "data", - "id": "def-common.key", + "id": "def-common.BucketAggType.getKey.$2", "type": "Any", "tags": [], "label": "key", @@ -6274,7 +6274,7 @@ }, { "parentPluginId": "data", - "id": "def-common.agg", + "id": "def-common.BucketAggType.getKey.$3", "type": "Uncategorized", "tags": [], "label": "agg", @@ -6641,9 +6641,8 @@ "label": "filterFieldTypes", "description": [], "signature": [ - "\"*\" | ", "KBN_FIELD_TYPES", - " | ", + " | \"*\" | ", "KBN_FIELD_TYPES", "[]" ], @@ -6713,8 +6712,8 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternField", - "text": "IndexPatternField" + "section": "def-common.DataViewField", + "text": "DataViewField" }, "[]" ], @@ -6949,21 +6948,6 @@ "deprecated": false, "children": [], "returnComment": [] - }, - { - "parentPluginId": "data", - "id": "def-common.IpAddress.valueOf", - "type": "Function", - "tags": [], - "label": "valueOf", - "description": [], - "signature": [ - "() => number | bigint" - ], - "path": "src/plugins/data/common/search/aggs/utils/ip_address.ts", - "deprecated": false, - "children": [], - "returnComment": [] } ], "initialIsOpen": false @@ -8046,11 +8030,11 @@ "references": [ { "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context/api/utils/fetch_hits_in_interval.ts" + "path": "src/plugins/discover/public/application/apps/context/services/anchor.ts" }, { "plugin": "discover", - "path": "src/plugins/discover/public/application/angular/context/api/anchor.ts" + "path": "src/plugins/discover/public/application/apps/context/services/utils/fetch_hits_in_interval.ts" }, { "plugin": "maps", @@ -8298,8 +8282,8 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternsService", - "text": "IndexPatternsService" + "section": "def-common.DataViewsService", + "text": "DataViewsService" }, ", \"get\" | \"delete\" | \"create\" | \"find\" | \"ensureDefaultIndexPattern\" | \"getIds\" | \"getTitles\" | \"getIdsWithTitle\" | \"clearCache\" | \"getCache\" | \"getDefault\" | \"getDefaultId\" | \"setDefault\" | \"hasUserIndexPattern\" | \"getFieldsForWildcard\" | \"getFieldsForIndexPattern\" | \"refreshFields\" | \"fieldArrayToMap\" | \"savedObjectToSpec\" | \"createAndSave\" | \"createSavedObject\" | \"updateSavedObject\">, dependencies: ", { @@ -8351,8 +8335,8 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternsService", - "text": "IndexPatternsService" + "section": "def-common.DataViewsService", + "text": "DataViewsService" }, ", \"get\" | \"delete\" | \"create\" | \"find\" | \"ensureDefaultIndexPattern\" | \"getIds\" | \"getTitles\" | \"getIdsWithTitle\" | \"clearCache\" | \"getCache\" | \"getDefault\" | \"getDefaultId\" | \"setDefault\" | \"hasUserIndexPattern\" | \"getFieldsForWildcard\" | \"getFieldsForIndexPattern\" | \"refreshFields\" | \"fieldArrayToMap\" | \"savedObjectToSpec\" | \"createAndSave\" | \"createSavedObject\" | \"updateSavedObject\">" ], @@ -9305,8 +9289,8 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternsService", - "text": "IndexPatternsService" + "section": "def-common.DataViewsService", + "text": "DataViewsService" }, ", \"get\" | \"delete\" | \"create\" | \"find\" | \"ensureDefaultIndexPattern\" | \"getIds\" | \"getTitles\" | \"getIdsWithTitle\" | \"clearCache\" | \"getCache\" | \"getDefault\" | \"getDefaultId\" | \"setDefault\" | \"hasUserIndexPattern\" | \"getFieldsForWildcard\" | \"getFieldsForIndexPattern\" | \"refreshFields\" | \"fieldArrayToMap\" | \"savedObjectToSpec\" | \"createAndSave\" | \"createSavedObject\" | \"updateSavedObject\">, searchSourceDependencies: ", { @@ -9352,8 +9336,8 @@ "pluginId": "data", "scope": "common", "docId": "kibDataIndexPatternsPluginApi", - "section": "def-common.IndexPatternsService", - "text": "IndexPatternsService" + "section": "def-common.DataViewsService", + "text": "DataViewsService" }, ", \"get\" | \"delete\" | \"create\" | \"find\" | \"ensureDefaultIndexPattern\" | \"getIds\" | \"getTitles\" | \"getIdsWithTitle\" | \"clearCache\" | \"getCache\" | \"getDefault\" | \"getDefaultId\" | \"setDefault\" | \"hasUserIndexPattern\" | \"getFieldsForWildcard\" | \"getFieldsForIndexPattern\" | \"refreshFields\" | \"fieldArrayToMap\" | \"savedObjectToSpec\" | \"createAndSave\" | \"createSavedObject\" | \"updateSavedObject\">" ], @@ -10338,7 +10322,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.getEsdslFn.$1.getStartDependencies", + "id": "def-common.getEsdslFn.$1", "type": "Object", "tags": [], "label": "{\n getStartDependencies,\n}", @@ -10348,7 +10332,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.getEsdslFn.$1.getStartDependencies.getStartDependencies", + "id": "def-common.getEsdslFn.$1.getStartDependencies", "type": "Function", "tags": [], "label": "getStartDependencies", @@ -10363,7 +10347,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.getEsdslFn.$1.getStartDependencies.getStartDependencies.$1", + "id": "def-common.getEsdslFn.$1.getStartDependencies.$1", "type": "Any", "tags": [], "label": "getKibanaRequest", @@ -10415,7 +10399,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.getFilterBucketAgg.$1.getConfig", + "id": "def-common.getFilterBucketAgg.$1", "type": "Object", "tags": [], "label": "{ getConfig }", @@ -10425,7 +10409,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.getFilterBucketAgg.$1.getConfig.getConfig", + "id": "def-common.getFilterBucketAgg.$1.getConfig", "type": "Function", "tags": [], "label": "getConfig", @@ -10438,7 +10422,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.getFilterBucketAgg.$1.getConfig.getConfig.$1", + "id": "def-common.getFilterBucketAgg.$1.getConfig.$1", "type": "string", "tags": [], "label": "key", @@ -11345,7 +11329,7 @@ }, { "parentPluginId": "data", - "id": "def-common.getSearchParamsFromRequest.$2.dependencies", + "id": "def-common.getSearchParamsFromRequest.$2", "type": "Object", "tags": [], "label": "dependencies", @@ -11355,7 +11339,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.getSearchParamsFromRequest.$2.dependencies.getConfig", + "id": "def-common.getSearchParamsFromRequest.$2.getConfig", "type": "Function", "tags": [], "label": "getConfig", @@ -11369,7 +11353,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.key", + "id": "def-common.getSearchParamsFromRequest.$2.getConfig.$1", "type": "string", "tags": [], "label": "key", @@ -11379,7 +11363,7 @@ }, { "parentPluginId": "data", - "id": "def-common.defaultOverride", + "id": "def-common.getSearchParamsFromRequest.$2.getConfig.$2", "type": "Uncategorized", "tags": [], "label": "defaultOverride", @@ -12124,7 +12108,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.agg", + "id": "def-common.isNumberType.$1", "type": "Object", "tags": [], "label": "agg", @@ -12216,7 +12200,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.agg", + "id": "def-common.isStringOrNumberType.$1", "type": "Object", "tags": [], "label": "agg", @@ -12260,7 +12244,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.agg", + "id": "def-common.isStringType.$1", "type": "Object", "tags": [], "label": "agg", @@ -13248,7 +13232,7 @@ "section": "def-common.BUCKET_TYPES", "text": "BUCKET_TYPES" }, - ".FILTER>, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\"> & Pick<{ geo_bounding_box?: ({ type: \"geo_bounding_box\"; } & GeoBox) | ({ type: \"geo_bounding_box\"; } & { top_left: ", + ".FILTER>, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\"> & Pick<{ geo_bounding_box?: ({ type: \"geo_bounding_box\"; } & GeoBox) | ({ type: \"geo_bounding_box\"; } & { top_left: ", { "pluginId": "data", "scope": "common", @@ -13332,7 +13316,7 @@ }, "<\"kibana_query\", ", "Query", - "> | undefined; }, never>, \"enabled\" | \"id\" | \"filter\" | \"customLabel\" | \"schema\" | \"geo_bounding_box\" | \"json\" | \"timeShift\">, ", + "> | undefined; }, never>, \"enabled\" | \"id\" | \"filter\" | \"schema\" | \"geo_bounding_box\" | \"json\" | \"customLabel\" | \"timeShift\">, ", "AggExpressionType", ", ", { @@ -13514,7 +13498,7 @@ "section": "def-common.BUCKET_TYPES", "text": "BUCKET_TYPES" }, - ".IP_RANGE>, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"field\"> & Pick<{ ranges?: (", + ".IP_RANGE>, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"field\"> & Pick<{ ranges?: (", { "pluginId": "expressions", "scope": "common", @@ -13578,7 +13562,7 @@ "section": "def-common.IpRange", "text": "IpRange" }, - ">)[] | undefined; ipRangeType?: string | undefined; }, never>, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"field\" | \"ipRangeType\" | \"ranges\">, ", + ">)[] | undefined; ipRangeType?: string | undefined; }, never>, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"field\" | \"ipRangeType\" | \"ranges\">, ", "AggExpressionType", ", ", { @@ -13628,7 +13612,7 @@ "section": "def-common.BUCKET_TYPES", "text": "BUCKET_TYPES" }, - ".DATE_RANGE>, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"field\" | \"time_zone\"> & Pick<{ ranges?: ", + ".DATE_RANGE>, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"field\" | \"time_zone\"> & Pick<{ ranges?: ", { "pluginId": "expressions", "scope": "common", @@ -13660,7 +13644,7 @@ "section": "def-common.DateRange", "text": "DateRange" }, - ">[] | undefined; }, never>, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"field\" | \"ranges\" | \"time_zone\">, ", + ">[] | undefined; }, never>, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"field\" | \"ranges\" | \"time_zone\">, ", "AggExpressionType", ", ", { @@ -13710,7 +13694,7 @@ "section": "def-common.BUCKET_TYPES", "text": "BUCKET_TYPES" }, - ".RANGE>, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"field\"> & Pick<{ ranges?: ", + ".RANGE>, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"field\"> & Pick<{ ranges?: ", { "pluginId": "expressions", "scope": "common", @@ -13742,7 +13726,7 @@ "section": "def-common.NumericalRange", "text": "NumericalRange" }, - ">[] | undefined; }, never>, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"field\" | \"ranges\">, ", + ">[] | undefined; }, never>, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"field\" | \"ranges\">, ", "AggExpressionType", ", ", { @@ -13842,7 +13826,7 @@ "section": "def-common.BUCKET_TYPES", "text": "BUCKET_TYPES" }, - ".GEOHASH_GRID>, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"field\" | \"autoPrecision\" | \"precision\" | \"useGeocentroid\" | \"isFilteredByCollar\"> & Pick<{ boundingBox?: ({ type: \"geo_bounding_box\"; } & GeoBox) | ({ type: \"geo_bounding_box\"; } & { top_left: ", + ".GEOHASH_GRID>, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"field\" | \"autoPrecision\" | \"precision\" | \"useGeocentroid\" | \"isFilteredByCollar\"> & Pick<{ boundingBox?: ({ type: \"geo_bounding_box\"; } & GeoBox) | ({ type: \"geo_bounding_box\"; } & { top_left: ", { "pluginId": "data", "scope": "common", @@ -13906,7 +13890,7 @@ "section": "def-common.GeoPoint", "text": "GeoPoint" }, - "; }) | ({ type: \"geo_bounding_box\"; } & WellKnownText) | undefined; }, never>, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"field\" | \"autoPrecision\" | \"precision\" | \"useGeocentroid\" | \"isFilteredByCollar\" | \"boundingBox\">, ", + "; }) | ({ type: \"geo_bounding_box\"; } & WellKnownText) | undefined; }, never>, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"field\" | \"autoPrecision\" | \"precision\" | \"useGeocentroid\" | \"isFilteredByCollar\" | \"boundingBox\">, ", "AggExpressionType", ", ", { @@ -13956,7 +13940,7 @@ "section": "def-common.BUCKET_TYPES", "text": "BUCKET_TYPES" }, - ".HISTOGRAM>, \"enabled\" | \"interval\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"field\" | \"used_interval\" | \"maxBars\" | \"intervalBase\" | \"min_doc_count\" | \"has_extended_bounds\"> & Pick<{ extended_bounds?: ", + ".HISTOGRAM>, \"enabled\" | \"interval\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"field\" | \"used_interval\" | \"maxBars\" | \"intervalBase\" | \"min_doc_count\" | \"has_extended_bounds\"> & Pick<{ extended_bounds?: ", { "pluginId": "expressions", "scope": "common", @@ -13988,7 +13972,7 @@ "section": "def-common.ExtendedBounds", "text": "ExtendedBounds" }, - "> | undefined; }, never>, \"enabled\" | \"interval\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"field\" | \"used_interval\" | \"maxBars\" | \"intervalBase\" | \"min_doc_count\" | \"has_extended_bounds\" | \"extended_bounds\">, ", + "> | undefined; }, never>, \"enabled\" | \"interval\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"field\" | \"used_interval\" | \"maxBars\" | \"intervalBase\" | \"min_doc_count\" | \"has_extended_bounds\" | \"extended_bounds\">, ", "AggExpressionType", ", ", { @@ -14038,7 +14022,7 @@ "section": "def-common.BUCKET_TYPES", "text": "BUCKET_TYPES" }, - ".DATE_HISTOGRAM>, \"enabled\" | \"interval\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"field\" | \"time_zone\" | \"used_interval\" | \"min_doc_count\" | \"useNormalizedEsInterval\" | \"scaleMetricValues\" | \"used_time_zone\" | \"drop_partials\" | \"format\"> & Pick<{ timeRange?: ", + ".DATE_HISTOGRAM>, \"enabled\" | \"interval\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"field\" | \"time_zone\" | \"used_interval\" | \"min_doc_count\" | \"useNormalizedEsInterval\" | \"scaleMetricValues\" | \"used_time_zone\" | \"drop_partials\" | \"format\"> & Pick<{ timeRange?: ", { "pluginId": "expressions", "scope": "common", @@ -14102,7 +14086,7 @@ "section": "def-common.ExtendedBounds", "text": "ExtendedBounds" }, - "> | undefined; }, never>, \"enabled\" | \"interval\" | \"timeRange\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"field\" | \"time_zone\" | \"used_interval\" | \"min_doc_count\" | \"extended_bounds\" | \"useNormalizedEsInterval\" | \"scaleMetricValues\" | \"used_time_zone\" | \"drop_partials\" | \"format\">, ", + "> | undefined; }, never>, \"enabled\" | \"interval\" | \"timeRange\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"field\" | \"time_zone\" | \"used_interval\" | \"min_doc_count\" | \"extended_bounds\" | \"useNormalizedEsInterval\" | \"scaleMetricValues\" | \"used_time_zone\" | \"drop_partials\" | \"format\">, ", "AggExpressionType", ", ", { @@ -14152,11 +14136,11 @@ "section": "def-common.BUCKET_TYPES", "text": "BUCKET_TYPES" }, - ".TERMS>, \"enabled\" | \"id\" | \"size\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"field\" | \"orderBy\" | \"order\" | \"missingBucket\" | \"missingBucketLabel\" | \"otherBucket\" | \"otherBucketLabel\" | \"exclude\" | \"include\"> & Pick<{ orderAgg?: ", + ".TERMS>, \"enabled\" | \"id\" | \"size\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"field\" | \"orderBy\" | \"order\" | \"missingBucket\" | \"missingBucketLabel\" | \"otherBucket\" | \"otherBucketLabel\" | \"exclude\" | \"include\"> & Pick<{ orderAgg?: ", "AggExpressionType", " | undefined; }, \"orderAgg\"> & Pick<{ orderAgg?: ", "AggExpressionType", - " | undefined; }, never>, \"enabled\" | \"id\" | \"size\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"field\" | \"orderBy\" | \"orderAgg\" | \"order\" | \"missingBucket\" | \"missingBucketLabel\" | \"otherBucket\" | \"otherBucketLabel\" | \"exclude\" | \"include\">, ", + " | undefined; }, never>, \"enabled\" | \"id\" | \"size\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"field\" | \"orderBy\" | \"orderAgg\" | \"order\" | \"missingBucket\" | \"missingBucketLabel\" | \"otherBucket\" | \"otherBucketLabel\" | \"exclude\" | \"include\">, ", "AggExpressionType", ", ", { @@ -14256,7 +14240,7 @@ "section": "def-common.METRIC_TYPES", "text": "METRIC_TYPES" }, - ".AVG_BUCKET>, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\"> & Pick<{ customBucket?: ", + ".AVG_BUCKET>, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\"> & Pick<{ customBucket?: ", "AggExpressionType", " | undefined; customMetric?: ", "AggExpressionType", @@ -14264,7 +14248,7 @@ "AggExpressionType", " | undefined; customMetric?: ", "AggExpressionType", - " | undefined; }, never>, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"customMetric\" | \"customBucket\">, ", + " | undefined; }, never>, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"customMetric\" | \"customBucket\">, ", "AggExpressionType", ", ", { @@ -14314,7 +14298,7 @@ "section": "def-common.METRIC_TYPES", "text": "METRIC_TYPES" }, - ".MAX_BUCKET>, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\"> & Pick<{ customBucket?: ", + ".MAX_BUCKET>, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\"> & Pick<{ customBucket?: ", "AggExpressionType", " | undefined; customMetric?: ", "AggExpressionType", @@ -14322,7 +14306,7 @@ "AggExpressionType", " | undefined; customMetric?: ", "AggExpressionType", - " | undefined; }, never>, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"customMetric\" | \"customBucket\">, ", + " | undefined; }, never>, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"customMetric\" | \"customBucket\">, ", "AggExpressionType", ", ", { @@ -14372,7 +14356,7 @@ "section": "def-common.METRIC_TYPES", "text": "METRIC_TYPES" }, - ".MIN_BUCKET>, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\"> & Pick<{ customBucket?: ", + ".MIN_BUCKET>, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\"> & Pick<{ customBucket?: ", "AggExpressionType", " | undefined; customMetric?: ", "AggExpressionType", @@ -14380,7 +14364,7 @@ "AggExpressionType", " | undefined; customMetric?: ", "AggExpressionType", - " | undefined; }, never>, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"customMetric\" | \"customBucket\">, ", + " | undefined; }, never>, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"customMetric\" | \"customBucket\">, ", "AggExpressionType", ", ", { @@ -14430,7 +14414,7 @@ "section": "def-common.METRIC_TYPES", "text": "METRIC_TYPES" }, - ".SUM_BUCKET>, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\"> & Pick<{ customBucket?: ", + ".SUM_BUCKET>, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\"> & Pick<{ customBucket?: ", "AggExpressionType", " | undefined; customMetric?: ", "AggExpressionType", @@ -14438,7 +14422,7 @@ "AggExpressionType", " | undefined; customMetric?: ", "AggExpressionType", - " | undefined; }, never>, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"customMetric\" | \"customBucket\">, ", + " | undefined; }, never>, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"customMetric\" | \"customBucket\">, ", "AggExpressionType", ", ", { @@ -14488,7 +14472,7 @@ "section": "def-common.METRIC_TYPES", "text": "METRIC_TYPES" }, - ".FILTERED_METRIC>, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\"> & Pick<{ customBucket?: ", + ".FILTERED_METRIC>, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\"> & Pick<{ customBucket?: ", "AggExpressionType", " | undefined; customMetric?: ", "AggExpressionType", @@ -14496,7 +14480,7 @@ "AggExpressionType", " | undefined; customMetric?: ", "AggExpressionType", - " | undefined; }, never>, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"customMetric\" | \"customBucket\">, ", + " | undefined; }, never>, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"customMetric\" | \"customBucket\">, ", "AggExpressionType", ", ", { @@ -14646,11 +14630,11 @@ "section": "def-common.METRIC_TYPES", "text": "METRIC_TYPES" }, - ".CUMULATIVE_SUM>, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"buckets_path\" | \"metricAgg\"> & Pick<{ customMetric?: ", + ".CUMULATIVE_SUM>, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"buckets_path\" | \"metricAgg\"> & Pick<{ customMetric?: ", "AggExpressionType", " | undefined; }, \"customMetric\"> & Pick<{ customMetric?: ", "AggExpressionType", - " | undefined; }, never>, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"customMetric\" | \"buckets_path\" | \"metricAgg\">, ", + " | undefined; }, never>, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"customMetric\" | \"buckets_path\" | \"metricAgg\">, ", "AggExpressionType", ", ", { @@ -14700,11 +14684,11 @@ "section": "def-common.METRIC_TYPES", "text": "METRIC_TYPES" }, - ".DERIVATIVE>, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"buckets_path\" | \"metricAgg\"> & Pick<{ customMetric?: ", + ".DERIVATIVE>, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"buckets_path\" | \"metricAgg\"> & Pick<{ customMetric?: ", "AggExpressionType", " | undefined; }, \"customMetric\"> & Pick<{ customMetric?: ", "AggExpressionType", - " | undefined; }, never>, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"customMetric\" | \"buckets_path\" | \"metricAgg\">, ", + " | undefined; }, never>, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"customMetric\" | \"buckets_path\" | \"metricAgg\">, ", "AggExpressionType", ", ", { @@ -15054,11 +15038,11 @@ "section": "def-common.METRIC_TYPES", "text": "METRIC_TYPES" }, - ".MOVING_FN>, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"buckets_path\" | \"metricAgg\" | \"window\" | \"script\"> & Pick<{ customMetric?: ", + ".MOVING_FN>, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"buckets_path\" | \"metricAgg\" | \"window\" | \"script\"> & Pick<{ customMetric?: ", "AggExpressionType", " | undefined; }, \"customMetric\"> & Pick<{ customMetric?: ", "AggExpressionType", - " | undefined; }, never>, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"customMetric\" | \"buckets_path\" | \"metricAgg\" | \"window\" | \"script\">, ", + " | undefined; }, never>, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"customMetric\" | \"buckets_path\" | \"metricAgg\" | \"window\" | \"script\">, ", "AggExpressionType", ", ", { @@ -15208,11 +15192,11 @@ "section": "def-common.METRIC_TYPES", "text": "METRIC_TYPES" }, - ".SERIAL_DIFF>, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"buckets_path\" | \"metricAgg\"> & Pick<{ customMetric?: ", + ".SERIAL_DIFF>, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"buckets_path\" | \"metricAgg\"> & Pick<{ customMetric?: ", "AggExpressionType", " | undefined; }, \"customMetric\"> & Pick<{ customMetric?: ", "AggExpressionType", - " | undefined; }, never>, \"enabled\" | \"id\" | \"customLabel\" | \"schema\" | \"json\" | \"timeShift\" | \"customMetric\" | \"buckets_path\" | \"metricAgg\">, ", + " | undefined; }, never>, \"enabled\" | \"id\" | \"schema\" | \"json\" | \"customLabel\" | \"timeShift\" | \"customMetric\" | \"buckets_path\" | \"metricAgg\">, ", "AggExpressionType", ", ", { @@ -17862,7 +17846,7 @@ "label": "valueType", "description": [], "signature": [ - "\"string\" | \"number\" | \"boolean\" | \"object\" | \"date\" | \"ip\" | \"geo_point\" | \"_source\" | \"attachment\" | \"geo_shape\" | \"murmur3\" | \"unknown\" | \"conflict\" | \"nested\" | \"histogram\" | \"null\" | undefined" + "\"string\" | \"number\" | \"boolean\" | \"object\" | \"date\" | \"_source\" | \"attachment\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"murmur3\" | \"unknown\" | \"conflict\" | \"nested\" | \"histogram\" | \"null\" | undefined" ], "path": "src/plugins/data/common/search/aggs/agg_type.ts", "deprecated": false @@ -18202,9 +18186,8 @@ "label": "filterFieldTypes", "description": [], "signature": [ - "\"*\" | ", "KBN_FIELD_TYPES", - " | ", + " | \"*\" | ", "KBN_FIELD_TYPES", "[] | undefined" ], @@ -18314,7 +18297,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.timeRange", + "id": "def-common.DateHistogramBucketAggDependencies.calculateBounds.$1", "type": "Object", "tags": [], "label": "timeRange", @@ -18640,7 +18623,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.key", + "id": "def-common.FetchHandlers.getConfig.$1", "type": "string", "tags": [], "label": "key", @@ -18650,7 +18633,7 @@ }, { "parentPluginId": "data", - "id": "def-common.defaultOverride", + "id": "def-common.FetchHandlers.getConfig.$2", "type": "Uncategorized", "tags": [], "label": "defaultOverride", @@ -19560,7 +19543,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.request", + "id": "def-common.ISearchClient.search.$1", "type": "Uncategorized", "tags": [], "label": "request", @@ -19573,7 +19556,7 @@ }, { "parentPluginId": "data", - "id": "def-common.options", + "id": "def-common.ISearchClient.search.$2", "type": "Object", "tags": [], "label": "options", @@ -19619,7 +19602,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.id", + "id": "def-common.ISearchClient.cancel.$1", "type": "string", "tags": [], "label": "id", @@ -19629,7 +19612,7 @@ }, { "parentPluginId": "data", - "id": "def-common.options", + "id": "def-common.ISearchClient.cancel.$2", "type": "Object", "tags": [], "label": "options", @@ -19675,7 +19658,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.id", + "id": "def-common.ISearchClient.extend.$1", "type": "string", "tags": [], "label": "id", @@ -19685,7 +19668,7 @@ }, { "parentPluginId": "data", - "id": "def-common.keepAlive", + "id": "def-common.ISearchClient.extend.$2", "type": "string", "tags": [], "label": "keepAlive", @@ -19695,7 +19678,7 @@ }, { "parentPluginId": "data", - "id": "def-common.options", + "id": "def-common.ISearchClient.extend.$3", "type": "Object", "tags": [], "label": "options", @@ -20093,9 +20076,8 @@ "label": "filterFieldTypes", "description": [], "signature": [ - "\"*\" | ", "KBN_FIELD_TYPES", - " | ", + " | \"*\" | ", "KBN_FIELD_TYPES", "[] | undefined" ], @@ -21100,7 +21082,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.request", + "id": "def-common.SearchSourceDependencies.search.$1", "type": "Uncategorized", "tags": [], "label": "request", @@ -21113,7 +21095,7 @@ }, { "parentPluginId": "data", - "id": "def-common.options", + "id": "def-common.SearchSourceDependencies.search.$2", "type": "Object", "tags": [], "label": "options", @@ -24037,9 +24019,8 @@ "label": "FieldTypes", "description": [], "signature": [ - "\"*\" | ", "KBN_FIELD_TYPES", - " | ", + " | \"*\" | ", "KBN_FIELD_TYPES", "[]" ], @@ -24518,7 +24499,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.id", + "id": "def-common.ISearchCancelGeneric.$1", "type": "string", "tags": [], "label": "id", @@ -24528,7 +24509,7 @@ }, { "parentPluginId": "data", - "id": "def-common.options", + "id": "def-common.ISearchCancelGeneric.$2", "type": "Object", "tags": [], "label": "options", @@ -24573,7 +24554,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.id", + "id": "def-common.ISearchExtendGeneric.$1", "type": "string", "tags": [], "label": "id", @@ -24583,7 +24564,7 @@ }, { "parentPluginId": "data", - "id": "def-common.keepAlive", + "id": "def-common.ISearchExtendGeneric.$2", "type": "string", "tags": [], "label": "keepAlive", @@ -24593,7 +24574,7 @@ }, { "parentPluginId": "data", - "id": "def-common.options", + "id": "def-common.ISearchExtendGeneric.$3", "type": "Object", "tags": [], "label": "options", @@ -24672,7 +24653,7 @@ "children": [ { "parentPluginId": "data", - "id": "def-common.request", + "id": "def-common.ISearchGeneric.$1", "type": "Uncategorized", "tags": [], "label": "request", @@ -24685,7 +24666,7 @@ }, { "parentPluginId": "data", - "id": "def-common.options", + "id": "def-common.ISearchGeneric.$2", "type": "Object", "tags": [], "label": "options", @@ -28527,9 +28508,9 @@ "label": "migrateIncludeExcludeFormat", "description": [], "signature": [ - "{ scriptable?: boolean | undefined; filterFieldTypes?: \"*\" | ", + "{ scriptable?: boolean | undefined; filterFieldTypes?: ", "KBN_FIELD_TYPES", - " | ", + " | \"*\" | ", "KBN_FIELD_TYPES", "[] | undefined; makeAgg?: ((agg: ", { diff --git a/api_docs/data_search.mdx b/api_docs/data_search.mdx index 8780d2eb0c22e..4ec672049a391 100644 --- a/api_docs/data_search.mdx +++ b/api_docs/data_search.mdx @@ -18,7 +18,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 3498 | 44 | 2981 | 50 | +| 3099 | 44 | 2738 | 50 | ## Client diff --git a/api_docs/data_ui.json b/api_docs/data_ui.json index e818c846fa1ba..d7c80d5124f5e 100644 --- a/api_docs/data_ui.json +++ b/api_docs/data_ui.json @@ -572,7 +572,7 @@ "section": "def-public.SearchBarProps", "text": "SearchBarProps" }, - ", \"filters\" | \"query\" | \"isClearable\" | \"placeholder\" | \"isLoading\" | \"intl\" | \"indexPatterns\" | \"customSubmitButton\" | \"screenTitle\" | \"dataTestSubj\" | \"showQueryBar\" | \"showQueryInput\" | \"showFilterBar\" | \"showDatePicker\" | \"showAutoRefreshOnly\" | \"isRefreshPaused\" | \"refreshInterval\" | \"dateRangeFrom\" | \"dateRangeTo\" | \"showSaveQuery\" | \"savedQuery\" | \"onQueryChange\" | \"onQuerySubmit\" | \"onSaved\" | \"onSavedQueryUpdated\" | \"onClearSavedQuery\" | \"onRefresh\" | \"indicateNoData\" | \"iconType\" | \"nonKqlMode\" | \"nonKqlModeHelpText\" | \"displayStyle\" | \"timeHistory\" | \"onFiltersUpdated\" | \"onRefreshChange\">, \"filters\" | \"query\" | \"isClearable\" | \"placeholder\" | \"isLoading\" | \"indexPatterns\" | \"customSubmitButton\" | \"screenTitle\" | \"dataTestSubj\" | \"showQueryBar\" | \"showQueryInput\" | \"showFilterBar\" | \"showDatePicker\" | \"showAutoRefreshOnly\" | \"isRefreshPaused\" | \"refreshInterval\" | \"dateRangeFrom\" | \"dateRangeTo\" | \"showSaveQuery\" | \"savedQuery\" | \"onQueryChange\" | \"onQuerySubmit\" | \"onSaved\" | \"onSavedQueryUpdated\" | \"onClearSavedQuery\" | \"onRefresh\" | \"indicateNoData\" | \"iconType\" | \"nonKqlMode\" | \"nonKqlModeHelpText\" | \"displayStyle\" | \"timeHistory\" | \"onFiltersUpdated\" | \"onRefreshChange\">, any> & { WrappedComponent: React.ComponentType, \"filters\" | \"query\" | \"savedQuery\" | \"isClearable\" | \"placeholder\" | \"isLoading\" | \"indexPatterns\" | \"customSubmitButton\" | \"screenTitle\" | \"dataTestSubj\" | \"showQueryBar\" | \"showQueryInput\" | \"showFilterBar\" | \"showDatePicker\" | \"showAutoRefreshOnly\" | \"isRefreshPaused\" | \"refreshInterval\" | \"dateRangeFrom\" | \"dateRangeTo\" | \"showSaveQuery\" | \"onQueryChange\" | \"onQuerySubmit\" | \"onSaved\" | \"onSavedQueryUpdated\" | \"onClearSavedQuery\" | \"onRefresh\" | \"indicateNoData\" | \"iconType\" | \"nonKqlMode\" | \"nonKqlModeHelpText\" | \"displayStyle\" | \"timeHistory\" | \"onFiltersUpdated\" | \"onRefreshChange\">, any> & { WrappedComponent: React.ComponentType & ReactIntl.InjectedIntlProps>; }" + ", \"filters\" | \"query\" | \"savedQuery\" | \"isClearable\" | \"placeholder\" | \"isLoading\" | \"intl\" | \"indexPatterns\" | \"customSubmitButton\" | \"screenTitle\" | \"dataTestSubj\" | \"showQueryBar\" | \"showQueryInput\" | \"showFilterBar\" | \"showDatePicker\" | \"showAutoRefreshOnly\" | \"isRefreshPaused\" | \"refreshInterval\" | \"dateRangeFrom\" | \"dateRangeTo\" | \"showSaveQuery\" | \"onQueryChange\" | \"onQuerySubmit\" | \"onSaved\" | \"onSavedQueryUpdated\" | \"onClearSavedQuery\" | \"onRefresh\" | \"indicateNoData\" | \"iconType\" | \"nonKqlMode\" | \"nonKqlModeHelpText\" | \"displayStyle\" | \"timeHistory\" | \"onFiltersUpdated\" | \"onRefreshChange\"> & ReactIntl.InjectedIntlProps>; }" ], "path": "src/plugins/data/public/ui/search_bar/index.tsx", "deprecated": false, diff --git a/api_docs/data_ui.mdx b/api_docs/data_ui.mdx index 5816012657bb6..35c4a476e66d1 100644 --- a/api_docs/data_ui.mdx +++ b/api_docs/data_ui.mdx @@ -18,7 +18,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 3498 | 44 | 2981 | 50 | +| 3099 | 44 | 2738 | 50 | ## Client diff --git a/api_docs/data_visualizer.json b/api_docs/data_visualizer.json index f646924e9cee0..8537b55996046 100644 --- a/api_docs/data_visualizer.json +++ b/api_docs/data_visualizer.json @@ -234,7 +234,7 @@ "children": [ { "parentPluginId": "dataVisualizer", - "id": "def-public.props", + "id": "def-public.FileDataVisualizerSpec.$1", "type": "CompoundType", "tags": [], "label": "props", @@ -247,7 +247,7 @@ }, { "parentPluginId": "dataVisualizer", - "id": "def-public.context", + "id": "def-public.FileDataVisualizerSpec.$2", "type": "Any", "tags": [], "label": "context", @@ -285,7 +285,7 @@ "children": [ { "parentPluginId": "dataVisualizer", - "id": "def-public.props", + "id": "def-public.IndexDataVisualizerSpec.$1", "type": "CompoundType", "tags": [], "label": "props", @@ -298,7 +298,7 @@ }, { "parentPluginId": "dataVisualizer", - "id": "def-public.context", + "id": "def-public.IndexDataVisualizerSpec.$2", "type": "Any", "tags": [], "label": "context", @@ -542,7 +542,7 @@ "label": "type", "description": [], "signature": [ - "\"number\" | \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"geo_point\" | \"geo_shape\" | \"unknown\" | \"histogram\" | \"text\"" + "\"number\" | \"boolean\" | \"date\" | \"keyword\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"unknown\" | \"histogram\" | \"text\"" ], "path": "x-pack/plugins/data_visualizer/common/types/field_request_config.ts", "deprecated": false @@ -972,7 +972,7 @@ "label": "JobFieldType", "description": [], "signature": [ - "\"number\" | \"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"geo_point\" | \"geo_shape\" | \"unknown\" | \"histogram\" | \"text\"" + "\"number\" | \"boolean\" | \"date\" | \"keyword\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"unknown\" | \"histogram\" | \"text\"" ], "path": "x-pack/plugins/data_visualizer/common/types/job_field_type.ts", "deprecated": false, diff --git a/api_docs/deprecations_by_api.mdx b/api_docs/deprecations_by_api.mdx index 5d2a815cfd84c..82caea2104067 100644 --- a/api_docs/deprecations_by_api.mdx +++ b/api_docs/deprecations_by_api.mdx @@ -13,41 +13,38 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Referencing plugin(s) | Remove By | | ---------------|-----------|-----------| -| | discover, visualizations, dashboard, lens, observability, maps, dashboardEnhanced, discoverEnhanced, securitySolution, visualize, timelion, presentationUtil | 8.1 | +| | discover, visualizations, dashboard, lens, observability, maps, dashboardEnhanced, discoverEnhanced, securitySolution, visualize, presentationUtil | 8.1 | | | lens, timelines, infra, securitySolution, stackAlerts, transform, indexPatternManagement, visTypeTimelion, visTypeVega | 8.1 | -| | canvas, discover, visualizations, dashboard, lens, observability, timelines, maps, infra, dashboardEnhanced, discoverEnhanced, securitySolution, urlDrilldown, inputControlVis, visTypeTimelion, visualize, visTypeVega, presentationUtil, ml, visTypeTimeseries | 8.1 | -| | canvas, discover, visualizations, dashboard, lens, observability, timelines, maps, infra, dashboardEnhanced, discoverEnhanced, securitySolution, urlDrilldown, inputControlVis, visTypeTimelion, visualize, visTypeVega, presentationUtil, ml, visTypeTimeseries | 8.1 | -| | canvas, discover, visualizations, dashboard, lens, observability, timelines, maps, infra, dashboardEnhanced, discoverEnhanced, securitySolution, urlDrilldown, inputControlVis, visTypeTimelion, visualize, visTypeVega, presentationUtil, ml, visTypeTimeseries | 8.1 | -| | indexPatternManagement | 8.1 | -| | visTypeTimeseries, graph, indexPatternManagement | 8.1 | -| | indexPatternManagement | 8.1 | -| | fleet, maps, ml, infra, stackAlerts, indexPatternManagement, lens, visTypeTimeseries | 8.1 | -| | indexPatternManagement | 8.1 | -| | indexPatternManagement | 8.1 | -| | visTypeTimeseries, graph, indexPatternManagement | 8.1 | -| | indexPatternManagement | 8.1 | -| | fleet, maps, ml, infra, stackAlerts, indexPatternManagement, lens, visTypeTimeseries | 8.1 | -| | indexPatternManagement | 8.1 | -| | fleet, maps, ml, infra, stackAlerts, indexPatternManagement, lens, visTypeTimeseries | 8.1 | -| | indexPatternManagement | 8.1 | -| | visTypeTimeseries, graph, indexPatternManagement | 8.1 | -| | indexPatternManagement | 8.1 | +| | discover, visualizations, dashboard, lens, observability, timelines, maps, infra, dashboardEnhanced, discoverEnhanced, securitySolution, urlDrilldown, inputControlVis, visTypeTimelion, visualize, visTypeVega, presentationUtil, ml, visTypeTimeseries | 8.1 | +| | discover, visualizations, dashboard, lens, observability, timelines, maps, infra, dashboardEnhanced, discoverEnhanced, securitySolution, urlDrilldown, inputControlVis, visTypeTimelion, visualize, visTypeVega, presentationUtil, ml, visTypeTimeseries | 8.1 | +| | discover, visualizations, dashboard, lens, observability, timelines, maps, infra, dashboardEnhanced, discoverEnhanced, securitySolution, urlDrilldown, inputControlVis, visTypeTimelion, visualize, visTypeVega, presentationUtil, ml, visTypeTimeseries | 8.1 | | | visTypeTimeseries | 8.1 | | | visTypeTimeseries | 8.1 | +| | visTypeTimeseries, graph, indexPatternManagement | 8.1 | | | visTypeTimeseries | 8.1 | -| | timelines | 8.1 | -| | timelines | 8.1 | -| | timelines | 8.1 | -| | lens, infra, apm, stackAlerts, transform | 8.1 | | | discover, maps, inputControlVis | 8.1 | | | discover, maps, inputControlVis | 8.1 | +| | lens, infra, apm, graph, stackAlerts, transform | 8.1 | +| | fleet, ml, infra, stackAlerts, indexPatternManagement | 8.1 | +| | fleet, ml, infra, stackAlerts, indexPatternManagement | 8.1 | +| | fleet, ml, infra, stackAlerts, indexPatternManagement | 8.1 | | | visualizations, visDefaultEditor | 8.1 | | | visualizations, visDefaultEditor | 8.1 | +| | indexPatternManagement | 8.1 | +| | indexPatternManagement | 8.1 | +| | indexPatternManagement | 8.1 | +| | indexPatternManagement | 8.1 | | | indexPatternFieldEditor, savedObjectsManagement | 8.1 | | | indexPatternFieldEditor, savedObjectsManagement | 8.1 | | | indexPatternFieldEditor, savedObjectsManagement | 8.1 | +| | visTypeTimelion | 8.1 | +| | visTypeTimelion | 8.1 | | | observability | 8.1 | | | observability | 8.1 | +| | visualize | 8.1 | +| | timelines | 8.1 | +| | timelines | 8.1 | +| | timelines | 8.1 | | | dashboardEnhanced | 8.1 | | | dashboardEnhanced | 8.1 | | | discoverEnhanced | 8.1 | @@ -56,54 +53,74 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | | actions, alerting, cases, dataEnhanced | 8.1 | | | cases, alerting, dataEnhanced | 8.1 | | | cases, alerting, dataEnhanced | 8.1 | -| | visTypeTimelion | 8.1 | -| | visTypeTimelion | 8.1 | | | security, reporting, apm, infra, securitySolution | 7.16 | | | security, reporting, apm, infra, securitySolution | 7.16 | | | security | 7.16 | | | securitySolution | - | +| | visTypeTimeseries, reporting, discover, observability, infra, maps, ml, apm, lens, osquery, securitySolution, transform, dataVisualizer, uptime, savedObjects, visualizations, indexPatternFieldEditor, dashboard, graph, stackAlerts, indexPatternEditor, indexPatternManagement, inputControlVis, savedObjectsManagement, visualize, visDefaultEditor, visTypeTable, visTypeVega | - | +| | indexPatternFieldEditor, discover, maps, dataVisualizer, securitySolution, indexPatternEditor, indexPatternManagement, inputControlVis, visDefaultEditor, visTypeTimeseries, lens | - | | | timelines, infra, ml, securitySolution, indexPatternManagement, stackAlerts, transform | - | +| | home, savedObjects, security, fleet, indexPatternFieldEditor, discover, visualizations, dashboard, lens, observability, maps, fileUpload, dataVisualizer, ml, infra, apm, graph, osquery, securitySolution, stackAlerts, transform, upgradeAssistant, indexPatternEditor, indexPatternManagement, inputControlVis, kibanaOverview, savedObjectsManagement, visualize, visTypeTimelion, visTypeTimeseries, visTypeVega | - | +| | visTypeTimeseries, reporting, discover, observability, infra, maps, ml, apm, lens, osquery, securitySolution, transform, dataVisualizer, uptime, savedObjects, visualizations, indexPatternFieldEditor, dashboard, graph, stackAlerts, indexPatternEditor, indexPatternManagement, inputControlVis, savedObjectsManagement, visualize, visDefaultEditor, visTypeTable, visTypeVega | - | +| | indexPatternFieldEditor, discover, maps, dataVisualizer, securitySolution, indexPatternEditor, indexPatternManagement, inputControlVis, visDefaultEditor, visTypeTimeseries, lens | - | | | timelines, infra, ml, securitySolution, indexPatternManagement, stackAlerts, transform | - | +| | indexPatternFieldEditor, discover, maps, dataVisualizer, securitySolution, indexPatternEditor, indexPatternManagement, inputControlVis, visDefaultEditor, visTypeTimeseries, lens | - | +| | visTypeTimeseries, reporting, discover, observability, infra, maps, ml, apm, lens, osquery, securitySolution, transform, dataVisualizer, uptime, savedObjects, visualizations, indexPatternFieldEditor, dashboard, graph, stackAlerts, indexPatternEditor, indexPatternManagement, inputControlVis, savedObjectsManagement, visualize, visDefaultEditor, visTypeTable, visTypeVega | - | | | apm, security, securitySolution | - | | | apm, security, securitySolution | - | | | reporting, encryptedSavedObjects, actions, ml, dataEnhanced, logstash, securitySolution | - | | | dashboard, lens, maps, ml, securitySolution, security, visualize | - | | | securitySolution | - | -| | fleet, indexPatternFieldEditor, discover, dashboard, lens, ml, stackAlerts, indexPatternManagement, visTypeMetric, visTypeTable, visTypeTimeseries, visTypePie, visTypeXy, visTypeVislib | - | -| | embeddable, discover, presentationUtil, dashboard, graph | - | +| | visTypeTimeseries, maps, lens, discover | - | +| | fleet, indexPatternFieldEditor, discover, dashboard, lens, ml, stackAlerts, indexPatternManagement, visTypeTable, visTypeTimeseries, visTypeMetric, visTypePie, visTypeXy, visTypeVislib | - | +| | visTypeTimeseries, maps, lens, discover | - | +| | visTypeTimeseries, maps, lens, discover | - | +| | discover, infra, savedObjects, security, visualizations, dashboard, lens, ml, graph, stackAlerts, transform, indexPatternManagement, inputControlVis, savedObjectsManagement, visTypeTimelion, maps, observability | - | +| | discover, infra, savedObjects, security, visualizations, dashboard, lens, ml, graph, stackAlerts, transform, indexPatternManagement, inputControlVis, savedObjectsManagement, visTypeTimelion, maps, observability | - | +| | dashboard, maps, graph, visualize | - | | | spaces, security, reporting, actions, alerting, ml, fleet, remoteClusters, graph, indexLifecycleManagement, maps, painlessLab, rollup, searchprofiler, snapshotRestore, transform, upgradeAssistant | - | -| | security, licenseManagement, ml, fleet, apm, reporting, crossClusterReplication, logstash, painlessLab, searchprofiler, watcher | - | -| | actions, ml, enterpriseSearch, savedObjectsTagging | - | -| | ml | - | -| | management, fleet, security, kibanaOverview, timelion | - | -| | fleet | - | -| | dashboard, maps, visualize | - | | | lens, dashboard | - | -| | visualizations, discover, dashboard, savedObjectsManagement, timelion | - | -| | savedObjectsTaggingOss, visualizations, discover, dashboard, savedObjectsManagement, visualize, visDefaultEditor | - | -| | discover, visualizations, dashboard, timelion | - | -| | reporting | - | -| | reporting | - | -| | reporting | - | +| | discover, ml, transform, canvas | - | | | discover | - | +| | discover, ml, transform, canvas | - | | | discover | - | +| | discover, ml, transform, canvas | - | +| | embeddable, discover, presentationUtil, dashboard, graph | - | +| | visualizations, discover, dashboard, savedObjectsManagement | - | +| | discover, savedObjectsTaggingOss, visualizations, dashboard, visualize, visDefaultEditor | - | +| | discover, visualizations, dashboard | - | | | data, discover, embeddable | - | | | advancedSettings, discover | - | | | advancedSettings, discover | - | +| | security | - | +| | security | - | +| | security, licenseManagement, ml, fleet, apm, reporting, crossClusterReplication, logstash, painlessLab, searchprofiler, watcher | - | +| | management, fleet, security, kibanaOverview | - | +| | visualizations, dashboard | - | +| | visualizations, dashboard | - | +| | visualizations, dashboard | - | +| | actions, ml, enterpriseSearch, savedObjectsTagging | - | +| | ml | - | +| | indexPatternManagement | - | +| | indexPatternManagement | - | | | spaces, savedObjectsManagement | - | | | spaces, savedObjectsManagement | - | +| | observability, indexPatternEditor, apm | - | +| | observability, indexPatternEditor, apm | - | +| | reporting | - | +| | reporting | - | +| | reporting | - | +| | cloud, apm | - | +| | osquery | - | | | visTypeTable | - | -| | canvas, visTypePie, visTypeXy | - | +| | visTypeVega | - | +| | monitoring, visTypeVega | - | +| | fleet | - | | | canvas, visTypeXy | - | +| | canvas, visTypePie, visTypeXy | - | | | canvas, visTypeXy | - | | | canvas, visTypeXy | - | | | encryptedSavedObjects, actions, alerting | - | -| | cloud, apm | - | -| | visTypeVega | - | -| | monitoring, visTypeVega | - | -| | osquery | - | -| | security | - | -| | security | - | | | console | - | @@ -115,10 +132,7 @@ Safe to remove. | ---------------| | | | | -| | -| | -| | -| | +| | | | | | | | @@ -140,7 +154,6 @@ Safe to remove. | | | | | | -| | | | | | | | @@ -170,13 +183,14 @@ Safe to remove. | | | | | | -| | -| | -| | +| | +| | +| | +| | +| | +| | | | | | -| | -| | | | | | | | @@ -189,8 +203,8 @@ Safe to remove. | | | | | | -| | | | +| | | | | | | | diff --git a/api_docs/deprecations_by_plugin.mdx b/api_docs/deprecations_by_plugin.mdx index de62579ee05dc..75eac66df04a1 100644 --- a/api_docs/deprecations_by_plugin.mdx +++ b/api_docs/deprecations_by_plugin.mdx @@ -47,10 +47,16 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| +| | [SelectedFilters.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx#:~:text=IndexPattern), [SelectedFilters.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx#:~:text=IndexPattern), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPattern), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=IndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=IndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=IndexPattern) | - | +| | [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPatternSpec), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPatternSpec) | - | +| | [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=indexPatterns) | - | | | [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=esKuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=esKuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=esKuery) | 8.1 | +| | [SelectedFilters.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx#:~:text=IndexPattern), [SelectedFilters.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx#:~:text=IndexPattern), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPattern), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=IndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=IndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=IndexPattern) | - | +| | [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPatternSpec), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPatternSpec) | - | +| | [SelectedFilters.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx#:~:text=IndexPattern), [SelectedFilters.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/SelectedFilters.tsx#:~:text=IndexPattern), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPattern), [use_index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/app/RumDashboard/LocalUIFilters/use_index_pattern.ts#:~:text=IndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=IndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=IndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx#:~:text=IndexPattern) | - | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/plugin.ts#:~:text=environment) | - | -| | [license_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/context/license/license_context.tsx#:~:text=license%24) | - | | | [license_check.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode)+ 2 more | - | +| | [license_context.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/public/context/license/license_context.tsx#:~:text=license%24) | - | | | [license_check.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode), [license_check.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/common/license_check.test.ts#:~:text=mode)+ 2 more | - | | | [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/server/routes/index_pattern.ts#:~:text=spacesService) | 7.16 | | | [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/apm/server/routes/index_pattern.ts#:~:text=getSpaceId) | 7.16 | @@ -61,9 +67,9 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [saved_lens.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.ts#:~:text=Filter), [saved_lens.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/target/types/canvas_plugin_src/functions/external/saved_lens.d.ts#:~:text=Filter), [saved_lens.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.ts#:~:text=Filter), [saved_lens.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.ts#:~:text=Filter), [saved_lens.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/target/types/canvas_plugin_src/functions/external/saved_lens.d.ts#:~:text=Filter), [saved_lens.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/target/types/canvas_plugin_src/functions/external/saved_lens.d.ts#:~:text=Filter) | 8.1 | -| | [saved_lens.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.ts#:~:text=Filter), [saved_lens.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/target/types/canvas_plugin_src/functions/external/saved_lens.d.ts#:~:text=Filter), [saved_lens.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.ts#:~:text=Filter), [saved_lens.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.ts#:~:text=Filter), [saved_lens.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/target/types/canvas_plugin_src/functions/external/saved_lens.d.ts#:~:text=Filter), [saved_lens.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/target/types/canvas_plugin_src/functions/external/saved_lens.d.ts#:~:text=Filter) | 8.1 | -| | [saved_lens.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.ts#:~:text=Filter), [saved_lens.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/target/types/canvas_plugin_src/functions/external/saved_lens.d.ts#:~:text=Filter), [saved_lens.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.ts#:~:text=Filter), [saved_lens.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/canvas_plugin_src/functions/external/saved_lens.ts#:~:text=Filter), [saved_lens.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/target/types/canvas_plugin_src/functions/external/saved_lens.d.ts#:~:text=Filter), [saved_lens.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/target/types/canvas_plugin_src/functions/external/saved_lens.d.ts#:~:text=Filter) | 8.1 | +| | [es_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/lib/es_service.ts#:~:text=IndexPatternAttributes), [es_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/lib/es_service.ts#:~:text=IndexPatternAttributes), [es_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/lib/es_service.ts#:~:text=IndexPatternAttributes) | - | +| | [es_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/lib/es_service.ts#:~:text=IndexPatternAttributes), [es_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/lib/es_service.ts#:~:text=IndexPatternAttributes), [es_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/lib/es_service.ts#:~:text=IndexPatternAttributes) | - | +| | [es_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/lib/es_service.ts#:~:text=IndexPatternAttributes), [es_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/lib/es_service.ts#:~:text=IndexPatternAttributes), [es_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/lib/es_service.ts#:~:text=IndexPatternAttributes) | - | | | [filters.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/functions/filters.ts#:~:text=context), [escount.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/escount.ts#:~:text=context), [esdocs.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/esdocs.ts#:~:text=context), [essql.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/essql.ts#:~:text=context), [neq.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/canvas_plugin_src/functions/common/neq.ts#:~:text=context), [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/index.ts#:~:text=context), [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/index.ts#:~:text=context) | - | | | [state.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/types/state.ts#:~:text=Render), [state.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/types/state.ts#:~:text=Render), [state.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/target/types/types/state.d.ts#:~:text=Render), [state.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/target/types/types/state.d.ts#:~:text=Render), [markdown.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/markdown.ts#:~:text=Render), [markdown.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/markdown.ts#:~:text=Render), [timefilterControl.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/canvas_plugin_src/functions/common/timefilterControl.ts#:~:text=Render), [timefilterControl.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/canvas_plugin_src/functions/common/timefilterControl.ts#:~:text=Render), [pie.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/functions/pie.ts#:~:text=Render), [pie.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/functions/pie.ts#:~:text=Render)+ 6 more | - | | | [filters.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/public/functions/filters.ts#:~:text=context), [escount.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/escount.ts#:~:text=context), [esdocs.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/esdocs.ts#:~:text=context), [essql.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/canvas_plugin_src/functions/browser/essql.ts#:~:text=context), [neq.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/canvas_plugin_src/functions/common/neq.ts#:~:text=context), [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/canvas_plugin_src/functions/server/pointseries/index.ts#:~:text=context), [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/canvas/canvas_plugin_src/functions/server/demodata/index.ts#:~:text=context) | - | @@ -110,10 +116,19 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| +| | [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPatternsContract), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPatternsContract), [make_default_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/test_helpers/make_default_services.ts#:~:text=IndexPatternsContract), [make_default_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/test_helpers/make_default_services.ts#:~:text=IndexPatternsContract) | - | +| | [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPattern) | - | +| | [replace_index_pattern_reference.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [replace_index_pattern_reference.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [dashboard_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [dashboard_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [dashboard_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE) | - | +| | [dashboard_router.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/dashboard_router.tsx#:~:text=indexPatterns), [dashboard_router.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/dashboard_router.tsx#:~:text=indexPatterns) | - | | | [export_csv_action.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/actions/export_csv_action.tsx#:~:text=fieldFormats) | - | -| | [save_dashboard.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/save_dashboard.ts#:~:text=esFilters), [save_dashboard.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/save_dashboard.ts#:~:text=esFilters), [diff_dashboard_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts#:~:text=esFilters), [diff_dashboard_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts#:~:text=esFilters), [diff_dashboard_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts#:~:text=esFilters), [diff_dashboard_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts#:~:text=esFilters), [sync_dashboard_container_input.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_container_input.ts#:~:text=esFilters), [sync_dashboard_container_input.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_container_input.ts#:~:text=esFilters), [sync_dashboard_container_input.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_container_input.ts#:~:text=esFilters), [plugin.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/plugin.tsx#:~:text=esFilters)+ 16 more | 8.1 | +| | [save_dashboard.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/save_dashboard.ts#:~:text=esFilters), [save_dashboard.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/save_dashboard.ts#:~:text=esFilters), [diff_dashboard_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts#:~:text=esFilters), [diff_dashboard_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts#:~:text=esFilters), [diff_dashboard_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts#:~:text=esFilters), [diff_dashboard_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/diff_dashboard_state.ts#:~:text=esFilters), [sync_dashboard_container_input.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_container_input.ts#:~:text=esFilters), [sync_dashboard_container_input.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_container_input.ts#:~:text=esFilters), [sync_dashboard_container_input.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_container_input.ts#:~:text=esFilters), [plugin.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/plugin.tsx#:~:text=esFilters)+ 15 more | 8.1 | | | [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [saved_dashboard.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts#:~:text=Filter), [saved_dashboard.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts#:~:text=Filter), [dashboard_state_slice.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/state/dashboard_state_slice.ts#:~:text=Filter), [dashboard_state_slice.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/state/dashboard_state_slice.ts#:~:text=Filter), [dashboard_state_slice.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/state/dashboard_state_slice.ts#:~:text=Filter)+ 25 more | 8.1 | +| | [replace_index_pattern_reference.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [replace_index_pattern_reference.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [dashboard_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [dashboard_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [dashboard_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE) | - | | | [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [saved_dashboard.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts#:~:text=Filter), [saved_dashboard.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts#:~:text=Filter), [dashboard_state_slice.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/state/dashboard_state_slice.ts#:~:text=Filter), [dashboard_state_slice.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/state/dashboard_state_slice.ts#:~:text=Filter), [dashboard_state_slice.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/state/dashboard_state_slice.ts#:~:text=Filter)+ 25 more | 8.1 | +| | [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPatternsContract), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPatternsContract), [make_default_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/test_helpers/make_default_services.ts#:~:text=IndexPatternsContract), [make_default_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/test_helpers/make_default_services.ts#:~:text=IndexPatternsContract) | - | +| | [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPattern) | - | +| | [replace_index_pattern_reference.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [replace_index_pattern_reference.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/replace_index_pattern_reference.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [dashboard_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [dashboard_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [dashboard_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/server/saved_objects/dashboard_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE) | - | +| | [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [sync_dashboard_index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/sync_dashboard_index_patterns.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=IndexPattern) | - | | | [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [filter_utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/lib/filter_utils.ts#:~:text=Filter), [saved_dashboard.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts#:~:text=Filter), [saved_dashboard.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts#:~:text=Filter), [dashboard_state_slice.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/state/dashboard_state_slice.ts#:~:text=Filter), [dashboard_state_slice.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/state/dashboard_state_slice.ts#:~:text=Filter), [dashboard_state_slice.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/state/dashboard_state_slice.ts#:~:text=Filter)+ 25 more | 8.1 | | | [saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/services/saved_objects.ts#:~:text=SavedObjectSaveModal), [save_modal.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/top_nav/save_modal.tsx#:~:text=SavedObjectSaveModal), [save_modal.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/top_nav/save_modal.tsx#:~:text=SavedObjectSaveModal) | - | | | [saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/services/saved_objects.ts#:~:text=SavedObjectLoader), [saved_dashboards.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/saved_dashboards/saved_dashboards.ts#:~:text=SavedObjectLoader), [saved_dashboards.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/saved_dashboards/saved_dashboards.ts#:~:text=SavedObjectLoader), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=SavedObjectLoader), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/types.ts#:~:text=SavedObjectLoader), [plugin.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/plugin.tsx#:~:text=SavedObjectLoader), [plugin.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/plugin.tsx#:~:text=SavedObjectLoader), [make_default_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/test_helpers/make_default_services.ts#:~:text=SavedObjectLoader), [make_default_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/application/test_helpers/make_default_services.ts#:~:text=SavedObjectLoader), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/dashboard/public/url_generator.ts#:~:text=SavedObjectLoader)+ 3 more | - | @@ -158,22 +173,51 @@ warning: This document is auto-generated and is meant to be viewed inside our ex +## dataVisualizer + +| Deprecated API | Reference location(s) | Remove By | +| ---------------|-----------|-----------| +| | [actions_panel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx#:~:text=IndexPattern), [actions_panel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx#:~:text=IndexPattern), [full_time_range_selector_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector_service.ts#:~:text=IndexPattern), [full_time_range_selector_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector_service.ts#:~:text=IndexPattern), [full_time_range_selector.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx#:~:text=IndexPattern), [full_time_range_selector.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx#:~:text=IndexPattern), [full_time_range_selector.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx#:~:text=IndexPattern), [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=IndexPattern), [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=IndexPattern), [full_time_range_selector.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/target/types/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.d.ts#:~:text=IndexPattern)+ 23 more | - | +| | [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=IndexPatternField), [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=IndexPatternField), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts#:~:text=IndexPatternField), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts#:~:text=IndexPatternField) | - | +| | [file_data_visualizer.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/file_data_visualizer/file_data_visualizer.tsx#:~:text=indexPatterns), [index_data_visualizer.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/index_data_visualizer.tsx#:~:text=indexPatterns) | - | +| | [actions_panel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx#:~:text=IndexPattern), [actions_panel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx#:~:text=IndexPattern), [full_time_range_selector_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector_service.ts#:~:text=IndexPattern), [full_time_range_selector_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector_service.ts#:~:text=IndexPattern), [full_time_range_selector.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx#:~:text=IndexPattern), [full_time_range_selector.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx#:~:text=IndexPattern), [full_time_range_selector.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx#:~:text=IndexPattern), [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=IndexPattern), [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=IndexPattern), [full_time_range_selector.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/target/types/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.d.ts#:~:text=IndexPattern)+ 23 more | - | +| | [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=IndexPatternField), [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=IndexPatternField), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts#:~:text=IndexPatternField), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts#:~:text=IndexPatternField) | - | +| | [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=IndexPatternField), [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=IndexPatternField), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts#:~:text=IndexPatternField), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/common/util/field_types_utils.ts#:~:text=IndexPatternField) | - | +| | [actions_panel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx#:~:text=IndexPattern), [actions_panel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/actions_panel/actions_panel.tsx#:~:text=IndexPattern), [full_time_range_selector_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector_service.ts#:~:text=IndexPattern), [full_time_range_selector_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector_service.ts#:~:text=IndexPattern), [full_time_range_selector.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx#:~:text=IndexPattern), [full_time_range_selector.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx#:~:text=IndexPattern), [full_time_range_selector.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.tsx#:~:text=IndexPattern), [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=IndexPattern), [index_data_visualizer_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/public/application/index_data_visualizer/components/index_data_visualizer_view/index_data_visualizer_view.tsx#:~:text=IndexPattern), [full_time_range_selector.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/data_visualizer/target/types/public/application/index_data_visualizer/components/full_time_range_selector/full_time_range_selector.d.ts#:~:text=IndexPattern)+ 23 more | - | + + + ## discover | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| +| | [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService) | - | +| | [use_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/use_index_pattern.tsx#:~:text=IndexPatternsContract), [use_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/use_index_pattern.tsx#:~:text=IndexPatternsContract), [resolve_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts#:~:text=IndexPatternsContract), [resolve_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts#:~:text=IndexPatternsContract), [build_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/build_services.ts#:~:text=IndexPatternsContract), [build_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/build_services.ts#:~:text=IndexPatternsContract), [kibana_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/kibana_services.ts#:~:text=IndexPatternsContract), [use_data_grid_columns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/use_data_grid_columns.ts#:~:text=IndexPatternsContract), [use_data_grid_columns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/use_data_grid_columns.ts#:~:text=IndexPatternsContract), [popularize_field.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.ts#:~:text=IndexPatternsContract)+ 17 more | - | +| | [get_fields_to_show.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/get_fields_to_show.ts#:~:text=IndexPattern), [get_fields_to_show.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/get_fields_to_show.ts#:~:text=IndexPattern), [columns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/columns.ts#:~:text=IndexPattern), [columns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/columns.ts#:~:text=IndexPattern), [update_search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/helpers/update_search_source.ts#:~:text=IndexPattern), [update_search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/helpers/update_search_source.ts#:~:text=IndexPattern), [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx#:~:text=IndexPattern), [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx#:~:text=IndexPattern), [use_es_doc_search.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/services/use_es_doc_search.ts#:~:text=IndexPattern), [use_es_doc_search.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/services/use_es_doc_search.ts#:~:text=IndexPattern)+ 136 more | - | +| | [kibana_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/kibana_services.ts#:~:text=IndexPatternField), [doc_table_wrapper.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx#:~:text=IndexPatternField), [doc_table_wrapper.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx#:~:text=IndexPatternField), [field_name.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/field_name/field_name.tsx#:~:text=IndexPatternField), [field_name.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/field_name/field_name.tsx#:~:text=IndexPatternField), [table_cell_actions.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/table/table_cell_actions.tsx#:~:text=IndexPatternField), [table_cell_actions.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/table/table_cell_actions.tsx#:~:text=IndexPatternField), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/table/table.tsx#:~:text=IndexPatternField), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/table/table.tsx#:~:text=IndexPatternField), [discover_field_bucket.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx#:~:text=IndexPatternField)+ 92 more | - | +| | [discover_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx#:~:text=IndexPatternAttributes), [discover_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx#:~:text=IndexPatternAttributes), [discover_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts#:~:text=IndexPatternAttributes), [discover_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts#:~:text=IndexPatternAttributes), [discover_sidebar_responsive.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx#:~:text=IndexPatternAttributes), [discover_sidebar_responsive.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx#:~:text=IndexPatternAttributes), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/layout/types.ts#:~:text=IndexPatternAttributes), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/layout/types.ts#:~:text=IndexPatternAttributes), [discover_main_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/discover_main_app.tsx#:~:text=IndexPatternAttributes), [discover_main_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/discover_main_app.tsx#:~:text=IndexPatternAttributes)+ 3 more | - | | | [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx#:~:text=create), [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx#:~:text=create) | - | -| | [fetch_hits_in_interval.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/angular/context/api/utils/fetch_hits_in_interval.ts#:~:text=fetch), [anchor.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/angular/context/api/anchor.ts#:~:text=fetch) | 8.1 | +| | [anchor.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/context/services/anchor.ts#:~:text=fetch), [fetch_hits_in_interval.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/context/services/utils/fetch_hits_in_interval.ts#:~:text=fetch) | 8.1 | +| | [build_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/build_services.ts#:~:text=indexPatterns), [source_viewer.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/source_viewer/source_viewer.tsx#:~:text=indexPatterns), [discover_main_route.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/discover_main_route.tsx#:~:text=indexPatterns), [discover_main_route.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/discover_main_route.tsx#:~:text=indexPatterns), [discover_main_route.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/discover_main_route.tsx#:~:text=indexPatterns), [plugin.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/plugin.tsx#:~:text=indexPatterns) | - | | | [histogram.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/chart/histogram.tsx#:~:text=fieldFormats) | - | | | [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=esFilters), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=esFilters), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=esFilters), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=esFilters), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=esFilters), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=esFilters), [get_context_url.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/get_context_url.tsx#:~:text=esFilters), [get_context_url.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/get_context_url.tsx#:~:text=esFilters), [discover_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/services/discover_state.ts#:~:text=esFilters), [discover_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/services/discover_state.ts#:~:text=esFilters)+ 17 more | 8.1 | -| | [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/types.ts#:~:text=Filter), [context.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/angular/context/api/context.ts#:~:text=Filter), [context.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/angular/context/api/context.ts#:~:text=Filter)+ 21 more | 8.1 | -| | [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/types.ts#:~:text=Filter), [context.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/angular/context/api/context.ts#:~:text=Filter), [context.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/angular/context/api/context.ts#:~:text=Filter)+ 21 more | 8.1 | +| | [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/types.ts#:~:text=Filter), [discover_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/services/discover_state.ts#:~:text=Filter), [discover_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/services/discover_state.ts#:~:text=Filter)+ 21 more | 8.1 | +| | [discover_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx#:~:text=IndexPatternAttributes), [discover_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx#:~:text=IndexPatternAttributes), [discover_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts#:~:text=IndexPatternAttributes), [discover_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts#:~:text=IndexPatternAttributes), [discover_sidebar_responsive.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx#:~:text=IndexPatternAttributes), [discover_sidebar_responsive.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx#:~:text=IndexPatternAttributes), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/layout/types.ts#:~:text=IndexPatternAttributes), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/layout/types.ts#:~:text=IndexPatternAttributes), [discover_main_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/discover_main_app.tsx#:~:text=IndexPatternAttributes), [discover_main_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/discover_main_app.tsx#:~:text=IndexPatternAttributes)+ 3 more | - | +| | [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/types.ts#:~:text=Filter), [discover_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/services/discover_state.ts#:~:text=Filter), [discover_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/services/discover_state.ts#:~:text=Filter)+ 21 more | 8.1 | +| | [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService) | - | +| | [use_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/use_index_pattern.tsx#:~:text=IndexPatternsContract), [use_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/use_index_pattern.tsx#:~:text=IndexPatternsContract), [resolve_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts#:~:text=IndexPatternsContract), [resolve_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts#:~:text=IndexPatternsContract), [build_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/build_services.ts#:~:text=IndexPatternsContract), [build_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/build_services.ts#:~:text=IndexPatternsContract), [kibana_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/kibana_services.ts#:~:text=IndexPatternsContract), [use_data_grid_columns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/use_data_grid_columns.ts#:~:text=IndexPatternsContract), [use_data_grid_columns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/use_data_grid_columns.ts#:~:text=IndexPatternsContract), [popularize_field.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.ts#:~:text=IndexPatternsContract)+ 17 more | - | +| | [get_fields_to_show.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/get_fields_to_show.ts#:~:text=IndexPattern), [get_fields_to_show.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/get_fields_to_show.ts#:~:text=IndexPattern), [columns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/columns.ts#:~:text=IndexPattern), [columns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/columns.ts#:~:text=IndexPattern), [update_search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/helpers/update_search_source.ts#:~:text=IndexPattern), [update_search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/helpers/update_search_source.ts#:~:text=IndexPattern), [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx#:~:text=IndexPattern), [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx#:~:text=IndexPattern), [use_es_doc_search.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/services/use_es_doc_search.ts#:~:text=IndexPattern), [use_es_doc_search.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/services/use_es_doc_search.ts#:~:text=IndexPattern)+ 136 more | - | +| | [kibana_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/kibana_services.ts#:~:text=IndexPatternField), [doc_table_wrapper.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx#:~:text=IndexPatternField), [doc_table_wrapper.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx#:~:text=IndexPatternField), [field_name.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/field_name/field_name.tsx#:~:text=IndexPatternField), [field_name.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/field_name/field_name.tsx#:~:text=IndexPatternField), [table_cell_actions.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/table/table_cell_actions.tsx#:~:text=IndexPatternField), [table_cell_actions.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/table/table_cell_actions.tsx#:~:text=IndexPatternField), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/table/table.tsx#:~:text=IndexPatternField), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/table/table.tsx#:~:text=IndexPatternField), [discover_field_bucket.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx#:~:text=IndexPatternField)+ 92 more | - | | | [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx#:~:text=create), [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx#:~:text=create) | - | -| | [fetch_hits_in_interval.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/angular/context/api/utils/fetch_hits_in_interval.ts#:~:text=fetch), [anchor.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/angular/context/api/anchor.ts#:~:text=fetch) | 8.1 | -| | [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/types.ts#:~:text=Filter), [context.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/angular/context/api/context.ts#:~:text=Filter), [context.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/angular/context/api/context.ts#:~:text=Filter)+ 21 more | 8.1 | +| | [anchor.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/context/services/anchor.ts#:~:text=fetch), [fetch_hits_in_interval.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/context/services/utils/fetch_hits_in_interval.ts#:~:text=fetch) | 8.1 | +| | [kibana_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/kibana_services.ts#:~:text=IndexPatternField), [doc_table_wrapper.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx#:~:text=IndexPatternField), [doc_table_wrapper.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx#:~:text=IndexPatternField), [field_name.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/field_name/field_name.tsx#:~:text=IndexPatternField), [field_name.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/field_name/field_name.tsx#:~:text=IndexPatternField), [table_cell_actions.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/table/table_cell_actions.tsx#:~:text=IndexPatternField), [table_cell_actions.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/table/table_cell_actions.tsx#:~:text=IndexPatternField), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/table/table.tsx#:~:text=IndexPatternField), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/components/table/table.tsx#:~:text=IndexPatternField), [discover_field_bucket.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_field_bucket.tsx#:~:text=IndexPatternField)+ 92 more | - | +| | [discover_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx#:~:text=IndexPatternAttributes), [discover_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx#:~:text=IndexPatternAttributes), [discover_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts#:~:text=IndexPatternAttributes), [discover_index_pattern.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/apps/main/components/sidebar/discover_index_pattern.d.ts#:~:text=IndexPatternAttributes), [discover_sidebar_responsive.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx#:~:text=IndexPatternAttributes), [discover_sidebar_responsive.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/sidebar/discover_sidebar_responsive.tsx#:~:text=IndexPatternAttributes), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/layout/types.ts#:~:text=IndexPatternAttributes), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/layout/types.ts#:~:text=IndexPatternAttributes), [discover_main_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/discover_main_app.tsx#:~:text=IndexPatternAttributes), [discover_main_app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/discover_main_app.tsx#:~:text=IndexPatternAttributes)+ 3 more | - | +| | [get_fields_to_show.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/get_fields_to_show.ts#:~:text=IndexPattern), [get_fields_to_show.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/get_fields_to_show.ts#:~:text=IndexPattern), [columns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/columns.ts#:~:text=IndexPattern), [columns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/columns.ts#:~:text=IndexPattern), [update_search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/helpers/update_search_source.ts#:~:text=IndexPattern), [update_search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/helpers/update_search_source.ts#:~:text=IndexPattern), [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx#:~:text=IndexPattern), [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx#:~:text=IndexPattern), [use_es_doc_search.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/services/use_es_doc_search.ts#:~:text=IndexPattern), [use_es_doc_search.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/services/use_es_doc_search.ts#:~:text=IndexPattern)+ 136 more | - | +| | [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [popularize_field.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/helpers/popularize_field.test.ts#:~:text=IndexPatternsService), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/__mocks__/index_patterns.ts#:~:text=IndexPatternsService)+ 6 more | - | +| | [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [url_generator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/url_generator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/locator.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/types.ts#:~:text=Filter), [discover_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/services/discover_state.ts#:~:text=Filter), [discover_state.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/services/discover_state.ts#:~:text=Filter)+ 21 more | 8.1 | | | [on_save_search.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx#:~:text=SavedObjectSaveModal), [on_save_search.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/components/top_nav/on_save_search.tsx#:~:text=SavedObjectSaveModal) | - | | | [saved_searches.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/saved_searches/saved_searches.ts#:~:text=SavedObjectLoader), [saved_searches.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/saved_searches/saved_searches.ts#:~:text=SavedObjectLoader), [plugin.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/plugin.tsx#:~:text=SavedObjectLoader), [plugin.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/plugin.tsx#:~:text=SavedObjectLoader) | - | -| | [_saved_search.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/saved_searches/_saved_search.ts#:~:text=SavedObject), [_saved_search.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/saved_searches/_saved_search.ts#:~:text=SavedObject) | - | +| | [discover_main_route.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/discover_main_route.tsx#:~:text=SavedObject), [_saved_search.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/saved_searches/_saved_search.ts#:~:text=SavedObject), [_saved_search.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/saved_searches/_saved_search.ts#:~:text=SavedObject), [discover_main_route.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/discover_main_route.tsx#:~:text=SavedObject), [discover_main_route.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/apps/main/discover_main_route.tsx#:~:text=SavedObject) | - | | | [_saved_search.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/saved_searches/_saved_search.ts#:~:text=SavedObjectClass) | - | | | [saved_search_embeddable.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/saved_search_embeddable.tsx#:~:text=executeTriggerActions), [search_embeddable_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/application/embeddable/search_embeddable_factory.ts#:~:text=executeTriggerActions), [plugin.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/discover/public/plugin.tsx#:~:text=executeTriggerActions), [search_embeddable_factory.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/target/types/public/application/embeddable/search_embeddable_factory.d.ts#:~:text=executeTriggerActions) | - | | | [ui_settings.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/server/ui_settings.ts#:~:text=metric), [ui_settings.ts](https://github.com/elastic/kibana/tree/master/src/plugins/discover/server/ui_settings.ts#:~:text=metric) | - | @@ -220,11 +264,20 @@ warning: This document is auto-generated and is meant to be viewed inside our ex +## fileUpload + +| Deprecated API | Reference location(s) | Remove By | +| ---------------|-----------|-----------| +| | [kibana_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/file_upload/public/kibana_services.ts#:~:text=indexPatterns) | - | + + + ## fleet | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| | | [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=IFieldType), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=IFieldType), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=IFieldType), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=IFieldType), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=IFieldType), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=IFieldType) | 8.1 | +| | [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=indexPatterns), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=indexPatterns), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=indexPatterns), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=indexPatterns) | - | | | [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/data_stream/list_page/index.tsx#:~:text=fieldFormats) | - | | | [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=IFieldType), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=IFieldType), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=IFieldType), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=IFieldType), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=IFieldType), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=IFieldType) | 8.1 | | | [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=IFieldType), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=IFieldType), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/components/search_bar.tsx#:~:text=IFieldType), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=IFieldType), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=IFieldType), [query_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/fleet/public/applications/fleet/sections/agents/agent_details_page/components/agent_logs/query_bar.tsx#:~:text=IFieldType) | 8.1 | @@ -239,14 +292,28 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=getNonScriptedFields), [datasource.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/state_management/datasource.test.ts#:~:text=getNonScriptedFields), [deserialize.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.test.ts#:~:text=getNonScriptedFields), [deserialize.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.test.ts#:~:text=getNonScriptedFields) | 8.1 | -| | [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=getNonScriptedFields), [datasource.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/state_management/datasource.test.ts#:~:text=getNonScriptedFields), [deserialize.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.test.ts#:~:text=getNonScriptedFields), [deserialize.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.test.ts#:~:text=getNonScriptedFields) | 8.1 | -| | [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=getNonScriptedFields), [datasource.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/state_management/datasource.test.ts#:~:text=getNonScriptedFields), [deserialize.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.test.ts#:~:text=getNonScriptedFields), [deserialize.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.test.ts#:~:text=getNonScriptedFields) | 8.1 | +| | [application.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/application.ts#:~:text=IndexPatternsContract), [application.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/application.ts#:~:text=IndexPatternsContract) | - | +| | [app_state.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/types/app_state.ts#:~:text=IndexPattern), [app_state.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/types/app_state.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [datasource.sagas.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/state_management/datasource.sagas.ts#:~:text=IndexPattern), [datasource.sagas.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/state_management/datasource.sagas.ts#:~:text=IndexPattern), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/search_bar.tsx#:~:text=IndexPattern), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/search_bar.tsx#:~:text=IndexPattern)+ 17 more | - | +| | [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/plugin.ts#:~:text=indexPatterns) | - | +| | [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/search_bar.tsx#:~:text=esKuery), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/search_bar.tsx#:~:text=esKuery), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/search_bar.tsx#:~:text=esKuery) | 8.1 | +| | [application.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/application.ts#:~:text=IndexPatternsContract), [application.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/application.ts#:~:text=IndexPatternsContract) | - | +| | [app_state.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/types/app_state.ts#:~:text=IndexPattern), [app_state.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/types/app_state.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [datasource.sagas.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/state_management/datasource.sagas.ts#:~:text=IndexPattern), [datasource.sagas.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/state_management/datasource.sagas.ts#:~:text=IndexPattern), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/search_bar.tsx#:~:text=IndexPattern), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/search_bar.tsx#:~:text=IndexPattern)+ 17 more | - | +| | [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=getNonScriptedFields), [datasource.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/state_management/datasource.test.ts#:~:text=getNonScriptedFields), [deserialize.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.test.ts#:~:text=getNonScriptedFields), [deserialize.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.test.ts#:~:text=getNonScriptedFields) | 8.1 | +| | [app_state.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/types/app_state.ts#:~:text=IndexPattern), [app_state.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/types/app_state.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [deserialize.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/services/persistence/deserialize.ts#:~:text=IndexPattern), [datasource.sagas.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/state_management/datasource.sagas.ts#:~:text=IndexPattern), [datasource.sagas.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/state_management/datasource.sagas.ts#:~:text=IndexPattern), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/search_bar.tsx#:~:text=IndexPattern), [search_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/search_bar.tsx#:~:text=IndexPattern)+ 17 more | - | | | [save_modal.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/save_modal.tsx#:~:text=SavedObjectSaveModal), [save_modal.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/components/save_modal.tsx#:~:text=SavedObjectSaveModal) | - | +| | [listing_route.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/apps/listing_route.tsx#:~:text=settings), [listing_route.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/public/apps/listing_route.tsx#:~:text=settings) | - | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/graph/server/plugin.ts#:~:text=license%24) | - | +## home + +| Deprecated API | Reference location(s) | Remove By | +| ---------------|-----------|-----------| +| | [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/home/public/plugin.ts#:~:text=indexPatterns) | - | + + + ## indexLifecycleManagement | Deprecated API | Reference location(s) | Remove By | @@ -255,13 +322,36 @@ warning: This document is auto-generated and is meant to be viewed inside our ex +## indexPatternEditor + +| Deprecated API | Reference location(s) | Remove By | +| ---------------|-----------|-----------| +| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPattern), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/open_editor.tsx#:~:text=IndexPattern), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/open_editor.tsx#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/types.ts#:~:text=IndexPattern), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/target/types/public/types.d.ts#:~:text=IndexPattern), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/target/types/public/types.d.ts#:~:text=IndexPattern) | - | +| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPatternField), [extract_time_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts#:~:text=IndexPatternField), [extract_time_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField) | - | +| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPatternSpec), [index_pattern_editor_flyout_content.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx#:~:text=IndexPatternSpec), [index_pattern_editor_flyout_content.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx#:~:text=IndexPatternSpec), [index_pattern_editor_flyout_content.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx#:~:text=IndexPatternSpec), [index_pattern_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_flyout_content_container.tsx#:~:text=IndexPatternSpec), [index_pattern_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_flyout_content_container.tsx#:~:text=IndexPatternSpec) | - | +| | [plugin.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/plugin.tsx#:~:text=indexPatterns), [plugin.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/plugin.tsx#:~:text=indexPatterns) | - | +| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPattern), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/open_editor.tsx#:~:text=IndexPattern), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/open_editor.tsx#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/types.ts#:~:text=IndexPattern), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/target/types/public/types.d.ts#:~:text=IndexPattern), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/target/types/public/types.d.ts#:~:text=IndexPattern) | - | +| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPatternField), [extract_time_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts#:~:text=IndexPatternField), [extract_time_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField) | - | +| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPatternSpec), [index_pattern_editor_flyout_content.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx#:~:text=IndexPatternSpec), [index_pattern_editor_flyout_content.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx#:~:text=IndexPatternSpec), [index_pattern_editor_flyout_content.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_editor_flyout_content.tsx#:~:text=IndexPatternSpec), [index_pattern_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_flyout_content_container.tsx#:~:text=IndexPatternSpec), [index_pattern_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/components/index_pattern_flyout_content_container.tsx#:~:text=IndexPatternSpec) | - | +| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPatternField), [extract_time_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts#:~:text=IndexPatternField), [extract_time_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField), [extract_time_fields.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/lib/extract_time_fields.test.ts#:~:text=IndexPatternField) | - | +| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/shared_imports.ts#:~:text=IndexPattern), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/open_editor.tsx#:~:text=IndexPattern), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/open_editor.tsx#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/public/types.ts#:~:text=IndexPattern), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/target/types/public/types.d.ts#:~:text=IndexPattern), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_editor/target/types/public/types.d.ts#:~:text=IndexPattern) | - | + + + ## indexPatternFieldEditor | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| +| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/shared_imports.ts#:~:text=IndexPattern), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPattern), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPattern), [field_editor_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx#:~:text=IndexPattern), [field_editor_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx#:~:text=IndexPattern), [remove_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts#:~:text=IndexPattern), [remove_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts#:~:text=IndexPattern), [open_delete_modal.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx#:~:text=IndexPattern), [open_delete_modal.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx#:~:text=IndexPattern), [delete_field_provider.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/delete_field_provider.tsx#:~:text=IndexPattern)+ 9 more | - | +| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/shared_imports.ts#:~:text=IndexPatternField), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPatternField), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPatternField), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=IndexPatternField), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=IndexPatternField), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=IndexPatternField), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=IndexPatternField), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=IndexPatternField), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=IndexPatternField) | - | | | [field_format_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx#:~:text=castEsToKbnFieldTypeName), [field_format_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx#:~:text=castEsToKbnFieldTypeName) | 8.1 | +| | [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/plugin.ts#:~:text=indexPatterns), [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/plugin.ts#:~:text=indexPatterns) | - | | | [field_editor_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx#:~:text=fieldFormats), [field_format_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx#:~:text=fieldFormats), [field_format_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx#:~:text=fieldFormats), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=fieldFormats), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=fieldFormats), [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/plugin.ts#:~:text=fieldFormats), [field_format_editor.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/target/types/public/components/field_format_editor/field_format_editor.d.ts#:~:text=fieldFormats), [setup_environment.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/__jest__/client_integration/helpers/setup_environment.tsx#:~:text=fieldFormats) | - | +| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/shared_imports.ts#:~:text=IndexPattern), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPattern), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPattern), [field_editor_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx#:~:text=IndexPattern), [field_editor_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx#:~:text=IndexPattern), [remove_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts#:~:text=IndexPattern), [remove_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts#:~:text=IndexPattern), [open_delete_modal.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx#:~:text=IndexPattern), [open_delete_modal.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx#:~:text=IndexPattern), [delete_field_provider.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/delete_field_provider.tsx#:~:text=IndexPattern)+ 9 more | - | +| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/shared_imports.ts#:~:text=IndexPatternField), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPatternField), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPatternField), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=IndexPatternField), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=IndexPatternField), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=IndexPatternField), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=IndexPatternField), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=IndexPatternField), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=IndexPatternField) | - | | | [field_format_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx#:~:text=castEsToKbnFieldTypeName), [field_format_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx#:~:text=castEsToKbnFieldTypeName) | 8.1 | +| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/shared_imports.ts#:~:text=IndexPatternField), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPatternField), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPatternField), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=IndexPatternField), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=IndexPatternField), [field_editor_flyout_content_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_flyout_content_container.tsx#:~:text=IndexPatternField), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=IndexPatternField), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=IndexPatternField), [open_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_editor.tsx#:~:text=IndexPatternField) | - | +| | [shared_imports.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/shared_imports.ts#:~:text=IndexPattern), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPattern), [serialization.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/serialization.ts#:~:text=IndexPattern), [field_editor_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx#:~:text=IndexPattern), [field_editor_context.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_editor_context.tsx#:~:text=IndexPattern), [remove_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts#:~:text=IndexPattern), [remove_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/lib/remove_fields.ts#:~:text=IndexPattern), [open_delete_modal.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx#:~:text=IndexPattern), [open_delete_modal.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/open_delete_modal.tsx#:~:text=IndexPattern), [delete_field_provider.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/delete_field_provider.tsx#:~:text=IndexPattern)+ 9 more | - | | | [field_format_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx#:~:text=castEsToKbnFieldTypeName), [field_format_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_field_editor/public/components/field_format_editor/field_format_editor.tsx#:~:text=castEsToKbnFieldTypeName) | 8.1 | @@ -270,24 +360,29 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [scripted_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx#:~:text=removeScriptedField), [field_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx#:~:text=removeScriptedField) | 8.1 | -| | [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields) | 8.1 | -| | [scripted_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx#:~:text=getScriptedFields) | 8.1 | +| | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternsContract), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternsContract), [utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.test.ts#:~:text=IndexPatternsContract), [utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.test.ts#:~:text=IndexPatternsContract), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternsContract), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternsContract) | - | +| | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx#:~:text=IndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx#:~:text=IndexPattern)+ 36 more | - | +| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts#:~:text=IndexPatternField), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField)+ 16 more | - | | | [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx#:~:text=IIndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx#:~:text=IIndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx#:~:text=IIndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx#:~:text=IIndexPattern), [index_header.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index_header.tsx#:~:text=IIndexPattern), [index_header.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index_header.tsx#:~:text=IIndexPattern), [index_header.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/index_header/index_header.d.ts#:~:text=IIndexPattern), [index_header.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/index_header/index_header.d.ts#:~:text=IIndexPattern) | - | | | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IFieldType), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IFieldType), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IFieldType), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IFieldType) | 8.1 | +| | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternListItem), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternListItem), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternListItem), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternListItem), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternListItem), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternListItem), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternListItem), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternListItem) | - | | | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/constants/index.ts#:~:text=getKbnTypeNames), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/constants/index.ts#:~:text=getKbnTypeNames) | 8.1 | +| | [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=indexPatterns), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=indexPatterns), [edit_index_pattern_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx#:~:text=indexPatterns), [edit_index_pattern_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern_container.tsx#:~:text=indexPatterns), [create_edit_field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field.tsx#:~:text=indexPatterns), [create_edit_field_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx#:~:text=indexPatterns), [create_edit_field_container.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/create_edit_field/create_edit_field_container.tsx#:~:text=indexPatterns) | - | | | [field_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx#:~:text=fieldFormats), [field_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx#:~:text=fieldFormats), [field_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx#:~:text=fieldFormats), [field_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx#:~:text=fieldFormats), [field_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx#:~:text=fieldFormats), [field_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx#:~:text=fieldFormats) | - | | | [test_script.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx#:~:text=esQuery), [test_script.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx#:~:text=esQuery), [test_script.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/components/scripting_help/test_script.tsx#:~:text=esQuery) | 8.1 | -| | [scripted_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx#:~:text=removeScriptedField), [field_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx#:~:text=removeScriptedField) | 8.1 | -| | [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields) | 8.1 | -| | [scripted_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx#:~:text=getScriptedFields) | 8.1 | +| | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternsContract), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternsContract), [utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.test.ts#:~:text=IndexPatternsContract), [utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.test.ts#:~:text=IndexPatternsContract), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternsContract), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternsContract) | - | +| | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx#:~:text=IndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx#:~:text=IndexPattern)+ 36 more | - | +| | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternListItem), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternListItem), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternListItem), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPatternListItem), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternListItem), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternListItem), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternListItem), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IndexPatternListItem) | - | +| | [scripted_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx#:~:text=removeScriptedField), [field_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx#:~:text=removeScriptedField) | 8.1 | +| | [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields) | 8.1 | +| | [scripted_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx#:~:text=getScriptedFields) | 8.1 | | | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IFieldType), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IFieldType), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IFieldType), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IFieldType) | 8.1 | +| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts#:~:text=IndexPatternField), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField)+ 16 more | - | | | [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx#:~:text=IIndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/components/table/table.tsx#:~:text=IIndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx#:~:text=IIndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/components/table/table.tsx#:~:text=IIndexPattern), [index_header.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index_header.tsx#:~:text=IIndexPattern), [index_header.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/index_header/index_header.tsx#:~:text=IIndexPattern), [index_header.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/index_header/index_header.d.ts#:~:text=IIndexPattern), [index_header.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/edit_index_pattern/index_header/index_header.d.ts#:~:text=IIndexPattern) | - | | | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/constants/index.ts#:~:text=getKbnTypeNames), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/constants/index.ts#:~:text=getKbnTypeNames) | 8.1 | +| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts#:~:text=IndexPatternField), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/types.ts#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [indexed_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/indexed_fields_table/indexed_fields_table.tsx#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/tabs/utils.ts#:~:text=IndexPatternField)+ 16 more | - | | | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IFieldType), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IFieldType), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IFieldType), [utils.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/target/types/public/components/utils.d.ts#:~:text=IFieldType) | 8.1 | -| | [scripted_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx#:~:text=removeScriptedField), [field_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/field_editor/field_editor.tsx#:~:text=removeScriptedField) | 8.1 | -| | [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields), [edit_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/edit_index_pattern.tsx#:~:text=getNonScriptedFields) | 8.1 | -| | [scripted_fields_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/scripted_fields_table/scripted_fields_table.tsx#:~:text=getScriptedFields) | 8.1 | +| | [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/utils.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [breadcrumbs.ts](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/breadcrumbs.ts#:~:text=IndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx#:~:text=IndexPattern), [table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/index_pattern_management/public/components/edit_index_pattern/source_filters_table/components/table/table.tsx#:~:text=IndexPattern)+ 36 more | - | @@ -295,15 +390,21 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| +| | [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPatternsContract), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPatternsContract), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPatternsContract), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPatternsContract), [log_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/logs/log_source/log_source.ts#:~:text=IndexPatternsContract), [log_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/logs/log_source/log_source.ts#:~:text=IndexPatternsContract), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPatternsContract), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPatternsContract), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPatternsContract), [index_patterns.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts#:~:text=IndexPatternsContract)+ 1 more | - | +| | [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPattern), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPattern), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPattern), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPattern), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPattern), [index_patterns.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts#:~:text=IndexPattern), [index_patterns.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts#:~:text=IndexPattern), [validation_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=IndexPattern), [validation_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=IndexPattern), [validation_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=IndexPattern)+ 2 more | - | | | [with_kuery_autocompletion.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx#:~:text=IIndexPattern), [with_kuery_autocompletion.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx#:~:text=IIndexPattern), [kuery_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx#:~:text=IIndexPattern), [kuery_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx#:~:text=IIndexPattern), [toolbar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx#:~:text=IIndexPattern), [toolbar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx#:~:text=IIndexPattern), [kuery.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/utils/kuery.ts#:~:text=IIndexPattern), [kuery.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/utils/kuery.ts#:~:text=IIndexPattern), [use_metrics_explorer_data.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts#:~:text=IIndexPattern), [use_metrics_explorer_data.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts#:~:text=IIndexPattern)+ 34 more | - | | | [custom_metric_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx#:~:text=IFieldType), [custom_metric_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx#:~:text=IFieldType), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx#:~:text=IFieldType), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx#:~:text=IFieldType), [custom_field_panel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx#:~:text=IFieldType), [custom_field_panel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx#:~:text=IFieldType), [waffle_group_by_controls.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx#:~:text=IFieldType), [waffle_group_by_controls.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx#:~:text=IFieldType), [metric.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx#:~:text=IFieldType), [metric.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx#:~:text=IFieldType)+ 46 more | 8.1 | +| | [editor.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/alerting/log_threshold/components/expression_editor/editor.tsx#:~:text=indexPatterns), [log_stream.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/components/log_stream/log_stream.tsx#:~:text=indexPatterns), [log_stream.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/components/log_stream/log_stream.tsx#:~:text=indexPatterns), [logs_overview_fetchers.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/utils/logs_overview_fetchers.ts#:~:text=indexPatterns), [redirect_to_node_logs.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/link_to/redirect_to_node_logs.tsx#:~:text=indexPatterns), [use_kibana_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/hooks/use_kibana_index_patterns.ts#:~:text=indexPatterns), [page_providers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/page_providers.tsx#:~:text=indexPatterns), [logs_overview_fetches.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/utils/logs_overview_fetches.test.ts#:~:text=indexPatterns) | - | | | [kuery_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx#:~:text=esKuery), [kuery_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx#:~:text=esKuery), [kuery.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/utils/kuery.ts#:~:text=esKuery), [kuery.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/utils/kuery.ts#:~:text=esKuery), [kuery.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/utils/kuery.ts#:~:text=esKuery), [use_waffle_filters.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_filters.ts#:~:text=esKuery), [use_waffle_filters.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_filters.ts#:~:text=esKuery) | 8.1 | | | [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/logs/log_stream/index.ts#:~:text=esQuery), [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/logs/log_stream/index.ts#:~:text=esQuery), [log_filter_state.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts#:~:text=esQuery), [log_filter_state.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts#:~:text=esQuery), [log_filter_state.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/logs/log_filter/log_filter_state.ts#:~:text=esQuery) | 8.1 | | | [log_stream_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/components/log_stream/log_stream_embeddable.tsx#:~:text=Filter), [log_stream_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/components/log_stream/log_stream_embeddable.tsx#:~:text=Filter), [use_dataset_filtering.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts#:~:text=Filter), [use_dataset_filtering.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts#:~:text=Filter), [use_dataset_filtering.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts#:~:text=Filter) | 8.1 | | | [log_stream_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/components/log_stream/log_stream_embeddable.tsx#:~:text=Filter), [log_stream_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/components/log_stream/log_stream_embeddable.tsx#:~:text=Filter), [use_dataset_filtering.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts#:~:text=Filter), [use_dataset_filtering.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts#:~:text=Filter), [use_dataset_filtering.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts#:~:text=Filter) | 8.1 | +| | [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPatternsContract), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPatternsContract), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPatternsContract), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPatternsContract), [log_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/logs/log_source/log_source.ts#:~:text=IndexPatternsContract), [log_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/logs/log_source/log_source.ts#:~:text=IndexPatternsContract), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPatternsContract), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPatternsContract), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPatternsContract), [index_patterns.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts#:~:text=IndexPatternsContract)+ 1 more | - | +| | [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPattern), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPattern), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPattern), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPattern), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPattern), [index_patterns.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts#:~:text=IndexPattern), [index_patterns.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts#:~:text=IndexPattern), [validation_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=IndexPattern), [validation_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=IndexPattern), [validation_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=IndexPattern)+ 2 more | - | | | [custom_metric_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx#:~:text=IFieldType), [custom_metric_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx#:~:text=IFieldType), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx#:~:text=IFieldType), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx#:~:text=IFieldType), [custom_field_panel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx#:~:text=IFieldType), [custom_field_panel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx#:~:text=IFieldType), [waffle_group_by_controls.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx#:~:text=IFieldType), [waffle_group_by_controls.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx#:~:text=IFieldType), [metric.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx#:~:text=IFieldType), [metric.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx#:~:text=IFieldType)+ 46 more | 8.1 | | | [with_kuery_autocompletion.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx#:~:text=IIndexPattern), [with_kuery_autocompletion.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/containers/with_kuery_autocompletion.tsx#:~:text=IIndexPattern), [kuery_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx#:~:text=IIndexPattern), [kuery_bar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/components/kuery_bar.tsx#:~:text=IIndexPattern), [toolbar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx#:~:text=IIndexPattern), [toolbar.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/toolbars/toolbar.tsx#:~:text=IIndexPattern), [kuery.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/utils/kuery.ts#:~:text=IIndexPattern), [kuery.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/utils/kuery.ts#:~:text=IIndexPattern), [use_metrics_explorer_data.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts#:~:text=IIndexPattern), [use_metrics_explorer_data.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/metrics_explorer/hooks/use_metrics_explorer_data.ts#:~:text=IIndexPattern)+ 34 more | - | | | [custom_metric_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx#:~:text=IFieldType), [custom_metric_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/custom_metric_form.tsx#:~:text=IFieldType), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx#:~:text=IFieldType), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/metric_control/index.tsx#:~:text=IFieldType), [custom_field_panel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx#:~:text=IFieldType), [custom_field_panel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/custom_field_panel.tsx#:~:text=IFieldType), [waffle_group_by_controls.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx#:~:text=IFieldType), [waffle_group_by_controls.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/waffle_group_by_controls.tsx#:~:text=IFieldType), [metric.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx#:~:text=IFieldType), [metric.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/alerting/inventory/components/metric.tsx#:~:text=IFieldType)+ 46 more | 8.1 | +| | [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPattern), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPattern), [resolved_log_source_configuration.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/log_sources/resolved_log_source_configuration.ts#:~:text=IndexPattern), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPattern), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/common/dependency_mocks/index_patterns.ts#:~:text=IndexPattern), [index_patterns.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts#:~:text=IndexPattern), [index_patterns.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/target/types/common/dependency_mocks/index_patterns.d.ts#:~:text=IndexPattern), [validation_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=IndexPattern), [validation_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=IndexPattern), [validation_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/settings/validation_errors.ts#:~:text=IndexPattern)+ 2 more | - | | | [log_stream_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/components/log_stream/log_stream_embeddable.tsx#:~:text=Filter), [log_stream_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/components/log_stream/log_stream_embeddable.tsx#:~:text=Filter), [use_dataset_filtering.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts#:~:text=Filter), [use_dataset_filtering.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts#:~:text=Filter), [use_dataset_filtering.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/public/pages/logs/log_entry_rate/use_dataset_filtering.ts#:~:text=Filter) | 8.1 | | | [kibana_framework_adapter.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts#:~:text=spacesService), [kibana_framework_adapter.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts#:~:text=spacesService), [kibana_framework_adapter.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts#:~:text=spacesService), [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/server/plugin.ts#:~:text=spacesService) | 7.16 | | | [kibana_framework_adapter.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts#:~:text=getSpaceId), [kibana_framework_adapter.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/server/lib/adapters/framework/kibana_framework_adapter.ts#:~:text=getSpaceId), [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/infra/server/plugin.ts#:~:text=getSpaceId) | 7.16 | @@ -314,10 +415,19 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| +| | [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPatternsContract), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts#:~:text=IndexPatternsContract), [filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts#:~:text=IndexPatternsContract), [filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts#:~:text=IndexPatternsContract)+ 4 more | - | +| | [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPattern), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPattern), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPattern), [create_search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/create_search_source.ts#:~:text=IndexPattern), [create_search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/create_search_source.ts#:~:text=IndexPattern), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPattern), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPattern), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPattern), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPattern), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPattern)+ 22 more | - | +| | [list_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=IndexPatternField), [list_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=IndexPatternField), [range_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=IndexPatternField), [range_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=IndexPatternField), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPatternField), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPatternField), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPatternField), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPatternField), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPatternField), [list_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx#:~:text=IndexPatternField)+ 2 more | - | | | [list_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=fetch), [range_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=fetch) | 8.1 | +| | [list_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=indexPatterns), [range_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=indexPatterns), [controls_tab.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/controls_tab.tsx#:~:text=indexPatterns) | - | | | [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=Filter), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=Filter), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=Filter), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=Filter), [control.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/control.ts#:~:text=Filter), [control.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/control.ts#:~:text=Filter), [vis_controller.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/vis_controller.tsx#:~:text=Filter), [vis_controller.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/vis_controller.tsx#:~:text=Filter), [filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts#:~:text=Filter), [filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts#:~:text=Filter)+ 4 more | 8.1 | | | [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=Filter), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=Filter), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=Filter), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=Filter), [control.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/control.ts#:~:text=Filter), [control.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/control.ts#:~:text=Filter), [vis_controller.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/vis_controller.tsx#:~:text=Filter), [vis_controller.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/vis_controller.tsx#:~:text=Filter), [filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts#:~:text=Filter), [filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts#:~:text=Filter)+ 4 more | 8.1 | +| | [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPatternsContract), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.ts#:~:text=IndexPatternsContract), [filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts#:~:text=IndexPatternsContract), [filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts#:~:text=IndexPatternsContract), [phrase_filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/phrase_filter_manager.test.ts#:~:text=IndexPatternsContract)+ 4 more | - | +| | [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPattern), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPattern), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPattern), [create_search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/create_search_source.ts#:~:text=IndexPattern), [create_search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/create_search_source.ts#:~:text=IndexPattern), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPattern), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPattern), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPattern), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPattern), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPattern)+ 22 more | - | +| | [list_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=IndexPatternField), [list_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=IndexPatternField), [range_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=IndexPatternField), [range_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=IndexPatternField), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPatternField), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPatternField), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPatternField), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPatternField), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPatternField), [list_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx#:~:text=IndexPatternField)+ 2 more | - | | | [list_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=fetch), [range_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=fetch) | 8.1 | +| | [list_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=IndexPatternField), [list_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/list_control_factory.ts#:~:text=IndexPatternField), [range_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=IndexPatternField), [range_control_factory.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/range_control_factory.ts#:~:text=IndexPatternField), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPatternField), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPatternField), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPatternField), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPatternField), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPatternField), [list_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/list_control_editor.tsx#:~:text=IndexPatternField)+ 2 more | - | +| | [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPattern), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPattern), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=IndexPattern), [create_search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/create_search_source.ts#:~:text=IndexPattern), [create_search_source.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/create_search_source.ts#:~:text=IndexPattern), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPattern), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPattern), [field_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/field_select.tsx#:~:text=IndexPattern), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPattern), [range_control_editor.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/components/editor/range_control_editor.tsx#:~:text=IndexPattern)+ 22 more | - | | | [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=Filter), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=Filter), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=Filter), [filter_manager.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.ts#:~:text=Filter), [control.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/control.ts#:~:text=Filter), [control.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/control.ts#:~:text=Filter), [vis_controller.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/vis_controller.tsx#:~:text=Filter), [vis_controller.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/vis_controller.tsx#:~:text=Filter), [filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts#:~:text=Filter), [filter_manager.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/input_control_vis/public/control/filter_manager/filter_manager.test.ts#:~:text=Filter)+ 4 more | 8.1 | @@ -326,6 +436,7 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| +| | [overview.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/kibana_overview/public/components/overview/overview.tsx#:~:text=indexPatterns) | - | | | [application.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/kibana_overview/public/application.tsx#:~:text=appBasePath) | - | @@ -334,15 +445,24 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/types.ts#:~:text=IFieldType), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/types.ts#:~:text=IFieldType), [types.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/public/indexpattern_datasource/types.d.ts#:~:text=IFieldType), [types.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/public/indexpattern_datasource/types.d.ts#:~:text=IFieldType) | 8.1 | +| | [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPatternsService), [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPatternsService) | - | +| | [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=IndexPatternsContract), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=IndexPatternsContract), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/utils.ts#:~:text=IndexPatternsContract), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/utils.ts#:~:text=IndexPatternsContract), [loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.ts#:~:text=IndexPatternsContract), [loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.ts#:~:text=IndexPatternsContract), [embeddable_factory.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable_factory.ts#:~:text=IndexPatternsContract), [embeddable_factory.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable_factory.ts#:~:text=IndexPatternsContract), [loader.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts#:~:text=IndexPatternsContract), [loader.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts#:~:text=IndexPatternsContract)+ 5 more | - | +| | [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPattern), [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts#:~:text=IndexPattern), [existing_fields.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts#:~:text=IndexPattern), [loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.ts#:~:text=IndexPattern), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=IndexPattern)+ 13 more | - | +| | [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField) | - | +| | [datapanel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/datapanel.tsx#:~:text=indexPatterns), [datapanel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/datapanel.tsx#:~:text=indexPatterns), [datapanel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/datapanel.tsx#:~:text=indexPatterns), [datapanel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/datapanel.tsx#:~:text=indexPatterns), [indexpattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/indexpattern.tsx#:~:text=indexPatterns), [lens_top_nav.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx#:~:text=indexPatterns), [lens_top_nav.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/app_plugin/lens_top_nav.tsx#:~:text=indexPatterns), [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/plugin.ts#:~:text=indexPatterns), [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/plugin.ts#:~:text=indexPatterns) | - | | | [ranges.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/ranges/ranges.tsx#:~:text=fieldFormats), [droppable.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/dimension_panel/droppable/droppable.test.ts#:~:text=fieldFormats) | - | | | [save_modal_container.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/app_plugin/save_modal_container.tsx#:~:text=esFilters), [save_modal_container.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/app_plugin/save_modal_container.tsx#:~:text=esFilters), [mocks.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/mocks.tsx#:~:text=esFilters), [mocks.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/mocks.tsx#:~:text=esFilters), [time_range_middleware.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/state_management/time_range_middleware.test.ts#:~:text=esFilters), [time_range_middleware.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/state_management/time_range_middleware.test.ts#:~:text=esFilters) | 8.1 | | | [validation.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/validation.ts#:~:text=esKuery), [validation.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/validation.ts#:~:text=esKuery), [validation.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/validation.ts#:~:text=esKuery) | 8.1 | | | [validation.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/validation.ts#:~:text=esQuery), [validation.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/formula/validation.ts#:~:text=esQuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/terms/index.tsx#:~:text=esQuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/terms/index.tsx#:~:text=esQuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/terms/index.tsx#:~:text=esQuery), [field_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx#:~:text=esQuery), [field_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx#:~:text=esQuery), [field_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx#:~:text=esQuery), [datapanel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/datapanel.tsx#:~:text=esQuery), [datapanel.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/datapanel.tsx#:~:text=esQuery)+ 1 more | 8.1 | | | [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/types.ts#:~:text=Filter), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=Filter), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=Filter), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/state_management/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/state_management/types.ts#:~:text=Filter), [field_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx#:~:text=Filter), [field_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx#:~:text=Filter)+ 16 more | 8.1 | | | [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/types.ts#:~:text=Filter), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=Filter), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=Filter), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/state_management/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/state_management/types.ts#:~:text=Filter), [field_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx#:~:text=Filter), [field_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx#:~:text=Filter)+ 16 more | 8.1 | -| | [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/types.ts#:~:text=IFieldType), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/types.ts#:~:text=IFieldType), [types.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/public/indexpattern_datasource/types.d.ts#:~:text=IFieldType), [types.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/public/indexpattern_datasource/types.d.ts#:~:text=IFieldType) | 8.1 | -| | [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/types.ts#:~:text=IFieldType), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/types.ts#:~:text=IFieldType), [types.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/public/indexpattern_datasource/types.d.ts#:~:text=IFieldType), [types.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/public/indexpattern_datasource/types.d.ts#:~:text=IFieldType) | 8.1 | +| | [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPatternsService), [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPatternsService) | - | +| | [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=IndexPatternsContract), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=IndexPatternsContract), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/utils.ts#:~:text=IndexPatternsContract), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/utils.ts#:~:text=IndexPatternsContract), [loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.ts#:~:text=IndexPatternsContract), [loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.ts#:~:text=IndexPatternsContract), [embeddable_factory.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable_factory.ts#:~:text=IndexPatternsContract), [embeddable_factory.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable_factory.ts#:~:text=IndexPatternsContract), [loader.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts#:~:text=IndexPatternsContract), [loader.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.test.ts#:~:text=IndexPatternsContract)+ 5 more | - | +| | [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPattern), [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts#:~:text=IndexPattern), [existing_fields.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts#:~:text=IndexPattern), [loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.ts#:~:text=IndexPattern), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=IndexPattern)+ 13 more | - | +| | [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField) | - | +| | [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/field_stats.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField), [field_stats.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/field_stats.d.ts#:~:text=IndexPatternField) | - | +| | [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPattern), [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.test.ts#:~:text=IndexPattern), [existing_fields.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts#:~:text=IndexPattern), [existing_fields.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/target/types/server/routes/existing_fields.d.ts#:~:text=IndexPattern), [loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/loader.ts#:~:text=IndexPattern), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=IndexPattern)+ 13 more | - | +| | [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPatternsService), [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPatternsService), [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPatternsService), [existing_fields.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/routes/existing_fields.ts#:~:text=IndexPatternsService) | - | | | [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/types.ts#:~:text=Filter), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=Filter), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=Filter), [embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/embeddable/embeddable.tsx#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/state_management/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/state_management/types.ts#:~:text=Filter), [field_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx#:~:text=Filter), [field_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/indexpattern_datasource/field_item.tsx#:~:text=Filter)+ 16 more | 8.1 | | | [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/app_plugin/types.ts#:~:text=onAppLeave), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/app_plugin/types.ts#:~:text=onAppLeave), [mounter.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/public/app_plugin/mounter.tsx#:~:text=onAppLeave) | - | | | [saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/migrations/saved_object_migrations.ts#:~:text=warning), [saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/lens/server/migrations/saved_object_migrations.ts#:~:text=warning) | - | @@ -378,14 +498,23 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [es_doc_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/es_doc_field.ts#:~:text=IFieldType), [es_doc_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/es_doc_field.ts#:~:text=IFieldType), [es_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts#:~:text=IFieldType), [es_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts#:~:text=IFieldType), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IFieldType), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IFieldType), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IFieldType), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IFieldType), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IFieldType), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IFieldType)+ 96 more | 8.1 | +| | [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=IndexPatternsService), [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=IndexPatternsService), [create_doc_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts#:~:text=IndexPatternsService), [create_doc_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts#:~:text=IndexPatternsService) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/lazy_load_bundle/index.ts#:~:text=IndexPatternsContract), [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/lazy_load_bundle/index.ts#:~:text=IndexPatternsContract), [index.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts#:~:text=IndexPatternsContract), [index.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts#:~:text=IndexPatternsContract) | - | +| | [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPattern), [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPattern), [es_agg_utils.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts#:~:text=IndexPattern), [es_agg_utils.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/embeddable/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/embeddable/types.ts#:~:text=IndexPattern), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=IndexPattern), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=IndexPattern), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=IndexPattern), [es_agg_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_agg_tooltip_property.ts#:~:text=IndexPattern)+ 95 more | - | +| | [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=IndexPatternField), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=IndexPatternField), [es_doc_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/es_doc_field.ts#:~:text=IndexPatternField), [es_doc_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/es_doc_field.ts#:~:text=IndexPatternField), [es_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts#:~:text=IndexPatternField), [es_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts#:~:text=IndexPatternField), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IndexPatternField), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IndexPatternField), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IndexPatternField), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IndexPatternField)+ 129 more | - | | | [es_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts#:~:text=fetch), [es_search_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=fetch), [es_search_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=fetch) | 8.1 | +| | [kibana_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/kibana_services.ts#:~:text=indexPatterns) | - | | | [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=esFilters), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=esFilters), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=esFilters), [es_search_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=esFilters), [es_search_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=esFilters), [es_geo_line_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.tsx#:~:text=esFilters), [es_geo_line_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.tsx#:~:text=esFilters), [es_geo_line_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.tsx#:~:text=esFilters), [app_sync.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/routes/map_page/url_state/app_sync.ts#:~:text=esFilters), [app_sync.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/routes/map_page/url_state/app_sync.ts#:~:text=esFilters)+ 9 more | 8.1 | | | [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/reducers/map/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/reducers/map/types.ts#:~:text=Filter), [tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts#:~:text=Filter), [tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts#:~:text=Filter), [tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts#:~:text=Filter), [tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts#:~:text=Filter), [vector_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx#:~:text=Filter), [vector_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx#:~:text=Filter), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=Filter), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=Filter)+ 106 more | 8.1 | | | [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/reducers/map/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/reducers/map/types.ts#:~:text=Filter), [tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts#:~:text=Filter), [tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts#:~:text=Filter), [tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts#:~:text=Filter), [tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts#:~:text=Filter), [vector_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx#:~:text=Filter), [vector_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx#:~:text=Filter), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=Filter), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=Filter)+ 106 more | 8.1 | -| | [es_doc_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/es_doc_field.ts#:~:text=IFieldType), [es_doc_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/es_doc_field.ts#:~:text=IFieldType), [es_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts#:~:text=IFieldType), [es_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts#:~:text=IFieldType), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IFieldType), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IFieldType), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IFieldType), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IFieldType), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IFieldType), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IFieldType)+ 96 more | 8.1 | +| | [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=IndexPatternsService), [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=IndexPatternsService), [create_doc_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts#:~:text=IndexPatternsService), [create_doc_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts#:~:text=IndexPatternsService) | - | +| | [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/lazy_load_bundle/index.ts#:~:text=IndexPatternsContract), [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/lazy_load_bundle/index.ts#:~:text=IndexPatternsContract), [index.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts#:~:text=IndexPatternsContract), [index.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/public/lazy_load_bundle/index.d.ts#:~:text=IndexPatternsContract) | - | +| | [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPattern), [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPattern), [es_agg_utils.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts#:~:text=IndexPattern), [es_agg_utils.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/embeddable/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/embeddable/types.ts#:~:text=IndexPattern), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=IndexPattern), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=IndexPattern), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=IndexPattern), [es_agg_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_agg_tooltip_property.ts#:~:text=IndexPattern)+ 95 more | - | +| | [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=IndexPatternField), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=IndexPatternField), [es_doc_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/es_doc_field.ts#:~:text=IndexPatternField), [es_doc_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/es_doc_field.ts#:~:text=IndexPatternField), [es_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts#:~:text=IndexPatternField), [es_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts#:~:text=IndexPatternField), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IndexPatternField), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IndexPatternField), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IndexPatternField), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IndexPatternField)+ 129 more | - | | | [es_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts#:~:text=fetch), [es_search_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=fetch), [es_search_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx#:~:text=fetch) | 8.1 | -| | [es_doc_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/es_doc_field.ts#:~:text=IFieldType), [es_doc_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/es_doc_field.ts#:~:text=IFieldType), [es_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts#:~:text=IFieldType), [es_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts#:~:text=IFieldType), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IFieldType), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IFieldType), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IFieldType), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IFieldType), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IFieldType), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IFieldType)+ 96 more | 8.1 | +| | [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=IndexPatternField), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=IndexPatternField), [es_doc_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/es_doc_field.ts#:~:text=IndexPatternField), [es_doc_field.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/fields/es_doc_field.ts#:~:text=IndexPatternField), [es_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts#:~:text=IndexPatternField), [es_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/es_source/es_source.ts#:~:text=IndexPatternField), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IndexPatternField), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IndexPatternField), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IndexPatternField), [index_pattern_util.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/index_pattern_util.ts#:~:text=IndexPatternField)+ 129 more | - | +| | [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPattern), [es_agg_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/common/elasticsearch_util/es_agg_utils.ts#:~:text=IndexPattern), [es_agg_utils.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts#:~:text=IndexPattern), [es_agg_utils.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/target/types/common/elasticsearch_util/es_agg_utils.d.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/embeddable/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/embeddable/types.ts#:~:text=IndexPattern), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=IndexPattern), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=IndexPattern), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=IndexPattern), [es_agg_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_agg_tooltip_property.ts#:~:text=IndexPattern)+ 95 more | - | +| | [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=IndexPatternsService), [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=IndexPatternsService), [create_doc_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts#:~:text=IndexPatternsService), [create_doc_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts#:~:text=IndexPatternsService), [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=IndexPatternsService), [kibana_server_services.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/kibana_server_services.ts#:~:text=IndexPatternsService), [create_doc_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts#:~:text=IndexPatternsService), [create_doc_source.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/data_indexing/create_doc_source.ts#:~:text=IndexPatternsService) | - | | | [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/reducers/map/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/reducers/map/types.ts#:~:text=Filter), [tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts#:~:text=Filter), [tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts#:~:text=Filter), [tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts#:~:text=Filter), [tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/tooltip_property.ts#:~:text=Filter), [vector_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx#:~:text=Filter), [vector_source.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx#:~:text=Filter), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=Filter), [es_tooltip_property.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/classes/tooltips/es_tooltip_property.ts#:~:text=Filter)+ 106 more | 8.1 | | | [maps_list_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/routes/list_page/maps_list_view.tsx#:~:text=settings), [maps_list_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/routes/list_page/maps_list_view.tsx#:~:text=settings), [maps_list_view.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/public/routes/list_page/maps_list_view.tsx#:~:text=settings) | - | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/maps/server/plugin.ts#:~:text=license%24) | - | @@ -397,14 +526,23 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| +| | [dependency_cache.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/dependency_cache.ts#:~:text=IndexPatternsContract), [dependency_cache.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/dependency_cache.ts#:~:text=IndexPatternsContract), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternsContract), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternsContract), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternsContract), [resolvers.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/routing/resolvers.ts#:~:text=IndexPatternsContract), [resolvers.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/routing/resolvers.ts#:~:text=IndexPatternsContract), [preconfigured_job_redirect.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts#:~:text=IndexPatternsContract), [preconfigured_job_redirect.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts#:~:text=IndexPatternsContract), [load_new_job_capabilities.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts#:~:text=IndexPatternsContract)+ 11 more | - | +| | [chart_loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts#:~:text=IndexPattern), [chart_loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts#:~:text=IndexPattern), [anomaly_charts_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx#:~:text=IndexPattern), [anomaly_charts_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx#:~:text=IndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPattern), [field_format_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/field_format_service.ts#:~:text=IndexPattern), [field_format_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/field_format_service.ts#:~:text=IndexPattern), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_grid/common.ts#:~:text=IndexPattern)+ 60 more | - | | | [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IIndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IIndexPattern), [new_job_capabilities_service_analytics.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts#:~:text=IIndexPattern), [new_job_capabilities_service_analytics.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts#:~:text=IIndexPattern), [data_recognizer.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.d.ts#:~:text=IIndexPattern), [data_recognizer.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.d.ts#:~:text=IIndexPattern), [new_job_capabilities_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts#:~:text=IIndexPattern), [new_job_capabilities_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts#:~:text=IIndexPattern), [load_new_job_capabilities.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts#:~:text=IIndexPattern), [load_new_job_capabilities.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts#:~:text=IIndexPattern)+ 24 more | - | | | [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_grid/common.ts#:~:text=IFieldType), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_grid/common.ts#:~:text=IFieldType), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.ts#:~:text=IFieldType), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType) | 8.1 | +| | [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternAttributes), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternAttributes), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts#:~:text=IndexPatternAttributes), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts#:~:text=IndexPatternAttributes), [rollup.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts#:~:text=IndexPatternAttributes), [rollup.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts#:~:text=IndexPatternAttributes), [rollup.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts#:~:text=IndexPatternAttributes), [data_recognizer.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts#:~:text=IndexPatternAttributes), [data_recognizer.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts#:~:text=IndexPatternAttributes), [kibana.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/common/types/kibana.ts#:~:text=IndexPatternAttributes)+ 3 more | - | +| | [index_data_visualizer.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/datavisualizer/index_based/index_data_visualizer.tsx#:~:text=indexPatterns), [file_datavisualizer.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/datavisualizer/file_based/file_datavisualizer.tsx#:~:text=indexPatterns), [app.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/app.tsx#:~:text=indexPatterns), [app.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/app.tsx#:~:text=indexPatterns), [import_jobs_flyout.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/import_export_jobs/import_jobs_flyout/import_jobs_flyout.tsx#:~:text=indexPatterns), [anomaly_charts_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx#:~:text=indexPatterns) | - | | | [dependency_cache.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/dependency_cache.ts#:~:text=fieldFormats), [app.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/app.tsx#:~:text=fieldFormats), [dependency_cache.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/target/types/public/application/util/dependency_cache.d.ts#:~:text=fieldFormats) | - | | | [apply_influencer_filters_action.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/ui_actions/apply_influencer_filters_action.tsx#:~:text=Filter), [apply_influencer_filters_action.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/ui_actions/apply_influencer_filters_action.tsx#:~:text=Filter), [apply_entity_filters_action.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/ui_actions/apply_entity_filters_action.tsx#:~:text=Filter), [apply_entity_filters_action.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/ui_actions/apply_entity_filters_action.tsx#:~:text=Filter) | 8.1 | +| | [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternAttributes), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternAttributes), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts#:~:text=IndexPatternAttributes), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts#:~:text=IndexPatternAttributes), [rollup.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts#:~:text=IndexPatternAttributes), [rollup.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts#:~:text=IndexPatternAttributes), [rollup.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts#:~:text=IndexPatternAttributes), [data_recognizer.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts#:~:text=IndexPatternAttributes), [data_recognizer.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts#:~:text=IndexPatternAttributes), [kibana.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/common/types/kibana.ts#:~:text=IndexPatternAttributes)+ 3 more | - | | | [apply_influencer_filters_action.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/ui_actions/apply_influencer_filters_action.tsx#:~:text=Filter), [apply_influencer_filters_action.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/ui_actions/apply_influencer_filters_action.tsx#:~:text=Filter), [apply_entity_filters_action.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/ui_actions/apply_entity_filters_action.tsx#:~:text=Filter), [apply_entity_filters_action.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/ui_actions/apply_entity_filters_action.tsx#:~:text=Filter) | 8.1 | +| | [dependency_cache.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/dependency_cache.ts#:~:text=IndexPatternsContract), [dependency_cache.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/dependency_cache.ts#:~:text=IndexPatternsContract), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternsContract), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternsContract), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternsContract), [resolvers.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/routing/resolvers.ts#:~:text=IndexPatternsContract), [resolvers.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/routing/resolvers.ts#:~:text=IndexPatternsContract), [preconfigured_job_redirect.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts#:~:text=IndexPatternsContract), [preconfigured_job_redirect.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/pages/index_or_search/preconfigured_job_redirect.ts#:~:text=IndexPatternsContract), [load_new_job_capabilities.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts#:~:text=IndexPatternsContract)+ 11 more | - | +| | [chart_loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts#:~:text=IndexPattern), [chart_loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts#:~:text=IndexPattern), [anomaly_charts_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx#:~:text=IndexPattern), [anomaly_charts_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx#:~:text=IndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPattern), [field_format_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/field_format_service.ts#:~:text=IndexPattern), [field_format_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/field_format_service.ts#:~:text=IndexPattern), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_grid/common.ts#:~:text=IndexPattern)+ 60 more | - | | | [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_grid/common.ts#:~:text=IFieldType), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_grid/common.ts#:~:text=IFieldType), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.ts#:~:text=IFieldType), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType) | 8.1 | | | [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IIndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IIndexPattern), [new_job_capabilities_service_analytics.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts#:~:text=IIndexPattern), [new_job_capabilities_service_analytics.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service_analytics.ts#:~:text=IIndexPattern), [data_recognizer.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.d.ts#:~:text=IIndexPattern), [data_recognizer.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_recognizer/data_recognizer.d.ts#:~:text=IIndexPattern), [new_job_capabilities_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts#:~:text=IIndexPattern), [new_job_capabilities_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/new_job_capabilities_service.ts#:~:text=IIndexPattern), [load_new_job_capabilities.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts#:~:text=IIndexPattern), [load_new_job_capabilities.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/new_job_capabilities/load_new_job_capabilities.ts#:~:text=IIndexPattern)+ 24 more | - | | | [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_grid/common.ts#:~:text=IFieldType), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_grid/common.ts#:~:text=IFieldType), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.ts#:~:text=IFieldType), [field_types_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType), [field_types_utils.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/field_types_utils.test.ts#:~:text=IFieldType) | 8.1 | +| | [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternAttributes), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPatternAttributes), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts#:~:text=IndexPatternAttributes), [index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_frame_analytics/index_patterns.ts#:~:text=IndexPatternAttributes), [rollup.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts#:~:text=IndexPatternAttributes), [rollup.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts#:~:text=IndexPatternAttributes), [rollup.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/job_service/new_job_caps/rollup.ts#:~:text=IndexPatternAttributes), [data_recognizer.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts#:~:text=IndexPatternAttributes), [data_recognizer.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/models/data_recognizer/data_recognizer.ts#:~:text=IndexPatternAttributes), [kibana.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/common/types/kibana.ts#:~:text=IndexPatternAttributes)+ 3 more | - | +| | [chart_loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts#:~:text=IndexPattern), [chart_loader.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/jobs/new_job/common/chart_loader/chart_loader.ts#:~:text=IndexPattern), [anomaly_charts_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx#:~:text=IndexPattern), [anomaly_charts_embeddable.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/embeddables/anomaly_charts/anomaly_charts_embeddable.tsx#:~:text=IndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPattern), [index_utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/util/index_utils.ts#:~:text=IndexPattern), [field_format_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/field_format_service.ts#:~:text=IndexPattern), [field_format_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/services/field_format_service.ts#:~:text=IndexPattern), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/components/data_grid/common.ts#:~:text=IndexPattern)+ 60 more | - | | | [apply_influencer_filters_action.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/ui_actions/apply_influencer_filters_action.tsx#:~:text=Filter), [apply_influencer_filters_action.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/ui_actions/apply_influencer_filters_action.tsx#:~:text=Filter), [apply_entity_filters_action.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/ui_actions/apply_entity_filters_action.tsx#:~:text=Filter), [apply_entity_filters_action.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/ui_actions/apply_entity_filters_action.tsx#:~:text=Filter) | 8.1 | | | [check_license.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/application/license/check_license.tsx#:~:text=license%24), [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/public/plugin.ts#:~:text=license%24) | - | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/plugin.ts#:~:text=license%24), [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/ml/server/plugin.ts#:~:text=license%24) | - | @@ -427,11 +565,19 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| +| | [rtl_helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx#:~:text=IndexPatternsContract), [rtl_helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx#:~:text=IndexPatternsContract) | - | +| | [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [default_configs.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts#:~:text=IndexPattern), [default_configs.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts#:~:text=IndexPattern), [use_app_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx#:~:text=IndexPattern), [use_app_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern)+ 14 more | - | +| | [observability_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts#:~:text=IndexPatternSpec), [observability_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts#:~:text=IndexPatternSpec) | - | +| | [observability_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts#:~:text=indexPatterns), [observability_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts#:~:text=indexPatterns), [observability_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts#:~:text=indexPatterns), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/pages/alerts/index.tsx#:~:text=indexPatterns), [observability_index_patterns.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.test.ts#:~:text=indexPatterns), [observability_index_patterns.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.test.ts#:~:text=indexPatterns), [observability_index_patterns.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.test.ts#:~:text=indexPatterns), [observability_index_patterns.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.test.ts#:~:text=indexPatterns), [observability_index_patterns.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.test.ts#:~:text=indexPatterns), [observability_index_patterns.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.test.ts#:~:text=indexPatterns)+ 5 more | - | | | [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=esFilters), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=esFilters), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=esFilters), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=esFilters), [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=esFilters), [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=esFilters), [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=esFilters) | 8.1 | | | [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=ExistsFilter), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=ExistsFilter) | 8.1 | | | [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=Filter), [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=Filter) | 8.1 | | | [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=Filter), [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=Filter) | 8.1 | | | [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=ExistsFilter), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=ExistsFilter) | 8.1 | +| | [rtl_helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx#:~:text=IndexPatternsContract), [rtl_helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/rtl_helpers.tsx#:~:text=IndexPatternsContract) | - | +| | [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [default_configs.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts#:~:text=IndexPattern), [default_configs.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts#:~:text=IndexPattern), [use_app_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx#:~:text=IndexPattern), [use_app_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern)+ 14 more | - | +| | [observability_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts#:~:text=IndexPatternSpec), [observability_index_patterns.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/utils/observability_index_patterns.ts#:~:text=IndexPatternSpec) | - | +| | [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [lens_attributes.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/lens_attributes.ts#:~:text=IndexPattern), [default_configs.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts#:~:text=IndexPattern), [default_configs.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/default_configs.ts#:~:text=IndexPattern), [use_app_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx#:~:text=IndexPattern), [use_app_index_pattern.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/hooks/use_app_index_pattern.tsx#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern), [utils.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/exploratory_view/configurations/utils.ts#:~:text=IndexPattern)+ 14 more | - | | | [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=Filter), [filter_value_label.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/observability/public/components/shared/filter_value_label/filter_value_label.tsx#:~:text=Filter) | 8.1 | @@ -440,7 +586,11 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [scheduled_query_group_queries_table.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_table.tsx#:~:text=urlGenerator), [use_discover_link.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/common/hooks/use_discover_link.tsx#:~:text=urlGenerator) | - | +| | [use_scheduled_query_group_query_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_last_results.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_last_results.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts#:~:text=IndexPattern), [scheduled_query_group_queries_status_table.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx#:~:text=IndexPattern), [scheduled_query_group_queries_status_table.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx#:~:text=IndexPattern) | - | +| | [scheduled_query_group_queries_status_table.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx#:~:text=indexPatterns), [scheduled_query_group_queries_status_table.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx#:~:text=indexPatterns) | - | +| | [use_scheduled_query_group_query_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_last_results.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_last_results.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts#:~:text=IndexPattern), [scheduled_query_group_queries_status_table.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx#:~:text=IndexPattern), [scheduled_query_group_queries_status_table.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx#:~:text=IndexPattern) | - | +| | [use_scheduled_query_group_query_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_errors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_errors.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_last_results.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts#:~:text=IndexPattern), [use_scheduled_query_group_query_last_results.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/use_scheduled_query_group_query_last_results.ts#:~:text=IndexPattern), [scheduled_query_group_queries_status_table.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx#:~:text=IndexPattern), [scheduled_query_group_queries_status_table.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx#:~:text=IndexPattern) | - | +| | [scheduled_query_group_queries_status_table.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx#:~:text=urlGenerator), [use_discover_link.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/osquery/public/common/hooks/use_discover_link.tsx#:~:text=urlGenerator) | - | @@ -477,8 +627,11 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| +| | [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=IndexPattern), [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=IndexPattern) | - | | | [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=fieldsFromSource), [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=fieldsFromSource) | - | +| | [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=IndexPattern), [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=IndexPattern) | - | | | [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=fieldsFromSource), [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=fieldsFromSource) | - | +| | [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=IndexPattern), [generate_csv.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/export_types/csv_searchsource/generate_csv/generate_csv.ts#:~:text=IndexPattern) | - | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/plugin.ts#:~:text=fieldFormats) | - | | | [get_csv_panel_action.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/public/panel_actions/get_csv_panel_action.tsx#:~:text=license%24), [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/public/share_context_menu/index.ts#:~:text=license%24), [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/public/management/index.ts#:~:text=license%24), [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/public/plugin.ts#:~:text=license%24), [get_csv_panel_action.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/public/panel_actions/get_csv_panel_action.test.ts#:~:text=license%24) | - | | | [reporting_usage_collector.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/usage/reporting_usage_collector.ts#:~:text=license%24), [core.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/reporting/server/core.ts#:~:text=license%24) | - | @@ -496,15 +649,33 @@ warning: This document is auto-generated and is meant to be viewed inside our ex +## savedObjects + +| Deprecated API | Reference location(s) | Remove By | +| ---------------|-----------|-----------| +| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPatternsContract), [hydrate_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts#:~:text=IndexPatternsContract), [hydrate_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts#:~:text=IndexPatternsContract) | - | +| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [apply_es_resp.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts#:~:text=IndexPattern), [apply_es_resp.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts#:~:text=IndexPattern), [saved_object.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/saved_object.test.ts#:~:text=IndexPattern), [saved_object.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/saved_object.test.ts#:~:text=IndexPattern), [saved_object.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/saved_object.test.ts#:~:text=IndexPattern), [saved_object.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/saved_object.test.ts#:~:text=IndexPattern) | - | +| | [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/plugin.ts#:~:text=indexPatterns), [saved_object.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/saved_object.test.ts#:~:text=indexPatterns), [saved_object.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/saved_object.test.ts#:~:text=indexPatterns) | - | +| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPatternsContract), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPatternsContract), [hydrate_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts#:~:text=IndexPatternsContract), [hydrate_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/hydrate_index_pattern.ts#:~:text=IndexPatternsContract) | - | +| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [apply_es_resp.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts#:~:text=IndexPattern), [apply_es_resp.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts#:~:text=IndexPattern), [saved_object.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/saved_object.test.ts#:~:text=IndexPattern), [saved_object.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/saved_object.test.ts#:~:text=IndexPattern), [saved_object.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/saved_object.test.ts#:~:text=IndexPattern), [saved_object.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/saved_object.test.ts#:~:text=IndexPattern) | - | +| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/types.ts#:~:text=IndexPattern), [apply_es_resp.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts#:~:text=IndexPattern), [apply_es_resp.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/helpers/apply_es_resp.ts#:~:text=IndexPattern), [saved_object.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/saved_object.test.ts#:~:text=IndexPattern), [saved_object.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/saved_object.test.ts#:~:text=IndexPattern), [saved_object.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/saved_object.test.ts#:~:text=IndexPattern), [saved_object.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects/public/saved_object/saved_object.test.ts#:~:text=IndexPattern) | - | + + + ## savedObjectsManagement | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| +| | [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPatternsContract), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPatternsContract), [saved_objects_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx#:~:text=IndexPatternsContract), [saved_objects_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx#:~:text=IndexPatternsContract) | - | +| | [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPattern), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPattern) | - | | | [create_field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/create_field_list.ts#:~:text=castEsToKbnFieldTypeName), [create_field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/create_field_list.ts#:~:text=castEsToKbnFieldTypeName) | 8.1 | +| | [saved_objects_table_page.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/saved_objects_table_page.tsx#:~:text=indexPatterns) | - | +| | [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPatternsContract), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPatternsContract), [saved_objects_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx#:~:text=IndexPatternsContract), [saved_objects_table.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/saved_objects_table.tsx#:~:text=IndexPatternsContract) | - | +| | [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPattern), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPattern) | - | | | [create_field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/create_field_list.ts#:~:text=castEsToKbnFieldTypeName), [create_field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/create_field_list.ts#:~:text=castEsToKbnFieldTypeName) | 8.1 | +| | [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPattern), [flyout.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/objects_table/components/flyout.tsx#:~:text=IndexPattern) | - | | | [create_field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/create_field_list.ts#:~:text=castEsToKbnFieldTypeName), [create_field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/create_field_list.ts#:~:text=castEsToKbnFieldTypeName) | 8.1 | -| | [service_registry.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/services/service_registry.ts#:~:text=SavedObjectLoader), [service_registry.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/services/service_registry.ts#:~:text=SavedObjectLoader), [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=SavedObjectLoader), [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=SavedObjectLoader), [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=SavedObjectLoader), [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=SavedObjectLoader), [create_field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/create_field_list.ts#:~:text=SavedObjectLoader), [create_field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/create_field_list.ts#:~:text=SavedObjectLoader), [form.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/object_view/components/form.tsx#:~:text=SavedObjectLoader), [form.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/object_view/components/form.tsx#:~:text=SavedObjectLoader)+ 3 more | - | -| | [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=SavedObject), [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=SavedObject), [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=SavedObject), [resolve_saved_objects.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts#:~:text=SavedObject), [resolve_saved_objects.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.test.ts#:~:text=SavedObject), [resolve_saved_objects.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.test.ts#:~:text=SavedObject), [resolve_saved_objects.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.test.ts#:~:text=SavedObject), [resolve_saved_objects.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.test.ts#:~:text=SavedObject), [resolve_saved_objects.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.test.ts#:~:text=SavedObject), [resolve_saved_objects.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_saved_objects.test.ts#:~:text=SavedObject) | - | +| | [service_registry.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/services/service_registry.ts#:~:text=SavedObjectLoader), [service_registry.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/services/service_registry.ts#:~:text=SavedObjectLoader), [create_field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/create_field_list.ts#:~:text=SavedObjectLoader), [create_field_list.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/create_field_list.ts#:~:text=SavedObjectLoader), [form.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/object_view/components/form.tsx#:~:text=SavedObjectLoader), [form.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/management_section/object_view/components/form.tsx#:~:text=SavedObjectLoader) | - | | | [resolve_import_errors.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_import_errors.ts#:~:text=createNewCopy) | - | | | [resolve_import_errors.ts](https://github.com/elastic/kibana/tree/master/src/plugins/saved_objects_management/public/lib/resolve_import_errors.ts#:~:text=createNewCopy) | - | @@ -539,10 +710,13 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| +| | [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts#:~:text=IndexPatternsContract), [edit_role_page.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts#:~:text=IndexPatternsContract) | - | +| | [roles_management_app.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/roles_management_app.tsx#:~:text=indexPatterns) | - | +| | [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/management/roles/edit_role/edit_role_page.tsx#:~:text=IndexPatternsContract), [edit_role_page.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts#:~:text=IndexPatternsContract), [edit_role_page.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/target/types/public/management/roles/edit_role/edit_role_page.d.ts#:~:text=IndexPatternsContract) | - | | | [disable_ui_capabilities.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/server/authorization/disable_ui_capabilities.ts#:~:text=requiredRoles) | - | | | [disable_ui_capabilities.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/server/authorization/disable_ui_capabilities.ts#:~:text=requiredRoles) | - | -| | [plugin.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/plugin.tsx#:~:text=license%24) | - | | | [license_service.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/common/licensing/license_service.test.ts#:~:text=mode), [license_service.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/common/licensing/license_service.test.ts#:~:text=mode), [license_service.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/common/licensing/license_service.test.ts#:~:text=mode) | - | +| | [plugin.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/public/plugin.tsx#:~:text=license%24) | - | | | [license_service.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/common/licensing/license_service.test.ts#:~:text=mode), [license_service.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/common/licensing/license_service.test.ts#:~:text=mode), [license_service.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/common/licensing/license_service.test.ts#:~:text=mode) | - | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/server/plugin.ts#:~:text=license%24) | - | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/server/plugin.ts#:~:text=spacesService), [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/server/plugin.ts#:~:text=spacesService), [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/server/plugin.ts#:~:text=spacesService), [plugin.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security/server/plugin.ts#:~:text=spacesService) | 7.16 | @@ -558,13 +732,20 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| | | [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/overview/containers/overview_cti_links/index.tsx#:~:text=dashboardUrlGenerator) | - | +| | [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [entry_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx#:~:text=IndexPattern), [entry_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx#:~:text=IndexPattern), [entry_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx#:~:text=IndexPattern), [list_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx#:~:text=IndexPattern), [list_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx#:~:text=IndexPattern)+ 10 more | - | +| | [field_name_cell.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx#:~:text=IndexPatternField), [field_name_cell.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx#:~:text=IndexPatternField) | - | | | [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/search_strategy/index_fields/index.ts#:~:text=IIndexPattern), [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/search_strategy/index_fields/index.ts#:~:text=IIndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/types.ts#:~:text=IIndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/types.ts#:~:text=IIndexPattern), [action.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/action.ts#:~:text=IIndexPattern), [action.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/action.ts#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/containers/source/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/containers/source/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/containers/source/index.tsx#:~:text=IIndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/components/timeline/helpers.tsx#:~:text=IIndexPattern)+ 76 more | - | +| | [middleware.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/middleware.ts#:~:text=indexPatterns), [plugin.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/plugin.tsx#:~:text=indexPatterns), [dependencies_start_mock.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/mock/endpoint/dependencies_start_mock.ts#:~:text=indexPatterns) | - | | | [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx#:~:text=esFilters), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/components/timeline/query_bar/index.tsx#:~:text=esFilters), [epic.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts#:~:text=esFilters), [epic.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts#:~:text=esFilters), [epic.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts#:~:text=esFilters), [epic.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts#:~:text=esFilters), [epic.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts#:~:text=esFilters), [epic.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts#:~:text=esFilters), [epic.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts#:~:text=esFilters), [epic.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/epic.ts#:~:text=esFilters)+ 15 more | 8.1 | | | [expandable_network.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/components/side_panel/network_details/expandable_network.tsx#:~:text=esQuery), [expandable_network.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/components/side_panel/network_details/expandable_network.tsx#:~:text=esQuery), [events_viewer.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx#:~:text=esQuery), [events_viewer.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/events_viewer/events_viewer.tsx#:~:text=esQuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx#:~:text=esQuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/overview/components/events_by_dataset/index.tsx#:~:text=esQuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_histogram_panel/index.tsx#:~:text=esQuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_histogram_panel/index.tsx#:~:text=esQuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/detections/components/alerts_kpis/alerts_histogram_panel/index.tsx#:~:text=esQuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/top_n/index.tsx#:~:text=esQuery)+ 30 more | 8.1 | -| | [store.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/types/timeline/store.ts#:~:text=Filter), [store.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/types/timeline/store.ts#:~:text=Filter), [model.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/model.ts#:~:text=Filter), [model.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/model.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/actions.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/actions.ts#:~:text=Filter), [selectors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/selectors.ts#:~:text=Filter), [selectors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/selectors.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/actions.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/actions.ts#:~:text=Filter)+ 156 more | 8.1 | -| | [store.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/types/timeline/store.ts#:~:text=Filter), [store.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/types/timeline/store.ts#:~:text=Filter), [model.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/model.ts#:~:text=Filter), [model.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/model.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/actions.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/actions.ts#:~:text=Filter), [selectors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/selectors.ts#:~:text=Filter), [selectors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/selectors.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/actions.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/actions.ts#:~:text=Filter)+ 156 more | 8.1 | +| | [store.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/types/timeline/store.ts#:~:text=Filter), [store.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/types/timeline/store.ts#:~:text=Filter), [model.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/model.ts#:~:text=Filter), [model.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/model.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/actions.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/actions.ts#:~:text=Filter), [selectors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/selectors.ts#:~:text=Filter), [selectors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/selectors.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/actions.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/actions.ts#:~:text=Filter)+ 158 more | 8.1 | +| | [store.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/types/timeline/store.ts#:~:text=Filter), [store.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/types/timeline/store.ts#:~:text=Filter), [model.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/model.ts#:~:text=Filter), [model.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/model.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/actions.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/actions.ts#:~:text=Filter), [selectors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/selectors.ts#:~:text=Filter), [selectors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/selectors.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/actions.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/actions.ts#:~:text=Filter)+ 158 more | 8.1 | +| | [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [entry_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx#:~:text=IndexPattern), [entry_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx#:~:text=IndexPattern), [entry_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx#:~:text=IndexPattern), [list_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx#:~:text=IndexPattern), [list_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx#:~:text=IndexPattern)+ 10 more | - | +| | [field_name_cell.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx#:~:text=IndexPatternField), [field_name_cell.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx#:~:text=IndexPatternField) | - | | | [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/search_strategy/index_fields/index.ts#:~:text=IIndexPattern), [index.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/search_strategy/index_fields/index.ts#:~:text=IIndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/types.ts#:~:text=IIndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/types.ts#:~:text=IIndexPattern), [action.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/action.ts#:~:text=IIndexPattern), [action.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/management/pages/endpoint_hosts/store/action.ts#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/containers/source/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/containers/source/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/containers/source/index.tsx#:~:text=IIndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/components/timeline/helpers.tsx#:~:text=IIndexPattern)+ 76 more | - | -| | [store.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/types/timeline/store.ts#:~:text=Filter), [store.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/types/timeline/store.ts#:~:text=Filter), [model.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/model.ts#:~:text=Filter), [model.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/model.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/actions.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/actions.ts#:~:text=Filter), [selectors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/selectors.ts#:~:text=Filter), [selectors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/selectors.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/actions.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/actions.ts#:~:text=Filter)+ 156 more | 8.1 | +| | [field_name_cell.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx#:~:text=IndexPatternField), [field_name_cell.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/event_details/table/field_name_cell.tsx#:~:text=IndexPatternField) | - | +| | [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [helpers.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/helpers.tsx#:~:text=IndexPattern), [entry_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx#:~:text=IndexPattern), [entry_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx#:~:text=IndexPattern), [entry_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/entry_item.tsx#:~:text=IndexPattern), [list_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx#:~:text=IndexPattern), [list_item.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/components/threat_match/list_item.tsx#:~:text=IndexPattern)+ 10 more | - | +| | [store.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/types/timeline/store.ts#:~:text=Filter), [store.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/types/timeline/store.ts#:~:text=Filter), [model.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/model.ts#:~:text=Filter), [model.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/model.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/actions.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/actions.ts#:~:text=Filter), [selectors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/selectors.ts#:~:text=Filter), [selectors.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/common/store/inputs/selectors.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/actions.ts#:~:text=Filter), [actions.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/public/timelines/store/timeline/actions.ts#:~:text=Filter)+ 158 more | 8.1 | | | [policy_config.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/license/policy_config.test.ts#:~:text=mode), [policy_config.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/license/policy_config.test.ts#:~:text=mode), [policy_config.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/license/policy_config.test.ts#:~:text=mode), [fleet_integration.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.test.ts#:~:text=mode), [fleet_integration.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.test.ts#:~:text=mode), [license_watch.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts#:~:text=mode), [license_watch.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts#:~:text=mode), [license_watch.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts#:~:text=mode), [isolation.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts#:~:text=mode), [isolation.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts#:~:text=mode)+ 2 more | - | | | [policy_config.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/license/policy_config.test.ts#:~:text=mode), [policy_config.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/license/policy_config.test.ts#:~:text=mode), [policy_config.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/common/license/policy_config.test.ts#:~:text=mode), [fleet_integration.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.test.ts#:~:text=mode), [fleet_integration.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/fleet_integration/fleet_integration.test.ts#:~:text=mode), [license_watch.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts#:~:text=mode), [license_watch.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts#:~:text=mode), [license_watch.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/lib/policy/license_watch.test.ts#:~:text=mode), [isolation.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts#:~:text=mode), [isolation.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/endpoint/routes/actions/isolation.test.ts#:~:text=mode)+ 2 more | - | | | [create_signals_migration_route.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/create_signals_migration_route.ts#:~:text=authc), [delete_signals_migration_route.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/delete_signals_migration_route.ts#:~:text=authc), [finalize_signals_migration_route.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/lib/detection_engine/routes/signals/finalize_signals_migration_route.ts#:~:text=authc), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/security_solution/server/lib/timeline/utils/common.ts#:~:text=authc) | - | @@ -597,14 +778,20 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| +| | [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPatternsContract), [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPatternsContract), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPatternsContract), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPatternsContract) | - | +| | [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPattern), [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPattern), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPattern), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPattern) | - | | | [entity_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx#:~:text=IIndexPattern), [entity_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx#:~:text=IIndexPattern), [entity_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx#:~:text=IIndexPattern), [boundary_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx#:~:text=IIndexPattern), [boundary_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx#:~:text=IIndexPattern), [boundary_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=IIndexPattern)+ 1 more | - | | | [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts#:~:text=IFieldType), [single_field_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts#:~:text=IFieldType)+ 16 more | 8.1 | +| | [entity_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx#:~:text=indexPatterns), [boundary_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx#:~:text=indexPatterns), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=indexPatterns), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=indexPatterns), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=indexPatterns) | - | | | [expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/threshold/expression.tsx#:~:text=fieldFormats) | - | | | [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=esKuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=esKuery) | 8.1 | | | [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=esQuery), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=esQuery) | 8.1 | +| | [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPatternsContract), [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPatternsContract), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPatternsContract), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPatternsContract) | - | +| | [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPattern), [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPattern), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPattern), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPattern) | - | | | [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts#:~:text=IFieldType), [single_field_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts#:~:text=IFieldType)+ 16 more | 8.1 | | | [entity_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx#:~:text=IIndexPattern), [entity_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx#:~:text=IIndexPattern), [entity_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/entity_index_expression.tsx#:~:text=IIndexPattern), [boundary_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx#:~:text=IIndexPattern), [boundary_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx#:~:text=IIndexPattern), [boundary_index_expression.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/expressions/boundary_index_expression.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=IIndexPattern), [index.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/index.tsx#:~:text=IIndexPattern)+ 1 more | - | | | [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/single_field_select.tsx#:~:text=IFieldType), [single_field_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts#:~:text=IFieldType), [single_field_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/single_field_select.d.ts#:~:text=IFieldType)+ 16 more | 8.1 | +| | [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPattern), [geo_index_pattern_select.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.tsx#:~:text=IndexPattern), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPattern), [geo_index_pattern_select.d.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/stack_alerts/target/types/public/alert_types/geo_containment/query_builder/util_components/geo_index_pattern_select.d.ts#:~:text=IndexPattern) | - | @@ -624,25 +811,23 @@ warning: This document is auto-generated and is meant to be viewed inside our ex -## timelion - -| Deprecated API | Reference location(s) | Remove By | -| ---------------|-----------|-----------| -| | [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/timelion/public/plugin.ts#:~:text=esFilters), [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/timelion/public/plugin.ts#:~:text=esFilters) | 8.1 | -| | [saved_sheets.ts](https://github.com/elastic/kibana/tree/master/src/plugins/timelion/public/services/saved_sheets.ts#:~:text=SavedObjectLoader), [saved_sheets.ts](https://github.com/elastic/kibana/tree/master/src/plugins/timelion/public/services/saved_sheets.ts#:~:text=SavedObjectLoader) | - | -| | [_saved_sheet.ts](https://github.com/elastic/kibana/tree/master/src/plugins/timelion/public/services/_saved_sheet.ts#:~:text=SavedObjectClass) | - | -| | [application.ts](https://github.com/elastic/kibana/tree/master/src/plugins/timelion/public/application.ts#:~:text=appBasePath) | - | - - - ## transform | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| +| | [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract) | - | +| | [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [wizard.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx#:~:text=IndexPattern), [wizard.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx#:~:text=IndexPattern), [get_pivot_dropdown_options.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts#:~:text=IndexPattern), [get_pivot_dropdown_options.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts#:~:text=IndexPattern), [filter_agg_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx#:~:text=IndexPattern), [filter_agg_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx#:~:text=IndexPattern)+ 10 more | - | | | [es_index_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/services/es_index_service.ts#:~:text=IIndexPattern), [es_index_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/services/es_index_service.ts#:~:text=IIndexPattern), [transforms.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/server/routes/api/transforms.ts#:~:text=IIndexPattern), [transforms.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/server/routes/api/transforms.ts#:~:text=IIndexPattern) | - | +| | [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternAttributes), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternAttributes) | - | +| | [step_create_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_create/step_create_form.tsx#:~:text=indexPatterns), [step_details_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_details/step_details_form.tsx#:~:text=indexPatterns), [use_search_items.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/use_search_items.ts#:~:text=indexPatterns), [use_clone_action.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/transform_management/components/action_clone/use_clone_action.tsx#:~:text=indexPatterns), [use_action_discover.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/transform_management/components/action_discover/use_action_discover.tsx#:~:text=indexPatterns), [edit_transform_flyout_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/transform_management/components/edit_transform_flyout/edit_transform_flyout_form.tsx#:~:text=indexPatterns), [use_edit_action.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/transform_management/components/action_edit/use_edit_action.tsx#:~:text=indexPatterns) | - | | | [use_search_bar.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_search_bar.ts#:~:text=esKuery), [use_search_bar.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_search_bar.ts#:~:text=esKuery), [use_search_bar.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_search_bar.ts#:~:text=esKuery) | 8.1 | | | [use_search_bar.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_search_bar.ts#:~:text=esQuery), [use_search_bar.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/hooks/use_search_bar.ts#:~:text=esQuery), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=esQuery), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=esQuery), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=esQuery) | 8.1 | +| | [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternAttributes), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternAttributes) | - | +| | [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternsContract) | - | +| | [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [wizard.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx#:~:text=IndexPattern), [wizard.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx#:~:text=IndexPattern), [get_pivot_dropdown_options.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts#:~:text=IndexPattern), [get_pivot_dropdown_options.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts#:~:text=IndexPattern), [filter_agg_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx#:~:text=IndexPattern), [filter_agg_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx#:~:text=IndexPattern)+ 10 more | - | | | [es_index_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/services/es_index_service.ts#:~:text=IIndexPattern), [es_index_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/services/es_index_service.ts#:~:text=IIndexPattern), [transforms.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/server/routes/api/transforms.ts#:~:text=IIndexPattern), [transforms.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/server/routes/api/transforms.ts#:~:text=IIndexPattern) | - | +| | [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternAttributes), [common.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/hooks/use_search_items/common.ts#:~:text=IndexPatternAttributes) | - | +| | [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/common/types/index_pattern.ts#:~:text=IndexPattern), [wizard.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx#:~:text=IndexPattern), [wizard.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/wizard/wizard.tsx#:~:text=IndexPattern), [get_pivot_dropdown_options.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts#:~:text=IndexPattern), [get_pivot_dropdown_options.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/get_pivot_dropdown_options.ts#:~:text=IndexPattern), [filter_agg_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx#:~:text=IndexPattern), [filter_agg_form.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/public/app/sections/create_transform/components/step_define/common/filter_agg/components/filter_agg_form.tsx#:~:text=IndexPattern)+ 10 more | - | | | [license.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/transform/server/services/license.ts#:~:text=license%24) | - | @@ -651,10 +836,21 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| +| | [external_links.tsx](https://github.com/elastic/kibana/tree/master/x-pack/plugins/upgrade_assistant/public/application/components/overview/fix_deprecation_logs_step/external_links.tsx#:~:text=indexPatterns) | - | | | [reindex_service.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_service.ts#:~:text=license%24), [reindex_service.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_service.test.ts#:~:text=license%24), [reindex_service.test.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/upgrade_assistant/server/lib/reindexing/reindex_service.test.ts#:~:text=license%24) | - | +## uptime + +| Deprecated API | Reference location(s) | Remove By | +| ---------------|-----------|-----------| +| | [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/state/reducers/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/state/reducers/index_pattern.ts#:~:text=IndexPattern), [update_kuery_string.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/hooks/update_kuery_string.ts#:~:text=IndexPattern), [update_kuery_string.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/hooks/update_kuery_string.ts#:~:text=IndexPattern) | - | +| | [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/state/reducers/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/state/reducers/index_pattern.ts#:~:text=IndexPattern), [update_kuery_string.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/hooks/update_kuery_string.ts#:~:text=IndexPattern), [update_kuery_string.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/hooks/update_kuery_string.ts#:~:text=IndexPattern) | - | +| | [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/state/reducers/index_pattern.ts#:~:text=IndexPattern), [index_pattern.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/state/reducers/index_pattern.ts#:~:text=IndexPattern), [update_kuery_string.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/hooks/update_kuery_string.ts#:~:text=IndexPattern), [update_kuery_string.ts](https://github.com/elastic/kibana/tree/master/x-pack/plugins/uptime/public/hooks/update_kuery_string.ts#:~:text=IndexPattern) | - | + + + ## urlDrilldown | Deprecated API | Reference location(s) | Remove By | @@ -669,8 +865,14 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| +| | [agg_type_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts#:~:text=IndexPattern), [agg_type_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts#:~:text=IndexPattern), [agg_type_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts#:~:text=IndexPattern), [editor_config.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/utils/editor_config.ts#:~:text=IndexPattern), [editor_config.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/utils/editor_config.ts#:~:text=IndexPattern), [agg_params_helper.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_params_helper.ts#:~:text=IndexPattern), [agg_params_helper.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_params_helper.ts#:~:text=IndexPattern), [agg_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_select.tsx#:~:text=IndexPattern), [agg_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_select.tsx#:~:text=IndexPattern), [agg_params.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_params.tsx#:~:text=IndexPattern)+ 7 more | - | +| | [agg_type_field_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts#:~:text=IndexPatternField), [agg_type_field_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts#:~:text=IndexPatternField), [agg_type_field_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts#:~:text=IndexPatternField), [agg_param_props.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_param_props.ts#:~:text=IndexPatternField), [agg_param_props.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_param_props.ts#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [top_field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/top_field.tsx#:~:text=IndexPatternField)+ 14 more | - | | | [reducers.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/sidebar/state/reducers.ts#:~:text=toJSON), [reducers.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/sidebar/state/reducers.ts#:~:text=toJSON), [reducers.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/sidebar/state/reducers.ts#:~:text=toJSON), [sidebar.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/sidebar/sidebar.tsx#:~:text=toJSON) | 8.1 | +| | [agg_type_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts#:~:text=IndexPattern), [agg_type_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts#:~:text=IndexPattern), [agg_type_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts#:~:text=IndexPattern), [editor_config.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/utils/editor_config.ts#:~:text=IndexPattern), [editor_config.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/utils/editor_config.ts#:~:text=IndexPattern), [agg_params_helper.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_params_helper.ts#:~:text=IndexPattern), [agg_params_helper.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_params_helper.ts#:~:text=IndexPattern), [agg_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_select.tsx#:~:text=IndexPattern), [agg_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_select.tsx#:~:text=IndexPattern), [agg_params.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_params.tsx#:~:text=IndexPattern)+ 7 more | - | +| | [agg_type_field_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts#:~:text=IndexPatternField), [agg_type_field_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts#:~:text=IndexPatternField), [agg_type_field_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts#:~:text=IndexPatternField), [agg_param_props.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_param_props.ts#:~:text=IndexPatternField), [agg_param_props.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_param_props.ts#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [top_field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/top_field.tsx#:~:text=IndexPatternField)+ 14 more | - | | | [reducers.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/sidebar/state/reducers.ts#:~:text=toJSON), [reducers.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/sidebar/state/reducers.ts#:~:text=toJSON), [reducers.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/sidebar/state/reducers.ts#:~:text=toJSON), [sidebar.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/sidebar/sidebar.tsx#:~:text=toJSON) | 8.1 | +| | [agg_type_field_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts#:~:text=IndexPatternField), [agg_type_field_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts#:~:text=IndexPatternField), [agg_type_field_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_field_filters.ts#:~:text=IndexPatternField), [agg_param_props.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_param_props.ts#:~:text=IndexPatternField), [agg_param_props.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_param_props.ts#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/field.tsx#:~:text=IndexPatternField), [top_field.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/controls/top_field.tsx#:~:text=IndexPatternField)+ 14 more | - | +| | [agg_type_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts#:~:text=IndexPattern), [agg_type_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts#:~:text=IndexPattern), [agg_type_filters.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/agg_filters/agg_type_filters.ts#:~:text=IndexPattern), [editor_config.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/utils/editor_config.ts#:~:text=IndexPattern), [editor_config.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/utils/editor_config.ts#:~:text=IndexPattern), [agg_params_helper.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_params_helper.ts#:~:text=IndexPattern), [agg_params_helper.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_params_helper.ts#:~:text=IndexPattern), [agg_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_select.tsx#:~:text=IndexPattern), [agg_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_select.tsx#:~:text=IndexPattern), [agg_params.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/agg_params.tsx#:~:text=IndexPattern)+ 7 more | - | | | [sidebar_title.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/sidebar/sidebar_title.tsx#:~:text=SavedObject), [sidebar_title.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/sidebar/sidebar_title.tsx#:~:text=SavedObject), [sidebar_title.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/sidebar/sidebar_title.tsx#:~:text=SavedObject), [sidebar.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/sidebar/sidebar.tsx#:~:text=SavedObject), [sidebar.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/public/components/sidebar/sidebar.tsx#:~:text=SavedObject), [sidebar.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/target/types/public/components/sidebar/sidebar.d.ts#:~:text=SavedObject), [sidebar.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/target/types/public/components/sidebar/sidebar.d.ts#:~:text=SavedObject), [sidebar_title.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/target/types/public/components/sidebar/sidebar_title.d.ts#:~:text=SavedObject), [sidebar_title.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/target/types/public/components/sidebar/sidebar_title.d.ts#:~:text=SavedObject), [sidebar_title.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_default_editor/target/types/public/components/sidebar/sidebar_title.d.ts#:~:text=SavedObject) | - | @@ -696,7 +898,10 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| +| | [table_vis_controller.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_table/public/legacy/table_vis_controller.test.ts#:~:text=IndexPattern), [table_vis_controller.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_table/public/legacy/table_vis_controller.test.ts#:~:text=IndexPattern) | - | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_table/public/plugin.ts#:~:text=fieldFormats) | - | +| | [table_vis_controller.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_table/public/legacy/table_vis_controller.test.ts#:~:text=IndexPattern), [table_vis_controller.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_table/public/legacy/table_vis_controller.test.ts#:~:text=IndexPattern) | - | +| | [table_vis_controller.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_table/public/legacy/table_vis_controller.test.ts#:~:text=IndexPattern), [table_vis_controller.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_table/public/legacy/table_vis_controller.test.ts#:~:text=IndexPattern) | - | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_table/public/plugin.ts#:~:text=AsyncPlugin), [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_table/public/plugin.ts#:~:text=AsyncPlugin), [plugin.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_table/target/types/public/plugin.d.ts#:~:text=AsyncPlugin), [plugin.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_table/target/types/public/plugin.d.ts#:~:text=AsyncPlugin) | - | @@ -705,11 +910,14 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| +| | [plugin_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timelion/public/helpers/plugin_services.ts#:~:text=IndexPatternsContract), [plugin_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timelion/public/helpers/plugin_services.ts#:~:text=IndexPatternsContract), [timelion_expression_input_helpers.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timelion/public/components/timelion_expression_input_helpers.test.ts#:~:text=IndexPatternsContract), [timelion_expression_input_helpers.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timelion/public/components/timelion_expression_input_helpers.test.ts#:~:text=IndexPatternsContract) | - | +| | [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timelion/public/plugin.ts#:~:text=indexPatterns) | - | | | [timelion_vis_component.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timelion/public/components/timelion_vis_component.tsx#:~:text=RangeFilterParams), [timelion_vis_component.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timelion/public/components/timelion_vis_component.tsx#:~:text=RangeFilterParams), [timelion_vis_renderer.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timelion/public/timelion_vis_renderer.tsx#:~:text=RangeFilterParams), [timelion_vis_renderer.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timelion/public/timelion_vis_renderer.tsx#:~:text=RangeFilterParams), [timelion_vis_component.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timelion/public/legacy/timelion_vis_component.tsx#:~:text=RangeFilterParams), [timelion_vis_component.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timelion/public/legacy/timelion_vis_component.tsx#:~:text=RangeFilterParams) | 8.1 | | | [timelion_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timelion/public/helpers/timelion_request_handler.ts#:~:text=esQuery), [timelion_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timelion/public/helpers/timelion_request_handler.ts#:~:text=esQuery), [timelion_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timelion/public/helpers/timelion_request_handler.ts#:~:text=esQuery) | 8.1 | | | [timelion_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timelion/public/helpers/timelion_request_handler.ts#:~:text=Filter), [timelion_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timelion/public/helpers/timelion_request_handler.ts#:~:text=Filter), [timelion_vis_fn.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timelion/public/timelion_vis_fn.ts#:~:text=Filter), [timelion_vis_fn.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timelion/public/timelion_vis_fn.ts#:~:text=Filter) | 8.1 | | | [timelion_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timelion/public/helpers/timelion_request_handler.ts#:~:text=Filter), [timelion_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timelion/public/helpers/timelion_request_handler.ts#:~:text=Filter), [timelion_vis_fn.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timelion/public/timelion_vis_fn.ts#:~:text=Filter), [timelion_vis_fn.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timelion/public/timelion_vis_fn.ts#:~:text=Filter) | 8.1 | | | [timelion_vis_component.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timelion/public/components/timelion_vis_component.tsx#:~:text=RangeFilterParams), [timelion_vis_component.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timelion/public/components/timelion_vis_component.tsx#:~:text=RangeFilterParams), [timelion_vis_renderer.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timelion/public/timelion_vis_renderer.tsx#:~:text=RangeFilterParams), [timelion_vis_renderer.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timelion/public/timelion_vis_renderer.tsx#:~:text=RangeFilterParams), [timelion_vis_component.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timelion/public/legacy/timelion_vis_component.tsx#:~:text=RangeFilterParams), [timelion_vis_component.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timelion/public/legacy/timelion_vis_component.tsx#:~:text=RangeFilterParams) | 8.1 | +| | [plugin_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timelion/public/helpers/plugin_services.ts#:~:text=IndexPatternsContract), [plugin_services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timelion/public/helpers/plugin_services.ts#:~:text=IndexPatternsContract), [timelion_expression_input_helpers.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timelion/public/components/timelion_expression_input_helpers.test.ts#:~:text=IndexPatternsContract), [timelion_expression_input_helpers.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timelion/public/components/timelion_expression_input_helpers.test.ts#:~:text=IndexPatternsContract) | - | | | [timelion_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timelion/public/helpers/timelion_request_handler.ts#:~:text=Filter), [timelion_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timelion/public/helpers/timelion_request_handler.ts#:~:text=Filter), [timelion_vis_fn.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timelion/public/timelion_vis_fn.ts#:~:text=Filter), [timelion_vis_fn.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timelion/public/timelion_vis_fn.ts#:~:text=Filter) | 8.1 | @@ -718,17 +926,22 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| -| | [abstract_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts#:~:text=getNonScriptedFields), [fetch_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/public/application/lib/fetch_fields.ts#:~:text=getNonScriptedFields) | 8.1 | -| | [abstract_search_strategy.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts#:~:text=IFieldType), [abstract_search_strategy.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts#:~:text=IFieldType) | 8.1 | +| | [abstract_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts#:~:text=IndexPatternsService), [abstract_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts#:~:text=IndexPatternsService), [default_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts#:~:text=IndexPatternsService), [default_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts#:~:text=IndexPatternsService), [cached_index_pattern_fetcher.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts#:~:text=IndexPatternsService), [cached_index_pattern_fetcher.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts#:~:text=IndexPatternsService), [rollup_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts#:~:text=IndexPatternsService), [rollup_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts#:~:text=IndexPatternsService), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/types.ts#:~:text=IndexPatternsService), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/types.ts#:~:text=IndexPatternsService)+ 17 more | - | +| | [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/common/types/index.ts#:~:text=IndexPattern), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/common/types/index.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern)+ 13 more | - | +| | [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField) | - | +| | [fetch_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/public/application/lib/fetch_fields.ts#:~:text=indexPatterns), [combo_box_select.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/public/application/components/lib/index_pattern_select/combo_box_select.tsx#:~:text=indexPatterns), [query_bar_wrapper.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/public/application/components/query_bar_wrapper.tsx#:~:text=indexPatterns), [annotation_row.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/public/application/components/annotation_row.tsx#:~:text=indexPatterns), [metrics_type.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/public/metrics_type.ts#:~:text=indexPatterns), [convert_series_to_datatable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.ts#:~:text=indexPatterns), [timeseries_visualization.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/public/application/components/timeseries_visualization.tsx#:~:text=indexPatterns), [timeseries_visualization.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/public/application/components/timeseries_visualization.tsx#:~:text=indexPatterns) | - | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/public/plugin.ts#:~:text=fieldFormats) | - | | | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/table/types.ts#:~:text=EsQueryConfig), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/table/types.ts#:~:text=EsQueryConfig) | 8.1 | | | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/common/types/index.ts#:~:text=Filter), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/common/types/index.ts#:~:text=Filter) | 8.1 | | | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/common/types/index.ts#:~:text=Filter), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/common/types/index.ts#:~:text=Filter) | 8.1 | | | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/table/types.ts#:~:text=EsQueryConfig), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/table/types.ts#:~:text=EsQueryConfig) | 8.1 | -| | [abstract_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts#:~:text=getNonScriptedFields), [fetch_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/public/application/lib/fetch_fields.ts#:~:text=getNonScriptedFields) | 8.1 | -| | [abstract_search_strategy.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts#:~:text=IFieldType), [abstract_search_strategy.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts#:~:text=IFieldType) | 8.1 | -| | [abstract_search_strategy.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts#:~:text=IFieldType), [abstract_search_strategy.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.test.ts#:~:text=IFieldType) | 8.1 | -| | [abstract_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts#:~:text=getNonScriptedFields), [fetch_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/public/application/lib/fetch_fields.ts#:~:text=getNonScriptedFields) | 8.1 | +| | [abstract_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts#:~:text=IndexPatternsService), [abstract_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts#:~:text=IndexPatternsService), [default_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts#:~:text=IndexPatternsService), [default_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts#:~:text=IndexPatternsService), [cached_index_pattern_fetcher.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts#:~:text=IndexPatternsService), [cached_index_pattern_fetcher.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts#:~:text=IndexPatternsService), [rollup_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts#:~:text=IndexPatternsService), [rollup_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts#:~:text=IndexPatternsService), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/types.ts#:~:text=IndexPatternsService), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/types.ts#:~:text=IndexPatternsService)+ 17 more | - | +| | [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/common/types/index.ts#:~:text=IndexPattern), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/common/types/index.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern)+ 13 more | - | +| | [abstract_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts#:~:text=getNonScriptedFields), [fetch_fields.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/public/application/lib/fetch_fields.ts#:~:text=getNonScriptedFields) | 8.1 | +| | [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField) | - | +| | [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField), [convert_series_to_datatable.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_datatable.test.ts#:~:text=IndexPatternField) | - | +| | [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [cached_index_pattern_fetcher.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.test.ts#:~:text=IndexPattern), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/common/types/index.ts#:~:text=IndexPattern), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/common/types/index.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern), [index_patterns_utils.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/common/index_patterns_utils.test.ts#:~:text=IndexPattern)+ 13 more | - | +| | [abstract_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts#:~:text=IndexPatternsService), [abstract_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/abstract_search_strategy.ts#:~:text=IndexPatternsService), [default_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts#:~:text=IndexPatternsService), [default_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/default_search_strategy.ts#:~:text=IndexPatternsService), [cached_index_pattern_fetcher.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts#:~:text=IndexPatternsService), [cached_index_pattern_fetcher.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/lib/cached_index_pattern_fetcher.ts#:~:text=IndexPatternsService), [rollup_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts#:~:text=IndexPatternsService), [rollup_search_strategy.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/search_strategies/strategies/rollup_search_strategy.ts#:~:text=IndexPatternsService), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/types.ts#:~:text=IndexPatternsService), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/types.ts#:~:text=IndexPatternsService)+ 44 more | - | | | [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/common/types/index.ts#:~:text=Filter), [index.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/common/types/index.ts#:~:text=Filter) | 8.1 | | | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/table/types.ts#:~:text=EsQueryConfig), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_type_timeseries/server/lib/vis_data/request_processors/table/types.ts#:~:text=EsQueryConfig) | 8.1 | @@ -738,9 +951,13 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| +| | [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern) | - | +| | [search_api.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/data_model/search_api.ts#:~:text=indexPatterns), [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_request_handler.ts#:~:text=indexPatterns), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=indexPatterns), [search_api.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/data_model/search_api.test.ts#:~:text=indexPatterns), [search_api.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/data_model/search_api.test.ts#:~:text=indexPatterns), [search_api.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/data_model/search_api.test.ts#:~:text=indexPatterns), [view.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_view/vega_map_view/view.test.ts#:~:text=indexPatterns) | - | | | [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_request_handler.ts#:~:text=esQuery), [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_request_handler.ts#:~:text=esQuery), [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_request_handler.ts#:~:text=esQuery) | 8.1 | | | [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_request_handler.ts#:~:text=Filter), [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_request_handler.ts#:~:text=Filter) | 8.1 | | | [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_request_handler.ts#:~:text=Filter), [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_request_handler.ts#:~:text=Filter) | 8.1 | +| | [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern) | - | +| | [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern), [extract_index_pattern.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/lib/extract_index_pattern.ts#:~:text=IndexPattern) | - | | | [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_request_handler.ts#:~:text=Filter), [vega_request_handler.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/vega_request_handler.ts#:~:text=Filter) | 8.1 | | | [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/plugin.ts#:~:text=injectedMetadata) | - | | | [search_api.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/data_model/search_api.ts#:~:text=injectedMetadata), [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/public/plugin.ts#:~:text=injectedMetadata), [search_api.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/vis_types/vega/target/types/public/data_model/search_api.d.ts#:~:text=injectedMetadata) | - | @@ -771,11 +988,20 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| +| | [_saved_vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts#:~:text=IndexPatternsContract), [_saved_vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts#:~:text=IndexPatternsContract) | - | +| | [vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis.ts#:~:text=IndexPattern), [vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis_types/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis_types/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis_types/types.ts#:~:text=IndexPattern), [create_vis_embeddable_from_object.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts#:~:text=IndexPattern), [create_vis_embeddable_from_object.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts#:~:text=IndexPattern), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=IndexPattern), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=IndexPattern), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=IndexPattern) | - | +| | [controls_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [controls_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [timeseries_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [timeseries_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE) | - | | | [vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis.ts#:~:text=toJSON) | 8.1 | +| | [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/plugin.ts#:~:text=indexPatterns) | - | | | [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=esFilters), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=esFilters) | 8.1 | | | [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=Filter), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=Filter), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=Filter) | 8.1 | +| | [controls_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [controls_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [timeseries_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [timeseries_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE) | - | | | [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=Filter), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=Filter), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=Filter) | 8.1 | +| | [_saved_vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts#:~:text=IndexPatternsContract), [_saved_vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts#:~:text=IndexPatternsContract) | - | +| | [vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis.ts#:~:text=IndexPattern), [vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis_types/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis_types/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis_types/types.ts#:~:text=IndexPattern), [create_vis_embeddable_from_object.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts#:~:text=IndexPattern), [create_vis_embeddable_from_object.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts#:~:text=IndexPattern), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=IndexPattern), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=IndexPattern), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=IndexPattern) | - | | | [vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis.ts#:~:text=toJSON) | 8.1 | +| | [controls_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [controls_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/controls_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [timeseries_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [timeseries_references.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualization_references/timeseries_references.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE), [visualization_saved_object_migrations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/server/migrations/visualization_saved_object_migrations.ts#:~:text=INDEX_PATTERN_SAVED_OBJECT_TYPE) | - | +| | [vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis.ts#:~:text=IndexPattern), [vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis_types/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis_types/types.ts#:~:text=IndexPattern), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/vis_types/types.ts#:~:text=IndexPattern), [create_vis_embeddable_from_object.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts#:~:text=IndexPattern), [create_vis_embeddable_from_object.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/create_vis_embeddable_from_object.ts#:~:text=IndexPattern), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=IndexPattern), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=IndexPattern), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=IndexPattern) | - | | | [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=Filter), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=Filter), [visualize_embeddable.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts#:~:text=Filter) | 8.1 | | | [find_list_items.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/find_list_items.ts#:~:text=SavedObjectLoader), [find_list_items.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/find_list_items.ts#:~:text=SavedObjectLoader), [saved_visualizations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualizations.ts#:~:text=SavedObjectLoader), [saved_visualizations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualizations.ts#:~:text=SavedObjectLoader), [saved_visualizations.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/saved_visualizations.ts#:~:text=SavedObjectLoader), [services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/services.ts#:~:text=SavedObjectLoader), [services.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/services.ts#:~:text=SavedObjectLoader) | - | | | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/types.ts#:~:text=SavedObject), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/types.ts#:~:text=SavedObject), [_saved_vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts#:~:text=SavedObject), [_saved_vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts#:~:text=SavedObject), [_saved_vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts#:~:text=SavedObject), [_saved_vis.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts#:~:text=SavedObject) | - | @@ -787,10 +1013,15 @@ warning: This document is auto-generated and is meant to be viewed inside our ex | Deprecated API | Reference location(s) | Remove By | | ---------------|-----------|-----------| +| | [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern) | - | +| | [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=indexPatterns), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=indexPatterns), [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/plugin.ts#:~:text=indexPatterns), [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/plugin.ts#:~:text=indexPatterns) | - | | | [use_visualize_app_state.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/use/use_visualize_app_state.tsx#:~:text=esFilters), [use_visualize_app_state.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/use/use_visualize_app_state.tsx#:~:text=esFilters), [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/plugin.ts#:~:text=esFilters), [plugin.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/plugin.ts#:~:text=esFilters), [get_visualize_list_item_link.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/get_visualize_list_item_link.test.ts#:~:text=esFilters), [get_visualize_list_item_link.test.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/get_visualize_list_item_link.test.ts#:~:text=esFilters) | 8.1 | -| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/utils.ts#:~:text=Filter), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/utils.ts#:~:text=Filter), [use_linked_search_updates.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/use/use_linked_search_updates.ts#:~:text=Filter), [use_linked_search_updates.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/use/use_linked_search_updates.ts#:~:text=Filter), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/target/types/public/application/types.d.ts#:~:text=Filter), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/target/types/public/application/types.d.ts#:~:text=Filter)+ 2 more | 8.1 | -| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/utils.ts#:~:text=Filter), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/utils.ts#:~:text=Filter), [use_linked_search_updates.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/use/use_linked_search_updates.ts#:~:text=Filter), [use_linked_search_updates.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/use/use_linked_search_updates.ts#:~:text=Filter), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/target/types/public/application/types.d.ts#:~:text=Filter), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/target/types/public/application/types.d.ts#:~:text=Filter)+ 2 more | 8.1 | -| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/utils.ts#:~:text=Filter), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/utils.ts#:~:text=Filter), [use_linked_search_updates.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/use/use_linked_search_updates.ts#:~:text=Filter), [use_linked_search_updates.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/use/use_linked_search_updates.ts#:~:text=Filter), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/target/types/public/application/types.d.ts#:~:text=Filter), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/target/types/public/application/types.d.ts#:~:text=Filter)+ 2 more | 8.1 | +| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/utils.ts#:~:text=Filter), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/utils.ts#:~:text=Filter), [use_linked_search_updates.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/use/use_linked_search_updates.ts#:~:text=Filter), [use_linked_search_updates.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/use/use_linked_search_updates.ts#:~:text=Filter), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/target/types/public/application/types.d.ts#:~:text=Filter), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/target/types/public/application/types.d.ts#:~:text=Filter)+ 6 more | 8.1 | +| | [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/common/locator.ts#:~:text=isFilterPinned), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/common/locator.ts#:~:text=isFilterPinned), [locator.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/common/locator.ts#:~:text=isFilterPinned) | 8.1 | +| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/utils.ts#:~:text=Filter), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/utils.ts#:~:text=Filter), [use_linked_search_updates.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/use/use_linked_search_updates.ts#:~:text=Filter), [use_linked_search_updates.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/use/use_linked_search_updates.ts#:~:text=Filter), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/target/types/public/application/types.d.ts#:~:text=Filter), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/target/types/public/application/types.d.ts#:~:text=Filter)+ 6 more | 8.1 | +| | [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern) | - | +| | [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern), [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=IndexPattern) | - | +| | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=Filter), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/utils.ts#:~:text=Filter), [utils.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/utils.ts#:~:text=Filter), [use_linked_search_updates.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/use/use_linked_search_updates.ts#:~:text=Filter), [use_linked_search_updates.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/use/use_linked_search_updates.ts#:~:text=Filter), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/target/types/public/application/types.d.ts#:~:text=Filter), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/target/types/public/application/types.d.ts#:~:text=Filter)+ 6 more | 8.1 | | | [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=SavedObject), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=SavedObject), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=SavedObject), [types.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/types.ts#:~:text=SavedObject), [get_visualization_instance.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/get_visualization_instance.ts#:~:text=SavedObject), [get_visualization_instance.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/utils/get_visualization_instance.ts#:~:text=SavedObject), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/target/types/public/application/types.d.ts#:~:text=SavedObject), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/target/types/public/application/types.d.ts#:~:text=SavedObject), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/target/types/public/application/types.d.ts#:~:text=SavedObject), [types.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/target/types/public/application/types.d.ts#:~:text=SavedObject)+ 3 more | - | | | [visualize_listing.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_listing.tsx#:~:text=settings), [visualize_listing.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_listing.tsx#:~:text=settings) | - | | | [visualize_top_nav.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_top_nav.tsx#:~:text=onAppLeave), [visualize_editor_common.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/components/visualize_editor_common.tsx#:~:text=onAppLeave), [app.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/app.tsx#:~:text=onAppLeave), [index.tsx](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/public/application/index.tsx#:~:text=onAppLeave), [app.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/target/types/public/application/app.d.ts#:~:text=onAppLeave), [index.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/target/types/public/application/index.d.ts#:~:text=onAppLeave), [visualize_editor_common.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/target/types/public/application/components/visualize_editor_common.d.ts#:~:text=onAppLeave), [visualize_top_nav.d.ts](https://github.com/elastic/kibana/tree/master/src/plugins/visualize/target/types/public/application/components/visualize_top_nav.d.ts#:~:text=onAppLeave) | - | diff --git a/api_docs/dev_tools.json b/api_docs/dev_tools.json index bab8b4a9a999e..4584d740db125 100644 --- a/api_docs/dev_tools.json +++ b/api_docs/dev_tools.json @@ -86,7 +86,7 @@ }, { "parentPluginId": "devTools", - "id": "def-public.DevToolsPlugin.setup.$2.urlForwarding", + "id": "def-public.DevToolsPlugin.setup.$2", "type": "Object", "tags": [], "label": "{ urlForwarding }", @@ -96,7 +96,7 @@ "children": [ { "parentPluginId": "devTools", - "id": "def-public.DevToolsPlugin.setup.$2.urlForwarding.urlForwarding", + "id": "def-public.DevToolsPlugin.setup.$2.urlForwarding", "type": "Object", "tags": [], "label": "urlForwarding", diff --git a/api_docs/discover.json b/api_docs/discover.json index f5571b0ce622a..4daa43c322117 100644 --- a/api_docs/discover.json +++ b/api_docs/discover.json @@ -1009,7 +1009,7 @@ "signature": [ "\"search\"" ], - "path": "src/plugins/discover/public/application/embeddable/constants.ts", + "path": "src/plugins/discover/common/index.ts", "deprecated": false, "initialIsOpen": false } @@ -1121,7 +1121,7 @@ "references": [ { "plugin": "osquery", - "path": "x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_table.tsx" + "path": "x-pack/plugins/osquery/public/scheduled_query_groups/scheduled_query_group_queries_status_table.tsx" }, { "plugin": "osquery", @@ -1310,6 +1310,20 @@ "deprecated": false, "initialIsOpen": false }, + { + "parentPluginId": "discover", + "id": "def-common.SEARCH_EMBEDDABLE_TYPE", + "type": "string", + "tags": [], + "label": "SEARCH_EMBEDDABLE_TYPE", + "description": [], + "signature": [ + "\"search\"" + ], + "path": "src/plugins/discover/common/index.ts", + "deprecated": false, + "initialIsOpen": false + }, { "parentPluginId": "discover", "id": "def-common.SEARCH_FIELDS_FROM_SOURCE", diff --git a/api_docs/discover.mdx b/api_docs/discover.mdx index 610ec5d90f267..ee34b0c54dccf 100644 --- a/api_docs/discover.mdx +++ b/api_docs/discover.mdx @@ -12,13 +12,13 @@ import discoverObj from './discover.json'; This plugin contains the Discover application and the saved search embeddable. -Contact [Kibana App](https://github.com/orgs/elastic/teams/kibana-app) for questions regarding this plugin. +Contact [Data Discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) for questions regarding this plugin. **Code health stats** | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 81 | 0 | 55 | 6 | +| 82 | 0 | 56 | 6 | ## Client diff --git a/api_docs/discover_enhanced.json b/api_docs/discover_enhanced.json index eaa794a40affc..a4ef8ec82ab0e 100644 --- a/api_docs/discover_enhanced.json +++ b/api_docs/discover_enhanced.json @@ -721,7 +721,7 @@ "label": "kibanaLegacy", "description": [], "signature": [ - "{ loadFontAwesome: () => Promise; loadAngularBootstrap: () => Promise; config: Readonly<{} & { defaultAppId: string; }>; } | undefined" + "{ loadFontAwesome: () => Promise; loadAngularBootstrap: () => Promise; } | undefined" ], "path": "x-pack/plugins/discover_enhanced/public/plugin.ts", "deprecated": false diff --git a/api_docs/discover_enhanced.mdx b/api_docs/discover_enhanced.mdx index ecba2f6d0f805..e3a5dd501c076 100644 --- a/api_docs/discover_enhanced.mdx +++ b/api_docs/discover_enhanced.mdx @@ -12,7 +12,7 @@ import discoverEnhancedObj from './discover_enhanced.json'; -Contact [Kibana App](https://github.com/orgs/elastic/teams/kibana-app) for questions regarding this plugin. +Contact [Data Discovery](https://github.com/orgs/elastic/teams/kibana-data-discovery) for questions regarding this plugin. **Code health stats** diff --git a/api_docs/embeddable.json b/api_docs/embeddable.json index fdf0ed78da092..ff7f163c5f48e 100644 --- a/api_docs/embeddable.json +++ b/api_docs/embeddable.json @@ -3681,7 +3681,7 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.EmbeddableStateTransfer.navigateToEditor.$2.options", + "id": "def-public.EmbeddableStateTransfer.navigateToEditor.$2", "type": "Object", "tags": [], "label": "options", @@ -3691,7 +3691,7 @@ "children": [ { "parentPluginId": "embeddable", - "id": "def-public.EmbeddableStateTransfer.navigateToEditor.$2.options.path", + "id": "def-public.EmbeddableStateTransfer.navigateToEditor.$2.path", "type": "string", "tags": [], "label": "path", @@ -3704,7 +3704,7 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.EmbeddableStateTransfer.navigateToEditor.$2.options.openInNewTab", + "id": "def-public.EmbeddableStateTransfer.navigateToEditor.$2.openInNewTab", "type": "CompoundType", "tags": [], "label": "openInNewTab", @@ -3717,7 +3717,7 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.EmbeddableStateTransfer.navigateToEditor.$2.options.state", + "id": "def-public.EmbeddableStateTransfer.navigateToEditor.$2.state", "type": "Object", "tags": [], "label": "state", @@ -3778,7 +3778,7 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.EmbeddableStateTransfer.navigateToWithEmbeddablePackage.$2.options", + "id": "def-public.EmbeddableStateTransfer.navigateToWithEmbeddablePackage.$2", "type": "Object", "tags": [], "label": "options", @@ -3788,7 +3788,7 @@ "children": [ { "parentPluginId": "embeddable", - "id": "def-public.EmbeddableStateTransfer.navigateToWithEmbeddablePackage.$2.options.path", + "id": "def-public.EmbeddableStateTransfer.navigateToWithEmbeddablePackage.$2.path", "type": "string", "tags": [], "label": "path", @@ -3801,7 +3801,7 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.EmbeddableStateTransfer.navigateToWithEmbeddablePackage.$2.options.state", + "id": "def-public.EmbeddableStateTransfer.navigateToWithEmbeddablePackage.$2.state", "type": "Object", "tags": [], "label": "state", @@ -5041,7 +5041,7 @@ "children": [ { "parentPluginId": "embeddable", - "id": "def-public.openAddPanelFlyout.$1.options", + "id": "def-public.openAddPanelFlyout.$1", "type": "Object", "tags": [], "label": "options", @@ -5051,7 +5051,7 @@ "children": [ { "parentPluginId": "embeddable", - "id": "def-public.openAddPanelFlyout.$1.options.embeddable", + "id": "def-public.openAddPanelFlyout.$1.embeddable", "type": "Object", "tags": [], "label": "embeddable", @@ -5087,7 +5087,7 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.openAddPanelFlyout.$1.options.getFactory", + "id": "def-public.openAddPanelFlyout.$1.getFactory", "type": "Function", "tags": [], "label": "getFactory", @@ -5159,7 +5159,7 @@ "children": [ { "parentPluginId": "embeddable", - "id": "def-public.embeddableFactoryId", + "id": "def-public.openAddPanelFlyout.$1.getFactory.$1", "type": "string", "tags": [], "label": "embeddableFactoryId", @@ -5171,7 +5171,7 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.openAddPanelFlyout.$1.options.getAllFactories", + "id": "def-public.openAddPanelFlyout.$1.getAllFactories", "type": "Function", "tags": [], "label": "getAllFactories", @@ -5236,7 +5236,7 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.openAddPanelFlyout.$1.options.overlays", + "id": "def-public.openAddPanelFlyout.$1.overlays", "type": "Object", "tags": [], "label": "overlays", @@ -5255,7 +5255,7 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.openAddPanelFlyout.$1.options.notifications", + "id": "def-public.openAddPanelFlyout.$1.notifications", "type": "Object", "tags": [], "label": "notifications", @@ -5274,7 +5274,7 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.openAddPanelFlyout.$1.options.SavedObjectFinder", + "id": "def-public.openAddPanelFlyout.$1.SavedObjectFinder", "type": "CompoundType", "tags": [], "label": "SavedObjectFinder", @@ -5287,7 +5287,7 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.openAddPanelFlyout.$1.options.showCreateNewMenu", + "id": "def-public.openAddPanelFlyout.$1.showCreateNewMenu", "type": "CompoundType", "tags": [], "label": "showCreateNewMenu", @@ -5300,7 +5300,7 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.openAddPanelFlyout.$1.options.reportUiCounter", + "id": "def-public.openAddPanelFlyout.$1.reportUiCounter", "type": "Function", "tags": [], "label": "reportUiCounter", @@ -5711,7 +5711,7 @@ "children": [ { "parentPluginId": "embeddable", - "id": "def-public.props", + "id": "def-public.EmbeddableChildPanelProps.PanelComponent.$1", "type": "CompoundType", "tags": [], "label": "props", @@ -5724,7 +5724,7 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.context", + "id": "def-public.EmbeddableChildPanelProps.PanelComponent.$2", "type": "Any", "tags": [], "label": "context", @@ -8289,7 +8289,7 @@ "section": "def-public.EmbeddableFactory", "text": "EmbeddableFactory" }, - ", \"createFromSavedObject\" | \"isContainerType\" | \"getExplicitInput\" | \"savedObjectMetaData\" | \"canCreateNew\" | \"getDefaultInput\" | \"telemetry\" | \"extract\" | \"inject\" | \"migrations\" | \"grouping\" | \"getIconType\" | \"getDescription\">>" + ", \"telemetry\" | \"inject\" | \"extract\" | \"migrations\" | \"createFromSavedObject\" | \"isContainerType\" | \"getExplicitInput\" | \"savedObjectMetaData\" | \"canCreateNew\" | \"getDefaultInput\" | \"grouping\" | \"getIconType\" | \"getDescription\">>" ], "path": "src/plugins/embeddable/public/lib/embeddables/embeddable_factory_definition.ts", "deprecated": false, @@ -8361,7 +8361,7 @@ "children": [ { "parentPluginId": "embeddable", - "id": "def-public.props", + "id": "def-public.EmbeddablePanelHOC.$1", "type": "CompoundType", "tags": [], "label": "props", @@ -8374,7 +8374,7 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.context", + "id": "def-public.EmbeddablePanelHOC.$2", "type": "Any", "tags": [], "label": "context", @@ -9021,7 +9021,7 @@ "children": [ { "parentPluginId": "embeddable", - "id": "def-public.props", + "id": "def-public.EmbeddableStart.EmbeddablePanel.$1", "type": "CompoundType", "tags": [], "label": "props", @@ -9034,7 +9034,7 @@ }, { "parentPluginId": "embeddable", - "id": "def-public.context", + "id": "def-public.EmbeddableStart.EmbeddablePanel.$2", "type": "Any", "tags": [], "label": "context", @@ -10232,7 +10232,7 @@ "children": [ { "parentPluginId": "embeddable", - "id": "def-common.state", + "id": "def-common.MigrateFunction.$1", "type": "Object", "tags": [], "label": "state", @@ -10245,7 +10245,7 @@ }, { "parentPluginId": "embeddable", - "id": "def-common.version", + "id": "def-common.MigrateFunction.$2", "type": "string", "tags": [], "label": "version", diff --git a/api_docs/embeddable.mdx b/api_docs/embeddable.mdx index 1880582bb01c4..60b15f305bac9 100644 --- a/api_docs/embeddable.mdx +++ b/api_docs/embeddable.mdx @@ -10,7 +10,7 @@ warning: This document is auto-generated and is meant to be viewed inside our ex --- import embeddableObj from './embeddable.json'; - +Adds embeddables service to Kibana Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) for questions regarding this plugin. diff --git a/api_docs/embeddable_enhanced.mdx b/api_docs/embeddable_enhanced.mdx index 7f2e7ffcffc8c..4963a62296358 100644 --- a/api_docs/embeddable_enhanced.mdx +++ b/api_docs/embeddable_enhanced.mdx @@ -10,7 +10,7 @@ warning: This document is auto-generated and is meant to be viewed inside our ex --- import embeddableEnhancedObj from './embeddable_enhanced.json'; - +Extends embeddable plugin with more functionality Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) for questions regarding this plugin. diff --git a/api_docs/encrypted_saved_objects.json b/api_docs/encrypted_saved_objects.json index 9bd91501c23dd..5432a3772ac96 100644 --- a/api_docs/encrypted_saved_objects.json +++ b/api_docs/encrypted_saved_objects.json @@ -307,7 +307,7 @@ "children": [ { "parentPluginId": "encryptedSavedObjects", - "id": "def-server.encryptedDoc", + "id": "def-server.IsMigrationNeededPredicate.$1", "type": "CompoundType", "tags": [], "label": "encryptedDoc", @@ -422,7 +422,7 @@ "children": [ { "parentPluginId": "encryptedSavedObjects", - "id": "def-server.opts", + "id": "def-server.EncryptedSavedObjectsPluginSetup.createMigration.$1", "type": "Object", "tags": [], "label": "opts", @@ -505,7 +505,7 @@ "children": [ { "parentPluginId": "encryptedSavedObjects", - "id": "def-server.options", + "id": "def-server.EncryptedSavedObjectsPluginStart.getClient.$1", "type": "Object", "tags": [], "label": "options", diff --git a/api_docs/es_ui_shared.json b/api_docs/es_ui_shared.json index 46ba3ac600dcb..bbc5d7b83f0e8 100644 --- a/api_docs/es_ui_shared.json +++ b/api_docs/es_ui_shared.json @@ -352,7 +352,7 @@ "children": [ { "parentPluginId": "esUiShared", - "id": "def-public.__0", + "id": "def-public.JsonEditor.$1", "type": "Object", "tags": [], "label": "__0", @@ -1434,7 +1434,7 @@ "children": [ { "parentPluginId": "esUiShared", - "id": "def-public.arg", + "id": "def-public.OnJsonEditorUpdateHandler.$1", "type": "Object", "tags": [], "label": "arg", @@ -1510,7 +1510,7 @@ "children": [ { "parentPluginId": "esUiShared", - "id": "def-public.indexName", + "id": "def-public.indices.indexNameBeginsWithPeriod.$1", "type": "string", "tags": [], "label": "indexName", @@ -1539,7 +1539,7 @@ "children": [ { "parentPluginId": "esUiShared", - "id": "def-public.indexName", + "id": "def-public.indices.findIllegalCharactersInIndexName.$1", "type": "string", "tags": [], "label": "indexName", @@ -1565,7 +1565,7 @@ "children": [ { "parentPluginId": "esUiShared", - "id": "def-public.indexName", + "id": "def-public.indices.indexNameContainsSpaces.$1", "type": "string", "tags": [], "label": "indexName", diff --git a/api_docs/event_log.json b/api_docs/event_log.json index 52138271ef91f..a4ddd23db6881 100644 --- a/api_docs/event_log.json +++ b/api_docs/event_log.json @@ -365,9 +365,7 @@ "label": "queryEventsBySavedObjects", "description": [], "signature": [ - "(index: string, namespace: string | undefined, type: string, ids: string[], { page, per_page: perPage, start, end, sort_field, sort_order, filter }: ", - "FindOptionsType", - ") => Promise<", + "(queryOptions: QueryOptionsEventsBySavedObjectFilter) => Promise<", { "pluginId": "eventLog", "scope": "server", @@ -383,68 +381,12 @@ { "parentPluginId": "eventLog", "id": "def-server.ClusterClientAdapter.queryEventsBySavedObjects.$1", - "type": "string", - "tags": [], - "label": "index", - "description": [], - "signature": [ - "string" - ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "eventLog", - "id": "def-server.ClusterClientAdapter.queryEventsBySavedObjects.$2", - "type": "string", - "tags": [], - "label": "namespace", - "description": [], - "signature": [ - "string | undefined" - ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", - "deprecated": false, - "isRequired": false - }, - { - "parentPluginId": "eventLog", - "id": "def-server.ClusterClientAdapter.queryEventsBySavedObjects.$3", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "signature": [ - "string" - ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "eventLog", - "id": "def-server.ClusterClientAdapter.queryEventsBySavedObjects.$4", - "type": "Array", - "tags": [], - "label": "ids", - "description": [], - "signature": [ - "string[]" - ], - "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "eventLog", - "id": "def-server.ClusterClientAdapter.queryEventsBySavedObjects.$5", - "type": "CompoundType", + "type": "Object", "tags": [], - "label": "{ page, per_page: perPage, start, end, sort_field, sort_order, filter }", + "label": "queryOptions", "description": [], "signature": [ - "FindOptionsType" + "QueryOptionsEventsBySavedObjectFilter" ], "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", "deprecated": false, @@ -498,7 +440,7 @@ "signature": [ "(type: string, ids: string[], options?: Partial<", "FindOptionsType", - "> | undefined) => Promise<", + "> | undefined, legacyIds?: string[] | undefined) => Promise<", { "pluginId": "eventLog", "scope": "server", @@ -554,6 +496,20 @@ "path": "x-pack/plugins/event_log/server/types.ts", "deprecated": false, "isRequired": false + }, + { + "parentPluginId": "eventLog", + "id": "def-server.IEventLogClient.findEventsBySavedObjectIds.$4", + "type": "Array", + "tags": [], + "label": "legacyIds", + "description": [], + "signature": [ + "string[] | undefined" + ], + "path": "x-pack/plugins/event_log/server/types.ts", + "deprecated": false, + "isRequired": false } ], "returnComment": [] @@ -579,7 +535,7 @@ "label": "logEvent", "description": [], "signature": [ - "(properties: DeepPartial[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; tags?: string[] | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; category?: string[] | undefined; url?: string | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; timezone?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined) => void" + "(properties: DeepPartial[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; category?: string[] | undefined; url?: string | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; timezone?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined) => void" ], "path": "x-pack/plugins/event_log/server/types.ts", "deprecated": false, @@ -592,7 +548,7 @@ "label": "properties", "description": [], "signature": [ - "DeepPartial[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; tags?: string[] | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; category?: string[] | undefined; url?: string | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; timezone?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined" + "DeepPartial[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; category?: string[] | undefined; url?: string | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; timezone?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined" ], "path": "x-pack/plugins/event_log/server/types.ts", "deprecated": false, @@ -609,7 +565,7 @@ "label": "startTiming", "description": [], "signature": [ - "(event: DeepPartial[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; tags?: string[] | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; category?: string[] | undefined; url?: string | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; timezone?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined) => void" + "(event: DeepPartial[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; category?: string[] | undefined; url?: string | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; timezone?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined) => void" ], "path": "x-pack/plugins/event_log/server/types.ts", "deprecated": false, @@ -622,7 +578,7 @@ "label": "event", "description": [], "signature": [ - "DeepPartial[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; tags?: string[] | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; category?: string[] | undefined; url?: string | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; timezone?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined" + "DeepPartial[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; category?: string[] | undefined; url?: string | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; timezone?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined" ], "path": "x-pack/plugins/event_log/server/types.ts", "deprecated": false, @@ -639,7 +595,7 @@ "label": "stopTiming", "description": [], "signature": [ - "(event: DeepPartial[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; tags?: string[] | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; category?: string[] | undefined; url?: string | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; timezone?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined) => void" + "(event: DeepPartial[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; category?: string[] | undefined; url?: string | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; timezone?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined) => void" ], "path": "x-pack/plugins/event_log/server/types.ts", "deprecated": false, @@ -652,7 +608,7 @@ "label": "event", "description": [], "signature": [ - "DeepPartial[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; tags?: string[] | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; category?: string[] | undefined; url?: string | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; timezone?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined" + "DeepPartial[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; category?: string[] | undefined; url?: string | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; timezone?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined" ], "path": "x-pack/plugins/event_log/server/types.ts", "deprecated": false, @@ -712,7 +668,7 @@ "label": "data", "description": [], "signature": [ - "(Readonly<{ kibana?: Readonly<{ version?: string | undefined; saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; rel?: string | undefined; namespace?: string | undefined; type_id?: string | undefined; } & {}>[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; tags?: string[] | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; category?: string[] | undefined; url?: string | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; timezone?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}> | undefined)[]" + "(Readonly<{ tags?: string[] | undefined; kibana?: Readonly<{ version?: string | undefined; saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; rel?: string | undefined; namespace?: string | undefined; type_id?: string | undefined; } & {}>[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; category?: string[] | undefined; url?: string | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; timezone?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}> | undefined)[]" ], "path": "x-pack/plugins/event_log/server/es/cluster_client_adapter.ts", "deprecated": false @@ -731,7 +687,7 @@ "label": "IEvent", "description": [], "signature": [ - "DeepPartial[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; tags?: string[] | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; category?: string[] | undefined; url?: string | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; timezone?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined" + "DeepPartial[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; category?: string[] | undefined; url?: string | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; timezone?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined" ], "path": "x-pack/plugins/event_log/generated/schemas.ts", "deprecated": false, @@ -745,7 +701,7 @@ "label": "IValidatedEvent", "description": [], "signature": [ - "Readonly<{ kibana?: Readonly<{ version?: string | undefined; saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; rel?: string | undefined; namespace?: string | undefined; type_id?: string | undefined; } & {}>[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; tags?: string[] | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; category?: string[] | undefined; url?: string | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; timezone?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}> | undefined" + "Readonly<{ tags?: string[] | undefined; kibana?: Readonly<{ version?: string | undefined; saved_objects?: Readonly<{ type?: string | undefined; id?: string | undefined; rel?: string | undefined; namespace?: string | undefined; type_id?: string | undefined; } & {}>[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; category?: string[] | undefined; url?: string | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; timezone?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}> | undefined" ], "path": "x-pack/plugins/event_log/generated/schemas.ts", "deprecated": false, @@ -979,7 +935,7 @@ "label": "getLogger", "description": [], "signature": [ - "(properties: DeepPartial[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; tags?: string[] | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; category?: string[] | undefined; url?: string | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; timezone?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined) => ", + "(properties: DeepPartial[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; category?: string[] | undefined; url?: string | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; timezone?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined) => ", { "pluginId": "eventLog", "scope": "server", @@ -999,7 +955,7 @@ "label": "properties", "description": [], "signature": [ - "DeepPartial[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; tags?: string[] | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; category?: string[] | undefined; url?: string | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; timezone?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined" + "DeepPartial[] | undefined; alerting?: Readonly<{ status?: string | undefined; instance_id?: string | undefined; action_group_id?: string | undefined; action_subgroup?: string | undefined; } & {}> | undefined; server_uuid?: string | undefined; task?: Readonly<{ scheduled?: string | undefined; schedule_delay?: number | undefined; } & {}> | undefined; } & {}> | undefined; user?: Readonly<{ name?: string | undefined; } & {}> | undefined; error?: Readonly<{ type?: string | undefined; id?: string | undefined; message?: string | undefined; code?: string | undefined; stack_trace?: string | undefined; } & {}> | undefined; message?: string | undefined; event?: Readonly<{ start?: string | undefined; type?: string[] | undefined; id?: string | undefined; end?: string | undefined; category?: string[] | undefined; url?: string | undefined; code?: string | undefined; original?: string | undefined; action?: string | undefined; kind?: string | undefined; timezone?: string | undefined; severity?: number | undefined; outcome?: string | undefined; created?: string | undefined; dataset?: string | undefined; duration?: number | undefined; hash?: string | undefined; ingested?: string | undefined; module?: string | undefined; provider?: string | undefined; reason?: string | undefined; reference?: string | undefined; risk_score?: number | undefined; risk_score_norm?: number | undefined; sequence?: number | undefined; } & {}> | undefined; rule?: Readonly<{ description?: string | undefined; id?: string | undefined; name?: string | undefined; version?: string | undefined; license?: string | undefined; category?: string | undefined; reference?: string | undefined; author?: string[] | undefined; ruleset?: string | undefined; uuid?: string | undefined; } & {}> | undefined; '@timestamp'?: string | undefined; log?: Readonly<{ logger?: string | undefined; level?: string | undefined; } & {}> | undefined; ecs?: Readonly<{ version?: string | undefined; } & {}> | undefined; } & {}>>> | undefined" ], "path": "x-pack/plugins/event_log/server/types.ts", "deprecated": false, diff --git a/api_docs/event_log.mdx b/api_docs/event_log.mdx index 47d52f0498f87..5132391e624f2 100644 --- a/api_docs/event_log.mdx +++ b/api_docs/event_log.mdx @@ -18,7 +18,7 @@ Contact [Kibana Alerting](https://github.com/orgs/elastic/teams/kibana-alerting- | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 70 | 0 | 70 | 4 | +| 67 | 0 | 67 | 4 | ## Server diff --git a/api_docs/expression_error.json b/api_docs/expression_error.json index 954024177c086..8f7dc65eb6e6d 100644 --- a/api_docs/expression_error.json +++ b/api_docs/expression_error.json @@ -69,7 +69,7 @@ "children": [ { "parentPluginId": "expressionError", - "id": "def-public.props", + "id": "def-public.LazyDebugComponent.$1", "type": "Uncategorized", "tags": [], "label": "props", @@ -103,7 +103,7 @@ "children": [ { "parentPluginId": "expressionError", - "id": "def-public.props", + "id": "def-public.LazyErrorComponent.$1", "type": "Uncategorized", "tags": [], "label": "props", diff --git a/api_docs/expression_shape.json b/api_docs/expression_shape.json index bb5f38649c4ba..d0ebb9b78a6e0 100644 --- a/api_docs/expression_shape.json +++ b/api_docs/expression_shape.json @@ -74,7 +74,7 @@ "children": [ { "parentPluginId": "expressionShape", - "id": "def-public.props", + "id": "def-public.LazyProgressDrawer.$1", "type": "Uncategorized", "tags": [], "label": "props", @@ -136,7 +136,7 @@ "children": [ { "parentPluginId": "expressionShape", - "id": "def-public.props", + "id": "def-public.LazyShapeDrawer.$1", "type": "Uncategorized", "tags": [], "label": "props", diff --git a/api_docs/expression_tagcloud.mdx b/api_docs/expression_tagcloud.mdx index f9a91959b973f..26b10681ff75c 100644 --- a/api_docs/expression_tagcloud.mdx +++ b/api_docs/expression_tagcloud.mdx @@ -12,7 +12,7 @@ import expressionTagcloudObj from './expression_tagcloud.json'; Expression Tagcloud plugin adds a `tagcloud` renderer and function to the expression plugin. The renderer will display the `Wordcloud` chart. -Contact [Kibana App](https://github.com/orgs/elastic/teams/kibana-app) for questions regarding this plugin. +Contact [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) for questions regarding this plugin. **Code health stats** diff --git a/api_docs/expressions.json b/api_docs/expressions.json index face7ac82d855..31fc7af992f61 100644 --- a/api_docs/expressions.json +++ b/api_docs/expressions.json @@ -1969,7 +1969,7 @@ "children": [ { "parentPluginId": "expressions", - "id": "def-public.input", + "id": "def-public.ExpressionFunction.fn.$1", "type": "Any", "tags": [], "label": "input", @@ -1982,7 +1982,7 @@ }, { "parentPluginId": "expressions", - "id": "def-public.params", + "id": "def-public.ExpressionFunction.fn.$2", "type": "Object", "tags": [], "label": "params", @@ -1995,7 +1995,7 @@ }, { "parentPluginId": "expressions", - "id": "def-public.handlers", + "id": "def-public.ExpressionFunction.fn.$3", "type": "Uncategorized", "tags": [], "label": "handlers", @@ -2082,7 +2082,7 @@ "children": [ { "parentPluginId": "expressions", - "id": "def-public.state", + "id": "def-public.ExpressionFunction.telemetry.$1", "type": "Object", "tags": [], "label": "state", @@ -2103,7 +2103,7 @@ }, { "parentPluginId": "expressions", - "id": "def-public.telemetryData", + "id": "def-public.ExpressionFunction.telemetry.$2", "type": "Object", "tags": [], "label": "telemetryData", @@ -2150,7 +2150,7 @@ "children": [ { "parentPluginId": "expressions", - "id": "def-public.state", + "id": "def-public.ExpressionFunction.extract.$1", "type": "Object", "tags": [], "label": "state", @@ -2205,7 +2205,7 @@ "children": [ { "parentPluginId": "expressions", - "id": "def-public.state", + "id": "def-public.ExpressionFunction.inject.$1", "type": "Object", "tags": [], "label": "state", @@ -2226,7 +2226,7 @@ }, { "parentPluginId": "expressions", - "id": "def-public.references", + "id": "def-public.ExpressionFunction.inject.$2", "type": "Array", "tags": [], "label": "references", @@ -2621,7 +2621,7 @@ "children": [ { "parentPluginId": "expressions", - "id": "def-public.domNode", + "id": "def-public.ExpressionRenderer.render.$1", "type": "Object", "tags": [], "label": "domNode", @@ -2634,7 +2634,7 @@ }, { "parentPluginId": "expressions", - "id": "def-public.config", + "id": "def-public.ExpressionRenderer.render.$2", "type": "Uncategorized", "tags": [], "label": "config", @@ -2647,7 +2647,7 @@ }, { "parentPluginId": "expressions", - "id": "def-public.handlers", + "id": "def-public.ExpressionRenderer.render.$3", "type": "Object", "tags": [], "label": "handlers", @@ -2982,7 +2982,7 @@ "id": "def-public.ExpressionRenderHandler.Unnamed.$2", "type": "Object", "tags": [], - "label": "{\n onRenderError,\n renderMode,\n syncColors,\n hasCompatibleActions = async () => false,\n }", + "label": "{\n onRenderError,\n renderMode,\n syncColors,\n interactive,\n hasCompatibleActions = async () => false,\n }", "description": [], "signature": [ "ExpressionRenderHandlerParams" @@ -3212,7 +3212,7 @@ "section": "def-common.ExpressionsService", "text": "ExpressionsService" }, - ", \"getType\" | \"registerType\" | \"getFunction\" | \"getFunctions\" | \"getRenderer\" | \"getRenderers\" | \"getTypes\" | \"registerFunction\" | \"registerRenderer\" | \"run\" | \"fork\">, ", + ", \"inject\" | \"extract\" | \"getType\" | \"registerType\" | \"getFunction\" | \"getFunctions\" | \"getRenderer\" | \"getRenderers\" | \"getTypes\" | \"registerFunction\" | \"registerRenderer\" | \"run\" | \"fork\">, ", { "pluginId": "expressions", "scope": "public", @@ -3286,7 +3286,7 @@ "section": "def-common.ExpressionsService", "text": "ExpressionsService" }, - ", \"getType\" | \"registerType\" | \"getFunction\" | \"getFunctions\" | \"getRenderer\" | \"getRenderers\" | \"getTypes\" | \"registerFunction\" | \"registerRenderer\" | \"run\" | \"fork\">" + ", \"inject\" | \"extract\" | \"getType\" | \"registerType\" | \"getFunction\" | \"getFunctions\" | \"getRenderer\" | \"getRenderers\" | \"getTypes\" | \"registerFunction\" | \"registerRenderer\" | \"run\" | \"fork\">" ], "path": "src/plugins/expressions/public/plugin.ts", "deprecated": false, @@ -3415,7 +3415,7 @@ "section": "def-common.ExpressionsService", "text": "ExpressionsService" }, - ", \"getType\" | \"registerType\" | \"getFunction\" | \"getFunctions\" | \"getRenderer\" | \"getRenderers\" | \"getTypes\" | \"registerFunction\" | \"registerRenderer\" | \"run\" | \"fork\">, ", + ", \"inject\" | \"extract\" | \"getType\" | \"registerType\" | \"getFunction\" | \"getFunctions\" | \"getRenderer\" | \"getRenderers\" | \"getTypes\" | \"registerFunction\" | \"registerRenderer\" | \"run\" | \"fork\">, ", { "pluginId": "expressions", "scope": "public", @@ -3489,7 +3489,7 @@ "section": "def-common.ExpressionsService", "text": "ExpressionsService" }, - ", \"getType\" | \"registerType\" | \"getFunction\" | \"getFunctions\" | \"getRenderer\" | \"getRenderers\" | \"getTypes\" | \"registerFunction\" | \"registerRenderer\" | \"run\" | \"fork\">" + ", \"inject\" | \"extract\" | \"getType\" | \"registerType\" | \"getFunction\" | \"getFunctions\" | \"getRenderer\" | \"getRenderers\" | \"getTypes\" | \"registerFunction\" | \"registerRenderer\" | \"run\" | \"fork\">" ], "path": "src/plugins/expressions/public/plugin.ts", "deprecated": false, @@ -4230,7 +4230,7 @@ "children": [ { "parentPluginId": "expressions", - "id": "def-public.ast", + "id": "def-public.ExpressionsService.execute.$1", "type": "CompoundType", "tags": [], "label": "ast", @@ -4250,7 +4250,7 @@ }, { "parentPluginId": "expressions", - "id": "def-public.input", + "id": "def-public.ExpressionsService.execute.$2", "type": "Uncategorized", "tags": [], "label": "input", @@ -4263,7 +4263,7 @@ }, { "parentPluginId": "expressions", - "id": "def-public.params", + "id": "def-public.ExpressionsService.execute.$3", "type": "Object", "tags": [], "label": "params", @@ -4603,7 +4603,7 @@ "section": "def-common.ExpressionsService", "text": "ExpressionsService" }, - ", \"getType\" | \"registerType\" | \"getFunction\" | \"getFunctions\" | \"getRenderer\" | \"getRenderers\" | \"getTypes\" | \"registerFunction\" | \"registerRenderer\" | \"run\" | \"fork\">" + ", \"inject\" | \"extract\" | \"getType\" | \"registerType\" | \"getFunction\" | \"getFunctions\" | \"getRenderer\" | \"getRenderers\" | \"getTypes\" | \"registerFunction\" | \"registerRenderer\" | \"run\" | \"fork\">" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", "deprecated": false, @@ -4732,7 +4732,7 @@ "children": [ { "parentPluginId": "expressions", - "id": "def-public.type", + "id": "def-public.ExpressionType.validate.$1", "type": "Any", "tags": [], "label": "type", @@ -5877,6 +5877,29 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "expressions", + "id": "def-public.createDefaultInspectorAdapters", + "type": "Function", + "tags": [], + "label": "createDefaultInspectorAdapters", + "description": [], + "signature": [ + "() => ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.DefaultInspectorAdapters", + "text": "DefaultInspectorAdapters" + } + ], + "path": "src/plugins/expressions/common/util/create_default_inspector_adapters.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, { "parentPluginId": "expressions", "id": "def-public.format", @@ -9136,6 +9159,19 @@ "path": "src/plugins/expressions/public/types/index.ts", "deprecated": false }, + { + "parentPluginId": "expressions", + "id": "def-public.IExpressionLoaderParams.interactive", + "type": "CompoundType", + "tags": [], + "label": "interactive", + "description": [], + "signature": [ + "boolean | undefined" + ], + "path": "src/plugins/expressions/public/types/index.ts", + "deprecated": false + }, { "parentPluginId": "expressions", "id": "def-public.IExpressionLoaderParams.onRenderError", @@ -9171,7 +9207,7 @@ "label": "renderMode", "description": [], "signature": [ - "\"display\" | \"noInteractivity\" | \"edit\" | \"preview\" | undefined" + "\"edit\" | \"preview\" | \"view\" | undefined" ], "path": "src/plugins/expressions/public/types/index.ts", "deprecated": false @@ -9441,6 +9477,23 @@ "children": [], "returnComment": [] }, + { + "parentPluginId": "expressions", + "id": "def-public.IInterpreterRenderHandlers.isInteractive", + "type": "Function", + "tags": [], + "label": "isInteractive", + "description": [ + "\nThe chart is rendered in a non-interactive environment and should not provide any affordances for interaction like brushing." + ], + "signature": [ + "() => boolean" + ], + "path": "src/plugins/expressions/common/expression_renderers/types.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, { "parentPluginId": "expressions", "id": "def-public.IInterpreterRenderHandlers.isSyncColorsEnabled", @@ -10197,7 +10250,7 @@ "\nThis type represents the `type` of any `DatatableColumn` in a `Datatable`.\nits duplicated from KBN_FIELD_TYPES" ], "signature": [ - "\"string\" | \"number\" | \"boolean\" | \"object\" | \"date\" | \"ip\" | \"geo_point\" | \"_source\" | \"attachment\" | \"geo_shape\" | \"murmur3\" | \"unknown\" | \"conflict\" | \"nested\" | \"histogram\" | \"null\"" + "\"string\" | \"number\" | \"boolean\" | \"object\" | \"date\" | \"_source\" | \"attachment\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"murmur3\" | \"unknown\" | \"conflict\" | \"nested\" | \"histogram\" | \"null\"" ], "path": "src/plugins/expressions/common/expression_types/specs/datatable.ts", "deprecated": false, @@ -10427,7 +10480,7 @@ "children": [ { "parentPluginId": "expressions", - "id": "def-public.props", + "id": "def-public.ExpressionRendererComponent.$1", "type": "CompoundType", "tags": [], "label": "props", @@ -10440,7 +10493,7 @@ }, { "parentPluginId": "expressions", - "id": "def-public.context", + "id": "def-public.ExpressionRendererComponent.$2", "type": "Any", "tags": [], "label": "context", @@ -10498,7 +10551,7 @@ "children": [ { "parentPluginId": "expressions", - "id": "def-public.input", + "id": "def-public.ExpressionValueConverter.$1", "type": "Uncategorized", "tags": [], "label": "input", @@ -10511,7 +10564,7 @@ }, { "parentPluginId": "expressions", - "id": "def-public.availableTypes", + "id": "def-public.ExpressionValueConverter.$2", "type": "Object", "tags": [], "label": "availableTypes", @@ -10948,7 +11001,43 @@ "\nExpressions public setup contract, extends {@link ExpressionsServiceSetup}" ], "signature": [ - "{ readonly getType: (name: string) => ", + "{ readonly inject: (state: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionAstExpression", + "text": "ExpressionAstExpression" + }, + ", references: ", + "SavedObjectReference", + "[]) => ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionAstExpression", + "text": "ExpressionAstExpression" + }, + "; readonly extract: (state: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionAstExpression", + "text": "ExpressionAstExpression" + }, + ") => { state: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionAstExpression", + "text": "ExpressionAstExpression" + }, + "; references: ", + "SavedObjectReference", + "[]; }; readonly getType: (name: string) => ", { "pluginId": "expressions", "scope": "common", @@ -11199,7 +11288,7 @@ "children": [ { "parentPluginId": "expressions", - "id": "def-public.element", + "id": "def-public.ExpressionsStart.loader.$1", "type": "Object", "tags": [], "label": "element", @@ -11212,7 +11301,7 @@ }, { "parentPluginId": "expressions", - "id": "def-public.expression", + "id": "def-public.ExpressionsStart.loader.$2", "type": "CompoundType", "tags": [], "label": "expression", @@ -11232,7 +11321,7 @@ }, { "parentPluginId": "expressions", - "id": "def-public.params", + "id": "def-public.ExpressionsStart.loader.$3", "type": "Object", "tags": [], "label": "params", @@ -11275,7 +11364,7 @@ "children": [ { "parentPluginId": "expressions", - "id": "def-public.__0", + "id": "def-public.ExpressionsStart.ReactExpressionRenderer.$1", "type": "Object", "tags": [], "label": "__0", @@ -11319,7 +11408,7 @@ "children": [ { "parentPluginId": "expressions", - "id": "def-public.element", + "id": "def-public.ExpressionsStart.render.$1", "type": "Object", "tags": [], "label": "element", @@ -11332,7 +11421,7 @@ }, { "parentPluginId": "expressions", - "id": "def-public.data", + "id": "def-public.ExpressionsStart.render.$2", "type": "Any", "tags": [], "label": "data", @@ -11345,7 +11434,7 @@ }, { "parentPluginId": "expressions", - "id": "def-public.options", + "id": "def-public.ExpressionsStart.render.$3", "type": "Object", "tags": [], "label": "options", @@ -13141,7 +13230,7 @@ "children": [ { "parentPluginId": "expressions", - "id": "def-server.input", + "id": "def-server.ExpressionFunction.fn.$1", "type": "Any", "tags": [], "label": "input", @@ -13154,7 +13243,7 @@ }, { "parentPluginId": "expressions", - "id": "def-server.params", + "id": "def-server.ExpressionFunction.fn.$2", "type": "Object", "tags": [], "label": "params", @@ -13167,7 +13256,7 @@ }, { "parentPluginId": "expressions", - "id": "def-server.handlers", + "id": "def-server.ExpressionFunction.fn.$3", "type": "Uncategorized", "tags": [], "label": "handlers", @@ -13254,7 +13343,7 @@ "children": [ { "parentPluginId": "expressions", - "id": "def-server.state", + "id": "def-server.ExpressionFunction.telemetry.$1", "type": "Object", "tags": [], "label": "state", @@ -13275,7 +13364,7 @@ }, { "parentPluginId": "expressions", - "id": "def-server.telemetryData", + "id": "def-server.ExpressionFunction.telemetry.$2", "type": "Object", "tags": [], "label": "telemetryData", @@ -13322,7 +13411,7 @@ "children": [ { "parentPluginId": "expressions", - "id": "def-server.state", + "id": "def-server.ExpressionFunction.extract.$1", "type": "Object", "tags": [], "label": "state", @@ -13377,7 +13466,7 @@ "children": [ { "parentPluginId": "expressions", - "id": "def-server.state", + "id": "def-server.ExpressionFunction.inject.$1", "type": "Object", "tags": [], "label": "state", @@ -13398,7 +13487,7 @@ }, { "parentPluginId": "expressions", - "id": "def-server.references", + "id": "def-server.ExpressionFunction.inject.$2", "type": "Array", "tags": [], "label": "references", @@ -13793,7 +13882,7 @@ "children": [ { "parentPluginId": "expressions", - "id": "def-server.domNode", + "id": "def-server.ExpressionRenderer.render.$1", "type": "Object", "tags": [], "label": "domNode", @@ -13806,7 +13895,7 @@ }, { "parentPluginId": "expressions", - "id": "def-server.config", + "id": "def-server.ExpressionRenderer.render.$2", "type": "Uncategorized", "tags": [], "label": "config", @@ -13819,7 +13908,7 @@ }, { "parentPluginId": "expressions", - "id": "def-server.handlers", + "id": "def-server.ExpressionRenderer.render.$3", "type": "Object", "tags": [], "label": "handlers", @@ -14093,7 +14182,7 @@ "section": "def-common.ExpressionsService", "text": "ExpressionsService" }, - ", \"getType\" | \"registerType\" | \"getFunction\" | \"getFunctions\" | \"getRenderer\" | \"getRenderers\" | \"getTypes\" | \"registerFunction\" | \"registerRenderer\" | \"run\" | \"fork\">, ", + ", \"inject\" | \"extract\" | \"getType\" | \"registerType\" | \"getFunction\" | \"getFunctions\" | \"getRenderer\" | \"getRenderers\" | \"getTypes\" | \"registerFunction\" | \"registerRenderer\" | \"run\" | \"fork\">, ", { "pluginId": "expressions", "scope": "common", @@ -14186,7 +14275,7 @@ "section": "def-common.ExpressionsService", "text": "ExpressionsService" }, - ", \"getType\" | \"registerType\" | \"getFunction\" | \"getFunctions\" | \"getRenderer\" | \"getRenderers\" | \"getTypes\" | \"registerFunction\" | \"registerRenderer\" | \"run\" | \"fork\">" + ", \"inject\" | \"extract\" | \"getType\" | \"registerType\" | \"getFunction\" | \"getFunctions\" | \"getRenderer\" | \"getRenderers\" | \"getTypes\" | \"registerFunction\" | \"registerRenderer\" | \"run\" | \"fork\">" ], "path": "src/plugins/expressions/server/plugin.ts", "deprecated": false, @@ -14315,7 +14404,7 @@ "section": "def-common.ExpressionsService", "text": "ExpressionsService" }, - ", \"getType\" | \"registerType\" | \"getFunction\" | \"getFunctions\" | \"getRenderer\" | \"getRenderers\" | \"getTypes\" | \"registerFunction\" | \"registerRenderer\" | \"run\" | \"fork\">, ", + ", \"inject\" | \"extract\" | \"getType\" | \"registerType\" | \"getFunction\" | \"getFunctions\" | \"getRenderer\" | \"getRenderers\" | \"getTypes\" | \"registerFunction\" | \"registerRenderer\" | \"run\" | \"fork\">, ", { "pluginId": "expressions", "scope": "common", @@ -14408,7 +14497,7 @@ "section": "def-common.ExpressionsService", "text": "ExpressionsService" }, - ", \"getType\" | \"registerType\" | \"getFunction\" | \"getFunctions\" | \"getRenderer\" | \"getRenderers\" | \"getTypes\" | \"registerFunction\" | \"registerRenderer\" | \"run\" | \"fork\">" + ", \"inject\" | \"extract\" | \"getType\" | \"registerType\" | \"getFunction\" | \"getFunctions\" | \"getRenderer\" | \"getRenderers\" | \"getTypes\" | \"registerFunction\" | \"registerRenderer\" | \"run\" | \"fork\">" ], "path": "src/plugins/expressions/server/plugin.ts", "deprecated": false, @@ -14556,7 +14645,7 @@ "children": [ { "parentPluginId": "expressions", - "id": "def-server.type", + "id": "def-server.ExpressionType.validate.$1", "type": "Any", "tags": [], "label": "type", @@ -18373,6 +18462,23 @@ "children": [], "returnComment": [] }, + { + "parentPluginId": "expressions", + "id": "def-server.IInterpreterRenderHandlers.isInteractive", + "type": "Function", + "tags": [], + "label": "isInteractive", + "description": [ + "\nThe chart is rendered in a non-interactive environment and should not provide any affordances for interaction like brushing." + ], + "signature": [ + "() => boolean" + ], + "path": "src/plugins/expressions/common/expression_renderers/types.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, { "parentPluginId": "expressions", "id": "def-server.IInterpreterRenderHandlers.isSyncColorsEnabled", @@ -18850,7 +18956,7 @@ "\nThis type represents the `type` of any `DatatableColumn` in a `Datatable`.\nits duplicated from KBN_FIELD_TYPES" ], "signature": [ - "\"string\" | \"number\" | \"boolean\" | \"object\" | \"date\" | \"ip\" | \"geo_point\" | \"_source\" | \"attachment\" | \"geo_shape\" | \"murmur3\" | \"unknown\" | \"conflict\" | \"nested\" | \"histogram\" | \"null\"" + "\"string\" | \"number\" | \"boolean\" | \"object\" | \"date\" | \"_source\" | \"attachment\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"murmur3\" | \"unknown\" | \"conflict\" | \"nested\" | \"histogram\" | \"null\"" ], "path": "src/plugins/expressions/common/expression_types/specs/datatable.ts", "deprecated": false, @@ -19100,7 +19206,7 @@ "children": [ { "parentPluginId": "expressions", - "id": "def-server.input", + "id": "def-server.ExpressionValueConverter.$1", "type": "Uncategorized", "tags": [], "label": "input", @@ -19113,7 +19219,7 @@ }, { "parentPluginId": "expressions", - "id": "def-server.availableTypes", + "id": "def-server.ExpressionValueConverter.$2", "type": "Object", "tags": [], "label": "availableTypes", @@ -19518,7 +19624,43 @@ "label": "ExpressionsServerSetup", "description": [], "signature": [ - "{ readonly getType: (name: string) => ", + "{ readonly inject: (state: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionAstExpression", + "text": "ExpressionAstExpression" + }, + ", references: ", + "SavedObjectReference", + "[]) => ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionAstExpression", + "text": "ExpressionAstExpression" + }, + "; readonly extract: (state: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionAstExpression", + "text": "ExpressionAstExpression" + }, + ") => { state: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionAstExpression", + "text": "ExpressionAstExpression" + }, + "; references: ", + "SavedObjectReference", + "[]; }; readonly getType: (name: string) => ", { "pluginId": "expressions", "scope": "common", @@ -21664,7 +21806,7 @@ "children": [ { "parentPluginId": "expressions", - "id": "def-common.input", + "id": "def-common.ExpressionFunction.fn.$1", "type": "Any", "tags": [], "label": "input", @@ -21677,7 +21819,7 @@ }, { "parentPluginId": "expressions", - "id": "def-common.params", + "id": "def-common.ExpressionFunction.fn.$2", "type": "Object", "tags": [], "label": "params", @@ -21690,7 +21832,7 @@ }, { "parentPluginId": "expressions", - "id": "def-common.handlers", + "id": "def-common.ExpressionFunction.fn.$3", "type": "Uncategorized", "tags": [], "label": "handlers", @@ -21777,7 +21919,7 @@ "children": [ { "parentPluginId": "expressions", - "id": "def-common.state", + "id": "def-common.ExpressionFunction.telemetry.$1", "type": "Object", "tags": [], "label": "state", @@ -21798,7 +21940,7 @@ }, { "parentPluginId": "expressions", - "id": "def-common.telemetryData", + "id": "def-common.ExpressionFunction.telemetry.$2", "type": "Object", "tags": [], "label": "telemetryData", @@ -21845,7 +21987,7 @@ "children": [ { "parentPluginId": "expressions", - "id": "def-common.state", + "id": "def-common.ExpressionFunction.extract.$1", "type": "Object", "tags": [], "label": "state", @@ -21900,7 +22042,7 @@ "children": [ { "parentPluginId": "expressions", - "id": "def-common.state", + "id": "def-common.ExpressionFunction.inject.$1", "type": "Object", "tags": [], "label": "state", @@ -21921,7 +22063,7 @@ }, { "parentPluginId": "expressions", - "id": "def-common.references", + "id": "def-common.ExpressionFunction.inject.$2", "type": "Array", "tags": [], "label": "references", @@ -22316,7 +22458,7 @@ "children": [ { "parentPluginId": "expressions", - "id": "def-common.domNode", + "id": "def-common.ExpressionRenderer.render.$1", "type": "Object", "tags": [], "label": "domNode", @@ -22329,7 +22471,7 @@ }, { "parentPluginId": "expressions", - "id": "def-common.config", + "id": "def-common.ExpressionRenderer.render.$2", "type": "Uncategorized", "tags": [], "label": "config", @@ -22342,7 +22484,7 @@ }, { "parentPluginId": "expressions", - "id": "def-common.handlers", + "id": "def-common.ExpressionRenderer.render.$3", "type": "Object", "tags": [], "label": "handlers", @@ -23294,7 +23436,7 @@ "children": [ { "parentPluginId": "expressions", - "id": "def-common.ast", + "id": "def-common.ExpressionsService.execute.$1", "type": "CompoundType", "tags": [], "label": "ast", @@ -23314,7 +23456,7 @@ }, { "parentPluginId": "expressions", - "id": "def-common.input", + "id": "def-common.ExpressionsService.execute.$2", "type": "Uncategorized", "tags": [], "label": "input", @@ -23327,7 +23469,7 @@ }, { "parentPluginId": "expressions", - "id": "def-common.params", + "id": "def-common.ExpressionsService.execute.$3", "type": "Object", "tags": [], "label": "params", @@ -23667,7 +23809,7 @@ "section": "def-common.ExpressionsService", "text": "ExpressionsService" }, - ", \"getType\" | \"registerType\" | \"getFunction\" | \"getFunctions\" | \"getRenderer\" | \"getRenderers\" | \"getTypes\" | \"registerFunction\" | \"registerRenderer\" | \"run\" | \"fork\">" + ", \"inject\" | \"extract\" | \"getType\" | \"registerType\" | \"getFunction\" | \"getFunctions\" | \"getRenderer\" | \"getRenderers\" | \"getTypes\" | \"registerFunction\" | \"registerRenderer\" | \"run\" | \"fork\">" ], "path": "src/plugins/expressions/common/service/expressions_services.ts", "deprecated": false, @@ -23796,7 +23938,7 @@ "children": [ { "parentPluginId": "expressions", - "id": "def-common.type", + "id": "def-common.ExpressionType.validate.$1", "type": "Any", "tags": [], "label": "type", @@ -25044,7 +25186,7 @@ }, { "parentPluginId": "expressions", - "id": "def-common.buildResultColumns.$5.options", + "id": "def-common.buildResultColumns.$5", "type": "Object", "tags": [], "label": "options", @@ -25054,7 +25196,7 @@ "children": [ { "parentPluginId": "expressions", - "id": "def-common.buildResultColumns.$5.options.allowColumnOverwrite", + "id": "def-common.buildResultColumns.$5.allowColumnOverwrite", "type": "boolean", "tags": [], "label": "allowColumnOverwrite", @@ -25068,6 +25210,29 @@ "returnComment": [], "initialIsOpen": false }, + { + "parentPluginId": "expressions", + "id": "def-common.createDefaultInspectorAdapters", + "type": "Function", + "tags": [], + "label": "createDefaultInspectorAdapters", + "description": [], + "signature": [ + "() => ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.DefaultInspectorAdapters", + "text": "DefaultInspectorAdapters" + } + ], + "path": "src/plugins/expressions/common/util/create_default_inspector_adapters.ts", + "deprecated": false, + "children": [], + "returnComment": [], + "initialIsOpen": false + }, { "parentPluginId": "expressions", "id": "def-common.createError", @@ -26425,7 +26590,7 @@ "label": "type", "description": [], "signature": [ - "\"string\" | \"number\" | \"boolean\" | \"object\" | \"date\" | \"ip\" | \"geo_point\" | \"_source\" | \"attachment\" | \"geo_shape\" | \"murmur3\" | \"unknown\" | \"conflict\" | \"nested\" | \"histogram\" | \"null\"" + "\"string\" | \"number\" | \"boolean\" | \"object\" | \"date\" | \"_source\" | \"attachment\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"murmur3\" | \"unknown\" | \"conflict\" | \"nested\" | \"histogram\" | \"null\"" ], "path": "src/plugins/expressions/common/expression_types/specs/datatable.ts", "deprecated": false @@ -30245,6 +30410,23 @@ "children": [], "returnComment": [] }, + { + "parentPluginId": "expressions", + "id": "def-common.IInterpreterRenderHandlers.isInteractive", + "type": "Function", + "tags": [], + "label": "isInteractive", + "description": [ + "\nThe chart is rendered in a non-interactive environment and should not provide any affordances for interaction like brushing." + ], + "signature": [ + "() => boolean" + ], + "path": "src/plugins/expressions/common/expression_renderers/types.ts", + "deprecated": false, + "children": [], + "returnComment": [] + }, { "parentPluginId": "expressions", "id": "def-common.IInterpreterRenderHandlers.isSyncColorsEnabled", @@ -31041,7 +31223,7 @@ "\nThis type represents the `type` of any `DatatableColumn` in a `Datatable`.\nits duplicated from KBN_FIELD_TYPES" ], "signature": [ - "\"string\" | \"number\" | \"boolean\" | \"object\" | \"date\" | \"ip\" | \"geo_point\" | \"_source\" | \"attachment\" | \"geo_shape\" | \"murmur3\" | \"unknown\" | \"conflict\" | \"nested\" | \"histogram\" | \"null\"" + "\"string\" | \"number\" | \"boolean\" | \"object\" | \"date\" | \"_source\" | \"attachment\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"murmur3\" | \"unknown\" | \"conflict\" | \"nested\" | \"histogram\" | \"null\"" ], "path": "src/plugins/expressions/common/expression_types/specs/datatable.ts", "deprecated": false, @@ -31828,7 +32010,43 @@ "\nThe public contract that `ExpressionsService` provides to other plugins\nin Kibana Platform in *setup* life-cycle." ], "signature": [ - "{ readonly getType: (name: string) => ", + "{ readonly inject: (state: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionAstExpression", + "text": "ExpressionAstExpression" + }, + ", references: ", + "SavedObjectReference", + "[]) => ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionAstExpression", + "text": "ExpressionAstExpression" + }, + "; readonly extract: (state: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionAstExpression", + "text": "ExpressionAstExpression" + }, + ") => { state: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionAstExpression", + "text": "ExpressionAstExpression" + }, + "; references: ", + "SavedObjectReference", + "[]; }; readonly getType: (name: string) => ", { "pluginId": "expressions", "scope": "common", @@ -32026,7 +32244,7 @@ "children": [ { "parentPluginId": "expressions", - "id": "def-common.input", + "id": "def-common.ExpressionValueConverter.$1", "type": "Uncategorized", "tags": [], "label": "input", @@ -32039,7 +32257,7 @@ }, { "parentPluginId": "expressions", - "id": "def-common.availableTypes", + "id": "def-common.ExpressionValueConverter.$2", "type": "Object", "tags": [], "label": "availableTypes", @@ -32505,10 +32723,10 @@ "tags": [], "label": "RenderMode", "description": [ - "\nMode of the expression render environment.\nThis value can be set from a consumer embedding an expression renderer and is accessible\nfrom within the active render function as part of the handlers.\nThe following modes are supported:\n* display (default): The chart is rendered in a container with the main purpose of viewing the chart (e.g. in a container like dashboard or canvas)\n* preview: The chart is rendered in very restricted space (below 100px width and height) and should only show a rough outline\n* edit: The chart is rendered within an editor and configuration elements within the chart should be displayed\n* noInteractivity: The chart is rendered in a non-interactive environment and should not provide any affordances for interaction like brushing" + "\nMode of the expression render environment.\nThis value can be set from a consumer embedding an expression renderer and is accessible\nfrom within the active render function as part of the handlers.\nThe following modes are supported:\n* view (default): The chart is rendered in a container with the main purpose of viewing the chart (e.g. in a container like dashboard or canvas)\n* preview: The chart is rendered in very restricted space (below 100px width and height) and should only show a rough outline\n* edit: The chart is rendered within an editor and configuration elements within the chart should be displayed" ], "signature": [ - "\"display\" | \"noInteractivity\" | \"edit\" | \"preview\"" + "\"edit\" | \"preview\" | \"view\"" ], "path": "src/plugins/expressions/common/expression_renderers/types.ts", "deprecated": false, @@ -35880,7 +36098,7 @@ "label": "types", "description": [], "signature": [ - "(\"number\" | \"boolean\" | \"string\" | \"null\")[]" + "(\"number\" | \"string\" | \"boolean\" | \"null\")[]" ], "path": "src/plugins/expressions/common/expression_functions/specs/map_column.ts", "deprecated": false diff --git a/api_docs/expressions.mdx b/api_docs/expressions.mdx index f549022adda71..4737d9fd0b976 100644 --- a/api_docs/expressions.mdx +++ b/api_docs/expressions.mdx @@ -10,7 +10,7 @@ warning: This document is auto-generated and is meant to be viewed inside our ex --- import expressionsObj from './expressions.json'; - +Adds expression runtime to Kibana Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) for questions regarding this plugin. @@ -18,7 +18,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 2030 | 65 | 1595 | 4 | +| 2036 | 65 | 1598 | 4 | ## Client diff --git a/api_docs/features.json b/api_docs/features.json index 982c88d5f626c..14910879bdb50 100644 --- a/api_docs/features.json +++ b/api_docs/features.json @@ -2049,7 +2049,7 @@ "children": [ { "parentPluginId": "features", - "id": "def-server.feature", + "id": "def-server.PluginSetupContract.featurePrivilegeIterator.$1", "type": "Object", "tags": [], "label": "feature", @@ -2068,7 +2068,7 @@ }, { "parentPluginId": "features", - "id": "def-server.options", + "id": "def-server.PluginSetupContract.featurePrivilegeIterator.$2", "type": "Object", "tags": [], "label": "options", @@ -2115,7 +2115,7 @@ "children": [ { "parentPluginId": "features", - "id": "def-server.feature", + "id": "def-server.PluginSetupContract.subFeaturePrivilegeIterator.$1", "type": "Object", "tags": [], "label": "feature", @@ -2134,7 +2134,7 @@ }, { "parentPluginId": "features", - "id": "def-server.licenseHasAtLeast", + "id": "def-server.PluginSetupContract.subFeaturePrivilegeIterator.$2", "type": "Function", "tags": [], "label": "licenseHasAtLeast", @@ -2148,7 +2148,7 @@ "children": [ { "parentPluginId": "features", - "id": "def-server.licenseType", + "id": "def-server.PluginSetupContract.subFeaturePrivilegeIterator.$2.$1", "type": "CompoundType", "tags": [], "label": "licenseType", diff --git a/api_docs/field_formats.json b/api_docs/field_formats.json index aacc7f2975fb5..e9470305801fe 100644 --- a/api_docs/field_formats.json +++ b/api_docs/field_formats.json @@ -1739,83 +1739,6 @@ ], "initialIsOpen": false }, - { - "parentPluginId": "fieldFormats", - "id": "def-common.FieldFormatNotFoundError", - "type": "Class", - "tags": [], - "label": "FieldFormatNotFoundError", - "description": [], - "signature": [ - { - "pluginId": "fieldFormats", - "scope": "common", - "docId": "kibFieldFormatsPluginApi", - "section": "def-common.FieldFormatNotFoundError", - "text": "FieldFormatNotFoundError" - }, - " extends Error" - ], - "path": "src/plugins/field_formats/common/errors.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "fieldFormats", - "id": "def-common.FieldFormatNotFoundError.formatId", - "type": "string", - "tags": [], - "label": "formatId", - "description": [], - "path": "src/plugins/field_formats/common/errors.ts", - "deprecated": false - }, - { - "parentPluginId": "fieldFormats", - "id": "def-common.FieldFormatNotFoundError.Unnamed", - "type": "Function", - "tags": [], - "label": "Constructor", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/field_formats/common/errors.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "fieldFormats", - "id": "def-common.FieldFormatNotFoundError.Unnamed.$1", - "type": "string", - "tags": [], - "label": "message", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/field_formats/common/errors.ts", - "deprecated": false, - "isRequired": true - }, - { - "parentPluginId": "fieldFormats", - "id": "def-common.FieldFormatNotFoundError.Unnamed.$2", - "type": "string", - "tags": [], - "label": "formatId", - "description": [], - "signature": [ - "string" - ], - "path": "src/plugins/field_formats/common/errors.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - } - ], - "initialIsOpen": false - }, { "parentPluginId": "fieldFormats", "id": "def-common.FieldFormatsRegistry", @@ -2326,7 +2249,7 @@ "children": [ { "parentPluginId": "fieldFormats", - "id": "def-common.formatId", + "id": "def-common.FieldFormatsRegistry.getInstance.$1", "type": "string", "tags": [], "label": "formatId", @@ -2336,7 +2259,7 @@ }, { "parentPluginId": "fieldFormats", - "id": "def-common.params", + "id": "def-common.FieldFormatsRegistry.getInstance.$2", "type": "Object", "tags": [], "label": "params", @@ -2546,7 +2469,7 @@ "children": [ { "parentPluginId": "fieldFormats", - "id": "def-common.fieldType", + "id": "def-common.FieldFormatsRegistry.getDefaultInstance.$1", "type": "Enum", "tags": [], "label": "fieldType", @@ -2559,7 +2482,7 @@ }, { "parentPluginId": "fieldFormats", - "id": "def-common.esTypes", + "id": "def-common.FieldFormatsRegistry.getDefaultInstance.$2", "type": "Array", "tags": [], "label": "esTypes", @@ -2573,7 +2496,7 @@ }, { "parentPluginId": "fieldFormats", - "id": "def-common.params", + "id": "def-common.FieldFormatsRegistry.getDefaultInstance.$3", "type": "Object", "tags": [], "label": "params", @@ -4255,7 +4178,7 @@ "children": [ { "parentPluginId": "fieldFormats", - "id": "def-common.key", + "id": "def-common.FieldFormatsGetConfigFn.$1", "type": "string", "tags": [], "label": "key", @@ -4265,7 +4188,7 @@ }, { "parentPluginId": "fieldFormats", - "id": "def-common.defaultOverride", + "id": "def-common.FieldFormatsGetConfigFn.$2", "type": "Uncategorized", "tags": [], "label": "defaultOverride", @@ -4406,7 +4329,7 @@ "children": [ { "parentPluginId": "fieldFormats", - "id": "def-common.mapping", + "id": "def-common.FormatFactory.$1", "type": "Object", "tags": [], "label": "mapping", @@ -4479,8 +4402,6 @@ }, ", metaParamsOptions?: Record, defaultFieldConverters?: ", "FieldFormatInstanceType", - "[]) => void; register: (fieldFormats: ", - "FieldFormatInstanceType", "[]) => void; deserialize: ", { "pluginId": "fieldFormats", @@ -4489,7 +4410,9 @@ "section": "def-common.FormatFactory", "text": "FormatFactory" }, - "; getDefaultConfig: (fieldType: ", + "; register: (fieldFormats: ", + "FieldFormatInstanceType", + "[]) => void; getDefaultConfig: (fieldType: ", "KBN_FIELD_TYPES", ", esTypes?: ", "ES_FIELD_TYPES", diff --git a/api_docs/field_formats.mdx b/api_docs/field_formats.mdx index 097ed65543147..8dcd794982310 100644 --- a/api_docs/field_formats.mdx +++ b/api_docs/field_formats.mdx @@ -18,7 +18,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 268 | 26 | 238 | 10 | +| 263 | 26 | 233 | 10 | ## Client diff --git a/api_docs/fleet.json b/api_docs/fleet.json index 4fbf843179c9c..4131c8c969e58 100644 --- a/api_docs/fleet.json +++ b/api_docs/fleet.json @@ -562,7 +562,7 @@ "children": [ { "parentPluginId": "fleet", - "id": "def-public.props", + "id": "def-public.PackageAssetsExtension.Component.$1", "type": "Uncategorized", "tags": [], "label": "props", @@ -661,7 +661,7 @@ "children": [ { "parentPluginId": "fleet", - "id": "def-public.props", + "id": "def-public.PackageCustomExtension.Component.$1", "type": "Uncategorized", "tags": [], "label": "props", @@ -893,7 +893,7 @@ "children": [ { "parentPluginId": "fleet", - "id": "def-public.props", + "id": "def-public.PackagePolicyCreateExtension.Component.$1", "type": "Uncategorized", "tags": [], "label": "props", @@ -965,7 +965,7 @@ "children": [ { "parentPluginId": "fleet", - "id": "def-public.PackagePolicyCreateExtensionComponentProps.onChange.$1.opts", + "id": "def-public.PackagePolicyCreateExtensionComponentProps.onChange.$1", "type": "Object", "tags": [], "label": "opts", @@ -975,7 +975,7 @@ "children": [ { "parentPluginId": "fleet", - "id": "def-public.PackagePolicyCreateExtensionComponentProps.onChange.$1.opts.isValid", + "id": "def-public.PackagePolicyCreateExtensionComponentProps.onChange.$1.isValid", "type": "boolean", "tags": [], "label": "isValid", @@ -987,7 +987,7 @@ }, { "parentPluginId": "fleet", - "id": "def-public.PackagePolicyCreateExtensionComponentProps.onChange.$1.opts.updatedPolicy", + "id": "def-public.PackagePolicyCreateExtensionComponentProps.onChange.$1.updatedPolicy", "type": "Object", "tags": [], "label": "updatedPolicy", @@ -1097,7 +1097,7 @@ "children": [ { "parentPluginId": "fleet", - "id": "def-public.props", + "id": "def-public.PackagePolicyEditExtension.Component.$1", "type": "Uncategorized", "tags": [], "label": "props", @@ -1190,7 +1190,7 @@ "children": [ { "parentPluginId": "fleet", - "id": "def-public.PackagePolicyEditExtensionComponentProps.onChange.$1.opts", + "id": "def-public.PackagePolicyEditExtensionComponentProps.onChange.$1", "type": "Object", "tags": [], "label": "opts", @@ -1200,7 +1200,7 @@ "children": [ { "parentPluginId": "fleet", - "id": "def-public.PackagePolicyEditExtensionComponentProps.onChange.$1.opts.isValid", + "id": "def-public.PackagePolicyEditExtensionComponentProps.onChange.$1.isValid", "type": "boolean", "tags": [], "label": "isValid", @@ -1212,7 +1212,7 @@ }, { "parentPluginId": "fleet", - "id": "def-public.PackagePolicyEditExtensionComponentProps.onChange.$1.opts.updatedPolicy", + "id": "def-public.PackagePolicyEditExtensionComponentProps.onChange.$1.updatedPolicy", "type": "Object", "tags": [], "label": "updatedPolicy", @@ -1585,7 +1585,7 @@ "children": [ { "parentPluginId": "fleet", - "id": "def-public.extensionPoint", + "id": "def-public.UIExtensionRegistrationCallback.$1", "type": "CompoundType", "tags": [], "label": "extensionPoint", @@ -2295,7 +2295,7 @@ "children": [ { "parentPluginId": "fleet", - "id": "def-public.extensionPoint", + "id": "def-public.FleetStart.registerExtension.$1", "type": "CompoundType", "tags": [], "label": "extensionPoint", @@ -2500,7 +2500,7 @@ "children": [ { "parentPluginId": "fleet", - "id": "def-server.soClient", + "id": "def-server.AgentPolicyServiceInterface.get.$1", "type": "Object", "tags": [], "label": "soClient", @@ -2813,7 +2813,7 @@ }, { "parentPluginId": "fleet", - "id": "def-server.id", + "id": "def-server.AgentPolicyServiceInterface.get.$2", "type": "string", "tags": [], "label": "id", @@ -2823,7 +2823,7 @@ }, { "parentPluginId": "fleet", - "id": "def-server.withPackagePolicies", + "id": "def-server.AgentPolicyServiceInterface.get.$3", "type": "boolean", "tags": [], "label": "withPackagePolicies", @@ -2865,7 +2865,7 @@ "children": [ { "parentPluginId": "fleet", - "id": "def-server.soClient", + "id": "def-server.AgentPolicyServiceInterface.list.$1", "type": "Object", "tags": [], "label": "soClient", @@ -3178,7 +3178,7 @@ }, { "parentPluginId": "fleet", - "id": "def-server.options", + "id": "def-server.AgentPolicyServiceInterface.list.$2", "type": "CompoundType", "tags": [], "label": "options", @@ -3215,7 +3215,7 @@ "children": [ { "parentPluginId": "fleet", - "id": "def-server.soClient", + "id": "def-server.AgentPolicyServiceInterface.getDefaultAgentPolicyId.$1", "type": "Object", "tags": [], "label": "soClient", @@ -3560,7 +3560,7 @@ "children": [ { "parentPluginId": "fleet", - "id": "def-server.soClient", + "id": "def-server.AgentPolicyServiceInterface.getFullAgentPolicy.$1", "type": "Object", "tags": [], "label": "soClient", @@ -3873,7 +3873,7 @@ }, { "parentPluginId": "fleet", - "id": "def-server.id", + "id": "def-server.AgentPolicyServiceInterface.getFullAgentPolicy.$2", "type": "string", "tags": [], "label": "id", @@ -3883,7 +3883,7 @@ }, { "parentPluginId": "fleet", - "id": "def-server.options", + "id": "def-server.AgentPolicyServiceInterface.getFullAgentPolicy.$3", "type": "Object", "tags": [], "label": "options", @@ -3928,7 +3928,7 @@ "children": [ { "parentPluginId": "fleet", - "id": "def-server.soClient", + "id": "def-server.AgentPolicyServiceInterface.getByIds.$1", "type": "Object", "tags": [], "label": "soClient", @@ -4241,7 +4241,7 @@ }, { "parentPluginId": "fleet", - "id": "def-server.ids", + "id": "def-server.AgentPolicyServiceInterface.getByIds.$2", "type": "Array", "tags": [], "label": "ids", @@ -4254,7 +4254,7 @@ }, { "parentPluginId": "fleet", - "id": "def-server.options", + "id": "def-server.AgentPolicyServiceInterface.getByIds.$3", "type": "Object", "tags": [], "label": "options", @@ -4316,7 +4316,7 @@ "children": [ { "parentPluginId": "fleet", - "id": "def-server.esClient", + "id": "def-server.AgentService.getAgent.$1", "type": "CompoundType", "tags": [], "label": "esClient", @@ -4324,7 +4324,7 @@ "signature": [ "Pick<", "KibanaClient", - ", \"get\" | \"delete\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"count\" | \"search\" | \"security\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"monitoring\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\"> & { transport: { request(params: ", + ", \"get\" | \"delete\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"security\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"monitoring\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\"> & { transport: { request(params: ", "TransportRequestParams", ", options?: ", "TransportRequestOptions", @@ -4339,7 +4339,7 @@ }, { "parentPluginId": "fleet", - "id": "def-server.agentId", + "id": "def-server.AgentService.getAgent.$2", "type": "string", "tags": [], "label": "agentId", @@ -4608,7 +4608,7 @@ "children": [ { "parentPluginId": "fleet", - "id": "def-server.esClient", + "id": "def-server.AgentService.listAgents.$1", "type": "CompoundType", "tags": [], "label": "esClient", @@ -4616,7 +4616,7 @@ "signature": [ "Pick<", "KibanaClient", - ", \"get\" | \"delete\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"count\" | \"search\" | \"security\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"monitoring\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\"> & { transport: { request(params: ", + ", \"get\" | \"delete\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"security\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"monitoring\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\"> & { transport: { request(params: ", "TransportRequestParams", ", options?: ", "TransportRequestOptions", @@ -4631,7 +4631,7 @@ }, { "parentPluginId": "fleet", - "id": "def-server.options", + "id": "def-server.AgentService.listAgents.$2", "type": "CompoundType", "tags": [], "label": "options", @@ -5195,7 +5195,7 @@ "children": [ { "parentPluginId": "fleet", - "id": "def-server.options", + "id": "def-server.PackageService.getInstallation.$1", "type": "Object", "tags": [], "label": "options", @@ -5318,7 +5318,7 @@ "children": [ { "parentPluginId": "fleet", - "id": "def-server.newPackagePolicy", + "id": "def-server.PostPackagePolicyCreateCallback.$1", "type": "Object", "tags": [], "label": "newPackagePolicy", @@ -5337,7 +5337,7 @@ }, { "parentPluginId": "fleet", - "id": "def-server.context", + "id": "def-server.PostPackagePolicyCreateCallback.$2", "type": "Object", "tags": [], "label": "context", @@ -5356,7 +5356,7 @@ }, { "parentPluginId": "fleet", - "id": "def-server.request", + "id": "def-server.PostPackagePolicyCreateCallback.$3", "type": "Object", "tags": [], "label": "request", @@ -5403,7 +5403,7 @@ "children": [ { "parentPluginId": "fleet", - "id": "def-server.deletedPackagePolicies", + "id": "def-server.PostPackagePolicyDeleteCallback.$1", "type": "Object", "tags": [], "label": "deletedPackagePolicies", @@ -5474,7 +5474,7 @@ "children": [ { "parentPluginId": "fleet", - "id": "def-server.updatePackagePolicy", + "id": "def-server.PutPackagePolicyUpdateCallback.$1", "type": "Object", "tags": [], "label": "updatePackagePolicy", @@ -5493,7 +5493,7 @@ }, { "parentPluginId": "fleet", - "id": "def-server.context", + "id": "def-server.PutPackagePolicyUpdateCallback.$2", "type": "Object", "tags": [], "label": "context", @@ -5512,7 +5512,7 @@ }, { "parentPluginId": "fleet", - "id": "def-server.request", + "id": "def-server.PutPackagePolicyUpdateCallback.$3", "type": "Object", "tags": [], "label": "request", @@ -6361,7 +6361,7 @@ "children": [ { "parentPluginId": "fleet", - "id": "def-common.o", + "id": "def-common.entries.$1", "type": "Uncategorized", "tags": [], "label": "o", @@ -6391,7 +6391,7 @@ "section": "def-common.FullAgentPolicy", "text": "FullAgentPolicy" }, - ") => string" + ", toYaml: (obj: any, opts?: jsyaml.DumpOptions | undefined) => string) => string" ], "path": "x-pack/plugins/fleet/common/services/full_agent_policy_to_yaml.ts", "deprecated": false, @@ -6415,6 +6415,20 @@ "path": "x-pack/plugins/fleet/common/services/full_agent_policy_to_yaml.ts", "deprecated": false, "isRequired": true + }, + { + "parentPluginId": "fleet", + "id": "def-common.fullAgentPolicyToYaml.$2", + "type": "Function", + "tags": [], + "label": "toYaml", + "description": [], + "signature": [ + "typeof jsyaml.safeDump" + ], + "path": "x-pack/plugins/fleet/common/services/full_agent_policy_to_yaml.ts", + "deprecated": false, + "isRequired": true } ], "returnComment": [], @@ -6981,7 +6995,7 @@ "section": "def-common.PackageInfo", "text": "PackageInfo" }, - ") => ", + ", safeLoadYaml: (yaml: string) => any) => ", { "pluginId": "fleet", "scope": "common", @@ -7032,6 +7046,20 @@ "path": "x-pack/plugins/fleet/common/services/validate_package_policy.ts", "deprecated": false, "isRequired": true + }, + { + "parentPluginId": "fleet", + "id": "def-common.validatePackagePolicy.$3", + "type": "Function", + "tags": [], + "label": "safeLoadYaml", + "description": [], + "signature": [ + "(yaml: string) => any" + ], + "path": "x-pack/plugins/fleet/common/services/validate_package_policy.ts", + "deprecated": false, + "isRequired": true } ], "returnComment": [], @@ -7061,7 +7089,7 @@ "section": "def-common.RegistryVarsEntry", "text": "RegistryVarsEntry" }, - ") => string[] | null" + ", varName: string, safeLoadYaml: (yaml: string) => any) => string[] | null" ], "path": "x-pack/plugins/fleet/common/services/validate_package_policy.ts", "deprecated": false, @@ -7105,6 +7133,34 @@ "path": "x-pack/plugins/fleet/common/services/validate_package_policy.ts", "deprecated": false, "isRequired": true + }, + { + "parentPluginId": "fleet", + "id": "def-common.validatePackagePolicyConfig.$3", + "type": "string", + "tags": [], + "label": "varName", + "description": [], + "signature": [ + "string" + ], + "path": "x-pack/plugins/fleet/common/services/validate_package_policy.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "fleet", + "id": "def-common.validatePackagePolicyConfig.$4", + "type": "Function", + "tags": [], + "label": "safeLoadYaml", + "description": [], + "signature": [ + "(yaml: string) => any" + ], + "path": "x-pack/plugins/fleet/common/services/validate_package_policy.ts", + "deprecated": false, + "isRequired": true } ], "returnComment": [], diff --git a/api_docs/fleet.mdx b/api_docs/fleet.mdx index 62690379e3838..890b1deec314f 100644 --- a/api_docs/fleet.mdx +++ b/api_docs/fleet.mdx @@ -18,7 +18,7 @@ Contact [Fleet](https://github.com/orgs/elastic/teams/fleet) for questions regar | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 1166 | 15 | 1065 | 11 | +| 1170 | 15 | 1069 | 11 | ## Client diff --git a/api_docs/home.json b/api_docs/home.json index 04a4bd8fd7daf..e6ba63fddef98 100644 --- a/api_docs/home.json +++ b/api_docs/home.json @@ -434,7 +434,7 @@ "children": [ { "parentPluginId": "home", - "id": "def-public.props", + "id": "def-public.TutorialDirectoryHeaderLinkComponent.$1", "type": "CompoundType", "tags": [], "label": "props", @@ -447,7 +447,7 @@ }, { "parentPluginId": "home", - "id": "def-public.context", + "id": "def-public.TutorialDirectoryHeaderLinkComponent.$2", "type": "Any", "tags": [], "label": "context", @@ -477,7 +477,7 @@ "children": [ { "parentPluginId": "home", - "id": "def-public.props", + "id": "def-public.TutorialDirectoryNoticeComponent.$1", "type": "CompoundType", "tags": [], "label": "props", @@ -490,7 +490,7 @@ }, { "parentPluginId": "home", - "id": "def-public.context", + "id": "def-public.TutorialDirectoryNoticeComponent.$2", "type": "Any", "tags": [], "label": "context", @@ -520,7 +520,7 @@ "children": [ { "parentPluginId": "home", - "id": "def-public.props", + "id": "def-public.TutorialModuleNoticeComponent.$1", "type": "CompoundType", "tags": [], "label": "props", @@ -533,7 +533,7 @@ }, { "parentPluginId": "home", - "id": "def-public.context", + "id": "def-public.TutorialModuleNoticeComponent.$2", "type": "Any", "tags": [], "label": "context", @@ -1029,7 +1029,7 @@ "children": [ { "parentPluginId": "home", - "id": "def-server.context", + "id": "def-server.TutorialProvider.$1", "type": "Object", "tags": [], "label": "context", diff --git a/api_docs/index_pattern_editor.json b/api_docs/index_pattern_editor.json index 7a316de34674a..689ac05ff4698 100644 --- a/api_docs/index_pattern_editor.json +++ b/api_docs/index_pattern_editor.json @@ -194,7 +194,7 @@ "children": [ { "parentPluginId": "indexPatternEditor", - "id": "def-public.props", + "id": "def-public.PluginStart.IndexPatternEditorComponent.$1", "type": "CompoundType", "tags": [], "label": "props", @@ -207,7 +207,7 @@ }, { "parentPluginId": "indexPatternEditor", - "id": "def-public.context", + "id": "def-public.PluginStart.IndexPatternEditorComponent.$2", "type": "Any", "tags": [], "label": "context", diff --git a/api_docs/index_pattern_field_editor.json b/api_docs/index_pattern_field_editor.json index 25cb2cb1d6ea9..ffc484237af19 100644 --- a/api_docs/index_pattern_field_editor.json +++ b/api_docs/index_pattern_field_editor.json @@ -249,7 +249,7 @@ "children": [ { "parentPluginId": "indexPatternFieldEditor", - "id": "def-public.FormatEditorProps.onChange.$1.newParams", + "id": "def-public.FormatEditorProps.onChange.$1", "type": "Object", "tags": [], "label": "newParams", @@ -259,7 +259,7 @@ "children": [ { "parentPluginId": "indexPatternFieldEditor", - "id": "def-public.FormatEditorProps.onChange.$1.newParams.Unnamed", + "id": "def-public.FormatEditorProps.onChange.$1.Unnamed", "type": "Any", "tags": [], "label": "Unnamed", @@ -291,7 +291,7 @@ "children": [ { "parentPluginId": "indexPatternFieldEditor", - "id": "def-public.error", + "id": "def-public.FormatEditorProps.onError.$1", "type": "string", "tags": [], "label": "error", @@ -731,7 +731,7 @@ "children": [ { "parentPluginId": "indexPatternFieldEditor", - "id": "def-public.props", + "id": "def-public.PluginStart.DeleteRuntimeFieldProvider.$1", "type": "CompoundType", "tags": [], "label": "props", @@ -744,7 +744,7 @@ }, { "parentPluginId": "indexPatternFieldEditor", - "id": "def-public.context", + "id": "def-public.PluginStart.DeleteRuntimeFieldProvider.$2", "type": "Any", "tags": [], "label": "context", diff --git a/api_docs/infra.json b/api_docs/infra.json index 5e40eab3a0c0f..ef40586c65d8d 100644 --- a/api_docs/infra.json +++ b/api_docs/infra.json @@ -145,7 +145,7 @@ "children": [ { "parentPluginId": "infra", - "id": "def-public.val", + "id": "def-public.FORMATTERS.number.$1", "type": "number", "tags": [], "label": "val", @@ -173,7 +173,7 @@ "children": [ { "parentPluginId": "infra", - "id": "def-public.bytes", + "id": "def-public.FORMATTERS.abbreviatedNumber.$1", "type": "number", "tags": [], "label": "bytes", @@ -201,7 +201,7 @@ "children": [ { "parentPluginId": "infra", - "id": "def-public.bytes", + "id": "def-public.FORMATTERS.bytes.$1", "type": "number", "tags": [], "label": "bytes", @@ -229,7 +229,7 @@ "children": [ { "parentPluginId": "infra", - "id": "def-public.bytes", + "id": "def-public.FORMATTERS.bits.$1", "type": "number", "tags": [], "label": "bytes", @@ -255,7 +255,7 @@ "children": [ { "parentPluginId": "infra", - "id": "def-public.val", + "id": "def-public.FORMATTERS.percent.$1", "type": "number", "tags": [], "label": "val", @@ -281,7 +281,7 @@ "children": [ { "parentPluginId": "infra", - "id": "def-public.val", + "id": "def-public.FORMATTERS.highPercision.$1", "type": "number", "tags": [], "label": "val", diff --git a/api_docs/inspector.json b/api_docs/inspector.json index a664d83be259b..964b5b25814a4 100644 --- a/api_docs/inspector.json +++ b/api_docs/inspector.json @@ -168,6 +168,8 @@ "section": "def-public.CoreStart", "text": "CoreStart" }, + ", startDeps: ", + "InspectorPluginStartDeps", ") => { isAvailable: (adapters?: ", { "pluginId": "inspector", @@ -224,6 +226,20 @@ "path": "src/plugins/inspector/public/plugin.tsx", "deprecated": false, "isRequired": true + }, + { + "parentPluginId": "inspector", + "id": "def-public.InspectorPublicPlugin.start.$2", + "type": "Object", + "tags": [], + "label": "startDeps", + "description": [], + "signature": [ + "InspectorPluginStartDeps" + ], + "path": "src/plugins/inspector/public/plugin.tsx", + "deprecated": false, + "isRequired": true } ], "returnComment": [] @@ -299,7 +315,7 @@ "signature": [ "(name: string, params?: ", "RequestParams", - ") => ", + ", startTime?: number) => ", { "pluginId": "inspector", "scope": "common", @@ -333,13 +349,31 @@ "type": "Object", "tags": [], "label": "params", - "description": [], + "description": [ + "Additional arguments for the request." + ], "signature": [ "RequestParams" ], "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "isRequired": true + }, + { + "parentPluginId": "inspector", + "id": "def-public.RequestAdapter.start.$3", + "type": "number", + "tags": [], + "label": "startTime", + "description": [ + "Set an optional start time for the request" + ], + "signature": [ + "number" + ], + "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "deprecated": false, + "isRequired": true } ], "returnComment": [ @@ -400,7 +434,13 @@ "description": [], "signature": [ "() => ", - "Request", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Request", + "text": "Request" + }, "[]" ], "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", @@ -444,7 +484,13 @@ "label": "request", "description": [], "signature": [ - "Request" + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Request", + "text": "Request" + } ], "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", "deprecated": false, @@ -986,6 +1032,139 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "inspector", + "id": "def-public.Request", + "type": "Interface", + "tags": [], + "label": "Request", + "description": [], + "signature": [ + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Request", + "text": "Request" + }, + " extends ", + "RequestParams" + ], + "path": "src/plugins/inspector/common/adapters/request/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "inspector", + "id": "def-public.Request.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "path": "src/plugins/inspector/common/adapters/request/types.ts", + "deprecated": false + }, + { + "parentPluginId": "inspector", + "id": "def-public.Request.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "src/plugins/inspector/common/adapters/request/types.ts", + "deprecated": false + }, + { + "parentPluginId": "inspector", + "id": "def-public.Request.json", + "type": "Uncategorized", + "tags": [], + "label": "json", + "description": [], + "signature": [ + "object | undefined" + ], + "path": "src/plugins/inspector/common/adapters/request/types.ts", + "deprecated": false + }, + { + "parentPluginId": "inspector", + "id": "def-public.Request.response", + "type": "Object", + "tags": [], + "label": "response", + "description": [], + "signature": [ + "Response", + " | undefined" + ], + "path": "src/plugins/inspector/common/adapters/request/types.ts", + "deprecated": false + }, + { + "parentPluginId": "inspector", + "id": "def-public.Request.startTime", + "type": "number", + "tags": [], + "label": "startTime", + "description": [], + "path": "src/plugins/inspector/common/adapters/request/types.ts", + "deprecated": false + }, + { + "parentPluginId": "inspector", + "id": "def-public.Request.stats", + "type": "Object", + "tags": [], + "label": "stats", + "description": [], + "signature": [ + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.RequestStatistics", + "text": "RequestStatistics" + }, + " | undefined" + ], + "path": "src/plugins/inspector/common/adapters/request/types.ts", + "deprecated": false + }, + { + "parentPluginId": "inspector", + "id": "def-public.Request.status", + "type": "Enum", + "tags": [], + "label": "status", + "description": [], + "signature": [ + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.RequestStatus", + "text": "RequestStatus" + } + ], + "path": "src/plugins/inspector/common/adapters/request/types.ts", + "deprecated": false + }, + { + "parentPluginId": "inspector", + "id": "def-public.Request.time", + "type": "number", + "tags": [], + "label": "time", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "src/plugins/inspector/common/adapters/request/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "inspector", "id": "def-public.RequestStatistic", @@ -1134,7 +1313,7 @@ "children": [ { "parentPluginId": "inspector", - "id": "def-public.view", + "id": "def-public.Setup.registerView.$1", "type": "Object", "tags": [], "label": "view", @@ -1392,7 +1571,7 @@ "signature": [ "(name: string, params?: ", "RequestParams", - ") => ", + ", startTime?: number) => ", { "pluginId": "inspector", "scope": "common", @@ -1426,13 +1605,31 @@ "type": "Object", "tags": [], "label": "params", - "description": [], + "description": [ + "Additional arguments for the request." + ], "signature": [ "RequestParams" ], "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", "deprecated": false, "isRequired": true + }, + { + "parentPluginId": "inspector", + "id": "def-common.RequestAdapter.start.$3", + "type": "number", + "tags": [], + "label": "startTime", + "description": [ + "Set an optional start time for the request" + ], + "signature": [ + "number" + ], + "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", + "deprecated": false, + "isRequired": true } ], "returnComment": [ @@ -1493,7 +1690,13 @@ "description": [], "signature": [ "() => ", - "Request", + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Request", + "text": "Request" + }, "[]" ], "path": "src/plugins/inspector/common/adapters/request/request_adapter.ts", @@ -1537,7 +1740,13 @@ "label": "request", "description": [], "signature": [ - "Request" + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Request", + "text": "Request" + } ], "path": "src/plugins/inspector/common/adapters/request/request_responder.ts", "deprecated": false, @@ -1826,6 +2035,139 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "inspector", + "id": "def-common.Request", + "type": "Interface", + "tags": [], + "label": "Request", + "description": [], + "signature": [ + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.Request", + "text": "Request" + }, + " extends ", + "RequestParams" + ], + "path": "src/plugins/inspector/common/adapters/request/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "inspector", + "id": "def-common.Request.id", + "type": "string", + "tags": [], + "label": "id", + "description": [], + "path": "src/plugins/inspector/common/adapters/request/types.ts", + "deprecated": false + }, + { + "parentPluginId": "inspector", + "id": "def-common.Request.name", + "type": "string", + "tags": [], + "label": "name", + "description": [], + "path": "src/plugins/inspector/common/adapters/request/types.ts", + "deprecated": false + }, + { + "parentPluginId": "inspector", + "id": "def-common.Request.json", + "type": "Uncategorized", + "tags": [], + "label": "json", + "description": [], + "signature": [ + "object | undefined" + ], + "path": "src/plugins/inspector/common/adapters/request/types.ts", + "deprecated": false + }, + { + "parentPluginId": "inspector", + "id": "def-common.Request.response", + "type": "Object", + "tags": [], + "label": "response", + "description": [], + "signature": [ + "Response", + " | undefined" + ], + "path": "src/plugins/inspector/common/adapters/request/types.ts", + "deprecated": false + }, + { + "parentPluginId": "inspector", + "id": "def-common.Request.startTime", + "type": "number", + "tags": [], + "label": "startTime", + "description": [], + "path": "src/plugins/inspector/common/adapters/request/types.ts", + "deprecated": false + }, + { + "parentPluginId": "inspector", + "id": "def-common.Request.stats", + "type": "Object", + "tags": [], + "label": "stats", + "description": [], + "signature": [ + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.RequestStatistics", + "text": "RequestStatistics" + }, + " | undefined" + ], + "path": "src/plugins/inspector/common/adapters/request/types.ts", + "deprecated": false + }, + { + "parentPluginId": "inspector", + "id": "def-common.Request.status", + "type": "Enum", + "tags": [], + "label": "status", + "description": [], + "signature": [ + { + "pluginId": "inspector", + "scope": "common", + "docId": "kibInspectorPluginApi", + "section": "def-common.RequestStatus", + "text": "RequestStatus" + } + ], + "path": "src/plugins/inspector/common/adapters/request/types.ts", + "deprecated": false + }, + { + "parentPluginId": "inspector", + "id": "def-common.Request.time", + "type": "number", + "tags": [], + "label": "time", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "src/plugins/inspector/common/adapters/request/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "inspector", "id": "def-common.RequestStatistic", diff --git a/api_docs/inspector.mdx b/api_docs/inspector.mdx index d2626b2d5b1ec..2b1be2406e618 100644 --- a/api_docs/inspector.mdx +++ b/api_docs/inspector.mdx @@ -18,7 +18,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 102 | 6 | 79 | 4 | +| 123 | 6 | 96 | 4 | ## Client diff --git a/api_docs/interactive_setup.json b/api_docs/interactive_setup.json index 58493ba648122..b10a3bd9f149a 100644 --- a/api_docs/interactive_setup.json +++ b/api_docs/interactive_setup.json @@ -20,6 +20,85 @@ "classes": [], "functions": [], "interfaces": [ + { + "parentPluginId": "interactiveSetup", + "id": "def-common.Certificate", + "type": "Interface", + "tags": [], + "label": "Certificate", + "description": [], + "path": "src/plugins/interactive_setup/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "interactiveSetup", + "id": "def-common.Certificate.issuer", + "type": "Object", + "tags": [], + "label": "issuer", + "description": [], + "signature": [ + "{ C?: string | undefined; ST?: string | undefined; L?: string | undefined; O?: string | undefined; OU?: string | undefined; CN?: string | undefined; }" + ], + "path": "src/plugins/interactive_setup/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "interactiveSetup", + "id": "def-common.Certificate.valid_from", + "type": "string", + "tags": [], + "label": "valid_from", + "description": [], + "path": "src/plugins/interactive_setup/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "interactiveSetup", + "id": "def-common.Certificate.valid_to", + "type": "string", + "tags": [], + "label": "valid_to", + "description": [], + "path": "src/plugins/interactive_setup/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "interactiveSetup", + "id": "def-common.Certificate.subject", + "type": "Object", + "tags": [], + "label": "subject", + "description": [], + "signature": [ + "{ C?: string | undefined; ST?: string | undefined; L?: string | undefined; O?: string | undefined; OU?: string | undefined; CN?: string | undefined; }" + ], + "path": "src/plugins/interactive_setup/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "interactiveSetup", + "id": "def-common.Certificate.fingerprint256", + "type": "string", + "tags": [], + "label": "fingerprint256", + "description": [], + "path": "src/plugins/interactive_setup/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "interactiveSetup", + "id": "def-common.Certificate.raw", + "type": "string", + "tags": [], + "label": "raw", + "description": [], + "path": "src/plugins/interactive_setup/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "interactiveSetup", "id": "def-common.EnrollmentToken", @@ -121,6 +200,53 @@ } ], "initialIsOpen": false + }, + { + "parentPluginId": "interactiveSetup", + "id": "def-common.PingResult", + "type": "Interface", + "tags": [], + "label": "PingResult", + "description": [], + "path": "src/plugins/interactive_setup/common/types.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "interactiveSetup", + "id": "def-common.PingResult.authRequired", + "type": "boolean", + "tags": [], + "label": "authRequired", + "description": [ + "\nIndicates whether the cluster requires authentication." + ], + "path": "src/plugins/interactive_setup/common/types.ts", + "deprecated": false + }, + { + "parentPluginId": "interactiveSetup", + "id": "def-common.PingResult.certificateChain", + "type": "Array", + "tags": [], + "label": "certificateChain", + "description": [ + "\nFull certificate chain of cluster at requested address. Only present if cluster uses HTTPS." + ], + "signature": [ + { + "pluginId": "interactiveSetup", + "scope": "common", + "docId": "kibInteractiveSetupPluginApi", + "section": "def-common.Certificate", + "text": "Certificate" + }, + "[] | undefined" + ], + "path": "src/plugins/interactive_setup/common/types.ts", + "deprecated": false + } + ], + "initialIsOpen": false } ], "enums": [ @@ -138,7 +264,22 @@ "initialIsOpen": false } ], - "misc": [], + "misc": [ + { + "parentPluginId": "interactiveSetup", + "id": "def-common.VERIFICATION_CODE_LENGTH", + "type": "number", + "tags": [], + "label": "VERIFICATION_CODE_LENGTH", + "description": [], + "signature": [ + "6" + ], + "path": "src/plugins/interactive_setup/common/constants.ts", + "deprecated": false, + "initialIsOpen": false + } + ], "objects": [] } } \ No newline at end of file diff --git a/api_docs/interactive_setup.mdx b/api_docs/interactive_setup.mdx index 00767b65e59d5..b38b8168bcfef 100644 --- a/api_docs/interactive_setup.mdx +++ b/api_docs/interactive_setup.mdx @@ -18,7 +18,7 @@ Contact [Platform Security](https://github.com/orgs/elastic/teams/kibana-securit | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 8 | 0 | 0 | 0 | +| 19 | 0 | 9 | 0 | ## Common @@ -28,3 +28,6 @@ Contact [Platform Security](https://github.com/orgs/elastic/teams/kibana-securit ### Enums +### Consts, variables and types + + diff --git a/api_docs/kibana_legacy.json b/api_docs/kibana_legacy.json index ccb56e5b8a28c..7753ea9057e0c 100644 --- a/api_docs/kibana_legacy.json +++ b/api_docs/kibana_legacy.json @@ -12,43 +12,6 @@ "path": "src/plugins/kibana_legacy/public/plugin.ts", "deprecated": false, "children": [ - { - "parentPluginId": "kibanaLegacy", - "id": "def-public.KibanaLegacyPlugin.Unnamed", - "type": "Function", - "tags": [], - "label": "Constructor", - "description": [], - "signature": [ - "any" - ], - "path": "src/plugins/kibana_legacy/public/plugin.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "kibanaLegacy", - "id": "def-public.KibanaLegacyPlugin.Unnamed.$1", - "type": "Object", - "tags": [], - "label": "initializerContext", - "description": [], - "signature": [ - { - "pluginId": "core", - "scope": "public", - "docId": "kibCorePluginApi", - "section": "def-public.PluginInitializerContext", - "text": "PluginInitializerContext" - }, - ">" - ], - "path": "src/plugins/kibana_legacy/public/plugin.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [] - }, { "parentPluginId": "kibanaLegacy", "id": "def-public.KibanaLegacyPlugin.setup", @@ -65,7 +28,7 @@ "section": "def-public.CoreSetup", "text": "CoreSetup" }, - "<{}, { loadFontAwesome: () => Promise; loadAngularBootstrap: () => Promise; config: Readonly<{} & { defaultAppId: string; }>; }>) => {}" + "<{}, { loadFontAwesome: () => Promise; loadAngularBootstrap: () => Promise; }>) => {}" ], "path": "src/plugins/kibana_legacy/public/plugin.ts", "deprecated": false, @@ -85,7 +48,7 @@ "section": "def-public.CoreSetup", "text": "CoreSetup" }, - "<{}, { loadFontAwesome: () => Promise; loadAngularBootstrap: () => Promise; config: Readonly<{} & { defaultAppId: string; }>; }>" + "<{}, { loadFontAwesome: () => Promise; loadAngularBootstrap: () => Promise; }>" ], "path": "src/plugins/kibana_legacy/public/plugin.ts", "deprecated": false, @@ -102,7 +65,7 @@ "label": "start", "description": [], "signature": [ - "({ application, http: { basePath }, uiSettings }: ", + "({ uiSettings }: ", { "pluginId": "core", "scope": "public", @@ -110,7 +73,7 @@ "section": "def-public.CoreStart", "text": "CoreStart" }, - ") => { loadFontAwesome: () => Promise; loadAngularBootstrap: () => Promise; config: Readonly<{} & { defaultAppId: string; }>; }" + ") => { loadFontAwesome: () => Promise; loadAngularBootstrap: () => Promise; }" ], "path": "src/plugins/kibana_legacy/public/plugin.ts", "deprecated": false, @@ -120,7 +83,7 @@ "id": "def-public.KibanaLegacyPlugin.start.$1", "type": "Object", "tags": [], - "label": "{ application, http: { basePath }, uiSettings }", + "label": "{ uiSettings }", "description": [], "signature": [ { @@ -305,7 +268,7 @@ }, { "parentPluginId": "kibanaLegacy", - "id": "def-public.configureAppAngularModule.$2.newPlatform", + "id": "def-public.configureAppAngularModule.$2", "type": "Object", "tags": [], "label": "newPlatform", @@ -315,7 +278,7 @@ "children": [ { "parentPluginId": "kibanaLegacy", - "id": "def-public.configureAppAngularModule.$2.newPlatform.core", + "id": "def-public.configureAppAngularModule.$2.core", "type": "Object", "tags": [], "label": "core", @@ -334,7 +297,7 @@ }, { "parentPluginId": "kibanaLegacy", - "id": "def-public.configureAppAngularModule.$2.newPlatform.env", + "id": "def-public.configureAppAngularModule.$2.env", "type": "Object", "tags": [], "label": "env", @@ -401,7 +364,7 @@ "children": [ { "parentPluginId": "kibanaLegacy", - "id": "def-public.options", + "id": "def-public.createTopNavHelper.$1", "type": "Unknown", "tags": [], "label": "options", @@ -1092,7 +1055,7 @@ "children": [ { "parentPluginId": "kibanaLegacy", - "id": "def-public.provider", + "id": "def-public.IPrivate.$1", "type": "Function", "tags": [], "label": "provider", @@ -1106,7 +1069,7 @@ "children": [ { "parentPluginId": "kibanaLegacy", - "id": "def-public.injectable", + "id": "def-public.IPrivate.$1.$1", "type": "Array", "tags": [], "label": "injectable", @@ -1158,7 +1121,7 @@ "label": "KibanaLegacyStart", "description": [], "signature": [ - "{ loadFontAwesome: () => Promise; loadAngularBootstrap: () => Promise; config: Readonly<{} & { defaultAppId: string; }>; }" + "{ loadFontAwesome: () => Promise; loadAngularBootstrap: () => Promise; }" ], "path": "src/plugins/kibana_legacy/public/plugin.ts", "deprecated": false, diff --git a/api_docs/kibana_legacy.mdx b/api_docs/kibana_legacy.mdx index 5b826d4ad494e..f9b560605beb7 100644 --- a/api_docs/kibana_legacy.mdx +++ b/api_docs/kibana_legacy.mdx @@ -12,13 +12,13 @@ import kibanaLegacyObj from './kibana_legacy.json'; -Contact [Kibana App](https://github.com/orgs/elastic/teams/kibana-app) for questions regarding this plugin. +Contact [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) for questions regarding this plugin. **Code health stats** | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 70 | 3 | 66 | 0 | +| 68 | 3 | 64 | 0 | ## Client diff --git a/api_docs/kibana_react.json b/api_docs/kibana_react.json index 763ff415b9d5e..da7ed650981dc 100644 --- a/api_docs/kibana_react.json +++ b/api_docs/kibana_react.json @@ -135,7 +135,7 @@ "children": [ { "parentPluginId": "kibanaReact", - "id": "def-public.filter", + "id": "def-public.TableListView.debouncedFetch.$1", "type": "string", "tags": [], "label": "filter", @@ -220,7 +220,7 @@ "children": [ { "parentPluginId": "kibanaReact", - "id": "def-public.TableListView.setFilter.$1.queryText", + "id": "def-public.TableListView.setFilter.$1", "type": "Object", "tags": [], "label": "{ queryText }", @@ -230,7 +230,7 @@ "children": [ { "parentPluginId": "kibanaReact", - "id": "def-public.TableListView.setFilter.$1.queryText.queryText", + "id": "def-public.TableListView.setFilter.$1.queryText", "type": "string", "tags": [], "label": "queryText", @@ -992,7 +992,7 @@ "children": [ { "parentPluginId": "kibanaReact", - "id": "def-public.props", + "id": "def-public.KibanaContextProvider.$1", "type": "CompoundType", "tags": [], "label": "props", @@ -1005,7 +1005,7 @@ }, { "parentPluginId": "kibanaReact", - "id": "def-public.context", + "id": "def-public.KibanaContextProvider.$2", "type": "Any", "tags": [], "label": "context", @@ -1304,7 +1304,7 @@ "label": "overviewPageActions", "description": [], "signature": [ - "({ addBasePath, application, hidden, showDevToolsLink, showManagementLink, }: Props) => (JSX.Element | null)[]" + "({ addDataHref, application, devToolsHref, hidden, managementHref, showDevToolsLink, showManagementLink, }: Props) => (JSX.Element | null)[]" ], "path": "src/plugins/kibana_react/public/overview_page/overview_page_actions/overview_page_actions.tsx", "deprecated": false, @@ -1314,7 +1314,7 @@ "id": "def-public.overviewPageActions.$1", "type": "Object", "tags": [], - "label": "{\n addBasePath,\n application,\n hidden,\n showDevToolsLink,\n showManagementLink,\n}", + "label": "{\n addDataHref,\n application,\n devToolsHref,\n hidden,\n managementHref,\n showDevToolsLink,\n showManagementLink,\n}", "description": [], "signature": [ "Props" @@ -2423,7 +2423,7 @@ "children": [ { "parentPluginId": "kibanaReact", - "id": "def-public.props", + "id": "def-public.KibanaReactContext.Provider.$1", "type": "CompoundType", "tags": [], "label": "props", @@ -2436,7 +2436,7 @@ }, { "parentPluginId": "kibanaReact", - "id": "def-public.context", + "id": "def-public.KibanaReactContext.Provider.$2", "type": "Any", "tags": [], "label": "context", @@ -2473,7 +2473,7 @@ "children": [ { "parentPluginId": "kibanaReact", - "id": "def-public.props", + "id": "def-public.KibanaReactContext.Consumer.$1", "type": "Uncategorized", "tags": [], "label": "props", @@ -6387,7 +6387,7 @@ "children": [ { "parentPluginId": "kibanaReact", - "id": "def-common.first", + "id": "def-common.createGlobalStyle.$1", "type": "CompoundType", "tags": [], "label": "first", @@ -6405,7 +6405,7 @@ }, { "parentPluginId": "kibanaReact", - "id": "def-common.interpolations", + "id": "def-common.createGlobalStyle.$2", "type": "Array", "tags": [], "label": "interpolations", @@ -6600,7 +6600,7 @@ "children": [ { "parentPluginId": "kibanaReact", - "id": "def-common.strings", + "id": "def-common.keyframes.$1", "type": "CompoundType", "tags": [], "label": "strings", @@ -6614,7 +6614,7 @@ }, { "parentPluginId": "kibanaReact", - "id": "def-common.interpolations", + "id": "def-common.keyframes.$2", "type": "Array", "tags": [], "label": "interpolations", @@ -6661,7 +6661,7 @@ "children": [ { "parentPluginId": "kibanaReact", - "id": "def-common.component", + "id": "def-common.withTheme.$1", "type": "Uncategorized", "tags": [], "label": "component", @@ -6695,7 +6695,7 @@ "label": "eui", "description": [], "signature": [ - "{ paddingSizes: { xs: string; s: string; m: string; l: string; xl: string; }; avatarSizing: { s: { size: string; 'font-size': string; }; m: { size: string; 'font-size': string; }; l: { size: string; 'font-size': string; }; xl: { size: string; 'font-size': string; }; }; euiBadgeGroupGutterTypes: { gutterExtraSmall: string; gutterSmall: string; }; euiBreadcrumbSpacing: string; euiBreadcrumbTruncateWidth: string; euiButtonEmptyTypes: { primary: string; danger: string; disabled: string; ghost: string; text: string; success: string; warning: string; }; euiCallOutTypes: { primary: string; success: string; warning: string; danger: string; }; euiCardSpacing: string; euiCardBottomNodeHeight: string; euiCardSelectButtonBorders: { text: string; primary: string; success: string; danger: string; ghost: string; }; euiCardSelectButtonBackgrounds: { text: string; primary: string; success: string; danger: string; ghost: string; }; euiCardPaddingModifiers: { paddingNone: number; paddingSmall: string; paddingMedium: string; paddingLarge: string; }; euiCheckableCardPadding: string; euiCodeBlockPaddingModifiers: { paddingSmall: string; paddingMedium: string; paddingLarge: string; }; euiCollapsibleNavGroupLightBackgroundColor: string; euiCollapsibleNavGroupDarkBackgroundColor: string; euiCollapsibleNavGroupDarkHighContrastColor: string; euiColorPickerValueRange0: string; euiColorPickerValueRange1: string; euiColorPickerSaturationRange0: string; euiColorPickerSaturationRange1: string; euiColorPickerIndicatorSize: string; euiColorPickerWidth: string; euiColorPaletteDisplaySizes: { sizeExtraSmall: string; sizeSmall: string; sizeMedium: string; }; euiContextMenuWidth: string; euiControlBarBackground: string; euiControlBarText: string; euiControlBarBorderColor: string; euiControlBarInitialHeight: string; euiControlBarMaxHeight: string; euiControlBarHeights: { s: string; m: string; l: string; }; euiDataGridPrefix: string; euiDataGridStyles: string; euiDataGridColumnResizerWidth: string; euiDataGridPopoverMaxHeight: string; euiDataGridCellPaddingS: string; euiDataGridCellPaddingM: string; euiDataGridCellPaddingL: string; euiDataGridVerticalBorder: string; euiDatePickerCalendarWidth: string; euiSuperDatePickerWidth: string; euiSuperDatePickerButtonWidth: string; euiDragAndDropSpacing: { s: string; m: string; l: string; }; euiExpressionColors: { subdued: string; primary: string; success: string; secondary: string; warning: string; danger: string; accent: string; }; euiFacetGutterSizes: { gutterNone: number; gutterSmall: string; gutterMedium: string; gutterLarge: string; }; gutterTypes: { gutterExtraSmall: string; gutterSmall: string; gutterMedium: string; gutterLarge: string; gutterExtraLarge: string; }; fractions: { fourths: { percentage: string; count: number; }; thirds: { percentage: string; count: number; }; halves: { percentage: string; count: number; }; single: { percentage: string; count: number; }; }; flyoutSizes: { small: { min: string; width: string; max: string; }; medium: { min: string; width: string; max: string; }; large: { min: string; width: string; max: string; }; }; euiFlyoutBorder: string; euiFlyoutPaddingModifiers: { paddingNone: number; paddingSmall: string; paddingMedium: string; paddingLarge: string; }; euiFilePickerTallHeight: string; euiRangeLevelColors: { primary: string; success: string; warning: string; danger: string; }; textareaResizing: { vertical: string; horizontal: string; both: string; none: string; }; euiHeaderLinksGutterSizes: { gutterXS: string; gutterS: string; gutterM: string; gutterL: string; }; ruleMargins: { marginXSmall: string; marginSmall: string; marginMedium: string; marginLarge: string; marginXLarge: string; marginXXLarge: string; }; euiIconLoadingOpacity: number; euiIconColors: { accent: string; danger: string; ghost: string; primary: string; secondary: string; success: string; subdued: string; text: string; warning: string; inherit: string; }; euiIconSizes: { small: string; medium: string; large: string; xLarge: string; xxLarge: string; }; euiKeyPadMenuSize: string; euiKeyPadMenuMarginSize: string; euiLinkColors: { subdued: string; primary: string; secondary: string; success: string; accent: string; warning: string; danger: string; text: string; ghost: string; }; euiListGroupItemHoverBackground: string; euiListGroupItemHoverBackgroundGhost: string; euiListGroupGutterTypes: { gutterSmall: string; gutterMedium: string; }; euiListGroupItemColorTypes: { primary: string; text: string; subdued: string; ghost: string; }; euiListGroupItemSizeTypes: { xSmall: string; small: string; medium: string; large: string; }; euiGradientStartStop: string; euiGradientMiddle: string; euiMarkdownEditorMinHeight: string; euiPopoverArrowSize: string; euiPopoverTranslateDistance: string; euiProgressSizes: { xs: string; s: string; m: string; l: string; }; euiProgressColors: { primary: string; secondary: string; success: string; warning: string; danger: string; accent: string; subdued: string; vis0: string; vis1: string; vis2: string; vis3: string; vis4: string; vis5: string; vis6: string; vis7: string; vis8: string; vis9: string; customColor: string; }; euiResizableButtonTransitionSpeed: string; euiResizableButtonSize: string; euiSelectableListItemBorder: string; euiSelectableListItemPadding: string; euiSelectableTemplateSitewideTypes: { application: { color: string; 'font-weight': number; }; deployment: { color: string; 'font-weight': number; }; article: { color: string; 'font-weight': number; }; case: { color: string; 'font-weight': number; }; platform: { color: string; 'font-weight': number; }; }; euiSideNavEmphasizedBackgroundColor: string; euiSideNavRootTextcolor: string; euiSideNavBranchTextcolor: string; euiSideNavSelectedTextcolor: string; euiSideNavDisabledTextcolor: string; spacerSizes: { xs: string; s: string; m: string; l: string; xl: string; xxl: string; }; euiStepNumberSize: string; euiStepNumberSmallSize: string; euiStepNumberMargin: string; euiStepStatusColorsToFade: { warning: string; danger: string; disabled: string; incomplete: string; }; euiSuggestItemColors: { tint0: string; tint1: string; tint2: string; tint3: string; tint4: string; tint5: string; tint6: string; tint7: string; tint8: string; tint9: string; tint10: string; }; euiTableCellContentPadding: string; euiTableCellContentPaddingCompressed: string; euiTableCellCheckboxWidth: string; euiTableActionsAreaWidth: string; euiTableHoverColor: string; euiTableSelectedColor: string; euiTableHoverSelectedColor: string; euiTableActionsBorderColor: string; euiTableHoverClickableColor: string; euiTableFocusClickableColor: string; euiTabFontSize: string; euiTabFontSizeS: string; euiTabFontSizeL: string; euiTextColors: { default: string; subdued: string; secondary: string; success: string; accent: string; warning: string; danger: string; ghost: string; inherit: string; }; euiTextConstrainedMaxWidth: string; euiToastWidth: string; euiToastTypes: { primary: string; success: string; warning: string; danger: string; }; euiTokenGrayColor: string; euiTokenTypes: { euiColorVis0: { graphic: string; behindText: string; }; euiColorVis1: { graphic: string; behindText: string; }; euiColorVis2: { graphic: string; behindText: string; }; euiColorVis3: { graphic: string; behindText: string; }; euiColorVis4: { graphic: string; behindText: string; }; euiColorVis5: { graphic: string; behindText: string; }; euiColorVis6: { graphic: string; behindText: string; }; euiColorVis7: { graphic: string; behindText: string; }; euiColorVis8: { graphic: string; behindText: string; }; euiColorVis9: { graphic: string; behindText: string; }; gray: { graphic: string; behindText: string; }; }; euiTokenTypeKeys: string; euiContrastRatioText: number; euiContrastRatioGraphic: number; euiContrastRatioDisabled: number; euiAnimSlightBounce: string; euiAnimSlightResistance: string; euiAnimSpeedExtraFast: string; euiAnimSpeedFast: string; euiAnimSpeedNormal: string; euiAnimSpeedSlow: string; euiAnimSpeedExtraSlow: string; euiBorderWidthThin: string; euiBorderWidthThick: string; euiBorderColor: string; euiBorderRadius: string; euiBorderRadiusSmall: string; euiBorderThick: string; euiBorderThin: string; euiBorderEditable: string; euiButtonHeight: string; euiButtonHeightSmall: string; euiButtonHeightXSmall: string; euiButtonColorDisabled: string; euiButtonColorDisabledText: string; euiButtonColorGhostDisabled: string; euiButtonTypes: { primary: string; accent: string; secondary: string; success: string; warning: string; danger: string; subdued: string; ghost: string; text: string; }; euiColorGhost: string; euiColorInk: string; euiColorPrimary: string; euiColorSecondary: string; euiColorAccent: string; euiColorSuccess: string; euiColorWarning: string; euiColorDanger: string; euiColorEmptyShade: string; euiColorLightestShade: string; euiColorLightShade: string; euiColorMediumShade: string; euiColorDarkShade: string; euiColorDarkestShade: string; euiColorFullShade: string; euiPageBackgroundColor: string; euiColorHighlight: string; euiTextColor: string; euiTitleColor: string; euiTextSubduedColor: string; euiColorDisabled: string; euiColorPrimaryText: string; euiColorSecondaryText: string; euiColorAccentText: string; euiColorWarningText: string; euiColorDangerText: string; euiColorDisabledText: string; euiColorSuccessText: string; euiLinkColor: string; euiPaletteColorBlind: { euiColorVis0: { graphic: string; behindText: string; }; euiColorVis1: { graphic: string; behindText: string; }; euiColorVis2: { graphic: string; behindText: string; }; euiColorVis3: { graphic: string; behindText: string; }; euiColorVis4: { graphic: string; behindText: string; }; euiColorVis5: { graphic: string; behindText: string; }; euiColorVis6: { graphic: string; behindText: string; }; euiColorVis7: { graphic: string; behindText: string; }; euiColorVis8: { graphic: string; behindText: string; }; euiColorVis9: { graphic: string; behindText: string; }; }; euiPaletteColorBlindKeys: string; euiColorVis0: string; euiColorVis1: string; euiColorVis2: string; euiColorVis3: string; euiColorVis4: string; euiColorVis5: string; euiColorVis6: string; euiColorVis7: string; euiColorVis8: string; euiColorVis9: string; euiColorVis0_behindText: string; euiColorVis1_behindText: string; euiColorVis2_behindText: string; euiColorVis3_behindText: string; euiColorVis4_behindText: string; euiColorVis5_behindText: string; euiColorVis6_behindText: string; euiColorVis7_behindText: string; euiColorVis8_behindText: string; euiColorVis9_behindText: string; euiColorChartLines: string; euiColorChartBand: string; euiCodeBlockBackgroundColor: string; euiCodeBlockColor: string; euiCodeBlockSelectedBackgroundColor: string; euiCodeBlockCommentColor: string; euiCodeBlockSelectorTagColor: string; euiCodeBlockStringColor: string; euiCodeBlockTagColor: string; euiCodeBlockNameColor: string; euiCodeBlockNumberColor: string; euiCodeBlockKeywordColor: string; euiCodeBlockFunctionTitleColor: string; euiCodeBlockTypeColor: string; euiCodeBlockAttributeColor: string; euiCodeBlockSymbolColor: string; euiCodeBlockParamsColor: string; euiCodeBlockMetaColor: string; euiCodeBlockTitleColor: string; euiCodeBlockSectionColor: string; euiCodeBlockAdditionColor: string; euiCodeBlockDeletionColor: string; euiCodeBlockSelectorClassColor: string; euiCodeBlockSelectorIdColor: string; euiFormMaxWidth: string; euiFormControlHeight: string; euiFormControlCompressedHeight: string; euiFormControlPadding: string; euiFormControlCompressedPadding: string; euiFormControlBorderRadius: number; euiFormControlCompressedBorderRadius: string; euiRadioSize: string; euiCheckBoxSize: string; euiCheckboxBorderRadius: string; euiSwitchHeight: string; euiSwitchWidth: string; euiSwitchThumbSize: string; euiSwitchIconHeight: string; euiSwitchHeightCompressed: string; euiSwitchWidthCompressed: string; euiSwitchThumbSizeCompressed: string; euiSwitchHeightMini: string; euiSwitchWidthMini: string; euiSwitchThumbSizeMini: string; euiFormBackgroundColor: string; euiFormBackgroundDisabledColor: string; euiFormBackgroundReadOnlyColor: string; euiFormBorderOpaqueColor: string; euiFormBorderColor: string; euiFormBorderDisabledColor: string; euiFormCustomControlDisabledIconColor: string; euiFormCustomControlBorderColor: string; euiFormControlDisabledColor: string; euiFormControlBoxShadow: string; euiFormControlPlaceholderText: string; euiFormInputGroupLabelBackground: string; euiFormInputGroupBorder: string; euiSwitchOffColor: string; euiFormControlLayoutGroupInputHeight: string; euiFormControlLayoutGroupInputCompressedHeight: string; euiFormControlLayoutGroupInputCompressedBorderRadius: string; euiRangeTrackColor: string; euiRangeThumbRadius: string; euiRangeThumbHeight: string; euiRangeThumbWidth: string; euiRangeThumbBorderColor: string; euiRangeTrackWidth: string; euiRangeTrackHeight: string; euiRangeTrackBorderWidth: number; euiRangeTrackBorderColor: string; euiRangeTrackRadius: string; euiRangeDisabledOpacity: number; euiRangeHighlightHeight: string; euiHeaderBackgroundColor: string; euiHeaderDarkBackgroundColor: string; euiHeaderBorderColor: string; euiHeaderBreadcrumbColor: string; euiHeaderHeight: string; euiHeaderChildSize: string; euiHeaderHeightCompensation: string; euiPageDefaultMaxWidth: string; euiPageSidebarMinWidth: string; euiPanelPaddingModifiers: { paddingSmall: string; paddingMedium: string; paddingLarge: string; }; euiPanelBorderRadiusModifiers: { borderRadiusNone: number; borderRadiusMedium: string; }; euiPanelBackgroundColorModifiers: { transparent: string; plain: string; subdued: string; accent: string; primary: string; success: string; warning: string; danger: string; }; euiBreakpoints: { xs: number; s: string; m: string; l: string; xl: string; }; euiBreakpointKeys: string; euiShadowColor: string; euiShadowColorLarge: string; euiSize: string; euiSizeXS: string; euiSizeS: string; euiSizeM: string; euiSizeL: string; euiSizeXL: string; euiSizeXXL: string; euiButtonMinWidth: string; euiScrollBar: string; euiScrollBarCorner: string; euiScrollBarCornerThin: string; euiFocusRingColor: string; euiFocusRingAnimStartColor: string; euiFocusRingAnimStartSize: string; euiFocusRingAnimStartSizeLarge: string; euiFocusRingSizeLarge: string; euiFocusRingSize: string; euiFocusTransparency: number; euiFocusTransparencyPercent: string; euiFocusBackgroundColor: string; euiTooltipBackgroundColor: string; euiTooltipAnimations: { top: string; left: string; bottom: string; right: string; }; euiFontFamily: string; euiCodeFontFamily: string; euiFontFeatureSettings: string; euiTextScale: string; euiFontSize: string; euiFontSizeXS: string; euiFontSizeS: string; euiFontSizeM: string; euiFontSizeL: string; euiFontSizeXL: string; euiFontSizeXXL: string; euiLineHeight: number; euiBodyLineHeight: number; euiFontWeightLight: number; euiFontWeightRegular: number; euiFontWeightMedium: number; euiFontWeightSemiBold: number; euiFontWeightBold: number; euiCodeFontWeightRegular: number; euiCodeFontWeightBold: number; euiTitles: { xxxs: { 'font-size': string; 'line-height': string; 'font-weight': number; }; xxs: { 'font-size': string; 'line-height': string; 'font-weight': number; }; xs: { 'font-size': string; 'line-height': string; 'font-weight': number; 'letter-spacing': string; }; s: { 'font-size': string; 'line-height': string; 'font-weight': number; 'letter-spacing': string; }; m: { 'font-size': string; 'line-height': string; 'font-weight': number; 'letter-spacing': string; }; l: { 'font-size': string; 'line-height': string; 'font-weight': number; 'letter-spacing': string; }; }; euiZLevel0: number; euiZLevel1: number; euiZLevel2: number; euiZLevel3: number; euiZLevel4: number; euiZLevel5: number; euiZLevel6: number; euiZLevel7: number; euiZLevel8: number; euiZLevel9: number; euiZToastList: number; euiZModal: number; euiZMask: number; euiZNavigation: number; euiZContentMenu: number; euiZHeader: number; euiZFlyout: number; euiZMaskBelowHeader: number; euiZContent: number; }" + "{ paddingSizes: { xs: string; s: string; m: string; l: string; xl: string; }; avatarSizing: { s: { size: string; 'font-size': string; }; m: { size: string; 'font-size': string; }; l: { size: string; 'font-size': string; }; xl: { size: string; 'font-size': string; }; }; euiBadgeGroupGutterTypes: { gutterExtraSmall: string; gutterSmall: string; }; euiBreadcrumbSpacing: string; euiBreadcrumbTruncateWidth: string; euiButtonEmptyTypes: { primary: string; danger: string; disabled: string; ghost: string; text: string; success: string; warning: string; }; euiCallOutTypes: { primary: string; success: string; warning: string; danger: string; }; euiCardSpacing: string; euiCardBottomNodeHeight: string; euiCardSelectButtonBorders: { text: string; primary: string; success: string; danger: string; ghost: string; }; euiCardSelectButtonBackgrounds: { text: string; primary: string; success: string; danger: string; ghost: string; }; euiCardPaddingModifiers: { paddingNone: number; paddingSmall: string; paddingMedium: string; paddingLarge: string; }; euiCheckableCardPadding: string; euiCodeBlockPaddingModifiers: { paddingSmall: string; paddingMedium: string; paddingLarge: string; }; euiCollapsibleNavGroupLightBackgroundColor: string; euiCollapsibleNavGroupDarkBackgroundColor: string; euiCollapsibleNavGroupDarkHighContrastColor: string; euiColorPickerValueRange0: string; euiColorPickerValueRange1: string; euiColorPickerSaturationRange0: string; euiColorPickerSaturationRange1: string; euiColorPickerIndicatorSize: string; euiColorPickerWidth: string; euiColorPaletteDisplaySizes: { sizeExtraSmall: string; sizeSmall: string; sizeMedium: string; }; euiContextMenuWidth: string; euiControlBarBackground: string; euiControlBarText: string; euiControlBarBorderColor: string; euiControlBarInitialHeight: string; euiControlBarMaxHeight: string; euiControlBarHeights: { s: string; m: string; l: string; }; euiDataGridPrefix: string; euiDataGridStyles: string; euiZDataGrid: number; euiZHeaderBelowDataGrid: number; euiDataGridColumnResizerWidth: string; euiDataGridPopoverMaxHeight: string; euiDataGridCellPaddingS: string; euiDataGridCellPaddingM: string; euiDataGridCellPaddingL: string; euiDataGridVerticalBorder: string; euiSuperDatePickerWidth: string; euiSuperDatePickerButtonWidth: string; euiDragAndDropSpacing: { s: string; m: string; l: string; }; euiExpressionColors: { subdued: string; primary: string; success: string; secondary: string; warning: string; danger: string; accent: string; }; euiFacetGutterSizes: { gutterNone: number; gutterSmall: string; gutterMedium: string; gutterLarge: string; }; gutterTypes: { gutterExtraSmall: string; gutterSmall: string; gutterMedium: string; gutterLarge: string; gutterExtraLarge: string; }; fractions: { fourths: { percentage: string; count: number; }; thirds: { percentage: string; count: number; }; halves: { percentage: string; count: number; }; single: { percentage: string; count: number; }; }; flyoutSizes: { small: { min: string; width: string; max: string; }; medium: { min: string; width: string; max: string; }; large: { min: string; width: string; max: string; }; }; euiFlyoutBorder: string; euiFlyoutPaddingModifiers: { paddingNone: number; paddingSmall: string; paddingMedium: string; paddingLarge: string; }; euiFilePickerTallHeight: string; euiRangeLevelColors: { primary: string; success: string; warning: string; danger: string; }; textareaResizing: { vertical: string; horizontal: string; both: string; none: string; }; euiHeaderLinksGutterSizes: { gutterXS: string; gutterS: string; gutterM: string; gutterL: string; }; ruleMargins: { marginXSmall: string; marginSmall: string; marginMedium: string; marginLarge: string; marginXLarge: string; marginXXLarge: string; }; euiIconLoadingOpacity: number; euiIconColors: { accent: string; danger: string; ghost: string; primary: string; secondary: string; success: string; subdued: string; text: string; warning: string; inherit: string; }; euiIconSizes: { small: string; medium: string; large: string; xLarge: string; xxLarge: string; }; euiKeyPadMenuSize: string; euiKeyPadMenuMarginSize: string; euiLinkColors: { subdued: string; primary: string; secondary: string; success: string; accent: string; warning: string; danger: string; text: string; ghost: string; }; euiListGroupItemHoverBackground: string; euiListGroupItemHoverBackgroundGhost: string; euiListGroupGutterTypes: { gutterSmall: string; gutterMedium: string; }; euiListGroupItemColorTypes: { primary: string; text: string; subdued: string; ghost: string; }; euiListGroupItemSizeTypes: { xSmall: string; small: string; medium: string; large: string; }; euiGradientStartStop: string; euiGradientMiddle: string; euiMarkdownEditorMinHeight: string; euiPopoverArrowSize: string; euiPopoverTranslateDistance: string; euiProgressSizes: { xs: string; s: string; m: string; l: string; }; euiProgressColors: { primary: string; secondary: string; success: string; warning: string; danger: string; accent: string; subdued: string; vis0: string; vis1: string; vis2: string; vis3: string; vis4: string; vis5: string; vis6: string; vis7: string; vis8: string; vis9: string; customColor: string; }; euiResizableButtonTransitionSpeed: string; euiResizableButtonSize: string; euiSelectableListItemBorder: string; euiSelectableListItemPadding: string; euiSelectableTemplateSitewideTypes: { application: { color: string; 'font-weight': number; }; deployment: { color: string; 'font-weight': number; }; article: { color: string; 'font-weight': number; }; case: { color: string; 'font-weight': number; }; platform: { color: string; 'font-weight': number; }; }; euiSideNavEmphasizedBackgroundColor: string; euiSideNavRootTextcolor: string; euiSideNavBranchTextcolor: string; euiSideNavSelectedTextcolor: string; euiSideNavDisabledTextcolor: string; spacerSizes: { xs: string; s: string; m: string; l: string; xl: string; xxl: string; }; euiStepNumberSize: string; euiStepNumberSmallSize: string; euiStepNumberMargin: string; euiStepStatusColorsToFade: { warning: string; danger: string; disabled: string; incomplete: string; }; euiSuggestItemColors: { tint0: string; tint1: string; tint2: string; tint3: string; tint4: string; tint5: string; tint6: string; tint7: string; tint8: string; tint9: string; tint10: string; }; euiTableCellContentPadding: string; euiTableCellContentPaddingCompressed: string; euiTableCellCheckboxWidth: string; euiTableActionsAreaWidth: string; euiTableHoverColor: string; euiTableSelectedColor: string; euiTableHoverSelectedColor: string; euiTableActionsBorderColor: string; euiTableHoverClickableColor: string; euiTableFocusClickableColor: string; euiTabFontSize: string; euiTabFontSizeS: string; euiTabFontSizeL: string; euiTextColors: { default: string; subdued: string; secondary: string; success: string; accent: string; warning: string; danger: string; ghost: string; inherit: string; }; euiTextConstrainedMaxWidth: string; euiToastWidth: string; euiToastTypes: { primary: string; success: string; warning: string; danger: string; }; euiTokenGrayColor: string; euiTokenTypes: { euiColorVis0: { graphic: string; behindText: string; }; euiColorVis1: { graphic: string; behindText: string; }; euiColorVis2: { graphic: string; behindText: string; }; euiColorVis3: { graphic: string; behindText: string; }; euiColorVis4: { graphic: string; behindText: string; }; euiColorVis5: { graphic: string; behindText: string; }; euiColorVis6: { graphic: string; behindText: string; }; euiColorVis7: { graphic: string; behindText: string; }; euiColorVis8: { graphic: string; behindText: string; }; euiColorVis9: { graphic: string; behindText: string; }; gray: { graphic: string; behindText: string; }; }; euiTokenTypeKeys: string; euiContrastRatioText: number; euiContrastRatioGraphic: number; euiContrastRatioDisabled: number; euiDatePickerCalendarWidth: string; euiAnimSlightBounce: string; euiAnimSlightResistance: string; euiAnimSpeedExtraFast: string; euiAnimSpeedFast: string; euiAnimSpeedNormal: string; euiAnimSpeedSlow: string; euiAnimSpeedExtraSlow: string; euiBorderWidthThin: string; euiBorderWidthThick: string; euiBorderColor: string; euiBorderRadius: string; euiBorderRadiusSmall: string; euiBorderThick: string; euiBorderThin: string; euiBorderEditable: string; euiButtonHeight: string; euiButtonHeightSmall: string; euiButtonHeightXSmall: string; euiButtonColorDisabled: string; euiButtonColorDisabledText: string; euiButtonColorGhostDisabled: string; euiButtonTypes: { primary: string; accent: string; secondary: string; success: string; warning: string; danger: string; subdued: string; ghost: string; text: string; }; euiColorGhost: string; euiColorInk: string; euiColorPrimary: string; euiColorSecondary: string; euiColorAccent: string; euiColorSuccess: string; euiColorWarning: string; euiColorDanger: string; euiColorEmptyShade: string; euiColorLightestShade: string; euiColorLightShade: string; euiColorMediumShade: string; euiColorDarkShade: string; euiColorDarkestShade: string; euiColorFullShade: string; euiPageBackgroundColor: string; euiColorHighlight: string; euiTextColor: string; euiTitleColor: string; euiTextSubduedColor: string; euiColorDisabled: string; euiColorPrimaryText: string; euiColorSecondaryText: string; euiColorAccentText: string; euiColorWarningText: string; euiColorDangerText: string; euiColorDisabledText: string; euiColorSuccessText: string; euiLinkColor: string; euiPaletteColorBlind: { euiColorVis0: { graphic: string; behindText: string; }; euiColorVis1: { graphic: string; behindText: string; }; euiColorVis2: { graphic: string; behindText: string; }; euiColorVis3: { graphic: string; behindText: string; }; euiColorVis4: { graphic: string; behindText: string; }; euiColorVis5: { graphic: string; behindText: string; }; euiColorVis6: { graphic: string; behindText: string; }; euiColorVis7: { graphic: string; behindText: string; }; euiColorVis8: { graphic: string; behindText: string; }; euiColorVis9: { graphic: string; behindText: string; }; }; euiPaletteColorBlindKeys: string; euiColorVis0: string; euiColorVis1: string; euiColorVis2: string; euiColorVis3: string; euiColorVis4: string; euiColorVis5: string; euiColorVis6: string; euiColorVis7: string; euiColorVis8: string; euiColorVis9: string; euiColorVis0_behindText: string; euiColorVis1_behindText: string; euiColorVis2_behindText: string; euiColorVis3_behindText: string; euiColorVis4_behindText: string; euiColorVis5_behindText: string; euiColorVis6_behindText: string; euiColorVis7_behindText: string; euiColorVis8_behindText: string; euiColorVis9_behindText: string; euiColorChartLines: string; euiColorChartBand: string; euiCodeBlockBackgroundColor: string; euiCodeBlockColor: string; euiCodeBlockSelectedBackgroundColor: string; euiCodeBlockCommentColor: string; euiCodeBlockSelectorTagColor: string; euiCodeBlockStringColor: string; euiCodeBlockTagColor: string; euiCodeBlockNameColor: string; euiCodeBlockNumberColor: string; euiCodeBlockKeywordColor: string; euiCodeBlockFunctionTitleColor: string; euiCodeBlockTypeColor: string; euiCodeBlockAttributeColor: string; euiCodeBlockSymbolColor: string; euiCodeBlockParamsColor: string; euiCodeBlockMetaColor: string; euiCodeBlockTitleColor: string; euiCodeBlockSectionColor: string; euiCodeBlockAdditionColor: string; euiCodeBlockDeletionColor: string; euiCodeBlockSelectorClassColor: string; euiCodeBlockSelectorIdColor: string; euiFormMaxWidth: string; euiFormControlHeight: string; euiFormControlCompressedHeight: string; euiFormControlPadding: string; euiFormControlCompressedPadding: string; euiFormControlBorderRadius: number; euiFormControlCompressedBorderRadius: string; euiRadioSize: string; euiCheckBoxSize: string; euiCheckboxBorderRadius: string; euiSwitchHeight: string; euiSwitchWidth: string; euiSwitchThumbSize: string; euiSwitchIconHeight: string; euiSwitchHeightCompressed: string; euiSwitchWidthCompressed: string; euiSwitchThumbSizeCompressed: string; euiSwitchHeightMini: string; euiSwitchWidthMini: string; euiSwitchThumbSizeMini: string; euiFormBackgroundColor: string; euiFormBackgroundDisabledColor: string; euiFormBackgroundReadOnlyColor: string; euiFormBorderOpaqueColor: string; euiFormBorderColor: string; euiFormBorderDisabledColor: string; euiFormCustomControlDisabledIconColor: string; euiFormCustomControlBorderColor: string; euiFormControlDisabledColor: string; euiFormControlBoxShadow: string; euiFormControlPlaceholderText: string; euiFormInputGroupLabelBackground: string; euiFormInputGroupBorder: string; euiSwitchOffColor: string; euiFormControlLayoutGroupInputHeight: string; euiFormControlLayoutGroupInputCompressedHeight: string; euiFormControlLayoutGroupInputCompressedBorderRadius: string; euiRangeTrackColor: string; euiRangeThumbRadius: string; euiRangeThumbHeight: string; euiRangeThumbWidth: string; euiRangeThumbBorderColor: string; euiRangeTrackWidth: string; euiRangeTrackHeight: string; euiRangeTrackBorderWidth: number; euiRangeTrackBorderColor: string; euiRangeTrackRadius: string; euiRangeDisabledOpacity: number; euiRangeHighlightHeight: string; euiHeaderBackgroundColor: string; euiHeaderDarkBackgroundColor: string; euiHeaderBorderColor: string; euiHeaderBreadcrumbColor: string; euiHeaderHeight: string; euiHeaderChildSize: string; euiHeaderHeightCompensation: string; euiPageDefaultMaxWidth: string; euiPageSidebarMinWidth: string; euiPanelPaddingModifiers: { paddingSmall: string; paddingMedium: string; paddingLarge: string; }; euiPanelBorderRadiusModifiers: { borderRadiusNone: number; borderRadiusMedium: string; }; euiPanelBackgroundColorModifiers: { transparent: string; plain: string; subdued: string; accent: string; primary: string; success: string; warning: string; danger: string; }; euiBreakpoints: { xs: number; s: string; m: string; l: string; xl: string; }; euiBreakpointKeys: string; euiShadowColor: string; euiShadowColorLarge: string; euiSize: string; euiSizeXS: string; euiSizeS: string; euiSizeM: string; euiSizeL: string; euiSizeXL: string; euiSizeXXL: string; euiButtonMinWidth: string; euiScrollBar: string; euiScrollBarCorner: string; euiScrollBarCornerThin: string; euiFocusRingColor: string; euiFocusRingAnimStartColor: string; euiFocusRingAnimStartSize: string; euiFocusRingAnimStartSizeLarge: string; euiFocusRingSizeLarge: string; euiFocusRingSize: string; euiFocusTransparency: number; euiFocusTransparencyPercent: string; euiFocusBackgroundColor: string; euiTooltipBackgroundColor: string; euiTooltipAnimations: { top: string; left: string; bottom: string; right: string; }; euiFontFamily: string; euiCodeFontFamily: string; euiFontFeatureSettings: string; euiTextScale: string; euiFontSize: string; euiFontSizeXS: string; euiFontSizeS: string; euiFontSizeM: string; euiFontSizeL: string; euiFontSizeXL: string; euiFontSizeXXL: string; euiLineHeight: number; euiBodyLineHeight: number; euiFontWeightLight: number; euiFontWeightRegular: number; euiFontWeightMedium: number; euiFontWeightSemiBold: number; euiFontWeightBold: number; euiCodeFontWeightRegular: number; euiCodeFontWeightBold: number; euiTitles: { xxxs: { 'font-size': string; 'line-height': string; 'font-weight': number; }; xxs: { 'font-size': string; 'line-height': string; 'font-weight': number; }; xs: { 'font-size': string; 'line-height': string; 'font-weight': number; 'letter-spacing': string; }; s: { 'font-size': string; 'line-height': string; 'font-weight': number; 'letter-spacing': string; }; m: { 'font-size': string; 'line-height': string; 'font-weight': number; 'letter-spacing': string; }; l: { 'font-size': string; 'line-height': string; 'font-weight': number; 'letter-spacing': string; }; }; euiZLevel0: number; euiZLevel1: number; euiZLevel2: number; euiZLevel3: number; euiZLevel4: number; euiZLevel5: number; euiZLevel6: number; euiZLevel7: number; euiZLevel8: number; euiZLevel9: number; euiZToastList: number; euiZModal: number; euiZMask: number; euiZNavigation: number; euiZContentMenu: number; euiZHeader: number; euiZFlyout: number; euiZMaskBelowHeader: number; euiZContent: number; }" ], "path": "src/plugins/kibana_react/common/eui_styled_components.tsx", "deprecated": false diff --git a/api_docs/kibana_utils.json b/api_docs/kibana_utils.json index 7dbe642f7eb15..e5d4fef66b872 100644 --- a/api_docs/kibana_utils.json +++ b/api_docs/kibana_utils.json @@ -95,7 +95,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.data", + "id": "def-public.Defer.resolve.$1", "type": "Uncategorized", "tags": [], "label": "data", @@ -124,7 +124,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.error", + "id": "def-public.Defer.reject.$1", "type": "Any", "tags": [], "label": "error", @@ -814,7 +814,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-public.ResizeChecker.Unnamed.$2.args", + "id": "def-public.ResizeChecker.Unnamed.$2", "type": "Object", "tags": [], "label": "args", @@ -824,7 +824,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.ResizeChecker.Unnamed.$2.args.disabled", + "id": "def-public.ResizeChecker.Unnamed.$2.disabled", "type": "CompoundType", "tags": [], "label": "disabled", @@ -1464,7 +1464,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.o", + "id": "def-public.calculateObjectHash.$1", "type": "Uncategorized", "tags": [], "label": "o", @@ -1630,7 +1630,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.createKbnUrlStateStorage.$1.useHashfalsehistoryonGetErroronSetError", + "id": "def-public.createKbnUrlStateStorage.$1", "type": "Object", "tags": [], "label": "{\n useHash = false,\n history,\n onGetError,\n onSetError,\n }", @@ -1640,7 +1640,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.createKbnUrlStateStorage.$1.useHashfalsehistoryonGetErroronSetError.useHash", + "id": "def-public.createKbnUrlStateStorage.$1.useHash", "type": "boolean", "tags": [], "label": "useHash", @@ -1650,7 +1650,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-public.createKbnUrlStateStorage.$1.useHashfalsehistoryonGetErroronSetError.history", + "id": "def-public.createKbnUrlStateStorage.$1.history", "type": "Object", "tags": [], "label": "history", @@ -1664,7 +1664,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-public.createKbnUrlStateStorage.$1.useHashfalsehistoryonGetErroronSetError.onGetError", + "id": "def-public.createKbnUrlStateStorage.$1.onGetError", "type": "Function", "tags": [], "label": "onGetError", @@ -1677,7 +1677,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.createKbnUrlStateStorage.$1.useHashfalsehistoryonGetErroronSetError.onGetError.$1", + "id": "def-public.createKbnUrlStateStorage.$1.onGetError.$1", "type": "Object", "tags": [], "label": "error", @@ -1694,7 +1694,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-public.createKbnUrlStateStorage.$1.useHashfalsehistoryonGetErroronSetError.onSetError", + "id": "def-public.createKbnUrlStateStorage.$1.onSetError", "type": "Function", "tags": [], "label": "onSetError", @@ -1707,7 +1707,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.createKbnUrlStateStorage.$1.useHashfalsehistoryonGetErroronSetError.onSetError.$1", + "id": "def-public.createKbnUrlStateStorage.$1.onSetError.$1", "type": "Object", "tags": [], "label": "error", @@ -1772,7 +1772,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.createKbnUrlTracker.$1.baseUrldefaultSubUrlstorageKeystateParamsnavLinkUpdater$toastNotificationshistorygetHistorystorageshouldTrackUrlUpdatereturntrueonBeforeNavLinkSavednewNavLinknewNavLink", + "id": "def-public.createKbnUrlTracker.$1", "type": "Object", "tags": [], "label": "{\n baseUrl,\n defaultSubUrl,\n storageKey,\n stateParams,\n navLinkUpdater$,\n toastNotifications,\n history,\n getHistory,\n storage,\n shouldTrackUrlUpdate = () => {\n return true;\n },\n onBeforeNavLinkSaved = (newNavLink) => newNavLink,\n}", @@ -1782,7 +1782,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.createKbnUrlTracker.$1.baseUrldefaultSubUrlstorageKeystateParamsnavLinkUpdater$toastNotificationshistorygetHistorystorageshouldTrackUrlUpdatereturntrueonBeforeNavLinkSavednewNavLinknewNavLink.baseUrl", + "id": "def-public.createKbnUrlTracker.$1.baseUrl", "type": "string", "tags": [], "label": "baseUrl", @@ -1794,7 +1794,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-public.createKbnUrlTracker.$1.baseUrldefaultSubUrlstorageKeystateParamsnavLinkUpdater$toastNotificationshistorygetHistorystorageshouldTrackUrlUpdatereturntrueonBeforeNavLinkSavednewNavLinknewNavLink.defaultSubUrl", + "id": "def-public.createKbnUrlTracker.$1.defaultSubUrl", "type": "string", "tags": [], "label": "defaultSubUrl", @@ -1806,7 +1806,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-public.createKbnUrlTracker.$1.baseUrldefaultSubUrlstorageKeystateParamsnavLinkUpdater$toastNotificationshistorygetHistorystorageshouldTrackUrlUpdatereturntrueonBeforeNavLinkSavednewNavLinknewNavLink.stateParams", + "id": "def-public.createKbnUrlTracker.$1.stateParams", "type": "Array", "tags": [], "label": "stateParams", @@ -1823,7 +1823,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-public.createKbnUrlTracker.$1.baseUrldefaultSubUrlstorageKeystateParamsnavLinkUpdater$toastNotificationshistorygetHistorystorageshouldTrackUrlUpdatereturntrueonBeforeNavLinkSavednewNavLinknewNavLink.storageKey", + "id": "def-public.createKbnUrlTracker.$1.storageKey", "type": "string", "tags": [], "label": "storageKey", @@ -1835,7 +1835,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-public.createKbnUrlTracker.$1.baseUrldefaultSubUrlstorageKeystateParamsnavLinkUpdater$toastNotificationshistorygetHistorystorageshouldTrackUrlUpdatereturntrueonBeforeNavLinkSavednewNavLinknewNavLink.navLinkUpdater$", + "id": "def-public.createKbnUrlTracker.$1.navLinkUpdater$", "type": "Object", "tags": [], "label": "navLinkUpdater$", @@ -1859,7 +1859,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-public.createKbnUrlTracker.$1.baseUrldefaultSubUrlstorageKeystateParamsnavLinkUpdater$toastNotificationshistorygetHistorystorageshouldTrackUrlUpdatereturntrueonBeforeNavLinkSavednewNavLinknewNavLink.toastNotifications", + "id": "def-public.createKbnUrlTracker.$1.toastNotifications", "type": "Object", "tags": [], "label": "toastNotifications", @@ -2020,7 +2020,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-public.createKbnUrlTracker.$1.baseUrldefaultSubUrlstorageKeystateParamsnavLinkUpdater$toastNotificationshistorygetHistorystorageshouldTrackUrlUpdatereturntrueonBeforeNavLinkSavednewNavLinknewNavLink.history", + "id": "def-public.createKbnUrlTracker.$1.history", "type": "Object", "tags": [], "label": "history", @@ -2036,7 +2036,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-public.createKbnUrlTracker.$1.baseUrldefaultSubUrlstorageKeystateParamsnavLinkUpdater$toastNotificationshistorygetHistorystorageshouldTrackUrlUpdatereturntrueonBeforeNavLinkSavednewNavLinknewNavLink.getHistory", + "id": "def-public.createKbnUrlTracker.$1.getHistory", "type": "Function", "tags": [], "label": "getHistory", @@ -2055,7 +2055,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-public.createKbnUrlTracker.$1.baseUrldefaultSubUrlstorageKeystateParamsnavLinkUpdater$toastNotificationshistorygetHistorystorageshouldTrackUrlUpdatereturntrueonBeforeNavLinkSavednewNavLinknewNavLink.storage", + "id": "def-public.createKbnUrlTracker.$1.storage", "type": "Object", "tags": [], "label": "storage", @@ -2070,7 +2070,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-public.createKbnUrlTracker.$1.baseUrldefaultSubUrlstorageKeystateParamsnavLinkUpdater$toastNotificationshistorygetHistorystorageshouldTrackUrlUpdatereturntrueonBeforeNavLinkSavednewNavLinknewNavLink.shouldTrackUrlUpdate", + "id": "def-public.createKbnUrlTracker.$1.shouldTrackUrlUpdate", "type": "Function", "tags": [], "label": "shouldTrackUrlUpdate", @@ -2085,7 +2085,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.createKbnUrlTracker.$1.baseUrldefaultSubUrlstorageKeystateParamsnavLinkUpdater$toastNotificationshistorygetHistorystorageshouldTrackUrlUpdatereturntrueonBeforeNavLinkSavednewNavLinknewNavLink.shouldTrackUrlUpdate.$1", + "id": "def-public.createKbnUrlTracker.$1.shouldTrackUrlUpdate.$1", "type": "string", "tags": [], "label": "pathname", @@ -2104,7 +2104,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-public.createKbnUrlTracker.$1.baseUrldefaultSubUrlstorageKeystateParamsnavLinkUpdater$toastNotificationshistorygetHistorystorageshouldTrackUrlUpdatereturntrueonBeforeNavLinkSavednewNavLinknewNavLink.onBeforeNavLinkSaved", + "id": "def-public.createKbnUrlTracker.$1.onBeforeNavLinkSaved", "type": "Function", "tags": [], "label": "onBeforeNavLinkSaved", @@ -2119,7 +2119,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.createKbnUrlTracker.$1.baseUrldefaultSubUrlstorageKeystateParamsnavLinkUpdater$toastNotificationshistorygetHistorystorageshouldTrackUrlUpdatereturntrueonBeforeNavLinkSavednewNavLinknewNavLink.onBeforeNavLinkSaved.$1", + "id": "def-public.createKbnUrlTracker.$1.onBeforeNavLinkSaved.$1", "type": "string", "tags": [], "label": "newNavLink", @@ -2974,7 +2974,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-public.getStateFromKbnUrl.$3.getFromHashQuerytrue", + "id": "def-public.getStateFromKbnUrl.$3", "type": "Object", "tags": [], "label": "{ getFromHashQuery = true }", @@ -2984,7 +2984,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.getStateFromKbnUrl.$3.getFromHashQuerytrue.getFromHashQuery", + "id": "def-public.getStateFromKbnUrl.$3.getFromHashQuery", "type": "boolean", "tags": [], "label": "getFromHashQuery", @@ -3043,7 +3043,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-public.getStatesFromKbnUrl.$3.getFromHashQuerytrue", + "id": "def-public.getStatesFromKbnUrl.$3", "type": "Object", "tags": [], "label": "{ getFromHashQuery = true }", @@ -3053,7 +3053,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.getStatesFromKbnUrl.$3.getFromHashQuerytrue.getFromHashQuery", + "id": "def-public.getStatesFromKbnUrl.$3.getFromHashQuery", "type": "boolean", "tags": [], "label": "getFromHashQuery", @@ -3083,7 +3083,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.query", + "id": "def-public.hashQuery.$1", "type": "Object", "tags": [], "label": "query", @@ -3096,7 +3096,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-public.options", + "id": "def-public.hashQuery.$2", "type": "Object", "tags": [], "label": "options", @@ -3126,7 +3126,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.url", + "id": "def-public.hashUrl.$1", "type": "string", "tags": [], "label": "url", @@ -3293,7 +3293,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.redirectWhenMissing.$1.historynavigateToAppbasePathmappingtoastNotificationsonBeforeRedirect", + "id": "def-public.redirectWhenMissing.$1", "type": "Object", "tags": [], "label": "{\n history,\n navigateToApp,\n basePath,\n mapping,\n toastNotifications,\n onBeforeRedirect,\n}", @@ -3303,7 +3303,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.redirectWhenMissing.$1.historynavigateToAppbasePathmappingtoastNotificationsonBeforeRedirect.history", + "id": "def-public.redirectWhenMissing.$1.history", "type": "Object", "tags": [], "label": "history", @@ -3317,7 +3317,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-public.redirectWhenMissing.$1.historynavigateToAppbasePathmappingtoastNotificationsonBeforeRedirect.navigateToApp", + "id": "def-public.redirectWhenMissing.$1.navigateToApp", "type": "Function", "tags": [], "label": "navigateToApp", @@ -3339,7 +3339,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.appId", + "id": "def-public.redirectWhenMissing.$1.navigateToApp.$1", "type": "string", "tags": [], "label": "appId", @@ -3349,7 +3349,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-public.options", + "id": "def-public.redirectWhenMissing.$1.navigateToApp.$2", "type": "Object", "tags": [], "label": "options", @@ -3371,7 +3371,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-public.redirectWhenMissing.$1.historynavigateToAppbasePathmappingtoastNotificationsonBeforeRedirect.basePath", + "id": "def-public.redirectWhenMissing.$1.basePath", "type": "Object", "tags": [], "label": "basePath", @@ -3390,7 +3390,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-public.redirectWhenMissing.$1.historynavigateToAppbasePathmappingtoastNotificationsonBeforeRedirect.mapping", + "id": "def-public.redirectWhenMissing.$1.mapping", "type": "CompoundType", "tags": [], "label": "mapping", @@ -3405,7 +3405,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-public.redirectWhenMissing.$1.historynavigateToAppbasePathmappingtoastNotificationsonBeforeRedirect.toastNotifications", + "id": "def-public.redirectWhenMissing.$1.toastNotifications", "type": "Object", "tags": [], "label": "toastNotifications", @@ -3566,7 +3566,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-public.redirectWhenMissing.$1.historynavigateToAppbasePathmappingtoastNotificationsonBeforeRedirect.onBeforeRedirect", + "id": "def-public.redirectWhenMissing.$1.onBeforeRedirect", "type": "Function", "tags": [], "label": "onBeforeRedirect", @@ -3589,7 +3589,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.redirectWhenMissing.$1.historynavigateToAppbasePathmappingtoastNotificationsonBeforeRedirect.onBeforeRedirect.$1", + "id": "def-public.redirectWhenMissing.$1.onBeforeRedirect.$1", "type": "Object", "tags": [], "label": "error", @@ -3860,7 +3860,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-public.setStateToKbnUrl.$3.useHashfalsestoreInHashQuerytrue", + "id": "def-public.setStateToKbnUrl.$3", "type": "Object", "tags": [], "label": "{ useHash = false, storeInHashQuery = true }", @@ -3870,7 +3870,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.setStateToKbnUrl.$3.useHashfalsestoreInHashQuerytrue.useHash", + "id": "def-public.setStateToKbnUrl.$3.useHash", "type": "boolean", "tags": [], "label": "useHash", @@ -3880,7 +3880,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-public.setStateToKbnUrl.$3.useHashfalsestoreInHashQuerytrue.storeInHashQuery", + "id": "def-public.setStateToKbnUrl.$3.storeInHashQuery", "type": "CompoundType", "tags": [], "label": "storeInHashQuery", @@ -4053,7 +4053,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.query", + "id": "def-public.unhashQuery.$1", "type": "Object", "tags": [], "label": "query", @@ -4066,7 +4066,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-public.options", + "id": "def-public.unhashQuery.$2", "type": "Object", "tags": [], "label": "options", @@ -4096,7 +4096,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.url", + "id": "def-public.unhashUrl.$1", "type": "string", "tags": [], "label": "url", @@ -4749,7 +4749,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-public.IKbnUrlStateStorage.set.$3.opts", + "id": "def-public.IKbnUrlStateStorage.set.$3", "type": "Object", "tags": [], "label": "opts", @@ -4759,7 +4759,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.IKbnUrlStateStorage.set.$3.opts.replace", + "id": "def-public.IKbnUrlStateStorage.set.$3.replace", "type": "boolean", "tags": [], "label": "replace", @@ -5566,7 +5566,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.state", + "id": "def-public.ReduxLikeStateContainer.reducer.$1", "type": "Uncategorized", "tags": [], "label": "state", @@ -5579,7 +5579,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-public.action", + "id": "def-public.ReduxLikeStateContainer.reducer.$2", "type": "Object", "tags": [], "label": "action", @@ -6019,7 +6019,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.previous", + "id": "def-public.Comparator.$1", "type": "Uncategorized", "tags": [], "label": "previous", @@ -6032,7 +6032,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-public.current", + "id": "def-public.Comparator.$2", "type": "Uncategorized", "tags": [], "label": "current", @@ -6072,7 +6072,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.mapStateToProp", + "id": "def-public.Connect.$1", "type": "Function", "tags": [], "label": "mapStateToProp", @@ -6086,7 +6086,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.state", + "id": "def-public.Connect.$1.$1", "type": "Uncategorized", "tags": [], "label": "state", @@ -6120,7 +6120,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.action", + "id": "def-public.Dispatch.$1", "type": "Uncategorized", "tags": [], "label": "action", @@ -6158,7 +6158,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.state", + "id": "def-public.EnsurePureSelector.$1", "type": "Uncategorized", "tags": [], "label": "state", @@ -6190,7 +6190,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.state", + "id": "def-public.EnsurePureTransition.$1", "type": "Uncategorized", "tags": [], "label": "state", @@ -6238,7 +6238,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.state", + "id": "def-public.MapStateToProps.$1", "type": "Uncategorized", "tags": [], "label": "state", @@ -6290,7 +6290,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.store", + "id": "def-public.Middleware.$1", "type": "Object", "tags": [], "label": "store", @@ -6330,7 +6330,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.state", + "id": "def-public.PureSelector.$1", "type": "Uncategorized", "tags": [], "label": "state", @@ -6403,7 +6403,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.args", + "id": "def-public.PureSelectorToSelector.$1", "type": "Uncategorized", "tags": [], "label": "args", @@ -6437,7 +6437,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.state", + "id": "def-public.Reducer.$1", "type": "Uncategorized", "tags": [], "label": "state", @@ -6450,7 +6450,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-public.action", + "id": "def-public.Reducer.$2", "type": "Object", "tags": [], "label": "action", @@ -6481,7 +6481,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.args", + "id": "def-public.Selector.$1", "type": "Uncategorized", "tags": [], "label": "args", @@ -6511,7 +6511,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.value", + "id": "def-public.Set.$1", "type": "Uncategorized", "tags": [], "label": "value", @@ -6691,7 +6691,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.query", + "id": "def-public.url.encodeQuery.$1", "type": "Object", "tags": [], "label": "query", @@ -6705,7 +6705,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-public.encodeFunction", + "id": "def-public.url.encodeQuery.$2", "type": "Function", "tags": [], "label": "encodeFunction", @@ -6719,7 +6719,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.val", + "id": "def-public.url.encodeQuery.$2.$1", "type": "string", "tags": [], "label": "val", @@ -6729,7 +6729,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-public.pctEncodeSpaces", + "id": "def-public.url.encodeQuery.$2.$2", "type": "CompoundType", "tags": [], "label": "pctEncodeSpaces", @@ -6744,7 +6744,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-public.pctEncodeSpaces", + "id": "def-public.url.encodeQuery.$3", "type": "boolean", "tags": [], "label": "pctEncodeSpaces", @@ -6770,7 +6770,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.val", + "id": "def-public.url.encodeUriQuery.$1", "type": "string", "tags": [], "label": "val", @@ -6780,7 +6780,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-public.pctEncodeSpaces", + "id": "def-public.url.encodeUriQuery.$2", "type": "boolean", "tags": [], "label": "pctEncodeSpaces", @@ -6806,7 +6806,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-public.params", + "id": "def-public.url.addQueryParam.$1", "type": "string", "tags": [], "label": "params", @@ -6816,7 +6816,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-public.key", + "id": "def-public.url.addQueryParam.$2", "type": "string", "tags": [], "label": "key", @@ -6826,7 +6826,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-public.value", + "id": "def-public.url.addQueryParam.$3", "type": "string", "tags": [], "label": "value", @@ -7677,7 +7677,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-server.value", + "id": "def-server.Set.$1", "type": "Uncategorized", "tags": [], "label": "value", @@ -7723,7 +7723,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-server.query", + "id": "def-server.url.encodeQuery.$1", "type": "Object", "tags": [], "label": "query", @@ -7737,7 +7737,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-server.encodeFunction", + "id": "def-server.url.encodeQuery.$2", "type": "Function", "tags": [], "label": "encodeFunction", @@ -7751,7 +7751,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-server.val", + "id": "def-server.url.encodeQuery.$2.$1", "type": "string", "tags": [], "label": "val", @@ -7761,7 +7761,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-server.pctEncodeSpaces", + "id": "def-server.url.encodeQuery.$2.$2", "type": "CompoundType", "tags": [], "label": "pctEncodeSpaces", @@ -7776,7 +7776,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-server.pctEncodeSpaces", + "id": "def-server.url.encodeQuery.$3", "type": "boolean", "tags": [], "label": "pctEncodeSpaces", @@ -7802,7 +7802,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-server.val", + "id": "def-server.url.encodeUriQuery.$1", "type": "string", "tags": [], "label": "val", @@ -7812,7 +7812,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-server.pctEncodeSpaces", + "id": "def-server.url.encodeUriQuery.$2", "type": "boolean", "tags": [], "label": "pctEncodeSpaces", @@ -7838,7 +7838,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-server.params", + "id": "def-server.url.addQueryParam.$1", "type": "string", "tags": [], "label": "params", @@ -7848,7 +7848,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-server.key", + "id": "def-server.url.addQueryParam.$2", "type": "string", "tags": [], "label": "key", @@ -7858,7 +7858,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-server.value", + "id": "def-server.url.addQueryParam.$3", "type": "string", "tags": [], "label": "value", @@ -7971,7 +7971,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-common.data", + "id": "def-common.Defer.resolve.$1", "type": "Uncategorized", "tags": [], "label": "data", @@ -8000,7 +8000,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-common.error", + "id": "def-common.Defer.reject.$1", "type": "Any", "tags": [], "label": "error", @@ -8510,7 +8510,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-common.o", + "id": "def-common.calculateObjectHash.$1", "type": "Uncategorized", "tags": [], "label": "o", @@ -9022,7 +9022,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-common.glob", + "id": "def-common.makeRegEx.$1", "type": "string", "tags": [], "label": "glob", @@ -10117,7 +10117,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-common.state", + "id": "def-common.ReduxLikeStateContainer.reducer.$1", "type": "Uncategorized", "tags": [], "label": "state", @@ -10130,7 +10130,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-common.action", + "id": "def-common.ReduxLikeStateContainer.reducer.$2", "type": "Object", "tags": [], "label": "action", @@ -10556,7 +10556,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-common.previous", + "id": "def-common.Comparator.$1", "type": "Uncategorized", "tags": [], "label": "previous", @@ -10569,7 +10569,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-common.current", + "id": "def-common.Comparator.$2", "type": "Uncategorized", "tags": [], "label": "current", @@ -10609,7 +10609,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-common.mapStateToProp", + "id": "def-common.Connect.$1", "type": "Function", "tags": [], "label": "mapStateToProp", @@ -10623,7 +10623,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-common.state", + "id": "def-common.Connect.$1.$1", "type": "Uncategorized", "tags": [], "label": "state", @@ -10657,7 +10657,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-common.action", + "id": "def-common.Dispatch.$1", "type": "Uncategorized", "tags": [], "label": "action", @@ -10695,7 +10695,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-common.state", + "id": "def-common.EnsurePureSelector.$1", "type": "Uncategorized", "tags": [], "label": "state", @@ -10727,7 +10727,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-common.state", + "id": "def-common.EnsurePureTransition.$1", "type": "Uncategorized", "tags": [], "label": "state", @@ -10775,7 +10775,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-common.state", + "id": "def-common.MapStateToProps.$1", "type": "Uncategorized", "tags": [], "label": "state", @@ -10827,7 +10827,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-common.store", + "id": "def-common.Middleware.$1", "type": "Object", "tags": [], "label": "store", @@ -10859,7 +10859,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-common.state", + "id": "def-common.MigrateFunction.$1", "type": "Uncategorized", "tags": [], "label": "state", @@ -10946,7 +10946,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-common.state", + "id": "def-common.PersistableStateMigrateFn.$1", "type": "Object", "tags": [], "label": "state", @@ -10959,7 +10959,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-common.version", + "id": "def-common.PersistableStateMigrateFn.$2", "type": "string", "tags": [], "label": "version", @@ -10994,7 +10994,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-common.state", + "id": "def-common.PureSelector.$1", "type": "Uncategorized", "tags": [], "label": "state", @@ -11067,7 +11067,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-common.args", + "id": "def-common.PureSelectorToSelector.$1", "type": "Uncategorized", "tags": [], "label": "args", @@ -11101,7 +11101,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-common.state", + "id": "def-common.Reducer.$1", "type": "Uncategorized", "tags": [], "label": "state", @@ -11114,7 +11114,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-common.action", + "id": "def-common.Reducer.$2", "type": "Object", "tags": [], "label": "action", @@ -11145,7 +11145,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-common.args", + "id": "def-common.Selector.$1", "type": "Uncategorized", "tags": [], "label": "args", @@ -11175,7 +11175,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-common.value", + "id": "def-common.Set.$1", "type": "Uncategorized", "tags": [], "label": "value", @@ -11271,7 +11271,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-common.query", + "id": "def-common.url.encodeQuery.$1", "type": "Object", "tags": [], "label": "query", @@ -11285,7 +11285,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-common.encodeFunction", + "id": "def-common.url.encodeQuery.$2", "type": "Function", "tags": [], "label": "encodeFunction", @@ -11299,7 +11299,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-common.val", + "id": "def-common.url.encodeQuery.$2.$1", "type": "string", "tags": [], "label": "val", @@ -11309,7 +11309,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-common.pctEncodeSpaces", + "id": "def-common.url.encodeQuery.$2.$2", "type": "CompoundType", "tags": [], "label": "pctEncodeSpaces", @@ -11324,7 +11324,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-common.pctEncodeSpaces", + "id": "def-common.url.encodeQuery.$3", "type": "boolean", "tags": [], "label": "pctEncodeSpaces", @@ -11350,7 +11350,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-common.val", + "id": "def-common.url.encodeUriQuery.$1", "type": "string", "tags": [], "label": "val", @@ -11360,7 +11360,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-common.pctEncodeSpaces", + "id": "def-common.url.encodeUriQuery.$2", "type": "boolean", "tags": [], "label": "pctEncodeSpaces", @@ -11386,7 +11386,7 @@ "children": [ { "parentPluginId": "kibanaUtils", - "id": "def-common.params", + "id": "def-common.url.addQueryParam.$1", "type": "string", "tags": [], "label": "params", @@ -11396,7 +11396,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-common.key", + "id": "def-common.url.addQueryParam.$2", "type": "string", "tags": [], "label": "key", @@ -11406,7 +11406,7 @@ }, { "parentPluginId": "kibanaUtils", - "id": "def-common.value", + "id": "def-common.url.addQueryParam.$3", "type": "string", "tags": [], "label": "value", diff --git a/api_docs/lens.json b/api_docs/lens.json index 9d95f42c1cfcf..dce599589f905 100644 --- a/api_docs/lens.json +++ b/api_docs/lens.json @@ -332,7 +332,7 @@ "label": "operationType", "description": [], "signature": [ - "\"range\" | \"filters\" | \"count\" | \"max\" | \"min\" | \"date_histogram\" | \"sum\" | \"average\" | \"percentile\" | \"terms\" | \"median\" | \"cumulative_sum\" | \"moving_average\" | \"math\" | \"overall_sum\" | \"overall_min\" | \"overall_max\" | \"overall_average\" | \"counter_rate\" | \"differences\" | \"unique_count\" | \"last_value\" | \"formula\" | undefined" + "\"range\" | \"filters\" | \"max\" | \"min\" | \"count\" | \"date_histogram\" | \"sum\" | \"average\" | \"percentile\" | \"terms\" | \"median\" | \"cumulative_sum\" | \"moving_average\" | \"math\" | \"overall_sum\" | \"overall_min\" | \"overall_max\" | \"overall_average\" | \"counter_rate\" | \"differences\" | \"unique_count\" | \"last_value\" | \"formula\" | undefined" ], "path": "x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/column_types.ts", "deprecated": false @@ -686,7 +686,7 @@ }, { "parentPluginId": "lens", - "id": "def-public.LensPublicStart.navigateToPrefilledEditor.$2.options", + "id": "def-public.LensPublicStart.navigateToPrefilledEditor.$2", "type": "Object", "tags": [], "label": "options", @@ -696,7 +696,7 @@ "children": [ { "parentPluginId": "lens", - "id": "def-public.LensPublicStart.navigateToPrefilledEditor.$2.options.openInNewTab", + "id": "def-public.LensPublicStart.navigateToPrefilledEditor.$2.openInNewTab", "type": "CompoundType", "tags": [], "label": "openInNewTab", @@ -709,7 +709,7 @@ }, { "parentPluginId": "lens", - "id": "def-public.LensPublicStart.navigateToPrefilledEditor.$2.options.originatingApp", + "id": "def-public.LensPublicStart.navigateToPrefilledEditor.$2.originatingApp", "type": "string", "tags": [], "label": "originatingApp", @@ -722,7 +722,7 @@ }, { "parentPluginId": "lens", - "id": "def-public.LensPublicStart.navigateToPrefilledEditor.$2.options.originatingPath", + "id": "def-public.LensPublicStart.navigateToPrefilledEditor.$2.originatingPath", "type": "string", "tags": [], "label": "originatingPath", @@ -900,7 +900,7 @@ "label": "dataType", "description": [], "signature": [ - "\"string\" | \"number\" | \"boolean\" | \"date\" | \"ip\" | \"geo_point\" | \"geo_shape\" | \"histogram\" | \"document\"" + "\"string\" | \"number\" | \"boolean\" | \"date\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"histogram\" | \"document\"" ], "path": "x-pack/plugins/lens/public/types.ts", "deprecated": false @@ -1837,7 +1837,7 @@ "label": "DataType", "description": [], "signature": [ - "\"string\" | \"number\" | \"boolean\" | \"date\" | \"ip\" | \"geo_point\" | \"geo_shape\" | \"histogram\" | \"document\"" + "\"string\" | \"number\" | \"boolean\" | \"date\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"histogram\" | \"document\"" ], "path": "x-pack/plugins/lens/public/types.ts", "deprecated": false, @@ -2210,7 +2210,7 @@ "\nA union type of all available operation types. The operation type is a unique id of an operation.\nEach column is assigned to exactly one operation type." ], "signature": [ - "\"range\" | \"filters\" | \"count\" | \"max\" | \"min\" | \"date_histogram\" | \"sum\" | \"average\" | \"percentile\" | \"terms\" | \"median\" | \"cumulative_sum\" | \"moving_average\" | \"math\" | \"overall_sum\" | \"overall_min\" | \"overall_max\" | \"overall_average\" | \"counter_rate\" | \"differences\" | \"unique_count\" | \"last_value\" | \"formula\"" + "\"range\" | \"filters\" | \"max\" | \"min\" | \"count\" | \"date_histogram\" | \"sum\" | \"average\" | \"percentile\" | \"terms\" | \"median\" | \"cumulative_sum\" | \"moving_average\" | \"math\" | \"overall_sum\" | \"overall_min\" | \"overall_max\" | \"overall_average\" | \"counter_rate\" | \"differences\" | \"unique_count\" | \"last_value\" | \"formula\"" ], "path": "x-pack/plugins/lens/public/indexpattern_datasource/operations/definitions/index.ts", "deprecated": false, @@ -2819,7 +2819,7 @@ "label": "state", "description": [], "signature": [ - "{ datasourceMetaData: { filterableIndexPatterns: { id: string; title: string; }[]; }; datasourceStates: { indexpattern: { currentIndexPatternId: string; layers: Record; }>; }; }; visualization: VisualizationState; query: ", + "{ datasourceMetaData: { filterableIndexPatterns: { id: string; title: string; }[]; }; datasourceStates: { indexpattern: { currentIndexPatternId: string; layers: Record; }>; }; }; visualization: VisualizationState; query: ", "Query", "; filters: ", "Filter", @@ -2992,7 +2992,43 @@ "label": "expressions", "description": [], "signature": [ - "{ readonly getType: (name: string) => ", + "{ readonly inject: (state: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionAstExpression", + "text": "ExpressionAstExpression" + }, + ", references: ", + "SavedObjectReference", + "[]) => ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionAstExpression", + "text": "ExpressionAstExpression" + }, + "; readonly extract: (state: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionAstExpression", + "text": "ExpressionAstExpression" + }, + ") => { state: ", + { + "pluginId": "expressions", + "scope": "common", + "docId": "kibExpressionsPluginApi", + "section": "def-common.ExpressionAstExpression", + "text": "ExpressionAstExpression" + }, + "; references: ", + "SavedObjectReference", + "[]; }; readonly getType: (name: string) => ", { "pluginId": "expressions", "scope": "common", @@ -3238,11 +3274,11 @@ "section": "def-server.LensDocShapePost712", "text": "LensDocShapePost712" }, - ", \"title\" | \"expression\" | \"visualizationType\"> & { state: Pick<{ datasourceMetaData: { filterableIndexPatterns: { id: string; title: string; }[]; }; datasourceStates: { indexpattern: { currentIndexPatternId: string; layers: Record; }>; }; }; visualization: unknown; query: ", + ", \"title\" | \"expression\" | \"visualizationType\"> & { state: Pick<{ datasourceMetaData: { filterableIndexPatterns: { id: string; title: string; }[]; }; datasourceStates: { indexpattern: { currentIndexPatternId: string; layers: Record; }>; }; }; visualization: unknown; query: ", "Query", "; filters: ", "Filter", - "[]; }, \"filters\" | \"query\" | \"visualization\" | \"datasourceMetaData\"> & { datasourceStates: { indexpattern: Pick<{ currentIndexPatternId: string; layers: Record; }>; }, \"currentIndexPatternId\"> & { layers: Record; }, never> & { columns: Record; }>; }; }; }; }" + "[]; }, \"filters\" | \"query\" | \"visualization\" | \"datasourceMetaData\"> & { datasourceStates: { indexpattern: Pick<{ currentIndexPatternId: string; layers: Record; }>; }, \"currentIndexPatternId\"> & { layers: Record; }, never> & { columns: Record; }>; }; }; }; }" ], "path": "x-pack/plugins/lens/server/migrations/types.ts", "deprecated": false, @@ -3264,11 +3300,11 @@ "section": "def-server.LensDocShapePost712", "text": "LensDocShapePost712" }, - ", \"title\" | \"expression\" | \"visualizationType\"> & { state: Pick<{ datasourceMetaData: { filterableIndexPatterns: { id: string; title: string; }[]; }; datasourceStates: { indexpattern: { currentIndexPatternId: string; layers: Record; }>; }; }; visualization: unknown; query: ", + ", \"title\" | \"expression\" | \"visualizationType\"> & { state: Pick<{ datasourceMetaData: { filterableIndexPatterns: { id: string; title: string; }[]; }; datasourceStates: { indexpattern: { currentIndexPatternId: string; layers: Record; }>; }; }; visualization: unknown; query: ", "Query", "; filters: ", "Filter", - "[]; }, \"filters\" | \"query\" | \"visualization\" | \"datasourceMetaData\"> & { datasourceStates: { indexpattern: Pick<{ currentIndexPatternId: string; layers: Record; }>; }, \"currentIndexPatternId\"> & { layers: Record; }, never> & { columns: Record; }>; }; }; }; }" + "[]; }, \"filters\" | \"query\" | \"visualization\" | \"datasourceMetaData\"> & { datasourceStates: { indexpattern: Pick<{ currentIndexPatternId: string; layers: Record; }>; }, \"currentIndexPatternId\"> & { layers: Record; }, never> & { columns: Record; }>; }; }; }; }" ], "path": "x-pack/plugins/lens/server/migrations/types.ts", "deprecated": false, @@ -3282,7 +3318,7 @@ "label": "OperationTypePost712", "description": [], "signature": [ - "\"range\" | \"filters\" | \"count\" | \"max\" | \"min\" | \"date_histogram\" | \"sum\" | \"average\" | \"percentile\" | \"terms\" | \"median\" | \"cumulative_sum\" | \"moving_average\" | \"counter_rate\" | \"differences\" | \"unique_count\" | \"last_value\"" + "\"range\" | \"filters\" | \"max\" | \"min\" | \"count\" | \"date_histogram\" | \"sum\" | \"average\" | \"percentile\" | \"terms\" | \"median\" | \"cumulative_sum\" | \"moving_average\" | \"counter_rate\" | \"differences\" | \"unique_count\" | \"last_value\"" ], "path": "x-pack/plugins/lens/server/migrations/types.ts", "deprecated": false, @@ -3296,7 +3332,53 @@ "label": "OperationTypePre712", "description": [], "signature": [ - "\"range\" | \"filters\" | \"count\" | \"max\" | \"min\" | \"date_histogram\" | \"sum\" | \"percentile\" | \"terms\" | \"avg\" | \"median\" | \"cumulative_sum\" | \"derivative\" | \"moving_average\" | \"cardinality\" | \"counter_rate\" | \"last_value\"" + "\"range\" | \"filters\" | \"max\" | \"min\" | \"count\" | \"date_histogram\" | \"sum\" | \"percentile\" | \"terms\" | \"avg\" | \"median\" | \"cumulative_sum\" | \"derivative\" | \"moving_average\" | \"cardinality\" | \"counter_rate\" | \"last_value\"" + ], + "path": "x-pack/plugins/lens/server/migrations/types.ts", + "deprecated": false, + "initialIsOpen": false + }, + { + "parentPluginId": "lens", + "id": "def-server.VisState716", + "type": "Type", + "tags": [], + "label": "VisState716", + "description": [], + "signature": [ + "{ columns: { palette?: ", + { + "pluginId": "charts", + "scope": "common", + "docId": "kibChartsPluginApi", + "section": "def-common.PaletteOutput", + "text": "PaletteOutput" + }, + "<", + { + "pluginId": "lens", + "scope": "common", + "docId": "kibLensPluginApi", + "section": "def-common.CustomPaletteParams", + "text": "CustomPaletteParams" + }, + "> | undefined; colorMode?: \"none\" | \"text\" | \"cell\" | undefined; }[]; } | { palette?: ", + { + "pluginId": "charts", + "scope": "common", + "docId": "kibChartsPluginApi", + "section": "def-common.PaletteOutput", + "text": "PaletteOutput" + }, + "<", + { + "pluginId": "lens", + "scope": "common", + "docId": "kibLensPluginApi", + "section": "def-common.CustomPaletteParams", + "text": "CustomPaletteParams" + }, + "> | undefined; }" ], "path": "x-pack/plugins/lens/server/migrations/types.ts", "deprecated": false, @@ -4209,7 +4291,7 @@ "children": [ { "parentPluginId": "lens", - "id": "def-common.mapping", + "id": "def-common.FormatFactory.$1", "type": "Object", "tags": [], "label": "mapping", diff --git a/api_docs/lens.mdx b/api_docs/lens.mdx index 27987a349628c..308d91993a799 100644 --- a/api_docs/lens.mdx +++ b/api_docs/lens.mdx @@ -12,13 +12,13 @@ import lensObj from './lens.json'; Visualization editor allowing to quickly and easily configure compelling visualizations to use on dashboards and canvas workpads. Exposes components to embed visualizations and link into the Lens editor from within other apps in Kibana. -Contact [Kibana App](https://github.com/orgs/elastic/teams/kibana-app) for questions regarding this plugin. +Contact [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) for questions regarding this plugin. **Code health stats** | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 246 | 0 | 228 | 23 | +| 247 | 0 | 229 | 23 | ## Client diff --git a/api_docs/licensing.json b/api_docs/licensing.json index 7c115d73327bd..c363aea16420e 100644 --- a/api_docs/licensing.json +++ b/api_docs/licensing.json @@ -628,19 +628,7 @@ "initialIsOpen": false } ], - "enums": [ - { - "parentPluginId": "licensing", - "id": "def-public.LICENSE_TYPE", - "type": "Enum", - "tags": [], - "label": "LICENSE_TYPE", - "description": [], - "path": "x-pack/plugins/licensing/common/types.ts", - "deprecated": false, - "initialIsOpen": false - } - ], + "enums": [], "misc": [ { "parentPluginId": "licensing", @@ -2409,7 +2397,7 @@ "children": [ { "parentPluginId": "licensing", - "id": "def-server.license", + "id": "def-server.CheckLicense.$1", "type": "Object", "tags": [], "label": "license", diff --git a/api_docs/licensing.mdx b/api_docs/licensing.mdx index 681979516efd1..a09339c9cf17e 100644 --- a/api_docs/licensing.mdx +++ b/api_docs/licensing.mdx @@ -18,7 +18,7 @@ Contact [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) for que | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 118 | 0 | 43 | 8 | +| 117 | 0 | 42 | 8 | ## Client @@ -31,9 +31,6 @@ Contact [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) for que ### Interfaces -### Enums - - ### Consts, variables and types diff --git a/api_docs/lists.json b/api_docs/lists.json index 1659d6ee2a5b5..363f63da45ff3 100644 --- a/api_docs/lists.json +++ b/api_docs/lists.json @@ -410,7 +410,7 @@ "signature": [ "({ itemId, id, namespaceType, }: ", "GetExceptionListItemOptions", - ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"long\" | \"double\" | \"ip\" | \"geo_point\" | \"date_nanos\" | \"ip_range\" | \"date_range\" | \"geo_shape\" | \"text\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | null>" + ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | null>" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.ts", "deprecated": false, @@ -480,7 +480,7 @@ "signature": [ "({ comments, description, entries, itemId, meta, name, osTypes, tags, type, }: ", "CreateEndpointListItemOptions", - ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"long\" | \"double\" | \"ip\" | \"geo_point\" | \"date_nanos\" | \"ip_range\" | \"date_range\" | \"geo_shape\" | \"text\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }>" + ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }>" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.ts", "deprecated": false, @@ -514,7 +514,7 @@ "signature": [ "({ _version, comments, description, entries, id, itemId, meta, name, osTypes, tags, type, }: ", "UpdateEndpointListItemOptions", - ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"long\" | \"double\" | \"ip\" | \"geo_point\" | \"date_nanos\" | \"ip_range\" | \"date_range\" | \"geo_shape\" | \"text\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | null>" + ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | null>" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.ts", "deprecated": false, @@ -548,7 +548,7 @@ "signature": [ "({ itemId, id, }: ", "GetEndpointListItemOptions", - ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"long\" | \"double\" | \"ip\" | \"geo_point\" | \"date_nanos\" | \"ip_range\" | \"date_range\" | \"geo_shape\" | \"text\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | null>" + ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | null>" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.ts", "deprecated": false, @@ -682,7 +682,7 @@ "section": "def-server.CreateExceptionListItemOptions", "text": "CreateExceptionListItemOptions" }, - ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"long\" | \"double\" | \"ip\" | \"geo_point\" | \"date_nanos\" | \"ip_range\" | \"date_range\" | \"geo_shape\" | \"text\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }>" + ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }>" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.ts", "deprecated": false, @@ -726,7 +726,7 @@ "section": "def-server.UpdateExceptionListItemOptions", "text": "UpdateExceptionListItemOptions" }, - ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"long\" | \"double\" | \"ip\" | \"geo_point\" | \"date_nanos\" | \"ip_range\" | \"date_range\" | \"geo_shape\" | \"text\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | null>" + ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | null>" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.ts", "deprecated": false, @@ -764,7 +764,7 @@ "signature": [ "({ id, itemId, namespaceType, }: ", "DeleteExceptionListItemOptions", - ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"long\" | \"double\" | \"ip\" | \"geo_point\" | \"date_nanos\" | \"ip_range\" | \"date_range\" | \"geo_shape\" | \"text\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | null>" + ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | null>" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.ts", "deprecated": false, @@ -830,7 +830,7 @@ "signature": [ "({ id, itemId, }: ", "DeleteEndpointListItemOptions", - ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"long\" | \"double\" | \"ip\" | \"geo_point\" | \"date_nanos\" | \"ip_range\" | \"date_range\" | \"geo_shape\" | \"text\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | null>" + ") => Promise<{ _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; } | null>" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.ts", "deprecated": false, @@ -862,7 +862,7 @@ "signature": [ "({ listId, filter, perPage, page, sortField, sortOrder, namespaceType, }: ", "FindExceptionListItemOptions", - ") => Promise<{ data: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"long\" | \"double\" | \"ip\" | \"geo_point\" | \"date_nanos\" | \"ip_range\" | \"date_range\" | \"geo_shape\" | \"text\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }[]; page: number; per_page: number; total: number; } | null>" + ") => Promise<{ data: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }[]; page: number; per_page: number; total: number; } | null>" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.ts", "deprecated": false, @@ -894,7 +894,7 @@ "signature": [ "({ listId, filter, perPage, page, sortField, sortOrder, namespaceType, }: ", "FindExceptionListsItemOptions", - ") => Promise<{ data: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"long\" | \"double\" | \"ip\" | \"geo_point\" | \"date_nanos\" | \"ip_range\" | \"date_range\" | \"geo_shape\" | \"text\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }[]; page: number; per_page: number; total: number; } | null>" + ") => Promise<{ data: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }[]; page: number; per_page: number; total: number; } | null>" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.ts", "deprecated": false, @@ -926,7 +926,7 @@ "signature": [ "({ perPage, page, sortField, sortOrder, valueListId, }: ", "FindValueListExceptionListsItems", - ") => Promise<{ data: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"long\" | \"double\" | \"ip\" | \"geo_point\" | \"date_nanos\" | \"ip_range\" | \"date_range\" | \"geo_shape\" | \"text\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }[]; page: number; per_page: number; total: number; } | null>" + ") => Promise<{ data: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }[]; page: number; per_page: number; total: number; } | null>" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.ts", "deprecated": false, @@ -992,7 +992,7 @@ "signature": [ "({ filter, perPage, page, sortField, sortOrder, }: ", "FindEndpointListItemOptions", - ") => Promise<{ data: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"long\" | \"double\" | \"ip\" | \"geo_point\" | \"date_nanos\" | \"ip_range\" | \"date_range\" | \"geo_shape\" | \"text\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }[]; page: number; per_page: number; total: number; } | null>" + ") => Promise<{ data: { _version: string | undefined; comments: ({ comment: string; created_at: string; created_by: string; id: string; } & { updated_at?: string | undefined; updated_by?: string | undefined; })[]; created_at: string; created_by: string; description: string; entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]; id: string; item_id: string; list_id: string; meta: object | undefined; name: string; namespace_type: \"single\" | \"agnostic\"; os_types: (\"windows\" | \"linux\" | \"macos\")[]; tags: string[]; tie_breaker_id: string; type: \"simple\"; updated_at: string; updated_by: string; }[]; page: number; per_page: number; total: number; } | null>" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client.ts", "deprecated": false, @@ -1097,7 +1097,7 @@ "signature": [ "({ id }: ", "GetListOptions", - ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"long\" | \"double\" | \"ip\" | \"geo_point\" | \"date_nanos\" | \"ip_range\" | \"date_range\" | \"geo_shape\" | \"text\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; } | null>" + ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; } | null>" ], "path": "x-pack/plugins/lists/server/services/lists/list_client.ts", "deprecated": false, @@ -1129,7 +1129,7 @@ "signature": [ "({ id, deserializer, immutable, serializer, name, description, type, meta, version, }: ", "CreateListOptions", - ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"long\" | \"double\" | \"ip\" | \"geo_point\" | \"date_nanos\" | \"ip_range\" | \"date_range\" | \"geo_shape\" | \"text\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; }>" + ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; }>" ], "path": "x-pack/plugins/lists/server/services/lists/list_client.ts", "deprecated": false, @@ -1161,7 +1161,7 @@ "signature": [ "({ id, deserializer, serializer, name, description, immutable, type, meta, version, }: ", "CreateListIfItDoesNotExistOptions", - ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"long\" | \"double\" | \"ip\" | \"geo_point\" | \"date_nanos\" | \"ip_range\" | \"date_range\" | \"geo_shape\" | \"text\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; }>" + ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; }>" ], "path": "x-pack/plugins/lists/server/services/lists/list_client.ts", "deprecated": false, @@ -1493,7 +1493,7 @@ "signature": [ "({ id }: ", "DeleteListItemOptions", - ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; deserializer: string | undefined; id: string; list_id: string; meta: object | undefined; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"long\" | \"double\" | \"ip\" | \"geo_point\" | \"date_nanos\" | \"ip_range\" | \"date_range\" | \"geo_shape\" | \"text\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; value: string; } | null>" + ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; deserializer: string | undefined; id: string; list_id: string; meta: object | undefined; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; value: string; } | null>" ], "path": "x-pack/plugins/lists/server/services/lists/list_client.ts", "deprecated": false, @@ -1525,7 +1525,7 @@ "signature": [ "({ listId, value, type, }: ", "DeleteListItemByValueOptions", - ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; deserializer: string | undefined; id: string; list_id: string; meta: object | undefined; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"long\" | \"double\" | \"ip\" | \"geo_point\" | \"date_nanos\" | \"ip_range\" | \"date_range\" | \"geo_shape\" | \"text\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; value: string; }[]>" + ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; deserializer: string | undefined; id: string; list_id: string; meta: object | undefined; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; value: string; }[]>" ], "path": "x-pack/plugins/lists/server/services/lists/list_client.ts", "deprecated": false, @@ -1557,7 +1557,7 @@ "signature": [ "({ id }: ", "DeleteListOptions", - ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"long\" | \"double\" | \"ip\" | \"geo_point\" | \"date_nanos\" | \"ip_range\" | \"date_range\" | \"geo_shape\" | \"text\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; } | null>" + ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; } | null>" ], "path": "x-pack/plugins/lists/server/services/lists/list_client.ts", "deprecated": false, @@ -1621,7 +1621,7 @@ "signature": [ "({ deserializer, serializer, type, listId, stream, meta, version, }: ", "ImportListItemsToStreamOptions", - ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"long\" | \"double\" | \"ip\" | \"geo_point\" | \"date_nanos\" | \"ip_range\" | \"date_range\" | \"geo_shape\" | \"text\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; } | null>" + ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; } | null>" ], "path": "x-pack/plugins/lists/server/services/lists/list_client.ts", "deprecated": false, @@ -1653,7 +1653,7 @@ "signature": [ "({ listId, value, type, }: ", "GetListItemByValueOptions", - ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; deserializer: string | undefined; id: string; list_id: string; meta: object | undefined; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"long\" | \"double\" | \"ip\" | \"geo_point\" | \"date_nanos\" | \"ip_range\" | \"date_range\" | \"geo_shape\" | \"text\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; value: string; }[]>" + ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; deserializer: string | undefined; id: string; list_id: string; meta: object | undefined; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; value: string; }[]>" ], "path": "x-pack/plugins/lists/server/services/lists/list_client.ts", "deprecated": false, @@ -1685,7 +1685,7 @@ "signature": [ "({ id, deserializer, serializer, listId, value, type, meta, }: ", "CreateListItemOptions", - ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; deserializer: string | undefined; id: string; list_id: string; meta: object | undefined; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"long\" | \"double\" | \"ip\" | \"geo_point\" | \"date_nanos\" | \"ip_range\" | \"date_range\" | \"geo_shape\" | \"text\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; value: string; } | null>" + ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; deserializer: string | undefined; id: string; list_id: string; meta: object | undefined; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; value: string; } | null>" ], "path": "x-pack/plugins/lists/server/services/lists/list_client.ts", "deprecated": false, @@ -1717,7 +1717,7 @@ "signature": [ "({ _version, id, value, meta, }: ", "UpdateListItemOptions", - ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; deserializer: string | undefined; id: string; list_id: string; meta: object | undefined; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"long\" | \"double\" | \"ip\" | \"geo_point\" | \"date_nanos\" | \"ip_range\" | \"date_range\" | \"geo_shape\" | \"text\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; value: string; } | null>" + ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; deserializer: string | undefined; id: string; list_id: string; meta: object | undefined; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; value: string; } | null>" ], "path": "x-pack/plugins/lists/server/services/lists/list_client.ts", "deprecated": false, @@ -1749,7 +1749,7 @@ "signature": [ "({ _version, id, name, description, meta, version, }: ", "UpdateListOptions", - ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"long\" | \"double\" | \"ip\" | \"geo_point\" | \"date_nanos\" | \"ip_range\" | \"date_range\" | \"geo_shape\" | \"text\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; } | null>" + ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; } | null>" ], "path": "x-pack/plugins/lists/server/services/lists/list_client.ts", "deprecated": false, @@ -1781,7 +1781,7 @@ "signature": [ "({ id }: ", "GetListItemOptions", - ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; deserializer: string | undefined; id: string; list_id: string; meta: object | undefined; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"long\" | \"double\" | \"ip\" | \"geo_point\" | \"date_nanos\" | \"ip_range\" | \"date_range\" | \"geo_shape\" | \"text\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; value: string; } | null>" + ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; deserializer: string | undefined; id: string; list_id: string; meta: object | undefined; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; value: string; } | null>" ], "path": "x-pack/plugins/lists/server/services/lists/list_client.ts", "deprecated": false, @@ -1813,7 +1813,7 @@ "signature": [ "({ type, listId, value, }: ", "GetListItemsByValueOptions", - ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; deserializer: string | undefined; id: string; list_id: string; meta: object | undefined; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"long\" | \"double\" | \"ip\" | \"geo_point\" | \"date_nanos\" | \"ip_range\" | \"date_range\" | \"geo_shape\" | \"text\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; value: string; }[]>" + ") => Promise<{ _version: string | undefined; created_at: string; created_by: string; deserializer: string | undefined; id: string; list_id: string; meta: object | undefined; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; value: string; }[]>" ], "path": "x-pack/plugins/lists/server/services/lists/list_client.ts", "deprecated": false, @@ -1845,7 +1845,7 @@ "signature": [ "({ type, listId, value, }: ", "SearchListItemByValuesOptions", - ") => Promise<{ items: { _version: string | undefined; created_at: string; created_by: string; deserializer: string | undefined; id: string; list_id: string; meta: object | undefined; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"long\" | \"double\" | \"ip\" | \"geo_point\" | \"date_nanos\" | \"ip_range\" | \"date_range\" | \"geo_shape\" | \"text\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; value: string; }[]; value: unknown; }[]>" + ") => Promise<{ items: { _version: string | undefined; created_at: string; created_by: string; deserializer: string | undefined; id: string; list_id: string; meta: object | undefined; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; value: string; }[]; value: unknown; }[]>" ], "path": "x-pack/plugins/lists/server/services/lists/list_client.ts", "deprecated": false, @@ -1877,7 +1877,7 @@ "signature": [ "({ filter, currentIndexPosition, perPage, page, sortField, sortOrder, searchAfter, }: ", "FindListOptions", - ") => Promise<{ cursor: string; data: { _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"long\" | \"double\" | \"ip\" | \"geo_point\" | \"date_nanos\" | \"ip_range\" | \"date_range\" | \"geo_shape\" | \"text\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; }[]; page: number; per_page: number; total: number; }>" + ") => Promise<{ cursor: string; data: { _version: string | undefined; created_at: string; created_by: string; description: string; deserializer: string | undefined; id: string; immutable: boolean; meta: object | undefined; name: string; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; version: number; }[]; page: number; per_page: number; total: number; }>" ], "path": "x-pack/plugins/lists/server/services/lists/list_client.ts", "deprecated": false, @@ -1909,7 +1909,7 @@ "signature": [ "({ listId, filter, currentIndexPosition, perPage, page, sortField, sortOrder, searchAfter, }: ", "FindListItemOptions", - ") => Promise<{ cursor: string; data: { _version: string | undefined; created_at: string; created_by: string; deserializer: string | undefined; id: string; list_id: string; meta: object | undefined; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"long\" | \"double\" | \"ip\" | \"geo_point\" | \"date_nanos\" | \"ip_range\" | \"date_range\" | \"geo_shape\" | \"text\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; value: string; }[]; page: number; per_page: number; total: number; } | null>" + ") => Promise<{ cursor: string; data: { _version: string | undefined; created_at: string; created_by: string; deserializer: string | undefined; id: string; list_id: string; meta: object | undefined; serializer: string | undefined; tie_breaker_id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; updated_at: string; updated_by: string; value: string; }[]; page: number; per_page: number; total: number; } | null>" ], "path": "x-pack/plugins/lists/server/services/lists/list_client.ts", "deprecated": false, @@ -1968,7 +1968,7 @@ "label": "entries", "description": [], "signature": [ - "({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"long\" | \"double\" | \"ip\" | \"geo_point\" | \"date_nanos\" | \"ip_range\" | \"date_range\" | \"geo_shape\" | \"text\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]" + "({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client_types.ts", "deprecated": false @@ -2122,7 +2122,7 @@ "children": [ { "parentPluginId": "lists", - "id": "def-server.savedObjectsClient", + "id": "def-server.ListPluginSetup.getExceptionListClient.$1", "type": "Object", "tags": [], "label": "savedObjectsClient", @@ -2435,7 +2435,7 @@ }, { "parentPluginId": "lists", - "id": "def-server.user", + "id": "def-server.ListPluginSetup.getExceptionListClient.$2", "type": "string", "tags": [], "label": "user", @@ -2476,7 +2476,7 @@ "children": [ { "parentPluginId": "lists", - "id": "def-server.esClient", + "id": "def-server.ListPluginSetup.getListClient.$1", "type": "CompoundType", "tags": [], "label": "esClient", @@ -2484,7 +2484,7 @@ "signature": [ "Pick<", "KibanaClient", - ", \"get\" | \"delete\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"count\" | \"search\" | \"security\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"monitoring\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\"> & { transport: { request(params: ", + ", \"get\" | \"delete\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"security\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"monitoring\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\"> & { transport: { request(params: ", "TransportRequestParams", ", options?: ", "TransportRequestOptions", @@ -2499,7 +2499,7 @@ }, { "parentPluginId": "lists", - "id": "def-server.spaceId", + "id": "def-server.ListPluginSetup.getListClient.$2", "type": "string", "tags": [], "label": "spaceId", @@ -2509,7 +2509,7 @@ }, { "parentPluginId": "lists", - "id": "def-server.user", + "id": "def-server.ListPluginSetup.getListClient.$3", "type": "string", "tags": [], "label": "user", @@ -2623,7 +2623,7 @@ "label": "entries", "description": [], "signature": [ - "({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"long\" | \"double\" | \"ip\" | \"geo_point\" | \"date_nanos\" | \"ip_range\" | \"date_range\" | \"geo_shape\" | \"text\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]" + "({ field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; } | { field: string; list: { id: string; type: \"boolean\" | \"date\" | \"keyword\" | \"ip_range\" | \"date_range\" | \"geo_point\" | \"geo_shape\" | \"ip\" | \"long\" | \"double\" | \"text\" | \"date_nanos\" | \"shape\" | \"short\" | \"binary\" | \"float\" | \"half_float\" | \"integer\" | \"byte\" | \"long_range\" | \"integer_range\" | \"float_range\" | \"double_range\"; }; operator: \"excluded\" | \"included\"; type: \"list\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { entries: ({ field: string; operator: \"excluded\" | \"included\"; type: \"exists\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match\"; value: string; } | { field: string; operator: \"excluded\" | \"included\"; type: \"match_any\"; value: string[]; })[]; field: string; type: \"nested\"; } | { field: string; operator: \"excluded\" | \"included\"; type: \"wildcard\"; value: string; })[]" ], "path": "x-pack/plugins/lists/server/services/exception_lists/exception_list_client_types.ts", "deprecated": false diff --git a/api_docs/management.json b/api_docs/management.json index 5ec2da0cdf204..4084cd41bbeb1 100644 --- a/api_docs/management.json +++ b/api_docs/management.json @@ -51,7 +51,7 @@ "children": [ { "parentPluginId": "management", - "id": "def-public.params", + "id": "def-public.ManagementApp.mount.$1", "type": "Object", "tags": [], "label": "params", @@ -590,7 +590,7 @@ "children": [ { "parentPluginId": "management", - "id": "def-public.params", + "id": "def-public.RegisterManagementAppArgs.mount.$1", "type": "Object", "tags": [], "label": "params", diff --git a/api_docs/management.mdx b/api_docs/management.mdx index 36cc53caa1b74..75442078212e5 100644 --- a/api_docs/management.mdx +++ b/api_docs/management.mdx @@ -12,7 +12,7 @@ import managementObj from './management.json'; -Contact [Kibana App](https://github.com/orgs/elastic/teams/kibana-app) for questions regarding this plugin. +Contact [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) for questions regarding this plugin. **Code health stats** diff --git a/api_docs/maps.json b/api_docs/maps.json index 7a4ba52cc803b..86cc9f7f36195 100644 --- a/api_docs/maps.json +++ b/api_docs/maps.json @@ -482,7 +482,7 @@ "children": [ { "parentPluginId": "maps", - "id": "def-public.MapEmbeddable._dispatchSetQuery.$1.forceRefresh", + "id": "def-public.MapEmbeddable._dispatchSetQuery.$1", "type": "Object", "tags": [], "label": "{ forceRefresh }", @@ -492,7 +492,7 @@ "children": [ { "parentPluginId": "maps", - "id": "def-public.MapEmbeddable._dispatchSetQuery.$1.forceRefresh.forceRefresh", + "id": "def-public.MapEmbeddable._dispatchSetQuery.$1.forceRefresh", "type": "boolean", "tags": [], "label": "forceRefresh", @@ -1036,7 +1036,7 @@ "children": [ { "parentPluginId": "maps", - "id": "def-public.RenderTooltipContentParams.loadFeatureProperties.$1.layerIdfeatureIdmbProperties", + "id": "def-public.RenderTooltipContentParams.loadFeatureProperties.$1", "type": "Object", "tags": [], "label": "{\n layerId,\n featureId,\n mbProperties,\n }", @@ -1046,7 +1046,7 @@ "children": [ { "parentPluginId": "maps", - "id": "def-public.RenderTooltipContentParams.loadFeatureProperties.$1.layerIdfeatureIdmbProperties.layerId", + "id": "def-public.RenderTooltipContentParams.loadFeatureProperties.$1.layerId", "type": "string", "tags": [], "label": "layerId", @@ -1056,7 +1056,7 @@ }, { "parentPluginId": "maps", - "id": "def-public.RenderTooltipContentParams.loadFeatureProperties.$1.layerIdfeatureIdmbProperties.featureId", + "id": "def-public.RenderTooltipContentParams.loadFeatureProperties.$1.featureId", "type": "CompoundType", "tags": [], "label": "featureId", @@ -1069,7 +1069,7 @@ }, { "parentPluginId": "maps", - "id": "def-public.RenderTooltipContentParams.loadFeatureProperties.$1.layerIdfeatureIdmbProperties.mbProperties", + "id": "def-public.RenderTooltipContentParams.loadFeatureProperties.$1.mbProperties", "type": "CompoundType", "tags": [], "label": "mbProperties", @@ -1100,7 +1100,7 @@ "children": [ { "parentPluginId": "maps", - "id": "def-public.RenderTooltipContentParams.loadFeatureGeometry.$1.layerIdfeatureId", + "id": "def-public.RenderTooltipContentParams.loadFeatureGeometry.$1", "type": "Object", "tags": [], "label": "{\n layerId,\n featureId,\n }", @@ -1110,7 +1110,7 @@ "children": [ { "parentPluginId": "maps", - "id": "def-public.RenderTooltipContentParams.loadFeatureGeometry.$1.layerIdfeatureId.layerId", + "id": "def-public.RenderTooltipContentParams.loadFeatureGeometry.$1.layerId", "type": "string", "tags": [], "label": "layerId", @@ -1120,7 +1120,7 @@ }, { "parentPluginId": "maps", - "id": "def-public.RenderTooltipContentParams.loadFeatureGeometry.$1.layerIdfeatureId.featureId", + "id": "def-public.RenderTooltipContentParams.loadFeatureGeometry.$1.featureId", "type": "CompoundType", "tags": [], "label": "featureId", @@ -2567,7 +2567,7 @@ "children": [ { "parentPluginId": "maps", - "id": "def-common.value", + "id": "def-common.FieldFormatter.$1", "type": "CompoundType", "tags": [], "label": "value", diff --git a/api_docs/maps_ems.json b/api_docs/maps_ems.json index aa5ed81bdd130..264b19d2b26d6 100644 --- a/api_docs/maps_ems.json +++ b/api_docs/maps_ems.json @@ -347,7 +347,7 @@ "children": [ { "parentPluginId": "mapsEms", - "id": "def-public.IServiceSettings.setQueryParams.$1.params", + "id": "def-public.IServiceSettings.setQueryParams.$1", "type": "Object", "tags": [], "label": "params", @@ -357,7 +357,7 @@ "children": [ { "parentPluginId": "mapsEms", - "id": "def-public.IServiceSettings.setQueryParams.$1.params.Unnamed", + "id": "def-public.IServiceSettings.setQueryParams.$1.Unnamed", "type": "Any", "tags": [], "label": "Unnamed", @@ -662,20 +662,6 @@ "deprecated": false, "initialIsOpen": false }, - { - "parentPluginId": "mapsEms", - "id": "def-public.LayerConfig", - "type": "Type", - "tags": [], - "label": "LayerConfig", - "description": [], - "signature": [ - "{ readonly name: string; readonly fields: Readonly<{} & { description: string; name: string; }>[]; readonly meta: Readonly<{} & { feature_collection_path: string; }>; readonly format: Readonly<{} & { type: string; }>; readonly url: string; readonly attribution: string; }" - ], - "path": "src/plugins/maps_ems/config.ts", - "deprecated": false, - "initialIsOpen": false - }, { "parentPluginId": "mapsEms", "id": "def-public.MapsEmsConfig", @@ -684,7 +670,7 @@ "label": "MapsEmsConfig", "description": [], "signature": [ - "{ readonly includeElasticMapsService: boolean; readonly proxyElasticMapsServiceInMaps: boolean; readonly regionmap: Readonly<{} & { layers: Readonly<{} & { name: string; fields: Readonly<{} & { description: string; name: string; }>[]; meta: Readonly<{} & { feature_collection_path: string; }>; format: Readonly<{} & { type: string; }>; url: string; attribution: string; }>[]; includeElasticMapsService: boolean; }>; readonly tilemap: Readonly<{ url?: string | undefined; } & { options: Readonly<{ default?: boolean | undefined; tileSize?: number | undefined; subdomains?: string[] | undefined; errorTileUrl?: string | undefined; tms?: boolean | undefined; reuseTiles?: boolean | undefined; bounds?: number[] | undefined; } & { attribution: string; minZoom: number; maxZoom: number; }>; }>; readonly manifestServiceUrl: string; readonly emsUrl: string; readonly emsFileApiUrl: string; readonly emsTileApiUrl: string; readonly emsLandingPageUrl: string; readonly emsFontLibraryUrl: string; readonly emsTileLayerId: Readonly<{} & { bright: string; desaturated: string; dark: string; }>; }" + "{ readonly proxyElasticMapsServiceInMaps: boolean; readonly tilemap: Readonly<{ url?: string | undefined; } & { options: Readonly<{ default?: boolean | undefined; tileSize?: number | undefined; subdomains?: string[] | undefined; errorTileUrl?: string | undefined; tms?: boolean | undefined; reuseTiles?: boolean | undefined; bounds?: number[] | undefined; } & { attribution: string; minZoom: number; maxZoom: number; }>; }>; readonly includeElasticMapsService: boolean; readonly manifestServiceUrl: string; readonly emsUrl: string; readonly emsFileApiUrl: string; readonly emsTileApiUrl: string; readonly emsLandingPageUrl: string; readonly emsFontLibraryUrl: string; readonly emsTileLayerId: Readonly<{} & { bright: string; desaturated: string; dark: string; }>; }" ], "path": "src/plugins/maps_ems/config.ts", "deprecated": false, @@ -758,7 +744,7 @@ "label": "config", "description": [], "signature": [ - "{ readonly includeElasticMapsService: boolean; readonly proxyElasticMapsServiceInMaps: boolean; readonly regionmap: Readonly<{} & { layers: Readonly<{} & { name: string; fields: Readonly<{} & { description: string; name: string; }>[]; meta: Readonly<{} & { feature_collection_path: string; }>; format: Readonly<{} & { type: string; }>; url: string; attribution: string; }>[]; includeElasticMapsService: boolean; }>; readonly tilemap: Readonly<{ url?: string | undefined; } & { options: Readonly<{ default?: boolean | undefined; tileSize?: number | undefined; subdomains?: string[] | undefined; errorTileUrl?: string | undefined; tms?: boolean | undefined; reuseTiles?: boolean | undefined; bounds?: number[] | undefined; } & { attribution: string; minZoom: number; maxZoom: number; }>; }>; readonly manifestServiceUrl: string; readonly emsUrl: string; readonly emsFileApiUrl: string; readonly emsTileApiUrl: string; readonly emsLandingPageUrl: string; readonly emsFontLibraryUrl: string; readonly emsTileLayerId: Readonly<{} & { bright: string; desaturated: string; dark: string; }>; }" + "{ readonly proxyElasticMapsServiceInMaps: boolean; readonly tilemap: Readonly<{ url?: string | undefined; } & { options: Readonly<{ default?: boolean | undefined; tileSize?: number | undefined; subdomains?: string[] | undefined; errorTileUrl?: string | undefined; tms?: boolean | undefined; reuseTiles?: boolean | undefined; bounds?: number[] | undefined; } & { attribution: string; minZoom: number; maxZoom: number; }>; }>; readonly includeElasticMapsService: boolean; readonly manifestServiceUrl: string; readonly emsUrl: string; readonly emsFileApiUrl: string; readonly emsTileApiUrl: string; readonly emsLandingPageUrl: string; readonly emsFontLibraryUrl: string; readonly emsTileLayerId: Readonly<{} & { bright: string; desaturated: string; dark: string; }>; }" ], "path": "src/plugins/maps_ems/public/index.ts", "deprecated": false @@ -859,7 +845,7 @@ "section": "def-server.PluginInitializerContext", "text": "PluginInitializerContext" }, - "[]; meta: Readonly<{} & { feature_collection_path: string; }>; format: Readonly<{} & { type: string; }>; url: string; attribution: string; }>[]; includeElasticMapsService: boolean; }>; tilemap: Readonly<{ url?: string | undefined; } & { options: Readonly<{ default?: boolean | undefined; tileSize?: number | undefined; subdomains?: string[] | undefined; errorTileUrl?: string | undefined; tms?: boolean | undefined; reuseTiles?: boolean | undefined; bounds?: number[] | undefined; } & { attribution: string; minZoom: number; maxZoom: number; }>; }>; manifestServiceUrl: string; emsUrl: string; emsFileApiUrl: string; emsTileApiUrl: string; emsLandingPageUrl: string; emsFontLibraryUrl: string; emsTileLayerId: Readonly<{} & { bright: string; desaturated: string; dark: string; }>; }>>" + "; }>; includeElasticMapsService: boolean; manifestServiceUrl: string; emsUrl: string; emsFileApiUrl: string; emsTileApiUrl: string; emsLandingPageUrl: string; emsFontLibraryUrl: string; emsTileLayerId: Readonly<{} & { bright: string; desaturated: string; dark: string; }>; }>>" ], "path": "src/plugins/maps_ems/server/index.ts", "deprecated": false @@ -892,7 +878,7 @@ "section": "def-server.PluginInitializerContext", "text": "PluginInitializerContext" }, - "[]; meta: Readonly<{} & { feature_collection_path: string; }>; format: Readonly<{} & { type: string; }>; url: string; attribution: string; }>[]; includeElasticMapsService: boolean; }>; tilemap: Readonly<{ url?: string | undefined; } & { options: Readonly<{ default?: boolean | undefined; tileSize?: number | undefined; subdomains?: string[] | undefined; errorTileUrl?: string | undefined; tms?: boolean | undefined; reuseTiles?: boolean | undefined; bounds?: number[] | undefined; } & { attribution: string; minZoom: number; maxZoom: number; }>; }>; manifestServiceUrl: string; emsUrl: string; emsFileApiUrl: string; emsTileApiUrl: string; emsLandingPageUrl: string; emsFontLibraryUrl: string; emsTileLayerId: Readonly<{} & { bright: string; desaturated: string; dark: string; }>; }>>" + "; }>; includeElasticMapsService: boolean; manifestServiceUrl: string; emsUrl: string; emsFileApiUrl: string; emsTileApiUrl: string; emsLandingPageUrl: string; emsFontLibraryUrl: string; emsTileLayerId: Readonly<{} & { bright: string; desaturated: string; dark: string; }>; }>>" ], "path": "src/plugins/maps_ems/server/index.ts", "deprecated": false, @@ -917,7 +903,7 @@ "section": "def-server.CoreSetup", "text": "CoreSetup" }, - ") => { config: Readonly<{} & { includeElasticMapsService: boolean; proxyElasticMapsServiceInMaps: boolean; regionmap: Readonly<{} & { layers: Readonly<{} & { name: string; fields: Readonly<{} & { description: string; name: string; }>[]; meta: Readonly<{} & { feature_collection_path: string; }>; format: Readonly<{} & { type: string; }>; url: string; attribution: string; }>[]; includeElasticMapsService: boolean; }>; tilemap: Readonly<{ url?: string | undefined; } & { options: Readonly<{ default?: boolean | undefined; tileSize?: number | undefined; subdomains?: string[] | undefined; errorTileUrl?: string | undefined; tms?: boolean | undefined; reuseTiles?: boolean | undefined; bounds?: number[] | undefined; } & { attribution: string; minZoom: number; maxZoom: number; }>; }>; manifestServiceUrl: string; emsUrl: string; emsFileApiUrl: string; emsTileApiUrl: string; emsLandingPageUrl: string; emsFontLibraryUrl: string; emsTileLayerId: Readonly<{} & { bright: string; desaturated: string; dark: string; }>; }>; }" + ") => { config: Readonly<{} & { proxyElasticMapsServiceInMaps: boolean; tilemap: Readonly<{ url?: string | undefined; } & { options: Readonly<{ default?: boolean | undefined; tileSize?: number | undefined; subdomains?: string[] | undefined; errorTileUrl?: string | undefined; tms?: boolean | undefined; reuseTiles?: boolean | undefined; bounds?: number[] | undefined; } & { attribution: string; minZoom: number; maxZoom: number; }>; }>; includeElasticMapsService: boolean; manifestServiceUrl: string; emsUrl: string; emsFileApiUrl: string; emsTileApiUrl: string; emsLandingPageUrl: string; emsFontLibraryUrl: string; emsTileLayerId: Readonly<{} & { bright: string; desaturated: string; dark: string; }>; }>; }" ], "path": "src/plugins/maps_ems/server/index.ts", "deprecated": false, @@ -985,7 +971,7 @@ "label": "config", "description": [], "signature": [ - "{ readonly includeElasticMapsService: boolean; readonly proxyElasticMapsServiceInMaps: boolean; readonly regionmap: Readonly<{} & { layers: Readonly<{} & { name: string; fields: Readonly<{} & { description: string; name: string; }>[]; meta: Readonly<{} & { feature_collection_path: string; }>; format: Readonly<{} & { type: string; }>; url: string; attribution: string; }>[]; includeElasticMapsService: boolean; }>; readonly tilemap: Readonly<{ url?: string | undefined; } & { options: Readonly<{ default?: boolean | undefined; tileSize?: number | undefined; subdomains?: string[] | undefined; errorTileUrl?: string | undefined; tms?: boolean | undefined; reuseTiles?: boolean | undefined; bounds?: number[] | undefined; } & { attribution: string; minZoom: number; maxZoom: number; }>; }>; readonly manifestServiceUrl: string; readonly emsUrl: string; readonly emsFileApiUrl: string; readonly emsTileApiUrl: string; readonly emsLandingPageUrl: string; readonly emsFontLibraryUrl: string; readonly emsTileLayerId: Readonly<{} & { bright: string; desaturated: string; dark: string; }>; }" + "{ readonly proxyElasticMapsServiceInMaps: boolean; readonly tilemap: Readonly<{ url?: string | undefined; } & { options: Readonly<{ default?: boolean | undefined; tileSize?: number | undefined; subdomains?: string[] | undefined; errorTileUrl?: string | undefined; tms?: boolean | undefined; reuseTiles?: boolean | undefined; bounds?: number[] | undefined; } & { attribution: string; minZoom: number; maxZoom: number; }>; }>; readonly includeElasticMapsService: boolean; readonly manifestServiceUrl: string; readonly emsUrl: string; readonly emsFileApiUrl: string; readonly emsTileApiUrl: string; readonly emsLandingPageUrl: string; readonly emsFontLibraryUrl: string; readonly emsTileLayerId: Readonly<{} & { bright: string; desaturated: string; dark: string; }>; }" ], "path": "src/plugins/maps_ems/server/index.ts", "deprecated": false diff --git a/api_docs/maps_ems.mdx b/api_docs/maps_ems.mdx index dbd799c2b9f9d..c1367bf5cc970 100644 --- a/api_docs/maps_ems.mdx +++ b/api_docs/maps_ems.mdx @@ -18,7 +18,7 @@ Contact [GIS](https://github.com/orgs/elastic/teams/kibana-gis) for questions re | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 75 | 1 | 75 | 0 | +| 74 | 1 | 74 | 0 | ## Client diff --git a/api_docs/metrics_entities.json b/api_docs/metrics_entities.json index 0758412d4006a..2816f019eb3fe 100644 --- a/api_docs/metrics_entities.json +++ b/api_docs/metrics_entities.json @@ -50,7 +50,7 @@ "children": [ { "parentPluginId": "metricsEntities", - "id": "def-server.esClient", + "id": "def-server.MetricsEntitiesPluginSetup.getMetricsEntitiesClient.$1", "type": "CompoundType", "tags": [], "label": "esClient", @@ -58,7 +58,7 @@ "signature": [ "Pick<", "KibanaClient", - ", \"get\" | \"delete\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"count\" | \"search\" | \"security\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"monitoring\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\"> & { transport: { request(params: ", + ", \"get\" | \"delete\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"security\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"monitoring\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\"> & { transport: { request(params: ", "TransportRequestParams", ", options?: ", "TransportRequestOptions", diff --git a/api_docs/ml.json b/api_docs/ml.json index cd2438e61e602..3dd23f2a5d214 100644 --- a/api_docs/ml.json +++ b/api_docs/ml.json @@ -1024,7 +1024,7 @@ }, "<", "MlAnomalyDetectionAlertParams", - ">, \"enabled\" | \"id\" | \"name\" | \"params\" | \"actions\" | \"throttle\" | \"tags\" | \"alertTypeId\" | \"consumer\" | \"schedule\" | \"scheduledTaskId\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"apiKeyOwner\" | \"notifyWhen\" | \"muteAll\" | \"mutedInstanceIds\" | \"executionStatus\">[] | undefined" + ">, \"enabled\" | \"id\" | \"name\" | \"tags\" | \"params\" | \"actions\" | \"throttle\" | \"alertTypeId\" | \"consumer\" | \"schedule\" | \"scheduledTaskId\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"apiKeyOwner\" | \"notifyWhen\" | \"muteAll\" | \"mutedInstanceIds\" | \"executionStatus\">[] | undefined" ], "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false @@ -1085,7 +1085,7 @@ "children": [ { "parentPluginId": "ml", - "id": "def-public.__0", + "id": "def-public.UseIndexDataReturnType.renderCellValue.$1", "type": "Object", "tags": [], "label": "__0", @@ -1252,7 +1252,7 @@ "children": [ { "parentPluginId": "ml", - "id": "def-public.__0", + "id": "def-public.RenderCellValue.$1", "type": "Object", "tags": [], "label": "__0", @@ -2859,7 +2859,7 @@ }, "<", "MlAnomalyDetectionAlertParams", - ">, \"enabled\" | \"id\" | \"name\" | \"params\" | \"actions\" | \"throttle\" | \"tags\" | \"alertTypeId\" | \"consumer\" | \"schedule\" | \"scheduledTaskId\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"apiKeyOwner\" | \"notifyWhen\" | \"muteAll\" | \"mutedInstanceIds\" | \"executionStatus\">[] | undefined" + ">, \"enabled\" | \"id\" | \"name\" | \"tags\" | \"params\" | \"actions\" | \"throttle\" | \"alertTypeId\" | \"consumer\" | \"schedule\" | \"scheduledTaskId\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"apiKeyOwner\" | \"notifyWhen\" | \"muteAll\" | \"mutedInstanceIds\" | \"executionStatus\">[] | undefined" ], "path": "x-pack/plugins/ml/common/types/anomaly_detection_jobs/summary_job.ts", "deprecated": false diff --git a/api_docs/navigation.json b/api_docs/navigation.json index 914bfd12594f6..5224795d5e42b 100644 --- a/api_docs/navigation.json +++ b/api_docs/navigation.json @@ -318,7 +318,7 @@ "children": [ { "parentPluginId": "navigation", - "id": "def-public.anchorElement", + "id": "def-public.TopNavMenuData.run.$1", "type": "Object", "tags": [], "label": "anchorElement", @@ -471,7 +471,7 @@ "section": "def-public.SearchBarProps", "text": "SearchBarProps" }, - ", \"filters\" | \"query\" | \"isClearable\" | \"placeholder\" | \"isLoading\" | \"indexPatterns\" | \"customSubmitButton\" | \"screenTitle\" | \"dataTestSubj\" | \"showQueryBar\" | \"showQueryInput\" | \"showFilterBar\" | \"showDatePicker\" | \"showAutoRefreshOnly\" | \"isRefreshPaused\" | \"refreshInterval\" | \"dateRangeFrom\" | \"dateRangeTo\" | \"showSaveQuery\" | \"savedQuery\" | \"onQueryChange\" | \"onQuerySubmit\" | \"onSaved\" | \"onSavedQueryUpdated\" | \"onClearSavedQuery\" | \"onRefresh\" | \"indicateNoData\" | \"iconType\" | \"nonKqlMode\" | \"nonKqlModeHelpText\" | \"displayStyle\" | \"onFiltersUpdated\" | \"onRefreshChange\"> & { config?: ", + ", \"filters\" | \"query\" | \"savedQuery\" | \"isClearable\" | \"placeholder\" | \"isLoading\" | \"indexPatterns\" | \"customSubmitButton\" | \"screenTitle\" | \"dataTestSubj\" | \"showQueryBar\" | \"showQueryInput\" | \"showFilterBar\" | \"showDatePicker\" | \"showAutoRefreshOnly\" | \"isRefreshPaused\" | \"refreshInterval\" | \"dateRangeFrom\" | \"dateRangeTo\" | \"showSaveQuery\" | \"onQueryChange\" | \"onQuerySubmit\" | \"onSaved\" | \"onSavedQueryUpdated\" | \"onClearSavedQuery\" | \"onRefresh\" | \"indicateNoData\" | \"iconType\" | \"nonKqlMode\" | \"nonKqlModeHelpText\" | \"displayStyle\" | \"onFiltersUpdated\" | \"onRefreshChange\"> & { config?: ", { "pluginId": "navigation", "scope": "public", @@ -611,7 +611,7 @@ "children": [ { "parentPluginId": "navigation", - "id": "def-public.menuItem", + "id": "def-public.NavigationPublicPluginSetup.registerMenuItem.$1", "type": "Object", "tags": [], "label": "menuItem", diff --git a/api_docs/observability.json b/api_docs/observability.json index 0da10c019c3df..8476973fabc4b 100644 --- a/api_docs/observability.json +++ b/api_docs/observability.json @@ -222,7 +222,7 @@ "children": [ { "parentPluginId": "observability", - "id": "def-public.getApmTraceUrl.$1.traceIdrangeFromrangeTo", + "id": "def-public.getApmTraceUrl.$1", "type": "Object", "tags": [], "label": "{\n traceId,\n rangeFrom,\n rangeTo,\n}", @@ -232,7 +232,7 @@ "children": [ { "parentPluginId": "observability", - "id": "def-public.getApmTraceUrl.$1.traceIdrangeFromrangeTo.traceId", + "id": "def-public.getApmTraceUrl.$1.traceId", "type": "string", "tags": [], "label": "traceId", @@ -242,7 +242,7 @@ }, { "parentPluginId": "observability", - "id": "def-public.getApmTraceUrl.$1.traceIdrangeFromrangeTo.rangeFrom", + "id": "def-public.getApmTraceUrl.$1.rangeFrom", "type": "string", "tags": [], "label": "rangeFrom", @@ -252,7 +252,7 @@ }, { "parentPluginId": "observability", - "id": "def-public.getApmTraceUrl.$1.traceIdrangeFromrangeTo.rangeTo", + "id": "def-public.getApmTraceUrl.$1.rangeTo", "type": "string", "tags": [], "label": "rangeTo", @@ -348,7 +348,7 @@ "children": [ { "parentPluginId": "observability", - "id": "def-public.props", + "id": "def-public.LazyAlertsFlyout.$1", "type": "Uncategorized", "tags": [], "label": "props", @@ -483,7 +483,7 @@ "children": [ { "parentPluginId": "observability", - "id": "def-public.SectionSubtitle.$1.children", + "id": "def-public.SectionSubtitle.$1", "type": "Object", "tags": [], "label": "{ children }", @@ -493,7 +493,7 @@ "children": [ { "parentPluginId": "observability", - "id": "def-public.SectionSubtitle.$1.children.children", + "id": "def-public.SectionSubtitle.$1.children", "type": "CompoundType", "tags": [], "label": "children", @@ -525,7 +525,7 @@ "children": [ { "parentPluginId": "observability", - "id": "def-public.SectionTitle.$1.children", + "id": "def-public.SectionTitle.$1", "type": "Object", "tags": [], "label": "{ children }", @@ -535,7 +535,7 @@ "children": [ { "parentPluginId": "observability", - "id": "def-public.SectionTitle.$1.children.children", + "id": "def-public.SectionTitle.$1.children", "type": "CompoundType", "tags": [], "label": "children", @@ -646,7 +646,11 @@ "RecursivePartial", "<", "CrosshairStyle", - "> | undefined; markSizeRatio?: number | undefined; }" + "> | undefined; markSizeRatio?: number | undefined; goal?: ", + "RecursivePartial", + "<", + "GoalStyles", + "> | undefined; }" ], "path": "x-pack/plugins/observability/public/hooks/use_chart_theme.tsx", "deprecated": false, @@ -699,7 +703,7 @@ }, { "parentPluginId": "observability", - "id": "def-public.useFetcher.$3.options", + "id": "def-public.useFetcher.$3", "type": "Object", "tags": [], "label": "options", @@ -709,7 +713,7 @@ "children": [ { "parentPluginId": "observability", - "id": "def-public.useFetcher.$3.options.preservePreviousData", + "id": "def-public.useFetcher.$3.preservePreviousData", "type": "CompoundType", "tags": [], "label": "preservePreviousData", @@ -876,7 +880,7 @@ "children": [ { "parentPluginId": "observability", - "id": "def-public.useUiTracker.$1.appdefaultApp", + "id": "def-public.useUiTracker.$1", "type": "Object", "tags": [], "label": "{\n app: defaultApp,\n}", @@ -886,7 +890,7 @@ "children": [ { "parentPluginId": "observability", - "id": "def-public.useUiTracker.$1.appdefaultApp.app", + "id": "def-public.useUiTracker.$1.app", "type": "CompoundType", "tags": [], "label": "app", @@ -1135,7 +1139,7 @@ "children": [ { "parentPluginId": "observability", - "id": "def-public.fetchDataParams", + "id": "def-public.DataHandler.fetchData.$1", "type": "Object", "tags": [], "label": "fetchDataParams", @@ -1186,7 +1190,7 @@ "children": [ { "parentPluginId": "observability", - "id": "def-public.params", + "id": "def-public.DataHandler.hasData.$1", "type": "Object", "tags": [], "label": "params", @@ -2105,7 +2109,7 @@ "signature": [ "(options: { fields: OutputOf<", "Optional", - "<{ readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.id\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.action_group\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.risk_score_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.id\" | \"kibana.alert.rule.producer\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.name\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.status\" | \"kibana.alert.system_status\" | \"kibana.alert.uuid\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.alert.rule.uuid\" | \"kibana.alert.rule.category\" | \"kibana.version\">> & Record; formatters: { asDuration: (value: number | null | undefined, { defaultValue, extended }?: FormatterOptions) => string; asPercent: (numerator: number | null | undefined, denominator: number | undefined, fallbackResult?: string) => string; }; }) => { reason: string; link: string; }" + "<{ readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.instance.id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.version\": { readonly type: \"version\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.action_group\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.risk_score_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.system_status\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.version\">> & Record; formatters: { asDuration: (value: number | null | undefined, { defaultValue, extended }?: FormatterOptions) => string; asPercent: (numerator: number | null | undefined, denominator: number | undefined, fallbackResult?: string) => string; }; }) => { reason: string; link: string; }" ], "path": "x-pack/plugins/observability/public/rules/create_observability_rule_type_registry.ts", "deprecated": false, @@ -2113,7 +2117,7 @@ "children": [ { "parentPluginId": "observability", - "id": "def-public.options", + "id": "def-public.ObservabilityRuleTypeModel.format.$1", "type": "Object", "tags": [], "label": "options", @@ -2121,7 +2125,7 @@ "signature": [ "{ fields: OutputOf<", "Optional", - "<{ readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.id\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.action_group\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.risk_score_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.id\" | \"kibana.alert.rule.producer\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.name\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.status\" | \"kibana.alert.system_status\" | \"kibana.alert.uuid\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.alert.rule.uuid\" | \"kibana.alert.rule.category\" | \"kibana.version\">> & Record; formatters: { asDuration: (value: number | null | undefined, { defaultValue, extended }?: FormatterOptions) => string; asPercent: (numerator: number | null | undefined, denominator: number | undefined, fallbackResult?: string) => string; }; }" + "<{ readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.instance.id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.version\": { readonly type: \"version\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.action_group\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.risk_score_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.system_status\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.version\">> & Record; formatters: { asDuration: (value: number | null | undefined, { defaultValue, extended }?: FormatterOptions) => string; asPercent: (numerator: number | null | undefined, denominator: number | undefined, fallbackResult?: string) => string; }; }" ], "path": "x-pack/plugins/observability/public/rules/create_observability_rule_type_registry.ts", "deprecated": false @@ -2248,7 +2252,7 @@ "label": "operationType", "description": [], "signature": [ - "\"range\" | \"filters\" | \"count\" | \"max\" | \"min\" | \"date_histogram\" | \"sum\" | \"average\" | \"percentile\" | \"terms\" | \"median\" | \"cumulative_sum\" | \"moving_average\" | \"math\" | \"overall_sum\" | \"overall_min\" | \"overall_max\" | \"overall_average\" | \"counter_rate\" | \"differences\" | \"unique_count\" | \"last_value\" | \"formula\" | undefined" + "\"range\" | \"filters\" | \"max\" | \"min\" | \"count\" | \"date_histogram\" | \"sum\" | \"average\" | \"percentile\" | \"terms\" | \"median\" | \"cumulative_sum\" | \"moving_average\" | \"math\" | \"overall_sum\" | \"overall_min\" | \"overall_max\" | \"overall_average\" | \"counter_rate\" | \"differences\" | \"unique_count\" | \"last_value\" | \"formula\" | undefined" ], "path": "x-pack/plugins/observability/public/components/shared/exploratory_view/types.ts", "deprecated": false @@ -2819,7 +2823,7 @@ "children": [ { "parentPluginId": "observability", - "id": "def-public.fetchDataParams", + "id": "def-public.FetchData.$1", "type": "Object", "tags": [], "label": "fetchDataParams", @@ -2871,7 +2875,7 @@ "children": [ { "parentPluginId": "observability", - "id": "def-public.params", + "id": "def-public.HasData.$1", "type": "Object", "tags": [], "label": "params", @@ -2952,7 +2956,7 @@ "signature": [ "(options: { fields: OutputOf<", "Optional", - "<{ readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.id\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.action_group\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.risk_score_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.id\" | \"kibana.alert.rule.producer\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.name\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.status\" | \"kibana.alert.system_status\" | \"kibana.alert.uuid\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.alert.rule.uuid\" | \"kibana.alert.rule.category\" | \"kibana.version\">> & Record; formatters: { asDuration: (value: number | null | undefined, { defaultValue, extended }?: FormatterOptions) => string; asPercent: (numerator: number | null | undefined, denominator: number | undefined, fallbackResult?: string) => string; }; }) => { reason: string; link: string; }" + "<{ readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.instance.id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.version\": { readonly type: \"version\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.action_group\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.risk_score_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.system_status\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.version\">> & Record; formatters: { asDuration: (value: number | null | undefined, { defaultValue, extended }?: FormatterOptions) => string; asPercent: (numerator: number | null | undefined, denominator: number | undefined, fallbackResult?: string) => string; }; }) => { reason: string; link: string; }" ], "path": "x-pack/plugins/observability/public/rules/create_observability_rule_type_registry.ts", "deprecated": false, @@ -2960,7 +2964,7 @@ "children": [ { "parentPluginId": "observability", - "id": "def-public.options", + "id": "def-public.ObservabilityRuleTypeFormatter.$1", "type": "Object", "tags": [], "label": "options", @@ -2968,7 +2972,7 @@ "signature": [ "{ fields: OutputOf<", "Optional", - "<{ readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.id\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.action_group\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.risk_score_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.id\" | \"kibana.alert.rule.producer\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.name\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.status\" | \"kibana.alert.system_status\" | \"kibana.alert.uuid\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.alert.rule.uuid\" | \"kibana.alert.rule.category\" | \"kibana.version\">> & Record; formatters: { asDuration: (value: number | null | undefined, { defaultValue, extended }?: FormatterOptions) => string; asPercent: (numerator: number | null | undefined, denominator: number | undefined, fallbackResult?: string) => string; }; }" + "<{ readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.instance.id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.version\": { readonly type: \"version\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.action_group\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.risk_score_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.system_status\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.version\">> & Record; formatters: { asDuration: (value: number | null | undefined, { defaultValue, extended }?: FormatterOptions) => string; asPercent: (numerator: number | null | undefined, denominator: number | undefined, fallbackResult?: string) => string; }; }" ], "path": "x-pack/plugins/observability/public/rules/create_observability_rule_type_registry.ts", "deprecated": false @@ -3099,7 +3103,7 @@ "children": [ { "parentPluginId": "observability", - "id": "def-public.__0", + "id": "def-public.UiTracker.$1", "type": "CompoundType", "tags": [], "label": "__0", @@ -3285,7 +3289,7 @@ "children": [ { "parentPluginId": "observability", - "id": "def-server.createOrUpdateIndex.$1.indexmappingsclientlogger", + "id": "def-server.createOrUpdateIndex.$1", "type": "Object", "tags": [], "label": "{\n index,\n mappings,\n client,\n logger,\n}", @@ -3295,7 +3299,7 @@ "children": [ { "parentPluginId": "observability", - "id": "def-server.createOrUpdateIndex.$1.indexmappingsclientlogger.index", + "id": "def-server.createOrUpdateIndex.$1.index", "type": "string", "tags": [], "label": "index", @@ -3305,7 +3309,7 @@ }, { "parentPluginId": "observability", - "id": "def-server.createOrUpdateIndex.$1.indexmappingsclientlogger.mappings", + "id": "def-server.createOrUpdateIndex.$1.mappings", "type": "CompoundType", "tags": [], "label": "mappings", @@ -3362,7 +3366,7 @@ }, { "parentPluginId": "observability", - "id": "def-server.createOrUpdateIndex.$1.indexmappingsclientlogger.client", + "id": "def-server.createOrUpdateIndex.$1.client", "type": "CompoundType", "tags": [], "label": "client", @@ -3370,7 +3374,7 @@ "signature": [ "Pick<", "KibanaClient", - ", \"get\" | \"delete\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"count\" | \"search\" | \"security\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"monitoring\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\"> & { transport: { request(params: ", + ", \"get\" | \"delete\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"security\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"monitoring\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\"> & { transport: { request(params: ", "TransportRequestParams", ", options?: ", "TransportRequestOptions", @@ -3385,7 +3389,7 @@ }, { "parentPluginId": "observability", - "id": "def-server.createOrUpdateIndex.$1.indexmappingsclientlogger.logger", + "id": "def-server.createOrUpdateIndex.$1.logger", "type": "Object", "tags": [], "label": "logger", @@ -3983,7 +3987,7 @@ "children": [ { "parentPluginId": "observability", - "id": "def-common.value", + "id": "def-common.AsDuration.$1", "type": "CompoundType", "tags": [], "label": "value", @@ -3996,7 +4000,7 @@ }, { "parentPluginId": "observability", - "id": "def-common.__1", + "id": "def-common.AsDuration.$2", "type": "Object", "tags": [], "label": "__1", @@ -4026,7 +4030,7 @@ "children": [ { "parentPluginId": "observability", - "id": "def-common.numerator", + "id": "def-common.AsPercent.$1", "type": "CompoundType", "tags": [], "label": "numerator", @@ -4039,7 +4043,7 @@ }, { "parentPluginId": "observability", - "id": "def-common.denominator", + "id": "def-common.AsPercent.$2", "type": "number", "tags": [], "label": "denominator", @@ -4052,7 +4056,7 @@ }, { "parentPluginId": "observability", - "id": "def-common.fallbackResult", + "id": "def-common.AsPercent.$3", "type": "string", "tags": [], "label": "fallbackResult", diff --git a/api_docs/observability.mdx b/api_docs/observability.mdx index c84f754dde13c..42ff4ab43abb9 100644 --- a/api_docs/observability.mdx +++ b/api_docs/observability.mdx @@ -12,7 +12,7 @@ import observabilityObj from './observability.json'; -Contact Observability UI for questions regarding this plugin. +Contact [Observability UI](https://github.com/orgs/elastic/teams/observability-ui) for questions regarding this plugin. **Code health stats** diff --git a/api_docs/presentation_util.json b/api_docs/presentation_util.json index 259f668787e0f..883091547c5ef 100644 --- a/api_docs/presentation_util.json +++ b/api_docs/presentation_util.json @@ -794,7 +794,7 @@ "children": [ { "parentPluginId": "presentationUtil", - "id": "def-public.props", + "id": "def-public.LazyDashboardPicker.$1", "type": "Uncategorized", "tags": [], "label": "props", @@ -828,7 +828,7 @@ "children": [ { "parentPluginId": "presentationUtil", - "id": "def-public.props", + "id": "def-public.LazyLabsBeakerButton.$1", "type": "Uncategorized", "tags": [], "label": "props", @@ -862,7 +862,7 @@ "children": [ { "parentPluginId": "presentationUtil", - "id": "def-public.props", + "id": "def-public.LazyLabsFlyout.$1", "type": "Uncategorized", "tags": [], "label": "props", @@ -908,7 +908,7 @@ "children": [ { "parentPluginId": "presentationUtil", - "id": "def-public.props", + "id": "def-public.LazySavedObjectSaveModalDashboard.$1", "type": "Uncategorized", "tags": [], "label": "props", @@ -2051,7 +2051,7 @@ "children": [ { "parentPluginId": "presentationUtil", - "id": "def-public.params", + "id": "def-public.KibanaPluginServiceFactory.$1", "type": "Object", "tags": [], "label": "params", @@ -2090,7 +2090,7 @@ "children": [ { "parentPluginId": "presentationUtil", - "id": "def-public.params", + "id": "def-public.PluginServiceFactory.$1", "type": "Uncategorized", "tags": [], "label": "params", @@ -2352,7 +2352,7 @@ "children": [ { "parentPluginId": "presentationUtil", - "id": "def-public.props", + "id": "def-public.PresentationUtilPluginStart.ContextProvider.$1", "type": "CompoundType", "tags": [], "label": "props", @@ -2365,7 +2365,7 @@ }, { "parentPluginId": "presentationUtil", - "id": "def-public.context", + "id": "def-public.PresentationUtilPluginStart.ContextProvider.$2", "type": "Any", "tags": [], "label": "context", diff --git a/api_docs/reporting.json b/api_docs/reporting.json index 782a3d4e7e16d..b83afff729cea 100644 --- a/api_docs/reporting.json +++ b/api_docs/reporting.json @@ -345,9 +345,7 @@ "label": "getReportingJobPath", "description": [], "signature": [ - "(exportType: string, jobParams: ", - "BaseParams", - ") => string" + "(exportType: string, jobParams: { layout?: { id: string; dimensions?: { width: number; height: number; } | undefined; } | undefined; objectType: string; title: string; browserTimezone: string; version: string; }) => string" ], "path": "x-pack/plugins/reporting/public/lib/reporting_api_client/reporting_api_client.ts", "deprecated": false, @@ -374,7 +372,7 @@ "label": "jobParams", "description": [], "signature": [ - "BaseParams" + "{ layout?: { id: string; dimensions?: { width: number; height: number; } | undefined; } | undefined; objectType: string; title: string; browserTimezone: string; version: string; }" ], "path": "x-pack/plugins/reporting/public/lib/reporting_api_client/reporting_api_client.ts", "deprecated": false, @@ -391,9 +389,7 @@ "label": "createReportingJob", "description": [], "signature": [ - "(exportType: string, jobParams: ", - "BaseParams", - ") => Promise<", + "(exportType: string, jobParams: { layout?: { id: string; dimensions?: { width: number; height: number; } | undefined; } | undefined; objectType: string; title: string; browserTimezone: string; version: string; }) => Promise<", "Job", ">" ], @@ -422,7 +418,7 @@ "label": "jobParams", "description": [], "signature": [ - "BaseParams" + "{ layout?: { id: string; dimensions?: { width: number; height: number; } | undefined; } | undefined; objectType: string; title: string; browserTimezone: string; version: string; }" ], "path": "x-pack/plugins/reporting/public/lib/reporting_api_client/reporting_api_client.ts", "deprecated": false, @@ -439,9 +435,7 @@ "label": "createImmediateReport", "description": [], "signature": [ - "(baseParams: ", - "BaseParams", - ") => Promise" + "(baseParams: { layout?: { id: string; dimensions?: { width: number; height: number; } | undefined; } | undefined; objectType: string; title: string; browserTimezone: string; version: string; }) => Promise" ], "path": "x-pack/plugins/reporting/public/lib/reporting_api_client/reporting_api_client.ts", "deprecated": false, @@ -454,7 +448,7 @@ "label": "baseParams", "description": [], "signature": [ - "BaseParams" + "{ layout?: { id: string; dimensions?: { width: number; height: number; } | undefined; } | undefined; objectType: string; title: string; browserTimezone: string; version: string; }" ], "path": "x-pack/plugins/reporting/public/lib/reporting_api_client/reporting_api_client.ts", "deprecated": false, @@ -471,10 +465,7 @@ "label": "getDecoratedJobParams", "description": [], "signature": [ - ">(baseParams: T) => ", - "BaseParams" + ">(baseParams: T) => { layout?: { id: string; dimensions?: { width: number; height: number; } | undefined; } | undefined; objectType: string; title: string; browserTimezone: string; version: string; }" ], "path": "x-pack/plugins/reporting/public/lib/reporting_api_client/reporting_api_client.ts", "deprecated": false, diff --git a/api_docs/reporting.mdx b/api_docs/reporting.mdx index ffbf1fdd52380..c0d061ff5ec8d 100644 --- a/api_docs/reporting.mdx +++ b/api_docs/reporting.mdx @@ -18,7 +18,7 @@ Contact [Kibana Reporting Services](https://github.com/orgs/elastic/teams/kibana | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 135 | 0 | 134 | 13 | +| 135 | 0 | 134 | 12 | ## Client diff --git a/api_docs/rule_registry.json b/api_docs/rule_registry.json index 32b747a2ee644..8a33ca2ce242b 100644 --- a/api_docs/rule_registry.json +++ b/api_docs/rule_registry.json @@ -40,7 +40,7 @@ "id": "def-server.AlertsClient.Unnamed.$1", "type": "Object", "tags": [], - "label": "{ auditLogger, authorization, logger, esClient }", + "label": "options", "description": [], "signature": [ "ConstructorOptions" @@ -62,7 +62,7 @@ "signature": [ "({ id, index }: GetAlertParams) => Promise> | undefined>" + "<{ readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.instance.id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.version\": { readonly type: \"version\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.action_group\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.risk_score_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.system_status\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.version\">> | undefined>" ], "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, @@ -98,7 +98,7 @@ "InlineGet", ">> | undefined; _id: string; _index: string; _primary_term: number; result: ", + "<{ readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.instance.id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.version\": { readonly type: \"version\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.action_group\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.risk_score_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.system_status\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.version\">>> | undefined; _id: string; _index: string; _primary_term: number; result: ", "Result", "; _seq_no: number; _shards: ", "ShardStatistics", @@ -178,14 +178,14 @@ "SearchResponse", ">>>" + "<{ readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.instance.id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.version\": { readonly type: \"version\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.action_group\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.risk_score_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.system_status\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.version\">>>>" ], "path": "x-pack/plugins/rule_registry/server/alert_data_client/alerts_client.ts", "deprecated": false, "children": [ { "parentPluginId": "ruleRegistry", - "id": "def-server.AlertsClient.find.$1.queryaggs_sourcetrack_total_hitstrackTotalHitssizeindex", + "id": "def-server.AlertsClient.find.$1", "type": "Object", "tags": [], "label": "{\n query,\n aggs,\n _source,\n track_total_hits: trackTotalHits,\n size,\n index,\n }", @@ -195,7 +195,7 @@ "children": [ { "parentPluginId": "ruleRegistry", - "id": "def-server.AlertsClient.find.$1.queryaggs_sourcetrack_total_hitstrackTotalHitssizeindex.query", + "id": "def-server.AlertsClient.find.$1.query", "type": "Uncategorized", "tags": [], "label": "query", @@ -208,7 +208,7 @@ }, { "parentPluginId": "ruleRegistry", - "id": "def-server.AlertsClient.find.$1.queryaggs_sourcetrack_total_hitstrackTotalHitssizeindex.aggs", + "id": "def-server.AlertsClient.find.$1.aggs", "type": "Uncategorized", "tags": [], "label": "aggs", @@ -221,7 +221,7 @@ }, { "parentPluginId": "ruleRegistry", - "id": "def-server.AlertsClient.find.$1.queryaggs_sourcetrack_total_hitstrackTotalHitssizeindex.index", + "id": "def-server.AlertsClient.find.$1.index", "type": "string", "tags": [], "label": "index", @@ -234,7 +234,7 @@ }, { "parentPluginId": "ruleRegistry", - "id": "def-server.AlertsClient.find.$1.queryaggs_sourcetrack_total_hitstrackTotalHitssizeindex.track_total_hits", + "id": "def-server.AlertsClient.find.$1.track_total_hits", "type": "CompoundType", "tags": [], "label": "track_total_hits", @@ -247,7 +247,7 @@ }, { "parentPluginId": "ruleRegistry", - "id": "def-server.AlertsClient.find.$1.queryaggs_sourcetrack_total_hitstrackTotalHitssizeindex._source", + "id": "def-server.AlertsClient.find.$1._source", "type": "Array", "tags": [], "label": "_source", @@ -260,7 +260,7 @@ }, { "parentPluginId": "ruleRegistry", - "id": "def-server.AlertsClient.find.$1.queryaggs_sourcetrack_total_hitstrackTotalHitssizeindex.size", + "id": "def-server.AlertsClient.find.$1.size", "type": "number", "tags": [], "label": "size", @@ -376,6 +376,16 @@ "path": "x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.ts", "deprecated": false }, + { + "parentPluginId": "ruleRegistry", + "id": "def-server.RuleDataClient.kibanaVersion", + "type": "string", + "tags": [], + "label": "kibanaVersion", + "description": [], + "path": "x-pack/plugins/rule_registry/server/rule_data_client/rule_data_client.ts", + "deprecated": false + }, { "parentPluginId": "ruleRegistry", "id": "def-server.RuleDataClient.isWriteEnabled", @@ -413,7 +423,7 @@ "children": [ { "parentPluginId": "ruleRegistry", - "id": "def-server.RuleDataClient.getReader.$1.options", + "id": "def-server.RuleDataClient.getReader.$1", "type": "Object", "tags": [], "label": "options", @@ -423,7 +433,7 @@ "children": [ { "parentPluginId": "ruleRegistry", - "id": "def-server.RuleDataClient.getReader.$1.options.namespace", + "id": "def-server.RuleDataClient.getReader.$1.namespace", "type": "string", "tags": [], "label": "namespace", @@ -461,7 +471,7 @@ "children": [ { "parentPluginId": "ruleRegistry", - "id": "def-server.RuleDataClient.getWriter.$1.options", + "id": "def-server.RuleDataClient.getWriter.$1", "type": "Object", "tags": [], "label": "options", @@ -471,7 +481,7 @@ "children": [ { "parentPluginId": "ruleRegistry", - "id": "def-server.RuleDataClient.getWriter.$1.options.namespace", + "id": "def-server.RuleDataClient.getWriter.$1.namespace", "type": "string", "tags": [], "label": "namespace", @@ -539,7 +549,7 @@ "tags": [], "label": "getResourcePrefix", "description": [ - "\nReturns a full resource prefix.\n - it's '.alerts' by default\n - it can be adjusted by the user via Kibana config" + "\nReturns a prefix used in the naming scheme of index aliases, templates\nand other Elasticsearch resources that this service creates\nfor alerts-as-data indices." ], "signature": [ "() => string" @@ -556,7 +566,7 @@ "tags": [], "label": "getResourceName", "description": [ - "\nPrepends a relative resource name with a full resource prefix, which\nstarts with '.alerts' and can optionally include a user-defined part in it." + "\nPrepends a relative resource name with the resource prefix." ], "signature": [ "(relativeName: string) => string" @@ -676,24 +686,32 @@ }, { "parentPluginId": "ruleRegistry", - "id": "def-server.RuleDataPluginService.getRegisteredIndexInfo", + "id": "def-server.RuleDataPluginService.findIndexByName", "type": "Function", "tags": [], - "label": "getRegisteredIndexInfo", + "label": "findIndexByName", "description": [ - "\nLooks up the index information associated with the given `registrationContext`." + "\nLooks up the index information associated with the given registration context and dataset." ], "signature": [ - "(registrationContext: string) => ", + "(registrationContext: string, dataset: ", + { + "pluginId": "ruleRegistry", + "scope": "server", + "docId": "kibRuleRegistryPluginApi", + "section": "def-server.Dataset", + "text": "Dataset" + }, + ") => ", "IndexInfo", - " | undefined" + " | null" ], "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, "children": [ { "parentPluginId": "ruleRegistry", - "id": "def-server.RuleDataPluginService.getRegisteredIndexInfo.$1", + "id": "def-server.RuleDataPluginService.findIndexByName.$1", "type": "string", "tags": [], "label": "registrationContext", @@ -704,11 +722,94 @@ "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", "deprecated": false, "isRequired": true + }, + { + "parentPluginId": "ruleRegistry", + "id": "def-server.RuleDataPluginService.findIndexByName.$2", + "type": "Enum", + "tags": [], + "label": "dataset", + "description": [], + "signature": [ + { + "pluginId": "ruleRegistry", + "scope": "server", + "docId": "kibRuleRegistryPluginApi", + "section": "def-server.Dataset", + "text": "Dataset" + } + ], + "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "deprecated": false, + "isRequired": true } ], - "returnComment": [ - "the IndexInfo or undefined" - ] + "returnComment": [] + }, + { + "parentPluginId": "ruleRegistry", + "id": "def-server.RuleDataPluginService.findIndicesByFeature", + "type": "Function", + "tags": [], + "label": "findIndicesByFeature", + "description": [ + "\nLooks up the index information associated with the given Kibana \"feature\".\nNote: features are used in RBAC." + ], + "signature": [ + "(featureId: ", + "AlertConsumers", + ", dataset?: ", + { + "pluginId": "ruleRegistry", + "scope": "server", + "docId": "kibRuleRegistryPluginApi", + "section": "def-server.Dataset", + "text": "Dataset" + }, + " | undefined) => ", + "IndexInfo", + "[]" + ], + "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "ruleRegistry", + "id": "def-server.RuleDataPluginService.findIndicesByFeature.$1", + "type": "CompoundType", + "tags": [], + "label": "featureId", + "description": [], + "signature": [ + "AlertConsumers" + ], + "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "ruleRegistry", + "id": "def-server.RuleDataPluginService.findIndicesByFeature.$2", + "type": "CompoundType", + "tags": [], + "label": "dataset", + "description": [], + "signature": [ + { + "pluginId": "ruleRegistry", + "scope": "server", + "docId": "kibRuleRegistryPluginApi", + "section": "def-server.Dataset", + "text": "Dataset" + }, + " | undefined" + ], + "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/rule_data_plugin_service.ts", + "deprecated": false, + "isRequired": false + } + ], + "returnComment": [] } ], "initialIsOpen": false @@ -786,7 +887,7 @@ "section": "def-server.IRuleDataClient", "text": "IRuleDataClient" }, - ", \"indexName\" | \"isWriteEnabled\" | \"getReader\" | \"getWriter\">) => = never, State extends Record = never, InstanceState extends { [x: string]: unknown; } = never, InstanceContext extends { [x: string]: unknown; } = never, ActionGroupIds extends string = never>(wrappedExecutor: ", + ", \"indexName\" | \"kibanaVersion\" | \"isWriteEnabled\" | \"getReader\" | \"getWriter\">) => = never, State extends Record = never, InstanceState extends { [x: string]: unknown; } = never, InstanceContext extends { [x: string]: unknown; } = never, ActionGroupIds extends string = never>(wrappedExecutor: ", { "pluginId": "ruleRegistry", "scope": "server", @@ -841,7 +942,7 @@ "section": "def-server.IRuleDataClient", "text": "IRuleDataClient" }, - ", \"indexName\" | \"isWriteEnabled\" | \"getReader\" | \"getWriter\">" + ", \"indexName\" | \"kibanaVersion\" | \"isWriteEnabled\" | \"getReader\" | \"getWriter\">" ], "path": "x-pack/plugins/rule_registry/server/utils/create_lifecycle_executor.ts", "deprecated": false, @@ -900,7 +1001,7 @@ "children": [ { "parentPluginId": "ruleRegistry", - "id": "def-server.createLifecycleRuleTypeFactory.$1.loggerruleDataClient", + "id": "def-server.createLifecycleRuleTypeFactory.$1", "type": "Object", "tags": [], "label": "{\n logger,\n ruleDataClient,\n}", @@ -910,7 +1011,7 @@ "children": [ { "parentPluginId": "ruleRegistry", - "id": "def-server.createLifecycleRuleTypeFactory.$1.loggerruleDataClient.logger", + "id": "def-server.createLifecycleRuleTypeFactory.$1.logger", "type": "Object", "tags": [], "label": "logger", @@ -923,7 +1024,7 @@ }, { "parentPluginId": "ruleRegistry", - "id": "def-server.createLifecycleRuleTypeFactory.$1.loggerruleDataClient.ruleDataClient", + "id": "def-server.createLifecycleRuleTypeFactory.$1.ruleDataClient", "type": "Object", "tags": [], "label": "ruleDataClient", @@ -1072,52 +1173,6 @@ ], "returnComment": [], "initialIsOpen": false - }, - { - "parentPluginId": "ruleRegistry", - "id": "def-server.getRuleData", - "type": "Function", - "tags": [], - "label": "getRuleData", - "description": [], - "signature": [ - "(options: ", - { - "pluginId": "alerting", - "scope": "server", - "docId": "kibAlertingPluginApi", - "section": "def-server.AlertExecutorOptions", - "text": "AlertExecutorOptions" - }, - ") => { \"kibana.alert.rule.rule_type_id\": string; \"kibana.alert.rule.uuid\": string; \"kibana.alert.rule.category\": string; \"kibana.alert.rule.name\": string; tags: string[]; \"kibana.alert.rule.producer\": string; }" - ], - "path": "x-pack/plugins/rule_registry/server/utils/get_rule_executor_data.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "ruleRegistry", - "id": "def-server.getRuleData.$1", - "type": "Object", - "tags": [], - "label": "options", - "description": [], - "signature": [ - { - "pluginId": "alerting", - "scope": "server", - "docId": "kibAlertingPluginApi", - "section": "def-server.AlertExecutorOptions", - "text": "AlertExecutorOptions" - }, - "" - ], - "path": "x-pack/plugins/rule_registry/server/utils/get_rule_executor_data.ts", - "deprecated": false, - "isRequired": true - } - ], - "returnComment": [], - "initialIsOpen": false } ], "interfaces": [ @@ -1143,16 +1198,6 @@ "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/index_options.ts", "deprecated": false }, - { - "parentPluginId": "ruleRegistry", - "id": "def-server.ComponentTemplateOptions.version", - "type": "number", - "tags": [], - "label": "version", - "description": [], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/index_options.ts", - "deprecated": false - }, { "parentPluginId": "ruleRegistry", "id": "def-server.ComponentTemplateOptions.mappings", @@ -1310,7 +1355,8 @@ "docId": "kibRuleRegistryPluginApi", "section": "def-server.IndexTemplateOptions", "text": "IndexTemplateOptions" - } + }, + " | undefined" ], "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/index_options.ts", "deprecated": false @@ -1362,16 +1408,6 @@ "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/index_options.ts", "deprecated": false, "children": [ - { - "parentPluginId": "ruleRegistry", - "id": "def-server.IndexTemplateOptions.version", - "type": "number", - "tags": [], - "label": "version", - "description": [], - "path": "x-pack/plugins/rule_registry/server/rule_data_plugin_service/index_options.ts", - "deprecated": false - }, { "parentPluginId": "ruleRegistry", "id": "def-server.IndexTemplateOptions._meta", @@ -1408,6 +1444,16 @@ "path": "x-pack/plugins/rule_registry/server/rule_data_client/types.ts", "deprecated": false }, + { + "parentPluginId": "ruleRegistry", + "id": "def-server.IRuleDataClient.kibanaVersion", + "type": "string", + "tags": [], + "label": "kibanaVersion", + "description": [], + "path": "x-pack/plugins/rule_registry/server/rule_data_client/types.ts", + "deprecated": false + }, { "parentPluginId": "ruleRegistry", "id": "def-server.IRuleDataClient.isWriteEnabled", @@ -1445,7 +1491,7 @@ "children": [ { "parentPluginId": "ruleRegistry", - "id": "def-server.IRuleDataClient.getReader.$1.options", + "id": "def-server.IRuleDataClient.getReader.$1", "type": "Object", "tags": [], "label": "options", @@ -1455,7 +1501,7 @@ "children": [ { "parentPluginId": "ruleRegistry", - "id": "def-server.IRuleDataClient.getReader.$1.options.namespace", + "id": "def-server.IRuleDataClient.getReader.$1.namespace", "type": "string", "tags": [], "label": "namespace", @@ -1493,7 +1539,7 @@ "children": [ { "parentPluginId": "ruleRegistry", - "id": "def-server.IRuleDataClient.getWriter.$1.options", + "id": "def-server.IRuleDataClient.getWriter.$1", "type": "Object", "tags": [], "label": "options", @@ -1503,7 +1549,7 @@ "children": [ { "parentPluginId": "ruleRegistry", - "id": "def-server.IRuleDataClient.getWriter.$1.options.namespace", + "id": "def-server.IRuleDataClient.getWriter.$1.namespace", "type": "string", "tags": [], "label": "namespace", @@ -1544,7 +1590,7 @@ "SearchRequest", ">(request: TSearchRequest) => Promise<", "InferSearchResponseOf", - ">, TSearchRequest, { restTotalHitsAsInt: false; }>>" + ">, TSearchRequest, { restTotalHitsAsInt: false; }>>" ], "path": "x-pack/plugins/rule_registry/server/rule_data_client/types.ts", "deprecated": false, @@ -1685,9 +1731,7 @@ "label": "alertWithLifecycle", "description": [], "signature": [ - "(alert: { id: string; fields: Record & Partial>, \"tags\" | \"@timestamp\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.rule.consumer\" | \"kibana.alert.rule.producer\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.name\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.rule_type_id\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.status\" | \"kibana.alert.system_status\" | \"kibana.alert.uuid\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.alert.rule.uuid\" | \"kibana.alert.rule.category\" | \"kibana.space_ids\" | \"kibana.version\">>; }) => Pick<", + "(alert: { id: string; fields: ExplicitAlertFields; }) => Pick<", "AlertInstance", ", \"getState\" | \"replaceState\" | \"scheduleActions\" | \"scheduleActionsWithSubGroup\">" ], @@ -1697,15 +1741,13 @@ "children": [ { "parentPluginId": "ruleRegistry", - "id": "def-server.alert", + "id": "def-server.LifecycleAlertServices.alertWithLifecycle.$1", "type": "Object", "tags": [], "label": "alert", "description": [], "signature": [ - "{ id: string; fields: Record & Partial>, \"tags\" | \"@timestamp\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.rule.consumer\" | \"kibana.alert.rule.producer\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.name\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.rule_type_id\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.status\" | \"kibana.alert.system_status\" | \"kibana.alert.uuid\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.alert.rule.uuid\" | \"kibana.alert.rule.category\" | \"kibana.space_ids\" | \"kibana.version\">>; }" + "{ id: string; fields: ExplicitAlertFields; }" ], "path": "x-pack/plugins/rule_registry/server/utils/create_lifecycle_executor.ts", "deprecated": false @@ -1757,7 +1799,7 @@ "children": [ { "parentPluginId": "ruleRegistry", - "id": "def-server.alerts", + "id": "def-server.PersistenceServices.alertWithPersistence.$1", "type": "Array", "tags": [], "label": "alerts", @@ -1770,7 +1812,7 @@ }, { "parentPluginId": "ruleRegistry", - "id": "def-server.refresh", + "id": "def-server.PersistenceServices.alertWithPersistence.$2", "type": "CompoundType", "tags": [], "label": "refresh", @@ -1821,82 +1863,6 @@ } ], "initialIsOpen": false - }, - { - "parentPluginId": "ruleRegistry", - "id": "def-server.RuleExecutorData", - "type": "Interface", - "tags": [], - "label": "RuleExecutorData", - "description": [], - "path": "x-pack/plugins/rule_registry/server/utils/get_rule_executor_data.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "ruleRegistry", - "id": "def-server.RuleExecutorData.ALERT_RULE_CATEGORY", - "type": "string", - "tags": [], - "label": "[ALERT_RULE_CATEGORY]", - "description": [], - "path": "x-pack/plugins/rule_registry/server/utils/get_rule_executor_data.ts", - "deprecated": false - }, - { - "parentPluginId": "ruleRegistry", - "id": "def-server.RuleExecutorData.ALERT_RULE_TYPE_ID", - "type": "string", - "tags": [], - "label": "[ALERT_RULE_TYPE_ID]", - "description": [], - "path": "x-pack/plugins/rule_registry/server/utils/get_rule_executor_data.ts", - "deprecated": false - }, - { - "parentPluginId": "ruleRegistry", - "id": "def-server.RuleExecutorData.ALERT_RULE_UUID", - "type": "string", - "tags": [], - "label": "[ALERT_RULE_UUID]", - "description": [], - "path": "x-pack/plugins/rule_registry/server/utils/get_rule_executor_data.ts", - "deprecated": false - }, - { - "parentPluginId": "ruleRegistry", - "id": "def-server.RuleExecutorData.ALERT_RULE_NAME", - "type": "string", - "tags": [], - "label": "[ALERT_RULE_NAME]", - "description": [], - "path": "x-pack/plugins/rule_registry/server/utils/get_rule_executor_data.ts", - "deprecated": false - }, - { - "parentPluginId": "ruleRegistry", - "id": "def-server.RuleExecutorData.ALERT_RULE_PRODUCER", - "type": "string", - "tags": [], - "label": "[ALERT_RULE_PRODUCER]", - "description": [], - "path": "x-pack/plugins/rule_registry/server/utils/get_rule_executor_data.ts", - "deprecated": false - }, - { - "parentPluginId": "ruleRegistry", - "id": "def-server.RuleExecutorData.TAGS", - "type": "Array", - "tags": [], - "label": "[TAGS]", - "description": [], - "signature": [ - "string[]" - ], - "path": "x-pack/plugins/rule_registry/server/utils/get_rule_executor_data.ts", - "deprecated": false - } - ], - "initialIsOpen": false } ], "enums": [ @@ -1989,7 +1955,7 @@ "children": [ { "parentPluginId": "ruleRegistry", - "id": "def-server.options", + "id": "def-server.CreatePersistenceRuleTypeFactory.$1", "type": "Object", "tags": [], "label": "options", @@ -2045,6 +2011,20 @@ "deprecated": false, "initialIsOpen": false }, + { + "parentPluginId": "ruleRegistry", + "id": "def-server.INDEX_PREFIX_FOR_BACKING_INDICES", + "type": "string", + "tags": [], + "label": "INDEX_PREFIX_FOR_BACKING_INDICES", + "description": [], + "signature": [ + "\".internal.alerts\"" + ], + "path": "x-pack/plugins/rule_registry/server/config.ts", + "deprecated": false, + "initialIsOpen": false + }, { "parentPluginId": "ruleRegistry", "id": "def-server.LifecycleAlertService", @@ -2053,9 +2033,7 @@ "label": "LifecycleAlertService", "description": [], "signature": [ - "(alert: { id: string; fields: Record & Partial>, \"tags\" | \"@timestamp\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.rule.consumer\" | \"kibana.alert.rule.producer\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.name\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.rule_type_id\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.status\" | \"kibana.alert.system_status\" | \"kibana.alert.uuid\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.alert.rule.uuid\" | \"kibana.alert.rule.category\" | \"kibana.space_ids\" | \"kibana.version\">>; }) => Pick<", + "(alert: { id: string; fields: ExplicitAlertFields; }) => Pick<", "AlertInstance", ", \"getState\" | \"replaceState\" | \"scheduleActions\" | \"scheduleActionsWithSubGroup\">" ], @@ -2065,15 +2043,13 @@ "children": [ { "parentPluginId": "ruleRegistry", - "id": "def-server.alert", + "id": "def-server.LifecycleAlertService.$1", "type": "Object", "tags": [], "label": "alert", "description": [], "signature": [ - "{ id: string; fields: Record & Partial>, \"tags\" | \"@timestamp\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.rule.consumer\" | \"kibana.alert.rule.producer\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.name\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.rule_type_id\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.status\" | \"kibana.alert.system_status\" | \"kibana.alert.uuid\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.alert.rule.uuid\" | \"kibana.alert.rule.category\" | \"kibana.space_ids\" | \"kibana.version\">>; }" + "{ id: string; fields: ExplicitAlertFields; }" ], "path": "x-pack/plugins/rule_registry/server/utils/create_lifecycle_executor.ts", "deprecated": false @@ -2107,7 +2083,7 @@ "children": [ { "parentPluginId": "ruleRegistry", - "id": "def-server.options", + "id": "def-server.LifecycleRuleExecutor.$1", "type": "CompoundType", "tags": [], "label": "options", @@ -2121,7 +2097,7 @@ "section": "def-server.AlertExecutorOptions", "text": "AlertExecutorOptions" }, - ", \"name\" | \"params\" | \"tags\" | \"spaceId\" | \"rule\" | \"createdBy\" | \"updatedBy\" | \"previousStartedAt\" | \"state\" | \"alertId\" | \"namespace\" | \"startedAt\"> & { services: ", + ", \"name\" | \"tags\" | \"params\" | \"spaceId\" | \"rule\" | \"createdBy\" | \"updatedBy\" | \"previousStartedAt\" | \"state\" | \"alertId\" | \"namespace\" | \"startedAt\"> & { services: ", { "pluginId": "alerting", "scope": "server", @@ -2191,7 +2167,7 @@ "children": [ { "parentPluginId": "ruleRegistry", - "id": "def-server.query", + "id": "def-server.PersistenceAlertQueryService.$1", "type": "Object", "tags": [], "label": "query", @@ -2227,7 +2203,7 @@ "children": [ { "parentPluginId": "ruleRegistry", - "id": "def-server.alerts", + "id": "def-server.PersistenceAlertService.$1", "type": "Array", "tags": [], "label": "alerts", @@ -2240,7 +2216,7 @@ }, { "parentPluginId": "ruleRegistry", - "id": "def-server.refresh", + "id": "def-server.PersistenceAlertService.$2", "type": "CompoundType", "tags": [], "label": "refresh", @@ -2262,7 +2238,7 @@ "label": "RuleRegistryPluginConfig", "description": [], "signature": [ - "{ readonly enabled: boolean; readonly write: Readonly<{} & { enabled: boolean; }>; readonly unsafe: Readonly<{} & { legacyMultiTenancy: Readonly<{} & { enabled: boolean; }>; }>; }" + "{ readonly enabled: boolean; readonly write: Readonly<{} & { enabled: boolean; }>; readonly unsafe: Readonly<{} & { legacyMultiTenancy: Readonly<{} & { enabled: boolean; }>; indexUpgrade: Readonly<{} & { enabled: boolean; }>; }>; }" ], "path": "x-pack/plugins/rule_registry/server/config.ts", "deprecated": false, @@ -2456,7 +2432,7 @@ "signature": [ "(input: unknown) => OutputOf<", "Optional", - "<{ readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.id\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.action_group\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.risk_score_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.id\" | \"kibana.alert.rule.producer\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.name\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.status\" | \"kibana.alert.system_status\" | \"kibana.alert.uuid\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.alert.rule.uuid\" | \"kibana.alert.rule.category\" | \"kibana.version\">>" + "<{ readonly \"kibana.alert.rule.rule_type_id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.consumer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.rule.producer\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.space_ids\": { readonly type: \"keyword\"; readonly array: true; readonly required: true; }; readonly \"kibana.alert.uuid\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.instance.id\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.start\": { readonly type: \"date\"; }; readonly \"kibana.alert.end\": { readonly type: \"date\"; }; readonly \"kibana.alert.duration.us\": { readonly type: \"long\"; }; readonly \"kibana.alert.severity\": { readonly type: \"keyword\"; }; readonly \"kibana.alert.status\": { readonly type: \"keyword\"; readonly required: true; }; readonly \"kibana.alert.evaluation.threshold\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.alert.evaluation.value\": { readonly type: \"scaled_float\"; readonly scaling_factor: 100; }; readonly \"kibana.version\": { readonly type: \"version\"; readonly array: false; readonly required: false; }; readonly \"ecs.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.risk_score\": { readonly type: \"float\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_user\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.workflow_reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.system_status\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.action_group\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.reason\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.author\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.category\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.uuid\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.created_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.created_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.description\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.enabled\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.from\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.interval\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.license\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.name\": { readonly type: \"keyword\"; readonly array: false; readonly required: true; }; readonly \"kibana.alert.rule.note\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.references\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.risk_score_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_id\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.rule_name_override\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.severity_mapping\": { readonly type: \"object\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.tags\": { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly \"kibana.alert.rule.to\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.type\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_at\": { readonly type: \"date\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.updated_by\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly \"kibana.alert.rule.version\": { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly tags: { readonly type: \"keyword\"; readonly array: true; readonly required: false; }; readonly '@timestamp': { readonly type: \"date\"; readonly array: false; readonly required: true; }; readonly 'event.kind': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; readonly 'event.action': { readonly type: \"keyword\"; readonly array: false; readonly required: false; }; }, \"tags\" | \"event.kind\" | \"ecs.version\" | \"event.action\" | \"kibana.alert.action_group\" | \"kibana.alert.duration.us\" | \"kibana.alert.end\" | \"kibana.alert.evaluation.threshold\" | \"kibana.alert.evaluation.value\" | \"kibana.alert.reason\" | \"kibana.alert.rule.author\" | \"kibana.alert.rule.created_at\" | \"kibana.alert.rule.created_by\" | \"kibana.alert.rule.description\" | \"kibana.alert.rule.enabled\" | \"kibana.alert.rule.from\" | \"kibana.alert.rule.interval\" | \"kibana.alert.rule.license\" | \"kibana.alert.rule.note\" | \"kibana.alert.rule.references\" | \"kibana.alert.rule.risk_score\" | \"kibana.alert.rule.risk_score_mapping\" | \"kibana.alert.rule.rule_id\" | \"kibana.alert.rule.rule_name_override\" | \"kibana.alert.rule.severity\" | \"kibana.alert.rule.severity_mapping\" | \"kibana.alert.rule.tags\" | \"kibana.alert.rule.to\" | \"kibana.alert.rule.type\" | \"kibana.alert.rule.updated_at\" | \"kibana.alert.rule.updated_by\" | \"kibana.alert.rule.version\" | \"kibana.alert.start\" | \"kibana.alert.severity\" | \"kibana.alert.system_status\" | \"kibana.alert.workflow_reason\" | \"kibana.alert.workflow_status\" | \"kibana.alert.workflow_user\" | \"kibana.version\">>" ], "path": "x-pack/plugins/rule_registry/common/parse_technical_fields.ts", "deprecated": false, diff --git a/api_docs/rule_registry.mdx b/api_docs/rule_registry.mdx index d80d3340f3369..775cebd477af9 100644 --- a/api_docs/rule_registry.mdx +++ b/api_docs/rule_registry.mdx @@ -18,7 +18,7 @@ Contact [RAC](https://github.com/orgs/elastic/teams/rac) for questions regarding | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 136 | 0 | 114 | 7 | +| 132 | 0 | 109 | 7 | ## Server diff --git a/api_docs/runtime_fields.json b/api_docs/runtime_fields.json index 8348666426fa9..5ec4c49670b08 100644 --- a/api_docs/runtime_fields.json +++ b/api_docs/runtime_fields.json @@ -152,7 +152,7 @@ "children": [ { "parentPluginId": "runtimeFields", - "id": "def-public.e", + "id": "def-public.FormState.submit.$1", "type": "CompoundType", "tags": [], "label": "e", @@ -330,7 +330,7 @@ "label": "type", "description": [], "signature": [ - "\"boolean\" | \"date\" | \"keyword\" | \"long\" | \"double\" | \"ip\"" + "\"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"long\" | \"double\"" ], "path": "x-pack/plugins/runtime_fields/public/types.ts", "deprecated": false @@ -363,7 +363,7 @@ "description": [], "signature": [ "ComboBoxOption", - "<\"boolean\" | \"date\" | \"keyword\" | \"long\" | \"double\" | \"ip\">[]" + "<\"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"long\" | \"double\">[]" ], "path": "x-pack/plugins/runtime_fields/public/constants.ts", "deprecated": false, @@ -377,7 +377,7 @@ "label": "RuntimeType", "description": [], "signature": [ - "\"boolean\" | \"date\" | \"keyword\" | \"long\" | \"double\" | \"ip\"" + "\"boolean\" | \"date\" | \"keyword\" | \"ip\" | \"long\" | \"double\"" ], "path": "x-pack/plugins/runtime_fields/public/types.ts", "deprecated": false, diff --git a/api_docs/saved_objects.json b/api_docs/saved_objects.json index 2a9dfcd2d2f73..d400068df4f83 100644 --- a/api_docs/saved_objects.json +++ b/api_docs/saved_objects.json @@ -57,7 +57,7 @@ "children": [ { "parentPluginId": "savedObjects", - "id": "def-public.props", + "id": "def-public.SavedObjectFinderUi.propTypes.onChoose.$1", "type": "Object", "tags": [], "label": "props", @@ -70,7 +70,7 @@ }, { "parentPluginId": "savedObjects", - "id": "def-public.propName", + "id": "def-public.SavedObjectFinderUi.propTypes.onChoose.$2", "type": "string", "tags": [], "label": "propName", @@ -80,7 +80,7 @@ }, { "parentPluginId": "savedObjects", - "id": "def-public.componentName", + "id": "def-public.SavedObjectFinderUi.propTypes.onChoose.$3", "type": "string", "tags": [], "label": "componentName", @@ -90,7 +90,7 @@ }, { "parentPluginId": "savedObjects", - "id": "def-public.location", + "id": "def-public.SavedObjectFinderUi.propTypes.onChoose.$4", "type": "string", "tags": [], "label": "location", @@ -100,7 +100,7 @@ }, { "parentPluginId": "savedObjects", - "id": "def-public.propFullName", + "id": "def-public.SavedObjectFinderUi.propTypes.onChoose.$5", "type": "string", "tags": [], "label": "propFullName", @@ -129,7 +129,7 @@ "children": [ { "parentPluginId": "savedObjects", - "id": "def-public.props", + "id": "def-public.SavedObjectFinderUi.propTypes.noItemsMessage.$1", "type": "Object", "tags": [], "label": "props", @@ -142,7 +142,7 @@ }, { "parentPluginId": "savedObjects", - "id": "def-public.propName", + "id": "def-public.SavedObjectFinderUi.propTypes.noItemsMessage.$2", "type": "string", "tags": [], "label": "propName", @@ -152,7 +152,7 @@ }, { "parentPluginId": "savedObjects", - "id": "def-public.componentName", + "id": "def-public.SavedObjectFinderUi.propTypes.noItemsMessage.$3", "type": "string", "tags": [], "label": "componentName", @@ -162,7 +162,7 @@ }, { "parentPluginId": "savedObjects", - "id": "def-public.location", + "id": "def-public.SavedObjectFinderUi.propTypes.noItemsMessage.$4", "type": "string", "tags": [], "label": "location", @@ -172,7 +172,7 @@ }, { "parentPluginId": "savedObjects", - "id": "def-public.propFullName", + "id": "def-public.SavedObjectFinderUi.propTypes.noItemsMessage.$5", "type": "string", "tags": [], "label": "propFullName", @@ -199,7 +199,7 @@ "children": [ { "parentPluginId": "savedObjects", - "id": "def-public.props", + "id": "def-public.SavedObjectFinderUi.propTypes.savedObjectMetaData.$1", "type": "Object", "tags": [], "label": "props", @@ -212,7 +212,7 @@ }, { "parentPluginId": "savedObjects", - "id": "def-public.propName", + "id": "def-public.SavedObjectFinderUi.propTypes.savedObjectMetaData.$2", "type": "string", "tags": [], "label": "propName", @@ -222,7 +222,7 @@ }, { "parentPluginId": "savedObjects", - "id": "def-public.componentName", + "id": "def-public.SavedObjectFinderUi.propTypes.savedObjectMetaData.$3", "type": "string", "tags": [], "label": "componentName", @@ -232,7 +232,7 @@ }, { "parentPluginId": "savedObjects", - "id": "def-public.location", + "id": "def-public.SavedObjectFinderUi.propTypes.savedObjectMetaData.$4", "type": "string", "tags": [], "label": "location", @@ -242,7 +242,7 @@ }, { "parentPluginId": "savedObjects", - "id": "def-public.propFullName", + "id": "def-public.SavedObjectFinderUi.propTypes.savedObjectMetaData.$5", "type": "string", "tags": [], "label": "propFullName", @@ -269,7 +269,7 @@ "children": [ { "parentPluginId": "savedObjects", - "id": "def-public.props", + "id": "def-public.SavedObjectFinderUi.propTypes.initialPageSize.$1", "type": "Object", "tags": [], "label": "props", @@ -282,7 +282,7 @@ }, { "parentPluginId": "savedObjects", - "id": "def-public.propName", + "id": "def-public.SavedObjectFinderUi.propTypes.initialPageSize.$2", "type": "string", "tags": [], "label": "propName", @@ -292,7 +292,7 @@ }, { "parentPluginId": "savedObjects", - "id": "def-public.componentName", + "id": "def-public.SavedObjectFinderUi.propTypes.initialPageSize.$3", "type": "string", "tags": [], "label": "componentName", @@ -302,7 +302,7 @@ }, { "parentPluginId": "savedObjects", - "id": "def-public.location", + "id": "def-public.SavedObjectFinderUi.propTypes.initialPageSize.$4", "type": "string", "tags": [], "label": "location", @@ -312,7 +312,7 @@ }, { "parentPluginId": "savedObjects", - "id": "def-public.propFullName", + "id": "def-public.SavedObjectFinderUi.propTypes.initialPageSize.$5", "type": "string", "tags": [], "label": "propFullName", @@ -339,7 +339,7 @@ "children": [ { "parentPluginId": "savedObjects", - "id": "def-public.props", + "id": "def-public.SavedObjectFinderUi.propTypes.fixedPageSize.$1", "type": "Object", "tags": [], "label": "props", @@ -352,7 +352,7 @@ }, { "parentPluginId": "savedObjects", - "id": "def-public.propName", + "id": "def-public.SavedObjectFinderUi.propTypes.fixedPageSize.$2", "type": "string", "tags": [], "label": "propName", @@ -362,7 +362,7 @@ }, { "parentPluginId": "savedObjects", - "id": "def-public.componentName", + "id": "def-public.SavedObjectFinderUi.propTypes.fixedPageSize.$3", "type": "string", "tags": [], "label": "componentName", @@ -372,7 +372,7 @@ }, { "parentPluginId": "savedObjects", - "id": "def-public.location", + "id": "def-public.SavedObjectFinderUi.propTypes.fixedPageSize.$4", "type": "string", "tags": [], "label": "location", @@ -382,7 +382,7 @@ }, { "parentPluginId": "savedObjects", - "id": "def-public.propFullName", + "id": "def-public.SavedObjectFinderUi.propTypes.fixedPageSize.$5", "type": "string", "tags": [], "label": "propFullName", @@ -409,7 +409,7 @@ "children": [ { "parentPluginId": "savedObjects", - "id": "def-public.props", + "id": "def-public.SavedObjectFinderUi.propTypes.showFilter.$1", "type": "Object", "tags": [], "label": "props", @@ -422,7 +422,7 @@ }, { "parentPluginId": "savedObjects", - "id": "def-public.propName", + "id": "def-public.SavedObjectFinderUi.propTypes.showFilter.$2", "type": "string", "tags": [], "label": "propName", @@ -432,7 +432,7 @@ }, { "parentPluginId": "savedObjects", - "id": "def-public.componentName", + "id": "def-public.SavedObjectFinderUi.propTypes.showFilter.$3", "type": "string", "tags": [], "label": "componentName", @@ -442,7 +442,7 @@ }, { "parentPluginId": "savedObjects", - "id": "def-public.location", + "id": "def-public.SavedObjectFinderUi.propTypes.showFilter.$4", "type": "string", "tags": [], "label": "location", @@ -452,7 +452,7 @@ }, { "parentPluginId": "savedObjects", - "id": "def-public.propFullName", + "id": "def-public.SavedObjectFinderUi.propTypes.showFilter.$5", "type": "string", "tags": [], "label": "propFullName", @@ -664,22 +664,6 @@ "plugin": "savedObjectsManagement", "path": "src/plugins/saved_objects_management/public/services/service_registry.ts" }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts" - }, { "plugin": "savedObjectsManagement", "path": "src/plugins/saved_objects_management/public/lib/create_field_list.ts" @@ -695,26 +679,6 @@ { "plugin": "savedObjectsManagement", "path": "src/plugins/saved_objects_management/public/management_section/object_view/components/form.tsx" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.test.ts" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.test.ts" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.test.ts" - }, - { - "plugin": "timelion", - "path": "src/plugins/timelion/public/services/saved_sheets.ts" - }, - { - "plugin": "timelion", - "path": "src/plugins/timelion/public/services/saved_sheets.ts" } ], "children": [ @@ -979,7 +943,7 @@ "children": [ { "parentPluginId": "savedObjects", - "id": "def-public.SavedObjectLoader.mapSavedObjectApiHits.$1.attributesidreferences", + "id": "def-public.SavedObjectLoader.mapSavedObjectApiHits.$1", "type": "Object", "tags": [], "label": "{\n attributes,\n id,\n references = [],\n }", @@ -989,7 +953,7 @@ "children": [ { "parentPluginId": "savedObjects", - "id": "def-public.SavedObjectLoader.mapSavedObjectApiHits.$1.attributesidreferences.attributes", + "id": "def-public.SavedObjectLoader.mapSavedObjectApiHits.$1.attributes", "type": "Object", "tags": [], "label": "attributes", @@ -1002,7 +966,7 @@ }, { "parentPluginId": "savedObjects", - "id": "def-public.SavedObjectLoader.mapSavedObjectApiHits.$1.attributesidreferences.id", + "id": "def-public.SavedObjectLoader.mapSavedObjectApiHits.$1.id", "type": "string", "tags": [], "label": "id", @@ -1012,7 +976,7 @@ }, { "parentPluginId": "savedObjects", - "id": "def-public.SavedObjectLoader.mapSavedObjectApiHits.$1.attributesidreferences.references", + "id": "def-public.SavedObjectLoader.mapSavedObjectApiHits.$1.references", "type": "Array", "tags": [], "label": "references", @@ -1448,7 +1412,7 @@ "children": [ { "parentPluginId": "savedObjects", - "id": "def-public.isErrorNonFatal.$1.error", + "id": "def-public.isErrorNonFatal.$1", "type": "Object", "tags": [], "label": "error", @@ -1458,7 +1422,7 @@ "children": [ { "parentPluginId": "savedObjects", - "id": "def-public.isErrorNonFatal.$1.error.message", + "id": "def-public.isErrorNonFatal.$1.message", "type": "string", "tags": [], "label": "message", @@ -1588,7 +1552,7 @@ }, { "parentPluginId": "savedObjects", - "id": "def-public.saveWithConfirmation.$2.savedObject", + "id": "def-public.saveWithConfirmation.$2", "type": "Object", "tags": [], "label": "savedObject", @@ -1598,7 +1562,7 @@ "children": [ { "parentPluginId": "savedObjects", - "id": "def-public.saveWithConfirmation.$2.savedObject.getEsType", + "id": "def-public.saveWithConfirmation.$2.getEsType", "type": "Function", "tags": [], "label": "getEsType", @@ -1613,7 +1577,7 @@ }, { "parentPluginId": "savedObjects", - "id": "def-public.saveWithConfirmation.$2.savedObject.title", + "id": "def-public.saveWithConfirmation.$2.title", "type": "string", "tags": [], "label": "title", @@ -1623,7 +1587,7 @@ }, { "parentPluginId": "savedObjects", - "id": "def-public.saveWithConfirmation.$2.savedObject.displayName", + "id": "def-public.saveWithConfirmation.$2.displayName", "type": "string", "tags": [], "label": "displayName", @@ -1657,7 +1621,7 @@ }, { "parentPluginId": "savedObjects", - "id": "def-public.saveWithConfirmation.$4.services", + "id": "def-public.saveWithConfirmation.$4", "type": "Object", "tags": [], "label": "services", @@ -1667,7 +1631,7 @@ "children": [ { "parentPluginId": "savedObjects", - "id": "def-public.saveWithConfirmation.$4.services.savedObjectsClient", + "id": "def-public.saveWithConfirmation.$4.savedObjectsClient", "type": "Object", "tags": [], "label": "savedObjectsClient", @@ -1794,7 +1758,7 @@ }, { "parentPluginId": "savedObjects", - "id": "def-public.saveWithConfirmation.$4.services.overlays", + "id": "def-public.saveWithConfirmation.$4.overlays", "type": "Object", "tags": [], "label": "overlays", @@ -2146,6 +2110,10 @@ "path": "src/plugins/saved_objects/public/types.ts", "deprecated": true, "references": [ + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_route.tsx" + }, { "plugin": "savedObjectsTaggingOss", "path": "src/plugins/saved_objects_tagging_oss/public/api.ts" @@ -2166,6 +2134,14 @@ "plugin": "discover", "path": "src/plugins/discover/public/saved_searches/_saved_search.ts" }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_route.tsx" + }, + { + "plugin": "discover", + "path": "src/plugins/discover/public/application/apps/main/discover_main_route.tsx" + }, { "plugin": "visualizations", "path": "src/plugins/visualizations/public/saved_visualizations/_saved_vis.ts" @@ -2230,22 +2206,6 @@ "plugin": "dashboard", "path": "src/plugins/dashboard/public/application/actions/clone_panel_action.tsx" }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.ts" - }, { "plugin": "visualize", "path": "src/plugins/visualize/public/application/types.ts" @@ -2290,30 +2250,6 @@ "plugin": "visDefaultEditor", "path": "src/plugins/vis_default_editor/public/components/sidebar/sidebar.tsx" }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.test.ts" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.test.ts" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.test.ts" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.test.ts" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.test.ts" - }, - { - "plugin": "savedObjectsManagement", - "path": "src/plugins/saved_objects_management/public/lib/resolve_saved_objects.test.ts" - }, { "plugin": "visualize", "path": "src/plugins/visualize/target/types/public/application/types.d.ts" @@ -3286,7 +3222,7 @@ "children": [ { "parentPluginId": "savedObjects", - "id": "def-public.services", + "id": "def-public.SavedObjectDecoratorConfig.factory.$1", "type": "Object", "tags": [], "label": "services", @@ -3795,7 +3731,7 @@ "children": [ { "parentPluginId": "savedObjects", - "id": "def-public.services", + "id": "def-public.SavedObjectDecoratorFactory.$1", "type": "Object", "tags": [], "label": "services", @@ -3916,10 +3852,6 @@ { "plugin": "dashboard", "path": "src/plugins/dashboard/public/saved_dashboards/saved_dashboard.ts" - }, - { - "plugin": "timelion", - "path": "src/plugins/timelion/public/services/_saved_sheet.ts" } ] }, @@ -3958,6 +3890,14 @@ "plugin": "maps", "path": "x-pack/plugins/maps/public/routes/list_page/maps_list_view.tsx" }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/apps/listing_route.tsx" + }, + { + "plugin": "graph", + "path": "x-pack/plugins/graph/public/apps/listing_route.tsx" + }, { "plugin": "visualize", "path": "src/plugins/visualize/public/application/components/visualize_listing.tsx" diff --git a/api_docs/saved_objects_management.json b/api_docs/saved_objects_management.json index f66576a8bedff..84bfebb23717a 100644 --- a/api_docs/saved_objects_management.json +++ b/api_docs/saved_objects_management.json @@ -469,32 +469,6 @@ "path": "src/plugins/saved_objects_management/public/lib/process_import_response.ts", "deprecated": false }, - { - "parentPluginId": "savedObjectsManagement", - "id": "def-public.ProcessedImportResponse.conflictedSavedObjectsLinkedToSavedSearches", - "type": "Uncategorized", - "tags": [], - "label": "conflictedSavedObjectsLinkedToSavedSearches", - "description": [], - "signature": [ - "undefined" - ], - "path": "src/plugins/saved_objects_management/public/lib/process_import_response.ts", - "deprecated": false - }, - { - "parentPluginId": "savedObjectsManagement", - "id": "def-public.ProcessedImportResponse.conflictedSearchDocs", - "type": "Uncategorized", - "tags": [], - "label": "conflictedSearchDocs", - "description": [], - "signature": [ - "undefined" - ], - "path": "src/plugins/saved_objects_management/public/lib/process_import_response.ts", - "deprecated": false - }, { "parentPluginId": "savedObjectsManagement", "id": "def-public.ProcessedImportResponse.importWarnings", diff --git a/api_docs/saved_objects_management.mdx b/api_docs/saved_objects_management.mdx index d48fc7634d7de..9dc78f44889f2 100644 --- a/api_docs/saved_objects_management.mdx +++ b/api_docs/saved_objects_management.mdx @@ -18,7 +18,7 @@ Contact [Kibana Core](https://github.com/orgs/elastic/teams/kibana-core) for que | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 106 | 0 | 93 | 0 | +| 104 | 0 | 91 | 0 | ## Client diff --git a/api_docs/saved_objects_tagging_oss.json b/api_docs/saved_objects_tagging_oss.json index eb9d9a733dced..2e6485256ca00 100644 --- a/api_docs/saved_objects_tagging_oss.json +++ b/api_docs/saved_objects_tagging_oss.json @@ -833,7 +833,7 @@ "children": [ { "parentPluginId": "savedObjectsTaggingOss", - "id": "def-public.props", + "id": "def-public.SavedObjectsTaggingApiUiComponent.TagList.$1", "type": "CompoundType", "tags": [], "label": "props", @@ -846,7 +846,7 @@ }, { "parentPluginId": "savedObjectsTaggingOss", - "id": "def-public.context", + "id": "def-public.SavedObjectsTaggingApiUiComponent.TagList.$2", "type": "Any", "tags": [], "label": "context", @@ -885,7 +885,7 @@ "children": [ { "parentPluginId": "savedObjectsTaggingOss", - "id": "def-public.props", + "id": "def-public.SavedObjectsTaggingApiUiComponent.TagSelector.$1", "type": "CompoundType", "tags": [], "label": "props", @@ -898,7 +898,7 @@ }, { "parentPluginId": "savedObjectsTaggingOss", - "id": "def-public.context", + "id": "def-public.SavedObjectsTaggingApiUiComponent.TagSelector.$2", "type": "Any", "tags": [], "label": "context", @@ -937,7 +937,7 @@ "children": [ { "parentPluginId": "savedObjectsTaggingOss", - "id": "def-public.props", + "id": "def-public.SavedObjectsTaggingApiUiComponent.SavedObjectSaveModalTagSelector.$1", "type": "CompoundType", "tags": [], "label": "props", @@ -950,7 +950,7 @@ }, { "parentPluginId": "savedObjectsTaggingOss", - "id": "def-public.context", + "id": "def-public.SavedObjectsTaggingApiUiComponent.SavedObjectSaveModalTagSelector.$2", "type": "Any", "tags": [], "label": "context", @@ -1093,7 +1093,7 @@ "children": [ { "parentPluginId": "savedObjectsTaggingOss", - "id": "def-public.object", + "id": "def-public.SavedObjectTagDecoratorTypeGuard.$1", "type": "Object", "tags": [], "label": "object", diff --git a/api_docs/screenshot_mode.json b/api_docs/screenshot_mode.json index 0f875acc8b10f..fe8106b922392 100644 --- a/api_docs/screenshot_mode.json +++ b/api_docs/screenshot_mode.json @@ -198,7 +198,7 @@ "children": [ { "parentPluginId": "screenshotMode", - "id": "def-server.request", + "id": "def-server.ScreenshotModePluginSetup.isScreenshotMode.$1", "type": "Object", "tags": [], "label": "request", @@ -273,7 +273,7 @@ "children": [ { "parentPluginId": "screenshotMode", - "id": "def-server.request", + "id": "def-server.ScreenshotModePluginStart.isScreenshotMode.$1", "type": "Object", "tags": [], "label": "request", diff --git a/api_docs/security_solution.json b/api_docs/security_solution.json index 7403e8386ce6a..b6a064ded2090 100644 --- a/api_docs/security_solution.json +++ b/api_docs/security_solution.json @@ -273,7 +273,7 @@ "signature": [ "Pick<", "TGridModel", - ", \"columns\" | \"filters\" | \"title\" | \"id\" | \"sort\" | \"version\" | \"isLoading\" | \"dateRange\" | \"defaultColumns\" | \"savedObjectId\" | \"dataProviders\" | \"deletedEventIds\" | \"excludedRowRendererIds\" | \"expandedDetail\" | \"graphEventId\" | \"kqlQuery\" | \"indexNames\" | \"isSelectAllChecked\" | \"itemsPerPage\" | \"itemsPerPageOptions\" | \"loadingEventIds\" | \"showCheckboxes\" | \"selectedEventIds\"> & { activeTab: ", + ", \"columns\" | \"filters\" | \"title\" | \"id\" | \"sort\" | \"version\" | \"isLoading\" | \"filterManager\" | \"dateRange\" | \"defaultColumns\" | \"savedObjectId\" | \"unit\" | \"dataProviders\" | \"deletedEventIds\" | \"documentType\" | \"excludedRowRendererIds\" | \"expandedDetail\" | \"footerText\" | \"graphEventId\" | \"kqlQuery\" | \"queryFields\" | \"indexNames\" | \"isSelectAllChecked\" | \"itemsPerPage\" | \"itemsPerPageOptions\" | \"loadingEventIds\" | \"loadingText\" | \"selectAll\" | \"showCheckboxes\" | \"selectedEventIds\"> & { activeTab: ", { "pluginId": "securitySolution", "scope": "common", @@ -412,7 +412,7 @@ "label": "config", "description": [], "signature": [ - "Readonly<{} & { enabled: boolean; signalsIndex: string; maxRuleImportExportSize: number; maxRuleImportPayloadBytes: number; maxTimelineImportExportSize: number; maxTimelineImportPayloadBytes: number; alertMergeStrategy: \"allFields\" | \"missingFields\" | \"noFields\"; enableExperimental: string[]; endpointResultListDefaultFirstPageIndex: number; endpointResultListDefaultPageSize: number; packagerTaskInterval: string; prebuiltRulesFromFileSystem: boolean; prebuiltRulesFromSavedObjects: boolean; }>" + "Readonly<{} & { enabled: boolean; signalsIndex: string; maxRuleImportExportSize: number; maxRuleImportPayloadBytes: number; maxTimelineImportExportSize: number; maxTimelineImportPayloadBytes: number; alertMergeStrategy: \"allFields\" | \"missingFields\" | \"noFields\"; alertIgnoreFields: string[]; enableExperimental: string[]; endpointResultListDefaultFirstPageIndex: number; endpointResultListDefaultPageSize: number; packagerTaskInterval: string; prebuiltRulesFromFileSystem: boolean; prebuiltRulesFromSavedObjects: boolean; }>" ], "path": "x-pack/plugins/security_solution/server/client/client.ts", "deprecated": false, @@ -845,7 +845,7 @@ "label": "ConfigType", "description": [], "signature": [ - "{ readonly enabled: boolean; readonly signalsIndex: string; readonly maxRuleImportExportSize: number; readonly maxRuleImportPayloadBytes: number; readonly maxTimelineImportExportSize: number; readonly maxTimelineImportPayloadBytes: number; readonly alertMergeStrategy: \"allFields\" | \"missingFields\" | \"noFields\"; readonly enableExperimental: string[]; readonly endpointResultListDefaultFirstPageIndex: number; readonly endpointResultListDefaultPageSize: number; readonly packagerTaskInterval: string; readonly prebuiltRulesFromFileSystem: boolean; readonly prebuiltRulesFromSavedObjects: boolean; }" + "{ readonly enabled: boolean; readonly signalsIndex: string; readonly maxRuleImportExportSize: number; readonly maxRuleImportPayloadBytes: number; readonly maxTimelineImportExportSize: number; readonly maxTimelineImportPayloadBytes: number; readonly alertMergeStrategy: \"allFields\" | \"missingFields\" | \"noFields\"; readonly alertIgnoreFields: string[]; readonly enableExperimental: string[]; readonly endpointResultListDefaultFirstPageIndex: number; readonly endpointResultListDefaultPageSize: number; readonly packagerTaskInterval: string; readonly prebuiltRulesFromFileSystem: boolean; readonly prebuiltRulesFromSavedObjects: boolean; }" ], "path": "x-pack/plugins/security_solution/server/config.ts", "deprecated": false, @@ -1030,16 +1030,6 @@ "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", "deprecated": false, "children": [ - { - "parentPluginId": "securitySolution", - "id": "def-common.ActionProps.ariaRowindex", - "type": "number", - "tags": [], - "label": "ariaRowindex", - "description": [], - "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", - "deprecated": false - }, { "parentPluginId": "securitySolution", "id": "def-common.ActionProps.action", @@ -1095,14 +1085,21 @@ }, { "parentPluginId": "securitySolution", - "id": "def-common.ActionProps.width", + "id": "def-common.ActionProps.ariaRowindex", "type": "number", "tags": [], - "label": "width", + "label": "ariaRowindex", + "description": [], + "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", + "deprecated": false + }, + { + "parentPluginId": "securitySolution", + "id": "def-common.ActionProps.checked", + "type": "boolean", + "tags": [], + "label": "checked", "description": [], - "signature": [ - "number | undefined" - ], "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", "deprecated": false }, @@ -1128,42 +1125,49 @@ }, { "parentPluginId": "securitySolution", - "id": "def-common.ActionProps.checked", - "type": "boolean", + "id": "def-common.ActionProps.data", + "type": "Array", "tags": [], - "label": "checked", + "label": "data", "description": [], + "signature": [ + { + "pluginId": "timelines", + "scope": "common", + "docId": "kibTimelinesPluginApi", + "section": "def-common.TimelineNonEcsData", + "text": "TimelineNonEcsData" + }, + "[]" + ], "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", "deprecated": false }, { "parentPluginId": "securitySolution", - "id": "def-common.ActionProps.onRowSelected", - "type": "Function", + "id": "def-common.ActionProps.disabled", + "type": "CompoundType", "tags": [], - "label": "onRowSelected", + "label": "disabled", "description": [], "signature": [ - "({ eventIds, isSelected, }: { eventIds: string[]; isSelected: boolean; }) => void" + "boolean | undefined" ], "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "securitySolution", - "id": "def-common.__0", - "type": "Object", - "tags": [], - "label": "__0", - "description": [], - "signature": [ - "{ eventIds: string[]; isSelected: boolean; }" - ], - "path": "x-pack/plugins/timelines/common/types/timeline/store.ts", - "deprecated": false - } - ] + "deprecated": false + }, + { + "parentPluginId": "securitySolution", + "id": "def-common.ActionProps.ecsData", + "type": "Object", + "tags": [], + "label": "ecsData", + "description": [], + "signature": [ + "Ecs" + ], + "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", + "deprecated": false }, { "parentPluginId": "securitySolution", @@ -1177,123 +1181,139 @@ }, { "parentPluginId": "securitySolution", - "id": "def-common.ActionProps.loadingEventIds", + "id": "def-common.ActionProps.eventIdToNoteIds", "type": "Object", "tags": [], - "label": "loadingEventIds", + "label": "eventIdToNoteIds", "description": [], "signature": [ - "readonly string[]" + "Readonly> | undefined" ], "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", "deprecated": false }, { "parentPluginId": "securitySolution", - "id": "def-common.ActionProps.onEventDetailsPanelOpened", - "type": "Function", + "id": "def-common.ActionProps.index", + "type": "number", "tags": [], - "label": "onEventDetailsPanelOpened", + "label": "index", "description": [], - "signature": [ - "() => void" - ], "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "deprecated": false }, { "parentPluginId": "securitySolution", - "id": "def-common.ActionProps.showCheckboxes", - "type": "boolean", + "id": "def-common.ActionProps.isEventPinned", + "type": "CompoundType", "tags": [], - "label": "showCheckboxes", + "label": "isEventPinned", "description": [], + "signature": [ + "boolean | undefined" + ], "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", "deprecated": false }, { "parentPluginId": "securitySolution", - "id": "def-common.ActionProps.data", - "type": "Array", + "id": "def-common.ActionProps.isEventViewer", + "type": "CompoundType", "tags": [], - "label": "data", + "label": "isEventViewer", "description": [], "signature": [ - { - "pluginId": "timelines", - "scope": "common", - "docId": "kibTimelinesPluginApi", - "section": "def-common.TimelineNonEcsData", - "text": "TimelineNonEcsData" - }, - "[]" + "boolean | undefined" ], "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", "deprecated": false }, { "parentPluginId": "securitySolution", - "id": "def-common.ActionProps.ecsData", + "id": "def-common.ActionProps.loadingEventIds", "type": "Object", "tags": [], - "label": "ecsData", + "label": "loadingEventIds", "description": [], "signature": [ - "Ecs" + "readonly string[]" ], "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", "deprecated": false }, { "parentPluginId": "securitySolution", - "id": "def-common.ActionProps.index", - "type": "number", + "id": "def-common.ActionProps.onEventDetailsPanelOpened", + "type": "Function", "tags": [], - "label": "index", + "label": "onEventDetailsPanelOpened", "description": [], + "signature": [ + "() => void" + ], "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", - "deprecated": false + "deprecated": false, + "children": [], + "returnComment": [] }, { "parentPluginId": "securitySolution", - "id": "def-common.ActionProps.eventIdToNoteIds", - "type": "Object", + "id": "def-common.ActionProps.onRowSelected", + "type": "Function", "tags": [], - "label": "eventIdToNoteIds", + "label": "onRowSelected", "description": [], "signature": [ - "Readonly> | undefined" + "({ eventIds, isSelected, }: { eventIds: string[]; isSelected: boolean; }) => void" ], "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", - "deprecated": false + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "securitySolution", + "id": "def-common.ActionProps.onRowSelected.$1", + "type": "Object", + "tags": [], + "label": "__0", + "description": [], + "signature": [ + "{ eventIds: string[]; isSelected: boolean; }" + ], + "path": "x-pack/plugins/timelines/common/types/timeline/store.ts", + "deprecated": false + } + ] }, { "parentPluginId": "securitySolution", - "id": "def-common.ActionProps.isEventPinned", - "type": "CompoundType", + "id": "def-common.ActionProps.onRuleChange", + "type": "Function", "tags": [], - "label": "isEventPinned", + "label": "onRuleChange", "description": [], "signature": [ - "boolean | undefined" + "(() => void) | undefined" ], "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", - "deprecated": false + "deprecated": false, + "children": [], + "returnComment": [] }, { "parentPluginId": "securitySolution", - "id": "def-common.ActionProps.isEventViewer", - "type": "CompoundType", + "id": "def-common.ActionProps.refetch", + "type": "Function", "tags": [], - "label": "isEventViewer", + "label": "refetch", "description": [], "signature": [ - "boolean | undefined" + "(() => void) | undefined" ], "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", - "deprecated": false + "deprecated": false, + "children": [], + "returnComment": [] }, { "parentPluginId": "securitySolution", @@ -1307,13 +1327,13 @@ }, { "parentPluginId": "securitySolution", - "id": "def-common.ActionProps.setEventsLoading", + "id": "def-common.ActionProps.setEventsDeleted", "type": "Function", "tags": [], - "label": "setEventsLoading", + "label": "setEventsDeleted", "description": [], "signature": [ - "(params: { eventIds: string[]; isLoading: boolean; }) => void" + "(params: { eventIds: string[]; isDeleted: boolean; }) => void" ], "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", "deprecated": false, @@ -1321,13 +1341,13 @@ "children": [ { "parentPluginId": "securitySolution", - "id": "def-common.params", + "id": "def-common.ActionProps.setEventsDeleted.$1", "type": "Object", "tags": [], "label": "params", "description": [], "signature": [ - "{ eventIds: string[]; isLoading: boolean; }" + "{ eventIds: string[]; isDeleted: boolean; }" ], "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", "deprecated": false @@ -1336,13 +1356,13 @@ }, { "parentPluginId": "securitySolution", - "id": "def-common.ActionProps.setEventsDeleted", + "id": "def-common.ActionProps.setEventsLoading", "type": "Function", "tags": [], - "label": "setEventsDeleted", + "label": "setEventsLoading", "description": [], "signature": [ - "(params: { eventIds: string[]; isDeleted: boolean; }) => void" + "(params: { eventIds: string[]; isLoading: boolean; }) => void" ], "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", "deprecated": false, @@ -1350,13 +1370,13 @@ "children": [ { "parentPluginId": "securitySolution", - "id": "def-common.params", + "id": "def-common.ActionProps.setEventsLoading.$1", "type": "Object", "tags": [], "label": "params", "description": [], "signature": [ - "{ eventIds: string[]; isDeleted: boolean; }" + "{ eventIds: string[]; isLoading: boolean; }" ], "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", "deprecated": false @@ -1365,33 +1385,13 @@ }, { "parentPluginId": "securitySolution", - "id": "def-common.ActionProps.refetch", - "type": "Function", - "tags": [], - "label": "refetch", - "description": [], - "signature": [ - "(() => void) | undefined" - ], - "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "securitySolution", - "id": "def-common.ActionProps.onRuleChange", - "type": "Function", + "id": "def-common.ActionProps.showCheckboxes", + "type": "boolean", "tags": [], - "label": "onRuleChange", + "label": "showCheckboxes", "description": [], - "signature": [ - "(() => void) | undefined" - ], "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "deprecated": false }, { "parentPluginId": "securitySolution", @@ -1450,6 +1450,19 @@ "deprecated": false, "children": [], "returnComment": [] + }, + { + "parentPluginId": "securitySolution", + "id": "def-common.ActionProps.width", + "type": "number", + "tags": [], + "label": "width", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", + "deprecated": false } ], "initialIsOpen": false @@ -2874,7 +2887,7 @@ "children": [ { "parentPluginId": "securitySolution", - "id": "def-common.ColumnRenderer.renderColumn.$1.columnNameeventIdfieldtimelineIdtruncatevalueslinkValues", + "id": "def-common.ColumnRenderer.renderColumn.$1", "type": "Object", "tags": [], "label": "{\n columnName,\n eventId,\n field,\n timelineId,\n truncate,\n values,\n linkValues,\n }", @@ -2884,7 +2897,7 @@ "children": [ { "parentPluginId": "securitySolution", - "id": "def-common.ColumnRenderer.renderColumn.$1.columnNameeventIdfieldtimelineIdtruncatevalueslinkValues.columnName", + "id": "def-common.ColumnRenderer.renderColumn.$1.columnName", "type": "string", "tags": [], "label": "columnName", @@ -2894,7 +2907,7 @@ }, { "parentPluginId": "securitySolution", - "id": "def-common.ColumnRenderer.renderColumn.$1.columnNameeventIdfieldtimelineIdtruncatevalueslinkValues.eventId", + "id": "def-common.ColumnRenderer.renderColumn.$1.eventId", "type": "string", "tags": [], "label": "eventId", @@ -2904,7 +2917,7 @@ }, { "parentPluginId": "securitySolution", - "id": "def-common.ColumnRenderer.renderColumn.$1.columnNameeventIdfieldtimelineIdtruncatevalueslinkValues.field", + "id": "def-common.ColumnRenderer.renderColumn.$1.field", "type": "CompoundType", "tags": [], "label": "field", @@ -2912,7 +2925,7 @@ "signature": [ "Pick<", "EuiDataGridColumn", - ", \"id\" | \"display\" | \"actions\" | \"defaultSortDirection\" | \"displayAsText\" | \"initialWidth\" | \"isSortable\"> & { aggregatable?: boolean | undefined; tGridCellActions?: ", + ", \"id\" | \"schema\" | \"display\" | \"actions\" | \"defaultSortDirection\" | \"displayAsText\" | \"initialWidth\" | \"isSortable\"> & { aggregatable?: boolean | undefined; tGridCellActions?: ", { "pluginId": "timelines", "scope": "common", @@ -2937,7 +2950,7 @@ }, { "parentPluginId": "securitySolution", - "id": "def-common.ColumnRenderer.renderColumn.$1.columnNameeventIdfieldtimelineIdtruncatevalueslinkValues.timelineId", + "id": "def-common.ColumnRenderer.renderColumn.$1.timelineId", "type": "string", "tags": [], "label": "timelineId", @@ -2947,7 +2960,7 @@ }, { "parentPluginId": "securitySolution", - "id": "def-common.ColumnRenderer.renderColumn.$1.columnNameeventIdfieldtimelineIdtruncatevalueslinkValues.truncate", + "id": "def-common.ColumnRenderer.renderColumn.$1.truncate", "type": "CompoundType", "tags": [], "label": "truncate", @@ -2960,7 +2973,7 @@ }, { "parentPluginId": "securitySolution", - "id": "def-common.ColumnRenderer.renderColumn.$1.columnNameeventIdfieldtimelineIdtruncatevalueslinkValues.values", + "id": "def-common.ColumnRenderer.renderColumn.$1.values", "type": "CompoundType", "tags": [], "label": "values", @@ -2973,7 +2986,7 @@ }, { "parentPluginId": "securitySolution", - "id": "def-common.ColumnRenderer.renderColumn.$1.columnNameeventIdfieldtimelineIdtruncatevalueslinkValues.linkValues", + "id": "def-common.ColumnRenderer.renderColumn.$1.linkValues", "type": "CompoundType", "tags": [], "label": "linkValues", @@ -5259,7 +5272,7 @@ "children": [ { "parentPluginId": "securitySolution", - "id": "def-common.HeaderActionProps.onSelectAll.$1.isSelected", + "id": "def-common.HeaderActionProps.onSelectAll.$1", "type": "Object", "tags": [], "label": "{ isSelected }", @@ -5269,7 +5282,7 @@ "children": [ { "parentPluginId": "securitySolution", - "id": "def-common.HeaderActionProps.onSelectAll.$1.isSelected.isSelected", + "id": "def-common.HeaderActionProps.onSelectAll.$1.isSelected", "type": "boolean", "tags": [], "label": "isSelected", @@ -14694,7 +14707,7 @@ "children": [ { "parentPluginId": "securitySolution", - "id": "def-common.RowRenderer.renderRow.$1.browserFieldsdataisDraggabletimelineId", + "id": "def-common.RowRenderer.renderRow.$1", "type": "Object", "tags": [], "label": "{\n browserFields,\n data,\n isDraggable,\n timelineId,\n }", @@ -14704,7 +14717,7 @@ "children": [ { "parentPluginId": "securitySolution", - "id": "def-common.RowRenderer.renderRow.$1.browserFieldsdataisDraggabletimelineId.browserFields", + "id": "def-common.RowRenderer.renderRow.$1.browserFields", "type": "Object", "tags": [], "label": "browserFields", @@ -14725,7 +14738,7 @@ }, { "parentPluginId": "securitySolution", - "id": "def-common.RowRenderer.renderRow.$1.browserFieldsdataisDraggabletimelineId.data", + "id": "def-common.RowRenderer.renderRow.$1.data", "type": "Object", "tags": [], "label": "data", @@ -14738,7 +14751,7 @@ }, { "parentPluginId": "securitySolution", - "id": "def-common.RowRenderer.renderRow.$1.browserFieldsdataisDraggabletimelineId.isDraggable", + "id": "def-common.RowRenderer.renderRow.$1.isDraggable", "type": "boolean", "tags": [], "label": "isDraggable", @@ -14748,7 +14761,7 @@ }, { "parentPluginId": "securitySolution", - "id": "def-common.RowRenderer.renderRow.$1.browserFieldsdataisDraggabletimelineId.timelineId", + "id": "def-common.RowRenderer.renderRow.$1.timelineId", "type": "string", "tags": [], "label": "timelineId", @@ -15688,6 +15701,19 @@ "path": "x-pack/plugins/timelines/common/search_strategy/timeline/events/all/index.ts", "deprecated": false, "children": [ + { + "parentPluginId": "securitySolution", + "id": "def-common.TimelineEventsAllStrategyResponse.consumers", + "type": "Object", + "tags": [], + "label": "consumers", + "description": [], + "signature": [ + "{ [x: string]: number; }" + ], + "path": "x-pack/plugins/timelines/common/search_strategy/timeline/events/all/index.ts", + "deprecated": false + }, { "parentPluginId": "securitySolution", "id": "def-common.TimelineEventsAllStrategyResponse.edges", @@ -16758,6 +16784,26 @@ "path": "x-pack/plugins/security_solution/common/types/timeline/store.ts", "deprecated": false }, + { + "parentPluginId": "securitySolution", + "id": "def-common.TimelinePersistInput.defaultColumns", + "type": "Array", + "tags": [], + "label": "defaultColumns", + "description": [], + "signature": [ + { + "pluginId": "timelines", + "scope": "common", + "docId": "kibTimelinesPluginApi", + "section": "def-common.ColumnHeaderOptions", + "text": "ColumnHeaderOptions" + }, + "[] | undefined" + ], + "path": "x-pack/plugins/security_solution/common/types/timeline/store.ts", + "deprecated": false + }, { "parentPluginId": "securitySolution", "id": "def-common.TimelinePersistInput.itemsPerPage", @@ -19107,7 +19153,7 @@ "signature": [ "Pick<", "EuiDataGridColumn", - ", \"id\" | \"display\" | \"actions\" | \"defaultSortDirection\" | \"displayAsText\" | \"initialWidth\" | \"isSortable\"> & { aggregatable?: boolean | undefined; tGridCellActions?: ", + ", \"id\" | \"schema\" | \"display\" | \"actions\" | \"defaultSortDirection\" | \"displayAsText\" | \"initialWidth\" | \"isSortable\"> & { aggregatable?: boolean | undefined; tGridCellActions?: ", { "pluginId": "timelines", "scope": "common", @@ -20335,7 +20381,7 @@ "children": [ { "parentPluginId": "securitySolution", - "id": "def-common.nextPage", + "id": "def-common.OnChangePage.$1", "type": "number", "tags": [], "label": "nextPage", @@ -20362,7 +20408,7 @@ "children": [ { "parentPluginId": "securitySolution", - "id": "def-common.columnId", + "id": "def-common.OnColumnRemoved.$1", "type": "string", "tags": [], "label": "columnId", @@ -20389,7 +20435,7 @@ "children": [ { "parentPluginId": "securitySolution", - "id": "def-common.__0", + "id": "def-common.OnColumnResized.$1", "type": "Object", "tags": [], "label": "__0", @@ -20429,7 +20475,7 @@ "children": [ { "parentPluginId": "securitySolution", - "id": "def-common.sorted", + "id": "def-common.OnColumnSorted.$1", "type": "Object", "tags": [], "label": "sorted", @@ -20475,7 +20521,7 @@ "children": [ { "parentPluginId": "securitySolution", - "id": "def-common.sorted", + "id": "def-common.OnColumnsSorted.$1", "type": "Array", "tags": [], "label": "sorted", @@ -20515,7 +20561,7 @@ "children": [ { "parentPluginId": "securitySolution", - "id": "def-common.eventId", + "id": "def-common.OnPinEvent.$1", "type": "string", "tags": [], "label": "eventId", @@ -20544,7 +20590,7 @@ "children": [ { "parentPluginId": "securitySolution", - "id": "def-common.__0", + "id": "def-common.OnRowSelected.$1", "type": "Object", "tags": [], "label": "__0", @@ -20576,7 +20622,7 @@ "children": [ { "parentPluginId": "securitySolution", - "id": "def-common.__0", + "id": "def-common.OnSelectAll.$1", "type": "Object", "tags": [], "label": "__0", @@ -20608,7 +20654,7 @@ "children": [ { "parentPluginId": "securitySolution", - "id": "def-common.eventId", + "id": "def-common.OnUnPinEvent.$1", "type": "string", "tags": [], "label": "eventId", @@ -20645,7 +20691,7 @@ "children": [ { "parentPluginId": "securitySolution", - "id": "def-common.columns", + "id": "def-common.OnUpdateColumns.$1", "type": "Array", "tags": [], "label": "columns", @@ -22033,7 +22079,9 @@ "label": "TimelineExpandedDetail", "description": [], "signature": [ - "{ query?: { panelView?: \"eventDetail\" | undefined; params?: { eventId: string; indexName: string; refetch?: (() => void) | undefined; } | undefined; } | Record | { panelView?: \"hostDetail\" | undefined; params?: { hostName: string; } | undefined; } | { panelView?: \"networkDetail\" | undefined; params?: { ip: string; flowTarget: ", + "{ query?: { panelView?: \"eventDetail\" | undefined; params?: { eventId: string; indexName: string; refetch?: (() => void) | undefined; ecsData?: ", + "Ecs", + " | undefined; } | undefined; } | Record | { panelView?: \"hostDetail\" | undefined; params?: { hostName: string; } | undefined; } | { panelView?: \"networkDetail\" | undefined; params?: { ip: string; flowTarget: ", { "pluginId": "securitySolution", "scope": "common", @@ -22041,7 +22089,9 @@ "section": "def-common.FlowTarget", "text": "FlowTarget" }, - "; } | undefined; } | undefined; graph?: { panelView?: \"eventDetail\" | undefined; params?: { eventId: string; indexName: string; refetch?: (() => void) | undefined; } | undefined; } | Record | { panelView?: \"hostDetail\" | undefined; params?: { hostName: string; } | undefined; } | { panelView?: \"networkDetail\" | undefined; params?: { ip: string; flowTarget: ", + "; } | undefined; } | undefined; graph?: { panelView?: \"eventDetail\" | undefined; params?: { eventId: string; indexName: string; refetch?: (() => void) | undefined; ecsData?: ", + "Ecs", + " | undefined; } | undefined; } | Record | { panelView?: \"hostDetail\" | undefined; params?: { hostName: string; } | undefined; } | { panelView?: \"networkDetail\" | undefined; params?: { ip: string; flowTarget: ", { "pluginId": "securitySolution", "scope": "common", @@ -22049,7 +22099,9 @@ "section": "def-common.FlowTarget", "text": "FlowTarget" }, - "; } | undefined; } | undefined; notes?: { panelView?: \"eventDetail\" | undefined; params?: { eventId: string; indexName: string; refetch?: (() => void) | undefined; } | undefined; } | Record | { panelView?: \"hostDetail\" | undefined; params?: { hostName: string; } | undefined; } | { panelView?: \"networkDetail\" | undefined; params?: { ip: string; flowTarget: ", + "; } | undefined; } | undefined; notes?: { panelView?: \"eventDetail\" | undefined; params?: { eventId: string; indexName: string; refetch?: (() => void) | undefined; ecsData?: ", + "Ecs", + " | undefined; } | undefined; } | Record | { panelView?: \"hostDetail\" | undefined; params?: { hostName: string; } | undefined; } | { panelView?: \"networkDetail\" | undefined; params?: { ip: string; flowTarget: ", { "pluginId": "securitySolution", "scope": "common", @@ -22057,7 +22109,9 @@ "section": "def-common.FlowTarget", "text": "FlowTarget" }, - "; } | undefined; } | undefined; pinned?: { panelView?: \"eventDetail\" | undefined; params?: { eventId: string; indexName: string; refetch?: (() => void) | undefined; } | undefined; } | Record | { panelView?: \"hostDetail\" | undefined; params?: { hostName: string; } | undefined; } | { panelView?: \"networkDetail\" | undefined; params?: { ip: string; flowTarget: ", + "; } | undefined; } | undefined; pinned?: { panelView?: \"eventDetail\" | undefined; params?: { eventId: string; indexName: string; refetch?: (() => void) | undefined; ecsData?: ", + "Ecs", + " | undefined; } | undefined; } | Record | { panelView?: \"hostDetail\" | undefined; params?: { hostName: string; } | undefined; } | { panelView?: \"networkDetail\" | undefined; params?: { ip: string; flowTarget: ", { "pluginId": "securitySolution", "scope": "common", @@ -22065,7 +22119,9 @@ "section": "def-common.FlowTarget", "text": "FlowTarget" }, - "; } | undefined; } | undefined; eql?: { panelView?: \"eventDetail\" | undefined; params?: { eventId: string; indexName: string; refetch?: (() => void) | undefined; } | undefined; } | Record | { panelView?: \"hostDetail\" | undefined; params?: { hostName: string; } | undefined; } | { panelView?: \"networkDetail\" | undefined; params?: { ip: string; flowTarget: ", + "; } | undefined; } | undefined; eql?: { panelView?: \"eventDetail\" | undefined; params?: { eventId: string; indexName: string; refetch?: (() => void) | undefined; ecsData?: ", + "Ecs", + " | undefined; } | undefined; } | Record | { panelView?: \"hostDetail\" | undefined; params?: { hostName: string; } | undefined; } | { panelView?: \"networkDetail\" | undefined; params?: { ip: string; flowTarget: ", { "pluginId": "securitySolution", "scope": "common", @@ -22087,7 +22143,9 @@ "label": "TimelineExpandedDetailType", "description": [], "signature": [ - "{ panelView?: \"eventDetail\" | undefined; params?: { eventId: string; indexName: string; refetch?: (() => void) | undefined; } | undefined; } | Record | { panelView?: \"hostDetail\" | undefined; params?: { hostName: string; } | undefined; } | { panelView?: \"networkDetail\" | undefined; params?: { ip: string; flowTarget: ", + "{ panelView?: \"eventDetail\" | undefined; params?: { eventId: string; indexName: string; refetch?: (() => void) | undefined; ecsData?: ", + "Ecs", + " | undefined; } | undefined; } | Record | { panelView?: \"hostDetail\" | undefined; params?: { hostName: string; } | undefined; } | { panelView?: \"networkDetail\" | undefined; params?: { ip: string; flowTarget: ", { "pluginId": "securitySolution", "scope": "common", @@ -22109,7 +22167,9 @@ "label": "TimelineExpandedEventType", "description": [], "signature": [ - "{ panelView?: \"eventDetail\" | undefined; params?: { eventId: string; indexName: string; refetch?: (() => void) | undefined; } | undefined; } | Record" + "{ panelView?: \"eventDetail\" | undefined; params?: { eventId: string; indexName: string; refetch?: (() => void) | undefined; ecsData?: ", + "Ecs", + " | undefined; } | undefined; } | Record" ], "path": "x-pack/plugins/security_solution/common/types/timeline/index.ts", "deprecated": false, @@ -22586,7 +22646,9 @@ "label": "ToggleDetailPanel", "description": [], "signature": [ - "({ panelView?: \"eventDetail\" | undefined; params?: { eventId: string; indexName: string; refetch?: (() => void) | undefined; } | undefined; } & { tabType?: ", + "({ panelView?: \"eventDetail\" | undefined; params?: { eventId: string; indexName: string; refetch?: (() => void) | undefined; ecsData?: ", + "Ecs", + " | undefined; } | undefined; } & { tabType?: ", { "pluginId": "securitySolution", "scope": "common", diff --git a/api_docs/security_solution.mdx b/api_docs/security_solution.mdx index ec30be95b4e94..65601bbd75fda 100644 --- a/api_docs/security_solution.mdx +++ b/api_docs/security_solution.mdx @@ -18,7 +18,7 @@ Contact [Security solution](https://github.com/orgs/elastic/teams/security-solut | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 1335 | 8 | 1282 | 28 | +| 1338 | 8 | 1285 | 29 | ## Client diff --git a/api_docs/share.json b/api_docs/share.json index bc57c9a01795d..e63a819d4d668 100644 --- a/api_docs/share.json +++ b/api_docs/share.json @@ -362,8 +362,16 @@ "description": [], "signature": [ "(opts: ", - "RedirectOptions", - ") => URLSearchParams" + { + "pluginId": "share", + "scope": "public", + "docId": "kibSharePluginApi", + "section": "def-public.RedirectOptions", + "text": "RedirectOptions" + }, + "<", + "SerializableRecord", + ">) => URLSearchParams" ], "path": "src/plugins/share/public/url_service/redirect/util/format_search_params.ts", "deprecated": false, @@ -376,7 +384,16 @@ "label": "opts", "description": [], "signature": [ - "RedirectOptions" + { + "pluginId": "share", + "scope": "public", + "docId": "kibSharePluginApi", + "section": "def-public.RedirectOptions", + "text": "RedirectOptions" + }, + "<", + "SerializableRecord", + ">" ], "path": "src/plugins/share/public/url_service/redirect/util/format_search_params.ts", "deprecated": false, @@ -397,7 +414,16 @@ ], "signature": [ "(urlSearch: string) => ", - "RedirectOptions" + { + "pluginId": "share", + "scope": "public", + "docId": "kibSharePluginApi", + "section": "def-public.RedirectOptions", + "text": "RedirectOptions" + }, + "<", + "SerializableRecord", + ">" ], "path": "src/plugins/share/public/url_service/redirect/util/parse_search_params.ts", "deprecated": false, @@ -896,6 +922,68 @@ ], "initialIsOpen": false }, + { + "parentPluginId": "share", + "id": "def-public.RedirectOptions", + "type": "Interface", + "tags": [], + "label": "RedirectOptions", + "description": [], + "signature": [ + { + "pluginId": "share", + "scope": "public", + "docId": "kibSharePluginApi", + "section": "def-public.RedirectOptions", + "text": "RedirectOptions" + }, + "

" + ], + "path": "src/plugins/share/public/url_service/redirect/redirect_manager.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "share", + "id": "def-public.RedirectOptions.id", + "type": "string", + "tags": [], + "label": "id", + "description": [ + "Locator ID." + ], + "path": "src/plugins/share/public/url_service/redirect/redirect_manager.ts", + "deprecated": false + }, + { + "parentPluginId": "share", + "id": "def-public.RedirectOptions.version", + "type": "string", + "tags": [], + "label": "version", + "description": [ + "Kibana version when locator params where generated." + ], + "path": "src/plugins/share/public/url_service/redirect/redirect_manager.ts", + "deprecated": false + }, + { + "parentPluginId": "share", + "id": "def-public.RedirectOptions.params", + "type": "Uncategorized", + "tags": [], + "label": "params", + "description": [ + "Locator params." + ], + "signature": [ + "P" + ], + "path": "src/plugins/share/public/url_service/redirect/redirect_manager.ts", + "deprecated": false + } + ], + "initialIsOpen": false + }, { "parentPluginId": "share", "id": "def-public.ShareContext", @@ -1737,8 +1825,16 @@ "; url: ", "UrlService", "; navigate(options: ", - "RedirectOptions", - "): void; }" + { + "pluginId": "share", + "scope": "public", + "docId": "kibSharePluginApi", + "section": "def-public.RedirectOptions", + "text": "RedirectOptions" + }, + "<", + "SerializableRecord", + ">): void; }" ], "path": "src/plugins/share/public/plugin.ts", "deprecated": false, @@ -1766,8 +1862,16 @@ "; url: ", "UrlService", "; navigate(options: ", - "RedirectOptions", - "): void; }" + { + "pluginId": "share", + "scope": "public", + "docId": "kibSharePluginApi", + "section": "def-public.RedirectOptions", + "text": "RedirectOptions" + }, + "<", + "SerializableRecord", + ">): void; }" ], "path": "src/plugins/share/public/plugin.ts", "deprecated": false, diff --git a/api_docs/share.mdx b/api_docs/share.mdx index 659218ce1d6a2..26f3b61dfa80b 100644 --- a/api_docs/share.mdx +++ b/api_docs/share.mdx @@ -10,7 +10,7 @@ warning: This document is auto-generated and is meant to be viewed inside our ex --- import shareObj from './share.json'; - +Adds URL Service and sharing capabilities to Kibana Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) for questions regarding this plugin. @@ -18,7 +18,7 @@ Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 126 | 1 | 86 | 8 | +| 130 | 1 | 87 | 7 | ## Client diff --git a/api_docs/spaces.json b/api_docs/spaces.json index 5aca604cf9784..cc1222240b1de 100644 --- a/api_docs/spaces.json +++ b/api_docs/spaces.json @@ -1173,7 +1173,7 @@ "children": [ { "parentPluginId": "spaces", - "id": "def-public.props", + "id": "def-public.SpacesApiUiComponent.getSpacesContextProvider.$1", "type": "Uncategorized", "tags": [], "label": "props", @@ -1212,7 +1212,7 @@ "children": [ { "parentPluginId": "spaces", - "id": "def-public.props", + "id": "def-public.SpacesApiUiComponent.getShareToSpaceFlyout.$1", "type": "Uncategorized", "tags": [], "label": "props", @@ -1251,7 +1251,7 @@ "children": [ { "parentPluginId": "spaces", - "id": "def-public.props", + "id": "def-public.SpacesApiUiComponent.getCopyToSpaceFlyout.$1", "type": "Uncategorized", "tags": [], "label": "props", @@ -1290,7 +1290,7 @@ "children": [ { "parentPluginId": "spaces", - "id": "def-public.props", + "id": "def-public.SpacesApiUiComponent.getSpaceList.$1", "type": "Uncategorized", "tags": [], "label": "props", @@ -1329,7 +1329,7 @@ "children": [ { "parentPluginId": "spaces", - "id": "def-public.props", + "id": "def-public.SpacesApiUiComponent.getLegacyUrlConflict.$1", "type": "Uncategorized", "tags": [], "label": "props", @@ -1368,7 +1368,7 @@ "children": [ { "parentPluginId": "spaces", - "id": "def-public.props", + "id": "def-public.SpacesApiUiComponent.getSpaceAvatar.$1", "type": "Uncategorized", "tags": [], "label": "props", @@ -1680,7 +1680,7 @@ "children": [ { "parentPluginId": "spaces", - "id": "def-public.props", + "id": "def-public.LazyComponentFn.$1", "type": "Uncategorized", "tags": [], "label": "props", @@ -3111,7 +3111,7 @@ "children": [ { "parentPluginId": "spaces", - "id": "def-server.request", + "id": "def-server.SpacesClientRepositoryFactory.$1", "type": "Object", "tags": [], "label": "request", @@ -3131,7 +3131,7 @@ }, { "parentPluginId": "spaces", - "id": "def-server.savedObjectsStart", + "id": "def-server.SpacesClientRepositoryFactory.$2", "type": "Object", "tags": [], "label": "savedObjectsStart", @@ -3194,7 +3194,7 @@ "children": [ { "parentPluginId": "spaces", - "id": "def-server.request", + "id": "def-server.SpacesClientWrapper.$1", "type": "Object", "tags": [], "label": "request", @@ -3214,7 +3214,7 @@ }, { "parentPluginId": "spaces", - "id": "def-server.baseClient", + "id": "def-server.SpacesClientWrapper.$2", "type": "Object", "tags": [], "label": "baseClient", diff --git a/api_docs/task_manager.json b/api_docs/task_manager.json index 6f37738e381e6..80f5318297581 100644 --- a/api_docs/task_manager.json +++ b/api_docs/task_manager.json @@ -150,7 +150,7 @@ }, { "parentPluginId": "taskManager", - "id": "def-server.TaskManagerPlugin.setup.$2.plugins", + "id": "def-server.TaskManagerPlugin.setup.$2", "type": "Object", "tags": [], "label": "plugins", @@ -160,7 +160,7 @@ "children": [ { "parentPluginId": "taskManager", - "id": "def-server.TaskManagerPlugin.setup.$2.plugins.usageCollection", + "id": "def-server.TaskManagerPlugin.setup.$2.usageCollection", "type": "Object", "tags": [], "label": "usageCollection", @@ -887,7 +887,7 @@ "children": [ { "parentPluginId": "taskManager", - "id": "def-server.context", + "id": "def-server.TaskRunCreatorFunction.$1", "type": "Object", "tags": [], "label": "context", diff --git a/api_docs/telemetry_collection_manager.json b/api_docs/telemetry_collection_manager.json index 2d59a5d7e482b..86bbef80c9af8 100644 --- a/api_docs/telemetry_collection_manager.json +++ b/api_docs/telemetry_collection_manager.json @@ -74,7 +74,7 @@ "signature": [ "Pick<", "KibanaClient", - ", \"get\" | \"delete\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"count\" | \"search\" | \"security\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"monitoring\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\"> & { transport: { request(params: ", + ", \"get\" | \"delete\" | \"create\" | \"index\" | \"update\" | \"closePointInTime\" | \"search\" | \"security\" | \"transform\" | \"eql\" | \"helpers\" | \"emit\" | \"on\" | \"once\" | \"off\" | \"asyncSearch\" | \"autoscaling\" | \"bulk\" | \"cat\" | \"ccr\" | \"clearScroll\" | \"cluster\" | \"count\" | \"danglingIndices\" | \"dataFrameTransformDeprecated\" | \"deleteByQuery\" | \"deleteByQueryRethrottle\" | \"deleteScript\" | \"enrich\" | \"exists\" | \"existsSource\" | \"explain\" | \"features\" | \"fieldCaps\" | \"fleet\" | \"getScript\" | \"getScriptContext\" | \"getScriptLanguages\" | \"getSource\" | \"graph\" | \"ilm\" | \"indices\" | \"info\" | \"ingest\" | \"license\" | \"logstash\" | \"mget\" | \"migration\" | \"ml\" | \"monitoring\" | \"msearch\" | \"msearchTemplate\" | \"mtermvectors\" | \"nodes\" | \"openPointInTime\" | \"ping\" | \"putScript\" | \"rankEval\" | \"reindex\" | \"reindexRethrottle\" | \"renderSearchTemplate\" | \"rollup\" | \"scriptsPainlessExecute\" | \"scroll\" | \"searchShards\" | \"searchTemplate\" | \"searchableSnapshots\" | \"shutdown\" | \"slm\" | \"snapshot\" | \"sql\" | \"ssl\" | \"tasks\" | \"termsEnum\" | \"termvectors\" | \"textStructure\" | \"updateByQuery\" | \"updateByQueryRethrottle\" | \"watcher\" | \"xpack\"> & { transport: { request(params: ", "TransportRequestParams", ", options?: ", "TransportRequestOptions", @@ -537,7 +537,7 @@ "children": [ { "parentPluginId": "telemetryCollectionManager", - "id": "def-server.config", + "id": "def-server.ClusterDetailsGetter.$1", "type": "Object", "tags": [], "label": "config", @@ -556,7 +556,7 @@ }, { "parentPluginId": "telemetryCollectionManager", - "id": "def-server.context", + "id": "def-server.ClusterDetailsGetter.$2", "type": "Object", "tags": [], "label": "context", @@ -616,7 +616,7 @@ "children": [ { "parentPluginId": "telemetryCollectionManager", - "id": "def-server.clustersDetails", + "id": "def-server.StatsGetter.$1", "type": "Array", "tags": [], "label": "clustersDetails", @@ -636,7 +636,7 @@ }, { "parentPluginId": "telemetryCollectionManager", - "id": "def-server.config", + "id": "def-server.StatsGetter.$2", "type": "Object", "tags": [], "label": "config", @@ -655,7 +655,7 @@ }, { "parentPluginId": "telemetryCollectionManager", - "id": "def-server.context", + "id": "def-server.StatsGetter.$3", "type": "Object", "tags": [], "label": "context", @@ -762,7 +762,7 @@ "children": [ { "parentPluginId": "telemetryCollectionManager", - "id": "def-server.optInStatus", + "id": "def-server.TelemetryCollectionManagerPluginSetup.getOptInStats.$1", "type": "boolean", "tags": [], "label": "optInStatus", @@ -772,7 +772,7 @@ }, { "parentPluginId": "telemetryCollectionManager", - "id": "def-server.config", + "id": "def-server.TelemetryCollectionManagerPluginSetup.getOptInStats.$2", "type": "CompoundType", "tags": [], "label": "config", @@ -865,7 +865,7 @@ "children": [ { "parentPluginId": "telemetryCollectionManager", - "id": "def-server.optInStatus", + "id": "def-server.TelemetryCollectionManagerPluginStart.getOptInStats.$1", "type": "boolean", "tags": [], "label": "optInStatus", @@ -875,7 +875,7 @@ }, { "parentPluginId": "telemetryCollectionManager", - "id": "def-server.config", + "id": "def-server.TelemetryCollectionManagerPluginStart.getOptInStats.$2", "type": "CompoundType", "tags": [], "label": "config", diff --git a/api_docs/timelines.json b/api_docs/timelines.json index 4a72336f8c13c..95eb212150fd0 100644 --- a/api_docs/timelines.json +++ b/api_docs/timelines.json @@ -117,7 +117,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-public.focusColumn.$1.colindexAttributecontainerElementariaColindexariaRowindexrowindexAttribute", + "id": "def-public.focusColumn.$1", "type": "Object", "tags": [], "label": "{\n colindexAttribute,\n containerElement,\n ariaColindex,\n ariaRowindex,\n rowindexAttribute,\n}", @@ -127,7 +127,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-public.focusColumn.$1.colindexAttributecontainerElementariaColindexariaRowindexrowindexAttribute.colindexAttribute", + "id": "def-public.focusColumn.$1.colindexAttribute", "type": "string", "tags": [], "label": "colindexAttribute", @@ -137,7 +137,7 @@ }, { "parentPluginId": "timelines", - "id": "def-public.focusColumn.$1.colindexAttributecontainerElementariaColindexariaRowindexrowindexAttribute.containerElement", + "id": "def-public.focusColumn.$1.containerElement", "type": "CompoundType", "tags": [], "label": "containerElement", @@ -150,7 +150,7 @@ }, { "parentPluginId": "timelines", - "id": "def-public.focusColumn.$1.colindexAttributecontainerElementariaColindexariaRowindexrowindexAttribute.ariaColindex", + "id": "def-public.focusColumn.$1.ariaColindex", "type": "number", "tags": [], "label": "ariaColindex", @@ -160,7 +160,7 @@ }, { "parentPluginId": "timelines", - "id": "def-public.focusColumn.$1.colindexAttributecontainerElementariaColindexariaRowindexrowindexAttribute.ariaRowindex", + "id": "def-public.focusColumn.$1.ariaRowindex", "type": "number", "tags": [], "label": "ariaRowindex", @@ -170,7 +170,7 @@ }, { "parentPluginId": "timelines", - "id": "def-public.focusColumn.$1.colindexAttributecontainerElementariaColindexariaRowindexrowindexAttribute.rowindexAttribute", + "id": "def-public.focusColumn.$1.rowindexAttribute", "type": "string", "tags": [], "label": "rowindexAttribute", @@ -201,7 +201,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-public.getFocusedAriaColindexCell.$1.containerElementtableClassName", + "id": "def-public.getFocusedAriaColindexCell.$1", "type": "Object", "tags": [], "label": "{\n containerElement,\n tableClassName,\n}", @@ -211,7 +211,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-public.getFocusedAriaColindexCell.$1.containerElementtableClassName.containerElement", + "id": "def-public.getFocusedAriaColindexCell.$1.containerElement", "type": "CompoundType", "tags": [], "label": "containerElement", @@ -224,7 +224,7 @@ }, { "parentPluginId": "timelines", - "id": "def-public.getFocusedAriaColindexCell.$1.containerElementtableClassName.tableClassName", + "id": "def-public.getFocusedAriaColindexCell.$1.tableClassName", "type": "string", "tags": [], "label": "tableClassName", @@ -255,7 +255,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-public.getFocusedDataColindexCell.$1.containerElementtableClassName", + "id": "def-public.getFocusedDataColindexCell.$1", "type": "Object", "tags": [], "label": "{\n containerElement,\n tableClassName,\n}", @@ -265,7 +265,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-public.getFocusedDataColindexCell.$1.containerElementtableClassName.containerElement", + "id": "def-public.getFocusedDataColindexCell.$1.containerElement", "type": "CompoundType", "tags": [], "label": "containerElement", @@ -278,7 +278,7 @@ }, { "parentPluginId": "timelines", - "id": "def-public.getFocusedDataColindexCell.$1.containerElementtableClassName.tableClassName", + "id": "def-public.getFocusedDataColindexCell.$1.tableClassName", "type": "string", "tags": [], "label": "tableClassName", @@ -323,6 +323,53 @@ "returnComment": [], "initialIsOpen": false }, + { + "parentPluginId": "timelines", + "id": "def-public.getPageRowIndex", + "type": "Function", + "tags": [], + "label": "getPageRowIndex", + "description": [ + "\nrowIndex is bigger than `data.length` for pages with page numbers bigger than one.\nFor that reason, we must calculate `rowIndex % itemsPerPage`.\n\nEx:\nGiven `rowIndex` is `13` and `itemsPerPage` is `10`.\nIt means that the `activePage` is `2` and the `pageRowIndex` is `3`\n\n**Warning**:\nBe careful with array out of bounds. `pageRowIndex` can be bigger or equal to `data.length`\n in the scenario where the user changes the event status (Open, Acknowledged, Closed)." + ], + "signature": [ + "(rowIndex: number, itemsPerPage: number) => number" + ], + "path": "x-pack/plugins/timelines/common/utils/pagination.ts", + "deprecated": false, + "children": [ + { + "parentPluginId": "timelines", + "id": "def-public.getPageRowIndex.$1", + "type": "number", + "tags": [], + "label": "rowIndex", + "description": [], + "signature": [ + "number" + ], + "path": "x-pack/plugins/timelines/common/utils/pagination.ts", + "deprecated": false, + "isRequired": true + }, + { + "parentPluginId": "timelines", + "id": "def-public.getPageRowIndex.$2", + "type": "number", + "tags": [], + "label": "itemsPerPage", + "description": [], + "signature": [ + "number" + ], + "path": "x-pack/plugins/timelines/common/utils/pagination.ts", + "deprecated": false, + "isRequired": true + } + ], + "returnComment": [], + "initialIsOpen": false + }, { "parentPluginId": "timelines", "id": "def-public.getRowRendererClassName", @@ -386,7 +433,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-public.getTableSkipFocus.$1.containerElementgetFocusedCellshiftKeytableHasFocustableClassName", + "id": "def-public.getTableSkipFocus.$1", "type": "Object", "tags": [], "label": "{\n containerElement,\n getFocusedCell,\n shiftKey,\n tableHasFocus,\n tableClassName,\n}", @@ -396,7 +443,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-public.getTableSkipFocus.$1.containerElementgetFocusedCellshiftKeytableHasFocustableClassName.containerElement", + "id": "def-public.getTableSkipFocus.$1.containerElement", "type": "CompoundType", "tags": [], "label": "containerElement", @@ -409,7 +456,7 @@ }, { "parentPluginId": "timelines", - "id": "def-public.getTableSkipFocus.$1.containerElementgetFocusedCellshiftKeytableHasFocustableClassName.getFocusedCell", + "id": "def-public.getTableSkipFocus.$1.getFocusedCell", "type": "Function", "tags": [], "label": "getFocusedCell", @@ -423,7 +470,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-public.__0", + "id": "def-public.getTableSkipFocus.$1.getFocusedCell.$1", "type": "Object", "tags": [], "label": "__0", @@ -438,7 +485,7 @@ }, { "parentPluginId": "timelines", - "id": "def-public.getTableSkipFocus.$1.containerElementgetFocusedCellshiftKeytableHasFocustableClassName.shiftKey", + "id": "def-public.getTableSkipFocus.$1.shiftKey", "type": "boolean", "tags": [], "label": "shiftKey", @@ -448,7 +495,7 @@ }, { "parentPluginId": "timelines", - "id": "def-public.getTableSkipFocus.$1.containerElementgetFocusedCellshiftKeytableHasFocustableClassName.tableHasFocus", + "id": "def-public.getTableSkipFocus.$1.tableHasFocus", "type": "Function", "tags": [], "label": "tableHasFocus", @@ -461,7 +508,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-public.getTableSkipFocus.$1.containerElementgetFocusedCellshiftKeytableHasFocustableClassName.tableHasFocus.$1", + "id": "def-public.getTableSkipFocus.$1.tableHasFocus.$1", "type": "CompoundType", "tags": [], "label": "containerElement", @@ -478,7 +525,7 @@ }, { "parentPluginId": "timelines", - "id": "def-public.getTableSkipFocus.$1.containerElementgetFocusedCellshiftKeytableHasFocustableClassName.tableClassName", + "id": "def-public.getTableSkipFocus.$1.tableClassName", "type": "string", "tags": [], "label": "tableClassName", @@ -548,7 +595,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-public.handleSkipFocus.$1.onSkipFocusBackwardsonSkipFocusForwardskipFocus", + "id": "def-public.handleSkipFocus.$1", "type": "Object", "tags": [], "label": "{\n onSkipFocusBackwards,\n onSkipFocusForward,\n skipFocus,\n}", @@ -558,7 +605,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-public.handleSkipFocus.$1.onSkipFocusBackwardsonSkipFocusForwardskipFocus.onSkipFocusBackwards", + "id": "def-public.handleSkipFocus.$1.onSkipFocusBackwards", "type": "Function", "tags": [], "label": "onSkipFocusBackwards", @@ -573,7 +620,7 @@ }, { "parentPluginId": "timelines", - "id": "def-public.handleSkipFocus.$1.onSkipFocusBackwardsonSkipFocusForwardskipFocus.onSkipFocusForward", + "id": "def-public.handleSkipFocus.$1.onSkipFocusForward", "type": "Function", "tags": [], "label": "onSkipFocusForward", @@ -588,7 +635,7 @@ }, { "parentPluginId": "timelines", - "id": "def-public.handleSkipFocus.$1.onSkipFocusBackwardsonSkipFocusForwardskipFocus.skipFocus", + "id": "def-public.handleSkipFocus.$1.skipFocus", "type": "CompoundType", "tags": [], "label": "skipFocus", @@ -795,7 +842,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-public.onKeyDownFocusHandler.$1.colindexAttributecontainerElementeventmaxAriaColindexmaxAriaRowindexonColumnFocusedrowindexAttribute", + "id": "def-public.onKeyDownFocusHandler.$1", "type": "Object", "tags": [], "label": "{\n colindexAttribute,\n containerElement,\n event,\n maxAriaColindex,\n maxAriaRowindex,\n onColumnFocused,\n rowindexAttribute,\n}", @@ -805,7 +852,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-public.onKeyDownFocusHandler.$1.colindexAttributecontainerElementeventmaxAriaColindexmaxAriaRowindexonColumnFocusedrowindexAttribute.colindexAttribute", + "id": "def-public.onKeyDownFocusHandler.$1.colindexAttribute", "type": "string", "tags": [], "label": "colindexAttribute", @@ -815,7 +862,7 @@ }, { "parentPluginId": "timelines", - "id": "def-public.onKeyDownFocusHandler.$1.colindexAttributecontainerElementeventmaxAriaColindexmaxAriaRowindexonColumnFocusedrowindexAttribute.containerElement", + "id": "def-public.onKeyDownFocusHandler.$1.containerElement", "type": "CompoundType", "tags": [], "label": "containerElement", @@ -828,7 +875,7 @@ }, { "parentPluginId": "timelines", - "id": "def-public.onKeyDownFocusHandler.$1.colindexAttributecontainerElementeventmaxAriaColindexmaxAriaRowindexonColumnFocusedrowindexAttribute.event", + "id": "def-public.onKeyDownFocusHandler.$1.event", "type": "Object", "tags": [], "label": "event", @@ -841,7 +888,7 @@ }, { "parentPluginId": "timelines", - "id": "def-public.onKeyDownFocusHandler.$1.colindexAttributecontainerElementeventmaxAriaColindexmaxAriaRowindexonColumnFocusedrowindexAttribute.maxAriaColindex", + "id": "def-public.onKeyDownFocusHandler.$1.maxAriaColindex", "type": "number", "tags": [], "label": "maxAriaColindex", @@ -851,7 +898,7 @@ }, { "parentPluginId": "timelines", - "id": "def-public.onKeyDownFocusHandler.$1.colindexAttributecontainerElementeventmaxAriaColindexmaxAriaRowindexonColumnFocusedrowindexAttribute.maxAriaRowindex", + "id": "def-public.onKeyDownFocusHandler.$1.maxAriaRowindex", "type": "number", "tags": [], "label": "maxAriaRowindex", @@ -861,7 +908,7 @@ }, { "parentPluginId": "timelines", - "id": "def-public.onKeyDownFocusHandler.$1.colindexAttributecontainerElementeventmaxAriaColindexmaxAriaRowindexonColumnFocusedrowindexAttribute.onColumnFocused", + "id": "def-public.onKeyDownFocusHandler.$1.onColumnFocused", "type": "Function", "tags": [], "label": "onColumnFocused", @@ -875,7 +922,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-public.__0", + "id": "def-public.onKeyDownFocusHandler.$1.onColumnFocused.$1", "type": "Object", "tags": [], "label": "__0", @@ -890,7 +937,7 @@ }, { "parentPluginId": "timelines", - "id": "def-public.onKeyDownFocusHandler.$1.colindexAttributecontainerElementeventmaxAriaColindexmaxAriaRowindexonColumnFocusedrowindexAttribute.rowindexAttribute", + "id": "def-public.onKeyDownFocusHandler.$1.rowindexAttribute", "type": "string", "tags": [], "label": "rowindexAttribute", @@ -921,7 +968,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-public.skipFocusInContainerTo.$1.containerElementclassName", + "id": "def-public.skipFocusInContainerTo.$1", "type": "Object", "tags": [], "label": "{\n containerElement,\n className,\n}", @@ -931,7 +978,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-public.skipFocusInContainerTo.$1.containerElementclassName.containerElement", + "id": "def-public.skipFocusInContainerTo.$1.containerElement", "type": "CompoundType", "tags": [], "label": "containerElement", @@ -944,7 +991,7 @@ }, { "parentPluginId": "timelines", - "id": "def-public.skipFocusInContainerTo.$1.containerElementclassName.className", + "id": "def-public.skipFocusInContainerTo.$1.className", "type": "string", "tags": [], "label": "className", @@ -976,7 +1023,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-public.props", + "id": "def-public.StatefulFieldsBrowser.$1", "type": "Uncategorized", "tags": [], "label": "props", @@ -1056,7 +1103,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-public.state", + "id": "def-public.tGridReducer.$1", "type": "Uncategorized", "tags": [], "label": "state", @@ -1069,7 +1116,7 @@ }, { "parentPluginId": "timelines", - "id": "def-public.action", + "id": "def-public.tGridReducer.$2", "type": "Object", "tags": [], "label": "action", @@ -1091,7 +1138,7 @@ "label": "useStatusBulkActionItems", "description": [], "signature": [ - "({ eventIds, currentStatus, query, indexName, setEventsLoading, setEventsDeleted, onUpdateSuccess, onUpdateFailure, }: ", + "({ eventIds, currentStatus, query, indexName, setEventsLoading, setEventsDeleted, onUpdateSuccess, onUpdateFailure, timelineId, }: ", { "pluginId": "timelines", "scope": "common", @@ -1109,7 +1156,7 @@ "id": "def-public.useStatusBulkActionItems.$1", "type": "Object", "tags": [], - "label": "{\n eventIds,\n currentStatus,\n query,\n indexName,\n setEventsLoading,\n setEventsDeleted,\n onUpdateSuccess,\n onUpdateFailure,\n}", + "label": "{\n eventIds,\n currentStatus,\n query,\n indexName,\n setEventsLoading,\n setEventsDeleted,\n onUpdateSuccess,\n onUpdateFailure,\n timelineId,\n}", "description": [], "signature": [ { @@ -1546,7 +1593,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-public.__0", + "id": "def-public.OnColumnFocused.$1", "type": "Object", "tags": [], "label": "__0", @@ -1593,7 +1640,7 @@ "EuiDataGridColumn", ", \"id\" | \"display\" | \"displayAsText\" | \"initialWidth\"> & Pick<", "EuiDataGridColumn", - ", \"id\" | \"display\" | \"actions\" | \"defaultSortDirection\" | \"displayAsText\" | \"initialWidth\" | \"isSortable\"> & { aggregatable?: boolean | undefined; tGridCellActions?: ", + ", \"id\" | \"schema\" | \"display\" | \"actions\" | \"defaultSortDirection\" | \"displayAsText\" | \"initialWidth\" | \"isSortable\"> & { aggregatable?: boolean | undefined; tGridCellActions?: ", { "pluginId": "timelines", "scope": "common", @@ -1621,11 +1668,19 @@ "section": "def-common.SortColumnTimeline", "text": "SortColumnTimeline" }, - "[]; version: string | null; isLoading: boolean; dateRange: { start: string; end: string; }; defaultColumns: (Pick<", + "[]; version: string | null; isLoading: boolean; filterManager?: ", + { + "pluginId": "data", + "scope": "public", + "docId": "kibDataQueryPluginApi", + "section": "def-public.FilterManager", + "text": "FilterManager" + }, + " | undefined; dateRange: { start: string; end: string; }; defaultColumns: (Pick<", "EuiDataGridColumn", ", \"id\" | \"display\" | \"displayAsText\" | \"initialWidth\"> & Pick<", "EuiDataGridColumn", - ", \"id\" | \"display\" | \"actions\" | \"defaultSortDirection\" | \"displayAsText\" | \"initialWidth\" | \"isSortable\"> & { aggregatable?: boolean | undefined; tGridCellActions?: ", + ", \"id\" | \"schema\" | \"display\" | \"actions\" | \"defaultSortDirection\" | \"displayAsText\" | \"initialWidth\" | \"isSortable\"> & { aggregatable?: boolean | undefined; tGridCellActions?: ", { "pluginId": "timelines", "scope": "common", @@ -1643,7 +1698,7 @@ }, "; description?: string | undefined; example?: string | undefined; format?: string | undefined; linkField?: string | undefined; placeholder?: string | undefined; subType?: ", "IFieldSubType", - " | undefined; type?: string | undefined; })[]; savedObjectId: string | null; dataProviders: ", + " | undefined; type?: string | undefined; })[]; savedObjectId: string | null; unit?: ((n: number) => React.ReactNode) | undefined; dataProviders: ", { "pluginId": "timelines", "scope": "common", @@ -1651,7 +1706,7 @@ "section": "def-common.DataProvider", "text": "DataProvider" }, - "[]; deletedEventIds: string[]; excludedRowRendererIds: ", + "[]; deletedEventIds: string[]; documentType: string; excludedRowRendererIds: ", { "pluginId": "timelines", "scope": "common", @@ -1667,7 +1722,7 @@ "section": "def-common.TimelineExpandedDetail", "text": "TimelineExpandedDetail" }, - "; graphEventId?: string | undefined; kqlQuery: { filterQuery: ", + "; footerText?: React.ReactNode; graphEventId?: string | undefined; kqlQuery: { filterQuery: ", { "pluginId": "timelines", "scope": "common", @@ -1675,7 +1730,7 @@ "section": "def-common.SerializedFilterQuery", "text": "SerializedFilterQuery" }, - " | null; }; indexNames: string[]; isSelectAllChecked: boolean; itemsPerPage: number; itemsPerPageOptions: number[]; loadingEventIds: string[]; showCheckboxes: boolean; selectedEventIds: Record" + ], + "path": "x-pack/plugins/timelines/public/index.ts", + "deprecated": false, + "initialIsOpen": false + }, { "parentPluginId": "timelines", "id": "def-public.tGridActions", @@ -2306,7 +2377,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.focusColumn.$1.colindexAttributecontainerElementariaColindexariaRowindexrowindexAttribute", + "id": "def-common.focusColumn.$1", "type": "Object", "tags": [], "label": "{\n colindexAttribute,\n containerElement,\n ariaColindex,\n ariaRowindex,\n rowindexAttribute,\n}", @@ -2316,7 +2387,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.focusColumn.$1.colindexAttributecontainerElementariaColindexariaRowindexrowindexAttribute.colindexAttribute", + "id": "def-common.focusColumn.$1.colindexAttribute", "type": "string", "tags": [], "label": "colindexAttribute", @@ -2326,7 +2397,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.focusColumn.$1.colindexAttributecontainerElementariaColindexariaRowindexrowindexAttribute.containerElement", + "id": "def-common.focusColumn.$1.containerElement", "type": "CompoundType", "tags": [], "label": "containerElement", @@ -2339,7 +2410,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.focusColumn.$1.colindexAttributecontainerElementariaColindexariaRowindexrowindexAttribute.ariaColindex", + "id": "def-common.focusColumn.$1.ariaColindex", "type": "number", "tags": [], "label": "ariaColindex", @@ -2349,7 +2420,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.focusColumn.$1.colindexAttributecontainerElementariaColindexariaRowindexrowindexAttribute.ariaRowindex", + "id": "def-common.focusColumn.$1.ariaRowindex", "type": "number", "tags": [], "label": "ariaRowindex", @@ -2359,7 +2430,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.focusColumn.$1.colindexAttributecontainerElementariaColindexariaRowindexrowindexAttribute.rowindexAttribute", + "id": "def-common.focusColumn.$1.rowindexAttribute", "type": "string", "tags": [], "label": "rowindexAttribute", @@ -2423,7 +2494,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.focusedCellHasMoreFocusableChildren.$1.focusedCellshiftKey", + "id": "def-common.focusedCellHasMoreFocusableChildren.$1", "type": "Object", "tags": [], "label": "{\n focusedCell,\n shiftKey,\n}", @@ -2433,7 +2504,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.focusedCellHasMoreFocusableChildren.$1.focusedCellshiftKey.focusedCell", + "id": "def-common.focusedCellHasMoreFocusableChildren.$1.focusedCell", "type": "CompoundType", "tags": [], "label": "focusedCell", @@ -2446,7 +2517,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.focusedCellHasMoreFocusableChildren.$1.focusedCellshiftKey.shiftKey", + "id": "def-common.focusedCellHasMoreFocusableChildren.$1.shiftKey", "type": "boolean", "tags": [], "label": "shiftKey", @@ -2510,7 +2581,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.getColindex.$1.colindexAttributeelement", + "id": "def-common.getColindex.$1", "type": "Object", "tags": [], "label": "{\n colindexAttribute,\n element,\n}", @@ -2520,7 +2591,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.getColindex.$1.colindexAttributeelement.colindexAttribute", + "id": "def-common.getColindex.$1.colindexAttribute", "type": "string", "tags": [], "label": "colindexAttribute", @@ -2530,7 +2601,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.getColindex.$1.colindexAttributeelement.element", + "id": "def-common.getColindex.$1.element", "type": "CompoundType", "tags": [], "label": "element", @@ -2564,7 +2635,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.getElementWithMatchingAriaColindex.$1.ariaColindexcolindexAttributeelement", + "id": "def-common.getElementWithMatchingAriaColindex.$1", "type": "Object", "tags": [], "label": "{\n ariaColindex,\n colindexAttribute,\n element,\n}", @@ -2574,7 +2645,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.getElementWithMatchingAriaColindex.$1.ariaColindexcolindexAttributeelement.ariaColindex", + "id": "def-common.getElementWithMatchingAriaColindex.$1.ariaColindex", "type": "number", "tags": [], "label": "ariaColindex", @@ -2584,7 +2655,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.getElementWithMatchingAriaColindex.$1.ariaColindexcolindexAttributeelement.colindexAttribute", + "id": "def-common.getElementWithMatchingAriaColindex.$1.colindexAttribute", "type": "string", "tags": [], "label": "colindexAttribute", @@ -2594,7 +2665,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.getElementWithMatchingAriaColindex.$1.ariaColindexcolindexAttributeelement.element", + "id": "def-common.getElementWithMatchingAriaColindex.$1.element", "type": "CompoundType", "tags": [], "label": "element", @@ -2626,7 +2697,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.getFirstNonVisibleAriaRowindex.$1.focusedAriaRowindexelementeventmaxAriaRowindexrowindexAttribute", + "id": "def-common.getFirstNonVisibleAriaRowindex.$1", "type": "Object", "tags": [], "label": "{\n focusedAriaRowindex,\n element,\n event,\n maxAriaRowindex,\n rowindexAttribute,\n}", @@ -2636,7 +2707,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.getFirstNonVisibleAriaRowindex.$1.focusedAriaRowindexelementeventmaxAriaRowindexrowindexAttribute.focusedAriaRowindex", + "id": "def-common.getFirstNonVisibleAriaRowindex.$1.focusedAriaRowindex", "type": "number", "tags": [], "label": "focusedAriaRowindex", @@ -2646,7 +2717,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.getFirstNonVisibleAriaRowindex.$1.focusedAriaRowindexelementeventmaxAriaRowindexrowindexAttribute.element", + "id": "def-common.getFirstNonVisibleAriaRowindex.$1.element", "type": "CompoundType", "tags": [], "label": "element", @@ -2659,7 +2730,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.getFirstNonVisibleAriaRowindex.$1.focusedAriaRowindexelementeventmaxAriaRowindexrowindexAttribute.event", + "id": "def-common.getFirstNonVisibleAriaRowindex.$1.event", "type": "Object", "tags": [], "label": "event", @@ -2672,7 +2743,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.getFirstNonVisibleAriaRowindex.$1.focusedAriaRowindexelementeventmaxAriaRowindexrowindexAttribute.maxAriaRowindex", + "id": "def-common.getFirstNonVisibleAriaRowindex.$1.maxAriaRowindex", "type": "number", "tags": [], "label": "maxAriaRowindex", @@ -2682,7 +2753,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.getFirstNonVisibleAriaRowindex.$1.focusedAriaRowindexelementeventmaxAriaRowindexrowindexAttribute.rowindexAttribute", + "id": "def-common.getFirstNonVisibleAriaRowindex.$1.rowindexAttribute", "type": "string", "tags": [], "label": "rowindexAttribute", @@ -2713,7 +2784,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.getFirstOrLastAriaRowindex.$1.eventmaxAriaRowindex", + "id": "def-common.getFirstOrLastAriaRowindex.$1", "type": "Object", "tags": [], "label": "{\n event,\n maxAriaRowindex,\n}", @@ -2723,7 +2794,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.getFirstOrLastAriaRowindex.$1.eventmaxAriaRowindex.event", + "id": "def-common.getFirstOrLastAriaRowindex.$1.event", "type": "Object", "tags": [], "label": "event", @@ -2736,7 +2807,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.getFirstOrLastAriaRowindex.$1.eventmaxAriaRowindex.maxAriaRowindex", + "id": "def-common.getFirstOrLastAriaRowindex.$1.maxAriaRowindex", "type": "number", "tags": [], "label": "maxAriaRowindex", @@ -2808,7 +2879,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.getFocusedAriaColindexCell.$1.containerElementtableClassName", + "id": "def-common.getFocusedAriaColindexCell.$1", "type": "Object", "tags": [], "label": "{\n containerElement,\n tableClassName,\n}", @@ -2818,7 +2889,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.getFocusedAriaColindexCell.$1.containerElementtableClassName.containerElement", + "id": "def-common.getFocusedAriaColindexCell.$1.containerElement", "type": "CompoundType", "tags": [], "label": "containerElement", @@ -2831,7 +2902,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.getFocusedAriaColindexCell.$1.containerElementtableClassName.tableClassName", + "id": "def-common.getFocusedAriaColindexCell.$1.tableClassName", "type": "string", "tags": [], "label": "tableClassName", @@ -2862,7 +2933,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.getFocusedColumn.$1.colindexAttributeelement", + "id": "def-common.getFocusedColumn.$1", "type": "Object", "tags": [], "label": "{\n colindexAttribute,\n element,\n}", @@ -2872,7 +2943,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.getFocusedColumn.$1.colindexAttributeelement.colindexAttribute", + "id": "def-common.getFocusedColumn.$1.colindexAttribute", "type": "string", "tags": [], "label": "colindexAttribute", @@ -2882,7 +2953,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.getFocusedColumn.$1.colindexAttributeelement.element", + "id": "def-common.getFocusedColumn.$1.element", "type": "CompoundType", "tags": [], "label": "element", @@ -2916,7 +2987,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.getFocusedDataColindexCell.$1.containerElementtableClassName", + "id": "def-common.getFocusedDataColindexCell.$1", "type": "Object", "tags": [], "label": "{\n containerElement,\n tableClassName,\n}", @@ -2926,7 +2997,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.getFocusedDataColindexCell.$1.containerElementtableClassName.containerElement", + "id": "def-common.getFocusedDataColindexCell.$1.containerElement", "type": "CompoundType", "tags": [], "label": "containerElement", @@ -2939,7 +3010,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.getFocusedDataColindexCell.$1.containerElementtableClassName.tableClassName", + "id": "def-common.getFocusedDataColindexCell.$1.tableClassName", "type": "string", "tags": [], "label": "tableClassName", @@ -2970,7 +3041,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.getFocusedRow.$1.rowindexAttributeelement", + "id": "def-common.getFocusedRow.$1", "type": "Object", "tags": [], "label": "{\n rowindexAttribute,\n element,\n}", @@ -2980,7 +3051,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.getFocusedRow.$1.rowindexAttributeelement.rowindexAttribute", + "id": "def-common.getFocusedRow.$1.rowindexAttribute", "type": "string", "tags": [], "label": "rowindexAttribute", @@ -2990,7 +3061,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.getFocusedRow.$1.rowindexAttributeelement.element", + "id": "def-common.getFocusedRow.$1.element", "type": "CompoundType", "tags": [], "label": "element", @@ -3057,7 +3128,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.getNewAriaColindex.$1.focusedAriaColindexfocusOnmaxAriaColindex", + "id": "def-common.getNewAriaColindex.$1", "type": "Object", "tags": [], "label": "{\n focusedAriaColindex,\n focusOn,\n maxAriaColindex,\n}", @@ -3067,7 +3138,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.getNewAriaColindex.$1.focusedAriaColindexfocusOnmaxAriaColindex.focusedAriaColindex", + "id": "def-common.getNewAriaColindex.$1.focusedAriaColindex", "type": "number", "tags": [], "label": "focusedAriaColindex", @@ -3077,7 +3148,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.getNewAriaColindex.$1.focusedAriaColindexfocusOnmaxAriaColindex.focusOn", + "id": "def-common.getNewAriaColindex.$1.focusOn", "type": "CompoundType", "tags": [], "label": "focusOn", @@ -3090,7 +3161,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.getNewAriaColindex.$1.focusedAriaColindexfocusOnmaxAriaColindex.maxAriaColindex", + "id": "def-common.getNewAriaColindex.$1.maxAriaColindex", "type": "number", "tags": [], "label": "maxAriaColindex", @@ -3121,7 +3192,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.getNewAriaRowindex.$1.focusedAriaRowindexfocusOnmaxAriaRowindex", + "id": "def-common.getNewAriaRowindex.$1", "type": "Object", "tags": [], "label": "{\n focusedAriaRowindex,\n focusOn,\n maxAriaRowindex,\n}", @@ -3131,7 +3202,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.getNewAriaRowindex.$1.focusedAriaRowindexfocusOnmaxAriaRowindex.focusedAriaRowindex", + "id": "def-common.getNewAriaRowindex.$1.focusedAriaRowindex", "type": "number", "tags": [], "label": "focusedAriaRowindex", @@ -3141,7 +3212,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.getNewAriaRowindex.$1.focusedAriaRowindexfocusOnmaxAriaRowindex.focusOn", + "id": "def-common.getNewAriaRowindex.$1.focusOn", "type": "CompoundType", "tags": [], "label": "focusOn", @@ -3154,7 +3225,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.getNewAriaRowindex.$1.focusedAriaRowindexfocusOnmaxAriaRowindex.maxAriaRowindex", + "id": "def-common.getNewAriaRowindex.$1.maxAriaRowindex", "type": "number", "tags": [], "label": "maxAriaRowindex", @@ -3216,7 +3287,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.getRowByAriaRowindex.$1.ariaRowindexelementrowindexAttribute", + "id": "def-common.getRowByAriaRowindex.$1", "type": "Object", "tags": [], "label": "{\n ariaRowindex,\n element,\n rowindexAttribute,\n}", @@ -3226,7 +3297,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.getRowByAriaRowindex.$1.ariaRowindexelementrowindexAttribute.ariaRowindex", + "id": "def-common.getRowByAriaRowindex.$1.ariaRowindex", "type": "number", "tags": [], "label": "ariaRowindex", @@ -3236,7 +3307,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.getRowByAriaRowindex.$1.ariaRowindexelementrowindexAttribute.element", + "id": "def-common.getRowByAriaRowindex.$1.element", "type": "CompoundType", "tags": [], "label": "element", @@ -3249,7 +3320,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.getRowByAriaRowindex.$1.ariaRowindexelementrowindexAttribute.rowindexAttribute", + "id": "def-common.getRowByAriaRowindex.$1.rowindexAttribute", "type": "string", "tags": [], "label": "rowindexAttribute", @@ -3280,7 +3351,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.getRowindex.$1.rowindexAttributeelement", + "id": "def-common.getRowindex.$1", "type": "Object", "tags": [], "label": "{\n rowindexAttribute,\n element,\n}", @@ -3290,7 +3361,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.getRowindex.$1.rowindexAttributeelement.rowindexAttribute", + "id": "def-common.getRowindex.$1.rowindexAttribute", "type": "string", "tags": [], "label": "rowindexAttribute", @@ -3300,7 +3371,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.getRowindex.$1.rowindexAttributeelement.element", + "id": "def-common.getRowindex.$1.element", "type": "CompoundType", "tags": [], "label": "element", @@ -3380,7 +3451,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.getTableSkipFocus.$1.containerElementgetFocusedCellshiftKeytableHasFocustableClassName", + "id": "def-common.getTableSkipFocus.$1", "type": "Object", "tags": [], "label": "{\n containerElement,\n getFocusedCell,\n shiftKey,\n tableHasFocus,\n tableClassName,\n}", @@ -3390,7 +3461,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.getTableSkipFocus.$1.containerElementgetFocusedCellshiftKeytableHasFocustableClassName.containerElement", + "id": "def-common.getTableSkipFocus.$1.containerElement", "type": "CompoundType", "tags": [], "label": "containerElement", @@ -3403,7 +3474,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.getTableSkipFocus.$1.containerElementgetFocusedCellshiftKeytableHasFocustableClassName.getFocusedCell", + "id": "def-common.getTableSkipFocus.$1.getFocusedCell", "type": "Function", "tags": [], "label": "getFocusedCell", @@ -3417,7 +3488,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.__0", + "id": "def-common.getTableSkipFocus.$1.getFocusedCell.$1", "type": "Object", "tags": [], "label": "__0", @@ -3432,7 +3503,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.getTableSkipFocus.$1.containerElementgetFocusedCellshiftKeytableHasFocustableClassName.shiftKey", + "id": "def-common.getTableSkipFocus.$1.shiftKey", "type": "boolean", "tags": [], "label": "shiftKey", @@ -3442,7 +3513,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.getTableSkipFocus.$1.containerElementgetFocusedCellshiftKeytableHasFocustableClassName.tableHasFocus", + "id": "def-common.getTableSkipFocus.$1.tableHasFocus", "type": "Function", "tags": [], "label": "tableHasFocus", @@ -3455,7 +3526,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.getTableSkipFocus.$1.containerElementgetFocusedCellshiftKeytableHasFocustableClassName.tableHasFocus.$1", + "id": "def-common.getTableSkipFocus.$1.tableHasFocus.$1", "type": "CompoundType", "tags": [], "label": "containerElement", @@ -3472,7 +3543,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.getTableSkipFocus.$1.containerElementgetFocusedCellshiftKeytableHasFocustableClassName.tableClassName", + "id": "def-common.getTableSkipFocus.$1.tableClassName", "type": "string", "tags": [], "label": "tableClassName", @@ -3556,7 +3627,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.handleSkipFocus.$1.onSkipFocusBackwardsonSkipFocusForwardskipFocus", + "id": "def-common.handleSkipFocus.$1", "type": "Object", "tags": [], "label": "{\n onSkipFocusBackwards,\n onSkipFocusForward,\n skipFocus,\n}", @@ -3566,7 +3637,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.handleSkipFocus.$1.onSkipFocusBackwardsonSkipFocusForwardskipFocus.onSkipFocusBackwards", + "id": "def-common.handleSkipFocus.$1.onSkipFocusBackwards", "type": "Function", "tags": [], "label": "onSkipFocusBackwards", @@ -3581,7 +3652,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.handleSkipFocus.$1.onSkipFocusBackwardsonSkipFocusForwardskipFocus.onSkipFocusForward", + "id": "def-common.handleSkipFocus.$1.onSkipFocusForward", "type": "Function", "tags": [], "label": "onSkipFocusForward", @@ -3596,7 +3667,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.handleSkipFocus.$1.onSkipFocusBackwardsonSkipFocusForwardskipFocus.skipFocus", + "id": "def-common.handleSkipFocus.$1.skipFocus", "type": "CompoundType", "tags": [], "label": "skipFocus", @@ -4176,7 +4247,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.onArrowKeyDown.$1.colindexAttributecontainerElementeventfocusedAriaColindexfocusedAriaRowindexmaxAriaColindexmaxAriaRowindexonColumnFocusedrowindexAttribute", + "id": "def-common.onArrowKeyDown.$1", "type": "Object", "tags": [], "label": "{\n colindexAttribute,\n containerElement,\n event,\n focusedAriaColindex,\n focusedAriaRowindex,\n maxAriaColindex,\n maxAriaRowindex,\n onColumnFocused,\n rowindexAttribute,\n}", @@ -4186,7 +4257,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.onArrowKeyDown.$1.colindexAttributecontainerElementeventfocusedAriaColindexfocusedAriaRowindexmaxAriaColindexmaxAriaRowindexonColumnFocusedrowindexAttribute.colindexAttribute", + "id": "def-common.onArrowKeyDown.$1.colindexAttribute", "type": "string", "tags": [], "label": "colindexAttribute", @@ -4196,7 +4267,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.onArrowKeyDown.$1.colindexAttributecontainerElementeventfocusedAriaColindexfocusedAriaRowindexmaxAriaColindexmaxAriaRowindexonColumnFocusedrowindexAttribute.containerElement", + "id": "def-common.onArrowKeyDown.$1.containerElement", "type": "CompoundType", "tags": [], "label": "containerElement", @@ -4209,7 +4280,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.onArrowKeyDown.$1.colindexAttributecontainerElementeventfocusedAriaColindexfocusedAriaRowindexmaxAriaColindexmaxAriaRowindexonColumnFocusedrowindexAttribute.event", + "id": "def-common.onArrowKeyDown.$1.event", "type": "Object", "tags": [], "label": "event", @@ -4222,7 +4293,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.onArrowKeyDown.$1.colindexAttributecontainerElementeventfocusedAriaColindexfocusedAriaRowindexmaxAriaColindexmaxAriaRowindexonColumnFocusedrowindexAttribute.focusedAriaColindex", + "id": "def-common.onArrowKeyDown.$1.focusedAriaColindex", "type": "number", "tags": [], "label": "focusedAriaColindex", @@ -4232,7 +4303,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.onArrowKeyDown.$1.colindexAttributecontainerElementeventfocusedAriaColindexfocusedAriaRowindexmaxAriaColindexmaxAriaRowindexonColumnFocusedrowindexAttribute.focusedAriaRowindex", + "id": "def-common.onArrowKeyDown.$1.focusedAriaRowindex", "type": "number", "tags": [], "label": "focusedAriaRowindex", @@ -4242,7 +4313,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.onArrowKeyDown.$1.colindexAttributecontainerElementeventfocusedAriaColindexfocusedAriaRowindexmaxAriaColindexmaxAriaRowindexonColumnFocusedrowindexAttribute.maxAriaColindex", + "id": "def-common.onArrowKeyDown.$1.maxAriaColindex", "type": "number", "tags": [], "label": "maxAriaColindex", @@ -4252,7 +4323,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.onArrowKeyDown.$1.colindexAttributecontainerElementeventfocusedAriaColindexfocusedAriaRowindexmaxAriaColindexmaxAriaRowindexonColumnFocusedrowindexAttribute.maxAriaRowindex", + "id": "def-common.onArrowKeyDown.$1.maxAriaRowindex", "type": "number", "tags": [], "label": "maxAriaRowindex", @@ -4262,7 +4333,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.onArrowKeyDown.$1.colindexAttributecontainerElementeventfocusedAriaColindexfocusedAriaRowindexmaxAriaColindexmaxAriaRowindexonColumnFocusedrowindexAttribute.onColumnFocused", + "id": "def-common.onArrowKeyDown.$1.onColumnFocused", "type": "Function", "tags": [], "label": "onColumnFocused", @@ -4282,7 +4353,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.onArrowKeyDown.$1.colindexAttributecontainerElementeventfocusedAriaColindexfocusedAriaRowindexmaxAriaColindexmaxAriaRowindexonColumnFocusedrowindexAttribute.rowindexAttribute", + "id": "def-common.onArrowKeyDown.$1.rowindexAttribute", "type": "string", "tags": [], "label": "rowindexAttribute", @@ -4354,7 +4425,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.onHomeEndDown.$1.colindexAttributecontainerElementeventfocusedAriaRowindexmaxAriaColindexmaxAriaRowindexonColumnFocusedrowindexAttribute", + "id": "def-common.onHomeEndDown.$1", "type": "Object", "tags": [], "label": "{\n colindexAttribute,\n containerElement,\n event,\n focusedAriaRowindex,\n maxAriaColindex,\n maxAriaRowindex,\n onColumnFocused,\n rowindexAttribute,\n}", @@ -4364,7 +4435,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.onHomeEndDown.$1.colindexAttributecontainerElementeventfocusedAriaRowindexmaxAriaColindexmaxAriaRowindexonColumnFocusedrowindexAttribute.colindexAttribute", + "id": "def-common.onHomeEndDown.$1.colindexAttribute", "type": "string", "tags": [], "label": "colindexAttribute", @@ -4374,7 +4445,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.onHomeEndDown.$1.colindexAttributecontainerElementeventfocusedAriaRowindexmaxAriaColindexmaxAriaRowindexonColumnFocusedrowindexAttribute.containerElement", + "id": "def-common.onHomeEndDown.$1.containerElement", "type": "CompoundType", "tags": [], "label": "containerElement", @@ -4387,7 +4458,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.onHomeEndDown.$1.colindexAttributecontainerElementeventfocusedAriaRowindexmaxAriaColindexmaxAriaRowindexonColumnFocusedrowindexAttribute.event", + "id": "def-common.onHomeEndDown.$1.event", "type": "Object", "tags": [], "label": "event", @@ -4400,7 +4471,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.onHomeEndDown.$1.colindexAttributecontainerElementeventfocusedAriaRowindexmaxAriaColindexmaxAriaRowindexonColumnFocusedrowindexAttribute.focusedAriaRowindex", + "id": "def-common.onHomeEndDown.$1.focusedAriaRowindex", "type": "number", "tags": [], "label": "focusedAriaRowindex", @@ -4410,7 +4481,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.onHomeEndDown.$1.colindexAttributecontainerElementeventfocusedAriaRowindexmaxAriaColindexmaxAriaRowindexonColumnFocusedrowindexAttribute.maxAriaColindex", + "id": "def-common.onHomeEndDown.$1.maxAriaColindex", "type": "number", "tags": [], "label": "maxAriaColindex", @@ -4420,7 +4491,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.onHomeEndDown.$1.colindexAttributecontainerElementeventfocusedAriaRowindexmaxAriaColindexmaxAriaRowindexonColumnFocusedrowindexAttribute.maxAriaRowindex", + "id": "def-common.onHomeEndDown.$1.maxAriaRowindex", "type": "number", "tags": [], "label": "maxAriaRowindex", @@ -4430,7 +4501,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.onHomeEndDown.$1.colindexAttributecontainerElementeventfocusedAriaRowindexmaxAriaColindexmaxAriaRowindexonColumnFocusedrowindexAttribute.onColumnFocused", + "id": "def-common.onHomeEndDown.$1.onColumnFocused", "type": "Function", "tags": [], "label": "onColumnFocused", @@ -4450,7 +4521,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.onHomeEndDown.$1.colindexAttributecontainerElementeventfocusedAriaRowindexmaxAriaColindexmaxAriaRowindexonColumnFocusedrowindexAttribute.rowindexAttribute", + "id": "def-common.onHomeEndDown.$1.rowindexAttribute", "type": "string", "tags": [], "label": "rowindexAttribute", @@ -4489,7 +4560,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.onKeyDownFocusHandler.$1.colindexAttributecontainerElementeventmaxAriaColindexmaxAriaRowindexonColumnFocusedrowindexAttribute", + "id": "def-common.onKeyDownFocusHandler.$1", "type": "Object", "tags": [], "label": "{\n colindexAttribute,\n containerElement,\n event,\n maxAriaColindex,\n maxAriaRowindex,\n onColumnFocused,\n rowindexAttribute,\n}", @@ -4499,7 +4570,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.onKeyDownFocusHandler.$1.colindexAttributecontainerElementeventmaxAriaColindexmaxAriaRowindexonColumnFocusedrowindexAttribute.colindexAttribute", + "id": "def-common.onKeyDownFocusHandler.$1.colindexAttribute", "type": "string", "tags": [], "label": "colindexAttribute", @@ -4509,7 +4580,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.onKeyDownFocusHandler.$1.colindexAttributecontainerElementeventmaxAriaColindexmaxAriaRowindexonColumnFocusedrowindexAttribute.containerElement", + "id": "def-common.onKeyDownFocusHandler.$1.containerElement", "type": "CompoundType", "tags": [], "label": "containerElement", @@ -4522,7 +4593,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.onKeyDownFocusHandler.$1.colindexAttributecontainerElementeventmaxAriaColindexmaxAriaRowindexonColumnFocusedrowindexAttribute.event", + "id": "def-common.onKeyDownFocusHandler.$1.event", "type": "Object", "tags": [], "label": "event", @@ -4535,7 +4606,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.onKeyDownFocusHandler.$1.colindexAttributecontainerElementeventmaxAriaColindexmaxAriaRowindexonColumnFocusedrowindexAttribute.maxAriaColindex", + "id": "def-common.onKeyDownFocusHandler.$1.maxAriaColindex", "type": "number", "tags": [], "label": "maxAriaColindex", @@ -4545,7 +4616,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.onKeyDownFocusHandler.$1.colindexAttributecontainerElementeventmaxAriaColindexmaxAriaRowindexonColumnFocusedrowindexAttribute.maxAriaRowindex", + "id": "def-common.onKeyDownFocusHandler.$1.maxAriaRowindex", "type": "number", "tags": [], "label": "maxAriaRowindex", @@ -4555,7 +4626,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.onKeyDownFocusHandler.$1.colindexAttributecontainerElementeventmaxAriaColindexmaxAriaRowindexonColumnFocusedrowindexAttribute.onColumnFocused", + "id": "def-common.onKeyDownFocusHandler.$1.onColumnFocused", "type": "Function", "tags": [], "label": "onColumnFocused", @@ -4569,7 +4640,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.__0", + "id": "def-common.onKeyDownFocusHandler.$1.onColumnFocused.$1", "type": "Object", "tags": [], "label": "__0", @@ -4584,7 +4655,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.onKeyDownFocusHandler.$1.colindexAttributecontainerElementeventmaxAriaColindexmaxAriaRowindexonColumnFocusedrowindexAttribute.rowindexAttribute", + "id": "def-common.onKeyDownFocusHandler.$1.rowindexAttribute", "type": "string", "tags": [], "label": "rowindexAttribute", @@ -4623,7 +4694,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.onPageDownOrPageUp.$1.colindexAttributecontainerElementeventfocusedAriaColindexfocusedAriaRowindexmaxAriaRowindexonColumnFocusedrowindexAttribute", + "id": "def-common.onPageDownOrPageUp.$1", "type": "Object", "tags": [], "label": "{\n colindexAttribute,\n containerElement,\n event,\n focusedAriaColindex,\n focusedAriaRowindex,\n maxAriaRowindex,\n onColumnFocused,\n rowindexAttribute,\n}", @@ -4633,7 +4704,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.onPageDownOrPageUp.$1.colindexAttributecontainerElementeventfocusedAriaColindexfocusedAriaRowindexmaxAriaRowindexonColumnFocusedrowindexAttribute.colindexAttribute", + "id": "def-common.onPageDownOrPageUp.$1.colindexAttribute", "type": "string", "tags": [], "label": "colindexAttribute", @@ -4643,7 +4714,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.onPageDownOrPageUp.$1.colindexAttributecontainerElementeventfocusedAriaColindexfocusedAriaRowindexmaxAriaRowindexonColumnFocusedrowindexAttribute.containerElement", + "id": "def-common.onPageDownOrPageUp.$1.containerElement", "type": "CompoundType", "tags": [], "label": "containerElement", @@ -4656,7 +4727,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.onPageDownOrPageUp.$1.colindexAttributecontainerElementeventfocusedAriaColindexfocusedAriaRowindexmaxAriaRowindexonColumnFocusedrowindexAttribute.event", + "id": "def-common.onPageDownOrPageUp.$1.event", "type": "Object", "tags": [], "label": "event", @@ -4669,7 +4740,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.onPageDownOrPageUp.$1.colindexAttributecontainerElementeventfocusedAriaColindexfocusedAriaRowindexmaxAriaRowindexonColumnFocusedrowindexAttribute.focusedAriaColindex", + "id": "def-common.onPageDownOrPageUp.$1.focusedAriaColindex", "type": "number", "tags": [], "label": "focusedAriaColindex", @@ -4679,7 +4750,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.onPageDownOrPageUp.$1.colindexAttributecontainerElementeventfocusedAriaColindexfocusedAriaRowindexmaxAriaRowindexonColumnFocusedrowindexAttribute.focusedAriaRowindex", + "id": "def-common.onPageDownOrPageUp.$1.focusedAriaRowindex", "type": "number", "tags": [], "label": "focusedAriaRowindex", @@ -4689,7 +4760,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.onPageDownOrPageUp.$1.colindexAttributecontainerElementeventfocusedAriaColindexfocusedAriaRowindexmaxAriaRowindexonColumnFocusedrowindexAttribute.maxAriaRowindex", + "id": "def-common.onPageDownOrPageUp.$1.maxAriaRowindex", "type": "number", "tags": [], "label": "maxAriaRowindex", @@ -4699,7 +4770,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.onPageDownOrPageUp.$1.colindexAttributecontainerElementeventfocusedAriaColindexfocusedAriaRowindexmaxAriaRowindexonColumnFocusedrowindexAttribute.onColumnFocused", + "id": "def-common.onPageDownOrPageUp.$1.onColumnFocused", "type": "Function", "tags": [], "label": "onColumnFocused", @@ -4719,7 +4790,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.onPageDownOrPageUp.$1.colindexAttributecontainerElementeventfocusedAriaColindexfocusedAriaRowindexmaxAriaRowindexonColumnFocusedrowindexAttribute.rowindexAttribute", + "id": "def-common.onPageDownOrPageUp.$1.rowindexAttribute", "type": "string", "tags": [], "label": "rowindexAttribute", @@ -4750,7 +4821,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.skipFocusInContainerTo.$1.containerElementclassName", + "id": "def-common.skipFocusInContainerTo.$1", "type": "Object", "tags": [], "label": "{\n containerElement,\n className,\n}", @@ -4760,7 +4831,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.skipFocusInContainerTo.$1.containerElementclassName.containerElement", + "id": "def-common.skipFocusInContainerTo.$1.containerElement", "type": "CompoundType", "tags": [], "label": "containerElement", @@ -4773,7 +4844,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.skipFocusInContainerTo.$1.containerElementclassName.className", + "id": "def-common.skipFocusInContainerTo.$1.className", "type": "string", "tags": [], "label": "className", @@ -4832,16 +4903,6 @@ "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", "deprecated": false, "children": [ - { - "parentPluginId": "timelines", - "id": "def-common.ActionProps.ariaRowindex", - "type": "number", - "tags": [], - "label": "ariaRowindex", - "description": [], - "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", - "deprecated": false - }, { "parentPluginId": "timelines", "id": "def-common.ActionProps.action", @@ -4897,14 +4958,21 @@ }, { "parentPluginId": "timelines", - "id": "def-common.ActionProps.width", + "id": "def-common.ActionProps.ariaRowindex", "type": "number", "tags": [], - "label": "width", + "label": "ariaRowindex", + "description": [], + "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", + "deprecated": false + }, + { + "parentPluginId": "timelines", + "id": "def-common.ActionProps.checked", + "type": "boolean", + "tags": [], + "label": "checked", "description": [], - "signature": [ - "number | undefined" - ], "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", "deprecated": false }, @@ -4930,42 +4998,49 @@ }, { "parentPluginId": "timelines", - "id": "def-common.ActionProps.checked", - "type": "boolean", + "id": "def-common.ActionProps.data", + "type": "Array", "tags": [], - "label": "checked", + "label": "data", "description": [], + "signature": [ + { + "pluginId": "timelines", + "scope": "common", + "docId": "kibTimelinesPluginApi", + "section": "def-common.TimelineNonEcsData", + "text": "TimelineNonEcsData" + }, + "[]" + ], "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", "deprecated": false }, { "parentPluginId": "timelines", - "id": "def-common.ActionProps.onRowSelected", - "type": "Function", + "id": "def-common.ActionProps.disabled", + "type": "CompoundType", "tags": [], - "label": "onRowSelected", + "label": "disabled", "description": [], "signature": [ - "({ eventIds, isSelected, }: { eventIds: string[]; isSelected: boolean; }) => void" + "boolean | undefined" ], "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", - "deprecated": false, - "returnComment": [], - "children": [ - { - "parentPluginId": "timelines", - "id": "def-common.__0", - "type": "Object", - "tags": [], - "label": "__0", - "description": [], - "signature": [ - "{ eventIds: string[]; isSelected: boolean; }" - ], - "path": "x-pack/plugins/timelines/common/types/timeline/store.ts", - "deprecated": false - } - ] + "deprecated": false + }, + { + "parentPluginId": "timelines", + "id": "def-common.ActionProps.ecsData", + "type": "Object", + "tags": [], + "label": "ecsData", + "description": [], + "signature": [ + "Ecs" + ], + "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", + "deprecated": false }, { "parentPluginId": "timelines", @@ -4979,123 +5054,139 @@ }, { "parentPluginId": "timelines", - "id": "def-common.ActionProps.loadingEventIds", + "id": "def-common.ActionProps.eventIdToNoteIds", "type": "Object", "tags": [], - "label": "loadingEventIds", + "label": "eventIdToNoteIds", "description": [], "signature": [ - "readonly string[]" + "Readonly> | undefined" ], "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", "deprecated": false }, { "parentPluginId": "timelines", - "id": "def-common.ActionProps.onEventDetailsPanelOpened", - "type": "Function", + "id": "def-common.ActionProps.index", + "type": "number", "tags": [], - "label": "onEventDetailsPanelOpened", + "label": "index", "description": [], - "signature": [ - "() => void" - ], "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "deprecated": false }, { "parentPluginId": "timelines", - "id": "def-common.ActionProps.showCheckboxes", - "type": "boolean", + "id": "def-common.ActionProps.isEventPinned", + "type": "CompoundType", "tags": [], - "label": "showCheckboxes", + "label": "isEventPinned", "description": [], + "signature": [ + "boolean | undefined" + ], "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", "deprecated": false }, { "parentPluginId": "timelines", - "id": "def-common.ActionProps.data", - "type": "Array", + "id": "def-common.ActionProps.isEventViewer", + "type": "CompoundType", "tags": [], - "label": "data", + "label": "isEventViewer", "description": [], "signature": [ - { - "pluginId": "timelines", - "scope": "common", - "docId": "kibTimelinesPluginApi", - "section": "def-common.TimelineNonEcsData", - "text": "TimelineNonEcsData" - }, - "[]" + "boolean | undefined" ], "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", "deprecated": false }, { "parentPluginId": "timelines", - "id": "def-common.ActionProps.ecsData", + "id": "def-common.ActionProps.loadingEventIds", "type": "Object", "tags": [], - "label": "ecsData", + "label": "loadingEventIds", "description": [], "signature": [ - "Ecs" + "readonly string[]" ], "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", "deprecated": false }, { "parentPluginId": "timelines", - "id": "def-common.ActionProps.index", - "type": "number", + "id": "def-common.ActionProps.onEventDetailsPanelOpened", + "type": "Function", "tags": [], - "label": "index", + "label": "onEventDetailsPanelOpened", "description": [], + "signature": [ + "() => void" + ], "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", - "deprecated": false + "deprecated": false, + "children": [], + "returnComment": [] }, { "parentPluginId": "timelines", - "id": "def-common.ActionProps.eventIdToNoteIds", - "type": "Object", + "id": "def-common.ActionProps.onRowSelected", + "type": "Function", "tags": [], - "label": "eventIdToNoteIds", + "label": "onRowSelected", "description": [], "signature": [ - "Readonly> | undefined" + "({ eventIds, isSelected, }: { eventIds: string[]; isSelected: boolean; }) => void" ], "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", - "deprecated": false + "deprecated": false, + "returnComment": [], + "children": [ + { + "parentPluginId": "timelines", + "id": "def-common.ActionProps.onRowSelected.$1", + "type": "Object", + "tags": [], + "label": "__0", + "description": [], + "signature": [ + "{ eventIds: string[]; isSelected: boolean; }" + ], + "path": "x-pack/plugins/timelines/common/types/timeline/store.ts", + "deprecated": false + } + ] }, { "parentPluginId": "timelines", - "id": "def-common.ActionProps.isEventPinned", - "type": "CompoundType", + "id": "def-common.ActionProps.onRuleChange", + "type": "Function", "tags": [], - "label": "isEventPinned", + "label": "onRuleChange", "description": [], "signature": [ - "boolean | undefined" + "(() => void) | undefined" ], "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", - "deprecated": false + "deprecated": false, + "children": [], + "returnComment": [] }, { "parentPluginId": "timelines", - "id": "def-common.ActionProps.isEventViewer", - "type": "CompoundType", + "id": "def-common.ActionProps.refetch", + "type": "Function", "tags": [], - "label": "isEventViewer", + "label": "refetch", "description": [], "signature": [ - "boolean | undefined" + "(() => void) | undefined" ], "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", - "deprecated": false + "deprecated": false, + "children": [], + "returnComment": [] }, { "parentPluginId": "timelines", @@ -5109,13 +5200,13 @@ }, { "parentPluginId": "timelines", - "id": "def-common.ActionProps.setEventsLoading", + "id": "def-common.ActionProps.setEventsDeleted", "type": "Function", "tags": [], - "label": "setEventsLoading", + "label": "setEventsDeleted", "description": [], "signature": [ - "(params: { eventIds: string[]; isLoading: boolean; }) => void" + "(params: { eventIds: string[]; isDeleted: boolean; }) => void" ], "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", "deprecated": false, @@ -5123,13 +5214,13 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.params", + "id": "def-common.ActionProps.setEventsDeleted.$1", "type": "Object", "tags": [], "label": "params", "description": [], "signature": [ - "{ eventIds: string[]; isLoading: boolean; }" + "{ eventIds: string[]; isDeleted: boolean; }" ], "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", "deprecated": false @@ -5138,13 +5229,13 @@ }, { "parentPluginId": "timelines", - "id": "def-common.ActionProps.setEventsDeleted", + "id": "def-common.ActionProps.setEventsLoading", "type": "Function", "tags": [], - "label": "setEventsDeleted", + "label": "setEventsLoading", "description": [], "signature": [ - "(params: { eventIds: string[]; isDeleted: boolean; }) => void" + "(params: { eventIds: string[]; isLoading: boolean; }) => void" ], "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", "deprecated": false, @@ -5152,13 +5243,13 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.params", + "id": "def-common.ActionProps.setEventsLoading.$1", "type": "Object", "tags": [], "label": "params", "description": [], "signature": [ - "{ eventIds: string[]; isDeleted: boolean; }" + "{ eventIds: string[]; isLoading: boolean; }" ], "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", "deprecated": false @@ -5167,33 +5258,13 @@ }, { "parentPluginId": "timelines", - "id": "def-common.ActionProps.refetch", - "type": "Function", - "tags": [], - "label": "refetch", - "description": [], - "signature": [ - "(() => void) | undefined" - ], - "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", - "deprecated": false, - "children": [], - "returnComment": [] - }, - { - "parentPluginId": "timelines", - "id": "def-common.ActionProps.onRuleChange", - "type": "Function", + "id": "def-common.ActionProps.showCheckboxes", + "type": "boolean", "tags": [], - "label": "onRuleChange", + "label": "showCheckboxes", "description": [], - "signature": [ - "(() => void) | undefined" - ], "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", - "deprecated": false, - "children": [], - "returnComment": [] + "deprecated": false }, { "parentPluginId": "timelines", @@ -5252,6 +5323,19 @@ "deprecated": false, "children": [], "returnComment": [] + }, + { + "parentPluginId": "timelines", + "id": "def-common.ActionProps.width", + "type": "number", + "tags": [], + "label": "width", + "description": [], + "signature": [ + "number | undefined" + ], + "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", + "deprecated": false } ], "initialIsOpen": false @@ -5982,7 +6066,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.ColumnRenderer.renderColumn.$1.columnNameeventIdfieldtimelineIdtruncatevalueslinkValues", + "id": "def-common.ColumnRenderer.renderColumn.$1", "type": "Object", "tags": [], "label": "{\n columnName,\n eventId,\n field,\n timelineId,\n truncate,\n values,\n linkValues,\n }", @@ -5992,7 +6076,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.ColumnRenderer.renderColumn.$1.columnNameeventIdfieldtimelineIdtruncatevalueslinkValues.columnName", + "id": "def-common.ColumnRenderer.renderColumn.$1.columnName", "type": "string", "tags": [], "label": "columnName", @@ -6002,7 +6086,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.ColumnRenderer.renderColumn.$1.columnNameeventIdfieldtimelineIdtruncatevalueslinkValues.eventId", + "id": "def-common.ColumnRenderer.renderColumn.$1.eventId", "type": "string", "tags": [], "label": "eventId", @@ -6012,7 +6096,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.ColumnRenderer.renderColumn.$1.columnNameeventIdfieldtimelineIdtruncatevalueslinkValues.field", + "id": "def-common.ColumnRenderer.renderColumn.$1.field", "type": "CompoundType", "tags": [], "label": "field", @@ -6020,7 +6104,7 @@ "signature": [ "Pick<", "EuiDataGridColumn", - ", \"id\" | \"display\" | \"actions\" | \"defaultSortDirection\" | \"displayAsText\" | \"initialWidth\" | \"isSortable\"> & { aggregatable?: boolean | undefined; tGridCellActions?: ", + ", \"id\" | \"schema\" | \"display\" | \"actions\" | \"defaultSortDirection\" | \"displayAsText\" | \"initialWidth\" | \"isSortable\"> & { aggregatable?: boolean | undefined; tGridCellActions?: ", { "pluginId": "timelines", "scope": "common", @@ -6045,7 +6129,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.ColumnRenderer.renderColumn.$1.columnNameeventIdfieldtimelineIdtruncatevalueslinkValues.timelineId", + "id": "def-common.ColumnRenderer.renderColumn.$1.timelineId", "type": "string", "tags": [], "label": "timelineId", @@ -6055,7 +6139,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.ColumnRenderer.renderColumn.$1.columnNameeventIdfieldtimelineIdtruncatevalueslinkValues.truncate", + "id": "def-common.ColumnRenderer.renderColumn.$1.truncate", "type": "CompoundType", "tags": [], "label": "truncate", @@ -6068,7 +6152,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.ColumnRenderer.renderColumn.$1.columnNameeventIdfieldtimelineIdtruncatevalueslinkValues.values", + "id": "def-common.ColumnRenderer.renderColumn.$1.values", "type": "CompoundType", "tags": [], "label": "values", @@ -6081,7 +6165,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.ColumnRenderer.renderColumn.$1.columnNameeventIdfieldtimelineIdtruncatevalueslinkValues.linkValues", + "id": "def-common.ColumnRenderer.renderColumn.$1.linkValues", "type": "CompoundType", "tags": [], "label": "linkValues", @@ -8055,7 +8139,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.HeaderActionProps.onSelectAll.$1.isSelected", + "id": "def-common.HeaderActionProps.onSelectAll.$1", "type": "Object", "tags": [], "label": "{ isSelected }", @@ -8065,7 +8149,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.HeaderActionProps.onSelectAll.$1.isSelected.isSelected", + "id": "def-common.HeaderActionProps.onSelectAll.$1.isSelected", "type": "boolean", "tags": [], "label": "isSelected", @@ -9085,7 +9169,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.RowRenderer.renderRow.$1.browserFieldsdataisDraggabletimelineId", + "id": "def-common.RowRenderer.renderRow.$1", "type": "Object", "tags": [], "label": "{\n browserFields,\n data,\n isDraggable,\n timelineId,\n }", @@ -9095,7 +9179,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.RowRenderer.renderRow.$1.browserFieldsdataisDraggabletimelineId.browserFields", + "id": "def-common.RowRenderer.renderRow.$1.browserFields", "type": "Object", "tags": [], "label": "browserFields", @@ -9116,7 +9200,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.RowRenderer.renderRow.$1.browserFieldsdataisDraggabletimelineId.data", + "id": "def-common.RowRenderer.renderRow.$1.data", "type": "Object", "tags": [], "label": "data", @@ -9129,7 +9213,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.RowRenderer.renderRow.$1.browserFieldsdataisDraggabletimelineId.isDraggable", + "id": "def-common.RowRenderer.renderRow.$1.isDraggable", "type": "boolean", "tags": [], "label": "isDraggable", @@ -9139,7 +9223,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.RowRenderer.renderRow.$1.browserFieldsdataisDraggabletimelineId.timelineId", + "id": "def-common.RowRenderer.renderRow.$1.timelineId", "type": "string", "tags": [], "label": "timelineId", @@ -9629,7 +9713,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.params", + "id": "def-common.StatusBulkActionsProps.setEventsLoading.$1", "type": "Object", "tags": [], "label": "params", @@ -9658,7 +9742,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.params", + "id": "def-common.StatusBulkActionsProps.setEventsDeleted.$1", "type": "Object", "tags": [], "label": "params", @@ -9710,6 +9794,19 @@ ], "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", "deprecated": false + }, + { + "parentPluginId": "timelines", + "id": "def-common.StatusBulkActionsProps.timelineId", + "type": "string", + "tags": [], + "label": "timelineId", + "description": [], + "signature": [ + "string | undefined" + ], + "path": "x-pack/plugins/timelines/common/types/timeline/actions/index.ts", + "deprecated": false } ], "initialIsOpen": false @@ -10083,6 +10180,19 @@ "path": "x-pack/plugins/timelines/common/search_strategy/timeline/events/all/index.ts", "deprecated": false, "children": [ + { + "parentPluginId": "timelines", + "id": "def-common.TimelineEventsAllStrategyResponse.consumers", + "type": "Object", + "tags": [], + "label": "consumers", + "description": [], + "signature": [ + "{ [x: string]: number; }" + ], + "path": "x-pack/plugins/timelines/common/search_strategy/timeline/events/all/index.ts", + "deprecated": false + }, { "parentPluginId": "timelines", "id": "def-common.TimelineEventsAllStrategyResponse.edges", @@ -12521,7 +12631,7 @@ "signature": [ "Pick<", "EuiDataGridColumn", - ", \"id\" | \"display\" | \"actions\" | \"defaultSortDirection\" | \"displayAsText\" | \"initialWidth\" | \"isSortable\"> & { aggregatable?: boolean | undefined; tGridCellActions?: ", + ", \"id\" | \"schema\" | \"display\" | \"actions\" | \"defaultSortDirection\" | \"displayAsText\" | \"initialWidth\" | \"isSortable\"> & { aggregatable?: boolean | undefined; tGridCellActions?: ", { "pluginId": "timelines", "scope": "common", @@ -12900,7 +13010,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.__0", + "id": "def-common.GetFocusedCell.$1", "type": "Object", "tags": [], "label": "__0", @@ -13101,7 +13211,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.nextPage", + "id": "def-common.OnChangePage.$1", "type": "number", "tags": [], "label": "nextPage", @@ -13128,7 +13238,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.__0", + "id": "def-common.OnColumnFocused.$1", "type": "Object", "tags": [], "label": "__0", @@ -13158,7 +13268,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.columnId", + "id": "def-common.OnColumnRemoved.$1", "type": "string", "tags": [], "label": "columnId", @@ -13185,7 +13295,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.__0", + "id": "def-common.OnColumnResized.$1", "type": "Object", "tags": [], "label": "__0", @@ -13225,7 +13335,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.sorted", + "id": "def-common.OnColumnSorted.$1", "type": "Object", "tags": [], "label": "sorted", @@ -13271,7 +13381,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.sorted", + "id": "def-common.OnColumnsSorted.$1", "type": "Array", "tags": [], "label": "sorted", @@ -13311,7 +13421,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.eventId", + "id": "def-common.OnPinEvent.$1", "type": "string", "tags": [], "label": "eventId", @@ -13340,7 +13450,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.__0", + "id": "def-common.OnRowSelected.$1", "type": "Object", "tags": [], "label": "__0", @@ -13372,7 +13482,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.__0", + "id": "def-common.OnSelectAll.$1", "type": "Object", "tags": [], "label": "__0", @@ -13404,7 +13514,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.eventId", + "id": "def-common.OnUnPinEvent.$1", "type": "string", "tags": [], "label": "eventId", @@ -13433,7 +13543,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.status", + "id": "def-common.OnUpdateAlertStatusError.$1", "type": "CompoundType", "tags": [], "label": "status", @@ -13446,7 +13556,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.error", + "id": "def-common.OnUpdateAlertStatusError.$2", "type": "Object", "tags": [], "label": "error", @@ -13478,7 +13588,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.updated", + "id": "def-common.OnUpdateAlertStatusSuccess.$1", "type": "number", "tags": [], "label": "updated", @@ -13488,7 +13598,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.conflicts", + "id": "def-common.OnUpdateAlertStatusSuccess.$2", "type": "number", "tags": [], "label": "conflicts", @@ -13498,7 +13608,7 @@ }, { "parentPluginId": "timelines", - "id": "def-common.status", + "id": "def-common.OnUpdateAlertStatusSuccess.$3", "type": "CompoundType", "tags": [], "label": "status", @@ -13538,7 +13648,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.columns", + "id": "def-common.OnUpdateColumns.$1", "type": "Array", "tags": [], "label": "columns", @@ -13847,7 +13957,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.params", + "id": "def-common.SetEventsDeleted.$1", "type": "Object", "tags": [], "label": "params", @@ -13877,7 +13987,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.params", + "id": "def-common.SetEventsLoading.$1", "type": "Object", "tags": [], "label": "params", @@ -14079,7 +14189,7 @@ "\nA `TGridCellAction` function accepts `data`, where each row of data is\nrepresented as a `TimelineNonEcsData[]`. For example, `data[0]` would\ncontain a `TimelineNonEcsData[]` with the first row of data.\n\nA `TGridCellAction` returns a function that has access to all the\n`EuiDataGridColumnCellActionProps`, _plus_ access to `data`,\n which enables code like the following example to be written:\n\nExample:\n```\n({ data }: { data: TimelineNonEcsData[][] }) => ({ rowIndex, columnId, Component }) => {\n const value = getMappedNonEcsValue({\n data: data[rowIndex], // access a specific row's values\n fieldName: columnId,\n });\n\n return (\n alert(`row ${rowIndex} col ${columnId} has value ${value}`)} iconType=\"heart\">\n {'Love it'}\n \n );\n};\n```" ], "signature": [ - "({ browserFields, data, timelineId, }: { browserFields: Readonly (props: ", + "[][]; timelineId: string; pageSize: number; }) => (props: ", "EuiDataGridColumnCellActionProps", ") => React.ReactNode" ], @@ -14105,7 +14215,7 @@ "children": [ { "parentPluginId": "timelines", - "id": "def-common.__0", + "id": "def-common.TGridCellAction.$1", "type": "Object", "tags": [], "label": "__0", @@ -14127,7 +14237,7 @@ "section": "def-common.TimelineNonEcsData", "text": "TimelineNonEcsData" }, - "[][]; timelineId: string; }" + "[][]; timelineId: string; pageSize: number; }" ], "path": "x-pack/plugins/timelines/common/types/timeline/columns/index.tsx", "deprecated": false @@ -14171,7 +14281,17 @@ "label": "TimelineExpandedDetail", "description": [], "signature": [ - "{ query?: Record | { panelView?: \"eventDetail\" | undefined; params?: { eventId: string; indexName: string; } | undefined; } | { panelView?: \"hostDetail\" | undefined; params?: { hostName: string; } | undefined; } | { panelView?: \"networkDetail\" | undefined; params?: { ip: string; flowTarget: FlowTarget; } | undefined; } | undefined; graph?: Record | { panelView?: \"eventDetail\" | undefined; params?: { eventId: string; indexName: string; } | undefined; } | { panelView?: \"hostDetail\" | undefined; params?: { hostName: string; } | undefined; } | { panelView?: \"networkDetail\" | undefined; params?: { ip: string; flowTarget: FlowTarget; } | undefined; } | undefined; notes?: Record | { panelView?: \"eventDetail\" | undefined; params?: { eventId: string; indexName: string; } | undefined; } | { panelView?: \"hostDetail\" | undefined; params?: { hostName: string; } | undefined; } | { panelView?: \"networkDetail\" | undefined; params?: { ip: string; flowTarget: FlowTarget; } | undefined; } | undefined; pinned?: Record | { panelView?: \"eventDetail\" | undefined; params?: { eventId: string; indexName: string; } | undefined; } | { panelView?: \"hostDetail\" | undefined; params?: { hostName: string; } | undefined; } | { panelView?: \"networkDetail\" | undefined; params?: { ip: string; flowTarget: FlowTarget; } | undefined; } | undefined; eql?: Record | { panelView?: \"eventDetail\" | undefined; params?: { eventId: string; indexName: string; } | undefined; } | { panelView?: \"hostDetail\" | undefined; params?: { hostName: string; } | undefined; } | { panelView?: \"networkDetail\" | undefined; params?: { ip: string; flowTarget: FlowTarget; } | undefined; } | undefined; }" + "{ query?: Record | { panelView?: \"eventDetail\" | undefined; params?: { eventId: string; indexName: string; ecsData?: ", + "Ecs", + " | undefined; } | undefined; } | { panelView?: \"hostDetail\" | undefined; params?: { hostName: string; } | undefined; } | { panelView?: \"networkDetail\" | undefined; params?: { ip: string; flowTarget: FlowTarget; } | undefined; } | undefined; graph?: Record | { panelView?: \"eventDetail\" | undefined; params?: { eventId: string; indexName: string; ecsData?: ", + "Ecs", + " | undefined; } | undefined; } | { panelView?: \"hostDetail\" | undefined; params?: { hostName: string; } | undefined; } | { panelView?: \"networkDetail\" | undefined; params?: { ip: string; flowTarget: FlowTarget; } | undefined; } | undefined; notes?: Record | { panelView?: \"eventDetail\" | undefined; params?: { eventId: string; indexName: string; ecsData?: ", + "Ecs", + " | undefined; } | undefined; } | { panelView?: \"hostDetail\" | undefined; params?: { hostName: string; } | undefined; } | { panelView?: \"networkDetail\" | undefined; params?: { ip: string; flowTarget: FlowTarget; } | undefined; } | undefined; pinned?: Record | { panelView?: \"eventDetail\" | undefined; params?: { eventId: string; indexName: string; ecsData?: ", + "Ecs", + " | undefined; } | undefined; } | { panelView?: \"hostDetail\" | undefined; params?: { hostName: string; } | undefined; } | { panelView?: \"networkDetail\" | undefined; params?: { ip: string; flowTarget: FlowTarget; } | undefined; } | undefined; eql?: Record | { panelView?: \"eventDetail\" | undefined; params?: { eventId: string; indexName: string; ecsData?: ", + "Ecs", + " | undefined; } | undefined; } | { panelView?: \"hostDetail\" | undefined; params?: { hostName: string; } | undefined; } | { panelView?: \"networkDetail\" | undefined; params?: { ip: string; flowTarget: FlowTarget; } | undefined; } | undefined; }" ], "path": "x-pack/plugins/timelines/common/types/timeline/index.ts", "deprecated": false, @@ -14185,7 +14305,9 @@ "label": "TimelineExpandedDetailType", "description": [], "signature": [ - "Record | { panelView?: \"eventDetail\" | undefined; params?: { eventId: string; indexName: string; } | undefined; } | { panelView?: \"hostDetail\" | undefined; params?: { hostName: string; } | undefined; } | { panelView?: \"networkDetail\" | undefined; params?: { ip: string; flowTarget: FlowTarget; } | undefined; }" + "Record | { panelView?: \"eventDetail\" | undefined; params?: { eventId: string; indexName: string; ecsData?: ", + "Ecs", + " | undefined; } | undefined; } | { panelView?: \"hostDetail\" | undefined; params?: { hostName: string; } | undefined; } | { panelView?: \"networkDetail\" | undefined; params?: { ip: string; flowTarget: FlowTarget; } | undefined; }" ], "path": "x-pack/plugins/timelines/common/types/timeline/index.ts", "deprecated": false, @@ -14199,7 +14321,9 @@ "label": "TimelineExpandedEventType", "description": [], "signature": [ - "Record | { panelView?: \"eventDetail\" | undefined; params?: { eventId: string; indexName: string; } | undefined; }" + "Record | { panelView?: \"eventDetail\" | undefined; params?: { eventId: string; indexName: string; ecsData?: ", + "Ecs", + " | undefined; } | undefined; }" ], "path": "x-pack/plugins/timelines/common/types/timeline/index.ts", "deprecated": false, @@ -14676,7 +14800,9 @@ "section": "def-common.TimelineTabs", "text": "TimelineTabs" }, - " | undefined; timelineId: string; }) | ({ panelView?: \"eventDetail\" | undefined; params?: { eventId: string; indexName: string; } | undefined; } & { tabType?: ", + " | undefined; timelineId: string; }) | ({ panelView?: \"eventDetail\" | undefined; params?: { eventId: string; indexName: string; ecsData?: ", + "Ecs", + " | undefined; } | undefined; } & { tabType?: ", { "pluginId": "timelines", "scope": "common", diff --git a/api_docs/timelines.mdx b/api_docs/timelines.mdx index 5e943046bc989..248a82715348c 100644 --- a/api_docs/timelines.mdx +++ b/api_docs/timelines.mdx @@ -18,7 +18,7 @@ Contact [Security solution](https://github.com/orgs/elastic/teams/security-solut | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 960 | 6 | 840 | 24 | +| 967 | 6 | 846 | 25 | ## Client diff --git a/api_docs/triggers_actions_ui.json b/api_docs/triggers_actions_ui.json index c647f97a507a1..eeb23ea589d99 100644 --- a/api_docs/triggers_actions_ui.json +++ b/api_docs/triggers_actions_ui.json @@ -187,7 +187,7 @@ "children": [ { "parentPluginId": "triggersActionsUi", - "id": "def-public.props", + "id": "def-public.ActionForm.$1", "type": "Uncategorized", "tags": [], "label": "props", @@ -221,7 +221,7 @@ "children": [ { "parentPluginId": "triggersActionsUi", - "id": "def-public.props", + "id": "def-public.AlertConditions.$1", "type": "Uncategorized", "tags": [], "label": "props", @@ -255,7 +255,7 @@ "children": [ { "parentPluginId": "triggersActionsUi", - "id": "def-public.props", + "id": "def-public.AlertConditionsGroup.$1", "type": "Uncategorized", "tags": [], "label": "props", @@ -287,7 +287,7 @@ "children": [ { "parentPluginId": "triggersActionsUi", - "id": "def-public.props", + "id": "def-public.ConnectorAddFlyout.$1", "type": "Uncategorized", "tags": [], "label": "props", @@ -319,7 +319,7 @@ "children": [ { "parentPluginId": "triggersActionsUi", - "id": "def-public.props", + "id": "def-public.ConnectorEditFlyout.$1", "type": "Uncategorized", "tags": [], "label": "props", @@ -351,7 +351,7 @@ "children": [ { "parentPluginId": "triggersActionsUi", - "id": "def-public.props", + "id": "def-public.ForLastExpression.$1", "type": "Uncategorized", "tags": [], "label": "props", @@ -668,7 +668,7 @@ "children": [ { "parentPluginId": "triggersActionsUi", - "id": "def-public.props", + "id": "def-public.GroupByExpression.$1", "type": "Uncategorized", "tags": [], "label": "props", @@ -713,7 +713,7 @@ "children": [ { "parentPluginId": "triggersActionsUi", - "id": "def-public.loadActionTypes.$1.http", + "id": "def-public.loadActionTypes.$1", "type": "Object", "tags": [], "label": "{ http }", @@ -723,7 +723,7 @@ "children": [ { "parentPluginId": "triggersActionsUi", - "id": "def-public.loadActionTypes.$1.http.http", + "id": "def-public.loadActionTypes.$1.http", "type": "Object", "tags": [], "label": "http", @@ -764,7 +764,7 @@ "children": [ { "parentPluginId": "triggersActionsUi", - "id": "def-public.props", + "id": "def-public.OfExpression.$1", "type": "Uncategorized", "tags": [], "label": "props", @@ -796,7 +796,7 @@ "children": [ { "parentPluginId": "triggersActionsUi", - "id": "def-public.props", + "id": "def-public.ThresholdExpression.$1", "type": "Uncategorized", "tags": [], "label": "props", @@ -828,7 +828,7 @@ "children": [ { "parentPluginId": "triggersActionsUi", - "id": "def-public.props", + "id": "def-public.ValueExpression.$1", "type": "Uncategorized", "tags": [], "label": "props", @@ -860,7 +860,7 @@ "children": [ { "parentPluginId": "triggersActionsUi", - "id": "def-public.props", + "id": "def-public.WhenExpression.$1", "type": "Uncategorized", "tags": [], "label": "props", @@ -1196,7 +1196,7 @@ "children": [ { "parentPluginId": "triggersActionsUi", - "id": "def-public.props", + "id": "def-public.AlertTypeModel.alertParamsExpression.$1", "type": "Uncategorized", "tags": [], "label": "props", @@ -1353,7 +1353,7 @@ "label": "setAlertProperty", "description": [], "signature": [ - "(key: Prop, value: Pick<", + "(key: Prop, value: Pick<", { "pluginId": "alerting", "scope": "common", @@ -1361,7 +1361,7 @@ "section": "def-common.Alert", "text": "Alert" }, - ", \"enabled\" | \"id\" | \"name\" | \"params\" | \"actions\" | \"throttle\" | \"tags\" | \"alertTypeId\" | \"consumer\" | \"schedule\" | \"scheduledTaskId\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"apiKeyOwner\" | \"notifyWhen\" | \"muteAll\" | \"mutedInstanceIds\" | \"executionStatus\">[Prop] | null) => void" + ", \"enabled\" | \"id\" | \"name\" | \"tags\" | \"params\" | \"actions\" | \"throttle\" | \"alertTypeId\" | \"consumer\" | \"schedule\" | \"scheduledTaskId\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"apiKeyOwner\" | \"notifyWhen\" | \"muteAll\" | \"mutedInstanceIds\" | \"executionStatus\">[Prop] | null) => void" ], "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", "deprecated": false, @@ -1396,7 +1396,7 @@ "section": "def-common.Alert", "text": "Alert" }, - ", \"enabled\" | \"id\" | \"name\" | \"params\" | \"actions\" | \"throttle\" | \"tags\" | \"alertTypeId\" | \"consumer\" | \"schedule\" | \"scheduledTaskId\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"apiKeyOwner\" | \"notifyWhen\" | \"muteAll\" | \"mutedInstanceIds\" | \"executionStatus\">[Prop] | null" + ", \"enabled\" | \"id\" | \"name\" | \"tags\" | \"params\" | \"actions\" | \"throttle\" | \"alertTypeId\" | \"consumer\" | \"schedule\" | \"scheduledTaskId\" | \"createdBy\" | \"updatedBy\" | \"createdAt\" | \"updatedAt\" | \"apiKeyOwner\" | \"notifyWhen\" | \"muteAll\" | \"mutedInstanceIds\" | \"executionStatus\">[Prop] | null" ], "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", "deprecated": false, @@ -1797,6 +1797,16 @@ "path": "x-pack/plugins/triggers_actions_ui/public/application/app.tsx", "deprecated": false }, + { + "parentPluginId": "triggersActionsUi", + "id": "def-public.TriggersAndActionsUiServices.isCloud", + "type": "boolean", + "tags": [], + "label": "isCloud", + "description": [], + "path": "x-pack/plugins/triggers_actions_ui/public/application/app.tsx", + "deprecated": false + }, { "parentPluginId": "triggersActionsUi", "id": "def-public.TriggersAndActionsUiServices.setBreadcrumbs", @@ -1840,11 +1850,11 @@ "signature": [ "{ get: (id: string) => ", "ActionTypeModel", - "; register: (objectType: ", + "; list: () => ", "ActionTypeModel", - ") => void; has: (id: string) => boolean; list: () => ", + "[]; register: (objectType: ", "ActionTypeModel", - "[]; }" + ") => void; has: (id: string) => boolean; }" ], "path": "x-pack/plugins/triggers_actions_ui/public/application/app.tsx", "deprecated": false @@ -1865,7 +1875,7 @@ "section": "def-public.AlertTypeModel", "text": "AlertTypeModel" }, - ">; register: (objectType: ", + ">; list: () => ", { "pluginId": "triggersActionsUi", "scope": "public", @@ -1873,7 +1883,7 @@ "section": "def-public.AlertTypeModel", "text": "AlertTypeModel" }, - ">) => void; has: (id: string) => boolean; list: () => ", + ">[]; register: (objectType: ", { "pluginId": "triggersActionsUi", "scope": "public", @@ -1881,7 +1891,7 @@ "section": "def-public.AlertTypeModel", "text": "AlertTypeModel" }, - ">[]; }" + ">) => void; has: (id: string) => boolean; }" ], "path": "x-pack/plugins/triggers_actions_ui/public/application/app.tsx", "deprecated": false @@ -2073,11 +2083,11 @@ "signature": [ "{ get: (id: string) => ", "ActionTypeModel", - "; register: (objectType: ", + "; list: () => ", "ActionTypeModel", - ") => void; has: (id: string) => boolean; list: () => ", + "[]; register: (objectType: ", "ActionTypeModel", - "[]; }" + ") => void; has: (id: string) => boolean; }" ], "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", "deprecated": false, @@ -2105,7 +2115,7 @@ "label": "Alert", "description": [], "signature": [ - "{ enabled: boolean; id: string; name: string; params: Record; actions: ", + "{ enabled: boolean; id: string; name: string; tags: string[]; params: Record; actions: ", { "pluginId": "alerting", "scope": "common", @@ -2113,7 +2123,7 @@ "section": "def-common.AlertAction", "text": "AlertAction" }, - "[]; throttle: string | null; tags: string[]; alertTypeId: string; consumer: string; schedule: ", + "[]; throttle: string | null; alertTypeId: string; consumer: string; schedule: ", { "pluginId": "alerting", "scope": "common", @@ -2207,7 +2217,7 @@ "section": "def-public.AlertTypeModel", "text": "AlertTypeModel" }, - ">; register: (objectType: ", + ">; list: () => ", { "pluginId": "triggersActionsUi", "scope": "public", @@ -2215,7 +2225,7 @@ "section": "def-public.AlertTypeModel", "text": "AlertTypeModel" }, - ">) => void; has: (id: string) => boolean; list: () => ", + ">[]; register: (objectType: ", { "pluginId": "triggersActionsUi", "scope": "public", @@ -2223,7 +2233,7 @@ "section": "def-public.AlertTypeModel", "text": "AlertTypeModel" }, - ">[]; }" + ">) => void; has: (id: string) => boolean; }" ], "path": "x-pack/plugins/triggers_actions_ui/public/types.ts", "deprecated": false, diff --git a/api_docs/triggers_actions_ui.mdx b/api_docs/triggers_actions_ui.mdx index fe7e22d7a79a4..4bdd41535d348 100644 --- a/api_docs/triggers_actions_ui.mdx +++ b/api_docs/triggers_actions_ui.mdx @@ -18,7 +18,7 @@ Contact [Kibana Alerting](https://github.com/orgs/elastic/teams/kibana-alerting- | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 238 | 1 | 229 | 18 | +| 239 | 1 | 230 | 18 | ## Client diff --git a/api_docs/ui_actions.json b/api_docs/ui_actions.json index aa7642d19cf14..0edefce127a25 100644 --- a/api_docs/ui_actions.json +++ b/api_docs/ui_actions.json @@ -83,7 +83,7 @@ "signature": [ "Map>" + ">" ], "path": "src/plugins/ui_actions/public/service/ui_actions_service.ts", "deprecated": false diff --git a/api_docs/ui_actions.mdx b/api_docs/ui_actions.mdx index 8f7b240a8249a..6c5d6381c3b7c 100644 --- a/api_docs/ui_actions.mdx +++ b/api_docs/ui_actions.mdx @@ -10,7 +10,7 @@ warning: This document is auto-generated and is meant to be viewed inside our ex --- import uiActionsObj from './ui_actions.json'; - +Adds UI Actions service to Kibana Contact [App Services](https://github.com/orgs/elastic/teams/kibana-app-services) for questions regarding this plugin. diff --git a/api_docs/ui_actions_enhanced.json b/api_docs/ui_actions_enhanced.json index b48903c983d70..5464a5d884472 100644 --- a/api_docs/ui_actions_enhanced.json +++ b/api_docs/ui_actions_enhanced.json @@ -483,7 +483,7 @@ "children": [ { "parentPluginId": "uiActionsEnhanced", - "id": "def-public.props", + "id": "def-public.ActionFactory.ReactCollectConfig.$1", "type": "CompoundType", "tags": [], "label": "props", @@ -496,7 +496,7 @@ }, { "parentPluginId": "uiActionsEnhanced", - "id": "def-public.context", + "id": "def-public.ActionFactory.ReactCollectConfig.$2", "type": "Any", "tags": [], "label": "context", @@ -525,7 +525,7 @@ "children": [ { "parentPluginId": "uiActionsEnhanced", - "id": "def-public.context", + "id": "def-public.ActionFactory.createConfig.$1", "type": "Uncategorized", "tags": [], "label": "context", @@ -554,7 +554,7 @@ "children": [ { "parentPluginId": "uiActionsEnhanced", - "id": "def-public.config", + "id": "def-public.ActionFactory.isConfigValid.$1", "type": "Uncategorized", "tags": [], "label": "config", @@ -567,7 +567,7 @@ }, { "parentPluginId": "uiActionsEnhanced", - "id": "def-public.context", + "id": "def-public.ActionFactory.isConfigValid.$2", "type": "Uncategorized", "tags": [], "label": "context", @@ -823,7 +823,9 @@ "section": "def-common.SerializedEvent", "text": "SerializedEvent" }, - ", telemetryData: Record) => Record" + ", telemetryData: Record) => Record" ], "path": "x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/action_factory.ts", "deprecated": false, @@ -856,7 +858,9 @@ "label": "telemetryData", "description": [], "signature": [ - "Record" + "Record" ], "path": "x-pack/plugins/ui_actions_enhanced/public/dynamic_actions/action_factory.ts", "deprecated": false, @@ -2600,7 +2604,7 @@ "children": [ { "parentPluginId": "uiActionsEnhanced", - "id": "def-public.context", + "id": "def-public.DrilldownDefinition.createConfig.$1", "type": "Uncategorized", "tags": [], "label": "context", @@ -2653,7 +2657,7 @@ "tags": [], "label": "isConfigValid", "description": [ - "\nA validator function for the config object. Should always return a boolean\ngiven any input." + "\nA validator function for the config object. Should always return a boolean." ], "signature": [ "(config: Config, context: FactoryContext) => boolean" @@ -2664,7 +2668,7 @@ "children": [ { "parentPluginId": "uiActionsEnhanced", - "id": "def-public.config", + "id": "def-public.DrilldownDefinition.isConfigValid.$1", "type": "Uncategorized", "tags": [], "label": "config", @@ -2677,7 +2681,7 @@ }, { "parentPluginId": "uiActionsEnhanced", - "id": "def-public.context", + "id": "def-public.DrilldownDefinition.isConfigValid.$2", "type": "Uncategorized", "tags": [], "label": "context", @@ -2951,7 +2955,7 @@ "tags": [], "label": "id", "description": [ - "\nAny string that uniquely identifies this item in a list of `DrilldownTemplate[]`." + "\nA string that uniquely identifies this item in a list of `DrilldownTemplate[]`." ], "path": "x-pack/plugins/ui_actions_enhanced/public/drilldowns/drilldown_manager/types.ts", "deprecated": false @@ -3409,7 +3413,7 @@ }, ">>,Pick<", "UiActionsServiceEnhancements", - ", \"telemetry\" | \"extract\" | \"inject\" | \"getActionFactory\" | \"hasActionFactory\" | \"getActionFactories\">" + ", \"telemetry\" | \"inject\" | \"extract\" | \"getActionFactory\" | \"hasActionFactory\" | \"getActionFactories\">" ], "path": "x-pack/plugins/ui_actions_enhanced/public/plugin.ts", "deprecated": false, @@ -3432,7 +3436,7 @@ "children": [ { "parentPluginId": "uiActionsEnhanced", - "id": "def-public.props", + "id": "def-public.StartContract.DrilldownManager.$1", "type": "CompoundType", "tags": [], "label": "props", @@ -3445,7 +3449,7 @@ }, { "parentPluginId": "uiActionsEnhanced", - "id": "def-public.context", + "id": "def-public.StartContract.DrilldownManager.$2", "type": "Any", "tags": [], "label": "context", diff --git a/api_docs/ui_actions_enhanced.mdx b/api_docs/ui_actions_enhanced.mdx index 890dad000e717..09beac0717759 100644 --- a/api_docs/ui_actions_enhanced.mdx +++ b/api_docs/ui_actions_enhanced.mdx @@ -10,7 +10,7 @@ warning: This document is auto-generated and is meant to be viewed inside our ex --- import uiActionsEnhancedObj from './ui_actions_enhanced.json'; - +Extends UI Actions plugin with more functionality Contact [Kibana App Services](https://github.com/orgs/elastic/teams/kibana-app-services) for questions regarding this plugin. diff --git a/api_docs/url_forwarding.json b/api_docs/url_forwarding.json index c725024257646..6957bd8e028e9 100644 --- a/api_docs/url_forwarding.json +++ b/api_docs/url_forwarding.json @@ -28,7 +28,7 @@ "section": "def-public.CoreSetup", "text": "CoreSetup" }, - "<{}, { navigateToDefaultApp: ({ overwriteHash }?: { overwriteHash: boolean; }) => void; navigateToLegacyKibanaUrl: (hash: string) => { navigated: boolean; }; getForwards: () => ", + "<{}, { navigateToLegacyKibanaUrl: (hash: string) => { navigated: boolean; }; getForwards: () => ", { "pluginId": "urlForwarding", "scope": "public", @@ -56,7 +56,7 @@ "section": "def-public.CoreSetup", "text": "CoreSetup" }, - "<{}, { navigateToDefaultApp: ({ overwriteHash }?: { overwriteHash: boolean; }) => void; navigateToLegacyKibanaUrl: (hash: string) => { navigated: boolean; }; getForwards: () => ", + "<{}, { navigateToLegacyKibanaUrl: (hash: string) => { navigated: boolean; }; getForwards: () => ", { "pluginId": "urlForwarding", "scope": "public", @@ -81,7 +81,7 @@ "label": "start", "description": [], "signature": [ - "({ application, http: { basePath }, uiSettings }: ", + "({ application, http: { basePath } }: ", { "pluginId": "core", "scope": "public", @@ -89,7 +89,7 @@ "section": "def-public.CoreStart", "text": "CoreStart" }, - ", { kibanaLegacy }: { kibanaLegacy: { loadFontAwesome: () => Promise; loadAngularBootstrap: () => Promise; config: Readonly<{} & { defaultAppId: string; }>; }; }) => { navigateToDefaultApp: ({ overwriteHash }?: { overwriteHash: boolean; }) => void; navigateToLegacyKibanaUrl: (hash: string) => { navigated: boolean; }; getForwards: () => ", + ") => { navigateToLegacyKibanaUrl: (hash: string) => { navigated: boolean; }; getForwards: () => ", { "pluginId": "urlForwarding", "scope": "public", @@ -107,7 +107,7 @@ "id": "def-public.UrlForwardingPlugin.start.$1", "type": "Object", "tags": [], - "label": "{ application, http: { basePath }, uiSettings }", + "label": "{ application, http: { basePath } }", "description": [], "signature": [ { @@ -121,49 +121,9 @@ "path": "src/plugins/url_forwarding/public/plugin.ts", "deprecated": false, "isRequired": true - }, - { - "parentPluginId": "urlForwarding", - "id": "def-public.UrlForwardingPlugin.start.$2.kibanaLegacy", - "type": "Object", - "tags": [], - "label": "{ kibanaLegacy }", - "description": [], - "path": "src/plugins/url_forwarding/public/plugin.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "urlForwarding", - "id": "def-public.UrlForwardingPlugin.start.$2.kibanaLegacy.kibanaLegacy", - "type": "Object", - "tags": [], - "label": "kibanaLegacy", - "description": [], - "signature": [ - "{ loadFontAwesome: () => Promise; loadAngularBootstrap: () => Promise; config: Readonly<{} & { defaultAppId: string; }>; }" - ], - "path": "src/plugins/url_forwarding/public/plugin.ts", - "deprecated": false - } - ] } ], "returnComment": [] - }, - { - "parentPluginId": "urlForwarding", - "id": "def-public.UrlForwardingPlugin.stop", - "type": "Function", - "tags": [], - "label": "stop", - "description": [], - "signature": [ - "() => void" - ], - "path": "src/plugins/url_forwarding/public/plugin.ts", - "deprecated": false, - "children": [], - "returnComment": [] } ], "initialIsOpen": false @@ -259,7 +219,7 @@ "label": "UrlForwardingStart", "description": [], "signature": [ - "{ navigateToDefaultApp: ({ overwriteHash }?: { overwriteHash: boolean; }) => void; navigateToLegacyKibanaUrl: (hash: string) => { navigated: boolean; }; getForwards: () => ", + "{ navigateToLegacyKibanaUrl: (hash: string) => { navigated: boolean; }; getForwards: () => ", { "pluginId": "urlForwarding", "scope": "public", diff --git a/api_docs/url_forwarding.mdx b/api_docs/url_forwarding.mdx index 1a4b28e9eb533..2a6fe2f30e73d 100644 --- a/api_docs/url_forwarding.mdx +++ b/api_docs/url_forwarding.mdx @@ -12,13 +12,13 @@ import urlForwardingObj from './url_forwarding.json'; -Contact [Kibana App](https://github.com/orgs/elastic/teams/kibana-app) for questions regarding this plugin. +Contact [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) for questions regarding this plugin. **Code health stats** | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 15 | 0 | 15 | 0 | +| 12 | 0 | 12 | 0 | ## Client diff --git a/api_docs/usage_collection.json b/api_docs/usage_collection.json index cf9dbb0b037b6..a41ca4a4b3127 100644 --- a/api_docs/usage_collection.json +++ b/api_docs/usage_collection.json @@ -409,7 +409,7 @@ "children": [ { "parentPluginId": "usageCollection", - "id": "def-server.context", + "id": "def-server.ICollector.fetch.$1", "type": "CompoundType", "tags": [], "label": "context", @@ -751,7 +751,7 @@ "children": [ { "parentPluginId": "usageCollection", - "id": "def-server.context", + "id": "def-server.CollectorFetchMethod.$1", "type": "CompoundType", "tags": [], "label": "context", diff --git a/api_docs/vis_default_editor.json b/api_docs/vis_default_editor.json index fe449aa5fdd6d..883d846e67bb8 100644 --- a/api_docs/vis_default_editor.json +++ b/api_docs/vis_default_editor.json @@ -901,7 +901,7 @@ "children": [ { "parentPluginId": "visDefaultEditor", - "id": "def-public.paramName", + "id": "def-public.SetColorRangeValue.$1", "type": "string", "tags": [], "label": "paramName", @@ -911,7 +911,7 @@ }, { "parentPluginId": "visDefaultEditor", - "id": "def-public.value", + "id": "def-public.SetColorRangeValue.$2", "type": "Array", "tags": [], "label": "value", @@ -956,7 +956,7 @@ "children": [ { "parentPluginId": "visDefaultEditor", - "id": "def-public.paramName", + "id": "def-public.SetColorSchemaOptionsValue.$1", "type": "Uncategorized", "tags": [], "label": "paramName", @@ -969,7 +969,7 @@ }, { "parentPluginId": "visDefaultEditor", - "id": "def-public.value", + "id": "def-public.SetColorSchemaOptionsValue.$2", "type": "Uncategorized", "tags": [], "label": "value", diff --git a/api_docs/vis_default_editor.mdx b/api_docs/vis_default_editor.mdx index 037b520e12e2b..608b2478b1cd0 100644 --- a/api_docs/vis_default_editor.mdx +++ b/api_docs/vis_default_editor.mdx @@ -12,7 +12,7 @@ import visDefaultEditorObj from './vis_default_editor.json'; The default editor used in most aggregation-based visualizations. -Contact [Kibana App](https://github.com/orgs/elastic/teams/kibana-app) for questions regarding this plugin. +Contact [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) for questions regarding this plugin. **Code health stats** diff --git a/api_docs/vis_type_pie.mdx b/api_docs/vis_type_pie.mdx index 0c97bed029b72..dfa84fd6578b4 100644 --- a/api_docs/vis_type_pie.mdx +++ b/api_docs/vis_type_pie.mdx @@ -12,7 +12,7 @@ import visTypePieObj from './vis_type_pie.json'; Contains the pie chart implementation using the elastic-charts library. The goal is to eventually deprecate the old implementation and keep only this. Until then, the library used is defined by the Legacy charts library advanced setting. -Contact [Kibana App](https://github.com/orgs/elastic/teams/kibana-app) for questions regarding this plugin. +Contact [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) for questions regarding this plugin. **Code health stats** diff --git a/api_docs/vis_type_table.mdx b/api_docs/vis_type_table.mdx index 25472049bbb8a..31ff1da19faab 100644 --- a/api_docs/vis_type_table.mdx +++ b/api_docs/vis_type_table.mdx @@ -12,7 +12,7 @@ import visTypeTableObj from './vis_type_table.json'; Registers the datatable aggregation-based visualization. Currently it contains two implementations, the one based on EUI datagrid and the angular one. The second one is going to be removed in future minors. -Contact [Kibana App](https://github.com/orgs/elastic/teams/kibana-app) for questions regarding this plugin. +Contact [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) for questions regarding this plugin. **Code health stats** diff --git a/api_docs/vis_type_timelion.json b/api_docs/vis_type_timelion.json index bfa67ba268e64..b8ee00ea01a07 100644 --- a/api_docs/vis_type_timelion.json +++ b/api_docs/vis_type_timelion.json @@ -43,7 +43,7 @@ "children": [ { "parentPluginId": "visTypeTimelion", - "id": "def-public.from", + "id": "def-public._LEGACY_.calculateInterval.$1", "type": "number", "tags": [], "label": "from", @@ -53,7 +53,7 @@ }, { "parentPluginId": "visTypeTimelion", - "id": "def-public.to", + "id": "def-public._LEGACY_.calculateInterval.$2", "type": "number", "tags": [], "label": "to", @@ -63,7 +63,7 @@ }, { "parentPluginId": "visTypeTimelion", - "id": "def-public.size", + "id": "def-public._LEGACY_.calculateInterval.$3", "type": "number", "tags": [], "label": "size", @@ -73,7 +73,7 @@ }, { "parentPluginId": "visTypeTimelion", - "id": "def-public.interval", + "id": "def-public._LEGACY_.calculateInterval.$4", "type": "string", "tags": [], "label": "interval", @@ -83,7 +83,7 @@ }, { "parentPluginId": "visTypeTimelion", - "id": "def-public.min", + "id": "def-public._LEGACY_.calculateInterval.$5", "type": "string", "tags": [], "label": "min", @@ -111,7 +111,7 @@ "children": [ { "parentPluginId": "visTypeTimelion", - "id": "def-public.input", + "id": "def-public._LEGACY_.parseTimelionExpressionAsync.$1", "type": "string", "tags": [], "label": "input", @@ -166,7 +166,7 @@ "children": [ { "parentPluginId": "visTypeTimelion", - "id": "def-public.config", + "id": "def-public._LEGACY_.getTimezone.$1", "type": "Object", "tags": [], "label": "config", @@ -209,7 +209,7 @@ "children": [ { "parentPluginId": "visTypeTimelion", - "id": "def-public.config", + "id": "def-public._LEGACY_.xaxisFormatterProvider.$1", "type": "Object", "tags": [], "label": "config", diff --git a/api_docs/vis_type_timelion.mdx b/api_docs/vis_type_timelion.mdx index b8d9ae388d0b7..3616bb6054b26 100644 --- a/api_docs/vis_type_timelion.mdx +++ b/api_docs/vis_type_timelion.mdx @@ -12,7 +12,7 @@ import visTypeTimelionObj from './vis_type_timelion.json'; Registers the timelion visualization. Also contains the backend for both timelion app and timelion visualization. -Contact [Kibana App](https://github.com/orgs/elastic/teams/kibana-app) for questions regarding this plugin. +Contact [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) for questions regarding this plugin. **Code health stats** diff --git a/api_docs/vis_type_timeseries.mdx b/api_docs/vis_type_timeseries.mdx index 645c5e6e841bc..abdc4801664b9 100644 --- a/api_docs/vis_type_timeseries.mdx +++ b/api_docs/vis_type_timeseries.mdx @@ -12,7 +12,7 @@ import visTypeTimeseriesObj from './vis_type_timeseries.json'; Registers the TSVB visualization. TSVB has its one editor, works with index patterns and index strings and contains 6 types of charts: timeseries, topN, table. markdown, metric and gauge. -Contact [Kibana App](https://github.com/orgs/elastic/teams/kibana-app) for questions regarding this plugin. +Contact [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) for questions regarding this plugin. **Code health stats** diff --git a/api_docs/vis_type_vega.mdx b/api_docs/vis_type_vega.mdx index 3890dace227a6..7bb64a0dc1721 100644 --- a/api_docs/vis_type_vega.mdx +++ b/api_docs/vis_type_vega.mdx @@ -12,7 +12,7 @@ import visTypeVegaObj from './vis_type_vega.json'; Registers the vega visualization. Is the elastic version of vega and vega-lite libraries. -Contact [Kibana App](https://github.com/orgs/elastic/teams/kibana-app) for questions regarding this plugin. +Contact [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) for questions regarding this plugin. **Code health stats** diff --git a/api_docs/vis_type_vislib.json b/api_docs/vis_type_vislib.json index c6780ddd5010b..6e52424223125 100644 --- a/api_docs/vis_type_vislib.json +++ b/api_docs/vis_type_vislib.json @@ -39,7 +39,7 @@ "label": "type", "description": [], "signature": [ - "\"histogram\" | \"heatmap\" | \"metric\" | \"area\" | \"line\" | \"horizontal_bar\" | \"pie\" | \"point_series\" | \"gauge\" | \"goal\"" + "\"goal\" | \"histogram\" | \"heatmap\" | \"metric\" | \"area\" | \"line\" | \"horizontal_bar\" | \"pie\" | \"point_series\" | \"gauge\"" ], "path": "src/plugins/vis_types/vislib/public/types.ts", "deprecated": false @@ -338,7 +338,7 @@ "label": "VislibChartType", "description": [], "signature": [ - "\"histogram\" | \"heatmap\" | \"metric\" | \"area\" | \"line\" | \"horizontal_bar\" | \"pie\" | \"point_series\" | \"gauge\" | \"goal\"" + "\"goal\" | \"histogram\" | \"heatmap\" | \"metric\" | \"area\" | \"line\" | \"horizontal_bar\" | \"pie\" | \"point_series\" | \"gauge\"" ], "path": "src/plugins/vis_types/vislib/public/types.ts", "deprecated": false, diff --git a/api_docs/vis_type_vislib.mdx b/api_docs/vis_type_vislib.mdx index 7ac6915ef2944..96b922e8d2066 100644 --- a/api_docs/vis_type_vislib.mdx +++ b/api_docs/vis_type_vislib.mdx @@ -12,7 +12,7 @@ import visTypeVislibObj from './vis_type_vislib.json'; Contains the vislib visualizations. These are the classical area/line/bar, pie, gauge/goal and heatmap charts. We want to replace them with elastic-charts. -Contact [Kibana App](https://github.com/orgs/elastic/teams/kibana-app) for questions regarding this plugin. +Contact [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) for questions regarding this plugin. **Code health stats** diff --git a/api_docs/vis_type_xy.json b/api_docs/vis_type_xy.json index 410357dc42495..cea919f1d64d3 100644 --- a/api_docs/vis_type_xy.json +++ b/api_docs/vis_type_xy.json @@ -904,7 +904,7 @@ "children": [ { "parentPluginId": "visTypeXy", - "id": "def-public.showElasticChartsOptions", + "id": "def-public.xyVisTypes.area.$1", "type": "boolean", "tags": [], "label": "showElasticChartsOptions", @@ -931,7 +931,7 @@ "children": [ { "parentPluginId": "visTypeXy", - "id": "def-public.showElasticChartsOptions", + "id": "def-public.xyVisTypes.line.$1", "type": "boolean", "tags": [], "label": "showElasticChartsOptions", @@ -958,7 +958,7 @@ "children": [ { "parentPluginId": "visTypeXy", - "id": "def-public.showElasticChartsOptions", + "id": "def-public.xyVisTypes.histogram.$1", "type": "boolean", "tags": [], "label": "showElasticChartsOptions", @@ -985,7 +985,7 @@ "children": [ { "parentPluginId": "visTypeXy", - "id": "def-public.showElasticChartsOptions", + "id": "def-public.xyVisTypes.horizontalBar.$1", "type": "boolean", "tags": [], "label": "showElasticChartsOptions", diff --git a/api_docs/vis_type_xy.mdx b/api_docs/vis_type_xy.mdx index 7ec3079931651..3ada19b687b89 100644 --- a/api_docs/vis_type_xy.mdx +++ b/api_docs/vis_type_xy.mdx @@ -12,7 +12,7 @@ import visTypeXyObj from './vis_type_xy.json'; Contains the new xy-axis chart using the elastic-charts library, which will eventually replace the vislib xy-axis charts including bar, area, and line. -Contact [Kibana App](https://github.com/orgs/elastic/teams/kibana-app) for questions regarding this plugin. +Contact [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) for questions regarding this plugin. **Code health stats** diff --git a/api_docs/visualizations.json b/api_docs/visualizations.json index ec8f8939d3ccd..a5230d4981bf9 100644 --- a/api_docs/visualizations.json +++ b/api_docs/visualizations.json @@ -365,7 +365,7 @@ "children": [ { "parentPluginId": "visualizations", - "id": "def-public.vis", + "id": "def-public.BaseVisType.toExpressionAst.$1", "type": "Object", "tags": [], "label": "vis", @@ -385,7 +385,7 @@ }, { "parentPluginId": "visualizations", - "id": "def-public.params", + "id": "def-public.BaseVisType.toExpressionAst.$2", "type": "Object", "tags": [], "label": "params", @@ -1324,13 +1324,7 @@ "text": "SavedVisState" }, "<", - { - "pluginId": "visualizations", - "scope": "common", - "docId": "kibVisualizationsPluginApi", - "section": "def-common.VisParams", - "text": "VisParams" - }, + "SerializableRecord", ">" ], "path": "src/plugins/visualizations/public/legacy/vis_update_state.d.ts", @@ -1711,93 +1705,6 @@ ], "initialIsOpen": false }, - { - "parentPluginId": "visualizations", - "id": "def-public.SavedVisState", - "type": "Interface", - "tags": [], - "label": "SavedVisState", - "description": [], - "signature": [ - { - "pluginId": "visualizations", - "scope": "common", - "docId": "kibVisualizationsPluginApi", - "section": "def-common.SavedVisState", - "text": "SavedVisState" - }, - "" - ], - "path": "src/plugins/visualizations/common/types.ts", - "deprecated": false, - "children": [ - { - "parentPluginId": "visualizations", - "id": "def-public.SavedVisState.title", - "type": "string", - "tags": [], - "label": "title", - "description": [], - "path": "src/plugins/visualizations/common/types.ts", - "deprecated": false - }, - { - "parentPluginId": "visualizations", - "id": "def-public.SavedVisState.type", - "type": "string", - "tags": [], - "label": "type", - "description": [], - "path": "src/plugins/visualizations/common/types.ts", - "deprecated": false - }, - { - "parentPluginId": "visualizations", - "id": "def-public.SavedVisState.params", - "type": "Uncategorized", - "tags": [], - "label": "params", - "description": [], - "signature": [ - "TVisParams" - ], - "path": "src/plugins/visualizations/common/types.ts", - "deprecated": false - }, - { - "parentPluginId": "visualizations", - "id": "def-public.SavedVisState.aggs", - "type": "Array", - "tags": [], - "label": "aggs", - "description": [], - "signature": [ - "Pick & Pick<{ type: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.IAggType", - "text": "IAggType" - }, - "; }, \"type\"> & Pick<{ type: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.IAggType", - "text": "IAggType" - }, - "; }, never>, \"type\" | \"enabled\" | \"id\" | \"schema\" | \"params\">[]" - ], - "path": "src/plugins/visualizations/common/types.ts", - "deprecated": false - } - ], - "initialIsOpen": false - }, { "parentPluginId": "visualizations", "id": "def-public.Schema", @@ -2196,25 +2103,9 @@ "label": "aggs", "description": [], "signature": [ - "Pick & Pick<{ type: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.IAggType", - "text": "IAggType" - }, - "; }, \"type\"> & Pick<{ type: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.IAggType", - "text": "IAggType" - }, - "; }, never>, \"type\" | \"enabled\" | \"id\" | \"schema\" | \"params\">[]" + " | undefined; schema?: string | undefined; }[]" ], "path": "src/plugins/visualizations/public/vis.ts", "deprecated": false @@ -3412,7 +3303,7 @@ "children": [ { "parentPluginId": "visualizations", - "id": "def-public.vis", + "id": "def-public.VisTypeDefinition.toExpressionAst.$1", "type": "Object", "tags": [], "label": "vis", @@ -3432,7 +3323,7 @@ }, { "parentPluginId": "visualizations", - "id": "def-public.params", + "id": "def-public.VisTypeDefinition.toExpressionAst.$2", "type": "Object", "tags": [], "label": "params", @@ -4012,6 +3903,22 @@ "deprecated": false, "initialIsOpen": false }, + { + "parentPluginId": "visualizations", + "id": "def-public.SavedVisState", + "type": "Type", + "tags": [], + "label": "SavedVisState", + "description": [], + "signature": [ + "{ title: string; type: string; params: TVisParams; aggs: { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", + "SerializableRecord", + " | undefined; schema?: string | undefined; }[]; }" + ], + "path": "src/plugins/visualizations/common/types.ts", + "deprecated": false, + "initialIsOpen": false + }, { "parentPluginId": "visualizations", "id": "def-public.VisToExpressionAst", @@ -4060,7 +3967,7 @@ "children": [ { "parentPluginId": "visualizations", - "id": "def-public.vis", + "id": "def-public.VisToExpressionAst.$1", "type": "Object", "tags": [], "label": "vis", @@ -4080,7 +3987,7 @@ }, { "parentPluginId": "visualizations", - "id": "def-public.params", + "id": "def-public.VisToExpressionAst.$2", "type": "Object", "tags": [], "label": "params", @@ -4124,7 +4031,7 @@ "signature": [ "\"visualization\"" ], - "path": "src/plugins/visualizations/public/embeddable/constants.ts", + "path": "src/plugins/visualizations/common/constants.ts", "deprecated": false, "initialIsOpen": false }, @@ -4342,7 +4249,43 @@ "label": "VisualizeEmbeddableFactoryContract", "description": [], "signature": [ - "{ readonly type: \"visualization\"; create: (input: ", + "{ readonly type: \"visualization\"; inject: (_state: ", + { + "pluginId": "embeddable", + "scope": "common", + "docId": "kibEmbeddablePluginApi", + "section": "def-common.EmbeddableStateWithType", + "text": "EmbeddableStateWithType" + }, + ", references: ", + "SavedObjectReference", + "[]) => ", + { + "pluginId": "embeddable", + "scope": "common", + "docId": "kibEmbeddablePluginApi", + "section": "def-common.EmbeddableStateWithType", + "text": "EmbeddableStateWithType" + }, + "; extract: (_state: ", + { + "pluginId": "embeddable", + "scope": "common", + "docId": "kibEmbeddablePluginApi", + "section": "def-common.EmbeddableStateWithType", + "text": "EmbeddableStateWithType" + }, + ") => { state: ", + { + "pluginId": "embeddable", + "scope": "common", + "docId": "kibEmbeddablePluginApi", + "section": "def-common.EmbeddableStateWithType", + "text": "EmbeddableStateWithType" + }, + "; references: ", + "SavedObjectReference", + "[]; }; create: (input: ", { "pluginId": "visualizations", "scope": "public", @@ -4454,43 +4397,7 @@ "section": "def-public.SavedObjectMetaData", "text": "SavedObjectMetaData" }, - "; extract: (_state: ", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableStateWithType", - "text": "EmbeddableStateWithType" - }, - ") => { state: ", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableStateWithType", - "text": "EmbeddableStateWithType" - }, - "; references: ", - "SavedObjectReference", - "[]; }; inject: (_state: ", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableStateWithType", - "text": "EmbeddableStateWithType" - }, - ", references: ", - "SavedObjectReference", - "[]) => ", - { - "pluginId": "embeddable", - "scope": "common", - "docId": "kibEmbeddablePluginApi", - "section": "def-common.EmbeddableStateWithType", - "text": "EmbeddableStateWithType" - }, - "; getCurrentAppId: () => Promise; checkTitle: (props: ", + "; getCurrentAppId: () => Promise; checkTitle: (props: ", { "pluginId": "savedObjects", "scope": "public", @@ -4826,7 +4733,7 @@ "children": [ { "parentPluginId": "visualizations", - "id": "def-public.savedVis", + "id": "def-public.VisualizationsStart.convertToSerializedVis.$1", "type": "Object", "tags": [], "label": "savedVis", @@ -4884,7 +4791,7 @@ "children": [ { "parentPluginId": "visualizations", - "id": "def-public.vis", + "id": "def-public.VisualizationsStart.convertFromSerializedVis.$1", "type": "Object", "tags": [], "label": "vis", @@ -4930,7 +4837,7 @@ "children": [ { "parentPluginId": "visualizations", - "id": "def-public.__0", + "id": "def-public.VisualizationsStart.showNewVisModal.$1", "type": "Object", "tags": [], "label": "__0", @@ -5271,7 +5178,15 @@ "section": "def-common.Datatable", "text": "Datatable" }, - ", Arguments, ", + ", ", + { + "pluginId": "visualizations", + "scope": "common", + "docId": "kibVisualizationsPluginApi", + "section": "def-common.Arguments", + "text": "Arguments" + }, + ", ", { "pluginId": "expressions", "scope": "common", @@ -5317,86 +5232,51 @@ "interfaces": [ { "parentPluginId": "visualizations", - "id": "def-common.SavedVisState", + "id": "def-common.Arguments", "type": "Interface", "tags": [], - "label": "SavedVisState", + "label": "Arguments", "description": [], - "signature": [ - { - "pluginId": "visualizations", - "scope": "common", - "docId": "kibVisualizationsPluginApi", - "section": "def-common.SavedVisState", - "text": "SavedVisState" - }, - "" - ], - "path": "src/plugins/visualizations/common/types.ts", + "path": "src/plugins/visualizations/common/expression_functions/vis_dimension.ts", "deprecated": false, "children": [ { "parentPluginId": "visualizations", - "id": "def-common.SavedVisState.title", - "type": "string", + "id": "def-common.Arguments.accessor", + "type": "CompoundType", "tags": [], - "label": "title", + "label": "accessor", "description": [], - "path": "src/plugins/visualizations/common/types.ts", + "signature": [ + "string | number" + ], + "path": "src/plugins/visualizations/common/expression_functions/vis_dimension.ts", "deprecated": false }, { "parentPluginId": "visualizations", - "id": "def-common.SavedVisState.type", + "id": "def-common.Arguments.format", "type": "string", "tags": [], - "label": "type", - "description": [], - "path": "src/plugins/visualizations/common/types.ts", - "deprecated": false - }, - { - "parentPluginId": "visualizations", - "id": "def-common.SavedVisState.params", - "type": "Uncategorized", - "tags": [], - "label": "params", + "label": "format", "description": [], "signature": [ - "TVisParams" + "string | undefined" ], - "path": "src/plugins/visualizations/common/types.ts", + "path": "src/plugins/visualizations/common/expression_functions/vis_dimension.ts", "deprecated": false }, { "parentPluginId": "visualizations", - "id": "def-common.SavedVisState.aggs", - "type": "Array", + "id": "def-common.Arguments.formatParams", + "type": "string", "tags": [], - "label": "aggs", + "label": "formatParams", "description": [], "signature": [ - "Pick & Pick<{ type: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.IAggType", - "text": "IAggType" - }, - "; }, \"type\"> & Pick<{ type: ", - { - "pluginId": "data", - "scope": "common", - "docId": "kibDataSearchPluginApi", - "section": "def-common.IAggType", - "text": "IAggType" - }, - "; }, never>, \"type\" | \"enabled\" | \"id\" | \"schema\" | \"params\">[]" + "string | undefined" ], - "path": "src/plugins/visualizations/common/types.ts", + "path": "src/plugins/visualizations/common/expression_functions/vis_dimension.ts", "deprecated": false } ], @@ -5599,6 +5479,22 @@ "path": "src/plugins/visualizations/common/expression_functions/vis_dimension.ts", "deprecated": false, "initialIsOpen": false + }, + { + "parentPluginId": "visualizations", + "id": "def-common.SavedVisState", + "type": "Type", + "tags": [], + "label": "SavedVisState", + "description": [], + "signature": [ + "{ title: string; type: string; params: TVisParams; aggs: { type: string; enabled?: boolean | undefined; id?: string | undefined; params?: {} | ", + "SerializableRecord", + " | undefined; schema?: string | undefined; }[]; }" + ], + "path": "src/plugins/visualizations/common/types.ts", + "deprecated": false, + "initialIsOpen": false } ], "objects": [] diff --git a/api_docs/visualizations.mdx b/api_docs/visualizations.mdx index 6eaadf84dc66c..012db4b9db9d8 100644 --- a/api_docs/visualizations.mdx +++ b/api_docs/visualizations.mdx @@ -12,13 +12,13 @@ import visualizationsObj from './visualizations.json'; Contains the shared architecture among all the legacy visualizations, e.g. the visualization type registry or the visualization embeddable. -Contact [Kibana App](https://github.com/orgs/elastic/teams/kibana-app) for questions regarding this plugin. +Contact [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) for questions regarding this plugin. **Code health stats** | Public API count | Any count | Items lacking comments | Missing exports | |-------------------|-----------|------------------------|-----------------| -| 279 | 13 | 261 | 15 | +| 275 | 13 | 257 | 15 | ## Client diff --git a/api_docs/visualize.json b/api_docs/visualize.json index 7fb68e8a8877f..7cafece8d41af 100644 --- a/api_docs/visualize.json +++ b/api_docs/visualize.json @@ -230,7 +230,7 @@ "tags": [], "label": "VisualizeConstants", "description": [], - "path": "src/plugins/visualize/public/application/visualize_constants.ts", + "path": "src/plugins/visualize/common/constants.ts", "deprecated": false, "children": [ { @@ -240,7 +240,7 @@ "tags": [], "label": "VISUALIZE_BASE_PATH", "description": [], - "path": "src/plugins/visualize/public/application/visualize_constants.ts", + "path": "src/plugins/visualize/common/constants.ts", "deprecated": false }, { @@ -250,7 +250,7 @@ "tags": [], "label": "LANDING_PAGE_PATH", "description": [], - "path": "src/plugins/visualize/public/application/visualize_constants.ts", + "path": "src/plugins/visualize/common/constants.ts", "deprecated": false }, { @@ -260,7 +260,7 @@ "tags": [], "label": "WIZARD_STEP_1_PAGE_PATH", "description": [], - "path": "src/plugins/visualize/public/application/visualize_constants.ts", + "path": "src/plugins/visualize/common/constants.ts", "deprecated": false }, { @@ -270,7 +270,7 @@ "tags": [], "label": "WIZARD_STEP_2_PAGE_PATH", "description": [], - "path": "src/plugins/visualize/public/application/visualize_constants.ts", + "path": "src/plugins/visualize/common/constants.ts", "deprecated": false }, { @@ -280,7 +280,7 @@ "tags": [], "label": "CREATE_PATH", "description": [], - "path": "src/plugins/visualize/public/application/visualize_constants.ts", + "path": "src/plugins/visualize/common/constants.ts", "deprecated": false }, { @@ -290,7 +290,7 @@ "tags": [], "label": "EDIT_PATH", "description": [], - "path": "src/plugins/visualize/public/application/visualize_constants.ts", + "path": "src/plugins/visualize/common/constants.ts", "deprecated": false }, { @@ -300,7 +300,7 @@ "tags": [], "label": "EDIT_BY_VALUE_PATH", "description": [], - "path": "src/plugins/visualize/public/application/visualize_constants.ts", + "path": "src/plugins/visualize/common/constants.ts", "deprecated": false }, { @@ -310,7 +310,7 @@ "tags": [], "label": "APP_ID", "description": [], - "path": "src/plugins/visualize/public/application/visualize_constants.ts", + "path": "src/plugins/visualize/common/constants.ts", "deprecated": false } ], diff --git a/api_docs/visualize.mdx b/api_docs/visualize.mdx index 3628c53cc81b9..0d387e370c1a0 100644 --- a/api_docs/visualize.mdx +++ b/api_docs/visualize.mdx @@ -12,7 +12,7 @@ import visualizeObj from './visualize.json'; Contains the visualize application which includes the listing page and the app frame, which will load the visualization's editor. -Contact [Kibana App](https://github.com/orgs/elastic/teams/kibana-app) for questions regarding this plugin. +Contact [Vis Editors](https://github.com/orgs/elastic/teams/kibana-vis-editors) for questions regarding this plugin. **Code health stats** diff --git a/dev_docs/key_concepts/anatomy_of_a_plugin.mdx b/dev_docs/key_concepts/anatomy_of_a_plugin.mdx index b22bc6f101998..3739f907c3d87 100644 --- a/dev_docs/key_concepts/anatomy_of_a_plugin.mdx +++ b/dev_docs/key_concepts/anatomy_of_a_plugin.mdx @@ -32,6 +32,7 @@ plugins/ plugin.ts common index.ts + jest.config.js ``` ### kibana.json @@ -209,6 +210,29 @@ considerations related to how plugins integrate with core APIs and APIs exposed `common/index.ts` is the entry-point into code that can be used both server-side or client side. +### jest.config.js + +If you are adding unit tests (which we recommend), you will need to add a `jest.config.js` file. Here is an example file that you would use if adding a plugin into the `examples` directory. + +```js +module.exports = { + // Default Jest settings, defined in kbn-test package + preset: '@kbn/test', + // The root of the directory containing package.json + rootDir: '../../..', + // The directory which Jest should use to search for files in + roots: ['/src/plugins/demo'], + // The directory where Jest should output plugin coverage details, e.g. html report + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/demo', + // A list of reporter names that Jest uses when writing coverage reports, default: ["json"] + // "text" is available in console and is good for quick check + // "html" helps to dig into specific files and fix coverage + coverageReporters: ['text', 'html'], + // An array of regexp pattern strings that matched files to include/exclude for code coverage + collectCoverageFrom: ['/src/plugins/demo/{common,public,server}/**/*.{ts,tsx}'], +}; +``` + ## How plugin's interact with each other, and Core The lifecycle-specific contracts exposed by core services are always passed as the first argument to the equivalent lifecycle function in a plugin. diff --git a/dev_docs/troubleshooting.mdx b/dev_docs/troubleshooting.mdx new file mode 100644 index 0000000000000..f624a8cd77507 --- /dev/null +++ b/dev_docs/troubleshooting.mdx @@ -0,0 +1,28 @@ +--- +id: kibTroubleshooting +slug: /kibana-dev-docs/troubleshooting +title: Troubleshooting +summary: A collection of tips for working around strange issues. +date: 2021-09-08 +tags: ['kibana', 'onboarding', 'dev', 'troubleshooting'] +--- + +### Typescript issues + +When switching branches, sometimes the TypeScript cache can get mixed up and show some invalid errors. If you run into TypeScript issues (invalid errors, or if it's taking too long to build types), here a few things to try. + +1. Build TypeScript references with the clean command. + +``` +node scripts/build_ts_refs --clean +``` + +2. Restore your repository to a totally fresh state by running `git clean` + +``` +# dry-run the clean to see what will be deleted +git clean -fdxn -e /config -e /.vscode + +# review the files which will be deleted, consider adding some more excludes (-e) +# re-run without the dry-run (-n) flag to actually delete the files +``` diff --git a/dev_docs/tutorials/testing_plugins.mdx b/dev_docs/tutorials/testing_plugins.mdx index 55b662421cbd0..bc92af33d3493 100644 --- a/dev_docs/tutorials/testing_plugins.mdx +++ b/dev_docs/tutorials/testing_plugins.mdx @@ -928,6 +928,17 @@ describe('Case migrations v7.7.0 -> v7.8.0', () => { }); ``` +You can generate code coverage report for a single plugin. + +```bash +yarn jest --coverage --config src/plugins/console/jest.config.js +``` + +Html report should be available in `target/kibana-coverage/jest/src/plugins/console` path + +We run code coverage daily on CI and ["Kibana Stats cluster"](https://kibana-stats.elastic.dev/s/code-coverage/app/home) +can be used to view statistics. The report combines code coverage for all jest tests within Kibana repository. + #### Integration testing With more complicated migrations, the behavior of the migration may be dependent on values from other plugins which may be difficult or even impossible to test with unit tests. You need to actually bootstrap Kibana, load the plugins, and diff --git a/docs/CHANGELOG.asciidoc b/docs/CHANGELOG.asciidoc index 96a7e57ef3e4f..5c409e22b9912 100644 --- a/docs/CHANGELOG.asciidoc +++ b/docs/CHANGELOG.asciidoc @@ -231,6 +231,18 @@ The `logging.useUTC` setting has been removed. For more information, refer to {k The default timezone is UTC. To change the timezone, set `logging.timezone: false` in kibana.yml. Change the timezone when the system, such as a docker container, is configured for a nonlocal timezone. ==== +[discrete] +[[breaking-32049]] +.Removed environment variables `CONFIG_PATH` and `DATA_PATH` +[%collapsible] +==== +*Details* + +The environment variables `CONFIG_PATH` and `DATA_PATH` have been removed. For more information, refer to {kibana-pull}32049[#32049] + +*Impact* + +Use the environment variable `KBN_PATH_CONF` instead of `CONFIG_PATH`. Use the setting `path.data` instead of `DATA_PATH`. +==== + // end::notable-breaking-changes[] [float] diff --git a/docs/api/features.asciidoc b/docs/api/features.asciidoc index dad3ef75c8117..69f0effb80023 100644 --- a/docs/api/features.asciidoc +++ b/docs/api/features.asciidoc @@ -134,7 +134,6 @@ The API returns the following: "index-pattern", "search", "visualization", - "timelion-sheet", "canvas-workpad" ] }, @@ -152,7 +151,6 @@ The API returns the following: "index-pattern", "search", "visualization", - "timelion-sheet", "canvas-workpad", "dashboard" ] diff --git a/docs/api/role-management/get.asciidoc b/docs/api/role-management/get.asciidoc index d1e9d1e6afa83..b18b2e231774a 100644 --- a/docs/api/role-management/get.asciidoc +++ b/docs/api/role-management/get.asciidoc @@ -73,9 +73,6 @@ The API returns the following: "indexPatterns": [ "read" ], - "timelion": [ - "all" - ], "graph": [ "all" ], diff --git a/docs/api/role-management/put.asciidoc b/docs/api/role-management/put.asciidoc index be46178100095..92750840aca10 100644 --- a/docs/api/role-management/put.asciidoc +++ b/docs/api/role-management/put.asciidoc @@ -94,9 +94,6 @@ $ curl -X PUT api/security/role/my_kibana_role "indexPatterns": [ "read" ], - "timelion": [ - "all" - ], "graph": [ "all" ], diff --git a/docs/api/saved-objects/bulk_create.asciidoc b/docs/api/saved-objects/bulk_create.asciidoc index 5bd3a7587dde9..a935907ef3f11 100644 --- a/docs/api/saved-objects/bulk_create.asciidoc +++ b/docs/api/saved-objects/bulk_create.asciidoc @@ -30,7 +30,7 @@ experimental[] Create multiple {kib} saved objects. ==== Request body `type`:: - (Required, string) Valid options include `visualization`, `dashboard`, `search`, `index-pattern`, `config`, and `timelion-sheet`. + (Required, string) Valid options include `visualization`, `dashboard`, `search`, `index-pattern`, `config`. `id`:: (Optional, string) Specifies an ID instead of using a randomly generated ID. diff --git a/docs/api/saved-objects/bulk_get.asciidoc b/docs/api/saved-objects/bulk_get.asciidoc index 4c6bf4c19a76c..1bcdf7ba33cf4 100644 --- a/docs/api/saved-objects/bulk_get.asciidoc +++ b/docs/api/saved-objects/bulk_get.asciidoc @@ -23,7 +23,7 @@ experimental[] Retrieve multiple {kib} saved objects by ID. ==== Request Body `type`:: - (Required, string) Valid options include `visualization`, `dashboard`, `search`, `index-pattern`, `config`, and `timelion-sheet`. + (Required, string) Valid options include `visualization`, `dashboard`, `search`, `index-pattern`, `config`. `id`:: (Required, string) ID of the retrieved object. The ID includes the {kib} unique identifier or a custom identifier. diff --git a/docs/api/saved-objects/create.asciidoc b/docs/api/saved-objects/create.asciidoc index e7e25c7d3bba6..437bdb497da26 100644 --- a/docs/api/saved-objects/create.asciidoc +++ b/docs/api/saved-objects/create.asciidoc @@ -24,7 +24,7 @@ experimental[] Create {kib} saved objects. (Optional, string) An identifier for the space. If `space_id` is not provided in the URL, the default space is used. ``:: - (Required, string) Valid options include `visualization`, `dashboard`, `search`, `index-pattern`, `config`, and `timelion-sheet`. + (Required, string) Valid options include `visualization`, `dashboard`, `search`, `index-pattern`, `config`. ``:: (Optional, string) Specifies an ID instead of using a randomly generated ID. diff --git a/docs/api/saved-objects/delete.asciidoc b/docs/api/saved-objects/delete.asciidoc index 9c342cb4d843e..ab50fd6e37eac 100644 --- a/docs/api/saved-objects/delete.asciidoc +++ b/docs/api/saved-objects/delete.asciidoc @@ -22,7 +22,7 @@ WARNING: Once you delete a saved object, _it cannot be recovered_. (Optional, string) An identifier for the space. If `space_id` is not provided in the URL, the default space is used. `type`:: - (Required, string) Valid options include `visualization`, `dashboard`, `search`, `index-pattern`, `config`, and `timelion-sheet`. + (Required, string) Valid options include `visualization`, `dashboard`, `search`, `index-pattern`, `config`. `id`:: (Required, string) The object ID that you want to remove. diff --git a/docs/api/saved-objects/get.asciidoc b/docs/api/saved-objects/get.asciidoc index 4c8cd020e0286..cfc591d811227 100644 --- a/docs/api/saved-objects/get.asciidoc +++ b/docs/api/saved-objects/get.asciidoc @@ -21,7 +21,7 @@ experimental[] Retrieve a single {kib} saved object by ID. `type`:: - (Required, string) Valid options include `visualization`, `dashboard`, `search`, `index-pattern`, `config`, and `timelion-sheet`. + (Required, string) Valid options include `visualization`, `dashboard`, `search`, `index-pattern`, `config`. `id`:: (Required, string) The ID of the object to retrieve. diff --git a/docs/api/saved-objects/resolve.asciidoc b/docs/api/saved-objects/resolve.asciidoc index abfad6a0a8150..aa18538975f5f 100644 --- a/docs/api/saved-objects/resolve.asciidoc +++ b/docs/api/saved-objects/resolve.asciidoc @@ -25,7 +25,7 @@ object can be retrieved via the Resolve API using either its new ID or its old I `type`:: - (Required, string) Valid options include `visualization`, `dashboard`, `search`, `index-pattern`, `config`, and `timelion-sheet`. + (Required, string) Valid options include `visualization`, `dashboard`, `search`, `index-pattern`, `config`. `id`:: (Required, string) The ID of the object to retrieve. diff --git a/docs/api/saved-objects/update.asciidoc b/docs/api/saved-objects/update.asciidoc index d237ced8b52d1..2bd95df1adf30 100644 --- a/docs/api/saved-objects/update.asciidoc +++ b/docs/api/saved-objects/update.asciidoc @@ -20,7 +20,7 @@ experimental[] Update the attributes for existing {kib} saved objects. (Optional, string) An identifier for the space. If `space_id` is not provided in the URL, the default space is used. `type`:: - (Required, string) Valid options include `visualization`, `dashboard`, `search`, `index-pattern`, `config`, and `timelion-sheet`. + (Required, string) Valid options include `visualization`, `dashboard`, `search`, `index-pattern`, `config`. `id`:: (Required, string) The object ID to update. diff --git a/docs/api/spaces-management/get_all.asciidoc b/docs/api/spaces-management/get_all.asciidoc index e76848da80efb..3c95b1b904441 100644 --- a/docs/api/spaces-management/get_all.asciidoc +++ b/docs/api/spaces-management/get_all.asciidoc @@ -70,7 +70,7 @@ The API returns the following: "id": "sales", "name": "Sales", "initials": "MK", - "disabledFeatures": ["discover", "timelion"], + "disabledFeatures": ["discover"], "imageUrl": "" } ] @@ -124,7 +124,7 @@ The API returns the following: "id": "sales", "name": "Sales", "initials": "MK", - "disabledFeatures": ["discover", "timelion"], + "disabledFeatures": ["discover"], "imageUrl": "", "authorizedPurposes": { "any": true, diff --git a/docs/api/spaces-management/post.asciidoc b/docs/api/spaces-management/post.asciidoc index 1abfffd1c736f..28d60caa0d333 100644 --- a/docs/api/spaces-management/post.asciidoc +++ b/docs/api/spaces-management/post.asciidoc @@ -54,7 +54,7 @@ $ curl -X POST api/spaces/space "description" : "This is the Marketing Space", "color": "#aabbcc", "initials": "MK", - "disabledFeatures": ["timelion"], + "disabledFeatures": [], "imageUrl": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAD4AAABACAYAAABC6cT1AAAGf0lEQVRoQ+3abYydRRUH8N882xYo0IqagEVjokQJKAiKBjXExC9G/aCkGowCIghCkRcrVSSKIu/FEiqgGL6gBIlAYrAqUTH6hZgQFVEMKlQFfItWoQWhZe8z5uzMLdvbfbkLxb13d+fbvfe588x/zpn/+Z9zJpmnI81T3BaAzzfLL1h8weLzZAcWXH2eGHo7zAWLL1h8nuzAjFw9G1N6Kzq8HnuM36MR8iibF3Fv4q+7cv8yDV6K13bYq2furSP8Ag8ncr/vnSnwRViJT2GfCV7yL1yHGxLb+l3EdM9lluNEnIC9xz+f2ZL4Er6Z2DrdXN3fZwp8CU7OfDHxggle8lTLbQ1nJ/7Z7yKmey5zYGZt4h2IzR8/trRc2PDlxJPTzfVcgJ+CC0wMPOa9F6cm7up3EVM9V9386MxliVdM8GwAv6hh/awCz/w7lY25OtF5ruBz4ZLP42NYNrDAFbC3YPWuILnMAfgq3oaRQQYea/stViV+sgssvjKzLvGySeaaNVfP4d7Btokgvxj/bblgpueuF1hmWcyTCmfE3J3M1lTcv0vMswM88zR+jpw4osu6me8kzkpsfLZWzxyRuabO22buxxOJ12FxnXfWgEe83pB5sOE47BsLymzscOoi7nw2JJfZreUjiUsTyzKPZm5NvBDvSuw268AzNzV8H5/Am+qCnsAXgpgSW2Zq9cyKlksbPlTd+te4quWNieMHBfiNDdciYnwsdI/MaOaWhnMTf54J8CqNj8x8JXFIZltYu+HqlmNT8YSBsHgAPw/vxvlVV4du/s0oaxbxg0TbL/jMni0nNcVjQq7+HZfgtpbzBg342TgQ63AkmsymxBW4IjE6A+D7Vzd/fyWxIM/VuCe+HzTgZ2Jpy/kNJ2FJLmLm24mPJ/42A+Bvrxt4SISwlhsaPodH26LZB8rVA3inwwebsrixJCZzX+KMxI/7AV61eVh3DV6Mx3EOvh4kN6jAg8nfUCXm4d1wE66OyxNPTQc+s3/o/MoXizL3JE5O3F3P/uBZPPF4Zr+Wi5uSO48ZPRdyCwn7YB/A35m5KhWNHox4fcNnIs0ddOCRSBxf8+cQG+Huf0l8NJVYP+nI7NXy2ar4QqIGm69JfKPOE2w/mBavCzwM11R2D+ChsUO7hyUfmwx55qDM1xJvqZ7y08TpifuGBfjeURVJnNIVGpkNiXNS0ds7jcySDitDCCWW56LJ10fRo8sNA+3qXUSZD2CtQlZh9T+1rB7h9oliembflnMbzqgSNZKbKGHdPm7OwXb1CvQ1metSETMpszmzvikCJNh/h5E5PHNl4qga/+/cxqrdeWDYgIe7X5L4cGJPJX2940lOX8pD41FnFnc4riluvQKbK0dcHJFi2IBHNTQSlguru4d2/wPOTNzRA3x5y+U1E1uqWDkETOT026XuUJzx6u7ReLhSYenQ7uHua0fKZmwfmcPqsQjxE5WVONcRxn7X89zgn/EKPMRMxOVQXmP18Mx3q3b/Y/0cQE/IhFtHESMsHFlZ1Ml3CH3DZPHImY+pxcKumNmYirtvqMBfhMuU6s3iqOQkTsMPe1tCQwO8Ajs0lxr7W+vnp1MJc9EgCNd/cy6x+9D4veXmprj5wxMw/3C4egW6zzgZOlYZzfwo3F2J7ael0pJamvlPKgWNKFft1AAcKotXoFEbD7kaoSoQPVKB35+5KHF0lai/rJo+up87jWEE/qqqwY+qrL21LWLm95lPJ16ppKw31XC3PXYPJauPEx7B6BHCgrSizRs18qiaRp8tlN3ueCTYPHH9RNaunjI8Z7wLYpT3jZSCYXQ8e9vTsRE/q+no3XMKeObgGtaintbb/AvXj4JDkNw/5hrwYPfIvlZFUbLn7G5q+eQIN09Vnho6cqvnM/Lt99RixH49wO8K0ZL41WTWHoQzvsNVkOheZqKhEGpsp3SzB+BBtZAYve7uOR9tuTaaB6l0XScdYfEQPpkTUyHEGP+XqyDBzu+NBCITUjNWHynkrbWKOuWFn1xKzqsyx0bdvS78odp0+N503Zao0uCsWuSIDku8/7EO60b41vN5+Ses9BKlTdvd8bhp9EBvJjWJAIn/vxwHe6b3tSk6JFPV4nq85oAOrx555v/x/rh3E6Lo+bnuNS4uB4Cuq0ZfvO8X1rM6q/+vnjLVqZq7v83onttc2oYF4HPJmv1gWbB4P7s0l55ZsPhcsmY/WBYs3s8uzaVn5q3F/wf70mRuBCtbjQAAAABJRU5ErkJggg==" } -------------------------------------------------- diff --git a/docs/apm/correlations.asciidoc b/docs/apm/correlations.asciidoc index c0c18433c9021..2165994b8372f 100644 --- a/docs/apm/correlations.asciidoc +++ b/docs/apm/correlations.asciidoc @@ -58,68 +58,34 @@ out, you can begin viewing sample traces to continue your investigation. [[correlations-error-rate]] ==== Find failed transaction correlations -The correlations on the *Error rate* tab help you discover which fields are -contributing to failed transactions. - -By default, a number of attributes commonly known to cause performance issues, -like version, infrastructure, and location, are included, but all are completely -customizable to your APM data. Find something interesting? A quick click of a -button will auto-query your data as you work to resolve the underlying issue. - -The error rate over time chart visualizes the change in error rate over the selected time frame. -Correlated attributes are sorted by _Impact_–a visual representation of the -{ref}/search-aggregations-bucket-significantterms-aggregation.html[significant terms aggregation] -score that powers correlations. -Attributes with a high impact, or attributes present in a large percentage of failed transactions, -may contribute to increased error rates. - -To find error rate correlations, hover over each potentially correlated attribute to -compare the error rate distribution of transactions with and without the selected attribute. - -For example, in the screenshot below, the field `url.original` and value `http://localhost:3100...` -existed in 100% of failed transactions between 6:00 and 10:30. +beta::[] + +The correlations on the *Failed transaction correlations* tab help you discover +which attributes are most influential in distinguishing between transaction +failures and successes. In this context, the success or failure of a transaction +is determined by its {ecs-ref}/ecs-event.html#field-event-outcome[event.outcome] +value. For example, APM agents set the `event.outcome` to `failure` when an HTTP +transaction returns a `5xx` status code. + +// The chart highlights the failed transactions in the overall latency distribution for the transaction group. +If there are attributes that have a statistically significant correlation with +failed transactions, they are listed in a table. The table is sorted by scores, +which are mapped to high, medium, or low impact levels. Attributes with high +impact levels are more likely to contribute to failed transactions. +// By default, the attribute with the highest score is added to the chart. To see a different attribute in the chart, hover over its row in the table. + +For example, in the screenshot below, the field +`kubernetes.pod.name` and value `frontend-node-59dff47885-fl5lb` has a medium +impact level and existed in 19% of the failed transactions. [role="screenshot"] -image::apm/images/error-rate-hover.png[Correlations errors hover effect] - -Select the `+` filter to create a new query in the {apm-app} for transactions with -`url.original: http://localhost:3100...`. With the "noise" now filtered out, -you can begin viewing sample traces to continue your investigation. - -As you sift through erroneous transactions, you'll likely notice other interesting attributes. -Return to the correlations fly-out and select *Customize fields* to search on these new attributes. -You may need to do this a few times–each time filtering out more and more noise and bringing you -closer to a diagnosis. - -[discrete] -[[correlations-customize-fields]] -===== Customize fields - -By default, a handful of attributes commonly known to cause performance issues -are included in the analysis on the *Error rate* tab. You can add and remove -fields under the **Customize fields** dropdown. - -The following fields are selected by default. To keep the default list -manageable, only the first six matching fields with wildcards are used. - -**Frontend (RUM) agent:** - -* `labels.*` -* `user.*` -* `user_agent.name` -* `user_agent.os.name` -* `url.original` - -**Backend agents:** +image::apm/images/correlations-failed-transactions.png[Failed transaction correlations] -* `labels.*` -* `host.ip` -* `service.node.name` -* `service.version` +TIP: Some details, such as the failure and success percentages, are available +only when the +<> +advanced setting is enabled. -[TIP] -==== -* Want to start over? Select **reset** to clear your customizations. -* The *Latency* tab does not have a **Customize fields** dropdown, since it -automatically considers all relevant fields in the transactions. -==== +Select the `+` filter to create a new query in the {apm-app} for transactions +with this attribute. You might do his for multiple attributes--each time +filtering out more and more noise and bringing you closer to a diagnosis. \ No newline at end of file diff --git a/docs/apm/images/correlations-failed-transactions.png b/docs/apm/images/correlations-failed-transactions.png new file mode 100644 index 0000000000000..3258b44f7097b Binary files /dev/null and b/docs/apm/images/correlations-failed-transactions.png differ diff --git a/docs/apm/images/error-rate-hover.png b/docs/apm/images/error-rate-hover.png deleted file mode 100644 index 69f0009309318..0000000000000 Binary files a/docs/apm/images/error-rate-hover.png and /dev/null differ diff --git a/docs/developer/contributing/development-tests.asciidoc b/docs/developer/contributing/development-tests.asciidoc index e7a36d2866728..340e122b44c1b 100644 --- a/docs/developer/contributing/development-tests.asciidoc +++ b/docs/developer/contributing/development-tests.asciidoc @@ -56,6 +56,14 @@ kibana/src/plugins/dashboard/server$ yarn test:jest --coverage yarn jest --coverage --verbose --config /home/tyler/elastic/kibana/src/plugins/dashboard/jest.config.js server ---- +You can generate code coverage report for a single plugin. + +[source,bash] +---- +yarn jest --coverage --config src/plugins/console/jest.config.js +---- + +Html report is available in target/kibana-coverage/jest/path/to/plugin [discrete] === Running browser automation tests diff --git a/docs/developer/plugin-list.asciidoc b/docs/developer/plugin-list.asciidoc index dfb62f23445ed..84e6668830edc 100644 --- a/docs/developer/plugin-list.asciidoc +++ b/docs/developer/plugin-list.asciidoc @@ -172,10 +172,6 @@ in Kibana, e.g. visualizations. It has the form of a flyout panel. |Utilities for building Kibana plugins. -|{kib-repo}blob/{branch}/src/plugins/legacy_export/README.md[legacyExport] -|The legacyExport plugin adds support for the legacy saved objects export format. - - |{kib-repo}blob/{branch}/src/plugins/management/README.md[management] |This plugins contains the "Stack Management" page framework. It offers navigation and an API to link individual managment section into it. This plugin does not contain any individual @@ -239,11 +235,6 @@ generating deep links to other apps, and creating short URLs. |This plugin adds the Advanced Settings section for the Usage and Security Data collection (aka Telemetry). -|{kib-repo}blob/{branch}/src/plugins/timelion/README.md[timelion] -|Contains the deprecated timelion application. For the timelion visualization, -which also contains the timelion APIs and backend, look at the vis_type_timelion plugin. - - |<> |UI Actions plugins provides API to manage *triggers* and *actions*. diff --git a/docs/development/core/public/kibana-plugin-core-public.doclinksstart.links.md b/docs/development/core/public/kibana-plugin-core-public.doclinksstart.links.md index c556d58421737..f40f52db55de9 100644 --- a/docs/development/core/public/kibana-plugin-core-public.doclinksstart.links.md +++ b/docs/development/core/public/kibana-plugin-core-public.doclinksstart.links.md @@ -188,7 +188,16 @@ readonly links: { timeUnits: string; updateTransform: string; }>; - readonly observability: Record; + readonly observability: Readonly<{ + guide: string; + infrastructureThreshold: string; + logsThreshold: string; + metricsThreshold: string; + monitorStatus: string; + monitorUptime: string; + tlsCertificate: string; + uptimeDurationAnomaly: string; + }>; readonly alerting: Record; readonly maps: Record; readonly monitoring: Record; diff --git a/docs/development/core/public/kibana-plugin-core-public.doclinksstart.md b/docs/development/core/public/kibana-plugin-core-public.doclinksstart.md index 7d862f50bba18..2499227d20ad4 100644 --- a/docs/development/core/public/kibana-plugin-core-public.doclinksstart.md +++ b/docs/development/core/public/kibana-plugin-core-public.doclinksstart.md @@ -17,5 +17,5 @@ export interface DocLinksStart | --- | --- | --- | | [DOC\_LINK\_VERSION](./kibana-plugin-core-public.doclinksstart.doc_link_version.md) | string | | | [ELASTIC\_WEBSITE\_URL](./kibana-plugin-core-public.doclinksstart.elastic_website_url.md) | string | | -| [links](./kibana-plugin-core-public.doclinksstart.links.md) | {
readonly settings: string;
readonly apm: {
readonly kibanaSettings: string;
readonly supportedServiceMaps: string;
readonly customLinks: string;
readonly droppedTransactionSpans: string;
readonly upgrading: string;
readonly metaData: string;
};
readonly canvas: {
readonly guide: string;
};
readonly dashboard: {
readonly guide: string;
readonly drilldowns: string;
readonly drilldownsTriggerPicker: string;
readonly urlDrilldownTemplateSyntax: string;
readonly urlDrilldownVariables: string;
};
readonly discover: Record<string, string>;
readonly filebeat: {
readonly base: string;
readonly installation: string;
readonly configuration: string;
readonly elasticsearchOutput: string;
readonly elasticsearchModule: string;
readonly startup: string;
readonly exportedFields: string;
readonly suricataModule: string;
readonly zeekModule: string;
};
readonly auditbeat: {
readonly base: string;
readonly auditdModule: string;
readonly systemModule: string;
};
readonly metricbeat: {
readonly base: string;
readonly configure: string;
readonly httpEndpoint: string;
readonly install: string;
readonly start: string;
};
readonly enterpriseSearch: {
readonly base: string;
readonly appSearchBase: string;
readonly workplaceSearchBase: string;
};
readonly heartbeat: {
readonly base: string;
};
readonly libbeat: {
readonly getStarted: string;
};
readonly logstash: {
readonly base: string;
};
readonly functionbeat: {
readonly base: string;
};
readonly winlogbeat: {
readonly base: string;
};
readonly aggs: {
readonly composite: string;
readonly composite_missing_bucket: string;
readonly date_histogram: string;
readonly date_range: string;
readonly date_format_pattern: string;
readonly filter: string;
readonly filters: string;
readonly geohash_grid: string;
readonly histogram: string;
readonly ip_range: string;
readonly range: string;
readonly significant_terms: string;
readonly terms: string;
readonly avg: string;
readonly avg_bucket: string;
readonly max_bucket: string;
readonly min_bucket: string;
readonly sum_bucket: string;
readonly cardinality: string;
readonly count: string;
readonly cumulative_sum: string;
readonly derivative: string;
readonly geo_bounds: string;
readonly geo_centroid: string;
readonly max: string;
readonly median: string;
readonly min: string;
readonly moving_avg: string;
readonly percentile_ranks: string;
readonly serial_diff: string;
readonly std_dev: string;
readonly sum: string;
readonly top_hits: string;
};
readonly runtimeFields: {
readonly overview: string;
readonly mapping: string;
};
readonly scriptedFields: {
readonly scriptFields: string;
readonly scriptAggs: string;
readonly painless: string;
readonly painlessApi: string;
readonly painlessLangSpec: string;
readonly painlessSyntax: string;
readonly painlessWalkthrough: string;
readonly luceneExpressions: string;
};
readonly search: {
readonly sessions: string;
readonly sessionLimits: string;
};
readonly indexPatterns: {
readonly introduction: string;
readonly fieldFormattersNumber: string;
readonly fieldFormattersString: string;
readonly runtimeFields: string;
};
readonly addData: string;
readonly kibana: string;
readonly upgradeAssistant: string;
readonly rollupJobs: string;
readonly elasticsearch: Record<string, string>;
readonly siem: {
readonly privileges: string;
readonly guide: string;
readonly gettingStarted: string;
readonly ml: string;
readonly ruleChangeLog: string;
readonly detectionsReq: string;
readonly networkMap: string;
};
readonly query: {
readonly eql: string;
readonly kueryQuerySyntax: string;
readonly luceneQuerySyntax: string;
readonly percolate: string;
readonly queryDsl: string;
readonly autocompleteChanges: string;
};
readonly date: {
readonly dateMath: string;
readonly dateMathIndexNames: string;
};
readonly management: Record<string, string>;
readonly ml: Record<string, string>;
readonly transforms: Record<string, string>;
readonly visualize: Record<string, string>;
readonly apis: Readonly<{
bulkIndexAlias: string;
byteSizeUnits: string;
createAutoFollowPattern: string;
createFollower: string;
createIndex: string;
createSnapshotLifecyclePolicy: string;
createRoleMapping: string;
createRoleMappingTemplates: string;
createRollupJobsRequest: string;
createApiKey: string;
createPipeline: string;
createTransformRequest: string;
cronExpressions: string;
executeWatchActionModes: string;
indexExists: string;
openIndex: string;
putComponentTemplate: string;
painlessExecute: string;
painlessExecuteAPIContexts: string;
putComponentTemplateMetadata: string;
putSnapshotLifecyclePolicy: string;
putIndexTemplateV1: string;
putWatch: string;
simulatePipeline: string;
timeUnits: string;
updateTransform: string;
}>;
readonly observability: Record<string, string>;
readonly alerting: Record<string, string>;
readonly maps: Record<string, string>;
readonly monitoring: Record<string, string>;
readonly security: Readonly<{
apiKeyServiceSettings: string;
clusterPrivileges: string;
elasticsearchSettings: string;
elasticsearchEnableSecurity: string;
indicesPrivileges: string;
kibanaTLS: string;
kibanaPrivileges: string;
mappingRoles: string;
mappingRolesFieldRules: string;
runAsPrivilege: string;
}>;
readonly watcher: Record<string, string>;
readonly ccs: Record<string, string>;
readonly plugins: Record<string, string>;
readonly snapshotRestore: Record<string, string>;
readonly ingest: Record<string, string>;
readonly fleet: Readonly<{
guide: string;
fleetServer: string;
fleetServerAddFleetServer: string;
settings: string;
settingsFleetServerHostSettings: string;
troubleshooting: string;
elasticAgent: string;
datastreams: string;
datastreamsNamingScheme: string;
upgradeElasticAgent: string;
upgradeElasticAgent712lower: string;
}>;
readonly ecs: {
readonly guide: string;
};
} | | +| [links](./kibana-plugin-core-public.doclinksstart.links.md) | {
readonly settings: string;
readonly apm: {
readonly kibanaSettings: string;
readonly supportedServiceMaps: string;
readonly customLinks: string;
readonly droppedTransactionSpans: string;
readonly upgrading: string;
readonly metaData: string;
};
readonly canvas: {
readonly guide: string;
};
readonly dashboard: {
readonly guide: string;
readonly drilldowns: string;
readonly drilldownsTriggerPicker: string;
readonly urlDrilldownTemplateSyntax: string;
readonly urlDrilldownVariables: string;
};
readonly discover: Record<string, string>;
readonly filebeat: {
readonly base: string;
readonly installation: string;
readonly configuration: string;
readonly elasticsearchOutput: string;
readonly elasticsearchModule: string;
readonly startup: string;
readonly exportedFields: string;
readonly suricataModule: string;
readonly zeekModule: string;
};
readonly auditbeat: {
readonly base: string;
readonly auditdModule: string;
readonly systemModule: string;
};
readonly metricbeat: {
readonly base: string;
readonly configure: string;
readonly httpEndpoint: string;
readonly install: string;
readonly start: string;
};
readonly enterpriseSearch: {
readonly base: string;
readonly appSearchBase: string;
readonly workplaceSearchBase: string;
};
readonly heartbeat: {
readonly base: string;
};
readonly libbeat: {
readonly getStarted: string;
};
readonly logstash: {
readonly base: string;
};
readonly functionbeat: {
readonly base: string;
};
readonly winlogbeat: {
readonly base: string;
};
readonly aggs: {
readonly composite: string;
readonly composite_missing_bucket: string;
readonly date_histogram: string;
readonly date_range: string;
readonly date_format_pattern: string;
readonly filter: string;
readonly filters: string;
readonly geohash_grid: string;
readonly histogram: string;
readonly ip_range: string;
readonly range: string;
readonly significant_terms: string;
readonly terms: string;
readonly avg: string;
readonly avg_bucket: string;
readonly max_bucket: string;
readonly min_bucket: string;
readonly sum_bucket: string;
readonly cardinality: string;
readonly count: string;
readonly cumulative_sum: string;
readonly derivative: string;
readonly geo_bounds: string;
readonly geo_centroid: string;
readonly max: string;
readonly median: string;
readonly min: string;
readonly moving_avg: string;
readonly percentile_ranks: string;
readonly serial_diff: string;
readonly std_dev: string;
readonly sum: string;
readonly top_hits: string;
};
readonly runtimeFields: {
readonly overview: string;
readonly mapping: string;
};
readonly scriptedFields: {
readonly scriptFields: string;
readonly scriptAggs: string;
readonly painless: string;
readonly painlessApi: string;
readonly painlessLangSpec: string;
readonly painlessSyntax: string;
readonly painlessWalkthrough: string;
readonly luceneExpressions: string;
};
readonly search: {
readonly sessions: string;
readonly sessionLimits: string;
};
readonly indexPatterns: {
readonly introduction: string;
readonly fieldFormattersNumber: string;
readonly fieldFormattersString: string;
readonly runtimeFields: string;
};
readonly addData: string;
readonly kibana: string;
readonly upgradeAssistant: string;
readonly rollupJobs: string;
readonly elasticsearch: Record<string, string>;
readonly siem: {
readonly privileges: string;
readonly guide: string;
readonly gettingStarted: string;
readonly ml: string;
readonly ruleChangeLog: string;
readonly detectionsReq: string;
readonly networkMap: string;
};
readonly query: {
readonly eql: string;
readonly kueryQuerySyntax: string;
readonly luceneQuerySyntax: string;
readonly percolate: string;
readonly queryDsl: string;
readonly autocompleteChanges: string;
};
readonly date: {
readonly dateMath: string;
readonly dateMathIndexNames: string;
};
readonly management: Record<string, string>;
readonly ml: Record<string, string>;
readonly transforms: Record<string, string>;
readonly visualize: Record<string, string>;
readonly apis: Readonly<{
bulkIndexAlias: string;
byteSizeUnits: string;
createAutoFollowPattern: string;
createFollower: string;
createIndex: string;
createSnapshotLifecyclePolicy: string;
createRoleMapping: string;
createRoleMappingTemplates: string;
createRollupJobsRequest: string;
createApiKey: string;
createPipeline: string;
createTransformRequest: string;
cronExpressions: string;
executeWatchActionModes: string;
indexExists: string;
openIndex: string;
putComponentTemplate: string;
painlessExecute: string;
painlessExecuteAPIContexts: string;
putComponentTemplateMetadata: string;
putSnapshotLifecyclePolicy: string;
putIndexTemplateV1: string;
putWatch: string;
simulatePipeline: string;
timeUnits: string;
updateTransform: string;
}>;
readonly observability: Readonly<{
guide: string;
infrastructureThreshold: string;
logsThreshold: string;
metricsThreshold: string;
monitorStatus: string;
monitorUptime: string;
tlsCertificate: string;
uptimeDurationAnomaly: string;
}>;
readonly alerting: Record<string, string>;
readonly maps: Record<string, string>;
readonly monitoring: Record<string, string>;
readonly security: Readonly<{
apiKeyServiceSettings: string;
clusterPrivileges: string;
elasticsearchSettings: string;
elasticsearchEnableSecurity: string;
indicesPrivileges: string;
kibanaTLS: string;
kibanaPrivileges: string;
mappingRoles: string;
mappingRolesFieldRules: string;
runAsPrivilege: string;
}>;
readonly watcher: Record<string, string>;
readonly ccs: Record<string, string>;
readonly plugins: Record<string, string>;
readonly snapshotRestore: Record<string, string>;
readonly ingest: Record<string, string>;
readonly fleet: Readonly<{
guide: string;
fleetServer: string;
fleetServerAddFleetServer: string;
settings: string;
settingsFleetServerHostSettings: string;
troubleshooting: string;
elasticAgent: string;
datastreams: string;
datastreamsNamingScheme: string;
upgradeElasticAgent: string;
upgradeElasticAgent712lower: string;
}>;
readonly ecs: {
readonly guide: string;
};
} | | diff --git a/docs/development/core/server/kibana-plugin-core-server.deprecationsservicesetup.md b/docs/development/core/server/kibana-plugin-core-server.deprecationsservicesetup.md index eb0dbb59e6c12..00e5da4a9a9f9 100644 --- a/docs/development/core/server/kibana-plugin-core-server.deprecationsservicesetup.md +++ b/docs/development/core/server/kibana-plugin-core-server.deprecationsservicesetup.md @@ -25,29 +25,29 @@ import { i18n } from '@kbn/i18n'; async function getDeprecations({ esClient, savedObjectsClient }: GetDeprecationsContext): Promise { const deprecations: DeprecationsDetails[] = []; - const count = await getTimelionSheetsCount(savedObjectsClient); + // Example of an api correctiveAction + const count = await getFooCount(savedObjectsClient); if (count > 0) { - // Example of a manual correctiveAction deprecations.push({ - title: i18n.translate('xpack.timelion.deprecations.worksheetsTitle', { - defaultMessage: 'Timelion worksheets are deprecated' + title: i18n.translate('xpack.foo.deprecations.title', { + defaultMessage: `Foo's are deprecated` }), - message: i18n.translate('xpack.timelion.deprecations.worksheetsMessage', { - defaultMessage: 'You have {count} Timelion worksheets. Migrate your Timelion worksheets to a dashboard to continue using them.', + message: i18n.translate('xpack.foo.deprecations.message', { + defaultMessage: `You have {count} Foo's. Migrate your Foo's to a dashboard to continue using them.`, values: { count }, }), documentationUrl: - 'https://www.elastic.co/guide/en/kibana/current/create-panels-with-timelion.html', + 'https://www.elastic.co/guide/en/kibana/current/foo.html', level: 'warning', correctiveActions: { manualSteps: [ - i18n.translate('xpack.timelion.deprecations.worksheets.manualStepOneMessage', { - defaultMessage: 'Navigate to the Kibana Dashboard and click "Create dashboard".', - }), - i18n.translate('xpack.timelion.deprecations.worksheets.manualStepTwoMessage', { - defaultMessage: 'Select Timelion from the "New Visualization" window.', - }), + i18n.translate('xpack.foo.deprecations.manualStepOneMessage', { + defaultMessage: 'Navigate to the Kibana Dashboard and click "Create dashboard".', + }), + i18n.translate('xpack.foo.deprecations.manualStepTwoMessage', { + defaultMessage: 'Select Foo from the "New Visualization" window.', + }), ], api: { path: '/internal/security/users/test_dashboard_user', @@ -68,6 +68,7 @@ async function getDeprecations({ esClient, savedObjectsClient }: GetDeprecations }, }); } + return deprecations; } diff --git a/docs/management/action-types.asciidoc b/docs/management/action-types.asciidoc index 3d3d7aeb2d777..92adbaf97d8c5 100644 --- a/docs/management/action-types.asciidoc +++ b/docs/management/action-types.asciidoc @@ -135,5 +135,14 @@ image::images/connectors-with-missing-secrets.png[Connectors with missing secret For out-of-the-box and standardized connectors, you can <> before {kib} starts. +[float] +[[montoring-connectors]] +=== Monitoring connectors + +The <> helps you understand the performance of all tasks in your environment. +However, if connectors fail to execute, they will report as successful to Task Manager. The failure stats will not +accurately depict the performance of connectors. + +For more information on connector successes and failures, refer to the <>. include::connectors/index.asciidoc[] diff --git a/docs/management/advanced-options.asciidoc b/docs/management/advanced-options.asciidoc index a4863bd60089b..6bf9ddb365290 100644 --- a/docs/management/advanced-options.asciidoc +++ b/docs/management/advanced-options.asciidoc @@ -470,13 +470,6 @@ The default period of time in the Security time filter. [[kibana-timelion-settings]] ==== Timelion -[horizontal] -[[timelion-defaultcolumns]]`timelion:default_columns`:: -The default number of columns to use on a Timelion sheet. - -[[timelion-defaultrows]]`timelion:default_rows`:: -The default number of rows to use on a Timelion sheet. - [[timelion-esdefaultindex]]`timelion:es.default_index`:: The default index when using the `.es()` query. @@ -502,9 +495,6 @@ experimental:[] Used with quandl queries, this is your API key from https://www.quandl.com/[www.quandl.com]. -[[timelion-showtutorial]]`timelion:showTutorial`:: -Shows the Timelion tutorial to users when they first open the Timelion app. - [[timelion-targetbuckets]]`timelion:target_buckets`:: Used for calculating automatic intervals in visualizations, this is the number of buckets to try to represent. @@ -529,10 +519,6 @@ of the chart. Use numbers between 0 and 1. The lower the number, the more the hi [[visualization-heatmap-maxbuckets]]`visualization:heatmap:maxBuckets`:: The maximum number of buckets a datasource can return. High numbers can have a negative impact on your browser rendering performance. -[[visualization-visualize-chartslibrary]]`visualization:visualize:legacyChartsLibrary`:: -**The legacy XY charts are deprecated and will not be supported as of 7.16.** -The visualize editor uses a new XY charts library with improved performance, color palettes, fill capacity, and more. Enable this option if you prefer to use the legacy charts library. - [[visualization-visualize-pieChartslibrary]]`visualization:visualize:legacyPieChartsLibrary`:: The visualize editor uses new pie charts with improved performance, color palettes, label positioning, and more. Enable this option if you prefer to use to the legacy charts library. diff --git a/docs/management/images/stackManagement-indexPatterns-pinRuntimeField-7.15.png b/docs/management/images/stackManagement-indexPatterns-pinRuntimeField-7.15.png new file mode 100644 index 0000000000000..49d0d4caec00f Binary files /dev/null and b/docs/management/images/stackManagement-indexPatterns-pinRuntimeField-7.15.png differ diff --git a/docs/management/manage-index-patterns.asciidoc b/docs/management/manage-index-patterns.asciidoc index ac07aa833c3b9..08527ffa75d4a 100644 --- a/docs/management/manage-index-patterns.asciidoc +++ b/docs/management/manage-index-patterns.asciidoc @@ -7,60 +7,60 @@ To customize the data fields in your index pattern, you can add runtime fields t [[runtime-fields]] === Explore your data with runtime fields -Runtime fields are fields that you add to documents after you've ingested, and are evaluated at query time. With runtime fields, you allow for a smaller index and faster ingest time so that you can use less resources and reduce your operating costs. You can use runtime fields anywhere index patterns are used. +Runtime fields are fields that you add to documents after you've ingested your data, and are evaluated at query time. With runtime fields, you allow for a smaller index and faster ingest time so that you can use less resources and reduce your operating costs. You can use runtime fields anywhere index patterns are used, for example, you can explore runtime fields in *Discover* and create visualizations with runtime fields for your dashboard. -When you use runtime fields, you can: +With runtime fields, you can: -* Define fields for a specific use without modifying the underlying schema. +* Define fields for a specific use case without modifying the underlying schema. * Override the returned values from index fields. -* Start working on your data without first understanding the structure. +* Start working on your data without understanding the structure. * Add fields to existing documents without reindexing your data. -* Explore runtime field data in *Discover*. - -* Create visualizations with runtime field data using *Lens*, *Maps*, and *TSVB*. - WARNING: Runtime fields can impact {kib} performance. When you run a query, {es} uses the fields you index first to shorten the response time. Index the fields that you commonly search for and filter on, such as `timestamp`, then use runtime fields to limit the number of fields {es} uses to calculate values. -For more information, refer to {ref}/runtime.html[Runtime fields]. +For detailed information on how to use runtime fields with {es}, refer to {ref}/runtime.html[Runtime fields]. [float] [[create-runtime-fields]] -==== Create runtime fields +==== Add runtime fields -Create runtime fields in your index patterns, or create runtime fields in *Discover* and *Lens*. +To add runtime fields to your index patterns, open the index pattern you want to change, then define the field values by emitting a single value using the {ref}/modules-scripting-painless.html[Painless scripting language]. You can also add runtime fields in <> and <>. . Open the main menu, then click *Stack Management > Index Patterns*. . Select the index pattern you want to add the runtime field to, then click *Add field*. -. Enter a *Name* for the runtime field, then select the field *Type*. +. Enter the field *Name*, then select the *Type*. + +. Select *Set custom label*, then enter the label you want to display where the index pattern is used, such as *Discover*. + +. Select *Set value*, then define the script. The script must match the *Type*, or the index pattern fails anywhere it is used. + +. To help you define the script, use the *Preview*: + +* To view the other available fields, use the *Document ID* arrows. + +* To filter the fields list, enter the keyword in *Filter fields*. -. Select *Set value*, then define the field value by emitting a single value using the {ref}/modules-scripting-painless.html[Painless scripting language]. -+ -The script must match the field *Type*, or the script fails. +* To pin frequently used fields to the top of the list, hover over the field, then click image:images/stackManagement-indexPatterns-pinRuntimeField-7.15.png[Icon to pin field to the top of the list]. . Click *Create field*. -+ -For information on how to create runtime fields in *Discover*, refer to <>. -+ -For information on how to create runtime fields in *Lens*, refer to <>. [float] [[runtime-field-examples]] ==== Runtime field examples -Try the runtime field examples on your own using the *Sample web logs* data index pattern. +Try the runtime field examples on your own using the <> data index pattern. [float] [[simple-hello-world-example]] ==== Return a keyword value -To return `Hello World!` value: +Return `Hello World!`: [source,text] ---- @@ -101,7 +101,7 @@ emit(""); [[replace-nulls-with-blanks]] ===== Replace nulls with blanks -Replace null values with none values: +Replace `null` values with `None`: [source,text] ---- @@ -115,7 +115,7 @@ else { } ---- -Specify operating system condition: +Specify the operating system condition: [source,text] ---- diff --git a/docs/setup/docker.asciidoc b/docs/setup/docker.asciidoc index ac55b3b98ff68..ed8f8e17c9e53 100644 --- a/docs/setup/docker.asciidoc +++ b/docs/setup/docker.asciidoc @@ -145,6 +145,7 @@ images: [horizontal] `server.host`:: `"0.0.0.0"` +`server.shutdownTimeout`:: `"5s"` `elasticsearch.hosts`:: `http://elasticsearch:9200` `monitoring.ui.container.elasticsearch.enabled`:: `true` diff --git a/docs/user/api.asciidoc b/docs/user/api.asciidoc index 82f3355759b67..00aa3c545df69 100644 --- a/docs/user/api.asciidoc +++ b/docs/user/api.asciidoc @@ -51,14 +51,6 @@ Calls to the API endpoints require different operations. To interact with the {k * *DELETE* - Removes the information. -For example, the following `curl` command exports a dashboard: - -[source,sh] --------------------------------------------- -curl -X POST api/kibana/dashboards/export?dashboard=942dcef0-b2cd-11e8-ad8e-85441f0c2e5c --------------------------------------------- -// KIBANA - [float] [[api-request-headers]] === Request headers diff --git a/docs/user/dashboard/timelion.asciidoc b/docs/user/dashboard/timelion.asciidoc index 85c8bbd436d25..ae92ed4259b65 100644 --- a/docs/user/dashboard/timelion.asciidoc +++ b/docs/user/dashboard/timelion.asciidoc @@ -13,8 +13,6 @@ The syntax enables some features that classical point series charts don't offer, [role="screenshot"] image:dashboard/images/timelion.png[Timelion] -deprecated::[7.0.0,"*Timelion* is still supported. The *Timelion app* is deprecated in 7.0, replaced by dashboard features. In 7.16 and later, the *Timelion app* is removed from {kib}. To prepare for the removal of *Timelion app*, you must migrate *Timelion app* worksheets to a dashboard. For information on how to migrate *Timelion app* worksheets, refer to the link:https://www.elastic.co/guide/en/kibana/7.10/release-notes-7.10.0.html#deprecation-v7.10.0[7.10.0 Release Notes]."] - [float] ==== Timelion expressions diff --git a/docs/user/dashboard/tsvb.asciidoc b/docs/user/dashboard/tsvb.asciidoc index 67a1be3c63ac1..3973d70793600 100644 --- a/docs/user/dashboard/tsvb.asciidoc +++ b/docs/user/dashboard/tsvb.asciidoc @@ -59,6 +59,8 @@ The index pattern mode unlocks many new features, such as: * Interactive filters for time series visualizations +* Custom field formats + * Better performance [float] diff --git a/docs/user/production-considerations/task-manager-health-monitoring.asciidoc b/docs/user/production-considerations/task-manager-health-monitoring.asciidoc index 3321a9d0c02a1..b07a01906b895 100644 --- a/docs/user/production-considerations/task-manager-health-monitoring.asciidoc +++ b/docs/user/production-considerations/task-manager-health-monitoring.asciidoc @@ -111,6 +111,7 @@ a| Runtime | This section tracks excution performance of Task Manager, tracking task _drift_, worker _load_, and execution stats broken down by type, including duration and execution results. + a| Capacity Estimation | This section provides a rough estimate about the sufficiency of its capacity. As the name suggests, these are estimates based on historical data and should not be used as predictions. Use these estimations when following the Task Manager <>. @@ -123,6 +124,14 @@ The root `status` indicates the `status` of the system overall. The Runtime `status` indicates whether task executions have exceeded any of the <>. An `OK` status means none of the threshold have been exceeded. A `Warning` status means that at least one warning threshold has been exceeded. An `Error` status means that at least one error threshold has been exceeded. +[IMPORTANT] +============================================== +Some tasks (such as <>) will incorrectly report their status as successful even if the task failed. +The runtime and workload block will return data about success and failures and will not take this into consideration. + +To get a better sense of action failures, please refer to the <> for more accurate context into failures and successes. +============================================== + The Capacity Estimation `status` indicates the sufficiency of the observed capacity. An `OK` status means capacity is sufficient. A `Warning` status means that capacity is sufficient for the scheduled recurring tasks, but non-recurring tasks often cause the cluster to exceed capacity. An `Error` status means that there is insufficient capacity across all types of tasks. By monitoring the `status` of the system overall, and the `status` of specific task types of interest, you can evaluate the health of the {kib} Task Management system. diff --git a/package.json b/package.json index 5aabfc66e4637..06755da56451a 100644 --- a/package.json +++ b/package.json @@ -83,7 +83,6 @@ "**/pdfkit/crypto-js": "4.0.0", "**/react-syntax-highlighter": "^15.3.1", "**/react-syntax-highlighter/**/highlight.js": "^10.4.1", - "**/request": "^2.88.2", "**/trim": "1.0.1", "**/typescript": "4.1.3", "**/underscore": "^1.13.1" @@ -100,7 +99,7 @@ "@elastic/datemath": "link:bazel-bin/packages/elastic-datemath", "@elastic/elasticsearch": "npm:@elastic/elasticsearch-canary@^8.0.0-canary.19", "@elastic/ems-client": "7.15.0", - "@elastic/eui": "37.3.1", + "@elastic/eui": "37.6.0", "@elastic/filesaver": "1.1.2", "@elastic/good": "^9.0.1-kibana3", "@elastic/maki": "6.3.0", @@ -184,15 +183,11 @@ "JSONStream": "1.3.5", "abort-controller": "^3.0.0", "abortcontroller-polyfill": "^1.4.0", - "ajv": "^6.12.4", "angular": "^1.8.0", "angular-aria": "^1.8.0", - "angular-elastic": "^2.5.1", "angular-recursion": "^1.0.5", - "angular-resource": "1.8.0", "angular-route": "^1.8.0", "angular-sanitize": "^1.8.0", - "angular-sortable-view": "^0.0.17", "antlr4ts": "^0.5.0-alpha.3", "archiver": "^5.2.0", "axios": "^0.21.1", @@ -201,7 +196,6 @@ "brace": "0.11.1", "broadcast-channel": "^3.0.3", "chalk": "^4.1.0", - "check-disk-space": "^2.1.0", "cheerio": "^1.0.0-rc.9", "chokidar": "^3.4.3", "chroma-js": "^1.4.1", @@ -237,15 +231,12 @@ "fflate": "^0.6.9", "file-saver": "^1.3.8", "file-type": "^10.9.0", - "focus-trap-react": "^3.1.1", "font-awesome": "4.7.0", - "formsy-react": "^1.1.5", "fp-ts": "^2.3.1", "geojson-vt": "^3.2.1", "get-port": "^5.0.0", "getopts": "^2.2.5", "getos": "^3.1.0", - "github-markdown-css": "^2.10.0", "glob": "^7.1.2", "glob-all": "^3.2.1", "globby": "^11.0.3", @@ -323,9 +314,7 @@ "pngjs": "^3.4.0", "polished": "^3.7.2", "prop-types": "^15.7.2", - "proper-lockfile": "^3.2.0", "proxy-from-env": "1.0.0", - "proxyquire": "1.8.0", "puid": "1.0.7", "puppeteer": "^8.0.0", "query-string": "^6.13.2", @@ -341,7 +330,6 @@ "react-dropzone": "^4.2.9", "react-fast-compare": "^2.0.4", "react-grid-layout": "^0.16.2", - "react-input-range": "^1.3.0", "react-intl": "^2.8.0", "react-is": "^16.8.0", "react-markdown": "^4.3.1", @@ -379,7 +367,6 @@ "regenerator-runtime": "^0.13.3", "remark-parse": "^8.0.3", "remark-stringify": "^9.0.0", - "request": "^2.88.0", "require-in-the-middle": "^5.0.2", "reselect": "^4.0.0", "resize-observer-polyfill": "^1.5.0", @@ -397,7 +384,7 @@ "suricata-sid-db": "^1.0.2", "symbol-observable": "^1.2.0", "tabbable": "1.1.3", - "tar": "4.4.13", + "tar": "^6.1.11", "tinycolor2": "1.4.1", "tinygradient": "0.4.3", "tree-kill": "^1.2.2", @@ -406,10 +393,9 @@ "type-detect": "^4.0.8", "typescript-fsa": "^3.0.0", "typescript-fsa-reducers": "^1.2.2", - "ui-select": "0.19.8", "unified": "^9.2.1", - "unstated": "^2.1.1", "use-resize-observer": "^6.0.0", + "usng.js": "^0.4.5", "utility-types": "^3.10.0", "uuid": "3.3.2", "vega": "^5.19.1", @@ -601,7 +587,6 @@ "@types/prettier": "^2.1.5", "@types/pretty-ms": "^5.0.0", "@types/prop-types": "^15.7.3", - "@types/proper-lockfile": "^3.0.1", "@types/rbush": "^3.0.0", "@types/reach__router": "^1.2.6", "@types/react": "^16.9.36", @@ -619,7 +604,6 @@ "@types/recompose": "^0.30.6", "@types/reduce-reducers": "^1.0.0", "@types/redux-actions": "^2.6.1", - "@types/request": "^2.48.2", "@types/seedrandom": ">=2.0.0 <4.0.0", "@types/selenium-webdriver": "^4.0.9", "@types/semver": "^7", @@ -632,7 +616,7 @@ "@types/styled-components": "^5.1.0", "@types/supertest": "^2.0.5", "@types/tapable": "^1.0.6", - "@types/tar": "^4.0.3", + "@types/tar": "^4.0.5", "@types/tar-fs": "^1.16.1", "@types/tempy": "^0.2.0", "@types/testing-library__jest-dom": "^5.9.5", @@ -696,7 +680,6 @@ "cypress-promise": "^1.1.0", "cypress-real-events": "^1.4.0", "debug": "^2.6.9", - "del-cli": "^3.0.1", "delete-empty": "^2.0.0", "dependency-check": "^4.1.0", "diff": "^4.0.1", @@ -734,7 +717,7 @@ "fetch-mock": "^7.3.9", "file-loader": "^4.2.0", "form-data": "^4.0.0", - "geckodriver": "^1.22.2", + "geckodriver": "^2.0.4", "glob-watcher": "5.0.3", "grunt": "1.3.0", "grunt-available-tasks": "^0.6.3", @@ -830,7 +813,6 @@ "tape": "^5.0.1", "tar-fs": "^2.1.0", "tempy": "^0.3.0", - "terminal-link": "^2.1.1", "terser": "^5.7.1", "terser-webpack-plugin": "^2.1.2", "tough-cookie": "^4.0.0", diff --git a/packages/kbn-config/src/deprecation/types.ts b/packages/kbn-config/src/deprecation/types.ts index 007c3ec54113b..0e1f36121e50e 100644 --- a/packages/kbn-config/src/deprecation/types.ts +++ b/packages/kbn-config/src/deprecation/types.ts @@ -23,6 +23,12 @@ export interface DeprecatedConfigDetails { title?: string; /* The message to be displayed for the deprecation. */ message: string; + /** + * levels: + * - warning: will not break deployment upon upgrade + * - critical: needs to be addressed before upgrade. + */ + level?: 'warning' | 'critical'; /* (optional) set false to prevent the config service from logging the deprecation message. */ silent?: boolean; /* (optional) link to the documentation for more details on the deprecation. */ diff --git a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/buid_api_declaration.test.ts b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/buid_api_declaration.test.ts index ce7f93826d1da..7002f72ae2db0 100644 --- a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/buid_api_declaration.test.ts +++ b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/buid_api_declaration.test.ts @@ -13,7 +13,7 @@ import { ToolingLog, KibanaPlatformPlugin } from '@kbn/dev-utils'; import { TypeKind, ApiScope } from '../types'; import { getKibanaPlatformPlugin } from '../tests/kibana_platform_plugin_mock'; import { getDeclarationNodesForPluginScope } from '../get_declaration_nodes_for_plugin'; -import { buildApiDeclaration } from './build_api_declaration'; +import { buildApiDeclarationTopNode } from './build_api_declaration'; import { isNamedNode } from '../tsmorph_utils'; const log = new ToolingLog({ @@ -42,8 +42,7 @@ beforeAll(() => { it('Test number primitive doc def', () => { const node = nodes.find((n) => getNodeName(n) === 'aNum'); expect(node).toBeDefined(); - const def = buildApiDeclaration({ - node: node!, + const def = buildApiDeclarationTopNode(node!, { plugins, log, currentPluginId: plugins[0].manifest.id, @@ -57,8 +56,7 @@ it('Test number primitive doc def', () => { it('Function type is exported as type with signature', () => { const node = nodes.find((n) => getNodeName(n) === 'FnWithGeneric'); expect(node).toBeDefined(); - const def = buildApiDeclaration({ - node: node!, + const def = buildApiDeclarationTopNode(node!, { plugins, log, currentPluginId: plugins[0].manifest.id, @@ -73,8 +71,7 @@ it('Function type is exported as type with signature', () => { it('Test Interface Kind doc def', () => { const node = nodes.find((n) => getNodeName(n) === 'ExampleInterface'); expect(node).toBeDefined(); - const def = buildApiDeclaration({ - node: node!, + const def = buildApiDeclarationTopNode(node!, { plugins, log, currentPluginId: plugins[0].manifest.id, @@ -90,8 +87,7 @@ it('Test Interface Kind doc def', () => { it('Test union export', () => { const node = nodes.find((n) => getNodeName(n) === 'aUnionProperty'); expect(node).toBeDefined(); - const def = buildApiDeclaration({ - node: node!, + const def = buildApiDeclarationTopNode(node!, { plugins, log, currentPluginId: plugins[0].manifest.id, @@ -104,8 +100,7 @@ it('Test union export', () => { it('Function inside interface has a label', () => { const node = nodes.find((n) => getNodeName(n) === 'ExampleInterface'); expect(node).toBeDefined(); - const def = buildApiDeclaration({ - node: node!, + const def = buildApiDeclarationTopNode(node!, { plugins, log, currentPluginId: plugins[0].manifest.id, @@ -122,8 +117,7 @@ it('Function inside interface has a label', () => { it('Test ReactElement signature', () => { const node = nodes.find((n) => getNodeName(n) === 'AReactElementFn'); expect(node).toBeDefined(); - const def = buildApiDeclaration({ - node: node!, + const def = buildApiDeclarationTopNode(node!, { plugins, log, currentPluginId: plugins[0].manifest.id, diff --git a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_api_declaration.ts b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_api_declaration.ts index 3d54cda5cf0fc..2f6b03de15b7a 100644 --- a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_api_declaration.ts +++ b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_api_declaration.ts @@ -11,7 +11,7 @@ import { ToolingLog, KibanaPlatformPlugin } from '@kbn/dev-utils'; import { buildClassDec } from './build_class_dec'; import { buildFunctionDec } from './build_function_dec'; import { isNamedNode } from '../tsmorph_utils'; -import { AnchorLink, ApiDeclaration } from '../types'; +import { ApiDeclaration } from '../types'; import { buildVariableDec } from './build_variable_dec'; import { buildTypeLiteralDec } from './build_type_literal_dec'; import { ApiScope } from '../types'; @@ -19,6 +19,27 @@ import { buildInterfaceDec } from './build_interface_dec'; import { buildBasicApiDeclaration } from './build_basic_api_declaration'; import { buildFunctionTypeDec } from './build_function_type_dec'; import { buildCallSignatureDec } from './build_call_signature_dec'; +import { BuildApiDecOpts } from './types'; +import { buildApiId } from './utils'; + +export function buildApiDeclarationTopNode( + node: Node, + opts: { + plugins: KibanaPlatformPlugin[]; + log: ToolingLog; + currentPluginId: string; + captureReferences: boolean; + parentApiId?: string; + scope: ApiScope; + } +) { + const name = isNamedNode(node) ? node.getName() : 'Unnamed'; + return buildApiDeclaration(node, { + ...opts, + name, + id: buildApiId(name, `def-${opts.scope}`), + }); +} /** * A potentially recursive function, depending on the node type, that builds a JSON like structure @@ -26,69 +47,31 @@ import { buildCallSignatureDec } from './build_call_signature_dec'; * interfaces, objects and functions will have children for their properties, members and parameters. * * @param node The ts-morph node to build an ApiDeclaration for. - * @param plugins The list of plugins registered is used for building cross plugin links by looking up - * the plugin by import path. We could accomplish the same thing via a regex on the import path, but this lets us - * decouple plugin path from plugin id. - * @param log Logs messages to console. - * @param pluginName The name of the plugin this declaration belongs to. - * @param scope The scope this declaration belongs to (server, public, or common). - * @param parentApiId If this declaration is nested inside another declaration, it should have a parent id. This - * is used to create the anchor link to this API item. - * @param captureReferences if false, references will only be captured for deprecated APIs. Capturing references - * can be time consuming so this is only set to true if explicitly requested via the `--references` flag. - * @param name An optional name to pass through which will be used instead of node.getName, if it - * exists. For some types, like Parameters, the name comes on the parent node, but we want the doc def - * to be built from the TypedNode + * @param opts Various options and settings */ -export function buildApiDeclaration({ - node, - plugins, - log, - currentPluginId, - scope, - captureReferences, - parentApiId, - name, -}: { - node: Node; - plugins: KibanaPlatformPlugin[]; - log: ToolingLog; - currentPluginId: string; - scope: ApiScope; - captureReferences: boolean; - parentApiId?: string; - name?: string; -}): ApiDeclaration { - const apiName = name ? name : isNamedNode(node) ? node.getName() : 'Unnamed'; - const apiId = parentApiId ? parentApiId + '.' + apiName : apiName; - const anchorLink: AnchorLink = { scope, pluginName: currentPluginId, apiName: apiId }; - +export function buildApiDeclaration(node: Node, opts: BuildApiDecOpts): ApiDeclaration { if (Node.isClassDeclaration(node)) { - return buildClassDec(node, plugins, anchorLink, currentPluginId, log, captureReferences); + return buildClassDec(node, opts); } else if (Node.isInterfaceDeclaration(node)) { - return buildInterfaceDec(node, plugins, anchorLink, currentPluginId, log, captureReferences); + return buildInterfaceDec(node, opts); } else if ( Node.isPropertySignature(node) && node.getTypeNode() && Node.isFunctionTypeNode(node.getTypeNode()!) ) { // This code path covers optional properties on interfaces, otherwise they lost their children. Yes, a bit strange. - return buildFunctionTypeDec({ - node, - typeNode: node.getTypeNode()! as FunctionTypeNode, - plugins, - anchorLink, - currentPluginId, - log, - captureReferences, - }); + return buildFunctionTypeDec(node, node.getTypeNode()! as FunctionTypeNode, opts); } else if ( Node.isMethodSignature(node) || Node.isFunctionDeclaration(node) || Node.isMethodDeclaration(node) || Node.isConstructorDeclaration(node) ) { - return buildFunctionDec({ node, plugins, anchorLink, currentPluginId, log, captureReferences }); + return buildFunctionDec(node, { + ...opts, + // Use "Constructor" if applicable, instead of the default "Unnamed" + name: Node.isConstructorDeclaration(node) ? 'Constructor' : node.getName() || 'Unnamed', + }); } else if ( Node.isPropertySignature(node) || Node.isPropertyDeclaration(node) || @@ -96,17 +79,9 @@ export function buildApiDeclaration({ Node.isPropertyAssignment(node) || Node.isVariableDeclaration(node) ) { - return buildVariableDec(node, plugins, anchorLink, currentPluginId, log, captureReferences); + return buildVariableDec(node, opts); } else if (Node.isTypeLiteralNode(node)) { - return buildTypeLiteralDec( - node, - plugins, - anchorLink, - currentPluginId, - log, - apiName, - captureReferences - ); + return buildTypeLiteralDec(node, opts); } // Without this types that are functions won't include comments on parameters. e.g. @@ -117,28 +92,11 @@ export function buildApiDeclaration({ // if (node.getType().getCallSignatures().length > 0) { if (node.getType().getCallSignatures().length > 1) { - log.warning(`Not handling more than one call signature for node ${apiName}`); + opts.log.warning(`Not handling more than one call signature for node ${opts.name}`); } else { - return buildCallSignatureDec({ - signature: node.getType().getCallSignatures()[0], - log, - captureReferences, - plugins, - anchorLink, - currentPluginId, - name: apiName, - node, - }); + return buildCallSignatureDec(node, node.getType().getCallSignatures()[0], opts); } } - return buildBasicApiDeclaration({ - currentPluginId, - anchorLink, - node, - plugins, - captureReferences, - log, - apiName, - }); + return buildBasicApiDeclaration(node, opts); } diff --git a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_arrow_fn_dec.ts b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_arrow_fn_dec.ts index c714165a0922c..251abd28ed9d4 100644 --- a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_arrow_fn_dec.ts +++ b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_arrow_fn_dec.ts @@ -6,8 +6,6 @@ * Side Public License, v 1. */ -import { ToolingLog, KibanaPlatformPlugin } from '@kbn/dev-utils'; - import { ArrowFunction, VariableDeclaration, @@ -16,24 +14,17 @@ import { ShorthandPropertyAssignment, PropertyAssignment, } from 'ts-morph'; -import { AnchorLink, ApiDeclaration, TypeKind } from '../types'; +import { ApiDeclaration, TypeKind } from '../types'; import { buildApiDecsForParameters } from './build_parameter_decs'; import { getSignature } from './get_signature'; import { getJSDocReturnTagComment, getJSDocs } from './js_doc_utils'; import { buildBasicApiDeclaration } from './build_basic_api_declaration'; +import { BuildApiDecOpts } from './types'; /** * Arrow functions are handled differently than regular functions because you need the arrow function * initializer as well as the node. The initializer is where the parameters are grabbed from and the * signature, while the node has the comments and name. - * - * @param node - * @param initializer - * @param plugins - * @param anchorLink - * @param log - * @param captureReferences if false, references will only be captured for deprecated APIs. Capturing references - * can be time consuming so this is only set to true if explicitly requested via the `--references` flag */ export function getArrowFunctionDec( node: @@ -43,34 +34,14 @@ export function getArrowFunctionDec( | ShorthandPropertyAssignment | PropertyAssignment, initializer: ArrowFunction, - plugins: KibanaPlatformPlugin[], - anchorLink: AnchorLink, - currentPluginId: string, - log: ToolingLog, - captureReferences: boolean + opts: BuildApiDecOpts ): ApiDeclaration { return { - ...buildBasicApiDeclaration({ - currentPluginId, - anchorLink, - node, - plugins, - captureReferences, - log, - apiName: node.getName(), - }), + ...buildBasicApiDeclaration(node, opts), type: TypeKind.FunctionKind, - children: buildApiDecsForParameters( - initializer.getParameters(), - plugins, - anchorLink, - currentPluginId, - log, - captureReferences, - getJSDocs(node) - ), + children: buildApiDecsForParameters(initializer.getParameters(), opts, getJSDocs(node)), // need to override the signature - use the initializer, not the node. - signature: getSignature(initializer, plugins, log), + signature: getSignature(initializer, opts.plugins, opts.log), returnComment: getJSDocReturnTagComment(node), }; } diff --git a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_basic_api_declaration.ts b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_basic_api_declaration.ts index 523bdca600597..0066e0df96f6a 100644 --- a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_basic_api_declaration.ts +++ b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_basic_api_declaration.ts @@ -6,49 +6,32 @@ * Side Public License, v 1. */ -import { KibanaPlatformPlugin, ToolingLog } from '@kbn/dev-utils'; import { JSDocTag, Node } from 'ts-morph'; -import { AnchorLink, ApiDeclaration } from '../types'; -import { getApiSectionId } from '../utils'; +import { ApiDeclaration } from '../types'; import { maybeCollectReferences } from './get_references'; import { getSignature } from './get_signature'; import { getTypeKind } from './get_type_kind'; import { getCommentsFromNode, getJSDocTags } from './js_doc_utils'; +import { BuildApiDecOpts } from './types'; import { getSourceForNode } from './utils'; /** * @returns an ApiDeclaration with common functionality that every node shares. Type specific attributes, like * children or references, still need to be added in. */ -export function buildBasicApiDeclaration({ - node, - plugins, - anchorLink, - apiName, - log, - currentPluginId, - captureReferences, -}: { - node: Node; - plugins: KibanaPlatformPlugin[]; - apiName: string; - log: ToolingLog; - anchorLink: AnchorLink; - currentPluginId: string; - captureReferences: boolean; -}): ApiDeclaration { +export function buildBasicApiDeclaration(node: Node, opts: BuildApiDecOpts): ApiDeclaration { const tags = getJSDocTags(node); const deprecated = tags.find((t) => t.getTagName() === 'deprecated') !== undefined; const removeByTag = tags.find((t) => t.getTagName() === 'removeBy'); const apiDec = { - parentPluginId: currentPluginId, - id: getApiSectionId(anchorLink), + parentPluginId: opts.currentPluginId, + id: opts.id, type: getTypeKind(node), tags: getTagNames(tags), - label: apiName, + label: opts.name, description: getCommentsFromNode(node), - signature: getSignature(node, plugins, log), + signature: getSignature(node, opts.plugins, opts.log), path: getSourceForNode(node), deprecated, removeBy: removeByTag ? removeByTag.getComment() : undefined, @@ -56,12 +39,9 @@ export function buildBasicApiDeclaration({ return { ...apiDec, references: maybeCollectReferences({ - captureReferences, + ...opts, apiDec, node, - plugins, - currentPluginId, - log, }), }; } diff --git a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_call_signature_dec.ts b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_call_signature_dec.ts index 6069655c52f60..569bd005875f1 100644 --- a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_call_signature_dec.ts +++ b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_call_signature_dec.ts @@ -6,59 +6,29 @@ * Side Public License, v 1. */ -import { KibanaPlatformPlugin, ToolingLog } from '@kbn/dev-utils'; import { Node, Signature } from 'ts-morph'; -import { AnchorLink, ApiDeclaration } from '../types'; +import { ApiDeclaration } from '../types'; import { buildApiDeclaration } from './build_api_declaration'; import { buildBasicApiDeclaration } from './build_basic_api_declaration'; import { getJSDocParamComment, getJSDocReturnTagComment } from './js_doc_utils'; +import { BuildApiDecOpts } from './types'; +import { buildApiId, getOptsForChildWithName } from './utils'; -export function buildCallSignatureDec({ - signature, - node, - plugins, - captureReferences, - currentPluginId, - anchorLink, - log, - name, -}: { - signature: Signature; - name: string; - plugins: KibanaPlatformPlugin[]; - anchorLink: AnchorLink; - log: ToolingLog; - captureReferences: boolean; - currentPluginId: string; - node: Node; -}) { +export function buildCallSignatureDec(node: Node, signature: Signature, opts: BuildApiDecOpts) { return { - ...buildBasicApiDeclaration({ - node, - plugins, - anchorLink, - apiName: name, - currentPluginId, - captureReferences, - log, - }), + ...buildBasicApiDeclaration(node, opts), returnComment: getJSDocReturnTagComment(node), - children: signature.getParameters().reduce((kids, p) => { + children: signature.getParameters().reduce((kids, p, index) => { if (p.getDeclarations().length === 1) { kids.push({ - ...buildApiDeclaration({ - node: p.getDeclarations()[0], - log, - captureReferences, - plugins, - scope: anchorLink.scope, - name: p.getName(), - currentPluginId, + ...buildApiDeclaration(p.getDeclarations()[0], { + ...getOptsForChildWithName(p.getName(), opts), + id: buildApiId(`$${index + 1}`, opts.id), }), description: getJSDocParamComment(node, p.getName()), }); } else { - log.warning(`Losing information on parameter ${p.getName()}`); + opts.log.warning(`Losing information on parameter ${p.getName()}`); } return kids; }, [] as ApiDeclaration[]), diff --git a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_class_dec.ts b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_class_dec.ts index 468d003187c65..4c3465742f081 100644 --- a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_class_dec.ts +++ b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_class_dec.ts @@ -6,44 +6,21 @@ * Side Public License, v 1. */ -import { ToolingLog, KibanaPlatformPlugin } from '@kbn/dev-utils'; import { ClassDeclaration } from 'ts-morph'; -import { AnchorLink, ApiDeclaration, TypeKind } from '../types'; +import { ApiDeclaration, TypeKind } from '../types'; import { buildApiDeclaration } from './build_api_declaration'; -import { isPrivate } from './utils'; +import { getOptsForChild, isPrivate } from './utils'; import { isInternal } from '../utils'; import { buildBasicApiDeclaration } from './build_basic_api_declaration'; +import { BuildApiDecOpts } from './types'; -export function buildClassDec( - node: ClassDeclaration, - plugins: KibanaPlatformPlugin[], - anchorLink: AnchorLink, - currentPluginId: string, - log: ToolingLog, - captureReferences: boolean -): ApiDeclaration { +export function buildClassDec(node: ClassDeclaration, opts: BuildApiDecOpts): ApiDeclaration { return { - ...buildBasicApiDeclaration({ - currentPluginId, - anchorLink, - node, - plugins, - log, - captureReferences, - apiName: node.getName() || 'Missing label', - }), + ...buildBasicApiDeclaration(node, opts), type: TypeKind.ClassKind, children: node.getMembers().reduce((acc, m) => { if (!isPrivate(m)) { - const child = buildApiDeclaration({ - node: m, - plugins, - log, - currentPluginId: anchorLink.pluginName, - scope: anchorLink.scope, - captureReferences, - parentApiId: anchorLink.apiName, - }); + const child = buildApiDeclaration(m, getOptsForChild(m, opts)); if (!isInternal(child)) { acc.push(child); } diff --git a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_function_dec.ts b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_function_dec.ts index c387b551a3002..3ba688f1ee284 100644 --- a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_function_dec.ts +++ b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_function_dec.ts @@ -10,61 +10,26 @@ import { FunctionDeclaration, MethodDeclaration, ConstructorDeclaration, - Node, MethodSignature, } from 'ts-morph'; -import { ToolingLog, KibanaPlatformPlugin } from '@kbn/dev-utils'; import { buildApiDecsForParameters } from './build_parameter_decs'; -import { AnchorLink, ApiDeclaration, TypeKind } from '../types'; +import { ApiDeclaration, TypeKind } from '../types'; import { getJSDocReturnTagComment, getJSDocs } from './js_doc_utils'; import { buildBasicApiDeclaration } from './build_basic_api_declaration'; +import { BuildApiDecOpts } from './types'; /** * Takes the various function-like node declaration types and converts them into an ApiDeclaration. - * @param node - * @param plugins - * @param anchorLink - * @param log */ -export function buildFunctionDec({ - node, - plugins, - anchorLink, - currentPluginId, - log, - captureReferences, -}: { - node: FunctionDeclaration | MethodDeclaration | ConstructorDeclaration | MethodSignature; - plugins: KibanaPlatformPlugin[]; - anchorLink: AnchorLink; - currentPluginId: string; - log: ToolingLog; - captureReferences: boolean; -}): ApiDeclaration { - const label = Node.isConstructorDeclaration(node) - ? 'Constructor' - : node.getName() || '(WARN: Missing name)'; +export function buildFunctionDec( + node: FunctionDeclaration | MethodDeclaration | ConstructorDeclaration | MethodSignature, + opts: BuildApiDecOpts +): ApiDeclaration { const fn = { - ...buildBasicApiDeclaration({ - currentPluginId, - anchorLink, - node, - captureReferences, - plugins, - log, - apiName: label, - }), + ...buildBasicApiDeclaration(node, opts), type: TypeKind.FunctionKind, - children: buildApiDecsForParameters( - node.getParameters(), - plugins, - anchorLink, - currentPluginId, - log, - captureReferences, - getJSDocs(node) - ), + children: buildApiDecsForParameters(node.getParameters(), opts, getJSDocs(node)), returnComment: getJSDocReturnTagComment(node), }; return fn; diff --git a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_function_type_dec.ts b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_function_type_dec.ts index e8137e9e7536d..1c98ea99ec392 100644 --- a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_function_type_dec.ts +++ b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_function_type_dec.ts @@ -7,53 +7,25 @@ */ import { PropertySignature } from 'ts-morph'; -import { ToolingLog, KibanaPlatformPlugin } from '@kbn/dev-utils'; import { FunctionTypeNode } from 'ts-morph'; import { buildApiDecsForParameters } from './build_parameter_decs'; -import { AnchorLink, ApiDeclaration, TypeKind } from '../types'; +import { ApiDeclaration, TypeKind } from '../types'; import { getJSDocReturnTagComment, getJSDocs } from './js_doc_utils'; import { buildBasicApiDeclaration } from './build_basic_api_declaration'; +import { BuildApiDecOpts } from './types'; /** * Takes the various function-type node declaration types and converts them into an ApiDeclaration. */ -export function buildFunctionTypeDec({ - node, - typeNode, - plugins, - anchorLink, - currentPluginId, - log, - captureReferences, -}: { - node: PropertySignature; - typeNode: FunctionTypeNode; - plugins: KibanaPlatformPlugin[]; - anchorLink: AnchorLink; - currentPluginId: string; - log: ToolingLog; - captureReferences: boolean; -}): ApiDeclaration { +export function buildFunctionTypeDec( + node: PropertySignature, + typeNode: FunctionTypeNode, + opts: BuildApiDecOpts +): ApiDeclaration { const fn = { - ...buildBasicApiDeclaration({ - currentPluginId, - anchorLink, - node, - captureReferences, - plugins, - log, - apiName: node.getName(), - }), + ...buildBasicApiDeclaration(node, opts), type: TypeKind.FunctionKind, - children: buildApiDecsForParameters( - typeNode.getParameters(), - plugins, - anchorLink, - currentPluginId, - log, - captureReferences, - getJSDocs(node) - ), + children: buildApiDecsForParameters(typeNode.getParameters(), opts, getJSDocs(node)), returnComment: getJSDocReturnTagComment(node), }; return fn; diff --git a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_interface_dec.ts b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_interface_dec.ts index da5302caee29a..b26469f3917a0 100644 --- a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_interface_dec.ts +++ b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_interface_dec.ts @@ -6,42 +6,26 @@ * Side Public License, v 1. */ -import { ToolingLog, KibanaPlatformPlugin } from '@kbn/dev-utils'; import { InterfaceDeclaration } from 'ts-morph'; -import { AnchorLink, ApiDeclaration, TypeKind } from '../types'; +import { ApiDeclaration, TypeKind } from '../types'; import { buildApiDeclaration } from './build_api_declaration'; import { isInternal } from '../utils'; import { buildBasicApiDeclaration } from './build_basic_api_declaration'; +import { BuildApiDecOpts } from './types'; +import { getOptsForChild } from './utils'; export function buildInterfaceDec( node: InterfaceDeclaration, - plugins: KibanaPlatformPlugin[], - anchorLink: AnchorLink, - currentPluginId: string, - log: ToolingLog, - captureReferences: boolean + opts: BuildApiDecOpts ): ApiDeclaration { return { - ...buildBasicApiDeclaration({ - currentPluginId, - anchorLink, - node, - plugins, - log, - captureReferences, - apiName: node.getName(), + ...buildBasicApiDeclaration(node, { + ...opts, + name: node.getName(), }), type: TypeKind.InterfaceKind, children: node.getMembers().reduce((acc, m) => { - const child = buildApiDeclaration({ - node: m, - plugins, - log, - currentPluginId: anchorLink.pluginName, - scope: anchorLink.scope, - captureReferences, - parentApiId: anchorLink.apiName, - }); + const child = buildApiDeclaration(m, getOptsForChild(m, opts)); if (!isInternal(child)) { acc.push(child); } diff --git a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_parameter_decs.ts b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_parameter_decs.ts index 192e27c3de6e9..f93e7a76d4457 100644 --- a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_parameter_decs.ts +++ b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_parameter_decs.ts @@ -7,77 +7,43 @@ */ import { ParameterDeclaration, JSDoc, SyntaxKind } from 'ts-morph'; -import { ToolingLog, KibanaPlatformPlugin } from '@kbn/dev-utils'; import { extractImportReferences } from './extract_import_refs'; -import { AnchorLink, ApiDeclaration } from '../types'; +import { ApiDeclaration } from '../types'; import { buildApiDeclaration } from './build_api_declaration'; import { getJSDocParamComment } from './js_doc_utils'; import { buildBasicApiDeclaration } from './build_basic_api_declaration'; +import { BuildApiDecOpts } from './types'; +import { buildApiId, getOptsForChild } from './utils'; /** * A helper function to capture function parameters, whether it comes from an arrow function, a regular function or * a function type. - * - * @param params - * @param plugins - * @param anchorLink - * @param log - * @param jsDocs */ export function buildApiDecsForParameters( params: ParameterDeclaration[], - plugins: KibanaPlatformPlugin[], - parentAnchorLink: AnchorLink, - currentPluginId: string, - log: ToolingLog, - captureReferences: boolean, + parentOpts: BuildApiDecOpts, jsDocs?: JSDoc[] ): ApiDeclaration[] { - let paramIndex = 0; - return params.reduce((acc, param) => { - paramIndex++; - const apiName = param.getName(); - // Destructured parameters can make these ids look ugly. Instead of parameter name, use an index for the position. - const apiId = parentAnchorLink.apiName - ? parentAnchorLink.apiName + `.$${paramIndex}` - : `$${paramIndex}`; - const anchorLink: AnchorLink = { - scope: parentAnchorLink.scope, - pluginName: parentAnchorLink.pluginName, - apiName: apiId, + return params.reduce((acc, param, index) => { + const id = buildApiId(`$${index + 1}`, parentOpts.id); + const opts = { + ...getOptsForChild(param, parentOpts), + id, }; - log.debug(`Getting parameter doc def for ${apiName} of kind ${param.getKindName()}`); + + opts.log.debug(`Getting parameter doc def for ${opts.name} of kind ${param.getKindName()}`); // Literal types are non primitives that aren't references to other types. We add them as a more // defined node, with children. // If we don't want the docs to be too deeply nested we could avoid this special handling. if (param.getTypeNode() && param.getTypeNode()!.getKind() === SyntaxKind.TypeLiteral) { - acc.push( - buildApiDeclaration({ - node: param.getTypeNode()!, - plugins, - log, - currentPluginId: anchorLink.pluginName, - scope: anchorLink.scope, - captureReferences, - parentApiId: anchorLink.apiName, - name: apiName, - }) - ); + acc.push(buildApiDeclaration(param.getTypeNode()!, opts)); } else { - const apiDec = buildBasicApiDeclaration({ - currentPluginId, - anchorLink, - node: param, - plugins, - log, - apiName, - captureReferences, - }); + const apiDec = buildBasicApiDeclaration(param, opts); acc.push({ ...apiDec, isRequired: param.getType().isNullable() === false, - signature: extractImportReferences(param.getType().getText(), plugins, log), - description: jsDocs ? getJSDocParamComment(jsDocs, apiName) : [], + signature: extractImportReferences(param.getType().getText(), opts.plugins, opts.log), + description: jsDocs ? getJSDocParamComment(jsDocs, opts.name) : [], }); } return acc; diff --git a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_type_literal_dec.ts b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_type_literal_dec.ts index 5a74aeefcd2a7..48f8f005d70b8 100644 --- a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_type_literal_dec.ts +++ b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_type_literal_dec.ts @@ -6,55 +6,24 @@ * Side Public License, v 1. */ -import { ToolingLog, KibanaPlatformPlugin } from '@kbn/dev-utils'; import { TypeLiteralNode } from 'ts-morph'; -import { AnchorLink, ApiDeclaration, TypeKind } from '../types'; +import { ApiDeclaration, TypeKind } from '../types'; import { buildApiDeclaration } from './build_api_declaration'; import { buildBasicApiDeclaration } from './build_basic_api_declaration'; +import { BuildApiDecOpts } from './types'; +import { getOptsForChild } from './utils'; /** * This captures function parameters that are object types, and makes sure their * properties are recursively walked so they are expandable in the docs. * * The test verifying `crazyFunction` will fail without this special handling. - * - * @param node - * @param plugins - * @param anchorLink - * @param log - * @param name */ -export function buildTypeLiteralDec( - node: TypeLiteralNode, - plugins: KibanaPlatformPlugin[], - anchorLink: AnchorLink, - currentPluginId: string, - log: ToolingLog, - name: string, - captureReferences: boolean -): ApiDeclaration { +export function buildTypeLiteralDec(node: TypeLiteralNode, opts: BuildApiDecOpts): ApiDeclaration { return { - ...buildBasicApiDeclaration({ - currentPluginId, - anchorLink, - node, - plugins, - log, - captureReferences, - apiName: name, - }), + ...buildBasicApiDeclaration(node, opts), type: TypeKind.ObjectKind, - children: node.getMembers().map((m) => - buildApiDeclaration({ - node: m, - plugins, - log, - currentPluginId: anchorLink.pluginName, - scope: anchorLink.scope, - captureReferences, - parentApiId: anchorLink.apiName, - }) - ), + children: node.getMembers().map((m) => buildApiDeclaration(m, getOptsForChild(m, opts))), // Override the signature, we don't want it for objects, it'll get too big. signature: undefined, }; diff --git a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_variable_dec.ts b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_variable_dec.ts index 7a363f93f2efa..31bbc669eefd4 100644 --- a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_variable_dec.ts +++ b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/build_variable_dec.ts @@ -6,7 +6,6 @@ * Side Public License, v 1. */ -import { ToolingLog, KibanaPlatformPlugin } from '@kbn/dev-utils'; import { VariableDeclaration, Node, @@ -16,21 +15,18 @@ import { ShorthandPropertyAssignment, } from 'ts-morph'; import { isInternal } from '../utils'; -import { AnchorLink, ApiDeclaration, TypeKind } from '../types'; +import { ApiDeclaration, TypeKind } from '../types'; import { getArrowFunctionDec } from './build_arrow_fn_dec'; import { buildApiDeclaration } from './build_api_declaration'; import { buildBasicApiDeclaration } from './build_basic_api_declaration'; import { buildCallSignatureDec } from './build_call_signature_dec'; +import { BuildApiDecOpts } from './types'; +import { getOptsForChild } from './utils'; /** * Special handling for objects and arrow functions which are variable or property node types. * Objects and arrow functions need their children extracted recursively. This uses the name from the * node, but checks for an initializer to get inline arrow functions and objects defined recursively. - * - * @param node - * @param plugins - * @param anchorLink - * @param log */ export function buildVariableDec( node: @@ -39,36 +35,16 @@ export function buildVariableDec( | PropertyDeclaration | PropertySignature | ShorthandPropertyAssignment, - plugins: KibanaPlatformPlugin[], - anchorLink: AnchorLink, - currentPluginId: string, - log: ToolingLog, - captureReferences: boolean + opts: BuildApiDecOpts ): ApiDeclaration { const initializer = node.getInitializer(); if (initializer && Node.isObjectLiteralExpression(initializer)) { // Recursively list object properties as children. return { - ...buildBasicApiDeclaration({ - node, - plugins, - anchorLink, - apiName: node.getName(), - currentPluginId, - captureReferences, - log, - }), + ...buildBasicApiDeclaration(node, opts), type: TypeKind.ObjectKind, children: initializer.getProperties().reduce((acc, prop) => { - const child = buildApiDeclaration({ - node: prop, - plugins, - log, - currentPluginId: anchorLink.pluginName, - scope: anchorLink.scope, - captureReferences, - parentApiId: anchorLink.apiName, - }); + const child = buildApiDeclaration(prop, getOptsForChild(prop, opts)); if (!isInternal(child)) { acc.push(child); } @@ -78,42 +54,17 @@ export function buildVariableDec( signature: undefined, }; } else if (initializer && Node.isArrowFunction(initializer)) { - return getArrowFunctionDec( - node, - initializer, - plugins, - anchorLink, - currentPluginId, - log, - captureReferences - ); + return getArrowFunctionDec(node, initializer, opts); } // Without this the test "Property on interface pointing to generic function type exported with link" will fail. if (node.getType().getCallSignatures().length > 0) { if (node.getType().getCallSignatures().length > 1) { - log.warning(`Not handling more than one call signature for node ${node.getName()}`); + opts.log.warning(`Not handling more than one call signature for node ${node.getName()}`); } else { - return buildCallSignatureDec({ - signature: node.getType().getCallSignatures()[0], - log, - captureReferences, - plugins, - anchorLink, - currentPluginId, - name: node.getName(), - node, - }); + return buildCallSignatureDec(node, node.getType().getCallSignatures()[0], opts); } } - return buildBasicApiDeclaration({ - currentPluginId, - anchorLink, - node, - plugins, - log, - captureReferences, - apiName: node.getName(), - }); + return buildBasicApiDeclaration(node, opts); } diff --git a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/extract_import_refs.ts b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/extract_import_refs.ts index 850f4b760d86b..74a9cbac59399 100644 --- a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/extract_import_refs.ts +++ b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/extract_import_refs.ts @@ -56,9 +56,8 @@ export function extractImportReferences( } } else { const section = getApiSectionId({ - pluginName: plugin.manifest.id, scope: getScopeFromPath(path, plugin, log), - apiName: name, + id: name, }); texts.push({ pluginId: plugin.manifest.id, diff --git a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/types.ts b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/types.ts new file mode 100644 index 0000000000000..bbe49cc2345a2 --- /dev/null +++ b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/types.ts @@ -0,0 +1,32 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { KibanaPlatformPlugin, ToolingLog } from '@kbn/dev-utils'; +import { ApiScope } from '../types'; + +export interface BuildApiDecOpts { + plugins: KibanaPlatformPlugin[]; + log: ToolingLog; + currentPluginId: string; + /** + * Whether or not to collect references. This can take a very long time so it can be turned on only for a single plugin. + */ + captureReferences: boolean; + /** + * User facing name of the API item. + */ + name: string; + /** + * What scope the API Item is defined in (common, server, or public) + */ + scope: ApiScope; + /** + * Unique id of this API item. + */ + id: string; +} diff --git a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/utils.ts b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/utils.ts index b33b27c6d3223..6a4177f53a973 100644 --- a/packages/kbn-docs-utils/src/api_docs/build_api_declarations/utils.ts +++ b/packages/kbn-docs-utils/src/api_docs/build_api_declarations/utils.ts @@ -8,6 +8,8 @@ import Path from 'path'; import { REPO_ROOT } from '@kbn/utils'; import { ParameterDeclaration, ClassMemberTypes, Node } from 'ts-morph'; +import { BuildApiDecOpts } from './types'; +import { isNamedNode } from '../tsmorph_utils'; // Collect any paths encountered that are not in the correct scope folder. // APIs inside these folders will cause issues with the API docs system. The @@ -30,3 +32,28 @@ export function getSourceForNode(node: Node): string { const path = getRelativePath(node.getSourceFile().getFilePath()); return path; } + +export function buildApiId(id: string, parentId?: string): string { + const clean = id.replace(/[^A-Za-z_.$0-9]+/g, ''); + return parentId ? `${parentId}.${clean}` : clean; +} + +export function buildParentApiId(parentName: string, parentsParentApiId?: string) { + return parentsParentApiId ? `${parentsParentApiId}.${parentName}` : parentName; +} + +export function getOptsForChild(node: Node, parentOpts: BuildApiDecOpts): BuildApiDecOpts { + const name = isNamedNode(node) ? node.getName() : 'Unnamed'; + return getOptsForChildWithName(name, parentOpts); +} + +export function getOptsForChildWithName( + name: string, + parentOpts: BuildApiDecOpts +): BuildApiDecOpts { + return { + ...parentOpts, + name, + id: buildApiId(name, parentOpts.id), + }; +} diff --git a/packages/kbn-docs-utils/src/api_docs/get_plugin_api.ts b/packages/kbn-docs-utils/src/api_docs/get_plugin_api.ts index 5fecb596cb027..d41d66b5dd189 100644 --- a/packages/kbn-docs-utils/src/api_docs/get_plugin_api.ts +++ b/packages/kbn-docs-utils/src/api_docs/get_plugin_api.ts @@ -11,7 +11,7 @@ import { Node, Project } from 'ts-morph'; import { ToolingLog, KibanaPlatformPlugin } from '@kbn/dev-utils'; import { ApiScope, Lifecycle } from './types'; import { ApiDeclaration, PluginApi } from './types'; -import { buildApiDeclaration } from './build_api_declarations/build_api_declaration'; +import { buildApiDeclarationTopNode } from './build_api_declarations/build_api_declaration'; import { getDeclarationNodesForPluginScope } from './get_declaration_nodes_for_plugin'; import { getSourceFileMatching } from './tsmorph_utils'; @@ -55,8 +55,7 @@ function getDeclarations( const contractTypes = getContractTypes(project, plugin, scope); const declarations = nodes.reduce((acc, node) => { - const apiDec = buildApiDeclaration({ - node, + const apiDec = buildApiDeclarationTopNode(node, { plugins, log, currentPluginId: plugin.manifest.id, diff --git a/packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts b/packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts index 356da0afbd8fe..c2a932f7d9134 100644 --- a/packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts +++ b/packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts @@ -56,19 +56,15 @@ export const arrowFn = ( * this is how destructured arguements should be commented. * * @param obj A very crazy parameter that is destructured when passing in. - * @param objWithFn Im an object with a function. Destructed! - * @param objWithFn.fn A fn. - * @param objWithStr Im an object with a string. Destructed! - * @param objWithStr.str A str. * * @returns I have no idea. * */ export const crazyFunction = ( obj: { hi: string }, - { fn }: { fn: (foo: { param: string }) => number }, + { fn1, fn2 }: { fn1: (foo: { param: string }) => number; fn2: () => void }, { str }: { str: string } -) => () => () => fn({ param: str }); +) => () => () => fn1({ param: str }); export const fnWithNonExportedRef = (a: ImNotExportedFromIndex) => a; diff --git a/packages/kbn-docs-utils/src/api_docs/tests/api_doc_suite.test.ts b/packages/kbn-docs-utils/src/api_docs/tests/api_doc_suite.test.ts index 0d567632346f1..389289d6576b0 100644 --- a/packages/kbn-docs-utils/src/api_docs/tests/api_doc_suite.test.ts +++ b/packages/kbn-docs-utils/src/api_docs/tests/api_doc_suite.test.ts @@ -191,13 +191,20 @@ describe('functions', () => { const hi = obj?.children?.find((c) => c.label === 'hi'); expect(hi).toBeDefined(); - const obj2 = fn?.children?.find((c) => c.label === '{ fn }'); + const obj2 = fn?.children?.find((c) => c.label === '{ fn1, fn2 }'); expect(obj2).toBeDefined(); - expect(obj2!.children?.length).toBe(1); + expect(obj2!.children?.length).toBe(2); + expect(obj2!.id).toBe('def-public.crazyFunction.$2'); - const fn2 = obj2?.children?.find((c) => c.label === 'fn'); - expect(fn2).toBeDefined(); - expect(fn2?.type).toBe(TypeKind.FunctionKind); + const fn1 = obj2?.children?.find((c) => c.label === 'fn1'); + expect(fn1).toBeDefined(); + expect(fn1?.type).toBe(TypeKind.FunctionKind); + expect(fn1!.id).toBe('def-public.crazyFunction.$2.fn1'); + + const fn3 = fn1?.children?.find((c) => c.label === 'foo'); + expect(fn3).toBeDefined(); + expect(fn3?.type).toBe(TypeKind.ObjectKind); + expect(fn3!.id).toBe('def-public.crazyFunction.$2.fn1.$1'); }); it('Fn with internal tag is not exported', () => { @@ -551,6 +558,7 @@ describe('interfaces and classes', () => { const fn = exampleInterface?.children?.find((c) => c.label === 'fnTypeWithGeneric'); expect(fn).toBeDefined(); + expect(fn!.id).toBe('def-public.ExampleInterface.fnTypeWithGeneric'); // `fnTypeWithGeneric` is defined as: // fnTypeWithGeneric: FnTypeWithGeneric; @@ -560,6 +568,11 @@ describe('interfaces and classes', () => { // to be a function, and thus this doesn't show up as a single referenced type with no kids. If we ever fixed that, // it would be find to change expectations here to be no children and TypeKind instead of FunctionKind. expect(fn?.children).toBeDefined(); + + const t = fn!.children?.find((c) => c.label === 't'); + expect(t).toBeDefined(); + expect(t!.id).toBe('def-public.ExampleInterface.fnTypeWithGeneric.$1'); + expect(fn?.type).toBe(TypeKind.FunctionKind); expect(fn?.signature).toBeDefined(); expect(linkCount(fn!.signature!)).toBe(2); diff --git a/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a.json b/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a.json index a63f726a8ca45..37366d84fef21 100644 --- a/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a.json +++ b/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a.json @@ -367,14 +367,14 @@ "\nWho would write such a complicated function?? Ewwww.\n\nAccording to https://jsdoc.app/tags-param.html#parameters-with-properties,\nthis is how destructured arguements should be commented.\n" ], "signature": [ - "(obj: { hi: string; }, { fn }: { fn: (foo: { param: string; }) => number; }, { str }: { str: string; }) => () => () => number" + "(obj: { hi: string; }, { fn1, fn2 }: { fn1: (foo: { param: string; }) => number; fn2: () => void; }, { str }: { str: string; }) => () => () => number" ], "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts", "deprecated": false, "children": [ { "parentPluginId": "pluginA", - "id": "def-public.crazyFunction.$1.obj", + "id": "def-public.crazyFunction.$1", "type": "Object", "tags": [], "label": "obj", @@ -384,7 +384,7 @@ "children": [ { "parentPluginId": "pluginA", - "id": "def-public.crazyFunction.$1.obj.hi", + "id": "def-public.crazyFunction.$1.hi", "type": "string", "tags": [], "label": "hi", @@ -396,20 +396,20 @@ }, { "parentPluginId": "pluginA", - "id": "def-public.crazyFunction.$2.fn", + "id": "def-public.crazyFunction.$2", "type": "Object", "tags": [], - "label": "{ fn }", + "label": "{ fn1, fn2 }", "description": [], "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts", "deprecated": false, "children": [ { "parentPluginId": "pluginA", - "id": "def-public.crazyFunction.$2.fn.fn", + "id": "def-public.crazyFunction.$2.fn1", "type": "Function", "tags": [], - "label": "fn", + "label": "fn1", "description": [], "signature": [ "(foo: { param: string; }) => number" @@ -419,7 +419,7 @@ "children": [ { "parentPluginId": "pluginA", - "id": "def-public.crazyFunction.$2.fn.fn.$1.foo", + "id": "def-public.crazyFunction.$2.fn1.$1", "type": "Object", "tags": [], "label": "foo", @@ -429,7 +429,7 @@ "children": [ { "parentPluginId": "pluginA", - "id": "def-public.crazyFunction.$2.fn.fn.$1.foo.param", + "id": "def-public.crazyFunction.$2.fn1.$1.param", "type": "string", "tags": [], "label": "param", @@ -441,12 +441,27 @@ } ], "returnComment": [] + }, + { + "parentPluginId": "pluginA", + "id": "def-public.crazyFunction.$2.fn2", + "type": "Function", + "tags": [], + "label": "fn2", + "description": [], + "signature": [ + "() => void" + ], + "path": "packages/kbn-docs-utils/src/api_docs/tests/__fixtures__/src/plugin_a/public/fns.ts", + "deprecated": false, + "children": [], + "returnComment": [] } ] }, { "parentPluginId": "pluginA", - "id": "def-public.crazyFunction.$3.str", + "id": "def-public.crazyFunction.$3", "type": "Object", "tags": [], "label": "{ str }", @@ -456,7 +471,7 @@ "children": [ { "parentPluginId": "pluginA", - "id": "def-public.crazyFunction.$3.str.str", + "id": "def-public.crazyFunction.$3.str", "type": "string", "tags": [], "label": "str", @@ -863,7 +878,7 @@ "children": [ { "parentPluginId": "pluginA", - "id": "def-public.t", + "id": "def-public.ExampleInterface.fnTypeWithGeneric.$1", "type": "Uncategorized", "tags": [], "label": "t", @@ -876,7 +891,7 @@ }, { "parentPluginId": "pluginA", - "id": "def-public.p", + "id": "def-public.ExampleInterface.fnTypeWithGeneric.$2", "type": "Object", "tags": [], "label": "p", @@ -954,7 +969,7 @@ "children": [ { "parentPluginId": "pluginA", - "id": "def-public.t", + "id": "def-public.ImAnObject.foo.$1", "type": "Uncategorized", "tags": [], "label": "t", @@ -1042,7 +1057,7 @@ "children": [ { "parentPluginId": "pluginA", - "id": "def-public.t", + "id": "def-public.MyProps.bar.$1", "type": "Uncategorized", "tags": [], "label": "t", @@ -1299,7 +1314,7 @@ "children": [ { "parentPluginId": "pluginA", - "id": "def-public.t", + "id": "def-public.FnTypeWithGeneric.$1", "type": "Uncategorized", "tags": [], "label": "t", @@ -1314,7 +1329,7 @@ }, { "parentPluginId": "pluginA", - "id": "def-public.p", + "id": "def-public.FnTypeWithGeneric.$2", "type": "Object", "tags": [], "label": "p", @@ -1360,7 +1375,7 @@ "children": [ { "parentPluginId": "pluginA", - "id": "def-public.t", + "id": "def-public.FnWithGeneric.$1", "type": "Uncategorized", "tags": [], "label": "t", @@ -1536,7 +1551,7 @@ "children": [ { "parentPluginId": "pluginA", - "id": "def-public.a", + "id": "def-public.NotAnArrowFnType.$1", "type": "string", "tags": [], "label": "a", @@ -1546,7 +1561,7 @@ }, { "parentPluginId": "pluginA", - "id": "def-public.b", + "id": "def-public.NotAnArrowFnType.$2", "type": "number", "tags": [], "label": "b", @@ -1559,7 +1574,7 @@ }, { "parentPluginId": "pluginA", - "id": "def-public.c", + "id": "def-public.NotAnArrowFnType.$3", "type": "Array", "tags": [], "label": "c", @@ -1572,7 +1587,7 @@ }, { "parentPluginId": "pluginA", - "id": "def-public.d", + "id": "def-public.NotAnArrowFnType.$4", "type": "CompoundType", "tags": [], "label": "d", @@ -1608,7 +1623,7 @@ }, { "parentPluginId": "pluginA", - "id": "def-public.e", + "id": "def-public.NotAnArrowFnType.$5", "type": "string", "tags": [], "label": "e", @@ -1708,7 +1723,7 @@ "children": [ { "parentPluginId": "pluginA", - "id": "def-public.a", + "id": "def-public.aPretendNamespaceObj.notAnArrowFn.$1", "type": "string", "tags": [], "label": "a", @@ -1718,7 +1733,7 @@ }, { "parentPluginId": "pluginA", - "id": "def-public.b", + "id": "def-public.aPretendNamespaceObj.notAnArrowFn.$2", "type": "number", "tags": [], "label": "b", @@ -1731,7 +1746,7 @@ }, { "parentPluginId": "pluginA", - "id": "def-public.c", + "id": "def-public.aPretendNamespaceObj.notAnArrowFn.$3", "type": "Array", "tags": [], "label": "c", @@ -1744,7 +1759,7 @@ }, { "parentPluginId": "pluginA", - "id": "def-public.d", + "id": "def-public.aPretendNamespaceObj.notAnArrowFn.$4", "type": "CompoundType", "tags": [], "label": "d", @@ -1780,7 +1795,7 @@ }, { "parentPluginId": "pluginA", - "id": "def-public.e", + "id": "def-public.aPretendNamespaceObj.notAnArrowFn.$5", "type": "string", "tags": [], "label": "e", @@ -1835,7 +1850,7 @@ "children": [ { "parentPluginId": "pluginA", - "id": "def-public.a", + "id": "def-public.aPretendNamespaceObj.aPropertyMisdirection.$1", "type": "string", "tags": [], "label": "a", @@ -1845,7 +1860,7 @@ }, { "parentPluginId": "pluginA", - "id": "def-public.b", + "id": "def-public.aPretendNamespaceObj.aPropertyMisdirection.$2", "type": "number", "tags": [], "label": "b", @@ -1858,7 +1873,7 @@ }, { "parentPluginId": "pluginA", - "id": "def-public.c", + "id": "def-public.aPretendNamespaceObj.aPropertyMisdirection.$3", "type": "Array", "tags": [], "label": "c", @@ -1871,7 +1886,7 @@ }, { "parentPluginId": "pluginA", - "id": "def-public.d", + "id": "def-public.aPretendNamespaceObj.aPropertyMisdirection.$4", "type": "CompoundType", "tags": [], "label": "d", @@ -1907,7 +1922,7 @@ }, { "parentPluginId": "pluginA", - "id": "def-public.e", + "id": "def-public.aPretendNamespaceObj.aPropertyMisdirection.$5", "type": "string", "tags": [], "label": "e", @@ -2094,7 +2109,7 @@ "children": [ { "parentPluginId": "pluginA", - "id": "def-public.Setup.getSearchService2.$1.searchSpec", + "id": "def-public.Setup.getSearchService2.$1", "type": "Object", "tags": [], "label": "searchSpec", @@ -2104,7 +2119,7 @@ "children": [ { "parentPluginId": "pluginA", - "id": "def-public.Setup.getSearchService2.$1.searchSpec.username", + "id": "def-public.Setup.getSearchService2.$1.username", "type": "string", "tags": [], "label": "username", @@ -2114,7 +2129,7 @@ }, { "parentPluginId": "pluginA", - "id": "def-public.Setup.getSearchService2.$1.searchSpec.password", + "id": "def-public.Setup.getSearchService2.$1.password", "type": "string", "tags": [], "label": "password", @@ -2179,7 +2194,7 @@ }, { "parentPluginId": "pluginA", - "id": "def-public.Setup.doTheThing.$3.thingThree", + "id": "def-public.Setup.doTheThing.$3", "type": "Object", "tags": [], "label": "thingThree", @@ -2189,7 +2204,7 @@ "children": [ { "parentPluginId": "pluginA", - "id": "def-public.Setup.doTheThing.$3.thingThree.nestedVar", + "id": "def-public.Setup.doTheThing.$3.nestedVar", "type": "number", "tags": [], "label": "nestedVar", @@ -2219,7 +2234,7 @@ "children": [ { "parentPluginId": "pluginA", - "id": "def-public.Setup.fnWithInlineParams.$1.obj", + "id": "def-public.Setup.fnWithInlineParams.$1", "type": "Object", "tags": [], "label": "obj", @@ -2229,7 +2244,7 @@ "children": [ { "parentPluginId": "pluginA", - "id": "def-public.Setup.fnWithInlineParams.$1.obj.fn", + "id": "def-public.Setup.fnWithInlineParams.$1.fn", "type": "Function", "tags": [], "label": "fn", @@ -2242,7 +2257,7 @@ "children": [ { "parentPluginId": "pluginA", - "id": "def-public.Setup.fnWithInlineParams.$1.obj.fn.$1.foo", + "id": "def-public.Setup.fnWithInlineParams.$1.fn.$1", "type": "Object", "tags": [], "label": "foo", @@ -2252,7 +2267,7 @@ "children": [ { "parentPluginId": "pluginA", - "id": "def-public.Setup.fnWithInlineParams.$1.obj.fn.$1.foo.param", + "id": "def-public.Setup.fnWithInlineParams.$1.fn.$1.param", "type": "string", "tags": [], "label": "param", diff --git a/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a.mdx b/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a.mdx index 797231b058d9b..e4c1eb0f0d421 100644 --- a/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a.mdx +++ b/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a.mdx @@ -12,7 +12,7 @@ import pluginAObj from './plugin_a.json'; - +Contact Kibana Core for questions regarding this plugin. **Code health stats** diff --git a/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a_foo.mdx b/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a_foo.mdx index 0e0ca7b200f06..0d952cb34d0da 100644 --- a/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a_foo.mdx +++ b/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_a_foo.mdx @@ -12,7 +12,7 @@ import pluginAFooObj from './plugin_a_foo.json'; - +Contact Kibana Core for questions regarding this plugin. **Code health stats** diff --git a/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_b.mdx b/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_b.mdx index dd1103d9b4d7f..67b93a8db6d9c 100644 --- a/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_b.mdx +++ b/packages/kbn-docs-utils/src/api_docs/tests/snapshots/plugin_b.mdx @@ -12,7 +12,7 @@ import pluginBObj from './plugin_b.json'; - +Contact Kibana Core for questions regarding this plugin. **Code health stats** diff --git a/packages/kbn-docs-utils/src/api_docs/types.ts b/packages/kbn-docs-utils/src/api_docs/types.ts index 28bd2328e6abf..8e4a2ca70bac2 100644 --- a/packages/kbn-docs-utils/src/api_docs/types.ts +++ b/packages/kbn-docs-utils/src/api_docs/types.ts @@ -6,22 +6,6 @@ * Side Public License, v 1. */ -export interface AnchorLink { - /** - * The plugin that contains the API being referenced. - */ - pluginName: string; - /** - * It's possible the client and the server both emit an API with - * the same name so we need scope in here to add uniqueness. - */ - scope: ApiScope; - /** - * The name of the api. - */ - apiName: string; -} - /** * The kinds of typescript types we want to show in the docs. `Unknown` is used if * we aren't accounting for a particular type. See {@link getPropertyTypeKind} diff --git a/packages/kbn-docs-utils/src/api_docs/utils.ts b/packages/kbn-docs-utils/src/api_docs/utils.ts index bca0ae5e4fad0..c599695502027 100644 --- a/packages/kbn-docs-utils/src/api_docs/utils.ts +++ b/packages/kbn-docs-utils/src/api_docs/utils.ts @@ -7,15 +7,7 @@ */ import path from 'path'; import { KibanaPlatformPlugin, ToolingLog } from '@kbn/dev-utils'; -import { - AnchorLink, - ApiDeclaration, - ScopeApi, - TypeKind, - Lifecycle, - PluginApi, - ApiScope, -} from './types'; +import { ApiDeclaration, ScopeApi, TypeKind, Lifecycle, PluginApi, ApiScope } from './types'; function capitalize(str: string): string { return str.charAt(0).toUpperCase() + str.slice(1); @@ -107,11 +99,10 @@ export function getPluginApiDocId( return `kib${capitalize(snakeToCamel(cleanName)) + capitalize(service)}PluginApi`; } -export function getApiSectionId(link: AnchorLink) { +export function getApiSectionId({ id, scope }: { id: string; scope: ApiScope }) { // Clean up the name. Things like destructured function parameters can have really long names with brackets and commas. - const cleanName = link.apiName.replace(/[^A-Za-z_.$0-9]+/g, ''); - const id = `def-${link.scope}.${cleanName}`; - return id; + const cleanName = id.replace(/[^A-Za-z_.$0-9]+/g, ''); + return `def-${scope}.${cleanName}`; } export function countScopeApi(api: ScopeApi): number { diff --git a/packages/kbn-es/src/cluster.js b/packages/kbn-es/src/cluster.js index 32709fc608617..ac4380da88be0 100644 --- a/packages/kbn-es/src/cluster.js +++ b/packages/kbn-es/src/cluster.js @@ -278,7 +278,8 @@ exports.Cluster = class Cluster { // especially because we currently run many instances of ES on the same machine during CI // inital and max must be the same, so we only need to check the max if (!esJavaOpts.includes('Xmx')) { - esJavaOpts += ' -Xms1g -Xmx1g'; + // 1536m === 1.5g + esJavaOpts += ' -Xms1536m -Xmx1536m'; } this._log.debug('ES_JAVA_OPTS: %s', esJavaOpts.trim()); diff --git a/packages/kbn-es/src/integration_tests/cluster.test.js b/packages/kbn-es/src/integration_tests/cluster.test.js index 34220b08d2120..c196a89a6b090 100644 --- a/packages/kbn-es/src/integration_tests/cluster.test.js +++ b/packages/kbn-es/src/integration_tests/cluster.test.js @@ -368,7 +368,7 @@ describe('#run()', () => { const cluster = new Cluster({ log }); await cluster.run(); - expect(execa.mock.calls[0][2].env.ES_JAVA_OPTS).toEqual('-Xms1g -Xmx1g'); + expect(execa.mock.calls[0][2].env.ES_JAVA_OPTS).toMatchInlineSnapshot(`"-Xms1536m -Xmx1536m"`); }); it('allows Java heap to be overwritten', async () => { @@ -378,7 +378,7 @@ describe('#run()', () => { const cluster = new Cluster({ log }); await cluster.run(); - expect(execa.mock.calls[0][2].env.ES_JAVA_OPTS).toEqual('-Xms5g -Xmx5g'); + expect(execa.mock.calls[0][2].env.ES_JAVA_OPTS).toMatchInlineSnapshot(`"-Xms5g -Xmx5g"`); }); }); diff --git a/packages/kbn-optimizer/limits.yml b/packages/kbn-optimizer/limits.yml index 282abe1e1741a..69cfffe1f08f0 100644 --- a/packages/kbn-optimizer/limits.yml +++ b/packages/kbn-optimizer/limits.yml @@ -70,7 +70,6 @@ pageLoadAssetSize: spaces: 57868 telemetry: 51957 telemetryManagementSection: 38586 - timelion: 29920 transform: 41007 triggersActionsUi: 100000 uiActions: 97717 diff --git a/packages/kbn-spec-to-console/README.md b/packages/kbn-spec-to-console/README.md index a0e654713f61b..be0ada5e38850 100644 --- a/packages/kbn-spec-to-console/README.md +++ b/packages/kbn-spec-to-console/README.md @@ -29,3 +29,8 @@ yarn spec_to_console -g "/rest-api-spec/src/main/reso * Request bodies * Data fetched at runtime: indices, fields, snapshots, etc * Ad hoc additions + +### Updating the script +When converting query params defined in the REST API specs to console autocompletion definitions, the script relies on a set of known conversion rules specified in [lib/convert/params.js](https://github.com/elastic/kibana/blob/master/packages/kbn-spec-to-console/lib/convert/params.js). +For example, `"keep_on_completion":{"type":"boolean"}` from REST API specs is converted to `"keep_on_completion": "__flag__"` in console autocomplete definitions. +When an unknown parameter type is encountered in REST API specs, the script will throw an `Unexpected type error` and the file [lib/convert/params.js](https://github.com/elastic/kibana/blob/master/packages/kbn-spec-to-console/lib/convert/params.js) needs to be updated by adding a new conversion rule. \ No newline at end of file diff --git a/packages/kbn-test/src/kbn_client/kbn_client_status.ts b/packages/kbn-test/src/kbn_client/kbn_client_status.ts index ed08b6b8cea15..3b1995c8ab36a 100644 --- a/packages/kbn-test/src/kbn_client/kbn_client_status.ts +++ b/packages/kbn-test/src/kbn_client/kbn_client_status.ts @@ -43,6 +43,9 @@ export class KbnClientStatus { const { data } = await this.requester.request({ method: 'GET', path: 'api/status', + query: { + v8format: true, + }, // Status endpoint returns 503 if any services are in an unavailable state ignoreErrors: [503], }); diff --git a/packages/kbn-typed-react-router-config/src/create_router.test.tsx b/packages/kbn-typed-react-router-config/src/create_router.test.tsx index 3fb37f813e2e1..61ba8eb157ee3 100644 --- a/packages/kbn-typed-react-router-config/src/create_router.test.tsx +++ b/packages/kbn-typed-react-router-config/src/create_router.test.tsx @@ -43,17 +43,23 @@ describe('createRouter', () => { }), }, { - path: '/services/:serviceName', + path: '/services', element: <>, - params: t.type({ - path: t.type({ - serviceName: t.string, - }), - query: t.type({ - transactionType: t.string, - environment: t.string, - }), - }), + children: [ + { + element: <>, + path: '/services/{serviceName}', + params: t.type({ + path: t.type({ + serviceName: t.string, + }), + query: t.type({ + transactionType: t.string, + environment: t.string, + }), + }), + }, + ], }, { path: '/traces', @@ -131,7 +137,7 @@ describe('createRouter', () => { '/services/opbeans-java?rangeFrom=now-15m&rangeTo=now&environment=production&transactionType=request' ); - const serviceOverviewParams = router.getParams('/services/:serviceName', history.location); + const serviceOverviewParams = router.getParams('/services/{serviceName}', history.location); expect(serviceOverviewParams).toEqual({ path: { @@ -250,7 +256,7 @@ describe('createRouter', () => { describe('link', () => { it('returns a link for the given route', () => { - const serviceOverviewLink = router.link('/services/:serviceName', { + const serviceOverviewLink = router.link('/services/{serviceName}', { path: { serviceName: 'opbeans-java' }, query: { rangeFrom: 'now-15m', diff --git a/packages/kbn-typed-react-router-config/src/create_router.ts b/packages/kbn-typed-react-router-config/src/create_router.ts index 370d8b48e53b4..7f2ac818fc9b9 100644 --- a/packages/kbn-typed-react-router-config/src/create_router.ts +++ b/packages/kbn-typed-react-router-config/src/create_router.ts @@ -25,22 +25,24 @@ import { Route, Router } from './types'; const deepExactRt: typeof deepExactRtTyped = deepExactRtNonTyped; const mergeRt: typeof mergeRtTyped = mergeRtNonTyped; +function toReactRouterPath(path: string) { + return path.replace(/(?:{([^\/]+)})/, ':$1'); +} + export function createRouter(routes: TRoutes): Router { const routesByReactRouterConfig = new Map(); const reactRouterConfigsByRoute = new Map(); const reactRouterConfigs = routes.map((route) => toReactRouterConfigRoute(route)); - function toReactRouterConfigRoute(route: Route, prefix: string = ''): ReactRouterConfig { - const path = `${prefix}${route.path}`.replace(/\/{2,}/g, '/').replace(/\/$/, '') || '/'; + function toReactRouterConfigRoute(route: Route): ReactRouterConfig { const reactRouterConfig: ReactRouterConfig = { component: () => route.element, routes: - (route.children as Route[] | undefined)?.map((child) => - toReactRouterConfigRoute(child, path) - ) ?? [], + (route.children as Route[] | undefined)?.map((child) => toReactRouterConfigRoute(child)) ?? + [], exact: !route.children?.length, - path, + path: toReactRouterPath(route.path), }; routesByReactRouterConfig.set(reactRouterConfig, route); @@ -71,11 +73,11 @@ export function createRouter(routes: TRoutes): Router match.route.path === path); + : findLastIndex(matches, (match) => match.route.path === toReactRouterPath(path)); if (matchIndex !== -1) { break; @@ -135,11 +137,12 @@ export function createRouter(routes: TRoutes): Router { - return part.startsWith(':') ? paramsWithBuiltInDefaults.path[part.split(':')[1]] : part; + const match = part.match(/(?:{([a-zA-Z]+)})/); + return match ? paramsWithBuiltInDefaults.path[match[1]] : part; }) .join('/'); - const matches = matchRoutesConfig(reactRouterConfigs, path); + const matches = matchRoutesConfig(reactRouterConfigs, toReactRouterPath(path)); if (!matches.length) { throw new Error(`No matching route found for ${path}`); diff --git a/packages/kbn-typed-react-router-config/src/types/index.ts b/packages/kbn-typed-react-router-config/src/types/index.ts index 4d26d2879d5e7..e6c70001ef4b6 100644 --- a/packages/kbn-typed-react-router-config/src/types/index.ts +++ b/packages/kbn-typed-react-router-config/src/types/index.ts @@ -13,7 +13,97 @@ import { RequiredKeys, ValuesType } from 'utility-types'; // import { unconst } from '../unconst'; import { NormalizePath } from './utils'; -export type PathsOf = keyof MapRoutes & string; +type PathsOfRoute = + | TRoute['path'] + | (TRoute extends { children: Route[] } + ? AppendPath | PathsOf + : never); + +export type PathsOf = TRoutes extends [] + ? never + : TRoutes extends [Route] + ? PathsOfRoute + : TRoutes extends [Route, Route] + ? PathsOfRoute | PathsOfRoute + : TRoutes extends [Route, Route, Route] + ? PathsOfRoute | PathsOfRoute | PathsOfRoute + : TRoutes extends [Route, Route, Route, Route] + ? + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + : TRoutes extends [Route, Route, Route, Route, Route] + ? + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + : TRoutes extends [Route, Route, Route, Route, Route, Route] + ? + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + : TRoutes extends [Route, Route, Route, Route, Route, Route, Route] + ? + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + : TRoutes extends [Route, Route, Route, Route, Route, Route, Route, Route] + ? + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + : TRoutes extends [Route, Route, Route, Route, Route, Route, Route, Route, Route] + ? + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + : TRoutes extends [Route, Route, Route, Route, Route, Route, Route, Route, Route, Route] + ? + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + : TRoutes extends [Route, Route, Route, Route, Route, Route, Route, Route, Route, Route, Route] + ? + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + | PathsOfRoute + : string; export interface RouteMatch { route: TRoute; @@ -167,29 +257,17 @@ type MaybeUnion, U extends Record> = [key in keyof U]: key extends keyof T ? T[key] | U[key] : U[key]; }; -type MapRoute< - TRoute extends Route, - TPrefix extends string, - TParents extends Route[] = [] -> = TRoute extends Route +type MapRoute = TRoute extends Route ? MaybeUnion< { - [key in AppendPath]: TRoute & { parents: TParents }; + [key in TRoute['path']]: TRoute & { parents: TParents }; }, TRoute extends { children: Route[] } ? MaybeUnion< - MapRoutes< - TRoute['children'], - AppendPath, - [...TParents, TRoute] - >, + MapRoutes, { - [key in AppendPath>]: ValuesType< - MapRoutes< - TRoute['children'], - AppendPath, - [...TParents, TRoute] - > + [key in AppendPath]: ValuesType< + MapRoutes >; } > @@ -197,74 +275,68 @@ type MapRoute< > : {}; -type MapRoutes< - TRoutes, - TPrefix extends string = '', - TParents extends Route[] = [] -> = TRoutes extends [Route] - ? MapRoute +type MapRoutes = TRoutes extends [Route] + ? MapRoute : TRoutes extends [Route, Route] - ? MapRoute & MapRoute + ? MapRoute & MapRoute : TRoutes extends [Route, Route, Route] - ? MapRoute & - MapRoute & - MapRoute + ? MapRoute & MapRoute & MapRoute : TRoutes extends [Route, Route, Route, Route] - ? MapRoute & - MapRoute & - MapRoute & - MapRoute + ? MapRoute & + MapRoute & + MapRoute & + MapRoute : TRoutes extends [Route, Route, Route, Route, Route] - ? MapRoute & - MapRoute & - MapRoute & - MapRoute & - MapRoute + ? MapRoute & + MapRoute & + MapRoute & + MapRoute & + MapRoute : TRoutes extends [Route, Route, Route, Route, Route, Route] - ? MapRoute & - MapRoute & - MapRoute & - MapRoute & - MapRoute & - MapRoute + ? MapRoute & + MapRoute & + MapRoute & + MapRoute & + MapRoute & + MapRoute : TRoutes extends [Route, Route, Route, Route, Route, Route, Route] - ? MapRoute & - MapRoute & - MapRoute & - MapRoute & - MapRoute & - MapRoute & - MapRoute + ? MapRoute & + MapRoute & + MapRoute & + MapRoute & + MapRoute & + MapRoute & + MapRoute : TRoutes extends [Route, Route, Route, Route, Route, Route, Route, Route] - ? MapRoute & - MapRoute & - MapRoute & - MapRoute & - MapRoute & - MapRoute & - MapRoute & - MapRoute + ? MapRoute & + MapRoute & + MapRoute & + MapRoute & + MapRoute & + MapRoute & + MapRoute & + MapRoute : TRoutes extends [Route, Route, Route, Route, Route, Route, Route, Route, Route] - ? MapRoute & - MapRoute & - MapRoute & - MapRoute & - MapRoute & - MapRoute & - MapRoute & - MapRoute & - MapRoute + ? MapRoute & + MapRoute & + MapRoute & + MapRoute & + MapRoute & + MapRoute & + MapRoute & + MapRoute & + MapRoute : TRoutes extends [Route, Route, Route, Route, Route, Route, Route, Route, Route, Route] - ? MapRoute & - MapRoute & - MapRoute & - MapRoute & - MapRoute & - MapRoute & - MapRoute & - MapRoute & - MapRoute & - MapRoute + ? MapRoute & + MapRoute & + MapRoute & + MapRoute & + MapRoute & + MapRoute & + MapRoute & + MapRoute & + MapRoute & + MapRoute : {}; // const element = null as any; @@ -279,11 +351,11 @@ type MapRoutes< // element, // children: [ // { -// path: '/agent-configuration', +// path: '/settings/agent-configuration', // element, // }, // { -// path: '/agent-configuration/create', +// path: '/settings/agent-configuration/create', // element, // params: t.partial({ // query: t.partial({ @@ -292,7 +364,7 @@ type MapRoutes< // }), // }, // { -// path: '/agent-configuration/edit', +// path: '/settings/agent-configuration/edit', // element, // params: t.partial({ // query: t.partial({ @@ -301,23 +373,23 @@ type MapRoutes< // }), // }, // { -// path: '/apm-indices', +// path: '/settings/apm-indices', // element, // }, // { -// path: '/customize-ui', +// path: '/settings/customize-ui', // element, // }, // { -// path: '/schema', +// path: '/settings/schema', // element, // }, // { -// path: '/anomaly-detection', +// path: '/settings/anomaly-detection', // element, // }, // { -// path: '/', +// path: '/settings', // element, // }, // ], @@ -346,15 +418,15 @@ type MapRoutes< // ]), // children: [ // { -// path: '/overview', +// path: '/services/:serviceName/overview', // element, // }, // { -// path: '/transactions', +// path: '/services/:serviceName/transactions', // element, // }, // { -// path: '/errors', +// path: '/services/:serviceName/errors', // element, // children: [ // { @@ -367,7 +439,7 @@ type MapRoutes< // }), // }, // { -// path: '/', +// path: '/services/:serviceName', // element, // params: t.partial({ // query: t.partial({ @@ -381,19 +453,19 @@ type MapRoutes< // ], // }, // { -// path: '/foo', +// path: '/services/:serviceName/foo', // element, // }, // { -// path: '/bar', +// path: '/services/:serviceName/bar', // element, // }, // { -// path: '/baz', +// path: '/services/:serviceName/baz', // element, // }, // { -// path: '/', +// path: '/services/:serviceName', // element, // }, // ], @@ -436,6 +508,7 @@ type MapRoutes< // type Bar = ValuesType>['route']['path']; // type Foo = OutputOf; +// type Baz = OutputOf; // const { path }: Foo = {} as any; diff --git a/packages/kbn-ui-framework/README.md b/packages/kbn-ui-framework/README.md index fe36d202c5fbe..820b272cd65cb 100644 --- a/packages/kbn-ui-framework/README.md +++ b/packages/kbn-ui-framework/README.md @@ -21,4 +21,7 @@ You can run `node scripts/jest --watch` to watch for changes and run the tests a You can run `node scripts/jest --coverage` to generate a code coverage report to see how fully-tested the code is. +You can run `node scripts/jest --config path/to/plugin/jest.config.js --coverage` to generate +a code coverage report for a single plugin. + See the documentation in [`scripts/jest.js`](../scripts/jest.js) for more options. \ No newline at end of file diff --git a/packages/kbn-ui-shared-deps/src/entry.js b/packages/kbn-ui-shared-deps/src/entry.js index 20e26ca6a2864..7544e6953f3e9 100644 --- a/packages/kbn-ui-shared-deps/src/entry.js +++ b/packages/kbn-ui-shared-deps/src/entry.js @@ -55,3 +55,5 @@ export const KbnAnalytics = require('@kbn/analytics'); export const KbnStd = require('@kbn/std'); export const SaferLodashSet = require('@elastic/safer-lodash-set'); export const RisonNode = require('rison-node'); +export const History = require('history'); +export const Classnames = require('classnames'); diff --git a/packages/kbn-ui-shared-deps/src/index.js b/packages/kbn-ui-shared-deps/src/index.js index 291c7c471d27c..31e5e2c3b1e8e 100644 --- a/packages/kbn-ui-shared-deps/src/index.js +++ b/packages/kbn-ui-shared-deps/src/index.js @@ -100,6 +100,8 @@ exports.externals = { '@kbn/std': '__kbnSharedDeps__.KbnStd', '@elastic/safer-lodash-set': '__kbnSharedDeps__.SaferLodashSet', 'rison-node': '__kbnSharedDeps__.RisonNode', + history: '__kbnSharedDeps__.History', + classnames: '__kbnSharedDeps__.Classnames', }; /** diff --git a/packages/kbn-utils/src/path/index.ts b/packages/kbn-utils/src/path/index.ts index 9835179a61e9d..9ee699c22c30c 100644 --- a/packages/kbn-utils/src/path/index.ts +++ b/packages/kbn-utils/src/path/index.ts @@ -15,24 +15,19 @@ const isString = (v: any): v is string => typeof v === 'string'; const CONFIG_PATHS = [ process.env.KBN_PATH_CONF && join(process.env.KBN_PATH_CONF, 'kibana.yml'), - process.env.KIBANA_PATH_CONF && join(process.env.KIBANA_PATH_CONF, 'kibana.yml'), - process.env.CONFIG_PATH, // deprecated + process.env.KIBANA_PATH_CONF && join(process.env.KIBANA_PATH_CONF, 'kibana.yml'), // deprecated join(REPO_ROOT, 'config/kibana.yml'), '/etc/kibana/kibana.yml', ].filter(isString); const CONFIG_DIRECTORIES = [ process.env.KBN_PATH_CONF, - process.env.KIBANA_PATH_CONF, + process.env.KIBANA_PATH_CONF, // deprecated join(REPO_ROOT, 'config'), '/etc/kibana', ].filter(isString); -const DATA_PATHS = [ - process.env.DATA_PATH, // deprecated - join(REPO_ROOT, 'data'), - '/var/lib/kibana', -].filter(isString); +const DATA_PATHS = [join(REPO_ROOT, 'data'), '/var/lib/kibana'].filter(isString); function findFile(paths: string[]) { const availablePath = paths.find((configPath) => { diff --git a/rfcs/text/0007_lifecycle_unblocked.md b/rfcs/text/0007_lifecycle_unblocked.md index cb978d3dcd7ba..3f347891b2ba8 100644 --- a/rfcs/text/0007_lifecycle_unblocked.md +++ b/rfcs/text/0007_lifecycle_unblocked.md @@ -342,7 +342,6 @@ functions and will be impacted: 2. [tile_map](https://github.com/elastic/kibana/blob/6039709929caf0090a4130b8235f3a53bd04ed84/src/legacy/core_plugins/tile_map/public/plugin.ts#L62) 3. [vis_type_table](https://github.com/elastic/kibana/blob/6039709929caf0090a4130b8235f3a53bd04ed84/src/legacy/core_plugins/vis_type_table/public/plugin.ts#L61) 4. [vis_type_vega](https://github.com/elastic/kibana/blob/6039709929caf0090a4130b8235f3a53bd04ed84/src/legacy/core_plugins/vis_type_vega/public/plugin.ts#L59) -5. [timelion](https://github.com/elastic/kibana/blob/9d69b72a5f200e58220231035b19da852fc6b0a5/src/plugins/timelion/server/plugin.ts#L40) 6. [code](https://github.com/elastic/kibana/blob/5049b460b47d4ae3432e1d9219263bb4be441392/x-pack/legacy/plugins/code/server/plugin.ts#L129-L149) 7. [spaces](https://github.com/elastic/kibana/blob/096c7ee51136327f778845c636d7c4f1188e5db2/x-pack/legacy/plugins/spaces/server/new_platform/plugin.ts#L95) 8. [licensing](https://github.com/elastic/kibana/blob/4667c46caef26f8f47714504879197708debae32/x-pack/plugins/licensing/server/plugin.ts) diff --git a/src/core/public/doc_links/doc_links_service.ts b/src/core/public/doc_links/doc_links_service.ts index dcae9052f930e..72fa6c5553f77 100644 --- a/src/core/public/doc_links/doc_links_service.ts +++ b/src/core/public/doc_links/doc_links_service.ts @@ -35,9 +35,9 @@ export class DocLinksService { kibanaSettings: `${KIBANA_DOCS}apm-settings-in-kibana.html`, supportedServiceMaps: `${KIBANA_DOCS}service-maps.html#service-maps-supported`, customLinks: `${KIBANA_DOCS}custom-links.html`, - droppedTransactionSpans: `${APM_DOCS}get-started/${DOC_LINK_VERSION}/transaction-spans.html#dropped-spans`, - upgrading: `${APM_DOCS}server/${DOC_LINK_VERSION}/upgrading.html`, - metaData: `${APM_DOCS}get-started/${DOC_LINK_VERSION}/metadata.html`, + droppedTransactionSpans: `${APM_DOCS}get-started/master/transaction-spans.html#dropped-spans`, + upgrading: `${APM_DOCS}server/master/upgrading.html`, + metaData: `${APM_DOCS}get-started/master/metadata.html`, }, canvas: { guide: `${KIBANA_DOCS}canvas.html`, @@ -273,7 +273,6 @@ export class DocLinksService { }, visualize: { guide: `${KIBANA_DOCS}dashboard.html`, - timelionDeprecation: `${KIBANA_DOCS}timelion.html`, lens: `${ELASTIC_WEBSITE_URL}what-is/kibana-lens`, lensPanels: `${KIBANA_DOCS}lens.html`, maps: `${ELASTIC_WEBSITE_URL}maps`, @@ -282,6 +281,13 @@ export class DocLinksService { }, observability: { guide: `${ELASTIC_WEBSITE_URL}guide/en/observability/${DOC_LINK_VERSION}/index.html`, + infrastructureThreshold: `{ELASTIC_WEBSITE_URL}guide/en/observability/${DOC_LINK_VERSION}/infrastructure-threshold-alert.html`, + logsThreshold: `{ELASTIC_WEBSITE_URL}guide/en/observability/${DOC_LINK_VERSION}/logs-threshold-alert.html`, + metricsThreshold: `{ELASTIC_WEBSITE_URL}guide/en/observability/${DOC_LINK_VERSION}/metrics-threshold-alert.html`, + monitorStatus: `${ELASTIC_WEBSITE_URL}guide/en/observability/${DOC_LINK_VERSION}/monitor-status-alert.html`, + monitorUptime: `${ELASTIC_WEBSITE_URL}guide/en/observability/${DOC_LINK_VERSION}/monitor-uptime.html`, + tlsCertificate: `${ELASTIC_WEBSITE_URL}guide/en/observability/${DOC_LINK_VERSION}/tls-certificate-alert.html`, + uptimeDurationAnomaly: `${ELASTIC_WEBSITE_URL}guide/en/observability/${DOC_LINK_VERSION}/duration-anomaly-alert.html`, }, alerting: { guide: `${KIBANA_DOCS}create-and-manage-rules.html`, @@ -639,7 +645,16 @@ export interface DocLinksStart { timeUnits: string; updateTransform: string; }>; - readonly observability: Record; + readonly observability: Readonly<{ + guide: string; + infrastructureThreshold: string; + logsThreshold: string; + metricsThreshold: string; + monitorStatus: string; + monitorUptime: string; + tlsCertificate: string; + uptimeDurationAnomaly: string; + }>; readonly alerting: Record; readonly maps: Record; readonly monitoring: Record; diff --git a/src/core/public/i18n/i18n_eui_mapping.tsx b/src/core/public/i18n/i18n_eui_mapping.tsx index 4175dac712e82..2fe9657bce8c9 100644 --- a/src/core/public/i18n/i18n_eui_mapping.tsx +++ b/src/core/public/i18n/i18n_eui_mapping.tsx @@ -218,11 +218,13 @@ export const getEuiContextMapping = (): EuiTokensObject => { 'euiColumnActions.hideColumn': i18n.translate('core.euiColumnActions.hideColumn', { defaultMessage: 'Hide column', }), - 'euiColumnActions.sort': ({ schemaLabel }: EuiValues) => - i18n.translate('core.euiColumnActions.sort', { - defaultMessage: 'Sort {schemaLabel}', - values: { schemaLabel }, - }), + 'euiColumnActions.sort': ({ schemaLabel }: EuiValues) => ( + + ), 'euiColumnActions.moveLeft': i18n.translate('core.euiColumnActions.moveLeft', { defaultMessage: 'Move left', }), diff --git a/src/core/public/public.api.md b/src/core/public/public.api.md index 554e6704657f0..8d3291d590476 100644 --- a/src/core/public/public.api.md +++ b/src/core/public/public.api.md @@ -653,7 +653,16 @@ export interface DocLinksStart { timeUnits: string; updateTransform: string; }>; - readonly observability: Record; + readonly observability: Readonly<{ + guide: string; + infrastructureThreshold: string; + logsThreshold: string; + metricsThreshold: string; + monitorStatus: string; + monitorUptime: string; + tlsCertificate: string; + uptimeDurationAnomaly: string; + }>; readonly alerting: Record; readonly maps: Record; readonly monitoring: Record; diff --git a/src/core/server/config/deprecation/core_deprecations.test.ts b/src/core/server/config/deprecation/core_deprecations.test.ts index 759e2375ce987..d3a4d7f997062 100644 --- a/src/core/server/config/deprecation/core_deprecations.test.ts +++ b/src/core/server/config/deprecation/core_deprecations.test.ts @@ -18,37 +18,19 @@ describe('core deprecations', () => { process.env = { ...initialEnv }; }); - describe('configPath', () => { - it('logs a warning if CONFIG_PATH environ variable is set', () => { - process.env.CONFIG_PATH = 'somepath'; + describe('kibanaPathConf', () => { + it('logs a warning if KIBANA_PATH_CONF environ variable is set', () => { + process.env.KIBANA_PATH_CONF = 'somepath'; const { messages } = applyCoreDeprecations(); expect(messages).toMatchInlineSnapshot(` Array [ - "Environment variable \\"CONFIG_PATH\\" is deprecated. It has been replaced with \\"KBN_PATH_CONF\\" pointing to a config folder", + "Environment variable \\"KIBANA_PATH_CONF\\" is deprecated. It has been replaced with \\"KBN_PATH_CONF\\" pointing to a config folder", ] `); }); - it('does not log a warning if CONFIG_PATH environ variable is unset', () => { - delete process.env.CONFIG_PATH; - const { messages } = applyCoreDeprecations(); - expect(messages).toHaveLength(0); - }); - }); - - describe('dataPath', () => { - it('logs a warning if DATA_PATH environ variable is set', () => { - process.env.DATA_PATH = 'somepath'; - const { messages } = applyCoreDeprecations(); - expect(messages).toMatchInlineSnapshot(` - Array [ - "Environment variable \\"DATA_PATH\\" will be removed. It has been replaced with kibana.yml setting \\"path.data\\"", - ] - `); - }); - - it('does not log a warning if DATA_PATH environ variable is unset', () => { - delete process.env.DATA_PATH; + it('does not log a warning if KIBANA_PATH_CONF environ variable is unset', () => { + delete process.env.KIBANA_PATH_CONF; const { messages } = applyCoreDeprecations(); expect(messages).toHaveLength(0); }); diff --git a/src/core/server/config/deprecation/core_deprecations.ts b/src/core/server/config/deprecation/core_deprecations.ts index 222f92321d917..a929a937988e8 100644 --- a/src/core/server/config/deprecation/core_deprecations.ts +++ b/src/core/server/config/deprecation/core_deprecations.ts @@ -8,24 +8,13 @@ import { ConfigDeprecationProvider, ConfigDeprecation } from '@kbn/config'; -const configPathDeprecation: ConfigDeprecation = (settings, fromPath, addDeprecation) => { - if (process.env?.CONFIG_PATH) { +const kibanaPathConf: ConfigDeprecation = (settings, fromPath, addDeprecation) => { + if (process.env?.KIBANA_PATH_CONF) { addDeprecation({ - message: `Environment variable "CONFIG_PATH" is deprecated. It has been replaced with "KBN_PATH_CONF" pointing to a config folder`, - correctiveActions: { - manualSteps: ['Use "KBN_PATH_CONF" instead of "CONFIG_PATH" to point to a config folder.'], - }, - }); - } -}; - -const dataPathDeprecation: ConfigDeprecation = (settings, fromPath, addDeprecation) => { - if (process.env?.DATA_PATH) { - addDeprecation({ - message: `Environment variable "DATA_PATH" will be removed. It has been replaced with kibana.yml setting "path.data"`, + message: `Environment variable "KIBANA_PATH_CONF" is deprecated. It has been replaced with "KBN_PATH_CONF" pointing to a config folder`, correctiveActions: { manualSteps: [ - `Set 'path.data' in the config file or CLI flag with the value of the environment variable "DATA_PATH".`, + 'Use "KBN_PATH_CONF" instead of "KIBANA_PATH_CONF" to point to a config folder.', ], }, }); @@ -124,28 +113,6 @@ const cspRulesDeprecation: ConfigDeprecation = (settings, fromPath, addDeprecati } }; -const mapManifestServiceUrlDeprecation: ConfigDeprecation = ( - settings, - fromPath, - addDeprecation -) => { - if (settings.map?.manifestServiceUrl) { - addDeprecation({ - message: - 'You should no longer use the map.manifestServiceUrl setting in kibana.yml to configure the location ' + - 'of the Elastic Maps Service settings. These settings have moved to the "map.emsTileApiUrl" and ' + - '"map.emsFileApiUrl" settings instead. These settings are for development use only and should not be ' + - 'modified for use in production environments.', - correctiveActions: { - manualSteps: [ - `Use "map.emsTileApiUrl" and "map.emsFileApiUrl" config instead of "map.manifestServiceUrl".`, - `These settings are for development use only and should not be modified for use in production environments.`, - ], - }, - }); - } -}; - const opsLoggingEventDeprecation: ConfigDeprecation = (settings, fromPath, addDeprecation) => { if (settings.logging?.events?.ops) { addDeprecation({ @@ -388,7 +355,6 @@ const logFilterDeprecation: ConfigDeprecation = (settings, fromPath, addDeprecat export const coreDeprecationProvider: ConfigDeprecationProvider = ({ rename, unusedFromRoot }) => [ unusedFromRoot('savedObjects.indexCheckTimeout'), unusedFromRoot('server.xsrf.token'), - unusedFromRoot('maps.manifestServiceUrl'), unusedFromRoot('optimize.lazy'), unusedFromRoot('optimize.lazyPort'), unusedFromRoot('optimize.lazyHost'), @@ -414,11 +380,9 @@ export const coreDeprecationProvider: ConfigDeprecationProvider = ({ rename, unu rename('cpuacct.cgroup.path.override', 'ops.cGroupOverrides.cpuAcctPath'), rename('server.xsrf.whitelist', 'server.xsrf.allowlist'), rewriteCorsSettings, - configPathDeprecation, - dataPathDeprecation, + kibanaPathConf, rewriteBasePathDeprecation, cspRulesDeprecation, - mapManifestServiceUrlDeprecation, opsLoggingEventDeprecation, requestLoggingEventDeprecation, timezoneLoggingDeprecation, diff --git a/src/core/server/core_usage_data/core_usage_stats_client.mock.ts b/src/core/server/core_usage_data/core_usage_stats_client.mock.ts index 1c9c0b8fae579..35471234676b1 100644 --- a/src/core/server/core_usage_data/core_usage_stats_client.mock.ts +++ b/src/core/server/core_usage_data/core_usage_stats_client.mock.ts @@ -23,6 +23,8 @@ const createUsageStatsClientMock = () => incrementSavedObjectsImport: jest.fn().mockResolvedValue(null), incrementSavedObjectsResolveImportErrors: jest.fn().mockResolvedValue(null), incrementSavedObjectsExport: jest.fn().mockResolvedValue(null), + incrementLegacyDashboardsImport: jest.fn().mockResolvedValue(null), + incrementLegacyDashboardsExport: jest.fn().mockResolvedValue(null), } as unknown) as jest.Mocked); export const coreUsageStatsClientMock = { diff --git a/src/core/server/core_usage_data/core_usage_stats_client.test.ts b/src/core/server/core_usage_data/core_usage_stats_client.test.ts index 384e3d7b932c1..d14c248bfa1b7 100644 --- a/src/core/server/core_usage_data/core_usage_stats_client.test.ts +++ b/src/core/server/core_usage_data/core_usage_stats_client.test.ts @@ -25,6 +25,8 @@ import { IMPORT_STATS_PREFIX, RESOLVE_IMPORT_STATS_PREFIX, EXPORT_STATS_PREFIX, + LEGACY_DASHBOARDS_IMPORT_STATS_PREFIX, + LEGACY_DASHBOARDS_EXPORT_STATS_PREFIX, } from './core_usage_stats_client'; import { CoreUsageStatsClient } from '.'; import { DEFAULT_NAMESPACE_STRING } from '../saved_objects/service/lib/utils'; @@ -1007,4 +1009,114 @@ describe('CoreUsageStatsClient', () => { ); }); }); + + describe('#incrementLegacyDashboardsImport', () => { + it('does not throw an error if repository incrementCounter operation fails', async () => { + const { usageStatsClient, repositoryMock } = setup(); + repositoryMock.incrementCounter.mockRejectedValue(new Error('Oh no!')); + + const request = httpServerMock.createKibanaRequest(); + await expect( + usageStatsClient.incrementLegacyDashboardsImport({ + request, + } as IncrementSavedObjectsExportOptions) + ).resolves.toBeUndefined(); + expect(repositoryMock.incrementCounter).toHaveBeenCalled(); + }); + + it('handles the default namespace string and first party request appropriately', async () => { + const { usageStatsClient, repositoryMock } = setup(DEFAULT_NAMESPACE_STRING); + + const request = httpServerMock.createKibanaRequest({ headers: firstPartyRequestHeaders }); + await usageStatsClient.incrementLegacyDashboardsImport({ + request, + } as IncrementSavedObjectsExportOptions); + expect(repositoryMock.incrementCounter).toHaveBeenCalledTimes(1); + expect(repositoryMock.incrementCounter).toHaveBeenCalledWith( + CORE_USAGE_STATS_TYPE, + CORE_USAGE_STATS_ID, + [ + `${LEGACY_DASHBOARDS_IMPORT_STATS_PREFIX}.total`, + `${LEGACY_DASHBOARDS_IMPORT_STATS_PREFIX}.namespace.default.total`, + `${LEGACY_DASHBOARDS_IMPORT_STATS_PREFIX}.namespace.default.kibanaRequest.yes`, + ], + incrementOptions + ); + }); + + it('handles a non-default space and and third party request appropriately', async () => { + const { usageStatsClient, repositoryMock } = setup('foo'); + + const request = httpServerMock.createKibanaRequest(); + await usageStatsClient.incrementLegacyDashboardsImport({ + request, + } as IncrementSavedObjectsExportOptions); + expect(repositoryMock.incrementCounter).toHaveBeenCalledTimes(1); + expect(repositoryMock.incrementCounter).toHaveBeenCalledWith( + CORE_USAGE_STATS_TYPE, + CORE_USAGE_STATS_ID, + [ + `${LEGACY_DASHBOARDS_IMPORT_STATS_PREFIX}.total`, + `${LEGACY_DASHBOARDS_IMPORT_STATS_PREFIX}.namespace.custom.total`, + `${LEGACY_DASHBOARDS_IMPORT_STATS_PREFIX}.namespace.custom.kibanaRequest.no`, + ], + incrementOptions + ); + }); + }); + + describe('#incrementLegacyDashboardsExport', () => { + it('does not throw an error if repository incrementCounter operation fails', async () => { + const { usageStatsClient, repositoryMock } = setup(); + repositoryMock.incrementCounter.mockRejectedValue(new Error('Oh no!')); + + const request = httpServerMock.createKibanaRequest(); + await expect( + usageStatsClient.incrementLegacyDashboardsExport({ + request, + } as IncrementSavedObjectsExportOptions) + ).resolves.toBeUndefined(); + expect(repositoryMock.incrementCounter).toHaveBeenCalled(); + }); + + it('handles the default namespace string and first party request appropriately', async () => { + const { usageStatsClient, repositoryMock } = setup(DEFAULT_NAMESPACE_STRING); + + const request = httpServerMock.createKibanaRequest({ headers: firstPartyRequestHeaders }); + await usageStatsClient.incrementLegacyDashboardsExport({ + request, + } as IncrementSavedObjectsExportOptions); + expect(repositoryMock.incrementCounter).toHaveBeenCalledTimes(1); + expect(repositoryMock.incrementCounter).toHaveBeenCalledWith( + CORE_USAGE_STATS_TYPE, + CORE_USAGE_STATS_ID, + [ + `${LEGACY_DASHBOARDS_EXPORT_STATS_PREFIX}.total`, + `${LEGACY_DASHBOARDS_EXPORT_STATS_PREFIX}.namespace.default.total`, + `${LEGACY_DASHBOARDS_EXPORT_STATS_PREFIX}.namespace.default.kibanaRequest.yes`, + ], + incrementOptions + ); + }); + + it('handles a non-default space and and third party request appropriately', async () => { + const { usageStatsClient, repositoryMock } = setup('foo'); + + const request = httpServerMock.createKibanaRequest(); + await usageStatsClient.incrementLegacyDashboardsExport({ + request, + } as IncrementSavedObjectsExportOptions); + expect(repositoryMock.incrementCounter).toHaveBeenCalledTimes(1); + expect(repositoryMock.incrementCounter).toHaveBeenCalledWith( + CORE_USAGE_STATS_TYPE, + CORE_USAGE_STATS_ID, + [ + `${LEGACY_DASHBOARDS_EXPORT_STATS_PREFIX}.total`, + `${LEGACY_DASHBOARDS_EXPORT_STATS_PREFIX}.namespace.custom.total`, + `${LEGACY_DASHBOARDS_EXPORT_STATS_PREFIX}.namespace.custom.kibanaRequest.no`, + ], + incrementOptions + ); + }); + }); }); diff --git a/src/core/server/core_usage_data/core_usage_stats_client.ts b/src/core/server/core_usage_data/core_usage_stats_client.ts index 29d6e875c7962..fb5340f164207 100644 --- a/src/core/server/core_usage_data/core_usage_stats_client.ts +++ b/src/core/server/core_usage_data/core_usage_stats_client.ts @@ -45,6 +45,9 @@ export const UPDATE_STATS_PREFIX = 'apiCalls.savedObjectsUpdate'; export const IMPORT_STATS_PREFIX = 'apiCalls.savedObjectsImport'; export const RESOLVE_IMPORT_STATS_PREFIX = 'apiCalls.savedObjectsResolveImportErrors'; export const EXPORT_STATS_PREFIX = 'apiCalls.savedObjectsExport'; +export const LEGACY_DASHBOARDS_IMPORT_STATS_PREFIX = 'apiCalls.legacyDashboardImport'; +export const LEGACY_DASHBOARDS_EXPORT_STATS_PREFIX = 'apiCalls.legacyDashboardExport'; + export const REPOSITORY_RESOLVE_OUTCOME_STATS = { EXACT_MATCH: 'savedObjectsRepository.resolvedOutcome.exactMatch', ALIAS_MATCH: 'savedObjectsRepository.resolvedOutcome.aliasMatch', @@ -73,6 +76,8 @@ const ALL_COUNTER_FIELDS = [ `${RESOLVE_IMPORT_STATS_PREFIX}.createNewCopiesEnabled.yes`, `${RESOLVE_IMPORT_STATS_PREFIX}.createNewCopiesEnabled.no`, ...getFieldsForCounter(EXPORT_STATS_PREFIX), + ...getFieldsForCounter(LEGACY_DASHBOARDS_IMPORT_STATS_PREFIX), + ...getFieldsForCounter(LEGACY_DASHBOARDS_EXPORT_STATS_PREFIX), `${EXPORT_STATS_PREFIX}.allTypesSelected.yes`, `${EXPORT_STATS_PREFIX}.allTypesSelected.no`, // Saved Objects Repository counters; these are included here for stats collection, but are incremented in the repository itself @@ -170,6 +175,14 @@ export class CoreUsageStatsClient { await this.updateUsageStats(counterFieldNames, EXPORT_STATS_PREFIX, options); } + public async incrementLegacyDashboardsImport(options: BaseIncrementOptions) { + await this.updateUsageStats([], LEGACY_DASHBOARDS_IMPORT_STATS_PREFIX, options); + } + + public async incrementLegacyDashboardsExport(options: BaseIncrementOptions) { + await this.updateUsageStats([], LEGACY_DASHBOARDS_EXPORT_STATS_PREFIX, options); + } + private async updateUsageStats( counterFieldNames: string[], prefix: string, diff --git a/src/core/server/core_usage_data/types.ts b/src/core/server/core_usage_data/types.ts index 68e0b56c56db4..006f9848e8f3e 100644 --- a/src/core/server/core_usage_data/types.ts +++ b/src/core/server/core_usage_data/types.ts @@ -110,6 +110,21 @@ export interface CoreUsageStats { 'apiCalls.savedObjectsExport.namespace.custom.kibanaRequest.no'?: number; 'apiCalls.savedObjectsExport.allTypesSelected.yes'?: number; 'apiCalls.savedObjectsExport.allTypesSelected.no'?: number; + // Legacy Dashboard Import/Export API + 'apiCalls.legacyDashboardExport.total'?: number; + 'apiCalls.legacyDashboardExport.namespace.default.total'?: number; + 'apiCalls.legacyDashboardExport.namespace.default.kibanaRequest.yes'?: number; + 'apiCalls.legacyDashboardExport.namespace.default.kibanaRequest.no'?: number; + 'apiCalls.legacyDashboardExport.namespace.custom.total'?: number; + 'apiCalls.legacyDashboardExport.namespace.custom.kibanaRequest.yes'?: number; + 'apiCalls.legacyDashboardExport.namespace.custom.kibanaRequest.no'?: number; + 'apiCalls.legacyDashboardImport.total'?: number; + 'apiCalls.legacyDashboardImport.namespace.default.total'?: number; + 'apiCalls.legacyDashboardImport.namespace.default.kibanaRequest.yes'?: number; + 'apiCalls.legacyDashboardImport.namespace.default.kibanaRequest.no'?: number; + 'apiCalls.legacyDashboardImport.namespace.custom.total'?: number; + 'apiCalls.legacyDashboardImport.namespace.custom.kibanaRequest.yes'?: number; + 'apiCalls.legacyDashboardImport.namespace.custom.kibanaRequest.no'?: number; // Saved Objects Repository counters 'savedObjectsRepository.resolvedOutcome.exactMatch'?: number; 'savedObjectsRepository.resolvedOutcome.aliasMatch'?: number; diff --git a/src/core/server/deprecations/README.mdx b/src/core/server/deprecations/README.mdx index 197b25ac909c3..533f607c3d4c2 100644 --- a/src/core/server/deprecations/README.mdx +++ b/src/core/server/deprecations/README.mdx @@ -139,7 +139,6 @@ Plugins are responsible for registering any deprecations during the `setup` life the deprecations service. Examples of non-config deprecations include things like -- timelion sheets - kibana_user security roles This service is not intended to be used for non-user facing deprecations or cases where the deprecation diff --git a/src/core/server/deprecations/deprecations_service.test.ts b/src/core/server/deprecations/deprecations_service.test.ts index 0e8aaf3de49c9..bc0dbcef4a5b6 100644 --- a/src/core/server/deprecations/deprecations_service.test.ts +++ b/src/core/server/deprecations/deprecations_service.test.ts @@ -66,7 +66,7 @@ describe('DeprecationsService', () => { const deprecationsRegistry = mockDeprecationsRegistry.create(); const getDeprecationsContext = mockDeprecationsRegistry.createGetDeprecationsContext(); - it('registers config deprecations', () => { + it('registers config deprecations', async () => { const deprecationsService = new DeprecationsService(coreContext); coreContext.configService.getHandledDeprecatedConfigs.mockReturnValue([ [ @@ -93,7 +93,7 @@ describe('DeprecationsService', () => { expect(deprecationsFactory.getRegistry).toBeCalledTimes(1); expect(deprecationsFactory.getRegistry).toBeCalledWith('testDomain'); expect(deprecationsRegistry.registerDeprecations).toBeCalledTimes(1); - const configDeprecations = deprecationsRegistry.registerDeprecations.mock.calls[0][0].getDeprecations( + const configDeprecations = await deprecationsRegistry.registerDeprecations.mock.calls[0][0].getDeprecations( getDeprecationsContext ); expect(configDeprecations).toMatchInlineSnapshot(` @@ -115,5 +115,31 @@ describe('DeprecationsService', () => { ] `); }); + + it('accepts `level` field overrides', async () => { + const deprecationsService = new DeprecationsService(coreContext); + coreContext.configService.getHandledDeprecatedConfigs.mockReturnValue([ + [ + 'testDomain', + [ + { + message: 'testMessage', + level: 'warning', + correctiveActions: { + manualSteps: ['step a'], + }, + }, + ], + ], + ]); + + deprecationsFactory.getRegistry.mockReturnValue(deprecationsRegistry); + deprecationsService['registerConfigDeprecationsInfo'](deprecationsFactory); + + const configDeprecations = await deprecationsRegistry.registerDeprecations.mock.calls[0][0].getDeprecations( + getDeprecationsContext + ); + expect(configDeprecations[0].level).toBe('warning'); + }); }); }); diff --git a/src/core/server/deprecations/deprecations_service.ts b/src/core/server/deprecations/deprecations_service.ts index c41567d88a2aa..b8a134fbf8cd2 100644 --- a/src/core/server/deprecations/deprecations_service.ts +++ b/src/core/server/deprecations/deprecations_service.ts @@ -37,28 +37,27 @@ import { SavedObjectsClientContract } from '../saved_objects/types'; * * async function getDeprecations({ esClient, savedObjectsClient }: GetDeprecationsContext): Promise { * const deprecations: DeprecationsDetails[] = []; - * const count = await getTimelionSheetsCount(savedObjectsClient); - * + * const count = await getFooCount(savedObjectsClient); * if (count > 0) { * // Example of a manual correctiveAction * deprecations.push({ - * title: i18n.translate('xpack.timelion.deprecations.worksheetsTitle', { - * defaultMessage: 'Timelion worksheets are deprecated' + * title: i18n.translate('xpack.foo.deprecations.title', { + * defaultMessage: `Foo's are deprecated` * }), - * message: i18n.translate('xpack.timelion.deprecations.worksheetsMessage', { - * defaultMessage: 'You have {count} Timelion worksheets. Migrate your Timelion worksheets to a dashboard to continue using them.', + * message: i18n.translate('xpack.foo.deprecations.message', { + * defaultMessage: `You have {count} Foo's. Migrate your Foo's to a dashboard to continue using them.`, * values: { count }, * }), * documentationUrl: - * 'https://www.elastic.co/guide/en/kibana/current/create-panels-with-timelion.html', + * 'https://www.elastic.co/guide/en/kibana/current/foo.html', * level: 'warning', * correctiveActions: { * manualSteps: [ - * i18n.translate('xpack.timelion.deprecations.worksheets.manualStepOneMessage', { + * i18n.translate('xpack.foo.deprecations.manualStepOneMessage', { * defaultMessage: 'Navigate to the Kibana Dashboard and click "Create dashboard".', * }), - * i18n.translate('xpack.timelion.deprecations.worksheets.manualStepTwoMessage', { - * defaultMessage: 'Select Timelion from the "New Visualization" window.', + * i18n.translate('xpack.foo.deprecations.manualStepTwoMessage', { + * defaultMessage: 'Select Foo from the "New Visualization" window.', * }), * ], * api: { @@ -186,17 +185,21 @@ export class DeprecationsService deprecationsRegistry.registerDeprecations({ getDeprecations: () => { return deprecationsContexts.map( - ({ title, message, correctiveActions, documentationUrl }) => { - return { - title: title || `${domainId} has a deprecated setting`, - level: 'critical', - deprecationType: 'config', - message, - correctiveActions, - documentationUrl, - requireRestart: true, - }; - } + ({ + title = `${domainId} has a deprecated setting`, + level = 'critical', + message, + correctiveActions, + documentationUrl, + }) => ({ + title, + level, + message, + correctiveActions, + documentationUrl, + deprecationType: 'config', + requireRestart: true, + }) ); }, }); diff --git a/src/core/server/saved_objects/migrations/core/elastic_index.ts b/src/core/server/saved_objects/migrations/core/elastic_index.ts index f473b3ed02526..5068c24df3414 100644 --- a/src/core/server/saved_objects/migrations/core/elastic_index.ts +++ b/src/core/server/saved_objects/migrations/core/elastic_index.ts @@ -45,6 +45,8 @@ export const REMOVED_TYPES: string[] = [ 'tsvb-validation-telemetry', // replaced by osquery-manager-usage-metric 'osquery-usage-metric', + // Was removed in 7.16 + 'timelion-sheet', ].sort(); // When migrating from the outdated index we use a read query which excludes diff --git a/src/core/server/saved_objects/migrationsv2/integration_tests/migration_from_v1.test.ts b/src/core/server/saved_objects/migrationsv2/integration_tests/migration_from_v1.test.ts index fc01e6a408497..d7a64e7368bf4 100644 --- a/src/core/server/saved_objects/migrationsv2/integration_tests/migration_from_v1.test.ts +++ b/src/core/server/saved_objects/migrationsv2/integration_tests/migration_from_v1.test.ts @@ -118,18 +118,23 @@ describe('migration v2', () => { .getTypeRegistry() .getAllTypes() .reduce((versionMap, type) => { - if (type.migrations) { - const migrationsMap = - typeof type.migrations === 'function' ? type.migrations() : type.migrations; - const highestVersion = Object.keys(migrationsMap).sort(Semver.compare).reverse()[0]; + const { name, migrations, convertToMultiNamespaceTypeVersion } = type; + if (migrations || convertToMultiNamespaceTypeVersion) { + const migrationsMap = typeof migrations === 'function' ? migrations() : migrations; + const migrationsKeys = migrationsMap ? Object.keys(migrationsMap) : []; + if (convertToMultiNamespaceTypeVersion) { + // Setting this option registers a conversion migration that is reflected in the object's `migrationVersions` field + migrationsKeys.push(convertToMultiNamespaceTypeVersion); + } + const highestVersion = migrationsKeys.sort(Semver.compare).reverse()[0]; return { ...versionMap, - [type.name]: highestVersion, + [name]: highestVersion, }; } else { return { ...versionMap, - [type.name]: undefined, + [name]: undefined, }; } }, {} as Record); diff --git a/src/core/server/saved_objects/routes/index.ts b/src/core/server/saved_objects/routes/index.ts index 3ab870c276d29..8511b59a0758f 100644 --- a/src/core/server/saved_objects/routes/index.ts +++ b/src/core/server/saved_objects/routes/index.ts @@ -24,6 +24,8 @@ import { registerExportRoute } from './export'; import { registerImportRoute } from './import'; import { registerResolveImportErrorsRoute } from './resolve_import_errors'; import { registerMigrateRoute } from './migrate'; +import { registerLegacyImportRoute } from './legacy_import_export/import'; +import { registerLegacyExportRoute } from './legacy_import_export/export'; export function registerRoutes({ http, @@ -31,12 +33,14 @@ export function registerRoutes({ logger, config, migratorPromise, + kibanaVersion, }: { http: InternalHttpServiceSetup; coreUsageData: InternalCoreUsageDataSetup; logger: Logger; config: SavedObjectConfig; migratorPromise: Promise; + kibanaVersion: string; }) { const router = http.createRouter('/api/saved_objects/'); @@ -53,6 +57,14 @@ export function registerRoutes({ registerImportRoute(router, { config, coreUsageData }); registerResolveImportErrorsRoute(router, { config, coreUsageData }); + const legacyRouter = http.createRouter(''); + registerLegacyImportRoute(legacyRouter, { + maxImportPayloadBytes: config.maxImportPayloadBytes, + coreUsageData, + logger, + }); + registerLegacyExportRoute(legacyRouter, { kibanaVersion, coreUsageData, logger }); + const internalRouter = http.createRouter('/internal/saved_objects/'); registerMigrateRoute(internalRouter, migratorPromise); diff --git a/src/plugins/legacy_export/server/routes/export.ts b/src/core/server/saved_objects/routes/legacy_import_export/export.ts similarity index 65% rename from src/plugins/legacy_export/server/routes/export.ts rename to src/core/server/saved_objects/routes/legacy_import_export/export.ts index 8d5bd71c0b7e7..c9a954db07e7a 100644 --- a/src/plugins/legacy_export/server/routes/export.ts +++ b/src/core/server/saved_objects/routes/legacy_import_export/export.ts @@ -8,10 +8,18 @@ import moment from 'moment'; import { schema } from '@kbn/config-schema'; -import { IRouter } from 'src/core/server'; -import { exportDashboards } from '../lib'; +import { InternalCoreUsageDataSetup } from 'src/core/server/core_usage_data'; +import { IRouter, Logger } from '../../..'; +import { exportDashboards } from './lib'; -export const registerExportRoute = (router: IRouter, kibanaVersion: string) => { +export const registerLegacyExportRoute = ( + router: IRouter, + { + kibanaVersion, + coreUsageData, + logger, + }: { kibanaVersion: string; coreUsageData: InternalCoreUsageDataSetup; logger: Logger } +) => { router.get( { path: '/api/kibana/dashboards/export', @@ -25,9 +33,16 @@ export const registerExportRoute = (router: IRouter, kibanaVersion: string) => { }, }, async (ctx, req, res) => { + logger.warn( + "The export dashboard API '/api/kibana/dashboards/export' is deprecated. Use the saved objects export objects API '/api/saved_objects/_export' instead." + ); + const ids = Array.isArray(req.query.dashboard) ? req.query.dashboard : [req.query.dashboard]; const { client } = ctx.core.savedObjects; + const usageStatsClient = coreUsageData.getClient(); + usageStatsClient.incrementLegacyDashboardsExport({ request: req }).catch(() => {}); + const exported = await exportDashboards(ids, client, kibanaVersion); const filename = `kibana-dashboards.${moment.utc().format('YYYY-MM-DD-HH-mm-ss')}.json`; const body = JSON.stringify(exported, null, ' '); diff --git a/src/plugins/legacy_export/server/routes/import.ts b/src/core/server/saved_objects/routes/legacy_import_export/import.ts similarity index 66% rename from src/plugins/legacy_export/server/routes/import.ts rename to src/core/server/saved_objects/routes/legacy_import_export/import.ts index 4a2dbecd3e02a..09027af810149 100644 --- a/src/plugins/legacy_export/server/routes/import.ts +++ b/src/core/server/saved_objects/routes/legacy_import_export/import.ts @@ -7,10 +7,18 @@ */ import { schema } from '@kbn/config-schema'; -import { IRouter, SavedObject } from 'src/core/server'; -import { importDashboards } from '../lib'; +import { IRouter, Logger, SavedObject } from '../../..'; +import { InternalCoreUsageDataSetup } from '../../../core_usage_data'; +import { importDashboards } from './lib'; -export const registerImportRoute = (router: IRouter, maxImportPayloadBytes: number) => { +export const registerLegacyImportRoute = ( + router: IRouter, + { + maxImportPayloadBytes, + coreUsageData, + logger, + }: { maxImportPayloadBytes: number; coreUsageData: InternalCoreUsageDataSetup; logger: Logger } +) => { router.post( { path: '/api/kibana/dashboards/import', @@ -34,9 +42,17 @@ export const registerImportRoute = (router: IRouter, maxImportPayloadBytes: numb }, }, async (ctx, req, res) => { + logger.warn( + "The import dashboard API '/api/kibana/dashboards/import' is deprecated. Use the saved objects import objects API '/api/saved_objects/_import' instead." + ); + const { client } = ctx.core.savedObjects; const objects = req.body.objects as SavedObject[]; const { force, exclude } = req.query; + + const usageStatsClient = coreUsageData.getClient(); + usageStatsClient.incrementLegacyDashboardsImport({ request: req }).catch(() => {}); + const result = await importDashboards(client, objects, { overwrite: force, exclude: Array.isArray(exclude) ? exclude : [exclude], diff --git a/src/core/server/saved_objects/routes/legacy_import_export/integration_tests/export.test.ts b/src/core/server/saved_objects/routes/legacy_import_export/integration_tests/export.test.ts new file mode 100644 index 0000000000000..f9f654023d5ff --- /dev/null +++ b/src/core/server/saved_objects/routes/legacy_import_export/integration_tests/export.test.ts @@ -0,0 +1,89 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +const exportObjects = [ + { + id: '1', + type: 'index-pattern', + attributes: {}, + references: [], + }, + { + id: '2', + type: 'search', + attributes: {}, + references: [ + { + name: 'ref_0', + type: 'index-pattern', + id: '1', + }, + ], + }, +]; + +jest.mock('../lib/export_dashboards', () => ({ + exportDashboards: jest.fn().mockResolvedValue({ version: 'mockversion', objects: exportObjects }), +})); + +import supertest from 'supertest'; +import type { UnwrapPromise } from '@kbn/utility-types'; +import { CoreUsageStatsClient } from '../../../../core_usage_data'; +import { coreUsageStatsClientMock } from '../../../../core_usage_data/core_usage_stats_client.mock'; +import { coreUsageDataServiceMock } from '../../../../core_usage_data/core_usage_data_service.mock'; +import { registerLegacyExportRoute } from '../export'; +import { setupServer } from '../../test_utils'; +import { loggerMock } from 'src/core/server/logging/logger.mock'; + +type SetupServerReturn = UnwrapPromise>; +let coreUsageStatsClient: jest.Mocked; + +describe('POST /api/dashboards/export', () => { + let server: SetupServerReturn['server']; + let httpSetup: SetupServerReturn['httpSetup']; + + beforeEach(async () => { + ({ server, httpSetup } = await setupServer()); + + const router = httpSetup.createRouter(''); + + coreUsageStatsClient = coreUsageStatsClientMock.create(); + coreUsageStatsClient.incrementLegacyDashboardsExport.mockRejectedValue(new Error('Oh no!')); // intentionally throw this error, which is swallowed, so we can assert that the operation does not fail + const coreUsageData = coreUsageDataServiceMock.createSetupContract(coreUsageStatsClient); + registerLegacyExportRoute(router, { + kibanaVersion: '7.14.0', + coreUsageData, + logger: loggerMock.create(), + }); + + await server.start(); + }); + + afterEach(async () => { + jest.clearAllMocks(); + await server.stop(); + }); + + it('calls exportDashboards and records usage stats', async () => { + const result = await supertest(httpSetup.server.listener).get( + '/api/kibana/dashboards/export?dashboard=942dcef0-b2cd-11e8-ad8e-85441f0c2e5c' + ); + + expect(result.status).toBe(200); + expect(result.header['content-type']).toEqual('application/json; charset=utf-8'); + expect(result.header['content-disposition']).toMatch( + /attachment; filename="kibana-dashboards.*\.json/ + ); + + expect(result.body.objects).toEqual(exportObjects); + expect(result.body.version).toEqual('mockversion'); + expect(coreUsageStatsClient.incrementLegacyDashboardsExport).toHaveBeenCalledWith({ + request: expect.anything(), + }); + }); +}); diff --git a/src/core/server/saved_objects/routes/legacy_import_export/integration_tests/import.test.ts b/src/core/server/saved_objects/routes/legacy_import_export/integration_tests/import.test.ts new file mode 100644 index 0000000000000..5ced77550c085 --- /dev/null +++ b/src/core/server/saved_objects/routes/legacy_import_export/integration_tests/import.test.ts @@ -0,0 +1,84 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +const importObjects = [ + { + id: '1', + type: 'index-pattern', + attributes: {}, + references: [], + }, + { + id: '2', + type: 'search', + attributes: {}, + references: [ + { + name: 'ref_0', + type: 'index-pattern', + id: '1', + }, + ], + }, +]; + +jest.mock('../lib/import_dashboards', () => ({ + importDashboards: jest.fn().mockResolvedValue({ objects: importObjects }), +})); + +import supertest from 'supertest'; +import type { UnwrapPromise } from '@kbn/utility-types'; +import { CoreUsageStatsClient } from '../../../../core_usage_data'; +import { coreUsageStatsClientMock } from '../../../../core_usage_data/core_usage_stats_client.mock'; +import { coreUsageDataServiceMock } from '../../../../core_usage_data/core_usage_data_service.mock'; +import { registerLegacyImportRoute } from '../import'; +import { setupServer } from '../../test_utils'; +import { loggerMock } from 'src/core/server/logging/logger.mock'; + +type SetupServerReturn = UnwrapPromise>; +let coreUsageStatsClient: jest.Mocked; + +describe('POST /api/dashboards/import', () => { + let server: SetupServerReturn['server']; + let httpSetup: SetupServerReturn['httpSetup']; + + beforeEach(async () => { + ({ server, httpSetup } = await setupServer()); + + const router = httpSetup.createRouter(''); + + coreUsageStatsClient = coreUsageStatsClientMock.create(); + coreUsageStatsClient.incrementLegacyDashboardsImport.mockRejectedValue(new Error('Oh no!')); // intentionally throw this error, which is swallowed, so we can assert that the operation does not fail + const coreUsageData = coreUsageDataServiceMock.createSetupContract(coreUsageStatsClient); + registerLegacyImportRoute(router, { + maxImportPayloadBytes: 26214400, + coreUsageData, + logger: loggerMock.create(), + }); + + await server.start(); + }); + + afterEach(async () => { + jest.clearAllMocks(); + await server.stop(); + }); + + it('calls importDashboards and records usage stats', async () => { + const result = await supertest(httpSetup.server.listener) + .post('/api/kibana/dashboards/import') + .send({ version: '7.14.0', objects: importObjects }); + + expect(result.status).toBe(200); + + expect(result.body.objects).toEqual(importObjects); + expect(coreUsageStatsClient.incrementLegacyDashboardsImport).toHaveBeenCalledWith({ + request: expect.anything(), + }); + }); +}); diff --git a/src/plugins/legacy_export/server/lib/export/collect_references_deep.test.ts b/src/core/server/saved_objects/routes/legacy_import_export/lib/collect_references_deep.test.ts similarity index 98% rename from src/plugins/legacy_export/server/lib/export/collect_references_deep.test.ts rename to src/core/server/saved_objects/routes/legacy_import_export/lib/collect_references_deep.test.ts index c86ce9124eaaf..4f5da2a783cd7 100644 --- a/src/plugins/legacy_export/server/lib/export/collect_references_deep.test.ts +++ b/src/core/server/saved_objects/routes/legacy_import_export/lib/collect_references_deep.test.ts @@ -7,7 +7,7 @@ */ import { SavedObject, SavedObjectAttributes } from 'src/core/server'; -import { savedObjectsClientMock } from '../../../../../core/server/mocks'; +import { savedObjectsClientMock } from '../../../../mocks'; import { collectReferencesDeep } from './collect_references_deep'; const data: Array> = [ diff --git a/src/plugins/legacy_export/server/lib/export/collect_references_deep.ts b/src/core/server/saved_objects/routes/legacy_import_export/lib/collect_references_deep.ts similarity index 100% rename from src/plugins/legacy_export/server/lib/export/collect_references_deep.ts rename to src/core/server/saved_objects/routes/legacy_import_export/lib/collect_references_deep.ts diff --git a/src/plugins/legacy_export/server/lib/export/export_dashboards.ts b/src/core/server/saved_objects/routes/legacy_import_export/lib/export_dashboards.ts similarity index 100% rename from src/plugins/legacy_export/server/lib/export/export_dashboards.ts rename to src/core/server/saved_objects/routes/legacy_import_export/lib/export_dashboards.ts diff --git a/src/plugins/legacy_export/server/lib/import/import_dashboards.test.ts b/src/core/server/saved_objects/routes/legacy_import_export/lib/import_dashboards.test.ts similarity index 95% rename from src/plugins/legacy_export/server/lib/import/import_dashboards.test.ts rename to src/core/server/saved_objects/routes/legacy_import_export/lib/import_dashboards.test.ts index 64214e87336f7..3d23fb1b9022c 100644 --- a/src/plugins/legacy_export/server/lib/import/import_dashboards.test.ts +++ b/src/core/server/saved_objects/routes/legacy_import_export/lib/import_dashboards.test.ts @@ -6,8 +6,8 @@ * Side Public License, v 1. */ -import { savedObjectsClientMock } from '../../../../../core/server/mocks'; -import { SavedObject } from '../../../../../core/server'; +import { savedObjectsClientMock } from '../../../../mocks'; +import { SavedObject } from '../../../..'; import { importDashboards } from './import_dashboards'; describe('importDashboards(req)', () => { diff --git a/src/plugins/legacy_export/server/lib/import/import_dashboards.ts b/src/core/server/saved_objects/routes/legacy_import_export/lib/import_dashboards.ts similarity index 100% rename from src/plugins/legacy_export/server/lib/import/import_dashboards.ts rename to src/core/server/saved_objects/routes/legacy_import_export/lib/import_dashboards.ts diff --git a/src/plugins/vis_types/xy/server/index.ts b/src/core/server/saved_objects/routes/legacy_import_export/lib/index.ts similarity index 76% rename from src/plugins/vis_types/xy/server/index.ts rename to src/core/server/saved_objects/routes/legacy_import_export/lib/index.ts index a27ac49c0ea49..7c2fc5568256d 100644 --- a/src/plugins/vis_types/xy/server/index.ts +++ b/src/core/server/saved_objects/routes/legacy_import_export/lib/index.ts @@ -5,6 +5,6 @@ * in compliance with, at your election, the Elastic License 2.0 or the Server * Side Public License, v 1. */ -import { VisTypeXyServerPlugin } from './plugin'; -export const plugin = () => new VisTypeXyServerPlugin(); +export { exportDashboards } from './export_dashboards'; +export { importDashboards } from './import_dashboards'; diff --git a/src/core/server/saved_objects/saved_objects_service.ts b/src/core/server/saved_objects/saved_objects_service.ts index 074eae55acaea..b298396a2aee0 100644 --- a/src/core/server/saved_objects/saved_objects_service.ts +++ b/src/core/server/saved_objects/saved_objects_service.ts @@ -306,6 +306,7 @@ export class SavedObjectsService logger: this.logger, config: this.config, migratorPromise: this.migrator$.pipe(first()).toPromise(), + kibanaVersion: this.coreContext.env.packageInfo.version, }); registerCoreObjectTypes(this.typeRegistry); diff --git a/src/core/server/server.api.md b/src/core/server/server.api.md index 5abd1171a1936..e48ec859e80a2 100644 --- a/src/core/server/server.api.md +++ b/src/core/server/server.api.md @@ -491,6 +491,34 @@ export interface CoreUsageDataStart { // @internal export interface CoreUsageStats { + // (undocumented) + 'apiCalls.legacyDashboardExport.namespace.custom.kibanaRequest.no'?: number; + // (undocumented) + 'apiCalls.legacyDashboardExport.namespace.custom.kibanaRequest.yes'?: number; + // (undocumented) + 'apiCalls.legacyDashboardExport.namespace.custom.total'?: number; + // (undocumented) + 'apiCalls.legacyDashboardExport.namespace.default.kibanaRequest.no'?: number; + // (undocumented) + 'apiCalls.legacyDashboardExport.namespace.default.kibanaRequest.yes'?: number; + // (undocumented) + 'apiCalls.legacyDashboardExport.namespace.default.total'?: number; + // (undocumented) + 'apiCalls.legacyDashboardExport.total'?: number; + // (undocumented) + 'apiCalls.legacyDashboardImport.namespace.custom.kibanaRequest.no'?: number; + // (undocumented) + 'apiCalls.legacyDashboardImport.namespace.custom.kibanaRequest.yes'?: number; + // (undocumented) + 'apiCalls.legacyDashboardImport.namespace.custom.total'?: number; + // (undocumented) + 'apiCalls.legacyDashboardImport.namespace.default.kibanaRequest.no'?: number; + // (undocumented) + 'apiCalls.legacyDashboardImport.namespace.default.kibanaRequest.yes'?: number; + // (undocumented) + 'apiCalls.legacyDashboardImport.namespace.default.total'?: number; + // (undocumented) + 'apiCalls.legacyDashboardImport.total'?: number; // (undocumented) 'apiCalls.savedObjectsBulkCreate.namespace.custom.kibanaRequest.no'?: number; // (undocumented) diff --git a/src/dev/build/args.test.ts b/src/dev/build/args.test.ts index d3ff822f9a3a3..64d89a650e62e 100644 --- a/src/dev/build/args.test.ts +++ b/src/dev/build/args.test.ts @@ -29,6 +29,7 @@ it('build default and oss dist for current platform, without packages, by defaul "createArchives": true, "createDebPackage": false, "createDockerCentOS": false, + "createDockerCloud": false, "createDockerContexts": true, "createDockerUBI": false, "createExamplePlugins": false, @@ -55,6 +56,7 @@ it('builds packages if --all-platforms is passed', () => { "createArchives": true, "createDebPackage": true, "createDockerCentOS": true, + "createDockerCloud": false, "createDockerContexts": true, "createDockerUBI": true, "createExamplePlugins": false, @@ -81,6 +83,7 @@ it('limits packages if --rpm passed with --all-platforms', () => { "createArchives": true, "createDebPackage": false, "createDockerCentOS": false, + "createDockerCloud": false, "createDockerContexts": true, "createDockerUBI": false, "createExamplePlugins": false, @@ -107,6 +110,7 @@ it('limits packages if --deb passed with --all-platforms', () => { "createArchives": true, "createDebPackage": true, "createDockerCentOS": false, + "createDockerCloud": false, "createDockerContexts": true, "createDockerUBI": false, "createExamplePlugins": false, @@ -134,6 +138,7 @@ it('limits packages if --docker passed with --all-platforms', () => { "createArchives": true, "createDebPackage": false, "createDockerCentOS": true, + "createDockerCloud": false, "createDockerContexts": true, "createDockerUBI": true, "createExamplePlugins": false, @@ -168,6 +173,7 @@ it('limits packages if --docker passed with --skip-docker-ubi and --all-platform "createArchives": true, "createDebPackage": false, "createDockerCentOS": true, + "createDockerCloud": false, "createDockerContexts": true, "createDockerUBI": false, "createExamplePlugins": false, @@ -195,6 +201,7 @@ it('limits packages if --all-platforms passed with --skip-docker-centos', () => "createArchives": true, "createDebPackage": true, "createDockerCentOS": false, + "createDockerCloud": false, "createDockerContexts": true, "createDockerUBI": true, "createExamplePlugins": false, diff --git a/src/dev/build/args.ts b/src/dev/build/args.ts index 9ee375e33d38f..1124d90be89c6 100644 --- a/src/dev/build/args.ts +++ b/src/dev/build/args.ts @@ -26,6 +26,7 @@ export function readCliArgs(argv: string[]) { 'skip-docker-contexts', 'skip-docker-ubi', 'skip-docker-centos', + 'docker-cloud', 'release', 'skip-node-download', 'verbose', @@ -103,6 +104,7 @@ export function readCliArgs(argv: string[]) { createDebPackage: isOsPackageDesired('deb'), createDockerCentOS: isOsPackageDesired('docker-images') && !Boolean(flags['skip-docker-centos']), + createDockerCloud: isOsPackageDesired('docker-images') && Boolean(flags['docker-cloud']), createDockerUBI: isOsPackageDesired('docker-images') && !Boolean(flags['skip-docker-ubi']), createDockerContexts: !Boolean(flags['skip-docker-contexts']), targetAllPlatforms: Boolean(flags['all-platforms']), diff --git a/src/dev/build/build_distributables.ts b/src/dev/build/build_distributables.ts index 1042cdc484c12..39a62c1fd35dc 100644 --- a/src/dev/build/build_distributables.ts +++ b/src/dev/build/build_distributables.ts @@ -22,6 +22,7 @@ export interface BuildOptions { createDebPackage: boolean; createDockerUBI: boolean; createDockerCentOS: boolean; + createDockerCloud: boolean; createDockerContexts: boolean; versionQualifier: string | undefined; targetAllPlatforms: boolean; @@ -127,6 +128,11 @@ export async function buildDistributables(log: ToolingLog, options: BuildOptions await run(Tasks.CreateDockerCentOS); } + if (options.createDockerCloud) { + // control w/ --docker-images and --docker-cloud + await run(Tasks.CreateDockerCloud); + } + if (options.createDockerContexts) { // control w/ --skip-docker-contexts await run(Tasks.CreateDockerContexts); diff --git a/src/dev/build/tasks/os_packages/create_os_package_kibana_yml.ts b/src/dev/build/tasks/os_packages/create_os_package_kibana_yml.ts index e7137ada02182..be21bc4930591 100644 --- a/src/dev/build/tasks/os_packages/create_os_package_kibana_yml.ts +++ b/src/dev/build/tasks/os_packages/create_os_package_kibana_yml.ts @@ -8,6 +8,7 @@ import { readFileSync, writeFileSync } from 'fs'; import { resolve } from 'path'; +import { dump } from 'js-yaml'; import { Build, Config, mkdirp } from '../../lib'; export async function createOSPackageKibanaYML(config: Config, build: Build) { @@ -21,7 +22,25 @@ export async function createOSPackageKibanaYML(config: Config, build: Build) { [ [/#pid.file:.*/g, 'pid.file: /run/kibana/kibana.pid'], - [/#logging.dest:.*/g, 'logging.dest: /var/log/kibana/kibana.log'], + [ + /#logging.dest:.*/g, + dump({ + logging: { + appenders: { + file: { + type: 'file', + fileName: '/var/log/kibana/kibana.log', + layout: { + type: 'json', + }, + }, + }, + root: { + appenders: ['default', 'file'], + }, + }, + }), + ], ].forEach((options) => { const [regex, setting] = options; const diff = kibanaYML; diff --git a/src/dev/build/tasks/os_packages/create_os_package_tasks.ts b/src/dev/build/tasks/os_packages/create_os_package_tasks.ts index 67a9e86ee2073..ab9a7ce65cbc6 100644 --- a/src/dev/build/tasks/os_packages/create_os_package_tasks.ts +++ b/src/dev/build/tasks/os_packages/create_os_package_tasks.ts @@ -91,6 +91,25 @@ export const CreateDockerUBI: Task = { }, }; +export const CreateDockerCloud: Task = { + description: 'Creating Docker Cloud image', + + async run(config, log, build) { + await runDockerGenerator(config, log, build, { + architecture: 'x64', + context: false, + cloud: true, + image: true, + }); + await runDockerGenerator(config, log, build, { + architecture: 'aarch64', + context: false, + cloud: true, + image: true, + }); + }, +}; + export const CreateDockerContexts: Task = { description: 'Creating Docker build contexts', @@ -111,5 +130,10 @@ export const CreateDockerContexts: Task = { context: true, image: false, }); + await runDockerGenerator(config, log, build, { + cloud: true, + context: true, + image: false, + }); }, }; diff --git a/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker b/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker index c9b6fa3d9dda5..cee43fd85c90f 100755 --- a/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker +++ b/src/dev/build/tasks/os_packages/docker_generator/resources/base/bin/kibana-docker @@ -200,7 +200,6 @@ kibana_vars=( tilemap.options.minZoom tilemap.options.subdomains tilemap.url - timelion.enabled url_drilldown.enabled vega.enableExternalUrls vis_type_vega.enableExternalUrls diff --git a/src/dev/build/tasks/os_packages/docker_generator/run.ts b/src/dev/build/tasks/os_packages/docker_generator/run.ts index cac02cae20c42..c5a4ff64d2188 100644 --- a/src/dev/build/tasks/os_packages/docker_generator/run.ts +++ b/src/dev/build/tasks/os_packages/docker_generator/run.ts @@ -7,7 +7,7 @@ */ import { access, link, unlink, chmod } from 'fs'; -import { resolve } from 'path'; +import { resolve, basename } from 'path'; import { promisify } from 'util'; import { ToolingLog, kibanaPackageJson } from '@kbn/dev-utils'; @@ -32,6 +32,7 @@ export async function runDockerGenerator( image: boolean; ubi?: boolean; ironbank?: boolean; + cloud?: boolean; dockerBuildDate?: string; } ) { @@ -42,6 +43,7 @@ export async function runDockerGenerator( let imageFlavor = ''; if (flags.ubi) imageFlavor += `-${ubiVersionTag}`; if (flags.ironbank) imageFlavor += '-ironbank'; + if (flags.cloud) imageFlavor += '-cloud'; // General docker var config const license = 'Elastic License'; @@ -50,7 +52,10 @@ export async function runDockerGenerator( const artifactArchitecture = flags.architecture === 'aarch64' ? 'aarch64' : 'x86_64'; const artifactPrefix = `kibana-${version}-linux`; const artifactTarball = `${artifactPrefix}-${artifactArchitecture}.tar.gz`; + const metricbeatTarball = `metricbeat-${version}-linux-${artifactArchitecture}.tar.gz`; + const filebeatTarball = `filebeat-${version}-linux-${artifactArchitecture}.tar.gz`; const artifactsDir = config.resolveFromTarget('.'); + const beatsDir = config.resolveFromRepo('.beats'); const dockerBuildDate = flags.dockerBuildDate || new Date().toISOString(); // That would produce oss, default and default-ubi7 const dockerBuildDir = config.resolveFromRepo('build', 'kibana-docker', `default${imageFlavor}`); @@ -58,6 +63,13 @@ export async function runDockerGenerator( const dockerTargetFilename = config.resolveFromTarget( `kibana${imageFlavor}-${version}-docker-image${imageArchitecture}.tar.gz` ); + const dependencies = [ + resolve(artifactsDir, artifactTarball), + ...(flags.cloud + ? [resolve(beatsDir, metricbeatTarball), resolve(beatsDir, filebeatTarball)] + : []), + ]; + const scope: TemplateContext = { artifactPrefix, artifactTarball, @@ -72,6 +84,9 @@ export async function runDockerGenerator( baseOSImage, dockerBuildDate, ubi: flags.ubi, + cloud: flags.cloud, + metricbeatTarball, + filebeatTarball, ironbank: flags.ironbank, architecture: flags.architecture, revision: config.getBuildSha(), @@ -87,26 +102,8 @@ export async function runDockerGenerator( return; } - // Verify if we have the needed kibana target in order - // to build the kibana docker image. - // Also create the docker build target folder - // and delete the current linked target into the - // kibana docker build folder if we have one. - try { - await accessAsync(resolve(artifactsDir, artifactTarball)); - await mkdirp(dockerBuildDir); - await unlinkAsync(resolve(dockerBuildDir, artifactTarball)); - } catch (e) { - if (e && e.code === 'ENOENT' && e.syscall === 'access') { - throw new Error( - `Kibana linux target (${artifactTarball}) is needed in order to build ${''}the docker image. None was found at ${artifactsDir}` - ); - } - } - - // Create the kibana linux target inside the - // Kibana docker build - await linkAsync(resolve(artifactsDir, artifactTarball), resolve(dockerBuildDir, artifactTarball)); + // Create the docker build target folder + await mkdirp(dockerBuildDir); // Write all the needed docker config files // into kibana-docker folder @@ -137,6 +134,21 @@ export async function runDockerGenerator( // Only build images on native targets if (flags.image) { + // Link dependencies + for (const src of dependencies) { + const file = basename(src); + const dest = resolve(dockerBuildDir, file); + try { + await accessAsync(src); + await unlinkAsync(dest); + } catch (e) { + if (e && e.code === 'ENOENT' && e.syscall === 'access') { + throw new Error(`${src} is needed in order to build the docker image.`); + } + } + await linkAsync(src, dest); + } + await exec(log, `./build_docker.sh`, [], { cwd: dockerBuildDir, level: 'info', diff --git a/src/dev/build/tasks/os_packages/docker_generator/template_context.ts b/src/dev/build/tasks/os_packages/docker_generator/template_context.ts index 9c9949c9f57ea..075a3a8808e73 100644 --- a/src/dev/build/tasks/os_packages/docker_generator/template_context.ts +++ b/src/dev/build/tasks/os_packages/docker_generator/template_context.ts @@ -21,6 +21,9 @@ export interface TemplateContext { dockerBuildDate: string; usePublicArtifact?: boolean; ubi?: boolean; + cloud?: boolean; + metricbeatTarball?: string; + filebeatTarball?: string; ironbank?: boolean; revision: string; architecture?: string; diff --git a/src/dev/build/tasks/os_packages/docker_generator/templates/base/Dockerfile b/src/dev/build/tasks/os_packages/docker_generator/templates/base/Dockerfile index 60dabbffc6312..078741a0d0f6c 100644 --- a/src/dev/build/tasks/os_packages/docker_generator/templates/base/Dockerfile +++ b/src/dev/build/tasks/os_packages/docker_generator/templates/base/Dockerfile @@ -24,18 +24,27 @@ RUN cd /opt && \ {{/usePublicArtifact}} {{^usePublicArtifact}} -COPY {{artifactTarball}} /opt/kibana.tar.gz +COPY {{artifactTarball}} /tmp/kibana.tar.gz {{/usePublicArtifact}} RUN mkdir /usr/share/kibana WORKDIR /usr/share/kibana -RUN tar --strip-components=1 -zxf /opt/kibana.tar.gz +RUN tar --strip-components=1 -zxf /tmp/kibana.tar.gz # Ensure that group permissions are the same as user permissions. # This will help when relying on GID-0 to run Kibana, rather than UID-1000. # OpenShift does this, for example. # REF: https://docs.openshift.org/latest/creating_images/guidelines.html RUN chmod -R g=u /usr/share/kibana +{{#cloud}} +COPY {{filebeatTarball}} /tmp/filebeat.tar.gz +COPY {{metricbeatTarball}} /tmp/metricbeat.tar.gz + +RUN mkdir -p /opt/filebeat /opt/metricbeat && \ + tar xf /tmp/filebeat.tar.gz -C /opt/filebeat --strip-components=1 && \ + tar xf /tmp/metricbeat.tar.gz -C /opt/metricbeat --strip-components=1 +{{/cloud}} + ################################################################################ # Build stage 1 (the actual Kibana image): # @@ -86,6 +95,9 @@ RUN fc-cache -v # Bring in Kibana from the initial stage. COPY --from=builder --chown=1000:0 /usr/share/kibana /usr/share/kibana +{{#cloud}} +COPY --from=builder --chown=0:0 /opt /opt +{{/cloud}} WORKDIR /usr/share/kibana RUN ln -s /usr/share/kibana /opt/kibana @@ -146,8 +158,19 @@ RUN mkdir /licenses && \ cp LICENSE.txt /licenses/LICENSE {{/ubi}} -USER kibana - ENTRYPOINT ["/bin/tini", "--"] +{{#cloud}} +CMD ["/app/kibana.sh"] +# Generate a stub command that will be overwritten at runtime +RUN mkdir /app && \ + echo -e '#!/bin/sh\nexec /usr/local/bin/kibana-docker' > /app/kibana.sh && \ + chmod 0555 /app/kibana.sh +{{/cloud}} + +{{^cloud}} CMD ["/usr/local/bin/kibana-docker"] +{{/cloud}} + + +USER kibana diff --git a/src/dev/license_checker/config.ts b/src/dev/license_checker/config.ts index ee355d6a9811b..addedbb97f55a 100644 --- a/src/dev/license_checker/config.ts +++ b/src/dev/license_checker/config.ts @@ -75,7 +75,7 @@ export const LICENSE_OVERRIDES = { '@mapbox/jsonlint-lines-primitives@2.0.2': ['MIT'], // license in readme https://github.com/tmcw/jsonlint 'node-sql-parser@3.6.1': ['(GPL-2.0 OR MIT)'], // GPL-2.0* https://github.com/taozhi8833998/node-sql-parser '@elastic/ems-client@7.15.0': ['Elastic License 2.0'], - '@elastic/eui@37.3.1': ['SSPL-1.0 OR Elastic License 2.0'], + '@elastic/eui@37.6.0': ['SSPL-1.0 OR Elastic License 2.0'], // TODO can be removed if the https://github.com/jindw/xmldom/issues/239 is released 'xmldom@0.1.27': ['MIT'], diff --git a/src/dev/precommit_hook/casing_check_config.js b/src/dev/precommit_hook/casing_check_config.js index 9027e3df1e5c2..b99d547059d9c 100644 --- a/src/dev/precommit_hook/casing_check_config.js +++ b/src/dev/precommit_hook/casing_check_config.js @@ -69,7 +69,7 @@ export const IGNORE_FILE_GLOBS = [ '**/BUILD.bazel', // Buildkite - '.buildkite/hooks/*', + '.buildkite/*', ]; /** diff --git a/src/plugins/advanced_settings/jest.config.js b/src/plugins/advanced_settings/jest.config.js index 61909cd432df4..7900d7f39b6c6 100644 --- a/src/plugins/advanced_settings/jest.config.js +++ b/src/plugins/advanced_settings/jest.config.js @@ -10,4 +10,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/advanced_settings'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/advanced_settings', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/src/plugins/advanced_settings/{public,server}/**/*.{ts,tsx}'], }; diff --git a/src/plugins/bfetch/jest.config.js b/src/plugins/bfetch/jest.config.js index 544328ed4baf3..d01c81c8f1d82 100644 --- a/src/plugins/bfetch/jest.config.js +++ b/src/plugins/bfetch/jest.config.js @@ -10,4 +10,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/bfetch'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/bfetch', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/src/plugins/bfetch/{common,public,server}/**/*.{ts,tsx}'], }; diff --git a/src/plugins/chart_expressions/expression_tagcloud/jest.config.js b/src/plugins/chart_expressions/expression_tagcloud/jest.config.js index c88c150d6f649..412a133b0d292 100644 --- a/src/plugins/chart_expressions/expression_tagcloud/jest.config.js +++ b/src/plugins/chart_expressions/expression_tagcloud/jest.config.js @@ -10,4 +10,10 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../../', roots: ['/src/plugins/chart_expressions/expression_tagcloud'], + coverageDirectory: + '/target/kibana-coverage/jest/src/plugins/chart_expressions/expression_tagcloud', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/plugins/chart_expressions/expression_tagcloud/{common,public,server}/**/*.{ts,tsx}', + ], }; diff --git a/src/plugins/charts/jest.config.js b/src/plugins/charts/jest.config.js index b6516c520ecf6..a4469b78b3306 100644 --- a/src/plugins/charts/jest.config.js +++ b/src/plugins/charts/jest.config.js @@ -10,4 +10,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/charts'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/charts', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/src/plugins/charts/{common,public,server}/**/*.{ts,tsx}'], }; diff --git a/src/plugins/console/README.md b/src/plugins/console/README.md index e158e82c3702f..3bb58d37d1684 100644 --- a/src/plugins/console/README.md +++ b/src/plugins/console/README.md @@ -8,7 +8,7 @@ Console provides the user with tools for storing and executing requests against ### `load_from` query parameter -The `load_from` query parameter enables opening Console with prepopulated reuqests in two ways: from the elastic.co docs and from within other parts of Kibana. +The `load_from` query parameter enables opening Console with prepopulated requests in two ways: from the elastic.co docs and from within other parts of Kibana. Plugins can open requests in Kibana by assigning this parameter a `data:text/plain` [lz-string](https://pieroxy.net/blog/pages/lz-string/index.html) encoded value. For example, navigating to `/dev_tools#/console?load_from=data:text/plain,OIUQKgBA+gzgpgQwE4GMAWAoA3gIgI4CucSAnjgFy4C2CALulAgDZMVYC+nQA` will prepopulate Console with the following request: @@ -16,3 +16,221 @@ Plugins can open requests in Kibana by assigning this parameter a `data:text/pla GET _search {"query":{"match_all":{}}} ``` + +## Architecture +Console uses Ace editor that is wrapped with [`CoreEditor`](https://github.com/elastic/kibana/blob/master/src/plugins/console/public/types/core_editor.ts), so that if needed it can easily be replaced with another editor, for example Monaco. +The autocomplete logic is located in [`autocomplete`](https://github.com/elastic/kibana/blob/master/src/plugins/console/public/lib/autocomplete) folder. Autocomplete rules are computed by classes in `components` sub-folder. + +## Autocomplete definitions +Kibana users benefit greatly from autocomplete suggestions since not all Elasticsearch APIs can be provided with a corresponding UI. Autocomplete suggestions improve usability of Console for any Elasticsearch API endpoint. +Autocomplete definitions are all created in the form of javascript objects loaded from `json` and `js` files. + +### Creating definitions +The [`generated`](https://github.com/elastic/kibana/blob/master/src/plugins/console/server/lib/spec_definitions/json/generated) folder contains definitions created automatically from Elasticsearch REST API specifications. See this [README](https://github.com/elastic/kibana/blob/master/packages/kbn-spec-to-console/README.md) file for more information on the `spec-to-console` script. + +Manually created override files in the [`overrides`](https://github.com/elastic/kibana/blob/master/src/plugins/console/server/lib/spec_definitions/json/overrides) folder contain fixes for generated files and additions for request body parameters. + +### Top level keys +Use following top level keys in the definitions objects. + +#### `documentation` +Url to Elasticsearch REST API documentation for the endpoint (If the url contains `master` or `current` strings in the path, Console automatically replaces them with the `docLinkVersion` to always redirect the user to the correct version of the documentation). + +#### `methods` +Allowed http methods (`GET`, `POST` etc) + +#### `patterns` +Array of API endpoints that contain variables like `{indices}` or `{fields}`. For example, `{indices}/_rollup/{rollup_index}`. See the [Variables](#variables) section below for more info. + +#### `url_params` +Query url parameters and their values. See the [Query url parameters](#query-url-parameters) section below for more info. An example: +```json +{ + "url_params": { + "format": "", + "local": "__flag__", + "h": [], + "expand_wildcards": [ + "open", + "closed", + "hidden", + "none", + "all" + ] + } +} +``` + +#### `priority` +Value for selecting one autocomplete definition, if several configurations are loaded from the files. The highest number takes precedence. + +#### `data_autocomplete_rules` +Request body parameters and their values. Only used in `overrides` files because REST API specs don't contain any information about body request parameters. +Refer to Elasticsearch REST API documentation when configuring this object. See the [Request body parameters](#request-body-parameters) section below for more info. An example: +```json +{ + "data_autocomplete_rules": { + "text": [], + "field": "{field}", + "analyzer": "", + "explain": { "__one_of": [false, true] } + } +} +``` + +### Query url parameters +Query url parameters are configured in form of an object, for example: +```json +{ + "url_params": { + "local": "__flag__", + "scroll": "", + "expand_wildcards": [ + "open", + "closed", + "hidden", + "none", + "all" + ] + } +} +``` +This object specifies 3 query parameters: `local` (boolean value), `scroll` (no default value) and `expand_wildcards` (with a list of accepted values). + +When the user types in the url path into Console and at least 2 characters after `?`, all matching url parameters are displayed as autocomplete suggestions. In this example, after typing +``` +GET /_some_endpoint?ca +``` +"local" and "expand_wildcards" are displayed as suggestions. +When the user types at least 2 characters after `=`, all matching values for this parameter are displayed as autocomplete suggestions. In this example, after typing +``` +GET /_some_endpoint?expand_wildcards=hi +``` +"hidden" is displayed for autocompletion. + +Variables such as `{indices}` or `{fields}` are accepted both as an url parameter and its value in the configuration object. See the [Variables](#variables) section below for more information. + +### Request body parameters +Request body parameters are configured in form of an object, for example: +```json +{ + "data_autocomplete_rules": { + "index_patterns": [], + "mappings": { "__scope_link": "put_mapping" }, + "version": 0, + "aliases": { + "__template": { + "NAME": {} + } + } + } +} +``` +Object's keys are parameters that will be displayed as autocomplete suggestions when the user starts typing request body. In this example, after typing +``` +PUT /_some_endpoint +{ + " +``` +"index_patterns", "mappings", "version" and "aliases" are displayed as autocomplete suggestions. +Object's values provide default or accepted values of request body parameters. For example, if "version" is selected from the suggestions list, value `0` is automatically filled, resulting in the following request: +``` +PUT /_some_endpoint +{ + "version": 0 +} +``` +Object's values can contain objects for nested configuration because the engine can work recursively while searching for autocomplete suggestions. + +Following values can be used in the configuration object: +#### One value from the list (`__one_of: [..., ...]`) +Use this configuration for a parameter with a list of allowed values, for example types of snapshot repository: +``` +"type": {"__one_of": ["fs", "url", "s3", "hdfs", "azure"]} +``` +The first value in the list will be automatically filled as parameter value. For example, when "type" is selected from the suggestions list, the request body is autofilled as following: +``` +PUT /_some_endpoint +{ + "type": "fs" +} +``` +But if the value `fs` is deleted, all suggestions will be displayed: "fs", "url", "s3", "hdfs" and "azure". +Use `__one_of: [true, false]` for boolean values. + +#### Array of values (`[..., ... ]` or `__any_of: [..., ...]`) +Use this configuration for parameters which accept an array of values, for example actions parameter: +``` +"actions": { "__any_of": [ "add", "remove"]} +``` +When "actions" is selected from the suggestions list, it will be autocompleted with an empty array: +``` +POST /_some_endpoint +{ + "actions": [] +} +``` +All values in the array are displayed as suggestions for parameter values inside the array. + + +#### Default object structure (`__template: {...}`) +Use this configuration to insert an object with default values into the request body when the corresponding key is typed in. +For example, in this configuration +```json +{ + "terms": { + "__template": { + "field": "", + "size": 10 + }, + "field": "{field}", + "size": 10, + "shard_size": 10, + "min_doc_count": 10 + } +} +``` +the `terms` parameter has several properties, but only `field` and `size` are autocompleted in the request body when "terms" is selected from the suggestions list. +``` +POST /_some_endpoint +{ + terms: { + field: '', + size: 10, + } +} +``` +The rest of the properties are displayed as autocomplete suggestions, when the `terms` object is being edited. + +#### Scope link (`__scope_link`) +Use this type to copy a configuration object specified in a different endpoint definition. For example, the `put_settings` endpoint definition contains a configuration object that can be reused for `settings` parameter in a different endpoint: +```json +{ + "data_autocomplete_rules": { + "settings": { + "__scope_link": "put_settings" + } + } +} +``` +#### Global scope (`GLOBAL`) +Use `GLOBAL` keyword with `__scope_link` to refer to a reusable set of definitions created in the [`globals`](https://github.com/elastic/kibana/blob/master/src/plugins/console/server/lib/spec_definitions/js/globals.ts) file. +For example: +```json +{ + "data_autocomplete_rules": { + "query": { + "__scope_link": "GLOBAL.query" + } + } +} +``` +#### Conditional definition (`__condition: { lines_regex: ... }`) +To provide a different set of autocomplete suggestions based on the value configured in the request. For example, when creating a snapshot repository of different types (`fs`, `url` etc) different properties are displayed in the suggestions list based on the type. See [snapshot.create_repository.json](https://github.com/elastic/kibana/blob/master/src/plugins/console/server/lib/spec_definitions/json/overrides/snapshot.create_repository.json) for an example. + + +### Variables +Some autocomplete definitions need to be configured with dynamic values that can't be hard coded into a json or js file, for example a list of indices in the cluster. +A list of variables is defined in the `parametrizedComponentFactories` function in [`kb.js`](https://github.com/elastic/kibana/blob/master/src/plugins/console/public/lib/kb/kb.js) file. The values of these variables are assigned dynamically for every cluster. +Use these variables with curly braces, for example `{indices}`, `{types}`, `{id}`, `{username}`, `{template}`, `{nodes}` etc. + diff --git a/src/plugins/console/jest.config.js b/src/plugins/console/jest.config.js index 0fc1bcbcfb201..08dbc96e0136c 100644 --- a/src/plugins/console/jest.config.js +++ b/src/plugins/console/jest.config.js @@ -11,4 +11,7 @@ module.exports = { rootDir: '../../..', roots: ['/src/plugins/console'], testRunner: 'jasmine2', + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/console', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/src/plugins/console/{common,public,server}/**/*.{js,ts,tsx}'], }; diff --git a/src/plugins/dashboard/jest.config.js b/src/plugins/dashboard/jest.config.js index 0b9ac0428c3af..d99cfe57fcd37 100644 --- a/src/plugins/dashboard/jest.config.js +++ b/src/plugins/dashboard/jest.config.js @@ -11,4 +11,7 @@ module.exports = { rootDir: '../../..', roots: ['/src/plugins/dashboard'], testRunner: 'jasmine2', + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/dashboard', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/src/plugins/dashboard/{common,public,server}/**/*.{ts,tsx}'], }; diff --git a/src/plugins/data/jest.config.js b/src/plugins/data/jest.config.js index eba30c6cfd674..f8ab0e348376e 100644 --- a/src/plugins/data/jest.config.js +++ b/src/plugins/data/jest.config.js @@ -11,4 +11,7 @@ module.exports = { rootDir: '../../..', roots: ['/src/plugins/data'], testRunner: 'jasmine2', + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/data', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/src/plugins/data/{common,public,server}/**/*.{ts,tsx}'], }; diff --git a/src/plugins/discover/jest.config.js b/src/plugins/discover/jest.config.js index 4c0f09b2cc242..00f5d8016e3c4 100644 --- a/src/plugins/discover/jest.config.js +++ b/src/plugins/discover/jest.config.js @@ -11,4 +11,7 @@ module.exports = { rootDir: '../../..', roots: ['/src/plugins/discover'], testRunner: 'jasmine2', + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/discover', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/src/plugins/discover/{common,public,server}/**/*.{js,ts,tsx}'], }; diff --git a/src/plugins/discover/public/application/application.ts b/src/plugins/discover/public/application/application.ts deleted file mode 100644 index c0294ca043895..0000000000000 --- a/src/plugins/discover/public/application/application.ts +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { renderApp as renderReactApp } from './index'; - -/** - * Here's where Discover is mounted and rendered - */ -export async function renderApp(moduleName: string, element: HTMLElement) { - const app = mountDiscoverApp(moduleName, element); - return () => { - app(); - }; -} - -function buildDiscoverElement(mountpoint: HTMLElement) { - // due to legacy angular tags, we need some manual DOM intervention here - const appWrapper = document.createElement('div'); - const discoverApp = document.createElement('discover-app'); - const discover = document.createElement('discover'); - appWrapper.appendChild(discoverApp); - discoverApp.append(discover); - mountpoint.appendChild(appWrapper); - return discover; -} - -function mountDiscoverApp(moduleName: string, element: HTMLElement) { - const mountpoint = document.createElement('div'); - const discoverElement = buildDiscoverElement(mountpoint); - // @ts-expect-error - const app = renderReactApp({ element: discoverElement }); - element.appendChild(mountpoint); - return app; -} diff --git a/src/plugins/discover/public/application/apps/context/components/action_bar/action_bar.tsx b/src/plugins/discover/public/application/apps/context/components/action_bar/action_bar.tsx index 634e6d2c90a91..d9d56964358f8 100644 --- a/src/plugins/discover/public/application/apps/context/components/action_bar/action_bar.tsx +++ b/src/plugins/discover/public/application/apps/context/components/action_bar/action_bar.tsx @@ -9,7 +9,7 @@ import './_action_bar.scss'; import React, { useState, useEffect } from 'react'; import { i18n } from '@kbn/i18n'; -import { FormattedMessage, I18nProvider } from '@kbn/i18n/react'; +import { FormattedMessage } from '@kbn/i18n/react'; import { EuiButtonEmpty, EuiFieldNumber, @@ -84,84 +84,78 @@ export function ActionBar({ } }, [docCount, newDocCount]); return ( - -
- {isSuccessor && } - {isSuccessor && showWarning && ( - - )} - {isSuccessor && showWarning && } - - - { - const value = newDocCount + defaultStepSize; - if (isValid(value)) { - setNewDocCount(value); - onChangeCount(type, value); - } + + {isSuccessor && } + {isSuccessor && showWarning && } + {isSuccessor && showWarning && } + + + { + const value = newDocCount + defaultStepSize; + if (isValid(value)) { + setNewDocCount(value); + onChangeCount(type, value); + } + }} + flush="right" + > + + + + + + { + setNewDocCount(ev.target.valueAsNumber); }} - flush="right" - > - - - - - - { + if (newDocCount !== docCount && isValid(newDocCount)) { + onChangeCount(type, newDocCount); } - compressed - className="cxtSizePicker" - data-test-subj={`${type}CountPicker`} - disabled={isDisabled} - min={MIN_CONTEXT_SIZE} - max={MAX_CONTEXT_SIZE} - onChange={(ev) => { - setNewDocCount(ev.target.valueAsNumber); - }} - onBlur={() => { - if (newDocCount !== docCount && isValid(newDocCount)) { - onChangeCount(type, newDocCount); - } - }} - type="number" - value={newDocCount >= 0 ? newDocCount : ''} + }} + type="number" + value={newDocCount >= 0 ? newDocCount : ''} + /> + + + + + {isSuccessor ? ( + + ) : ( + - - - - - {isSuccessor ? ( - - ) : ( - - )} - - - - {!isSuccessor && showWarning && ( - - )} - {!isSuccessor && } - -
+ )} + + + + {!isSuccessor && showWarning && } + {!isSuccessor && } + ); } diff --git a/src/plugins/discover/public/application/apps/context/components/context_error_message/context_error_message.tsx b/src/plugins/discover/public/application/apps/context/components/context_error_message/context_error_message.tsx index fac948d0f7040..fc05deeae7e51 100644 --- a/src/plugins/discover/public/application/apps/context/components/context_error_message/context_error_message.tsx +++ b/src/plugins/discover/public/application/apps/context/components/context_error_message/context_error_message.tsx @@ -8,7 +8,7 @@ import React from 'react'; import { EuiCallOut, EuiText } from '@elastic/eui'; -import { FormattedMessage, I18nProvider } from '@kbn/i18n/react'; +import { FormattedMessage } from '@kbn/i18n/react'; import { FailureReason, LoadingStatus, @@ -27,27 +27,25 @@ export function ContextErrorMessage({ status }: ContextErrorMessageProps) { return null; } return ( - - + } + color="danger" + iconType="alert" + data-test-subj="contextErrorMessageTitle" + > + + {status.reason === FailureReason.UNKNOWN && ( - } - color="danger" - iconType="alert" - data-test-subj="contextErrorMessageTitle" - > - - {status.reason === FailureReason.UNKNOWN && ( - - )} - - - + )} + + ); } diff --git a/src/plugins/discover/public/application/apps/context/context_app.tsx b/src/plugins/discover/public/application/apps/context/context_app.tsx index 6198ced1550bb..070391edae71c 100644 --- a/src/plugins/discover/public/application/apps/context/context_app.tsx +++ b/src/plugins/discover/public/application/apps/context/context_app.tsx @@ -9,7 +9,7 @@ import React, { Fragment, memo, useEffect, useRef, useMemo, useCallback } from 'react'; import './context_app.scss'; import classNames from 'classnames'; -import { FormattedMessage, I18nProvider } from '@kbn/i18n/react'; +import { FormattedMessage } from '@kbn/i18n/react'; import { EuiText, EuiPageContent, EuiPage, EuiSpacer } from '@elastic/eui'; import { cloneDeep } from 'lodash'; import { esFilters, SortDirection } from '../../../../../data/public'; @@ -138,7 +138,7 @@ export const ContextApp = ({ indexPattern, indexPatternId, anchorId }: ContextAp }; return ( - + {fetchedState.anchorStatus.value === LoadingStatus.FAILED ? ( ) : ( @@ -182,6 +182,6 @@ export const ContextApp = ({ indexPattern, indexPatternId, anchorId }: ContextAp )} - + ); }; diff --git a/src/plugins/discover/public/application/apps/context/services/context.predecessors.test.ts b/src/plugins/discover/public/application/apps/context/services/context.predecessors.test.ts index a503715f4b5e2..6fad858488c4e 100644 --- a/src/plugins/discover/public/application/apps/context/services/context.predecessors.test.ts +++ b/src/plugins/discover/public/application/apps/context/services/context.predecessors.test.ts @@ -8,9 +8,10 @@ import moment from 'moment'; import { get, last } from 'lodash'; +import { SortDirection } from 'src/plugins/data/common'; import { createIndexPatternsStub, createContextSearchSourceStub } from './_stubs'; import { fetchContextProvider, SurrDocType } from './context'; -import { setServices, SortDirection } from '../../../../kibana_services'; +import { setServices } from '../../../../kibana_services'; import { Query } from '../../../../../../data/public'; import { DiscoverServices } from '../../../../build_services'; import { EsHitRecord, EsHitRecordList } from '../../../types'; diff --git a/src/plugins/discover/public/application/apps/context/services/context.successors.test.ts b/src/plugins/discover/public/application/apps/context/services/context.successors.test.ts index fcd1bad487c4e..6c44f0aa3f7b5 100644 --- a/src/plugins/discover/public/application/apps/context/services/context.successors.test.ts +++ b/src/plugins/discover/public/application/apps/context/services/context.successors.test.ts @@ -8,9 +8,9 @@ import moment from 'moment'; import { get, last } from 'lodash'; - +import { SortDirection } from 'src/plugins/data/common'; import { createIndexPatternsStub, createContextSearchSourceStub } from './_stubs'; -import { setServices, SortDirection } from '../../../../kibana_services'; +import { setServices } from '../../../../kibana_services'; import { Query } from '../../../../../../data/public'; import { fetchContextProvider, SurrDocType } from './context'; import { DiscoverServices } from '../../../../build_services'; diff --git a/src/plugins/discover/public/application/apps/context/services/utils/get_es_query_sort.ts b/src/plugins/discover/public/application/apps/context/services/utils/get_es_query_sort.ts index 2144d2f1cd7fd..955ae983d2caa 100644 --- a/src/plugins/discover/public/application/apps/context/services/utils/get_es_query_sort.ts +++ b/src/plugins/discover/public/application/apps/context/services/utils/get_es_query_sort.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import { EsQuerySortValue, SortDirection } from '../../../../../kibana_services'; +import type { EsQuerySortValue, SortDirection } from 'src/plugins/data/common'; /** * Returns `EsQuerySort` which is used to sort records in the ES query diff --git a/src/plugins/discover/public/application/apps/context/services/utils/sorting.ts b/src/plugins/discover/public/application/apps/context/services/utils/sorting.ts index c6f389ddca46a..c8ce787707cab 100644 --- a/src/plugins/discover/public/application/apps/context/services/utils/sorting.ts +++ b/src/plugins/discover/public/application/apps/context/services/utils/sorting.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import { IndexPattern } from '../../../../../kibana_services'; +import type { IndexPattern } from 'src/plugins/data/common'; export enum SortDirection { asc = 'asc', diff --git a/src/plugins/discover/public/application/apps/doc/components/doc.tsx b/src/plugins/discover/public/application/apps/doc/components/doc.tsx index b184a1cfd238c..f33ffe561e490 100644 --- a/src/plugins/discover/public/application/apps/doc/components/doc.tsx +++ b/src/plugins/discover/public/application/apps/doc/components/doc.tsx @@ -7,7 +7,7 @@ */ import React from 'react'; -import { FormattedMessage, I18nProvider } from '@kbn/i18n/react'; +import { FormattedMessage } from '@kbn/i18n/react'; import { EuiCallOut, EuiLink, EuiLoadingSpinner, EuiPageContent, EuiPage } from '@elastic/eui'; import { IndexPatternsContract } from 'src/plugins/data/public'; import { getServices } from '../../../../kibana_services'; @@ -43,82 +43,80 @@ export function Doc(props: DocProps) { const [reqState, hit, indexPattern] = useEsDocSearch(props); const indexExistsLink = getServices().docLinks.links.apis.indexExists; return ( - - - - {reqState === ElasticRequestState.NotFoundIndexPattern && ( - - } - /> - )} - {reqState === ElasticRequestState.NotFound && ( - - } - > + + + {reqState === ElasticRequestState.NotFoundIndexPattern && ( + + } + /> + )} + {reqState === ElasticRequestState.NotFound && ( + - - )} + } + > + + + )} - {reqState === ElasticRequestState.Error && ( - - } - > + {reqState === ElasticRequestState.Error && ( + {' '} - - - - - )} + id="discover.doc.failedToExecuteQueryDescription" + defaultMessage="Cannot run search" + /> + } + > + {' '} + + + + + )} - {reqState === ElasticRequestState.Loading && ( - - {' '} - - - )} + {reqState === ElasticRequestState.Loading && ( + + {' '} + + + )} - {reqState === ElasticRequestState.Found && hit !== null && indexPattern && ( -
- -
- )} -
-
-
+ {reqState === ElasticRequestState.Found && hit !== null && indexPattern && ( +
+ +
+ )} + + ); } diff --git a/src/plugins/discover/public/application/apps/main/components/chart/discover_chart.test.tsx b/src/plugins/discover/public/application/apps/main/components/chart/discover_chart.test.tsx index dc3c9ebbc75ca..732dee6106b36 100644 --- a/src/plugins/discover/public/application/apps/main/components/chart/discover_chart.test.tsx +++ b/src/plugins/discover/public/application/apps/main/components/chart/discover_chart.test.tsx @@ -96,7 +96,7 @@ function getProps(timefield?: string) { }) as DataCharts$; return { - resetQuery: jest.fn(), + resetSavedSearch: jest.fn(), savedSearch: savedSearchMock, savedSearchDataChart$: charts$, savedSearchDataTotalHits$: totalHits$, diff --git a/src/plugins/discover/public/application/apps/main/components/chart/discover_chart.tsx b/src/plugins/discover/public/application/apps/main/components/chart/discover_chart.tsx index 7d761aa93b808..2a4e4a06b6120 100644 --- a/src/plugins/discover/public/application/apps/main/components/chart/discover_chart.tsx +++ b/src/plugins/discover/public/application/apps/main/components/chart/discover_chart.tsx @@ -21,7 +21,7 @@ import { DiscoverServices } from '../../../../../build_services'; const TimechartHeaderMemoized = memo(TimechartHeader); const DiscoverHistogramMemoized = memo(DiscoverHistogram); export function DiscoverChart({ - resetQuery, + resetSavedSearch, savedSearch, savedSearchDataChart$, savedSearchDataTotalHits$, @@ -30,7 +30,7 @@ export function DiscoverChart({ stateContainer, timefield, }: { - resetQuery: () => void; + resetSavedSearch: () => void; savedSearch: SavedSearch; savedSearchDataChart$: DataCharts$; savedSearchDataTotalHits$: DataTotalHits$; @@ -88,7 +88,7 @@ export function DiscoverChart({ {!state.hideChart && ( diff --git a/src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx b/src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx index 5afa26d35b4f5..d313e95c1ebb1 100644 --- a/src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx +++ b/src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/helpers.tsx @@ -7,7 +7,7 @@ */ import { i18n } from '@kbn/i18n'; -import { IndexPattern } from '../../../../../../../kibana_services'; +import type { IndexPattern } from 'src/plugins/data/common'; export type SortOrder = [string, string]; export interface ColumnProps { diff --git a/src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/table_header.test.tsx b/src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/table_header.test.tsx index 7b72e94169cfe..83320c1b6d3da 100644 --- a/src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/table_header.test.tsx +++ b/src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/table_header.test.tsx @@ -8,10 +8,10 @@ import React from 'react'; import { mountWithIntl } from '@kbn/test/jest'; +import type { IndexPattern, IndexPatternField } from 'src/plugins/data/common'; import { TableHeader } from './table_header'; import { findTestSubject } from '@elastic/eui/lib/test'; import { SortOrder } from './helpers'; -import { IndexPattern, IndexPatternField } from '../../../../../../../kibana_services'; function getMockIndexPattern() { return ({ diff --git a/src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/table_header.tsx b/src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/table_header.tsx index cb8198f1d6d6a..f891e809ee702 100644 --- a/src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/table_header.tsx +++ b/src/plugins/discover/public/application/apps/main/components/doc_table/components/table_header/table_header.tsx @@ -7,7 +7,7 @@ */ import React from 'react'; -import { IndexPattern } from '../../../../../../../kibana_services'; +import type { IndexPattern } from 'src/plugins/data/common'; import { TableHeaderColumn } from './table_header_column'; import { SortOrder, getDisplayedColumns } from './helpers'; import { getDefaultSort } from '../../lib/get_default_sort'; diff --git a/src/plugins/discover/public/application/apps/main/components/doc_table/components/table_row/__snapshots__/table_cell.test.tsx.snap b/src/plugins/discover/public/application/apps/main/components/doc_table/components/table_row/__snapshots__/table_cell.test.tsx.snap index 5f3564174adf8..7f7a63bf139b0 100644 --- a/src/plugins/discover/public/application/apps/main/components/doc_table/components/table_row/__snapshots__/table_cell.test.tsx.snap +++ b/src/plugins/discover/public/application/apps/main/components/doc_table/components/table_row/__snapshots__/table_cell.test.tsx.snap @@ -31,11 +31,11 @@ exports[`Doc table cell component renders a cell with filter buttons if it is fi className="kbnDocTableCell__filterButton" content="Filter for value" delay="regular" + display="inlineBlock" position="bottom" > @@ -65,11 +65,11 @@ exports[`Doc table cell component renders a cell with filter buttons if it is fi className="kbnDocTableCell__filterButton" content="Filter out value" delay="regular" + display="inlineBlock" position="bottom" > diff --git a/src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_embeddable.tsx b/src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_embeddable.tsx index 04902af692b74..c01f661eb116a 100644 --- a/src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_embeddable.tsx +++ b/src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_embeddable.tsx @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import React, { memo, useCallback, useMemo } from 'react'; +import React, { memo, useCallback, useEffect, useMemo, useRef } from 'react'; import './index.scss'; import { FormattedMessage } from '@kbn/i18n/react'; import { EuiFlexGroup, EuiFlexItem, EuiText } from '@elastic/eui'; @@ -24,30 +24,61 @@ export interface DocTableEmbeddableProps extends DocTableProps { const DocTableWrapperMemoized = memo(DocTableWrapper); export const DocTableEmbeddable = (props: DocTableEmbeddableProps) => { - const pager = usePager({ totalItems: props.rows.length }); + const tableWrapperRef = useRef(null); + const { + currentPage, + pageSize, + totalPages, + startIndex, + hasNextPage, + changePage, + changePageSize, + } = usePager({ + totalItems: props.rows.length, + }); + const showPagination = totalPages !== 0; - const pageOfItems = useMemo( - () => props.rows.slice(pager.startIndex, pager.pageSize + pager.startIndex), - [pager.pageSize, pager.startIndex, props.rows] - ); + const scrollTop = useCallback(() => { + if (tableWrapperRef.current) { + tableWrapperRef.current.scrollTo(0, 0); + } + }, []); + + const pageOfItems = useMemo(() => props.rows.slice(startIndex, pageSize + startIndex), [ + pageSize, + startIndex, + props.rows, + ]); - const shouldShowLimitedResultsWarning = () => - !pager.hasNextPage && props.rows.length < props.totalHitCount; + const onPageChange = useCallback( + (page: number) => { + scrollTop(); + changePage(page); + }, + [changePage, scrollTop] + ); - const scrollTop = () => { - const scrollDiv = document.querySelector('.kbnDocTableWrapper') as HTMLElement; - scrollDiv.scrollTo(0, 0); - }; + const onPageSizeChange = useCallback( + (size: number) => { + scrollTop(); + changePageSize(size); + }, + [changePageSize, scrollTop] + ); - const onPageChange = (page: number) => { - scrollTop(); - pager.onPageChange(page); - }; + /** + * Go to the first page if the current is no longer available + */ + useEffect(() => { + if (totalPages < currentPage + 1) { + onPageChange(0); + } + }, [currentPage, totalPages, onPageChange]); - const onPageSizeChange = (size: number) => { - scrollTop(); - pager.onPageSizeChange(size); - }; + const shouldShowLimitedResultsWarning = useMemo( + () => !hasNextPage && props.rows.length < props.totalHitCount, + [hasNextPage, props.rows.length, props.totalHitCount] + ); const sampleSize = useMemo(() => { return getServices().uiSettings.get(SAMPLE_SIZE_SETTING, 500); @@ -77,7 +108,7 @@ export const DocTableEmbeddable = (props: DocTableEmbeddableProps) => { responsive={false} wrap={true} > - {shouldShowLimitedResultsWarning() && ( + {shouldShowLimitedResultsWarning && ( { - + - - - + {showPagination && ( + + + + )} ); }; diff --git a/src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_infinite.tsx b/src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_infinite.tsx index 5f0825d9cbd15..dddfefa906962 100644 --- a/src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_infinite.tsx +++ b/src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_infinite.tsx @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import React, { Fragment, memo, useCallback, useEffect, useState } from 'react'; +import React, { Fragment, memo, useCallback, useEffect, useRef, useState } from 'react'; import './index.scss'; import { FormattedMessage } from '@kbn/i18n/react'; import { debounce } from 'lodash'; @@ -17,24 +17,88 @@ import { shouldLoadNextDocPatch } from './lib/should_load_next_doc_patch'; const FOOTER_PADDING = { padding: 0 }; -const DocTableInfiniteContent = (props: DocTableRenderProps) => { - const [limit, setLimit] = useState(props.minimumVisibleRows); +const DocTableWrapperMemoized = memo(DocTableWrapper); - // Reset infinite scroll limit - useEffect(() => { - setLimit(props.minimumVisibleRows); - }, [props.rows, props.minimumVisibleRows]); +interface DocTableInfiniteContentProps extends DocTableRenderProps { + limit: number; + onSetMaxLimit: () => void; + onBackToTop: () => void; +} + +const DocTableInfiniteContent = ({ + rows, + columnLength, + sampleSize, + limit, + onSkipBottomButtonClick, + renderHeader, + renderRows, + onSetMaxLimit, + onBackToTop, +}: DocTableInfiniteContentProps) => { + const onSkipBottomButton = useCallback(() => { + onSetMaxLimit(); + onSkipBottomButtonClick(); + }, [onSetMaxLimit, onSkipBottomButtonClick]); + + return ( + + + + {renderHeader()} + {renderRows(rows.slice(0, limit))} + + + + + +
+ {rows.length === sampleSize ? ( +
+ + + + +
+ ) : ( + + ​ + + )} +
+
+ ); +}; + +export const DocTableInfinite = (props: DocTableProps) => { + const tableWrapperRef = useRef(null); + const [limit, setLimit] = useState(50); /** * depending on which version of Discover is displayed, different elements are scrolling * and have therefore to be considered for calculation of infinite scrolling */ useEffect(() => { - const scrollDiv = document.querySelector('.kbnDocTableWrapper') as HTMLElement; + // After mounting table wrapper should be initialized + const scrollDiv = tableWrapperRef.current as HTMLDivElement; const scrollMobileElem = document.documentElement; const scheduleCheck = debounce(() => { const isMobileView = document.getElementsByClassName('dscSidebar__mobile').length > 0; + const usedScrollDiv = isMobileView ? scrollMobileElem : scrollDiv; if (shouldLoadNextDocPatch(usedScrollDiv)) { setLimit((prevLimit) => prevLimit + 50); @@ -58,63 +122,26 @@ const DocTableInfiniteContent = (props: DocTableRenderProps) => { focusElem.focus(); // Only the desktop one needs to target a specific container - if (!isMobileView) { - const scrollDiv = document.querySelector('.kbnDocTableWrapper') as HTMLElement; - scrollDiv.scrollTo(0, 0); + if (!isMobileView && tableWrapperRef.current) { + tableWrapperRef.current.scrollTo(0, 0); } else if (window) { window.scrollTo(0, 0); } }, []); - return ( - - - - {props.renderHeader()} - {props.renderRows(props.rows.slice(0, limit))} - - - - - -
- {props.rows.length === props.sampleSize ? ( -
- - - - -
- ) : ( - - ​ - - )} -
-
- ); -}; + const setMaxLimit = useCallback(() => setLimit(props.rows.length), [props.rows.length]); -const DocTableWrapperMemoized = memo(DocTableWrapper); -const DocTableInfiniteContentMemoized = memo(DocTableInfiniteContent); - -const renderDocTable = (tableProps: DocTableRenderProps) => ( - -); + const renderDocTable = useCallback( + (tableProps: DocTableRenderProps) => ( + + ), + [limit, onBackToTop, setMaxLimit] + ); -export const DocTableInfinite = (props: DocTableProps) => { - return ; + return ; }; diff --git a/src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx b/src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx index 086750ed4d359..2fac1c828796d 100644 --- a/src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx +++ b/src/plugins/discover/public/application/apps/main/components/doc_table/doc_table_wrapper.tsx @@ -6,8 +6,9 @@ * Side Public License, v 1. */ -import React, { useCallback, useMemo, useState } from 'react'; +import React, { forwardRef, useCallback, useMemo } from 'react'; import { EuiIcon, EuiSpacer, EuiText } from '@elastic/eui'; +import type { IndexPattern, IndexPatternField } from 'src/plugins/data/common'; import { FormattedMessage } from '@kbn/i18n/react'; import { TableHeader } from './components/table_header/table_header'; import { FORMATS_UI_SETTINGS } from '../../../../../../../field_formats/common'; @@ -17,7 +18,7 @@ import { SHOW_MULTIFIELDS, SORT_DEFAULT_ORDER_SETTING, } from '../../../../../../common'; -import { getServices, IndexPattern, IndexPatternField } from '../../../../../kibana_services'; +import { getServices } from '../../../../../kibana_services'; import { SortOrder } from './components/table_header/helpers'; import { DocTableRow, TableRow } from './components/table_row'; import { DocViewFilterFn } from '../../../../doc_views/doc_views_types'; @@ -85,7 +86,6 @@ export interface DocTableProps { export interface DocTableRenderProps { columnLength: number; rows: DocTableRow[]; - minimumVisibleRows: number; sampleSize: number; renderRows: (row: DocTableRow[]) => JSX.Element[]; renderHeader: () => JSX.Element; @@ -99,163 +99,166 @@ export interface DocTableWrapperProps extends DocTableProps { render: (params: DocTableRenderProps) => JSX.Element; } -export const DocTableWrapper = ({ - render, - columns, - rows, - indexPattern, - onSort, - onAddColumn, - onMoveColumn, - onRemoveColumn, - sort, - onFilter, - useNewFieldsApi, - searchDescription, - sharedItemTitle, - dataTestSubj, - isLoading, -}: DocTableWrapperProps) => { - const [minimumVisibleRows, setMinimumVisibleRows] = useState(50); - const [ - defaultSortOrder, - hideTimeColumn, - isShortDots, - sampleSize, - showMultiFields, - filterManager, - addBasePath, - ] = useMemo(() => { - const services = getServices(); - return [ - services.uiSettings.get(SORT_DEFAULT_ORDER_SETTING, 'desc'), - services.uiSettings.get(DOC_HIDE_TIME_COLUMN_SETTING, false), - services.uiSettings.get(FORMATS_UI_SETTINGS.SHORT_DOTS_ENABLE), - services.uiSettings.get(SAMPLE_SIZE_SETTING, 500), - services.uiSettings.get(SHOW_MULTIFIELDS, false), - services.filterManager, - services.addBasePath, - ]; - }, []); +const wait = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms)); - const onSkipBottomButtonClick = useCallback(async () => { - // delay scrolling to after the rows have been rendered - const bottomMarker = document.getElementById('discoverBottomMarker'); - const wait = (ms: number) => new Promise((resolve) => setTimeout(resolve, ms)); - // show all the rows - setMinimumVisibleRows(rows.length); - - while (rows.length !== document.getElementsByClassName('kbnDocTable__row').length) { - await wait(50); - } - bottomMarker!.focus(); - await wait(50); - bottomMarker!.blur(); - }, [setMinimumVisibleRows, rows]); - - const fieldsToShow = useMemo( - () => - getFieldsToShow( - indexPattern.fields.map((field: IndexPatternField) => field.name), - indexPattern, - showMultiFields - ), - [indexPattern, showMultiFields] - ); - - const renderHeader = useCallback( - () => ( - - ), - [ +export const DocTableWrapper = forwardRef( + ( + { + render, columns, - defaultSortOrder, - hideTimeColumn, + rows, indexPattern, - isShortDots, + onSort, + onAddColumn, onMoveColumn, onRemoveColumn, - onSort, sort, - ] - ); - - const renderRows = useCallback( - (rowsToRender: DocTableRow[]) => { - return rowsToRender.map((current) => ( - - )); - }, - [ - columns, onFilter, - indexPattern, useNewFieldsApi, + searchDescription, + sharedItemTitle, + dataTestSubj, + isLoading, + }: DocTableWrapperProps, + ref + ) => { + const [ + defaultSortOrder, hideTimeColumn, - onAddColumn, - onRemoveColumn, + isShortDots, + sampleSize, + showMultiFields, filterManager, addBasePath, - fieldsToShow, - ] - ); + ] = useMemo(() => { + const services = getServices(); + return [ + services.uiSettings.get(SORT_DEFAULT_ORDER_SETTING, 'desc'), + services.uiSettings.get(DOC_HIDE_TIME_COLUMN_SETTING, false), + services.uiSettings.get(FORMATS_UI_SETTINGS.SHORT_DOTS_ENABLE), + services.uiSettings.get(SAMPLE_SIZE_SETTING, 500), + services.uiSettings.get(SHOW_MULTIFIELDS, false), + services.filterManager, + services.addBasePath, + ]; + }, []); + + const onSkipBottomButtonClick = useCallback(async () => { + // delay scrolling to after the rows have been rendered + const bottomMarker = document.getElementById('discoverBottomMarker'); + + while (rows.length !== document.getElementsByClassName('kbnDocTable__row').length) { + await wait(50); + } + bottomMarker!.focus(); + await wait(50); + bottomMarker!.blur(); + }, [rows]); + + const fieldsToShow = useMemo( + () => + getFieldsToShow( + indexPattern.fields.map((field: IndexPatternField) => field.name), + indexPattern, + showMultiFields + ), + [indexPattern, showMultiFields] + ); + + const renderHeader = useCallback( + () => ( + + ), + [ + columns, + defaultSortOrder, + hideTimeColumn, + indexPattern, + isShortDots, + onMoveColumn, + onRemoveColumn, + onSort, + sort, + ] + ); + + const renderRows = useCallback( + (rowsToRender: DocTableRow[]) => { + return rowsToRender.map((current) => ( + + )); + }, + [ + columns, + onFilter, + indexPattern, + useNewFieldsApi, + hideTimeColumn, + onAddColumn, + onRemoveColumn, + filterManager, + addBasePath, + fieldsToShow, + ] + ); - return ( -
- {rows.length !== 0 && - render({ - columnLength: columns.length, - rows, - minimumVisibleRows, - sampleSize, - onSkipBottomButtonClick, - renderHeader, - renderRows, - })} - {!rows.length && ( -
- - - - - -
- )} -
- ); -}; + return ( +
} + > + {rows.length !== 0 && + render({ + columnLength: columns.length, + rows, + sampleSize, + onSkipBottomButtonClick, + renderHeader, + renderRows, + })} + {!rows.length && ( +
+ + + + + +
+ )} +
+ ); + } +); diff --git a/src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_default_sort.ts b/src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_default_sort.ts index e01ff0b00e2b0..2705140988148 100644 --- a/src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_default_sort.ts +++ b/src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_default_sort.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import { IndexPattern } from '../../../../../../kibana_services'; +import type { IndexPattern } from 'src/plugins/data/common'; import { isSortable } from './get_sort'; import { SortOrder } from '../components/table_header/helpers'; diff --git a/src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts b/src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts index 2c687a59ea291..1e597f85666fc 100644 --- a/src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts +++ b/src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import _ from 'lodash'; +import { isPlainObject } from 'lodash'; import { IndexPattern } from '../../../../../../../../data/public'; export type SortPairObj = Record; @@ -30,7 +30,7 @@ function createSortObject( ) { const [field, direction] = sortPair as SortPairArr; return { [field]: direction }; - } else if (_.isPlainObject(sortPair) && isSortable(Object.keys(sortPair)[0], indexPattern)) { + } else if (isPlainObject(sortPair) && isSortable(Object.keys(sortPair)[0], indexPattern)) { return sortPair as SortPairObj; } } diff --git a/src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.ts b/src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.ts index 2bc8a71301df9..de862fdcd29f2 100644 --- a/src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.ts +++ b/src/plugins/discover/public/application/apps/main/components/doc_table/lib/get_sort_for_search_source.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import { EsQuerySortValue, IndexPattern } from '../../../../../../kibana_services'; +import type { EsQuerySortValue, IndexPattern } from 'src/plugins/data/common'; import { SortOrder } from '../components/table_header/helpers'; import { getSort } from './get_sort'; diff --git a/src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.tsx b/src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.tsx index b85544bd84cde..ae3f1cd0057cc 100644 --- a/src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.tsx +++ b/src/plugins/discover/public/application/apps/main/components/doc_table/lib/row_formatter.tsx @@ -7,8 +7,9 @@ */ import React, { Fragment } from 'react'; +import type { IndexPattern } from 'src/plugins/data/common'; import { MAX_DOC_FIELDS_DISPLAYED } from '../../../../../../../common'; -import { getServices, IndexPattern } from '../../../../../../kibana_services'; +import { getServices } from '../../../../../../kibana_services'; interface Props { defPairs: Array<[string, unknown]>; diff --git a/src/plugins/discover/public/application/apps/main/components/doc_table/lib/use_pager.test.tsx b/src/plugins/discover/public/application/apps/main/components/doc_table/lib/use_pager.test.tsx new file mode 100644 index 0000000000000..e94600b5d1725 --- /dev/null +++ b/src/plugins/discover/public/application/apps/main/components/doc_table/lib/use_pager.test.tsx @@ -0,0 +1,75 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { act, renderHook } from '@testing-library/react-hooks'; +import { usePager } from './use_pager'; + +describe('usePager', () => { + const defaultProps = { + totalItems: 745, + }; + + test('should initialize the first page', () => { + const { result } = renderHook(() => { + return usePager(defaultProps); + }); + + expect(result.current.currentPage).toEqual(0); + expect(result.current.pageSize).toEqual(50); + expect(result.current.totalPages).toEqual(15); + expect(result.current.startIndex).toEqual(0); + expect(result.current.hasNextPage).toEqual(true); + }); + + test('should change the page', () => { + const { result } = renderHook(() => { + return usePager(defaultProps); + }); + + act(() => { + result.current.changePage(5); + }); + + expect(result.current.currentPage).toEqual(5); + expect(result.current.pageSize).toEqual(50); + expect(result.current.totalPages).toEqual(15); + expect(result.current.startIndex).toEqual(250); + expect(result.current.hasNextPage).toEqual(true); + }); + + test('should go to the last page', () => { + const { result } = renderHook(() => { + return usePager(defaultProps); + }); + + act(() => { + result.current.changePage(15); + }); + + expect(result.current.currentPage).toEqual(15); + expect(result.current.pageSize).toEqual(50); + expect(result.current.totalPages).toEqual(15); + expect(result.current.startIndex).toEqual(750); + expect(result.current.hasNextPage).toEqual(false); + }); + + test('should change page size and stay on the current page', () => { + const { result } = renderHook(() => usePager(defaultProps)); + + act(() => { + result.current.changePage(5); + result.current.changePageSize(100); + }); + + expect(result.current.currentPage).toEqual(5); + expect(result.current.pageSize).toEqual(100); + expect(result.current.totalPages).toEqual(8); + expect(result.current.startIndex).toEqual(500); + expect(result.current.hasNextPage).toEqual(true); + }); +}); diff --git a/src/plugins/discover/public/application/apps/main/components/doc_table/lib/use_pager.ts b/src/plugins/discover/public/application/apps/main/components/doc_table/lib/use_pager.ts index 5522e3c150213..d21941b8360eb 100644 --- a/src/plugins/discover/public/application/apps/main/components/doc_table/lib/use_pager.ts +++ b/src/plugins/discover/public/application/apps/main/components/doc_table/lib/use_pager.ts @@ -6,73 +6,38 @@ * Side Public License, v 1. */ -import { useCallback, useEffect, useState } from 'react'; +import { useCallback, useMemo, useState } from 'react'; interface MetaParams { - currentPage: number; - totalItems: number; totalPages: number; startIndex: number; hasNextPage: boolean; - pageSize: number; -} - -interface ProvidedMeta { - updatedPageSize?: number; - updatedCurrentPage?: number; } const INITIAL_PAGE_SIZE = 50; export const usePager = ({ totalItems }: { totalItems: number }) => { - const [meta, setMeta] = useState({ - currentPage: 0, - totalItems, - startIndex: 0, - totalPages: Math.ceil(totalItems / INITIAL_PAGE_SIZE), - hasNextPage: true, - pageSize: INITIAL_PAGE_SIZE, - }); - - const getNewMeta = useCallback( - (newMeta: ProvidedMeta) => { - const actualCurrentPage = newMeta.updatedCurrentPage ?? meta.currentPage; - const actualPageSize = newMeta.updatedPageSize ?? meta.pageSize; - - const newTotalPages = Math.ceil(totalItems / actualPageSize); - const newStartIndex = actualPageSize * actualCurrentPage; - - return { - currentPage: actualCurrentPage, - totalPages: newTotalPages, - startIndex: newStartIndex, - totalItems, - hasNextPage: meta.currentPage + 1 < meta.totalPages, - pageSize: actualPageSize, - }; - }, - [meta.currentPage, meta.pageSize, meta.totalPages, totalItems] - ); + const [pageSize, setPageSize] = useState(INITIAL_PAGE_SIZE); + const [currentPage, setCurrentPage] = useState(0); - const onPageChange = useCallback( - (pageIndex: number) => setMeta(getNewMeta({ updatedCurrentPage: pageIndex })), - [getNewMeta] - ); + const meta: MetaParams = useMemo(() => { + const totalPages = Math.ceil(totalItems / pageSize); + return { + totalPages, + startIndex: pageSize * currentPage, + hasNextPage: currentPage + 1 < totalPages, + }; + }, [currentPage, pageSize, totalItems]); - const onPageSizeChange = useCallback( - (newPageSize: number) => - setMeta(getNewMeta({ updatedPageSize: newPageSize, updatedCurrentPage: 0 })), - [getNewMeta] - ); + const changePage = useCallback((pageIndex: number) => setCurrentPage(pageIndex), []); - /** - * Update meta on totalItems change - */ - useEffect(() => setMeta(getNewMeta({})), [getNewMeta, totalItems]); + const changePageSize = useCallback((newPageSize: number) => setPageSize(newPageSize), []); return { ...meta, - onPageChange, - onPageSizeChange, + currentPage, + pageSize, + changePage, + changePageSize, }; }; diff --git a/src/plugins/discover/public/application/apps/main/components/layout/discover_layout.test.tsx b/src/plugins/discover/public/application/apps/main/components/layout/discover_layout.test.tsx index 7343760f32d13..79dfc9b77f90b 100644 --- a/src/plugins/discover/public/application/apps/main/components/layout/discover_layout.test.tsx +++ b/src/plugins/discover/public/application/apps/main/components/layout/discover_layout.test.tsx @@ -135,7 +135,7 @@ function getProps(indexPattern: IndexPattern): DiscoverLayoutProps { navigateTo: jest.fn(), onChangeIndexPattern: jest.fn(), onUpdateQuery: jest.fn(), - resetQuery: jest.fn(), + resetSavedSearch: jest.fn(), savedSearch: savedSearchMock, savedSearchData$, savedSearchRefetch$: new Subject(), diff --git a/src/plugins/discover/public/application/apps/main/components/layout/discover_layout.tsx b/src/plugins/discover/public/application/apps/main/components/layout/discover_layout.tsx index 6d241468bdf74..7e3d7ff10b3a6 100644 --- a/src/plugins/discover/public/application/apps/main/components/layout/discover_layout.tsx +++ b/src/plugins/discover/public/application/apps/main/components/layout/discover_layout.tsx @@ -20,7 +20,6 @@ import { } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import { METRIC_TYPE } from '@kbn/analytics'; -import { I18nProvider } from '@kbn/i18n/react'; import classNames from 'classnames'; import { DiscoverNoResults } from '../no_results'; import { LoadingSpinner } from '../loading_spinner/loading_spinner'; @@ -57,7 +56,7 @@ export function DiscoverLayout({ onChangeIndexPattern, onUpdateQuery, savedSearchRefetch$, - resetQuery, + resetSavedSearch, savedSearchData$, savedSearch, searchSource, @@ -152,130 +151,129 @@ export function DiscoverLayout({ const contentCentered = resultState === 'uninitialized' || resultState === 'none'; return ( - - - - -

- {savedSearch.title} -

- + + + +

+ {savedSearch.title} +

+ + + + + - +
+ + setIsSidebarClosed(!isSidebarClosed)} + data-test-subj="collapseSideBarButton" + aria-controls="discover-sidebar" + aria-expanded={isSidebarClosed ? 'false' : 'true'} + aria-label={i18n.translate('discover.toggleSidebarAriaLabel', { + defaultMessage: 'Toggle sidebar', + })} + /> +
- - -
- - setIsSidebarClosed(!isSidebarClosed)} - data-test-subj="collapseSideBarButton" - aria-controls="discover-sidebar" - aria-expanded={isSidebarClosed ? 'false' : 'true'} - aria-label={i18n.translate('discover.toggleSidebarAriaLabel', { - defaultMessage: 'Toggle sidebar', - })} - /> -
-
-
- - - {resultState === 'none' && ( - !f.meta.disabled).length > 0 - } - onDisableFilters={onDisableFilters} - /> - )} - {resultState === 'uninitialized' && ( - savedSearchRefetch$.next()} /> - )} - {resultState === 'loading' && } - {resultState === 'ready' && ( - - - - - - - + + + {resultState === 'none' && ( + !f.meta.disabled).length > 0 + } + onDisableFilters={onDisableFilters} + /> + )} + {resultState === 'uninitialized' && ( + savedSearchRefetch$.next()} /> + )} + {resultState === 'loading' && } + {resultState === 'ready' && ( + + + - - )} - - - -
-
-
+ + + + + + )} + + + + + ); } diff --git a/src/plugins/discover/public/application/apps/main/components/layout/types.ts b/src/plugins/discover/public/application/apps/main/components/layout/types.ts index 03d4471db94b6..e4a780cadceae 100644 --- a/src/plugins/discover/public/application/apps/main/components/layout/types.ts +++ b/src/plugins/discover/public/application/apps/main/components/layout/types.ts @@ -27,7 +27,7 @@ export interface DiscoverLayoutProps { navigateTo: (url: string) => void; onChangeIndexPattern: (id: string) => void; onUpdateQuery: (payload: { dateRange: TimeRange; query?: Query }, isUpdate?: boolean) => void; - resetQuery: () => void; + resetSavedSearch: () => void; savedSearch: SavedSearch; savedSearchData$: SavedSearchData; savedSearchRefetch$: DataRefetch$; diff --git a/src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx b/src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx index f22d88f2b2150..62e74ec2c3523 100644 --- a/src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx +++ b/src/plugins/discover/public/application/apps/main/components/sidebar/discover_index_pattern.tsx @@ -7,12 +7,11 @@ */ import React, { useState, useEffect } from 'react'; -import { I18nProvider } from '@kbn/i18n/react'; import { SavedObject } from 'kibana/public'; import { IndexPattern, IndexPatternAttributes } from 'src/plugins/data/public'; - import { IndexPatternRef } from './types'; import { ChangeIndexPattern } from './change_indexpattern'; + export interface DiscoverIndexPatternProps { /** * list of available index patterns, if length > 1, component offers a "change" link @@ -55,23 +54,21 @@ export function DiscoverIndexPattern({ } return ( - - { - const indexPattern = options.find((pattern) => pattern.id === id); - if (indexPattern) { - onChangeIndexPattern(id); - setSelected(indexPattern); - } - }} - /> - + { + const indexPattern = options.find((pattern) => pattern.id === id); + if (indexPattern) { + onChangeIndexPattern(id); + setSelected(indexPattern); + } + }} + /> ); } diff --git a/src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_calculator.js b/src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_calculator.js index 02adc6b68300a..8f86cdad82cf7 100644 --- a/src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_calculator.js +++ b/src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_calculator.js @@ -6,19 +6,19 @@ * Side Public License, v 1. */ -import _ from 'lodash'; +import { map, sortBy, without, each, defaults, isObject } from 'lodash'; import { i18n } from '@kbn/i18n'; function getFieldValues(hits, field, indexPattern) { const name = field.name; const flattenHit = indexPattern.flattenHit; - return _.map(hits, function (hit) { + return map(hits, function (hit) { return flattenHit(hit)[name]; }); } function getFieldValueCounts(params) { - params = _.defaults(params, { + params = defaults(params, { count: 5, grouped: false, }); @@ -44,7 +44,7 @@ function getFieldValueCounts(params) { try { const groups = _groupValues(allValues, params); - counts = _.map(_.sortBy(groups, 'count').reverse().slice(0, params.count), function (bucket) { + counts = map(sortBy(groups, 'count').reverse().slice(0, params.count), function (bucket) { return { value: bucket.value, count: bucket.count, @@ -80,7 +80,7 @@ function getFieldValueCounts(params) { // returns a count of fields in the array that are undefined or null function _countMissing(array) { - return array.length - _.without(array, undefined, null).length; + return array.length - without(array, undefined, null).length; } function _groupValues(allValues, params) { @@ -88,7 +88,7 @@ function _groupValues(allValues, params) { let k; allValues.forEach(function (value) { - if (_.isObject(value) && !Array.isArray(value)) { + if (isObject(value) && !Array.isArray(value)) { throw new Error( i18n.translate( 'discover.fieldChooser.fieldCalculator.analysisIsNotAvailableForObjectFieldsErrorMessage', @@ -105,7 +105,7 @@ function _groupValues(allValues, params) { k = value == null ? undefined : [value]; } - _.each(k, function (key) { + each(k, function (key) { if (groups.hasOwnProperty(key)) { groups[key].count++; } else { diff --git a/src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_calculator.test.ts b/src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_calculator.test.ts index 49cdb83256599..c3ff7970c5aac 100644 --- a/src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_calculator.test.ts +++ b/src/plugins/discover/public/application/apps/main/components/sidebar/lib/field_calculator.test.ts @@ -8,7 +8,7 @@ /* eslint-disable @typescript-eslint/no-explicit-any */ -import _ from 'lodash'; +import { keys, each, cloneDeep, clone, uniq, filter, map } from 'lodash'; // @ts-expect-error import realHits from '../../../../../../__fixtures__/real_hits.js'; @@ -80,7 +80,7 @@ describe('fieldCalculator', function () { }); it('should have a a key for value in the array when not grouping array terms', function () { - expect(_.keys(groups).length).toBe(3); + expect(keys(groups).length).toBe(3); expect(groups.foo).toBeInstanceOf(Object); expect(groups.bar).toBeInstanceOf(Object); expect(groups.baz).toBeInstanceOf(Object); @@ -100,7 +100,7 @@ describe('fieldCalculator', function () { }); it('should group array terms when passed params.grouped', function () { - expect(_.keys(groups).length).toBe(4); + expect(keys(groups).length).toBe(4); expect(groups['foo,bar']).toBeInstanceOf(Object); }); @@ -120,7 +120,7 @@ describe('fieldCalculator', function () { let hits: any; beforeEach(function () { - hits = _.each(_.cloneDeep(realHits), (hit) => indexPattern.flattenHit(hit)); + hits = each(cloneDeep(realHits), (hit) => indexPattern.flattenHit(hit)); }); it('Should return an array of values for _source fields', function () { @@ -131,11 +131,11 @@ describe('fieldCalculator', function () { ); expect(extensions).toBeInstanceOf(Array); expect( - _.filter(extensions, function (v) { + filter(extensions, function (v) { return v === 'html'; }).length ).toBe(8); - expect(_.uniq(_.clone(extensions)).sort()).toEqual(['gif', 'html', 'php', 'png']); + expect(uniq(clone(extensions)).sort()).toEqual(['gif', 'html', 'php', 'png']); }); it('Should return an array of values for core meta fields', function () { @@ -146,11 +146,11 @@ describe('fieldCalculator', function () { ); expect(types).toBeInstanceOf(Array); expect( - _.filter(types, function (v) { + filter(types, function (v) { return v === 'apache'; }).length ).toBe(18); - expect(_.uniq(_.clone(types)).sort()).toEqual(['apache', 'nginx']); + expect(uniq(clone(types)).sort()).toEqual(['apache', 'nginx']); }); }); @@ -158,7 +158,7 @@ describe('fieldCalculator', function () { let params: { hits: any; field: any; count: number; indexPattern: IndexPattern }; beforeEach(function () { params = { - hits: _.cloneDeep(realHits), + hits: cloneDeep(realHits), field: indexPattern.fields.getByName('extension'), count: 3, indexPattern, @@ -170,7 +170,7 @@ describe('fieldCalculator', function () { expect(extensions).toBeInstanceOf(Object); expect(extensions.buckets).toBeInstanceOf(Array); expect(extensions.buckets.length).toBe(3); - expect(_.map(extensions.buckets, 'value')).toEqual(['html', 'php', 'gif']); + expect(map(extensions.buckets, 'value')).toEqual(['html', 'php', 'gif']); expect(extensions.error).toBe(undefined); }); diff --git a/src/plugins/discover/public/application/apps/main/components/top_nav/discover_topnav.test.tsx b/src/plugins/discover/public/application/apps/main/components/top_nav/discover_topnav.test.tsx index 687532cd94f08..4b572f6e348b8 100644 --- a/src/plugins/discover/public/application/apps/main/components/top_nav/discover_topnav.test.tsx +++ b/src/plugins/discover/public/application/apps/main/components/top_nav/discover_topnav.test.tsx @@ -33,6 +33,7 @@ function getProps(savePermissions = true): DiscoverTopNavProps { updateQuery: jest.fn(), onOpenInspector: jest.fn(), searchSource: {} as ISearchSource, + resetSavedSearch: () => {}, }; } diff --git a/src/plugins/discover/public/application/apps/main/components/top_nav/discover_topnav.tsx b/src/plugins/discover/public/application/apps/main/components/top_nav/discover_topnav.tsx index 9afda73401084..5e3e2dfd96954 100644 --- a/src/plugins/discover/public/application/apps/main/components/top_nav/discover_topnav.tsx +++ b/src/plugins/discover/public/application/apps/main/components/top_nav/discover_topnav.tsx @@ -5,7 +5,8 @@ * in compliance with, at your election, the Elastic License 2.0 or the Server * Side Public License, v 1. */ -import React, { useMemo } from 'react'; +import React, { useCallback, useMemo } from 'react'; +import { useHistory } from 'react-router-dom'; import { DiscoverLayoutProps } from '../layout/types'; import { getTopNavLinks } from './get_top_nav_links'; import { Query, TimeRange } from '../../../../../../../data/common/query'; @@ -21,6 +22,7 @@ export type DiscoverTopNavProps = Pick< savedQuery?: string; updateQuery: (payload: { dateRange: TimeRange; query?: Query }, isUpdate?: boolean) => void; stateContainer: GetStateReturn; + resetSavedSearch: () => void; }; export const DiscoverTopNav = ({ @@ -34,9 +36,23 @@ export const DiscoverTopNav = ({ navigateTo, savedSearch, services, + resetSavedSearch, }: DiscoverTopNavProps) => { + const history = useHistory(); const showDatePicker = useMemo(() => indexPattern.isTimeBased(), [indexPattern]); const { TopNavMenu } = services.navigation.ui; + + const onOpenSavedSearch = useCallback( + (newSavedSearchId: string) => { + if (savedSearch.id && savedSearch.id === newSavedSearchId) { + resetSavedSearch(); + } else { + history.push(`/view/${encodeURIComponent(newSavedSearchId)}`); + } + }, + [history, resetSavedSearch, savedSearch.id] + ); + const topNavMenu = useMemo( () => getTopNavLinks({ @@ -47,8 +63,18 @@ export const DiscoverTopNav = ({ state: stateContainer, onOpenInspector, searchSource, + onOpenSavedSearch, }), - [indexPattern, navigateTo, onOpenInspector, searchSource, stateContainer, savedSearch, services] + [ + indexPattern, + navigateTo, + savedSearch, + services, + stateContainer, + onOpenInspector, + searchSource, + onOpenSavedSearch, + ] ); const updateSavedQueryId = (newSavedQueryId: string | undefined) => { diff --git a/src/plugins/discover/public/application/apps/main/components/top_nav/get_top_nav_links.test.ts b/src/plugins/discover/public/application/apps/main/components/top_nav/get_top_nav_links.test.ts index 6a6fb8a44a5cf..fd918429b57da 100644 --- a/src/plugins/discover/public/application/apps/main/components/top_nav/get_top_nav_links.test.ts +++ b/src/plugins/discover/public/application/apps/main/components/top_nav/get_top_nav_links.test.ts @@ -35,6 +35,7 @@ test('getTopNavLinks result', () => { services, state, searchSource: {} as ISearchSource, + onOpenSavedSearch: () => {}, }); expect(topNavLinks).toMatchInlineSnapshot(` Array [ diff --git a/src/plugins/discover/public/application/apps/main/components/top_nav/get_top_nav_links.ts b/src/plugins/discover/public/application/apps/main/components/top_nav/get_top_nav_links.ts index f19b30cda5f8a..a692dacd5e9f4 100644 --- a/src/plugins/discover/public/application/apps/main/components/top_nav/get_top_nav_links.ts +++ b/src/plugins/discover/public/application/apps/main/components/top_nav/get_top_nav_links.ts @@ -8,6 +8,7 @@ import { i18n } from '@kbn/i18n'; import moment from 'moment'; +import type { IndexPattern, ISearchSource } from 'src/plugins/data/common'; import { showOpenSearchPanel } from './show_open_search_panel'; import { getSharingData, showPublicUrlSwitch } from '../../utils/get_sharing_data'; import { unhashUrl } from '../../../../../../../kibana_utils/public'; @@ -15,7 +16,6 @@ import { DiscoverServices } from '../../../../../build_services'; import { SavedSearch } from '../../../../../saved_searches'; import { onSaveSearch } from './on_save_search'; import { GetStateReturn } from '../../services/discover_state'; -import { IndexPattern, ISearchSource } from '../../../../../kibana_services'; import { openOptionsPopover } from './open_options_popover'; /** @@ -29,6 +29,7 @@ export const getTopNavLinks = ({ state, onOpenInspector, searchSource, + onOpenSavedSearch, }: { indexPattern: IndexPattern; navigateTo: (url: string) => void; @@ -37,6 +38,7 @@ export const getTopNavLinks = ({ state: GetStateReturn; onOpenInspector: () => void; searchSource: ISearchSource; + onOpenSavedSearch: (id: string) => void; }) => { const options = { id: 'options', @@ -89,7 +91,7 @@ export const getTopNavLinks = ({ testId: 'discoverOpenButton', run: () => showOpenSearchPanel({ - makeUrl: (searchId) => `#/view/${encodeURIComponent(searchId)}`, + onOpenSavedSearch, I18nContext: services.core.i18n.Context, }), }; diff --git a/src/plugins/discover/public/application/apps/main/components/top_nav/open_search_panel.test.tsx b/src/plugins/discover/public/application/apps/main/components/top_nav/open_search_panel.test.tsx index 5080d1d61c88a..dc5d3e81744db 100644 --- a/src/plugins/discover/public/application/apps/main/components/top_nav/open_search_panel.test.tsx +++ b/src/plugins/discover/public/application/apps/main/components/top_nav/open_search_panel.test.tsx @@ -29,7 +29,9 @@ import { OpenSearchPanel } from './open_search_panel'; describe('OpenSearchPanel', () => { test('render', () => { - const component = shallow(); + const component = shallow( + + ); expect(component).toMatchSnapshot(); }); @@ -40,7 +42,9 @@ describe('OpenSearchPanel', () => { delete: false, }, }); - const component = shallow(); + const component = shallow( + + ); expect(component.find('[data-test-subj="manageSearches"]').exists()).toBe(false); }); }); diff --git a/src/plugins/discover/public/application/apps/main/components/top_nav/open_search_panel.tsx b/src/plugins/discover/public/application/apps/main/components/top_nav/open_search_panel.tsx index 31026a1e0ab59..1b34e6ffa0b9a 100644 --- a/src/plugins/discover/public/application/apps/main/components/top_nav/open_search_panel.tsx +++ b/src/plugins/discover/public/application/apps/main/components/top_nav/open_search_panel.tsx @@ -27,7 +27,7 @@ const SEARCH_OBJECT_TYPE = 'search'; interface OpenSearchPanelProps { onClose: () => void; - makeUrl: (id: string) => string; + onOpenSavedSearch: (id: string) => void; } export function OpenSearchPanel(props: OpenSearchPanelProps) { @@ -70,7 +70,7 @@ export function OpenSearchPanel(props: OpenSearchPanelProps) { }, ]} onChoose={(id) => { - window.location.assign(props.makeUrl(id)); + props.onOpenSavedSearch(id); props.onClose(); }} uiSettings={uiSettings} diff --git a/src/plugins/discover/public/application/apps/main/components/top_nav/show_open_search_panel.tsx b/src/plugins/discover/public/application/apps/main/components/top_nav/show_open_search_panel.tsx index bb306396c4ca5..1a9bfd7e30c57 100644 --- a/src/plugins/discover/public/application/apps/main/components/top_nav/show_open_search_panel.tsx +++ b/src/plugins/discover/public/application/apps/main/components/top_nav/show_open_search_panel.tsx @@ -14,11 +14,11 @@ import { OpenSearchPanel } from './open_search_panel'; let isOpen = false; export function showOpenSearchPanel({ - makeUrl, I18nContext, + onOpenSavedSearch, }: { - makeUrl: (path: string) => string; I18nContext: I18nStart['Context']; + onOpenSavedSearch: (id: string) => void; }) { if (isOpen) { return; @@ -35,7 +35,7 @@ export function showOpenSearchPanel({ document.body.appendChild(container); const element = ( - + ); ReactDOM.render(element, container); diff --git a/src/plugins/discover/public/application/apps/main/components/uninitialized/uninitialized.tsx b/src/plugins/discover/public/application/apps/main/components/uninitialized/uninitialized.tsx index c6be5e6028bdd..c9e0c43900ba1 100644 --- a/src/plugins/discover/public/application/apps/main/components/uninitialized/uninitialized.tsx +++ b/src/plugins/discover/public/application/apps/main/components/uninitialized/uninitialized.tsx @@ -7,8 +7,7 @@ */ import React from 'react'; -import { FormattedMessage, I18nProvider } from '@kbn/i18n/react'; - +import { FormattedMessage } from '@kbn/i18n/react'; import { EuiButton, EuiEmptyPrompt } from '@elastic/eui'; interface Props { @@ -17,31 +16,29 @@ interface Props { export const DiscoverUninitialized = ({ onRefresh }: Props) => { return ( - - - - - } - body={ -

- -

- } - actions={ - - - - } - /> -
+ + + + } + body={ +

+ +

+ } + actions={ + + + + } + /> ); }; diff --git a/src/plugins/discover/public/application/apps/main/discover_main_app.tsx b/src/plugins/discover/public/application/apps/main/discover_main_app.tsx index 456f4ebfab62f..7ee9ab44f9a75 100644 --- a/src/plugins/discover/public/application/apps/main/discover_main_app.tsx +++ b/src/plugins/discover/public/application/apps/main/discover_main_app.tsx @@ -92,7 +92,7 @@ export function DiscoverMainApp(props: DiscoverMainProps) { addHelpMenuToAppChrome(chrome, docLinks); }, [stateContainer, chrome, docLinks]); - const resetQuery = useCallback(() => { + const resetCurrentSavedSearch = useCallback(() => { resetSavedSearch(savedSearch.id); }, [resetSavedSearch, savedSearch]); @@ -103,7 +103,7 @@ export function DiscoverMainApp(props: DiscoverMainProps) { inspectorAdapters={inspectorAdapters} onChangeIndexPattern={onChangeIndexPattern} onUpdateQuery={onUpdateQuery} - resetQuery={resetQuery} + resetSavedSearch={resetCurrentSavedSearch} navigateTo={navigateTo} savedSearch={savedSearch} savedSearchData$={data$} diff --git a/src/plugins/discover/public/application/apps/main/services/use_discover_state.ts b/src/plugins/discover/public/application/apps/main/services/use_discover_state.ts index afe010379cff3..e11a9937111a1 100644 --- a/src/plugins/discover/public/application/apps/main/services/use_discover_state.ts +++ b/src/plugins/discover/public/application/apps/main/services/use_discover_state.ts @@ -148,7 +148,8 @@ export function useDiscoverState({ const resetSavedSearch = useCallback( async (id?: string) => { const newSavedSearch = await services.getSavedSearchById(id); - newSavedSearch.searchSource.setField('index', indexPattern); + const newIndexPattern = newSavedSearch.searchSource.getField('index') || indexPattern; + newSavedSearch.searchSource.setField('index', newIndexPattern); const newAppState = getStateDefaults({ config, data, @@ -157,7 +158,7 @@ export function useDiscoverState({ await stateContainer.replaceUrlAppState(newAppState); setState(newAppState); }, - [services, indexPattern, config, data, stateContainer] + [indexPattern, services, config, data, stateContainer] ); /** diff --git a/src/plugins/discover/public/application/apps/main/utils/calc_field_counts.ts b/src/plugins/discover/public/application/apps/main/utils/calc_field_counts.ts index 57178776a97d4..1ce7023539be4 100644 --- a/src/plugins/discover/public/application/apps/main/utils/calc_field_counts.ts +++ b/src/plugins/discover/public/application/apps/main/utils/calc_field_counts.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import { IndexPattern } from '../../../../kibana_services'; +import type { IndexPattern } from 'src/plugins/data/common'; import { ElasticSearchHit } from '../../../doc_views/doc_views_types'; /** diff --git a/src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.ts b/src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.ts index 00f194662e410..ff082587172a0 100644 --- a/src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.ts +++ b/src/plugins/discover/public/application/apps/main/utils/get_switch_index_pattern_app_state.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import { IndexPattern } from '../../../../kibana_services'; +import type { IndexPattern } from 'src/plugins/data/common'; import { getSortArray, SortPairArr } from '../components/doc_table/lib/get_sort'; /** diff --git a/src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts b/src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts index a5149ea2b3dd7..226db12114de8 100644 --- a/src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts +++ b/src/plugins/discover/public/application/apps/main/utils/resolve_index_pattern.ts @@ -7,10 +7,8 @@ */ import { i18n } from '@kbn/i18n'; -import { IUiSettingsClient, SavedObject, ToastsStart } from 'kibana/public'; -import { IndexPattern } from '../../../../kibana_services'; -import { IndexPatternsContract, SearchSource } from '../../../../../../data/common'; - +import type { IndexPattern, IndexPatternsContract, SearchSource } from 'src/plugins/data/common'; +import type { IUiSettingsClient, SavedObject, ToastsStart } from 'kibana/public'; export type IndexPatternSavedObject = SavedObject & { title: string }; interface IndexPatternData { diff --git a/src/plugins/discover/public/application/components/discover_grid/constants.ts b/src/plugins/discover/public/application/components/discover_grid/constants.ts index 34e6ca20740ad..1126c6cbbf279 100644 --- a/src/plugins/discover/public/application/components/discover_grid/constants.ts +++ b/src/plugins/discover/public/application/components/discover_grid/constants.ts @@ -17,6 +17,7 @@ export const gridStyle = { export const pageSizeArr = [25, 50, 100, 250]; export const defaultPageSize = 100; +export const defaultTimeColumnWidth = 190; export const toolbarVisibility = { showColumnSelector: { allowHide: false, diff --git a/src/plugins/discover/public/application/components/discover_grid/discover_grid.tsx b/src/plugins/discover/public/application/components/discover_grid/discover_grid.tsx index e33d25c8693a6..ca0692a8c9039 100644 --- a/src/plugins/discover/public/application/components/discover_grid/discover_grid.tsx +++ b/src/plugins/discover/public/application/components/discover_grid/discover_grid.tsx @@ -21,7 +21,7 @@ import { EuiLoadingSpinner, EuiIcon, } from '@elastic/eui'; -import { IndexPattern } from '../../../kibana_services'; +import type { IndexPattern } from 'src/plugins/data/common'; import { DocViewFilterFn, ElasticSearchHit } from '../../doc_views/doc_views_types'; import { getSchemaDetectors } from './discover_grid_schema'; import { DiscoverGridFlyout } from './discover_grid_flyout'; @@ -36,7 +36,6 @@ import { import { defaultPageSize, gridStyle, pageSizeArr, toolbarVisibility } from './constants'; import { DiscoverServices } from '../../../build_services'; import { getDisplayedColumns } from '../../helpers/columns'; -import { KibanaContextProvider } from '../../../../../kibana_react/public'; import { MAX_DOC_FIELDS_DISPLAYED, SHOW_MULTIFIELDS } from '../../../../common'; import { DiscoverGridDocumentToolbarBtn, getDocId } from './discover_grid_document_selection'; import { SortPairArr } from '../../apps/main/components/doc_table/lib/get_sort'; @@ -385,41 +384,39 @@ export const DiscoverGrid = ({ data-document-number={displayedRows.length} className={className} > - - { - if (onResize) { - onResize(col); - } - }} - pagination={paginationObj} - renderCellValue={renderCellValue} - rowCount={rowCount} - schemaDetectors={schemaDetectors} - sorting={sorting as EuiDataGridSorting} - toolbarVisibility={ - defaultColumns - ? { - ...toolbarVisibility, - showColumnSelector: false, - showSortSelector: isSortEnabled, - additionalControls, - } - : { - ...toolbarVisibility, - showSortSelector: isSortEnabled, - additionalControls, - } + { + if (onResize) { + onResize(col); } - /> - + }} + pagination={paginationObj} + renderCellValue={renderCellValue} + rowCount={rowCount} + schemaDetectors={schemaDetectors} + sorting={sorting as EuiDataGridSorting} + toolbarVisibility={ + defaultColumns + ? { + ...toolbarVisibility, + showColumnSelector: false, + showSortSelector: isSortEnabled, + additionalControls, + } + : { + ...toolbarVisibility, + showSortSelector: isSortEnabled, + additionalControls, + } + } + /> {showDisclaimer && (

diff --git a/src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.test.tsx b/src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.test.tsx index 3cbac90aa39cb..46e30dd23525b 100644 --- a/src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.test.tsx +++ b/src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.test.tsx @@ -119,7 +119,7 @@ describe('Discover grid columns ', function () { ], "display": "Time (timestamp)", "id": "timestamp", - "initialWidth": 180, + "initialWidth": 190, "isSortable": true, "schema": "datetime", }, diff --git a/src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx b/src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx index 3a27772662b56..2f4c0b5167df8 100644 --- a/src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx +++ b/src/plugins/discover/public/application/components/discover_grid/discover_grid_columns.tsx @@ -11,10 +11,11 @@ import { i18n } from '@kbn/i18n'; import { EuiDataGridColumn, EuiScreenReaderOnly } from '@elastic/eui'; import { ExpandButton } from './discover_grid_expand_button'; import { DiscoverGridSettings } from './types'; -import { IndexPattern } from '../../../../../data/common/index_patterns/index_patterns'; +import type { IndexPattern } from '../../../../../data/common'; import { buildCellActions } from './discover_grid_cell_actions'; import { getSchemaByKbnType } from './discover_grid_schema'; import { SelectButton } from './discover_grid_document_selection'; +import { defaultTimeColumnWidth } from './constants'; export function getLeadControlColumns() { return [ @@ -88,7 +89,7 @@ export function buildEuiGridColumn( if (column.id === indexPattern.timeFieldName) { column.display = `${timeString} (${indexPattern.timeFieldName})`; - column.initialWidth = 180; + column.initialWidth = defaultTimeColumnWidth; } if (columnWidth > 0) { column.initialWidth = Number(columnWidth); diff --git a/src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx b/src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx index e57d3fb8362ae..0103ad3d98870 100644 --- a/src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx +++ b/src/plugins/discover/public/application/components/discover_grid/discover_grid_context.tsx @@ -7,8 +7,8 @@ */ import React from 'react'; +import type { IndexPattern } from 'src/plugins/data/common'; import { DocViewFilterFn, ElasticSearchHit } from '../../doc_views/doc_views_types'; -import { IndexPattern } from '../../../kibana_services'; export interface GridContext { expanded: ElasticSearchHit | undefined; diff --git a/src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx b/src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx index 2a97c5d0be819..e4b67c49689ab 100644 --- a/src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx +++ b/src/plugins/discover/public/application/components/discover_grid/discover_grid_flyout.tsx @@ -8,6 +8,7 @@ import React, { useMemo, useCallback } from 'react'; import { i18n } from '@kbn/i18n'; +import type { IndexPattern } from 'src/plugins/data/common'; import { EuiFlexGroup, EuiFlexItem, @@ -24,7 +25,6 @@ import { keys, } from '@elastic/eui'; import { DocViewer } from '../doc_viewer/doc_viewer'; -import { IndexPattern } from '../../../kibana_services'; import { DocViewFilterFn, ElasticSearchHit } from '../../doc_views/doc_views_types'; import { DiscoverServices } from '../../../build_services'; import { getContextUrl } from '../../helpers/get_context_url'; @@ -107,6 +107,7 @@ export function DiscoverGridFlyout({ size="m" data-test-subj="docTableDetailsFlyout" onKeyDown={onKeyDown} + ownFocus={false} > )} {activePage !== -1 && ( - + { // doc view is provided by a react component if (Component) { return ( - - - - - + + + ); } diff --git a/src/plugins/discover/public/application/components/source_viewer/__snapshots__/source_viewer.test.tsx.snap b/src/plugins/discover/public/application/components/source_viewer/__snapshots__/source_viewer.test.tsx.snap index dfded530c6983..3d4a9923fa8c8 100644 --- a/src/plugins/discover/public/application/components/source_viewer/__snapshots__/source_viewer.test.tsx.snap +++ b/src/plugins/discover/public/application/components/source_viewer/__snapshots__/source_viewer.test.tsx.snap @@ -472,12 +472,12 @@ exports[`Source Viewer component renders json code editor 1`] = ` > diff --git a/src/plugins/discover/public/application/components/source_viewer/source_viewer.test.tsx b/src/plugins/discover/public/application/components/source_viewer/source_viewer.test.tsx index 625ac93a335ac..d9e9199e6586a 100644 --- a/src/plugins/discover/public/application/components/source_viewer/source_viewer.test.tsx +++ b/src/plugins/discover/public/application/components/source_viewer/source_viewer.test.tsx @@ -7,6 +7,7 @@ */ import React from 'react'; +import type { IndexPattern } from 'src/plugins/data/common'; import { mountWithIntl } from '@kbn/test/jest'; import { SourceViewer } from './source_viewer'; import * as hooks from '../../services/use_es_doc_search'; @@ -18,7 +19,7 @@ jest.mock('../../../kibana_services', () => ({ getServices: jest.fn(), })); -import { getServices, IndexPattern } from '../../../kibana_services'; +import { getServices } from '../../../kibana_services'; const mockIndexPattern = { getComputedFields: () => [], diff --git a/src/plugins/discover/public/application/components/source_viewer/source_viewer.tsx b/src/plugins/discover/public/application/components/source_viewer/source_viewer.tsx index 1ec595c9d17f2..9e37ae8f8bf93 100644 --- a/src/plugins/discover/public/application/components/source_viewer/source_viewer.tsx +++ b/src/plugins/discover/public/application/components/source_viewer/source_viewer.tsx @@ -127,3 +127,7 @@ export const SourceViewer = ({ /> ); }; + +// Required for usage in React.lazy +// eslint-disable-next-line import/no-default-export +export default SourceViewer; diff --git a/src/plugins/discover/public/application/components/table/table.test.tsx b/src/plugins/discover/public/application/components/table/table.test.tsx index da6820ba4a70a..589c97b400eb4 100644 --- a/src/plugins/discover/public/application/components/table/table.test.tsx +++ b/src/plugins/discover/public/application/components/table/table.test.tsx @@ -7,9 +7,8 @@ */ import React from 'react'; -import { mount } from 'enzyme'; +import { mountWithIntl } from '@kbn/test/jest'; import { findTestSubject } from '@elastic/eui/lib/test'; -import { I18nProvider } from '@kbn/i18n/react'; import { DocViewerTable, DocViewerTableProps } from './table'; import { indexPatterns, IndexPattern } from '../../../../../data/public'; import { ElasticSearchHit } from '../../doc_views/doc_views_types'; @@ -77,11 +76,7 @@ indexPattern.fields.getByName = (name: string) => { indexPattern.flattenHit = indexPatterns.flattenHitWrapper(indexPattern, indexPattern.metaFields); const mountComponent = (props: DocViewerTableProps) => { - return mount( - - - - ); + return mountWithIntl(); }; describe('DocViewTable at Discover', () => { diff --git a/src/plugins/discover/public/application/components/table/table.tsx b/src/plugins/discover/public/application/components/table/table.tsx index 456103c776566..e89b27e8069f1 100644 --- a/src/plugins/discover/public/application/components/table/table.tsx +++ b/src/plugins/discover/public/application/components/table/table.tsx @@ -145,3 +145,7 @@ export const DocViewerTable = ({ /> ); }; + +// Required for usage in React.lazy +// eslint-disable-next-line import/no-default-export +export default DocViewerTable; diff --git a/src/plugins/discover/public/application/discover_router.tsx b/src/plugins/discover/public/application/discover_router.tsx index 7c7921935a7fa..320ce3e5f644a 100644 --- a/src/plugins/discover/public/application/discover_router.tsx +++ b/src/plugins/discover/public/application/discover_router.tsx @@ -23,8 +23,8 @@ export const discoverRouter = (services: DiscoverServices, history: History) => history, }; return ( - - + + } /> - - + + ); }; diff --git a/src/plugins/discover/public/application/helpers/use_data_grid_columns.ts b/src/plugins/discover/public/application/helpers/use_data_grid_columns.ts index 66e8889bcb062..4dbe14017dc6e 100644 --- a/src/plugins/discover/public/application/helpers/use_data_grid_columns.ts +++ b/src/plugins/discover/public/application/helpers/use_data_grid_columns.ts @@ -7,9 +7,9 @@ */ import { useMemo } from 'react'; +import type { IndexPattern, IndexPatternsContract } from 'src/plugins/data/common'; import { Capabilities, IUiSettingsClient } from 'kibana/public'; -import { IndexPattern, IndexPatternsContract } from '../../kibana_services'; import { AppState as DiscoverState, GetStateReturn as DiscoverGetStateReturn, diff --git a/src/plugins/discover/public/application/index.tsx b/src/plugins/discover/public/application/index.tsx index 4ac50eecd518a..f6c7d60ed7db8 100644 --- a/src/plugins/discover/public/application/index.tsx +++ b/src/plugins/discover/public/application/index.tsx @@ -5,14 +5,12 @@ * in compliance with, at your election, the Elastic License 2.0 or the Server * Side Public License, v 1. */ -import ReactDOM from 'react-dom'; - -import { AppMountParameters } from 'kibana/public'; import { i18n } from '@kbn/i18n'; import { getServices } from '../kibana_services'; import { discoverRouter } from './discover_router'; +import { toMountPoint } from '../../../kibana_react/public'; -export const renderApp = ({ element }: AppMountParameters) => { +export const renderApp = (element: HTMLElement) => { const services = getServices(); const { history: getHistory, capabilities, chrome, data } = services; @@ -28,11 +26,10 @@ export const renderApp = ({ element }: AppMountParameters) => { iconType: 'glasses', }); } - const app = discoverRouter(services, history); - ReactDOM.render(app, element); + const unmount = toMountPoint(discoverRouter(services, history))(element); return () => { + unmount(); data.search.session.clear(); - ReactDOM.unmountComponentAtNode(element); }; }; diff --git a/src/plugins/discover/public/kibana_services.ts b/src/plugins/discover/public/kibana_services.ts index 1e92c0e4c2f1d..72925a1578c30 100644 --- a/src/plugins/discover/public/kibana_services.ts +++ b/src/plugins/discover/public/kibana_services.ts @@ -6,13 +6,12 @@ * Side Public License, v 1. */ -import _ from 'lodash'; +import { once } from 'lodash'; import { createHashHistory } from 'history'; -import { ScopedHistory, AppMountParameters } from 'kibana/public'; -import { UiActionsStart } from 'src/plugins/ui_actions/public'; +import type { ScopedHistory, AppMountParameters } from 'kibana/public'; +import type { UiActionsStart } from 'src/plugins/ui_actions/public'; import { DiscoverServices } from './build_services'; import { createGetterSetter } from '../../kibana_utils/public'; -import { search } from '../../data/public'; import { DocViewsRegistry } from './application/doc_views/doc_views_registry'; let services: DiscoverServices | null = null; @@ -48,7 +47,7 @@ export const [getDocViewsRegistry, setDocViewsRegistry] = createGetterSetter { +export const getHistory = once(() => { const history = createHashHistory(); history.listen(() => { // keep at least one listener so that `history.location` always in sync @@ -72,18 +71,3 @@ export const syncHistoryLocations = () => { export const [getScopedHistory, setScopedHistory] = createGetterSetter( 'scopedHistory' ); - -export const { tabifyAggResponse } = search; -export { unhashUrl, redirectWhenMissing } from '../../kibana_utils/public'; -export { formatMsg, formatStack, subscribeWithScope } from '../../kibana_legacy/public'; - -// EXPORT types -export { - IndexPatternsContract, - IndexPattern, - indexPatterns, - IndexPatternField, - ISearchSource, - EsQuerySortValue, - SortDirection, -} from '../../data/public'; diff --git a/src/plugins/discover/public/plugin.tsx b/src/plugins/discover/public/plugin.tsx index c43c759c5d344..4624fa79ca14b 100644 --- a/src/plugins/discover/public/plugin.tsx +++ b/src/plugins/discover/public/plugin.tsx @@ -27,6 +27,7 @@ import { KibanaLegacySetup, KibanaLegacyStart } from 'src/plugins/kibana_legacy/ import { UrlForwardingSetup, UrlForwardingStart } from 'src/plugins/url_forwarding/public'; import { HomePublicPluginSetup } from 'src/plugins/home/public'; import { Start as InspectorPublicPluginStart } from 'src/plugins/inspector/public'; +import { EuiLoadingContent } from '@elastic/eui'; import { DataPublicPluginStart, DataPublicPluginSetup, esFilters } from '../../data/public'; import { SavedObjectLoader, SavedObjectsStart } from '../../saved_objects/public'; import { createKbnUrlTracker } from '../../kibana_utils/public'; @@ -34,7 +35,6 @@ import { DEFAULT_APP_CATEGORIES } from '../../../core/public'; import { UrlGeneratorState } from '../../share/public'; import { DocViewInput, DocViewInputFn } from './application/doc_views/doc_views_types'; import { DocViewsRegistry } from './application/doc_views/doc_views_registry'; -import { DocViewerTable } from './application/components/table/table'; import { setDocViewsRegistry, setUrlTracker, @@ -59,7 +59,7 @@ import { SearchEmbeddableFactory } from './application/embeddable'; import { UsageCollectionSetup } from '../../usage_collection/public'; import { replaceUrlHashQuery } from '../../kibana_utils/public/'; import { IndexPatternFieldEditorStart } from '../../../plugins/index_pattern_field_editor/public'; -import { SourceViewer } from './application/components/source_viewer/source_viewer'; +import { DeferredSpinner } from './shared'; declare module '../../share/public' { export interface UrlGeneratorStateMapping { @@ -67,6 +67,12 @@ declare module '../../share/public' { } } +const DocViewerTable = React.lazy(() => import('./application/components/table/table')); + +const SourceViewer = React.lazy( + () => import('./application/components/source_viewer/source_viewer') +); + /** * @public */ @@ -232,7 +238,17 @@ export class DiscoverPlugin defaultMessage: 'Table', }), order: 10, - component: DocViewerTable, + component: (props) => ( + + + + } + > + + + ), }); this.docViewsRegistry.addDocView({ title: i18n.translate('discover.docViews.json.jsonTitle', { @@ -240,12 +256,20 @@ export class DiscoverPlugin }), order: 20, component: ({ hit, indexPattern }) => ( - + + + + } + > + + ), }); @@ -320,10 +344,9 @@ export class DiscoverPlugin // make sure the index pattern list is up to date await depsStart.data.indexPatterns.clearCache(); - const { renderApp } = await import('./application/application'); - const unmount = await renderApp('discover', params.element); + const { renderApp } = await import('./application'); + const unmount = renderApp(params.element); return () => { - params.element.classList.remove('dscAppWrapper'); unlistenParentHistory(); unmount(); appUnMounted(); diff --git a/src/plugins/discover/public/shared/components.tsx b/src/plugins/discover/public/shared/components.tsx new file mode 100644 index 0000000000000..11f77281f9eb0 --- /dev/null +++ b/src/plugins/discover/public/shared/components.tsx @@ -0,0 +1,32 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import React, { useEffect, useRef, useState } from 'react'; + +/** + * A component that shows it children with a 300ms delay. This is good for wrapping + * loading spinners for tasks that might potentially be very fast (e.g. loading async chunks). + * That way we don't show a quick flash of the spinner before the actual content and will only + * show the spinner once loading takes a bit longer (more than 300ms). + */ +export const DeferredSpinner: React.FC = ({ children }) => { + const timeoutRef = useRef(); + const [showContent, setShowContent] = useState(false); + useEffect(() => { + timeoutRef.current = window.setTimeout(() => { + setShowContent(true); + }, 300); + return () => { + if (timeoutRef.current) { + clearTimeout(timeoutRef.current); + } + }; + }, []); + + return showContent ? {children} : null; +}; diff --git a/src/plugins/discover/public/shared/index.ts b/src/plugins/discover/public/shared/index.ts index c82ac074db111..7471e1293baa0 100644 --- a/src/plugins/discover/public/shared/index.ts +++ b/src/plugins/discover/public/shared/index.ts @@ -12,3 +12,5 @@ export async function loadSharingDataHelpers() { return await import('../application/apps/main/utils/get_sharing_data'); } + +export { DeferredSpinner } from './components'; diff --git a/src/plugins/embeddable/jest.config.js b/src/plugins/embeddable/jest.config.js index 6ac4e4486fcfd..37080a605e3d5 100644 --- a/src/plugins/embeddable/jest.config.js +++ b/src/plugins/embeddable/jest.config.js @@ -11,4 +11,7 @@ module.exports = { rootDir: '../../..', roots: ['/src/plugins/embeddable'], testRunner: 'jasmine2', + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/embeddable', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/src/plugins/embeddable/{common,public,server}/**/*.{ts,tsx}'], }; diff --git a/src/plugins/es_ui_shared/jest.config.js b/src/plugins/es_ui_shared/jest.config.js index cf525397bd75c..c311f5d9df2ed 100644 --- a/src/plugins/es_ui_shared/jest.config.js +++ b/src/plugins/es_ui_shared/jest.config.js @@ -10,4 +10,9 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/es_ui_shared'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/es_ui_shared', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/plugins/es_ui_shared/{__packages_do_not_import__,common,public,server,static}/**/*.{ts,tsx}', + ], }; diff --git a/src/plugins/expression_error/jest.config.js b/src/plugins/expression_error/jest.config.js index 64f3e9292ff07..27774f4003f9e 100644 --- a/src/plugins/expression_error/jest.config.js +++ b/src/plugins/expression_error/jest.config.js @@ -10,4 +10,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/expression_error'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/expression_error', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/src/plugins/expression_error/{common,public}/**/*.{ts,tsx}'], }; diff --git a/src/plugins/expression_image/jest.config.js b/src/plugins/expression_image/jest.config.js index 3d5bc9f184c6a..ccefa3c20699e 100644 --- a/src/plugins/expression_image/jest.config.js +++ b/src/plugins/expression_image/jest.config.js @@ -10,4 +10,9 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/expression_image'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/expression_image', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/plugins/expression_image/{common,public,server}/**/*.{ts,tsx}', + ], }; diff --git a/src/plugins/expression_metric/jest.config.js b/src/plugins/expression_metric/jest.config.js index 517409460895e..23546fc334816 100644 --- a/src/plugins/expression_metric/jest.config.js +++ b/src/plugins/expression_metric/jest.config.js @@ -10,4 +10,9 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/expression_metric'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/expression_metric', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/plugins/expression_metric/{common,public,server}/**/*.{ts,tsx}', + ], }; diff --git a/src/plugins/expression_repeat_image/jest.config.js b/src/plugins/expression_repeat_image/jest.config.js index cf1039263840b..b30d782ef6e0e 100644 --- a/src/plugins/expression_repeat_image/jest.config.js +++ b/src/plugins/expression_repeat_image/jest.config.js @@ -10,4 +10,9 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/expression_repeat_image'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/expression_repeat_image', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/plugins/expression_repeat_image/{common,public,server}/**/*.{ts,tsx}', + ], }; diff --git a/src/plugins/expression_reveal_image/jest.config.js b/src/plugins/expression_reveal_image/jest.config.js index aac5fad293846..c1d7fead721f5 100644 --- a/src/plugins/expression_reveal_image/jest.config.js +++ b/src/plugins/expression_reveal_image/jest.config.js @@ -10,4 +10,9 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/expression_reveal_image'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/expression_reveal_image', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/plugins/expression_reveal_image/{common,public,server}/**/*.{ts,tsx}', + ], }; diff --git a/src/plugins/expression_shape/jest.config.js b/src/plugins/expression_shape/jest.config.js index a390c0154bbd0..bb2603cb012eb 100644 --- a/src/plugins/expression_shape/jest.config.js +++ b/src/plugins/expression_shape/jest.config.js @@ -10,4 +10,9 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/expression_shape'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/expression_shape', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/plugins/expression_shape/{common,public,server}/**/*.{ts,tsx}', + ], }; diff --git a/src/plugins/expressions/jest.config.js b/src/plugins/expressions/jest.config.js index 721312f7d886c..24f27aadedd7b 100644 --- a/src/plugins/expressions/jest.config.js +++ b/src/plugins/expressions/jest.config.js @@ -10,4 +10,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/expressions'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/expressions', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/src/plugins/expressions/{common,public,server}/**/*.{ts,tsx}'], }; diff --git a/src/plugins/field_formats/jest.config.js b/src/plugins/field_formats/jest.config.js index ea20fcfec6d09..6fc68ab97526e 100644 --- a/src/plugins/field_formats/jest.config.js +++ b/src/plugins/field_formats/jest.config.js @@ -10,4 +10,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/field_formats'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/field_formats', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/src/plugins/field_formats/{common,public,server}/**/*.{ts,tsx}'], }; diff --git a/src/plugins/home/common/instruction_variant.ts b/src/plugins/home/common/instruction_variant.ts index f27b2c97bdc1e..66c841cdc8b56 100644 --- a/src/plugins/home/common/instruction_variant.ts +++ b/src/plugins/home/common/instruction_variant.ts @@ -48,7 +48,7 @@ const DISPLAY_MAP = { [INSTRUCTION_VARIANT.LINUX]: 'Linux', [INSTRUCTION_VARIANT.PHP]: 'PHP', [INSTRUCTION_VARIANT.FLEET]: i18n.translate('home.tutorial.instruction_variant.fleet', { - defaultMessage: 'Elastic APM (beta) in Fleet', + defaultMessage: 'Elastic APM in Fleet', }), }; diff --git a/src/plugins/home/jest.config.js b/src/plugins/home/jest.config.js index 5107cc001d32f..c7450ebbf3104 100644 --- a/src/plugins/home/jest.config.js +++ b/src/plugins/home/jest.config.js @@ -10,4 +10,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/home'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/home', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/src/plugins/home/{common,public,server}/**/*.{js,ts,tsx}'], }; diff --git a/src/plugins/home/public/application/components/__snapshots__/recently_accessed.test.js.snap b/src/plugins/home/public/application/components/__snapshots__/recently_accessed.test.js.snap index c9fd411ab6070..09ca9c0c16f8a 100644 --- a/src/plugins/home/public/application/components/__snapshots__/recently_accessed.test.js.snap +++ b/src/plugins/home/public/application/components/__snapshots__/recently_accessed.test.js.snap @@ -45,6 +45,7 @@ exports[`render 1`] = ` anchorClassName="homRecentlyAccessed__anchor" content="label0" delay="regular" + display="inlineBlock" position="bottom" > /src/plugins/index_pattern_editor'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/index_pattern_editor', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/src/plugins/index_pattern_editor/public/**/*.{ts,tsx}'], }; diff --git a/src/plugins/index_pattern_field_editor/jest.config.js b/src/plugins/index_pattern_field_editor/jest.config.js index fc358c37116c9..e1f8f57038e26 100644 --- a/src/plugins/index_pattern_field_editor/jest.config.js +++ b/src/plugins/index_pattern_field_editor/jest.config.js @@ -10,4 +10,9 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/index_pattern_field_editor'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/index_pattern_field_editor', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/plugins/index_pattern_field_editor/{common,public,server}/**/*.{ts,tsx}', + ], }; diff --git a/src/plugins/index_pattern_management/jest.config.js b/src/plugins/index_pattern_management/jest.config.js index 8383d3bb6110d..6249d44e6b31f 100644 --- a/src/plugins/index_pattern_management/jest.config.js +++ b/src/plugins/index_pattern_management/jest.config.js @@ -11,4 +11,9 @@ module.exports = { rootDir: '../../..', roots: ['/src/plugins/index_pattern_management'], testRunner: 'jasmine2', + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/index_pattern_management', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/plugins/index_pattern_management/{public,server}/**/*.{ts,tsx}', + ], }; diff --git a/src/plugins/input_control_vis/jest.config.js b/src/plugins/input_control_vis/jest.config.js index 060ab9ff1a126..207a0b5265417 100644 --- a/src/plugins/input_control_vis/jest.config.js +++ b/src/plugins/input_control_vis/jest.config.js @@ -10,4 +10,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/input_control_vis'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/input_control_vis', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/src/plugins/input_control_vis/public/**/*.{ts,tsx}'], }; diff --git a/src/plugins/input_control_vis/public/components/vis/__snapshots__/form_row.test.tsx.snap b/src/plugins/input_control_vis/public/components/vis/__snapshots__/form_row.test.tsx.snap index ba183cc40b126..8a4f9b930f4a7 100644 --- a/src/plugins/input_control_vis/public/components/vis/__snapshots__/form_row.test.tsx.snap +++ b/src/plugins/input_control_vis/public/components/vis/__snapshots__/form_row.test.tsx.snap @@ -14,6 +14,7 @@ exports[`renders control with warning 1`] = `

diff --git a/src/plugins/inspector/jest.config.js b/src/plugins/inspector/jest.config.js index 67e90f449fa76..3583a69a94bd9 100644 --- a/src/plugins/inspector/jest.config.js +++ b/src/plugins/inspector/jest.config.js @@ -10,4 +10,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/inspector'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/inspector', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/src/plugins/inspector/{common,public}/**/*.{ts,tsx}'], }; diff --git a/src/plugins/interactive_setup/jest.config.js b/src/plugins/interactive_setup/jest.config.js index e9f1f479d66aa..e187f7b31e2fc 100644 --- a/src/plugins/interactive_setup/jest.config.js +++ b/src/plugins/interactive_setup/jest.config.js @@ -10,4 +10,9 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/interactive_setup'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/interactive_setup', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/plugins/interactive_setup/{common,public,server}/**/*.{ts,tsx}', + ], }; diff --git a/src/plugins/kibana_legacy/jest.config.js b/src/plugins/kibana_legacy/jest.config.js index c9b571b13f13f..a2bdf5649f900 100644 --- a/src/plugins/kibana_legacy/jest.config.js +++ b/src/plugins/kibana_legacy/jest.config.js @@ -10,4 +10,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/kibana_legacy'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/kibana_legacy', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/src/plugins/kibana_legacy/public/**/*.{js,ts,tsx}'], }; diff --git a/src/plugins/kibana_overview/jest.config.js b/src/plugins/kibana_overview/jest.config.js index 4862a4967a3ca..00cf46dfe2f80 100644 --- a/src/plugins/kibana_overview/jest.config.js +++ b/src/plugins/kibana_overview/jest.config.js @@ -10,4 +10,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/kibana_overview'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/kibana_overview', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/src/plugins/kibana_overview/{common,public}/**/*.{js,ts,tsx}'], }; diff --git a/src/plugins/kibana_react/jest.config.js b/src/plugins/kibana_react/jest.config.js index 159f7b01795dc..35bf9df51d615 100644 --- a/src/plugins/kibana_react/jest.config.js +++ b/src/plugins/kibana_react/jest.config.js @@ -10,4 +10,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/kibana_react'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/kibana_react', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/src/plugins/kibana_react/{common,public}/**/*.{ts,tsx}'], }; diff --git a/src/plugins/kibana_react/public/code_editor/__snapshots__/code_editor.test.tsx.snap b/src/plugins/kibana_react/public/code_editor/__snapshots__/code_editor.test.tsx.snap index 7b2729d2e1b68..d85f96382e803 100644 --- a/src/plugins/kibana_react/public/code_editor/__snapshots__/code_editor.test.tsx.snap +++ b/src/plugins/kibana_react/public/code_editor/__snapshots__/code_editor.test.tsx.snap @@ -164,7 +164,6 @@ exports[` is rendered 1`] = ` > diff --git a/src/plugins/kibana_usage_collection/README.md b/src/plugins/kibana_usage_collection/README.md index 1cb14cdef647e..4ea014457fd07 100644 --- a/src/plugins/kibana_usage_collection/README.md +++ b/src/plugins/kibana_usage_collection/README.md @@ -9,7 +9,7 @@ This plugin registers the Platform Usage Collectors in Kibana. | **Config Usage** | Reports the non-default values set via `kibana.yml` config file or CLI options. It `[redacts]` any potential PII-sensitive values. | [Link](./server/collectors/config_usage/README.md) | | **User-changed UI Settings** | Reports all the UI Settings that have been overwritten by the user. It `[redacts]` any potential PII-sensitive values. | [Link](./server/collectors/management/README.md) | | **CSP configuration** | Reports the key values regarding the CSP configuration. | - | -| **Kibana** | It reports the number of Saved Objects per type. It is limited to `dashboard`, `visualization`, `search`, `index-pattern`, `graph-workspace` and `timelion-sheet`.
It exists for legacy purposes, and may still be used by Monitoring via Metricbeat. | - | +| **Kibana** | It reports the number of Saved Objects per type. It is limited to `dashboard`, `visualization`, `search`, `index-pattern`, `graph-workspace`.
It exists for legacy purposes, and may still be used by Monitoring via Metricbeat. | - | | **Saved Objects Counts** | Number of Saved Objects per type. | - | | **Localization data** | Localization settings: setup locale and installed translation files. | - | | **Ops stats** | Operation metrics from the system. | - | diff --git a/src/plugins/kibana_usage_collection/jest.config.js b/src/plugins/kibana_usage_collection/jest.config.js index f199984a6ad6d..a52c3eb8cc06c 100644 --- a/src/plugins/kibana_usage_collection/jest.config.js +++ b/src/plugins/kibana_usage_collection/jest.config.js @@ -10,4 +10,9 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/kibana_usage_collection'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/kibana_usage_collection', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/plugins/kibana_usage_collection/{common,server}/**/*.{ts,tsx}', + ], }; diff --git a/src/plugins/kibana_usage_collection/server/collectors/application_usage/schema.ts b/src/plugins/kibana_usage_collection/server/collectors/application_usage/schema.ts index d29d6d6a86e85..5f268a6fdfee7 100644 --- a/src/plugins/kibana_usage_collection/server/collectors/application_usage/schema.ts +++ b/src/plugins/kibana_usage_collection/server/collectors/application_usage/schema.ts @@ -124,7 +124,6 @@ export const applicationUsageSchema = { kibana: commonSchema, // It's a forward app so we'll likely never report it management: commonSchema, short_url_redirect: commonSchema, // It's a forward app so we'll likely never report it - timelion: commonSchema, visualize: commonSchema, error: commonSchema, status: commonSchema, diff --git a/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/aws.test.ts b/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/aws.test.ts index 0bba64823a3e2..68583502d3c9a 100644 --- a/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/aws.test.ts +++ b/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/aws.test.ts @@ -6,120 +6,120 @@ * Side Public License, v 1. */ -import fs from 'fs'; -import type { Request, RequestOptions } from './cloud_service'; +/* eslint-disable dot-notation */ +jest.mock('node-fetch'); +jest.mock('fs/promises'); import { AWSCloudService, AWSResponse } from './aws'; -type Callback = (err: unknown, res: unknown) => void; - -const AWS = new AWSCloudService(); +// eslint-disable-next-line @typescript-eslint/no-var-requires +const fetchMock = require('node-fetch') as jest.Mock; +// eslint-disable-next-line @typescript-eslint/no-var-requires +const { readFile } = require('fs/promises') as { readFile: jest.Mock }; describe('AWS', () => { - const expectedFilenames = ['/sys/hypervisor/uuid', '/sys/devices/virtual/dmi/id/product_uuid']; - const expectedEncoding = 'utf8'; - // mixed case to ensure we check for ec2 after lowercasing - const ec2Uuid = 'eC2abcdef-ghijk\n'; - const ec2FileSystem = { - readFile: (filename: string, encoding: string, callback: Callback) => { - expect(expectedFilenames).toContain(filename); - expect(encoding).toEqual(expectedEncoding); - - callback(null, ec2Uuid); - }, - } as typeof fs; + const mockIsWindows = jest.fn(); + const awsService = new AWSCloudService(); + awsService['_isWindows'] = mockIsWindows.mockReturnValue(false); + readFile.mockResolvedValue('eC2abcdef-ghijk\n'); + beforeEach(() => jest.clearAllMocks()); it('is named "aws"', () => { - expect(AWS.getName()).toEqual('aws'); + expect(awsService.getName()).toEqual('aws'); }); describe('_checkIfService', () => { it('handles expected response', async () => { const id = 'abcdef'; - const request = ((req: RequestOptions, callback: Callback) => { - expect(req.method).toEqual('GET'); - expect(req.uri).toEqual( - 'http://169.254.169.254/2016-09-02/dynamic/instance-identity/document' - ); - expect(req.json).toEqual(true); - - const body = `{"instanceId": "${id}","availabilityZone":"us-fake-2c", "imageId" : "ami-6df1e514"}`; - - callback(null, { statusCode: 200, body }); - }) as Request; - // ensure it does not use the fs to trump the body - const awsCheckedFileSystem = new AWSCloudService({ - _fs: ec2FileSystem, - _isWindows: false, + + fetchMock.mockResolvedValue({ + json: () => + `{"instanceId": "${id}","availabilityZone":"us-fake-2c", "imageId" : "ami-6df1e514"}`, + status: 200, + ok: true, }); - const response = await awsCheckedFileSystem._checkIfService(request); + const response = await awsService['_checkIfService'](); + expect(readFile).toBeCalledTimes(0); + expect(fetchMock).toBeCalledTimes(1); + expect(fetchMock).toBeCalledWith( + 'http://169.254.169.254/2016-09-02/dynamic/instance-identity/document', + { + method: 'GET', + } + ); expect(response.isConfirmed()).toEqual(true); - expect(response.toJSON()).toEqual({ - name: AWS.getName(), - id, - region: undefined, - vm_type: undefined, - zone: 'us-fake-2c', - metadata: { - imageId: 'ami-6df1e514', - }, - }); + expect(response.toJSON()).toMatchInlineSnapshot(` + Object { + "id": "abcdef", + "metadata": Object { + "imageId": "ami-6df1e514", + }, + "name": "aws", + "region": undefined, + "vm_type": undefined, + "zone": "us-fake-2c", + } + `); }); it('handles request without a usable body by downgrading to UUID detection', async () => { - const request = ((_req: RequestOptions, callback: Callback) => - callback(null, { statusCode: 404 })) as Request; - const awsCheckedFileSystem = new AWSCloudService({ - _fs: ec2FileSystem, - _isWindows: false, + fetchMock.mockResolvedValue({ + json: () => null, + status: 200, + ok: true, }); - const response = await awsCheckedFileSystem._checkIfService(request); + const response = await awsService['_checkIfService'](); expect(response.isConfirmed()).toBe(true); - expect(response.toJSON()).toEqual({ - name: AWS.getName(), - id: ec2Uuid.trim().toLowerCase(), - region: undefined, - vm_type: undefined, - zone: undefined, - metadata: undefined, - }); + expect(response.toJSON()).toMatchInlineSnapshot(` + Object { + "id": "ec2abcdef-ghijk", + "metadata": undefined, + "name": "aws", + "region": undefined, + "vm_type": undefined, + "zone": undefined, + } + `); }); it('handles request failure by downgrading to UUID detection', async () => { - const failedRequest = ((_req: RequestOptions, callback: Callback) => - callback(new Error('expected: request failed'), null)) as Request; - const awsCheckedFileSystem = new AWSCloudService({ - _fs: ec2FileSystem, - _isWindows: false, + fetchMock.mockResolvedValue({ + status: 404, + ok: false, }); - const response = await awsCheckedFileSystem._checkIfService(failedRequest); + const response = await awsService['_checkIfService'](); expect(response.isConfirmed()).toBe(true); - expect(response.toJSON()).toEqual({ - name: AWS.getName(), - id: ec2Uuid.trim().toLowerCase(), - region: undefined, - vm_type: undefined, - zone: undefined, - metadata: undefined, - }); + expect(response.toJSON()).toMatchInlineSnapshot(` + Object { + "id": "ec2abcdef-ghijk", + "metadata": undefined, + "name": "aws", + "region": undefined, + "vm_type": undefined, + "zone": undefined, + } + `); }); it('handles not running on AWS', async () => { - const failedRequest = ((_req: RequestOptions, callback: Callback) => - callback(null, null)) as Request; - const awsIgnoredFileSystem = new AWSCloudService({ - _fs: ec2FileSystem, - _isWindows: true, + fetchMock.mockResolvedValue({ + json: () => null, + status: 404, + ok: false, }); - const response = await awsIgnoredFileSystem._checkIfService(failedRequest); + mockIsWindows.mockReturnValue(true); + + const response = await awsService['_checkIfService'](); + expect(mockIsWindows).toBeCalledTimes(1); + expect(readFile).toBeCalledTimes(0); - expect(response.getName()).toEqual(AWS.getName()); + expect(response.getName()).toEqual('aws'); expect(response.isConfirmed()).toBe(false); }); }); @@ -144,10 +144,10 @@ describe('AWS', () => { marketplaceProductCodes: null, }; - const response = AWSCloudService.parseBody(AWS.getName(), body)!; + const response = awsService.parseBody(body)!; expect(response).not.toBeNull(); - expect(response.getName()).toEqual(AWS.getName()); + expect(response.getName()).toEqual('aws'); expect(response.isConfirmed()).toEqual(true); expect(response.toJSON()).toEqual({ name: 'aws', @@ -169,141 +169,84 @@ describe('AWS', () => { it('ignores unexpected response body', () => { // @ts-expect-error - expect(AWSCloudService.parseBody(AWS.getName(), undefined)).toBe(null); + expect(awsService.parseBody(undefined)).toBe(null); // @ts-expect-error - expect(AWSCloudService.parseBody(AWS.getName(), null)).toBe(null); + expect(awsService.parseBody(null)).toBe(null); // @ts-expect-error - expect(AWSCloudService.parseBody(AWS.getName(), {})).toBe(null); + expect(awsService.parseBody({})).toBe(null); // @ts-expect-error - expect(AWSCloudService.parseBody(AWS.getName(), { privateIp: 'a.b.c.d' })).toBe(null); + expect(awsService.parseBody({ privateIp: 'a.b.c.d' })).toBe(null); }); }); - describe('_tryToDetectUuid', () => { + describe('tryToDetectUuid', () => { describe('checks the file system for UUID if not Windows', () => { - it('checks /sys/hypervisor/uuid', async () => { - const awsCheckedFileSystem = new AWSCloudService({ - _fs: { - readFile: (filename: string, encoding: string, callback: Callback) => { - expect(expectedFilenames).toContain(filename); - expect(encoding).toEqual(expectedEncoding); - - callback(null, ec2Uuid); - }, - } as typeof fs, - _isWindows: false, - }); + beforeAll(() => mockIsWindows.mockReturnValue(false)); - const response = await awsCheckedFileSystem._tryToDetectUuid(); + it('checks /sys/hypervisor/uuid and /sys/devices/virtual/dmi/id/product_uuid', async () => { + const response = await awsService['tryToDetectUuid'](); - expect(response.isConfirmed()).toEqual(true); - expect(response.toJSON()).toEqual({ - name: AWS.getName(), - id: ec2Uuid.trim().toLowerCase(), - region: undefined, - zone: undefined, - vm_type: undefined, - metadata: undefined, - }); - }); + readFile.mockImplementation(async (filename: string, encoding: string) => { + expect(['/sys/hypervisor/uuid', '/sys/devices/virtual/dmi/id/product_uuid']).toContain( + filename + ); + expect(encoding).toEqual('utf8'); - it('checks /sys/devices/virtual/dmi/id/product_uuid', async () => { - const awsCheckedFileSystem = new AWSCloudService({ - _fs: { - readFile: (filename: string, encoding: string, callback: Callback) => { - expect(expectedFilenames).toContain(filename); - expect(encoding).toEqual(expectedEncoding); - - callback(null, ec2Uuid); - }, - } as typeof fs, - _isWindows: false, + return 'eC2abcdef-ghijk\n'; }); - const response = await awsCheckedFileSystem._tryToDetectUuid(); - + expect(readFile).toBeCalledTimes(2); expect(response.isConfirmed()).toEqual(true); - expect(response.toJSON()).toEqual({ - name: AWS.getName(), - id: ec2Uuid.trim().toLowerCase(), - region: undefined, - zone: undefined, - vm_type: undefined, - metadata: undefined, - }); + expect(response.toJSON()).toMatchInlineSnapshot(` + Object { + "id": "ec2abcdef-ghijk", + "metadata": undefined, + "name": "aws", + "region": undefined, + "vm_type": undefined, + "zone": undefined, + } + `); }); it('returns confirmed if only one file exists', async () => { - let callCount = 0; - const awsCheckedFileSystem = new AWSCloudService({ - _fs: { - readFile: (filename: string, encoding: string, callback: Callback) => { - if (callCount === 0) { - callCount++; - throw new Error('oops'); - } - callback(null, ec2Uuid); - }, - } as typeof fs, - _isWindows: false, - }); + readFile.mockRejectedValueOnce(new Error('oops')); + readFile.mockResolvedValueOnce('ec2Uuid'); - const response = await awsCheckedFileSystem._tryToDetectUuid(); + const response = await awsService['tryToDetectUuid'](); + expect(readFile).toBeCalledTimes(2); expect(response.isConfirmed()).toEqual(true); - expect(response.toJSON()).toEqual({ - name: AWS.getName(), - id: ec2Uuid.trim().toLowerCase(), - region: undefined, - zone: undefined, - vm_type: undefined, - metadata: undefined, - }); + expect(response.toJSON()).toMatchInlineSnapshot(` + Object { + "id": "ec2uuid", + "metadata": undefined, + "name": "aws", + "region": undefined, + "vm_type": undefined, + "zone": undefined, + } + `); }); it('returns unconfirmed if all files return errors', async () => { - const awsFailedFileSystem = new AWSCloudService({ - _fs: ({ - readFile: () => { - throw new Error('oops'); - }, - } as unknown) as typeof fs, - _isWindows: false, - }); - - const response = await awsFailedFileSystem._tryToDetectUuid(); + readFile.mockRejectedValue(new Error('oops')); + const response = await awsService['tryToDetectUuid'](); expect(response.isConfirmed()).toEqual(false); }); - }); - it('ignores UUID if it does not start with ec2', async () => { - const notEC2FileSystem = { - readFile: (filename: string, encoding: string, callback: Callback) => { - expect(expectedFilenames).toContain(filename); - expect(encoding).toEqual(expectedEncoding); + it('ignores UUID if it does not start with ec2', async () => { + readFile.mockResolvedValue('notEC2'); - callback(null, 'notEC2'); - }, - } as typeof fs; - - const awsCheckedFileSystem = new AWSCloudService({ - _fs: notEC2FileSystem, - _isWindows: false, + const response = await awsService['tryToDetectUuid'](); + expect(response.isConfirmed()).toEqual(false); }); - - const response = await awsCheckedFileSystem._tryToDetectUuid(); - - expect(response.isConfirmed()).toEqual(false); }); it('does NOT check the file system for UUID on Windows', async () => { - const awsUncheckedFileSystem = new AWSCloudService({ - _fs: ec2FileSystem, - _isWindows: true, - }); - - const response = await awsUncheckedFileSystem._tryToDetectUuid(); + mockIsWindows.mockReturnValue(true); + const response = await awsService['tryToDetectUuid'](); expect(response.isConfirmed()).toEqual(false); }); diff --git a/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/aws.ts b/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/aws.ts index 69e5698489b30..785313e752c5e 100644 --- a/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/aws.ts +++ b/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/aws.ts @@ -6,10 +6,10 @@ * Side Public License, v 1. */ -import fs from 'fs'; -import { get, isString, omit } from 'lodash'; -import { promisify } from 'util'; -import { CloudService, CloudServiceOptions, Request, RequestOptions } from './cloud_service'; +import { readFile } from 'fs/promises'; +import { get, omit } from 'lodash'; +import fetch from 'node-fetch'; +import { CloudService } from './cloud_service'; import { CloudServiceResponse } from './cloud_response'; // We explicitly call out the version, 2016-09-02, rather than 'latest' to avoid unexpected changes @@ -40,9 +40,9 @@ export interface AWSResponse { * @internal */ export class AWSCloudService extends CloudService { - private readonly _isWindows: boolean; - private readonly _fs: typeof fs; - + constructor() { + super('aws'); + } /** * Parse the AWS response, if possible. * @@ -64,7 +64,8 @@ export class AWSCloudService extends CloudService { * "version" : "2010-08-31", * } */ - static parseBody(name: string, body: AWSResponse): CloudServiceResponse | null { + parseBody = (body: AWSResponse): CloudServiceResponse | null => { + const name = this.getName(); const id: string | undefined = get(body, 'instanceId'); const vmType: string | undefined = get(body, 'instanceType'); const region: string | undefined = get(body, 'region'); @@ -88,64 +89,60 @@ export class AWSCloudService extends CloudService { } return null; - } + }; - constructor(options: CloudServiceOptions = {}) { - super('aws', options); + private _isWindows = (): boolean => { + return process.platform.startsWith('win'); + }; - // Allow the file system handler to be swapped out for tests - const { _fs = fs, _isWindows = process.platform.startsWith('win') } = options; - - this._fs = _fs; - this._isWindows = _isWindows; - } + protected _checkIfService = async () => { + try { + const response = await fetch(SERVICE_ENDPOINT, { + method: 'GET', + }); - async _checkIfService(request: Request) { - const req: RequestOptions = { - method: 'GET', - uri: SERVICE_ENDPOINT, - json: true, - }; + if (!response.ok || response.status === 404) { + throw new Error('AWS request failed'); + } - return promisify(request)(req) - .then((response) => - this._parseResponse(response.body, (body) => - AWSCloudService.parseBody(this.getName(), body) - ) - ) - .catch(() => this._tryToDetectUuid()); - } + const jsonBody: AWSResponse = await response.json(); + return this._parseResponse(jsonBody, this.parseBody); + } catch (_) { + return this.tryToDetectUuid(); + } + }; /** * Attempt to load the UUID by checking `/sys/hypervisor/uuid`. * * This is a fallback option if the metadata service is unavailable for some reason. */ - _tryToDetectUuid() { + private tryToDetectUuid = async () => { + const isWindows = this._isWindows(); // Windows does not have an easy way to check - if (!this._isWindows) { + if (!isWindows) { const pathsToCheck = ['/sys/hypervisor/uuid', '/sys/devices/virtual/dmi/id/product_uuid']; - const promises = pathsToCheck.map((path) => promisify(this._fs.readFile)(path, 'utf8')); - - return Promise.allSettled(promises).then((responses) => { - for (const response of responses) { - let uuid; - if (response.status === 'fulfilled' && isString(response.value)) { - // Some AWS APIs return it lowercase (like the file did in testing), while others return it uppercase - uuid = response.value.trim().toLowerCase(); - - // There is a small chance of a false positive here in the unlikely event that a uuid which doesn't - // belong to ec2 happens to be generated with `ec2` as the first three characters. - if (uuid.startsWith('ec2')) { - return new CloudServiceResponse(this._name, true, { id: uuid }); - } + const responses = await Promise.allSettled( + pathsToCheck.map((path) => readFile(path, 'utf8')) + ); + + for (const response of responses) { + let uuid; + if (response.status === 'fulfilled' && typeof response.value === 'string') { + // Some AWS APIs return it lowercase (like the file did in testing), while others return it uppercase + uuid = response.value.trim().toLowerCase(); + + // There is a small chance of a false positive here in the unlikely event that a uuid which doesn't + // belong to ec2 happens to be generated with `ec2` as the first three characters. + if (uuid.startsWith('ec2')) { + return new CloudServiceResponse(this._name, true, { id: uuid }); } } + } - return this._createUnconfirmedResponse(); - }); + return this._createUnconfirmedResponse(); } - return Promise.resolve(this._createUnconfirmedResponse()); - } + return this._createUnconfirmedResponse(); + }; } diff --git a/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/azure.test.ts b/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/azure.test.ts index 17205562fa335..5bdbbbda55de6 100644 --- a/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/azure.test.ts +++ b/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/azure.test.ts @@ -6,36 +6,47 @@ * Side Public License, v 1. */ -import type { Request, RequestOptions } from './cloud_service'; +/* eslint-disable dot-notation */ +jest.mock('node-fetch'); import { AzureCloudService } from './azure'; -type Callback = (err: unknown, res: unknown) => void; +// eslint-disable-next-line @typescript-eslint/no-var-requires +const fetchMock = require('node-fetch') as jest.Mock; -const AZURE = new AzureCloudService(); - -describe('Azure', () => { +describe('AzureCloudService', () => { + const azureCloudService = new AzureCloudService(); it('is named "azure"', () => { - expect(AZURE.getName()).toEqual('azure'); + expect(azureCloudService.getName()).toEqual('azure'); }); describe('_checkIfService', () => { + beforeEach(() => { + jest.resetAllMocks(); + }); + it('handles expected response', async () => { const id = 'abcdef'; - const request = ((req: RequestOptions, callback: Callback) => { - expect(req.method).toEqual('GET'); - expect(req.uri).toEqual('http://169.254.169.254/metadata/instance?api-version=2017-04-02'); - expect(req.headers?.Metadata).toEqual('true'); - expect(req.json).toEqual(true); + fetchMock.mockResolvedValue({ + json: () => + `{"compute":{"vmId": "${id}","location":"fakeus","availabilityZone":"fakeus-2"}}`, + status: 200, + ok: true, + }); - const body = `{"compute":{"vmId": "${id}","location":"fakeus","availabilityZone":"fakeus-2"}}`; + const response = await azureCloudService['_checkIfService'](); - callback(null, { statusCode: 200, body }); - }) as Request; - const response = await AZURE._checkIfService(request); + expect(fetchMock).toBeCalledTimes(1); + expect(fetchMock).toBeCalledWith( + 'http://169.254.169.254/metadata/instance?api-version=2017-04-02', + { + method: 'GET', + headers: { Metadata: 'true' }, + } + ); expect(response.isConfirmed()).toEqual(true); expect(response.toJSON()).toEqual({ - name: AZURE.getName(), + name: azureCloudService.getName(), id, region: 'fakeus', vm_type: undefined, @@ -49,34 +60,30 @@ describe('Azure', () => { // NOTE: the CloudService method, checkIfService, catches the errors that follow it('handles not running on Azure with error by rethrowing it', async () => { const someError = new Error('expected: request failed'); - const failedRequest = ((_req: RequestOptions, callback: Callback) => - callback(someError, null)) as Request; + fetchMock.mockRejectedValue(someError); - expect(async () => { - await AZURE._checkIfService(failedRequest); - }).rejects.toThrowError(someError.message); + await expect(() => azureCloudService['_checkIfService']()).rejects.toThrowError( + someError.message + ); }); it('handles not running on Azure with 404 response by throwing error', async () => { - const failedRequest = ((_req: RequestOptions, callback: Callback) => - callback(null, { statusCode: 404 })) as Request; + fetchMock.mockResolvedValue({ status: 404 }); - expect(async () => { - await AZURE._checkIfService(failedRequest); - }).rejects.toThrowErrorMatchingInlineSnapshot(`"Azure request failed"`); + await expect(() => + azureCloudService['_checkIfService']() + ).rejects.toThrowErrorMatchingInlineSnapshot(`"Azure request failed"`); }); it('handles not running on Azure with unexpected response by throwing error', async () => { - const failedRequest = ((_req: RequestOptions, callback: Callback) => - callback(null, null)) as Request; - - expect(async () => { - await AZURE._checkIfService(failedRequest); - }).rejects.toThrowErrorMatchingInlineSnapshot(`"Azure request failed"`); + fetchMock.mockResolvedValue({ ok: false }); + await expect(() => + azureCloudService['_checkIfService']() + ).rejects.toThrowErrorMatchingInlineSnapshot(`"Azure request failed"`); }); }); - describe('_parseBody', () => { + describe('parseBody', () => { // it's expected that most users use the resource manager UI (which has been out for years) it('parses object in expected format', () => { const body = { @@ -119,10 +126,10 @@ describe('Azure', () => { }, }; - const response = AzureCloudService.parseBody(AZURE.getName(), body)!; + const response = azureCloudService['parseBody'](body)!; expect(response).not.toBeNull(); - expect(response.getName()).toEqual(AZURE.getName()); + expect(response.getName()).toEqual(azureCloudService.getName()); expect(response.isConfirmed()).toEqual(true); expect(response.toJSON()).toEqual({ name: 'azure', @@ -172,10 +179,10 @@ describe('Azure', () => { }, }; - const response = AzureCloudService.parseBody(AZURE.getName(), body)!; + const response = azureCloudService['parseBody'](body)!; expect(response).not.toBeNull(); - expect(response.getName()).toEqual(AZURE.getName()); + expect(response.getName()).toEqual(azureCloudService.getName()); expect(response.isConfirmed()).toEqual(true); expect(response.toJSON()).toEqual({ name: 'azure', @@ -191,13 +198,13 @@ describe('Azure', () => { it('ignores unexpected response body', () => { // @ts-expect-error - expect(AzureCloudService.parseBody(AZURE.getName(), undefined)).toBe(null); + expect(azureCloudService['parseBody'](undefined)).toBe(null); // @ts-expect-error - expect(AzureCloudService.parseBody(AZURE.getName(), null)).toBe(null); + expect(azureCloudService['parseBody'](null)).toBe(null); // @ts-expect-error - expect(AzureCloudService.parseBody(AZURE.getName(), {})).toBe(null); + expect(azureCloudService['parseBody']({})).toBe(null); // @ts-expect-error - expect(AzureCloudService.parseBody(AZURE.getName(), { privateIp: 'a.b.c.d' })).toBe(null); + expect(azureCloudService['parseBody']({ privateIp: 'a.b.c.d' })).toBe(null); }); }); }); diff --git a/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/azure.ts b/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/azure.ts index b846636f0ce6c..06a135960bd60 100644 --- a/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/azure.ts +++ b/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/azure.ts @@ -7,8 +7,8 @@ */ import { get, omit } from 'lodash'; -import { promisify } from 'util'; -import { CloudService, Request } from './cloud_service'; +import fetch from 'node-fetch'; +import { CloudService } from './cloud_service'; import { CloudServiceResponse } from './cloud_response'; // 2017-04-02 is the first GA release of this API @@ -25,6 +25,9 @@ interface AzureResponse { * @internal */ export class AzureCloudService extends CloudService { + constructor() { + super('azure'); + } /** * Parse the Azure response, if possible. * @@ -51,7 +54,8 @@ export class AzureCloudService extends CloudService { * } * } */ - static parseBody(name: string, body: AzureResponse): CloudServiceResponse | null { + private parseBody = (body: AzureResponse): CloudServiceResponse | null => { + const name = this.getName(); const compute: Record | undefined = get(body, 'compute'); const id = get, string>(compute, 'vmId'); const vmType = get, string>(compute, 'vmSize'); @@ -72,32 +76,22 @@ export class AzureCloudService extends CloudService { } return null; - } - - constructor(options = {}) { - super('azure', options); - } + }; - async _checkIfService(request: Request) { - const req = { + protected _checkIfService = async () => { + const response = await fetch(SERVICE_ENDPOINT, { method: 'GET', - uri: SERVICE_ENDPOINT, headers: { // Azure requires this header Metadata: 'true', }, - json: true, - }; - - const response = await promisify(request)(req); + }); - // Note: there is no fallback option for Azure - if (!response || response.statusCode === 404) { + if (!response.ok || response.status === 404) { throw new Error('Azure request failed'); } - return this._parseResponse(response.body, (body) => - AzureCloudService.parseBody(this.getName(), body) - ); - } + const jsonBody: AzureResponse = await response.json(); + return this._parseResponse(jsonBody, this.parseBody); + }; } diff --git a/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/cloud_detector.ts b/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/cloud_detector.ts index 3d093c81f8896..9930110979b87 100644 --- a/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/cloud_detector.ts +++ b/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/cloud_detector.ts @@ -37,9 +37,9 @@ export class CloudDetector { /** * Get any cloud details that we have detected. */ - getCloudDetails() { + public getCloudDetails = () => { return this.cloudDetails; - } + }; /** * Asynchronously detect the cloud service. @@ -48,9 +48,9 @@ export class CloudDetector { * caller to trigger the lookup and then simply use it whenever we * determine it. */ - async detectCloudService() { + public detectCloudService = async () => { this.cloudDetails = await this.getCloudService(); - } + }; /** * Check every cloud service until the first one reports success from detection. diff --git a/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/cloud_service.test.ts b/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/cloud_service.test.ts index 0a7d5899486ab..22bef6753e9cf 100644 --- a/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/cloud_service.test.ts +++ b/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/cloud_service.test.ts @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import { CloudService, Response } from './cloud_service'; +import { CloudService } from './cloud_service'; import { CloudServiceResponse } from './cloud_response'; describe('CloudService', () => { @@ -30,9 +30,9 @@ describe('CloudService', () => { describe('_checkIfService', () => { it('throws an exception unless overridden', async () => { - expect(async () => { - await service._checkIfService(undefined); - }).rejects.toThrowErrorMatchingInlineSnapshot(`"not implemented"`); + await expect(() => + service._checkIfService(undefined) + ).rejects.toThrowErrorMatchingInlineSnapshot(`"not implemented"`); }); }); @@ -88,52 +88,59 @@ describe('CloudService', () => { describe('_parseResponse', () => { const body = { some: { body: {} } }; - it('throws error upon failure to parse body as object', async () => { - expect(async () => { - await service._parseResponse(); - }).rejects.toMatchInlineSnapshot(`undefined`); - expect(async () => { - await service._parseResponse(null); - }).rejects.toMatchInlineSnapshot(`undefined`); - expect(async () => { - await service._parseResponse({}); - }).rejects.toMatchInlineSnapshot(`undefined`); - expect(async () => { - await service._parseResponse(123); - }).rejects.toMatchInlineSnapshot(`undefined`); - expect(async () => { - await service._parseResponse('raw string'); - }).rejects.toMatchInlineSnapshot(`[Error: 'raw string' is not a JSON object]`); - expect(async () => { - await service._parseResponse('{{}'); - }).rejects.toMatchInlineSnapshot(`[Error: '{{}' is not a JSON object]`); + it('throws error upon failure to parse body as object', () => { + expect(() => service._parseResponse()).toThrowErrorMatchingInlineSnapshot( + `"Unable to handle body"` + ); + expect(() => service._parseResponse(null)).toThrowErrorMatchingInlineSnapshot( + `"Unable to handle body"` + ); + expect(() => service._parseResponse({})).toThrowErrorMatchingInlineSnapshot( + `"Unable to handle body"` + ); + expect(() => service._parseResponse(123)).toThrowErrorMatchingInlineSnapshot( + `"Unable to handle body"` + ); + expect(() => service._parseResponse('raw string')).toThrowErrorMatchingInlineSnapshot( + `"'raw string' is not a JSON object"` + ); + expect(() => service._parseResponse('{{}')).toThrowErrorMatchingInlineSnapshot( + `"'{{}' is not a JSON object"` + ); }); - it('expects unusable bodies', async () => { - const parseBody = (parsedBody: Response['body']) => { - expect(parsedBody).toEqual(body); - - return null; - }; - - expect(async () => { - await service._parseResponse(JSON.stringify(body), parseBody); - }).rejects.toMatchInlineSnapshot(`undefined`); - expect(async () => { - await service._parseResponse(body, parseBody); - }).rejects.toMatchInlineSnapshot(`undefined`); + it('expects unusable bodies', () => { + const parseBody = jest.fn().mockReturnValue(null); + + expect(() => + service._parseResponse(JSON.stringify(body), parseBody) + ).toThrowErrorMatchingInlineSnapshot(`"Unable to handle body"`); + expect(parseBody).toBeCalledTimes(1); + expect(parseBody).toBeCalledWith(body); + parseBody.mockClear(); + + expect(() => service._parseResponse(body, parseBody)).toThrowErrorMatchingInlineSnapshot( + `"Unable to handle body"` + ); + expect(parseBody).toBeCalledTimes(1); + expect(parseBody).toBeCalledWith(body); }); it('uses parsed object to create response', async () => { const serviceResponse = new CloudServiceResponse('a123', true, { id: 'xyz' }); - const parseBody = (parsedBody: Response['body']) => { - expect(parsedBody).toEqual(body); - - return serviceResponse; - }; + const parseBody = jest.fn().mockReturnValue(serviceResponse); const response = await service._parseResponse(body, parseBody); + expect(parseBody).toBeCalledWith(body); + expect(response).toBe(serviceResponse); + }); + + it('parses object before passing it to parseBody to create response', async () => { + const serviceResponse = new CloudServiceResponse('a123', true, { id: 'xyz' }); + const parseBody = jest.fn().mockReturnValue(serviceResponse); + const response = await service._parseResponse(JSON.stringify(body), parseBody); + expect(parseBody).toBeCalledWith(body); expect(response).toBe(serviceResponse); }); }); diff --git a/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/cloud_service.ts b/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/cloud_service.ts index 768a46a457d7d..bea51437d25c4 100644 --- a/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/cloud_service.ts +++ b/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/cloud_service.ts @@ -6,81 +6,56 @@ * Side Public License, v 1. */ -import fs from 'fs'; -import { isObject, isString, isPlainObject } from 'lodash'; -import defaultRequest from 'request'; -import type { OptionsWithUri, Response as DefaultResponse } from 'request'; +import { isObject, isPlainObject } from 'lodash'; import { CloudServiceResponse } from './cloud_response'; -/** @internal */ -export type Request = typeof defaultRequest; - -/** @internal */ -export type RequestOptions = OptionsWithUri; - -/** @internal */ -export type Response = DefaultResponse; - -/** @internal */ -export interface CloudServiceOptions { - _request?: Request; - _fs?: typeof fs; - _isWindows?: boolean; -} - /** * CloudService provides a mechanism for cloud services to be checked for * metadata that may help to determine the best defaults and priorities. */ export abstract class CloudService { - private readonly _request: Request; protected readonly _name: string; - constructor(name: string, options: CloudServiceOptions = {}) { + constructor(name: string) { this._name = name.toLowerCase(); - - // Allow the HTTP handler to be swapped out for tests - const { _request = defaultRequest } = options; - - this._request = _request; } /** * Get the search-friendly name of the Cloud Service. */ - getName() { + public getName = () => { return this._name; - } + }; /** * Using whatever mechanism is required by the current Cloud Service, * determine if Kibana is running in it and return relevant metadata. */ - async checkIfService() { + public checkIfService = async () => { try { - return await this._checkIfService(this._request); + return await this._checkIfService(); } catch (e) { return this._createUnconfirmedResponse(); } - } + }; - _checkIfService(request: Request): Promise { + protected _checkIfService = async (): Promise => { // should always be overridden by a subclass return Promise.reject(new Error('not implemented')); - } + }; /** * Create a new CloudServiceResponse that denotes that this cloud service * is not being used by the current machine / VM. */ - _createUnconfirmedResponse() { + protected _createUnconfirmedResponse = () => { return CloudServiceResponse.unconfirmed(this._name); - } + }; /** * Strictly parse JSON. */ - _stringToJson(value: string) { + protected _stringToJson = (value: string) => { // note: this will throw an error if this is not a string value = value.trim(); @@ -94,7 +69,7 @@ export abstract class CloudService { } catch (e) { throw new Error(`'${value}' is not a JSON object`); } - } + }; /** * Convert the response to a JSON object and attempt to parse it using the @@ -103,28 +78,21 @@ export abstract class CloudService { * If the response cannot be parsed as a JSON object, or if it fails to be * useful, then parseBody should return null. */ - _parseResponse( - body: Response['body'], - parseBody?: (body: Response['body']) => CloudServiceResponse | null - ): Promise { + protected _parseResponse = ( + body: string | Body, + parseBodyFn: (body: Body) => CloudServiceResponse | null + ): CloudServiceResponse => { // parse it if necessary - if (isString(body)) { - try { - body = this._stringToJson(body); - } catch (err) { - return Promise.reject(err); - } - } - - if (isObject(body) && parseBody) { - const response = parseBody(body); + const jsonBody: Body = typeof body === 'string' ? this._stringToJson(body) : body; + if (isObject(jsonBody) && typeof parseBodyFn !== 'undefined') { + const response = parseBodyFn(jsonBody); if (response) { - return Promise.resolve(response); + return response; } } // use default handling - return Promise.reject(); - } + throw new Error('Unable to handle body'); + }; } diff --git a/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/gcp.test.ts b/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/gcp.test.ts index fd0b3331b4ad1..40bd0ef1fa1b1 100644 --- a/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/gcp.test.ts +++ b/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/gcp.test.ts @@ -5,136 +5,185 @@ * in compliance with, at your election, the Elastic License 2.0 or the Server * Side Public License, v 1. */ - -import type { Request, RequestOptions } from './cloud_service'; +/* eslint-disable dot-notation */ +jest.mock('node-fetch'); import { GCPCloudService } from './gcp'; - -type Callback = (err: unknown, res: unknown) => void; - -const GCP = new GCPCloudService(); +// eslint-disable-next-line @typescript-eslint/no-var-requires +const fetchMock = require('node-fetch') as jest.Mock; describe('GCP', () => { + const gcpService = new GCPCloudService(); + beforeEach(() => jest.clearAllMocks()); + it('is named "gcp"', () => { - expect(GCP.getName()).toEqual('gcp'); + expect(gcpService.getName()).toEqual('gcp'); }); describe('_checkIfService', () => { // GCP responds with the header that they expect (and request lowercases the header's name) - const headers = { 'metadata-flavor': 'Google' }; + const headers = new Map(); + headers.set('metadata-flavor', 'Google'); it('handles expected responses', async () => { + const basePath = 'http://169.254.169.254/computeMetadata/v1/instance/'; const metadata: Record = { id: 'abcdef', 'machine-type': 'projects/441331612345/machineTypes/f1-micro', zone: 'projects/441331612345/zones/us-fake4-c', }; - const request = ((req: RequestOptions, callback: Callback) => { - const basePath = 'http://169.254.169.254/computeMetadata/v1/instance/'; - - expect(req.method).toEqual('GET'); - expect((req.uri as string).startsWith(basePath)).toBe(true); - expect(req.headers!['Metadata-Flavor']).toEqual('Google'); - expect(req.json).toEqual(false); - const requestKey = (req.uri as string).substring(basePath.length); - let body = null; + fetchMock.mockImplementation((url: string) => { + const requestKey = url.substring(basePath.length); + let body: string | null = null; if (metadata[requestKey]) { body = metadata[requestKey]; } + return { + status: 200, + ok: true, + text: () => body, + headers, + }; + }); - callback(null, { statusCode: 200, body, headers }); - }) as Request; - const response = await GCP._checkIfService(request); + const response = await gcpService['_checkIfService'](); + const fetchParams = { + headers: { 'Metadata-Flavor': 'Google' }, + method: 'GET', + }; + expect(fetchMock).toBeCalledTimes(3); + expect(fetchMock).toHaveBeenNthCalledWith(1, `${basePath}id`, fetchParams); + expect(fetchMock).toHaveBeenNthCalledWith(2, `${basePath}machine-type`, fetchParams); + expect(fetchMock).toHaveBeenNthCalledWith(3, `${basePath}zone`, fetchParams); expect(response.isConfirmed()).toEqual(true); - expect(response.toJSON()).toEqual({ - name: GCP.getName(), - id: metadata.id, - region: 'us-fake4', - vm_type: 'f1-micro', - zone: 'us-fake4-c', - metadata: undefined, - }); + expect(response.toJSON()).toMatchInlineSnapshot(` + Object { + "id": "abcdef", + "metadata": undefined, + "name": "gcp", + "region": "us-fake4", + "vm_type": "f1-micro", + "zone": "us-fake4-c", + } + `); }); // NOTE: the CloudService method, checkIfService, catches the errors that follow it('handles unexpected responses', async () => { - const request = ((_req: RequestOptions, callback: Callback) => - callback(null, { statusCode: 200, headers })) as Request; + fetchMock.mockResolvedValue({ + status: 200, + ok: true, + headers, + text: () => undefined, + }); - expect(async () => { - await GCP._checkIfService(request); - }).rejects.toThrowErrorMatchingInlineSnapshot(`"unrecognized responses"`); + await expect(() => + gcpService['_checkIfService']() + ).rejects.toThrowErrorMatchingInlineSnapshot(`"unrecognized responses"`); }); it('handles unexpected responses without response header', async () => { - const body = 'xyz'; - const failedRequest = ((_req: RequestOptions, callback: Callback) => - callback(null, { statusCode: 200, body })) as Request; + fetchMock.mockResolvedValue({ + status: 200, + ok: true, + headers: new Map(), + text: () => 'xyz', + }); - expect(async () => { - await GCP._checkIfService(failedRequest); - }).rejects.toThrowErrorMatchingInlineSnapshot(`"unrecognized responses"`); + await expect(() => + gcpService['_checkIfService']() + ).rejects.toThrowErrorMatchingInlineSnapshot(`"GCP request failed"`); }); - it('handles not running on GCP with error by rethrowing it', async () => { + it('handles not running on GCP', async () => { const someError = new Error('expected: request failed'); - const failedRequest = ((_req: RequestOptions, callback: Callback) => - callback(someError, null)) as Request; + fetchMock.mockRejectedValue(someError); - expect(async () => { - await GCP._checkIfService(failedRequest); - }).rejects.toThrowError(someError); + await expect(() => + gcpService['_checkIfService']() + ).rejects.toThrowErrorMatchingInlineSnapshot(`"GCP request failed"`); }); it('handles not running on GCP with 404 response by throwing error', async () => { - const body = 'This is some random error text'; - const failedRequest = ((_req: RequestOptions, callback: Callback) => - callback(null, { statusCode: 404, headers, body })) as Request; + fetchMock.mockResolvedValue({ + status: 404, + ok: false, + headers, + text: () => 'This is some random error text', + }); - expect(async () => { - await GCP._checkIfService(failedRequest); - }).rejects.toThrowErrorMatchingInlineSnapshot(`"GCP request failed"`); + await expect(() => + gcpService['_checkIfService']() + ).rejects.toThrowErrorMatchingInlineSnapshot(`"GCP request failed"`); }); - it('handles not running on GCP with unexpected response by throwing error', async () => { - const failedRequest = ((_req: RequestOptions, callback: Callback) => - callback(null, null)) as Request; + it('handles GCP response even if some requests fail', async () => { + fetchMock + .mockResolvedValueOnce({ + status: 200, + ok: true, + headers, + text: () => 'some_id', + }) + .mockRejectedValueOnce({ + status: 500, + ok: false, + headers, + text: () => 'This is some random error text', + }) + .mockResolvedValueOnce({ + status: 404, + ok: false, + headers, + text: () => 'URI Not found', + }); + const response = await gcpService['_checkIfService'](); + + expect(fetchMock).toBeCalledTimes(3); - expect(async () => { - await GCP._checkIfService(failedRequest); - }).rejects.toThrowErrorMatchingInlineSnapshot(`"GCP request failed"`); + expect(response.isConfirmed()).toEqual(true); + expect(response.toJSON()).toMatchInlineSnapshot(` + Object { + "id": "some_id", + "metadata": undefined, + "name": "gcp", + "region": undefined, + "vm_type": undefined, + "zone": undefined, + } + `); }); }); - describe('_extractValue', () => { + describe('extractValue', () => { it('only handles strings', () => { // @ts-expect-error - expect(GCP._extractValue()).toBe(undefined); + expect(gcpService['extractValue']()).toBe(undefined); // @ts-expect-error - expect(GCP._extractValue(null, null)).toBe(undefined); + expect(gcpService['extractValue'](null, null)).toBe(undefined); // @ts-expect-error - expect(GCP._extractValue('abc', { field: 'abcxyz' })).toBe(undefined); + expect(gcpService['extractValue']('abc', { field: 'abcxyz' })).toBe(undefined); // @ts-expect-error - expect(GCP._extractValue('abc', 1234)).toBe(undefined); - expect(GCP._extractValue('abc/', 'abc/xyz')).toEqual('xyz'); + expect(gcpService['extractValue']('abc', 1234)).toBe(undefined); + expect(gcpService['extractValue']('abc/', 'abc/xyz')).toEqual('xyz'); }); it('uses the last index of the prefix to truncate', () => { - expect(GCP._extractValue('abc/', ' \n 123/abc/xyz\t \n')).toEqual('xyz'); + expect(gcpService['extractValue']('abc/', ' \n 123/abc/xyz\t \n')).toEqual('xyz'); }); }); - describe('_combineResponses', () => { + describe('combineResponses', () => { it('parses in expected format', () => { const id = '5702733457649812345'; const machineType = 'projects/441331612345/machineTypes/f1-micro'; const zone = 'projects/441331612345/zones/us-fake4-c'; - const response = GCP._combineResponses(id, machineType, zone); + const response = gcpService['combineResponses'](id, machineType, zone); - expect(response.getName()).toEqual(GCP.getName()); + expect(response.getName()).toEqual('gcp'); expect(response.isConfirmed()).toEqual(true); expect(response.toJSON()).toEqual({ name: 'gcp', @@ -152,9 +201,9 @@ describe('GCP', () => { const machineType = 'f1-micro'; const zone = 'us-fake4-c'; - const response = GCP._combineResponses(id, machineType, zone); + const response = gcpService['combineResponses'](id, machineType, zone); - expect(response.getName()).toEqual(GCP.getName()); + expect(response.getName()).toEqual('gcp'); expect(response.isConfirmed()).toEqual(true); expect(response.toJSON()).toEqual({ name: 'gcp', @@ -167,18 +216,16 @@ describe('GCP', () => { }); it('ignores unexpected response body', () => { + expect(() => gcpService['combineResponses']()).toThrow(); + expect(() => gcpService['combineResponses'](undefined, undefined, undefined)).toThrow(); // @ts-expect-error - expect(() => GCP._combineResponses()).toThrow(); - // @ts-expect-error - expect(() => GCP._combineResponses(undefined, undefined, undefined)).toThrow(); - // @ts-expect-error - expect(() => GCP._combineResponses(null, null, null)).toThrow(); + expect(() => gcpService['combineResponses'](null, null, null)).toThrow(); expect(() => // @ts-expect-error - GCP._combineResponses({ id: 'x' }, { machineType: 'a' }, { zone: 'b' }) + gcpService['combineResponses']({ id: 'x' }, { machineType: 'a' }, { zone: 'b' }) ).toThrow(); // @ts-expect-error - expect(() => GCP._combineResponses({ privateIp: 'a.b.c.d' })).toThrow(); + expect(() => gcpService['combineResponses']({ privateIp: 'a.b.c.d' })).toThrow(); }); }); }); diff --git a/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/gcp.ts b/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/gcp.ts index 565c07abd1d2c..2cdf3f87cfe8f 100644 --- a/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/gcp.ts +++ b/src/plugins/kibana_usage_collection/server/collectors/cloud/detector/gcp.ts @@ -6,14 +6,15 @@ * Side Public License, v 1. */ -import { isString } from 'lodash'; -import { promisify } from 'util'; -import { CloudService, CloudServiceOptions, Request, Response } from './cloud_service'; +import fetch, { Response } from 'node-fetch'; +import { CloudService } from './cloud_service'; import { CloudServiceResponse } from './cloud_response'; // GCP documentation shows both 'metadata.google.internal' (mostly) and '169.254.169.254' (sometimes) // To bypass potential DNS changes, the IP was used because it's shared with other cloud services const SERVICE_ENDPOINT = 'http://169.254.169.254/computeMetadata/v1/instance'; +// GCP required headers +const SERVICE_HEADERS = { 'Metadata-Flavor': 'Google' }; /** * Checks and loads the service metadata for an Google Cloud Platform VM if it is available. @@ -21,61 +22,54 @@ const SERVICE_ENDPOINT = 'http://169.254.169.254/computeMetadata/v1/instance'; * @internal */ export class GCPCloudService extends CloudService { - constructor(options: CloudServiceOptions = {}) { - super('gcp', options); + constructor() { + super('gcp'); } - _checkIfService(request: Request) { + protected _checkIfService = async () => { // we need to call GCP individually for each field we want metadata for const fields = ['id', 'machine-type', 'zone']; - const create = this._createRequestForField; - const allRequests = fields.map((field) => promisify(request)(create(field))); - return ( - Promise.all(allRequests) - // Note: there is no fallback option for GCP; - // responses are arrays containing [fullResponse, body]; - // because GCP returns plaintext, we have no way of validating - // without using the response code. - .then((responses) => { - return responses.map((response) => { - if (!response || response.statusCode === 404) { - throw new Error('GCP request failed'); - } - return this._extractBody(response, response.body); - }); - }) - .then(([id, machineType, zone]) => this._combineResponses(id, machineType, zone)) + const settledResponses = await Promise.allSettled( + fields.map(async (field) => { + return await fetch(`${SERVICE_ENDPOINT}/${field}`, { + method: 'GET', + headers: { ...SERVICE_HEADERS }, + }); + }) ); - } - _createRequestForField(field: string) { - return { - method: 'GET', - uri: `${SERVICE_ENDPOINT}/${field}`, - headers: { - // GCP requires this header - 'Metadata-Flavor': 'Google', - }, - // GCP does _not_ return JSON - json: false, - }; - } + const hasValidResponses = settledResponses.some(this.isValidResponse); - /** - * Extract the body if the response is valid and it came from GCP. - */ - _extractBody(response: Response, body?: Response['body']) { - if ( - response?.statusCode === 200 && - response.headers && - response.headers['metadata-flavor'] === 'Google' - ) { - return body; + if (!hasValidResponses) { + throw new Error('GCP request failed'); } - return null; - } + // Note: there is no fallback option for GCP; + // responses are arrays containing [fullResponse, body]; + // because GCP returns plaintext, we have no way of validating + // without using the response code. + const [id, machineType, zone] = await Promise.all( + settledResponses.map(async (settledResponse) => { + if (this.isValidResponse(settledResponse)) { + // GCP does _not_ return JSON + return await settledResponse.value.text(); + } + }) + ); + + return this.combineResponses(id, machineType, zone); + }; + + private isValidResponse = ( + settledResponse: PromiseSettledResult + ): settledResponse is PromiseFulfilledResult => { + if (settledResponse.status === 'rejected') { + return false; + } + const { value } = settledResponse; + return value.ok && value.status !== 404 && value.headers.get('metadata-flavor') === 'Google'; + }; /** * Parse the GCP responses, if possible. @@ -86,17 +80,11 @@ export class GCPCloudService extends CloudService { * machineType: 'projects/441331612345/machineTypes/f1-micro' * zone: 'projects/441331612345/zones/us-east4-c' */ - _combineResponses(id: string, machineType: string, zone: string) { - const vmId = isString(id) ? id.trim() : undefined; - const vmType = this._extractValue('machineTypes/', machineType); - const vmZone = this._extractValue('zones/', zone); - - let region; - - if (vmZone) { - // converts 'us-east4-c' into 'us-east4' - region = vmZone.substring(0, vmZone.lastIndexOf('-')); - } + private combineResponses = (id?: string, machineType?: string, zone?: string) => { + const vmId = typeof id === 'string' ? id.trim() : undefined; + const vmType = this.extractValue('machineTypes/', machineType); + const vmZone = this.extractValue('zones/', zone); + const region = vmZone ? vmZone.substring(0, vmZone.lastIndexOf('-')) : undefined; // ensure we actually have some data if (vmId || vmType || region || vmZone) { @@ -104,7 +92,7 @@ export class GCPCloudService extends CloudService { } throw new Error('unrecognized responses'); - } + }; /** * Extract the useful information returned from GCP while discarding @@ -113,15 +101,15 @@ export class GCPCloudService extends CloudService { * For example, this turns something like * 'projects/441331612345/machineTypes/f1-micro' into 'f1-micro'. */ - _extractValue(fieldPrefix: string, value: string) { - if (isString(value)) { - const index = value.lastIndexOf(fieldPrefix); - - if (index !== -1) { - return value.substring(index + fieldPrefix.length).trim(); - } + private extractValue = (fieldPrefix: string, value?: string) => { + if (typeof value !== 'string') { + return; } - return undefined; - } + const index = value.lastIndexOf(fieldPrefix); + + if (index !== -1) { + return value.substring(index + fieldPrefix.length).trim(); + } + }; } diff --git a/src/plugins/kibana_usage_collection/server/collectors/core/core_usage_collector.ts b/src/plugins/kibana_usage_collection/server/collectors/core/core_usage_collector.ts index f7a16b3f563bd..853681c47cf85 100644 --- a/src/plugins/kibana_usage_collection/server/collectors/core/core_usage_collector.ts +++ b/src/plugins/kibana_usage_collection/server/collectors/core/core_usage_collector.ts @@ -936,11 +936,51 @@ export function getCoreUsageCollector( 'How many times this API has been called by a non-Kibana client in a custom space.', }, }, - 'apiCalls.savedObjectsExport.allTypesSelected.yes': { + // Legacy dashboard import/export APIs + 'apiCalls.legacyDashboardExport.total': { + type: 'long', + _meta: { description: 'How many times this API has been called.' }, + }, + 'apiCalls.legacyDashboardExport.namespace.default.total': { + type: 'long', + _meta: { description: 'How many times this API has been called in the Default space.' }, + }, + 'apiCalls.legacyDashboardExport.namespace.default.kibanaRequest.yes': { type: 'long', _meta: { description: - 'How many times this API has been called with the `createNewCopiesEnabled` option.', + 'How many times this API has been called by the Kibana client in the Default space.', + }, + }, + 'apiCalls.legacyDashboardExport.namespace.default.kibanaRequest.no': { + type: 'long', + _meta: { + description: + 'How many times this API has been called by a non-Kibana client in the Default space.', + }, + }, + 'apiCalls.legacyDashboardExport.namespace.custom.total': { + type: 'long', + _meta: { description: 'How many times this API has been called in a custom space.' }, + }, + 'apiCalls.legacyDashboardExport.namespace.custom.kibanaRequest.yes': { + type: 'long', + _meta: { + description: + 'How many times this API has been called by the Kibana client in a custom space.', + }, + }, + 'apiCalls.legacyDashboardExport.namespace.custom.kibanaRequest.no': { + type: 'long', + _meta: { + description: + 'How many times this API has been called by a non-Kibana client in a custom space.', + }, + }, + 'apiCalls.savedObjectsExport.allTypesSelected.yes': { + type: 'long', + _meta: { + description: 'How many times this API has been called with all types selected.', }, }, 'apiCalls.savedObjectsExport.allTypesSelected.no': { @@ -949,6 +989,46 @@ export function getCoreUsageCollector( description: 'How many times this API has been called without all types selected.', }, }, + 'apiCalls.legacyDashboardImport.total': { + type: 'long', + _meta: { description: 'How many times this API has been called.' }, + }, + 'apiCalls.legacyDashboardImport.namespace.default.total': { + type: 'long', + _meta: { description: 'How many times this API has been called in the Default space.' }, + }, + 'apiCalls.legacyDashboardImport.namespace.default.kibanaRequest.yes': { + type: 'long', + _meta: { + description: + 'How many times this API has been called by the Kibana client in the Default space.', + }, + }, + 'apiCalls.legacyDashboardImport.namespace.default.kibanaRequest.no': { + type: 'long', + _meta: { + description: + 'How many times this API has been called by a non-Kibana client in the Default space.', + }, + }, + 'apiCalls.legacyDashboardImport.namespace.custom.total': { + type: 'long', + _meta: { description: 'How many times this API has been called in a custom space.' }, + }, + 'apiCalls.legacyDashboardImport.namespace.custom.kibanaRequest.yes': { + type: 'long', + _meta: { + description: + 'How many times this API has been called by the Kibana client in a custom space.', + }, + }, + 'apiCalls.legacyDashboardImport.namespace.custom.kibanaRequest.no': { + type: 'long', + _meta: { + description: + 'How many times this API has been called by a non-Kibana client in a custom space.', + }, + }, // Saved Objects Repository counters 'savedObjectsRepository.resolvedOutcome.exactMatch': { type: 'long', diff --git a/src/plugins/kibana_usage_collection/server/collectors/management/schema.ts b/src/plugins/kibana_usage_collection/server/collectors/management/schema.ts index 00bb24f5293fa..237ec54e4692b 100644 --- a/src/plugins/kibana_usage_collection/server/collectors/management/schema.ts +++ b/src/plugins/kibana_usage_collection/server/collectors/management/schema.ts @@ -104,22 +104,10 @@ export const stackManagementSchema: MakeSchemaFrom = { type: 'keyword', _meta: { description: 'Non-default value of setting.' }, }, - 'timelion:default_rows': { - type: 'long', - _meta: { description: 'Non-default value of setting.' }, - }, - 'timelion:default_columns': { - type: 'long', - _meta: { description: 'Non-default value of setting.' }, - }, 'timelion:es.default_index': { type: 'keyword', _meta: { description: 'Non-default value of setting.' }, }, - 'timelion:showTutorial': { - type: 'boolean', - _meta: { description: 'Non-default value of setting.' }, - }, 'securitySolution:timeDefaults': { type: 'keyword', _meta: { description: 'Non-default value of setting.' }, @@ -400,10 +388,6 @@ export const stackManagementSchema: MakeSchemaFrom = { type: 'boolean', _meta: { description: 'Non-default value of setting.' }, }, - 'visualization:visualize:legacyChartsLibrary': { - type: 'boolean', - _meta: { description: 'Non-default value of setting.' }, - }, 'visualization:visualize:legacyPieChartsLibrary': { type: 'boolean', _meta: { description: 'Non-default value of setting.' }, diff --git a/src/plugins/kibana_usage_collection/server/collectors/management/types.ts b/src/plugins/kibana_usage_collection/server/collectors/management/types.ts index 2375de4a35467..0c4b848ff3544 100644 --- a/src/plugins/kibana_usage_collection/server/collectors/management/types.ts +++ b/src/plugins/kibana_usage_collection/server/collectors/management/types.ts @@ -27,7 +27,6 @@ export interface UsageStats { 'autocomplete:useTimeRange': boolean; 'autocomplete:valueSuggestionMethod': string; 'search:timeout': number; - 'visualization:visualize:legacyChartsLibrary': boolean; 'visualization:visualize:legacyPieChartsLibrary': boolean; 'doc_table:legacy': boolean; 'discover:modifyColumnsOnSwitch': boolean; @@ -50,10 +49,7 @@ export interface UsageStats { 'timelion:max_buckets': number; 'timelion:es.timefield': string; 'timelion:min_interval': string; - 'timelion:default_rows': number; - 'timelion:default_columns': number; 'timelion:es.default_index': string; - 'timelion:showTutorial': boolean; 'securitySolution:timeDefaults': string; 'securitySolution:defaultAnomalyScore': number; 'securitySolution:refreshIntervalDefaults': string; diff --git a/src/plugins/kibana_usage_collection/server/collectors/saved_objects_counts/kibana_usage_collector.test.ts b/src/plugins/kibana_usage_collection/server/collectors/saved_objects_counts/kibana_usage_collector.test.ts index 6097910afe22b..fc9f9a6e8c2d3 100644 --- a/src/plugins/kibana_usage_collection/server/collectors/saved_objects_counts/kibana_usage_collector.test.ts +++ b/src/plugins/kibana_usage_collection/server/collectors/saved_objects_counts/kibana_usage_collector.test.ts @@ -56,7 +56,6 @@ describe('kibana_usage', () => { search: { total: 0 }, index_pattern: { total: 0 }, graph_workspace: { total: 0 }, - timelion_sheet: { total: 0 }, }); }); }); @@ -81,7 +80,6 @@ describe('getKibanaSavedObjectCounts', () => { search: { total: 0 }, index_pattern: { total: 0 }, graph_workspace: { total: 0 }, - timelion_sheet: { total: 0 }, }); }); @@ -91,7 +89,6 @@ describe('getKibanaSavedObjectCounts', () => { types: { buckets: [ { key: 'dashboard', doc_count: 1 }, - { key: 'timelion-sheet', doc_count: 2 }, { key: 'index-pattern', value: 2 }, // Malformed on purpose { key: 'graph_workspace', doc_count: 3 }, // already snake_cased ], @@ -106,7 +103,6 @@ describe('getKibanaSavedObjectCounts', () => { search: { total: 0 }, index_pattern: { total: 0 }, graph_workspace: { total: 3 }, - timelion_sheet: { total: 2 }, }); }); }); diff --git a/src/plugins/kibana_usage_collection/server/collectors/saved_objects_counts/kibana_usage_collector.ts b/src/plugins/kibana_usage_collection/server/collectors/saved_objects_counts/kibana_usage_collector.ts index 1ebb61c446083..13b9d0ca2104c 100644 --- a/src/plugins/kibana_usage_collection/server/collectors/saved_objects_counts/kibana_usage_collector.ts +++ b/src/plugins/kibana_usage_collection/server/collectors/saved_objects_counts/kibana_usage_collector.ts @@ -19,21 +19,13 @@ interface KibanaSavedObjectCounts { search: { total: number }; index_pattern: { total: number }; graph_workspace: { total: number }; - timelion_sheet: { total: number }; } interface KibanaUsage extends KibanaSavedObjectCounts { index: string; } -const TYPES = [ - 'dashboard', - 'visualization', - 'search', - 'index-pattern', - 'graph-workspace', - 'timelion-sheet', -]; +const TYPES = ['dashboard', 'visualization', 'search', 'index-pattern', 'graph-workspace']; export async function getKibanaSavedObjectCounts( esClient: ElasticsearchClient, @@ -89,12 +81,6 @@ export function registerKibanaUsageCollector( _meta: { description: 'Total number of graph_workspace saved objects' }, }, }, - timelion_sheet: { - total: { - type: 'long', - _meta: { description: 'Total number of timelion_sheet saved objects' }, - }, - }, }, async fetch({ esClient }) { const { diff --git a/src/plugins/kibana_usage_collection/server/collectors/ui_metric/schema.ts b/src/plugins/kibana_usage_collection/server/collectors/ui_metric/schema.ts index fec314fc6b87e..5252ab24395aa 100644 --- a/src/plugins/kibana_usage_collection/server/collectors/ui_metric/schema.ts +++ b/src/plugins/kibana_usage_collection/server/collectors/ui_metric/schema.ts @@ -28,7 +28,6 @@ const uiMetricFromDataPluginSchema: MakeSchemaFrom = { kibana: commonSchema, // It's a forward app so we'll likely never report it management: commonSchema, short_url_redirect: commonSchema, // It's a forward app so we'll likely never report it - timelion: commonSchema, visualize: commonSchema, // X-Pack diff --git a/src/plugins/kibana_utils/jest.config.js b/src/plugins/kibana_utils/jest.config.js index 48b7bb62a8e68..a01ededd1e7c0 100644 --- a/src/plugins/kibana_utils/jest.config.js +++ b/src/plugins/kibana_utils/jest.config.js @@ -10,4 +10,9 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/kibana_utils'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/kibana_utils', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/plugins/kibana_utils/{common,demos,public,server}/**/*.{ts,tsx}', + ], }; diff --git a/src/plugins/legacy_export/README.md b/src/plugins/legacy_export/README.md deleted file mode 100644 index 551487a1122fc..0000000000000 --- a/src/plugins/legacy_export/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# `legacyExport` plugin [deprecated] - -The `legacyExport` plugin adds support for the legacy saved objects export format. diff --git a/src/plugins/legacy_export/jest.config.js b/src/plugins/legacy_export/jest.config.js deleted file mode 100644 index d5dd37c8249f9..0000000000000 --- a/src/plugins/legacy_export/jest.config.js +++ /dev/null @@ -1,13 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -module.exports = { - preset: '@kbn/test', - rootDir: '../../..', - roots: ['/src/plugins/legacy_export'], -}; diff --git a/src/plugins/legacy_export/kibana.json b/src/plugins/legacy_export/kibana.json deleted file mode 100644 index 6c1b9ab5e9591..0000000000000 --- a/src/plugins/legacy_export/kibana.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "id": "legacyExport", - "owner": { - "name": "Kibana Core", - "githubTeam": "kibana-core" - }, - "version": "kibana", - "server": true, - "ui": false -} diff --git a/src/plugins/legacy_export/server/index.ts b/src/plugins/legacy_export/server/index.ts deleted file mode 100644 index 95716cdbd307d..0000000000000 --- a/src/plugins/legacy_export/server/index.ts +++ /dev/null @@ -1,12 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { PluginInitializer } from 'src/core/server'; -import { LegacyExportPlugin } from './plugin'; - -export const plugin: PluginInitializer<{}, {}> = (context) => new LegacyExportPlugin(context); diff --git a/src/plugins/legacy_export/server/lib/index.ts b/src/plugins/legacy_export/server/lib/index.ts deleted file mode 100644 index 5ad29d1eab9f7..0000000000000 --- a/src/plugins/legacy_export/server/lib/index.ts +++ /dev/null @@ -1,10 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -export { exportDashboards } from './export/export_dashboards'; -export { importDashboards } from './import/import_dashboards'; diff --git a/src/plugins/legacy_export/server/plugin.ts b/src/plugins/legacy_export/server/plugin.ts deleted file mode 100644 index a6bdcdc19b0a1..0000000000000 --- a/src/plugins/legacy_export/server/plugin.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { Plugin, CoreSetup, PluginInitializerContext } from 'kibana/server'; -import { registerRoutes } from './routes'; - -/** @deprecated */ -export class LegacyExportPlugin implements Plugin<{}, {}> { - constructor(private readonly initContext: PluginInitializerContext) {} - - public setup({ http }: CoreSetup) { - const globalConfig = this.initContext.config.legacy.get(); - - const router = http.createRouter(); - registerRoutes( - router, - this.initContext.env.packageInfo.version, - globalConfig.savedObjects.maxImportPayloadBytes.getValueInBytes() - ); - - return {}; - } - - public start() { - return {}; - } - - public stop() {} -} diff --git a/src/plugins/legacy_export/server/routes/index.ts b/src/plugins/legacy_export/server/routes/index.ts deleted file mode 100644 index c3153ae603ea4..0000000000000 --- a/src/plugins/legacy_export/server/routes/index.ts +++ /dev/null @@ -1,20 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { IRouter } from 'src/core/server'; -import { registerImportRoute } from './import'; -import { registerExportRoute } from './export'; - -export const registerRoutes = ( - router: IRouter, - kibanaVersion: string, - maxImportPayloadBytes: number -) => { - registerExportRoute(router, kibanaVersion); - registerImportRoute(router, maxImportPayloadBytes); -}; diff --git a/src/plugins/legacy_export/tsconfig.json b/src/plugins/legacy_export/tsconfig.json deleted file mode 100644 index 2f071b5ba6c56..0000000000000 --- a/src/plugins/legacy_export/tsconfig.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "./target/types", - "emitDeclarationOnly": true, - "declaration": true, - "declarationMap": true - }, - "include": [ - "server/**/*", - ], - "references": [ - { "path": "../../core/tsconfig.json" } - ] -} diff --git a/src/plugins/management/jest.config.js b/src/plugins/management/jest.config.js index e821012e9dc2e..ee5e50a753693 100644 --- a/src/plugins/management/jest.config.js +++ b/src/plugins/management/jest.config.js @@ -10,4 +10,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/management'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/management', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/src/plugins/management/{common,public,server}/**/*.{ts,tsx}'], }; diff --git a/src/plugins/maps_ems/common/ems_defaults.ts b/src/plugins/maps_ems/common/ems_defaults.ts deleted file mode 100644 index 7eb82ac04858e..0000000000000 --- a/src/plugins/maps_ems/common/ems_defaults.ts +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -// Default config for the elastic hosted EMS endpoints -export const DEFAULT_EMS_FILE_API_URL = 'https://vector.maps.elastic.co'; -export const DEFAULT_EMS_TILE_API_URL = 'https://tiles.maps.elastic.co'; -export const DEFAULT_EMS_LANDING_PAGE_URL = 'https://maps.elastic.co/v7.15'; -export const DEFAULT_EMS_FONT_LIBRARY_URL = - 'https://tiles.maps.elastic.co/fonts/{fontstack}/{range}.pbf'; - -export const DEFAULT_EMS_ROADMAP_ID = 'road_map'; -export const DEFAULT_EMS_ROADMAP_DESATURATED_ID = 'road_map_desaturated'; -export const DEFAULT_EMS_DARKMAP_ID = 'dark_map'; diff --git a/src/plugins/maps_ems/common/index.ts b/src/plugins/maps_ems/common/index.ts index d83a3319d3d15..f7d7ff1102e59 100644 --- a/src/plugins/maps_ems/common/index.ts +++ b/src/plugins/maps_ems/common/index.ts @@ -6,10 +6,16 @@ * Side Public License, v 1. */ -// TODO: https://github.com/elastic/kibana/issues/109853 -/* eslint-disable @kbn/eslint/no_export_all */ - export const TMS_IN_YML_ID = 'TMS in config/kibana.yml'; -export * from './ems_defaults'; +export const DEFAULT_EMS_FILE_API_URL = 'https://vector.maps.elastic.co'; +export const DEFAULT_EMS_TILE_API_URL = 'https://tiles.maps.elastic.co'; +export const DEFAULT_EMS_LANDING_PAGE_URL = 'https://maps.elastic.co/v7.15'; +export const DEFAULT_EMS_FONT_LIBRARY_URL = + 'https://tiles.maps.elastic.co/fonts/{fontstack}/{range}.pbf'; + +export const DEFAULT_EMS_ROADMAP_ID = 'road_map'; +export const DEFAULT_EMS_ROADMAP_DESATURATED_ID = 'road_map_desaturated'; +export const DEFAULT_EMS_DARKMAP_ID = 'dark_map'; + export { ORIGIN } from './origin'; diff --git a/src/plugins/maps_ems/config.ts b/src/plugins/maps_ems/config.ts index ed1648ebbe8bb..710cb52f32a09 100644 --- a/src/plugins/maps_ems/config.ts +++ b/src/plugins/maps_ems/config.ts @@ -40,7 +40,6 @@ export const emsConfigSchema = schema.object({ tilemap: tilemapConfigSchema, includeElasticMapsService: schema.boolean({ defaultValue: true }), proxyElasticMapsServiceInMaps: schema.boolean({ defaultValue: false }), - manifestServiceUrl: schema.string({ defaultValue: '' }), emsUrl: schema.conditional( schema.siblingRef('proxyElasticMapsServiceInMaps'), true, diff --git a/src/plugins/maps_ems/jest.config.js b/src/plugins/maps_ems/jest.config.js index b7021c9119deb..4e2b09bb66305 100644 --- a/src/plugins/maps_ems/jest.config.js +++ b/src/plugins/maps_ems/jest.config.js @@ -10,4 +10,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/maps_ems'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/maps_ems', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/src/plugins/maps_ems/{common,public,server}/**/*.{ts,tsx}'], }; diff --git a/src/plugins/maps_ems/public/index.ts b/src/plugins/maps_ems/public/index.ts index 50f55dd3157bc..a4a0fc45d9164 100644 --- a/src/plugins/maps_ems/public/index.ts +++ b/src/plugins/maps_ems/public/index.ts @@ -6,9 +6,6 @@ * Side Public License, v 1. */ -// TODO: https://github.com/elastic/kibana/issues/109853 -/* eslint-disable @kbn/eslint/no_export_all */ - import { PluginInitializerContext } from 'kibana/public'; import { MapsEmsPlugin } from './plugin'; import { IServiceSettings } from './service_settings'; @@ -27,9 +24,9 @@ export function plugin(initializerContext: PluginInitializerContext) { return new MapsEmsPlugin(initializerContext); } -export type { MapsEmsConfig } from '../config'; +export { TMS_IN_YML_ID } from '../common'; -export * from '../common'; +export type { MapsEmsConfig } from '../config'; export interface MapsEmsPluginSetup { config: MapsEmsConfig; diff --git a/src/plugins/maps_ems/server/index.ts b/src/plugins/maps_ems/server/index.ts index b8b84d222b958..7422dbcfcdec9 100644 --- a/src/plugins/maps_ems/server/index.ts +++ b/src/plugins/maps_ems/server/index.ts @@ -19,7 +19,6 @@ export const config: PluginConfigDescriptor = { tilemap: true, includeElasticMapsService: true, proxyElasticMapsServiceInMaps: true, - manifestServiceUrl: true, emsUrl: true, emsFileApiUrl: true, emsTileApiUrl: true, diff --git a/src/plugins/navigation/jest.config.js b/src/plugins/navigation/jest.config.js index 98cd0e3760a17..e31374a542563 100644 --- a/src/plugins/navigation/jest.config.js +++ b/src/plugins/navigation/jest.config.js @@ -10,4 +10,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/navigation'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/navigation', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/src/plugins/navigation/public/**/*.{ts,tsx}'], }; diff --git a/src/plugins/newsfeed/jest.config.js b/src/plugins/newsfeed/jest.config.js index 580185836c978..43caa9227b9f6 100644 --- a/src/plugins/newsfeed/jest.config.js +++ b/src/plugins/newsfeed/jest.config.js @@ -10,4 +10,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/newsfeed'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/newsfeed', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/src/plugins/newsfeed/{common,public,server}/**/*.{ts,tsx}'], }; diff --git a/src/plugins/presentation_util/jest.config.js b/src/plugins/presentation_util/jest.config.js index 2250d70acb475..cb1e18fd6d736 100644 --- a/src/plugins/presentation_util/jest.config.js +++ b/src/plugins/presentation_util/jest.config.js @@ -10,4 +10,9 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/presentation_util'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/presentation_util', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/plugins/presentation_util/{common,public,server}/**/*.{ts,tsx}', + ], }; diff --git a/src/plugins/saved_objects/jest.config.js b/src/plugins/saved_objects/jest.config.js index 77848e0dc6ed5..416385af2d214 100644 --- a/src/plugins/saved_objects/jest.config.js +++ b/src/plugins/saved_objects/jest.config.js @@ -10,4 +10,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/saved_objects'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/saved_objects', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/src/plugins/saved_objects/{common,public,server}/**/*.{ts,tsx}'], }; diff --git a/src/plugins/saved_objects_management/jest.config.js b/src/plugins/saved_objects_management/jest.config.js index a8fd7db1b7b45..e986e5a310eae 100644 --- a/src/plugins/saved_objects_management/jest.config.js +++ b/src/plugins/saved_objects_management/jest.config.js @@ -10,4 +10,9 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/saved_objects_management'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/saved_objects_management', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/plugins/saved_objects_management/{common,public,server}/**/*.{ts,tsx}', + ], }; diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/__snapshots__/relationships.test.tsx.snap b/src/plugins/saved_objects_management/public/management_section/objects_table/components/__snapshots__/relationships.test.tsx.snap index c39263f304249..6c07cb0c46ec6 100644 --- a/src/plugins/saved_objects_management/public/management_section/objects_table/components/__snapshots__/relationships.test.tsx.snap +++ b/src/plugins/saved_objects_management/public/management_section/objects_table/components/__snapshots__/relationships.test.tsx.snap @@ -14,6 +14,7 @@ exports[`Relationships should render dashboards normally 1`] = ` ({ +const createObject = ({ + namespaces, + hiddenType = false, +}: CreateObjectOptions = {}): SavedObjectWithMetadata => ({ id: 'foo', type: 'bar', attributes: {}, references: [], namespaces, - meta: {}, + meta: { + hiddenType, + }, }); describe('DeleteConfirmModal', () => { @@ -81,7 +87,7 @@ describe('DeleteConfirmModal', () => { isDeleting={false} onConfirm={onConfirm} onCancel={onCancel} - selectedObjects={[]} + selectedObjects={[createObject()]} /> ); wrapper.find('EuiButton').simulate('click'); @@ -90,6 +96,81 @@ describe('DeleteConfirmModal', () => { expect(onCancel).not.toHaveBeenCalled(); }); + describe('when trying to delete hidden objects', () => { + it('excludes the hidden objects from the table', () => { + const objs = [ + createObject({ hiddenType: true }), + createObject({ hiddenType: false }), + createObject({ hiddenType: true }), + ]; + const wrapper = mountWithIntl( + + ); + expect(wrapper.find('.euiTableRow')).toHaveLength(1); + }); + + it('displays a callout when at least one object cannot be deleted', () => { + const objs = [ + createObject({ hiddenType: false }), + createObject({ hiddenType: false }), + createObject({ hiddenType: true }), + ]; + const wrapper = mountWithIntl( + + ); + + const callout = findTestSubject(wrapper, 'cannotDeleteObjectsConfirmWarning'); + expect(callout).toHaveLength(1); + }); + + it('does not display a callout when all objects can be deleted', () => { + const objs = [ + createObject({ hiddenType: false }), + createObject({ hiddenType: false }), + createObject({ hiddenType: false }), + ]; + const wrapper = mountWithIntl( + + ); + + const callout = findTestSubject(wrapper, 'cannotDeleteObjectsConfirmWarning'); + expect(callout).toHaveLength(0); + }); + + it('disable the submit button when all objects cannot be deleted', () => { + const objs = [ + createObject({ hiddenType: true }), + createObject({ hiddenType: true }), + createObject({ hiddenType: true }), + ]; + const wrapper = mountWithIntl( + + ); + + expect(wrapper.find('EuiButton').getDOMNode()).toBeDisabled(); + }); + }); + describe('shared objects warning', () => { it('does not display a callout when no objects are shared', () => { const objs = [ diff --git a/src/plugins/saved_objects_management/public/management_section/objects_table/components/delete_confirm_modal.tsx b/src/plugins/saved_objects_management/public/management_section/objects_table/components/delete_confirm_modal.tsx index 7f1f3adc96d8b..e3ffc6d52a3ab 100644 --- a/src/plugins/saved_objects_management/public/management_section/objects_table/components/delete_confirm_modal.tsx +++ b/src/plugins/saved_objects_management/public/management_section/objects_table/components/delete_confirm_modal.tsx @@ -86,7 +86,7 @@ export const DeleteConfirmModal: FC = ({ title={ } iconType="alert" @@ -95,7 +95,8 @@ export const DeleteConfirmModal: FC = ({

@@ -186,6 +187,7 @@ export const DeleteConfirmModal: FC = ({ fill color="danger" onClick={onConfirm} + disabled={deletableObjects.length === 0} data-test-subj="confirmModalConfirmButton" > /src/plugins/saved_objects_tagging_oss'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/saved_objects_tagging_oss', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/plugins/saved_objects_tagging_oss/{common,public}/**/*.{ts,tsx}', + ], }; diff --git a/src/plugins/screenshot_mode/jest.config.js b/src/plugins/screenshot_mode/jest.config.js index e84f3742f8c1d..e108ab786739f 100644 --- a/src/plugins/screenshot_mode/jest.config.js +++ b/src/plugins/screenshot_mode/jest.config.js @@ -10,4 +10,9 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/screenshot_mode'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/screenshot_mode', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/plugins/screenshot_mode/{common,public,server}/**/*.{ts,tsx}', + ], }; diff --git a/src/plugins/security_oss/jest.config.js b/src/plugins/security_oss/jest.config.js index c62cad7e72cec..692d85f69a740 100644 --- a/src/plugins/security_oss/jest.config.js +++ b/src/plugins/security_oss/jest.config.js @@ -10,4 +10,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/security_oss'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/security_oss', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/src/plugins/security_oss/{common,public,server}/**/*.{ts,tsx}'], }; diff --git a/src/plugins/share/jest.config.js b/src/plugins/share/jest.config.js index f347067849f71..aae58e3c57d1f 100644 --- a/src/plugins/share/jest.config.js +++ b/src/plugins/share/jest.config.js @@ -10,4 +10,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/share'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/share', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/src/plugins/share/{common,public,server}/**/*.{ts,tsx}'], }; diff --git a/src/plugins/telemetry/jest.config.js b/src/plugins/telemetry/jest.config.js index 61e042b40b5d4..932c3c2851382 100644 --- a/src/plugins/telemetry/jest.config.js +++ b/src/plugins/telemetry/jest.config.js @@ -10,4 +10,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/telemetry'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/telemetry', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/src/plugins/telemetry/{common,public,server}/**/*.{ts,tsx}'], }; diff --git a/src/plugins/telemetry/schema/oss_plugins.json b/src/plugins/telemetry/schema/oss_plugins.json index b64c2fbe41265..abf4aac7df59a 100644 --- a/src/plugins/telemetry/schema/oss_plugins.json +++ b/src/plugins/telemetry/schema/oss_plugins.json @@ -1088,137 +1088,6 @@ } } }, - "timelion": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "Always `main`" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen over the last 90 days" - } - }, - "views": { - "type": "array", - "items": { - "properties": { - "appId": { - "type": "keyword", - "_meta": { - "description": "The application being tracked" - } - }, - "viewId": { - "type": "keyword", - "_meta": { - "description": "The application view being tracked" - } - }, - "clicks_total": { - "type": "long", - "_meta": { - "description": "General number of clicks in the application sub view since we started counting them" - } - }, - "clicks_7_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 7 days" - } - }, - "clicks_30_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 30 days" - } - }, - "clicks_90_days": { - "type": "long", - "_meta": { - "description": "General number of clicks in the active application sub view over the last 90 days" - } - }, - "minutes_on_screen_total": { - "type": "float", - "_meta": { - "description": "Minutes the application sub view is active and on-screen since we started counting them." - } - }, - "minutes_on_screen_7_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 7 days" - } - }, - "minutes_on_screen_30_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 30 days" - } - }, - "minutes_on_screen_90_days": { - "type": "float", - "_meta": { - "description": "Minutes the application is active and on-screen active application sub view over the last 90 days" - } - } - } - } - } - } - }, "visualize": { "properties": { "appId": { @@ -6850,10 +6719,52 @@ "description": "How many times this API has been called by a non-Kibana client in a custom space." } }, + "apiCalls.legacyDashboardExport.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called." + } + }, + "apiCalls.legacyDashboardExport.namespace.default.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called in the Default space." + } + }, + "apiCalls.legacyDashboardExport.namespace.default.kibanaRequest.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by the Kibana client in the Default space." + } + }, + "apiCalls.legacyDashboardExport.namespace.default.kibanaRequest.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by a non-Kibana client in the Default space." + } + }, + "apiCalls.legacyDashboardExport.namespace.custom.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called in a custom space." + } + }, + "apiCalls.legacyDashboardExport.namespace.custom.kibanaRequest.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by the Kibana client in a custom space." + } + }, + "apiCalls.legacyDashboardExport.namespace.custom.kibanaRequest.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by a non-Kibana client in a custom space." + } + }, "apiCalls.savedObjectsExport.allTypesSelected.yes": { "type": "long", "_meta": { - "description": "How many times this API has been called with the `createNewCopiesEnabled` option." + "description": "How many times this API has been called with all types selected." } }, "apiCalls.savedObjectsExport.allTypesSelected.no": { @@ -6862,6 +6773,48 @@ "description": "How many times this API has been called without all types selected." } }, + "apiCalls.legacyDashboardImport.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called." + } + }, + "apiCalls.legacyDashboardImport.namespace.default.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called in the Default space." + } + }, + "apiCalls.legacyDashboardImport.namespace.default.kibanaRequest.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by the Kibana client in the Default space." + } + }, + "apiCalls.legacyDashboardImport.namespace.default.kibanaRequest.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by a non-Kibana client in the Default space." + } + }, + "apiCalls.legacyDashboardImport.namespace.custom.total": { + "type": "long", + "_meta": { + "description": "How many times this API has been called in a custom space." + } + }, + "apiCalls.legacyDashboardImport.namespace.custom.kibanaRequest.yes": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by the Kibana client in a custom space." + } + }, + "apiCalls.legacyDashboardImport.namespace.custom.kibanaRequest.no": { + "type": "long", + "_meta": { + "description": "How many times this API has been called by a non-Kibana client in a custom space." + } + }, "savedObjectsRepository.resolvedOutcome.exactMatch": { "type": "long", "_meta": { @@ -7169,30 +7122,12 @@ "description": "Non-default value of setting." } }, - "timelion:default_rows": { - "type": "long", - "_meta": { - "description": "Non-default value of setting." - } - }, - "timelion:default_columns": { - "type": "long", - "_meta": { - "description": "Non-default value of setting." - } - }, "timelion:es.default_index": { "type": "keyword", "_meta": { "description": "Non-default value of setting." } }, - "timelion:showTutorial": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, "securitySolution:timeDefaults": { "type": "keyword", "_meta": { @@ -7616,12 +7551,6 @@ "description": "Non-default value of setting." } }, - "visualization:visualize:legacyChartsLibrary": { - "type": "boolean", - "_meta": { - "description": "Non-default value of setting." - } - }, "visualization:visualize:legacyPieChartsLibrary": { "type": "boolean", "_meta": { @@ -7777,16 +7706,6 @@ } } } - }, - "timelion_sheet": { - "properties": { - "total": { - "type": "long", - "_meta": { - "description": "Total number of timelion_sheet saved objects" - } - } - } } } }, @@ -8318,25 +8237,6 @@ } } }, - "timelion": { - "type": "array", - "items": { - "properties": { - "key": { - "type": "keyword", - "_meta": { - "description": "The event that is tracked" - } - }, - "value": { - "type": "long", - "_meta": { - "description": "The value of the event" - } - } - } - } - }, "csm": { "type": "array", "items": { diff --git a/src/plugins/telemetry/schema/oss_root.json b/src/plugins/telemetry/schema/oss_root.json index c4dd1096a6e98..3748485465cc0 100644 --- a/src/plugins/telemetry/schema/oss_root.json +++ b/src/plugins/telemetry/schema/oss_root.json @@ -64,13 +64,6 @@ }, "kibana": { "properties": { - "timelion_sheet": { - "properties": { - "total": { - "type": "long" - } - } - }, "visualization": { "properties": { "total": { diff --git a/src/plugins/telemetry_collection_manager/jest.config.js b/src/plugins/telemetry_collection_manager/jest.config.js index f9615de4ab60a..7f58aa46cabf2 100644 --- a/src/plugins/telemetry_collection_manager/jest.config.js +++ b/src/plugins/telemetry_collection_manager/jest.config.js @@ -10,4 +10,10 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/telemetry_collection_manager'], + coverageDirectory: + '/target/kibana-coverage/jest/src/plugins/telemetry_collection_manager', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/plugins/telemetry_collection_manager/{common,server}/**/*.{ts,tsx}', + ], }; diff --git a/src/plugins/telemetry_management_section/jest.config.js b/src/plugins/telemetry_management_section/jest.config.js index e1001bc787589..722496905de9e 100644 --- a/src/plugins/telemetry_management_section/jest.config.js +++ b/src/plugins/telemetry_management_section/jest.config.js @@ -10,4 +10,8 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/telemetry_management_section'], + coverageDirectory: + '/target/kibana-coverage/jest/src/plugins/telemetry_management_section', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/src/plugins/telemetry_management_section/public/**/*.{ts,tsx}'], }; diff --git a/src/plugins/timelion/README.md b/src/plugins/timelion/README.md deleted file mode 100644 index d29a33028e967..0000000000000 --- a/src/plugins/timelion/README.md +++ /dev/null @@ -1,2 +0,0 @@ -Contains the deprecated timelion application. For the timelion visualization, -which also contains the timelion APIs and backend, look at the vis_type_timelion plugin. diff --git a/src/plugins/timelion/kibana.json b/src/plugins/timelion/kibana.json deleted file mode 100644 index 4d48462a1ed6a..0000000000000 --- a/src/plugins/timelion/kibana.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "id": "timelion", - "version": "kibana", - "ui": true, - "server": true, - "requiredBundles": [ - "kibanaLegacy", - "kibanaUtils", - "visTypeTimelion" - ], - "requiredPlugins": [ - "visualizations", - "data", - "navigation", - "visTypeTimelion", - "savedObjects", - "kibanaLegacy" - ], - "owner": { - "name": "Vis Editors", - "githubTeam": "kibana-vis-editors" - } -} diff --git a/src/plugins/timelion/public/_app.scss b/src/plugins/timelion/public/_app.scss deleted file mode 100644 index d8a6eb423a670..0000000000000 --- a/src/plugins/timelion/public/_app.scss +++ /dev/null @@ -1,83 +0,0 @@ -.timApp { - position: relative; - background: $euiColorEmptyShade; - - [ng-click] { - cursor: pointer; - } -} - -.timApp__container { - margin: $euiSizeM; -} - -.timApp__menus { - margin: $euiSizeM; -} - -.timApp__title { - display: flex; - align-items: center; - padding: $euiSizeM $euiSizeS; - font-size: $euiSize; - font-weight: $euiFontWeightBold; - border-bottom: 1px solid $euiColorLightShade; - flex-grow: 1; - background-color: $euiColorEmptyShade; -} - -.timApp__stats { - font-weight: $euiFontWeightRegular; - color: $euiColorMediumShade; -} - -.timApp__form { - display: flex; - align-items: flex-start; - margin-top: $euiSize; - margin-bottom: $euiSize; -} - -.timApp__expression { - display: flex; - flex: 1; - margin-right: $euiSizeS; -} - -.timApp__button { - margin-top: $euiSizeS; - padding: $euiSizeXS $euiSizeM; - font-size: $euiSize; - border: none; - border-radius: $euiSizeXS; - color: $euiColorEmptyShade; - background-color: $euiColorPrimary; -} - -.timApp__button--secondary { - margin-top: $euiSizeS; - padding: $euiSizeXS $euiSizeM; - font-size: $euiSize; - border: 1px solid $euiColorPrimary; - border-radius: $euiSizeXS; - color: $euiColorPrimary; - width: 100%; -} - -.timApp__sectionTitle { - margin-bottom: $euiSizeM; - font-size: 18px; - color: $euiColorDarkestShade; -} - -.timApp__helpText { - margin-bottom: $euiSize; - font-size: 14px; - color: $euiColorDarkShade; -} - -.timApp__label { - font-size: $euiSize; - line-height: 1.5; - font-weight: $euiFontWeightBold; -} diff --git a/src/plugins/timelion/public/_base.scss b/src/plugins/timelion/public/_base.scss deleted file mode 100644 index e71196a2e6df9..0000000000000 --- a/src/plugins/timelion/public/_base.scss +++ /dev/null @@ -1,18 +0,0 @@ -// Angular form states -.ng-invalid { - &.ng-dirty, - &.ng-touched { - border-color: $euiColorDanger; - } -} - -input[type='radio'], -input[type='checkbox'], -.radio, -.checkbox { - &[disabled], - fieldset[disabled] & { - cursor: default; - opacity: .8; - } -} diff --git a/src/plugins/timelion/public/app.js b/src/plugins/timelion/public/app.js deleted file mode 100644 index 4a4b2be679dd3..0000000000000 --- a/src/plugins/timelion/public/app.js +++ /dev/null @@ -1,655 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import _ from 'lodash'; - -import { i18n } from '@kbn/i18n'; - -import { createHashHistory } from 'history'; - -import { createKbnUrlStateStorage, withNotifyOnErrors } from '../../kibana_utils/public'; -import { syncQueryStateWithUrl } from '../../data/public'; - -import { getSavedSheetBreadcrumbs, getCreateBreadcrumbs } from './breadcrumbs'; -import { - addFatalError, - registerListenEventListener, - watchMultiDecorator, -} from '../../kibana_legacy/public'; -import { _LEGACY_ as visTypeTimelion } from '../../vis_type_timelion/public'; -import { initCellsDirective } from './directives/cells/cells'; -import { initFullscreenDirective } from './directives/fullscreen/fullscreen'; -import { initFixedElementDirective } from './directives/fixed_element'; -import { initTimelionLoadSheetDirective } from './directives/timelion_load_sheet'; -import { initTimelionHelpDirective } from './directives/timelion_help/timelion_help'; -import { initTimelionSaveSheetDirective } from './directives/timelion_save_sheet'; -import { initTimelionOptionsSheetDirective } from './directives/timelion_options_sheet'; -import { initSavedObjectSaveAsCheckBoxDirective } from './directives/saved_object_save_as_checkbox'; -import { initSavedObjectFinderDirective } from './directives/saved_object_finder'; -import { initTimelionTabsDirective } from './components/timelionhelp_tabs_directive'; -import { initTimelionTDeprecationDirective } from './components/timelion_deprecation_directive'; -import { initTimelionTopNavDirective } from './components/timelion_top_nav_directive'; -import { initInputFocusDirective } from './directives/input_focus'; -import { Chart } from './directives/chart/chart'; -import { TimelionInterval } from './directives/timelion_interval/timelion_interval'; -import { timelionExpInput } from './directives/timelion_expression_input'; -import { TimelionExpressionSuggestions } from './directives/timelion_expression_suggestions/timelion_expression_suggestions'; -import { initSavedSheetService } from './services/saved_sheets'; -import { initTimelionAppState } from './timelion_app_state'; - -import rootTemplate from './index.html'; - -export function initTimelionApp(app, deps) { - app.run(registerListenEventListener); - - const savedSheetLoader = initSavedSheetService(app, deps); - - app.factory('history', () => createHashHistory()); - app.factory('kbnUrlStateStorage', (history) => - createKbnUrlStateStorage({ - history, - useHash: deps.core.uiSettings.get('state:storeInSessionStorage'), - ...withNotifyOnErrors(deps.core.notifications.toasts), - }) - ); - app.config(watchMultiDecorator); - - app - .controller('TimelionVisController', function ($scope) { - $scope.$on('timelionChartRendered', (event) => { - event.stopPropagation(); - $scope.renderComplete(); - }); - }) - .constant('timelionPanels', deps.timelionPanels) - .directive('chart', Chart) - .directive('timelionInterval', TimelionInterval) - .directive('timelionExpressionSuggestions', TimelionExpressionSuggestions) - .directive('timelionExpressionInput', timelionExpInput(deps)); - - initTimelionHelpDirective(app); - initInputFocusDirective(app); - initTimelionTabsDirective(app, deps); - initTimelionTDeprecationDirective(app, deps); - initTimelionTopNavDirective(app, deps); - initSavedObjectFinderDirective(app, savedSheetLoader, deps.core.uiSettings); - initSavedObjectSaveAsCheckBoxDirective(app); - initCellsDirective(app); - initFixedElementDirective(app); - initFullscreenDirective(app); - initTimelionSaveSheetDirective(app); - initTimelionLoadSheetDirective(app); - initTimelionOptionsSheetDirective(app); - - const location = 'Timelion'; - - app.directive('timelionApp', function () { - return { - restrict: 'E', - controllerAs: 'timelionApp', - controller: timelionController, - }; - }); - - function timelionController( - $http, - $route, - $routeParams, - $scope, - $timeout, - history, - kbnUrlStateStorage - ) { - // Keeping this at app scope allows us to keep the current page when the user - // switches to say, the timepicker. - $scope.page = deps.core.uiSettings.get('timelion:showTutorial', true) ? 1 : 0; - $scope.setPage = (page) => ($scope.page = page); - const timefilter = deps.plugins.data.query.timefilter.timefilter; - - timefilter.enableAutoRefreshSelector(); - timefilter.enableTimeRangeSelector(); - - deps.core.chrome.docTitle.change('Timelion - Kibana'); - - // starts syncing `_g` portion of url with query services - const { stop: stopSyncingQueryServiceStateWithUrl } = syncQueryStateWithUrl( - deps.plugins.data.query, - kbnUrlStateStorage - ); - - const savedSheet = $route.current.locals.savedSheet; - - function getStateDefaults() { - return { - sheet: savedSheet.timelion_sheet, - selected: 0, - columns: savedSheet.timelion_columns, - rows: savedSheet.timelion_rows, - interval: savedSheet.timelion_interval, - }; - } - - const { stateContainer, stopStateSync } = initTimelionAppState({ - stateDefaults: getStateDefaults(), - kbnUrlStateStorage, - }); - - $scope.state = _.cloneDeep(stateContainer.getState()); - $scope.expression = _.clone($scope.state.sheet[$scope.state.selected]); - $scope.updatedSheets = []; - - const savedVisualizations = deps.plugins.visualizations.savedVisualizationsLoader; - const timezone = visTypeTimelion.getTimezone(deps.core.uiSettings); - - const defaultExpression = '.es(*)'; - - $scope.topNavMenu = getTopNavMenu(); - - $timeout(function () { - if (deps.core.uiSettings.get('timelion:showTutorial', true)) { - $scope.toggleMenu('showHelp'); - } - }, 0); - - $scope.transient = {}; - - function getTopNavMenu() { - const newSheetAction = { - id: 'new', - label: i18n.translate('timelion.topNavMenu.newSheetButtonLabel', { - defaultMessage: 'New', - }), - description: i18n.translate('timelion.topNavMenu.newSheetButtonAriaLabel', { - defaultMessage: 'New Sheet', - }), - run: function () { - history.push('/'); - $route.reload(); - }, - testId: 'timelionNewButton', - }; - - const addSheetAction = { - id: 'add', - label: i18n.translate('timelion.topNavMenu.addChartButtonLabel', { - defaultMessage: 'Add', - }), - description: i18n.translate('timelion.topNavMenu.addChartButtonAriaLabel', { - defaultMessage: 'Add a chart', - }), - run: function () { - $scope.$evalAsync(() => $scope.newCell()); - }, - testId: 'timelionAddChartButton', - }; - - const saveSheetAction = { - id: 'save', - label: i18n.translate('timelion.topNavMenu.saveSheetButtonLabel', { - defaultMessage: 'Save', - }), - description: i18n.translate('timelion.topNavMenu.saveSheetButtonAriaLabel', { - defaultMessage: 'Save Sheet', - }), - run: () => { - $scope.$evalAsync(() => $scope.toggleMenu('showSave')); - }, - testId: 'timelionSaveButton', - }; - - const deleteSheetAction = { - id: 'delete', - label: i18n.translate('timelion.topNavMenu.deleteSheetButtonLabel', { - defaultMessage: 'Delete', - }), - description: i18n.translate('timelion.topNavMenu.deleteSheetButtonAriaLabel', { - defaultMessage: 'Delete current sheet', - }), - disableButton: function () { - return !savedSheet.id; - }, - run: function () { - const title = savedSheet.title; - function doDelete() { - savedSheet - .delete() - .then(() => { - deps.core.notifications.toasts.addSuccess( - i18n.translate('timelion.topNavMenu.delete.modal.successNotificationText', { - defaultMessage: `Deleted '{title}'`, - values: { title }, - }) - ); - history.push('/'); - }) - .catch((error) => addFatalError(deps.core.fatalErrors, error, location)); - } - - const confirmModalOptions = { - confirmButtonText: i18n.translate( - 'timelion.topNavMenu.delete.modal.confirmButtonLabel', - { - defaultMessage: 'Delete', - } - ), - title: i18n.translate('timelion.topNavMenu.delete.modalTitle', { - defaultMessage: `Delete Timelion sheet '{title}'?`, - values: { title }, - }), - }; - - $scope.$evalAsync(() => { - deps.core.overlays - .openConfirm( - i18n.translate('timelion.topNavMenu.delete.modal.warningText', { - defaultMessage: `You can't recover deleted sheets.`, - }), - confirmModalOptions - ) - .then((isConfirmed) => { - if (isConfirmed) { - doDelete(); - } - }); - }); - }, - testId: 'timelionDeleteButton', - }; - - const openSheetAction = { - id: 'open', - label: i18n.translate('timelion.topNavMenu.openSheetButtonLabel', { - defaultMessage: 'Open', - }), - description: i18n.translate('timelion.topNavMenu.openSheetButtonAriaLabel', { - defaultMessage: 'Open Sheet', - }), - run: () => { - $scope.$evalAsync(() => $scope.toggleMenu('showLoad')); - }, - testId: 'timelionOpenButton', - }; - - const optionsAction = { - id: 'options', - label: i18n.translate('timelion.topNavMenu.optionsButtonLabel', { - defaultMessage: 'Options', - }), - description: i18n.translate('timelion.topNavMenu.optionsButtonAriaLabel', { - defaultMessage: 'Options', - }), - run: () => { - $scope.$evalAsync(() => $scope.toggleMenu('showOptions')); - }, - testId: 'timelionOptionsButton', - }; - - const helpAction = { - id: 'help', - label: i18n.translate('timelion.topNavMenu.helpButtonLabel', { - defaultMessage: 'Help', - }), - description: i18n.translate('timelion.topNavMenu.helpButtonAriaLabel', { - defaultMessage: 'Help', - }), - run: () => { - $scope.$evalAsync(() => $scope.toggleMenu('showHelp')); - }, - testId: 'timelionDocsButton', - }; - - if (deps.core.application.capabilities.timelion.save) { - return [ - newSheetAction, - addSheetAction, - saveSheetAction, - deleteSheetAction, - openSheetAction, - optionsAction, - helpAction, - ]; - } - return [newSheetAction, addSheetAction, openSheetAction, optionsAction, helpAction]; - } - - let refresher; - const setRefreshData = function () { - if (refresher) $timeout.cancel(refresher); - const interval = timefilter.getRefreshInterval(); - if (interval.value > 0 && !interval.pause) { - function startRefresh() { - refresher = $timeout(function () { - if (!$scope.running) $scope.search(); - startRefresh(); - }, interval.value); - } - startRefresh(); - } - }; - - const init = function () { - $scope.running = false; - $scope.search(); - setRefreshData(); - - $scope.model = { - timeRange: timefilter.getTime(), - refreshInterval: timefilter.getRefreshInterval(), - }; - - const unsubscribeStateUpdates = stateContainer.subscribe((state) => { - const clonedState = _.cloneDeep(state); - $scope.updatedSheets.forEach((updatedSheet) => { - clonedState.sheet[updatedSheet.id] = updatedSheet.expression; - }); - $scope.state = clonedState; - $scope.opts.state = clonedState; - $scope.expression = _.clone($scope.state.sheet[$scope.state.selected]); - $scope.search(); - }); - - timefilter.getFetch$().subscribe($scope.search); - - $scope.opts = { - saveExpression: saveExpression, - saveSheet: saveSheet, - savedSheet: savedSheet, - state: _.cloneDeep(stateContainer.getState()), - search: $scope.search, - dontShowHelp: function () { - deps.core.uiSettings.set('timelion:showTutorial', false); - $scope.setPage(0); - $scope.closeMenus(); - }, - }; - - $scope.$watch('opts.state.rows', function (newRow) { - const state = stateContainer.getState(); - if (state.rows !== newRow) { - stateContainer.transitions.set('rows', newRow); - } - }); - - $scope.$watch('opts.state.columns', function (newColumn) { - const state = stateContainer.getState(); - if (state.columns !== newColumn) { - stateContainer.transitions.set('columns', newColumn); - } - }); - - $scope.menus = { - showHelp: false, - showSave: false, - showLoad: false, - showOptions: false, - }; - - $scope.toggleMenu = (menuName) => { - const curState = $scope.menus[menuName]; - $scope.closeMenus(); - $scope.menus[menuName] = !curState; - }; - - $scope.closeMenus = () => { - _.forOwn($scope.menus, function (value, key) { - $scope.menus[key] = false; - }); - }; - - $scope.$on('$destroy', () => { - stopSyncingQueryServiceStateWithUrl(); - unsubscribeStateUpdates(); - stopStateSync(); - }); - }; - - $scope.onTimeUpdate = function ({ dateRange }) { - $scope.model.timeRange = { - ...dateRange, - }; - timefilter.setTime(dateRange); - if (!$scope.running) $scope.search(); - }; - - $scope.onRefreshChange = function ({ isPaused, refreshInterval }) { - $scope.model.refreshInterval = { - pause: isPaused, - value: refreshInterval, - }; - timefilter.setRefreshInterval({ - pause: isPaused, - value: refreshInterval ? refreshInterval : $scope.refreshInterval.value, - }); - - setRefreshData(); - }; - - $scope.$watch( - function () { - return savedSheet.lastSavedTitle; - }, - function (newTitle) { - if (savedSheet.id && newTitle) { - deps.core.chrome.docTitle.change(newTitle); - } - } - ); - - $scope.$watch('expression', function (newExpression) { - const state = stateContainer.getState(); - if (state.sheet[state.selected] !== newExpression) { - const updatedSheet = $scope.updatedSheets.find( - (updatedSheet) => updatedSheet.id === state.selected - ); - if (updatedSheet) { - updatedSheet.expression = newExpression; - } else { - $scope.updatedSheets.push({ - id: state.selected, - expression: newExpression, - }); - } - } - }); - - $scope.toggle = function (property) { - $scope[property] = !$scope[property]; - }; - - $scope.changeInterval = function (interval) { - $scope.currentInterval = interval; - }; - - $scope.updateChart = function () { - const state = stateContainer.getState(); - const newSheet = _.clone(state.sheet); - if ($scope.updatedSheets.length) { - $scope.updatedSheets.forEach((updatedSheet) => { - newSheet[updatedSheet.id] = updatedSheet.expression; - }); - $scope.updatedSheets = []; - } - stateContainer.transitions.updateState({ - interval: $scope.currentInterval ? $scope.currentInterval : state.interval, - sheet: newSheet, - }); - }; - - $scope.newSheet = function () { - history.push('/'); - }; - - $scope.removeSheet = function (removedIndex) { - const state = stateContainer.getState(); - const newSheet = state.sheet.filter((el, index) => index !== removedIndex); - $scope.updatedSheets = $scope.updatedSheets.filter((el) => el.id !== removedIndex); - stateContainer.transitions.updateState({ - sheet: newSheet, - selected: removedIndex ? removedIndex - 1 : removedIndex, - }); - }; - - $scope.newCell = function () { - const state = stateContainer.getState(); - const newSheet = [...state.sheet, defaultExpression]; - stateContainer.transitions.updateState({ sheet: newSheet, selected: newSheet.length - 1 }); - }; - - $scope.setActiveCell = function (cell) { - const state = stateContainer.getState(); - if (state.selected !== cell) { - stateContainer.transitions.updateState({ sheet: $scope.state.sheet, selected: cell }); - } - }; - - $scope.search = function () { - $scope.running = true; - const state = stateContainer.getState(); - - // parse the time range client side to make sure it behaves like other charts - const timeRangeBounds = timefilter.getBounds(); - - const httpResult = $http - .post('../api/timelion/run', { - sheet: state.sheet, - time: _.assignIn( - { - from: timeRangeBounds.min, - to: timeRangeBounds.max, - }, - { - interval: state.interval, - timezone: timezone, - } - ), - }) - .then((resp) => resp.data) - .catch((resp) => { - throw resp.data; - }); - - httpResult - .then(function (resp) { - $scope.stats = resp.stats; - $scope.sheet = resp.sheet; - _.forEach(resp.sheet, function (cell) { - if (cell.exception && cell.plot !== state.selected) { - stateContainer.transitions.set('selected', cell.plot); - } - }); - $scope.running = false; - }) - .catch(function (resp) { - $scope.sheet = []; - $scope.running = false; - - const err = new Error(resp.message); - err.stack = resp.stack; - deps.core.notifications.toasts.addError(err, { - title: i18n.translate('timelion.searchErrorTitle', { - defaultMessage: 'Timelion request error', - }), - }); - }); - }; - - $scope.safeSearch = _.debounce($scope.search, 500); - - function saveSheet() { - const state = stateContainer.getState(); - savedSheet.timelion_sheet = state.sheet; - savedSheet.timelion_interval = state.interval; - savedSheet.timelion_columns = state.columns; - savedSheet.timelion_rows = state.rows; - savedSheet.save().then(function (id) { - if (id) { - deps.core.notifications.toasts.addSuccess({ - title: i18n.translate('timelion.saveSheet.successNotificationText', { - defaultMessage: `Saved sheet '{title}'`, - values: { title: savedSheet.title }, - }), - 'data-test-subj': 'timelionSaveSuccessToast', - }); - - if (savedSheet.id !== $routeParams.id) { - history.push(`/${savedSheet.id}`); - } - } - }); - } - - async function saveExpression(title) { - const vis = await deps.plugins.visualizations.createVis('timelion', { - title, - params: { - expression: $scope.state.sheet[$scope.state.selected], - interval: $scope.state.interval, - }, - }); - const state = deps.plugins.visualizations.convertFromSerializedVis(vis.serialize()); - const visSavedObject = await savedVisualizations.get(); - Object.assign(visSavedObject, state); - const id = await visSavedObject.save(); - if (id) { - deps.core.notifications.toasts.addSuccess( - i18n.translate('timelion.saveExpression.successNotificationText', { - defaultMessage: `Saved expression '{title}'`, - values: { title: state.title }, - }) - ); - } - } - - init(); - } - - app.config(function ($routeProvider) { - $routeProvider - .when('/:id?', { - template: rootTemplate, - reloadOnSearch: false, - k7Breadcrumbs: ($injector, $route) => - $injector.invoke( - $route.current.params.id ? getSavedSheetBreadcrumbs : getCreateBreadcrumbs - ), - badge: () => { - if (deps.core.application.capabilities.timelion.save) { - return undefined; - } - - return { - text: i18n.translate('timelion.badge.readOnly.text', { - defaultMessage: 'Read only', - }), - tooltip: i18n.translate('timelion.badge.readOnly.tooltip', { - defaultMessage: 'Unable to save Timelion sheets', - }), - iconType: 'glasses', - }; - }, - resolve: { - savedSheet: function (savedSheets, $route) { - return savedSheets - .get($route.current.params.id) - .then((savedSheet) => { - if ($route.current.params.id) { - deps.core.chrome.recentlyAccessed.add( - savedSheet.getFullPath(), - savedSheet.title, - savedSheet.id - ); - } - return savedSheet; - }) - .catch(); - }, - }, - }) - .otherwise('/'); - }); -} diff --git a/src/plugins/timelion/public/application.ts b/src/plugins/timelion/public/application.ts deleted file mode 100644 index 1e3cf43f62655..0000000000000 --- a/src/plugins/timelion/public/application.ts +++ /dev/null @@ -1,129 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import './index.scss'; - -import { EuiIcon } from '@elastic/eui'; -import angular, { IModule } from 'angular'; -// required for `ngSanitize` angular module -import 'angular-sanitize'; -// required for ngRoute -import 'angular-route'; -import 'angular-sortable-view'; -import { i18nDirective, i18nFilter, I18nProvider } from '@kbn/i18n/angular'; -import { - IUiSettingsClient, - CoreStart, - PluginInitializerContext, - AppMountParameters, -} from 'kibana/public'; -import { getTimeChart } from './panels/timechart/timechart'; -import { Panel } from './panels/panel'; - -import { configureAppAngularModule } from '../../kibana_legacy/public'; -import { TimelionPluginStartDependencies } from './plugin'; -import { DataPublicPluginStart } from '../../data/public'; -// @ts-ignore -import { initTimelionApp } from './app'; - -export interface RenderDeps { - pluginInitializerContext: PluginInitializerContext; - mountParams: AppMountParameters; - core: CoreStart; - plugins: TimelionPluginStartDependencies; - timelionPanels: Map; -} - -export interface TimelionVisualizationDependencies { - uiSettings: IUiSettingsClient; - timelionPanels: Map; - data: DataPublicPluginStart; - $rootScope: any; - $compile: any; -} - -let angularModuleInstance: IModule | null = null; - -export const renderApp = (deps: RenderDeps) => { - if (!angularModuleInstance) { - angularModuleInstance = createLocalAngularModule(deps); - // global routing stuff - configureAppAngularModule( - angularModuleInstance, - { core: deps.core, env: deps.pluginInitializerContext.env }, - true - ); - initTimelionApp(angularModuleInstance, deps); - } - - const $injector = mountTimelionApp(deps.mountParams.appBasePath, deps.mountParams.element, deps); - - return () => { - $injector.get('$rootScope').$destroy(); - }; -}; - -function registerPanels(dependencies: TimelionVisualizationDependencies) { - const timeChartPanel: Panel = getTimeChart(dependencies); - - dependencies.timelionPanels.set(timeChartPanel.name, timeChartPanel); -} - -const mainTemplate = (basePath: string) => `
- -
`; - -const moduleName = 'app/timelion'; - -const thirdPartyAngularDependencies = ['ngSanitize', 'ngRoute', 'react', 'angular-sortable-view']; - -function mountTimelionApp(appBasePath: string, element: HTMLElement, deps: RenderDeps) { - const mountpoint = document.createElement('div'); - mountpoint.setAttribute('class', 'timelionAppContainer'); - // eslint-disable-next-line no-unsanitized/property - mountpoint.innerHTML = mainTemplate(appBasePath); - // bootstrap angular into detached element and attach it later to - // make angular-within-angular possible - const $injector = angular.bootstrap(mountpoint, [moduleName]); - - registerPanels({ - uiSettings: deps.core.uiSettings, - timelionPanels: deps.timelionPanels, - data: deps.plugins.data, - $rootScope: $injector.get('$rootScope'), - $compile: $injector.get('$compile'), - }); - element.appendChild(mountpoint); - return $injector; -} - -function createLocalAngularModule(deps: RenderDeps) { - createLocalI18nModule(); - createLocalIconModule(); - - const dashboardAngularModule = angular.module(moduleName, [ - ...thirdPartyAngularDependencies, - 'app/timelion/I18n', - 'app/timelion/icon', - ]); - return dashboardAngularModule; -} - -function createLocalIconModule() { - angular - .module('app/timelion/icon', ['react']) - .directive('icon', (reactDirective) => reactDirective(EuiIcon)); -} - -function createLocalI18nModule() { - angular - .module('app/timelion/I18n', []) - .provider('i18n', I18nProvider) - .filter('i18n', i18nFilter) - .directive('i18nId', i18nDirective); -} diff --git a/src/plugins/timelion/public/breadcrumbs.js b/src/plugins/timelion/public/breadcrumbs.js deleted file mode 100644 index aff173823946b..0000000000000 --- a/src/plugins/timelion/public/breadcrumbs.js +++ /dev/null @@ -1,37 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { i18n } from '@kbn/i18n'; - -const ROOT_BREADCRUMB = { - text: i18n.translate('timelion.breadcrumbs.root', { - defaultMessage: 'Timelion', - }), - href: '#', -}; - -export function getCreateBreadcrumbs() { - return [ - ROOT_BREADCRUMB, - { - text: i18n.translate('timelion.breadcrumbs.create', { - defaultMessage: 'Create', - }), - }, - ]; -} - -export function getSavedSheetBreadcrumbs($route) { - const { savedSheet } = $route.current.locals; - return [ - ROOT_BREADCRUMB, - { - text: savedSheet.title, - }, - ]; -} diff --git a/src/plugins/timelion/public/components/timelion_deprecation.tsx b/src/plugins/timelion/public/components/timelion_deprecation.tsx deleted file mode 100644 index 117aabed6773c..0000000000000 --- a/src/plugins/timelion/public/components/timelion_deprecation.tsx +++ /dev/null @@ -1,42 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { FormattedMessage } from '@kbn/i18n/react'; -import { EuiSpacer, EuiCallOut, EuiLink } from '@elastic/eui'; -import React from 'react'; -import { DocLinksStart } from '../../../../core/public'; - -export const TimelionDeprecation = ({ links }: DocLinksStart) => { - const timelionDeprecationLink = links.visualize.timelionDeprecation; - return ( - <> - - - - ), - }} - /> - } - color="warning" - iconType="alert" - size="s" - /> - - - ); -}; diff --git a/src/plugins/timelion/public/components/timelion_deprecation_directive.js b/src/plugins/timelion/public/components/timelion_deprecation_directive.js deleted file mode 100644 index 2aeea00991864..0000000000000 --- a/src/plugins/timelion/public/components/timelion_deprecation_directive.js +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import React from 'react'; -import { TimelionDeprecation } from './timelion_deprecation'; - -export function initTimelionTDeprecationDirective(app, deps) { - app.directive('timelionDeprecation', function (reactDirective) { - return reactDirective( - () => { - return ( - - - - ); - }, - [], - { - restrict: 'E', - scope: { - docLinks: '=', - }, - } - ); - }); -} diff --git a/src/plugins/timelion/public/components/timelion_top_nav_directive.js b/src/plugins/timelion/public/components/timelion_top_nav_directive.js deleted file mode 100644 index 4ec3b40e47c52..0000000000000 --- a/src/plugins/timelion/public/components/timelion_top_nav_directive.js +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import React from 'react'; - -export function initTimelionTopNavDirective(app, deps) { - app.directive('timelionTopNav', function (reactDirective) { - return reactDirective( - (props) => { - const { TopNavMenu } = deps.plugins.navigation.ui; - return ( - - - - ); - }, - [ - ['topNavMenu', { watchDepth: 'reference' }], - ['onTimeUpdate', { watchDepth: 'reference' }], - ], - { - restrict: 'E', - scope: { - topNavMenu: '=', - onTimeUpdate: '=', - }, - } - ); - }); -} diff --git a/src/plugins/timelion/public/components/timelionhelp_tabs.js b/src/plugins/timelion/public/components/timelionhelp_tabs.js deleted file mode 100644 index 537e1bfa393b7..0000000000000 --- a/src/plugins/timelion/public/components/timelionhelp_tabs.js +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import PropTypes from 'prop-types'; -import React from 'react'; - -import { EuiTabs, EuiTab } from '@elastic/eui'; - -import { FormattedMessage } from '@kbn/i18n/react'; - -function handleClick(activateTab, tabName) { - activateTab(tabName); -} - -export function TimelionHelpTabs(props) { - return ( - - handleClick(props.activateTab, 'funcref')} - > - - - handleClick(props.activateTab, 'keyboardtips')} - > - - - - ); -} - -TimelionHelpTabs.propTypes = { - activeTab: PropTypes.string, - activateTab: PropTypes.func, -}; diff --git a/src/plugins/timelion/public/components/timelionhelp_tabs_directive.js b/src/plugins/timelion/public/components/timelionhelp_tabs_directive.js deleted file mode 100644 index a88e156cb5c51..0000000000000 --- a/src/plugins/timelion/public/components/timelionhelp_tabs_directive.js +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import React from 'react'; -import { TimelionHelpTabs } from './timelionhelp_tabs'; - -export function initTimelionTabsDirective(app, deps) { - app.directive('timelionHelpTabs', function (reactDirective) { - return reactDirective( - (props) => { - return ( - - - - ); - }, - [['activeTab'], ['activateTab', { watchDepth: 'reference' }]], - { - restrict: 'E', - scope: { - activeTab: '=', - activateTab: '=', - }, - } - ); - }); -} diff --git a/src/plugins/timelion/public/directives/_form.scss b/src/plugins/timelion/public/directives/_form.scss deleted file mode 100644 index 37a0cc4c0f3e5..0000000000000 --- a/src/plugins/timelion/public/directives/_form.scss +++ /dev/null @@ -1,83 +0,0 @@ -.form-control { - @include euiFontSizeS; - display: block; - width: 100%; - height: $euiFormControlCompressedHeight; - padding: $euiSizeXS $euiSizeM; - border: $euiBorderThin; - background-color: $euiFormBackgroundColor; - color: $euiTextColor; - border-radius: $euiBorderRadius; - cursor: pointer; - - &:not([type='range']) { - appearance: none; - } - - &:focus { - border-color: $euiColorPrimary; - outline: none; - box-shadow: none; - } -} - -select.form-control { // stylelint-disable-line selector-no-qualifying-type - // Makes the select arrow similar to EUI's arrowDown icon - background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"%3E%3Cpath fill="#{hexToRGB($euiTextColor)}" d="M13.0688508,5.15725038 L8.38423975,9.76827428 C8.17054415,9.97861308 7.82999214,9.97914095 7.61576025,9.76827428 L2.93114915,5.15725038 C2.7181359,4.94758321 2.37277319,4.94758321 2.15975994,5.15725038 C1.94674669,5.36691756 1.94674669,5.70685522 2.15975994,5.9165224 L6.84437104,10.5275463 C7.48517424,11.1582836 8.51644979,11.1566851 9.15562896,10.5275463 L13.8402401,5.9165224 C14.0532533,5.70685522 14.0532533,5.36691756 13.8402401,5.15725038 C13.6272268,4.94758321 13.2818641,4.94758321 13.0688508,5.15725038 Z"/%3E%3C/svg%3E'); - background-size: $euiSize; - background-repeat: no-repeat; - background-position: calc(100% - #{$euiSizeS}); - padding-right: $euiSizeXL; -} - -.fullWidth { - width: 100%; -} - -.timDropdownWarning { - margin-bottom: $euiSize; - padding: $euiSizeXS $euiSizeS; - color: $euiColorDarkestShade; - border-left: solid 2px $euiColorDanger; - font-size: $euiSizeM; -} - -.timFormCheckbox { - display: flex; - align-items: center; - line-height: 1.5; - position: relative; -} - -.timFormCheckbox__input { - appearance: none; - background-color: $euiColorLightestShade; - border: 1px solid $euiColorLightShade; - border-radius: $euiSizeXS; - width: $euiSize; - height: $euiSize; - font-size: $euiSizeM; - transition: background-color .1s linear; -} - -.timFormCheckbox__input:checked { - border-color: $euiColorPrimary; - background-color: $euiColorPrimary; -} - -.timFormCheckbox__icon { - position: absolute; - top: 0; - left: 2px; -} - -.timFormTextarea { - padding: $euiSizeXS $euiSizeM; - font-size: $euiSize; - line-height: 1.5; - color: $euiColorDarkestShade; - background-color: $euiFormBackgroundColor; - border: 1px solid $euiColorLightShade; - border-radius: $euiSizeXS; - transition: border-color .1s linear; -} diff --git a/src/plugins/timelion/public/directives/_index.scss b/src/plugins/timelion/public/directives/_index.scss deleted file mode 100644 index 2a015711062a6..0000000000000 --- a/src/plugins/timelion/public/directives/_index.scss +++ /dev/null @@ -1,7 +0,0 @@ -@import './timelion_expression_input'; -@import './cells/index'; -@import './timelion_expression_suggestions/index'; -@import './timelion_help/index'; -@import './timelion_interval/index'; -@import './saved_object_finder'; -@import './form'; diff --git a/src/plugins/timelion/public/directives/_saved_object_finder.scss b/src/plugins/timelion/public/directives/_saved_object_finder.scss deleted file mode 100644 index 55882fe78e99e..0000000000000 --- a/src/plugins/timelion/public/directives/_saved_object_finder.scss +++ /dev/null @@ -1,132 +0,0 @@ -.list-group-menu { - &.select-mode a { - outline: none; - color: tintOrShade($euiColorPrimary, 10%, 10%); - } - - .list-group-menu-item { - list-style: none; - color: tintOrShade($euiColorPrimary, 10%, 10%); - - &.active { - font-weight: bold; - background-color: $euiColorLightShade; - } - - &:hover { - background-color: tintOrShade($euiColorPrimary, 90%, 90%); - } - - li { - list-style: none; - color: tintOrShade($euiColorPrimary, 10%, 10%); - } - } -} - -saved-object-finder { - - .timSearchBar { - display: flex; - align-items: center; - } - - .timSearchBar__section { - position: relative; - margin-right: $euiSize; - flex: 1; - } - - .timSearchBar__icon { - position: absolute; - top: $euiSizeS; - left: $euiSizeS; - font-size: $euiSize; - color: $euiColorDarkShade; - } - - .timSearchBar__input { - padding: $euiSizeS $euiSizeM; - color: $euiColorDarkestShade; - background-color: $euiColorEmptyShade; - border: 1px solid $euiColorLightShade; - border-radius: $euiSizeXS; - transition: border-color .1s linear; - padding-left: $euiSizeXL; - width: 100%; - font-size: $euiSize; - } - - .timSearchBar__pagecount { - font-size: $euiSize; - color: $euiColorDarkShade; - } - - .list-sort-button { - border-top-left-radius: 0; - border-top-right-radius: 0; - border: none; - padding: $euiSizeS $euiSize; - font-weight: $euiFontWeightRegular; - background-color: $euiColorLightestShade; - margin-top: $euiSize; - } - - .li-striped { - li { - border: none; - } - - li:nth-child(even) { - background-color: $euiColorLightestShade; - } - - li:nth-child(odd) { - background-color: $euiColorEmptyShade; - } - - .paginate-heading { - font-weight: $euiFontWeightRegular; - color: $euiColorDarkestShade; - } - - .list-group-item { - padding: $euiSizeS $euiSize; - - ul { - padding: 0; - display: flex; - flex-direction: row; - - .finder-type { - margin-right: $euiSizeS; - } - } - - a { - display: block; - color: $euiColorPrimary; - - i { - color: shade($euiColorPrimary, 10%); - margin-right: $euiSizeS; - } - } - - &:first-child { - border-top-left-radius: 0; - border-top-right-radius: 0; - } - - &.list-group-no-results p { - margin-bottom: 0; - } - } - } - - paginate { - paginate-controls { - margin: $euiSize; - } - } -} diff --git a/src/plugins/timelion/public/directives/_timelion_expression_input.scss b/src/plugins/timelion/public/directives/_timelion_expression_input.scss deleted file mode 100644 index e4294d8454c7c..0000000000000 --- a/src/plugins/timelion/public/directives/_timelion_expression_input.scss +++ /dev/null @@ -1,15 +0,0 @@ -/** - * 1. Anchor suggestions beneath input. - * 2. Allow for option of positioning suggestions absolutely. - */ - -.timExpressionInput__container { - flex: 1 1 auto; - display: flex; - flex-direction: column; /* 1 */ - position: relative; /* 2 */ -} - -.timExpressionInput { - min-height: 70px; // Matches buttons on the right with new vertical rhythm sizing -} diff --git a/src/plugins/timelion/public/directives/cells/_cells.scss b/src/plugins/timelion/public/directives/cells/_cells.scss deleted file mode 100644 index d1e5e976fc8d2..0000000000000 --- a/src/plugins/timelion/public/directives/cells/_cells.scss +++ /dev/null @@ -1,61 +0,0 @@ -.timCell { - display: inline-block; - cursor: pointer; - position: relative; - box-sizing: border-box; - border: 2px dashed transparent; - // sass-lint:disable-block no-important - padding-left: 0 !important; - padding-right: 0 !important; - margin-bottom: $euiSizeM; - - &.active { - border-color: $euiColorLightShade; - } -} - -.timCell.running { - opacity: .5; -} - -.timCell__actions { - position: absolute; - bottom: $euiSizeXS; - left: $euiSizeXS; - - > .timCell__action, - > .timCell__id { - @include euiFontSizeXS; - font-weight: $euiFontWeightBold; - color: $euiColorMediumShade; - display: inline-block; - text-align: center; - width: $euiSizeL; - height: $euiSizeL; - border-radius: $euiSizeL / 2; - border: $euiBorderThin; - background-color: $euiColorLightestShade; - z-index: $euiZLevel1; - } - - > .timCell__action { - opacity: 0; - - &:focus { - opacity: 1; - } - - &:hover, - &:focus { - color: $euiTextColor; - border-color: $euiColorMediumShade; - background-color: $euiColorLightShade; - } - } -} - -.timCell:hover { - .timCell__action { - opacity: 1; - } -} diff --git a/src/plugins/timelion/public/directives/cells/_index.scss b/src/plugins/timelion/public/directives/cells/_index.scss deleted file mode 100644 index 8611b4d8ba1d0..0000000000000 --- a/src/plugins/timelion/public/directives/cells/_index.scss +++ /dev/null @@ -1 +0,0 @@ -@import './cells'; diff --git a/src/plugins/timelion/public/directives/cells/cells.html b/src/plugins/timelion/public/directives/cells/cells.html deleted file mode 100644 index f90b85abaf920..0000000000000 --- a/src/plugins/timelion/public/directives/cells/cells.html +++ /dev/null @@ -1,52 +0,0 @@ -
- -
- -
-
-
{{$index + 1}}
- - - - -
-
- -
diff --git a/src/plugins/timelion/public/directives/cells/cells.js b/src/plugins/timelion/public/directives/cells/cells.js deleted file mode 100644 index af9e315a7d944..0000000000000 --- a/src/plugins/timelion/public/directives/cells/cells.js +++ /dev/null @@ -1,41 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { move } from './collection'; -import { initTimelionGridDirective } from '../timelion_grid'; - -import html from './cells.html'; - -export function initCellsDirective(app) { - initTimelionGridDirective(app); - - app.directive('timelionCells', function () { - return { - restrict: 'E', - scope: { - sheet: '=', - state: '=', - transient: '=', - onSearch: '=', - onSelect: '=', - onRemoveSheet: '=', - }, - template: html, - link: function ($scope) { - $scope.removeCell = function (index) { - $scope.onRemoveSheet(index); - }; - - $scope.dropCell = function (item, partFrom, partTo, indexFrom, indexTo) { - move($scope.sheet, indexFrom, indexTo); - $scope.onSelect(indexTo); - }; - }, - }; - }); -} diff --git a/src/plugins/timelion/public/directives/cells/collection.ts b/src/plugins/timelion/public/directives/cells/collection.ts deleted file mode 100644 index 188f00bef16ae..0000000000000 --- a/src/plugins/timelion/public/directives/cells/collection.ts +++ /dev/null @@ -1,65 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import _ from 'lodash'; - -/** - * move an obj either up or down in the collection by - * injecting it either before/after the prev/next obj that - * satisfied the qualifier - * - * or, just from one index to another... - * - * @param {array} objs - the list to move the object within - * @param {number|any} obj - the object that should be moved, or the index that the object is currently at - * @param {number|boolean} below - the index to move the object to, or whether it should be moved up or down - * @param {function} qualifier - a lodash-y callback, object = _.where, string = _.pluck - * @return {array} - the objs argument - */ -export function move( - objs: any[], - obj: object | number, - below: number | boolean, - qualifier?: ((object: object, index: number) => any) | Record | string -): object[] { - const origI = _.isNumber(obj) ? obj : objs.indexOf(obj); - if (origI === -1) { - return objs; - } - - if (_.isNumber(below)) { - // move to a specific index - objs.splice(below, 0, objs.splice(origI, 1)[0]); - return objs; - } - - below = !!below; - qualifier = qualifier && _.iteratee(qualifier); - - const above = !below; - const finder = below ? _.findIndex : _.findLastIndex; - - // find the index of the next/previous obj that meets the qualifications - const targetI = finder(objs, (otherAgg, otherI) => { - if (below && otherI <= origI) { - return; - } - if (above && otherI >= origI) { - return; - } - return Boolean(_.isFunction(qualifier) && qualifier(otherAgg, otherI)); - }); - - if (targetI === -1) { - return objs; - } - - // place the obj at it's new index - objs.splice(targetI, 0, objs.splice(origI, 1)[0]); - return objs; -} diff --git a/src/plugins/timelion/public/directives/chart/chart.js b/src/plugins/timelion/public/directives/chart/chart.js deleted file mode 100644 index 8f02fb70436e7..0000000000000 --- a/src/plugins/timelion/public/directives/chart/chart.js +++ /dev/null @@ -1,55 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { i18n } from '@kbn/i18n'; - -export function Chart(timelionPanels) { - return { - restrict: 'A', - scope: { - seriesList: '=chart', // The flot object, data, config and all - search: '=', // The function to execute to kick off a search - interval: '=', // Required for formatting x-axis ticks - rerenderTrigger: '=', - }, - link: function ($scope, $elem) { - let panelScope = $scope.$new(true); - - function render() { - panelScope.$destroy(); - - if (!$scope.seriesList) return; - - $scope.seriesList.render = $scope.seriesList.render || { - type: 'timechart', - }; - - const panelSchema = timelionPanels.get($scope.seriesList.render.type); - - if (!panelSchema) { - $elem.text( - i18n.translate('timelion.chart.seriesList.noSchemaWarning', { - defaultMessage: 'No such panel type: {renderType}', - values: { renderType: $scope.seriesList.render.type }, - }) - ); - return; - } - - panelScope = $scope.$new(true); - panelScope.seriesList = $scope.seriesList; - panelScope.interval = $scope.interval; - panelScope.search = $scope.search; - - panelSchema.render(panelScope, $elem); - } - - $scope.$watchGroup(['seriesList', 'rerenderTrigger'], render); - }, - }; -} diff --git a/src/plugins/timelion/public/directives/fixed_element.js b/src/plugins/timelion/public/directives/fixed_element.js deleted file mode 100644 index 4349161892367..0000000000000 --- a/src/plugins/timelion/public/directives/fixed_element.js +++ /dev/null @@ -1,39 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import $ from 'jquery'; - -export function initFixedElementDirective(app) { - app.directive('fixedElementRoot', function () { - return { - restrict: 'A', - link: function ($elem) { - let fixedAt; - $(window).bind('scroll', function () { - const fixed = $('[fixed-element]', $elem); - const body = $('[fixed-element-body]', $elem); - const top = fixed.offset().top; - - if ($(window).scrollTop() > top) { - // This is a gross hack, but its better than it was. I guess - fixedAt = $(window).scrollTop(); - fixed.addClass(fixed.attr('fixed-element')); - body.addClass(fixed.attr('fixed-element-body')); - body.css({ top: fixed.height() }); - } - - if ($(window).scrollTop() < fixedAt) { - fixed.removeClass(fixed.attr('fixed-element')); - body.removeClass(fixed.attr('fixed-element-body')); - body.removeAttr('style'); - } - }); - }, - }; - }); -} diff --git a/src/plugins/timelion/public/directives/fullscreen/fullscreen.html b/src/plugins/timelion/public/directives/fullscreen/fullscreen.html deleted file mode 100644 index 1ed6aa82ea3b9..0000000000000 --- a/src/plugins/timelion/public/directives/fullscreen/fullscreen.html +++ /dev/null @@ -1,14 +0,0 @@ -
-
-
- -
-
diff --git a/src/plugins/timelion/public/directives/fullscreen/fullscreen.js b/src/plugins/timelion/public/directives/fullscreen/fullscreen.js deleted file mode 100644 index 8403d861a4479..0000000000000 --- a/src/plugins/timelion/public/directives/fullscreen/fullscreen.js +++ /dev/null @@ -1,25 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import html from './fullscreen.html'; - -export function initFullscreenDirective(app) { - app.directive('timelionFullscreen', function () { - return { - restrict: 'E', - scope: { - expression: '=', - series: '=', - state: '=', - transient: '=', - onSearch: '=', - }, - template: html, - }; - }); -} diff --git a/src/plugins/timelion/public/directives/input_focus.js b/src/plugins/timelion/public/directives/input_focus.js deleted file mode 100644 index 23b8c54d623c3..0000000000000 --- a/src/plugins/timelion/public/directives/input_focus.js +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -export function initInputFocusDirective(app) { - app.directive('inputFocus', function ($parse, $timeout) { - return { - restrict: 'A', - link: function ($scope, $elem, attrs) { - const isDisabled = attrs.disableInputFocus && $parse(attrs.disableInputFocus)($scope); - if (!isDisabled) { - $timeout(function () { - $elem.focus(); - if (attrs.inputFocus === 'select') $elem.select(); - }); - } - }, - }; - }); -} diff --git a/src/plugins/timelion/public/directives/key_map.ts b/src/plugins/timelion/public/directives/key_map.ts deleted file mode 100644 index 3e28bf3d7a3d5..0000000000000 --- a/src/plugins/timelion/public/directives/key_map.ts +++ /dev/null @@ -1,110 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -export const keyMap: { [key: number]: string } = { - 8: 'backspace', - 9: 'tab', - 13: 'enter', - 16: 'shift', - 17: 'ctrl', - 18: 'alt', - 19: 'pause', - 20: 'capsLock', - 27: 'escape', - 32: 'space', - 33: 'pageUp', - 34: 'pageDown', - 35: 'end', - 36: 'home', - 37: 'left', - 38: 'up', - 39: 'right', - 40: 'down', - 45: 'insert', - 46: 'delete', - 48: '0', - 49: '1', - 50: '2', - 51: '3', - 52: '4', - 53: '5', - 54: '6', - 55: '7', - 56: '8', - 57: '9', - 65: 'a', - 66: 'b', - 67: 'c', - 68: 'd', - 69: 'e', - 70: 'f', - 71: 'g', - 72: 'h', - 73: 'i', - 74: 'j', - 75: 'k', - 76: 'l', - 77: 'm', - 78: 'n', - 79: 'o', - 80: 'p', - 81: 'q', - 82: 'r', - 83: 's', - 84: 't', - 85: 'u', - 86: 'v', - 87: 'w', - 88: 'x', - 89: 'y', - 90: 'z', - 91: 'leftWindowKey', - 92: 'rightWindowKey', - 93: 'selectKey', - 96: '0', - 97: '1', - 98: '2', - 99: '3', - 100: '4', - 101: '5', - 102: '6', - 103: '7', - 104: '8', - 105: '9', - 106: 'multiply', - 107: 'add', - 109: 'subtract', - 110: 'period', - 111: 'divide', - 112: 'f1', - 113: 'f2', - 114: 'f3', - 115: 'f4', - 116: 'f5', - 117: 'f6', - 118: 'f7', - 119: 'f8', - 120: 'f9', - 121: 'f10', - 122: 'f11', - 123: 'f12', - 144: 'numLock', - 145: 'scrollLock', - 186: 'semiColon', - 187: 'equalSign', - 188: 'comma', - 189: 'dash', - 190: 'period', - 191: 'forwardSlash', - 192: 'graveAccent', - 219: 'openBracket', - 220: 'backSlash', - 221: 'closeBracket', - 222: 'singleQuote', - 224: 'meta', -}; diff --git a/src/plugins/timelion/public/directives/saved_object_finder.html b/src/plugins/timelion/public/directives/saved_object_finder.html deleted file mode 100644 index 1ce10efe4e0a8..0000000000000 --- a/src/plugins/timelion/public/directives/saved_object_finder.html +++ /dev/null @@ -1,112 +0,0 @@ -
-
-
- - -
- -
-

-
- - - -
-
-
-
- - - - - diff --git a/src/plugins/timelion/public/directives/saved_object_finder.js b/src/plugins/timelion/public/directives/saved_object_finder.js deleted file mode 100644 index 3bd6a2d9581f4..0000000000000 --- a/src/plugins/timelion/public/directives/saved_object_finder.js +++ /dev/null @@ -1,302 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import _ from 'lodash'; -import rison from 'rison-node'; -import savedObjectFinderTemplate from './saved_object_finder.html'; -import { keyMap } from './key_map'; -import { - PaginateControlsDirectiveProvider, - PaginateDirectiveProvider, -} from '../../../kibana_legacy/public'; -import { PER_PAGE_SETTING } from '../../../saved_objects/public'; -import { VISUALIZE_ENABLE_LABS_SETTING } from '../../../visualizations/public'; - -export function initSavedObjectFinderDirective(app, savedSheetLoader, uiSettings) { - app - .directive('paginate', PaginateDirectiveProvider) - .directive('paginateControls', PaginateControlsDirectiveProvider) - .directive('savedObjectFinder', function () { - return { - restrict: 'E', - scope: { - type: '@', - // optional make-url attr, sets the userMakeUrl in our scope - userMakeUrl: '=?makeUrl', - // optional on-choose attr, sets the userOnChoose in our scope - userOnChoose: '=?onChoose', - // optional useLocalManagement attr, removes link to management section - useLocalManagement: '=?useLocalManagement', - /** - * @type {function} - an optional function. If supplied an `Add new X` button is shown - * and this function is called when clicked. - */ - onAddNew: '=', - /** - * @{type} boolean - set this to true, if you don't want the search box above the - * table to automatically gain focus once loaded - */ - disableAutoFocus: '=', - }, - template: savedObjectFinderTemplate, - controllerAs: 'finder', - controller: function ($scope, $element, $location, history) { - const self = this; - - // the text input element - const $input = $element.find('input[ng-model=filter]'); - - // The number of items to show in the list - $scope.perPage = uiSettings.get(PER_PAGE_SETTING); - - // the list that will hold the suggestions - const $list = $element.find('ul'); - - // the current filter string, used to check that returned results are still useful - let currentFilter = $scope.filter; - - // the most recently entered search/filter - let prevSearch; - - // the list of hits, used to render display - self.hits = []; - - self.service = savedSheetLoader; - self.properties = self.service.loaderProperties; - - filterResults(); - - /** - * Boolean that keeps track of whether hits are sorted ascending (true) - * or descending (false) by title - * @type {Boolean} - */ - self.isAscending = true; - - /** - * Sorts saved object finder hits either ascending or descending - * @param {Array} hits Array of saved finder object hits - * @return {Array} Array sorted either ascending or descending - */ - self.sortHits = function (hits) { - self.isAscending = !self.isAscending; - self.hits = self.isAscending - ? _.sortBy(hits, ['title']) - : _.sortBy(hits, ['title']).reverse(); - }; - - /** - * Passed the hit objects and will determine if the - * hit should have a url in the UI, returns it if so - * @return {string|null} - the url or nothing - */ - self.makeUrl = function (hit) { - if ($scope.userMakeUrl) { - return $scope.userMakeUrl(hit); - } - - if (!$scope.userOnChoose) { - return hit.url; - } - - return '#'; - }; - - self.preventClick = function ($event) { - $event.preventDefault(); - }; - - /** - * Called when a hit object is clicked, can override the - * url behavior if necessary. - */ - self.onChoose = function (hit, $event) { - if ($scope.userOnChoose) { - $scope.userOnChoose(hit, $event); - } - - const url = self.makeUrl(hit); - if (!url || url === '#' || url.charAt(0) !== '#') return; - - $event.preventDefault(); - - history.push(url.substr(1)); - }; - - $scope.$watch('filter', function (newFilter) { - // ensure that the currentFilter changes from undefined to '' - // which triggers - currentFilter = newFilter || ''; - filterResults(); - }); - - $scope.pageFirstItem = 0; - $scope.pageLastItem = 0; - $scope.onPageChanged = (page) => { - $scope.pageFirstItem = page.firstItem; - $scope.pageLastItem = page.lastItem; - }; - - //manages the state of the keyboard selector - self.selector = { - enabled: false, - index: -1, - }; - - self.getLabel = function () { - return _.words(self.properties.nouns).map(_.capitalize).join(' '); - }; - - //key handler for the filter text box - self.filterKeyDown = function ($event) { - switch (keyMap[$event.keyCode]) { - case 'enter': - if (self.hitCount !== 1) return; - const hit = self.hits[0]; - if (!hit) return; - - self.onChoose(hit, $event); - $event.preventDefault(); - break; - } - }; - - //key handler for the list items - self.hitKeyDown = function ($event, page, paginate) { - switch (keyMap[$event.keyCode]) { - case 'tab': - if (!self.selector.enabled) break; - - self.selector.index = -1; - self.selector.enabled = false; - - //if the user types shift-tab return to the textbox - //if the user types tab, set the focus to the currently selected hit. - if ($event.shiftKey) { - $input.focus(); - } else { - $list.find('li.active a').focus(); - } - - $event.preventDefault(); - break; - case 'down': - if (!self.selector.enabled) break; - - if (self.selector.index + 1 < page.length) { - self.selector.index += 1; - } - $event.preventDefault(); - break; - case 'up': - if (!self.selector.enabled) break; - - if (self.selector.index > 0) { - self.selector.index -= 1; - } - $event.preventDefault(); - break; - case 'right': - if (!self.selector.enabled) break; - - if (page.number < page.count) { - paginate.goToPage(page.number + 1); - self.selector.index = 0; - selectTopHit(); - } - $event.preventDefault(); - break; - case 'left': - if (!self.selector.enabled) break; - - if (page.number > 1) { - paginate.goToPage(page.number - 1); - self.selector.index = 0; - selectTopHit(); - } - $event.preventDefault(); - break; - case 'escape': - if (!self.selector.enabled) break; - - $input.focus(); - $event.preventDefault(); - break; - case 'enter': - if (!self.selector.enabled) break; - - const hitIndex = (page.number - 1) * paginate.perPage + self.selector.index; - const hit = self.hits[hitIndex]; - if (!hit) break; - - self.onChoose(hit, $event); - $event.preventDefault(); - break; - case 'shift': - break; - default: - $input.focus(); - break; - } - }; - - self.hitBlur = function () { - self.selector.index = -1; - self.selector.enabled = false; - }; - - self.manageObjects = function (type) { - $location.url('/management/kibana/objects?_a=' + rison.encode({ tab: type })); - }; - - self.hitCountNoun = function () { - return (self.hitCount === 1 - ? self.properties.noun - : self.properties.nouns - ).toLowerCase(); - }; - - function selectTopHit() { - setTimeout(function () { - //triggering a focus event kicks off a new angular digest cycle. - $list.find('a:first').focus(); - }, 0); - } - - function filterResults() { - if (!self.service) return; - if (!self.properties) return; - - // track the filter that we use for this search, - // but ensure that we don't search for the same - // thing twice. This is called from multiple places - // and needs to be smart about when it actually searches - const filter = currentFilter; - if (prevSearch === filter) return; - - prevSearch = filter; - - const isLabsEnabled = uiSettings.get(VISUALIZE_ENABLE_LABS_SETTING); - self.service.find(filter).then(function (hits) { - hits.hits = hits.hits.filter( - (hit) => isLabsEnabled || _.get(hit, 'type.stage') !== 'experimental' - ); - hits.total = hits.hits.length; - - // ensure that we don't display old results - // as we can't really cancel requests - if (currentFilter === filter) { - self.hitCount = hits.total; - self.hits = _.sortBy(hits.hits, ['title']); - } - }); - } - }, - }; - }); -} diff --git a/src/plugins/timelion/public/directives/saved_object_save_as_checkbox.html b/src/plugins/timelion/public/directives/saved_object_save_as_checkbox.html deleted file mode 100644 index a001ddc751748..0000000000000 --- a/src/plugins/timelion/public/directives/saved_object_save_as_checkbox.html +++ /dev/null @@ -1,29 +0,0 @@ -
-
- - -
- diff --git a/src/plugins/timelion/public/directives/saved_object_save_as_checkbox.js b/src/plugins/timelion/public/directives/saved_object_save_as_checkbox.js deleted file mode 100644 index 865e5ea473b85..0000000000000 --- a/src/plugins/timelion/public/directives/saved_object_save_as_checkbox.js +++ /dev/null @@ -1,22 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import saveObjectSaveAsCheckboxTemplate from './saved_object_save_as_checkbox.html'; - -export function initSavedObjectSaveAsCheckBoxDirective(app) { - app.directive('savedObjectSaveAsCheckBox', function () { - return { - restrict: 'E', - template: saveObjectSaveAsCheckboxTemplate, - replace: true, - scope: { - savedObject: '=', - }, - }; - }); -} diff --git a/src/plugins/timelion/public/directives/timelion_expression_input.html b/src/plugins/timelion/public/directives/timelion_expression_input.html deleted file mode 100644 index 6c115118860ba..0000000000000 --- a/src/plugins/timelion/public/directives/timelion_expression_input.html +++ /dev/null @@ -1,41 +0,0 @@ -
- - - - -
diff --git a/src/plugins/timelion/public/directives/timelion_expression_input.js b/src/plugins/timelion/public/directives/timelion_expression_input.js deleted file mode 100644 index c29c802914987..0000000000000 --- a/src/plugins/timelion/public/directives/timelion_expression_input.js +++ /dev/null @@ -1,266 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -/** - * Timelion Expression Autocompleter - * - * This directive allows users to enter multiline timelion expressions. If the user has entered - * a valid expression and then types a ".", this directive will display a list of suggestions. - * - * Users can navigate suggestions using the arrow keys. When a user selects a suggestion, it's - * inserted into the expression and the caret position is updated to be inside of the newly- - * added function's parentheses. - * - * Beneath the hood, we use a PEG grammar to validate the Timelion expression and detect if - * the caret is in a position within the expression that allows functions to be suggested. - * - * NOTE: This directive doesn't work well with contenteditable divs. Challenges include: - * - You have to replace markup with newline characters and spaces when passing the expression - * to the grammar. - * - You have to do the opposite when loading a saved expression, so that it appears correctly - * within the contenteditable (i.e. replace newlines with
markup). - * - The Range and Selection APIs ignore newlines when providing caret position, so there is - * literally no way to insert suggestions into the correct place in a multiline expression - * that has more than a single consecutive newline. - */ - -import _ from 'lodash'; -import $ from 'jquery'; -import timelionExpressionInputTemplate from './timelion_expression_input.html'; -import { - SUGGESTION_TYPE, - Suggestions, - suggest, - insertAtLocation, -} from './timelion_expression_input_helpers'; -import { comboBoxKeyCodes } from '@elastic/eui'; - -export function timelionExpInput(deps) { - return ($http, $timeout) => { - return { - restrict: 'E', - scope: { - rows: '=', - sheet: '=', - updateChart: '&', - shouldPopoverSuggestions: '@', - }, - replace: true, - template: timelionExpressionInputTemplate, - link: function (scope, elem) { - const argValueSuggestions = deps.plugins.visTypeTimelion.getArgValueSuggestions(); - const expressionInput = elem.find('[data-expression-input]'); - const functionReference = {}; - let suggestibleFunctionLocation = {}; - - scope.suggestions = new Suggestions(); - - function init() { - $http.get('../api/timelion/functions').then(function (resp) { - Object.assign(functionReference, { - byName: _.keyBy(resp.data, 'name'), - list: resp.data, - }); - }); - } - - function setCaretOffset(caretOffset) { - // Wait for Angular to update the input with the new expression and *then* we can set - // the caret position. - $timeout(() => { - expressionInput.focus(); - expressionInput[0].selectionStart = expressionInput[0].selectionEnd = caretOffset; - scope.$apply(); - }, 0); - } - - function insertSuggestionIntoExpression(suggestionIndex) { - if (scope.suggestions.isEmpty()) { - return; - } - - const { min, max } = suggestibleFunctionLocation; - let insertedValue; - let insertPositionMinOffset = 0; - - switch (scope.suggestions.type) { - case SUGGESTION_TYPE.FUNCTIONS: { - // Position the caret inside of the function parentheses. - insertedValue = `${scope.suggestions.list[suggestionIndex].name}()`; - - // min advanced one to not replace function '.' - insertPositionMinOffset = 1; - break; - } - case SUGGESTION_TYPE.ARGUMENTS: { - // Position the caret after the '=' - insertedValue = `${scope.suggestions.list[suggestionIndex].name}=`; - break; - } - case SUGGESTION_TYPE.ARGUMENT_VALUE: { - // Position the caret after the argument value - insertedValue = `${scope.suggestions.list[suggestionIndex].name}`; - break; - } - } - - const updatedExpression = insertAtLocation( - insertedValue, - scope.sheet, - min + insertPositionMinOffset, - max - ); - scope.sheet = updatedExpression; - - const newCaretOffset = min + insertedValue.length; - setCaretOffset(newCaretOffset); - } - - function scrollToSuggestionAt(index) { - // We don't cache these because the list changes based on user input. - const suggestionsList = $('[data-suggestions-list]'); - const suggestionListItem = $('[data-suggestion-list-item]')[index]; - // Scroll to the position of the item relative to the list, not to the window. - suggestionsList.scrollTop(suggestionListItem.offsetTop - suggestionsList[0].offsetTop); - } - - function getCursorPosition() { - if (expressionInput.length) { - return expressionInput[0].selectionStart; - } - return null; - } - - async function getSuggestions() { - const suggestions = await suggest( - scope.sheet, - functionReference.list, - getCursorPosition(), - argValueSuggestions - ); - - // We're using ES6 Promises, not $q, so we have to wrap this in $apply. - scope.$apply(() => { - if (suggestions) { - scope.suggestions.setList(suggestions.list, suggestions.type); - scope.suggestions.show(); - suggestibleFunctionLocation = suggestions.location; - $timeout(() => { - const suggestionsList = $('[data-suggestions-list]'); - suggestionsList.scrollTop(0); - }, 0); - return; - } - - suggestibleFunctionLocation = undefined; - scope.suggestions.reset(); - }); - } - - function isNavigationalKey(keyCode) { - const keyCodes = _.values(comboBoxKeyCodes); - return keyCodes.includes(keyCode); - } - - scope.onFocusInput = () => { - // Wait for the caret position of the input to update and then we can get suggestions - // (which depends on the caret position). - $timeout(getSuggestions, 0); - }; - - scope.onBlurInput = () => { - scope.suggestions.hide(); - }; - - scope.onKeyDownInput = (e) => { - // If we've pressed any non-navigational keys, then the user has typed something and we - // can exit early without doing any navigation. The keyup handler will pull up suggestions. - if (!isNavigationalKey(e.keyCode)) { - return; - } - - switch (e.keyCode) { - case comboBoxKeyCodes.UP: - if (scope.suggestions.isVisible) { - // Up and down keys navigate through suggestions. - e.preventDefault(); - scope.suggestions.stepForward(); - scrollToSuggestionAt(scope.suggestions.index); - } - break; - - case comboBoxKeyCodes.DOWN: - if (scope.suggestions.isVisible) { - // Up and down keys navigate through suggestions. - e.preventDefault(); - scope.suggestions.stepBackward(); - scrollToSuggestionAt(scope.suggestions.index); - } - break; - - case comboBoxKeyCodes.TAB: - // If there are no suggestions or none is selected, the user tabs to the next input. - if (scope.suggestions.isEmpty() || scope.suggestions.index < 0) { - // Before letting the tab be handled to focus the next element - // we need to hide the suggestions, otherwise it will focus these - // instead of the time interval select. - scope.suggestions.hide(); - return; - } - - // If we have suggestions, complete the selected one. - e.preventDefault(); - insertSuggestionIntoExpression(scope.suggestions.index); - break; - - case comboBoxKeyCodes.ENTER: - if (e.metaKey || e.ctrlKey) { - // Re-render the chart when the user hits CMD+ENTER. - e.preventDefault(); - scope.updateChart(); - } else if (!scope.suggestions.isEmpty()) { - // If the suggestions are open, complete the expression with the suggestion. - e.preventDefault(); - insertSuggestionIntoExpression(scope.suggestions.index); - } - break; - - case comboBoxKeyCodes.ESCAPE: - e.preventDefault(); - scope.suggestions.hide(); - break; - } - }; - - scope.onKeyUpInput = (e) => { - // If the user isn't navigating, then we should update the suggestions based on their input. - if (!isNavigationalKey(e.keyCode)) { - getSuggestions(); - } - }; - - scope.onClickExpression = () => { - getSuggestions(); - }; - - scope.onClickSuggestion = (index) => { - insertSuggestionIntoExpression(index); - }; - - scope.getActiveSuggestionId = () => { - if (scope.suggestions.isVisible && scope.suggestions.index > -1) { - return `timelionSuggestion${scope.suggestions.index}`; - } - return ''; - }; - - init(); - }, - }; - }; -} diff --git a/src/plugins/timelion/public/directives/timelion_expression_input_helpers.js b/src/plugins/timelion/public/directives/timelion_expression_input_helpers.js deleted file mode 100644 index 0bc5897c49d6f..0000000000000 --- a/src/plugins/timelion/public/directives/timelion_expression_input_helpers.js +++ /dev/null @@ -1,264 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import _ from 'lodash'; -import { _LEGACY_ as visTypeTimelion } from '../../../vis_type_timelion/public'; - -export const SUGGESTION_TYPE = { - ARGUMENTS: 'arguments', - ARGUMENT_VALUE: 'argument_value', - FUNCTIONS: 'functions', -}; - -export class Suggestions { - constructor() { - this.reset(); - } - - reset() { - this.index = -1; - this.list = []; - this.type = null; - this.isVisible = false; - } - - setList(list, type) { - this.list = list.sort((a, b) => { - if (a.name < b.name) { - return -1; - } - if (a.name > b.name) { - return 1; - } - // names must be equal - return 0; - }); - this.type = type; - - // Only try to position index inside of list range, when it was already focused - // beforehand (i.e. not -1) - if (this.index > -1) { - // We may get a shorter list than the one we have now, so we need to make sure our index doesn't - // fall outside of the new list's range. - this.index = Math.max(0, Math.min(this.index, this.list.length - 1)); - } - } - - getCount() { - return this.list.length; - } - - isEmpty() { - return this.list.length === 0; - } - - show() { - this.isVisible = true; - } - - hide() { - this.isVisible = false; - } - - stepForward() { - if (this.index > 0) { - this.index -= 1; - } - } - - stepBackward() { - if (this.index < this.list.length - 1) { - this.index += 1; - } - } -} - -function inLocation(cursorPosition, location) { - return cursorPosition >= location.min && cursorPosition <= location.max; -} - -function getArgumentsHelp(functionHelp, functionArgs = []) { - if (!functionHelp) { - return []; - } - - // Do not provide 'inputSeries' as argument suggestion for chainable functions - const argsHelp = functionHelp.chainable ? functionHelp.args.slice(1) : functionHelp.args.slice(0); - - // ignore arguments that are already provided in function declaration - const functionArgNames = functionArgs.map((arg) => { - return arg.name; - }); - return argsHelp.filter((arg) => { - return !functionArgNames.includes(arg.name); - }); -} - -async function extractSuggestionsFromParsedResult( - result, - cursorPosition, - functionList, - argValueSuggestions -) { - const activeFunc = result.functions.find((func) => { - return cursorPosition >= func.location.min && cursorPosition < func.location.max; - }); - - if (!activeFunc) { - return; - } - - const functionHelp = functionList.find((func) => { - return func.name === activeFunc.function; - }); - - // return function suggestion when cursor is outside of parentheses - // location range includes '.', function name, and '('. - const openParen = activeFunc.location.min + activeFunc.function.length + 2; - if (cursorPosition < openParen) { - return { list: [functionHelp], location: activeFunc.location, type: SUGGESTION_TYPE.FUNCTIONS }; - } - - // return argument value suggestions when cursor is inside argument value - const activeArg = activeFunc.arguments.find((argument) => { - return inLocation(cursorPosition, argument.location); - }); - if ( - activeArg && - activeArg.type === 'namedArg' && - inLocation(cursorPosition, activeArg.value.location) - ) { - const { function: functionName, arguments: functionArgs } = activeFunc; - - const { - name: argName, - value: { text: partialInput }, - } = activeArg; - - let valueSuggestions; - if (argValueSuggestions.hasDynamicSuggestionsForArgument(functionName, argName)) { - valueSuggestions = await argValueSuggestions.getDynamicSuggestionsForArgument( - functionName, - argName, - functionArgs, - partialInput - ); - } else { - const { suggestions: staticSuggestions } = functionHelp.args.find((arg) => { - return arg.name === activeArg.name; - }); - valueSuggestions = argValueSuggestions.getStaticSuggestionsForInput( - partialInput, - staticSuggestions - ); - } - return { - list: valueSuggestions, - location: activeArg.value.location, - type: SUGGESTION_TYPE.ARGUMENT_VALUE, - }; - } - - // return argument suggestions - const argsHelp = getArgumentsHelp(functionHelp, activeFunc.arguments); - const argumentSuggestions = argsHelp.filter((arg) => { - if (_.get(activeArg, 'type') === 'namedArg') { - return _.startsWith(arg.name, activeArg.name); - } else if (activeArg) { - return _.startsWith(arg.name, activeArg.text); - } - return true; - }); - const location = activeArg ? activeArg.location : { min: cursorPosition, max: cursorPosition }; - return { list: argumentSuggestions, location: location, type: SUGGESTION_TYPE.ARGUMENTS }; -} - -export async function suggest(expression, functionList, cursorPosition, argValueSuggestions) { - try { - const result = await visTypeTimelion.parseTimelionExpressionAsync(expression); - return await extractSuggestionsFromParsedResult( - result, - cursorPosition, - functionList, - argValueSuggestions - ); - } catch (e) { - let message; - try { - // The grammar will throw an error containing a message if the expression is formatted - // correctly and is prepared to accept suggestions. If the expression is not formatted - // correctly the grammar will just throw a regular PEG SyntaxError, and this JSON.parse - // attempt will throw an error. - message = JSON.parse(e.message); - } catch (e) { - // The expression isn't correctly formatted, so JSON.parse threw an error. - return; - } - - switch (message.type) { - case 'incompleteFunction': { - let list; - if (message.function) { - // The user has start typing a function name, so we'll filter the list down to only - // possible matches. - list = functionList.filter((func) => _.startsWith(func.name, message.function)); - } else { - // The user hasn't typed anything yet, so we'll just return the entire list. - list = functionList; - } - return { list, location: message.location, type: SUGGESTION_TYPE.FUNCTIONS }; - } - case 'incompleteArgument': { - const { currentFunction: functionName, currentArgs: functionArgs } = message; - const functionHelp = functionList.find((func) => func.name === functionName); - return { - list: getArgumentsHelp(functionHelp, functionArgs), - location: message.location, - type: SUGGESTION_TYPE.ARGUMENTS, - }; - } - case 'incompleteArgumentValue': { - const { name: argName, currentFunction: functionName, currentArgs: functionArgs } = message; - let valueSuggestions = []; - if (argValueSuggestions.hasDynamicSuggestionsForArgument(functionName, argName)) { - valueSuggestions = await argValueSuggestions.getDynamicSuggestionsForArgument( - functionName, - argName, - functionArgs - ); - } else { - const functionHelp = functionList.find((func) => func.name === functionName); - if (functionHelp) { - const argHelp = functionHelp.args.find((arg) => arg.name === argName); - if (argHelp && argHelp.suggestions) { - valueSuggestions = argHelp.suggestions; - } - } - } - return { - list: valueSuggestions, - location: { min: cursorPosition, max: cursorPosition }, - type: SUGGESTION_TYPE.ARGUMENT_VALUE, - }; - } - } - } -} - -export function insertAtLocation( - valueToInsert, - destination, - replacementRangeStart, - replacementRangeEnd -) { - // Insert the value at a location caret within the destination. - const prefix = destination.slice(0, replacementRangeStart); - const suffix = destination.slice(replacementRangeEnd, destination.length); - const result = `${prefix}${valueToInsert}${suffix}`; - return result; -} diff --git a/src/plugins/timelion/public/directives/timelion_expression_suggestions/_index.scss b/src/plugins/timelion/public/directives/timelion_expression_suggestions/_index.scss deleted file mode 100644 index 6fd0098aea68e..0000000000000 --- a/src/plugins/timelion/public/directives/timelion_expression_suggestions/_index.scss +++ /dev/null @@ -1 +0,0 @@ -@import './timelion_expression_suggestions'; diff --git a/src/plugins/timelion/public/directives/timelion_expression_suggestions/_timelion_expression_suggestions.scss b/src/plugins/timelion/public/directives/timelion_expression_suggestions/_timelion_expression_suggestions.scss deleted file mode 100644 index 4bf6ba24108d2..0000000000000 --- a/src/plugins/timelion/public/directives/timelion_expression_suggestions/_timelion_expression_suggestions.scss +++ /dev/null @@ -1,36 +0,0 @@ -.timSuggestions { - @include euiBottomShadowMedium; - background-color: $euiColorLightestShade; - color: $euiTextColor; - border: $euiBorderThin; - // sass-lint:disable-block no-important - border-radius: 0 0 $euiBorderRadius $euiBorderRadius !important; - z-index: $euiZLevel9; - max-height: $euiSizeXL * 10; - overflow-y: auto; - - &.timSuggestions-isPopover { - position: absolute; - top: 100%; - } -} - -.timSuggestions__item { - border-bottom: $euiBorderThin; - padding: $euiSizeXS $euiSizeL; - - &:hover, - &.active { - background-color: $euiColorLightShade; - } -} - -.timSuggestions__details { - background-color: $euiColorLightestShade; - padding: $euiSizeM; - border-radius: $euiBorderRadius; - - > table { - margin-bottom: 0; - } -} diff --git a/src/plugins/timelion/public/directives/timelion_expression_suggestions/timelion_expression_suggestions.html b/src/plugins/timelion/public/directives/timelion_expression_suggestions/timelion_expression_suggestions.html deleted file mode 100644 index ddb9f21615aee..0000000000000 --- a/src/plugins/timelion/public/directives/timelion_expression_suggestions/timelion_expression_suggestions.html +++ /dev/null @@ -1,109 +0,0 @@ -
-
- -
- -
-

- .{{suggestion.name}}() - - - - -

- -
-
- - - {{arg.name}}=({{arg.types.join(' | ')}}) - , - -
- -
- - - - - - - - - - - -
{{arg.name}}{{arg.types.join(', ')}}{{arg.help}}
-
-
-
- -
-

- {{suggestion.name}}= - - {{suggestion.help}} - -

-
- Accepts: - {{suggestion.types.join(', ')}} -
-
- -
-

- {{suggestion.name}} - - {{suggestion.help}} - -

-
- -
-
-
diff --git a/src/plugins/timelion/public/directives/timelion_expression_suggestions/timelion_expression_suggestions.js b/src/plugins/timelion/public/directives/timelion_expression_suggestions/timelion_expression_suggestions.js deleted file mode 100644 index cce0f17f4ef1a..0000000000000 --- a/src/plugins/timelion/public/directives/timelion_expression_suggestions/timelion_expression_suggestions.js +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import template from './timelion_expression_suggestions.html'; - -export function TimelionExpressionSuggestions() { - return { - restrict: 'E', - scope: { - suggestions: '=', - suggestionsType: '=', - selectedIndex: '=', - onClickSuggestion: '&', - shouldPopover: '=', - }, - replace: true, - template, - link: function (scope) { - // This will prevent the expression input from losing focus. - scope.onMouseDown = (e) => e.preventDefault(); - }, - }; -} diff --git a/src/plugins/timelion/public/directives/timelion_grid.js b/src/plugins/timelion/public/directives/timelion_grid.js deleted file mode 100644 index cb55dd6b8e110..0000000000000 --- a/src/plugins/timelion/public/directives/timelion_grid.js +++ /dev/null @@ -1,57 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import $ from 'jquery'; - -export function initTimelionGridDirective(app) { - app.directive('timelionGrid', function () { - return { - restrict: 'A', - scope: { - timelionGridRows: '=', - timelionGridColumns: '=', - }, - link: function ($scope, $elem) { - function init() { - setDimensions(); - } - - $scope.$on('$destroy', function () { - $(window).off('resize'); //remove the handler added earlier - }); - - $(window).resize(function () { - setDimensions(); - }); - - $scope.$watchMulti(['timelionGridColumns', 'timelionGridRows'], function () { - setDimensions(); - }); - - function setDimensions() { - const borderSize = 2; - const headerSize = 45 + 35 + 28 + 20 * 2; // chrome + subnav + buttons + (container padding) - const verticalPadding = 10; - - if ($scope.timelionGridColumns != null) { - $elem.width($elem.parent().width() / $scope.timelionGridColumns - borderSize * 2); - } - - if ($scope.timelionGridRows != null) { - $elem.height( - ($(window).height() - headerSize) / $scope.timelionGridRows - - (verticalPadding + borderSize * 2) - ); - } - } - - init(); - }, - }; - }); -} diff --git a/src/plugins/timelion/public/directives/timelion_help/_index.scss b/src/plugins/timelion/public/directives/timelion_help/_index.scss deleted file mode 100644 index 4228e56180066..0000000000000 --- a/src/plugins/timelion/public/directives/timelion_help/_index.scss +++ /dev/null @@ -1 +0,0 @@ -@import './timelion_help'; diff --git a/src/plugins/timelion/public/directives/timelion_help/_timelion_help.scss b/src/plugins/timelion/public/directives/timelion_help/_timelion_help.scss deleted file mode 100644 index 1f8551116aab0..0000000000000 --- a/src/plugins/timelion/public/directives/timelion_help/_timelion_help.scss +++ /dev/null @@ -1,33 +0,0 @@ -.timHelp { - // EUITODO: Make .euiText > code background transparent - code { - background-color: transparentize($euiTextColor, .9); - } -} - -.timHelp__buttons { - display: flex; - justify-content: space-between; -} - -.timHelp__functions { - height: $euiSizeXL * 10; - overflow-y: auto; -} - -.timHelp__links { - color: $euiColorPrimary; - - &:hover { - text-decoration: underline; - } -} - -/** - * 1. Override bootstrap .table styles. - */ -.timHelp__functionsTableRow:hover, -.timHelp__functionDetailsTable { - // sass-lint:disable-block no-important - background-color: $euiColorLightestShade !important; /* 1 */ -} diff --git a/src/plugins/timelion/public/directives/timelion_help/timelion_help.html b/src/plugins/timelion/public/directives/timelion_help/timelion_help.html deleted file mode 100644 index 4c4fdfe4faf51..0000000000000 --- a/src/plugins/timelion/public/directives/timelion_help/timelion_help.html +++ /dev/null @@ -1,741 +0,0 @@ -
-
-
-

-

-

- - . -

-
-
- - - - - - -
-
-
-
-
-

-

-

-
-
- - - - - - - -
-
-
-
-

-

- - - -

-

-
    -
  • - -

    - - - - - - -

    -
  • -
  • - -

    -
  • -
-

-
-
- - - - - - -
-
-
-
-
-

-

-

- - - -

-

-

-

-

- - - -

-
-
- - - - - - -
-
- -
-
-

-

-

-

- - - - - - - - - - - - - - - - - -
.es(*), .es(US)
.es(*).color(#f66), .es(US).bars(1)
- .es(*).color(#f66).lines(fill=3), - .es(US).bars(1).points(radius=3, weight=1) -
(.es(*), .es(GB)).points()
-

- - . -

-
-
- - - - - - -
-
-
-
-

-

-

-

-

-

-

- - - -

-
-
- - - - - - - -
-
-
-
-

- - - - -
-
- - . -
- -
- - - - - - - - -
.{{function.name}}(){{function.help}}
-
- - - - - - - - - - - -
{{arg.name}}{{arg.types.join(', ')}}{{arg.help}}
-
- -
-
-
-
-
- -
- -
-
-
-
-
Ctrl/Cmd + Enter
-
-
- - -
-
-
- -
-
-
-
Enter/Tab
-
-
Esc
-
-
-
-
diff --git a/src/plugins/timelion/public/directives/timelion_help/timelion_help.js b/src/plugins/timelion/public/directives/timelion_help/timelion_help.js deleted file mode 100644 index ee518a8bce75c..0000000000000 --- a/src/plugins/timelion/public/directives/timelion_help/timelion_help.js +++ /dev/null @@ -1,155 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import template from './timelion_help.html'; -import { i18n } from '@kbn/i18n'; -import _ from 'lodash'; -import moment from 'moment'; - -export function initTimelionHelpDirective(app) { - app.directive('timelionHelp', function ($http) { - return { - restrict: 'E', - template, - controller: function ($scope) { - $scope.functions = { - list: [], - details: null, - }; - - $scope.activeTab = 'funcref'; - $scope.activateTab = function (tabName) { - $scope.activeTab = tabName; - }; - - function init() { - $scope.es = { - invalidCount: 0, - }; - - $scope.translations = { - nextButtonLabel: i18n.translate('timelion.help.nextPageButtonLabel', { - defaultMessage: 'Next', - }), - previousButtonLabel: i18n.translate('timelion.help.previousPageButtonLabel', { - defaultMessage: 'Previous', - }), - dontShowHelpButtonLabel: i18n.translate('timelion.help.dontShowHelpButtonLabel', { - defaultMessage: `Don't show this again`, - }), - strongNextText: i18n.translate('timelion.help.welcome.content.strongNextText', { - defaultMessage: 'Next', - }), - emphasizedEverythingText: i18n.translate( - 'timelion.help.welcome.content.emphasizedEverythingText', - { - defaultMessage: 'everything', - } - ), - notValidAdvancedSettingsPath: i18n.translate( - 'timelion.help.configuration.notValid.advancedSettingsPathText', - { - defaultMessage: 'Management / Kibana / Advanced Settings', - } - ), - validAdvancedSettingsPath: i18n.translate( - 'timelion.help.configuration.valid.advancedSettingsPathText', - { - defaultMessage: 'Management/Kibana/Advanced Settings', - } - ), - esAsteriskQueryDescription: i18n.translate( - 'timelion.help.querying.esAsteriskQueryDescriptionText', - { - defaultMessage: 'hey Elasticsearch, find everything in my default index', - } - ), - esIndexQueryDescription: i18n.translate( - 'timelion.help.querying.esIndexQueryDescriptionText', - { - defaultMessage: 'use * as the q (query) for the logstash-* index', - } - ), - strongAddText: i18n.translate('timelion.help.expressions.strongAddText', { - defaultMessage: 'Add', - }), - twoExpressionsDescriptionTitle: i18n.translate( - 'timelion.help.expressions.examples.twoExpressionsDescriptionTitle', - { - defaultMessage: 'Double the fun.', - } - ), - customStylingDescriptionTitle: i18n.translate( - 'timelion.help.expressions.examples.customStylingDescriptionTitle', - { - defaultMessage: 'Custom styling.', - } - ), - namedArgumentsDescriptionTitle: i18n.translate( - 'timelion.help.expressions.examples.namedArgumentsDescriptionTitle', - { - defaultMessage: 'Named arguments.', - } - ), - groupedExpressionsDescriptionTitle: i18n.translate( - 'timelion.help.expressions.examples.groupedExpressionsDescriptionTitle', - { - defaultMessage: 'Grouped expressions.', - } - ), - }; - - getFunctions(); - checkElasticsearch(); - } - - function getFunctions() { - return $http.get('../api/timelion/functions').then(function (resp) { - $scope.functions.list = resp.data; - }); - } - $scope.recheckElasticsearch = function () { - $scope.es.valid = null; - checkElasticsearch().then(function (valid) { - if (!valid) $scope.es.invalidCount++; - }); - }; - - function checkElasticsearch() { - return $http.get('../api/timelion/validate/es').then(function (resp) { - if (resp.data.ok) { - $scope.es.valid = true; - $scope.es.stats = { - min: moment(resp.data.min).format('LLL'), - max: moment(resp.data.max).format('LLL'), - field: resp.data.field, - }; - } else { - $scope.es.valid = false; - $scope.es.invalidReason = (function () { - try { - const esResp = JSON.parse(resp.data.resp.response); - return _.get(esResp, 'error.root_cause[0].reason'); - } catch (e) { - if (_.get(resp, 'data.resp.message')) return _.get(resp, 'data.resp.message'); - if (_.get(resp, 'data.resp.output.payload.message')) - return _.get(resp, 'data.resp.output.payload.message'); - return i18n.translate('timelion.help.unknownErrorMessage', { - defaultMessage: 'Unknown error', - }); - } - })(); - } - return $scope.es.valid; - }); - } - init(); - }, - }; - }); -} diff --git a/src/plugins/timelion/public/directives/timelion_interval/_index.scss b/src/plugins/timelion/public/directives/timelion_interval/_index.scss deleted file mode 100644 index 2a201f9b35a4d..0000000000000 --- a/src/plugins/timelion/public/directives/timelion_interval/_index.scss +++ /dev/null @@ -1 +0,0 @@ -@import './timelion_interval'; diff --git a/src/plugins/timelion/public/directives/timelion_interval/_timelion_interval.scss b/src/plugins/timelion/public/directives/timelion_interval/_timelion_interval.scss deleted file mode 100644 index 7ce09155cafd8..0000000000000 --- a/src/plugins/timelion/public/directives/timelion_interval/_timelion_interval.scss +++ /dev/null @@ -1,30 +0,0 @@ -timelion-interval { - display: flex; -} - -.timInterval__input { - width: $euiSizeXL * 2; - padding: $euiSizeXS $euiSizeM; - color: $euiColorDarkestShade; - border: 1px solid $euiColorLightShade; - border-radius: $euiSizeXS; - transition: border-color .1s linear; - font-size: 14px; -} - -.timInterval__input--compact { - border-top-right-radius: 0; - border-bottom-right-radius: 0; -} - -.timInterval__presets { - width: $euiSizeXL * 3; -} - -.timInterval__presets--compact { - width: $euiSizeXL * 1; - padding-left: 0; - border-left: none; - border-top-left-radius: 0; - border-bottom-left-radius: 0; -} diff --git a/src/plugins/timelion/public/directives/timelion_interval/timelion_interval.html b/src/plugins/timelion/public/directives/timelion_interval/timelion_interval.html deleted file mode 100644 index 49009355e49f4..0000000000000 --- a/src/plugins/timelion/public/directives/timelion_interval/timelion_interval.html +++ /dev/null @@ -1,22 +0,0 @@ - diff --git a/src/plugins/timelion/public/directives/timelion_interval/timelion_interval.js b/src/plugins/timelion/public/directives/timelion_interval/timelion_interval.js deleted file mode 100644 index 55f50fff132eb..0000000000000 --- a/src/plugins/timelion/public/directives/timelion_interval/timelion_interval.js +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import _ from 'lodash'; -import $ from 'jquery'; -import template from './timelion_interval.html'; - -export function TimelionInterval($timeout) { - return { - restrict: 'E', - scope: { - // The interval model - model: '=', - changeInterval: '=', - }, - template, - link: function ($scope, $elem) { - $scope.intervalOptions = ['auto', '1s', '1m', '1h', '1d', '1w', '1M', '1y', 'other']; - $scope.intervalLabels = { - auto: 'auto', - '1s': '1 second', - '1m': '1 minute', - '1h': '1 hour', - '1d': '1 day', - '1w': '1 week', - '1M': '1 month', - '1y': '1 year', - other: 'other', - }; - - $scope.$watch('model', function (newVal, oldVal) { - // Only run this on initialization - if (newVal !== oldVal || oldVal == null) return; - - if (_.includes($scope.intervalOptions, newVal)) { - $scope.interval = newVal; - } else { - $scope.interval = 'other'; - } - - if (newVal !== 'other') { - $scope.otherInterval = newVal; - } - }); - - $scope.$watch('interval', function (newVal, oldVal) { - if (newVal === oldVal || $scope.model === newVal) return; - - if (newVal === 'other') { - $scope.otherInterval = oldVal; - $scope.changeInterval($scope.otherInterval); - $timeout(function () { - $('input', $elem).select(); - }, 0); - } else { - $scope.otherInterval = $scope.interval; - $scope.changeInterval($scope.interval); - } - }); - - $scope.$watch('otherInterval', function (newVal, oldVal) { - if (newVal === oldVal || $scope.model === newVal) return; - $scope.changeInterval(newVal); - }); - }, - }; -} diff --git a/src/plugins/timelion/public/directives/timelion_load_sheet.js b/src/plugins/timelion/public/directives/timelion_load_sheet.js deleted file mode 100644 index 83b8b4c2e262b..0000000000000 --- a/src/plugins/timelion/public/directives/timelion_load_sheet.js +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import template from '../partials/load_sheet.html'; - -export function initTimelionLoadSheetDirective(app) { - app.directive('timelionLoad', function () { - return { - replace: true, - restrict: 'E', - template, - }; - }); -} diff --git a/src/plugins/timelion/public/directives/timelion_options_sheet.js b/src/plugins/timelion/public/directives/timelion_options_sheet.js deleted file mode 100644 index b3560111d4152..0000000000000 --- a/src/plugins/timelion/public/directives/timelion_options_sheet.js +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import template from '../partials/sheet_options.html'; - -export function initTimelionOptionsSheetDirective(app) { - app.directive('timelionOptions', function () { - return { - replace: true, - restrict: 'E', - template, - }; - }); -} diff --git a/src/plugins/timelion/public/directives/timelion_save_sheet.js b/src/plugins/timelion/public/directives/timelion_save_sheet.js deleted file mode 100644 index 40289b1bb8353..0000000000000 --- a/src/plugins/timelion/public/directives/timelion_save_sheet.js +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import saveTemplate from '../partials/save_sheet.html'; - -export function initTimelionSaveSheetDirective(app) { - app.directive('timelionSave', function () { - return { - replace: true, - restrict: 'E', - template: saveTemplate, - }; - }); -} diff --git a/src/plugins/timelion/public/index.html b/src/plugins/timelion/public/index.html deleted file mode 100644 index 3fb518e81e882..0000000000000 --- a/src/plugins/timelion/public/index.html +++ /dev/null @@ -1,80 +0,0 @@ - - - - - - - - - -
- - - - - -
- -
-
- -
-
- -
- -
- - - -
-
- -
- - - -
-
-
-
- diff --git a/src/plugins/timelion/public/index.scss b/src/plugins/timelion/public/index.scss deleted file mode 100644 index 7a4259b2a17c8..0000000000000 --- a/src/plugins/timelion/public/index.scss +++ /dev/null @@ -1,18 +0,0 @@ -/* Timelion plugin styles */ - -// Prefix all styles with "tim" to avoid conflicts. -// Examples -// timChart -// timChart__legend -// timChart__legend--small -// timChart__legend-isLoading - -@import './app'; -@import './base'; -@import './directives/index'; - -// these styles is needed to be loaded here explicitly if the timelion visualization was not opened in browser -// styles for timelion visualization are lazy loaded only while a vis is opened -// this will duplicate styles only if both Timelion app and timelion visualization are loaded -// could be left here as it is since the Timelion app is deprecated -@import '../../vis_type_timelion/public/legacy/timelion_vis.scss'; diff --git a/src/plugins/timelion/public/index.ts b/src/plugins/timelion/public/index.ts deleted file mode 100644 index 866d8a4ad20a2..0000000000000 --- a/src/plugins/timelion/public/index.ts +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { PluginInitializerContext } from 'kibana/public'; -import { TimelionPlugin as Plugin } from './plugin'; - -export function plugin(initializerContext: PluginInitializerContext) { - return new Plugin(initializerContext); -} diff --git a/src/plugins/timelion/public/lib/observe_resize.js b/src/plugins/timelion/public/lib/observe_resize.js deleted file mode 100644 index d2902a59821c3..0000000000000 --- a/src/plugins/timelion/public/lib/observe_resize.js +++ /dev/null @@ -1,33 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -export default function ($elem, fn, frequency) { - frequency = frequency || 500; - let currentHeight = $elem.height(); - let currentWidth = $elem.width(); - - let timeout; - - function checkLoop() { - timeout = setTimeout(function () { - if (currentHeight !== $elem.height() || currentWidth !== $elem.width()) { - currentHeight = $elem.height(); - currentWidth = $elem.width(); - - if (currentWidth > 0 && currentWidth > 0) fn(); - } - checkLoop(); - }, frequency); - } - - checkLoop(); - - return function () { - clearTimeout(timeout); - }; -} diff --git a/src/plugins/timelion/public/panels/panel.ts b/src/plugins/timelion/public/panels/panel.ts deleted file mode 100644 index 333634976eba1..0000000000000 --- a/src/plugins/timelion/public/panels/panel.ts +++ /dev/null @@ -1,34 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { i18n } from '@kbn/i18n'; - -interface PanelConfig { - help?: string; - render?: Function; -} - -export class Panel { - name: string; - help: string; - render: Function | undefined; - - constructor(name: string, config: PanelConfig) { - this.name = name; - this.help = config.help || ''; - this.render = config.render; - - if (!config.render) { - throw new Error( - i18n.translate('timelion.panels.noRenderFunctionErrorMessage', { - defaultMessage: 'Panel must have a rendering function', - }) - ); - } - } -} diff --git a/src/plugins/timelion/public/panels/timechart/schema.ts b/src/plugins/timelion/public/panels/timechart/schema.ts deleted file mode 100644 index dc26adc6ea5f5..0000000000000 --- a/src/plugins/timelion/public/panels/timechart/schema.ts +++ /dev/null @@ -1,386 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import _ from 'lodash'; -import $ from 'jquery'; -import moment from 'moment-timezone'; -// @ts-ignore -import observeResize from '../../lib/observe_resize'; -import { _LEGACY_ as visTypeTimelion } from '../../../../vis_type_timelion/public'; -import { TimelionVisualizationDependencies } from '../../application'; - -const DEBOUNCE_DELAY = 50; - -export function timechartFn(dependencies: TimelionVisualizationDependencies) { - const { - $rootScope, - $compile, - uiSettings, - data: { - query: { timefilter }, - }, - } = dependencies; - - return function () { - return { - help: 'Draw a timeseries chart', - render($scope: any, $elem: any) { - const template = '
'; - const formatters = visTypeTimelion.tickFormatters() as any; - const getxAxisFormatter = visTypeTimelion.xaxisFormatterProvider(uiSettings); - const generateTicks = visTypeTimelion.generateTicksProvider(); - - // TODO: I wonder if we should supply our own moment that sets this every time? - // could just use angular's injection to provide a moment service? - moment.tz.setDefault(uiSettings.get('dateFormat:tz')); - - const render = $scope.seriesList.render || {}; - - $scope.chart = $scope.seriesList.list; - $scope.interval = $scope.interval; - $scope.search = $scope.search || _.noop; - - let legendValueNumbers: any; - let legendCaption: any; - const debouncedSetLegendNumbers = _.debounce(setLegendNumbers, DEBOUNCE_DELAY, { - maxWait: DEBOUNCE_DELAY, - leading: true, - trailing: false, - }); - // ensure legend is the same height with or without a caption so legend items do not move around - const emptyCaption = '
'; - - const defaultOptions = { - xaxis: { - mode: 'time', - tickLength: 5, - timezone: 'browser', - }, - selection: { - mode: 'x', - color: '#ccc', - }, - crosshair: { - mode: 'x', - color: '#C66', - lineWidth: 2, - }, - grid: { - show: render.grid, - borderWidth: 0, - borderColor: null, - margin: 10, - hoverable: true, - autoHighlight: false, - }, - legend: { - backgroundColor: 'rgb(255,255,255,0)', - position: 'nw', - labelBoxBorderColor: 'rgb(255,255,255,0)', - labelFormatter(label: any, series: any) { - const wrapperSpan = document.createElement('span'); - const labelSpan = document.createElement('span'); - const numberSpan = document.createElement('span'); - - wrapperSpan.setAttribute('class', 'ngLegendValue'); - wrapperSpan.setAttribute('kbn-accessible-click', ''); - wrapperSpan.setAttribute('ng-click', `toggleSeries(${series._id})`); - wrapperSpan.setAttribute('ng-focus', `focusSeries(${series._id})`); - wrapperSpan.setAttribute('ng-mouseover', `highlightSeries(${series._id})`); - - labelSpan.setAttribute('ng-non-bindable', ''); - labelSpan.appendChild(document.createTextNode(label)); - numberSpan.setAttribute('class', 'ngLegendValueNumber'); - - wrapperSpan.appendChild(labelSpan); - wrapperSpan.appendChild(numberSpan); - - return wrapperSpan.outerHTML; - }, - }, - colors: [ - '#01A4A4', - '#C66', - '#D0D102', - '#616161', - '#00A1CB', - '#32742C', - '#F18D05', - '#113F8C', - '#61AE24', - '#D70060', - ], - }; - - const originalColorMap = new Map(); - $scope.chart.forEach((series: any, seriesIndex: any) => { - if (!series.color) { - const colorIndex = seriesIndex % defaultOptions.colors.length; - series.color = defaultOptions.colors[colorIndex]; - } - originalColorMap.set(series, series.color); - }); - - let highlightedSeries: any; - let focusedSeries: any; - function unhighlightSeries() { - if (highlightedSeries === null) { - return; - } - - highlightedSeries = null; - focusedSeries = null; - $scope.chart.forEach((series: any) => { - series.color = originalColorMap.get(series); // reset the colors - }); - drawPlot($scope.chart); - } - $scope.highlightSeries = _.debounce(function (id: any) { - if (highlightedSeries === id) { - return; - } - - highlightedSeries = id; - $scope.chart.forEach((series: any, seriesIndex: any) => { - if (seriesIndex !== id) { - series.color = 'rgba(128,128,128,0.1)'; // mark as grey - } else { - series.color = originalColorMap.get(series); // color it like it was - } - }); - drawPlot($scope.chart); - }, DEBOUNCE_DELAY); - $scope.focusSeries = function (id: any) { - focusedSeries = id; - $scope.highlightSeries(id); - }; - - $scope.toggleSeries = function (id: any) { - const series = $scope.chart[id]; - series._hide = !series._hide; - drawPlot($scope.chart); - }; - - const cancelResize = observeResize($elem, function () { - drawPlot($scope.chart); - }); - - $scope.$on('$destroy', function () { - cancelResize(); - $elem.off('plothover'); - $elem.off('plotselected'); - $elem.off('mouseleave'); - }); - - $elem.on('plothover', function (event: any, pos: any, item: any) { - $rootScope.$broadcast('timelionPlotHover', event, pos, item); - }); - - $elem.on('plotselected', function (event: any, ranges: any) { - timefilter.timefilter.setTime({ - from: moment(ranges.xaxis.from), - to: moment(ranges.xaxis.to), - }); - }); - - $elem.on('mouseleave', function () { - $rootScope.$broadcast('timelionPlotLeave'); - }); - - $scope.$on('timelionPlotHover', function (angularEvent: any, flotEvent: any, pos: any) { - if (!$scope.plot) return; - $scope.plot.setCrosshair(pos); - debouncedSetLegendNumbers(pos); - }); - - $scope.$on('timelionPlotLeave', function () { - if (!$scope.plot) return; - $scope.plot.clearCrosshair(); - clearLegendNumbers(); - }); - - // Shamelessly borrowed from the flotCrosshairs example - function setLegendNumbers(pos: any) { - unhighlightSeries(); - - const plot = $scope.plot; - - const axes = plot.getAxes(); - if (pos.x < axes.xaxis.min || pos.x > axes.xaxis.max) { - return; - } - - let i; - const dataset = plot.getData(); - if (legendCaption) { - legendCaption.text( - moment(pos.x).format( - _.get(dataset, '[0]._global.legend.timeFormat', visTypeTimelion.DEFAULT_TIME_FORMAT) - ) - ); - } - for (i = 0; i < dataset.length; ++i) { - const series = dataset[i]; - const useNearestPoint = series.lines.show && !series.lines.steps; - const precision = _.get(series, '_meta.precision', 2); - - if (series._hide) continue; - - const currentPoint = series.data.find((point: any, index: number) => { - if (index + 1 === series.data.length) { - return true; - } - if (useNearestPoint) { - return pos.x - point[0] < series.data[index + 1][0] - pos.x; - } else { - return pos.x < series.data[index + 1][0]; - } - }); - - const y = currentPoint[1]; - - if (y != null) { - let label = y.toFixed(precision); - if (series.yaxis.tickFormatter) { - label = series.yaxis.tickFormatter(label, series.yaxis); - } - legendValueNumbers.eq(i).text(`(${label})`); - } else { - legendValueNumbers.eq(i).empty(); - } - } - } - - function clearLegendNumbers() { - if (legendCaption) { - legendCaption.html(emptyCaption); - } - _.each(legendValueNumbers, function (num) { - $(num).empty(); - }); - } - - let legendScope = $scope.$new(); - function drawPlot(plotConfig: any) { - if (!$('.chart-canvas', $elem).length) $elem.html(template); - const canvasElem = $('.chart-canvas', $elem); - - // we can't use `$.plot` to draw the chart when the height or width is 0 - // so, we'll need another event to trigger drawPlot to actually draw it - if (canvasElem.height() === 0 || canvasElem.width() === 0) { - return; - } - - const title = _(plotConfig).map('_title').compact().last() as any; - $('.chart-top-title', $elem).text(title == null ? '' : title); - - const options = _.cloneDeep(defaultOptions) as any; - - // Get the X-axis tick format - const time = timefilter.timefilter.getBounds() as any; - const interval = visTypeTimelion.calculateInterval( - time.min.valueOf(), - time.max.valueOf(), - uiSettings.get('timelion:target_buckets') || 200, - $scope.interval, - uiSettings.get('timelion:min_interval') || '1ms' - ); - const format = getxAxisFormatter(interval); - - // Use moment to format ticks so we get timezone correction - options.xaxis.tickFormatter = function (val: any) { - return moment(val).format(format); - }; - - // Calculate how many ticks can fit on the axis - const tickLetterWidth = 7; - const tickPadding = 45; - options.xaxis.ticks = Math.floor( - $elem.width() / (format.length * tickLetterWidth + tickPadding) - ); - - const series = _.map(plotConfig, function (serie: any, index) { - serie = _.cloneDeep( - _.defaults(serie, { - shadowSize: 0, - lines: { - lineWidth: 3, - }, - }) - ); - serie._id = index; - - if (serie.color) { - const span = document.createElement('span'); - span.style.color = serie.color; - serie.color = span.style.color; - } - - if (serie._hide) { - serie.data = []; - serie.stack = false; - // serie.color = "#ddd"; - serie.label = '(hidden) ' + serie.label; - } - - if (serie._global) { - _.mergeWith(options, serie._global, function (objVal, srcVal) { - // This is kind of gross, it means that you can't replace a global value with a null - // best you can do is an empty string. Deal with it. - if (objVal == null) return srcVal; - if (srcVal == null) return objVal; - }); - } - - return serie; - }); - - if (options.yaxes) { - options.yaxes.forEach((yaxis: any) => { - if (yaxis && yaxis.units) { - yaxis.tickFormatter = formatters[yaxis.units.type]; - const byteModes = ['bytes', 'bytes/s']; - if (byteModes.includes(yaxis.units.type)) { - yaxis.tickGenerator = generateTicks; - } - } - }); - } - - // @ts-ignore - $scope.plot = $.plot(canvasElem, _.compact(series), options); - - if ($scope.plot) { - $scope.$emit('timelionChartRendered'); - } - - legendScope.$destroy(); - legendScope = $scope.$new(); - // Used to toggle the series, and for displaying values on hover - legendValueNumbers = canvasElem.find('.ngLegendValueNumber'); - _.each(canvasElem.find('.ngLegendValue'), function (elem) { - $compile(elem)(legendScope); - }); - - if (_.get($scope.plot.getData(), '[0]._global.legend.showTime', true)) { - legendCaption = $(''); - legendCaption.html(emptyCaption); - canvasElem.find('div.legend table').append(legendCaption); - - // legend has been re-created. Apply focus on legend element when previously set - if (focusedSeries || focusedSeries === 0) { - const $legendLabels = canvasElem.find('div.legend table .legendLabel>span'); - $legendLabels.get(focusedSeries).focus(); - } - } - } - $scope.$watch('chart', drawPlot); - }, - }; - }; -} diff --git a/src/plugins/timelion/public/panels/timechart/timechart.ts b/src/plugins/timelion/public/panels/timechart/timechart.ts deleted file mode 100644 index 6af7096bcb282..0000000000000 --- a/src/plugins/timelion/public/panels/timechart/timechart.ts +++ /dev/null @@ -1,17 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { timechartFn } from './schema'; -import { Panel } from '../panel'; -import { TimelionVisualizationDependencies } from '../../application'; - -export function getTimeChart(dependencies: TimelionVisualizationDependencies) { - // Schema is broken out so that it may be extended for use in other plugins - // Its also easier to test. - return new Panel('timechart', timechartFn(dependencies)()); -} diff --git a/src/plugins/timelion/public/partials/load_sheet.html b/src/plugins/timelion/public/partials/load_sheet.html deleted file mode 100644 index 8d8cf7193416c..0000000000000 --- a/src/plugins/timelion/public/partials/load_sheet.html +++ /dev/null @@ -1,12 +0,0 @@ -
-

- - -
diff --git a/src/plugins/timelion/public/partials/save_sheet.html b/src/plugins/timelion/public/partials/save_sheet.html deleted file mode 100644 index 7773a9d25df71..0000000000000 --- a/src/plugins/timelion/public/partials/save_sheet.html +++ /dev/null @@ -1,107 +0,0 @@ -
- - -
-
- - - - - - - -
-
- - - -
-
-
- - {{opts.state.sheet[opts.state.selected]}} -
-
- - -
-
- -
-
-
-
diff --git a/src/plugins/timelion/public/partials/sheet_options.html b/src/plugins/timelion/public/partials/sheet_options.html deleted file mode 100644 index eae5709331659..0000000000000 --- a/src/plugins/timelion/public/partials/sheet_options.html +++ /dev/null @@ -1,36 +0,0 @@ -
-

- -
-
- - -
-
- - -
-
-
diff --git a/src/plugins/timelion/public/plugin.ts b/src/plugins/timelion/public/plugin.ts deleted file mode 100644 index 63ea9a38e2795..0000000000000 --- a/src/plugins/timelion/public/plugin.ts +++ /dev/null @@ -1,140 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { BehaviorSubject } from 'rxjs'; -import { filter, map } from 'rxjs/operators'; -import { - CoreSetup, - Plugin, - PluginInitializerContext, - DEFAULT_APP_CATEGORIES, - AppMountParameters, - AppUpdater, - ScopedHistory, - AppNavLinkStatus, -} from '../../../core/public'; -import { Panel } from './panels/panel'; -import { KibanaLegacyStart } from '../../kibana_legacy/public'; -import { createKbnUrlTracker } from '../../kibana_utils/public'; -import { DataPublicPluginStart, esFilters, DataPublicPluginSetup } from '../../data/public'; -import { NavigationPublicPluginStart } from '../../navigation/public'; -import { VisualizationsStart } from '../../visualizations/public'; -import { SavedObjectsStart } from '../../saved_objects/public'; -import { - VisTypeTimelionPluginStart, - VisTypeTimelionPluginSetup, -} from '../../vis_type_timelion/public'; - -export interface TimelionPluginSetupDependencies { - data: DataPublicPluginSetup; - visTypeTimelion: VisTypeTimelionPluginSetup; -} - -export interface TimelionPluginStartDependencies { - data: DataPublicPluginStart; - navigation: NavigationPublicPluginStart; - visualizations: VisualizationsStart; - visTypeTimelion: VisTypeTimelionPluginStart; - savedObjects: SavedObjectsStart; - kibanaLegacy: KibanaLegacyStart; -} - -/** @internal */ -export class TimelionPlugin - implements Plugin { - initializerContext: PluginInitializerContext; - private appStateUpdater = new BehaviorSubject(() => ({})); - private stopUrlTracking: (() => void) | undefined = undefined; - private currentHistory: ScopedHistory | undefined = undefined; - - constructor(initializerContext: PluginInitializerContext) { - this.initializerContext = initializerContext; - } - - public setup( - core: CoreSetup, - { - data, - visTypeTimelion, - }: { data: DataPublicPluginSetup; visTypeTimelion: VisTypeTimelionPluginSetup } - ) { - const timelionPanels: Map = new Map(); - - const { appMounted, appUnMounted, stop: stopUrlTracker } = createKbnUrlTracker({ - baseUrl: core.http.basePath.prepend('/app/timelion'), - defaultSubUrl: '#/', - storageKey: `lastUrl:${core.http.basePath.get()}:timelion`, - navLinkUpdater$: this.appStateUpdater, - toastNotifications: core.notifications.toasts, - stateParams: [ - { - kbnUrlKey: '_g', - stateUpdate$: data.query.state$.pipe( - filter( - ({ changes }) => !!(changes.globalFilters || changes.time || changes.refreshInterval) - ), - map(({ state }) => ({ - ...state, - filters: state.filters?.filter(esFilters.isFilterPinned), - })) - ), - }, - ], - getHistory: () => this.currentHistory!, - }); - - this.stopUrlTracking = () => { - stopUrlTracker(); - }; - - core.application.register({ - id: 'timelion', - title: 'Timelion', - order: 8000, - defaultPath: '#/', - euiIconType: 'logoKibana', - category: DEFAULT_APP_CATEGORIES.kibana, - navLinkStatus: - visTypeTimelion.isUiEnabled === false ? AppNavLinkStatus.hidden : AppNavLinkStatus.default, - mount: async (params: AppMountParameters) => { - const [coreStart, pluginsStart] = await core.getStartServices(); - await pluginsStart.kibanaLegacy.loadAngularBootstrap(); - this.currentHistory = params.history; - - appMounted(); - - const unlistenParentHistory = params.history.listen(() => { - window.dispatchEvent(new HashChangeEvent('hashchange')); - }); - - const { renderApp } = await import('./application'); - params.element.classList.add('timelionAppContainer'); - const unmount = renderApp({ - mountParams: params, - pluginInitializerContext: this.initializerContext, - timelionPanels, - core: coreStart, - plugins: pluginsStart, - }); - return () => { - unlistenParentHistory(); - unmount(); - appUnMounted(); - }; - }, - }); - } - - public start() {} - - public stop(): void { - if (this.stopUrlTracking) { - this.stopUrlTracking(); - } - } -} diff --git a/src/plugins/timelion/public/services/_saved_sheet.ts b/src/plugins/timelion/public/services/_saved_sheet.ts deleted file mode 100644 index a903c70aad69b..0000000000000 --- a/src/plugins/timelion/public/services/_saved_sheet.ts +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { IUiSettingsClient } from 'kibana/public'; -import { SavedObjectsStart } from '../../../saved_objects/public'; - -// Used only by the savedSheets service, usually no reason to change this -export function createSavedSheetClass(savedObjects: SavedObjectsStart, config: IUiSettingsClient) { - class SavedSheet extends savedObjects.SavedObjectClass { - static type = 'timelion-sheet'; - - // if type:sheet has no mapping, we push this mapping into ES - static mapping = { - title: 'text', - hits: 'integer', - description: 'text', - timelion_sheet: 'text', - timelion_interval: 'keyword', - timelion_other_interval: 'keyword', - timelion_chart_height: 'integer', - timelion_columns: 'integer', - timelion_rows: 'integer', - version: 'integer', - }; - - // Order these fields to the top, the rest are alphabetical - static fieldOrder = ['title', 'description']; - // SavedSheet constructor. Usually you'd interact with an instance of this. - // ID is option, without it one will be generated on save. - constructor(id: string) { - super({ - type: SavedSheet.type, - mapping: SavedSheet.mapping, - - // if this is null/undefined then the SavedObject will be assigned the defaults - id, - - // default values that will get assigned if the doc is new - defaults: { - title: 'New TimeLion Sheet', - hits: 0, - description: '', - timelion_sheet: ['.es(*)'], - timelion_interval: 'auto', - timelion_chart_height: 275, - timelion_columns: config.get('timelion:default_columns') || 2, - timelion_rows: config.get('timelion:default_rows') || 2, - version: 1, - }, - }); - this.showInRecentlyAccessed = true; - this.getFullPath = () => `/app/timelion#/${this.id}`; - } - } - - return SavedSheet as unknown; -} diff --git a/src/plugins/timelion/public/services/saved_sheets.ts b/src/plugins/timelion/public/services/saved_sheets.ts deleted file mode 100644 index 373bb895c9806..0000000000000 --- a/src/plugins/timelion/public/services/saved_sheets.ts +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { SavedObjectLoader } from '../../../saved_objects/public'; -import { createSavedSheetClass } from './_saved_sheet'; -import { RenderDeps } from '../application'; - -export function initSavedSheetService(app: angular.IModule, deps: RenderDeps) { - const savedObjectsClient = deps.core.savedObjects.client; - const SavedSheet = createSavedSheetClass(deps.plugins.savedObjects, deps.core.uiSettings); - - const savedSheetLoader = new SavedObjectLoader(SavedSheet, savedObjectsClient); - savedSheetLoader.urlFor = (id) => `#/${encodeURIComponent(id)}`; - // Customize loader properties since adding an 's' on type doesn't work for type 'timelion-sheet'. - savedSheetLoader.loaderProperties = { - name: 'timelion-sheet', - noun: 'Saved Sheets', - nouns: 'saved sheets', - }; - // This is the only thing that gets injected into controllers - app.service('savedSheets', function () { - return savedSheetLoader; - }); - - return savedSheetLoader; -} diff --git a/src/plugins/timelion/public/timelion_app_state.ts b/src/plugins/timelion/public/timelion_app_state.ts deleted file mode 100644 index 348a97583d37b..0000000000000 --- a/src/plugins/timelion/public/timelion_app_state.ts +++ /dev/null @@ -1,62 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { createStateContainer, syncState, IKbnUrlStateStorage } from '../../kibana_utils/public'; - -import { TimelionAppState, TimelionAppStateTransitions } from './types'; - -const STATE_STORAGE_KEY = '_a'; - -interface Arguments { - kbnUrlStateStorage: IKbnUrlStateStorage; - stateDefaults: TimelionAppState; -} - -export function initTimelionAppState({ stateDefaults, kbnUrlStateStorage }: Arguments) { - const urlState = kbnUrlStateStorage.get(STATE_STORAGE_KEY); - const initialState = { - ...stateDefaults, - ...urlState, - }; - - /* - make sure url ('_a') matches initial state - Initializing appState does two things - first it translates the defaults into AppState, - second it updates appState based on the url (the url trumps the defaults). This means if - we update the state format at all and want to handle BWC, we must not only migrate the - data stored with saved vis, but also any old state in the url. - */ - kbnUrlStateStorage.set(STATE_STORAGE_KEY, initialState, { replace: true }); - - const stateContainer = createStateContainer( - initialState, - { - set: (state) => (prop, value) => ({ ...state, [prop]: value }), - updateState: (state) => (newValues) => ({ ...state, ...newValues }), - } - ); - - const { start: startStateSync, stop: stopStateSync } = syncState({ - storageKey: STATE_STORAGE_KEY, - stateContainer: { - ...stateContainer, - set: (state) => { - if (state) { - // syncState utils requires to handle incoming "null" value - stateContainer.set(state); - } - }, - }, - stateStorage: kbnUrlStateStorage, - }); - - // start syncing the appState with the ('_a') url - startStateSync(); - - return { stateContainer, stopStateSync }; -} diff --git a/src/plugins/timelion/public/types.ts b/src/plugins/timelion/public/types.ts deleted file mode 100644 index bfdbd3878ec23..0000000000000 --- a/src/plugins/timelion/public/types.ts +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -export interface TimelionAppState { - sheet: string[]; - selected: number; - columns: number; - rows: number; - interval: string; -} - -export interface TimelionAppStateTransitions { - set: ( - state: TimelionAppState - ) => (prop: T, value: TimelionAppState[T]) => TimelionAppState; - updateState: ( - state: TimelionAppState - ) => (newValues: Partial) => TimelionAppState; -} diff --git a/src/plugins/timelion/server/config.ts b/src/plugins/timelion/server/config.ts deleted file mode 100644 index d74c4c237b2b7..0000000000000 --- a/src/plugins/timelion/server/config.ts +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { schema, TypeOf } from '@kbn/config-schema'; - -export const configSchema = { - schema: schema.object({ - graphiteUrls: schema.maybe(schema.arrayOf(schema.string())), - enabled: schema.boolean({ defaultValue: true }), - ui: schema.object({ - enabled: schema.boolean({ defaultValue: true }), - }), - }), -}; - -export type TimelionConfigType = TypeOf; diff --git a/src/plugins/timelion/server/deprecations.ts b/src/plugins/timelion/server/deprecations.ts deleted file mode 100644 index 2358dd313b74f..0000000000000 --- a/src/plugins/timelion/server/deprecations.ts +++ /dev/null @@ -1,71 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { - CoreStart, - SavedObjectsClient, - Logger, - GetDeprecationsContext, - DeprecationsDetails, -} from 'src/core/server'; - -export const getTimelionSheetsCount = async ( - savedObjectsClient: Pick -) => { - const { total } = await savedObjectsClient.find({ type: 'timelion-sheet', perPage: 1 }); - return total; -}; - -export const showWarningMessageIfTimelionSheetWasFound = async ( - core: CoreStart, - logger: Logger -) => { - const { savedObjects } = core; - const savedObjectsClient = savedObjects.createInternalRepository(); - const count = await getTimelionSheetsCount(savedObjectsClient); - if (count > 0) { - logger.warn( - 'Deprecated since 7.0, the Timelion app will be removed in 7.16. To continue using your Timelion worksheets, migrate them to a dashboard. See https://www.elastic.co/guide/en/kibana/current/create-panels-with-timelion.html.' - ); - } -}; - -/** - * Deprecated since 7.0, the Timelion app will be removed in 8.0. - * To continue using your Timelion worksheets, migrate them to a dashboard. - * - * @link https://www.elastic.co/guide/en/kibana/master/timelion.html#timelion-deprecation - **/ -export async function getDeprecations({ - savedObjectsClient, -}: GetDeprecationsContext): Promise { - const deprecations: DeprecationsDetails[] = []; - const count = await getTimelionSheetsCount(savedObjectsClient); - - if (count > 0) { - deprecations.push({ - title: 'Found Timelion worksheets', - message: `You have ${count} Timelion worksheets. The Timelion app will be removed in 7.16. To continue using your Timelion worksheets, migrate them to a dashboard.`, - documentationUrl: - 'https://www.elastic.co/guide/en/kibana/current/create-panels-with-timelion.html', - level: 'warning', - correctiveActions: { - manualSteps: [ - 'Navigate to the Kibana Dashboard and click "Create dashboard".', - 'Select Timelion from the "New Visualization" window.', - 'Open a new tab, open the Timelion app, select the chart you want to copy, then copy the chart expression.', - 'Go to Timelion, paste the chart expression in the Timelion expression field, then click Update.', - 'In the toolbar, click Save.', - 'On the Save visualization window, enter the visualization Title, then click Save and return.', - ], - }, - }); - } - - return deprecations; -} diff --git a/src/plugins/timelion/server/index.ts b/src/plugins/timelion/server/index.ts deleted file mode 100644 index fb77df100766a..0000000000000 --- a/src/plugins/timelion/server/index.ts +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { PluginInitializerContext, PluginConfigDescriptor } from 'src/core/server'; -import { TimelionPlugin } from './plugin'; -import { configSchema, TimelionConfigType } from './config'; - -export const config: PluginConfigDescriptor = { - schema: configSchema.schema, -}; - -export const plugin = (context: PluginInitializerContext) => - new TimelionPlugin(context); diff --git a/src/plugins/timelion/server/plugin.ts b/src/plugins/timelion/server/plugin.ts deleted file mode 100644 index edbba9b565ae4..0000000000000 --- a/src/plugins/timelion/server/plugin.ts +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { CoreSetup, CoreStart, Plugin, PluginInitializerContext, Logger } from 'src/core/server'; -import { i18n } from '@kbn/i18n'; -import { schema } from '@kbn/config-schema'; -import { TimelionConfigType } from './config'; -import { timelionSheetSavedObjectType } from './saved_objects'; -import { getDeprecations, showWarningMessageIfTimelionSheetWasFound } from './deprecations'; - -export class TimelionPlugin implements Plugin { - private logger: Logger; - - constructor(context: PluginInitializerContext) { - this.logger = context.logger.get(); - } - - public setup(core: CoreSetup) { - core.capabilities.registerProvider(() => ({ - timelion: { - save: true, - show: true, - }, - })); - core.savedObjects.registerType(timelionSheetSavedObjectType); - - core.uiSettings.register({ - 'timelion:showTutorial': { - name: i18n.translate('timelion.uiSettings.showTutorialLabel', { - defaultMessage: 'Show tutorial', - }), - value: false, - description: i18n.translate('timelion.uiSettings.showTutorialDescription', { - defaultMessage: 'Should I show the tutorial by default when entering the timelion app?', - }), - category: ['timelion'], - schema: schema.boolean(), - }, - 'timelion:default_columns': { - name: i18n.translate('timelion.uiSettings.defaultColumnsLabel', { - defaultMessage: 'Default columns', - }), - value: 2, - description: i18n.translate('timelion.uiSettings.defaultColumnsDescription', { - defaultMessage: 'Number of columns on a timelion sheet by default', - }), - category: ['timelion'], - schema: schema.number(), - }, - 'timelion:default_rows': { - name: i18n.translate('timelion.uiSettings.defaultRowsLabel', { - defaultMessage: 'Default rows', - }), - value: 2, - description: i18n.translate('timelion.uiSettings.defaultRowsDescription', { - defaultMessage: 'Number of rows on a timelion sheet by default', - }), - category: ['timelion'], - schema: schema.number(), - }, - }); - - core.deprecations.registerDeprecations({ getDeprecations }); - } - start(core: CoreStart) { - showWarningMessageIfTimelionSheetWasFound(core, this.logger); - } - stop() {} -} diff --git a/src/plugins/timelion/server/saved_objects/index.ts b/src/plugins/timelion/server/saved_objects/index.ts deleted file mode 100644 index 0dd070958d09a..0000000000000 --- a/src/plugins/timelion/server/saved_objects/index.ts +++ /dev/null @@ -1,9 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -export { timelionSheetSavedObjectType } from './timelion_sheet'; diff --git a/src/plugins/timelion/server/saved_objects/timelion_sheet.ts b/src/plugins/timelion/server/saved_objects/timelion_sheet.ts deleted file mode 100644 index 231e049280bb1..0000000000000 --- a/src/plugins/timelion/server/saved_objects/timelion_sheet.ts +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { SavedObjectsType } from 'kibana/server'; - -export const timelionSheetSavedObjectType: SavedObjectsType = { - name: 'timelion-sheet', - hidden: false, - namespaceType: 'single', - management: { - icon: 'visTimelion', - defaultSearchField: 'title', - importableAndExportable: true, - getTitle(obj) { - return obj.attributes.title; - }, - getInAppUrl(obj) { - return { - path: `/app/timelion#/${encodeURIComponent(obj.id)}`, - uiCapabilitiesPath: 'timelion.show', - }; - }, - }, - mappings: { - properties: { - description: { type: 'text' }, - hits: { type: 'integer' }, - kibanaSavedObjectMeta: { - properties: { - searchSourceJSON: { type: 'text' }, - }, - }, - timelion_chart_height: { type: 'integer' }, - timelion_columns: { type: 'integer' }, - timelion_interval: { type: 'keyword' }, - timelion_other_interval: { type: 'keyword' }, - timelion_rows: { type: 'integer' }, - timelion_sheet: { type: 'text' }, - title: { type: 'text' }, - version: { type: 'integer' }, - }, - }, -}; diff --git a/src/plugins/timelion/tsconfig.json b/src/plugins/timelion/tsconfig.json deleted file mode 100644 index 594901c3cc1ed..0000000000000 --- a/src/plugins/timelion/tsconfig.json +++ /dev/null @@ -1,22 +0,0 @@ -{ - "extends": "../../../tsconfig.base.json", - "compilerOptions": { - "outDir": "./target/types", - "emitDeclarationOnly": true, - "declaration": true, - "declarationMap": true - }, - "include": [ - "public/**/*", - "server/**/*" - ], - "references": [ - { "path": "../../core/tsconfig.json" }, - { "path": "../data/tsconfig.json" }, - { "path": "../visualizations/tsconfig.json" }, - { "path": "../navigation/tsconfig.json" }, - { "path": "../vis_type_timelion/tsconfig.json" }, - { "path": "../saved_objects/tsconfig.json" }, - { "path": "../kibana_legacy/tsconfig.json" }, - ] -} diff --git a/src/plugins/ui_actions/jest.config.js b/src/plugins/ui_actions/jest.config.js index 8ee6a40e19541..f482574316632 100644 --- a/src/plugins/ui_actions/jest.config.js +++ b/src/plugins/ui_actions/jest.config.js @@ -10,4 +10,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/ui_actions'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/ui_actions', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/src/plugins/ui_actions/public/**/*.{ts,tsx}'], }; diff --git a/src/plugins/url_forwarding/jest.config.js b/src/plugins/url_forwarding/jest.config.js index 5e452d70753d5..24a72465626f6 100644 --- a/src/plugins/url_forwarding/jest.config.js +++ b/src/plugins/url_forwarding/jest.config.js @@ -10,4 +10,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/url_forwarding'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/url_forwarding', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/src/plugins/url_forwarding/public/**/*.{ts,tsx}'], }; diff --git a/src/plugins/usage_collection/jest.config.js b/src/plugins/usage_collection/jest.config.js index 25994eeec9820..f93d12327cc1b 100644 --- a/src/plugins/usage_collection/jest.config.js +++ b/src/plugins/usage_collection/jest.config.js @@ -10,4 +10,9 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/usage_collection'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/usage_collection', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/plugins/usage_collection/{common,public,server}/**/*.{ts,tsx}', + ], }; diff --git a/src/plugins/vis_default_editor/jest.config.js b/src/plugins/vis_default_editor/jest.config.js index 52276e29c46c4..c921db167c1e9 100644 --- a/src/plugins/vis_default_editor/jest.config.js +++ b/src/plugins/vis_default_editor/jest.config.js @@ -10,4 +10,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/vis_default_editor'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/vis_default_editor', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/src/plugins/vis_default_editor/public/**/*.{ts,tsx}'], }; diff --git a/src/plugins/vis_default_editor/public/components/__snapshots__/agg.test.tsx.snap b/src/plugins/vis_default_editor/public/components/__snapshots__/agg.test.tsx.snap index 26173cddb3716..bc6d28bd5c1c4 100644 --- a/src/plugins/vis_default_editor/public/components/__snapshots__/agg.test.tsx.snap +++ b/src/plugins/vis_default_editor/public/components/__snapshots__/agg.test.tsx.snap @@ -19,6 +19,7 @@ exports[`DefaultEditorAgg component should init with the default set of props 1` /src/plugins/vis_type_markdown'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/vis_type_markdown', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/src/plugins/vis_type_markdown/{public,server}/**/*.{ts,tsx}'], }; diff --git a/src/plugins/vis_type_table/jest.config.js b/src/plugins/vis_type_table/jest.config.js index 9c91b1b813e52..a5a925eada3f1 100644 --- a/src/plugins/vis_type_table/jest.config.js +++ b/src/plugins/vis_type_table/jest.config.js @@ -11,5 +11,9 @@ module.exports = { rootDir: '../../..', roots: ['/src/plugins/vis_type_table'], testRunner: 'jasmine2', - collectCoverageFrom: ['/src/plugins/vis_type_table/**/*.{js,ts,tsx}'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/vis_type_table', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/plugins/vis_type_table/{common,public,server}/**/*.{js,ts,tsx}', + ], }; diff --git a/src/plugins/vis_type_timelion/config.ts b/src/plugins/vis_type_timelion/config.ts index aa88d786af51e..cfd3d13c277e9 100644 --- a/src/plugins/vis_type_timelion/config.ts +++ b/src/plugins/vis_type_timelion/config.ts @@ -8,14 +8,9 @@ import { schema, TypeOf } from '@kbn/config-schema'; -export const configSchema = schema.object( - { - enabled: schema.boolean({ defaultValue: true }), - ui: schema.object({ enabled: schema.boolean({ defaultValue: false }) }), - graphiteUrls: schema.maybe(schema.arrayOf(schema.string())), - }, - // This option should be removed as soon as we entirely migrate config from legacy Timelion plugin. - { unknowns: 'allow' } -); +export const configSchema = schema.object({ + graphiteUrls: schema.maybe(schema.arrayOf(schema.string())), + enabled: schema.boolean({ defaultValue: true }), +}); export type ConfigSchema = TypeOf; diff --git a/src/plugins/vis_type_timelion/jest.config.js b/src/plugins/vis_type_timelion/jest.config.js index ed4eedaee2fbf..5da416935adb9 100644 --- a/src/plugins/vis_type_timelion/jest.config.js +++ b/src/plugins/vis_type_timelion/jest.config.js @@ -10,4 +10,9 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/vis_type_timelion'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/vis_type_timelion', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/plugins/vis_type_timelion/{common,public,server}/**/*.{js,ts,tsx}', + ], }; diff --git a/src/plugins/vis_type_timelion/public/components/timelion_expression_input.tsx b/src/plugins/vis_type_timelion/public/components/timelion_expression_input.tsx index d518d9718d5e7..569ddf03c941b 100644 --- a/src/plugins/vis_type_timelion/public/components/timelion_expression_input.tsx +++ b/src/plugins/vis_type_timelion/public/components/timelion_expression_input.tsx @@ -96,7 +96,7 @@ function TimelionExpressionInput({ value, setValue }: TimelionExpressionInputPro
-
+
+
{title && (

{title}

diff --git a/src/plugins/vis_type_timelion/public/index.ts b/src/plugins/vis_type_timelion/public/index.ts index 1ab572b497212..8161f844e8f73 100644 --- a/src/plugins/vis_type_timelion/public/index.ts +++ b/src/plugins/vis_type_timelion/public/index.ts @@ -9,26 +9,8 @@ import { PluginInitializerContext } from 'kibana/public'; import { TimelionVisPlugin as Plugin } from './plugin'; -import { tickFormatters } from './legacy/tick_formatters'; -import { getTimezone } from './helpers/get_timezone'; -import { xaxisFormatterProvider } from './helpers/xaxis_formatter'; -import { generateTicksProvider } from './helpers/tick_generator'; -import { DEFAULT_TIME_FORMAT, calculateInterval } from '../common/lib'; -import { parseTimelionExpressionAsync } from '../common/parser_async'; - export function plugin(initializerContext: PluginInitializerContext) { return new Plugin(initializerContext); } -// This export should be removed on removing Timeline APP -export const _LEGACY_ = { - DEFAULT_TIME_FORMAT, - calculateInterval, - parseTimelionExpressionAsync, - tickFormatters, - getTimezone, - xaxisFormatterProvider, - generateTicksProvider, -}; - -export { VisTypeTimelionPluginStart, VisTypeTimelionPluginSetup } from './plugin'; +export { VisTypeTimelionPluginStart } from './plugin'; diff --git a/src/plugins/vis_type_timelion/public/plugin.ts b/src/plugins/vis_type_timelion/public/plugin.ts index 1784af4e77222..acc10f9914695 100644 --- a/src/plugins/vis_type_timelion/public/plugin.ts +++ b/src/plugins/vis_type_timelion/public/plugin.ts @@ -58,16 +58,11 @@ export interface VisTypeTimelionPluginStart { getArgValueSuggestions: typeof getArgValueSuggestions; } -/** @public */ -export interface VisTypeTimelionPluginSetup { - isUiEnabled: boolean; -} - /** @internal */ export class TimelionVisPlugin implements Plugin< - VisTypeTimelionPluginSetup, + void, VisTypeTimelionPluginStart, TimelionVisSetupDependencies, TimelionVisStartDependencies @@ -87,10 +82,6 @@ export class TimelionVisPlugin expressions.registerFunction(() => getTimelionVisualizationConfig(dependencies)); expressions.registerRenderer(getTimelionVisRenderer(dependencies)); visualizations.createBaseVisualization(getTimelionVisDefinition(dependencies)); - - return { - isUiEnabled: this.initializerContext.config.get().ui.enabled, - }; } public start(core: CoreStart, { data, charts }: TimelionVisStartDependencies) { diff --git a/src/plugins/vis_type_timelion/server/index.ts b/src/plugins/vis_type_timelion/server/index.ts index 35f4182a50a86..5c5cf8b481f94 100644 --- a/src/plugins/vis_type_timelion/server/index.ts +++ b/src/plugins/vis_type_timelion/server/index.ts @@ -10,19 +10,9 @@ import { PluginConfigDescriptor, PluginInitializerContext } from '../../../../sr import { configSchema, ConfigSchema } from '../config'; import { TimelionPlugin } from './plugin'; -export { PluginSetupContract } from './plugin'; - export const config: PluginConfigDescriptor = { schema: configSchema, - exposeToBrowser: { - ui: true, - }, - deprecations: ({ renameFromRoot }) => [ - renameFromRoot('timelion_vis.enabled', 'vis_type_timelion.enabled'), - renameFromRoot('timelion.enabled', 'vis_type_timelion.enabled'), - renameFromRoot('timelion.graphiteUrls', 'vis_type_timelion.graphiteUrls'), - renameFromRoot('timelion.ui.enabled', 'vis_type_timelion.ui.enabled', { silent: true }), - ], }; + export const plugin = (initializerContext: PluginInitializerContext) => new TimelionPlugin(initializerContext); diff --git a/src/plugins/vis_type_timelion/server/plugin.ts b/src/plugins/vis_type_timelion/server/plugin.ts index fc23569b351e6..5bbb5dd1819c4 100644 --- a/src/plugins/vis_type_timelion/server/plugin.ts +++ b/src/plugins/vis_type_timelion/server/plugin.ts @@ -8,8 +8,6 @@ import { i18n } from '@kbn/i18n'; import { TypeOf } from '@kbn/config-schema'; -import { RecursiveReadonly } from '@kbn/utility-types'; -import { deepFreeze } from '@kbn/std'; import type { PluginStart, DataRequestHandlerContext } from '../../../../src/plugins/data/server'; import { CoreSetup, PluginInitializerContext, Plugin } from '../../../../src/core/server'; @@ -21,13 +19,6 @@ import { runRoute } from './routes/run'; import { ConfigManager } from './lib/config_manager'; import { getUiSettings } from './ui_settings'; -/** - * Describes public Timelion plugin contract returned at the `setup` stage. - */ -export interface PluginSetupContract { - uiEnabled: boolean; -} - export interface TimelionPluginStartDeps { data: PluginStart; } @@ -35,11 +26,10 @@ export interface TimelionPluginStartDeps { /** * Represents Timelion Plugin instance that will be managed by the Kibana plugin system. */ -export class TimelionPlugin - implements Plugin, void, TimelionPluginStartDeps> { +export class TimelionPlugin implements Plugin { constructor(private readonly initializerContext: PluginInitializerContext) {} - public setup(core: CoreSetup): RecursiveReadonly { + public setup(core: CoreSetup): void { const config = this.initializerContext.config.get>(); const configManager = new ConfigManager(this.initializerContext.config); @@ -76,8 +66,6 @@ export class TimelionPlugin validateEsRoute(router); core.uiSettings.register(getUiSettings(config)); - - return deepFreeze({ uiEnabled: config.ui.enabled }); } public start() { diff --git a/src/plugins/vis_type_timeseries/common/agg_utils.test.ts b/src/plugins/vis_type_timeseries/common/agg_utils.test.ts index 3e450c789b65d..63d81e2c43d40 100644 --- a/src/plugins/vis_type_timeseries/common/agg_utils.test.ts +++ b/src/plugins/vis_type_timeseries/common/agg_utils.test.ts @@ -60,6 +60,7 @@ describe('agg utils', () => { isFieldRequired: true, isFilterRatioSupported: false, isHistogramSupported: false, + isFieldFormattingDisabled: false, hasExtendedStats: true, }; const expected = [ @@ -95,6 +96,7 @@ describe('agg utils', () => { isFieldRequired: false, isFilterRatioSupported: false, isHistogramSupported: false, + isFieldFormattingDisabled: false, hasExtendedStats: false, }; const expected = [ diff --git a/src/plugins/vis_type_timeseries/common/agg_utils.ts b/src/plugins/vis_type_timeseries/common/agg_utils.ts index 8b071cc680af3..2f0488bdc4dbe 100644 --- a/src/plugins/vis_type_timeseries/common/agg_utils.ts +++ b/src/plugins/vis_type_timeseries/common/agg_utils.ts @@ -28,6 +28,7 @@ export interface Agg { isFieldRequired: boolean; isFilterRatioSupported: boolean; isHistogramSupported: boolean; + isFieldFormattingDisabled: boolean; hasExtendedStats: boolean; }; } @@ -37,6 +38,7 @@ const aggDefaultMeta = { isFieldRequired: true, isFilterRatioSupported: false, isHistogramSupported: false, + isFieldFormattingDisabled: false, hasExtendedStats: false, }; @@ -201,6 +203,7 @@ export const aggs: Agg[] = [ id: TSVB_METRIC_TYPES.CALCULATION, meta: { ...aggDefaultMeta, + isFieldFormattingDisabled: true, type: AGG_TYPE.PARENT_PIPELINE, label: i18n.translate('visTypeTimeseries.aggUtils.bucketScriptLabel', { defaultMessage: 'Bucket Script', @@ -342,6 +345,7 @@ export const aggs: Agg[] = [ id: TSVB_METRIC_TYPES.MATH, meta: { ...aggDefaultMeta, + isFieldFormattingDisabled: true, type: AGG_TYPE.SPECIAL, label: i18n.translate('visTypeTimeseries.aggUtils.mathLabel', { defaultMessage: 'Math' }), }, diff --git a/src/plugins/vis_type_timeseries/common/calculate_label.ts b/src/plugins/vis_type_timeseries/common/calculate_label.ts index 7ea035eef9234..d054698536b5b 100644 --- a/src/plugins/vis_type_timeseries/common/calculate_label.ts +++ b/src/plugins/vis_type_timeseries/common/calculate_label.ts @@ -82,7 +82,7 @@ export const calculateLabel = ( if (includes(paths, metric.type)) { const targetMetric = metrics.find((m) => startsWith(metric.field!, m.id)); - const targetLabel = calculateLabel(targetMetric!, metrics, fields); + const targetLabel = calculateLabel(targetMetric!, metrics, fields, isThrowErrorOnFieldNotFound); // For percentiles we need to parse the field id to extract the percentile // the user configured in the percentile aggregation and specified in the diff --git a/src/plugins/vis_type_timeseries/common/enums/index.ts b/src/plugins/vis_type_timeseries/common/enums/index.ts index 506abeea247c9..8a4d9a21f09a1 100644 --- a/src/plugins/vis_type_timeseries/common/enums/index.ts +++ b/src/plugins/vis_type_timeseries/common/enums/index.ts @@ -20,3 +20,12 @@ export enum TOOLTIP_MODES { SHOW_ALL = 'show_all', SHOW_FOCUSED = 'show_focused', } + +export enum DATA_FORMATTERS { + BYTES = 'bytes', + CUSTOM = 'custom', + DEFAULT = 'default', + DURATION = 'duration', + NUMBER = 'number', + PERCENT = 'percent', +} diff --git a/src/plugins/vis_type_timeseries/common/types/vis_data.ts b/src/plugins/vis_type_timeseries/common/types/vis_data.ts index fb3e0db82f188..1a7be0b467004 100644 --- a/src/plugins/vis_type_timeseries/common/types/vis_data.ts +++ b/src/plugins/vis_type_timeseries/common/types/vis_data.ts @@ -39,6 +39,7 @@ export interface PanelSeries { export interface PanelData { id: string; label: string; + labelFormatted?: string; data: PanelDataArray[]; seriesId: string; splitByLabel: string; diff --git a/src/plugins/vis_type_timeseries/jest.config.js b/src/plugins/vis_type_timeseries/jest.config.js index 5007d995edc44..3d4333675f7d7 100644 --- a/src/plugins/vis_type_timeseries/jest.config.js +++ b/src/plugins/vis_type_timeseries/jest.config.js @@ -10,4 +10,9 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/vis_type_timeseries'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/vis_type_timeseries', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/plugins/vis_type_timeseries/{common,public,server}/**/*.{js,ts,tsx}', + ], }; diff --git a/src/plugins/vis_type_timeseries/public/application/components/aggs/agg.tsx b/src/plugins/vis_type_timeseries/public/application/components/aggs/agg.tsx index 17af812ae5ce3..3c68cb02dd07e 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/aggs/agg.tsx +++ b/src/plugins/vis_type_timeseries/public/application/components/aggs/agg.tsx @@ -6,33 +6,39 @@ * Side Public License, v 1. */ -import React, { HTMLAttributes } from 'react'; +import React, { useMemo, useEffect, HTMLAttributes } from 'react'; // @ts-ignore import { aggToComponent } from '../lib/agg_to_component'; // @ts-ignore import { isMetricEnabled } from '../../lib/check_ui_restrictions'; +// @ts-expect-error not typed yet +import { seriesChangeHandler } from '../lib/series_change_handler'; +import { checkIfNumericMetric } from '../lib/check_if_numeric_metric'; +import { getFormatterType } from '../lib/get_formatter_type'; import { UnsupportedAgg } from './unsupported_agg'; import { TemporaryUnsupportedAgg } from './temporary_unsupported_agg'; +import { DATA_FORMATTERS } from '../../../../common/enums'; import type { Metric, Panel, Series, SanitizedFieldType } from '../../../../common/types'; -import { DragHandleProps } from '../../../types'; -import { TimeseriesUIRestrictions } from '../../../../common/ui_restrictions'; +import type { DragHandleProps } from '../../../types'; +import type { TimeseriesUIRestrictions } from '../../../../common/ui_restrictions'; interface AggProps extends HTMLAttributes { disableDelete: boolean; fields: Record; + name: string; model: Metric; panel: Panel; series: Series; siblings: Metric[]; uiRestrictions: TimeseriesUIRestrictions; dragHandleProps: DragHandleProps; + onChange: (part: Partial) => void; onAdd: () => void; - onChange: () => void; onDelete: () => void; } export function Agg(props: AggProps) { - const { model, uiRestrictions } = props; + const { model, uiRestrictions, series, name, onChange, fields, siblings } = props; let Component = aggToComponent[model.type]; @@ -50,6 +56,34 @@ export function Agg(props: AggProps) { const indexPattern = props.series.override_index_pattern ? props.series.series_index_pattern : props.panel.index_pattern; + const isKibanaIndexPattern = props.panel.use_kibana_indexes || indexPattern === ''; + + const onAggChange = useMemo( + () => seriesChangeHandler({ name, model: series, onChange }, siblings), + [name, onChange, siblings, series] + ); + + useEffect(() => { + // formatter is based on the last agg, i.e. active or resulting one as pipeline + if (siblings[siblings.length - 1]?.id === model.id) { + const formatterType = getFormatterType(series.formatter); + const isNumericMetric = checkIfNumericMetric(model, fields, indexPattern); + const isNumberFormatter = ![DATA_FORMATTERS.DEFAULT, DATA_FORMATTERS.CUSTOM].includes( + formatterType + ); + + if (isNumberFormatter && !isNumericMetric) { + onChange({ formatter: DATA_FORMATTERS.DEFAULT }); + } + // in case of string index pattern mode, change default formatter depending on metric type + // "number" formatter for numeric metric and "" as custom formatter for any other type + if (formatterType === DATA_FORMATTERS.DEFAULT && !isKibanaIndexPattern) { + onChange({ + formatter: isNumericMetric ? DATA_FORMATTERS.NUMBER : '', + }); + } + } + }, [indexPattern, model, onChange, fields, series.formatter, isKibanaIndexPattern, siblings]); return (
@@ -58,7 +92,7 @@ export function Agg(props: AggProps) { disableDelete={props.disableDelete} model={props.model} onAdd={props.onAdd} - onChange={props.onChange} + onChange={onAggChange} onDelete={props.onDelete} panel={props.panel} series={props.series} diff --git a/src/plugins/vis_type_timeseries/public/application/components/aggs/aggs.tsx b/src/plugins/vis_type_timeseries/public/application/components/aggs/aggs.tsx index 0edd8b9c3feb5..516e3551fb010 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/aggs/aggs.tsx +++ b/src/plugins/vis_type_timeseries/public/application/components/aggs/aggs.tsx @@ -12,7 +12,6 @@ import { EuiDraggable, EuiDroppable } from '@elastic/eui'; import { Agg } from './agg'; // @ts-ignore -import { seriesChangeHandler } from '../lib/series_change_handler'; import { handleAdd, handleDelete } from '../lib/collection_actions'; import { newMetricAggFn } from '../lib/new_metric_agg_fn'; import type { Panel, Series, SanitizedFieldType } from '../../../../common/types'; @@ -26,16 +25,14 @@ export interface AggsProps { model: Series; fields: Record; uiRestrictions: TimeseriesUIRestrictions; - onChange(): void; + onChange(part: Partial): void; } export class Aggs extends PureComponent { render() { - const { panel, model, fields, uiRestrictions } = this.props; + const { panel, model, fields, name, uiRestrictions, onChange } = this.props; const list = model.metrics; - const onChange = seriesChangeHandler(this.props, list); - return ( {list.map((row, idx) => ( @@ -51,6 +48,7 @@ export class Aggs extends PureComponent { key={row.id} disableDelete={list.length < 2} fields={fields} + name={name} model={row} onAdd={() => handleAdd(this.props, newMetricAggFn)} onChange={onChange} diff --git a/src/plugins/vis_type_timeseries/public/application/components/data_format_picker.js b/src/plugins/vis_type_timeseries/public/application/components/data_format_picker.js deleted file mode 100644 index 12428b7fbe6a0..0000000000000 --- a/src/plugins/vis_type_timeseries/public/application/components/data_format_picker.js +++ /dev/null @@ -1,298 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import PropTypes from 'prop-types'; -import React, { Component } from 'react'; -import _ from 'lodash'; -import { - htmlIdGenerator, - EuiComboBox, - EuiFlexGroup, - EuiFlexItem, - EuiFormRow, - EuiFieldText, - EuiLink, -} from '@elastic/eui'; -import { durationOutputOptions, durationInputOptions, isDuration } from './lib/durations'; -import { i18n } from '@kbn/i18n'; -import { FormattedMessage, injectI18n } from '@kbn/i18n/react'; - -const DEFAULT_OUTPUT_PRECISION = '2'; - -class DataFormatPickerUI extends Component { - constructor(props) { - super(props); - - let from; - let to; - let decimals; - - if (isDuration(props.value)) { - [from, to, decimals] = props.value.split(','); - } - - this.state = { - from: from || 'ms', - to: to || 'ms', - decimals: decimals || '', - }; - } - - handleCustomChange = () => { - this.props.onChange([{ value: (this.custom && this.custom.value) || '' }]); - }; - - handleChange = (selectedOptions) => { - if (selectedOptions.length < 1) { - return; - } - - if (selectedOptions[0].value === 'custom') { - this.handleCustomChange(); - } else if (selectedOptions[0].value === 'duration') { - const { from, to, decimals } = this.state; - this.props.onChange([ - { - value: `${from},${to},${decimals}`, - }, - ]); - } else { - this.props.onChange(selectedOptions); - } - }; - - handleDurationChange(name) { - return (selectedOptions) => { - if (selectedOptions.length < 1) { - return; - } - - let newValue; - if (name === 'decimals') { - newValue = this.decimals.value; - } else { - newValue = selectedOptions[0].value; - } - - this.setState( - { - [name]: newValue, - }, - () => { - const { from, to, decimals } = this.state; - this.props.onChange([ - { - value: `${from},${to},${decimals}`, - }, - ]); - } - ); - }; - } - - render() { - const htmlId = htmlIdGenerator(); - const value = this.props.value || ''; - let defaultValue = value; - if (!_.includes(['bytes', 'number', 'percent'], value)) { - defaultValue = 'custom'; - } - if (isDuration(value)) { - defaultValue = 'duration'; - } - const { intl } = this.props; - const options = [ - { - label: intl.formatMessage({ - id: 'visTypeTimeseries.dataFormatPicker.bytesLabel', - defaultMessage: 'Bytes', - }), - value: 'bytes', - }, - { - label: intl.formatMessage({ - id: 'visTypeTimeseries.dataFormatPicker.numberLabel', - defaultMessage: 'Number', - }), - value: 'number', - }, - { - label: intl.formatMessage({ - id: 'visTypeTimeseries.dataFormatPicker.percentLabel', - defaultMessage: 'Percent', - }), - value: 'percent', - }, - { - label: intl.formatMessage({ - id: 'visTypeTimeseries.dataFormatPicker.durationLabel', - defaultMessage: 'Duration', - }), - value: 'duration', - }, - { - label: intl.formatMessage({ - id: 'visTypeTimeseries.dataFormatPicker.customLabel', - defaultMessage: 'Custom', - }), - value: 'custom', - }, - ]; - const selectedOption = options.find((option) => { - return defaultValue === option.value; - }); - - let custom; - if (defaultValue === 'duration') { - const [from, to, decimals] = value.split(','); - const selectedFrom = durationInputOptions.find((option) => from === option.value); - const selectedTo = durationOutputOptions.find((option) => to === option.value); - - return ( - - - - - - - - - } - > - - - - - - } - > - - - - - {selectedTo && selectedTo.value !== 'humanize' && ( - - - } - > - (this.decimals = el)} - placeholder={DEFAULT_OUTPUT_PRECISION} - onChange={this.handleDurationChange('decimals')} - /> - - - )} - - ); - } - if (defaultValue === 'custom') { - custom = ( - - - } - helpText={ - - - Numeral.js - - ), - }} - /> - - } - > - (this.custom = el)} - onChange={this.handleCustomChange} - /> - - - ); - } - return ( - - - - - - - {custom} - - ); - } -} - -DataFormatPickerUI.defaultProps = { - label: i18n.translate('visTypeTimeseries.defaultDataFormatterLabel', { - defaultMessage: 'Data Formatter', - }), -}; - -DataFormatPickerUI.propTypes = { - value: PropTypes.string, - label: PropTypes.string, - onChange: PropTypes.func, -}; - -export const DataFormatPicker = injectI18n(DataFormatPickerUI); diff --git a/src/plugins/vis_type_timeseries/public/application/components/data_format_picker.tsx b/src/plugins/vis_type_timeseries/public/application/components/data_format_picker.tsx new file mode 100644 index 0000000000000..fa76f8534f852 --- /dev/null +++ b/src/plugins/vis_type_timeseries/public/application/components/data_format_picker.tsx @@ -0,0 +1,310 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import React, { useEffect, useMemo, useCallback, useState, ChangeEvent } from 'react'; +import { i18n } from '@kbn/i18n'; +import { FormattedMessage } from '@kbn/i18n/react'; +import type { EuiComboBoxOptionOption } from '@elastic/eui'; +import { + htmlIdGenerator, + EuiComboBox, + EuiFieldText, + EuiFlexItem, + EuiFormRow, + EuiLink, + EuiSuperSelect, + EuiText, + EuiCode, +} from '@elastic/eui'; +import { DATA_FORMATTERS } from '../../../common/enums'; +import { getFormatterType } from './lib/get_formatter_type'; +import { durationInputOptions, durationOutputOptions, getDurationParams } from './lib/durations'; + +const DEFAULT_OUTPUT_PRECISION = '2'; +const DEFAULT_CUSTOM_FORMAT_PATTERN = '0,0.[000]'; + +const defaultOptionLabel = i18n.translate('visTypeTimeseries.dataFormatPicker.defaultLabel', { + defaultMessage: 'Default', +}); + +const getDataFormatPickerOptions = ( + shouldIncludeDefaultOption: boolean, + shouldIncludeNumberOptions: boolean +) => { + const additionalOptions = []; + + if (shouldIncludeDefaultOption) { + additionalOptions.push({ + value: DATA_FORMATTERS.DEFAULT, + inputDisplay: defaultOptionLabel, + dropdownDisplay: ( + <> + {defaultOptionLabel} + +

+ {i18n.translate('visTypeTimeseries.dataFormatPicker.defaultLabelDescription', { + defaultMessage: 'Applies common formatting', + })} +

+
+ + ), + 'data-test-subj': `tsvbDataFormatPicker-${DATA_FORMATTERS.DEFAULT}`, + }); + } + + if (shouldIncludeNumberOptions) { + additionalOptions.push( + { + value: DATA_FORMATTERS.NUMBER, + inputDisplay: i18n.translate('visTypeTimeseries.dataFormatPicker.numberLabel', { + defaultMessage: 'Number', + }), + 'data-test-subj': `tsvbDataFormatPicker-${DATA_FORMATTERS.NUMBER}`, + }, + { + value: DATA_FORMATTERS.BYTES, + inputDisplay: i18n.translate('visTypeTimeseries.dataFormatPicker.bytesLabel', { + defaultMessage: 'Bytes', + }), + 'data-test-subj': `tsvbDataFormatPicker-${DATA_FORMATTERS.BYTES}`, + }, + { + value: DATA_FORMATTERS.PERCENT, + inputDisplay: i18n.translate('visTypeTimeseries.dataFormatPicker.percentLabel', { + defaultMessage: 'Percent', + }), + 'data-test-subj': `tsvbDataFormatPicker-${DATA_FORMATTERS.PERCENT}`, + }, + { + value: DATA_FORMATTERS.DURATION, + inputDisplay: i18n.translate('visTypeTimeseries.dataFormatPicker.durationLabel', { + defaultMessage: 'Duration', + }), + 'data-test-subj': `tsvbDataFormatPicker-${DATA_FORMATTERS.DURATION}`, + } + ); + } + + return [ + ...additionalOptions, + { + value: DATA_FORMATTERS.CUSTOM, + inputDisplay: i18n.translate('visTypeTimeseries.dataFormatPicker.customLabel', { + defaultMessage: 'Custom', + }), + 'data-test-subj': `tsvbDataFormatPicker-${DATA_FORMATTERS.CUSTOM}`, + }, + ]; +}; + +interface DataFormatPickerProps { + formatterValue: string; + changeModelFormatter: (formatter: string) => void; + shouldIncludeDefaultOption: boolean; + shouldIncludeNumberOptions: boolean; +} + +const htmlId = htmlIdGenerator(); + +export const DataFormatPicker = ({ + formatterValue, + changeModelFormatter, + shouldIncludeDefaultOption, + shouldIncludeNumberOptions, +}: DataFormatPickerProps) => { + const options = useMemo( + () => getDataFormatPickerOptions(shouldIncludeDefaultOption, shouldIncludeNumberOptions), + [shouldIncludeDefaultOption, shouldIncludeNumberOptions] + ); + const [selectedFormatter, setSelectedFormatter] = useState(getFormatterType(formatterValue)); + const [customFormatPattern, setCustomFormatPattern] = useState( + selectedFormatter === DATA_FORMATTERS.CUSTOM ? formatterValue : '' + ); + const [durationParams, setDurationParams] = useState( + getDurationParams(selectedFormatter === DATA_FORMATTERS.DURATION ? formatterValue : 'ms,ms,') + ); + + useEffect(() => { + // formatter value is set to the first option in case options do not include selected formatter + if (!options.find(({ value }) => value === selectedFormatter)) { + const [{ value: firstOptionValue }] = options; + setSelectedFormatter(firstOptionValue); + changeModelFormatter(firstOptionValue); + } + }, [options, selectedFormatter, changeModelFormatter]); + + const handleChange = useCallback( + (selectedOption: DATA_FORMATTERS) => { + setSelectedFormatter(selectedOption); + if (selectedOption === DATA_FORMATTERS.DURATION) { + const { from, to, decimals } = durationParams; + changeModelFormatter(`${from},${to},${decimals}`); + } else if (selectedOption === DATA_FORMATTERS.CUSTOM) { + changeModelFormatter(customFormatPattern); + } else { + changeModelFormatter(selectedOption); + } + }, + [changeModelFormatter, customFormatPattern, durationParams] + ); + + const handleCustomFormatStringChange = useCallback( + (event: ChangeEvent) => { + const stringPattern = event.target.value; + changeModelFormatter(stringPattern); + setCustomFormatPattern(stringPattern); + }, + [changeModelFormatter] + ); + + const handleDurationParamsChange = useCallback( + (paramName: string, paramValue: string) => { + const newDurationParams = { ...durationParams, [paramName]: paramValue }; + setDurationParams(newDurationParams); + const { from, to, decimals } = newDurationParams; + changeModelFormatter(`${from},${to},${decimals}`); + }, + [changeModelFormatter, durationParams] + ); + + const handleDurationChange = useCallback( + (optionName: 'from' | 'to') => { + return ([{ value }]: Array>) => + handleDurationParamsChange(optionName, value!); + }, + [handleDurationParamsChange] + ); + + const handleDecimalsChange = useCallback( + (event: ChangeEvent) => + handleDurationParamsChange('decimals', event.target.value), + [handleDurationParamsChange] + ); + + let duration; + if (selectedFormatter === DATA_FORMATTERS.DURATION) { + const { from, to, decimals = DEFAULT_OUTPUT_PRECISION } = durationParams; + const selectedFrom = durationInputOptions.find(({ value }) => value === from); + const selectedTo = durationOutputOptions.find(({ value }) => value === to); + + duration = ( + <> + + + + + + + + + + + + {selectedTo?.value !== 'humanize' && ( + + + + + + )} + + ); + } + + let custom; + if (selectedFormatter === DATA_FORMATTERS.CUSTOM && shouldIncludeNumberOptions) { + custom = ( + + {DEFAULT_CUSTOM_FORMAT_PATTERN} }} + /> + } + helpText={ + + + + + + } + > + + + + ); + } + + return ( + <> + + + + + + {selectedFormatter === DATA_FORMATTERS.DURATION && duration} + {selectedFormatter === DATA_FORMATTERS.CUSTOM && custom} + + ); +}; diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/check_if_numeric_metric.test.ts b/src/plugins/vis_type_timeseries/public/application/components/lib/check_if_numeric_metric.test.ts new file mode 100644 index 0000000000000..17827275f86d8 --- /dev/null +++ b/src/plugins/vis_type_timeseries/public/application/components/lib/check_if_numeric_metric.test.ts @@ -0,0 +1,59 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { METRIC_TYPES } from '../../../../../data/common'; +import { TSVB_METRIC_TYPES } from '../../../../common/enums'; +import { checkIfNumericMetric } from './check_if_numeric_metric'; + +import type { Metric } from '../../../../common/types'; + +describe('checkIfNumericMetric(metric, fields, indexPattern)', () => { + const indexPattern = { id: 'some_id' }; + const fields = { + some_id: [ + { name: 'number field', type: 'number' }, + { name: 'string field', type: 'string' }, + { name: 'date field', type: 'date' }, + ], + }; + + it('should return true for Count metric', () => { + const metric = { type: METRIC_TYPES.COUNT } as Metric; + + const actual = checkIfNumericMetric(metric, fields, indexPattern); + expect(actual).toBe(true); + }); + + it('should return true for Average metric', () => { + const metric = { field: 'number field', type: METRIC_TYPES.AVG } as Metric; + + const actual = checkIfNumericMetric(metric, fields, indexPattern); + expect(actual).toBe(true); + }); + + it('should return true for Top Hit metric with numeric field', () => { + const metric = { field: 'number field', type: TSVB_METRIC_TYPES.TOP_HIT } as Metric; + + const actual = checkIfNumericMetric(metric, fields, indexPattern); + expect(actual).toBe(true); + }); + + it('should return false for Top Hit metric with string field', () => { + const metric = { field: 'string field', type: TSVB_METRIC_TYPES.TOP_HIT } as Metric; + + const actual = checkIfNumericMetric(metric, fields, indexPattern); + expect(actual).toBe(false); + }); + + it('should return false for Top Hit metric with date field', () => { + const metric = { field: 'date field', type: TSVB_METRIC_TYPES.TOP_HIT } as Metric; + + const actual = checkIfNumericMetric(metric, fields, indexPattern); + expect(actual).toBe(false); + }); +}); diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/check_if_numeric_metric.ts b/src/plugins/vis_type_timeseries/public/application/components/lib/check_if_numeric_metric.ts new file mode 100644 index 0000000000000..a70abaeac9f82 --- /dev/null +++ b/src/plugins/vis_type_timeseries/public/application/components/lib/check_if_numeric_metric.ts @@ -0,0 +1,30 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { getIndexPatternKey } from '../../../../common/index_patterns_utils'; +import { TSVB_METRIC_TYPES } from '../../../../common/enums'; +import { KBN_FIELD_TYPES } from '../../../../../data/public'; + +import type { Metric, IndexPatternValue } from '../../../../common/types'; +import type { VisFields } from '../../lib/fetch_fields'; + +// this function checks if metric has numeric value result +export const checkIfNumericMetric = ( + metric: Metric, + fields: VisFields, + indexPattern: IndexPatternValue +) => { + // currently only Top Hit could have not numeric value result + if (metric?.type === TSVB_METRIC_TYPES.TOP_HIT) { + const selectedField = fields[getIndexPatternKey(indexPattern)]?.find( + ({ name }) => name === metric?.field + ); + return selectedField?.type === KBN_FIELD_TYPES.NUMBER; + } + return true; +}; diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/check_if_series_have_same_formatters.test.ts b/src/plugins/vis_type_timeseries/public/application/components/lib/check_if_series_have_same_formatters.test.ts new file mode 100644 index 0000000000000..71aed8c7315e2 --- /dev/null +++ b/src/plugins/vis_type_timeseries/public/application/components/lib/check_if_series_have_same_formatters.test.ts @@ -0,0 +1,82 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { checkIfSeriesHaveSameFormatters } from './check_if_series_have_same_formatters'; +import { DATA_FORMATTERS } from '../../../../common/enums'; +import type { Series } from '../../../../common/types'; + +describe('checkIfSeriesHaveSameFormatters(seriesModel, fieldFormatMap)', () => { + const fieldFormatMap = { + someField: { id: 'string', params: { transform: 'upper' } }, + anotherField: { id: 'number', params: { pattern: '$0,0.[00]' } }, + }; + + it('should return true for the same series formatters', () => { + const seriesModel = [ + { formatter: DATA_FORMATTERS.BYTES, metrics: [{ field: 'someField' }] }, + { formatter: DATA_FORMATTERS.BYTES, metrics: [{ field: 'anotherField' }] }, + ] as Series[]; + const result = checkIfSeriesHaveSameFormatters(seriesModel, fieldFormatMap); + + expect(result).toBe(true); + }); + + it('should return false for the different value_template series formatters', () => { + const seriesModel = [ + { + formatter: DATA_FORMATTERS.PERCENT, + value_template: '{{value}} first', + }, + { + formatter: DATA_FORMATTERS.PERCENT, + value_template: '{{value}} second', + }, + ] as Series[]; + const result = checkIfSeriesHaveSameFormatters(seriesModel, fieldFormatMap); + + expect(result).toBe(false); + }); + + it('should return true for the same field formatters', () => { + const seriesModel = [ + { formatter: DATA_FORMATTERS.DEFAULT, metrics: [{ field: 'someField' }] }, + { formatter: DATA_FORMATTERS.DEFAULT, metrics: [{ field: 'someField' }] }, + ] as Series[]; + const result = checkIfSeriesHaveSameFormatters(seriesModel, fieldFormatMap); + + expect(result).toBe(true); + }); + + it('should return false for the different field formatters', () => { + const seriesModel = [ + { formatter: DATA_FORMATTERS.DEFAULT, metrics: [{ field: 'someField' }] }, + { + formatter: DATA_FORMATTERS.DEFAULT, + + metrics: [{ field: 'anotherField' }], + }, + ] as Series[]; + const result = checkIfSeriesHaveSameFormatters(seriesModel, fieldFormatMap); + + expect(result).toBe(false); + }); + + it('should return false for when there is no custom formatter for a field', () => { + const seriesModel = [ + { + formatter: DATA_FORMATTERS.DEFAULT, + + metrics: [{ field: 'someField' }, { field: 'field' }], + }, + { formatter: DATA_FORMATTERS.DEFAULT, metrics: [{ field: 'someField' }] }, + ] as Series[]; + const result = checkIfSeriesHaveSameFormatters(seriesModel, fieldFormatMap); + + expect(result).toBe(false); + }); +}); diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/check_if_series_have_same_formatters.ts b/src/plugins/vis_type_timeseries/public/application/components/lib/check_if_series_have_same_formatters.ts new file mode 100644 index 0000000000000..afa1216406ab0 --- /dev/null +++ b/src/plugins/vis_type_timeseries/public/application/components/lib/check_if_series_have_same_formatters.ts @@ -0,0 +1,33 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { last, isEqual } from 'lodash'; +import { DATA_FORMATTERS } from '../../../../common/enums'; +import type { Series } from '../../../../common/types'; +import type { FieldFormatMap } from '../../../../../data/common'; + +export const checkIfSeriesHaveSameFormatters = ( + seriesModel: Series[], + fieldFormatMap?: FieldFormatMap +) => { + const allSeriesHaveDefaultFormatting = seriesModel.every( + (seriesGroup) => seriesGroup.formatter === DATA_FORMATTERS.DEFAULT + ); + + return allSeriesHaveDefaultFormatting && fieldFormatMap + ? seriesModel + .map(({ metrics }) => fieldFormatMap[last(metrics)?.field ?? '']) + .every((fieldFormat, index, [firstSeriesFieldFormat]) => + isEqual(fieldFormat, firstSeriesFieldFormat) + ) + : seriesModel.every( + (series) => + series.formatter === seriesModel[0].formatter && + series.value_template === seriesModel[0].value_template + ); +}; diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_vars.js b/src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_vars.js index 816bce5dac75b..867ba673cf1dd 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_vars.js +++ b/src/plugins/vis_type_timeseries/public/application/components/lib/convert_series_to_vars.js @@ -7,32 +7,35 @@ */ import { set } from '@elastic/safer-lodash-set'; -import _ from 'lodash'; +import { startsWith, snakeCase } from 'lodash'; +import { BUCKET_TYPES, DATA_FORMATTERS } from '../../../../common/enums'; import { getLastValue } from '../../../../common/last_value_utils'; import { getValueOrEmpty, emptyLabel } from '../../../../common/empty_label'; import { createTickFormatter } from './tick_formatter'; +import { getMetricsField } from './get_metrics_field'; +import { createFieldFormatter } from './create_field_formatter'; import { labelDateFormatter } from './label_date_formatter'; import moment from 'moment'; -export const convertSeriesToVars = (series, model, dateFormat = 'lll', getConfig = null) => { +export const convertSeriesToVars = (series, model, getConfig = null, fieldFormatMap) => { const variables = {}; + const dateFormat = getConfig?.('dateFormat') ?? 'lll'; model.series.forEach((seriesModel) => { series - .filter((row) => _.startsWith(row.id, seriesModel.id)) + .filter((row) => startsWith(row.id, seriesModel.id)) .forEach((row) => { let label = getValueOrEmpty(row.label); if (label !== emptyLabel) { - label = _.snakeCase(label); + label = snakeCase(label); } - const varName = [label, _.snakeCase(seriesModel.var_name)].filter((v) => v).join('.'); + const varName = [label, snakeCase(seriesModel.var_name)].filter((v) => v).join('.'); - const formatter = createTickFormatter( - seriesModel.formatter, - seriesModel.value_template, - getConfig - ); + const formatter = + seriesModel.formatter === DATA_FORMATTERS.DEFAULT + ? createFieldFormatter(getMetricsField(seriesModel.metrics), fieldFormatMap) + : createTickFormatter(seriesModel.formatter, seriesModel.value_template, getConfig); const lastValue = getLastValue(row.data); const data = { @@ -47,8 +50,12 @@ export const convertSeriesToVars = (series, model, dateFormat = 'lll', getConfig }), }, }; + const rowLabel = + seriesModel.split_mode === BUCKET_TYPES.TERMS + ? createFieldFormatter(seriesModel.terms_field, fieldFormatMap)(row.label) + : row.label; set(variables, varName, data); - set(variables, `${label}.label`, row.label); + set(variables, `${label}.label`, rowLabel); /** * Handle the case when a field has "key_as_string" value. diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/create_field_formatter.test.ts b/src/plugins/vis_type_timeseries/public/application/components/lib/create_field_formatter.test.ts new file mode 100644 index 0000000000000..0173ca4db15ae --- /dev/null +++ b/src/plugins/vis_type_timeseries/public/application/components/lib/create_field_formatter.test.ts @@ -0,0 +1,125 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { createFieldFormatter } from './create_field_formatter'; +import { getFieldFormatsRegistry } from '../../../../../data/public/test_utils'; +import { setFieldFormats } from '../../../services'; +import { FORMATS_UI_SETTINGS } from 'src/plugins/field_formats/common'; +import type { CoreSetup } from 'kibana/public'; + +const mockUiSettings = ({ + get: jest.fn((item: keyof typeof mockUiSettings) => mockUiSettings[item]), + [FORMATS_UI_SETTINGS.FORMAT_BYTES_DEFAULT_PATTERN]: '0,0.[000]b', + [FORMATS_UI_SETTINGS.FORMAT_NUMBER_DEFAULT_PATTERN]: '0,0.[000]', +} as unknown) as CoreSetup['uiSettings']; + +describe('createFieldFormatter(fieldName, fieldFormatMap?, contextType?, hasColorRules)', () => { + setFieldFormats( + getFieldFormatsRegistry(({ + uiSettings: mockUiSettings, + } as unknown) as CoreSetup) + ); + const value = 1234567890; + const stringValue = 'some string'; + const fieldFormatMap = { + bytesField: { + id: 'bytes', + }, + stringField: { + id: 'string', + params: { + transform: 'base64', + }, + }, + colorField: { + id: 'color', + params: { + fieldType: 'number', + colors: [ + { + range: '-Infinity:Infinity', + regex: '', + text: '#D36086', + background: '#ffffff', + }, + ], + }, + }, + urlField: { + id: 'url', + params: { + urlTemplate: 'https://{{value}}', + labelTemplate: '{{value}}', + }, + }, + }; + + it('should return byte formatted value for bytesField', () => { + const formatter = createFieldFormatter('bytesField', fieldFormatMap); + + expect(formatter(value)).toBe('1.15GB'); + }); + + it('should return base64 formatted value for stringField', () => { + const formatter = createFieldFormatter('stringField', fieldFormatMap); + + expect(formatter(value)).toBe('×møç®ü÷'); + }); + + it('should return color formatted value for colorField', () => { + const formatter = createFieldFormatter('colorField', fieldFormatMap, 'html'); + + expect(formatter(value)).toBe( + '1234567890' + ); + }); + + it('should return number formatted value wrapped in span for colorField when color rules are applied', () => { + const formatter = createFieldFormatter('colorField', fieldFormatMap, 'html', true); + + expect(formatter(value)).toBe('1,234,567,890'); + }); + + it('should return not formatted string value for colorField when color rules are applied', () => { + const formatter = createFieldFormatter('colorField', fieldFormatMap, 'html', true); + + expect(formatter(stringValue)).toBe(stringValue); + }); + + it('should return url formatted value for urlField', () => { + const formatter = createFieldFormatter('urlField', fieldFormatMap, 'html'); + + expect(formatter(value)).toBe( + '1234567890' + ); + }); + + it('should return "-" for null value when field has format', () => { + const formatter = createFieldFormatter('bytesField', fieldFormatMap); + + expect(formatter(null)).toBe('-'); + }); + + it('should return "-" for null value when field that has no format', () => { + const formatter = createFieldFormatter('urlField', fieldFormatMap); + + expect(formatter(null)).toBe('-'); + }); + + it('should return number formatted value for number when field has no format', () => { + const formatter = createFieldFormatter('noSuchField', fieldFormatMap); + + expect(formatter(value)).toBe('1,234,567,890'); + }); + + it('should not format string value when field has no format', () => { + const formatter = createFieldFormatter('noSuchField', fieldFormatMap); + + expect(formatter(stringValue)).toBe(stringValue); + }); +}); diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/create_field_formatter.ts b/src/plugins/vis_type_timeseries/public/application/components/lib/create_field_formatter.ts new file mode 100644 index 0000000000000..5cba549220f2c --- /dev/null +++ b/src/plugins/vis_type_timeseries/public/application/components/lib/create_field_formatter.ts @@ -0,0 +1,43 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { isNumber } from 'lodash'; +import { getFieldFormats } from '../../../services'; +import { isEmptyValue, DISPLAY_EMPTY_VALUE } from '../../../../common/last_value_utils'; +import { FIELD_FORMAT_IDS } from '../../../../../field_formats/common'; +import type { FieldFormatMap } from '../../../../../data/common'; +import type { FieldFormatsContentType } from '../../../../../field_formats/common'; + +const DEFAULT_FIELD_FORMAT = { id: 'number' }; + +export const createFieldFormatter = ( + fieldName: string = '', + fieldFormatMap?: FieldFormatMap, + contextType?: FieldFormatsContentType, + hasColorRules: boolean = false +) => { + const serializedFieldFormat = fieldFormatMap?.[fieldName]; + // field formatting should be skipped either there's no such field format in fieldFormatMap + // or it's color formatting and color rules are already applied + const shouldSkipFormatting = + !serializedFieldFormat || + (hasColorRules && serializedFieldFormat?.id === FIELD_FORMAT_IDS.COLOR); + + const fieldFormat = getFieldFormats().deserialize( + shouldSkipFormatting ? DEFAULT_FIELD_FORMAT : serializedFieldFormat + ); + + return (value: unknown) => { + if (isEmptyValue(value)) { + return DISPLAY_EMPTY_VALUE; + } + return isNumber(value) || !shouldSkipFormatting + ? fieldFormat.convert(value, contextType) + : value; + }; +}; diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/durations.test.js b/src/plugins/vis_type_timeseries/public/application/components/lib/durations.test.ts similarity index 100% rename from src/plugins/vis_type_timeseries/public/application/components/lib/durations.test.js rename to src/plugins/vis_type_timeseries/public/application/components/lib/durations.test.ts diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/durations.js b/src/plugins/vis_type_timeseries/public/application/components/lib/durations.ts similarity index 86% rename from src/plugins/vis_type_timeseries/public/application/components/lib/durations.js rename to src/plugins/vis_type_timeseries/public/application/components/lib/durations.ts index ac1eb76e7063d..df84c5d6781da 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/lib/durations.js +++ b/src/plugins/vis_type_timeseries/public/application/components/lib/durations.ts @@ -104,6 +104,7 @@ export const inputFormats = { M: 'months', Y: 'years', }; +type InputFormat = keyof typeof inputFormats; export const outputFormats = { humanize: 'humanize', @@ -116,10 +117,24 @@ export const outputFormats = { M: 'asMonths', Y: 'asYears', }; +type OutputFormat = keyof typeof outputFormats; -export const isDuration = (format) => { +export const getDurationParams = (format: string) => { + const [from, to, decimals] = format.split(','); + + return { + from, + to, + decimals, + }; +}; + +export const isDuration = (format: string) => { const splittedFormat = format.split(','); const [input, output] = splittedFormat; - return Boolean(inputFormats[input] && outputFormats[output]) && splittedFormat.length === 3; + return ( + Boolean(inputFormats[input as InputFormat] && outputFormats[output as OutputFormat]) && + splittedFormat.length === 3 + ); }; diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/get_formatter_type.test.ts b/src/plugins/vis_type_timeseries/public/application/components/lib/get_formatter_type.test.ts new file mode 100644 index 0000000000000..59b778a084902 --- /dev/null +++ b/src/plugins/vis_type_timeseries/public/application/components/lib/get_formatter_type.test.ts @@ -0,0 +1,30 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { DATA_FORMATTERS } from '../../../../common/enums'; +import { getFormatterType } from './get_formatter_type'; + +describe('getFormatterType(formatter)', () => { + it('should return bytes formatter for "bytes"', () => { + const actual = getFormatterType(DATA_FORMATTERS.BYTES); + + expect(actual).toBe(DATA_FORMATTERS.BYTES); + }); + + it('should return duration formatter for duration format string', () => { + const actual = getFormatterType('ns,ms,2'); + + expect(actual).toBe(DATA_FORMATTERS.DURATION); + }); + + it('should return custom formatter for Numeral.js pattern', () => { + const actual = getFormatterType('$ 0.00'); + + expect(actual).toBe(DATA_FORMATTERS.CUSTOM); + }); +}); diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/get_formatter_type.ts b/src/plugins/vis_type_timeseries/public/application/components/lib/get_formatter_type.ts new file mode 100644 index 0000000000000..eb6b2c40f31a5 --- /dev/null +++ b/src/plugins/vis_type_timeseries/public/application/components/lib/get_formatter_type.ts @@ -0,0 +1,25 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { DATA_FORMATTERS } from '../../../../common/enums'; +import { isDuration } from './durations'; + +export const getFormatterType = (formatter: string) => { + if ( + [ + DATA_FORMATTERS.NUMBER, + DATA_FORMATTERS.BYTES, + DATA_FORMATTERS.PERCENT, + DATA_FORMATTERS.DEFAULT, + ].includes(formatter as DATA_FORMATTERS) + ) { + return formatter as DATA_FORMATTERS; + } + + return formatter && isDuration(formatter) ? DATA_FORMATTERS.DURATION : DATA_FORMATTERS.CUSTOM; +}; diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/get_metrics_field.test.ts b/src/plugins/vis_type_timeseries/public/application/components/lib/get_metrics_field.test.ts new file mode 100644 index 0000000000000..88d671af2f1ae --- /dev/null +++ b/src/plugins/vis_type_timeseries/public/application/components/lib/get_metrics_field.test.ts @@ -0,0 +1,53 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { getMetricsField } from './get_metrics_field'; +import type { Metric } from '../../../../common/types'; + +describe('getMetricsField(metrics)', () => { + it('should return last metric field', () => { + const metrics = [ + { id: 'some-id', type: 'avg', field: 'some field' }, + { id: 'another-id', type: 'sum_bucket', field: 'some-id' }, + { id: 'one-more-id', type: 'top_hit', field: 'one more field' }, + ] as Metric[]; + + const field = getMetricsField(metrics); + expect(field).toBe('one more field'); + }); + + it('should return undefined when last metric has no field', () => { + const metrics = [ + { id: 'some-id', type: 'avg', field: 'some field' }, + { id: 'another-id', type: 'count' }, + ] as Metric[]; + + const field = getMetricsField(metrics); + expect(field).toBeUndefined(); + }); + + it('should return field of basic aggregation', () => { + const metrics = [ + { id: 'some-id', type: 'avg', field: 'some field' }, + { id: 'another-id', type: 'sum_bucket', field: 'some-id' }, + ] as Metric[]; + + const field = getMetricsField(metrics); + expect(field).toBe('some field'); + }); + + it('should return undefined when basic aggregation has no field', () => { + const metrics = [ + { id: 'some-id', type: 'filter_ratio' }, + { id: 'another-id', type: 'max_bucket', field: 'some-id' }, + ] as Metric[]; + + const field = getMetricsField(metrics); + expect(field).toBeUndefined(); + }); +}); diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/get_metrics_field.ts b/src/plugins/vis_type_timeseries/public/application/components/lib/get_metrics_field.ts new file mode 100644 index 0000000000000..c61f147c388f3 --- /dev/null +++ b/src/plugins/vis_type_timeseries/public/application/components/lib/get_metrics_field.ts @@ -0,0 +1,27 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { last } from 'lodash'; +import { Metric } from '../../../../common/types'; +import { getAggByPredicate, isBasicAgg } from '../../../../common/agg_utils'; + +export const getMetricsField = (metrics: Metric[]) => { + const selectedMetric = last(metrics); + + if (selectedMetric) { + const { isFieldRequired, isFieldFormattingDisabled } = getAggByPredicate( + selectedMetric.type + )?.meta; + + if (isFieldRequired && !isFieldFormattingDisabled) { + return isBasicAgg(selectedMetric) + ? selectedMetric.field + : metrics.find(({ id }) => selectedMetric.field === id)?.field; + } + } +}; diff --git a/src/plugins/vis_type_timeseries/public/application/components/lib/new_series_fn.js b/src/plugins/vis_type_timeseries/public/application/components/lib/new_series_fn.js index 9064cd1afc3f4..ad12302473059 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/lib/new_series_fn.js +++ b/src/plugins/vis_type_timeseries/public/application/components/lib/new_series_fn.js @@ -24,7 +24,7 @@ export const newSeriesFn = (obj = {}) => { metrics: [newMetricAggFn()], separate_axis: 0, axis_position: 'right', - formatter: 'number', + formatter: 'default', chart_type: 'line', line_width: 1, point_size: 1, diff --git a/src/plugins/vis_type_timeseries/public/application/components/markdown_editor.js b/src/plugins/vis_type_timeseries/public/application/components/markdown_editor.js index 27622e29c2061..046b1c5799836 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/markdown_editor.js +++ b/src/plugins/vis_type_timeseries/public/application/components/markdown_editor.js @@ -20,8 +20,15 @@ import { CodeEditor, MarkdownLang } from '../../../../kibana_react/public'; import { EuiText, EuiCodeBlock, EuiSpacer, EuiTitle } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n/react'; +import { getDataStart } from '../../services'; +import { fetchIndexPattern } from '../../../common/index_patterns_utils'; export class MarkdownEditor extends Component { + constructor(props) { + super(props); + this.state = { fieldFormatMap: undefined }; + } + handleChange = (value) => { this.props.onChange({ markdown: value }); }; @@ -38,17 +45,22 @@ export class MarkdownEditor extends Component { } }; + async componentDidMount() { + const { indexPatterns } = getDataStart(); + const { indexPattern } = await fetchIndexPattern(this.props.model.index_pattern, indexPatterns); + this.setState({ fieldFormatMap: indexPattern?.fieldFormatMap }); + } + render() { const { visData, model, getConfig } = this.props; if (!visData) { return null; } - const dateFormat = getConfig('dateFormat'); const series = _.get(visData, `${model.id}.series`, []); - const variables = convertSeriesToVars(series, model, dateFormat, this.props.getConfig); + const variables = convertSeriesToVars(series, model, getConfig, this.state.fieldFormatMap); const rows = []; - const rawFormatter = createTickFormatter('0.[0000]', null, this.props.getConfig); + const rawFormatter = createTickFormatter('0.[0000]', null, getConfig); const createPrimitiveRow = (key) => { const snippet = `{{ ${key} }}`; diff --git a/src/plugins/vis_type_timeseries/public/application/components/series_config.js b/src/plugins/vis_type_timeseries/public/application/components/series_config.js index 86781c9922e46..b4907d4eaa5c2 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/series_config.js +++ b/src/plugins/vis_type_timeseries/public/application/components/series_config.js @@ -6,12 +6,13 @@ * Side Public License, v 1. */ import { i18n } from '@kbn/i18n'; +import { last } from 'lodash'; import { FormattedMessage } from '@kbn/i18n/react'; import PropTypes from 'prop-types'; -import React from 'react'; +import React, { useMemo, useCallback } from 'react'; import { DataFormatPicker } from './data_format_picker'; -import { createSelectHandler } from './lib/create_select_handler'; import { createTextHandler } from './lib/create_text_handler'; +import { checkIfNumericMetric } from './lib/check_if_numeric_metric'; import { YesNo } from './yes_no'; import { IndexPattern } from './index_pattern'; import { @@ -24,34 +25,34 @@ import { EuiHorizontalRule, } from '@elastic/eui'; import { SeriesConfigQueryBarWithIgnoreGlobalFilter } from './series_config_query_bar_with_ignore_global_filter'; +import { DATA_FORMATTERS } from '../../../common/enums'; export const SeriesConfig = (props) => { - const defaults = { offset_time: '', value_template: '' }; + const defaults = { offset_time: '', value_template: '{{value}}' }; const model = { ...defaults, ...props.model }; - const handleSelectChange = createSelectHandler(props.onChange); const handleTextChange = createTextHandler(props.onChange); const htmlId = htmlIdGenerator(); const seriesIndexPattern = props.model.override_index_pattern ? props.model.series_index_pattern : props.indexPatternForQuery; + const changeModelFormatter = useCallback((formatter) => props.onChange({ formatter }), [props]); + const isNumericMetric = useMemo( + () => checkIfNumericMetric(last(model.metrics), props.fields, seriesIndexPattern), + [model.metrics, props.fields, seriesIndexPattern] + ); + const isKibanaIndexPattern = props.panel.use_kibana_indexes || seriesIndexPattern === ''; + return (
- - - - - - - - - + + { + + + + + + + + + { - const indexPatternValue = model.index_pattern || ''; - const { indexPatterns } = getDataStart(); - const { indexPattern } = await fetchIndexPattern(indexPatternValue, indexPatterns); let event; // trigger applyFilter if no index pattern found, url drilldowns are supported only // for the index pattern mode @@ -98,15 +94,11 @@ function TimeseriesVisualization({ handlers.event(event); }, - [handlers, model] + [handlers, indexPattern, model] ); const handleFilterClick = useCallback( async (series: PanelData[], points: Array<[GeometryValue, XYChartSeriesIdentifier]>) => { - const indexPatternValue = model.index_pattern || ''; - const { indexPatterns } = getDataStart(); - const { indexPattern } = await fetchIndexPattern(indexPatternValue, indexPatterns); - // it should work only if index pattern is found if (!indexPattern) return; @@ -129,7 +121,7 @@ function TimeseriesVisualization({ handlers.event(event); }, - [handlers, model] + [handlers, indexPattern, model] ); const handleUiState = useCallback( @@ -152,17 +144,16 @@ function TimeseriesVisualization({ const shouldDisplayLastValueIndicator = isLastValueMode && !model.hide_last_value_indicator && model.type !== PANEL_TYPES.TIMESERIES; + const [firstSeries] = + (isVisTableData(visData) ? visData.series : visData[model.id]?.series) ?? []; + if (VisComponent) { return ( {shouldDisplayLastValueIndicator && ( diff --git a/src/plugins/vis_type_timeseries/public/application/components/vis_editor.tsx b/src/plugins/vis_type_timeseries/public/application/components/vis_editor.tsx index 152ae43bebd64..5e4ff436ff1e6 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/vis_editor.tsx +++ b/src/plugins/vis_type_timeseries/public/application/components/vis_editor.tsx @@ -12,9 +12,8 @@ import { share } from 'rxjs/operators'; import { isEqual, isEmpty, debounce } from 'lodash'; import { EventEmitter } from 'events'; import type { IUiSettingsClient } from 'kibana/public'; -import { +import type { Vis, - PersistedState, VisualizeEmbeddableContract, } from '../../../../../plugins/visualizations/public'; import { KibanaContextProvider } from '../../../../../plugins/kibana_react/public'; @@ -31,8 +30,9 @@ import { TIME_RANGE_DATA_MODES, TIME_RANGE_MODE_KEY } from '../../../common/enum import { VisPicker } from './vis_picker'; import { fetchFields, VisFields } from '../lib/fetch_fields'; import { getDataStart, getCoreStart } from '../../services'; -import { TimeseriesVisParams } from '../../types'; +import type { TimeseriesVisParams } from '../../types'; import { UseIndexPatternModeCallout } from './use_index_patter_mode_callout'; +import type { EditorRenderProps } from '../../../../visualize/public'; const VIS_STATE_DEBOUNCE_DELAY = 200; const APP_NAME = 'VisEditor'; @@ -42,7 +42,9 @@ export interface TimeseriesEditorProps { embeddableHandler: VisualizeEmbeddableContract; eventEmitter: EventEmitter; timeRange: TimeRange; - uiState: PersistedState; + filters: EditorRenderProps['filters']; + query: EditorRenderProps['query']; + uiState: EditorRenderProps['uiState']; vis: Vis; } @@ -189,6 +191,8 @@ export class VisEditor extends Component includes(row.id, s.id)); const newProps = {}; if (seriesDef) { - newProps.formatter = createTickFormatter( - seriesDef.formatter, - seriesDef.value_template, - props.getConfig - ); + const hasTextColorRules = model.gauge_color_rules.some(({ text }) => text); + newProps.formatter = + seriesDef.formatter === DATA_FORMATTERS.DEFAULT + ? createFieldFormatter( + getMetricsField(seriesDef.metrics), + fieldFormatMap, + 'html', + hasTextColorRules + ) + : createTickFormatter(seriesDef.formatter, seriesDef.value_template, getConfig); } if (i === 0 && colors.gauge) newProps.color = colors.gauge; return assign({}, row, newProps); diff --git a/src/plugins/vis_type_timeseries/public/application/components/vis_types/index.ts b/src/plugins/vis_type_timeseries/public/application/components/vis_types/index.ts index 544e2bf49690a..b2e40940b8001 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/vis_types/index.ts +++ b/src/plugins/vis_type_timeseries/public/application/components/vis_types/index.ts @@ -14,6 +14,7 @@ import { PaletteRegistry } from 'src/plugins/charts/public'; import { TimeseriesVisParams } from '../../../types'; import type { TimeseriesVisData, PanelData } from '../../../../common/types'; +import type { FieldFormatMap } from '../../../../../data/common'; /** * Lazy load each visualization type, since the only one is presented on the screen at the same time. @@ -61,4 +62,5 @@ export interface TimeseriesVisProps { getConfig: IUiSettingsClient['get']; syncColors: boolean; palettesService: PaletteRegistry; + fieldFormatMap?: FieldFormatMap; } diff --git a/src/plugins/vis_type_timeseries/public/application/components/vis_types/markdown/vis.js b/src/plugins/vis_type_timeseries/public/application/components/vis_types/markdown/vis.js index ef6b30be30a30..fc7019bd38293 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/vis_types/markdown/vis.js +++ b/src/plugins/vis_type_timeseries/public/application/components/vis_types/markdown/vis.js @@ -21,9 +21,9 @@ import { isBackgroundInverted } from '../../../lib/set_is_reversed'; const getMarkdownId = (id) => `markdown-${id}`; function MarkdownVisualization(props) { - const { backgroundColor, model, visData, getConfig } = props; + const { backgroundColor, model, visData, getConfig, fieldFormatMap } = props; const series = get(visData, `${model.id}.series`, []); - const variables = convertSeriesToVars(series, model, getConfig('dateFormat'), props.getConfig); + const variables = convertSeriesToVars(series, model, getConfig, fieldFormatMap); const markdownElementId = getMarkdownId(uuid.v1()); const panelBackgroundColor = model.background_color || backgroundColor; diff --git a/src/plugins/vis_type_timeseries/public/application/components/vis_types/metric/vis.js b/src/plugins/vis_type_timeseries/public/application/components/vis_types/metric/vis.js index b35ee977d3e44..90e2a57d925a6 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/vis_types/metric/vis.js +++ b/src/plugins/vis_type_timeseries/public/application/components/vis_types/metric/vis.js @@ -9,9 +9,12 @@ import PropTypes from 'prop-types'; import React from 'react'; import { visWithSplits } from '../../vis_with_splits'; +import { getMetricsField } from '../../lib/get_metrics_field'; import { createTickFormatter } from '../../lib/tick_formatter'; +import { createFieldFormatter } from '../../lib/create_field_formatter'; import { get, isUndefined, assign, includes, pick } from 'lodash'; import { Metric } from '../../../visualizations/views/metric'; +import { DATA_FORMATTERS } from '../../../../../common/enums'; import { getLastValue } from '../../../../../common/last_value_utils'; import { isBackgroundInverted } from '../../../lib/set_is_reversed'; import { getOperator, shouldOperate } from '../../../../../common/operators_utils'; @@ -36,7 +39,7 @@ function getColors(props) { } function MetricVisualization(props) { - const { backgroundColor, model, visData } = props; + const { backgroundColor, model, visData, fieldFormatMap, getConfig } = props; const colors = getColors(props); const series = get(visData, `${model.id}.series`, []) .filter((row) => row) @@ -44,11 +47,15 @@ function MetricVisualization(props) { const seriesDef = model.series.find((s) => includes(row.id, s.id)); const newProps = {}; if (seriesDef) { - newProps.formatter = createTickFormatter( - seriesDef.formatter, - seriesDef.value_template, - props.getConfig - ); + newProps.formatter = + seriesDef.formatter === DATA_FORMATTERS.DEFAULT + ? createFieldFormatter( + getMetricsField(seriesDef.metrics), + fieldFormatMap, + 'html', + colors.color + ) + : createTickFormatter(seriesDef.formatter, seriesDef.value_template, getConfig); } if (i === 0 && colors.color) newProps.color = colors.color; return assign({}, pick(row, ['label', 'data']), newProps); diff --git a/src/plugins/vis_type_timeseries/public/application/components/vis_types/table/config.js b/src/plugins/vis_type_timeseries/public/application/components/vis_types/table/config.js index 094c33f131fd9..e7d13e1497f5c 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/vis_types/table/config.js +++ b/src/plugins/vis_type_timeseries/public/application/components/vis_types/table/config.js @@ -10,6 +10,7 @@ import React, { Component } from 'react'; import PropTypes from 'prop-types'; import uuid from 'uuid'; import { i18n } from '@kbn/i18n'; +import { last } from 'lodash'; import { DataFormatPicker } from '../../data_format_picker'; import { createSelectHandler } from '../../lib/create_select_handler'; @@ -31,7 +32,9 @@ import { } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n/react'; import { getDefaultQueryLanguage } from '../../lib/get_default_query_language'; +import { checkIfNumericMetric } from '../../lib/check_if_numeric_metric'; import { QueryBarWrapper } from '../../query_bar_wrapper'; +import { DATA_FORMATTERS } from '../../../../../common/enums'; export class TableSeriesConfig extends Component { UNSAFE_componentWillMount() { @@ -43,8 +46,10 @@ export class TableSeriesConfig extends Component { } } + changeModelFormatter = (formatter) => this.props.onChange({ formatter }); + render() { - const defaults = { offset_time: '', value_template: '' }; + const defaults = { offset_time: '', value_template: '{{value}}' }; const model = { ...defaults, ...this.props.model }; const handleSelectChange = createSelectHandler(this.props.onChange); const handleTextChange = createTextHandler(this.props.onChange); @@ -110,13 +115,24 @@ export class TableSeriesConfig extends Component { return model.aggregate_function === option.value; }); + const isNumericMetric = checkIfNumericMetric( + last(model.metrics), + this.props.fields, + this.props.indexPatternForQuery + ); + const isKibanaIndexPattern = + this.props.panel.use_kibana_indexes || this.props.indexPatternForQuery === ''; + return (
- - - - + + diff --git a/src/plugins/vis_type_timeseries/public/application/components/vis_types/table/vis.js b/src/plugins/vis_type_timeseries/public/application/components/vis_types/table/vis.js index ba235a20b97ce..21d7de9f1d880 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/vis_types/table/vis.js +++ b/src/plugins/vis_type_timeseries/public/application/components/vis_types/table/vis.js @@ -11,13 +11,16 @@ import React, { Component } from 'react'; import { parse as parseUrl } from 'url'; import PropTypes from 'prop-types'; import { RedirectAppLinks } from '../../../../../../kibana_react/public'; +import { getMetricsField } from '../../lib/get_metrics_field'; import { createTickFormatter } from '../../lib/tick_formatter'; +import { createFieldFormatter } from '../../lib/create_field_formatter'; import { isSortable } from './is_sortable'; import { EuiToolTip, EuiIcon } from '@elastic/eui'; import { replaceVars } from '../../lib/replace_vars'; import { FIELD_FORMAT_IDS } from '../../../../../../../plugins/field_formats/common'; import { FormattedMessage } from '@kbn/i18n/react'; import { getFieldFormats, getCoreStart } from '../../../../services'; +import { DATA_FORMATTERS } from '../../../../../common/enums'; import { getValueOrEmpty } from '../../../../../common/empty_label'; function getColor(rules, colorKey, value) { @@ -57,26 +60,40 @@ class TableVis extends Component { } renderRow = (row) => { - const { model } = this.props; + const { model, fieldFormatMap, getConfig } = this.props; let rowDisplay = getValueOrEmpty( model.pivot_type === 'date' ? this.dateFormatter.convert(row.key) : row.key ); + // we should skip url field formatting for key if tsvb have drilldown_url + if (fieldFormatMap?.[model.pivot_id]?.id !== FIELD_FORMAT_IDS.URL || !model.drilldown_url) { + const formatter = createFieldFormatter(model?.pivot_id, fieldFormatMap, 'html'); + rowDisplay = ; // eslint-disable-line react/no-danger + } + if (model.drilldown_url) { const url = replaceVars(model.drilldown_url, {}, { key: row.key }); rowDisplay = {rowDisplay}; } + const columns = row.series .filter((item) => item) .map((item) => { const column = this.visibleSeries.find((c) => c.id === item.id); if (!column) return null; - const formatter = createTickFormatter( - column.formatter, - column.value_template, - this.props.getConfig + const hasColorRules = column.color_rules?.some( + ({ value, operator, text }) => value || operator || text ); + const formatter = + column.formatter === DATA_FORMATTERS.DEFAULT + ? createFieldFormatter( + getMetricsField(column.metrics), + fieldFormatMap, + 'html', + hasColorRules + ) + : createTickFormatter(column.formatter, column.value_template, getConfig); const value = formatter(item.last); let trend; if (column.trend_arrows) { @@ -95,7 +112,8 @@ class TableVis extends Component { className="eui-textRight" style={style} > - {value} + {/* eslint-disable-next-line react/no-danger */} + {trend} ); diff --git a/src/plugins/vis_type_timeseries/public/application/components/vis_types/timeseries/config.js b/src/plugins/vis_type_timeseries/public/application/components/vis_types/timeseries/config.js index 01ba8b6e28114..4257c35a6d4c2 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/vis_types/timeseries/config.js +++ b/src/plugins/vis_type_timeseries/public/application/components/vis_types/timeseries/config.js @@ -8,7 +8,9 @@ import { i18n } from '@kbn/i18n'; import PropTypes from 'prop-types'; -import React, { useState, useEffect } from 'react'; +import { last } from 'lodash'; +import React, { useMemo, useState, useEffect, useCallback } from 'react'; +import { DATA_FORMATTERS } from '../../../../../common/enums'; import { DataFormatPicker } from '../../data_format_picker'; import { createSelectHandler } from '../../lib/create_select_handler'; import { YesNo } from '../../yes_no'; @@ -29,6 +31,7 @@ import { FormattedMessage, injectI18n } from '@kbn/i18n/react'; import { SeriesConfigQueryBarWithIgnoreGlobalFilter } from '../../series_config_query_bar_with_ignore_global_filter'; import { PalettePicker } from '../../palette_picker'; import { getCharts } from '../../../../services'; +import { checkIfNumericMetric } from '../../lib/check_if_numeric_metric'; import { isPercentDisabled } from '../../lib/stacked'; import { STACKED_OPTIONS } from '../../../visualizations/constants/chart'; @@ -328,6 +331,13 @@ export const TimeseriesConfig = injectI18n(function (props) { ? props.model.series_index_pattern : props.indexPatternForQuery; + const changeModelFormatter = useCallback((formatter) => props.onChange({ formatter }), [props]); + const isNumericMetric = useMemo( + () => checkIfNumericMetric(last(model.metrics), props.fields, seriesIndexPattern), + [model.metrics, props.fields, seriesIndexPattern] + ); + const isKibanaIndexPattern = props.panel.use_kibana_indexes || seriesIndexPattern === ''; + const initialPalette = model.palette ?? { type: 'palette', name: 'default', @@ -344,10 +354,13 @@ export const TimeseriesConfig = injectI18n(function (props) { return (
- - - - + + diff --git a/src/plugins/vis_type_timeseries/public/application/components/vis_types/timeseries/vis.js b/src/plugins/vis_type_timeseries/public/application/components/vis_types/timeseries/vis.js index d9440804701b2..fed295fef9d30 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/vis_types/timeseries/vis.js +++ b/src/plugins/vis_type_timeseries/public/application/components/vis_types/timeseries/vis.js @@ -13,7 +13,10 @@ import { startsWith, get, cloneDeep, map } from 'lodash'; import { htmlIdGenerator } from '@elastic/eui'; import { ScaleType } from '@elastic/charts'; +import { getMetricsField } from '../../lib/get_metrics_field'; import { createTickFormatter } from '../../lib/tick_formatter'; +import { createFieldFormatter } from '../../lib/create_field_formatter'; +import { checkIfSeriesHaveSameFormatters } from '../../lib/check_if_series_have_same_formatters'; import { TimeSeries } from '../../../visualizations/views/timeseries'; import { MarkdownSimple } from '../../../../../../../plugins/kibana_react/public'; import { replaceVars } from '../../lib/replace_vars'; @@ -21,6 +24,7 @@ import { getInterval } from '../../lib/get_interval'; import { createIntervalBasedFormatter } from '../../lib/create_interval_based_formatter'; import { STACKED_OPTIONS } from '../../../visualizations/constants'; import { getCoreStart } from '../../../../services'; +import { DATA_FORMATTERS } from '../../../../../common/enums'; class TimeseriesVisualization extends Component { static propTypes = { @@ -51,6 +55,16 @@ class TimeseriesVisualization extends Component { }; applyDocTo = (template) => (doc) => { + const { fieldFormatMap } = this.props; + + // formatting each doc value with custom field formatter if fieldFormatMap contains that doc field name + Object.keys(doc).forEach((fieldName) => { + if (fieldFormatMap?.[fieldName]) { + const valueFieldFormatter = createFieldFormatter(fieldName, fieldFormatMap); + doc[fieldName] = valueFieldFormatter(doc[fieldName]); + } + }); + const vars = replaceVars(template, null, doc, { noEscape: true, }); @@ -139,7 +153,16 @@ class TimeseriesVisualization extends Component { }; render() { - const { model, visData, onBrush, onFilterClick, syncColors, palettesService } = this.props; + const { + model, + visData, + onBrush, + onFilterClick, + syncColors, + palettesService, + fieldFormatMap, + getConfig, + } = this.props; const series = get(visData, `${model.id}.series`, []); const interval = getInterval(visData, model); const yAxisIdGenerator = htmlIdGenerator('yaxis'); @@ -152,10 +175,6 @@ class TimeseriesVisualization extends Component { const yAxis = []; let mainDomainAdded = false; - const allSeriesHaveSameFormatters = seriesModel.every( - (seriesGroup) => seriesGroup.formatter === seriesModel[0].formatter - ); - this.showToastNotification = null; seriesModel.forEach((seriesGroup) => { @@ -166,10 +185,12 @@ class TimeseriesVisualization extends Component { ? TimeseriesVisualization.getYAxisDomain(seriesGroup) : undefined; const isCustomDomain = groupId !== mainAxisGroupId; - const seriesGroupTickFormatter = TimeseriesVisualization.getTickFormatter( - seriesGroup, - this.props.getConfig - ); + + const seriesGroupTickFormatter = + seriesGroup.formatter === DATA_FORMATTERS.DEFAULT + ? createFieldFormatter(getMetricsField(seriesGroup.metrics), fieldFormatMap) + : TimeseriesVisualization.getTickFormatter(seriesGroup, getConfig); + const palette = { ...seriesGroup.palette, name: @@ -214,8 +235,12 @@ class TimeseriesVisualization extends Component { : seriesGroupTickFormatter, }); } else if (!mainDomainAdded) { + const tickFormatter = checkIfSeriesHaveSameFormatters(seriesModel, fieldFormatMap) + ? seriesGroupTickFormatter + : (val) => val; + TimeseriesVisualization.addYAxis(yAxis, { - tickFormatter: allSeriesHaveSameFormatters ? seriesGroupTickFormatter : (val) => val, + tickFormatter, id: yAxisIdGenerator('main'), groupId: mainAxisGroupId, position: model.axis_position, diff --git a/src/plugins/vis_type_timeseries/public/application/components/vis_types/timeseries/vis.test.js b/src/plugins/vis_type_timeseries/public/application/components/vis_types/timeseries/vis.test.js index fd155623d5da7..d6e7484e903bf 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/vis_types/timeseries/vis.test.js +++ b/src/plugins/vis_type_timeseries/public/application/components/vis_types/timeseries/vis.test.js @@ -11,9 +11,15 @@ import { shallow } from 'enzyme'; import { TimeSeries } from '../../../visualizations/views/timeseries'; import TimeseriesVisualization from './vis'; import { setFieldFormats } from '../../../../services'; +import { createFieldFormatter } from '../../lib/create_field_formatter'; import { FORMATS_UI_SETTINGS } from '../../../../../../field_formats/common'; +import { METRIC_TYPES } from '../../../../../../data/common'; import { getFieldFormatsRegistry } from '../../../../../../data/public/test_utils'; +jest.mock('../../../../../../data/public/services', () => ({ + getUiSettings: () => ({ get: jest.fn() }), +})); + describe('TimeseriesVisualization', () => { describe('TimeSeries Y-Axis formatted value', () => { const config = { @@ -29,19 +35,34 @@ describe('TimeseriesVisualization', () => { }) ); - const setupTimeSeriesPropsWithFormatters = (...formatters) => { - const series = formatters.map((formatter) => ({ - id, + const setupTimeSeriesProps = (formatters, valueTemplates) => { + const series = formatters.map((formatter, index) => ({ + id: id + index, formatter, + value_template: valueTemplates?.[index], data: [], + metrics: [ + { + type: METRIC_TYPES.AVG, + field: `field${index}`, + }, + ], })); + const fieldFormatMap = { + field0: { id: 'duration', params: { inputFormat: 'years' } }, + field1: { id: 'duration', params: { inputFormat: 'years' } }, + field2: { id: 'duration', params: { inputFormat: 'months' } }, + field3: { id: 'number', params: { pattern: '$0,0.[00]' } }, + }; + const timeSeriesVisualization = shallow( config[key]} model={{ id, series, + use_kibana_indexes: true, }} visData={{ [id]: { @@ -49,56 +70,69 @@ describe('TimeseriesVisualization', () => { series, }, }} + fieldFormatMap={fieldFormatMap} + createCustomFieldFormatter={createFieldFormatter} /> ); return timeSeriesVisualization.find(TimeSeries).props(); }; - test('should be byte for single byte series', () => { - const timeSeriesProps = setupTimeSeriesPropsWithFormatters('byte'); + test('should return byte formatted value from yAxis formatter for single byte series', () => { + const timeSeriesProps = setupTimeSeriesProps(['byte']); const yAxisFormattedValue = timeSeriesProps.yAxis[0].tickFormatter(value); expect(yAxisFormattedValue).toBe('500B'); }); - test('should have custom format for single series', () => { - const timeSeriesProps = setupTimeSeriesPropsWithFormatters('0.00bitd'); + test('should return custom formatted value from yAxis formatter for single series with custom formatter', () => { + const timeSeriesProps = setupTimeSeriesProps(['0.00bitd']); const yAxisFormattedValue = timeSeriesProps.yAxis[0].tickFormatter(value); expect(yAxisFormattedValue).toBe('500.00bit'); }); - test('should be the same number for byte and percent series', () => { - const timeSeriesProps = setupTimeSeriesPropsWithFormatters('byte', 'percent'); + test('should return the same number from yAxis formatter for byte and percent series', () => { + const timeSeriesProps = setupTimeSeriesProps(['byte', 'percent']); const yAxisFormattedValue = timeSeriesProps.yAxis[0].tickFormatter(value); expect(yAxisFormattedValue).toBe(value); }); - test('should be the same stringified number for byte and percent series', () => { - const timeSeriesProps = setupTimeSeriesPropsWithFormatters('byte', 'percent'); + test('should return the same stringified number from yAxis formatter for byte and percent series', () => { + const timeSeriesProps = setupTimeSeriesProps(['byte', 'percent']); const yAxisFormattedValue = timeSeriesProps.yAxis[0].tickFormatter(value.toString()); expect(yAxisFormattedValue).toBe('500'); }); - test('should be byte for two byte formatted series', () => { - const timeSeriesProps = setupTimeSeriesPropsWithFormatters('byte', 'byte'); + test('should return byte formatted value from yAxis formatter and from two byte formatted series with the same value templates', () => { + const timeSeriesProps = setupTimeSeriesProps(['byte', 'byte']); + const { series, yAxis } = timeSeriesProps; - const yAxisFormattedValue = timeSeriesProps.yAxis[0].tickFormatter(value); - const firstSeriesFormattedValue = timeSeriesProps.series[0].tickFormat(value); + expect(series[0].tickFormat(value)).toBe('500B'); + expect(series[1].tickFormat(value)).toBe('500B'); + expect(yAxis[0].tickFormatter(value)).toBe('500B'); + }); - expect(firstSeriesFormattedValue).toBe('500B'); - expect(yAxisFormattedValue).toBe(firstSeriesFormattedValue); + test('should return simple number from yAxis formatter and different values from the same byte formatters, but with different value templates', () => { + const timeSeriesProps = setupTimeSeriesProps( + ['byte', 'byte'], + ['{{value}}', '{{value}} value'] + ); + const { series, yAxis } = timeSeriesProps; + + expect(series[0].tickFormat(value)).toBe('500B'); + expect(series[1].tickFormat(value)).toBe('500B value'); + expect(yAxis[0].tickFormatter(value)).toBe(value); }); - test('should be percent for three percent formatted series', () => { - const timeSeriesProps = setupTimeSeriesPropsWithFormatters('percent', 'percent', 'percent'); + test('should return percent formatted value from yAxis formatter and three percent formatted series with the same value templates', () => { + const timeSeriesProps = setupTimeSeriesProps(['percent', 'percent', 'percent']); const yAxisFormattedValue = timeSeriesProps.yAxis[0].tickFormatter(value); const firstSeriesFormattedValue = timeSeriesProps.series[0].tickFormat(value); @@ -106,5 +140,56 @@ describe('TimeseriesVisualization', () => { expect(firstSeriesFormattedValue).toBe('50000%'); expect(yAxisFormattedValue).toBe(firstSeriesFormattedValue); }); + + test('should return simple number from yAxis formatter and different values for the same value templates, but with different formatters', () => { + const timeSeriesProps = setupTimeSeriesProps( + ['number', 'byte'], + ['{{value}} template', '{{value}} template'] + ); + const { series, yAxis } = timeSeriesProps; + + expect(series[0].tickFormat(value)).toBe('500 template'); + expect(series[1].tickFormat(value)).toBe('500B template'); + expect(yAxis[0].tickFormatter(value)).toBe(value); + }); + + test('should return field formatted value for yAxis and single series with default formatter', () => { + const timeSeriesProps = setupTimeSeriesProps(['default']); + const { series, yAxis } = timeSeriesProps; + + expect(series[0].tickFormat(value)).toBe('500 years'); + expect(yAxis[0].tickFormatter(value)).toBe('500 years'); + }); + + test('should return custom field formatted value for yAxis and both series having same fieldFormats', () => { + const timeSeriesProps = setupTimeSeriesProps(['default', 'default']); + const { series, yAxis } = timeSeriesProps; + + expect(series[0].tickFormat(value)).toBe('500 years'); + expect(series[1].tickFormat(value)).toBe('500 years'); + expect(yAxis[0].tickFormatter(value)).toBe('500 years'); + }); + + test('should return simple number from yAxis formatter and default formatted values for series', () => { + const timeSeriesProps = setupTimeSeriesProps(['default', 'default', 'default', 'default']); + const { series, yAxis } = timeSeriesProps; + + expect(series[0].tickFormat(value)).toBe('500 years'); + expect(series[1].tickFormat(value)).toBe('500 years'); + expect(series[2].tickFormat(value)).toBe('42 years'); + expect(series[3].tickFormat(value)).toBe('$500'); + expect(yAxis[0].tickFormatter(value)).toBe(value); + }); + + test('should return simple number from yAxis formatter and correctly formatted series values', () => { + const timeSeriesProps = setupTimeSeriesProps(['default', 'byte', 'percent', 'default']); + const { series, yAxis } = timeSeriesProps; + + expect(series[0].tickFormat(value)).toBe('500 years'); + expect(series[1].tickFormat(value)).toBe('500B'); + expect(series[2].tickFormat(value)).toBe('50000%'); + expect(series[3].tickFormat(value)).toBe('$500'); + expect(yAxis[0].tickFormatter(value)).toBe(value); + }); }); }); diff --git a/src/plugins/vis_type_timeseries/public/application/components/vis_types/top_n/vis.js b/src/plugins/vis_type_timeseries/public/application/components/vis_types/top_n/vis.js index 0b3a24615c0e3..8176f6ece2805 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/vis_types/top_n/vis.js +++ b/src/plugins/vis_type_timeseries/public/application/components/vis_types/top_n/vis.js @@ -7,7 +7,9 @@ */ import { getCoreStart } from '../../../../services'; +import { getMetricsField } from '../../lib/get_metrics_field'; import { createTickFormatter } from '../../lib/tick_formatter'; +import { createFieldFormatter } from '../../lib/create_field_formatter'; import { TopN } from '../../../visualizations/views/top_n'; import { getLastValue } from '../../../../../common/last_value_utils'; import { isBackgroundInverted } from '../../../lib/set_is_reversed'; @@ -15,6 +17,7 @@ import { replaceVars } from '../../lib/replace_vars'; import PropTypes from 'prop-types'; import React from 'react'; import { sortBy, first, get } from 'lodash'; +import { DATA_FORMATTERS } from '../../../../../common/enums'; import { getOperator, shouldOperate } from '../../../../../common/operators_utils'; function sortByDirection(data, direction, fn) { @@ -38,17 +41,17 @@ function sortSeries(visData, model) { } function TopNVisualization(props) { - const { backgroundColor, model, visData } = props; + const { backgroundColor, model, visData, fieldFormatMap, getConfig } = props; const series = sortSeries(visData, model).map((item) => { const id = first(item.id.split(/:/)); const seriesConfig = model.series.find((s) => s.id === id); if (seriesConfig) { - const tickFormatter = createTickFormatter( - seriesConfig.formatter, - seriesConfig.value_template, - props.getConfig - ); + const tickFormatter = + seriesConfig.formatter === DATA_FORMATTERS.DEFAULT + ? createFieldFormatter(getMetricsField(seriesConfig.metrics), fieldFormatMap, 'html') + : createTickFormatter(seriesConfig.formatter, seriesConfig.value_template, getConfig); + const value = getLastValue(item.data); let color = item.color || seriesConfig.color; if (model.bar_color_rules) { diff --git a/src/plugins/vis_type_timeseries/public/application/components/vis_with_splits.js b/src/plugins/vis_type_timeseries/public/application/components/vis_with_splits.js index 945a7ac986d3e..86c0af1c97980 100644 --- a/src/plugins/vis_type_timeseries/public/application/components/vis_with_splits.js +++ b/src/plugins/vis_type_timeseries/public/application/components/vis_with_splits.js @@ -15,7 +15,7 @@ import { getSplitByTermsColor } from '../lib/get_split_by_terms_color'; export function visWithSplits(WrappedComponent) { function SplitVisComponent(props) { - const { model, visData, syncColors, palettesService } = props; + const { model, visData, syncColors, palettesService, fieldFormatMap } = props; const getSeriesColor = useCallback( (seriesName, seriesId, baseColor) => { @@ -34,10 +34,11 @@ export function visWithSplits(WrappedComponent) { seriesPalette: palette, palettesRegistry: palettesService, syncColors, + fieldFormatMap, }; return getSplitByTermsColor(props) || null; }, - [model, palettesService, syncColors, visData] + [fieldFormatMap, model.id, model.series, palettesService, syncColors, visData] ); if (!model || !visData || !visData[model.id] || visData[model.id].series.length === 1) @@ -114,6 +115,7 @@ export function visWithSplits(WrappedComponent) { additionalLabel={getValueOrEmpty(additionalLabel)} backgroundColor={props.backgroundColor} getConfig={props.getConfig} + fieldFormatMap={props.fieldFormatMap} />
); diff --git a/src/plugins/vis_type_timeseries/public/application/editor_controller.tsx b/src/plugins/vis_type_timeseries/public/application/editor_controller.tsx index 844dca039cf62..2f5ee2b8a631d 100644 --- a/src/plugins/vis_type_timeseries/public/application/editor_controller.tsx +++ b/src/plugins/vis_type_timeseries/public/application/editor_controller.tsx @@ -26,7 +26,7 @@ export class EditorController implements IEditorController { private embeddableHandler: VisualizeEmbeddableContract ) {} - render({ timeRange, uiState }: EditorRenderProps) { + render({ timeRange, uiState, filters, query }: EditorRenderProps) { const I18nContext = getI18n().Context; render( @@ -38,6 +38,8 @@ export class EditorController implements IEditorController { embeddableHandler={this.embeddableHandler} eventEmitter={this.eventEmitter} uiState={uiState} + filters={filters} + query={query} /> , this.el diff --git a/src/plugins/vis_type_timeseries/public/application/visualizations/views/_gauge.scss b/src/plugins/vis_type_timeseries/public/application/visualizations/views/_gauge.scss index 7f3c049a131d2..fdab7f02957e0 100644 --- a/src/plugins/vis_type_timeseries/public/application/visualizations/views/_gauge.scss +++ b/src/plugins/vis_type_timeseries/public/application/visualizations/views/_gauge.scss @@ -47,6 +47,8 @@ font-size: .9em; /* 1 */ line-height: 1em; /* 1 */ text-align: center; + // make gauge value the target for pointer-events + pointer-events: all; .tvbVisGauge--reversed & { color: $tvbValueColorReversed; @@ -71,4 +73,6 @@ display: flex; flex-direction: column; flex: 1 0 auto; + // disable gauge container pointer-events as it shouldn't be event target + pointer-events: none; } diff --git a/src/plugins/vis_type_timeseries/public/application/visualizations/views/gauge.js b/src/plugins/vis_type_timeseries/public/application/visualizations/views/gauge.js index 723a054baeeae..ca5021a882932 100644 --- a/src/plugins/vis_type_timeseries/public/application/visualizations/views/gauge.js +++ b/src/plugins/vis_type_timeseries/public/application/visualizations/views/gauge.js @@ -117,7 +117,8 @@ export class Gauge extends Component { ref="label" data-test-subj="gaugeValue" > - {formatter(value)} + {/* eslint-disable-next-line react/no-danger */} +
{additionalLabel}
@@ -135,7 +136,8 @@ export class Gauge extends Component { ref="label" data-test-subj="gaugeValue" > - {formatter(value)} + {/* eslint-disable-next-line react/no-danger */} +
{title} diff --git a/src/plugins/vis_type_timeseries/public/application/visualizations/views/metric.js b/src/plugins/vis_type_timeseries/public/application/visualizations/views/metric.js index bc4230d0a15ef..0ceb2daa831be 100644 --- a/src/plugins/vis_type_timeseries/public/application/visualizations/views/metric.js +++ b/src/plugins/vis_type_timeseries/public/application/visualizations/views/metric.js @@ -101,7 +101,8 @@ export class Metric extends Component {
{secondaryLabel}
- {secondaryValue} + {/* eslint-disable-next-line react/no-danger */} +
); @@ -132,7 +133,8 @@ export class Metric extends Component { data-test-subj="tsvbMetricValue" className="tvbVisMetric__value--primary" > - {primaryValue} + {/* eslint-disable-next-line react/no-danger */} +
{secondarySnippet} diff --git a/src/plugins/vis_type_timeseries/public/application/visualizations/views/top_n.js b/src/plugins/vis_type_timeseries/public/application/visualizations/views/top_n.js index 72b2c7ce34fd8..aaec701a42eea 100644 --- a/src/plugins/vis_type_timeseries/public/application/visualizations/views/top_n.js +++ b/src/plugins/vis_type_timeseries/public/application/visualizations/views/top_n.js @@ -139,7 +139,8 @@ export class TopN extends Component {
- {formatter(lastValue)} + {/* eslint-disable-next-line react/no-danger */} + ); diff --git a/src/plugins/vis_type_timeseries/public/metrics_type.ts b/src/plugins/vis_type_timeseries/public/metrics_type.ts index b68812b9828e3..5d4a61c1edb82 100644 --- a/src/plugins/vis_type_timeseries/public/metrics_type.ts +++ b/src/plugins/vis_type_timeseries/public/metrics_type.ts @@ -77,7 +77,7 @@ export const metricsVisDefinition: VisTypeDefinition< ], separate_axis: 0, axis_position: 'right', - formatter: 'number', + formatter: 'default', chart_type: 'line', line_width: 1, point_size: 1, @@ -105,8 +105,8 @@ export const metricsVisDefinition: VisTypeDefinition< editor: TSVB_EDITOR_NAME, }, options: { - showQueryBar: false, - showFilterBar: false, + showQueryBar: true, + showFilterBar: true, showIndexSelection: false, }, toExpressionAst, @@ -117,6 +117,7 @@ export const metricsVisDefinition: VisTypeDefinition< return []; }, inspectorAdapters: {}, + requiresSearch: true, getUsedIndexPattern: async (params: VisParams) => { const { indexPatterns } = getDataStart(); const indexPatternValue = params.index_pattern; diff --git a/src/plugins/vis_type_timeseries/public/timeseries_vis_renderer.tsx b/src/plugins/vis_type_timeseries/public/timeseries_vis_renderer.tsx index 3f324fcfc2f20..9a19ddc285ebb 100644 --- a/src/plugins/vis_type_timeseries/public/timeseries_vis_renderer.tsx +++ b/src/plugins/vis_type_timeseries/public/timeseries_vis_renderer.tsx @@ -13,11 +13,12 @@ import { render, unmountComponentAtNode } from 'react-dom'; import { I18nProvider } from '@kbn/i18n/react'; import { IUiSettingsClient } from 'kibana/public'; +import { fetchIndexPattern } from '../common/index_patterns_utils'; import { VisualizationContainer, PersistedState } from '../../visualizations/public'; import type { TimeseriesVisData } from '../common/types'; import { isVisTableData } from '../common/vis_data_utils'; -import { getCharts } from './services'; +import { getCharts, getDataStart } from './services'; import type { TimeseriesVisParams } from './types'; import type { ExpressionRenderDefinition } from '../../expressions/common'; @@ -49,9 +50,15 @@ export const getTimeseriesVisRenderer: (deps: { handlers.onDestroy(() => { unmountComponentAtNode(domNode); }); + const { visParams: model, visData, syncColors } = config; const { palettes } = getCharts(); - const showNoResult = !checkIfDataExists(config.visData, config.visParams); - const palettesService = await palettes.getPalettes(); + const { indexPatterns } = getDataStart(); + + const showNoResult = !checkIfDataExists(visData, model); + const [palettesService, { indexPattern }] = await Promise.all([ + palettes.getPalettes(), + fetchIndexPattern(model.index_pattern, indexPatterns), + ]); render( @@ -59,15 +66,16 @@ export const getTimeseriesVisRenderer: (deps: { data-test-subj="timeseriesVis" handlers={handlers} showNoResult={showNoResult} - error={get(config.visData, [config.visParams.id, 'error'])} + error={get(visData, [model.id, 'error'])} > diff --git a/src/plugins/vis_type_timeseries/server/lib/get_vis_data.ts b/src/plugins/vis_type_timeseries/server/lib/get_vis_data.ts index 817812a88ca98..bc4fbf9159a00 100644 --- a/src/plugins/vis_type_timeseries/server/lib/get_vis_data.ts +++ b/src/plugins/vis_type_timeseries/server/lib/get_vis_data.ts @@ -30,6 +30,7 @@ export async function getVisData( ): Promise { const uiSettings = requestContext.core.uiSettings.client; const esShardTimeout = await framework.getEsShardTimeout(); + const fieldFormatService = await framework.getFieldFormatsService(uiSettings); const indexPatternsService = await framework.getIndexPatternsService(requestContext); const esQueryConfig = await getEsQueryConfig(uiSettings); @@ -40,6 +41,7 @@ export async function getVisData( const services: VisTypeTimeseriesRequestServices = { esQueryConfig, esShardTimeout, + fieldFormatService, indexPatternsService, uiSettings, cachedIndexPatternFetcher, diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/get_series_data.ts b/src/plugins/vis_type_timeseries/server/lib/vis_data/get_series_data.ts index 8d495d68eb625..12fe95ccc50ca 100644 --- a/src/plugins/vis_type_timeseries/server/lib/vis_data/get_series_data.ts +++ b/src/plugins/vis_type_timeseries/server/lib/vis_data/get_series_data.ts @@ -27,13 +27,16 @@ export async function getSeriesData( panel: Panel, services: VisTypeTimeseriesRequestServices ) { - const panelIndex = await services.cachedIndexPatternFetcher(panel.index_pattern); + const { + cachedIndexPatternFetcher, + searchStrategyRegistry, + indexPatternsService, + fieldFormatService, + } = services; - const strategy = await services.searchStrategyRegistry.getViableStrategy( - requestContext, - req, - panelIndex - ); + const panelIndex = await cachedIndexPatternFetcher(panel.index_pattern); + + const strategy = await searchStrategyRegistry.getViableStrategy(requestContext, req, panelIndex); if (!strategy) { throw new Error( @@ -56,15 +59,22 @@ export async function getSeriesData( getSeriesRequestParams(req, panel, panelIndex, series, capabilities, services) ); - const searches = await Promise.all(bodiesPromises); - const data = await searchStrategy.search(requestContext, req, searches); - - const handleResponseBodyFn = handleResponseBody(panel, req, { - indexPatternsService: services.indexPatternsService, - cachedIndexPatternFetcher: services.cachedIndexPatternFetcher, + const fieldFetchServices = { + indexPatternsService, + cachedIndexPatternFetcher, searchStrategy, capabilities, - }); + }; + + const handleResponseBodyFn = handleResponseBody( + panel, + req, + fieldFetchServices, + fieldFormatService + ); + + const searches = await Promise.all(bodiesPromises); + const data = await searchStrategy.search(requestContext, req, searches); const series = await Promise.all( data.map( diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/format_label.ts b/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/format_label.ts new file mode 100644 index 0000000000000..7908cbccb9845 --- /dev/null +++ b/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/format_label.ts @@ -0,0 +1,55 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { KBN_FIELD_TYPES } from '@kbn/field-types'; +import { BUCKET_TYPES, PANEL_TYPES } from '../../../../../common/enums'; +import type { Panel, PanelData, Series } from '../../../../../common/types'; +import type { FieldFormatsRegistry } from '../../../../../../field_formats/common'; +import type { createFieldsFetcher } from '../../../search_strategies/lib/fields_fetcher'; +import type { CachedIndexPatternFetcher } from '../../../search_strategies/lib/cached_index_pattern_fetcher'; + +export function formatLabel( + resp: unknown, + panel: Panel, + series: Series, + meta: any, + extractFields: ReturnType, + fieldFormatService: FieldFormatsRegistry, + cachedIndexPatternFetcher: CachedIndexPatternFetcher +) { + return (next: (results: PanelData[]) => unknown) => async (results: PanelData[]) => { + const { terms_field: termsField, split_mode: splitMode } = series; + + const isKibanaIndexPattern = panel.use_kibana_indexes || panel.index_pattern === ''; + // no need to format labels for markdown as they also used there as variables keys + const shouldFormatLabels = + isKibanaIndexPattern && + termsField && + splitMode === BUCKET_TYPES.TERMS && + panel.type !== PANEL_TYPES.MARKDOWN; + + if (shouldFormatLabels) { + const { indexPattern } = await cachedIndexPatternFetcher({ id: meta.index }); + const getFieldFormatByName = (fieldName: string) => + fieldFormatService.deserialize(indexPattern?.fieldFormatMap?.[fieldName]); + + results + .filter(({ seriesId }) => series.id === seriesId) + .forEach((item) => { + const formattedLabel = getFieldFormatByName(termsField!).convert(item.label); + item.label = formattedLabel; + const termsFieldType = indexPattern?.fields.find(({ name }) => name === termsField)?.type; + if (termsFieldType === KBN_FIELD_TYPES.DATE) { + item.labelFormatted = formattedLabel; + } + }); + } + + return next(results); + }; +} diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/index.js b/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/index.js index 71c3bdf5e5c23..68385bb5cbbe4 100644 --- a/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/index.js +++ b/src/plugins/vis_type_timeseries/server/lib/vis_data/response_processors/series/index.js @@ -17,6 +17,7 @@ import { stdSibling } from './std_sibling'; import { timeShift } from './time_shift'; import { dropLastBucket } from './drop_last_bucket'; import { mathAgg } from './math'; +import { formatLabel } from './format_label'; export const processors = [ percentile, @@ -29,4 +30,5 @@ export const processors = [ seriesAgg, timeShift, dropLastBucket, + formatLabel, ]; diff --git a/src/plugins/vis_type_timeseries/server/lib/vis_data/series/handle_response_body.ts b/src/plugins/vis_type_timeseries/server/lib/vis_data/series/handle_response_body.ts index 6642fd8f5d79e..78e9f971a61dd 100644 --- a/src/plugins/vis_type_timeseries/server/lib/vis_data/series/handle_response_body.ts +++ b/src/plugins/vis_type_timeseries/server/lib/vis_data/series/handle_response_body.ts @@ -17,11 +17,13 @@ import { FieldsFetcherServices, } from '../../search_strategies/lib/fields_fetcher'; import { VisTypeTimeseriesVisDataRequest } from '../../../types'; +import type { FieldFormatsRegistry } from '../../../../../field_formats/common'; export function handleResponseBody( panel: Panel, req: VisTypeTimeseriesVisDataRequest, - services: FieldsFetcherServices + services: FieldsFetcherServices, + fieldFormatService: FieldFormatsRegistry ) { return async (resp: any) => { if (resp.error) { @@ -55,7 +57,9 @@ export function handleResponseBody( panel, series, meta, - extractFields + extractFields, + fieldFormatService, + services.cachedIndexPatternFetcher ); return await processor([]); diff --git a/src/plugins/vis_type_timeseries/server/plugin.ts b/src/plugins/vis_type_timeseries/server/plugin.ts index 58cd58c812e4d..d2ecb07c0273d 100644 --- a/src/plugins/vis_type_timeseries/server/plugin.ts +++ b/src/plugins/vis_type_timeseries/server/plugin.ts @@ -13,6 +13,7 @@ import { Plugin, Logger, KibanaRequest, + IUiSettingsClient, } from 'src/core/server'; import { Observable } from 'rxjs'; import { Server } from '@hapi/hapi'; @@ -29,6 +30,7 @@ import type { VisTypeTimeseriesRequestHandlerContext, VisTypeTimeseriesVisDataRequest, } from './types'; +import type { FieldFormatsRegistry } from '../../field_formats/common'; import { SearchStrategyRegistry, @@ -70,6 +72,7 @@ export interface Framework { getIndexPatternsService: ( requestContext: VisTypeTimeseriesRequestHandlerContext ) => Promise; + getFieldFormatsService: (uiSettings: IUiSettingsClient) => Promise; getEsShardTimeout: () => Promise; } @@ -111,6 +114,11 @@ export class VisTypeTimeseriesPlugin implements Plugin { requestContext.core.elasticsearch.client.asCurrentUser ); }, + getFieldFormatsService: async (uiSettings) => { + const [, { data }] = await core.getStartServices(); + + return data.fieldFormats.fieldFormatServiceFactory(uiSettings); + }, }; searchStrategyRegistry.addStrategy(new DefaultSearchStrategy()); diff --git a/src/plugins/vis_type_timeseries/server/types.ts b/src/plugins/vis_type_timeseries/server/types.ts index 11131f33e4a1c..40ced72933012 100644 --- a/src/plugins/vis_type_timeseries/server/types.ts +++ b/src/plugins/vis_type_timeseries/server/types.ts @@ -11,6 +11,7 @@ import { EsQueryConfig } from '@kbn/es-query'; import { SharedGlobalConfig } from 'kibana/server'; import type { IRouter, IUiSettingsClient, KibanaRequest } from 'src/core/server'; import type { DataRequestHandlerContext, IndexPatternsService } from '../../data/server'; +import type { FieldFormatsRegistry } from '../../field_formats/common'; import type { Series, VisPayload } from '../common/types'; import type { SearchStrategyRegistry } from './lib/search_strategies'; import type { CachedIndexPatternFetcher } from './lib/search_strategies/lib/cached_index_pattern_fetcher'; @@ -33,6 +34,7 @@ export interface VisTypeTimeseriesRequestServices { indexPatternsService: IndexPatternsService; searchStrategyRegistry: SearchStrategyRegistry; cachedIndexPatternFetcher: CachedIndexPatternFetcher; + fieldFormatService: FieldFormatsRegistry; buildSeriesMetaParams: ( index: FetchedIndexPattern, useKibanaIndexes: boolean, diff --git a/src/plugins/vis_types/metric/jest.config.js b/src/plugins/vis_types/metric/jest.config.js index a84929a3805b8..e6de1dd63b34d 100644 --- a/src/plugins/vis_types/metric/jest.config.js +++ b/src/plugins/vis_types/metric/jest.config.js @@ -10,4 +10,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../..', roots: ['/src/plugins/vis_types/metric'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/vis_types/metric', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/src/plugins/vis_types/metric/{public,server}/**/*.{ts,tsx}'], }; diff --git a/src/plugins/vis_types/pie/jest.config.js b/src/plugins/vis_types/pie/jest.config.js index 505ea97f489f7..d9afd1d718c85 100644 --- a/src/plugins/vis_types/pie/jest.config.js +++ b/src/plugins/vis_types/pie/jest.config.js @@ -10,4 +10,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../..', roots: ['/src/plugins/vis_types/pie'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/vis_types/pie', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/src/plugins/vis_types/pie/{common,public,server}/**/*.{ts,tsx}'], }; diff --git a/src/plugins/vis_types/tagcloud/jest.config.js b/src/plugins/vis_types/tagcloud/jest.config.js index 20dfd8ad0d11c..9785690d5e8b4 100644 --- a/src/plugins/vis_types/tagcloud/jest.config.js +++ b/src/plugins/vis_types/tagcloud/jest.config.js @@ -11,4 +11,7 @@ module.exports = { rootDir: '../../../..', roots: ['/src/plugins/vis_types/tagcloud'], testRunner: 'jasmine2', + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/vis_types/tagcloud', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/src/plugins/vis_types/tagcloud/{public,server}/**/*.{ts,tsx}'], }; diff --git a/src/plugins/vis_types/vega/jest.config.js b/src/plugins/vis_types/vega/jest.config.js index d7e1653e891a5..33c2d8e7aa1ed 100644 --- a/src/plugins/vis_types/vega/jest.config.js +++ b/src/plugins/vis_types/vega/jest.config.js @@ -10,4 +10,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../..', roots: ['/src/plugins/vis_types/vega'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/vis_types/vega', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/src/plugins/vis_types/vega/{public,server}/**/*.{js,ts,tsx}'], }; diff --git a/src/plugins/vis_types/vislib/jest.config.js b/src/plugins/vis_types/vislib/jest.config.js index 6b6d7c3361ecf..cc80a320765d8 100644 --- a/src/plugins/vis_types/vislib/jest.config.js +++ b/src/plugins/vis_types/vislib/jest.config.js @@ -10,4 +10,9 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../..', roots: ['/src/plugins/vis_types/vislib'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/vis_types/vislib', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/plugins/vis_types/vislib/{common,public,server}/**/*.{js,ts,tsx}', + ], }; diff --git a/src/plugins/vis_types/vislib/public/area.ts b/src/plugins/vis_types/vislib/public/area.ts deleted file mode 100644 index f4ac79e12bbe2..0000000000000 --- a/src/plugins/vis_types/vislib/public/area.ts +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { xyVisTypes } from '../../xy/public'; -import { VisTypeDefinition } from '../../../visualizations/public'; - -import { toExpressionAst } from './to_ast'; -import { BasicVislibParams } from './types'; - -export const areaVisTypeDefinition = { - ...xyVisTypes.area(), - toExpressionAst, -} as VisTypeDefinition; diff --git a/src/plugins/vis_types/vislib/public/fixtures/dispatch_bar_chart_config_normal.json b/src/plugins/vis_types/vislib/public/fixtures/dispatch_bar_chart_config_normal.json deleted file mode 100644 index a72cebcfdf2c8..0000000000000 --- a/src/plugins/vis_types/vislib/public/fixtures/dispatch_bar_chart_config_normal.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "seriesParams": [ - { - "data": { - "id": "1", - "label": "Count" - }, - "drawLinesBetweenPoints": true, - "interpolate": "cardinal", - "mode": "stacked", - "show": "true", - "showCircles": true, - "type": "histogram", - "valueAxis": "ValueAxis-1" - } - ], - "valueAxes": [ - { - "id": "ValueAxis-1", - "name": "LeftAxis-1", - "position": "left", - "scale": { - "type": "linear", - "mode": "normal" - }, - "show": true, - "style": {}, - "type": "value" - } - ] -} \ No newline at end of file diff --git a/src/plugins/vis_types/vislib/public/fixtures/dispatch_bar_chart_config_percentage.json b/src/plugins/vis_types/vislib/public/fixtures/dispatch_bar_chart_config_percentage.json deleted file mode 100644 index 1fb4bc89bf4e9..0000000000000 --- a/src/plugins/vis_types/vislib/public/fixtures/dispatch_bar_chart_config_percentage.json +++ /dev/null @@ -1,40 +0,0 @@ -{ - "seriesParams": [ - { - "data": { - "id": "1", - "label": "Count" - }, - "drawLinesBetweenPoints": true, - "interpolate": "cardinal", - "mode": "stacked", - "show": "true", - "showCircles": true, - "type": "histogram", - "valueAxis": "ValueAxis-1" - } - ], - "valueAxes": [ - { - "id": "ValueAxis-1", - "labels": { - "show": true, - "rotate": 0, - "filter": false, - "truncate": 100 - }, - "name": "LeftAxis-1", - "position": "left", - "scale": { - "type": "linear", - "mode": "percentage" - }, - "show": true, - "style": {}, - "title": { - "text": "Count" - }, - "type": "value" - } - ] -} \ No newline at end of file diff --git a/src/plugins/vis_types/vislib/public/fixtures/dispatch_bar_chart_d3.json b/src/plugins/vis_types/vislib/public/fixtures/dispatch_bar_chart_d3.json deleted file mode 100644 index f614ab64d7b34..0000000000000 --- a/src/plugins/vis_types/vislib/public/fixtures/dispatch_bar_chart_d3.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "series": [ - { - "id": "1", - "rawId": "Late Aircraft Delay-col-2-1", - "label": "Late Aircraft Delay" - }, - { - "id": "1", - "rawId": "No Delay-col-2-1", - "label": "No Delay" - }, - { - "id": "1", - "rawId": "NAS Delay-col-2-1", - "label": "NAS Delay" - } - ] -} \ No newline at end of file diff --git a/src/plugins/vis_types/vislib/public/fixtures/dispatch_bar_chart_data_point.json b/src/plugins/vis_types/vislib/public/fixtures/dispatch_bar_chart_data_point.json deleted file mode 100644 index 19bb7b30d6e6a..0000000000000 --- a/src/plugins/vis_types/vislib/public/fixtures/dispatch_bar_chart_data_point.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "parent": { - "accessor": "col-1-3", - "column": 1, - "params": {} - }, - "series": "No Delay", - "seriesId": "No Delay-col-2-1" -} \ No newline at end of file diff --git a/src/plugins/vis_types/vislib/public/histogram.ts b/src/plugins/vis_types/vislib/public/histogram.ts deleted file mode 100644 index bb4f570c6a2d8..0000000000000 --- a/src/plugins/vis_types/vislib/public/histogram.ts +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { xyVisTypes } from '../../xy/public'; -import { VisTypeDefinition } from '../../../visualizations/public'; - -import { toExpressionAst } from './to_ast'; -import { BasicVislibParams } from './types'; - -export const histogramVisTypeDefinition = { - ...xyVisTypes.histogram(), - toExpressionAst, -} as VisTypeDefinition; diff --git a/src/plugins/vis_types/vislib/public/horizontal_bar.ts b/src/plugins/vis_types/vislib/public/horizontal_bar.ts deleted file mode 100644 index 37aa79a0b1aee..0000000000000 --- a/src/plugins/vis_types/vislib/public/horizontal_bar.ts +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { xyVisTypes } from '../../xy/public'; -import { VisTypeDefinition } from '../../../visualizations/public'; - -import { toExpressionAst } from './to_ast'; -import { BasicVislibParams } from './types'; - -export const horizontalBarVisTypeDefinition = { - ...xyVisTypes.horizontalBar(), - toExpressionAst, -} as VisTypeDefinition; diff --git a/src/plugins/vis_types/vislib/public/line.ts b/src/plugins/vis_types/vislib/public/line.ts deleted file mode 100644 index 0f33c393e0643..0000000000000 --- a/src/plugins/vis_types/vislib/public/line.ts +++ /dev/null @@ -1,18 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { xyVisTypes } from '../../xy/public'; -import { VisTypeDefinition } from '../../../visualizations/public'; - -import { toExpressionAst } from './to_ast'; -import { BasicVislibParams } from './types'; - -export const lineVisTypeDefinition = { - ...xyVisTypes.line(), - toExpressionAst, -} as VisTypeDefinition; diff --git a/src/plugins/vis_types/vislib/public/plugin.ts b/src/plugins/vis_types/vislib/public/plugin.ts index 24ba7741cab91..b0385475f7105 100644 --- a/src/plugins/vis_types/vislib/public/plugin.ts +++ b/src/plugins/vis_types/vislib/public/plugin.ts @@ -13,16 +13,11 @@ import { VisualizationsSetup } from '../../../visualizations/public'; import { ChartsPluginSetup } from '../../../charts/public'; import { DataPublicPluginStart } from '../../../data/public'; import { KibanaLegacyStart } from '../../../kibana_legacy/public'; -import { LEGACY_CHARTS_LIBRARY } from '../../xy/common/index'; import { LEGACY_PIE_CHARTS_LIBRARY } from '../../pie/common/index'; import { createVisTypeVislibVisFn } from './vis_type_vislib_vis_fn'; import { createPieVisFn } from './pie_fn'; -import { - convertedTypeDefinitions, - pieVisTypeDefinition, - visLibVisTypeDefinitions, -} from './vis_type_vislib_vis_types'; +import { visLibVisTypeDefinitions, pieVisTypeDefinition } from './vis_type_vislib_vis_types'; import { setFormatService, setDataActions } from './services'; import { getVislibVisRenderer } from './vis_renderer'; @@ -51,11 +46,8 @@ export class VisTypeVislibPlugin core: VisTypeVislibCoreSetup, { expressions, visualizations, charts }: VisTypeVislibPluginSetupDependencies ) { - const typeDefinitions = !core.uiSettings.get(LEGACY_CHARTS_LIBRARY, false) - ? convertedTypeDefinitions - : visLibVisTypeDefinitions; // register vislib XY axis charts - typeDefinitions.forEach(visualizations.createBaseVisualization); + visLibVisTypeDefinitions.forEach(visualizations.createBaseVisualization); expressions.registerRenderer(getVislibVisRenderer(core, charts)); expressions.registerFunction(createVisTypeVislibVisFn()); diff --git a/src/plugins/vis_types/vislib/public/types.ts b/src/plugins/vis_types/vislib/public/types.ts index 5196f0e33f404..9184e2a4c884c 100644 --- a/src/plugins/vis_types/vislib/public/types.ts +++ b/src/plugins/vis_types/vislib/public/types.ts @@ -37,12 +37,7 @@ export const GaugeType = Object.freeze({ export type GaugeType = $Values; export const VislibChartType = Object.freeze({ - Histogram: 'histogram' as const, - HorizontalBar: 'horizontal_bar' as const, - Line: 'line' as const, Pie: 'pie' as const, - Area: 'area' as const, - PointSeries: 'point_series' as const, Heatmap: 'heatmap' as const, Gauge: 'gauge' as const, Goal: 'goal' as const, diff --git a/src/plugins/vis_types/vislib/public/vis_type_vislib_vis_types.ts b/src/plugins/vis_types/vislib/public/vis_type_vislib_vis_types.ts index 325c9256d7184..6ecb63ca31b37 100644 --- a/src/plugins/vis_types/vislib/public/vis_type_vislib_vis_types.ts +++ b/src/plugins/vis_types/vislib/public/vis_type_vislib_vis_types.ts @@ -7,27 +7,13 @@ */ import { VisTypeDefinition } from 'src/plugins/visualizations/public'; -import { histogramVisTypeDefinition } from './histogram'; -import { lineVisTypeDefinition } from './line'; -import { areaVisTypeDefinition } from './area'; import { heatmapVisTypeDefinition } from './heatmap'; -import { horizontalBarVisTypeDefinition } from './horizontal_bar'; import { gaugeVisTypeDefinition } from './gauge'; import { goalVisTypeDefinition } from './goal'; export { pieVisTypeDefinition } from './pie'; export const visLibVisTypeDefinitions: Array> = [ - histogramVisTypeDefinition, - lineVisTypeDefinition, - areaVisTypeDefinition, - heatmapVisTypeDefinition, - horizontalBarVisTypeDefinition, - gaugeVisTypeDefinition, - goalVisTypeDefinition, -]; - -export const convertedTypeDefinitions: Array> = [ heatmapVisTypeDefinition, gaugeVisTypeDefinition, goalVisTypeDefinition, diff --git a/src/plugins/vis_types/vislib/public/vislib/VISLIB.md b/src/plugins/vis_types/vislib/public/vislib/VISLIB.md index 05ca9a51b19eb..1f17228dda7ab 100644 --- a/src/plugins/vis_types/vislib/public/vislib/VISLIB.md +++ b/src/plugins/vis_types/vislib/public/vislib/VISLIB.md @@ -1,4 +1,8 @@ -# Vislib general overview +# Charts supported + +Vislib supports the heatmap and gauge/goal charts from the aggregation-based visualizations. It also contains the legacy implemementation of the pie chart (enabled by the visualization:visualize:legacyPieChartsLibrary advanced setting). + +# General overview `vis.js` constructor accepts vis parameters and render method accepts data. it exposes event emitter interface so we can listen to certain events like 'renderComplete'. @@ -18,7 +22,4 @@ All base visualizations extend from `visualizations/_chart` ### Point series chart -`visualizations/point_series` takes care of drawing the point series chart (no axes or titles, just the chart itself). It creates all the series defined and calls render method on them. - -currently there are 3 series types available (line, area, bars), they all extend from `visualizations/point_series/_point_series`. - +`visualizations/point_series` takes care of drawing the point series chart (no axes or titles, just the chart itself). It creates all the series defined and calls render method on them. \ No newline at end of file diff --git a/src/plugins/vis_types/vislib/public/vislib/_index.scss b/src/plugins/vis_types/vislib/public/vislib/_index.scss index 78e16224a67a3..00b22df06f10d 100644 --- a/src/plugins/vis_types/vislib/public/vislib/_index.scss +++ b/src/plugins/vis_types/vislib/public/vislib/_index.scss @@ -5,5 +5,4 @@ @import './components/tooltip/index'; @import './components/legend/index'; -@import './visualizations/point_series/index'; @import './visualizations/gauges/index'; diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/axis/axis.test.js b/src/plugins/vis_types/vislib/public/vislib/lib/axis/axis.test.js index f8dcf8edc6bee..ef4f08cac35f6 100644 --- a/src/plugins/vis_types/vislib/public/vislib/lib/axis/axis.test.js +++ b/src/plugins/vis_types/vislib/public/vislib/lib/axis/axis.test.js @@ -96,7 +96,7 @@ describe('Vislib Axis Class Test Suite', function () { const visConfig = new VisConfig( { - type: 'histogram', + type: 'heatmap', }, data, mockUiState, diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/axis/axis_title.test.js b/src/plugins/vis_types/vislib/public/vislib/lib/axis/axis_title.test.js index 90e5a4ee6defb..b5a158e173b0d 100644 --- a/src/plugins/vis_types/vislib/public/vislib/lib/axis/axis_title.test.js +++ b/src/plugins/vis_types/vislib/public/vislib/lib/axis/axis_title.test.js @@ -103,7 +103,7 @@ describe('Vislib AxisTitle Class Test Suite', function () { dataObj = new Data(data, getMockUiState(), () => undefined); visConfig = new VisConfig( { - type: 'histogram', + type: 'heatmap', }, data, getMockUiState(), diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/axis/x_axis.test.js b/src/plugins/vis_types/vislib/public/vislib/lib/axis/x_axis.test.js index 5b2ff31727074..1ded9e48fcfd3 100644 --- a/src/plugins/vis_types/vislib/public/vislib/lib/axis/x_axis.test.js +++ b/src/plugins/vis_types/vislib/public/vislib/lib/axis/x_axis.test.js @@ -101,7 +101,7 @@ describe('Vislib xAxis Class Test Suite', function () { const visConfig = new VisConfig( { - type: 'histogram', + type: 'heatmap', }, data, mockUiState, diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/axis/y_axis.test.js b/src/plugins/vis_types/vislib/public/vislib/lib/axis/y_axis.test.js index c69a029fca18c..5bbfde01197e5 100644 --- a/src/plugins/vis_types/vislib/public/vislib/lib/axis/y_axis.test.js +++ b/src/plugins/vis_types/vislib/public/vislib/lib/axis/y_axis.test.js @@ -81,7 +81,7 @@ function createData(seriesData) { buildYAxis = function (params) { const visConfig = new VisConfig( { - type: 'histogram', + type: 'heatmap', }, data, mockUiState, diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/chart_title.test.js b/src/plugins/vis_types/vislib/public/vislib/lib/chart_title.test.js index 291b2da81b8ce..54b326a292845 100644 --- a/src/plugins/vis_types/vislib/public/vislib/lib/chart_title.test.js +++ b/src/plugins/vis_types/vislib/public/vislib/lib/chart_title.test.js @@ -99,7 +99,7 @@ describe('Vislib ChartTitle Class Test Suite', function () { const visConfig = new VisConfig( { - type: 'histogram', + type: 'heatmap', title: { text: 'rows', }, diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/dispatch.test.js b/src/plugins/vis_types/vislib/public/vislib/lib/dispatch.test.js index dfc36a364e7ad..21a3dc069d8c6 100644 --- a/src/plugins/vis_types/vislib/public/vislib/lib/dispatch.test.js +++ b/src/plugins/vis_types/vislib/public/vislib/lib/dispatch.test.js @@ -8,6 +8,7 @@ import _ from 'lodash'; import d3 from 'd3'; +import $ from 'jquery'; import { setHTMLElementClientSizes, setSVGElementGetBBox, @@ -23,6 +24,7 @@ import { getVis } from '../visualizations/_vis_fixture'; let mockedHTMLElementClientSizes; let mockedSVGElementGetBBox; let mockedSVGElementGetComputedTextLength; +let mockWidth; describe('Vislib Dispatch Class Test Suite', function () { function destroyVis(vis) { @@ -37,22 +39,43 @@ describe('Vislib Dispatch Class Test Suite', function () { mockedHTMLElementClientSizes = setHTMLElementClientSizes(512, 512); mockedSVGElementGetBBox = setSVGElementGetBBox(100); mockedSVGElementGetComputedTextLength = setSVGElementGetComputedTextLength(100); + mockWidth = jest.spyOn($.prototype, 'width').mockReturnValue(900); }); afterAll(() => { mockedHTMLElementClientSizes.mockRestore(); mockedSVGElementGetBBox.mockRestore(); mockedSVGElementGetComputedTextLength.mockRestore(); + mockWidth.mockRestore(); }); describe('', function () { let vis; let mockUiState; - beforeEach(() => { - vis = getVis(); + const vislibParams = { + type: 'heatmap', + addLegend: true, + addTooltip: true, + colorsNumber: 4, + colorSchema: 'Greens', + setColorRange: false, + percentageMode: true, + percentageFormatPattern: '0.0%', + invertColors: false, + colorsRange: [], + }; + + function generateVis(opts = {}) { + const config = _.defaultsDeep({}, opts, vislibParams); + vis = getVis(config); mockUiState = getMockUiState(); + vis.on('brush', _.noop); vis.render(data, mockUiState); + } + + beforeEach(() => { + generateVis(); }); afterEach(function () { @@ -74,11 +97,29 @@ describe('Vislib Dispatch Class Test Suite', function () { let vis; let mockUiState; - beforeEach(() => { + const vislibParams = { + type: 'heatmap', + addLegend: true, + addTooltip: true, + colorsNumber: 4, + colorSchema: 'Greens', + setColorRange: false, + percentageMode: true, + percentageFormatPattern: '0.0%', + invertColors: false, + colorsRange: [], + }; + + function generateVis(opts = {}) { + const config = _.defaultsDeep({}, opts, vislibParams); + vis = getVis(config); mockUiState = getMockUiState(); - vis = getVis(); vis.on('brush', _.noop); vis.render(data, mockUiState); + } + + beforeEach(() => { + generateVis(); }); afterEach(function () { @@ -183,9 +224,22 @@ describe('Vislib Dispatch Class Test Suite', function () { }); describe('Custom event handlers', function () { + const vislibParams = { + type: 'heatmap', + addLegend: true, + addTooltip: true, + colorsNumber: 4, + colorSchema: 'Greens', + setColorRange: false, + percentageMode: true, + percentageFormatPattern: '0.0%', + invertColors: false, + colorsRange: [], + }; + const config = _.defaultsDeep({}, vislibParams); + const vis = getVis(config); + const mockUiState = getMockUiState(); test('should attach whatever gets passed on vis.on() to chart.events', function (done) { - const vis = getVis(); - const mockUiState = getMockUiState(); vis.on('someEvent', _.noop); vis.render(data, mockUiState); @@ -198,8 +252,6 @@ describe('Vislib Dispatch Class Test Suite', function () { }); test('can be added after rendering', function () { - const vis = getVis(); - const mockUiState = getMockUiState(); vis.render(data, mockUiState); vis.on('someEvent', _.noop); diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/dispatch_vertical_bar_chart.test.js b/src/plugins/vis_types/vislib/public/vislib/lib/dispatch_vertical_bar_chart.test.js deleted file mode 100644 index 0374f082f1676..0000000000000 --- a/src/plugins/vis_types/vislib/public/vislib/lib/dispatch_vertical_bar_chart.test.js +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import mockDispatchDataD3 from '../../fixtures/dispatch_bar_chart_d3.json'; -import { Dispatch } from './dispatch'; -import mockdataPoint from '../../fixtures/dispatch_bar_chart_data_point.json'; -import mockConfigPercentage from '../../fixtures/dispatch_bar_chart_config_percentage.json'; -import mockConfigNormal from '../../fixtures/dispatch_bar_chart_config_normal.json'; - -jest.mock('d3', () => ({ - event: { - target: { - nearestViewportElement: { - __data__: mockDispatchDataD3, - }, - }, - }, -})); - -function getHandlerMock(config = {}, data = {}) { - return { - visConfig: { get: (id, fallback) => config[id] || fallback }, - data, - }; -} - -describe('Vislib event responses dispatcher', () => { - test('return data for a vertical bars popover in percentage mode', () => { - const dataPoint = mockdataPoint; - const handlerMock = getHandlerMock(mockConfigPercentage); - const dispatch = new Dispatch(handlerMock); - const actual = dispatch.eventResponse(dataPoint, 0); - expect(actual.isPercentageMode).toBeTruthy(); - }); - - test('return data for a vertical bars popover in normal mode', () => { - const dataPoint = mockdataPoint; - const handlerMock = getHandlerMock(mockConfigNormal); - const dispatch = new Dispatch(handlerMock); - const actual = dispatch.eventResponse(dataPoint, 0); - expect(actual.isPercentageMode).toBeFalsy(); - }); -}); diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/handler.test.js b/src/plugins/vis_types/vislib/public/vislib/lib/handler.test.js index 326a29f3690bc..60ffaf3f3d19c 100644 --- a/src/plugins/vis_types/vislib/public/vislib/lib/handler.test.js +++ b/src/plugins/vis_types/vislib/public/vislib/lib/handler.test.js @@ -5,7 +5,7 @@ * in compliance with, at your election, the Elastic License 2.0 or the Server * Side Public License, v 1. */ - +import _ from 'lodash'; import $ from 'jquery'; import { setHTMLElementClientSizes, @@ -26,6 +26,7 @@ const names = ['series', 'columns', 'rows', 'stackedSeries']; let mockedHTMLElementClientSizes; let mockedSVGElementGetBBox; let mockedSVGElementGetComputedTextLength; +let mockWidth; dateHistogramArray.forEach(function (data, i) { describe('Vislib Handler Test Suite for ' + names[i] + ' Data', function () { @@ -36,10 +37,24 @@ dateHistogramArray.forEach(function (data, i) { mockedHTMLElementClientSizes = setHTMLElementClientSizes(512, 512); mockedSVGElementGetBBox = setSVGElementGetBBox(100); mockedSVGElementGetComputedTextLength = setSVGElementGetComputedTextLength(100); + mockWidth = jest.spyOn($.prototype, 'width').mockReturnValue(900); }); beforeEach(() => { - vis = getVis(); + const vislibParams = { + type: 'heatmap', + addLegend: true, + addTooltip: true, + colorsNumber: 4, + colorSchema: 'Greens', + setColorRange: false, + percentageMode: true, + percentageFormatPattern: '0.0%', + invertColors: false, + colorsRange: [], + }; + const config = _.defaultsDeep({}, vislibParams); + vis = getVis(config); vis.render(data, getMockUiState()); }); @@ -51,6 +66,7 @@ dateHistogramArray.forEach(function (data, i) { mockedHTMLElementClientSizes.mockRestore(); mockedSVGElementGetBBox.mockRestore(); mockedSVGElementGetComputedTextLength.mockRestore(); + mockWidth.mockRestore(); }); describe('render Method', function () { diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/layout/_layout.scss b/src/plugins/vis_types/vislib/public/vislib/lib/layout/_layout.scss index a6896a9181b4e..7ead0b314c7ad 100644 --- a/src/plugins/vis_types/vislib/public/vislib/lib/layout/_layout.scss +++ b/src/plugins/vis_types/vislib/public/vislib/lib/layout/_layout.scss @@ -187,10 +187,6 @@ fill: $visHoverBackgroundColor; } - .visAreaChart__overlapArea { - opacity: .8; - } - .series > path, .series > rect { stroke-opacity: 1; diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/layout/layout.test.js b/src/plugins/vis_types/vislib/public/vislib/lib/layout/layout.test.js index f4ea2d3898d25..af59f011515d0 100644 --- a/src/plugins/vis_types/vislib/public/vislib/lib/layout/layout.test.js +++ b/src/plugins/vis_types/vislib/public/vislib/lib/layout/layout.test.js @@ -5,7 +5,7 @@ * in compliance with, at your election, the Elastic License 2.0 or the Server * Side Public License, v 1. */ - +import _ from 'lodash'; import d3 from 'd3'; import $ from 'jquery'; import { @@ -30,6 +30,7 @@ const names = ['series', 'columns', 'rows', 'stackedSeries']; let mockedHTMLElementClientSizes; let mockedSVGElementGetBBox; let mockedSVGElementGetComputedTextLength; +let mockWidth; dateHistogramArray.forEach(function (data, i) { describe('Vislib Layout Class Test Suite for ' + names[i] + ' Data', function () { @@ -42,10 +43,24 @@ dateHistogramArray.forEach(function (data, i) { mockedHTMLElementClientSizes = setHTMLElementClientSizes(512, 512); mockedSVGElementGetBBox = setSVGElementGetBBox(100); mockedSVGElementGetComputedTextLength = setSVGElementGetComputedTextLength(100); + mockWidth = jest.spyOn($.prototype, 'width').mockReturnValue(900); }); beforeEach(() => { - vis = getVis(); + const vislibParams = { + type: 'heatmap', + addLegend: true, + addTooltip: true, + colorsNumber: 4, + colorSchema: 'Greens', + setColorRange: false, + percentageMode: true, + percentageFormatPattern: '0.0%', + invertColors: false, + colorsRange: [], + }; + const config = _.defaultsDeep({}, vislibParams); + vis = getVis(config); mockUiState = getMockUiState(); vis.render(data, mockUiState); numberOfCharts = vis.handler.charts.length; @@ -59,6 +74,7 @@ dateHistogramArray.forEach(function (data, i) { mockedHTMLElementClientSizes.mockRestore(); mockedSVGElementGetBBox.mockRestore(); mockedSVGElementGetComputedTextLength.mockRestore(); + mockWidth.mockRestore(); }); describe('createLayout Method', function () { @@ -81,7 +97,7 @@ dateHistogramArray.forEach(function (data, i) { beforeEach(function () { const visConfig = new VisConfig( { - type: 'histogram', + type: 'heatmap', }, data, mockUiState, @@ -125,7 +141,7 @@ dateHistogramArray.forEach(function (data, i) { expect(function () { testLayout.layout({ - parent: 'histogram', + parent: 'heatmap', type: 'div', }); }).toThrowError(); diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/types/index.js b/src/plugins/vis_types/vislib/public/vislib/lib/types/index.js index dcfff3618ab91..4a9dd0bd512ca 100644 --- a/src/plugins/vis_types/vislib/public/vislib/lib/types/index.js +++ b/src/plugins/vis_types/vislib/public/vislib/lib/types/index.js @@ -11,12 +11,7 @@ import { vislibPieConfig } from './pie'; import { vislibGaugeConfig } from './gauge'; export const vislibTypesConfig = { - histogram: pointSeries.column, - horizontal_bar: pointSeries.column, - line: pointSeries.line, pie: vislibPieConfig, - area: pointSeries.area, - point_series: pointSeries.line, heatmap: pointSeries.heatmap, gauge: vislibGaugeConfig, goal: vislibGaugeConfig, diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/types/point_series.js b/src/plugins/vis_types/vislib/public/vislib/lib/types/point_series.js index 9753cbb78ea5c..2328a09205dd6 100644 --- a/src/plugins/vis_types/vislib/public/vislib/lib/types/point_series.js +++ b/src/plugins/vis_types/vislib/public/vislib/lib/types/point_series.js @@ -193,41 +193,6 @@ function create(opts) { } export const vislibPointSeriesTypes = { - line: create(), - - column: create({ - expandLastBucket: true, - }), - - area: create({ - alerts: [ - { - type: 'warning', - msg: - 'Positive and negative values are not accurately represented by stacked ' + - 'area charts. Either changing the chart mode to "overlap" or using a ' + - 'bar chart is recommended.', - test: function (_, data) { - if (!data.shouldBeStacked() || data.maxNumberOfSeries() < 2) return; - - const hasPos = data.getYMax(data._getY) > 0; - const hasNeg = data.getYMin(data._getY) < 0; - return hasPos && hasNeg; - }, - }, - { - type: 'warning', - msg: - 'Parts of or the entire area chart might not be displayed due to null ' + - 'values in the data. A line chart is recommended when displaying data ' + - 'with null values.', - test: function (_, data) { - return data.hasNullValues(); - }, - }, - ], - }), - heatmap: (cfg, data) => { const defaults = create()(cfg, data); const hasCharts = defaults.charts.length; diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/types/point_series.test.js b/src/plugins/vis_types/vislib/public/vislib/lib/types/point_series.test.js index aa2fe39c34ec3..c0764e6a39ed6 100644 --- a/src/plugins/vis_types/vislib/public/vislib/lib/types/point_series.test.js +++ b/src/plugins/vis_types/vislib/public/vislib/lib/types/point_series.test.js @@ -8,10 +8,6 @@ import stackedSeries from '../../../fixtures/mock_data/date_histogram/_stacked_series'; import { vislibPointSeriesTypes } from './point_series'; -import percentileTestdata from './testdata_linechart_percentile.json'; -import percentileTestdataResult from './testdata_linechart_percentile_result.json'; -import percentileTestdataFloatValue from './testdata_linechart_percentile_float_value.json'; -import percentileTestdataFloatValueResult from './testdata_linechart_percentile_float_value_result.json'; const maxBucketData = { get: (prop) => { @@ -84,7 +80,7 @@ describe('vislibPointSeriesTypes', () => { describe('axis formatters', () => { it('should create a value axis config with the default y axis formatter', () => { - const parsedConfig = vislibPointSeriesTypes.line({}, maxBucketData); + const parsedConfig = vislibPointSeriesTypes.heatmap({}, maxBucketData); expect(parsedConfig.valueAxes.length).toEqual(1); expect(parsedConfig.valueAxes[0].labels.axisFormatter).toBe( maxBucketData.data.yAxisFormatter @@ -95,7 +91,7 @@ describe('vislibPointSeriesTypes', () => { const axisFormatter1 = jest.fn(); const axisFormatter2 = jest.fn(); const axisFormatter3 = jest.fn(); - const parsedConfig = vislibPointSeriesTypes.line( + const parsedConfig = vislibPointSeriesTypes.heatmap( { valueAxes: [ { @@ -166,67 +162,3 @@ describe('vislibPointSeriesTypes', () => { }); }); }); - -describe('Point Series Config Type Class Test Suite', function () { - let parsedConfig; - const histogramConfig = { - type: 'histogram', - addLegend: true, - tooltip: { - show: true, - }, - categoryAxes: [ - { - id: 'CategoryAxis-1', - type: 'category', - title: {}, - }, - ], - valueAxes: [ - { - id: 'ValueAxis-1', - type: 'value', - labels: {}, - title: {}, - }, - ], - }; - - describe('histogram chart', function () { - beforeEach(function () { - parsedConfig = vislibPointSeriesTypes.column(histogramConfig, maxBucketData); - }); - it('should not throw an error when more than 25 series are provided', function () { - expect(parsedConfig.error).toBeUndefined(); - }); - - it('should set axis title and formatter from data', () => { - expect(parsedConfig.categoryAxes[0].title.text).toEqual(maxBucketData.data.xAxisLabel); - expect(parsedConfig.valueAxes[0].labels.axisFormatter).toBeDefined(); - }); - }); - - describe('line chart', function () { - function prepareData({ cfg, data }) { - const percentileDataObj = { - get: (prop) => { - return maxBucketData[prop] || maxBucketData.data[prop] || null; - }, - getLabels: () => [], - data: data, - }; - const parsedConfig = vislibPointSeriesTypes.line(cfg, percentileDataObj); - return parsedConfig; - } - - it('should render a percentile line chart', function () { - const parsedConfig = prepareData(percentileTestdata); - expect(parsedConfig).toMatchObject(percentileTestdataResult); - }); - - it('should render a percentile line chart when value is float', function () { - const parsedConfig = prepareData(percentileTestdataFloatValue); - expect(parsedConfig).toMatchObject(percentileTestdataFloatValueResult); - }); - }); -}); diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/types/testdata_linechart_percentile.json b/src/plugins/vis_types/vislib/public/vislib/lib/types/testdata_linechart_percentile.json deleted file mode 100644 index 50d6eab03e3f7..0000000000000 --- a/src/plugins/vis_types/vislib/public/vislib/lib/types/testdata_linechart_percentile.json +++ /dev/null @@ -1,464 +0,0 @@ -{ - "cfg": { - "addLegend": true, - "addTimeMarker": false, - "addTooltip": true, - "categoryAxes": [ - { - "id": "CategoryAxis-1", - "labels": { - "show": true, - "truncate": 100 - }, - "position": "bottom", - "scale": { - "type": "linear" - }, - "show": true, - "style": {}, - "title": {}, - "type": "category" - } - ], - "dimensions": { - "x": { - "accessor": 0, - "format": { - "id": "date", - "params": { - "pattern": "YYYY-MM-DD" - } - }, - "params": { - "date": true, - "interval": 86400000, - "format": "YYYY-MM-DD", - "bounds": { - "min": "2019-05-10T04:00:00.000Z", - "max": "2019-05-12T10:18:57.342Z" - } - }, - "aggType": "date_histogram" - }, - "y": [ - { - "accessor": 1, - "format": { - "id": "number", - "params": { - "pattern": "$0,0.[00]" - } - }, - "params": {}, - "aggType": "percentiles" - }, - { - "accessor": 2, - "format": { - "id": "number", - "params": { - "pattern": "$0,0.[00]" - } - }, - "params": {}, - "aggType": "percentiles" - } - ] - }, - "grid": { - "categoryLines": false, - "style": { - "color": "#eee" - } - }, - "legendPosition": "right", - "seriesParams": [ - { - "data": { - "id": "1", - "label": "Percentiles of AvgTicketPrice" - }, - "drawLinesBetweenPoints": true, - "interpolate": "cardinal", - "mode": "normal", - "show": "true", - "showCircles": true, - "type": "line", - "valueAxis": "ValueAxis-1" - } - ], - "times": [], - "type": "area", - "valueAxes": [ - { - "id": "ValueAxis-1", - "labels": { - "filter": false, - "rotate": 0, - "show": true, - "truncate": 100 - }, - "name": "LeftAxis-1", - "position": "left", - "scale": { - "mode": "normal", - "type": "linear" - }, - "show": true, - "style": {}, - "title": { - "text": "Percentiles of AvgTicketPrice" - }, - "type": "value" - } - ] - }, - "data": { - "uiState": {}, - "data": { - "xAxisOrderedValues": [ - 1557460800000, - 1557547200000 - ], - "xAxisFormat": { - "id": "date", - "params": { - "pattern": "YYYY-MM-DD" - } - }, - "xAxisLabel": "timestamp per day", - "ordered": { - "interval": 86400000, - "date": true, - "min": 1557460800000, - "max": 1557656337342 - }, - "yAxisFormat": { - "id": "number", - "params": { - "pattern": "$0,0.[00]" - } - }, - "yAxisLabel": "", - "hits": 2 - }, - "series": [ - { - "id": "1.1", - "rawId": "col-1-1.1", - "label": "1st percentile of AvgTicketPrice", - "values": [ - { - "x": 1557460800000, - "y": 116.33676605224609, - "extraMetrics": [], - "xRaw": { - "table": { - "columns": [ - { - "id": "col-0-2", - "name": "timestamp per day" - }, - { - "id": "col-1-1.1", - "name": "1st percentile of AvgTicketPrice" - }, - { - "id": "col-2-1.50", - "name": "50th percentile of AvgTicketPrice" - } - ], - "rows": [ - { - "col-0-2": 1557460800000, - "col-1-1.1": 116, - "col-2-1.50": 658 - }, - { - "col-0-2": 1557547200000, - "col-1-1.1": 223, - "col-2-1.50": 756 - } - ] - }, - "column": 0, - "row": 0, - "value": 1557460800000 - }, - "yRaw": { - "table": { - "columns": [ - { - "id": "col-0-2", - "name": "timestamp per day" - }, - { - "id": "col-1-1.1", - "name": "1st percentile of AvgTicketPrice" - }, - { - "id": "col-2-1.50", - "name": "50th percentile of AvgTicketPrice" - } - ], - "rows": [ - { - "col-0-2": 1557460800000, - "col-1-1.1": 116, - "col-2-1.50": 658 - }, - { - "col-0-2": 1557547200000, - "col-1-1.1": 223, - "col-2-1.50": 756 - } - ] - }, - "column": 1, - "row": 0, - "value": 116.33676605224609 - }, - "parent": null, - "series": "1st percentile of AvgTicketPrice", - "seriesId": "col-1-1.1" - }, - { - "x": 1557547200000, - "y": 223, - "extraMetrics": [], - "xRaw": { - "table": { - "columns": [ - { - "id": "col-0-2", - "name": "timestamp per day" - }, - { - "id": "col-1-1.1", - "name": "1st percentile of AvgTicketPrice" - }, - { - "id": "col-2-1.50", - "name": "50th percentile of AvgTicketPrice" - } - ], - "rows": [ - { - "col-0-2": 1557460800000, - "col-1-1.1": 116, - "col-2-1.50": 658 - }, - { - "col-0-2": 1557547200000, - "col-1-1.1": 223, - "col-2-1.50": 756 - } - ] - }, - "column": 0, - "row": 1, - "value": 1557547200000 - }, - "yRaw": { - "table": { - "columns": [ - { - "id": "col-0-2", - "name": "timestamp per day" - }, - { - "id": "col-1-1.1", - "name": "1st percentile of AvgTicketPrice" - }, - { - "id": "col-2-1.50", - "name": "50th percentile of AvgTicketPrice" - } - ], - "rows": [ - { - "col-0-2": 1557460800000, - "col-1-1.1": 116, - "col-2-1.50": 658 - }, - { - "col-0-2": 1557547200000, - "col-1-1.1": 223, - "col-2-1.50": 756 - } - ] - }, - "column": 1, - "row": 1, - "value": 223 - }, - "parent": null, - "series": "1st percentile of AvgTicketPrice", - "seriesId": "col-1-1.1" - } - ] - }, - { - "id": "1.50", - "rawId": "col-2-1.50", - "label": "50th percentile of AvgTicketPrice", - "values": [ - { - "x": 1557460800000, - "y": 658.8453063964844, - "extraMetrics": [], - "xRaw": { - "table": { - "columns": [ - { - "id": "col-0-2", - "name": "timestamp per day" - }, - { - "id": "col-1-1.1", - "name": "1st percentile of AvgTicketPrice" - }, - { - "id": "col-2-1.50", - "name": "50th percentile of AvgTicketPrice" - } - ], - "rows": [ - { - "col-0-2": 1557460800000, - "col-1-1.1": 116, - "col-2-1.50": 658 - }, - { - "col-0-2": 1557547200000, - "col-1-1.1": 223, - "col-2-1.50": 756 - } - ] - }, - "column": 0, - "row": 0, - "value": 1557460800000 - }, - "yRaw": { - "table": { - "columns": [ - { - "id": "col-0-2", - "name": "timestamp per day" - }, - { - "id": "col-1-1.1", - "name": "1st percentile of AvgTicketPrice" - }, - { - "id": "col-2-1.50", - "name": "50th percentile of AvgTicketPrice" - } - ], - "rows": [ - { - "col-0-2": 1557460800000, - "col-1-1.1": 116, - "col-2-1.50": 658 - }, - { - "col-0-2": 1557547200000, - "col-1-1.1": 223, - "col-2-1.50": 756 - } - ] - }, - "column": 2, - "row": 0, - "value": 658 - }, - "parent": null, - "series": "50th percentile of AvgTicketPrice", - "seriesId": "col-2-1.50" - }, - { - "x": 1557547200000, - "y": 756, - "extraMetrics": [], - "xRaw": { - "table": { - "columns": [ - { - "id": "col-0-2", - "name": "timestamp per day" - }, - { - "id": "col-1-1.1", - "name": "1st percentile of AvgTicketPrice" - }, - { - "id": "col-2-1.50", - "name": "50th percentile of AvgTicketPrice" - } - ], - "rows": [ - { - "col-0-2": 1557460800000, - "col-1-1.1": 116, - "col-2-1.50": 658 - }, - { - "col-0-2": 1557547200000, - "col-1-1.1": 223, - "col-2-1.50": 756 - } - ] - }, - "column": 0, - "row": 1, - "value": 1557547200000 - }, - "yRaw": { - "table": { - "columns": [ - { - "id": "col-0-2", - "name": "timestamp per day" - }, - { - "id": "col-1-1.1", - "name": "1st percentile of AvgTicketPrice" - }, - { - "id": "col-2-1.50", - "name": "50th percentile of AvgTicketPrice" - } - ], - "rows": [ - { - "col-0-2": 1557460800000, - "col-1-1.1": 116, - "col-2-1.50": 658 - }, - { - "col-0-2": 1557547200000, - "col-1-1.1": 223, - "col-2-1.50": 756 - } - ] - }, - "column": 2, - "row": 1, - "value": 756.2283554077148 - }, - "parent": null, - "series": "50th percentile of AvgTicketPrice", - "seriesId": "col-2-1.50" - } - ] - } - ], - "type": "series", - "labels": [ - "1st percentile of AvgTicketPrice", - "50th percentile of AvgTicketPrice" - ] - } - -} diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/types/testdata_linechart_percentile_float_value.json b/src/plugins/vis_types/vislib/public/vislib/lib/types/testdata_linechart_percentile_float_value.json deleted file mode 100644 index 1987c59f6722b..0000000000000 --- a/src/plugins/vis_types/vislib/public/vislib/lib/types/testdata_linechart_percentile_float_value.json +++ /dev/null @@ -1,463 +0,0 @@ -{ - "cfg": { - "addLegend": true, - "addTimeMarker": false, - "addTooltip": true, - "categoryAxes": [ - { - "id": "CategoryAxis-1", - "labels": { - "show": true, - "truncate": 100 - }, - "position": "bottom", - "scale": { - "type": "linear" - }, - "show": true, - "style": {}, - "title": {}, - "type": "category" - } - ], - "dimensions": { - "x": { - "accessor": 0, - "format": { - "id": "date", - "params": { - "pattern": "YYYY-MM-DD" - } - }, - "params": { - "date": true, - "interval": 86400000, - "format": "YYYY-MM-DD", - "bounds": { - "min": "2019-05-10T04:00:00.000Z", - "max": "2019-05-12T10:18:57.342Z" - } - }, - "aggType": "date_histogram" - }, - "y": [ - { - "accessor": 1, - "format": { - "id": "number", - "params": { - "pattern": "$0,0.[00]" - } - }, - "params": {}, - "aggType": "percentiles" - }, - { - "accessor": 2, - "format": { - "id": "number", - "params": { - "pattern": "$0,0.[00]" - } - }, - "params": {}, - "aggType": "percentiles" - } - ] - }, - "grid": { - "categoryLines": false, - "style": { - "color": "#eee" - } - }, - "legendPosition": "right", - "seriesParams": [ - { - "data": { - "id": "1", - "label": "Percentiles of AvgTicketPrice" - }, - "drawLinesBetweenPoints": true, - "interpolate": "cardinal", - "mode": "normal", - "show": "true", - "showCircles": true, - "type": "line", - "valueAxis": "ValueAxis-1" - } - ], - "times": [], - "type": "area", - "valueAxes": [ - { - "id": "ValueAxis-1", - "labels": { - "filter": false, - "rotate": 0, - "show": true, - "truncate": 100 - }, - "name": "LeftAxis-1", - "position": "left", - "scale": { - "mode": "normal", - "type": "linear" - }, - "show": true, - "style": {}, - "title": { - "text": "Percentiles of AvgTicketPrice" - }, - "type": "value" - } - ] - }, - "data": { - "uiState": {}, - "data": { - "xAxisOrderedValues": [ - 1557460800000, - 1557547200000 - ], - "xAxisFormat": { - "id": "date", - "params": { - "pattern": "YYYY-MM-DD" - } - }, - "xAxisLabel": "timestamp per day", - "ordered": { - "interval": 86400000, - "date": true, - "min": 1557460800000, - "max": 1557656337342 - }, - "yAxisFormat": { - "id": "number", - "params": { - "pattern": "$0,0.[00]" - } - }, - "yAxisLabel": "", - "hits": 2 - }, - "series": [ - { - "id": "1.['1.1']", - "rawId": "col-1-1.['1.1']", - "label": "1.1th percentile of AvgTicketPrice", - "values": [ - { - "x": 1557460800000, - "y": 116.33676605224609, - "extraMetrics": [], - "xRaw": { - "table": { - "columns": [ - { - "id": "col-0-2", - "name": "timestamp per day" - }, - { - "id": "col-1-1.['1.1']", - "name": "1.1th percentile of AvgTicketPrice" - }, - { - "id": "col-2-1.50", - "name": "50th percentile of AvgTicketPrice" - } - ], - "rows": [ - { - "col-0-2": 1557460800000, - "col-1-1.['1.1']": 116, - "col-2-1.50": 658 - }, - { - "col-0-2": 1557547200000, - "col-1-1.['1.1']": 223, - "col-2-1.50": 756 - } - ] - }, - "column": 0, - "row": 0, - "value": 1557460800000 - }, - "yRaw": { - "table": { - "columns": [ - { - "id": "col-0-2", - "name": "timestamp per day" - }, - { - "id": "col-1-1.['1.1']", - "name": "1.1th percentile of AvgTicketPrice" - }, - { - "id": "col-2-1.50", - "name": "50th percentile of AvgTicketPrice" - } - ], - "rows": [ - { - "col-0-2": 1557460800000, - "col-1-1.['1.1']": 116, - "col-2-1.50": 658 - }, - { - "col-0-2": 1557547200000, - "col-1-1.['1.1']": 223, - "col-2-1.50": 756 - } - ] - }, - "column": 1, - "row": 0, - "value": 116.33676605224609 - }, - "parent": null, - "series": "1.1th percentile of AvgTicketPrice", - "seriesId": "col-1-1.['1.1']" - }, - { - "x": 1557547200000, - "y": 223, - "extraMetrics": [], - "xRaw": { - "table": { - "columns": [ - { - "id": "col-0-2", - "name": "timestamp per day" - }, - { - "id": "col-1-1.['1.1']", - "name": "1.1th percentile of AvgTicketPrice" - }, - { - "id": "col-2-1.50", - "name": "50th percentile of AvgTicketPrice" - } - ], - "rows": [ - { - "col-0-2": 1557460800000, - "col-1-1.['1.1']": 116, - "col-2-1.50": 658 - }, - { - "col-0-2": 1557547200000, - "col-1-1.['1.1']": 223, - "col-2-1.50": 756 - } - ] - }, - "column": 0, - "row": 1, - "value": 1557547200000 - }, - "yRaw": { - "table": { - "columns": [ - { - "id": "col-0-2", - "name": "timestamp per day" - }, - { - "id": "col-1-1.['1.1']", - "name": "1.1th percentile of AvgTicketPrice" - }, - { - "id": "col-2-1.50", - "name": "50th percentile of AvgTicketPrice" - } - ], - "rows": [ - { - "col-0-2": 1557460800000, - "col-1-1.['1.1']": 116, - "col-2-1.50": 658 - }, - { - "col-0-2": 1557547200000, - "col-1-1.['1.1']": 223, - "col-2-1.50": 756 - } - ] - }, - "column": 1, - "row": 1, - "value": 223 - }, - "parent": null, - "series": "1.1th percentile of AvgTicketPrice", - "seriesId": "col-1-1.['1.1']" - } - ] - }, - { - "id": "1.50", - "rawId": "col-2-1.50", - "label": "50th percentile of AvgTicketPrice", - "values": [ - { - "x": 1557460800000, - "y": 658.8453063964844, - "extraMetrics": [], - "xRaw": { - "table": { - "columns": [ - { - "id": "col-0-2", - "name": "timestamp per day" - }, - { - "id": "col-1-1.['1.1']", - "name": "1.1th percentile of AvgTicketPrice" - }, - { - "id": "col-2-1.50", - "name": "50th percentile of AvgTicketPrice" - } - ], - "rows": [ - { - "col-0-2": 1557460800000, - "col-1-1.['1.1']": 116, - "col-2-1.50": 658 - }, - { - "col-0-2": 1557547200000, - "col-1-1.['1.1']": 223, - "col-2-1.50": 756 - } - ] - }, - "column": 0, - "row": 0, - "value": 1557460800000 - }, - "yRaw": { - "table": { - "columns": [ - { - "id": "col-0-2", - "name": "timestamp per day" - }, - { - "id": "col-1-1.['1.1']", - "name": "1.1th percentile of AvgTicketPrice" - }, - { - "id": "col-2-1.50", - "name": "50th percentile of AvgTicketPrice" - } - ], - "rows": [ - { - "col-0-2": 1557460800000, - "col-1-1.['1.1']": 116, - "col-2-1.50": 658 - }, - { - "col-0-2": 1557547200000, - "col-1-1.['1.1']": 223, - "col-2-1.50": 756 - } - ] - }, - "column": 2, - "row": 0, - "value": 658 - }, - "parent": null, - "series": "50th percentile of AvgTicketPrice", - "seriesId": "col-2-1.50" - }, - { - "x": 1557547200000, - "y": 756, - "extraMetrics": [], - "xRaw": { - "table": { - "columns": [ - { - "id": "col-0-2", - "name": "timestamp per day" - }, - { - "id": "col-1-1.['1.1']", - "name": "1.1th percentile of AvgTicketPrice" - }, - { - "id": "col-2-1.50", - "name": "50th percentile of AvgTicketPrice" - } - ], - "rows": [ - { - "col-0-2": 1557460800000, - "col-1-1.['1.1']": 116, - "col-2-1.50": 658 - }, - { - "col-0-2": 1557547200000, - "col-1-1.['1.1']": 223, - "col-2-1.50": 756 - } - ] - }, - "column": 0, - "row": 1, - "value": 1557547200000 - }, - "yRaw": { - "table": { - "columns": [ - { - "id": "col-0-2", - "name": "timestamp per day" - }, - { - "id": "col-1-1.['1.1']", - "name": "1.1th percentile of AvgTicketPrice" - }, - { - "id": "col-2-1.50", - "name": "50th percentile of AvgTicketPrice" - } - ], - "rows": [ - { - "col-0-2": 1557460800000, - "col-1-1.['1.1']": 116, - "col-2-1.50": 658 - }, - { - "col-0-2": 1557547200000, - "col-1-1.['1.1']": 223, - "col-2-1.50": 756 - } - ] - }, - "column": 2, - "row": 1, - "value": 756.2283554077148 - }, - "parent": null, - "series": "50th percentile of AvgTicketPrice", - "seriesId": "col-2-1.50" - } - ] - } - ], - "type": "series", - "labels": [ - "1.1th percentile of AvgTicketPrice", - "50th percentile of AvgTicketPrice" - ] - } -} diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/types/testdata_linechart_percentile_float_value_result.json b/src/plugins/vis_types/vislib/public/vislib/lib/types/testdata_linechart_percentile_float_value_result.json deleted file mode 100644 index ae1f3cbf24c33..0000000000000 --- a/src/plugins/vis_types/vislib/public/vislib/lib/types/testdata_linechart_percentile_float_value_result.json +++ /dev/null @@ -1,456 +0,0 @@ -{ - "addLegend": true, - "addTimeMarker": false, - "addTooltip": true, - "categoryAxes": [ - { - "id": "CategoryAxis-1", - "labels": { - "show": true, - "truncate": 100 - }, - "position": "bottom", - "scale": { - "type": "linear" - }, - "show": true, - "style": {}, - "title": { - "text": "Date Histogram" - }, - "type": "category" - } - ], - "dimensions": { - "x": { - "accessor": 0, - "format": { - "id": "date", - "params": { - "pattern": "YYYY-MM-DD" - } - }, - "params": { - "date": true, - "interval": 86400000, - "format": "YYYY-MM-DD", - "bounds": { - "min": "2019-05-10T04:00:00.000Z", - "max": "2019-05-12T10:18:57.342Z" - } - }, - "aggType": "date_histogram" - }, - "y": [ - { - "accessor": 1, - "format": { - "id": "number", - "params": { - "pattern": "$0,0.[00]" - } - }, - "params": {}, - "aggType": "percentiles" - }, - { - "accessor": 2, - "format": { - "id": "number", - "params": { - "pattern": "$0,0.[00]" - } - }, - "params": {}, - "aggType": "percentiles" - } - ] - }, - "grid": { - "categoryLines": false, - "style": { - "color": "#eee" - } - }, - "legendPosition": "right", - "seriesParams": [ - { - "data": { - "id": "1", - "label": "Percentiles of AvgTicketPrice" - }, - "drawLinesBetweenPoints": true, - "interpolate": "cardinal", - "mode": "normal", - "show": "true", - "showCircles": true, - "type": "line", - "valueAxis": "ValueAxis-1" - } - ], - "times": [], - "type": "point_series", - "valueAxes": [ - { - "id": "ValueAxis-1", - "labels": { - "filter": false, - "rotate": 0, - "show": true, - "truncate": 100 - }, - "name": "LeftAxis-1", - "position": "left", - "scale": { - "mode": "normal", - "type": "linear" - }, - "show": true, - "style": {}, - "title": { - "text": "Percentiles of AvgTicketPrice" - }, - "type": "value" - } - ], - "chartTitle": {}, - "mode": "normal", - "tooltip": { - "show": true - }, - "charts": [ - { - "type": "point_series", - "addTimeMarker": false, - "series": [ - { - "show": true, - "type": "area", - "mode": "normal", - "drawLinesBetweenPoints": true, - "showCircles": true, - "data": { - "id": "1.['1.1']", - "rawId": "col-1-1.['1.1']", - "label": "1.1th percentile of AvgTicketPrice", - "values": [ - { - "x": 1557460800000, - "y": 116.33676605224609, - "extraMetrics": [], - "xRaw": { - "table": { - "columns": [ - { - "id": "col-0-2", - "name": "timestamp per day" - }, - { - "id": "col-1-1.['1.1']", - "name": "1.1th percentile of AvgTicketPrice" - }, - { - "id": "col-2-1.50", - "name": "50th percentile of AvgTicketPrice" - } - ], - "rows": [ - { - "col-0-2": 1557460800000, - "col-1-1.['1.1']": 116, - "col-2-1.50": 658 - }, - { - "col-0-2": 1557547200000, - "col-1-1.['1.1']": 223, - "col-2-1.50": 756 - } - ] - }, - "column": 0, - "row": 0, - "value": 1557460800000 - }, - "yRaw": { - "table": { - "columns": [ - { - "id": "col-0-2", - "name": "timestamp per day" - }, - { - "id": "col-1-1.['1.1']", - "name": "1.1th percentile of AvgTicketPrice" - }, - { - "id": "col-2-1.50", - "name": "50th percentile of AvgTicketPrice" - } - ], - "rows": [ - { - "col-0-2": 1557460800000, - "col-1-1.['1.1']": 116, - "col-2-1.50": 658 - }, - { - "col-0-2": 1557547200000, - "col-1-1.['1.1']": 223, - "col-2-1.50": 756 - } - ] - }, - "column": 1, - "row": 0, - "value": 116.33676605224609 - }, - "parent": null, - "series": "1.1th percentile of AvgTicketPrice", - "seriesId": "col-1-1.['1.1']" - }, - { - "x": 1557547200000, - "y": 223, - "extraMetrics": [], - "xRaw": { - "table": { - "columns": [ - { - "id": "col-0-2", - "name": "timestamp per day" - }, - { - "id": "col-1-1.['1.1']", - "name": "1.1th percentile of AvgTicketPrice" - }, - { - "id": "col-2-1.50", - "name": "50th percentile of AvgTicketPrice" - } - ], - "rows": [ - { - "col-0-2": 1557460800000, - "col-1-1.['1.1']": 116, - "col-2-1.50": 658 - }, - { - "col-0-2": 1557547200000, - "col-1-1.['1.1']": 223, - "col-2-1.50": 756 - } - ] - }, - "column": 0, - "row": 1, - "value": 1557547200000 - }, - "yRaw": { - "table": { - "columns": [ - { - "id": "col-0-2", - "name": "timestamp per day" - }, - { - "id": "col-1-1.['1.1']", - "name": "1.1th percentile of AvgTicketPrice" - }, - { - "id": "col-2-1.50", - "name": "50th percentile of AvgTicketPrice" - } - ], - "rows": [ - { - "col-0-2": 1557460800000, - "col-1-1.['1.1']": 116, - "col-2-1.50": 658 - }, - { - "col-0-2": 1557547200000, - "col-1-1.['1.1']": 223, - "col-2-1.50": 756 - } - ] - }, - "column": 1, - "row": 1, - "value": 223 - }, - "parent": null, - "series": "1.1th percentile of AvgTicketPrice", - "seriesId": "col-1-1.['1.1']" - } - ] - } - }, - { - "data": { - "id": "1.50", - "rawId": "col-2-1.50", - "label": "50th percentile of AvgTicketPrice", - "values": [ - { - "x": 1557460800000, - "y": 658.8453063964844, - "extraMetrics": [], - "xRaw": { - "table": { - "columns": [ - { - "id": "col-0-2", - "name": "timestamp per day" - }, - { - "id": "col-1-1.['1.1']", - "name": "1.1th percentile of AvgTicketPrice" - }, - { - "id": "col-2-1.50", - "name": "50th percentile of AvgTicketPrice" - } - ], - "rows": [ - { - "col-0-2": 1557460800000, - "col-1-1.['1.1']": 116, - "col-2-1.50": 658 - }, - { - "col-0-2": 1557547200000, - "col-1-1.['1.1']": 223, - "col-2-1.50": 756 - } - ] - }, - "column": 0, - "row": 0, - "value": 1557460800000 - }, - "yRaw": { - "table": { - "columns": [ - { - "id": "col-0-2", - "name": "timestamp per day" - }, - { - "id": "col-1-1.['1.1']", - "name": "1.1th percentile of AvgTicketPrice" - }, - { - "id": "col-2-1.50", - "name": "50th percentile of AvgTicketPrice" - } - ], - "rows": [ - { - "col-0-2": 1557460800000, - "col-1-1.['1.1']": 116, - "col-2-1.50": 658 - }, - { - "col-0-2": 1557547200000, - "col-1-1.['1.1']": 223, - "col-2-1.50": 756 - } - ] - }, - "column": 2, - "row": 0, - "value": 658 - }, - "parent": null, - "series": "50th percentile of AvgTicketPrice", - "seriesId": "col-2-1.50" - }, - { - "x": 1557547200000, - "y": 756, - "extraMetrics": [], - "xRaw": { - "table": { - "columns": [ - { - "id": "col-0-2", - "name": "timestamp per day" - }, - { - "id": "col-1-1.['1.1']", - "name": "1.1th percentile of AvgTicketPrice" - }, - { - "id": "col-2-1.50", - "name": "50th percentile of AvgTicketPrice" - } - ], - "rows": [ - { - "col-0-2": 1557460800000, - "col-1-1.['1.1']": 116, - "col-2-1.50": 658 - }, - { - "col-0-2": 1557547200000, - "col-1-1.['1.1']": 223, - "col-2-1.50": 756 - } - ] - }, - "column": 0, - "row": 1, - "value": 1557547200000 - }, - "yRaw": { - "table": { - "columns": [ - { - "id": "col-0-2", - "name": "timestamp per day" - }, - { - "id": "col-1-1.['1.1']", - "name": "1.1th percentile of AvgTicketPrice" - }, - { - "id": "col-2-1.50", - "name": "50th percentile of AvgTicketPrice" - } - ], - "rows": [ - { - "col-0-2": 1557460800000, - "col-1-1.['1.1']": 116, - "col-2-1.50": 658 - }, - { - "col-0-2": 1557547200000, - "col-1-1.['1.1']": 223, - "col-2-1.50": 756 - } - ] - }, - "column": 2, - "row": 1, - "value": 756.2283554077148 - }, - "parent": null, - "series": "50th percentile of AvgTicketPrice", - "seriesId": "col-2-1.50" - } - ] - }, - "drawLinesBetweenPoints": true, - "interpolate": "cardinal", - "mode": "normal", - "show": "true", - "showCircles": true, - "type": "line", - "valueAxis": "ValueAxis-1" - } - ] - } - ], - "enableHover": true -} diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/types/testdata_linechart_percentile_result.json b/src/plugins/vis_types/vislib/public/vislib/lib/types/testdata_linechart_percentile_result.json deleted file mode 100644 index f2ee245a8431f..0000000000000 --- a/src/plugins/vis_types/vislib/public/vislib/lib/types/testdata_linechart_percentile_result.json +++ /dev/null @@ -1,458 +0,0 @@ -{ - "addLegend": true, - "addTimeMarker": false, - "addTooltip": true, - "categoryAxes": [ - { - "id": "CategoryAxis-1", - "labels": { - "show": true, - "truncate": 100 - }, - "position": "bottom", - "scale": { - "type": "linear" - }, - "show": true, - "style": {}, - "title": { - "text": "Date Histogram" - }, - "type": "category" - } - ], - "dimensions": { - "x": { - "accessor": 0, - "format": { - "id": "date", - "params": { - "pattern": "YYYY-MM-DD" - } - }, - "params": { - "date": true, - "interval": 86400000, - "format": "YYYY-MM-DD", - "bounds": { - "min": "2019-05-10T04:00:00.000Z", - "max": "2019-05-12T10:18:57.342Z" - } - }, - "aggType": "date_histogram" - }, - "y": [ - { - "accessor": 1, - "format": { - "id": "number", - "params": { - "pattern": "$0,0.[00]" - } - }, - "params": {}, - "aggType": "percentiles" - }, - { - "accessor": 2, - "format": { - "id": "number", - "params": { - "pattern": "$0,0.[00]" - } - }, - "params": {}, - "aggType": "percentiles" - } - ] - }, - "grid": { - "categoryLines": false, - "style": { - "color": "#eee" - } - }, - "legendPosition": "right", - "seriesParams": [ - { - "data": { - "id": "1", - "label": "Percentiles of AvgTicketPrice" - }, - "drawLinesBetweenPoints": true, - "interpolate": "cardinal", - "mode": "normal", - "show": "true", - "showCircles": true, - "type": "line", - "valueAxis": "ValueAxis-1" - } - ], - "times": [], - "type": "point_series", - "valueAxes": [ - { - "id": "ValueAxis-1", - "labels": { - "filter": false, - "rotate": 0, - "show": true, - "truncate": 100 - }, - "name": "LeftAxis-1", - "position": "left", - "scale": { - "mode": "normal", - "type": "linear" - }, - "show": true, - "style": {}, - "title": { - "text": "Percentiles of AvgTicketPrice" - }, - "type": "value" - } - ], - "chartTitle": {}, - "mode": "normal", - "tooltip": { - "show": true - }, - "charts": [ - { - "type": "point_series", - "addTimeMarker": false, - "series": [ - { - "data": { - "id": "1.1", - "rawId": "col-1-1.1", - "label": "1st percentile of AvgTicketPrice", - "values": [ - { - "x": 1557460800000, - "y": 116.33676605224609, - "extraMetrics": [], - "xRaw": { - "table": { - "columns": [ - { - "id": "col-0-2", - "name": "timestamp per day" - }, - { - "id": "col-1-1.1", - "name": "1st percentile of AvgTicketPrice" - }, - { - "id": "col-2-1.50", - "name": "50th percentile of AvgTicketPrice" - } - ], - "rows": [ - { - "col-0-2": 1557460800000, - "col-1-1.1": 116, - "col-2-1.50": 658 - }, - { - "col-0-2": 1557547200000, - "col-1-1.1": 223, - "col-2-1.50": 756 - } - ] - }, - "column": 0, - "row": 0, - "value": 1557460800000 - }, - "yRaw": { - "table": { - "columns": [ - { - "id": "col-0-2", - "name": "timestamp per day" - }, - { - "id": "col-1-1.1", - "name": "1st percentile of AvgTicketPrice" - }, - { - "id": "col-2-1.50", - "name": "50th percentile of AvgTicketPrice" - } - ], - "rows": [ - { - "col-0-2": 1557460800000, - "col-1-1.1": 116, - "col-2-1.50": 658 - }, - { - "col-0-2": 1557547200000, - "col-1-1.1": 223, - "col-2-1.50": 756 - } - ] - }, - "column": 1, - "row": 0, - "value": 116.33676605224609 - }, - "parent": null, - "series": "1st percentile of AvgTicketPrice", - "seriesId": "col-1-1.1" - }, - { - "x": 1557547200000, - "y": 223, - "extraMetrics": [], - "xRaw": { - "table": { - "columns": [ - { - "id": "col-0-2", - "name": "timestamp per day" - }, - { - "id": "col-1-1.1", - "name": "1st percentile of AvgTicketPrice" - }, - { - "id": "col-2-1.50", - "name": "50th percentile of AvgTicketPrice" - } - ], - "rows": [ - { - "col-0-2": 1557460800000, - "col-1-1.1": 116, - "col-2-1.50": 658 - }, - { - "col-0-2": 1557547200000, - "col-1-1.1": 223, - "col-2-1.50": 756 - } - ] - }, - "column": 0, - "row": 1, - "value": 1557547200000 - }, - "yRaw": { - "table": { - "columns": [ - { - "id": "col-0-2", - "name": "timestamp per day" - }, - { - "id": "col-1-1.1", - "name": "1st percentile of AvgTicketPrice" - }, - { - "id": "col-2-1.50", - "name": "50th percentile of AvgTicketPrice" - } - ], - "rows": [ - { - "col-0-2": 1557460800000, - "col-1-1.1": 116, - "col-2-1.50": 658 - }, - { - "col-0-2": 1557547200000, - "col-1-1.1": 223, - "col-2-1.50": 756 - } - ] - }, - "column": 1, - "row": 1, - "value": 223 - }, - "parent": null, - "series": "1st percentile of AvgTicketPrice", - "seriesId": "col-1-1.1" - } - ] - }, - "drawLinesBetweenPoints": true, - "interpolate": "cardinal", - "mode": "normal", - "show": "true", - "showCircles": true, - "type": "line", - "valueAxis": "ValueAxis-1" - }, - { - "data": { - "id": "1.50", - "rawId": "col-2-1.50", - "label": "50th percentile of AvgTicketPrice", - "values": [ - { - "x": 1557460800000, - "y": 658.8453063964844, - "extraMetrics": [], - "xRaw": { - "table": { - "columns": [ - { - "id": "col-0-2", - "name": "timestamp per day" - }, - { - "id": "col-1-1.1", - "name": "1st percentile of AvgTicketPrice" - }, - { - "id": "col-2-1.50", - "name": "50th percentile of AvgTicketPrice" - } - ], - "rows": [ - { - "col-0-2": 1557460800000, - "col-1-1.1": 116, - "col-2-1.50": 658 - }, - { - "col-0-2": 1557547200000, - "col-1-1.1": 223, - "col-2-1.50": 756 - } - ] - }, - "column": 0, - "row": 0, - "value": 1557460800000 - }, - "yRaw": { - "table": { - "columns": [ - { - "id": "col-0-2", - "name": "timestamp per day" - }, - { - "id": "col-1-1.1", - "name": "1st percentile of AvgTicketPrice" - }, - { - "id": "col-2-1.50", - "name": "50th percentile of AvgTicketPrice" - } - ], - "rows": [ - { - "col-0-2": 1557460800000, - "col-1-1.1": 116, - "col-2-1.50": 658 - }, - { - "col-0-2": 1557547200000, - "col-1-1.1": 223, - "col-2-1.50": 756 - } - ] - }, - "column": 2, - "row": 0, - "value": 658 - }, - "parent": null, - "series": "50th percentile of AvgTicketPrice", - "seriesId": "col-2-1.50" - }, - { - "x": 1557547200000, - "y": 756, - "extraMetrics": [], - "xRaw": { - "table": { - "columns": [ - { - "id": "col-0-2", - "name": "timestamp per day" - }, - { - "id": "col-1-1.1", - "name": "1st percentile of AvgTicketPrice" - }, - { - "id": "col-2-1.50", - "name": "50th percentile of AvgTicketPrice" - } - ], - "rows": [ - { - "col-0-2": 1557460800000, - "col-1-1.1": 116, - "col-2-1.50": 658 - }, - { - "col-0-2": 1557547200000, - "col-1-1.1": 223, - "col-2-1.50": 756 - } - ] - }, - "column": 0, - "row": 1, - "value": 1557547200000 - }, - "yRaw": { - "table": { - "columns": [ - { - "id": "col-0-2", - "name": "timestamp per day" - }, - { - "id": "col-1-1.1", - "name": "1st percentile of AvgTicketPrice" - }, - { - "id": "col-2-1.50", - "name": "50th percentile of AvgTicketPrice" - } - ], - "rows": [ - { - "col-0-2": 1557460800000, - "col-1-1.1": 116, - "col-2-1.50": 658 - }, - { - "col-0-2": 1557547200000, - "col-1-1.1": 223, - "col-2-1.50": 756 - } - ] - }, - "column": 2, - "row": 1, - "value": 756.2283554077148 - }, - "parent": null, - "series": "50th percentile of AvgTicketPrice", - "seriesId": "col-2-1.50" - } - ] - }, - "drawLinesBetweenPoints": true, - "interpolate": "cardinal", - "mode": "normal", - "show": "true", - "showCircles": true, - "type": "line", - "valueAxis": "ValueAxis-1" - } - ] - } - ], - "enableHover": true -} diff --git a/src/plugins/vis_types/vislib/public/vislib/lib/vis_config.test.js b/src/plugins/vis_types/vislib/public/vislib/lib/vis_config.test.js index 441c5d9969c4f..1ae32aa4b5473 100644 --- a/src/plugins/vis_types/vislib/public/vislib/lib/vis_config.test.js +++ b/src/plugins/vis_types/vislib/public/vislib/lib/vis_config.test.js @@ -78,7 +78,7 @@ describe('Vislib VisConfig Class Test Suite', function () { visConfig = new VisConfig( { - type: 'point_series', + type: 'heatmap', }, data, getMockUiState(), diff --git a/src/plugins/vis_types/vislib/public/vislib/vis.test.js b/src/plugins/vis_types/vislib/public/vislib/vis.test.js index 1614175f7e2a4..46afbd1c62f69 100644 --- a/src/plugins/vis_types/vislib/public/vislib/vis.test.js +++ b/src/plugins/vis_types/vislib/public/vislib/vis.test.js @@ -26,6 +26,7 @@ const names = ['series', 'columns', 'rows', 'stackedSeries']; let mockedHTMLElementClientSizes; let mockedSVGElementGetBBox; let mockedSVGElementGetComputedTextLength; +let mockWidth; dataArray.forEach(function (data, i) { describe('Vislib Vis Test Suite for ' + names[i] + ' Data', function () { @@ -35,16 +36,30 @@ dataArray.forEach(function (data, i) { let mockUiState; let secondVis; let numberOfCharts; + let config; beforeAll(() => { mockedHTMLElementClientSizes = setHTMLElementClientSizes(512, 512); mockedSVGElementGetBBox = setSVGElementGetBBox(100); mockedSVGElementGetComputedTextLength = setSVGElementGetComputedTextLength(100); + mockWidth = jest.spyOn($.prototype, 'width').mockReturnValue(900); }); beforeEach(() => { - vis = getVis(); - secondVis = getVis(); + config = { + type: 'heatmap', + addLegend: true, + addTooltip: true, + colorsNumber: 4, + colorSchema: 'Greens', + setColorRange: false, + percentageMode: true, + percentageFormatPattern: '0.0%', + invertColors: false, + colorsRange: [], + }; + vis = getVis(config); + secondVis = getVis(config); mockUiState = getMockUiState(); }); @@ -57,6 +72,7 @@ dataArray.forEach(function (data, i) { mockedHTMLElementClientSizes.mockRestore(); mockedSVGElementGetBBox.mockRestore(); mockedSVGElementGetComputedTextLength.mockRestore(); + mockWidth.mockRestore(); }); describe('render Method', function () { diff --git a/src/plugins/vis_types/vislib/public/vislib/visualizations/_vis_fixture.js b/src/plugins/vis_types/vislib/public/vislib/visualizations/_vis_fixture.js index f4e2e4b977b8f..7313d1c8f8eac 100644 --- a/src/plugins/vis_types/vislib/public/vislib/visualizations/_vis_fixture.js +++ b/src/plugins/vis_types/vislib/public/vislib/visualizations/_vis_fixture.js @@ -51,7 +51,7 @@ export function getVis(vislibParams, element) { defaultYExtents: false, setYExtents: false, yAxis: {}, - type: 'histogram', + type: 'heatmap', }), coreMock.createSetup(), chartPluginMock.createStartContract() diff --git a/src/plugins/vis_types/vislib/public/vislib/visualizations/chart.test.js b/src/plugins/vis_types/vislib/public/vislib/visualizations/chart.test.js index 97ea3313d81de..c105102dc6ab9 100644 --- a/src/plugins/vis_types/vislib/public/vislib/visualizations/chart.test.js +++ b/src/plugins/vis_types/vislib/public/vislib/visualizations/chart.test.js @@ -7,7 +7,12 @@ */ import d3 from 'd3'; -import { setHTMLElementClientSizes, setSVGElementGetBBox } from '@kbn/test/jest'; +import $ from 'jquery'; +import { + setHTMLElementClientSizes, + setSVGElementGetBBox, + setSVGElementGetComputedTextLength, +} from '@kbn/test/jest'; import { Chart } from './_chart'; import { getMockUiState } from '../../fixtures/mocks'; import { getVis } from './_vis_fixture'; @@ -96,22 +101,31 @@ describe('Vislib _chart Test Suite', function () { let mockedHTMLElementClientSizes; let mockedSVGElementGetBBox; + let mockedSVGElementGetComputedTextLength; + let mockWidth; beforeAll(() => { mockedHTMLElementClientSizes = setHTMLElementClientSizes(512, 512); mockedSVGElementGetBBox = setSVGElementGetBBox(100); + mockedSVGElementGetComputedTextLength = setSVGElementGetComputedTextLength(100); + mockWidth = jest.spyOn($.prototype, 'width').mockReturnValue(900); }); beforeEach(() => { el = d3.select('body').append('div').attr('class', 'column-chart'); config = { - type: 'histogram', - addTooltip: true, + type: 'heatmap', addLegend: true, - zeroFill: true, + addTooltip: true, + colorsNumber: 4, + colorSchema: 'Greens', + setColorRange: false, + percentageMode: true, + percentageFormatPattern: '0.0%', + invertColors: false, + colorsRange: [], }; - vis = getVis(config, el[0][0]); vis.render(data, getMockUiState()); @@ -126,6 +140,8 @@ describe('Vislib _chart Test Suite', function () { afterAll(() => { mockedHTMLElementClientSizes.mockRestore(); mockedSVGElementGetBBox.mockRestore(); + mockedSVGElementGetComputedTextLength.mockRestore(); + mockWidth.mockRestore(); }); test('should be a constructor for visualization modules', function () { diff --git a/src/plugins/vis_types/vislib/public/vislib/visualizations/point_series.js b/src/plugins/vis_types/vislib/public/vislib/visualizations/point_series.js index b4ab2ea2992c5..dae60fda47631 100644 --- a/src/plugins/vis_types/vislib/public/vislib/visualizations/point_series.js +++ b/src/plugins/vis_types/vislib/public/vislib/visualizations/point_series.js @@ -13,10 +13,8 @@ import $ from 'jquery'; import { Tooltip } from '../components/tooltip'; import { Chart } from './_chart'; import { TimeMarker } from './time_marker'; -import { seriesTypes } from './point_series/series_types'; import { touchdownTemplate } from '../partials/touchdown_template'; - -const seriTypes = seriesTypes; +import { HeatmapChart } from './point_series/heatmap_chart'; /** * Line Chart Visualization @@ -233,9 +231,7 @@ export class PointSeries extends Chart { self.series = []; _.each(self.chartConfig.series, (seriArgs, i) => { if (!seriArgs.show) return; - const SeriClass = - seriTypes[seriArgs.type || self.handler.visConfig.get('chart.type')] || seriTypes.line; - const series = new SeriClass( + const series = new HeatmapChart( self.handler, svg, data.series[i], diff --git a/src/plugins/vis_types/vislib/public/vislib/visualizations/point_series/_index.scss b/src/plugins/vis_types/vislib/public/vislib/visualizations/point_series/_index.scss deleted file mode 100644 index 53fce786ecc15..0000000000000 --- a/src/plugins/vis_types/vislib/public/vislib/visualizations/point_series/_index.scss +++ /dev/null @@ -1 +0,0 @@ -@import './labels'; diff --git a/src/plugins/vis_types/vislib/public/vislib/visualizations/point_series/_labels.scss b/src/plugins/vis_types/vislib/public/vislib/visualizations/point_series/_labels.scss deleted file mode 100644 index 8bcd17fd55ddf..0000000000000 --- a/src/plugins/vis_types/vislib/public/vislib/visualizations/point_series/_labels.scss +++ /dev/null @@ -1,20 +0,0 @@ -$visColumnChartBarLabelDarkColor: #000; // EUI doesn't yet have a variable for fully black in all themes; -$visColumnChartBarLabelLightColor: $euiColorGhost; - -.visColumnChart__barLabel { - font-size: 8pt; - pointer-events: none; -} - -.visColumnChart__barLabel--stack { - dominant-baseline: central; - text-anchor: middle; -} - -.visColumnChart__bar-label--dark { - fill: $visColumnChartBarLabelDarkColor; -} - -.visColumnChart__bar-label--light { - fill: $visColumnChartBarLabelLightColor; -} diff --git a/src/plugins/vis_types/vislib/public/vislib/visualizations/point_series/area_chart.js b/src/plugins/vis_types/vislib/public/vislib/visualizations/point_series/area_chart.js deleted file mode 100644 index 2e2ce79247c3d..0000000000000 --- a/src/plugins/vis_types/vislib/public/vislib/visualizations/point_series/area_chart.js +++ /dev/null @@ -1,247 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import d3 from 'd3'; -import _ from 'lodash'; -import $ from 'jquery'; -import { PointSeries } from './_point_series'; - -const defaults = { - mode: 'normal', - showCircles: true, - radiusRatio: 9, - showLines: true, - interpolate: 'linear', - color: undefined, - fillColor: undefined, -}; -/** - * Area chart visualization - * - * @class AreaChart - * @constructor - * @extends Chart - * @param handler {Object} Reference to the Handler Class Constructor - * @param el {HTMLElement} HTML element to which the chart will be appended - * @param chartData {Object} Elasticsearch query results for this specific - * chart - */ -export class AreaChart extends PointSeries { - constructor(handler, chartEl, chartData, seriesConfigArgs, uiSettings) { - super(handler, chartEl, chartData, seriesConfigArgs, uiSettings); - - this.seriesConfig = _.defaults(seriesConfigArgs || {}, defaults); - this.isOverlapping = this.seriesConfig.mode !== 'stacked'; - if (this.isOverlapping) { - // Default opacity should return to 0.6 on mouseout - const defaultOpacity = 0.6; - this.seriesConfig.defaultOpacity = defaultOpacity; - handler.highlight = function (element) { - const label = this.getAttribute('data-label'); - if (!label) return; - - const highlightOpacity = 0.8; - const highlightElements = $('[data-label]', element.parentNode).filter(function (els, el) { - return `${$(el).data('label')}` === label; - }); - $('[data-label]', element.parentNode) - .not(highlightElements) - .css('opacity', defaultOpacity / 2); // half of the default opacity - highlightElements.css('opacity', highlightOpacity); - }; - handler.unHighlight = function (element) { - $('[data-label]', element).css('opacity', defaultOpacity); - - //The legend should keep max opacity - $('[data-label]', $(element).siblings()).css('opacity', 1); - }; - } - } - - addPath(svg, data) { - const ordered = this.handler.data.get('ordered'); - const isTimeSeries = ordered && ordered.date; - const isOverlapping = this.isOverlapping; - const color = this.handler.data.getColorFunc(); - const xScale = this.getCategoryAxis().getScale(); - const yScale = this.getValueAxis().getScale(); - const interpolate = this.seriesConfig.interpolate; - const isHorizontal = this.getCategoryAxis().axisConfig.isHorizontal(); - - // Data layers - const layer = svg.append('g').attr('class', function (d, i) { - return 'series series-' + i; - }); - - // Append path - const path = layer - .append('path') - .attr('data-label', data.label) - .style('fill', () => color(data.label)) - .style('stroke', () => color(data.label)) - .classed('visAreaChart__overlapArea', function () { - return isOverlapping; - }) - .attr('clip-path', 'url(#' + this.baseChart.clipPathId + ')'); - - function x(d) { - if (isTimeSeries) { - return xScale(d.x); - } - return xScale(d.x) + xScale.rangeBand() / 2; - } - - function y1(d) { - const y0 = d.y0 || 0; - const y = d.y || 0; - return yScale(y0 + y); - } - - function y0(d) { - const y0 = d.y0 || 0; - return yScale(y0); - } - - function getArea() { - if (isHorizontal) { - return d3.svg.area().x(x).y0(y0).y1(y1); - } else { - return d3.svg.area().y(x).x0(y0).x1(y1); - } - } - - // update - path - .attr('d', function () { - const area = getArea() - .defined(function (d) { - return !_.isNull(d.y); - }) - .interpolate(interpolate); - return area(data.values); - }) - .style('stroke-width', '1px'); - - return path; - } - - /** - * Adds SVG circles to area chart - * - * @method addCircles - * @param svg {HTMLElement} SVG to which circles are appended - * @param data {Array} Chart data array - * @returns {D3.UpdateSelection} SVG with circles added - */ - addCircles(svg, data) { - const color = this.handler.data.getColorFunc(); - const xScale = this.getCategoryAxis().getScale(); - const yScale = this.getValueAxis().getScale(); - const ordered = this.handler.data.get('ordered'); - const circleRadius = 12; - const circleStrokeWidth = 0; - const tooltip = this.baseChart.tooltip; - const isTooltip = this.handler.visConfig.get('tooltip.show'); - const isOverlapping = this.isOverlapping; - const isHorizontal = this.getCategoryAxis().axisConfig.isHorizontal(); - - const layer = svg - .append('g') - .attr('class', 'points area') - .attr('clip-path', 'url(#' + this.baseChart.clipPathId + ')'); - - // append the circles - const circles = layer.selectAll('circles').data(function appendData() { - return data.values.filter(function isZeroOrNull(d) { - return d.y !== 0 && !_.isNull(d.y); - }); - }); - - // exit - circles.exit().remove(); - - // enter - circles - .enter() - .append('circle') - .attr('data-label', data.label) - .attr('stroke', () => { - return color(data.label); - }) - .attr('fill', 'transparent') - .attr('stroke-width', circleStrokeWidth); - - function cx(d) { - if (ordered && ordered.date) { - return xScale(d.x); - } - return xScale(d.x) + xScale.rangeBand() / 2; - } - - function cy(d) { - const y = d.y || 0; - if (isOverlapping) { - return yScale(y); - } - return yScale(d.y0 + y); - } - - // update - circles - .attr('cx', isHorizontal ? cx : cy) - .attr('cy', isHorizontal ? cy : cx) - .attr('r', circleRadius); - - // Add tooltip - if (isTooltip) { - circles.call(tooltip.render()); - } - - return circles; - } - - addPathEvents(path) { - const events = this.events; - if (this.handler.visConfig.get('enableHover')) { - const hover = events.addHoverEvent(); - const mouseout = events.addMouseoutEvent(); - path.call(hover).call(mouseout); - } - } - - /** - * Renders d3 visualization - * - * @method draw - * @returns {Function} Creates the area chart - */ - draw() { - const self = this; - - return function (selection) { - selection.each(function () { - const svg = self.chartEl.append('g'); - svg.data([self.chartData]); - - const path = self.addPath(svg, self.chartData); - self.addPathEvents(path); - const circles = self.addCircles(svg, self.chartData); - self.addCircleEvents(circles); - - if (self.thresholdLineOptions.show) { - self.addThresholdLine(self.chartEl); - } - self.events.emit('rendered', { - chart: self.chartData, - }); - - return svg; - }); - }; - } -} diff --git a/src/plugins/vis_types/vislib/public/vislib/visualizations/point_series/area_chart.test.js b/src/plugins/vis_types/vislib/public/vislib/visualizations/point_series/area_chart.test.js deleted file mode 100644 index 68b0728026498..0000000000000 --- a/src/plugins/vis_types/vislib/public/vislib/visualizations/point_series/area_chart.test.js +++ /dev/null @@ -1,264 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import d3 from 'd3'; -import _ from 'lodash'; -import $ from 'jquery'; -import { - setHTMLElementClientSizes, - setSVGElementGetBBox, - setSVGElementGetComputedTextLength, -} from '@kbn/test/jest'; - -import { getMockUiState } from '../../../fixtures/mocks'; -import { getVis } from '../_vis_fixture'; - -const dataTypesArray = { - 'series pos': import('../../../fixtures/mock_data/date_histogram/_series'), - 'series pos neg': import('../../../fixtures/mock_data/date_histogram/_series_pos_neg'), - 'series neg': import('../../../fixtures/mock_data/date_histogram/_series_neg'), - 'term columns': import('../../../fixtures/mock_data/terms/_columns'), - 'range rows': import('../../../fixtures/mock_data/range/_rows'), - stackedSeries: import('../../../fixtures/mock_data/date_histogram/_stacked_series'), -}; - -const vislibParams = { - type: 'area', - addLegend: true, - addTooltip: true, - mode: 'stacked', -}; - -let mockedHTMLElementClientSizes; -let mockedSVGElementGetBBox; -let mockedSVGElementGetComputedTextLength; - -_.forOwn(dataTypesArray, function (dataType, dataTypeName) { - describe('Vislib Area Chart Test Suite for ' + dataTypeName + ' Data', function () { - let vis; - let mockUiState; - - beforeAll(() => { - mockedHTMLElementClientSizes = setHTMLElementClientSizes(512, 512); - mockedSVGElementGetBBox = setSVGElementGetBBox(100); - mockedSVGElementGetComputedTextLength = setSVGElementGetComputedTextLength(100); - }); - - beforeEach(async () => { - vis = getVis(vislibParams); - mockUiState = getMockUiState(); - vis.on('brush', _.noop); - vis.render(await dataType, mockUiState); - }); - - afterEach(function () { - vis.destroy(); - }); - - afterAll(() => { - mockedHTMLElementClientSizes.mockRestore(); - mockedSVGElementGetBBox.mockRestore(); - mockedSVGElementGetComputedTextLength.mockRestore(); - }); - - describe('stackData method', function () { - let stackedData; - let isStacked; - - beforeEach(function () { - vis.handler.charts.forEach(function (chart) { - stackedData = chart.chartData; - - isStacked = stackedData.series.every(function (arr) { - return arr.values.every(function (d) { - return _.isNumber(d.y0); - }); - }); - }); - }); - - test('should append a d.y0 key to the data object', function () { - expect(isStacked).toBe(true); - }); - }); - - describe('addPath method', function () { - test('should append a area paths', function () { - vis.handler.charts.forEach(function (chart) { - expect($(chart.chartEl).find('path').length).toBeGreaterThan(0); - }); - }); - }); - - describe('addPathEvents method', function () { - let path; - let d3selectedPath; - let onMouseOver; - - beforeEach(function () { - vis.handler.charts.forEach(function (chart) { - path = $(chart.chartEl).find('path')[0]; - d3selectedPath = d3.select(path)[0][0]; - - // d3 instance of click and hover - onMouseOver = !!d3selectedPath.__onmouseover; - }); - }); - - test('should attach a hover event', function () { - vis.handler.charts.forEach(function () { - expect(onMouseOver).toBe(true); - }); - }); - }); - - describe('addCircleEvents method', function () { - let circle; - let brush; - let d3selectedCircle; - let onBrush; - let onClick; - let onMouseOver; - - beforeEach(() => { - vis.handler.charts.forEach(function (chart) { - circle = $(chart.chartEl).find('circle')[0]; - brush = $(chart.chartEl).find('.brush'); - d3selectedCircle = d3.select(circle)[0][0]; - - // d3 instance of click and hover - onBrush = !!brush; - onClick = !!d3selectedCircle.__onclick; - onMouseOver = !!d3selectedCircle.__onmouseover; - }); - }); - - // D3 brushing requires that a g element is appended that - // listens for mousedown events. This g element includes - // listeners, however, I was not able to test for the listener - // function being present. I will need to update this test - // in the future. - test('should attach a brush g element', function () { - vis.handler.charts.forEach(function () { - expect(onBrush).toBe(true); - }); - }); - - test('should attach a click event', function () { - vis.handler.charts.forEach(function () { - expect(onClick).toBe(true); - }); - }); - - test('should attach a hover event', function () { - vis.handler.charts.forEach(function () { - expect(onMouseOver).toBe(true); - }); - }); - }); - - describe('addCircles method', function () { - test('should append circles', function () { - vis.handler.charts.forEach(function (chart) { - expect($(chart.chartEl).find('circle').length).toBeGreaterThan(0); - }); - }); - - test('should not draw circles where d.y === 0', function () { - vis.handler.charts.forEach(function (chart) { - const series = chart.chartData.series; - const isZero = series.some(function (d) { - return d.y === 0; - }); - const circles = $.makeArray($(chart.chartEl).find('circle')); - const isNotDrawn = circles.some(function (d) { - return d.__data__.y === 0; - }); - - if (isZero) { - expect(isNotDrawn).toBe(false); - } - }); - }); - }); - - describe('draw method', function () { - test('should return a function', function () { - vis.handler.charts.forEach(function (chart) { - expect(_.isFunction(chart.draw())).toBe(true); - }); - }); - - test('should return a yMin and yMax', function () { - vis.handler.charts.forEach(function (chart) { - const yAxis = chart.handler.valueAxes[0]; - const domain = yAxis.getScale().domain(); - - expect(domain[0]).not.toBe(undefined); - expect(domain[1]).not.toBe(undefined); - }); - }); - - test('should render a zero axis line', function () { - vis.handler.charts.forEach(function (chart) { - const yAxis = chart.handler.valueAxes[0]; - - if (yAxis.yMin < 0 && yAxis.yMax > 0) { - expect($(chart.chartEl).find('line.zero-line').length).toBe(1); - } - }); - }); - }); - - describe('defaultYExtents is true', function () { - beforeEach(async function () { - vis.visConfigArgs.defaultYExtents = true; - vis.render(await dataType, mockUiState); - }); - - test('should return yAxis extents equal to data extents', function () { - vis.handler.charts.forEach(function (chart) { - const yAxis = chart.handler.valueAxes[0]; - const min = vis.handler.valueAxes[0].axisScale.getYMin(); - const max = vis.handler.valueAxes[0].axisScale.getYMax(); - const domain = yAxis.getScale().domain(); - expect(domain[0]).toEqual(min); - expect(domain[1]).toEqual(max); - }); - }); - }); - [0, 2, 4, 8].forEach(function (boundsMarginValue) { - describe('defaultYExtents is true and boundsMargin is defined', function () { - beforeEach(async function () { - vis.visConfigArgs.defaultYExtents = true; - vis.visConfigArgs.boundsMargin = boundsMarginValue; - vis.render(await dataType, mockUiState); - }); - - test('should return yAxis extents equal to data extents with boundsMargin', function () { - vis.handler.charts.forEach(function (chart) { - const yAxis = chart.handler.valueAxes[0]; - const min = vis.handler.valueAxes[0].axisScale.getYMin(); - const max = vis.handler.valueAxes[0].axisScale.getYMax(); - const domain = yAxis.getScale().domain(); - if (min < 0 && max < 0) { - expect(domain[0]).toEqual(min); - expect(domain[1] - boundsMarginValue).toEqual(max); - } else if (min > 0 && max > 0) { - expect(domain[0] + boundsMarginValue).toEqual(min); - expect(domain[1]).toEqual(max); - } else { - expect(domain[0]).toEqual(min); - expect(domain[1]).toEqual(max); - } - }); - }); - }); - }); - }); -}); diff --git a/src/plugins/vis_types/vislib/public/vislib/visualizations/point_series/column_chart.js b/src/plugins/vis_types/vislib/public/vislib/visualizations/point_series/column_chart.js deleted file mode 100644 index 1c543d06e9be9..0000000000000 --- a/src/plugins/vis_types/vislib/public/vislib/visualizations/point_series/column_chart.js +++ /dev/null @@ -1,383 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import _ from 'lodash'; -import d3 from 'd3'; -import { isColorDark } from '@elastic/eui/lib/services'; -import { PointSeries } from './_point_series'; - -const defaults = { - mode: 'normal', - showTooltip: true, - color: undefined, - fillColor: undefined, - showLabel: true, -}; - -/** - * Histogram intervals are not always equal widths, e.g, monthly time intervals. - * It is more visually appealing to vary bar width so that gutter width is constant. - */ -function datumWidth(defaultWidth, datum, nextDatum, scale, gutterWidth, groupCount = 1) { - let datumWidth = defaultWidth; - if (nextDatum) { - datumWidth = (scale(nextDatum.x) - scale(datum.x) - gutterWidth) / groupCount; - // To handle data-sets with holes, do not let width be larger than default. - if (datumWidth > defaultWidth) { - datumWidth = defaultWidth; - } - } - return datumWidth; -} - -/** - * Vertical Bar Chart Visualization: renders vertical and/or stacked bars - * - * @class ColumnChart - * @constructor - * @extends Chart - * @param handler {Object} Reference to the Handler Class Constructor - * @param el {HTMLElement} HTML element to which the chart will be appended - * @param chartData {Object} Elasticsearch query results for this specific chart - */ -export class ColumnChart extends PointSeries { - constructor(handler, chartEl, chartData, seriesConfigArgs, uiSettings) { - super(handler, chartEl, chartData, seriesConfigArgs, uiSettings); - this.seriesConfig = _.defaults(seriesConfigArgs || {}, defaults); - this.labelOptions = _.defaults(handler.visConfig.get('labels', {}), defaults.showLabel); - } - - addBars(svg, data) { - const self = this; - const color = this.handler.data.getColorFunc(); - const tooltip = this.baseChart.tooltip; - const isTooltip = this.handler.visConfig.get('tooltip.show'); - - const layer = svg - .append('g') - .attr('class', 'series histogram') - .attr('clip-path', 'url(#' + this.baseChart.clipPathId + ')'); - - const bars = layer.selectAll('rect').data( - data.values.filter(function (d) { - return !_.isNull(d.y); - }) - ); - - bars.exit().remove(); - - bars - .enter() - .append('rect') - .attr('data-label', data.label) - .attr('fill', () => color(data.label)) - .attr('stroke', () => color(data.label)); - - self.updateBars(bars); - - // Add tooltip - if (isTooltip) { - bars.call(tooltip.render()); - } - - return bars; - } - - /** - * Determines whether bars are grouped or stacked and updates the D3 - * selection - * - * @method updateBars - * @param bars {D3.UpdateSelection} SVG with rect added - * @returns {D3.UpdateSelection} - */ - updateBars(bars) { - if (this.seriesConfig.mode === 'stacked') { - return this.addStackedBars(bars); - } - return this.addGroupedBars(bars); - } - - /** - * Adds stacked bars to column chart visualization - * - * @method addStackedBars - * @param bars {D3.UpdateSelection} SVG with rect added - * @returns {D3.UpdateSelection} - */ - addStackedBars(bars) { - const xScale = this.getCategoryAxis().getScale(); - const yScale = this.getValueAxis().getScale(); - const isHorizontal = this.getCategoryAxis().axisConfig.isHorizontal(); - const isTimeScale = this.getCategoryAxis().axisConfig.isTimeDomain(); - const isLabels = this.labelOptions.show; - const yMin = yScale.domain()[0]; - const gutterSpacingPercentage = 0.15; - const chartData = this.chartData; - const getGroupedNum = this.getGroupedNum.bind(this); - const groupCount = this.getGroupedCount(); - - let barWidth; - let gutterWidth; - - if (isTimeScale) { - const { min, interval } = this.handler.data.get('ordered'); - let intervalWidth = xScale(min + interval) - xScale(min); - intervalWidth = Math.abs(intervalWidth); - - gutterWidth = intervalWidth * gutterSpacingPercentage; - barWidth = (intervalWidth - gutterWidth) / groupCount; - } - - function x(d, i) { - const groupNum = getGroupedNum(d.seriesId); - - if (isTimeScale) { - return ( - xScale(d.x) + - datumWidth(barWidth, d, bars.data()[i + 1], xScale, gutterWidth, groupCount) * groupNum - ); - } - return xScale(d.x) + (xScale.rangeBand() / groupCount) * groupNum; - } - - function y(d) { - if ((isHorizontal && d.y < 0) || (!isHorizontal && d.y > 0)) { - return yScale(d.y0); - } - return yScale(d.y0 + d.y); - } - - function labelX(d, i) { - return x(d, i) + widthFunc(d, i) / 2; - } - - function labelY(d) { - return y(d) + heightFunc(d) / 2; - } - - function labelDisplay(d, i) { - if (isHorizontal && this.getBBox().width > widthFunc(d, i)) return 'none'; - if (!isHorizontal && this.getBBox().width > heightFunc(d)) return 'none'; - if (isHorizontal && this.getBBox().height > heightFunc(d)) return 'none'; - if (!isHorizontal && this.getBBox().height > widthFunc(d, i)) return 'none'; - return 'block'; - } - - function widthFunc(d, i) { - if (isTimeScale) { - return datumWidth(barWidth, d, bars.data()[i + 1], xScale, gutterWidth, groupCount); - } - return xScale.rangeBand() / groupCount; - } - - function heightFunc(d) { - // for split bars or for one series, - // last series will have d.y0 = 0 - if (d.y0 === 0 && yMin > 0) { - return yScale(yMin) - yScale(d.y); - } - return Math.abs(yScale(d.y0) - yScale(d.y0 + d.y)); - } - - function formatValue(d) { - return chartData.yAxisFormatter(d.y); - } - - // update - bars - .attr('x', isHorizontal ? x : y) - .attr('width', isHorizontal ? widthFunc : heightFunc) - .attr('y', isHorizontal ? y : x) - .attr('height', isHorizontal ? heightFunc : widthFunc); - - const layer = d3.select(bars[0].parentNode); - const barLabels = layer.selectAll('text').data( - chartData.values.filter(function (d) { - return !_.isNull(d.y); - }) - ); - - if (isLabels) { - const colorFunc = this.handler.data.getColorFunc(); - const d3Color = d3.rgb(colorFunc(chartData.label)); - let labelClass; - if (isColorDark(d3Color.r, d3Color.g, d3Color.b)) { - labelClass = 'visColumnChart__bar-label--light'; - } else { - labelClass = 'visColumnChart__bar-label--dark'; - } - - barLabels - .enter() - .append('text') - .text(formatValue) - .attr('class', `visColumnChart__barLabel visColumnChart__barLabel--stack ${labelClass}`) - .attr('x', isHorizontal ? labelX : labelY) - .attr('y', isHorizontal ? labelY : labelX) - - // display must apply last, because labelDisplay decision it based - // on text bounding box which depends on actual applied style. - .attr('display', labelDisplay); - } - - return bars; - } - - /** - * Adds grouped bars to column chart visualization - * - * @method addGroupedBars - * @param bars {D3.UpdateSelection} SVG with rect added - * @returns {D3.UpdateSelection} - */ - addGroupedBars(bars) { - const xScale = this.getCategoryAxis().getScale(); - const yScale = this.getValueAxis().getScale(); - const chartData = this.chartData; - const groupCount = this.getGroupedCount(); - const gutterSpacingPercentage = 0.15; - const isTimeScale = this.getCategoryAxis().axisConfig.isTimeDomain(); - const isHorizontal = this.getCategoryAxis().axisConfig.isHorizontal(); - const isLogScale = this.getValueAxis().axisConfig.isLogScale(); - const isLabels = this.labelOptions.show; - const getGroupedNum = this.getGroupedNum.bind(this); - - let barWidth; - let gutterWidth; - - if (isTimeScale) { - const { min, interval } = this.handler.data.get('ordered'); - let intervalWidth = xScale(min + interval) - xScale(min); - intervalWidth = Math.abs(intervalWidth); - - gutterWidth = intervalWidth * gutterSpacingPercentage; - barWidth = (intervalWidth - gutterWidth) / groupCount; - } - - function x(d, i) { - const groupNum = getGroupedNum(d.seriesId); - if (isTimeScale) { - return ( - xScale(d.x) + - datumWidth(barWidth, d, bars.data()[i + 1], xScale, gutterWidth, groupCount) * groupNum - ); - } - return xScale(d.x) + (xScale.rangeBand() / groupCount) * groupNum; - } - - function y(d) { - if ((isHorizontal && d.y < 0) || (!isHorizontal && d.y > 0)) { - return yScale(0); - } - return yScale(d.y); - } - - function labelX(d, i) { - return x(d, i) + widthFunc(d, i) / 2; - } - - function labelY(d) { - if (isHorizontal) { - return d.y >= 0 ? y(d) - 4 : y(d) + heightFunc(d) + this.getBBox().height; - } - return d.y >= 0 ? y(d) + heightFunc(d) + 4 : y(d) - this.getBBox().width - 4; - } - - function labelDisplay(d, i) { - if (isHorizontal && this.getBBox().width > widthFunc(d, i)) { - return 'none'; - } - if (!isHorizontal && this.getBBox().height > widthFunc(d)) { - return 'none'; - } - return 'block'; - } - function widthFunc(d, i) { - if (isTimeScale) { - return datumWidth(barWidth, d, bars.data()[i + 1], xScale, gutterWidth, groupCount); - } - return xScale.rangeBand() / groupCount; - } - - function heightFunc(d) { - const baseValue = isLogScale ? 1 : 0; - return Math.abs(yScale(baseValue) - yScale(d.y)); - } - - function formatValue(d) { - return chartData.yAxisFormatter(d.y); - } - - // update - bars - .attr('x', isHorizontal ? x : y) - .attr('width', isHorizontal ? widthFunc : heightFunc) - .attr('y', isHorizontal ? y : x) - .attr('height', isHorizontal ? heightFunc : widthFunc); - - const layer = d3.select(bars[0].parentNode); - const barLabels = layer.selectAll('text').data( - chartData.values.filter(function (d) { - return !_.isNull(d.y); - }) - ); - - barLabels.exit().remove(); - - if (isLabels) { - const labelColor = this.handler.data.getColorFunc()(chartData.label); - - barLabels - .enter() - .append('text') - .text(formatValue) - .attr('class', 'visColumnChart__barLabel') - .attr('x', isHorizontal ? labelX : labelY) - .attr('y', isHorizontal ? labelY : labelX) - .attr('dominant-baseline', isHorizontal ? 'auto' : 'central') - .attr('text-anchor', isHorizontal ? 'middle' : 'start') - .attr('fill', labelColor) - - // display must apply last, because labelDisplay decision it based - // on text bounding box which depends on actual applied style. - .attr('display', labelDisplay); - } - return bars; - } - - /** - * Renders d3 visualization - * - * @method draw - * @returns {Function} Creates the vertical bar chart - */ - draw() { - const self = this; - - return function (selection) { - selection.each(function () { - const svg = self.chartEl.append('g'); - svg.data([self.chartData]); - - const bars = self.addBars(svg, self.chartData); - self.addCircleEvents(bars); - - if (self.thresholdLineOptions.show) { - self.addThresholdLine(self.chartEl); - } - - self.events.emit('rendered', { - chart: self.chartData, - }); - - return svg; - }); - }; - } -} diff --git a/src/plugins/vis_types/vislib/public/vislib/visualizations/point_series/column_chart.test.js b/src/plugins/vis_types/vislib/public/vislib/visualizations/point_series/column_chart.test.js deleted file mode 100644 index 8f0db3ab18393..0000000000000 --- a/src/plugins/vis_types/vislib/public/vislib/visualizations/point_series/column_chart.test.js +++ /dev/null @@ -1,401 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import _ from 'lodash'; -import d3 from 'd3'; -import $ from 'jquery'; -import { - setHTMLElementClientSizes, - setSVGElementGetBBox, - setSVGElementGetComputedTextLength, -} from '@kbn/test/jest'; - -// Data -import series from '../../../fixtures/mock_data/date_histogram/_series'; -import seriesPosNeg from '../../../fixtures/mock_data/date_histogram/_series_pos_neg'; -import seriesNeg from '../../../fixtures/mock_data/date_histogram/_series_neg'; -import termsColumns from '../../../fixtures/mock_data/terms/_columns'; -import histogramRows from '../../../fixtures/mock_data/histogram/_rows'; -import stackedSeries from '../../../fixtures/mock_data/date_histogram/_stacked_series'; - -import { seriesMonthlyInterval } from '../../../fixtures/mock_data/date_histogram/_series_monthly_interval'; -import { rowsSeriesWithHoles } from '../../../fixtures/mock_data/date_histogram/_rows_series_with_holes'; -import rowsWithZeros from '../../../fixtures/mock_data/date_histogram/_rows'; -import { getMockUiState } from '../../../fixtures/mocks'; -import { getVis } from '../_vis_fixture'; - -// tuple, with the format [description, mode, data] -const dataTypesArray = [ - ['series', 'stacked', series], - ['series with positive and negative values', 'stacked', seriesPosNeg], - ['series with negative values', 'stacked', seriesNeg], - ['terms columns', 'grouped', termsColumns], - ['histogram rows', 'percentage', histogramRows], - ['stackedSeries', 'stacked', stackedSeries], -]; - -let mockedHTMLElementClientSizes; -let mockedSVGElementGetBBox; -let mockedSVGElementGetComputedTextLength; - -dataTypesArray.forEach(function (dataType) { - const name = dataType[0]; - const mode = dataType[1]; - const data = dataType[2]; - - describe('Vislib Column Chart Test Suite for ' + name + ' Data', function () { - let vis; - let mockUiState; - const vislibParams = { - type: 'histogram', - addLegend: true, - addTooltip: true, - mode: mode, - zeroFill: true, - grid: { - categoryLines: true, - valueAxis: 'ValueAxis-1', - }, - }; - - beforeAll(() => { - mockedHTMLElementClientSizes = setHTMLElementClientSizes(512, 512); - mockedSVGElementGetBBox = setSVGElementGetBBox(100); - mockedSVGElementGetComputedTextLength = setSVGElementGetComputedTextLength(100); - }); - - beforeEach(() => { - vis = getVis(vislibParams); - mockUiState = getMockUiState(); - vis.on('brush', _.noop); - vis.render(data, mockUiState); - }); - - afterEach(function () { - vis.destroy(); - }); - - afterAll(() => { - mockedHTMLElementClientSizes.mockRestore(); - mockedSVGElementGetBBox.mockRestore(); - mockedSVGElementGetComputedTextLength.mockRestore(); - }); - - describe('stackData method', function () { - let stackedData; - let isStacked; - - beforeEach(function () { - vis.handler.charts.forEach(function (chart) { - stackedData = chart.chartData; - - isStacked = stackedData.series.every(function (arr) { - return arr.values.every(function (d) { - return _.isNumber(d.y0); - }); - }); - }); - }); - - test('should stack values when mode is stacked', function () { - if (mode === 'stacked') { - expect(isStacked).toBe(true); - } - }); - - test('should stack values when mode is percentage', function () { - if (mode === 'percentage') { - expect(isStacked).toBe(true); - } - }); - }); - - describe('addBars method', function () { - test('should append rects', function () { - let numOfSeries; - let numOfValues; - let product; - - vis.handler.charts.forEach(function (chart) { - numOfSeries = chart.chartData.series.length; - numOfValues = chart.chartData.series[0].values.length; - product = numOfSeries * numOfValues; - expect($(chart.chartEl).find('.series rect')).toHaveLength(product); - }); - }); - }); - - describe('addBarEvents method', function () { - function checkChart(chart) { - const rect = $(chart.chartEl).find('.series rect').get(0); - - // check for existence of stuff and things - return { - click: !!rect.__onclick, - mouseOver: !!rect.__onmouseover, - // D3 brushing requires that a g element is appended that - // listens for mousedown events. This g element includes - // listeners, however, I was not able to test for the listener - // function being present. I will need to update this test - // in the future. - brush: !!d3.select('.brush')[0][0], - }; - } - - test('should attach the brush if data is a set is ordered', function () { - vis.handler.charts.forEach(function (chart) { - const has = checkChart(chart); - const ordered = vis.handler.data.get('ordered'); - const allowBrushing = Boolean(ordered); - expect(has.brush).toBe(allowBrushing); - }); - }); - - test('should attach a click event', function () { - vis.handler.charts.forEach(function (chart) { - const has = checkChart(chart); - expect(has.click).toBe(true); - }); - }); - - test('should attach a hover event', function () { - vis.handler.charts.forEach(function (chart) { - const has = checkChart(chart); - expect(has.mouseOver).toBe(true); - }); - }); - }); - - describe('draw method', function () { - test('should return a function', function () { - vis.handler.charts.forEach(function (chart) { - expect(_.isFunction(chart.draw())).toBe(true); - }); - }); - - test('should return a yMin and yMax', function () { - vis.handler.charts.forEach(function (chart) { - const yAxis = chart.handler.valueAxes[0]; - const domain = yAxis.getScale().domain(); - - expect(domain[0]).not.toBe(undefined); - expect(domain[1]).not.toBe(undefined); - }); - }); - - test('should render a zero axis line', function () { - vis.handler.charts.forEach(function (chart) { - const yAxis = chart.handler.valueAxes[0]; - - if (yAxis.yMin < 0 && yAxis.yMax > 0) { - expect($(chart.chartEl).find('line.zero-line').length).toBe(1); - } - }); - }); - }); - - describe('defaultYExtents is true', function () { - beforeEach(function () { - vis.visConfigArgs.defaultYExtents = true; - vis.render(data, mockUiState); - }); - - test('should return yAxis extents equal to data extents', function () { - vis.handler.charts.forEach(function (chart) { - const yAxis = chart.handler.valueAxes[0]; - const min = vis.handler.valueAxes[0].axisScale.getYMin(); - const max = vis.handler.valueAxes[0].axisScale.getYMax(); - const domain = yAxis.getScale().domain(); - expect(domain[0]).toEqual(min); - expect(domain[1]).toEqual(max); - }); - }); - }); - [0, 2, 4, 8].forEach(function (boundsMarginValue) { - describe('defaultYExtents is true and boundsMargin is defined', function () { - beforeEach(function () { - vis.visConfigArgs.defaultYExtents = true; - vis.visConfigArgs.boundsMargin = boundsMarginValue; - vis.render(data, mockUiState); - }); - - test('should return yAxis extents equal to data extents with boundsMargin', function () { - vis.handler.charts.forEach(function (chart) { - const yAxis = chart.handler.valueAxes[0]; - const min = vis.handler.valueAxes[0].axisScale.getYMin(); - const max = vis.handler.valueAxes[0].axisScale.getYMax(); - const domain = yAxis.getScale().domain(); - if (min < 0 && max < 0) { - expect(domain[0]).toEqual(min); - expect(domain[1] - boundsMarginValue).toEqual(max); - } else if (min > 0 && max > 0) { - expect(domain[0] + boundsMarginValue).toEqual(min); - expect(domain[1]).toEqual(max); - } else { - expect(domain[0]).toEqual(min); - expect(domain[1]).toEqual(max); - } - }); - }); - }); - }); - }); -}); - -describe('stackData method - data set with zeros in percentage mode', function () { - let vis; - let mockUiState; - const vislibParams = { - type: 'histogram', - addLegend: true, - addTooltip: true, - mode: 'percentage', - zeroFill: true, - }; - - beforeAll(() => { - mockedHTMLElementClientSizes = setHTMLElementClientSizes(512, 512); - mockedSVGElementGetBBox = setSVGElementGetBBox(100); - mockedSVGElementGetComputedTextLength = setSVGElementGetComputedTextLength(100); - }); - - beforeEach(() => { - vis = getVis(vislibParams); - mockUiState = getMockUiState(); - vis.on('brush', _.noop); - }); - - afterEach(function () { - vis.destroy(); - }); - - afterAll(() => { - mockedHTMLElementClientSizes.mockRestore(); - mockedSVGElementGetBBox.mockRestore(); - mockedSVGElementGetComputedTextLength.mockRestore(); - }); - - test('should not mutate the injected zeros', function () { - vis.render(seriesMonthlyInterval, mockUiState); - - expect(vis.handler.charts).toHaveLength(1); - const chart = vis.handler.charts[0]; - expect(chart.chartData.series).toHaveLength(1); - const series = chart.chartData.series[0].values; - // with the interval set in seriesMonthlyInterval data, the point at x=1454309600000 does not exist - const point = _.find(series, ['x', 1454309600000]); - expect(point).not.toBe(undefined); - expect(point.y).toBe(0); - }); - - test('should not mutate zeros that exist in the data', function () { - vis.render(rowsWithZeros, mockUiState); - - expect(vis.handler.charts).toHaveLength(2); - const chart = vis.handler.charts[0]; - expect(chart.chartData.series).toHaveLength(5); - const series = chart.chartData.series[0].values; - const point = _.find(series, ['x', 1415826240000]); - expect(point).not.toBe(undefined); - expect(point.y).toBe(0); - }); -}); - -describe('datumWidth - split chart data set with holes', function () { - let vis; - let mockUiState; - const vislibParams = { - type: 'histogram', - addLegend: true, - addTooltip: true, - mode: 'stacked', - zeroFill: true, - }; - - beforeAll(() => { - mockedHTMLElementClientSizes = setHTMLElementClientSizes(512, 512); - mockedSVGElementGetBBox = setSVGElementGetBBox(100); - mockedSVGElementGetComputedTextLength = setSVGElementGetComputedTextLength(100); - }); - - beforeEach(() => { - vis = getVis(vislibParams); - mockUiState = getMockUiState(); - vis.on('brush', _.noop); - vis.render(rowsSeriesWithHoles, mockUiState); - }); - - afterEach(function () { - vis.destroy(); - }); - - afterAll(() => { - mockedHTMLElementClientSizes.mockRestore(); - mockedSVGElementGetBBox.mockRestore(); - mockedSVGElementGetComputedTextLength.mockRestore(); - }); - - test('should not have bar widths that span multiple time bins', function () { - expect(vis.handler.charts.length).toEqual(1); - const chart = vis.handler.charts[0]; - const rects = $(chart.chartEl).find('.series rect'); - const MAX_WIDTH_IN_PIXELS = 27; - rects.each(function () { - const width = parseInt($(this).attr('width'), 10); - expect(width).toBeLessThan(MAX_WIDTH_IN_PIXELS); - }); - }); -}); - -describe('datumWidth - monthly interval', function () { - let vis; - let mockUiState; - const vislibParams = { - type: 'histogram', - addLegend: true, - addTooltip: true, - mode: 'stacked', - zeroFill: true, - }; - - let mockWidth; - - beforeAll(() => { - mockedHTMLElementClientSizes = setHTMLElementClientSizes(512, 512); - mockedSVGElementGetBBox = setSVGElementGetBBox(100); - mockedSVGElementGetComputedTextLength = setSVGElementGetComputedTextLength(100); - mockWidth = jest.spyOn($.prototype, 'width').mockReturnValue(900); - }); - - beforeEach(() => { - vis = getVis(vislibParams); - mockUiState = getMockUiState(); - vis.on('brush', _.noop); - vis.render(seriesMonthlyInterval, mockUiState); - }); - - afterEach(function () { - vis.destroy(); - }); - - afterAll(() => { - mockedHTMLElementClientSizes.mockRestore(); - mockedSVGElementGetBBox.mockRestore(); - mockedSVGElementGetComputedTextLength.mockRestore(); - mockWidth.mockRestore(); - }); - - test('should vary bar width when date histogram intervals are not equal', function () { - expect(vis.handler.charts.length).toEqual(1); - const chart = vis.handler.charts[0]; - const rects = $(chart.chartEl).find('.series rect'); - const januaryBarWidth = parseInt($(rects.get(0)).attr('width'), 10); - const februaryBarWidth = parseInt($(rects.get(1)).attr('width'), 10); - expect(februaryBarWidth).toBeLessThan(januaryBarWidth); - }); -}); diff --git a/src/plugins/vis_types/vislib/public/vislib/visualizations/point_series/line_chart.js b/src/plugins/vis_types/vislib/public/vislib/visualizations/point_series/line_chart.js deleted file mode 100644 index 4476574c940bc..0000000000000 --- a/src/plugins/vis_types/vislib/public/vislib/visualizations/point_series/line_chart.js +++ /dev/null @@ -1,230 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import d3 from 'd3'; -import _ from 'lodash'; -import { PointSeries } from './_point_series'; - -const defaults = { - mode: 'normal', - showCircles: true, - radiusRatio: 9, - showLines: true, - interpolate: 'linear', - lineWidth: 2, - color: undefined, - fillColor: undefined, -}; -/** - * Line Chart Visualization - * - * @class LineChart - * @constructor - * @extends Chart - * @param handler {Object} Reference to the Handler Class Constructor - * @param el {HTMLElement} HTML element to which the chart will be appended - * @param chartData {Object} Elasticsearch query results for this specific chart - */ -export class LineChart extends PointSeries { - constructor(handler, chartEl, chartData, seriesConfigArgs, uiSettings) { - super(handler, chartEl, chartData, seriesConfigArgs, uiSettings); - this.seriesConfig = _.defaults(seriesConfigArgs || {}, defaults); - } - - addCircles(svg, data) { - const self = this; - const showCircles = this.seriesConfig.showCircles; - const color = this.handler.data.getColorFunc(); - const xScale = this.getCategoryAxis().getScale(); - const yScale = this.getValueAxis().getScale(); - const ordered = this.handler.data.get('ordered'); - const tooltip = this.baseChart.tooltip; - const isTooltip = this.handler.visConfig.get('tooltip.show'); - const isHorizontal = this.getCategoryAxis().axisConfig.isHorizontal(); - const lineWidth = this.seriesConfig.lineWidth; - - const radii = this.baseChart.radii; - - const radiusStep = - (radii.max - radii.min || radii.max * 100) / Math.pow(this.seriesConfig.radiusRatio, 2); - - const layer = svg - .append('g') - .attr('class', 'points line') - .attr('clip-path', 'url(#' + this.baseChart.clipPathId + ')'); - - const circles = layer.selectAll('circle').data(function appendData() { - return data.values.filter(function (d) { - return !_.isNull(d.y) && (d.y || !d.y0); - }); - }); - - circles.exit().remove(); - - function cx(d) { - if (ordered && ordered.date) { - return xScale(d.x); - } - return xScale(d.x) + xScale.rangeBand() / 2; - } - - function cy(d) { - const y0 = d.y0 || 0; - const y = d.y || 0; - return yScale(y0 + y); - } - - function cColor() { - return color(data.label); - } - - function colorCircle() { - const parent = d3.select(this).node().parentNode; - const lengthOfParent = d3.select(parent).data()[0].length; - const isVisible = lengthOfParent === 1; - - // If only 1 point exists, show circle - if (!showCircles && !isVisible) return 'none'; - return cColor(); - } - - function getCircleRadiusFn(modifier) { - return function getCircleRadius(d) { - const width = self.baseChart.chartConfig.width; - const height = self.baseChart.chartConfig.height; - const circleRadius = (d.z - radii.min) / radiusStep; - const baseMagicNumber = 2; - - const base = circleRadius - ? Math.sqrt(circleRadius + baseMagicNumber) + lineWidth - : lineWidth; - return _.min([base, width, height]) + (modifier || 0); - }; - } - - circles - .enter() - .append('circle') - .attr('r', getCircleRadiusFn()) - .attr('fill-opacity', this.seriesConfig.drawLinesBetweenPoints ? 1 : 0.7) - .attr('cx', isHorizontal ? cx : cy) - .attr('cy', isHorizontal ? cy : cx) - .attr('class', 'circle-decoration') - .attr('data-label', data.label) - .attr('fill', colorCircle); - - circles - .enter() - .append('circle') - .attr('r', getCircleRadiusFn(10)) - .attr('cx', isHorizontal ? cx : cy) - .attr('cy', isHorizontal ? cy : cx) - .attr('fill', 'transparent') - .attr('class', 'circle') - .attr('data-label', data.label) - .attr('stroke', cColor) - .attr('stroke-width', 0); - - if (isTooltip) { - circles.call(tooltip.render()); - } - - return circles; - } - - /** - * Adds path to SVG - * - * @method addLines - * @param svg {HTMLElement} SVG to which path are appended - * @param data {Array} Array of object data points - * @returns {D3.UpdateSelection} SVG with paths added - */ - addLine(svg, data) { - const xScale = this.getCategoryAxis().getScale(); - const yScale = this.getValueAxis().getScale(); - const color = this.handler.data.getColorFunc(); - const ordered = this.handler.data.get('ordered'); - const lineWidth = this.seriesConfig.lineWidth; - const interpolate = this.seriesConfig.interpolate; - const isHorizontal = this.getCategoryAxis().axisConfig.isHorizontal(); - - const line = svg - .append('g') - .attr('class', 'pathgroup lines') - .attr('clip-path', 'url(#' + this.baseChart.clipPathId + ')'); - - function cx(d) { - if (ordered && ordered.date) { - return xScale(d.x); - } - return xScale(d.x) + xScale.rangeBand() / 2; - } - - function cy(d) { - const y = d.y || 0; - const y0 = d.y0 || 0; - return yScale(y0 + y); - } - - line - .append('path') - .attr('data-label', data.label) - .attr('d', () => { - const d3Line = d3.svg - .line() - .defined(function (d) { - return !_.isNull(d.y); - }) - .interpolate(interpolate) - .x(isHorizontal ? cx : cy) - .y(isHorizontal ? cy : cx); - return d3Line(data.values); - }) - .attr('fill', 'none') - .attr('stroke', () => { - return color(data.label); - }) - .attr('stroke-width', lineWidth); - - return line; - } - - /** - * Renders d3 visualization - * - * @method draw - * @returns {Function} Creates the line chart - */ - draw() { - const self = this; - - return function (selection) { - selection.each(function () { - const svg = self.chartEl.append('g'); - svg.data([self.chartData]); - - if (self.seriesConfig.drawLinesBetweenPoints) { - self.addLine(svg, self.chartData); - } - const circles = self.addCircles(svg, self.chartData); - self.addCircleEvents(circles); - - if (self.thresholdLineOptions.show) { - self.addThresholdLine(self.chartEl); - } - - self.events.emit('rendered', { - chart: self.chartData, - }); - - return svg; - }); - }; - } -} diff --git a/src/plugins/vis_types/vislib/public/vislib/visualizations/point_series/line_chart.test.js b/src/plugins/vis_types/vislib/public/vislib/visualizations/point_series/line_chart.test.js deleted file mode 100644 index f9843f1bc83a9..0000000000000 --- a/src/plugins/vis_types/vislib/public/vislib/visualizations/point_series/line_chart.test.js +++ /dev/null @@ -1,225 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import d3 from 'd3'; -import $ from 'jquery'; -import _ from 'lodash'; -import { - setHTMLElementClientSizes, - setSVGElementGetBBox, - setSVGElementGetComputedTextLength, -} from '@kbn/test/jest'; - -// Data -import seriesPos from '../../../fixtures/mock_data/date_histogram/_series'; -import seriesPosNeg from '../../../fixtures/mock_data/date_histogram/_series_pos_neg'; -import seriesNeg from '../../../fixtures/mock_data/date_histogram/_series_neg'; -import histogramColumns from '../../../fixtures/mock_data/histogram/_columns'; -import rangeRows from '../../../fixtures/mock_data/range/_rows'; -import termSeries from '../../../fixtures/mock_data/terms/_series'; -import { getMockUiState } from '../../../fixtures/mocks'; -import { getVis } from '../_vis_fixture'; - -const dataTypes = [ - ['series pos', seriesPos], - ['series pos neg', seriesPosNeg], - ['series neg', seriesNeg], - ['histogram columns', histogramColumns], - ['range rows', rangeRows], - ['term series', termSeries], -]; - -let mockedHTMLElementClientSizes; -let mockedSVGElementGetBBox; -let mockedSVGElementGetComputedTextLength; - -describe('Vislib Line Chart', function () { - beforeAll(() => { - mockedHTMLElementClientSizes = setHTMLElementClientSizes(512, 512); - mockedSVGElementGetBBox = setSVGElementGetBBox(100); - mockedSVGElementGetComputedTextLength = setSVGElementGetComputedTextLength(100); - }); - - afterAll(() => { - mockedHTMLElementClientSizes.mockRestore(); - mockedSVGElementGetBBox.mockRestore(); - mockedSVGElementGetComputedTextLength.mockRestore(); - }); - - dataTypes.forEach(function (type) { - const name = type[0]; - const data = type[1]; - - describe(name + ' Data', function () { - let vis; - let mockUiState; - - beforeEach(() => { - const vislibParams = { - type: 'line', - addLegend: true, - addTooltip: true, - drawLinesBetweenPoints: true, - }; - - vis = getVis(vislibParams); - mockUiState = getMockUiState(); - vis.render(data, mockUiState); - vis.on('brush', _.noop); - }); - - afterEach(function () { - vis.destroy(); - }); - - describe('addCircleEvents method', function () { - let circle; - let brush; - let d3selectedCircle; - let onBrush; - let onClick; - let onMouseOver; - - beforeEach(function () { - vis.handler.charts.forEach(function (chart) { - circle = $(chart.chartEl).find('.circle')[0]; - brush = $(chart.chartEl).find('.brush'); - d3selectedCircle = d3.select(circle)[0][0]; - - // d3 instance of click and hover - onBrush = !!brush; - onClick = !!d3selectedCircle.__onclick; - onMouseOver = !!d3selectedCircle.__onmouseover; - }); - }); - - // D3 brushing requires that a g element is appended that - // listens for mousedown events. This g element includes - // listeners, however, I was not able to test for the listener - // function being present. I will need to update this test - // in the future. - test('should attach a brush g element', function () { - vis.handler.charts.forEach(function () { - expect(onBrush).toBe(true); - }); - }); - - test('should attach a click event', function () { - vis.handler.charts.forEach(function () { - expect(onClick).toBe(true); - }); - }); - - test('should attach a hover event', function () { - vis.handler.charts.forEach(function () { - expect(onMouseOver).toBe(true); - }); - }); - }); - - describe('addCircles method', function () { - test('should append circles', function () { - vis.handler.charts.forEach(function (chart) { - expect($(chart.chartEl).find('circle').length).toBeGreaterThan(0); - }); - }); - }); - - describe('addLines method', function () { - test('should append a paths', function () { - vis.handler.charts.forEach(function (chart) { - expect($(chart.chartEl).find('path').length).toBeGreaterThan(0); - }); - }); - }); - - // Cannot seem to get these tests to work on the box - // They however pass in the browsers - //describe('addClipPath method', function () { - // test('should append a clipPath', function () { - // vis.handler.charts.forEach(function (chart) { - // expect($(chart.chartEl).find('clipPath').length).to.be(1); - // }); - // }); - //}); - - describe('draw method', function () { - test('should return a function', function () { - vis.handler.charts.forEach(function (chart) { - expect(chart.draw()).toBeInstanceOf(Function); - }); - }); - - test('should return a yMin and yMax', function () { - vis.handler.charts.forEach(function (chart) { - const yAxis = chart.handler.valueAxes[0]; - const domain = yAxis.getScale().domain(); - expect(domain[0]).not.toBe(undefined); - expect(domain[1]).not.toBe(undefined); - }); - }); - - test('should render a zero axis line', function () { - vis.handler.charts.forEach(function (chart) { - const yAxis = chart.handler.valueAxes[0]; - - if (yAxis.yMin < 0 && yAxis.yMax > 0) { - expect($(chart.chartEl).find('line.zero-line').length).toBe(1); - } - }); - }); - }); - - describe('defaultYExtents is true', function () { - beforeEach(function () { - vis.visConfigArgs.defaultYExtents = true; - vis.render(data, mockUiState); - }); - - test('should return yAxis extents equal to data extents', function () { - vis.handler.charts.forEach(function (chart) { - const yAxis = chart.handler.valueAxes[0]; - const min = vis.handler.valueAxes[0].axisScale.getYMin(); - const max = vis.handler.valueAxes[0].axisScale.getYMax(); - const domain = yAxis.getScale().domain(); - expect(domain[0]).toEqual(min); - expect(domain[1]).toEqual(max); - }); - }); - }); - [0, 2, 4, 8].forEach(function (boundsMarginValue) { - describe('defaultYExtents is true and boundsMargin is defined', function () { - beforeEach(function () { - vis.visConfigArgs.defaultYExtents = true; - vis.visConfigArgs.boundsMargin = boundsMarginValue; - vis.render(data, mockUiState); - }); - - test('should return yAxis extents equal to data extents with boundsMargin', function () { - vis.handler.charts.forEach(function (chart) { - const yAxis = chart.handler.valueAxes[0]; - const min = vis.handler.valueAxes[0].axisScale.getYMin(); - const max = vis.handler.valueAxes[0].axisScale.getYMax(); - const domain = yAxis.getScale().domain(); - if (min < 0 && max < 0) { - expect(domain[0]).toEqual(min); - expect(domain[1] - boundsMarginValue).toEqual(max); - } else if (min > 0 && max > 0) { - expect(domain[0] + boundsMarginValue).toEqual(min); - expect(domain[1]).toEqual(max); - } else { - expect(domain[0]).toEqual(min); - expect(domain[1]).toEqual(max); - } - }); - }); - }); - }); - }); - }); -}); diff --git a/src/plugins/vis_types/vislib/public/vislib/visualizations/point_series/series_types.js b/src/plugins/vis_types/vislib/public/vislib/visualizations/point_series/series_types.js deleted file mode 100644 index 6a87f7e32758a..0000000000000 --- a/src/plugins/vis_types/vislib/public/vislib/visualizations/point_series/series_types.js +++ /dev/null @@ -1,19 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { ColumnChart } from './column_chart'; -import { LineChart } from './line_chart'; -import { AreaChart } from './area_chart'; -import { HeatmapChart } from './heatmap_chart'; - -export const seriesTypes = { - histogram: ColumnChart, - line: LineChart, - area: AreaChart, - heatmap: HeatmapChart, -}; diff --git a/src/plugins/vis_types/xy/common/index.ts b/src/plugins/vis_types/xy/common/index.ts index a80946f7c62fa..f17bc8476d9a6 100644 --- a/src/plugins/vis_types/xy/common/index.ts +++ b/src/plugins/vis_types/xy/common/index.ts @@ -19,5 +19,3 @@ export enum ChartType { * Type of xy visualizations */ export type XyVisType = ChartType | 'horizontal_bar'; - -export const LEGACY_CHARTS_LIBRARY = 'visualization:visualize:legacyChartsLibrary'; diff --git a/src/plugins/vis_types/xy/jest.config.js b/src/plugins/vis_types/xy/jest.config.js index 57b041b575e3f..4cdb8f44012c7 100644 --- a/src/plugins/vis_types/xy/jest.config.js +++ b/src/plugins/vis_types/xy/jest.config.js @@ -10,4 +10,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../../..', roots: ['/src/plugins/vis_types/xy'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/vis_types/xy', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/src/plugins/vis_types/xy/{common,public,server}/**/*.{ts,tsx}'], }; diff --git a/src/plugins/vis_types/xy/kibana.json b/src/plugins/vis_types/xy/kibana.json index 1606af5944ad3..1666a346e3482 100644 --- a/src/plugins/vis_types/xy/kibana.json +++ b/src/plugins/vis_types/xy/kibana.json @@ -2,7 +2,7 @@ "id": "visTypeXy", "version": "kibana", "ui": true, - "server": true, + "server": false, "requiredPlugins": ["charts", "data", "expressions", "visualizations", "usageCollection"], "requiredBundles": ["kibanaUtils", "visDefaultEditor"], "extraPublicDirs": ["common/index"], diff --git a/src/plugins/vis_types/xy/public/editor/common_config.tsx b/src/plugins/vis_types/xy/public/editor/common_config.tsx index bd9882a15c124..6c071969f0cd8 100644 --- a/src/plugins/vis_types/xy/public/editor/common_config.tsx +++ b/src/plugins/vis_types/xy/public/editor/common_config.tsx @@ -15,37 +15,23 @@ import type { VisParams } from '../types'; import { MetricsAxisOptions, PointSeriesOptions } from './components/options'; import { ValidationWrapper } from './components/common/validation_wrapper'; -export function getOptionTabs(showElasticChartsOptions = false) { - return [ - { - name: 'advanced', - title: i18n.translate('visTypeXy.area.tabs.metricsAxesTitle', { - defaultMessage: 'Metrics & axes', - }), - editor: (props: VisEditorOptionsProps) => ( - - ), - }, - { - name: 'options', - title: i18n.translate('visTypeXy.area.tabs.panelSettingsTitle', { - defaultMessage: 'Panel settings', - }), - editor: (props: VisEditorOptionsProps) => ( - - ), - }, - ]; -} +export const optionTabs = [ + { + name: 'advanced', + title: i18n.translate('visTypeXy.area.tabs.metricsAxesTitle', { + defaultMessage: 'Metrics & axes', + }), + editor: (props: VisEditorOptionsProps) => ( + + ), + }, + { + name: 'options', + title: i18n.translate('visTypeXy.area.tabs.panelSettingsTitle', { + defaultMessage: 'Panel settings', + }), + editor: (props: VisEditorOptionsProps) => ( + + ), + }, +]; diff --git a/src/plugins/vis_types/xy/public/editor/components/common/validation_wrapper.tsx b/src/plugins/vis_types/xy/public/editor/components/common/validation_wrapper.tsx index 2088878f963ae..4d50dcd20228f 100644 --- a/src/plugins/vis_types/xy/public/editor/components/common/validation_wrapper.tsx +++ b/src/plugins/vis_types/xy/public/editor/components/common/validation_wrapper.tsx @@ -10,24 +10,22 @@ import React, { useEffect, useState, useCallback } from 'react'; import { VisEditorOptionsProps } from '../../../../../../visualizations/public'; -export interface ValidationVisOptionsProps extends VisEditorOptionsProps { +export interface ValidationVisOptionsProps extends VisEditorOptionsProps { setMultipleValidity(paramName: string, isValid: boolean): void; - extraProps?: E; } -interface ValidationWrapperProps extends VisEditorOptionsProps { - component: React.ComponentType>; - extraProps?: E; +interface ValidationWrapperProps extends VisEditorOptionsProps { + component: React.ComponentType>; } interface Item { isValid: boolean; } -function ValidationWrapper({ +function ValidationWrapper({ component: Component, ...rest -}: ValidationWrapperProps) { +}: ValidationWrapperProps) { const [panelState, setPanelState] = useState({} as { [key: string]: Item }); const isPanelValid = Object.values(panelState).every((item) => item.isValid); const { setValidity } = rest; diff --git a/src/plugins/vis_types/xy/public/editor/components/options/index.tsx b/src/plugins/vis_types/xy/public/editor/components/options/index.tsx index a3e20dd22dd5a..4e7d0e6412cb2 100644 --- a/src/plugins/vis_types/xy/public/editor/components/options/index.tsx +++ b/src/plugins/vis_types/xy/public/editor/components/options/index.tsx @@ -14,20 +14,10 @@ import { ValidationVisOptionsProps } from '../common'; const PointSeriesOptionsLazy = lazy(() => import('./point_series')); const MetricsAxisOptionsLazy = lazy(() => import('./metrics_axes')); -export const PointSeriesOptions = ( - props: ValidationVisOptionsProps< - VisParams, - { - showElasticChartsOptions: boolean; - } - > -) => ; +export const PointSeriesOptions = (props: ValidationVisOptionsProps) => ( + +); -export const MetricsAxisOptions = ( - props: ValidationVisOptionsProps< - VisParams, - { - showElasticChartsOptions: boolean; - } - > -) => ; +export const MetricsAxisOptions = (props: ValidationVisOptionsProps) => ( + +); diff --git a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/index.test.tsx.snap b/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/index.test.tsx.snap index fa049199a55b6..05e2532073eaf 100644 --- a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/index.test.tsx.snap +++ b/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/__snapshots__/index.test.tsx.snap @@ -75,7 +75,6 @@ exports[`MetricsAxisOptions component should init with the default set of props /> @@ -70,6 +72,7 @@ exports[`ValueAxesPanel component should init with the default set of props 1`] @@ -179,6 +182,7 @@ exports[`ValueAxesPanel component should init with the default set of props 1`] ({ describe('MetricsAxisOptions component', () => { let setValue: jest.Mock; - let defaultProps: ValidationVisOptionsProps< - VisParams, - { - showElasticChartsOptions: boolean; - } - >; + let defaultProps: ValidationVisOptionsProps; let axis: ValueAxis; let axisRight: ValueAxis; let chart: SeriesParam; @@ -86,9 +81,6 @@ describe('MetricsAxisOptions component', () => { defaultProps = { aggs: createAggs([aggCount]), isTabSelected: true, - extraProps: { - showElasticChartsOptions: false, - }, vis: { type: { type: ChartType.Area, @@ -244,12 +236,7 @@ describe('MetricsAxisOptions component', () => { const getProps = ( valuePosition1: Position = Position.Right, valuePosition2: Position = Position.Left - ): ValidationVisOptionsProps< - VisParams, - { - showElasticChartsOptions: boolean; - } - > => ({ + ): ValidationVisOptionsProps => ({ ...defaultProps, stateParams: { ...defaultProps.stateParams, @@ -387,12 +374,7 @@ describe('MetricsAxisOptions component', () => { describe('onCategoryAxisPositionChanged', () => { const getProps = ( position: Position = Position.Bottom - ): ValidationVisOptionsProps< - VisParams, - { - showElasticChartsOptions: boolean; - } - > => ({ + ): ValidationVisOptionsProps => ({ ...defaultProps, stateParams: { ...defaultProps.stateParams, diff --git a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/index.tsx b/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/index.tsx index 9b4e1c61a201f..c3eb659435b2d 100644 --- a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/index.tsx +++ b/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/index.tsx @@ -43,17 +43,8 @@ export type ChangeValueAxis = ( const VALUE_AXIS_PREFIX = 'ValueAxis-'; -function MetricsAxisOptions( - props: ValidationVisOptionsProps< - VisParams, - { - // TODO: Remove when vis_type_vislib is removed - // https://github.com/elastic/kibana/issues/56143 - showElasticChartsOptions: boolean; - } - > -) { - const { stateParams, setValue, aggs, vis, isTabSelected, extraProps } = props; +function MetricsAxisOptions(props: ValidationVisOptionsProps) { + const { stateParams, setValue, aggs, vis, isTabSelected } = props; const setParamByIndex: SetParamByIndex = useCallback( (axesName, index, paramName, value) => { @@ -335,7 +326,6 @@ function MetricsAxisOptions( setMultipleValidity={props.setMultipleValidity} seriesParams={stateParams.seriesParams} valueAxes={stateParams.valueAxes} - isNewLibrary={extraProps?.showElasticChartsOptions} /> void; - isNewLibrary?: boolean; } function ValueAxesPanel(props: ValueAxesPanelProps) { @@ -150,7 +149,6 @@ function ValueAxesPanel(props: ValueAxesPanelProps) { onValueAxisPositionChanged={props.onValueAxisPositionChanged} setParamByIndex={props.setParamByIndex} setMultipleValidity={props.setMultipleValidity} - isNewLibrary={props.isNewLibrary ?? false} /> diff --git a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/value_axis_options.tsx b/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/value_axis_options.tsx index 751c61f3b1531..aa20eb84222bd 100644 --- a/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/value_axis_options.tsx +++ b/src/plugins/vis_types/xy/public/editor/components/options/metrics_axes/value_axis_options.tsx @@ -36,7 +36,6 @@ export interface ValueAxisOptionsParams { setParamByIndex: SetParamByIndex; valueAxis: ValueAxis; setMultipleValidity: (paramName: string, isValid: boolean) => void; - isNewLibrary?: boolean; } export function ValueAxisOptions({ @@ -46,7 +45,6 @@ export function ValueAxisOptions({ onValueAxisPositionChanged, setParamByIndex, setMultipleValidity, - isNewLibrary = false, }: ValueAxisOptionsParams) { const setValueAxis = useCallback( (paramName: T, value: ValueAxis[T]) => @@ -193,7 +191,7 @@ export function ValueAxisOptions({ setMultipleValidity={setMultipleValidity} setValueAxisScale={setValueAxisScale} setValueAxis={setValueAxis} - disableAxisExtents={isNewLibrary && axis.scale.mode === 'percentage'} + disableAxisExtents={axis.scale.mode === 'percentage'} /> diff --git a/src/plugins/vis_types/xy/public/editor/components/options/point_series/grid_panel.tsx b/src/plugins/vis_types/xy/public/editor/components/options/point_series/grid_panel.tsx index 0bf5344ac7f26..c536d2866b8da 100644 --- a/src/plugins/vis_types/xy/public/editor/components/options/point_series/grid_panel.tsx +++ b/src/plugins/vis_types/xy/public/editor/components/options/point_series/grid_panel.tsx @@ -6,7 +6,7 @@ * Side Public License, v 1. */ -import React, { useMemo, useEffect, useCallback } from 'react'; +import React, { useMemo, useCallback } from 'react'; import { i18n } from '@kbn/i18n'; import { FormattedMessage } from '@kbn/i18n/react'; @@ -16,25 +16,15 @@ import { SelectOption, SwitchOption } from '../../../../../../../vis_default_edi import { VisParams, ValueAxis } from '../../../../types'; import { ValidationVisOptionsProps } from '../../common'; -type GridPanelOptions = ValidationVisOptionsProps< - VisParams, - { - showElasticChartsOptions: boolean; - } ->; +type GridPanelOptions = ValidationVisOptionsProps; -function GridPanel({ stateParams, setValue, hasHistogramAgg, extraProps }: GridPanelOptions) { +function GridPanel({ stateParams, setValue }: GridPanelOptions) { const setGrid = useCallback( (paramName: T, value: VisParams['grid'][T]) => setValue('grid', { ...stateParams.grid, [paramName]: value }), [stateParams.grid, setValue] ); - const disableCategoryGridLines = useMemo( - () => !extraProps?.showElasticChartsOptions && hasHistogramAgg, - [extraProps?.showElasticChartsOptions, hasHistogramAgg] - ); - const options = useMemo( () => [ ...stateParams.valueAxes.map(({ id, name }: ValueAxis) => ({ @@ -51,12 +41,6 @@ function GridPanel({ stateParams, setValue, hasHistogramAgg, extraProps }: GridP [stateParams.valueAxes] ); - useEffect(() => { - if (disableCategoryGridLines) { - setGrid('categoryLines', false); - } - }, [disableCategoryGridLines, setGrid]); - return ( @@ -71,18 +55,10 @@ function GridPanel({ stateParams, setValue, hasHistogramAgg, extraProps }: GridP { + it('renders the detailedTooltip option', async () => { component = mountWithIntl(); - await act(async () => { - expect(findTestSubject(component, 'detailedTooltip').length).toBe(0); - }); - }); - - it('renders the editor options that are specific for the es charts implementation if showElasticChartsOptions is true', async () => { - const newVisProps = ({ - ...props, - extraProps: { - showElasticChartsOptions: true, - }, - } as unknown) as PointSeriesOptionsProps; - component = mountWithIntl(); await act(async () => { expect(findTestSubject(component, 'detailedTooltip').length).toBe(1); }); }); - it('not renders the long legend options if showElasticChartsOptions is false', async () => { + it('renders the long legend options', async () => { component = mountWithIntl(); - await act(async () => { - expect(findTestSubject(component, 'xyLongLegendsOptions').length).toBe(0); - }); - }); - - it('renders the long legend options if showElasticChartsOptions is true', async () => { - const newVisProps = ({ - ...props, - extraProps: { - showElasticChartsOptions: true, - }, - } as unknown) as PointSeriesOptionsProps; - component = mountWithIntl(); await act(async () => { expect(findTestSubject(component, 'xyLongLegendsOptions').length).toBe(1); }); }); it('not renders the fitting function for a bar chart', async () => { - const newVisProps = ({ - ...props, - extraProps: { - showElasticChartsOptions: true, - }, - } as unknown) as PointSeriesOptionsProps; - component = mountWithIntl(); + component = mountWithIntl(); await act(async () => { expect(findTestSubject(component, 'fittingFunction').length).toBe(0); }); @@ -142,9 +107,6 @@ describe('PointSeries Editor', function () { const newVisProps = ({ ...props, stateParams: getStateParams(ChartType.Line, false), - extraProps: { - showElasticChartsOptions: true, - }, } as unknown) as PointSeriesOptionsProps; component = mountWithIntl(); await act(async () => { @@ -153,13 +115,7 @@ describe('PointSeries Editor', function () { }); it('renders the showCategoryLines switch', async () => { - const newVisProps = ({ - ...props, - extraProps: { - showElasticChartsOptions: true, - }, - } as unknown) as PointSeriesOptionsProps; - component = mountWithIntl(); + component = mountWithIntl(); await act(async () => { expect(findTestSubject(component, 'showValuesOnChart').length).toBe(1); }); diff --git a/src/plugins/vis_types/xy/public/editor/components/options/point_series/point_series.tsx b/src/plugins/vis_types/xy/public/editor/components/options/point_series/point_series.tsx index da7bdfb0d7986..62dbd94c516d7 100644 --- a/src/plugins/vis_types/xy/public/editor/components/options/point_series/point_series.tsx +++ b/src/plugins/vis_types/xy/public/editor/components/options/point_series/point_series.tsx @@ -28,16 +28,7 @@ import { getPositions } from '../../../collections'; const legendPositions = getPositions(); -export function PointSeriesOptions( - props: ValidationVisOptionsProps< - VisParams, - { - // TODO: Remove when vis_type_vislib is removed - // https://github.com/elastic/kibana/issues/56143 - showElasticChartsOptions: boolean; - } - > -) { +export function PointSeriesOptions(props: ValidationVisOptionsProps) { const { stateParams, setValue, vis, aggs } = props; const hasBarChart = useMemo( () => @@ -62,14 +53,12 @@ export function PointSeriesOptions( - {props.extraProps?.showElasticChartsOptions && ( - - )} + {vis.data.aggs!.aggs.some( (agg) => agg.schema === 'segment' && agg.type.name === BUCKET_TYPES.DATE_HISTOGRAM @@ -109,7 +98,7 @@ export function PointSeriesOptions( /> )} - {props.extraProps?.showElasticChartsOptions && } + diff --git a/src/plugins/vis_types/xy/public/index.ts b/src/plugins/vis_types/xy/public/index.ts index 0953183fa1093..1ee96fab35253 100644 --- a/src/plugins/vis_types/xy/public/index.ts +++ b/src/plugins/vis_types/xy/public/index.ts @@ -30,7 +30,6 @@ export type { ValidationVisOptionsProps } from './editor/components/common/valid export { TruncateLabelsOption } from './editor/components/common/truncate_labels'; export { getPositions } from './editor/positions'; export { getScaleTypes } from './editor/scale_types'; -export { xyVisTypes } from './vis_types'; export { getAggId } from './config/get_agg_id'; // Export common types diff --git a/src/plugins/vis_types/xy/public/plugin.ts b/src/plugins/vis_types/xy/public/plugin.ts index 57736444f49fe..600e78b5b3949 100644 --- a/src/plugins/vis_types/xy/public/plugin.ts +++ b/src/plugins/vis_types/xy/public/plugin.ts @@ -24,7 +24,6 @@ import { } from './services'; import { visTypesDefinitions } from './vis_types'; -import { LEGACY_CHARTS_LIBRARY } from '../common/'; import { xyVisRenderer } from './vis_renderer'; import * as expressionFunctions from './expression_functions'; @@ -65,23 +64,21 @@ export class VisTypeXyPlugin core: VisTypeXyCoreSetup, { expressions, visualizations, charts, usageCollection }: VisTypeXyPluginSetupDependencies ) { - if (!core.uiSettings.get(LEGACY_CHARTS_LIBRARY, false)) { - setUISettings(core.uiSettings); - setThemeService(charts.theme); - setPalettesService(charts.palettes); + setUISettings(core.uiSettings); + setThemeService(charts.theme); + setPalettesService(charts.palettes); - expressions.registerRenderer(xyVisRenderer); - expressions.registerFunction(expressionFunctions.visTypeXyVisFn); - expressions.registerFunction(expressionFunctions.categoryAxis); - expressions.registerFunction(expressionFunctions.timeMarker); - expressions.registerFunction(expressionFunctions.valueAxis); - expressions.registerFunction(expressionFunctions.seriesParam); - expressions.registerFunction(expressionFunctions.thresholdLine); - expressions.registerFunction(expressionFunctions.label); - expressions.registerFunction(expressionFunctions.visScale); + expressions.registerRenderer(xyVisRenderer); + expressions.registerFunction(expressionFunctions.visTypeXyVisFn); + expressions.registerFunction(expressionFunctions.categoryAxis); + expressions.registerFunction(expressionFunctions.timeMarker); + expressions.registerFunction(expressionFunctions.valueAxis); + expressions.registerFunction(expressionFunctions.seriesParam); + expressions.registerFunction(expressionFunctions.thresholdLine); + expressions.registerFunction(expressionFunctions.label); + expressions.registerFunction(expressionFunctions.visScale); - visTypesDefinitions.forEach(visualizations.createBaseVisualization); - } + visTypesDefinitions.forEach(visualizations.createBaseVisualization); setTrackUiMetric(usageCollection?.reportUiCounter.bind(usageCollection, 'vis_type_xy')); diff --git a/src/plugins/vis_types/xy/public/utils/accessors.tsx b/src/plugins/vis_types/xy/public/utils/accessors.tsx index 0356e921a9d5c..748430e3b16a6 100644 --- a/src/plugins/vis_types/xy/public/utils/accessors.tsx +++ b/src/plugins/vis_types/xy/public/utils/accessors.tsx @@ -13,6 +13,7 @@ import { Aspect } from '../types'; export const COMPLEX_X_ACCESSOR = '__customXAccessor__'; export const COMPLEX_SPLIT_ACCESSOR = '__complexSplitAccessor__'; +const SHARD_DELAY = 'shard_delay'; export const getXAccessor = (aspect: Aspect): Accessor | AccessorFn => { return ( @@ -39,7 +40,7 @@ export const getComplexAccessor = (fieldName: string, isComplex: boolean = false aspect: Aspect, index?: number ): Accessor | AccessorFn | undefined => { - if (!aspect.accessor) { + if (!aspect.accessor || aspect.aggType === SHARD_DELAY) { return; } diff --git a/src/plugins/vis_types/xy/public/vis_types/area.ts b/src/plugins/vis_types/xy/public/vis_types/area.ts index b377fd54753da..6ba197ceb9424 100644 --- a/src/plugins/vis_types/xy/public/vis_types/area.ts +++ b/src/plugins/vis_types/xy/public/vis_types/area.ts @@ -22,15 +22,12 @@ import { AxisMode, ThresholdLineStyle, InterpolationMode, - XyVisTypeDefinition, } from '../types'; import { toExpressionAst } from '../to_ast'; import { ChartType } from '../../common'; -import { getOptionTabs } from '../editor/common_config'; +import { optionTabs } from '../editor/common_config'; -export const getAreaVisTypeDefinition = ( - showElasticChartsOptions = false -): XyVisTypeDefinition => ({ +export const areaVisTypeDefinition = { name: 'area', title: i18n.translate('visTypeXy.area.areaTitle', { defaultMessage: 'Area' }), icon: 'visArea', @@ -128,7 +125,7 @@ export const getAreaVisTypeDefinition = ( }, }, editorConfig: { - optionTabs: getOptionTabs(showElasticChartsOptions), + optionTabs, schemas: [ { group: AggGroupNames.Metrics, @@ -183,4 +180,4 @@ export const getAreaVisTypeDefinition = ( ], }, requiresSearch: true, -}); +}; diff --git a/src/plugins/vis_types/xy/public/vis_types/histogram.ts b/src/plugins/vis_types/xy/public/vis_types/histogram.ts index 2d22b7566175c..bd549615fe7fd 100644 --- a/src/plugins/vis_types/xy/public/vis_types/histogram.ts +++ b/src/plugins/vis_types/xy/public/vis_types/histogram.ts @@ -20,17 +20,14 @@ import { ScaleType, AxisMode, ThresholdLineStyle, - XyVisTypeDefinition, InterpolationMode, } from '../types'; import { toExpressionAst } from '../to_ast'; import { ChartType } from '../../common'; -import { getOptionTabs } from '../editor/common_config'; +import { optionTabs } from '../editor/common_config'; import { defaultCountLabel, LabelRotation } from '../../../../charts/public'; -export const getHistogramVisTypeDefinition = ( - showElasticChartsOptions = false -): XyVisTypeDefinition => ({ +export const histogramVisTypeDefinition = { name: 'histogram', title: i18n.translate('visTypeXy.histogram.histogramTitle', { defaultMessage: 'Vertical bar', @@ -131,7 +128,7 @@ export const getHistogramVisTypeDefinition = ( }, }, editorConfig: { - optionTabs: getOptionTabs(showElasticChartsOptions), + optionTabs, schemas: [ { group: AggGroupNames.Metrics, @@ -186,4 +183,4 @@ export const getHistogramVisTypeDefinition = ( ], }, requiresSearch: true, -}); +}; diff --git a/src/plugins/vis_types/xy/public/vis_types/horizontal_bar.ts b/src/plugins/vis_types/xy/public/vis_types/horizontal_bar.ts index 8916f3f94f6ff..5bd45fc2eb7a8 100644 --- a/src/plugins/vis_types/xy/public/vis_types/horizontal_bar.ts +++ b/src/plugins/vis_types/xy/public/vis_types/horizontal_bar.ts @@ -20,17 +20,14 @@ import { ScaleType, AxisMode, ThresholdLineStyle, - XyVisTypeDefinition, InterpolationMode, } from '../types'; import { toExpressionAst } from '../to_ast'; import { ChartType } from '../../common'; -import { getOptionTabs } from '../editor/common_config'; +import { optionTabs } from '../editor/common_config'; import { defaultCountLabel, LabelRotation } from '../../../../charts/public'; -export const getHorizontalBarVisTypeDefinition = ( - showElasticChartsOptions = false -): XyVisTypeDefinition => ({ +export const horizontalBarVisTypeDefinition = { name: 'horizontal_bar', title: i18n.translate('visTypeXy.horizontalBar.horizontalBarTitle', { defaultMessage: 'Horizontal bar', @@ -130,7 +127,7 @@ export const getHorizontalBarVisTypeDefinition = ( }, }, editorConfig: { - optionTabs: getOptionTabs(showElasticChartsOptions), + optionTabs, schemas: [ { group: AggGroupNames.Metrics, @@ -185,4 +182,4 @@ export const getHorizontalBarVisTypeDefinition = ( ], }, requiresSearch: true, -}); +}; diff --git a/src/plugins/vis_types/xy/public/vis_types/index.ts b/src/plugins/vis_types/xy/public/vis_types/index.ts index a8dae74eb110c..93c973b5316c9 100644 --- a/src/plugins/vis_types/xy/public/vis_types/index.ts +++ b/src/plugins/vis_types/xy/public/vis_types/index.ts @@ -6,27 +6,14 @@ * Side Public License, v 1. */ -import { getAreaVisTypeDefinition } from './area'; -import { getLineVisTypeDefinition } from './line'; -import { getHistogramVisTypeDefinition } from './histogram'; -import { getHorizontalBarVisTypeDefinition } from './horizontal_bar'; -import { XyVisTypeDefinition } from '../types'; +import { areaVisTypeDefinition } from './area'; +import { lineVisTypeDefinition } from './line'; +import { histogramVisTypeDefinition } from './histogram'; +import { horizontalBarVisTypeDefinition } from './horizontal_bar'; export const visTypesDefinitions = [ - getAreaVisTypeDefinition(true), - getLineVisTypeDefinition(true), - getHistogramVisTypeDefinition(true), - getHorizontalBarVisTypeDefinition(true), + areaVisTypeDefinition, + lineVisTypeDefinition, + histogramVisTypeDefinition, + horizontalBarVisTypeDefinition, ]; - -// TODO: Remove when vis_type_vislib is removed -// https://github.com/elastic/kibana/issues/56143 -export const xyVisTypes: Record< - string, - (showElasticChartsOptions?: boolean) => XyVisTypeDefinition -> = { - area: getAreaVisTypeDefinition, - line: getLineVisTypeDefinition, - histogram: getHistogramVisTypeDefinition, - horizontalBar: getHorizontalBarVisTypeDefinition, -}; diff --git a/src/plugins/vis_types/xy/public/vis_types/line.ts b/src/plugins/vis_types/xy/public/vis_types/line.ts index af75c38d627df..747de1679c7c5 100644 --- a/src/plugins/vis_types/xy/public/vis_types/line.ts +++ b/src/plugins/vis_types/xy/public/vis_types/line.ts @@ -22,15 +22,12 @@ import { AxisMode, ThresholdLineStyle, InterpolationMode, - XyVisTypeDefinition, } from '../types'; import { toExpressionAst } from '../to_ast'; import { ChartType } from '../../common'; -import { getOptionTabs } from '../editor/common_config'; +import { optionTabs } from '../editor/common_config'; -export const getLineVisTypeDefinition = ( - showElasticChartsOptions = false -): XyVisTypeDefinition => ({ +export const lineVisTypeDefinition = { name: 'line', title: i18n.translate('visTypeXy.line.lineTitle', { defaultMessage: 'Line' }), icon: 'visLine', @@ -128,7 +125,7 @@ export const getLineVisTypeDefinition = ( }, }, editorConfig: { - optionTabs: getOptionTabs(showElasticChartsOptions), + optionTabs, schemas: [ { group: AggGroupNames.Metrics, @@ -177,4 +174,4 @@ export const getLineVisTypeDefinition = ( ], }, requiresSearch: true, -}); +}; diff --git a/src/plugins/vis_types/xy/server/plugin.ts b/src/plugins/vis_types/xy/server/plugin.ts deleted file mode 100644 index 46d6531204c24..0000000000000 --- a/src/plugins/vis_types/xy/server/plugin.ts +++ /dev/null @@ -1,56 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import { i18n } from '@kbn/i18n'; -import { schema } from '@kbn/config-schema'; - -import { CoreSetup, Plugin, UiSettingsParams } from 'kibana/server'; - -import { LEGACY_CHARTS_LIBRARY } from '../common'; - -export const getUiSettingsConfig: () => Record> = () => ({ - // TODO: Remove this when vis_type_vislib is removed - // https://github.com/elastic/kibana/issues/56143 - [LEGACY_CHARTS_LIBRARY]: { - name: i18n.translate('visTypeXy.advancedSettings.visualization.legacyChartsLibrary.name', { - defaultMessage: 'XY axis legacy charts library', - }), - requiresPageReload: true, - value: false, - description: i18n.translate( - 'visTypeXy.advancedSettings.visualization.legacyChartsLibrary.description', - { - defaultMessage: 'Enables legacy charts library for area, line and bar charts in visualize.', - } - ), - deprecation: { - message: i18n.translate( - 'visTypeXy.advancedSettings.visualization.legacyChartsLibrary.deprecation', - { - defaultMessage: - 'The legacy charts library for area, line and bar charts in visualize is deprecated and will not be supported as of 7.16.', - } - ), - docLinksKey: 'visualizationSettings', - }, - category: ['visualization'], - schema: schema.boolean(), - }, -}); - -export class VisTypeXyServerPlugin implements Plugin { - public setup(core: CoreSetup) { - core.uiSettings.register(getUiSettingsConfig()); - - return {}; - } - - public start() { - return {}; - } -} diff --git a/src/plugins/visualizations/jest.config.js b/src/plugins/visualizations/jest.config.js index 250bdc44e4de5..450e30a1de24d 100644 --- a/src/plugins/visualizations/jest.config.js +++ b/src/plugins/visualizations/jest.config.js @@ -10,4 +10,9 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/visualizations'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/visualizations', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/src/plugins/visualizations/{common,public,server}/**/*.{js,ts,tsx}', + ], }; diff --git a/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts b/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts index 78230a8961967..637334067b513 100644 --- a/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts +++ b/src/plugins/visualizations/public/embeddable/visualize_embeddable.ts @@ -340,14 +340,6 @@ export class VisualizeEmbeddable data: { timeFieldName: this.vis.data.indexPattern?.timeFieldName!, ...event.data }, }; } - // do not trigger the filter click event if the filter bar is not visible - if ( - triggerId === VIS_EVENT_TO_TRIGGER.filter && - !this.input.id && - !this.vis.type.options.showFilterBar - ) { - return; - } getUiActions().getTrigger(triggerId).exec(context); } diff --git a/src/plugins/visualize/jest.config.js b/src/plugins/visualize/jest.config.js index 22a9ffa161253..11ea368f57d25 100644 --- a/src/plugins/visualize/jest.config.js +++ b/src/plugins/visualize/jest.config.js @@ -10,4 +10,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/src/plugins/visualize'], + coverageDirectory: '/target/kibana-coverage/jest/src/plugins/visualize', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/src/plugins/visualize/{common,public,server}/**/*.{ts,tsx}'], }; diff --git a/src/plugins/visualize/public/application/components/deprecation_vis_warning.tsx b/src/plugins/visualize/public/application/components/deprecation_vis_warning.tsx deleted file mode 100644 index 6389f52996926..0000000000000 --- a/src/plugins/visualize/public/application/components/deprecation_vis_warning.tsx +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import React from 'react'; -import { FormattedMessage } from '@kbn/i18n/react'; -import { EuiCallOut, EuiLink } from '@elastic/eui'; -import { useKibana } from '../../../../kibana_react/public'; -import { VisualizeServices } from '../types'; - -export const LEGACY_CHARTS_LIBRARY = 'visualization:visualize:legacyChartsLibrary'; - -export const DeprecationWarning = () => { - const { services } = useKibana(); - const canEditAdvancedSettings = services.application.capabilities.advancedSettings.save; - const advancedSettingsLink = services.application.getUrlForApp('management', { - path: `/kibana/settings?query=${LEGACY_CHARTS_LIBRARY}`, - }); - - return ( - - {canEditAdvancedSettings && ( - - - - ), - }} - /> - )} - {!canEditAdvancedSettings && ( - - )} - - ), - }} - /> - } - iconType="alert" - color="warning" - size="s" - /> - ); -}; diff --git a/src/plugins/visualize/public/application/components/visualize_editor_common.tsx b/src/plugins/visualize/public/application/components/visualize_editor_common.tsx index 22f635460c353..a03073e61f59c 100644 --- a/src/plugins/visualize/public/application/components/visualize_editor_common.tsx +++ b/src/plugins/visualize/public/application/components/visualize_editor_common.tsx @@ -13,14 +13,12 @@ import { EuiScreenReaderOnly } from '@elastic/eui'; import { AppMountParameters } from 'kibana/public'; import { VisualizeTopNav } from './visualize_top_nav'; import { ExperimentalVisInfo } from './experimental_vis_info'; -import { DeprecationWarning, LEGACY_CHARTS_LIBRARY } from './deprecation_vis_warning'; import { SavedVisInstance, VisualizeAppState, VisualizeAppStateContainer, VisualizeEditorVisInstance, } from '../types'; -import { getUISettings } from '../../services'; interface VisualizeEditorCommonProps { visInstance?: VisualizeEditorVisInstance; @@ -39,13 +37,6 @@ interface VisualizeEditorCommonProps { embeddableId?: string; } -const isXYAxis = (visType: string | undefined): boolean => { - if (!visType) { - return false; - } - return ['area', 'line', 'histogram', 'horizontal_bar', 'point_series'].includes(visType); -}; - export const VisualizeEditorCommon = ({ visInstance, appState, @@ -62,7 +53,6 @@ export const VisualizeEditorCommon = ({ embeddableId, visEditorRef, }: VisualizeEditorCommonProps) => { - const hasXYLegacyChartsEnabled = getUISettings().get(LEGACY_CHARTS_LIBRARY); return (
{visInstance && appState && currentAppState && ( @@ -83,9 +73,6 @@ export const VisualizeEditorCommon = ({ /> )} {visInstance?.vis?.type?.stage === 'experimental' && } - {/* Adds a deprecation warning for vislib xy axis charts */} - {/* Should be removed when this issue is closed https://github.com/elastic/kibana/issues/103209 */} - {isXYAxis(visInstance?.vis.type.name) && hasXYLegacyChartsEnabled && } {visInstance?.vis?.type?.getInfoMessage?.(visInstance.vis)} {visInstance && ( diff --git a/test/api_integration/fixtures/es_archiver/management/saved_objects/scroll_count/mappings.json b/test/api_integration/fixtures/es_archiver/management/saved_objects/scroll_count/mappings.json index f44bb7463e9eb..619e300016043 100644 --- a/test/api_integration/fixtures/es_archiver/management/saved_objects/scroll_count/mappings.json +++ b/test/api_integration/fixtures/es_archiver/management/saved_objects/scroll_count/mappings.json @@ -29,7 +29,6 @@ "search": "db2c00e39b36f40930a3b9fc71c823e1", "search-telemetry": "3d1b76c39bfb2cc8296b024d73854724", "telemetry": "36a616f7026dfa617d6655df850fe16d", - "timelion-sheet": "9a2a2748877c7a7b582fef201ab1d4cf", "type": "2f4316de49999235636386fe51dc06c1", "ui-counter": "0d409297dc5ebe1e3a1da691c6ee32e3", "ui-metric": "0d409297dc5ebe1e3a1da691c6ee32e3", @@ -373,47 +372,6 @@ } } }, - "timelion-sheet": { - "properties": { - "description": { - "type": "text" - }, - "hits": { - "type": "integer" - }, - "kibanaSavedObjectMeta": { - "properties": { - "searchSourceJSON": { - "type": "text" - } - } - }, - "timelion_chart_height": { - "type": "integer" - }, - "timelion_columns": { - "type": "integer" - }, - "timelion_interval": { - "type": "keyword" - }, - "timelion_other_interval": { - "type": "keyword" - }, - "timelion_rows": { - "type": "integer" - }, - "timelion_sheet": { - "type": "text" - }, - "title": { - "type": "text" - }, - "version": { - "type": "integer" - } - } - }, "type": { "type": "keyword" }, diff --git a/test/api_integration/fixtures/es_archiver/management/saved_objects/search/data.json b/test/api_integration/fixtures/es_archiver/management/saved_objects/search/data.json index 6402a255afd37..05116741dbe5c 100644 --- a/test/api_integration/fixtures/es_archiver/management/saved_objects/search/data.json +++ b/test/api_integration/fixtures/es_archiver/management/saved_objects/search/data.json @@ -1,32 +1,3 @@ -{ - "type": "doc", - "value": { - "id": "timelion-sheet:190f3e90-2ec3-11e8-ba48-69fc4e41e1f6", - "index": ".kibana", - "source": { - "coreMigrationVersion": "7.14.0", - "references": [ - ], - "timelion-sheet": { - "description": "", - "hits": 0, - "timelion_chart_height": 275, - "timelion_columns": 2, - "timelion_interval": "auto", - "timelion_rows": 2, - "timelion_sheet": [ - ".es(*)" - ], - "title": "New TimeLion Sheet", - "version": 1 - }, - "type": "timelion-sheet", - "updated_at": "2018-03-23T17:53:30.872Z" - }, - "type": "_doc" - } -} - { "type": "doc", "value": { diff --git a/test/api_integration/fixtures/es_archiver/management/saved_objects/search/mappings.json b/test/api_integration/fixtures/es_archiver/management/saved_objects/search/mappings.json index 7699a72ff7120..e9ec4e680d74e 100644 --- a/test/api_integration/fixtures/es_archiver/management/saved_objects/search/mappings.json +++ b/test/api_integration/fixtures/es_archiver/management/saved_objects/search/mappings.json @@ -29,7 +29,6 @@ "search": "db2c00e39b36f40930a3b9fc71c823e1", "search-telemetry": "3d1b76c39bfb2cc8296b024d73854724", "telemetry": "36a616f7026dfa617d6655df850fe16d", - "timelion-sheet": "9a2a2748877c7a7b582fef201ab1d4cf", "type": "2f4316de49999235636386fe51dc06c1", "ui-counter": "0d409297dc5ebe1e3a1da691c6ee32e3", "ui-metric": "0d409297dc5ebe1e3a1da691c6ee32e3", @@ -377,47 +376,6 @@ } } }, - "timelion-sheet": { - "properties": { - "description": { - "type": "text" - }, - "hits": { - "type": "integer" - }, - "kibanaSavedObjectMeta": { - "properties": { - "searchSourceJSON": { - "type": "text" - } - } - }, - "timelion_chart_height": { - "type": "integer" - }, - "timelion_columns": { - "type": "integer" - }, - "timelion_interval": { - "type": "keyword" - }, - "timelion_other_interval": { - "type": "keyword" - }, - "timelion_rows": { - "type": "integer" - }, - "timelion_sheet": { - "type": "text" - }, - "title": { - "type": "text" - }, - "version": { - "type": "integer" - } - } - }, "type": { "type": "keyword" }, diff --git a/test/api_integration/fixtures/es_archiver/saved_objects/ui_counters/mappings.json b/test/api_integration/fixtures/es_archiver/saved_objects/ui_counters/mappings.json index 99f2f999db988..34b4ba98b3ee8 100644 --- a/test/api_integration/fixtures/es_archiver/saved_objects/ui_counters/mappings.json +++ b/test/api_integration/fixtures/es_archiver/saved_objects/ui_counters/mappings.json @@ -165,47 +165,6 @@ } } }, - "timelion-sheet": { - "properties": { - "description": { - "type": "text" - }, - "hits": { - "type": "integer" - }, - "kibanaSavedObjectMeta": { - "properties": { - "searchSourceJSON": { - "type": "text" - } - } - }, - "timelion_chart_height": { - "type": "integer" - }, - "timelion_columns": { - "type": "integer" - }, - "timelion_interval": { - "type": "keyword" - }, - "timelion_other_interval": { - "type": "keyword" - }, - "timelion_rows": { - "type": "integer" - }, - "timelion_sheet": { - "type": "text" - }, - "title": { - "type": "text" - }, - "version": { - "type": "integer" - } - } - }, "namespace": { "type": "keyword" }, diff --git a/test/api_integration/fixtures/es_archiver/saved_objects/usage_counters/mappings.json b/test/api_integration/fixtures/es_archiver/saved_objects/usage_counters/mappings.json index c2ec5c8881087..e818c2f8cbe20 100644 --- a/test/api_integration/fixtures/es_archiver/saved_objects/usage_counters/mappings.json +++ b/test/api_integration/fixtures/es_archiver/saved_objects/usage_counters/mappings.json @@ -158,47 +158,6 @@ } } }, - "timelion-sheet": { - "properties": { - "description": { - "type": "text" - }, - "hits": { - "type": "integer" - }, - "kibanaSavedObjectMeta": { - "properties": { - "searchSourceJSON": { - "type": "text" - } - } - }, - "timelion_chart_height": { - "type": "integer" - }, - "timelion_columns": { - "type": "integer" - }, - "timelion_interval": { - "type": "keyword" - }, - "timelion_other_interval": { - "type": "keyword" - }, - "timelion_rows": { - "type": "integer" - }, - "timelion_sheet": { - "type": "text" - }, - "title": { - "type": "text" - }, - "version": { - "type": "integer" - } - } - }, "namespace": { "type": "keyword" }, diff --git a/test/api_integration/fixtures/es_archiver/search/count/mappings.json b/test/api_integration/fixtures/es_archiver/search/count/mappings.json index 41d5c07e93239..8a46d3fc66c85 100644 --- a/test/api_integration/fixtures/es_archiver/search/count/mappings.json +++ b/test/api_integration/fixtures/es_archiver/search/count/mappings.json @@ -39,48 +39,6 @@ } } }, - "timelion-sheet": { - "dynamic": "strict", - "properties": { - "description": { - "type": "text" - }, - "hits": { - "type": "integer" - }, - "kibanaSavedObjectMeta": { - "properties": { - "searchSourceJSON": { - "type": "text" - } - } - }, - "timelion_chart_height": { - "type": "integer" - }, - "timelion_columns": { - "type": "integer" - }, - "timelion_interval": { - "type": "keyword" - }, - "timelion_other_interval": { - "type": "keyword" - }, - "timelion_rows": { - "type": "integer" - }, - "timelion_sheet": { - "type": "text" - }, - "title": { - "type": "text" - }, - "version": { - "type": "integer" - } - } - }, "visualization": { "dynamic": "strict", "properties": { diff --git a/test/api_integration/fixtures/kbn_archiver/management/saved_objects/relationships.json b/test/api_integration/fixtures/kbn_archiver/management/saved_objects/relationships.json index da2241952ca37..5152303854b75 100644 --- a/test/api_integration/fixtures/kbn_archiver/management/saved_objects/relationships.json +++ b/test/api_integration/fixtures/kbn_archiver/management/saved_objects/relationships.json @@ -1,25 +1,3 @@ -{ - "attributes": { - "description": "", - "hits": 0, - "timelion_chart_height": 275, - "timelion_columns": 2, - "timelion_interval": "auto", - "timelion_rows": 2, - "timelion_sheet": [ - ".es(*)" - ], - "title": "New TimeLion Sheet", - "version": 1 - }, - "coreMigrationVersion": "8.0.0", - "id": "190f3e90-2ec3-11e8-ba48-69fc4e41e1f6", - "references": [], - "type": "timelion-sheet", - "updated_at": "2018-03-23T17:53:30.872Z", - "version": "WzgsMl0=" -} - { "attributes": { "fields": "[{\"name\":\"_id\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":false},{\"name\":\"_index\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":false},{\"name\":\"_score\",\"type\":\"number\",\"count\":0,\"scripted\":false,\"searchable\":false,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"_source\",\"type\":\"_source\",\"count\":0,\"scripted\":false,\"searchable\":false,\"aggregatable\":false,\"readFromDocValues\":false},{\"name\":\"_type\",\"type\":\"string\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":false},{\"name\":\"id\",\"type\":\"number\",\"count\":0,\"scripted\":false,\"searchable\":true,\"aggregatable\":true,\"readFromDocValues\":true}]", diff --git a/test/functional/apps/dashboard/dashboard_state.ts b/test/functional/apps/dashboard/dashboard_state.ts index cd51faa4be0b7..45ba62749dd77 100644 --- a/test/functional/apps/dashboard/dashboard_state.ts +++ b/test/functional/apps/dashboard/dashboard_state.ts @@ -30,9 +30,10 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const elasticChart = getService('elasticChart'); const kibanaServer = getService('kibanaServer'); const dashboardAddPanel = getService('dashboardAddPanel'); + const xyChartSelector = 'visTypeXyChart'; - const enableNewChartLibraryDebug = async () => { - if (await PageObjects.visChart.isNewChartsLibraryEnabled()) { + const enableNewChartLibraryDebug = async (force = false) => { + if ((await PageObjects.visChart.isNewChartsLibraryEnabled()) || force) { await elasticChart.setNewChartUiDebugFlag(); await queryBar.submitQuery(); } @@ -49,7 +50,6 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { if (isNewChartsLibraryEnabled) { await kibanaServer.uiSettings.update({ - 'visualization:visualize:legacyChartsLibrary': false, 'visualization:visualize:legacyPieChartsLibrary': false, }); await browser.refresh(); @@ -66,33 +66,28 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.dashboard.clickNewDashboard(); await PageObjects.timePicker.setHistoricalDataRange(); - const visName = await PageObjects.visChart.getExpectedValue( - AREA_CHART_VIS_NAME, - `${AREA_CHART_VIS_NAME} - new charts library` - ); + const visName = AREA_CHART_VIS_NAME; await dashboardAddPanel.addVisualization(visName); - const dashboarName = await PageObjects.visChart.getExpectedValue( - 'Overridden colors', - 'Overridden colors - new charts library' - ); - await PageObjects.dashboard.saveDashboard(dashboarName); + const dashboardName = 'Overridden colors - new charts library'; + await PageObjects.dashboard.saveDashboard(dashboardName); await PageObjects.dashboard.switchToEditMode(); await queryBar.clickQuerySubmitButton(); - await PageObjects.visChart.openLegendOptionColors('Count', `[data-title="${visName}"]`); - const overwriteColor = isNewChartsLibraryEnabled ? '#d36086' : '#EA6460'; + await PageObjects.visChart.openLegendOptionColorsForXY('Count', `[data-title="${visName}"]`); + const overwriteColor = '#d36086'; await PageObjects.visChart.selectNewLegendColorChoice(overwriteColor); - await PageObjects.dashboard.saveDashboard(dashboarName); + await PageObjects.dashboard.saveDashboard(dashboardName); await PageObjects.dashboard.gotoDashboardLandingPage(); - await PageObjects.dashboard.loadSavedDashboard(dashboarName); + await PageObjects.dashboard.loadSavedDashboard(dashboardName); - await enableNewChartLibraryDebug(); + await enableNewChartLibraryDebug(true); - const colorChoiceRetained = await PageObjects.visChart.doesSelectedLegendColorExist( - overwriteColor + const colorChoiceRetained = await PageObjects.visChart.doesSelectedLegendColorExistForXY( + overwriteColor, + xyChartSelector ); expect(colorChoiceRetained).to.be(true); @@ -175,7 +170,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await browser.get(newUrl.toString()); const alert = await browser.getAlert(); await alert?.accept(); - await enableNewChartLibraryDebug(); + await enableNewChartLibraryDebug(true); await PageObjects.dashboard.waitForRenderComplete(); }; @@ -258,7 +253,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { }); it('updates a pie slice color on a hard refresh', async function () { - await PageObjects.visChart.openLegendOptionColors( + await PageObjects.visChart.openLegendOptionColorsForPie( '80,000', `[data-title="${PIE_CHART_VIS_NAME}"]` ); @@ -283,7 +278,9 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { it('and updates the pie slice legend color', async function () { await retry.try(async () => { - const colorExists = await PageObjects.visChart.doesSelectedLegendColorExist('#FFFFFF'); + const colorExists = await PageObjects.visChart.doesSelectedLegendColorExistForPie( + '#FFFFFF' + ); expect(colorExists).to.be(true); }); }); @@ -307,7 +304,9 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { it('resets the legend color as well', async function () { await retry.try(async () => { - const colorExists = await PageObjects.visChart.doesSelectedLegendColorExist('#57c17b'); + const colorExists = await PageObjects.visChart.doesSelectedLegendColorExistForPie( + '#57c17b' + ); expect(colorExists).to.be(true); }); }); diff --git a/test/functional/apps/dashboard/index.ts b/test/functional/apps/dashboard/index.ts index e4dc04282e4ac..8627a258869bb 100644 --- a/test/functional/apps/dashboard/index.ts +++ b/test/functional/apps/dashboard/index.ts @@ -122,7 +122,6 @@ export default function ({ getService, loadTestFile }: FtrProviderContext) { before(async () => { await loadLogstash(); await kibanaServer.uiSettings.update({ - 'visualization:visualize:legacyChartsLibrary': false, 'visualization:visualize:legacyPieChartsLibrary': false, }); await browser.refresh(); @@ -131,7 +130,6 @@ export default function ({ getService, loadTestFile }: FtrProviderContext) { after(async () => { await unloadLogstash(); await kibanaServer.uiSettings.update({ - 'visualization:visualize:legacyChartsLibrary': true, 'visualization:visualize:legacyPieChartsLibrary': true, }); await browser.refresh(); diff --git a/test/functional/apps/visualize/_markdown_vis.ts b/test/functional/apps/dashboard_elements/_markdown_vis.ts similarity index 100% rename from test/functional/apps/visualize/_markdown_vis.ts rename to test/functional/apps/dashboard_elements/_markdown_vis.ts diff --git a/test/functional/apps/dashboard_elements/index.ts b/test/functional/apps/dashboard_elements/index.ts new file mode 100644 index 0000000000000..4866754c3907b --- /dev/null +++ b/test/functional/apps/dashboard_elements/index.ts @@ -0,0 +1,33 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0 and the Server Side Public License, v 1; you may not use this file except + * in compliance with, at your election, the Elastic License 2.0 or the Server + * Side Public License, v 1. + */ + +import { FtrProviderContext } from '../../ftr_provider_context'; + +export default function ({ getService, loadTestFile }: FtrProviderContext) { + const browser = getService('browser'); + const log = getService('log'); + const esArchiver = getService('esArchiver'); + + describe('dashboard elements', () => { + before(async () => { + log.debug('Starting before method'); + await browser.setWindowSize(1280, 800); + await esArchiver.load('test/functional/fixtures/es_archiver/empty_kibana'); + + await esArchiver.loadIfNeeded('test/functional/fixtures/es_archiver/logstash_functional'); + await esArchiver.loadIfNeeded('test/functional/fixtures/es_archiver/long_window_logstash'); + }); + + describe('dashboard elements ciGroup10', function () { + this.tags('ciGroup10'); + + loadTestFile(require.resolve('./input_control_vis')); + loadTestFile(require.resolve('./_markdown_vis')); + }); + }); +} diff --git a/test/functional/apps/visualize/input_control_vis/chained_controls.ts b/test/functional/apps/dashboard_elements/input_control_vis/chained_controls.ts similarity index 100% rename from test/functional/apps/visualize/input_control_vis/chained_controls.ts rename to test/functional/apps/dashboard_elements/input_control_vis/chained_controls.ts diff --git a/test/functional/apps/visualize/input_control_vis/dynamic_options.ts b/test/functional/apps/dashboard_elements/input_control_vis/dynamic_options.ts similarity index 100% rename from test/functional/apps/visualize/input_control_vis/dynamic_options.ts rename to test/functional/apps/dashboard_elements/input_control_vis/dynamic_options.ts diff --git a/test/functional/apps/visualize/input_control_vis/index.ts b/test/functional/apps/dashboard_elements/input_control_vis/index.ts similarity index 100% rename from test/functional/apps/visualize/input_control_vis/index.ts rename to test/functional/apps/dashboard_elements/input_control_vis/index.ts diff --git a/test/functional/apps/visualize/input_control_vis/input_control_options.ts b/test/functional/apps/dashboard_elements/input_control_vis/input_control_options.ts similarity index 100% rename from test/functional/apps/visualize/input_control_vis/input_control_options.ts rename to test/functional/apps/dashboard_elements/input_control_vis/input_control_options.ts diff --git a/test/functional/apps/visualize/input_control_vis/input_control_range.ts b/test/functional/apps/dashboard_elements/input_control_vis/input_control_range.ts similarity index 100% rename from test/functional/apps/visualize/input_control_vis/input_control_range.ts rename to test/functional/apps/dashboard_elements/input_control_vis/input_control_range.ts diff --git a/test/functional/apps/discover/_data_grid_doc_table.ts b/test/functional/apps/discover/_data_grid_doc_table.ts index 2efb1ba51811f..be569a2ffa25f 100644 --- a/test/functional/apps/discover/_data_grid_doc_table.ts +++ b/test/functional/apps/discover/_data_grid_doc_table.ts @@ -105,6 +105,16 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { }); }); + it('should allow paginating docs in the flyout by clicking in the doc table', async function () { + await retry.try(async function () { + await dataGrid.clickRowToggle({ rowIndex: rowToInspect - 1 }); + await testSubjects.exists(`dscDocNavigationPage0`); + await dataGrid.clickRowToggle({ rowIndex: rowToInspect }); + await testSubjects.exists(`dscDocNavigationPage1`); + await dataGrid.closeFlyout(); + }); + }); + it('should show allow adding columns from the detail panel', async function () { await retry.try(async function () { await dataGrid.clickRowToggle({ isAnchorRow: false, rowIndex: rowToInspect - 1 }); diff --git a/test/functional/apps/getting_started/_shakespeare.ts b/test/functional/apps/getting_started/_shakespeare.ts index 98eeed7bcf53e..426713c912e88 100644 --- a/test/functional/apps/getting_started/_shakespeare.ts +++ b/test/functional/apps/getting_started/_shakespeare.ts @@ -28,6 +28,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { 'visChart', ]); + const xyChartSelector = 'visTypeXyChart'; + // https://www.elastic.co/guide/en/kibana/current/tutorial-load-dataset.html describe('Shakespeare', function describeIndexTests() { @@ -56,7 +58,6 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { if (isNewChartsLibraryEnabled) { await kibanaServer.uiSettings.update({ - 'visualization:visualize:legacyChartsLibrary': false, 'visualization:visualize:legacyPieChartsLibrary': false, }); await browser.refresh(); @@ -92,11 +93,11 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { // Remove refresh click when vislib is removed // https://github.com/elastic/kibana/issues/56143 - await PageObjects.visualize.clickRefresh(); + await PageObjects.visualize.clickRefresh(true); const expectedChartValues = [111396]; await retry.try(async () => { - const data = await PageObjects.visChart.getBarChartData('Count'); + const data = await PageObjects.visChart.getBarChartData(xyChartSelector, 'Count'); log.debug('data=' + data); log.debug('data.length=' + data.length); expect(data[0] - expectedChartValues[0]).to.be.lessThan(5); @@ -123,12 +124,12 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.visEditor.clickGo(); const expectedChartValues = [935]; await retry.try(async () => { - const data = await PageObjects.visChart.getBarChartData('Speaking Parts'); + const data = await PageObjects.visChart.getBarChartData(xyChartSelector, 'Speaking Parts'); log.debug('data=' + data); log.debug('data.length=' + data.length); expect(data).to.eql(expectedChartValues); }); - const title = await PageObjects.visChart.getYAxisTitle(); + const title = await PageObjects.visChart.getYAxisTitle(xyChartSelector); expect(title).to.be('Speaking Parts'); }); @@ -149,13 +150,13 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const expectedChartValues = [71, 65, 62, 55, 55]; await retry.try(async () => { - const data = await PageObjects.visChart.getBarChartData('Speaking Parts'); + const data = await PageObjects.visChart.getBarChartData(xyChartSelector, 'Speaking Parts'); log.debug('data=' + data); log.debug('data.length=' + data.length); expect(data).to.eql(expectedChartValues); }); - const labels = await PageObjects.visChart.getXAxisLabels(); + const labels = await PageObjects.visChart.getXAxisLabels(xyChartSelector); expect(labels).to.eql([ 'Richard III', 'Henry VI Part 2', @@ -187,8 +188,11 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const expectedChartValues = [71, 65, 62, 55, 55]; const expectedChartValues2 = [177, 106, 153, 132, 162]; await retry.try(async () => { - const data = await PageObjects.visChart.getBarChartData('Speaking Parts'); - const data2 = await PageObjects.visChart.getBarChartData('Max Speaking Parts'); + const data = await PageObjects.visChart.getBarChartData(xyChartSelector, 'Speaking Parts'); + const data2 = await PageObjects.visChart.getBarChartData( + xyChartSelector, + 'Max Speaking Parts' + ); log.debug('data=' + data); log.debug('data.length=' + data.length); log.debug('data2=' + data2); @@ -197,7 +201,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { expect(data2).to.eql(expectedChartValues2); }); - const labels = await PageObjects.visChart.getXAxisLabels(); + const labels = await PageObjects.visChart.getXAxisLabels(xyChartSelector); expect(labels).to.eql([ 'Richard III', 'Henry VI Part 2', @@ -220,8 +224,11 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const expectedChartValues = [71, 65, 62, 55, 55]; const expectedChartValues2 = [177, 106, 153, 132, 162]; await retry.try(async () => { - const data = await PageObjects.visChart.getBarChartData('Speaking Parts'); - const data2 = await PageObjects.visChart.getBarChartData('Max Speaking Parts'); + const data = await PageObjects.visChart.getBarChartData(xyChartSelector, 'Speaking Parts'); + const data2 = await PageObjects.visChart.getBarChartData( + xyChartSelector, + 'Max Speaking Parts' + ); log.debug('data=' + data); log.debug('data.length=' + data.length); log.debug('data2=' + data2); @@ -243,17 +250,14 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.visEditor.clickGo(); // same values as previous test except scaled down by the 50 for Y-Axis min - const expectedChartValues = await PageObjects.visChart.getExpectedValue( - [21, 15, 12, 5, 5], - [71, 65, 62, 55, 55] // no scaled values in elastic-charts - ); - const expectedChartValues2 = await PageObjects.visChart.getExpectedValue( - [127, 56, 103, 82, 112], - [177, 106, 153, 132, 162] // no scaled values in elastic-charts - ); + const expectedChartValues = [71, 65, 62, 55, 55]; + const expectedChartValues2 = [177, 106, 153, 132, 162]; await retry.try(async () => { - const data = await PageObjects.visChart.getBarChartData('Speaking Parts'); - const data2 = await PageObjects.visChart.getBarChartData('Max Speaking Parts'); + const data = await PageObjects.visChart.getBarChartData(xyChartSelector, 'Speaking Parts'); + const data2 = await PageObjects.visChart.getBarChartData( + xyChartSelector, + 'Max Speaking Parts' + ); log.debug('data=' + data); log.debug('data.length=' + data.length); log.debug('data2=' + data2); diff --git a/test/functional/apps/getting_started/index.ts b/test/functional/apps/getting_started/index.ts index 4c1c052ef15a2..ae7fdc3c1d4fa 100644 --- a/test/functional/apps/getting_started/index.ts +++ b/test/functional/apps/getting_started/index.ts @@ -23,7 +23,6 @@ export default function ({ getService, loadTestFile }: FtrProviderContext) { describe('new charts library', function () { before(async () => { await kibanaServer.uiSettings.update({ - 'visualization:visualize:legacyChartsLibrary': false, 'visualization:visualize:legacyPieChartsLibrary': false, }); await browser.refresh(); @@ -31,7 +30,6 @@ export default function ({ getService, loadTestFile }: FtrProviderContext) { after(async () => { await kibanaServer.uiSettings.update({ - 'visualization:visualize:legacyChartsLibrary': true, 'visualization:visualize:legacyPieChartsLibrary': true, }); await browser.refresh(); diff --git a/test/functional/apps/timelion/_expression_typeahead.js b/test/functional/apps/timelion/_expression_typeahead.js deleted file mode 100644 index 3b29e9a44a77b..0000000000000 --- a/test/functional/apps/timelion/_expression_typeahead.js +++ /dev/null @@ -1,91 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -import expect from '@kbn/expect'; - -export default function ({ getPageObjects }) { - const PageObjects = getPageObjects(['common', 'timelion', 'settings', 'timePicker']); - - describe('expression typeahead', () => { - before(async () => { - await PageObjects.timelion.initTests(); - await PageObjects.timePicker.setDefaultAbsoluteRange(); - }); - - it('should show argument suggestions when function suggestion is selected', async () => { - await PageObjects.timelion.setExpression('.es'); - await PageObjects.timelion.clickSuggestion(); - const suggestions = await PageObjects.timelion.getSuggestionItemsText(); - expect(suggestions.length).to.eql(9); - expect(suggestions[0].includes('fit=')).to.eql(true); - }); - - it('should show argument value suggestions when argument is selected', async () => { - await PageObjects.timelion.setExpression('.legend'); - await PageObjects.timelion.clickSuggestion(); - const argumentSuggestions = await PageObjects.timelion.getSuggestionItemsText(); - expect(argumentSuggestions.length).to.eql(4); - expect(argumentSuggestions[1].includes('position=')).to.eql(true); - await PageObjects.timelion.clickSuggestion(1); - const valueSuggestions = await PageObjects.timelion.getSuggestionItemsText(); - expect(valueSuggestions.length).to.eql(5); - expect(valueSuggestions[0].includes('disable legend')).to.eql(true); - expect(valueSuggestions[1].includes('place legend in north east corner')).to.eql(true); - }); - - it('should display function suggestions filtered by function name', async () => { - await PageObjects.timelion.setExpression('.e'); - const suggestions = await PageObjects.timelion.getSuggestionItemsText(); - expect(suggestions.length).to.eql(2); - expect(suggestions[0].includes('.elasticsearch()')).to.eql(true); - expect(suggestions[1].includes('.es()')).to.eql(true); - }); - - describe('dynamic suggestions for argument values', () => { - describe('.es()', () => { - before(async () => { - await PageObjects.timelion.setExpression('.es'); - await PageObjects.timelion.clickSuggestion(); - }); - - it('should show index pattern suggestions for index argument', async () => { - await PageObjects.timelion.updateExpression('index='); - const suggestions = await PageObjects.timelion.getSuggestionItemsText(); - expect(suggestions.length).to.eql(1); - expect(suggestions[0].includes('logstash-*')).to.eql(true); - await PageObjects.timelion.clickSuggestion(); - }); - - it('should show field suggestions for timefield argument when index pattern set', async () => { - await PageObjects.timelion.updateExpression(',timefield='); - const suggestions = await PageObjects.timelion.getSuggestionItemsText(); - expect(suggestions.length).to.eql(4); - expect(suggestions[0].includes('@timestamp')).to.eql(true); - await PageObjects.timelion.clickSuggestion(); - }); - - it('should show field suggestions for split argument when index pattern set', async () => { - await PageObjects.timelion.updateExpression(',split='); - const suggestions = await PageObjects.timelion.getSuggestionItemsText(); - expect(suggestions.length).not.to.eql(0); - expect(suggestions[0].includes('@message.raw')).to.eql(true); - await PageObjects.timelion.clickSuggestion(10); - }); - - it('should show field suggestions for metric argument when index pattern set', async () => { - await PageObjects.timelion.updateExpression(',metric='); - await PageObjects.timelion.updateExpression('avg:'); - await PageObjects.timelion.clickSuggestion(0); - const suggestions = await PageObjects.timelion.getSuggestionItemsText(); - expect(suggestions.length).not.to.eql(0); - expect(suggestions[0].includes('avg:bytes')).to.eql(true); - }); - }); - }); - }); -} diff --git a/test/functional/apps/timelion/index.js b/test/functional/apps/timelion/index.js deleted file mode 100644 index b81a0e70d8a6d..0000000000000 --- a/test/functional/apps/timelion/index.js +++ /dev/null @@ -1,27 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0 and the Server Side Public License, v 1; you may not use this file except - * in compliance with, at your election, the Elastic License 2.0 or the Server - * Side Public License, v 1. - */ - -export default function ({ getService, loadTestFile }) { - const browser = getService('browser'); - const log = getService('log'); - const esArchiver = getService('esArchiver'); - const kibanaServer = getService('kibanaServer'); - - describe('timelion app', function () { - this.tags('ciGroup1'); - - before(async function () { - log.debug('Starting timelion before method'); - await browser.setWindowSize(1280, 800); - await esArchiver.loadIfNeeded('test/functional/fixtures/es_archiver/logstash_functional'); - await kibanaServer.uiSettings.replace({ defaultIndex: 'logstash-*' }); - }); - - loadTestFile(require.resolve('./_expression_typeahead')); - }); -} diff --git a/test/functional/apps/visualize/_area_chart.ts b/test/functional/apps/visualize/_area_chart.ts index e88754823f6cb..4e4fe5e2902b9 100644 --- a/test/functional/apps/visualize/_area_chart.ts +++ b/test/functional/apps/visualize/_area_chart.ts @@ -26,18 +26,13 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { 'header', 'timePicker', ]); + const xyChartSelector = 'visTypeXyChart'; - const getVizName = async () => - await PageObjects.visChart.getExpectedValue( - 'Visualization AreaChart Name Test', - 'Visualization AreaChart Name Test - Charts library' - ); + const vizName = 'Visualization AreaChart Name Test - Charts library'; describe('area charts', function indexPatternCreation() { - let isNewChartsLibraryEnabled = false; before(async () => { - isNewChartsLibraryEnabled = await PageObjects.visChart.isNewChartsLibraryEnabled(); - await PageObjects.visualize.initTests(isNewChartsLibraryEnabled); + await PageObjects.visualize.initTests(); }); const initAreaChart = async () => { log.debug('navigateToApp visualize'); @@ -58,7 +53,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const intervalValue = await PageObjects.visEditor.getInterval(); log.debug('intervalValue = ' + intervalValue); expect(intervalValue[0]).to.be('Auto'); - await PageObjects.visEditor.clickGo(); + await PageObjects.visEditor.clickGo(true); }; before(async function () { @@ -75,49 +70,38 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { }); it('should save and load with special characters', async function () { - const vizNamewithSpecialChars = (await getVizName()) + '/?&=%'; + const vizNamewithSpecialChars = vizName + '/?&=%'; await PageObjects.visualize.saveVisualizationExpectSuccessAndBreadcrumb( vizNamewithSpecialChars ); }); it('should save and load with non-ascii characters', async function () { - const vizNamewithSpecialChars = `${await getVizName()} with Umlaut ä`; + const vizNamewithSpecialChars = `${vizName} with Umlaut ä`; await PageObjects.visualize.saveVisualizationExpectSuccessAndBreadcrumb( vizNamewithSpecialChars ); }); it('should save and load', async function () { - await PageObjects.visualize.saveVisualizationExpectSuccessAndBreadcrumb(await getVizName()); - await PageObjects.visualize.loadSavedVisualization(await getVizName()); + await PageObjects.visualize.saveVisualizationExpectSuccessAndBreadcrumb(vizName); + await PageObjects.visualize.loadSavedVisualization(vizName); await PageObjects.visChart.waitForVisualization(); }); - // Should be removed when this issue is closed https://github.com/elastic/kibana/issues/103209 - it('should show/hide a deprecation warning depending on the library selected', async () => { - await PageObjects.visualize.getDeprecationWarningStatus(); - }); - it('should have inspector enabled', async function () { await inspector.expectIsEnabled(); }); it('should show correct chart', async function () { - const xAxisLabels = await PageObjects.visChart.getExpectedValue( - ['2015-09-20 00:00', '2015-09-21 00:00', '2015-09-22 00:00', '2015-09-23 00:00'], - [ - '2015-09-19 12:00', - '2015-09-20 12:00', - '2015-09-21 12:00', - '2015-09-22 12:00', - '2015-09-23 12:00', - ] - ); - const yAxisLabels = await PageObjects.visChart.getExpectedValue( - ['0', '200', '400', '600', '800', '1,000', '1,200', '1,400', '1,600'], - ['0', '200', '400', '600', '800', '1,000', '1,200', '1,400'] - ); + const xAxisLabels = [ + '2015-09-19 12:00', + '2015-09-20 12:00', + '2015-09-21 12:00', + '2015-09-22 12:00', + '2015-09-23 12:00', + ]; + const yAxisLabels = ['0', '200', '400', '600', '800', '1,000', '1,200', '1,400']; const expectedAreaChartData = [ 37, 202, @@ -146,14 +130,14 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { ]; await retry.try(async function tryingForTime() { - const labels = await PageObjects.visChart.getXAxisLabels(); + const labels = await PageObjects.visChart.getXAxisLabels(xyChartSelector); log.debug('X-Axis labels = ' + labels); expect(labels).to.eql(xAxisLabels); }); - const labels = await PageObjects.visChart.getYAxisLabels(); + const labels = await PageObjects.visChart.getYAxisLabels(xyChartSelector); log.debug('Y-Axis labels = ' + labels); expect(labels).to.eql(yAxisLabels); - const paths = await PageObjects.visChart.getAreaChartData('Count'); + const paths = await PageObjects.visChart.getAreaChartData('Count', xyChartSelector); log.debug('expectedAreaChartData = ' + expectedAreaChartData); log.debug('actual chart data = ' + paths); expect(paths).to.eql(expectedAreaChartData); @@ -220,7 +204,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.visEditor.toggleOpenEditor(2); await PageObjects.visEditor.setInterval('Second'); - await PageObjects.visEditor.clickGo(); + await PageObjects.visEditor.clickGo(true); await inspector.open(); await inspector.expectTableData(expectedTableData); await inspector.close(); @@ -252,7 +236,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.visEditor.toggleAdvancedParams('2'); await PageObjects.visEditor.toggleScaleMetrics(); - await PageObjects.visEditor.clickGo(); + await PageObjects.visEditor.clickGo(true); await inspector.open(); await inspector.expectTableData(expectedTableData); await inspector.close(); @@ -286,7 +270,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.visEditor.selectAggregation('Top Hit', 'metrics'); await PageObjects.visEditor.selectField('bytes', 'metrics'); await PageObjects.visEditor.selectAggregateWith('average'); - await PageObjects.visEditor.clickGo(); + await PageObjects.visEditor.clickGo(true); await inspector.open(); await inspector.expectTableData(expectedTableData); await inspector.close(); @@ -320,10 +304,10 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.visEditor.clickYAxisOptions(axisId); await PageObjects.visEditor.selectYAxisScaleType(axisId, 'log'); await PageObjects.visEditor.changeYAxisFilterLabelsCheckbox(axisId, false); - await PageObjects.visEditor.clickGo(); - const labels = await PageObjects.visChart.getYAxisLabelsAsNumbers(); - const minLabel = await PageObjects.visChart.getExpectedValue(2, 1); - const maxLabel = await PageObjects.visChart.getExpectedValue(5000, 900); + await PageObjects.visEditor.clickGo(true); + const labels = await PageObjects.visChart.getYAxisLabelsAsNumbers(xyChartSelector); + const minLabel = 1; + const maxLabel = 900; const numberOfLabels = 10; expect(labels.length).to.be.greaterThan(numberOfLabels); expect(labels[0]).to.eql(minLabel); @@ -332,10 +316,10 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { it('should show filtered ticks on selecting log scale', async () => { await PageObjects.visEditor.changeYAxisFilterLabelsCheckbox(axisId, true); - await PageObjects.visEditor.clickGo(); - const labels = await PageObjects.visChart.getYAxisLabelsAsNumbers(); - const minLabel = await PageObjects.visChart.getExpectedValue(2, 1); - const maxLabel = await PageObjects.visChart.getExpectedValue(5000, 900); + await PageObjects.visEditor.clickGo(true); + const labels = await PageObjects.visChart.getYAxisLabelsAsNumbers(xyChartSelector); + const minLabel = 1; + const maxLabel = 900; const numberOfLabels = 10; expect(labels.length).to.be.greaterThan(numberOfLabels); expect(labels[0]).to.eql(minLabel); @@ -345,47 +329,35 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { it('should show ticks on selecting square root scale', async () => { await PageObjects.visEditor.selectYAxisScaleType(axisId, 'square root'); await PageObjects.visEditor.changeYAxisFilterLabelsCheckbox(axisId, false); - await PageObjects.visEditor.clickGo(); - const labels = await PageObjects.visChart.getYAxisLabels(); - const expectedLabels = await PageObjects.visChart.getExpectedValue( - ['0', '200', '400', '600', '800', '1,000', '1,200', '1,400', '1,600'], - ['0', '200', '400', '600', '800', '1,000', '1,200', '1,400'] - ); + await PageObjects.visEditor.clickGo(true); + const labels = await PageObjects.visChart.getYAxisLabels(xyChartSelector); + const expectedLabels = ['0', '200', '400', '600', '800', '1,000', '1,200', '1,400']; expect(labels).to.eql(expectedLabels); }); it('should show filtered ticks on selecting square root scale', async () => { await PageObjects.visEditor.changeYAxisFilterLabelsCheckbox(axisId, true); - await PageObjects.visEditor.clickGo(); - const labels = await PageObjects.visChart.getYAxisLabels(); - const expectedLabels = await PageObjects.visChart.getExpectedValue( - ['200', '400', '600', '800', '1,000', '1,200', '1,400'], - ['0', '200', '400', '600', '800', '1,000', '1,200', '1,400'] - ); + await PageObjects.visEditor.clickGo(true); + const labels = await PageObjects.visChart.getYAxisLabels(xyChartSelector); + const expectedLabels = ['0', '200', '400', '600', '800', '1,000', '1,200', '1,400']; expect(labels).to.eql(expectedLabels); }); it('should show ticks on selecting linear scale', async () => { await PageObjects.visEditor.selectYAxisScaleType(axisId, 'linear'); await PageObjects.visEditor.changeYAxisFilterLabelsCheckbox(axisId, false); - await PageObjects.visEditor.clickGo(); - const labels = await PageObjects.visChart.getYAxisLabels(); + await PageObjects.visEditor.clickGo(true); + const labels = await PageObjects.visChart.getYAxisLabels(xyChartSelector); log.debug(labels); - const expectedLabels = await PageObjects.visChart.getExpectedValue( - ['0', '200', '400', '600', '800', '1,000', '1,200', '1,400', '1,600'], - ['0', '200', '400', '600', '800', '1,000', '1,200', '1,400'] - ); + const expectedLabels = ['0', '200', '400', '600', '800', '1,000', '1,200', '1,400']; expect(labels).to.eql(expectedLabels); }); it('should show filtered ticks on selecting linear scale', async () => { await PageObjects.visEditor.changeYAxisFilterLabelsCheckbox(axisId, true); - await PageObjects.visEditor.clickGo(); - const labels = await PageObjects.visChart.getYAxisLabels(); - const expectedLabels = await PageObjects.visChart.getExpectedValue( - ['200', '400', '600', '800', '1,000', '1,200', '1,400'], - ['0', '200', '400', '600', '800', '1,000', '1,200', '1,400'] - ); + await PageObjects.visEditor.clickGo(true); + const labels = await PageObjects.visChart.getYAxisLabels(xyChartSelector); + const expectedLabels = ['0', '200', '400', '600', '800', '1,000', '1,200', '1,400']; expect(labels).to.eql(expectedLabels); }); }); @@ -408,11 +380,11 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.visEditor.selectAggregation('Date Histogram'); await PageObjects.visEditor.selectField('@timestamp'); await PageObjects.visEditor.setInterval('Year'); - await PageObjects.visEditor.clickGo(); + await PageObjects.visEditor.clickGo(true); // This svg area is composed by 7 years (2013 - 2019). // 7 points are used to draw the upper line (usually called y1) // 7 points compose the lower line (usually called y0) - const paths = await PageObjects.visChart.getAreaChartPaths('Count'); + const paths = await PageObjects.visChart.getAreaChartPaths('Count', xyChartSelector); log.debug('actual chart data = ' + paths); const numberOfSegments = 7 * 2; expect(paths.length).to.eql(numberOfSegments); @@ -431,12 +403,12 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.visEditor.selectAggregation('Date Histogram'); await PageObjects.visEditor.selectField('@timestamp'); await PageObjects.visEditor.setInterval('Month'); - await PageObjects.visEditor.clickGo(); + await PageObjects.visEditor.clickGo(true); // This svg area is composed by 67 months 3 (2013) + 5 * 12 + 4 (2019) // 67 points are used to draw the upper line (usually called y1) // 67 points compose the lower line (usually called y0) const numberOfSegments = 67 * 2; - const paths = await PageObjects.visChart.getAreaChartPaths('Count'); + const paths = await PageObjects.visChart.getAreaChartPaths('Count', xyChartSelector); log.debug('actual chart data = ' + paths); expect(paths.length).to.eql(numberOfSegments); }); diff --git a/test/functional/apps/visualize/_line_chart_split_chart.ts b/test/functional/apps/visualize/_line_chart_split_chart.ts index 9b1c12de9666e..0e44c30499ed3 100644 --- a/test/functional/apps/visualize/_line_chart_split_chart.ts +++ b/test/functional/apps/visualize/_line_chart_split_chart.ts @@ -23,9 +23,9 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { 'visChart', 'timePicker', ]); + const xyChartSelector = 'visTypeXyChart'; describe('line charts - split chart', function () { - let isNewChartsLibraryEnabled = false; const initLineChart = async function () { log.debug('navigateToApp visualize'); await PageObjects.visualize.navigateToNewAggBasedVisualization(); @@ -41,12 +41,11 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.visEditor.selectField('extension.raw'); log.debug('switch from Rows to Columns'); await PageObjects.visEditor.clickSplitDirection('Columns'); - await PageObjects.visEditor.clickGo(); + await PageObjects.visEditor.clickGo(true); }; before(async () => { - isNewChartsLibraryEnabled = await PageObjects.visChart.isNewChartsLibraryEnabled(); - await PageObjects.visualize.initTests(isNewChartsLibraryEnabled); + await PageObjects.visualize.initTests(); await initLineChart(); }); @@ -61,7 +60,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { // sleep a bit before trying to get the chart data await PageObjects.common.sleep(3000); - const data = await PageObjects.visChart.getLineChartData(); + const data = await PageObjects.visChart.getLineChartData(xyChartSelector); log.debug('data=' + data); const tolerance = 10; // the y-axis scale is 10000 so 10 is 0.1% for (let x = 0; x < data.length; x++) { @@ -92,9 +91,9 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { log.debug('Order By = Term'); await PageObjects.visEditor.selectOrderByMetric(2, '_key'); - await PageObjects.visEditor.clickGo(); + await PageObjects.visEditor.clickGo(true); await retry.try(async function () { - const data = await PageObjects.visChart.getLineChartData(); + const data = await PageObjects.visChart.getLineChartData(xyChartSelector); log.debug('data=' + data); const tolerance = 10; // the y-axis scale is 10000 so 10 is 0.1% for (let x = 0; x < data.length; x++) { @@ -161,10 +160,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { }); it('should be able to save and load', async function () { - const vizName = await PageObjects.visChart.getExpectedValue( - 'Visualization Line split chart', - 'Visualization Line split chart - chart library' - ); + const vizName = 'Visualization Line split chart - chart library'; await PageObjects.visualize.saveVisualizationExpectSuccessAndBreadcrumb(vizName); await PageObjects.visualize.loadSavedVisualization(vizName); @@ -180,10 +176,10 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.visEditor.clickYAxisOptions(axisId); await PageObjects.visEditor.selectYAxisScaleType(axisId, 'log'); await PageObjects.visEditor.changeYAxisFilterLabelsCheckbox(axisId, false); - await PageObjects.visEditor.clickGo(); - const labels = await PageObjects.visChart.getYAxisLabelsAsNumbers(); - const minLabel = await PageObjects.visChart.getExpectedValue(2, 1); - const maxLabel = await PageObjects.visChart.getExpectedValue(5000, 7000); + await PageObjects.visEditor.clickGo(true); + const labels = await PageObjects.visChart.getYAxisLabelsAsNumbers(xyChartSelector); + const minLabel = 1; + const maxLabel = 7000; const numberOfLabels = 10; expect(labels.length).to.be.greaterThan(numberOfLabels); expect(labels[0]).to.eql(minLabel); @@ -192,10 +188,10 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { it('should show filtered ticks on selecting log scale', async () => { await PageObjects.visEditor.changeYAxisFilterLabelsCheckbox(axisId, true); - await PageObjects.visEditor.clickGo(); - const labels = await PageObjects.visChart.getYAxisLabelsAsNumbers(); - const minLabel = await PageObjects.visChart.getExpectedValue(2, 1); - const maxLabel = await PageObjects.visChart.getExpectedValue(5000, 7000); + await PageObjects.visEditor.clickGo(true); + const labels = await PageObjects.visChart.getYAxisLabelsAsNumbers(xyChartSelector); + const minLabel = 1; + const maxLabel = 7000; const numberOfLabels = 10; expect(labels.length).to.be.greaterThan(numberOfLabels); expect(labels[0]).to.eql(minLabel); @@ -205,48 +201,80 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { it('should show ticks on selecting square root scale', async () => { await PageObjects.visEditor.selectYAxisScaleType(axisId, 'square root'); await PageObjects.visEditor.changeYAxisFilterLabelsCheckbox(axisId, false); - await PageObjects.visEditor.clickGo(); - const labels = await PageObjects.visChart.getYAxisLabels(); - const expectedLabels = await PageObjects.visChart.getExpectedValue( - ['0', '2,000', '4,000', '6,000', '8,000', '10,000'], - ['0', '1,000', '2,000', '3,000', '4,000', '5,000', '6,000', '7,000', '8,000', '9,000'] - ); + await PageObjects.visEditor.clickGo(true); + const labels = await PageObjects.visChart.getYAxisLabels(xyChartSelector); + const expectedLabels = [ + '0', + '1,000', + '2,000', + '3,000', + '4,000', + '5,000', + '6,000', + '7,000', + '8,000', + '9,000', + ]; expect(labels).to.eql(expectedLabels); }); it('should show filtered ticks on selecting square root scale', async () => { await PageObjects.visEditor.changeYAxisFilterLabelsCheckbox(axisId, true); - await PageObjects.visEditor.clickGo(); - const labels = await PageObjects.visChart.getYAxisLabels(); - const expectedLabels = await PageObjects.visChart.getExpectedValue( - ['2,000', '4,000', '6,000', '8,000'], - ['0', '1,000', '2,000', '3,000', '4,000', '5,000', '6,000', '7,000', '8,000', '9,000'] - ); + await PageObjects.visEditor.clickGo(true); + const labels = await PageObjects.visChart.getYAxisLabels(xyChartSelector); + const expectedLabels = [ + '0', + '1,000', + '2,000', + '3,000', + '4,000', + '5,000', + '6,000', + '7,000', + '8,000', + '9,000', + ]; expect(labels).to.eql(expectedLabels); }); it('should show ticks on selecting linear scale', async () => { await PageObjects.visEditor.selectYAxisScaleType(axisId, 'linear'); await PageObjects.visEditor.changeYAxisFilterLabelsCheckbox(axisId, false); - await PageObjects.visEditor.clickGo(); - const labels = await PageObjects.visChart.getYAxisLabels(); + await PageObjects.visEditor.clickGo(true); + const labels = await PageObjects.visChart.getYAxisLabels(xyChartSelector); log.debug(labels); - const expectedLabels = await PageObjects.visChart.getExpectedValue( - ['0', '2,000', '4,000', '6,000', '8,000', '10,000'], - ['0', '1,000', '2,000', '3,000', '4,000', '5,000', '6,000', '7,000', '8,000', '9,000'] - ); + const expectedLabels = [ + '0', + '1,000', + '2,000', + '3,000', + '4,000', + '5,000', + '6,000', + '7,000', + '8,000', + '9,000', + ]; expect(labels).to.eql(expectedLabels); }); it('should show filtered ticks on selecting linear scale', async () => { await PageObjects.visEditor.changeYAxisFilterLabelsCheckbox(axisId, true); - await PageObjects.visEditor.clickGo(); - const labels = await PageObjects.visChart.getYAxisLabels(); - const expectedLabels = await PageObjects.visChart.getExpectedValue( - ['2,000', '4,000', '6,000', '8,000'], - ['0', '1,000', '2,000', '3,000', '4,000', '5,000', '6,000', '7,000', '8,000', '9,000'] - ); + await PageObjects.visEditor.clickGo(true); + const labels = await PageObjects.visChart.getYAxisLabels(xyChartSelector); + const expectedLabels = [ + '0', + '1,000', + '2,000', + '3,000', + '4,000', + '5,000', + '6,000', + '7,000', + '8,000', + '9,000', + ]; expect(labels).to.eql(expectedLabels); }); }); @@ -274,16 +302,16 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.visEditor.clickBucket('X-axis'); log.debug('Aggregation = Date Histogram'); await PageObjects.visEditor.selectAggregation('Date Histogram'); - await PageObjects.visEditor.clickGo(); - const title = await PageObjects.visChart.getYAxisTitle(); + await PageObjects.visEditor.clickGo(true); + const title = await PageObjects.visChart.getYAxisTitle(xyChartSelector); expect(title).to.be('Serial Diff of Count'); }); it('should change y-axis label to custom', async () => { log.debug('set custom label of y-axis to "Custom"'); await PageObjects.visEditor.setCustomLabel('Custom', 1); - await PageObjects.visEditor.clickGo(); - const title = await PageObjects.visChart.getYAxisTitle(); + await PageObjects.visEditor.clickGo(true); + const title = await PageObjects.visChart.getYAxisTitle(xyChartSelector); expect(title).to.be('Custom'); }); @@ -297,24 +325,24 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { it('should apply with selected bucket', async () => { log.debug('Metrics agg = Average Bucket'); await PageObjects.visEditor.selectAggregation('Average Bucket', 'metrics'); - await PageObjects.visEditor.clickGo(); - const title = await PageObjects.visChart.getYAxisTitle(); + await PageObjects.visEditor.clickGo(true); + const title = await PageObjects.visChart.getYAxisTitle(xyChartSelector); expect(title).to.be('Overall Average of Count'); }); it('should change sub metric custom label and calculate y-axis title', async () => { log.debug('set custom label of sub metric to "Cats"'); await PageObjects.visEditor.setCustomLabel('Cats', '1-metric'); - await PageObjects.visEditor.clickGo(); - const title = await PageObjects.visChart.getYAxisTitle(); + await PageObjects.visEditor.clickGo(true); + const title = await PageObjects.visChart.getYAxisTitle(xyChartSelector); expect(title).to.be('Overall Average of Cats'); }); it('should outer custom label', async () => { log.debug('set custom label to "Custom"'); await PageObjects.visEditor.setCustomLabel('Custom', 1); - await PageObjects.visEditor.clickGo(); - const title = await PageObjects.visChart.getYAxisTitle(); + await PageObjects.visEditor.clickGo(true); + const title = await PageObjects.visChart.getYAxisTitle(xyChartSelector); expect(title).to.be('Custom'); }); diff --git a/test/functional/apps/visualize/_line_chart_split_series.ts b/test/functional/apps/visualize/_line_chart_split_series.ts index 91d44a6fc40da..d10b4ebd9b312 100644 --- a/test/functional/apps/visualize/_line_chart_split_series.ts +++ b/test/functional/apps/visualize/_line_chart_split_series.ts @@ -23,9 +23,9 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { 'visChart', 'timePicker', ]); + const xyChartSelector = 'visTypeXyChart'; describe('line charts - split series', function () { - let isNewChartsLibraryEnabled = false; const initLineChart = async function () { log.debug('navigateToApp visualize'); await PageObjects.visualize.navigateToNewAggBasedVisualization(); @@ -39,12 +39,11 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.visEditor.selectAggregation('Terms'); log.debug('Field = extension'); await PageObjects.visEditor.selectField('extension.raw'); - await PageObjects.visEditor.clickGo(); + await PageObjects.visEditor.clickGo(true); }; before(async () => { - isNewChartsLibraryEnabled = await PageObjects.visChart.isNewChartsLibraryEnabled(); - await PageObjects.visualize.initTests(isNewChartsLibraryEnabled); + await PageObjects.visualize.initTests(); await initLineChart(); }); @@ -59,7 +58,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { // sleep a bit before trying to get the chart data await PageObjects.common.sleep(3000); - const data = await PageObjects.visChart.getLineChartData(); + const data = await PageObjects.visChart.getLineChartData(xyChartSelector); log.debug('data=' + data); const tolerance = 10; // the y-axis scale is 10000 so 10 is 0.1% for (let x = 0; x < data.length; x++) { @@ -90,9 +89,9 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { log.debug('Order By = Term'); await PageObjects.visEditor.selectOrderByMetric(2, '_key'); - await PageObjects.visEditor.clickGo(); + await PageObjects.visEditor.clickGo(true); await retry.try(async function () { - const data = await PageObjects.visChart.getLineChartData(); + const data = await PageObjects.visChart.getLineChartData(xyChartSelector); log.debug('data=' + data); const tolerance = 10; // the y-axis scale is 10000 so 10 is 0.1% for (let x = 0; x < data.length; x++) { @@ -159,10 +158,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { }); it('should be able to save and load', async function () { - const vizName = await PageObjects.visChart.getExpectedValue( - 'Visualization Line split series', - 'Visualization Line split series - chart library' - ); + const vizName = 'Visualization Line split series'; await PageObjects.visualize.saveVisualizationExpectSuccessAndBreadcrumb(vizName); @@ -179,10 +175,10 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.visEditor.clickYAxisOptions(axisId); await PageObjects.visEditor.selectYAxisScaleType(axisId, 'log'); await PageObjects.visEditor.changeYAxisFilterLabelsCheckbox(axisId, false); - await PageObjects.visEditor.clickGo(); - const labels = await PageObjects.visChart.getYAxisLabelsAsNumbers(); - const minLabel = await PageObjects.visChart.getExpectedValue(2, 1); - const maxLabel = await PageObjects.visChart.getExpectedValue(5000, 900); + await PageObjects.visEditor.clickGo(true); + const labels = await PageObjects.visChart.getYAxisLabelsAsNumbers(xyChartSelector); + const minLabel = 1; + const maxLabel = 900; const numberOfLabels = 10; expect(labels.length).to.be.greaterThan(numberOfLabels); expect(labels[0]).to.eql(minLabel); @@ -191,10 +187,10 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { it('should show filtered ticks on selecting log scale', async () => { await PageObjects.visEditor.changeYAxisFilterLabelsCheckbox(axisId, true); - await PageObjects.visEditor.clickGo(); - const labels = await PageObjects.visChart.getYAxisLabelsAsNumbers(); - const minLabel = await PageObjects.visChart.getExpectedValue(2, 1); - const maxLabel = await PageObjects.visChart.getExpectedValue(5000, 900); + await PageObjects.visEditor.clickGo(true); + const labels = await PageObjects.visChart.getYAxisLabelsAsNumbers(xyChartSelector); + const minLabel = 1; + const maxLabel = 900; const numberOfLabels = 10; expect(labels.length).to.be.greaterThan(numberOfLabels); expect(labels[0]).to.eql(minLabel); @@ -204,47 +200,79 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { it('should show ticks on selecting square root scale', async () => { await PageObjects.visEditor.selectYAxisScaleType(axisId, 'square root'); await PageObjects.visEditor.changeYAxisFilterLabelsCheckbox(axisId, false); - await PageObjects.visEditor.clickGo(); - const labels = await PageObjects.visChart.getYAxisLabels(); - const expectedLabels = await PageObjects.visChart.getExpectedValue( - ['0', '2,000', '4,000', '6,000', '8,000', '10,000'], - ['0', '1,000', '2,000', '3,000', '4,000', '5,000', '6,000', '7,000', '8,000', '9,000'] - ); + await PageObjects.visEditor.clickGo(true); + const labels = await PageObjects.visChart.getYAxisLabels(xyChartSelector); + const expectedLabels = [ + '0', + '1,000', + '2,000', + '3,000', + '4,000', + '5,000', + '6,000', + '7,000', + '8,000', + '9,000', + ]; expect(labels).to.eql(expectedLabels); }); it('should show filtered ticks on selecting square root scale', async () => { await PageObjects.visEditor.changeYAxisFilterLabelsCheckbox(axisId, true); - await PageObjects.visEditor.clickGo(); - const labels = await PageObjects.visChart.getYAxisLabels(); - const expectedLabels = await PageObjects.visChart.getExpectedValue( - ['2,000', '4,000', '6,000', '8,000'], - ['0', '1,000', '2,000', '3,000', '4,000', '5,000', '6,000', '7,000', '8,000', '9,000'] - ); + await PageObjects.visEditor.clickGo(true); + const labels = await PageObjects.visChart.getYAxisLabels(xyChartSelector); + const expectedLabels = [ + '0', + '1,000', + '2,000', + '3,000', + '4,000', + '5,000', + '6,000', + '7,000', + '8,000', + '9,000', + ]; expect(labels).to.eql(expectedLabels); }); it('should show ticks on selecting linear scale', async () => { await PageObjects.visEditor.selectYAxisScaleType(axisId, 'linear'); await PageObjects.visEditor.changeYAxisFilterLabelsCheckbox(axisId, false); - await PageObjects.visEditor.clickGo(); - const labels = await PageObjects.visChart.getYAxisLabels(); + await PageObjects.visEditor.clickGo(true); + const labels = await PageObjects.visChart.getYAxisLabels(xyChartSelector); log.debug(labels); - const expectedLabels = await PageObjects.visChart.getExpectedValue( - ['0', '2,000', '4,000', '6,000', '8,000', '10,000'], - ['0', '1,000', '2,000', '3,000', '4,000', '5,000', '6,000', '7,000', '8,000', '9,000'] - ); + const expectedLabels = [ + '0', + '1,000', + '2,000', + '3,000', + '4,000', + '5,000', + '6,000', + '7,000', + '8,000', + '9,000', + ]; expect(labels).to.eql(expectedLabels); }); it('should show filtered ticks on selecting linear scale', async () => { await PageObjects.visEditor.changeYAxisFilterLabelsCheckbox(axisId, true); - await PageObjects.visEditor.clickGo(); - const labels = await PageObjects.visChart.getYAxisLabels(); - const expectedLabels = await PageObjects.visChart.getExpectedValue( - ['2,000', '4,000', '6,000', '8,000'], - ['0', '1,000', '2,000', '3,000', '4,000', '5,000', '6,000', '7,000', '8,000', '9,000'] - ); + await PageObjects.visEditor.clickGo(true); + const labels = await PageObjects.visChart.getYAxisLabels(xyChartSelector); + const expectedLabels = [ + '0', + '1,000', + '2,000', + '3,000', + '4,000', + '5,000', + '6,000', + '7,000', + '8,000', + '9,000', + ]; expect(labels).to.eql(expectedLabels); }); }); @@ -272,16 +300,16 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.visEditor.clickBucket('X-axis'); log.debug('Aggregation = Date Histogram'); await PageObjects.visEditor.selectAggregation('Date Histogram'); - await PageObjects.visEditor.clickGo(); - const title = await PageObjects.visChart.getYAxisTitle(); + await PageObjects.visEditor.clickGo(true); + const title = await PageObjects.visChart.getYAxisTitle(xyChartSelector); expect(title).to.be('Serial Diff of Count'); }); it('should change y-axis label to custom', async () => { log.debug('set custom label of y-axis to "Custom"'); await PageObjects.visEditor.setCustomLabel('Custom', 1); - await PageObjects.visEditor.clickGo(); - const title = await PageObjects.visChart.getYAxisTitle(); + await PageObjects.visEditor.clickGo(true); + const title = await PageObjects.visChart.getYAxisTitle(xyChartSelector); expect(title).to.be('Custom'); }); @@ -295,24 +323,24 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { it('should apply with selected bucket', async () => { log.debug('Metrics agg = Average Bucket'); await PageObjects.visEditor.selectAggregation('Average Bucket', 'metrics'); - await PageObjects.visEditor.clickGo(); - const title = await PageObjects.visChart.getYAxisTitle(); + await PageObjects.visEditor.clickGo(true); + const title = await PageObjects.visChart.getYAxisTitle(xyChartSelector); expect(title).to.be('Overall Average of Count'); }); it('should change sub metric custom label and calculate y-axis title', async () => { log.debug('set custom label of sub metric to "Cats"'); await PageObjects.visEditor.setCustomLabel('Cats', '1-metric'); - await PageObjects.visEditor.clickGo(); - const title = await PageObjects.visChart.getYAxisTitle(); + await PageObjects.visEditor.clickGo(true); + const title = await PageObjects.visChart.getYAxisTitle(xyChartSelector); expect(title).to.be('Overall Average of Cats'); }); it('should outer custom label', async () => { log.debug('set custom label to "Custom"'); await PageObjects.visEditor.setCustomLabel('Custom', 1); - await PageObjects.visEditor.clickGo(); - const title = await PageObjects.visChart.getYAxisTitle(); + await PageObjects.visEditor.clickGo(true); + const title = await PageObjects.visChart.getYAxisTitle(xyChartSelector); expect(title).to.be('Custom'); }); diff --git a/test/functional/apps/visualize/_point_series_options.ts b/test/functional/apps/visualize/_point_series_options.ts index 08c26b1f3ee95..0d68ea4984ec2 100644 --- a/test/functional/apps/visualize/_point_series_options.ts +++ b/test/functional/apps/visualize/_point_series_options.ts @@ -25,6 +25,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { 'common', ]); const inspector = getService('inspector'); + const xyChartSelector = 'visTypeXyChart'; async function initChart() { log.debug('navigateToApp visualize'); @@ -57,14 +58,12 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { log.debug('Average memory value axis - ValueAxis-2'); await PageObjects.visEditor.setSeriesAxis(1, 'ValueAxis-2'); await PageObjects.visChart.waitForVisualizationRenderingStabilized(); - await PageObjects.visEditor.clickGo(); + await PageObjects.visEditor.clickGo(true); } describe('point series', function describeIndexTests() { - let isNewChartsLibraryEnabled = false; before(async () => { - isNewChartsLibraryEnabled = await PageObjects.visChart.isNewChartsLibraryEnabled(); - await PageObjects.visualize.initTests(isNewChartsLibraryEnabled); + await PageObjects.visualize.initTests(); await initChart(); }); @@ -126,7 +125,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { ]; await retry.try(async () => { - const data = await PageObjects.visChart.getLineChartData('Count'); + const data = await PageObjects.visChart.getLineChartData(xyChartSelector, 'Count'); log.debug('count data=' + data); log.debug('data.length=' + data.length); expect(data).to.eql(expectedChartValues[0]); @@ -134,8 +133,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await retry.try(async () => { const avgMemoryData = await PageObjects.visChart.getLineChartData( - 'Average machine.ram', - 'ValueAxis-2' + xyChartSelector, + 'Average machine.ram' ); log.debug('average memory data=' + avgMemoryData); log.debug('data.length=' + avgMemoryData.length); @@ -151,7 +150,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { }); it('should put secondary axis on the right', async function () { - const length = await PageObjects.visChart.getAxesCountByPosition('right'); + const length = await PageObjects.visChart.getAxesCountByPosition('right', xyChartSelector); expect(length).to.be(1); }); }); @@ -159,8 +158,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { describe('multiple chart types', function () { it('should change average series type to histogram', async function () { await PageObjects.visEditor.setSeriesType(1, 'histogram'); - await PageObjects.visEditor.clickGo(); - const length = await PageObjects.visChart.getHistogramSeriesCount(); + await PageObjects.visEditor.clickGo(true); + const length = await PageObjects.visChart.getHistogramSeriesCount(xyChartSelector); expect(length).to.be(1); }); }); @@ -172,8 +171,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { it('should show category grid lines', async function () { await PageObjects.visEditor.toggleGridCategoryLines(); - await PageObjects.visEditor.clickGo(); - const gridLines = await PageObjects.visChart.getGridLines(); + await PageObjects.visEditor.clickGo(true); + const gridLines = await PageObjects.visChart.getGridLines(xyChartSelector); // FLAKY relaxing as depends on chart size/browser size and produce differences between local and CI // The objective here is to check whenever the grid lines are rendered, not the exact quantity expect(gridLines.length).to.be.greaterThan(0); @@ -185,8 +184,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { it('should show value axis grid lines', async function () { await PageObjects.visEditor.setGridValueAxis('ValueAxis-2'); await PageObjects.visEditor.toggleGridCategoryLines(); - await PageObjects.visEditor.clickGo(); - const gridLines = await PageObjects.visChart.getGridLines(); + await PageObjects.visEditor.clickGo(true); + const gridLines = await PageObjects.visChart.getGridLines(xyChartSelector); // FLAKY relaxing as depends on chart size/browser size and produce differences between local and CI // The objective here is to check whenever the grid lines are rendered, not the exact quantity expect(gridLines.length).to.be.greaterThan(0); @@ -208,22 +207,22 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.visEditor.selectAggregation('Terms'); log.debug('Field = geo.src'); await PageObjects.visEditor.selectField('geo.src'); - await PageObjects.visEditor.clickGo(); + await PageObjects.visEditor.clickGo(true); log.debug('Open Options tab'); await PageObjects.visEditor.clickOptionsTab(); }); it('should show values on bar chart', async () => { await PageObjects.visEditor.toggleValuesOnChart(); - await PageObjects.visEditor.clickGo(); - const values = await PageObjects.visChart.getChartValues(); + await PageObjects.visEditor.clickGo(true); + const values = await PageObjects.visChart.getChartValues(xyChartSelector); expect(values).to.eql(['2,592', '2,373', '1,194', '489', '415']); }); it('should hide values on bar chart', async () => { await PageObjects.visEditor.toggleValuesOnChart(); - await PageObjects.visEditor.clickGo(); - const values = await PageObjects.visChart.getChartValues(); + await PageObjects.visEditor.clickGo(true); + const values = await PageObjects.visChart.getChartValues(xyChartSelector); expect(values.length).to.be(0); }); }); @@ -237,20 +236,20 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.visualize.clickLineChart(); await PageObjects.visualize.clickNewSearch(); await PageObjects.visEditor.selectYAxisAggregation('Average', 'bytes', customLabel, 1); - await PageObjects.visEditor.clickGo(); + await PageObjects.visEditor.clickGo(true); await PageObjects.visEditor.clickMetricsAndAxes(); await PageObjects.visEditor.clickYAxisOptions('ValueAxis-1'); }); it('should render a custom label when one is set', async function () { - const title = await PageObjects.visChart.getYAxisTitle(); + const title = await PageObjects.visChart.getYAxisTitle(xyChartSelector); expect(title).to.be(customLabel); }); it('should render a custom axis title when one is set, overriding the custom label', async function () { await PageObjects.visEditor.setAxisTitle(axisTitle); - await PageObjects.visEditor.clickGo(); - const title = await PageObjects.visChart.getYAxisTitle(); + await PageObjects.visEditor.clickGo(true); + const title = await PageObjects.visChart.getYAxisTitle(xyChartSelector); expect(title).to.be(axisTitle); }); @@ -262,43 +261,42 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.visEditor.clickDataTab(); await PageObjects.visEditor.toggleOpenEditor(1); await PageObjects.visEditor.setCustomLabel('test', 1); - await PageObjects.visEditor.clickGo(); + await PageObjects.visEditor.clickGo(true); await PageObjects.visEditor.clickMetricsAndAxes(); await PageObjects.visEditor.clickYAxisOptions('ValueAxis-1'); - const title = await PageObjects.visChart.getYAxisTitle(); + const title = await PageObjects.visChart.getYAxisTitle(xyChartSelector); expect(title).to.be(axisTitle); }); }); describe('timezones', async function () { it('should show round labels in default timezone', async function () { - const expectedLabels = await PageObjects.visChart.getExpectedValue( - ['2015-09-20 00:00', '2015-09-21 00:00', '2015-09-22 00:00'], - ['2015-09-19 12:00', '2015-09-20 12:00', '2015-09-21 12:00', '2015-09-22 12:00'] - ); + const expectedLabels = [ + '2015-09-19 12:00', + '2015-09-20 12:00', + '2015-09-21 12:00', + '2015-09-22 12:00', + ]; await initChart(); - const labels = await PageObjects.visChart.getXAxisLabels(); + const labels = await PageObjects.visChart.getXAxisLabels(xyChartSelector); expect(labels.join()).to.contain(expectedLabels.join()); }); it('should show round labels in different timezone', async function () { - const expectedLabels = await PageObjects.visChart.getExpectedValue( - ['2015-09-20 00:00', '2015-09-21 00:00', '2015-09-22 00:00'], - [ - '2015-09-19 12:00', - '2015-09-20 12:00', - '2015-09-21 12:00', - '2015-09-22 12:00', - '2015-09-23 12:00', - ] - ); + const expectedLabels = [ + '2015-09-19 12:00', + '2015-09-20 12:00', + '2015-09-21 12:00', + '2015-09-22 12:00', + '2015-09-23 12:00', + ]; await kibanaServer.uiSettings.update({ 'dateFormat:tz': 'America/Phoenix' }); await browser.refresh(); await PageObjects.header.awaitKibanaChrome(); await initChart(); - const labels = await PageObjects.visChart.getXAxisLabels(); + const labels = await PageObjects.visChart.getXAxisLabels(xyChartSelector); expect(labels.join()).to.contain(expectedLabels.join()); }); @@ -314,28 +312,25 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { 'wait for x-axis labels to match expected for Phoenix', 5000, async () => { - const labels = (await PageObjects.visChart.getXAxisLabels()) ?? ''; + const labels = (await PageObjects.visChart.getXAxisLabels(xyChartSelector)) ?? ''; log.debug(`Labels: ${labels}`); - const xLabels = await PageObjects.visChart.getExpectedValue( - ['10:00', '11:00', '12:00', '13:00', '14:00', '15:00'], - [ - '09:30', - '10:00', - '10:30', - '11:00', - '11:30', - '12:00', - '12:30', - '13:00', - '13:30', - '14:00', - '14:30', - '15:00', - '15:30', - '16:00', - ] - ); + const xLabels = [ + '09:30', + '10:00', + '10:30', + '11:00', + '11:30', + '12:00', + '12:30', + '13:00', + '13:30', + '14:00', + '14:30', + '15:00', + '15:30', + '16:00', + ]; return labels.toString() === xLabels.toString(); } ); @@ -375,7 +370,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await browser.refresh(); // wait some time before trying to check for rendering count await PageObjects.header.awaitKibanaChrome(); - await PageObjects.visualize.clickRefresh(); + await PageObjects.visualize.clickRefresh(true); await PageObjects.visChart.waitForRenderingCount(); log.debug('getXAxisLabels'); @@ -383,28 +378,25 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { 'wait for x-axis labels to match expected for UTC', 5000, async () => { - const labels2 = (await PageObjects.visChart.getXAxisLabels()) ?? ''; + const labels2 = (await PageObjects.visChart.getXAxisLabels(xyChartSelector)) ?? ''; log.debug(`Labels: ${labels2}`); - const xLabels2 = await PageObjects.visChart.getExpectedValue( - ['17:00', '18:00', '19:00', '20:00', '21:00', '22:00'], - [ - '16:30', - '17:00', - '17:30', - '18:00', - '18:30', - '19:00', - '19:30', - '20:00', - '20:30', - '21:00', - '21:30', - '22:00', - '22:30', - '23:00', - ] - ); + const xLabels2 = [ + '16:30', + '17:00', + '17:30', + '18:00', + '18:30', + '19:00', + '19:30', + '20:00', + '20:30', + '21:00', + '21:30', + '22:00', + '22:30', + '23:00', + ]; return labels2.toString() === xLabels2.toString(); } ); diff --git a/test/functional/apps/visualize/_timelion.ts b/test/functional/apps/visualize/_timelion.ts index 589559c717842..ea8cb8b13ba49 100644 --- a/test/functional/apps/visualize/_timelion.ts +++ b/test/functional/apps/visualize/_timelion.ts @@ -10,16 +10,19 @@ import expect from '@kbn/expect'; import type { FtrProviderContext } from '../../ftr_provider_context'; export default function ({ getPageObjects, getService }: FtrProviderContext) { - const { timePicker, visChart, visEditor, visualize } = getPageObjects([ + const { timePicker, visChart, visEditor, visualize, timelion, common } = getPageObjects([ 'timePicker', 'visChart', 'visEditor', 'visualize', + 'timelion', + 'common', ]); const monacoEditor = getService('monacoEditor'); const kibanaServer = getService('kibanaServer'); const elasticChart = getService('elasticChart'); const find = getService('find'); + const timelionChartSelector = 'timelionChart'; describe('Timelion visualization', () => { before(async () => { @@ -35,13 +38,13 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { const initVisualization = async (expression: string, interval: string = '12h') => { await visEditor.setTimelionInterval(interval); await monacoEditor.setCodeEditorValue(expression); - await visEditor.clickGo(); + await visEditor.clickGo(true); }; it('should display correct data for specified index pattern and timefield', async () => { await initVisualization('.es(index=long-window-logstash-*,timefield=@timestamp)'); - const chartData = await visChart.getAreaChartData('q:* > count'); + const chartData = await visChart.getAreaChartData('q:* > count', timelionChartSelector); expect(chartData).to.eql([3, 5, 2, 6, 1, 6, 1, 7, 0, 0]); }); @@ -62,10 +65,22 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { '36h' ); - const firstAreaChartData = await visChart.getAreaChartData('q:* > avg(bytes)'); - const secondAreaChartData = await visChart.getAreaChartData('q:* > min(bytes)'); - const thirdAreaChartData = await visChart.getAreaChartData('q:* > max(bytes)'); - const forthAreaChartData = await visChart.getAreaChartData('q:* > cardinality(bytes)'); + const firstAreaChartData = await visChart.getAreaChartData( + 'q:* > avg(bytes)', + timelionChartSelector + ); + const secondAreaChartData = await visChart.getAreaChartData( + 'q:* > min(bytes)', + timelionChartSelector + ); + const thirdAreaChartData = await visChart.getAreaChartData( + 'q:* > max(bytes)', + timelionChartSelector + ); + const forthAreaChartData = await visChart.getAreaChartData( + 'q:* > cardinality(bytes)', + timelionChartSelector + ); expect(firstAreaChartData).to.eql([5732.783676366217, 5721.775973559419]); expect(secondAreaChartData).to.eql([0, 0]); @@ -84,10 +99,19 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { '.es(*).if(operator=gt,if=200,then=50,else=150).label("condition")' ); - const firstAreaChartData = await visChart.getAreaChartData('initial'); - const secondAreaChartData = await visChart.getAreaChartData('add multiply abs divide'); - const thirdAreaChartData = await visChart.getAreaChartData('query derivative min sum'); - const forthAreaChartData = await visChart.getAreaChartData('condition'); + const firstAreaChartData = await visChart.getAreaChartData('initial', timelionChartSelector); + const secondAreaChartData = await visChart.getAreaChartData( + 'add multiply abs divide', + timelionChartSelector + ); + const thirdAreaChartData = await visChart.getAreaChartData( + 'query derivative min sum', + timelionChartSelector + ); + const forthAreaChartData = await visChart.getAreaChartData( + 'condition', + timelionChartSelector + ); expect(firstAreaChartData).to.eql(firstAreaExpectedChartData); expect(secondAreaChartData).to.eql(firstAreaExpectedChartData); @@ -112,20 +136,23 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { '36h' ); - const leftAxesCount = await visChart.getAxesCountByPosition('left'); - const rightAxesCount = await visChart.getAxesCountByPosition('right'); - const firstAxesLabels = await visChart.getYAxisLabels(); - const secondAxesLabels = await visChart.getYAxisLabels(1); - const thirdAxesLabels = await visChart.getYAxisLabels(2); - const firstAreaChartData = await visChart.getAreaChartData('Average Machine RAM amount'); + const leftAxesCount = await visChart.getAxesCountByPosition('left', timelionChartSelector); + const rightAxesCount = await visChart.getAxesCountByPosition('right', timelionChartSelector); + const firstAxesLabels = await visChart.getYAxisLabels(timelionChartSelector); + const secondAxesLabels = await visChart.getYAxisLabels(timelionChartSelector, 1); + const thirdAxesLabels = await visChart.getYAxisLabels(timelionChartSelector, 2); + const firstAreaChartData = await visChart.getAreaChartData( + 'Average Machine RAM amount', + timelionChartSelector + ); const secondAreaChartData = await visChart.getAreaChartData( 'Average Bytes for request', - undefined, + timelionChartSelector, true ); const thirdAreaChartData = await visChart.getAreaChartData( 'Average Bytes for request with offset', - undefined, + timelionChartSelector, true ); @@ -144,9 +171,18 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { it('should display correct chart data for split expression', async () => { await initVisualization('.es(index=logstash-*, split=geo.dest:3)', '1 day'); - const firstAreaChartData = await visChart.getAreaChartData('q:* > geo.dest:CN > count'); - const secondAreaChartData = await visChart.getAreaChartData('q:* > geo.dest:IN > count'); - const thirdAreaChartData = await visChart.getAreaChartData('q:* > geo.dest:US > count'); + const firstAreaChartData = await visChart.getAreaChartData( + 'q:* > geo.dest:CN > count', + timelionChartSelector + ); + const secondAreaChartData = await visChart.getAreaChartData( + 'q:* > geo.dest:IN > count', + timelionChartSelector + ); + const thirdAreaChartData = await visChart.getAreaChartData( + 'q:* > geo.dest:US > count', + timelionChartSelector + ); expect(firstAreaChartData).to.eql([0, 905, 910, 850, 0]); expect(secondAreaChartData).to.eql([0, 763, 699, 825, 0]); @@ -156,8 +192,8 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { it('should display two areas and one bar chart items', async () => { await initVisualization('.es(*), .es(*), .es(*).bars(stack=true)'); - const areasChartsCount = await visChart.getAreaSeriesCount(); - const barsChartsCount = await visChart.getHistogramSeriesCount(); + const areasChartsCount = await visChart.getAreaSeriesCount(timelionChartSelector); + const barsChartsCount = await visChart.getHistogramSeriesCount(timelionChartSelector); expect(areasChartsCount).to.be(2); expect(barsChartsCount).to.be(1); @@ -167,7 +203,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { it('should correctly display the legend items names and position', async () => { await initVisualization('.es(*).label("first series"), .es(*).label("second series")'); - const legendNames = await visChart.getLegendEntries(); + const legendNames = await visChart.getLegendEntriesXYCharts(timelionChartSelector); const legendElement = await find.byClassName('echLegend'); const isLegendTopPositioned = await legendElement.elementHasClass('echLegend--top'); const isLegendLeftPositioned = await legendElement.elementHasClass('echLegend--left'); @@ -196,6 +232,72 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { }); }); + describe('expression typeahead', () => { + it('should display function suggestions', async () => { + await monacoEditor.setCodeEditorValue(''); + await monacoEditor.typeCodeEditorValue('.e', 'timelionCodeEditor'); + // wait for monaco editor model will be updated with new value + await common.sleep(300); + let value = await monacoEditor.getCodeEditorValue(0); + expect(value).to.eql('.e'); + const suggestions = await timelion.getSuggestionItemsText(); + expect(suggestions.length).to.eql(2); + expect(suggestions[0].includes('es')).to.eql(true); + expect(suggestions[1].includes('elasticsearch')).to.eql(true); + await timelion.clickSuggestion(0); + // wait for monaco editor model will be updated with new value + await common.sleep(300); + value = await monacoEditor.getCodeEditorValue(0); + expect(value).to.eql('.es()'); + }); + + describe('dynamic suggestions for argument values', () => { + describe('.es()', () => { + it('should show index pattern suggestions for index argument', async () => { + await monacoEditor.setCodeEditorValue(''); + await monacoEditor.typeCodeEditorValue('.es(index=', 'timelionCodeEditor'); + // wait for index patterns will be loaded + await common.sleep(500); + const suggestions = await timelion.getSuggestionItemsText(); + expect(suggestions.length).not.to.eql(0); + expect(suggestions[0].includes('log')).to.eql(true); + }); + + it('should show field suggestions for timefield argument when index pattern set', async () => { + await monacoEditor.setCodeEditorValue(''); + await monacoEditor.typeCodeEditorValue( + '.es(index=logstash-*, timefield=', + 'timelionCodeEditor' + ); + const suggestions = await timelion.getSuggestionItemsText(); + expect(suggestions.length).to.eql(4); + expect(suggestions[0].includes('@timestamp')).to.eql(true); + }); + + it('should show field suggestions for split argument when index pattern set', async () => { + await monacoEditor.setCodeEditorValue(''); + await monacoEditor.typeCodeEditorValue( + '.es(index=logstash-*, timefield=@timestamp ,split=', + 'timelionCodeEditor' + ); + const suggestions = await timelion.getSuggestionItemsText(); + expect(suggestions.length).not.to.eql(0); + expect(suggestions[0].includes('@message.raw')).to.eql(true); + }); + + it('should show field suggestions for metric argument when index pattern set', async () => { + await monacoEditor.typeCodeEditorValue( + '.es(index=logstash-*, timefield=@timestamp ,metric=avg:', + 'timelionCodeEditor' + ); + const suggestions = await timelion.getSuggestionItemsText(); + expect(suggestions.length).not.to.eql(0); + expect(suggestions[0].includes('avg:bytes')).to.eql(true); + }); + }); + }); + }); + after( async () => await kibanaServer.uiSettings.update({ diff --git a/test/functional/apps/visualize/_tsvb_chart.ts b/test/functional/apps/visualize/_tsvb_chart.ts index d6862487196f0..c7f228e9aa05c 100644 --- a/test/functional/apps/visualize/_tsvb_chart.ts +++ b/test/functional/apps/visualize/_tsvb_chart.ts @@ -17,11 +17,12 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const retry = getService('retry'); const security = getService('security'); - const { timePicker, visChart, visualBuilder, visualize } = getPageObjects([ + const { timePicker, visChart, visualBuilder, visualize, settings } = getPageObjects([ 'timePicker', 'visChart', 'visualBuilder', 'visualize', + 'settings', ]); describe('visual builder', function describeIndexTests() { @@ -174,6 +175,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { it('should display correct data for max aggregation with entire time range mode', async () => { await visualBuilder.selectAggType('Max'); await visualBuilder.setFieldForAggregation('bytes'); + await visualBuilder.clickSeriesOption(); + await visualBuilder.changeDataFormatter('number'); const gaugeLabel = await visualBuilder.getGaugeLabel(); const gaugeCount = await visualBuilder.getGaugeCount(); @@ -269,6 +272,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { it('should display correct data for sum of squares aggregation with entire time range mode', async () => { await visualBuilder.selectAggType('Sum of squares'); await visualBuilder.setFieldForAggregation('bytes'); + await visualBuilder.clickSeriesOption(); + await visualBuilder.changeDataFormatter('number'); await visualBuilder.clickPanelOptions('topN'); await visualBuilder.setMetricsDataTimerangeMode('Entire time range'); @@ -452,5 +457,118 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { expect(legendItems3).to.eql(finalLegendItems); }); }); + + describe('applying field formats from Advanced Settings', () => { + const toggleSetFormatForMachineOsRaw = async () => { + log.debug( + 'Navigate to Advanced Settings Index Patterns and toggle Set Format for machine.os.raw' + ); + await settings.navigateTo(); + await settings.clickKibanaIndexPatterns(); + await settings.clickIndexPatternLogstash(); + await settings.openControlsByName('machine.os.raw'); + await settings.toggleRow('formatRow'); + }; + + before(async () => { + log.debug('Toggle on Set Format for machine.os.raw and set it to the title case'); + await toggleSetFormatForMachineOsRaw(); + await settings.setFieldFormat('string'); + await settings.setScriptedFieldStringTransform('title'); + await settings.controlChangeSave(); + }); + + beforeEach(async () => { + await visualBuilder.resetPage(); + await visualBuilder.selectAggType('Average'); + await visualBuilder.setFieldForAggregation('bytes'); + await visualBuilder.setMetricsGroupByTerms('machine.os.raw'); + await visChart.waitForVisualizationRenderingStabilized(); + }); + + it('should display title field formatted labels with byte field formatted values by default', async () => { + const expectedLegendItems = [ + 'Win 8: 4.968KB', + 'Win Xp: 4.23KB', + 'Win 7: 6.181KB', + 'Ios: 5.84KB', + 'Osx: 5.928KB', + ]; + + const legendItems = await visualBuilder.getLegendItemsContent(); + expect(legendItems).to.eql(expectedLegendItems); + }); + + it('should display title field formatted labels with raw values', async () => { + const expectedLegendItems = [ + 'Win 8: 5,087.5', + 'Win Xp: 4,332', + 'Win 7: 6,328.938', + 'Ios: 5,980', + 'Osx: 6,070', + ]; + await visualBuilder.clickSeriesOption(); + await visualBuilder.changeDataFormatter('number'); + const legendItems = await visualBuilder.getLegendItemsContent(); + + expect(legendItems).to.eql(expectedLegendItems); + }); + + it('should display title field formatted labels with TSVB formatted values', async () => { + const expectedLegendItems = [ + 'Win 8: 5,087.5 format', + 'Win Xp: 4,332 format', + 'Win 7: 6,328.938 format', + 'Ios: 5,980 format', + 'Osx: 6,070 format', + ]; + + await visualBuilder.clickSeriesOption(); + await visualBuilder.changeDataFormatter('number'); + await visualBuilder.enterSeriesTemplate('{{value}} format'); + await visChart.waitForVisualizationRenderingStabilized(); + + const legendItems = await visualBuilder.getLegendItemsContent(); + expect(legendItems).to.eql(expectedLegendItems); + }); + + describe('formatting values for Metric, TopN and Gauge', () => { + it('should display field formatted value for Metric', async () => { + await visualBuilder.clickMetric(); + await visualBuilder.checkMetricTabIsPresent(); + + const metricValue = await visualBuilder.getMetricValue(); + expect(metricValue).to.eql('5.514KB'); + }); + + it('should display field formatted label and value for TopN', async () => { + await visualBuilder.clickTopN(); + await visualBuilder.checkTopNTabIsPresent(); + + const topNLabel = await visualBuilder.getTopNLabel(); + const topNCount = await visualBuilder.getTopNCount(); + + expect(topNLabel).to.eql('Win 7'); + expect(topNCount).to.eql('5.664KB'); + }); + + it('should display field formatted label and value for Gauge', async () => { + await visualBuilder.clickGauge(); + await visualBuilder.checkGaugeTabIsPresent(); + + const gaugeLabel = await visualBuilder.getGaugeLabel(); + const gaugeCount = await visualBuilder.getGaugeCount(); + + expect(gaugeLabel).to.eql('Average of bytes'); + expect(gaugeCount).to.eql('5.514KB'); + }); + }); + + after(async () => { + log.debug('Toggle off Set Format for machine.os.raw'); + await toggleSetFormatForMachineOsRaw(); + await settings.controlChangeSave(); + }); + }); }); } diff --git a/test/functional/apps/visualize/_tsvb_markdown.ts b/test/functional/apps/visualize/_tsvb_markdown.ts index b8b74d5cd7bf3..98ed05d854f0c 100644 --- a/test/functional/apps/visualize/_tsvb_markdown.ts +++ b/test/functional/apps/visualize/_tsvb_markdown.ts @@ -146,6 +146,31 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { expect(aggregationLength).to.be.equal(2); }); }); + + describe('applying field formats from Advanced Settings for values', () => { + before(async () => { + await visualBuilder.resetPage(); + await visualBuilder.clickMarkdown(); + await visualBuilder.markdownSwitchSubTab('markdown'); + await visualBuilder.enterMarkdown('{{ average_of_bytes.last.formatted }}'); + await visualBuilder.markdownSwitchSubTab('data'); + await visualBuilder.selectAggType('Average'); + await visualBuilder.setFieldForAggregation('bytes'); + await visualBuilder.clickSeriesOption(); + }); + + it('should apply field formatting by default', async () => { + const text = await visualBuilder.getMarkdownText(); + expect(text).to.be('5.588KB'); + }); + + it('should apply TSVB formatting', async () => { + await visualBuilder.changeDataFormatter('percent'); + + const text = await visualBuilder.getMarkdownText(); + expect(text).to.be('572,241.265%'); + }); + }); }); }); } diff --git a/test/functional/apps/visualize/_tsvb_table.ts b/test/functional/apps/visualize/_tsvb_table.ts index 7c093b5a9640a..ed668e4bca8e5 100644 --- a/test/functional/apps/visualize/_tsvb_table.ts +++ b/test/functional/apps/visualize/_tsvb_table.ts @@ -11,10 +11,11 @@ import expect from '@kbn/expect'; import { FtrProviderContext } from '../../ftr_provider_context'; export default function ({ getPageObjects, getService }: FtrProviderContext) { - const { visualBuilder, visualize, visChart } = getPageObjects([ + const { visualBuilder, visualize, visChart, settings } = getPageObjects([ 'visualBuilder', 'visualize', 'visChart', + 'settings', ]); const findService = getService('find'); const retry = getService('retry'); @@ -45,6 +46,19 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { expect(tableData).to.be(EXPECTED); }); + it('should display drilldown urls', async () => { + const baseURL = 'http://elastic.co/foo/'; + + await visualBuilder.clickPanelOptions('table'); + await visualBuilder.setDrilldownUrl(`${baseURL}{{key}}`); + + await retry.try(async () => { + const links = await findService.allByCssSelector(`a[href="${baseURL}ios"]`); + + expect(links.length).to.be(1); + }); + }); + it('should display correct values on changing metrics aggregation', async () => { const EXPECTED = 'OS Cardinality\nwin 8 12\nwin xp 9\nwin 7 8\nios 5\nosx 3'; @@ -71,6 +85,8 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { 'OS Variance of bytes\nwin 8 2,707,941.822\nwin xp 2,595,612.24\nwin 7 16,055,541.306\nios 6,505,206.56\nosx 1,016,620.667'; await visualBuilder.selectAggType('Variance'); await visualBuilder.setFieldForAggregation('bytes'); + await visualBuilder.clickSeriesOption(); + await visualBuilder.changeDataFormatter('number'); const tableData = await visualBuilder.getViewTable(); expect(tableData).to.be(EXPECTED); @@ -122,6 +138,63 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { expect(tableData).to.be(EXPECTED); }); + describe('applying field formats from Advanced Settings', () => { + const toggleSetFormatForMachineOsRaw = async () => { + await settings.navigateTo(); + await settings.clickKibanaIndexPatterns(); + await settings.clickIndexPatternLogstash(); + await settings.openControlsByName('machine.os.raw'); + await settings.toggleRow('formatRow'); + }; + + before(async () => { + await toggleSetFormatForMachineOsRaw(); + await settings.setFieldFormat('string'); + await settings.setScriptedFieldStringTransform('upper'); + await settings.controlChangeSave(); + }); + + beforeEach(async () => { + await visualBuilder.selectAggType('Average'); + await visualBuilder.setFieldForAggregation('bytes'); + }); + + it('should display field formatted row labels with field formatted data by default', async () => { + const expected = + 'OS Average of bytes\nWIN 8 6.786KB\nWIN XP 3.804KB\nWIN 7 6.596KB\nIOS 4.844KB\nOSX 3.06KB'; + + const tableData = await visualBuilder.getViewTable(); + expect(tableData).to.be(expected); + }); + + it('should display field formatted row labels with raw data', async () => { + const expected = + 'OS Average of bytes\nWIN 8 6,948.846\nWIN XP 3,895.6\nWIN 7 6,753.833\nIOS 4,960.2\nOSX 3,133'; + + await visualBuilder.clickSeriesOption(); + await visualBuilder.changeDataFormatter('number'); + + const tableData = await visualBuilder.getViewTable(); + expect(tableData).to.be(expected); + }); + + it('should display field formatted row labels with TSVB formatted data', async () => { + const expected = + 'OS Average of bytes\nWIN 8 694,884.615%\nWIN XP 389,560%\nWIN 7 675,383.333%\nIOS 496,020%\nOSX 313,300%'; + + await visualBuilder.clickSeriesOption(); + await visualBuilder.changeDataFormatter('percent'); + + const tableData = await visualBuilder.getViewTable(); + expect(tableData).to.be(expected); + }); + + after(async () => { + await toggleSetFormatForMachineOsRaw(); + await settings.controlChangeSave(); + }); + }); + it('should display drilldown urls', async () => { const baseURL = 'http://elastic.co/foo/'; diff --git a/test/functional/apps/visualize/_tsvb_time_series.ts b/test/functional/apps/visualize/_tsvb_time_series.ts index 4733efade69e1..21bee2d16442f 100644 --- a/test/functional/apps/visualize/_tsvb_time_series.ts +++ b/test/functional/apps/visualize/_tsvb_time_series.ts @@ -89,6 +89,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { const expectedLegendValue = '$ 156'; await visualBuilder.clickSeriesOption(); + await visualBuilder.changeDataFormatter('number'); await visualBuilder.enterSeriesTemplate('$ {{value}}'); await retry.try(async () => { const actualCount = await visualBuilder.getRhythmChartLegendValue(); @@ -100,7 +101,7 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { const expectedLegendValue = '15,600%'; await visualBuilder.clickSeriesOption(); - await visualBuilder.changeDataFormatter('Percent'); + await visualBuilder.changeDataFormatter('percent'); const actualCount = await visualBuilder.getRhythmChartLegendValue(); expect(actualCount).to.be(expectedLegendValue); }); @@ -109,14 +110,14 @@ export default function ({ getPageObjects, getService }: FtrProviderContext) { const expectedLegendValue = '156B'; await visualBuilder.clickSeriesOption(); - await visualBuilder.changeDataFormatter('Bytes'); + await visualBuilder.changeDataFormatter('bytes'); const actualCount = await visualBuilder.getRhythmChartLegendValue(); expect(actualCount).to.be(expectedLegendValue); }); it('should show the correct count in the legend with "Human readable" duration formatter', async () => { await visualBuilder.clickSeriesOption(); - await visualBuilder.changeDataFormatter('Duration'); + await visualBuilder.changeDataFormatter('duration'); await visualBuilder.setDurationFormatterSettings({ to: 'Human readable' }); const actualCountDefault = await visualBuilder.getRhythmChartLegendValue(); expect(actualCountDefault).to.be('a few seconds'); diff --git a/test/functional/apps/visualize/_vertical_bar_chart.ts b/test/functional/apps/visualize/_vertical_bar_chart.ts index a728757a485e1..93022b5d2f0e8 100644 --- a/test/functional/apps/visualize/_vertical_bar_chart.ts +++ b/test/functional/apps/visualize/_vertical_bar_chart.ts @@ -18,11 +18,11 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const filterBar = getService('filterBar'); const PageObjects = getPageObjects(['visualize', 'visEditor', 'visChart', 'timePicker']); + const xyChartSelector = 'visTypeXyChart'; + describe('vertical bar chart', function () { - let isNewChartsLibraryEnabled = false; before(async () => { - isNewChartsLibraryEnabled = await PageObjects.visChart.isNewChartsLibraryEnabled(); - await PageObjects.visualize.initTests(isNewChartsLibraryEnabled); + await PageObjects.visualize.initTests(); }); const vizName1 = 'Visualization VerticalBarChart'; @@ -41,21 +41,21 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { log.debug('Field = @timestamp'); await PageObjects.visEditor.selectField('@timestamp'); // leaving Interval set to Auto - await PageObjects.visEditor.clickGo(); + await PageObjects.visEditor.clickGo(true); }; describe('bar charts x axis tick labels', () => { it('should show tick labels also after rotation of the chart', async function () { await initBarChart(); - const bottomLabels = await PageObjects.visChart.getXAxisLabels(); + const bottomLabels = await PageObjects.visChart.getXAxisLabels(xyChartSelector); log.debug(`${bottomLabels.length} tick labels on bottom x axis`); await PageObjects.visEditor.clickMetricsAndAxes(); await PageObjects.visEditor.selectXAxisPosition('left'); - await PageObjects.visEditor.clickGo(); + await PageObjects.visEditor.clickGo(true); // the getYAxisLabels helper always returns the labels on the left axis - const leftLabels = await PageObjects.visChart.getYAxisLabels(); + const leftLabels = await PageObjects.visChart.getYAxisLabels(xyChartSelector); log.debug(`${leftLabels.length} tick labels on left x axis`); expect(leftLabels.length).to.be.greaterThan(bottomLabels.length * (2 / 3)); }); @@ -69,16 +69,16 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.visEditor.selectAggregation('Date Range'); await PageObjects.visEditor.selectField('@timestamp'); - await PageObjects.visEditor.clickGo(); - const bottomLabels = await PageObjects.visChart.getXAxisLabels(); + await PageObjects.visEditor.clickGo(true); + const bottomLabels = await PageObjects.visChart.getXAxisLabels(xyChartSelector); expect(bottomLabels.length).to.be(1); await PageObjects.visEditor.clickMetricsAndAxes(); await PageObjects.visEditor.selectXAxisPosition('left'); - await PageObjects.visEditor.clickGo(); + await PageObjects.visEditor.clickGo(true); // the getYAxisLabels helper always returns the labels on the left axis - const leftLabels = await PageObjects.visChart.getYAxisLabels(); + const leftLabels = await PageObjects.visChart.getYAxisLabels(xyChartSelector); expect(leftLabels.length).to.be(1); }); }); @@ -96,8 +96,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.visEditor.selectField('@timestamp'); await PageObjects.visEditor.clickAddDateRange(); await PageObjects.visEditor.setDateRangeByIndex('1', 'now-2w/w', 'now-1w/w'); - await PageObjects.visEditor.clickGo(); - const bottomLabels = await PageObjects.visChart.getXAxisLabels(); + await PageObjects.visEditor.clickGo(true); + const bottomLabels = await PageObjects.visChart.getXAxisLabels(xyChartSelector); expect(bottomLabels.length).to.be(2); }); }); @@ -146,7 +146,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { // return arguments[0].getAttribute(arguments[1]);","args":[{"ELEMENT":"592"},"fill"]}] arguments[0].getAttribute is not a function // try sleeping a bit before getting that data await retry.try(async () => { - const data = await PageObjects.visChart.getBarChartData(); + const data = await PageObjects.visChart.getBarChartData(xyChartSelector); log.debug('data=' + data); log.debug('data.length=' + data.length); expect(data).to.eql(expectedChartValues); @@ -257,7 +257,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { // return arguments[0].getAttribute(arguments[1]);","args":[{"ELEMENT":"592"},"fill"]}] arguments[0].getAttribute is not a function // try sleeping a bit before getting that data await retry.try(async () => { - const data = await PageObjects.visChart.getBarChartData(); + const data = await PageObjects.visChart.getBarChartData(xyChartSelector); log.debug('data=' + data); log.debug('data.length=' + data.length); expect(data).to.eql(expectedChartValues); @@ -265,7 +265,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.visEditor.toggleOpenEditor(2); await PageObjects.visEditor.clickDropPartialBuckets(); - await PageObjects.visEditor.clickGo(); + await PageObjects.visEditor.clickGo(true); expectedChartValues = [ 218, @@ -333,7 +333,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { // return arguments[0].getAttribute(arguments[1]);","args":[{"ELEMENT":"592"},"fill"]}] arguments[0].getAttribute is not a function // try sleeping a bit before getting that data await retry.try(async () => { - const data = await PageObjects.visChart.getBarChartData(); + const data = await PageObjects.visChart.getBarChartData(xyChartSelector); log.debug('data=' + data); log.debug('data.length=' + data.length); expect(data).to.eql(expectedChartValues); @@ -349,11 +349,11 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.visEditor.clickYAxisOptions(axisId); await PageObjects.visEditor.selectYAxisScaleType(axisId, 'log'); await PageObjects.visEditor.changeYAxisFilterLabelsCheckbox(axisId, false); - await PageObjects.visEditor.clickGo(); - const labels = await PageObjects.visChart.getYAxisLabelsAsNumbers(); + await PageObjects.visEditor.clickGo(true); + const labels = await PageObjects.visChart.getYAxisLabelsAsNumbers(xyChartSelector); - const minLabel = await PageObjects.visChart.getExpectedValue(2, 1); - const maxLabel = await PageObjects.visChart.getExpectedValue(5000, 900); + const minLabel = 1; + const maxLabel = 900; const numberOfLabels = 10; expect(labels.length).to.be.greaterThan(numberOfLabels); expect(labels[0]).to.eql(minLabel); @@ -362,11 +362,11 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { it('should show filtered ticks on selecting log scale', async () => { await PageObjects.visEditor.changeYAxisFilterLabelsCheckbox(axisId, true); - await PageObjects.visEditor.clickGo(); - const labels = await PageObjects.visChart.getYAxisLabelsAsNumbers(); + await PageObjects.visEditor.clickGo(true); + const labels = await PageObjects.visChart.getYAxisLabelsAsNumbers(xyChartSelector); - const minLabel = await PageObjects.visChart.getExpectedValue(2, 1); - const maxLabel = await PageObjects.visChart.getExpectedValue(5000, 900); + const minLabel = 1; + const maxLabel = 900; const numberOfLabels = 10; expect(labels.length).to.be.greaterThan(numberOfLabels); expect(labels[0]).to.eql(minLabel); @@ -376,47 +376,35 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { it('should show ticks on selecting square root scale', async () => { await PageObjects.visEditor.selectYAxisScaleType(axisId, 'square root'); await PageObjects.visEditor.changeYAxisFilterLabelsCheckbox(axisId, false); - await PageObjects.visEditor.clickGo(); - const labels = await PageObjects.visChart.getYAxisLabels(); - const expectedLabels = await PageObjects.visChart.getExpectedValue( - ['0', '200', '400', '600', '800', '1,000', '1,200', '1,400', '1,600'], - ['0', '200', '400', '600', '800', '1,000', '1,200', '1,400'] - ); + await PageObjects.visEditor.clickGo(true); + const labels = await PageObjects.visChart.getYAxisLabels(xyChartSelector); + const expectedLabels = ['0', '200', '400', '600', '800', '1,000', '1,200', '1,400']; expect(labels).to.eql(expectedLabels); }); it('should show filtered ticks on selecting square root scale', async () => { await PageObjects.visEditor.changeYAxisFilterLabelsCheckbox(axisId, true); - await PageObjects.visEditor.clickGo(); - const labels = await PageObjects.visChart.getYAxisLabels(); - const expectedLabels = await PageObjects.visChart.getExpectedValue( - ['200', '400', '600', '800', '1,000', '1,200', '1,400'], - ['0', '200', '400', '600', '800', '1,000', '1,200', '1,400'] - ); + await PageObjects.visEditor.clickGo(true); + const labels = await PageObjects.visChart.getYAxisLabels(xyChartSelector); + const expectedLabels = ['0', '200', '400', '600', '800', '1,000', '1,200', '1,400']; expect(labels).to.eql(expectedLabels); }); it('should show ticks on selecting linear scale', async () => { await PageObjects.visEditor.selectYAxisScaleType(axisId, 'linear'); await PageObjects.visEditor.changeYAxisFilterLabelsCheckbox(axisId, false); - await PageObjects.visEditor.clickGo(); - const labels = await PageObjects.visChart.getYAxisLabels(); + await PageObjects.visEditor.clickGo(true); + const labels = await PageObjects.visChart.getYAxisLabels(xyChartSelector); log.debug(labels); - const expectedLabels = await PageObjects.visChart.getExpectedValue( - ['0', '200', '400', '600', '800', '1,000', '1,200', '1,400', '1,600'], - ['0', '200', '400', '600', '800', '1,000', '1,200', '1,400'] - ); + const expectedLabels = ['0', '200', '400', '600', '800', '1,000', '1,200', '1,400']; expect(labels).to.eql(expectedLabels); }); it('should show filtered ticks on selecting linear scale', async () => { await PageObjects.visEditor.changeYAxisFilterLabelsCheckbox(axisId, true); - await PageObjects.visEditor.clickGo(); - const labels = await PageObjects.visChart.getYAxisLabels(); - const expectedLabels = await PageObjects.visChart.getExpectedValue( - ['200', '400', '600', '800', '1,000', '1,200', '1,400'], - ['0', '200', '400', '600', '800', '1,000', '1,200', '1,400'] - ); + await PageObjects.visEditor.clickGo(true); + const labels = await PageObjects.visChart.getYAxisLabels(xyChartSelector); + const expectedLabels = ['0', '200', '400', '600', '800', '1,000', '1,200', '1,400']; expect(labels).to.eql(expectedLabels); }); }); @@ -429,8 +417,8 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.visEditor.selectYAxisMode('percentage'); await PageObjects.visEditor.changeYAxisShowCheckbox(axisId, true); await PageObjects.visEditor.changeYAxisFilterLabelsCheckbox(axisId, false); - await PageObjects.visEditor.clickGo(); - const labels = await PageObjects.visChart.getYAxisLabels(); + await PageObjects.visEditor.clickGo(true); + const labels = await PageObjects.visChart.getYAxisLabels(xyChartSelector); expect(labels[0]).to.eql('0%'); expect(labels[labels.length - 1]).to.eql('100%'); }); @@ -445,33 +433,27 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.visEditor.selectAggregation('Terms'); await PageObjects.visEditor.selectField('response.raw'); await PageObjects.visChart.waitForVisualizationRenderingStabilized(); - await PageObjects.visEditor.clickGo(); + await PageObjects.visEditor.clickGo(true); - const expectedEntries = await PageObjects.visChart.getExpectedValue( - ['200', '404', '503'], - ['503', '404', '200'] // sorting aligned with rendered geometries - ); - const legendEntries = await PageObjects.visChart.getLegendEntries(); + const expectedEntries = ['503', '404', '200']; // sorting aligned with rendered geometries + const legendEntries = await PageObjects.visChart.getLegendEntriesXYCharts(xyChartSelector); expect(legendEntries).to.eql(expectedEntries); }); it('should allow custom sorting of series', async () => { await PageObjects.visEditor.toggleOpenEditor(1, 'false'); await PageObjects.visEditor.selectCustomSortMetric(3, 'Min', 'bytes'); - await PageObjects.visEditor.clickGo(); + await PageObjects.visEditor.clickGo(true); - const expectedEntries = await PageObjects.visChart.getExpectedValue( - ['404', '200', '503'], - ['503', '200', '404'] // sorting aligned with rendered geometries - ); - const legendEntries = await PageObjects.visChart.getLegendEntries(); + const expectedEntries = ['503', '200', '404']; + const legendEntries = await PageObjects.visChart.getLegendEntriesXYCharts(xyChartSelector); expect(legendEntries).to.eql(expectedEntries); }); it('should correctly filter by legend', async () => { - await PageObjects.visChart.filterLegend('200'); + await PageObjects.visChart.filterLegend('200', true); await PageObjects.visChart.waitForVisualization(); - const legendEntries = await PageObjects.visChart.getLegendEntries(); + const legendEntries = await PageObjects.visChart.getLegendEntriesXYCharts(xyChartSelector); const expectedEntries = ['200']; expect(legendEntries).to.eql(expectedEntries); await filterBar.removeFilter('response.raw'); @@ -494,45 +476,26 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.visEditor.selectAggregation('Terms'); await PageObjects.visEditor.selectField('machine.os'); await PageObjects.visChart.waitForVisualizationRenderingStabilized(); - await PageObjects.visEditor.clickGo(); - - const expectedEntries = await PageObjects.visChart.getExpectedValue( - [ - '200 - win 8', - '200 - win xp', - '200 - ios', - '200 - osx', - '200 - win 7', - '404 - ios', - '503 - ios', - '503 - osx', - '503 - win 7', - '503 - win 8', - '503 - win xp', - '404 - osx', - '404 - win 7', - '404 - win 8', - '404 - win xp', - ], - [ - '404 - win xp', - '404 - win 8', - '404 - win 7', - '404 - osx', - '503 - win xp', - '503 - win 8', - '503 - win 7', - '503 - osx', - '503 - ios', - '404 - ios', - '200 - win 7', - '200 - osx', - '200 - ios', - '200 - win xp', - '200 - win 8', - ] - ); - const legendEntries = await PageObjects.visChart.getLegendEntries(); + await PageObjects.visEditor.clickGo(true); + + const expectedEntries = [ + '404 - win xp', + '404 - win 8', + '404 - win 7', + '404 - osx', + '503 - win xp', + '503 - win 8', + '503 - win 7', + '503 - osx', + '503 - ios', + '404 - ios', + '200 - win 7', + '200 - osx', + '200 - ios', + '200 - win xp', + '200 - win 8', + ]; + const legendEntries = await PageObjects.visChart.getLegendEntriesXYCharts(xyChartSelector); expect(legendEntries).to.eql(expectedEntries); }); @@ -540,13 +503,10 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { // this will avoid issues with the play tooltip covering the disable agg button await testSubjects.scrollIntoView('metricsAggGroup'); await PageObjects.visEditor.toggleDisabledAgg(3); - await PageObjects.visEditor.clickGo(); + await PageObjects.visEditor.clickGo(true); - const expectedEntries = await PageObjects.visChart.getExpectedValue( - ['win 8', 'win xp', 'ios', 'osx', 'win 7'], - ['win 7', 'osx', 'ios', 'win xp', 'win 8'] - ); - const legendEntries = await PageObjects.visChart.getLegendEntries(); + const expectedEntries = ['win 7', 'osx', 'ios', 'win xp', 'win 8']; + const legendEntries = await PageObjects.visChart.getLegendEntriesXYCharts(xyChartSelector); expect(legendEntries).to.eql(expectedEntries); }); }); @@ -559,10 +519,10 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.visEditor.toggleOpenEditor(1); await PageObjects.visEditor.selectAggregation('Derivative', 'metrics'); await PageObjects.visChart.waitForVisualizationRenderingStabilized(); - await PageObjects.visEditor.clickGo(); + await PageObjects.visEditor.clickGo(true); const expectedEntries = ['Derivative of Count']; - const legendEntries = await PageObjects.visChart.getLegendEntries(); + const legendEntries = await PageObjects.visChart.getLegendEntriesXYCharts(xyChartSelector); expect(legendEntries).to.eql(expectedEntries); }); diff --git a/test/functional/apps/visualize/_vertical_bar_chart_nontimeindex.ts b/test/functional/apps/visualize/_vertical_bar_chart_nontimeindex.ts index 97817315b5801..e9f39a45d7892 100644 --- a/test/functional/apps/visualize/_vertical_bar_chart_nontimeindex.ts +++ b/test/functional/apps/visualize/_vertical_bar_chart_nontimeindex.ts @@ -16,9 +16,10 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { const inspector = getService('inspector'); const PageObjects = getPageObjects(['common', 'visualize', 'header', 'visEditor', 'visChart']); + const xyChartSelector = 'visTypeXyChart'; + describe('vertical bar chart with index without time filter', function () { const vizName1 = 'Visualization VerticalBarChart without time filter'; - let isNewChartsLibraryEnabled = false; const initBarChart = async () => { log.debug('navigateToApp visualize'); @@ -37,12 +38,11 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.visEditor.selectField('@timestamp'); await PageObjects.visEditor.setInterval('3h', { type: 'custom' }); await PageObjects.visChart.waitForVisualizationRenderingStabilized(); - await PageObjects.visEditor.clickGo(); + await PageObjects.visEditor.clickGo(true); }; before(async () => { - isNewChartsLibraryEnabled = await PageObjects.visChart.isNewChartsLibraryEnabled(); - await PageObjects.visualize.initTests(isNewChartsLibraryEnabled); + await PageObjects.visualize.initTests(); await initBarChart(); }); @@ -89,7 +89,7 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { // return arguments[0].getAttribute(arguments[1]);","args":[{"ELEMENT":"592"},"fill"]}] arguments[0].getAttribute is not a function // try sleeping a bit before getting that data await retry.try(async () => { - const data = await PageObjects.visChart.getBarChartData(); + const data = await PageObjects.visChart.getBarChartData(xyChartSelector); log.debug('data=' + data); log.debug('data.length=' + data.length); expect(data).to.eql(expectedChartValues); @@ -134,10 +134,10 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.visEditor.clickYAxisOptions(axisId); await PageObjects.visEditor.selectYAxisScaleType(axisId, 'log'); await PageObjects.visEditor.changeYAxisFilterLabelsCheckbox(axisId, false); - await PageObjects.visEditor.clickGo(); - const labels = await PageObjects.visChart.getYAxisLabelsAsNumbers(); - const minLabel = await PageObjects.visChart.getExpectedValue(2, 1); - const maxLabel = await PageObjects.visChart.getExpectedValue(5000, 900); + await PageObjects.visEditor.clickGo(true); + const labels = await PageObjects.visChart.getYAxisLabelsAsNumbers(xyChartSelector); + const minLabel = 1; + const maxLabel = 900; const numberOfLabels = 10; expect(labels.length).to.be.greaterThan(numberOfLabels); expect(labels[0]).to.eql(minLabel); @@ -146,10 +146,10 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { it('should show filtered ticks on selecting log scale', async () => { await PageObjects.visEditor.changeYAxisFilterLabelsCheckbox(axisId, true); - await PageObjects.visEditor.clickGo(); - const labels = await PageObjects.visChart.getYAxisLabelsAsNumbers(); - const minLabel = await PageObjects.visChart.getExpectedValue(2, 1); - const maxLabel = await PageObjects.visChart.getExpectedValue(5000, 900); + await PageObjects.visEditor.clickGo(true); + const labels = await PageObjects.visChart.getYAxisLabelsAsNumbers(xyChartSelector); + const minLabel = 1; + const maxLabel = 900; const numberOfLabels = 10; expect(labels.length).to.be.greaterThan(numberOfLabels); expect(labels[0]).to.eql(minLabel); @@ -159,47 +159,35 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { it('should show ticks on selecting square root scale', async () => { await PageObjects.visEditor.selectYAxisScaleType(axisId, 'square root'); await PageObjects.visEditor.changeYAxisFilterLabelsCheckbox(axisId, false); - await PageObjects.visEditor.clickGo(); - const labels = await PageObjects.visChart.getYAxisLabels(); - const expectedLabels = await PageObjects.visChart.getExpectedValue( - ['0', '200', '400', '600', '800', '1,000', '1,200', '1,400', '1,600'], - ['0', '200', '400', '600', '800', '1,000', '1,200', '1,400'] - ); + await PageObjects.visEditor.clickGo(true); + const labels = await PageObjects.visChart.getYAxisLabels(xyChartSelector); + const expectedLabels = ['0', '200', '400', '600', '800', '1,000', '1,200', '1,400']; expect(labels).to.eql(expectedLabels); }); it('should show filtered ticks on selecting square root scale', async () => { await PageObjects.visEditor.changeYAxisFilterLabelsCheckbox(axisId, true); - await PageObjects.visEditor.clickGo(); - const labels = await PageObjects.visChart.getYAxisLabels(); - const expectedLabels = await PageObjects.visChart.getExpectedValue( - ['200', '400', '600', '800', '1,000', '1,200', '1,400'], - ['0', '200', '400', '600', '800', '1,000', '1,200', '1,400'] - ); + await PageObjects.visEditor.clickGo(true); + const labels = await PageObjects.visChart.getYAxisLabels(xyChartSelector); + const expectedLabels = ['0', '200', '400', '600', '800', '1,000', '1,200', '1,400']; expect(labels).to.eql(expectedLabels); }); it('should show ticks on selecting linear scale', async () => { await PageObjects.visEditor.selectYAxisScaleType(axisId, 'linear'); await PageObjects.visEditor.changeYAxisFilterLabelsCheckbox(axisId, false); - await PageObjects.visEditor.clickGo(); - const labels = await PageObjects.visChart.getYAxisLabels(); + await PageObjects.visEditor.clickGo(true); + const labels = await PageObjects.visChart.getYAxisLabels(xyChartSelector); log.debug(labels); - const expectedLabels = await PageObjects.visChart.getExpectedValue( - ['0', '200', '400', '600', '800', '1,000', '1,200', '1,400', '1,600'], - ['0', '200', '400', '600', '800', '1,000', '1,200', '1,400'] - ); + const expectedLabels = ['0', '200', '400', '600', '800', '1,000', '1,200', '1,400']; expect(labels).to.eql(expectedLabels); }); it('should show filtered ticks on selecting linear scale', async () => { await PageObjects.visEditor.changeYAxisFilterLabelsCheckbox(axisId, true); - await PageObjects.visEditor.clickGo(); - const labels = await PageObjects.visChart.getYAxisLabels(); - const expectedLabels = await PageObjects.visChart.getExpectedValue( - ['200', '400', '600', '800', '1,000', '1,200', '1,400'], - ['0', '200', '400', '600', '800', '1,000', '1,200', '1,400'] - ); + await PageObjects.visEditor.clickGo(true); + const labels = await PageObjects.visChart.getYAxisLabels(xyChartSelector); + const expectedLabels = ['0', '200', '400', '600', '800', '1,000', '1,200', '1,400']; expect(labels).to.eql(expectedLabels); }); }); @@ -215,15 +203,12 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.header.waitUntilLoadingHasFinished(); await PageObjects.common.sleep(1003); - await PageObjects.visEditor.clickGo(); + await PageObjects.visEditor.clickGo(true); await PageObjects.header.waitUntilLoadingHasFinished(); - const expectedEntries = await PageObjects.visChart.getExpectedValue( - ['200', '404', '503'], - ['503', '404', '200'] // sorting aligned with rendered geometries - ); + const expectedEntries = ['503', '404', '200']; // sorting aligned with rendered geometries - const legendEntries = await PageObjects.visChart.getLegendEntries(); + const legendEntries = await PageObjects.visChart.getLegendEntriesXYCharts(xyChartSelector); expect(legendEntries).to.eql(expectedEntries); }); }); @@ -245,59 +230,37 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.header.waitUntilLoadingHasFinished(); await PageObjects.common.sleep(1003); - await PageObjects.visEditor.clickGo(); + await PageObjects.visEditor.clickGo(true); await PageObjects.header.waitUntilLoadingHasFinished(); - const expectedEntries = await PageObjects.visChart.getExpectedValue( - [ - '200 - win 8', - '200 - win xp', - '200 - ios', - '200 - osx', - '200 - win 7', - '404 - ios', - '503 - ios', - '503 - osx', - '503 - win 7', - '503 - win 8', - '503 - win xp', - '404 - osx', - '404 - win 7', - '404 - win 8', - '404 - win xp', - ], - [ - '404 - win xp', - '404 - win 8', - '404 - win 7', - '404 - osx', - '503 - win xp', - '503 - win 8', - '503 - win 7', - '503 - osx', - '503 - ios', - '404 - ios', - '200 - win 7', - '200 - osx', - '200 - ios', - '200 - win xp', - '200 - win 8', - ] - ); - const legendEntries = await PageObjects.visChart.getLegendEntries(); + const expectedEntries = [ + '404 - win xp', + '404 - win 8', + '404 - win 7', + '404 - osx', + '503 - win xp', + '503 - win 8', + '503 - win 7', + '503 - osx', + '503 - ios', + '404 - ios', + '200 - win 7', + '200 - osx', + '200 - ios', + '200 - win xp', + '200 - win 8', + ]; + const legendEntries = await PageObjects.visChart.getLegendEntriesXYCharts(xyChartSelector); expect(legendEntries).to.eql(expectedEntries); }); it('should show correct series when disabling first agg', async function () { await PageObjects.visEditor.toggleDisabledAgg(3); - await PageObjects.visEditor.clickGo(); + await PageObjects.visEditor.clickGo(true); await PageObjects.header.waitUntilLoadingHasFinished(); - const expectedEntries = await PageObjects.visChart.getExpectedValue( - ['win 8', 'win xp', 'ios', 'osx', 'win 7'], - ['win 7', 'osx', 'ios', 'win xp', 'win 8'] - ); - const legendEntries = await PageObjects.visChart.getLegendEntries(); + const expectedEntries = ['win 7', 'osx', 'ios', 'win xp', 'win 8']; + const legendEntries = await PageObjects.visChart.getLegendEntriesXYCharts(xyChartSelector); expect(legendEntries).to.eql(expectedEntries); }); }); @@ -312,11 +275,11 @@ export default function ({ getService, getPageObjects }: FtrProviderContext) { await PageObjects.header.waitUntilLoadingHasFinished(); await PageObjects.common.sleep(1003); - await PageObjects.visEditor.clickGo(); + await PageObjects.visEditor.clickGo(true); await PageObjects.header.waitUntilLoadingHasFinished(); const expectedEntries = ['Derivative of Count']; - const legendEntries = await PageObjects.visChart.getLegendEntries(); + const legendEntries = await PageObjects.visChart.getLegendEntriesXYCharts(xyChartSelector); expect(legendEntries).to.eql(expectedEntries); }); }); diff --git a/test/functional/apps/visualize/index.ts b/test/functional/apps/visualize/index.ts index 9004ecaf22d80..dff57e6b96265 100644 --- a/test/functional/apps/visualize/index.ts +++ b/test/functional/apps/visualize/index.ts @@ -30,7 +30,6 @@ export default function ({ getService, loadTestFile }: FtrProviderContext) { before(async () => { await kibanaServer.uiSettings.update({ - 'visualization:visualize:legacyChartsLibrary': false, 'visualization:visualize:legacyPieChartsLibrary': false, }); await browser.refresh(); @@ -38,7 +37,6 @@ export default function ({ getService, loadTestFile }: FtrProviderContext) { after(async () => { await kibanaServer.uiSettings.update({ - 'visualization:visualize:legacyChartsLibrary': true, 'visualization:visualize:legacyPieChartsLibrary': true, }); await browser.refresh(); @@ -59,7 +57,6 @@ export default function ({ getService, loadTestFile }: FtrProviderContext) { this.tags('ciGroup9'); loadTestFile(require.resolve('./_embedding_chart')); - loadTestFile(require.resolve('./_area_chart')); loadTestFile(require.resolve('./_data_table')); loadTestFile(require.resolve('./_data_table_nontimeindex')); loadTestFile(require.resolve('./_data_table_notimeindex_filters')); @@ -73,7 +70,6 @@ export default function ({ getService, loadTestFile }: FtrProviderContext) { loadTestFile(require.resolve('./_experimental_vis')); loadTestFile(require.resolve('./_gauge_chart')); loadTestFile(require.resolve('./_heatmap_chart')); - loadTestFile(require.resolve('./input_control_vis')); loadTestFile(require.resolve('./_histogram_request_start')); loadTestFile(require.resolve('./_metric_chart')); }); @@ -81,11 +77,7 @@ export default function ({ getService, loadTestFile }: FtrProviderContext) { describe('visualize ciGroup4', function () { this.tags('ciGroup4'); - loadTestFile(require.resolve('./_line_chart_split_series')); - loadTestFile(require.resolve('./_line_chart_split_chart')); loadTestFile(require.resolve('./_pie_chart')); - loadTestFile(require.resolve('./_point_series_options')); - loadTestFile(require.resolve('./_markdown_vis')); loadTestFile(require.resolve('./_shared_item')); loadTestFile(require.resolve('./_lab_mode')); loadTestFile(require.resolve('./_linked_saved_searches')); @@ -97,8 +89,6 @@ export default function ({ getService, loadTestFile }: FtrProviderContext) { this.tags('ciGroup12'); loadTestFile(require.resolve('./_tag_cloud')); - loadTestFile(require.resolve('./_vertical_bar_chart')); - loadTestFile(require.resolve('./_vertical_bar_chart_nontimeindex')); loadTestFile(require.resolve('./_tsvb_chart')); loadTestFile(require.resolve('./_tsvb_time_series')); loadTestFile(require.resolve('./_tsvb_markdown')); diff --git a/test/functional/config.js b/test/functional/config.js index 844ebc5a90f60..97b3d85a8e243 100644 --- a/test/functional/config.js +++ b/test/functional/config.js @@ -19,12 +19,12 @@ export default async function ({ readConfigFile }) { require.resolve('./apps/console'), require.resolve('./apps/context'), require.resolve('./apps/dashboard'), + require.resolve('./apps/dashboard_elements'), require.resolve('./apps/discover'), require.resolve('./apps/getting_started'), require.resolve('./apps/home'), require.resolve('./apps/management'), require.resolve('./apps/saved_objects_management'), - require.resolve('./apps/timelion'), require.resolve('./apps/visualize'), ], pageObjects, @@ -56,7 +56,6 @@ export default async function ({ readConfigFile }) { defaults: { 'accessibility:disableAnimations': true, 'dateFormat:tz': 'UTC', - 'visualization:visualize:legacyChartsLibrary': true, 'visualization:visualize:legacyPieChartsLibrary': true, }, }, @@ -91,9 +90,6 @@ export default async function ({ readConfigFile }) { settings: { pathname: '/app/management', }, - timelion: { - pathname: '/app/timelion', - }, console: { pathname: '/app/dev_tools', hash: '/console', diff --git a/test/functional/fixtures/es_archiver/dashboard/current/kibana/mappings.json b/test/functional/fixtures/es_archiver/dashboard/current/kibana/mappings.json index b6e225951c545..161d733e868a8 100644 --- a/test/functional/fixtures/es_archiver/dashboard/current/kibana/mappings.json +++ b/test/functional/fixtures/es_archiver/dashboard/current/kibana/mappings.json @@ -29,7 +29,6 @@ "search": "db2c00e39b36f40930a3b9fc71c823e1", "search-telemetry": "3d1b76c39bfb2cc8296b024d73854724", "telemetry": "36a616f7026dfa617d6655df850fe16d", - "timelion-sheet": "9a2a2748877c7a7b582fef201ab1d4cf", "type": "2f4316de49999235636386fe51dc06c1", "ui-counter": "0d409297dc5ebe1e3a1da691c6ee32e3", "ui-metric": "0d409297dc5ebe1e3a1da691c6ee32e3", @@ -373,47 +372,6 @@ } } }, - "timelion-sheet": { - "properties": { - "description": { - "type": "text" - }, - "hits": { - "type": "integer" - }, - "kibanaSavedObjectMeta": { - "properties": { - "searchSourceJSON": { - "type": "text" - } - } - }, - "timelion_chart_height": { - "type": "integer" - }, - "timelion_columns": { - "type": "integer" - }, - "timelion_interval": { - "type": "keyword" - }, - "timelion_other_interval": { - "type": "keyword" - }, - "timelion_rows": { - "type": "integer" - }, - "timelion_sheet": { - "type": "text" - }, - "title": { - "type": "text" - }, - "version": { - "type": "integer" - } - } - }, "tsvb-validation-telemetry": { "dynamic": "false", "type": "object" diff --git a/test/functional/fixtures/es_archiver/dashboard/legacy/mappings.json b/test/functional/fixtures/es_archiver/dashboard/legacy/mappings.json index 45b2508d38033..451369d85acd8 100644 --- a/test/functional/fixtures/es_archiver/dashboard/legacy/mappings.json +++ b/test/functional/fixtures/es_archiver/dashboard/legacy/mappings.json @@ -137,48 +137,6 @@ } } }, - "timelion-sheet": { - "dynamic": "strict", - "properties": { - "description": { - "type": "text" - }, - "hits": { - "type": "integer" - }, - "kibanaSavedObjectMeta": { - "properties": { - "searchSourceJSON": { - "type": "text" - } - } - }, - "timelion_chart_height": { - "type": "integer" - }, - "timelion_columns": { - "type": "integer" - }, - "timelion_interval": { - "type": "keyword" - }, - "timelion_other_interval": { - "type": "keyword" - }, - "timelion_rows": { - "type": "integer" - }, - "timelion_sheet": { - "type": "text" - }, - "title": { - "type": "text" - }, - "version": { - "type": "integer" - } - } - }, "type": { "type": "keyword" }, diff --git a/test/functional/fixtures/es_archiver/deprecations_service/mappings.json b/test/functional/fixtures/es_archiver/deprecations_service/mappings.json index 5159b946e082f..2d86b863d47dc 100644 --- a/test/functional/fixtures/es_archiver/deprecations_service/mappings.json +++ b/test/functional/fixtures/es_archiver/deprecations_service/mappings.json @@ -29,7 +29,6 @@ "search": "db2c00e39b36f40930a3b9fc71c823e1", "search-telemetry": "3d1b76c39bfb2cc8296b024d73854724", "telemetry": "36a616f7026dfa617d6655df850fe16d", - "timelion-sheet": "9a2a2748877c7a7b582fef201ab1d4cf", "type": "2f4316de49999235636386fe51dc06c1", "ui-counter": "0d409297dc5ebe1e3a1da691c6ee32e3", "ui-metric": "0d409297dc5ebe1e3a1da691c6ee32e3", @@ -331,47 +330,6 @@ "dynamic": "false", "type": "object" }, - "timelion-sheet": { - "properties": { - "description": { - "type": "text" - }, - "hits": { - "type": "integer" - }, - "kibanaSavedObjectMeta": { - "properties": { - "searchSourceJSON": { - "type": "text" - } - } - }, - "timelion_chart_height": { - "type": "integer" - }, - "timelion_columns": { - "type": "integer" - }, - "timelion_interval": { - "type": "keyword" - }, - "timelion_other_interval": { - "type": "keyword" - }, - "timelion_rows": { - "type": "integer" - }, - "timelion_sheet": { - "type": "text" - }, - "title": { - "type": "text" - }, - "version": { - "type": "integer" - } - } - }, "type": { "type": "keyword" }, diff --git a/test/functional/fixtures/es_archiver/discover/mappings.json b/test/functional/fixtures/es_archiver/discover/mappings.json index 93d724aa55603..33bc746c84c8c 100644 --- a/test/functional/fixtures/es_archiver/discover/mappings.json +++ b/test/functional/fixtures/es_archiver/discover/mappings.json @@ -29,7 +29,6 @@ "search": "db2c00e39b36f40930a3b9fc71c823e1", "search-telemetry": "3d1b76c39bfb2cc8296b024d73854724", "telemetry": "36a616f7026dfa617d6655df850fe16d", - "timelion-sheet": "9a2a2748877c7a7b582fef201ab1d4cf", "type": "2f4316de49999235636386fe51dc06c1", "ui-counter": "0d409297dc5ebe1e3a1da691c6ee32e3", "ui-metric": "0d409297dc5ebe1e3a1da691c6ee32e3", @@ -346,47 +345,6 @@ } } }, - "timelion-sheet": { - "properties": { - "description": { - "type": "text" - }, - "hits": { - "type": "integer" - }, - "kibanaSavedObjectMeta": { - "properties": { - "searchSourceJSON": { - "type": "text" - } - } - }, - "timelion_chart_height": { - "type": "integer" - }, - "timelion_columns": { - "type": "integer" - }, - "timelion_interval": { - "type": "keyword" - }, - "timelion_other_interval": { - "type": "keyword" - }, - "timelion_rows": { - "type": "integer" - }, - "timelion_sheet": { - "type": "text" - }, - "title": { - "type": "text" - }, - "version": { - "type": "integer" - } - } - }, "type": { "type": "keyword" }, diff --git a/test/functional/fixtures/es_archiver/empty_kibana/mappings.json b/test/functional/fixtures/es_archiver/empty_kibana/mappings.json index 264096beb11ee..7082f43f45e99 100644 --- a/test/functional/fixtures/es_archiver/empty_kibana/mappings.json +++ b/test/functional/fixtures/es_archiver/empty_kibana/mappings.json @@ -146,48 +146,6 @@ } } }, - "timelion-sheet": { - "dynamic": "strict", - "properties": { - "description": { - "type": "text" - }, - "hits": { - "type": "integer" - }, - "kibanaSavedObjectMeta": { - "properties": { - "searchSourceJSON": { - "type": "text" - } - } - }, - "timelion_chart_height": { - "type": "integer" - }, - "timelion_columns": { - "type": "integer" - }, - "timelion_interval": { - "type": "keyword" - }, - "timelion_other_interval": { - "type": "keyword" - }, - "timelion_rows": { - "type": "integer" - }, - "timelion_sheet": { - "type": "text" - }, - "title": { - "type": "text" - }, - "version": { - "type": "integer" - } - } - }, "type": { "type": "keyword" }, diff --git a/test/functional/fixtures/es_archiver/invalid_scripted_field/mappings.json b/test/functional/fixtures/es_archiver/invalid_scripted_field/mappings.json index 63cc283f96d32..0d41e0ce86c14 100644 --- a/test/functional/fixtures/es_archiver/invalid_scripted_field/mappings.json +++ b/test/functional/fixtures/es_archiver/invalid_scripted_field/mappings.json @@ -143,47 +143,6 @@ } } }, - "timelion-sheet": { - "properties": { - "description": { - "type": "text" - }, - "hits": { - "type": "integer" - }, - "kibanaSavedObjectMeta": { - "properties": { - "searchSourceJSON": { - "type": "text" - } - } - }, - "timelion_chart_height": { - "type": "integer" - }, - "timelion_columns": { - "type": "integer" - }, - "timelion_interval": { - "type": "keyword" - }, - "timelion_other_interval": { - "type": "keyword" - }, - "timelion_rows": { - "type": "integer" - }, - "timelion_sheet": { - "type": "text" - }, - "title": { - "type": "text" - }, - "version": { - "type": "integer" - } - } - }, "type": { "type": "keyword" }, diff --git a/test/functional/fixtures/es_archiver/kibana_sample_data_flights_index_pattern/mappings.json b/test/functional/fixtures/es_archiver/kibana_sample_data_flights_index_pattern/mappings.json index caa1a9d8ddc11..f980596200b25 100644 --- a/test/functional/fixtures/es_archiver/kibana_sample_data_flights_index_pattern/mappings.json +++ b/test/functional/fixtures/es_archiver/kibana_sample_data_flights_index_pattern/mappings.json @@ -19,7 +19,6 @@ "sample-data-telemetry": "7d3cfeb915303c9641c59681967ffeb4", "search": "181661168bbadd1eff5902361e2a0d5c", "server": "ec97f1c5da1a19609a60874e5af1100c", - "timelion-sheet": "9a2a2748877c7a7b582fef201ab1d4cf", "type": "2f4316de49999235636386fe51dc06c1", "ui-metric": "0d409297dc5ebe1e3a1da691c6ee32e3", "updated_at": "00da57df13e94e9d98437d13ace4bfe0", @@ -245,47 +244,6 @@ } } }, - "timelion-sheet": { - "properties": { - "description": { - "type": "text" - }, - "hits": { - "type": "integer" - }, - "kibanaSavedObjectMeta": { - "properties": { - "searchSourceJSON": { - "type": "text" - } - } - }, - "timelion_chart_height": { - "type": "integer" - }, - "timelion_columns": { - "type": "integer" - }, - "timelion_interval": { - "type": "keyword" - }, - "timelion_other_interval": { - "type": "keyword" - }, - "timelion_rows": { - "type": "integer" - }, - "timelion_sheet": { - "type": "text" - }, - "title": { - "type": "text" - }, - "version": { - "type": "integer" - } - } - }, "type": { "type": "keyword" }, diff --git a/test/functional/fixtures/es_archiver/management/mappings.json b/test/functional/fixtures/es_archiver/management/mappings.json index 45b2508d38033..451369d85acd8 100644 --- a/test/functional/fixtures/es_archiver/management/mappings.json +++ b/test/functional/fixtures/es_archiver/management/mappings.json @@ -137,48 +137,6 @@ } } }, - "timelion-sheet": { - "dynamic": "strict", - "properties": { - "description": { - "type": "text" - }, - "hits": { - "type": "integer" - }, - "kibanaSavedObjectMeta": { - "properties": { - "searchSourceJSON": { - "type": "text" - } - } - }, - "timelion_chart_height": { - "type": "integer" - }, - "timelion_columns": { - "type": "integer" - }, - "timelion_interval": { - "type": "keyword" - }, - "timelion_other_interval": { - "type": "keyword" - }, - "timelion_rows": { - "type": "integer" - }, - "timelion_sheet": { - "type": "text" - }, - "title": { - "type": "text" - }, - "version": { - "type": "integer" - } - } - }, "type": { "type": "keyword" }, diff --git a/test/functional/fixtures/es_archiver/mgmt/mappings.json b/test/functional/fixtures/es_archiver/mgmt/mappings.json index aefbd9d0ccc8a..f4962f9c47668 100644 --- a/test/functional/fixtures/es_archiver/mgmt/mappings.json +++ b/test/functional/fixtures/es_archiver/mgmt/mappings.json @@ -172,47 +172,6 @@ } } }, - "timelion-sheet": { - "properties": { - "description": { - "type": "text" - }, - "hits": { - "type": "integer" - }, - "kibanaSavedObjectMeta": { - "properties": { - "searchSourceJSON": { - "type": "text" - } - } - }, - "timelion_chart_height": { - "type": "integer" - }, - "timelion_columns": { - "type": "integer" - }, - "timelion_interval": { - "type": "keyword" - }, - "timelion_other_interval": { - "type": "keyword" - }, - "timelion_rows": { - "type": "integer" - }, - "timelion_sheet": { - "type": "text" - }, - "title": { - "type": "text" - }, - "version": { - "type": "integer" - } - } - }, "type": { "type": "keyword" }, diff --git a/test/functional/fixtures/es_archiver/saved_objects_imports/mappings.json b/test/functional/fixtures/es_archiver/saved_objects_imports/mappings.json index 45b2508d38033..451369d85acd8 100644 --- a/test/functional/fixtures/es_archiver/saved_objects_imports/mappings.json +++ b/test/functional/fixtures/es_archiver/saved_objects_imports/mappings.json @@ -137,48 +137,6 @@ } } }, - "timelion-sheet": { - "dynamic": "strict", - "properties": { - "description": { - "type": "text" - }, - "hits": { - "type": "integer" - }, - "kibanaSavedObjectMeta": { - "properties": { - "searchSourceJSON": { - "type": "text" - } - } - }, - "timelion_chart_height": { - "type": "integer" - }, - "timelion_columns": { - "type": "integer" - }, - "timelion_interval": { - "type": "keyword" - }, - "timelion_other_interval": { - "type": "keyword" - }, - "timelion_rows": { - "type": "integer" - }, - "timelion_sheet": { - "type": "text" - }, - "title": { - "type": "text" - }, - "version": { - "type": "integer" - } - } - }, "type": { "type": "keyword" }, diff --git a/test/functional/fixtures/es_archiver/saved_objects_management/edit_saved_object/mappings.json b/test/functional/fixtures/es_archiver/saved_objects_management/edit_saved_object/mappings.json index 05ca4d8e8307e..bb863dc24c585 100644 --- a/test/functional/fixtures/es_archiver/saved_objects_management/edit_saved_object/mappings.json +++ b/test/functional/fixtures/es_archiver/saved_objects_management/edit_saved_object/mappings.json @@ -358,47 +358,6 @@ } } }, - "timelion-sheet": { - "properties": { - "description": { - "type": "text" - }, - "hits": { - "type": "integer" - }, - "kibanaSavedObjectMeta": { - "properties": { - "searchSourceJSON": { - "type": "text" - } - } - }, - "timelion_chart_height": { - "type": "integer" - }, - "timelion_columns": { - "type": "integer" - }, - "timelion_interval": { - "type": "keyword" - }, - "timelion_other_interval": { - "type": "keyword" - }, - "timelion_rows": { - "type": "integer" - }, - "timelion_sheet": { - "type": "text" - }, - "title": { - "type": "text" - }, - "version": { - "type": "integer" - } - } - }, "type": { "type": "keyword" }, diff --git a/test/functional/fixtures/es_archiver/saved_objects_management/export_exclusion/mappings.json b/test/functional/fixtures/es_archiver/saved_objects_management/export_exclusion/mappings.json index abec2eeb77492..d0101f16f85d0 100644 --- a/test/functional/fixtures/es_archiver/saved_objects_management/export_exclusion/mappings.json +++ b/test/functional/fixtures/es_archiver/saved_objects_management/export_exclusion/mappings.json @@ -387,47 +387,6 @@ } } }, - "timelion-sheet": { - "properties": { - "description": { - "type": "text" - }, - "hits": { - "type": "integer" - }, - "kibanaSavedObjectMeta": { - "properties": { - "searchSourceJSON": { - "type": "text" - } - } - }, - "timelion_chart_height": { - "type": "integer" - }, - "timelion_columns": { - "type": "integer" - }, - "timelion_interval": { - "type": "keyword" - }, - "timelion_other_interval": { - "type": "keyword" - }, - "timelion_rows": { - "type": "integer" - }, - "timelion_sheet": { - "type": "text" - }, - "title": { - "type": "text" - }, - "version": { - "type": "integer" - } - } - }, "type": { "type": "keyword" }, diff --git a/test/functional/fixtures/es_archiver/saved_objects_management/export_transform/mappings.json b/test/functional/fixtures/es_archiver/saved_objects_management/export_transform/mappings.json index b2385a281dd23..9562b381a40f8 100644 --- a/test/functional/fixtures/es_archiver/saved_objects_management/export_transform/mappings.json +++ b/test/functional/fixtures/es_archiver/saved_objects_management/export_transform/mappings.json @@ -29,7 +29,6 @@ "search": "db2c00e39b36f40930a3b9fc71c823e1", "search-telemetry": "3d1b76c39bfb2cc8296b024d73854724", "telemetry": "36a616f7026dfa617d6655df850fe16d", - "timelion-sheet": "9a2a2748877c7a7b582fef201ab1d4cf", "type": "2f4316de49999235636386fe51dc06c1", "ui-counter": "0d409297dc5ebe1e3a1da691c6ee32e3", "ui-metric": "0d409297dc5ebe1e3a1da691c6ee32e3", @@ -370,47 +369,6 @@ "dynamic": "false", "type": "object" }, - "timelion-sheet": { - "properties": { - "description": { - "type": "text" - }, - "hits": { - "type": "integer" - }, - "kibanaSavedObjectMeta": { - "properties": { - "searchSourceJSON": { - "type": "text" - } - } - }, - "timelion_chart_height": { - "type": "integer" - }, - "timelion_columns": { - "type": "integer" - }, - "timelion_interval": { - "type": "keyword" - }, - "timelion_other_interval": { - "type": "keyword" - }, - "timelion_rows": { - "type": "integer" - }, - "timelion_sheet": { - "type": "text" - }, - "title": { - "type": "text" - }, - "version": { - "type": "integer" - } - } - }, "type": { "type": "keyword" }, diff --git a/test/functional/fixtures/es_archiver/saved_objects_management/hidden_saved_objects/mappings.json b/test/functional/fixtures/es_archiver/saved_objects_management/hidden_saved_objects/mappings.json index d59f3b00d4818..780fdda5f7cbe 100644 --- a/test/functional/fixtures/es_archiver/saved_objects_management/hidden_saved_objects/mappings.json +++ b/test/functional/fixtures/es_archiver/saved_objects_management/hidden_saved_objects/mappings.json @@ -29,7 +29,6 @@ "search": "db2c00e39b36f40930a3b9fc71c823e1", "search-telemetry": "3d1b76c39bfb2cc8296b024d73854724", "telemetry": "36a616f7026dfa617d6655df850fe16d", - "timelion-sheet": "9a2a2748877c7a7b582fef201ab1d4cf", "type": "2f4316de49999235636386fe51dc06c1", "ui-counter": "0d409297dc5ebe1e3a1da691c6ee32e3", "ui-metric": "0d409297dc5ebe1e3a1da691c6ee32e3", @@ -378,47 +377,6 @@ "dynamic": "false", "type": "object" }, - "timelion-sheet": { - "properties": { - "description": { - "type": "text" - }, - "hits": { - "type": "integer" - }, - "kibanaSavedObjectMeta": { - "properties": { - "searchSourceJSON": { - "type": "text" - } - } - }, - "timelion_chart_height": { - "type": "integer" - }, - "timelion_columns": { - "type": "integer" - }, - "timelion_interval": { - "type": "keyword" - }, - "timelion_other_interval": { - "type": "keyword" - }, - "timelion_rows": { - "type": "integer" - }, - "timelion_sheet": { - "type": "text" - }, - "title": { - "type": "text" - }, - "version": { - "type": "integer" - } - } - }, "type": { "type": "keyword" }, diff --git a/test/functional/fixtures/es_archiver/saved_objects_management/hidden_types/mappings.json b/test/functional/fixtures/es_archiver/saved_objects_management/hidden_types/mappings.json index 61763f55c1b6a..adcf4164668d6 100644 --- a/test/functional/fixtures/es_archiver/saved_objects_management/hidden_types/mappings.json +++ b/test/functional/fixtures/es_archiver/saved_objects_management/hidden_types/mappings.json @@ -389,47 +389,6 @@ } } }, - "timelion-sheet": { - "properties": { - "description": { - "type": "text" - }, - "hits": { - "type": "integer" - }, - "kibanaSavedObjectMeta": { - "properties": { - "searchSourceJSON": { - "type": "text" - } - } - }, - "timelion_chart_height": { - "type": "integer" - }, - "timelion_columns": { - "type": "integer" - }, - "timelion_interval": { - "type": "keyword" - }, - "timelion_other_interval": { - "type": "keyword" - }, - "timelion_rows": { - "type": "integer" - }, - "timelion_sheet": { - "type": "text" - }, - "title": { - "type": "text" - }, - "version": { - "type": "integer" - } - } - }, "type": { "type": "keyword" }, diff --git a/test/functional/fixtures/es_archiver/saved_objects_management/nested_export_transform/mappings.json b/test/functional/fixtures/es_archiver/saved_objects_management/nested_export_transform/mappings.json index b2385a281dd23..9562b381a40f8 100644 --- a/test/functional/fixtures/es_archiver/saved_objects_management/nested_export_transform/mappings.json +++ b/test/functional/fixtures/es_archiver/saved_objects_management/nested_export_transform/mappings.json @@ -29,7 +29,6 @@ "search": "db2c00e39b36f40930a3b9fc71c823e1", "search-telemetry": "3d1b76c39bfb2cc8296b024d73854724", "telemetry": "36a616f7026dfa617d6655df850fe16d", - "timelion-sheet": "9a2a2748877c7a7b582fef201ab1d4cf", "type": "2f4316de49999235636386fe51dc06c1", "ui-counter": "0d409297dc5ebe1e3a1da691c6ee32e3", "ui-metric": "0d409297dc5ebe1e3a1da691c6ee32e3", @@ -370,47 +369,6 @@ "dynamic": "false", "type": "object" }, - "timelion-sheet": { - "properties": { - "description": { - "type": "text" - }, - "hits": { - "type": "integer" - }, - "kibanaSavedObjectMeta": { - "properties": { - "searchSourceJSON": { - "type": "text" - } - } - }, - "timelion_chart_height": { - "type": "integer" - }, - "timelion_columns": { - "type": "integer" - }, - "timelion_interval": { - "type": "keyword" - }, - "timelion_other_interval": { - "type": "keyword" - }, - "timelion_rows": { - "type": "integer" - }, - "timelion_sheet": { - "type": "text" - }, - "title": { - "type": "text" - }, - "version": { - "type": "integer" - } - } - }, "type": { "type": "keyword" }, diff --git a/test/functional/fixtures/es_archiver/saved_objects_management/show_relationships/mappings.json b/test/functional/fixtures/es_archiver/saved_objects_management/show_relationships/mappings.json index aba581867bb8a..0679717650af9 100644 --- a/test/functional/fixtures/es_archiver/saved_objects_management/show_relationships/mappings.json +++ b/test/functional/fixtures/es_archiver/saved_objects_management/show_relationships/mappings.json @@ -372,47 +372,6 @@ } } }, - "timelion-sheet": { - "properties": { - "description": { - "type": "text" - }, - "hits": { - "type": "integer" - }, - "kibanaSavedObjectMeta": { - "properties": { - "searchSourceJSON": { - "type": "text" - } - } - }, - "timelion_chart_height": { - "type": "integer" - }, - "timelion_columns": { - "type": "integer" - }, - "timelion_interval": { - "type": "keyword" - }, - "timelion_other_interval": { - "type": "keyword" - }, - "timelion_rows": { - "type": "integer" - }, - "timelion_sheet": { - "type": "text" - }, - "title": { - "type": "text" - }, - "version": { - "type": "integer" - } - } - }, "type": { "type": "keyword" }, diff --git a/test/functional/fixtures/es_archiver/timelion/mappings.json b/test/functional/fixtures/es_archiver/timelion/mappings.json index 45b2508d38033..451369d85acd8 100644 --- a/test/functional/fixtures/es_archiver/timelion/mappings.json +++ b/test/functional/fixtures/es_archiver/timelion/mappings.json @@ -137,48 +137,6 @@ } } }, - "timelion-sheet": { - "dynamic": "strict", - "properties": { - "description": { - "type": "text" - }, - "hits": { - "type": "integer" - }, - "kibanaSavedObjectMeta": { - "properties": { - "searchSourceJSON": { - "type": "text" - } - } - }, - "timelion_chart_height": { - "type": "integer" - }, - "timelion_columns": { - "type": "integer" - }, - "timelion_interval": { - "type": "keyword" - }, - "timelion_other_interval": { - "type": "keyword" - }, - "timelion_rows": { - "type": "integer" - }, - "timelion_sheet": { - "type": "text" - }, - "title": { - "type": "text" - }, - "version": { - "type": "integer" - } - } - }, "type": { "type": "keyword" }, diff --git a/test/functional/fixtures/es_archiver/visualize_embedding/mappings.json b/test/functional/fixtures/es_archiver/visualize_embedding/mappings.json index 45b2508d38033..451369d85acd8 100644 --- a/test/functional/fixtures/es_archiver/visualize_embedding/mappings.json +++ b/test/functional/fixtures/es_archiver/visualize_embedding/mappings.json @@ -137,48 +137,6 @@ } } }, - "timelion-sheet": { - "dynamic": "strict", - "properties": { - "description": { - "type": "text" - }, - "hits": { - "type": "integer" - }, - "kibanaSavedObjectMeta": { - "properties": { - "searchSourceJSON": { - "type": "text" - } - } - }, - "timelion_chart_height": { - "type": "integer" - }, - "timelion_columns": { - "type": "integer" - }, - "timelion_interval": { - "type": "keyword" - }, - "timelion_other_interval": { - "type": "keyword" - }, - "timelion_rows": { - "type": "integer" - }, - "timelion_sheet": { - "type": "text" - }, - "title": { - "type": "text" - }, - "version": { - "type": "integer" - } - } - }, "type": { "type": "keyword" }, diff --git a/test/functional/fixtures/es_archiver/visualize_source-filters/mappings.json b/test/functional/fixtures/es_archiver/visualize_source-filters/mappings.json index 45b2508d38033..451369d85acd8 100644 --- a/test/functional/fixtures/es_archiver/visualize_source-filters/mappings.json +++ b/test/functional/fixtures/es_archiver/visualize_source-filters/mappings.json @@ -137,48 +137,6 @@ } } }, - "timelion-sheet": { - "dynamic": "strict", - "properties": { - "description": { - "type": "text" - }, - "hits": { - "type": "integer" - }, - "kibanaSavedObjectMeta": { - "properties": { - "searchSourceJSON": { - "type": "text" - } - } - }, - "timelion_chart_height": { - "type": "integer" - }, - "timelion_columns": { - "type": "integer" - }, - "timelion_interval": { - "type": "keyword" - }, - "timelion_other_interval": { - "type": "keyword" - }, - "timelion_rows": { - "type": "integer" - }, - "timelion_sheet": { - "type": "text" - }, - "title": { - "type": "text" - }, - "version": { - "type": "integer" - } - } - }, "type": { "type": "keyword" }, diff --git a/test/functional/fixtures/es_archiver/visualize_source_filters/mappings.json b/test/functional/fixtures/es_archiver/visualize_source_filters/mappings.json index 5ac113e7e4b74..ec6a9ce7f13a1 100644 --- a/test/functional/fixtures/es_archiver/visualize_source_filters/mappings.json +++ b/test/functional/fixtures/es_archiver/visualize_source_filters/mappings.json @@ -155,48 +155,6 @@ } } }, - "timelion-sheet": { - "dynamic": "strict", - "properties": { - "description": { - "type": "text" - }, - "hits": { - "type": "integer" - }, - "kibanaSavedObjectMeta": { - "properties": { - "searchSourceJSON": { - "type": "text" - } - } - }, - "timelion_chart_height": { - "type": "integer" - }, - "timelion_columns": { - "type": "integer" - }, - "timelion_interval": { - "type": "keyword" - }, - "timelion_other_interval": { - "type": "keyword" - }, - "timelion_rows": { - "type": "integer" - }, - "timelion_sheet": { - "type": "text" - }, - "title": { - "type": "text" - }, - "version": { - "type": "integer" - } - } - }, "type": { "type": "keyword" }, diff --git a/test/functional/page_objects/discover_page.ts b/test/functional/page_objects/discover_page.ts index ae1b4fbf3179a..f230dae1d394a 100644 --- a/test/functional/page_objects/discover_page.ts +++ b/test/functional/page_objects/discover_page.ts @@ -479,7 +479,7 @@ export class DiscoverPageObject extends FtrService { * Check if Discover app is currently rendered on the screen. */ public async isDiscoverAppOnScreen(): Promise { - const result = await this.find.allByCssSelector('discover-app'); + const result = await this.find.allByCssSelector('.dscPage'); return result.length === 1; } diff --git a/test/functional/page_objects/timelion_page.ts b/test/functional/page_objects/timelion_page.ts index 65584d98022be..bdfde3c8145e5 100644 --- a/test/functional/page_objects/timelion_page.ts +++ b/test/functional/page_objects/timelion_page.ts @@ -10,71 +10,21 @@ import { FtrService } from '../ftr_provider_context'; export class TimelionPageObject extends FtrService { private readonly testSubjects = this.ctx.getService('testSubjects'); - private readonly log = this.ctx.getService('log'); - private readonly common = this.ctx.getPageObject('common'); - private readonly esArchiver = this.ctx.getService('esArchiver'); - private readonly kibanaServer = this.ctx.getService('kibanaServer'); - - public async initTests() { - await this.kibanaServer.uiSettings.replace({ - defaultIndex: 'logstash-*', - }); - - this.log.debug('load kibana index'); - await this.esArchiver.load('test/functional/fixtures/es_archiver/timelion'); - - await this.common.navigateToApp('timelion'); - } - - public async setExpression(expression: string) { - const input = await this.testSubjects.find('timelionExpressionTextArea'); - await input.clearValue(); - await input.type(expression); - } - - public async updateExpression(updates: string) { - const input = await this.testSubjects.find('timelionExpressionTextArea'); - await input.type(updates); - await this.common.sleep(1000); - } - - public async getExpression() { - const input = await this.testSubjects.find('timelionExpressionTextArea'); - return input.getVisibleText(); - } public async getSuggestionItemsText() { - const elements = await this.testSubjects.findAll('timelionSuggestionListItem'); - return await Promise.all(elements.map(async (element) => await element.getVisibleText())); + const timelionCodeEditor = await this.testSubjects.find('timelionCodeEditor'); + const lists = await timelionCodeEditor.findAllByClassName('monaco-list-row'); + return await Promise.all(lists.map(async (element) => await element.getVisibleText())); } - public async clickSuggestion(suggestionIndex = 0, waitTime = 1000) { - const elements = await this.testSubjects.findAll('timelionSuggestionListItem'); - if (suggestionIndex > elements.length) { + public async clickSuggestion(suggestionIndex = 0) { + const timelionCodeEditor = await this.testSubjects.find('timelionCodeEditor'); + const lists = await timelionCodeEditor.findAllByCssSelector('.monaco-list-row'); + if (suggestionIndex > lists.length) { throw new Error( - `Unable to select suggestion ${suggestionIndex}, only ${elements.length} suggestions available.` + `Unable to select suggestion ${suggestionIndex}, only ${lists.length} suggestions available.` ); } - await elements[suggestionIndex].click(); - // Wait for timelion expression to be updated after clicking suggestions - await this.common.sleep(waitTime); - } - - public async saveTimelionSheet() { - await this.testSubjects.click('timelionSaveButton'); - await this.testSubjects.click('timelionSaveAsSheetButton'); - await this.testSubjects.click('timelionFinishSaveButton'); - await this.testSubjects.existOrFail('timelionSaveSuccessToast'); - await this.testSubjects.waitForDeleted('timelionSaveSuccessToast'); - } - - public async expectWriteControls() { - await this.testSubjects.existOrFail('timelionSaveButton'); - await this.testSubjects.existOrFail('timelionDeleteButton'); - } - - public async expectMissingWriteControls() { - await this.testSubjects.missingOrFail('timelionSaveButton'); - await this.testSubjects.missingOrFail('timelionDeleteButton'); + await lists[suggestionIndex].click(); } } diff --git a/test/functional/page_objects/visual_builder_page.ts b/test/functional/page_objects/visual_builder_page.ts index 591cddd18a2b3..81b2e2763eb1d 100644 --- a/test/functional/page_objects/visual_builder_page.ts +++ b/test/functional/page_objects/visual_builder_page.ts @@ -30,7 +30,6 @@ export class VisualBuilderPageObject extends FtrService { private readonly testSubjects = this.ctx.getService('testSubjects'); private readonly comboBox = this.ctx.getService('comboBox'); private readonly elasticChart = this.ctx.getService('elasticChart'); - private readonly kibanaServer = this.ctx.getService('kibanaServer'); private readonly common = this.ctx.getPageObject('common'); private readonly header = this.ctx.getPageObject('header'); private readonly timePicker = this.ctx.getPageObject('timePicker'); @@ -271,13 +270,14 @@ export class VisualBuilderPageObject extends FtrService { /** * change the data formatter for template in an `options` label tab * - * @param formatter - typeof formatter which you can use for presenting data. By default kibana show `Number` formatter + * @param formatter - typeof formatter which you can use for presenting data. By default kibana show `Default` formatter */ public async changeDataFormatter( - formatter: 'Bytes' | 'Number' | 'Percent' | 'Duration' | 'Custom' + formatter: 'default' | 'bytes' | 'number' | 'percent' | 'duration' | 'custom' ) { - const formatterEl = await this.testSubjects.find('tsvbDataFormatPicker'); - await this.comboBox.setElement(formatterEl, formatter, { clickWithMouse: true }); + await this.testSubjects.click('tsvbDataFormatPicker'); + await this.testSubjects.click(`tsvbDataFormatPicker-${formatter}`); + await this.visChart.waitForVisualizationRenderingStabilized(); } public async setDrilldownUrl(value: string) { @@ -305,16 +305,16 @@ export class VisualBuilderPageObject extends FtrService { }) { if (from) { await this.retry.try(async () => { - const fromCombobox = await this.find.byCssSelector('[id$="from-row"] .euiComboBox'); - await this.comboBox.setElement(fromCombobox, from, { clickWithMouse: true }); + await this.comboBox.set('dataFormatPickerDurationFrom', from); }); } if (to) { - const toCombobox = await this.find.byCssSelector('[id$="to-row"] .euiComboBox'); - await this.comboBox.setElement(toCombobox, to, { clickWithMouse: true }); + await this.retry.try(async () => { + await this.comboBox.set('dataFormatPickerDurationTo', to); + }); } if (decimalPlaces) { - const decimalPlacesInput = await this.find.byCssSelector('[id$="decimal"]'); + const decimalPlacesInput = await this.testSubjects.find('dataFormatPickerDurationDecimal'); await decimalPlacesInput.type(decimalPlaces); } } @@ -843,9 +843,6 @@ export class VisualBuilderPageObject extends FtrService { } public async toggleNewChartsLibraryWithDebug(enabled: boolean) { - await this.kibanaServer.uiSettings.update({ - 'visualization:visualize:legacyChartsLibrary': !enabled, - }); await this.elasticChart.setNewChartUiDebugFlag(enabled); } diff --git a/test/functional/page_objects/visualize_chart_page.ts b/test/functional/page_objects/visualize_chart_page.ts index bcee77a21c0b0..c1056b58e22d4 100644 --- a/test/functional/page_objects/visualize_chart_page.ts +++ b/test/functional/page_objects/visualize_chart_page.ts @@ -11,7 +11,6 @@ import Color from 'color'; import { FtrService } from '../ftr_provider_context'; -const xyChartSelector = 'visTypeXyChart'; const pieChartSelector = 'visTypePieChart'; export class VisualizeChartPageObject extends FtrService { @@ -37,8 +36,7 @@ export class VisualizeChartPageObject extends FtrService { public async isNewChartsLibraryEnabled(): Promise { const legacyChartsLibrary = Boolean( - (await this.kibanaServer.uiSettings.get('visualization:visualize:legacyChartsLibrary')) && - (await this.kibanaServer.uiSettings.get('visualization:visualize:legacyPieChartsLibrary')) + await this.kibanaServer.uiSettings.get('visualization:visualize:legacyPieChartsLibrary') ) ?? true; const enabled = !legacyChartsLibrary; this.log.debug(`-- isNewChartsLibraryEnabled = ${enabled}`); @@ -78,143 +76,52 @@ export class VisualizeChartPageObject extends FtrService { return true; } - /** - * Helper method to get expected values that are slightly different - * between vislib and elastic-chart inplementations - * @param vislibValue value expected for vislib chart - * @param elasticChartsValue value expected for `@elastic/charts` chart - */ - public async getExpectedValue(vislibValue: T, elasticChartsValue: T): Promise { - if (await this.isNewLibraryChart(xyChartSelector)) { - return elasticChartsValue; - } - - return vislibValue; - } - - public async getYAxisTitle() { - if (await this.isNewLibraryChart(xyChartSelector)) { - const xAxis = (await this.getEsChartDebugState(xyChartSelector))?.axes?.y ?? []; - return xAxis[0]?.title; - } - - const title = await this.find.byCssSelector('.y-axis-div .y-axis-title text'); - return await title.getVisibleText(); + public async getYAxisTitle(selector: string) { + const xAxis = (await this.getEsChartDebugState(selector))?.axes?.y ?? []; + return xAxis[0]?.title; } - public async getXAxisLabels() { - if (await this.isNewLibraryChart(xyChartSelector)) { - const [xAxis] = (await this.getEsChartDebugState(xyChartSelector))?.axes?.x ?? []; - return xAxis?.labels; - } - - const xAxis = await this.find.byCssSelector('.visAxis--x.visAxis__column--bottom'); - const $ = await xAxis.parseDomContent(); - return $('.x > g > text') - .toArray() - .map((tick) => $(tick).text().trim()); + public async getXAxisLabels(selector: string) { + const [xAxis] = (await this.getEsChartDebugState(selector))?.axes?.x ?? []; + return xAxis?.labels; } - public async getYAxisLabels(nth = 0) { - if (await this.isNewLibraryChart(xyChartSelector)) { - const yAxis = (await this.getEsChartDebugState(xyChartSelector))?.axes?.y ?? []; - return yAxis[nth]?.labels; - } - - const yAxis = await this.find.byCssSelector('.visAxis__column--y.visAxis__column--left'); - const $ = await yAxis.parseDomContent(); - return $('.y > g > text') - .toArray() - .map((tick) => $(tick).text().trim()); + public async getYAxisLabels(selector: string, nth = 0) { + const yAxis = (await this.getEsChartDebugState(selector))?.axes?.y ?? []; + return yAxis[nth]?.labels; } - public async getYAxisLabelsAsNumbers() { - if (await this.isNewLibraryChart(xyChartSelector)) { - const [yAxis] = (await this.getEsChartDebugState(xyChartSelector))?.axes?.y ?? []; - return yAxis?.values; - } - - return (await this.getYAxisLabels()).map((label) => Number(label.replace(',', ''))); + public async getYAxisLabelsAsNumbers(selector: string) { + const [yAxis] = (await this.getEsChartDebugState(selector))?.axes?.y ?? []; + return yAxis?.values; } /** * Gets the chart data and scales it based on chart height and label. * @param dataLabel data-label value - * @param axis axis value, 'ValueAxis-1' by default + * @param selector chart selector * @param shouldContainXAxisData boolean value for mapping points, false by default * * Returns an array of height values */ public async getAreaChartData( dataLabel: string, - axis = 'ValueAxis-1', + selector: string, shouldContainXAxisData = false ) { - if (await this.isNewLibraryChart(xyChartSelector)) { - const areas = (await this.getEsChartDebugState(xyChartSelector))?.areas ?? []; - const points = areas.find(({ name }) => name === dataLabel)?.lines.y1.points ?? []; - return shouldContainXAxisData ? points.map(({ x, y }) => [x, y]) : points.map(({ y }) => y); - } - - const yAxisRatio = await this.getChartYAxisRatio(axis); - - const rectangle = await this.find.byCssSelector('rect.background'); - const yAxisHeight = Number(await rectangle.getAttribute('height')); - this.log.debug(`height --------- ${yAxisHeight}`); - - const path = await this.retry.try( - async () => - await this.find.byCssSelector( - `path[data-label="${dataLabel}"]`, - this.defaultFindTimeout * 2 - ) - ); - const data = await path.getAttribute('d'); - this.log.debug(data); - // This area chart data starts with a 'M'ove to a x,y location, followed - // by a bunch of 'L'ines from that point to the next. Those points are - // the values we're going to use to calculate the data values we're testing. - // So git rid of the one 'M' and split the rest on the 'L's. - const tempArray = data - .replace('M ', '') - .replace('M', '') - .replace(/ L /g, 'L') - .replace(/ /g, ',') - .split('L'); - const chartSections = tempArray.length / 2; - const chartData = []; - for (let i = 0; i < chartSections; i++) { - chartData[i] = Math.round((yAxisHeight - Number(tempArray[i].split(',')[1])) * yAxisRatio); - this.log.debug('chartData[i] =' + chartData[i]); - } - return chartData; + const areas = (await this.getEsChartDebugState(selector))?.areas ?? []; + const points = areas.find(({ name }) => name === dataLabel)?.lines.y1.points ?? []; + return shouldContainXAxisData ? points.map(({ x, y }) => [x, y]) : points.map(({ y }) => y); } /** * Returns the paths that compose an area chart. * @param dataLabel data-label value */ - public async getAreaChartPaths(dataLabel: string) { - if (await this.isNewLibraryChart(xyChartSelector)) { - const areas = (await this.getEsChartDebugState(xyChartSelector))?.areas ?? []; - const path = areas.find(({ name }) => name === dataLabel)?.path ?? ''; - return path.split('L'); - } - - const path = await this.retry.try( - async () => - await this.find.byCssSelector( - `path[data-label="${dataLabel}"]`, - this.defaultFindTimeout * 2 - ) - ); - const data = await path.getAttribute('d'); - this.log.debug(data); - // This area chart data starts with a 'M'ove to a x,y location, followed - // by a bunch of 'L'ines from that point to the next. Those points are - // the values we're going to use to calculate the data values we're testing. - // So git rid of the one 'M' and split the rest on the 'L's. - return data.split('L'); + public async getAreaChartPaths(dataLabel: string, selector: string) { + const areas = (await this.getEsChartDebugState(selector))?.areas ?? []; + const path = areas.find(({ name }) => name === dataLabel)?.path ?? ''; + return path.split('L'); } /** @@ -222,106 +129,38 @@ export class VisualizeChartPageObject extends FtrService { * @param dataLabel data-label value * @param axis axis value, 'ValueAxis-1' by default */ - public async getLineChartData(dataLabel = 'Count', axis = 'ValueAxis-1') { - if (await this.isNewLibraryChart(xyChartSelector)) { - // For now lines are rendered as areas to enable stacking - const areas = (await this.getEsChartDebugState(xyChartSelector))?.areas ?? []; - const lines = areas.map(({ lines: { y1 }, name, color }) => ({ ...y1, name, color })); - const points = lines.find(({ name }) => name === dataLabel)?.points ?? []; - return points.map(({ y }) => y); - } - - // 1). get the range/pixel ratio - const yAxisRatio = await this.getChartYAxisRatio(axis); - // 2). find and save the y-axis pixel size (the chart height) - const rectangle = await this.find.byCssSelector('clipPath rect'); - const yAxisHeight = Number(await rectangle.getAttribute('height')); - // 3). get the visWrapper__chart elements - const chartTypes = await this.retry.try( - async () => - await this.find.allByCssSelector( - `.visWrapper__chart circle[data-label="${dataLabel}"][fill-opacity="1"]`, - this.defaultFindTimeout * 2 - ) - ); - // 4). for each chart element, find the green circle, then the cy position - const chartData = await Promise.all( - chartTypes.map(async (chart) => { - const cy = Number(await chart.getAttribute('cy')); - // the point_series_options test has data in the billions range and - // getting 11 digits of precision with these calculations is very hard - return Math.round(Number(((yAxisHeight - cy) * yAxisRatio).toPrecision(6))); - }) - ); - - return chartData; + public async getLineChartData(selector: string, dataLabel = 'Count') { + // For now lines are rendered as areas to enable stacking + const areas = (await this.getEsChartDebugState(selector))?.areas ?? []; + const lines = areas.map(({ lines: { y1 }, name, color }) => ({ ...y1, name, color })); + const points = lines.find(({ name }) => name === dataLabel)?.points ?? []; + return points.map(({ y }) => y); } /** * Returns bar chart data in pixels * @param dataLabel data-label value - * @param axis axis value, 'ValueAxis-1' by default */ - public async getBarChartData(dataLabel = 'Count', axis = 'ValueAxis-1') { - if (await this.isNewLibraryChart(xyChartSelector)) { - const bars = (await this.getEsChartDebugState(xyChartSelector))?.bars ?? []; - const values = bars.find(({ name }) => name === dataLabel)?.bars ?? []; - return values.map(({ y }) => y); - } - - const yAxisRatio = await this.getChartYAxisRatio(axis); - const svg = await this.find.byCssSelector('div.chart'); - const $ = await svg.parseDomContent(); - const chartData = $(`g > g.series > rect[data-label="${dataLabel}"]`) - .toArray() - .map((chart) => { - const barHeight = Number($(chart).attr('height')); - return Math.round(barHeight * yAxisRatio); - }); - - return chartData; + public async getBarChartData(selector: string, dataLabel = 'Count') { + const bars = (await this.getEsChartDebugState(selector))?.bars ?? []; + const values = bars.find(({ name }) => name === dataLabel)?.bars ?? []; + return values.map(({ y }) => y); } - /** - * Returns the range/pixel ratio - * @param axis axis value, 'ValueAxis-1' by default - */ - private async getChartYAxisRatio(axis = 'ValueAxis-1') { - // 1). get the maximum chart Y-Axis marker value and Y position - const maxYAxisChartMarker = await this.retry.try( - async () => - await this.find.byCssSelector( - `div.visAxis__splitAxes--y > div > svg > g.${axis} > g:last-of-type.tick` - ) - ); - const maxYLabel = (await maxYAxisChartMarker.getVisibleText()).replace(/,/g, ''); - const maxYLabelYPosition = (await maxYAxisChartMarker.getPosition()).y; - this.log.debug(`maxYLabel = ${maxYLabel}, maxYLabelYPosition = ${maxYLabelYPosition}`); - - // 2). get the minimum chart Y-Axis marker value and Y position - const minYAxisChartMarker = await this.find.byCssSelector( - 'div.visAxis__column--y.visAxis__column--left > div > div > svg:nth-child(2) > g > g:nth-child(1).tick' - ); - const minYLabel = (await minYAxisChartMarker.getVisibleText()).replace(',', ''); - const minYLabelYPosition = (await minYAxisChartMarker.getPosition()).y; - return (Number(maxYLabel) - Number(minYLabel)) / (minYLabelYPosition - maxYLabelYPosition); - } - - public async toggleLegend(show = true) { - const isVisTypeXYChart = await this.isNewLibraryChart(xyChartSelector); + private async toggleLegend(force = false) { const isVisTypePieChart = await this.isNewLibraryChart(pieChartSelector); - const legendSelector = isVisTypeXYChart || isVisTypePieChart ? '.echLegend' : '.visLegend'; + const legendSelector = force || isVisTypePieChart ? '.echLegend' : '.visLegend'; await this.retry.try(async () => { const isVisible = await this.find.existsByCssSelector(legendSelector); - if ((show && !isVisible) || (!show && isVisible)) { + if (!isVisible) { await this.testSubjects.click('vislibToggleLegend'); } }); } - public async filterLegend(name: string) { - await this.toggleLegend(); + public async filterLegend(name: string, force = false) { + await this.toggleLegend(force); await this.testSubjects.click(`legend-${name}`); const filterIn = await this.testSubjects.find(`legend-${name}-filterIn`); await filterIn.click(); @@ -336,12 +175,12 @@ export class VisualizeChartPageObject extends FtrService { await this.testSubjects.click(`visColorPickerColor-${color}`); } - public async doesSelectedLegendColorExist(color: string) { - if (await this.isNewLibraryChart(xyChartSelector)) { - const items = (await this.getEsChartDebugState(xyChartSelector))?.legend?.items ?? []; - return items.some(({ color: c }) => c === color); - } + public async doesSelectedLegendColorExistForXY(color: string, selector: string) { + const items = (await this.getEsChartDebugState(selector))?.legend?.items ?? []; + return items.some(({ color: c }) => c === color); + } + public async doesSelectedLegendColorExistForPie(color: string) { if (await this.isNewLibraryChart(pieChartSelector)) { const slices = (await this.getEsChartDebugState(pieChartSelector))?.partition?.[0]?.partitions ?? []; @@ -355,7 +194,7 @@ export class VisualizeChartPageObject extends FtrService { } public async expectError() { - if (!this.isNewLibraryChart(xyChartSelector)) { + if (!this.isNewLibraryChart(pieChartSelector)) { await this.testSubjects.existOrFail('vislibVisualizeError'); } } @@ -395,19 +234,15 @@ export class VisualizeChartPageObject extends FtrService { public async waitForVisualization() { await this.waitForVisualizationRenderingStabilized(); + } - if (!(await this.isNewLibraryChart(xyChartSelector))) { - await this.find.byCssSelector('.visualization'); - } + public async getLegendEntriesXYCharts(selector: string) { + const items = (await this.getEsChartDebugState(selector))?.legend?.items ?? []; + return items.map(({ name }) => name); } public async getLegendEntries() { - const isVisTypeXYChart = await this.isNewLibraryChart(xyChartSelector); const isVisTypePieChart = await this.isNewLibraryChart(pieChartSelector); - if (isVisTypeXYChart) { - const items = (await this.getEsChartDebugState(xyChartSelector))?.legend?.items ?? []; - return items.map(({ name }) => name); - } if (isVisTypePieChart) { const slices = @@ -424,13 +259,29 @@ export class VisualizeChartPageObject extends FtrService { ); } - public async openLegendOptionColors(name: string, chartSelector: string) { + public async openLegendOptionColorsForXY(name: string, chartSelector: string) { + await this.waitForVisualizationRenderingStabilized(); + await this.retry.try(async () => { + const chart = await this.find.byCssSelector(chartSelector); + const legendItemColor = await chart.findByCssSelector( + `[data-ech-series-name="${name}"] .echLegendItem__color` + ); + legendItemColor.click(); + + await this.waitForVisualizationRenderingStabilized(); + // arbitrary color chosen, any available would do + const arbitraryColor = '#d36086'; + const isOpen = await this.doesLegendColorChoiceExist(arbitraryColor); + if (!isOpen) { + throw new Error('legend color selector not open'); + } + }); + } + + public async openLegendOptionColorsForPie(name: string, chartSelector: string) { await this.waitForVisualizationRenderingStabilized(); await this.retry.try(async () => { - if ( - (await this.isNewLibraryChart(xyChartSelector)) || - (await this.isNewLibraryChart(pieChartSelector)) - ) { + if (await this.isNewLibraryChart(pieChartSelector)) { const chart = await this.find.byCssSelector(chartSelector); const legendItemColor = await chart.findByCssSelector( `[data-ech-series-name="${name}"] .echLegendItem__color` @@ -444,9 +295,7 @@ export class VisualizeChartPageObject extends FtrService { await this.waitForVisualizationRenderingStabilized(); // arbitrary color chosen, any available would do - const arbitraryColor = (await this.isNewLibraryChart(xyChartSelector)) - ? '#d36086' - : '#EF843C'; + const arbitraryColor = '#EF843C'; const isOpen = await this.doesLegendColorChoiceExist(arbitraryColor); if (!isOpen) { throw new Error('legend color selector not open'); @@ -561,13 +410,12 @@ export class VisualizeChartPageObject extends FtrService { return values.filter((item) => item.length > 0); } - public async getAxesCountByPosition(axesPosition: typeof Position[keyof typeof Position]) { - if (await this.isNewLibraryChart(xyChartSelector)) { - const yAxes = (await this.getEsChartDebugState(xyChartSelector))?.axes?.y ?? []; - return yAxes.filter(({ position }) => position === axesPosition).length; - } - const axes = await this.find.allByCssSelector(`.visAxis__column--${axesPosition} g.axis`); - return axes.length; + public async getAxesCountByPosition( + axesPosition: typeof Position[keyof typeof Position], + selector: string + ) { + const yAxes = (await this.getEsChartDebugState(selector))?.axes?.y ?? []; + return yAxes.filter(({ position }) => position === axesPosition).length; } public async clickOnGaugeByLabel(label: string) { @@ -581,62 +429,26 @@ export class VisualizeChartPageObject extends FtrService { await gauge.clickMouseButton({ xOffset: 0, yOffset }); } - public async getAreaSeriesCount() { - if (await this.isNewLibraryChart(xyChartSelector)) { - const areas = (await this.getEsChartDebugState(xyChartSelector))?.areas ?? []; - return areas.filter((area) => area.lines.y1.visible).length; - } - - const series = await this.find.allByCssSelector('.points.area'); - return series.length; + public async getAreaSeriesCount(selector: string) { + const areas = (await this.getEsChartDebugState(selector))?.areas ?? []; + return areas.filter((area) => area.lines.y1.visible).length; } - public async getHistogramSeriesCount() { - if (await this.isNewLibraryChart(xyChartSelector)) { - const bars = (await this.getEsChartDebugState(xyChartSelector))?.bars ?? []; - return bars.filter(({ visible }) => visible).length; - } - - const series = await this.find.allByCssSelector('.series.histogram'); - return series.length; + public async getHistogramSeriesCount(selector: string) { + const bars = (await this.getEsChartDebugState(selector))?.bars ?? []; + return bars.filter(({ visible }) => visible).length; } - public async getGridLines(): Promise> { - if (await this.isNewLibraryChart(xyChartSelector)) { - const { x, y } = (await this.getEsChartDebugState(xyChartSelector))?.axes ?? { - x: [], - y: [], - }; - return [...x, ...y].flatMap(({ gridlines }) => gridlines); - } - - const grid = await this.find.byCssSelector('g.grid'); - const $ = await grid.parseDomContent(); - return $('path') - .toArray() - .map((line) => { - const dAttribute = $(line).attr('d'); - const firstPoint = dAttribute.split('L')[0].replace('M', '').split(','); - return { - x: parseFloat(firstPoint[0]), - y: parseFloat(firstPoint[1]), - }; - }); + public async getGridLines(selector: string): Promise> { + const { x, y } = (await this.getEsChartDebugState(selector))?.axes ?? { + x: [], + y: [], + }; + return [...x, ...y].flatMap(({ gridlines }) => gridlines); } - public async getChartValues() { - if (await this.isNewLibraryChart(xyChartSelector)) { - const barSeries = (await this.getEsChartDebugState(xyChartSelector))?.bars ?? []; - return barSeries.filter(({ visible }) => visible).flatMap((bars) => bars.labels); - } - - const elements = await this.find.allByCssSelector('.series.histogram text'); - const values = await Promise.all( - elements.map(async (element) => { - const text = await element.getVisibleText(); - return text; - }) - ); - return values; + public async getChartValues(selector: string) { + const barSeries = (await this.getEsChartDebugState(selector))?.bars ?? []; + return barSeries.filter(({ visible }) => visible).flatMap((bars) => bars.labels); } } diff --git a/test/functional/page_objects/visualize_editor_page.ts b/test/functional/page_objects/visualize_editor_page.ts index 90fc320da3cda..50b275d04eabb 100644 --- a/test/functional/page_objects/visualize_editor_page.ts +++ b/test/functional/page_objects/visualize_editor_page.ts @@ -63,8 +63,8 @@ export class VisualizeEditorPageObject extends FtrService { await this.visChart.waitForVisualizationRenderingStabilized(); } - public async clickGo() { - if (await this.visChart.isNewChartsLibraryEnabled()) { + public async clickGo(isNewChartLibrary = false) { + if ((await this.visChart.isNewChartsLibraryEnabled()) || isNewChartLibrary) { await this.elasticChart.setNewChartUiDebugFlag(); } diff --git a/test/functional/page_objects/visualize_page.ts b/test/functional/page_objects/visualize_page.ts index cf3a692d1622e..7356ea3fa44c3 100644 --- a/test/functional/page_objects/visualize_page.ts +++ b/test/functional/page_objects/visualize_page.ts @@ -56,7 +56,6 @@ export class VisualizePageObject extends FtrService { await this.kibanaServer.uiSettings.replace({ defaultIndex: 'logstash-*', [FORMATS_UI_SETTINGS.FORMAT_BYTES_DEFAULT_PATTERN]: '0,0.[000]b', - 'visualization:visualize:legacyChartsLibrary': !isNewLibrary, 'visualization:visualize:legacyPieChartsLibrary': !isNewLibrary, }); } @@ -113,8 +112,8 @@ export class VisualizePageObject extends FtrService { }); } - public async clickRefresh() { - if (await this.visChart.isNewChartsLibraryEnabled()) { + public async clickRefresh(isNewChartLibrary = false) { + if ((await this.visChart.isNewChartsLibraryEnabled()) || isNewChartLibrary) { await this.elasticChart.setNewChartUiDebugFlag(); } await this.queryBar.clickQuerySubmitButton(); diff --git a/test/functional/screenshots/baseline/area_chart.png b/test/functional/screenshots/baseline/area_chart.png index e32dbbaf8d1af..851f53499e94f 100644 Binary files a/test/functional/screenshots/baseline/area_chart.png and b/test/functional/screenshots/baseline/area_chart.png differ diff --git a/test/functional/screenshots/baseline/tsvb_dashboard.png b/test/functional/screenshots/baseline/tsvb_dashboard.png index a36cfffebf080..4b41887e27e24 100644 Binary files a/test/functional/screenshots/baseline/tsvb_dashboard.png and b/test/functional/screenshots/baseline/tsvb_dashboard.png differ diff --git a/test/functional/services/monaco_editor.ts b/test/functional/services/monaco_editor.ts index 90674e101fc4e..63a5a7105ddb8 100644 --- a/test/functional/services/monaco_editor.ts +++ b/test/functional/services/monaco_editor.ts @@ -11,6 +11,7 @@ import { FtrService } from '../ftr_provider_context'; export class MonacoEditorService extends FtrService { private readonly retry = this.ctx.getService('retry'); private readonly browser = this.ctx.getService('browser'); + private readonly testSubjects = this.ctx.getService('testSubjects'); public async getCodeEditorValue(nthIndex: number = 0) { let values: string[] = []; @@ -27,6 +28,12 @@ export class MonacoEditorService extends FtrService { return values[nthIndex] as string; } + public async typeCodeEditorValue(value: string, testSubjId: string) { + const editor = await this.testSubjects.find(testSubjId); + const textarea = await editor.findByCssSelector('textarea'); + textarea.type(value); + } + public async setCodeEditorValue(value: string, nthIndex = 0) { await this.retry.try(async () => { await this.browser.execute( diff --git a/test/new_visualize_flow/fixtures/es_archiver/kibana/mappings.json b/test/new_visualize_flow/fixtures/es_archiver/kibana/mappings.json index 9f5edaad0fe76..f010fcea90b3f 100644 --- a/test/new_visualize_flow/fixtures/es_archiver/kibana/mappings.json +++ b/test/new_visualize_flow/fixtures/es_archiver/kibana/mappings.json @@ -23,7 +23,6 @@ "sample-data-telemetry": "7d3cfeb915303c9641c59681967ffeb4", "search": "181661168bbadd1eff5902361e2a0d5c", "telemetry": "36a616f7026dfa617d6655df850fe16d", - "timelion-sheet": "9a2a2748877c7a7b582fef201ab1d4cf", "tsvb-validation-telemetry": "3a37ef6c8700ae6fc97d5c7da00e9215", "type": "2f4316de49999235636386fe51dc06c1", "ui-metric": "0d409297dc5ebe1e3a1da691c6ee32e3", @@ -366,47 +365,6 @@ } } }, - "timelion-sheet": { - "properties": { - "description": { - "type": "text" - }, - "hits": { - "type": "integer" - }, - "kibanaSavedObjectMeta": { - "properties": { - "searchSourceJSON": { - "type": "text" - } - } - }, - "timelion_chart_height": { - "type": "integer" - }, - "timelion_columns": { - "type": "integer" - }, - "timelion_interval": { - "type": "keyword" - }, - "timelion_other_interval": { - "type": "keyword" - }, - "timelion_rows": { - "type": "integer" - }, - "timelion_sheet": { - "type": "text" - }, - "title": { - "type": "text" - }, - "version": { - "type": "integer" - } - } - }, "tsvb-validation-telemetry": { "properties": { "failedRequests": { diff --git a/test/package/templates/kibana.yml b/test/package/templates/kibana.yml index ac2d03467051b..6608ef8571db6 100644 --- a/test/package/templates/kibana.yml +++ b/test/package/templates/kibana.yml @@ -5,4 +5,14 @@ elasticsearch.username: "{{ elasticsearch_username }}" elasticsearch.password: "{{ elasticsearch_password }}" pid.file: /run/kibana/kibana.pid -logging.dest: /var/log/kibana/kibana.log \ No newline at end of file +logging: + appenders: + file: + type: file + fileName: kibana.log + layout: + type: json + root: + appenders: + - default + - file diff --git a/test/scripts/jenkins_storybook.sh b/test/scripts/jenkins_storybook.sh index 73ab43fd02eba..00cc0d78599dd 100755 --- a/test/scripts/jenkins_storybook.sh +++ b/test/scripts/jenkins_storybook.sh @@ -6,13 +6,20 @@ cd "$KIBANA_DIR" yarn storybook --site apm yarn storybook --site canvas +yarn storybook --site codeeditor yarn storybook --site ci_composite yarn storybook --site url_template_editor -yarn storybook --site codeeditor yarn storybook --site dashboard yarn storybook --site dashboard_enhanced yarn storybook --site data_enhanced yarn storybook --site embeddable +yarn storybook --site expression_error +yarn storybook --site expression_image +yarn storybook --site expression_metric +yarn storybook --site expression_repeat_image +yarn storybook --site expression_reveal_image +yarn storybook --site expression_shape +yarn storybook --site expression_tagcloud yarn storybook --site infra yarn storybook --site security_solution yarn storybook --site ui_actions_enhanced diff --git a/test/tsconfig.json b/test/tsconfig.json index c94d4445dd246..660850ffeb6ca 100644 --- a/test/tsconfig.json +++ b/test/tsconfig.json @@ -52,7 +52,6 @@ { "path": "../src/plugins/url_forwarding/tsconfig.json" }, { "path": "../src/plugins/usage_collection/tsconfig.json" }, { "path": "../src/plugins/index_pattern_management/tsconfig.json" }, - { "path": "../src/plugins/legacy_export/tsconfig.json" }, { "path": "../src/plugins/visualize/tsconfig.json" }, { "path": "plugin_functional/plugins/core_app_status/tsconfig.json" }, { "path": "plugin_functional/plugins/core_provider_plugin/tsconfig.json" }, diff --git a/vars/workers.groovy b/vars/workers.groovy index ca1c6b57c18bb..d95c3fdbb1b44 100644 --- a/vars/workers.groovy +++ b/vars/workers.groovy @@ -20,7 +20,7 @@ def label(size) { case 'xl-highmem': return 'docker && tests-xl-highmem' case 'xxl': - return 'docker && tests-xxl && gobld/machineType:custom-64-270336' + return 'docker && tests-xxl && gobld/machineType:custom-64-327680' case 'n2-standard-16': return 'docker && linux && immutable && gobld/machineType:n2-standard-16' } diff --git a/x-pack/plugins/actions/jest.config.js b/x-pack/plugins/actions/jest.config.js index 3a9fb5019494a..2d3372a91890a 100644 --- a/x-pack/plugins/actions/jest.config.js +++ b/x-pack/plugins/actions/jest.config.js @@ -9,4 +9,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/x-pack/plugins/actions'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/actions', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/x-pack/plugins/actions/{common,server}/**/*.{js,ts,tsx}'], }; diff --git a/x-pack/plugins/actions/server/action_type_registry.ts b/x-pack/plugins/actions/server/action_type_registry.ts index e5846560a6c98..76b360ce8b17f 100644 --- a/x-pack/plugins/actions/server/action_type_registry.ts +++ b/x-pack/plugins/actions/server/action_type_registry.ts @@ -134,7 +134,8 @@ export class ActionTypeRegistry { // Don't retry other kinds of errors return false; }, - createTaskRunner: (context: RunContext) => this.taskRunnerFactory.create(context), + createTaskRunner: (context: RunContext) => + this.taskRunnerFactory.create(context, actionType.maxAttempts), }, }); // No need to notify usage on basic action types diff --git a/x-pack/plugins/actions/server/lib/action_executor.test.ts b/x-pack/plugins/actions/server/lib/action_executor.test.ts index 440de161490aa..ba7f750859d40 100644 --- a/x-pack/plugins/actions/server/lib/action_executor.test.ts +++ b/x-pack/plugins/actions/server/lib/action_executor.test.ts @@ -187,10 +187,12 @@ test('successfully executes as a task', async () => { const scheduleDelay = 10000; // milliseconds const scheduled = new Date(Date.now() - scheduleDelay); + const attempts = 1; await actionExecutor.execute({ ...executeParams, taskInfo: { scheduled, + attempts, }, }); diff --git a/x-pack/plugins/actions/server/lib/action_executor.ts b/x-pack/plugins/actions/server/lib/action_executor.ts index 5dfe56cff5016..d265bca237c3b 100644 --- a/x-pack/plugins/actions/server/lib/action_executor.ts +++ b/x-pack/plugins/actions/server/lib/action_executor.ts @@ -44,6 +44,7 @@ export interface ActionExecutorContext { export interface TaskInfo { scheduled: Date; + attempts: number; } export interface ExecuteOptions { @@ -210,6 +211,7 @@ export class ActionExecutor { config: validatedConfig, secrets: validatedSecrets, isEphemeral, + taskInfo, }); } catch (err) { rawResult = { diff --git a/x-pack/plugins/actions/server/lib/task_runner_factory.test.ts b/x-pack/plugins/actions/server/lib/task_runner_factory.test.ts index cff92f874e0ef..85d819ba09b8a 100644 --- a/x-pack/plugins/actions/server/lib/task_runner_factory.test.ts +++ b/x-pack/plugins/actions/server/lib/task_runner_factory.test.ts @@ -136,6 +136,7 @@ test('executes the task by calling the executor with proper parameters, using gi }), taskInfo: { scheduled: new Date(), + attempts: 0, }, }); @@ -191,6 +192,7 @@ test('executes the task by calling the executor with proper parameters, using st }), taskInfo: { scheduled: new Date(), + attempts: 0, }, }); @@ -341,6 +343,7 @@ test('uses API key when provided', async () => { }), taskInfo: { scheduled: new Date(), + attempts: 0, }, }); @@ -401,6 +404,7 @@ test('uses relatedSavedObjects merged with references when provided', async () = }), taskInfo: { scheduled: new Date(), + attempts: 0, }, }); }); @@ -451,6 +455,7 @@ test('uses relatedSavedObjects as is when references are empty', async () => { }), taskInfo: { scheduled: new Date(), + attempts: 0, }, }); }); @@ -499,6 +504,7 @@ test('sanitizes invalid relatedSavedObjects when provided', async () => { relatedSavedObjects: [], taskInfo: { scheduled: new Date(), + attempts: 0, }, }); }); @@ -538,6 +544,7 @@ test(`doesn't use API key when not provided`, async () => { }), taskInfo: { scheduled: new Date(), + attempts: 0, }, }); @@ -549,9 +556,15 @@ test(`doesn't use API key when not provided`, async () => { }); test(`throws an error when license doesn't support the action type`, async () => { - const taskRunner = taskRunnerFactory.create({ - taskInstance: mockedTaskInstance, - }); + const taskRunner = taskRunnerFactory.create( + { + taskInstance: { + ...mockedTaskInstance, + attempts: 1, + }, + }, + 2 + ); mockedEncryptedSavedObjectsClient.getDecryptedAsInternalUser.mockResolvedValueOnce({ id: '3', @@ -579,6 +592,138 @@ test(`throws an error when license doesn't support the action type`, async () => } catch (e) { expect(e instanceof ExecutorError).toEqual(true); expect(e.data).toEqual({}); - expect(e.retry).toEqual(false); + expect(e.retry).toEqual(true); } }); + +test(`treats errors as errors if the task is retryable`, async () => { + const taskRunner = taskRunnerFactory.create({ + taskInstance: { + ...mockedTaskInstance, + attempts: 0, + }, + }); + + mockedEncryptedSavedObjectsClient.getDecryptedAsInternalUser.mockResolvedValueOnce({ + id: '3', + type: 'action_task_params', + attributes: { + actionId: '2', + params: { baz: true }, + apiKey: Buffer.from('123:abc').toString('base64'), + }, + references: [ + { + id: '2', + name: 'actionRef', + type: 'action', + }, + ], + }); + mockedActionExecutor.execute.mockResolvedValueOnce({ + status: 'error', + actionId: '2', + message: 'Error message', + data: { foo: true }, + retry: false, + }); + + let err; + try { + await taskRunner.run(); + } catch (e) { + err = e; + } + expect(err).toBeDefined(); + expect(err instanceof ExecutorError).toEqual(true); + expect(err.data).toEqual({ foo: true }); + expect(err.retry).toEqual(false); + expect(taskRunnerFactoryInitializerParams.logger.error as jest.Mock).toHaveBeenCalledWith( + `Action '2' failed and will not retry: Error message` + ); +}); + +test(`treats errors as successes if the task is not retryable`, async () => { + const taskRunner = taskRunnerFactory.create({ + taskInstance: { + ...mockedTaskInstance, + attempts: 1, + }, + }); + + mockedEncryptedSavedObjectsClient.getDecryptedAsInternalUser.mockResolvedValueOnce({ + id: '3', + type: 'action_task_params', + attributes: { + actionId: '2', + params: { baz: true }, + apiKey: Buffer.from('123:abc').toString('base64'), + }, + references: [ + { + id: '2', + name: 'actionRef', + type: 'action', + }, + ], + }); + mockedActionExecutor.execute.mockResolvedValueOnce({ + status: 'error', + actionId: '2', + message: 'Error message', + data: { foo: true }, + retry: false, + }); + + let err; + try { + await taskRunner.run(); + } catch (e) { + err = e; + } + expect(err).toBeUndefined(); + expect(taskRunnerFactoryInitializerParams.logger.error as jest.Mock).toHaveBeenCalledWith( + `Action '2' failed and will not retry: Error message` + ); +}); + +test('treats errors as errors if the error is thrown instead of returned', async () => { + const taskRunner = taskRunnerFactory.create({ + taskInstance: { + ...mockedTaskInstance, + attempts: 0, + }, + }); + + mockedEncryptedSavedObjectsClient.getDecryptedAsInternalUser.mockResolvedValueOnce({ + id: '3', + type: 'action_task_params', + attributes: { + actionId: '2', + params: { baz: true }, + apiKey: Buffer.from('123:abc').toString('base64'), + }, + references: [ + { + id: '2', + name: 'actionRef', + type: 'action', + }, + ], + }); + mockedActionExecutor.execute.mockRejectedValueOnce({}); + + let err; + try { + await taskRunner.run(); + } catch (e) { + err = e; + } + expect(err).toBeDefined(); + expect(err instanceof ExecutorError).toEqual(true); + expect(err.data).toEqual({}); + expect(err.retry).toEqual(true); + expect(taskRunnerFactoryInitializerParams.logger.error as jest.Mock).toHaveBeenCalledWith( + `Action '2' failed and will retry: undefined` + ); +}); diff --git a/x-pack/plugins/actions/server/lib/task_runner_factory.ts b/x-pack/plugins/actions/server/lib/task_runner_factory.ts index 45ae6c1d5fae9..9a3856bbf7cee 100644 --- a/x-pack/plugins/actions/server/lib/task_runner_factory.ts +++ b/x-pack/plugins/actions/server/lib/task_runner_factory.ts @@ -22,7 +22,6 @@ import { ActionExecutorContract } from './action_executor'; import { ExecutorError } from './executor_error'; import { RunContext } from '../../../task_manager/server'; import { EncryptedSavedObjectsClient } from '../../../encrypted_saved_objects/server'; -import { ActionTypeDisabledError } from './errors'; import { ActionTaskParams, ActionTypeRegistryContract, @@ -62,7 +61,7 @@ export class TaskRunnerFactory { this.taskRunnerContext = taskRunnerContext; } - public create({ taskInstance }: RunContext) { + public create({ taskInstance }: RunContext, maxAttempts: number = 1) { if (!this.isInitialized) { throw new Error('TaskRunnerFactory not initialized'); } @@ -78,6 +77,7 @@ export class TaskRunnerFactory { const taskInfo = { scheduled: taskInstance.runAt, + attempts: taskInstance.attempts, }; return { @@ -119,7 +119,14 @@ export class TaskRunnerFactory { basePathService.set(fakeRequest, path); - let executorResult: ActionTypeExecutorResult; + // Throwing an executor error means we will attempt to retry the task + // TM will treat a task as a failure if `attempts >= maxAttempts` + // so we need to handle that here to avoid TM persisting the failed task + const isRetryableBasedOnAttempts = taskInfo.attempts < (maxAttempts ?? 1); + const willRetryMessage = `and will retry`; + const willNotRetryMessage = `and will not retry`; + + let executorResult: ActionTypeExecutorResult | undefined; try { executorResult = await actionExecutor.execute({ params, @@ -131,20 +138,39 @@ export class TaskRunnerFactory { relatedSavedObjects: validatedRelatedSavedObjects(logger, relatedSavedObjects), }); } catch (e) { - if (e instanceof ActionTypeDisabledError) { - // We'll stop re-trying due to action being forbidden - throw new ExecutorError(e.message, {}, false); + logger.error( + `Action '${actionId}' failed ${ + isRetryableBasedOnAttempts ? willRetryMessage : willNotRetryMessage + }: ${e.message}` + ); + if (isRetryableBasedOnAttempts) { + // In order for retry to work, we need to indicate to task manager this task + // failed + throw new ExecutorError(e.message, {}, true); } - throw e; } - if (executorResult.status === 'error') { + if ( + executorResult && + executorResult?.status === 'error' && + executorResult?.retry !== undefined && + isRetryableBasedOnAttempts + ) { + logger.error( + `Action '${actionId}' failed ${ + !!executorResult.retry ? willRetryMessage : willNotRetryMessage + }: ${executorResult.message}` + ); // Task manager error handler only kicks in when an error thrown (at this time) // So what we have to do is throw when the return status is `error`. throw new ExecutorError( executorResult.message, executorResult.data, - executorResult.retry == null ? false : executorResult.retry + executorResult.retry as boolean | Date + ); + } else if (executorResult && executorResult?.status === 'error') { + logger.error( + `Action '${actionId}' failed ${willNotRetryMessage}: ${executorResult.message}` ); } diff --git a/x-pack/plugins/actions/server/types.ts b/x-pack/plugins/actions/server/types.ts index 14e9e120a853a..64250ca77fba4 100644 --- a/x-pack/plugins/actions/server/types.ts +++ b/x-pack/plugins/actions/server/types.ts @@ -19,6 +19,7 @@ import { SavedObjectReference, } from '../../../../src/core/server'; import { ActionTypeExecutorResult } from '../common'; +import { TaskInfo } from './lib/action_executor'; export { ActionTypeExecutorResult } from '../common'; export { GetFieldsByIssueTypeResponse as JiraGetFieldsResponse } from './builtin_action_types/jira/types'; export { GetCommonFieldsResponse as ServiceNowGetFieldsResponse } from './builtin_action_types/servicenow/types'; @@ -59,6 +60,7 @@ export interface ActionTypeExecutorOptions { secrets: Secrets; params: Params; isEphemeral?: boolean; + taskInfo?: TaskInfo; } export interface ActionResult { diff --git a/x-pack/plugins/alerting/jest.config.js b/x-pack/plugins/alerting/jest.config.js index 1f34005415cca..05db974299b40 100644 --- a/x-pack/plugins/alerting/jest.config.js +++ b/x-pack/plugins/alerting/jest.config.js @@ -9,4 +9,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/x-pack/plugins/alerting'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/alerting', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/x-pack/plugins/alerting/{common,public,server}/**/*.{ts,tsx}'], }; diff --git a/x-pack/plugins/alerting/server/rules_client/rules_client.ts b/x-pack/plugins/alerting/server/rules_client/rules_client.ts index c3e21e02cdb7d..51f27916e015a 100644 --- a/x-pack/plugins/alerting/server/rules_client/rules_client.ts +++ b/x-pack/plugins/alerting/server/rules_client/rules_client.ts @@ -672,6 +672,14 @@ export class RulesClient { } public async delete({ id }: { id: string }) { + return await retryIfConflicts( + this.logger, + `rulesClient.delete('${id}')`, + async () => await this.deleteWithOCC({ id }) + ); + } + + private async deleteWithOCC({ id }: { id: string }) { let taskIdToRemove: string | undefined | null; let apiKeyToInvalidate: string | null = null; let attributes: RawAlert; diff --git a/x-pack/plugins/apm/dev_docs/routing_and_linking.md b/x-pack/plugins/apm/dev_docs/routing_and_linking.md index 7c5a00f43fe4b..478de0081fca4 100644 --- a/x-pack/plugins/apm/dev_docs/routing_and_linking.md +++ b/x-pack/plugins/apm/dev_docs/routing_and_linking.md @@ -18,13 +18,13 @@ Routes (and their parameters) are defined in [public/components/routing/apm_conf #### Parameter handling -Path (like `serviceName` in '/services/:serviceName/transactions') and query parameters are defined in the route definitions. +Path (like `serviceName` in '/services/{serviceName}/transactions') and query parameters are defined in the route definitions. For each parameter, an io-ts runtime type needs to be present: ```tsx { - route: '/services/:serviceName', + route: '/services/{serviceName}', element: , params: t.intersection([ t.type({ diff --git a/x-pack/plugins/apm/dev_docs/testing.md b/x-pack/plugins/apm/dev_docs/testing.md index 93f32111048c1..4d0edc27fe644 100644 --- a/x-pack/plugins/apm/dev_docs/testing.md +++ b/x-pack/plugins/apm/dev_docs/testing.md @@ -42,7 +42,7 @@ The API tests are located in `x-pack/test/apm_api_integration/`. node scripts/test/e2e [--trial] [--help] ``` -The E2E tests are located [here](../../ftr_e2e) +The E2E tests are located [here](../ftr_e2e) --- diff --git a/x-pack/plugins/apm/jest.config.js b/x-pack/plugins/apm/jest.config.js index 5bce9bbfb5b1b..77639cb58d497 100644 --- a/x-pack/plugins/apm/jest.config.js +++ b/x-pack/plugins/apm/jest.config.js @@ -13,4 +13,9 @@ module.exports = { roots: ['/x-pack/plugins/apm'], setupFiles: ['/x-pack/plugins/apm/.storybook/jest_setup.js'], testPathIgnorePatterns: ['/x-pack/plugins/apm/e2e/'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/apm', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/plugins/apm/{common,public,server}/**/*.{js,ts,tsx}', + ], }; diff --git a/x-pack/plugins/apm/public/application/application.test.tsx b/x-pack/plugins/apm/public/application/application.test.tsx index cbc72f918877c..144da47828bf7 100644 --- a/x-pack/plugins/apm/public/application/application.test.tsx +++ b/x-pack/plugins/apm/public/application/application.test.tsx @@ -9,7 +9,7 @@ import React from 'react'; import { act } from '@testing-library/react'; import { createMemoryHistory } from 'history'; import { Observable } from 'rxjs'; -import { CoreStart } from 'src/core/public'; +import { CoreStart, DocLinksStart, HttpStart } from 'src/core/public'; import { mockApmPluginContextValue } from '../context/apm_plugin/mock_apm_plugin_context'; import { createCallApmApi } from '../services/rest/createCallApmApi'; import { renderApp } from './'; @@ -85,6 +85,20 @@ describe('renderApp', () => { getEditAlertFlyout: jest.fn(), }, usageCollection: { reportUiCounter: () => {} }, + http: { + basePath: { + prepend: (path: string) => `/basepath${path}`, + get: () => `/basepath`, + }, + } as HttpStart, + docLinks: ({ + DOC_LINK_VERSION: '0', + ELASTIC_WEBSITE_URL: 'https://www.elastic.co/', + links: { + apm: {}, + observability: { guide: '' }, + }, + } as unknown) as DocLinksStart, } as unknown) as ApmPluginStartDeps; jest.spyOn(window, 'scrollTo').mockReturnValueOnce(undefined); diff --git a/x-pack/plugins/apm/public/components/alerting/error_count_alert_trigger/index.tsx b/x-pack/plugins/apm/public/components/alerting/error_count_alert_trigger/index.tsx index a06520f1c5bfc..dd94cf4b175a6 100644 --- a/x-pack/plugins/apm/public/components/alerting/error_count_alert_trigger/index.tsx +++ b/x-pack/plugins/apm/public/components/alerting/error_count_alert_trigger/index.tsx @@ -8,14 +8,20 @@ import { i18n } from '@kbn/i18n'; import { defaults, omit } from 'lodash'; import React from 'react'; -import { ENVIRONMENT_ALL } from '../../../../common/environment_filter_values'; import { ForLastExpression } from '../../../../../triggers_actions_ui/public'; +import { ENVIRONMENT_ALL } from '../../../../common/environment_filter_values'; import { asInteger } from '../../../../common/utils/formatters'; import { useEnvironmentsFetcher } from '../../../hooks/use_environments_fetcher'; import { useFetcher } from '../../../hooks/use_fetcher'; import { ChartPreview } from '../chart_preview'; import { EnvironmentField, IsAboveField, ServiceField } from '../fields'; -import { AlertMetadata, getAbsoluteTimeRange } from '../helper'; +import { + AlertMetadata, + getIntervalAndTimeRange, + isNewApmRuleFromStackManagement, + TimeUnit, +} from '../helper'; +import { NewAlertEmptyPrompt } from '../new_alert_empty_prompt'; import { ServiceAlertTrigger } from '../service_alert_trigger'; export interface AlertParams { @@ -54,14 +60,20 @@ export function ErrorCountAlertTrigger(props: Props) { const { data } = useFetcher( (callApmApi) => { - if (params.windowSize && params.windowUnit) { + const { interval, start, end } = getIntervalAndTimeRange({ + windowSize: params.windowSize, + windowUnit: params.windowUnit as TimeUnit, + }); + if (interval && start && end) { return callApmApi({ endpoint: 'GET /api/apm/alerts/chart_preview/transaction_error_count', params: { query: { - ...getAbsoluteTimeRange(params.windowSize, params.windowUnit), environment: params.environment, serviceName: params.serviceName, + interval, + start, + end, }, }, }); @@ -75,6 +87,10 @@ export function ErrorCountAlertTrigger(props: Props) { ] ); + if (isNewApmRuleFromStackManagement(alertParams, metadata)) { + return ; + } + const fields = [ , ; + return ( + + ); } return ( diff --git a/x-pack/plugins/apm/public/components/alerting/helper.ts b/x-pack/plugins/apm/public/components/alerting/helper.ts index 7a8f128e41564..b3dac5c2643db 100644 --- a/x-pack/plugins/apm/public/components/alerting/helper.ts +++ b/x-pack/plugins/apm/public/components/alerting/helper.ts @@ -4,8 +4,7 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ - -import datemath from '@elastic/datemath'; +import moment from 'moment'; export interface AlertMetadata { environment: string; @@ -15,12 +14,36 @@ export interface AlertMetadata { end?: string; } -export function getAbsoluteTimeRange(windowSize: number, windowUnit: string) { - const now = new Date().toISOString(); +export type TimeUnit = 's' | 'm' | 'h' | 'd'; + +const BUCKET_SIZE = 20; + +export function getIntervalAndTimeRange({ + windowSize, + windowUnit, +}: { + windowSize: number; + windowUnit: TimeUnit; +}) { + const end = Date.now(); + const start = + end - + moment.duration(windowSize, windowUnit).asMilliseconds() * BUCKET_SIZE; return { - start: - datemath.parse(`now-${windowSize}${windowUnit}`)?.toISOString() ?? now, - end: now, + interval: `${windowSize}${windowUnit}`, + start: new Date(start).toISOString(), + end: new Date(end).toISOString(), }; } + +export function isNewApmRuleFromStackManagement( + alertParams: any, + metadata?: AlertMetadata +) { + return ( + alertParams !== undefined && + Object.keys(alertParams).length === 0 && + metadata === undefined + ); +} diff --git a/x-pack/plugins/apm/public/components/alerting/new_alert_empty_prompt.tsx b/x-pack/plugins/apm/public/components/alerting/new_alert_empty_prompt.tsx new file mode 100644 index 0000000000000..4777da7871b68 --- /dev/null +++ b/x-pack/plugins/apm/public/components/alerting/new_alert_empty_prompt.tsx @@ -0,0 +1,47 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +/* eslint-disable @elastic/eui/href-or-on-click */ + +import { EuiButton, EuiEmptyPrompt } from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; +import React, { MouseEvent } from 'react'; +import { useKibana } from '../../../../../../src/plugins/kibana_react/public'; + +export function NewAlertEmptyPrompt() { + const { services } = useKibana(); + const apmUrl = services.http?.basePath.prepend('/app/apm'); + const navigateToUrl = services.application?.navigateToUrl; + const handleClick = (event: MouseEvent) => { + event.preventDefault(); + if (apmUrl && navigateToUrl) { + navigateToUrl(apmUrl); + } + }; + + return ( + + {i18n.translate('xpack.apm.NewAlertEmptyPrompt.goToApmLinkText', { + defaultMessage: 'Go to APM', + })} + , + ]} + /> + ); +} diff --git a/x-pack/plugins/apm/public/components/alerting/transaction_duration_alert_trigger/index.tsx b/x-pack/plugins/apm/public/components/alerting/transaction_duration_alert_trigger/index.tsx index 2a73cba0a63d5..dbbb7186de65c 100644 --- a/x-pack/plugins/apm/public/components/alerting/transaction_duration_alert_trigger/index.tsx +++ b/x-pack/plugins/apm/public/components/alerting/transaction_duration_alert_trigger/index.tsx @@ -9,10 +9,10 @@ import { EuiSelect } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import { defaults, map, omit } from 'lodash'; import React from 'react'; -import { ENVIRONMENT_ALL } from '../../../../common/environment_filter_values'; import { CoreStart } from '../../../../../../../src/core/public'; import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; import { ForLastExpression } from '../../../../../triggers_actions_ui/public'; +import { ENVIRONMENT_ALL } from '../../../../common/environment_filter_values'; import { getDurationFormatter } from '../../../../common/utils/formatters'; import { useServiceTransactionTypesFetcher } from '../../../context/apm_service/use_service_transaction_types_fetcher'; import { useEnvironmentsFetcher } from '../../../hooks/use_environments_fetcher'; @@ -29,7 +29,13 @@ import { ServiceField, TransactionTypeField, } from '../fields'; -import { AlertMetadata, getAbsoluteTimeRange } from '../helper'; +import { + AlertMetadata, + getIntervalAndTimeRange, + isNewApmRuleFromStackManagement, + TimeUnit, +} from '../helper'; +import { NewAlertEmptyPrompt } from '../new_alert_empty_prompt'; import { ServiceAlertTrigger } from '../service_alert_trigger'; import { PopoverExpression } from '../service_alert_trigger/popover_expression'; @@ -77,9 +83,11 @@ export function TransactionDurationAlertTrigger(props: Props) { createCallApmApi(services as CoreStart); - const transactionTypes = useServiceTransactionTypesFetcher( - metadata?.serviceName - ); + const transactionTypes = useServiceTransactionTypesFetcher({ + serviceName: metadata?.serviceName, + start: metadata?.start, + end: metadata?.end, + }); const params = defaults( { @@ -104,16 +112,22 @@ export function TransactionDurationAlertTrigger(props: Props) { const { data } = useFetcher( (callApmApi) => { - if (params.windowSize && params.windowUnit) { + const { interval, start, end } = getIntervalAndTimeRange({ + windowSize: params.windowSize, + windowUnit: params.windowUnit as TimeUnit, + }); + if (interval && start && end) { return callApmApi({ endpoint: 'GET /api/apm/alerts/chart_preview/transaction_duration', params: { query: { - ...getAbsoluteTimeRange(params.windowSize, params.windowUnit), aggregationType: params.aggregationType, environment: params.environment, serviceName: params.serviceName, transactionType: params.transactionType, + interval, + start, + end, }, }, }); @@ -146,6 +160,10 @@ export function TransactionDurationAlertTrigger(props: Props) { /> ); + if (isNewApmRuleFromStackManagement(alertParams, metadata)) { + return ; + } + if (!params.serviceName) { return null; } diff --git a/x-pack/plugins/apm/public/components/alerting/transaction_duration_anomaly_alert_trigger/index.tsx b/x-pack/plugins/apm/public/components/alerting/transaction_duration_anomaly_alert_trigger/index.tsx index 519b18cd3a6b6..7b3c30da44c08 100644 --- a/x-pack/plugins/apm/public/components/alerting/transaction_duration_anomaly_alert_trigger/index.tsx +++ b/x-pack/plugins/apm/public/components/alerting/transaction_duration_anomaly_alert_trigger/index.tsx @@ -17,7 +17,8 @@ import { ServiceField, TransactionTypeField, } from '../fields'; -import { AlertMetadata } from '../helper'; +import { AlertMetadata, isNewApmRuleFromStackManagement } from '../helper'; +import { NewAlertEmptyPrompt } from '../new_alert_empty_prompt'; import { ServiceAlertTrigger } from '../service_alert_trigger'; import { PopoverExpression } from '../service_alert_trigger/popover_expression'; import { @@ -48,9 +49,11 @@ interface Props { export function TransactionDurationAnomalyAlertTrigger(props: Props) { const { alertParams, metadata, setAlertParams, setAlertProperty } = props; - const transactionTypes = useServiceTransactionTypesFetcher( - metadata?.serviceName - ); + const transactionTypes = useServiceTransactionTypesFetcher({ + serviceName: metadata?.serviceName, + start: metadata?.start, + end: metadata?.end, + }); const params = defaults( { @@ -71,6 +74,10 @@ export function TransactionDurationAnomalyAlertTrigger(props: Props) { end: metadata?.end, }); + if (isNewApmRuleFromStackManagement(alertParams, metadata)) { + return ; + } + const fields = [ , { - if (params.windowSize && params.windowUnit) { + const { interval, start, end } = getIntervalAndTimeRange({ + windowSize: params.windowSize, + windowUnit: params.windowUnit as TimeUnit, + }); + if (interval && start && end) { return callApmApi({ endpoint: 'GET /api/apm/alerts/chart_preview/transaction_error_rate', params: { query: { - ...getAbsoluteTimeRange(params.windowSize, params.windowUnit), environment: params.environment, serviceName: params.serviceName, transactionType: params.transactionType, + interval, + start, + end, }, }, }); @@ -95,6 +108,10 @@ export function TransactionErrorRateAlertTrigger(props: Props) { ] ); + if (isNewApmRuleFromStackManagement(alertParams, metadata)) { + return ; + } + const fields = [ , diff --git a/x-pack/plugins/apm/public/components/app/RumDashboard/RumDashboard.tsx b/x-pack/plugins/apm/public/components/app/RumDashboard/RumDashboard.tsx index a182de8540f58..4ed011441c81b 100644 --- a/x-pack/plugins/apm/public/components/app/RumDashboard/RumDashboard.tsx +++ b/x-pack/plugins/apm/public/components/app/RumDashboard/RumDashboard.tsx @@ -11,11 +11,11 @@ import { UXMetrics } from './UXMetrics'; import { ImpactfulMetrics } from './ImpactfulMetrics'; import { PageLoadAndViews } from './Panels/PageLoadAndViews'; import { VisitorBreakdownsPanel } from './Panels/VisitorBreakdowns'; -import { useBreakPoints } from '../../../hooks/use_break_points'; +import { useBreakpoints } from '../../../hooks/use_breakpoints'; import { ClientMetrics } from './ClientMetrics'; export function RumDashboard() { - const { isSmall } = useBreakPoints(); + const { isSmall } = useBreakpoints(); return ( diff --git a/x-pack/plugins/apm/public/components/app/RumDashboard/RumHome.tsx b/x-pack/plugins/apm/public/components/app/RumDashboard/RumHome.tsx index 487d477485ce1..cb80698adeaa7 100644 --- a/x-pack/plugins/apm/public/components/app/RumDashboard/RumHome.tsx +++ b/x-pack/plugins/apm/public/components/app/RumDashboard/RumHome.tsx @@ -15,7 +15,7 @@ import { DatePicker } from '../../shared/DatePicker'; import { useApmPluginContext } from '../../../context/apm_plugin/use_apm_plugin_context'; import { UxEnvironmentFilter } from '../../shared/EnvironmentFilter'; import { UserPercentile } from './UserPercentile'; -import { useBreakPoints } from '../../../hooks/use_break_points'; +import { useBreakpoints } from '../../../hooks/use_breakpoints'; export const UX_LABEL = i18n.translate('xpack.apm.ux.title', { defaultMessage: 'Dashboard', @@ -25,7 +25,7 @@ export function RumHome() { const { observability } = useApmPluginContext(); const PageTemplateComponent = observability.navigation.PageTemplate; - const { isSmall, isXXL } = useBreakPoints(); + const { isSmall, isXXL } = useBreakpoints(); const envStyle = isSmall ? {} : { maxWidth: 500 }; @@ -57,7 +57,7 @@ export function RumHome() { } function PageHeader() { - const { isSmall } = useBreakPoints(); + const { isSmall } = useBreakpoints(); const envStyle = isSmall ? {} : { maxWidth: 400 }; diff --git a/x-pack/plugins/apm/public/components/app/RumDashboard/VisitorBreakdownMap/EmbeddedMap.tsx b/x-pack/plugins/apm/public/components/app/RumDashboard/VisitorBreakdownMap/EmbeddedMap.tsx index eb885c8db4651..1ba1685ca17ab 100644 --- a/x-pack/plugins/apm/public/components/app/RumDashboard/VisitorBreakdownMap/EmbeddedMap.tsx +++ b/x-pack/plugins/apm/public/components/app/RumDashboard/VisitorBreakdownMap/EmbeddedMap.tsx @@ -13,7 +13,7 @@ import { MapEmbeddable, MapEmbeddableInput, } from '../../../../../../maps/public'; -import { MAP_SAVED_OBJECT_TYPE } from '../../../../../../maps/common/constants'; +import { MAP_SAVED_OBJECT_TYPE } from '../../../../../../maps/common'; import { useKibana } from '../../../../../../../../src/plugins/kibana_react/public'; import { ErrorEmbeddable, diff --git a/x-pack/plugins/apm/public/components/app/RumDashboard/VisitorBreakdownMap/__mocks__/regions_layer.mock.ts b/x-pack/plugins/apm/public/components/app/RumDashboard/VisitorBreakdownMap/__mocks__/regions_layer.mock.ts index abc676d17ccfa..94de1c088562a 100644 --- a/x-pack/plugins/apm/public/components/app/RumDashboard/VisitorBreakdownMap/__mocks__/regions_layer.mock.ts +++ b/x-pack/plugins/apm/public/components/app/RumDashboard/VisitorBreakdownMap/__mocks__/regions_layer.mock.ts @@ -11,6 +11,7 @@ export const mockLayerList = [ { leftField: 'iso2', right: { + applyForceRefresh: true, applyGlobalQuery: true, applyGlobalTime: true, type: 'ES_TERM_SOURCE', @@ -86,6 +87,7 @@ export const mockLayerList = [ { leftField: 'region_iso_code', right: { + applyForceRefresh: true, applyGlobalQuery: true, applyGlobalTime: true, type: 'ES_TERM_SOURCE', diff --git a/x-pack/plugins/apm/public/components/app/RumDashboard/VisitorBreakdownMap/useLayerList.ts b/x-pack/plugins/apm/public/components/app/RumDashboard/VisitorBreakdownMap/useLayerList.ts index c998964b86400..f1b5b67da21f1 100644 --- a/x-pack/plugins/apm/public/components/app/RumDashboard/VisitorBreakdownMap/useLayerList.ts +++ b/x-pack/plugins/apm/public/components/app/RumDashboard/VisitorBreakdownMap/useLayerList.ts @@ -11,8 +11,6 @@ import { LayerDescriptor as BaseLayerDescriptor, VectorLayerDescriptor as BaseVectorLayerDescriptor, VectorStyleDescriptor, -} from '../../../../../../maps/common/descriptor_types'; -import { AGG_TYPE, COLOR_MAP_TYPE, FIELD_ORIGIN, @@ -20,7 +18,7 @@ import { SOURCE_TYPES, STYLE_TYPE, SYMBOLIZE_AS_TYPES, -} from '../../../../../../maps/common/constants'; +} from '../../../../../../maps/common'; import { APM_STATIC_INDEX_PATTERN_ID } from '../../../../../common/index_pattern_constants'; import { useUrlParams } from '../../../../context/url_params_context/use_url_params'; @@ -45,6 +43,7 @@ const ES_TERM_SOURCE_COUNTRY: ESTermSourceDescriptor = { indexPatternId: APM_STATIC_INDEX_PATTERN_ID, applyGlobalQuery: true, applyGlobalTime: true, + applyForceRefresh: true, }; const ES_TERM_SOURCE_REGION: ESTermSourceDescriptor = { @@ -60,6 +59,7 @@ const ES_TERM_SOURCE_REGION: ESTermSourceDescriptor = { indexPatternId: APM_STATIC_INDEX_PATTERN_ID, applyGlobalQuery: true, applyGlobalTime: true, + applyForceRefresh: true, }; const getWhereQuery = (serviceName: string) => { diff --git a/x-pack/plugins/apm/public/components/app/Settings/agent_configurations/List/index.tsx b/x-pack/plugins/apm/public/components/app/Settings/agent_configurations/List/index.tsx index 140584a625b90..3ab5c25ed3dc9 100644 --- a/x-pack/plugins/apm/public/components/app/Settings/agent_configurations/List/index.tsx +++ b/x-pack/plugins/apm/public/components/app/Settings/agent_configurations/List/index.tsx @@ -12,6 +12,7 @@ import { EuiEmptyPrompt, EuiHealth, EuiToolTip, + RIGHT_ALIGNMENT, } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import { isEmpty } from 'lodash'; @@ -180,7 +181,7 @@ export function AgentConfigurationList({ render: (_, { service }) => getOptionLabel(service.environment), }, { - align: 'right', + align: RIGHT_ALIGNMENT, field: '@timestamp', name: i18n.translate( 'xpack.apm.agentConfig.configTable.lastUpdatedColumnLabel', diff --git a/x-pack/plugins/apm/public/components/app/Settings/anomaly_detection/jobs_list.tsx b/x-pack/plugins/apm/public/components/app/Settings/anomaly_detection/jobs_list.tsx index 81a0da9792830..7aafb27aa18f3 100644 --- a/x-pack/plugins/apm/public/components/app/Settings/anomaly_detection/jobs_list.tsx +++ b/x-pack/plugins/apm/public/components/app/Settings/anomaly_detection/jobs_list.tsx @@ -12,6 +12,7 @@ import { EuiSpacer, EuiText, EuiTitle, + RIGHT_ALIGNMENT, } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import { FormattedMessage } from '@kbn/i18n/react'; @@ -38,7 +39,7 @@ const columns: Array> = [ }, { field: 'job_id', - align: 'right', + align: RIGHT_ALIGNMENT, name: i18n.translate( 'xpack.apm.settings.anomalyDetection.jobList.actionColumnLabel', { defaultMessage: 'Action' } diff --git a/x-pack/plugins/apm/public/components/app/Settings/customize_ui/custom_link/custom_link_table.tsx b/x-pack/plugins/apm/public/components/app/Settings/customize_ui/custom_link/custom_link_table.tsx index 86a7a8742eaea..a5134058a349d 100644 --- a/x-pack/plugins/apm/public/components/app/Settings/customize_ui/custom_link/custom_link_table.tsx +++ b/x-pack/plugins/apm/public/components/app/Settings/customize_ui/custom_link/custom_link_table.tsx @@ -11,6 +11,7 @@ import { EuiFlexItem, EuiSpacer, EuiText, + RIGHT_ALIGNMENT, } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import { isEmpty } from 'lodash'; @@ -50,7 +51,7 @@ export function CustomLinkTable({ items = [], onCustomLinkSelected }: Props) { }, { width: '160px', - align: 'right', + align: RIGHT_ALIGNMENT, field: '@timestamp', name: i18n.translate( 'xpack.apm.settings.customizeUI.customLink.table.lastUpdated', diff --git a/x-pack/plugins/apm/public/components/app/TraceLink/index.tsx b/x-pack/plugins/apm/public/components/app/TraceLink/index.tsx index 36ebb239fd7dd..2733ee0ddbdba 100644 --- a/x-pack/plugins/apm/public/components/app/TraceLink/index.tsx +++ b/x-pack/plugins/apm/public/components/app/TraceLink/index.tsx @@ -23,7 +23,7 @@ export function TraceLink() { const { path: { traceId }, query: { rangeFrom, rangeTo }, - } = useApmParams('/link-to/trace/:traceId'); + } = useApmParams('/link-to/trace/{traceId}'); const { data = { transaction: null }, status } = useFetcher( (callApmApi) => { diff --git a/x-pack/plugins/apm/public/components/app/backend_detail_overview/backend_detail_dependencies_table.tsx b/x-pack/plugins/apm/public/components/app/backend_detail_overview/backend_detail_dependencies_table.tsx index 4812d17183c5f..f98358e3a9c27 100644 --- a/x-pack/plugins/apm/public/components/app/backend_detail_overview/backend_detail_dependencies_table.tsx +++ b/x-pack/plugins/apm/public/components/app/backend_detail_overview/backend_detail_dependencies_table.tsx @@ -24,7 +24,7 @@ export function BackendDetailDependenciesTable() { const { query: { rangeFrom, rangeTo, kuery, environment }, - } = useApmParams('/backends/:backendName/overview'); + } = useApmParams('/backends/{backendName}/overview'); const { start, end } = useTimeRange({ rangeFrom, rangeTo }); diff --git a/x-pack/plugins/apm/public/components/app/backend_detail_overview/backend_error_rate_chart.tsx b/x-pack/plugins/apm/public/components/app/backend_detail_overview/backend_error_rate_chart.tsx index 16ab5cefdc658..d48178a8522be 100644 --- a/x-pack/plugins/apm/public/components/app/backend_detail_overview/backend_error_rate_chart.tsx +++ b/x-pack/plugins/apm/public/components/app/backend_detail_overview/backend_error_rate_chart.tsx @@ -31,7 +31,7 @@ export function BackendFailedTransactionRateChart({ const { query: { kuery, environment, rangeFrom, rangeTo }, - } = useApmParams('/backends/:backendName/overview'); + } = useApmParams('/backends/{backendName}/overview'); const { start, end } = useTimeRange({ rangeFrom, rangeTo }); diff --git a/x-pack/plugins/apm/public/components/app/backend_detail_overview/backend_latency_chart.tsx b/x-pack/plugins/apm/public/components/app/backend_detail_overview/backend_latency_chart.tsx index 99f46e77b60f1..759d153988875 100644 --- a/x-pack/plugins/apm/public/components/app/backend_detail_overview/backend_latency_chart.tsx +++ b/x-pack/plugins/apm/public/components/app/backend_detail_overview/backend_latency_chart.tsx @@ -27,7 +27,7 @@ export function BackendLatencyChart({ height }: { height: number }) { const { query: { rangeFrom, rangeTo, kuery, environment }, - } = useApmParams('/backends/:backendName/overview'); + } = useApmParams('/backends/{backendName}/overview'); const { start, end } = useTimeRange({ rangeFrom, rangeTo }); diff --git a/x-pack/plugins/apm/public/components/app/backend_detail_overview/backend_throughput_chart.tsx b/x-pack/plugins/apm/public/components/app/backend_detail_overview/backend_throughput_chart.tsx index ba4bdafe94bdf..2cfc7ea317628 100644 --- a/x-pack/plugins/apm/public/components/app/backend_detail_overview/backend_throughput_chart.tsx +++ b/x-pack/plugins/apm/public/components/app/backend_detail_overview/backend_throughput_chart.tsx @@ -23,7 +23,7 @@ export function BackendThroughputChart({ height }: { height: number }) { const { query: { rangeFrom, rangeTo, kuery, environment }, - } = useApmParams('/backends/:backendName/overview'); + } = useApmParams('/backends/{backendName}/overview'); const { start, end } = useTimeRange({ rangeFrom, rangeTo }); diff --git a/x-pack/plugins/apm/public/components/app/backend_detail_overview/index.tsx b/x-pack/plugins/apm/public/components/app/backend_detail_overview/index.tsx index 2c9ec0a232974..16120a6f5b429 100644 --- a/x-pack/plugins/apm/public/components/app/backend_detail_overview/index.tsx +++ b/x-pack/plugins/apm/public/components/app/backend_detail_overview/index.tsx @@ -27,13 +27,13 @@ import { getKueryBarBoolFilter, kueryBarPlaceholder, } from '../../../../common/backends'; -import { useBreakPoints } from '../../../hooks/use_break_points'; +import { useBreakpoints } from '../../../hooks/use_breakpoints'; export function BackendDetailOverview() { const { path: { backendName }, query: { rangeFrom, rangeTo, environment, kuery }, - } = useApmParams('/backends/:backendName/overview'); + } = useApmParams('/backends/{backendName}/overview'); const apmRouter = useApmRouter(); @@ -46,7 +46,7 @@ export function BackendDetailOverview() { }, { title: backendName, - href: apmRouter.link('/backends/:backendName/overview', { + href: apmRouter.link('/backends/{backendName}/overview', { path: { backendName }, query: { rangeFrom, @@ -63,7 +63,7 @@ export function BackendDetailOverview() { backendName, }); - const largeScreenOrSmaller = useBreakPoints().isLarge; + const largeScreenOrSmaller = useBreakpoints().isLarge; return ( diff --git a/x-pack/plugins/apm/public/components/app/correlations/failed_transactions_correlations.tsx b/x-pack/plugins/apm/public/components/app/correlations/failed_transactions_correlations.tsx index fc1d9a3324b24..c32f4815160f9 100644 --- a/x-pack/plugins/apm/public/components/app/correlations/failed_transactions_correlations.tsx +++ b/x-pack/plugins/apm/public/components/app/correlations/failed_transactions_correlations.tsx @@ -20,6 +20,7 @@ import { EuiBetaBadge, EuiBadge, EuiToolTip, + RIGHT_ALIGNMENT, } from '@elastic/eui'; import type { EuiTableSortingType } from '@elastic/eui/src/components/basic_table/table_types'; import type { Direction } from '@elastic/eui/src/services/sort/sort_direction'; @@ -156,7 +157,6 @@ export function FailedTransactionsCorrelations({ : []; return [ { - width: '80px', field: 'normalizedScore', name: ( <> @@ -168,6 +168,7 @@ export function FailedTransactionsCorrelations({ )} ), + align: RIGHT_ALIGNMENT, render: (_, { normalizedScore }) => { return ( <> diff --git a/x-pack/plugins/apm/public/components/app/correlations/failed_transactions_correlations_help_popover.tsx b/x-pack/plugins/apm/public/components/app/correlations/failed_transactions_correlations_help_popover.tsx index e66101d619224..65f6f54ecf89e 100644 --- a/x-pack/plugins/apm/public/components/app/correlations/failed_transactions_correlations_help_popover.tsx +++ b/x-pack/plugins/apm/public/components/app/correlations/failed_transactions_correlations_help_popover.tsx @@ -5,6 +5,7 @@ * 2.0. */ +import { EuiCode } from '@elastic/eui'; import React, { useState } from 'react'; import { i18n } from '@kbn/i18n'; import { FormattedMessage } from '@kbn/i18n/react'; @@ -36,7 +37,11 @@ export function FailedTransactionsCorrelationsHelpPopover() {

event.outcome, + value: failure, + }} />

diff --git a/x-pack/plugins/apm/public/components/app/error_group_details/index.tsx b/x-pack/plugins/apm/public/components/app/error_group_details/index.tsx index 3929a055bd77b..9145e019c37ea 100644 --- a/x-pack/plugins/apm/public/components/app/error_group_details/index.tsx +++ b/x-pack/plugins/apm/public/components/app/error_group_details/index.tsx @@ -103,13 +103,13 @@ export function ErrorGroupDetails() { const { path: { groupId }, query: { rangeFrom, rangeTo, environment, kuery }, - } = useApmParams('/services/:serviceName/errors/:groupId'); + } = useApmParams('/services/{serviceName}/errors/{groupId}'); const { start, end } = useTimeRange({ rangeFrom, rangeTo }); useBreadcrumb({ title: groupId, - href: apmRouter.link('/services/:serviceName/errors/:groupId', { + href: apmRouter.link('/services/{serviceName}/errors/{groupId}', { path: { serviceName, groupId, diff --git a/x-pack/plugins/apm/public/components/app/error_group_overview/List/__snapshots__/List.test.tsx.snap b/x-pack/plugins/apm/public/components/app/error_group_overview/List/__snapshots__/List.test.tsx.snap index 8fc51bd05be31..890c692096a66 100644 --- a/x-pack/plugins/apm/public/components/app/error_group_overview/List/__snapshots__/List.test.tsx.snap +++ b/x-pack/plugins/apm/public/components/app/error_group_overview/List/__snapshots__/List.test.tsx.snap @@ -86,7 +86,6 @@ exports[`ErrorGroupOverview -> List should render empty state 1`] = ` @@ -383,7 +382,6 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = ` @@ -552,7 +550,6 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = ` @@ -627,7 +624,6 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = ` > @@ -644,7 +640,6 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = `
@@ -708,7 +703,6 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = ` > @@ -735,7 +729,6 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = ` @@ -810,7 +803,6 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = ` > @@ -827,7 +819,6 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = `
@@ -891,7 +882,6 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = ` > @@ -918,7 +908,6 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = ` @@ -993,7 +982,6 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = ` > @@ -1010,7 +998,6 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = `
@@ -1074,7 +1061,6 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = ` > @@ -1101,7 +1087,6 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = ` @@ -1176,7 +1161,6 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = ` > @@ -1193,7 +1177,6 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = `
@@ -1257,7 +1240,6 @@ exports[`ErrorGroupOverview -> List should render with data 1`] = ` > diff --git a/x-pack/plugins/apm/public/components/app/error_group_overview/List/index.tsx b/x-pack/plugins/apm/public/components/app/error_group_overview/List/index.tsx index 73eb9c72416af..81d1208e6cbf5 100644 --- a/x-pack/plugins/apm/public/components/app/error_group_overview/List/index.tsx +++ b/x-pack/plugins/apm/public/components/app/error_group_overview/List/index.tsx @@ -5,7 +5,12 @@ * 2.0. */ -import { EuiBadge, EuiIconTip, EuiToolTip } from '@elastic/eui'; +import { + EuiBadge, + EuiIconTip, + EuiToolTip, + RIGHT_ALIGNMENT, +} from '@elastic/eui'; import numeral from '@elastic/numeral'; import { i18n } from '@kbn/i18n'; import React, { useMemo } from 'react'; @@ -150,7 +155,7 @@ function ErrorGroupList({ items, serviceName }: Props) { name: '', field: 'handled', sortable: false, - align: 'right', + align: RIGHT_ALIGNMENT, render: (_, { handled }) => handled === false && ( @@ -181,7 +186,7 @@ function ErrorGroupList({ items, serviceName }: Props) { defaultMessage: 'Latest occurrence', } ), - align: 'right', + align: RIGHT_ALIGNMENT, render: (_, { latestOccurrenceAt }) => latestOccurrenceAt ? ( diff --git a/x-pack/plugins/apm/public/components/app/error_group_overview/index.tsx b/x-pack/plugins/apm/public/components/app/error_group_overview/index.tsx index 7fdedb8f7e7b9..97a3c38b65986 100644 --- a/x-pack/plugins/apm/public/components/app/error_group_overview/index.tsx +++ b/x-pack/plugins/apm/public/components/app/error_group_overview/index.tsx @@ -27,7 +27,7 @@ export function ErrorGroupOverview() { const { query: { environment, kuery, sortField, sortDirection, rangeFrom, rangeTo }, - } = useApmParams('/services/:serviceName/errors'); + } = useApmParams('/services/{serviceName}/errors'); const { start, end } = useTimeRange({ rangeFrom, rangeTo }); diff --git a/x-pack/plugins/apm/public/components/app/service_dependencies/service_dependencies_breakdown_chart.tsx b/x-pack/plugins/apm/public/components/app/service_dependencies/service_dependencies_breakdown_chart.tsx index 1ce6d54754719..426328a8ce9f0 100644 --- a/x-pack/plugins/apm/public/components/app/service_dependencies/service_dependencies_breakdown_chart.tsx +++ b/x-pack/plugins/apm/public/components/app/service_dependencies/service_dependencies_breakdown_chart.tsx @@ -22,7 +22,7 @@ export function ServiceDependenciesBreakdownChart({ const { query: { kuery, environment, rangeFrom, rangeTo }, - } = useApmParams('/services/:serviceName/dependencies'); + } = useApmParams('/services/{serviceName}/dependencies'); const { start, end } = useTimeRange({ rangeFrom, rangeTo }); diff --git a/x-pack/plugins/apm/public/components/app/service_inventory/index.tsx b/x-pack/plugins/apm/public/components/app/service_inventory/index.tsx index c822e32ea1fc6..2cdb808622854 100644 --- a/x-pack/plugins/apm/public/components/app/service_inventory/index.tsx +++ b/x-pack/plugins/apm/public/components/app/service_inventory/index.tsx @@ -42,7 +42,7 @@ function useServicesFetcher() { const { query: { rangeFrom, rangeTo, environment, kuery }, - } = useApmParams('/services/:serviceName', '/services'); + } = useApmParams('/services/{serviceName}', '/services'); const { start, end } = useTimeRange({ rangeFrom, rangeTo }); @@ -179,8 +179,6 @@ export function ServiceInventory() { canCreateJob && !userHasDismissedCallout; - const isLoading = mainStatisticsStatus === FETCH_STATUS.LOADING; - return ( <> @@ -192,17 +190,10 @@ export function ServiceInventory() { )} - ) - } + noItemsMessage={} /> diff --git a/x-pack/plugins/apm/public/components/app/service_inventory/no_services_message.test.tsx b/x-pack/plugins/apm/public/components/app/service_inventory/no_services_message.test.tsx index 3e07e18f95a02..3a3ddcc558679 100644 --- a/x-pack/plugins/apm/public/components/app/service_inventory/no_services_message.test.tsx +++ b/x-pack/plugins/apm/public/components/app/service_inventory/no_services_message.test.tsx @@ -22,13 +22,9 @@ describe('NoServicesMessage', () => { describe(`when historicalDataFound is ${historicalDataFound}`, () => { it('renders', () => { expect(() => - render( - , - { wrapper: Wrapper } - ) + render(, { + wrapper: Wrapper, + }) ).not.toThrowError(); }); }); diff --git a/x-pack/plugins/apm/public/components/app/service_inventory/no_services_message.tsx b/x-pack/plugins/apm/public/components/app/service_inventory/no_services_message.tsx index a2dc5feec44f8..872359262cf02 100644 --- a/x-pack/plugins/apm/public/components/app/service_inventory/no_services_message.tsx +++ b/x-pack/plugins/apm/public/components/app/service_inventory/no_services_message.tsx @@ -5,76 +5,35 @@ * 2.0. */ -import { EuiEmptyPrompt, EuiLink } from '@elastic/eui'; +import { EuiEmptyPrompt } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import React from 'react'; import { FETCH_STATUS } from '../../../hooks/use_fetcher'; import { ErrorStatePrompt } from '../../shared/ErrorStatePrompt'; -import { useUpgradeAssistantHref } from '../../shared/Links/kibana'; -import { SetupInstructionsLink } from '../../shared/Links/SetupInstructionsLink'; interface Props { - // any data submitted from APM agents found (not just in the given time range) - historicalDataFound: boolean; status: FETCH_STATUS | undefined; } -export function NoServicesMessage({ historicalDataFound, status }: Props) { - const upgradeAssistantHref = useUpgradeAssistantHref(); - - if (status === 'failure') { - return ; +export function NoServicesMessage({ status }: Props) { + if (status === FETCH_STATUS.LOADING) { + return null; } - if (historicalDataFound) { - return ( - - {i18n.translate('xpack.apm.servicesTable.notFoundLabel', { - defaultMessage: 'No services found', - })} -

- } - titleSize="s" - /> - ); + if (status === FETCH_STATUS.FAILURE) { + return ; } return ( - {i18n.translate('xpack.apm.servicesTable.noServicesLabel', { - defaultMessage: `Looks like you don't have any APM services installed. Let's add some!`, + {i18n.translate('xpack.apm.servicesTable.notFoundLabel', { + defaultMessage: 'No services found', })}
} titleSize="s" - body={ - -

- {i18n.translate('xpack.apm.servicesTable.7xUpgradeServerMessage', { - defaultMessage: `Upgrading from a pre-7.x version? Make sure you've also upgraded - your APM Server instance(s) to at least 7.0.`, - })} -

-

- {i18n.translate('xpack.apm.servicesTable.7xOldDataMessage', { - defaultMessage: - 'You may also have old data that needs to be migrated.', - })}{' '} - - {i18n.translate('xpack.apm.servicesTable.UpgradeAssistantLink', { - defaultMessage: - 'Learn more by visiting the Kibana Upgrade Assistant', - })} - - . -

-
- } - actions={} /> ); } diff --git a/x-pack/plugins/apm/public/components/app/service_inventory/service_inventory.test.tsx b/x-pack/plugins/apm/public/components/app/service_inventory/service_inventory.test.tsx index 8f2e921d4bd83..2ff3f2702cb53 100644 --- a/x-pack/plugins/apm/public/components/app/service_inventory/service_inventory.test.tsx +++ b/x-pack/plugins/apm/public/components/app/service_inventory/service_inventory.test.tsx @@ -134,28 +134,6 @@ describe('ServiceInventory', () => { expect(container.querySelectorAll('.euiTableRow')).toHaveLength(2); }); - it('should render getting started message, when list is empty and no historical data is found', async () => { - httpGet - .mockResolvedValueOnce({ fallbackToTransactions: false }) - .mockResolvedValueOnce({ - hasLegacyData: false, - hasHistoricalData: false, - items: [], - }); - - const { findByText } = render(, { wrapper }); - - // wait for requests to be made - await waitFor(() => expect(httpGet).toHaveBeenCalledTimes(2)); - - // wait for elements to be rendered - const gettingStartedMessage = await findByText( - "Looks like you don't have any APM services installed. Let's add some!" - ); - - expect(gettingStartedMessage).not.toBeEmptyDOMElement(); - }); - it('should render empty message, when list is empty and historical data is found', async () => { httpGet .mockResolvedValueOnce({ fallbackToTransactions: false }) diff --git a/x-pack/plugins/apm/public/components/app/service_inventory/service_list/index.tsx b/x-pack/plugins/apm/public/components/app/service_inventory/service_list/index.tsx index a3820622f8c9d..e085c5794f80a 100644 --- a/x-pack/plugins/apm/public/components/app/service_inventory/service_list/index.tsx +++ b/x-pack/plugins/apm/public/components/app/service_inventory/service_list/index.tsx @@ -11,16 +11,13 @@ import { EuiIcon, EuiText, EuiToolTip, + RIGHT_ALIGNMENT, } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import { TypeOf } from '@kbn/typed-react-router-config'; import { orderBy } from 'lodash'; import React, { useMemo } from 'react'; import { ValuesType } from 'utility-types'; -import { - BreakPoints, - useBreakPoints, -} from '../../../../hooks/use_break_points'; import { NOT_AVAILABLE_LABEL } from '../../../../../common/i18n'; import { ServiceHealthStatus } from '../../../../../common/service_health_status'; import { @@ -33,17 +30,18 @@ import { asTransactionRate, } from '../../../../../common/utils/formatters'; import { useApmParams } from '../../../../hooks/use_apm_params'; +import { Breakpoints, useBreakpoints } from '../../../../hooks/use_breakpoints'; +import { useFallbackToTransactionsFetcher } from '../../../../hooks/use_fallback_to_transactions_fetcher'; import { APIReturnType } from '../../../../services/rest/createCallApmApi'; import { unit } from '../../../../utils/style'; import { ApmRoutes } from '../../../routing/apm_route_config'; +import { AggregatedTransactionsBadge } from '../../../shared/aggregated_transactions_badge'; import { EnvironmentBadge } from '../../../shared/EnvironmentBadge'; +import { ListMetric } from '../../../shared/list_metric'; import { ITableColumn, ManagedTable } from '../../../shared/managed_table'; import { ServiceLink } from '../../../shared/service_link'; -import { HealthBadge } from './HealthBadge'; -import { ServiceListMetric } from './ServiceListMetric'; import { TruncateWithTooltip } from '../../../shared/truncate_with_tooltip'; -import { useFallbackToTransactionsFetcher } from '../../../../hooks/use_fallback_to_transactions_fetcher'; -import { AggregatedTransactionsBadge } from '../../../shared/aggregated_transactions_badge'; +import { HealthBadge } from './HealthBadge'; type ServiceListAPIResponse = APIReturnType<'GET /api/apm/services'>; type Items = ServiceListAPIResponse['items']; @@ -66,14 +64,14 @@ export function getServiceColumns({ query, showTransactionTypeColumn, comparisonData, - breakPoints, + breakpoints, }: { query: TypeOf['query']; showTransactionTypeColumn: boolean; - breakPoints: BreakPoints; + breakpoints: Breakpoints; comparisonData?: ServicesDetailedStatisticsAPIResponse; }): Array> { - const { isSmall, isLarge, isXl } = breakPoints; + const { isSmall, isLarge, isXl } = breakpoints; const showWhenSmallOrGreaterThanLarge = isSmall || !isLarge; const showWhenSmallOrGreaterThanXL = isSmall || !isXl; return [ @@ -97,7 +95,6 @@ export function getServiceColumns({ name: i18n.translate('xpack.apm.servicesTable.nameColumnLabel', { defaultMessage: 'Name', }), - width: '40%', sortable: true, render: (_, { serviceName, agentName, transactionType }) => ( ( - ), - align: 'left', - width: showWhenSmallOrGreaterThanLarge ? `${unit * 11}px` : 'auto', + align: RIGHT_ALIGNMENT, }, { field: 'throughput', @@ -173,7 +169,7 @@ export function getServiceColumns({ sortable: true, dataType: 'number', render: (_, { serviceName, throughput }) => ( - ), - align: 'left', - width: showWhenSmallOrGreaterThanLarge ? `${unit * 11}px` : 'auto', + align: RIGHT_ALIGNMENT, }, { field: 'transactionErrorRate', @@ -196,7 +191,7 @@ export function getServiceColumns({ render: (_, { serviceName, transactionErrorRate }) => { const valueLabel = asPercent(transactionErrorRate, 1); return ( - ); }, - align: 'left', - width: showWhenSmallOrGreaterThanLarge ? `${unit * 10}px` : 'auto', + align: RIGHT_ALIGNMENT, }, ]; } @@ -228,7 +222,7 @@ export function ServiceList({ comparisonData, isLoading, }: Props) { - const breakPoints = useBreakPoints(); + const breakpoints = useBreakpoints(); const displayHealthStatus = items.some((item) => 'healthStatus' in item); const showTransactionTypeColumn = items.some( @@ -250,9 +244,9 @@ export function ServiceList({ query, showTransactionTypeColumn, comparisonData, - breakPoints, + breakpoints, }), - [query, showTransactionTypeColumn, comparisonData, breakPoints] + [query, showTransactionTypeColumn, comparisonData, breakpoints] ); const columns = displayHealthStatus diff --git a/x-pack/plugins/apm/public/components/app/service_inventory/service_list/service_list.test.tsx b/x-pack/plugins/apm/public/components/app/service_inventory/service_list/service_list.test.tsx index 9859c629f973b..75aad2283de0b 100644 --- a/x-pack/plugins/apm/public/components/app/service_inventory/service_list/service_list.test.tsx +++ b/x-pack/plugins/apm/public/components/app/service_inventory/service_list/service_list.test.tsx @@ -7,7 +7,7 @@ import React, { ReactNode } from 'react'; import { MemoryRouter } from 'react-router-dom'; -import { BreakPoints } from '../../../../hooks/use_break_points'; +import { Breakpoints } from '../../../../hooks/use_breakpoints'; import { ServiceHealthStatus } from '../../../../../common/service_health_status'; import { MockApmPluginContextWrapper } from '../../../../context/apm_plugin/mock_apm_plugin_context'; import { mockMoment, renderWithTheme } from '../../../../utils/testHelpers'; @@ -90,11 +90,11 @@ describe('ServiceList', () => { const renderedColumns = getServiceColumns({ query, showTransactionTypeColumn: true, - breakPoints: { + breakpoints: { isSmall: true, isLarge: true, isXl: true, - } as BreakPoints, + } as Breakpoints, }).map((c) => c.render ? c.render!(service[c.field!], service) : service[c.field!] ); @@ -110,7 +110,7 @@ describe('ServiceList', () => { `); expect(renderedColumns[3]).toMatchInlineSnapshot(`"request"`); expect(renderedColumns[4]).toMatchInlineSnapshot(` - { const renderedColumns = getServiceColumns({ query, showTransactionTypeColumn: true, - breakPoints: { + breakpoints: { isSmall: false, isLarge: true, isXl: true, - } as BreakPoints, + } as Breakpoints, }).map((c) => c.render ? c.render!(service[c.field!], service) : service[c.field!] ); expect(renderedColumns.length).toEqual(5); expect(renderedColumns[2]).toMatchInlineSnapshot(` - { const renderedColumns = getServiceColumns({ query, showTransactionTypeColumn: true, - breakPoints: { + breakpoints: { isSmall: false, isLarge: false, isXl: true, - } as BreakPoints, + } as Breakpoints, }).map((c) => c.render ? c.render!(service[c.field!], service) : service[c.field!] ); @@ -166,7 +166,7 @@ describe('ServiceList', () => { /> `); expect(renderedColumns[3]).toMatchInlineSnapshot(` - { const renderedColumns = getServiceColumns({ query, showTransactionTypeColumn: true, - breakPoints: { + breakpoints: { isSmall: false, isLarge: false, isXl: false, - } as BreakPoints, + } as Breakpoints, }).map((c) => c.render ? c.render!(service[c.field!], service) : service[c.field!] ); expect(renderedColumns.length).toEqual(7); expect(renderedColumns[2]).toMatchInlineSnapshot(` - - `); + + `); expect(renderedColumns[3]).toMatchInlineSnapshot(`"request"`); expect(renderedColumns[4]).toMatchInlineSnapshot(` - - `); + + `); }); }); }); diff --git a/x-pack/plugins/apm/public/components/app/service_logs/index.tsx b/x-pack/plugins/apm/public/components/app/service_logs/index.tsx index ac4a4fb51ce8a..79818473d26b1 100644 --- a/x-pack/plugins/apm/public/components/app/service_logs/index.tsx +++ b/x-pack/plugins/apm/public/components/app/service_logs/index.tsx @@ -27,7 +27,7 @@ export function ServiceLogs() { const { query: { environment, kuery, rangeFrom, rangeTo }, - } = useApmParams('/services/:serviceName/logs'); + } = useApmParams('/services/{serviceName}/logs'); const { start, end } = useTimeRange({ rangeFrom, rangeTo }); diff --git a/x-pack/plugins/apm/public/components/app/service_map/Controls.tsx b/x-pack/plugins/apm/public/components/app/service_map/Controls.tsx index f46b1232b00fd..dd34110a8ffc6 100644 --- a/x-pack/plugins/apm/public/components/app/service_map/Controls.tsx +++ b/x-pack/plugins/apm/public/components/app/service_map/Controls.tsx @@ -107,7 +107,7 @@ export function Controls() { const { query: { kuery }, - } = useApmParams('/service-map', '/services/:serviceName/service-map'); + } = useApmParams('/service-map', '/services/{serviceName}/service-map'); const [zoom, setZoom] = useState((cy && cy.zoom()) || 1); const duration = parseInt(theme.eui.euiAnimSpeedFast, 10); diff --git a/x-pack/plugins/apm/public/components/app/service_map/Popover/backend_contents.tsx b/x-pack/plugins/apm/public/components/app/service_map/Popover/backend_contents.tsx index 9bc30ee67d2c7..c01cf4579fdbd 100644 --- a/x-pack/plugins/apm/public/components/app/service_map/Popover/backend_contents.tsx +++ b/x-pack/plugins/apm/public/components/app/service_map/Popover/backend_contents.tsx @@ -27,7 +27,7 @@ export function BackendContents({ }: ContentsProps) { const { query } = useApmParams( '/service-map', - '/services/:serviceName/service-map' + '/services/{serviceName}/service-map' ); const apmRouter = useApmRouter(); @@ -57,11 +57,11 @@ export function BackendContents({ ); const isLoading = status === FETCH_STATUS.LOADING; - const detailsUrl = apmRouter.link('/backends/:backendName/overview', { + const detailsUrl = apmRouter.link('/backends/{backendName}/overview', { path: { backendName }, query: query as TypeOf< ApmRoutes, - '/backends/:backendName/overview' + '/backends/{backendName}/overview' >['query'], }); diff --git a/x-pack/plugins/apm/public/components/app/service_map/Popover/service_contents.tsx b/x-pack/plugins/apm/public/components/app/service_map/Popover/service_contents.tsx index eb13a854925c4..5eef580793d10 100644 --- a/x-pack/plugins/apm/public/components/app/service_map/Popover/service_contents.tsx +++ b/x-pack/plugins/apm/public/components/app/service_map/Popover/service_contents.tsx @@ -63,12 +63,12 @@ export function ServiceContents({ const isLoading = status === FETCH_STATUS.LOADING; - const detailsUrl = apmRouter.link('/services/:serviceName', { + const detailsUrl = apmRouter.link('/services/{serviceName}', { path: { serviceName }, query: { rangeFrom, rangeTo, environment, kuery }, }); - const focusUrl = apmRouter.link('/services/:serviceName/service-map', { + const focusUrl = apmRouter.link('/services/{serviceName}/service-map', { path: { serviceName }, query: { rangeFrom, rangeTo, environment, kuery }, }); diff --git a/x-pack/plugins/apm/public/components/app/service_map/index.tsx b/x-pack/plugins/apm/public/components/app/service_map/index.tsx index c3a6dca165131..97b4f548f4bf9 100644 --- a/x-pack/plugins/apm/public/components/app/service_map/index.tsx +++ b/x-pack/plugins/apm/public/components/app/service_map/index.tsx @@ -83,7 +83,7 @@ export function ServiceMapHome() { export function ServiceMapServiceDetail() { const { query: { environment, kuery, rangeFrom, rangeTo }, - } = useApmParams('/services/:serviceName/service-map'); + } = useApmParams('/services/{serviceName}/service-map'); const { start, end } = useTimeRange({ rangeFrom, rangeTo }); return ( @@ -105,7 +111,7 @@ export function ServiceOverview() { > @@ -116,6 +122,7 @@ export function ServiceOverview() { kuery={kuery} environment={environment} fixedHeight={true} + isSingleColumn={isSingleColumn} start={start} end={end} /> @@ -132,7 +139,7 @@ export function ServiceOverview() { {!isRumAgent && ( {i18n.translate( @@ -186,7 +194,7 @@ export function ServiceOverview() { responsive={false} > diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_dependencies_table/index.tsx b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_dependencies_table/index.tsx index 08f29d7727cda..b035d626c371a 100644 --- a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_dependencies_table/index.tsx +++ b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_dependencies_table/index.tsx @@ -22,11 +22,13 @@ import { getTimeRangeComparison } from '../../../shared/time_comparison/get_time interface ServiceOverviewDependenciesTableProps { fixedHeight?: boolean; + isSingleColumn?: boolean; link?: ReactNode; } export function ServiceOverviewDependenciesTable({ fixedHeight, + isSingleColumn = true, link, }: ServiceOverviewDependenciesTableProps) { const { @@ -35,7 +37,7 @@ export function ServiceOverviewDependenciesTable({ const { query: { environment, kuery, rangeFrom, rangeTo }, - } = useApmParams('/services/:serviceName/*'); + } = useApmParams('/services/{serviceName}/*'); const { start, end } = useTimeRange({ rangeFrom, rangeTo }); @@ -122,6 +124,7 @@ export function ServiceOverviewDependenciesTable({ { - return ; + return ( + + + + ); }, - width: `${unit * 9}px`, - align: 'right', }, { field: 'occurrences', @@ -72,7 +74,7 @@ export function getColumns({ defaultMessage: 'Occurrences', } ), - width: `${unit * 12}px`, + align: RIGHT_ALIGNMENT, render: (_, { occurrences, group_id: errorGroupId }) => { const currentPeriodTimeseries = errorGroupDetailedStatistics?.currentPeriod?.[errorGroupId] diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_errors_table/index.tsx b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_errors_table/index.tsx index cae9cbae69794..3b6a6ec223933 100644 --- a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_errors_table/index.tsx +++ b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_errors_table/index.tsx @@ -23,7 +23,7 @@ import { ErrorOverviewLink } from '../../../shared/Links/apm/ErrorOverviewLink'; import { TableFetchWrapper } from '../../../shared/table_fetch_wrapper'; import { getTimeRangeComparison } from '../../../shared/time_comparison/get_time_range_comparison'; import { OverviewTableContainer } from '../../../shared/overview_table_container'; -import { getColumns } from './get_column'; +import { getColumns } from './get_columns'; import { useApmParams } from '../../../../hooks/use_apm_params'; import { useTimeRange } from '../../../../hooks/use_time_range'; @@ -75,7 +75,7 @@ export function ServiceOverviewErrorsTable({ serviceName }: Props) { const { query: { environment, kuery, rangeFrom, rangeTo }, - } = useApmParams('/services/:serviceName/overview'); + } = useApmParams('/services/{serviceName}/overview'); const { start, end } = useTimeRange({ rangeFrom, rangeTo }); diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_chart_and_table.tsx b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_chart_and_table.tsx index e1258a7850d5e..87a4d4b7b87fb 100644 --- a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_chart_and_table.tsx +++ b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_chart_and_table.tsx @@ -72,7 +72,7 @@ export function ServiceOverviewInstancesChartAndTable({ const { query: { environment, kuery, rangeFrom, rangeTo }, - } = useApmParams('/services/:serviceName/overview'); + } = useApmParams('/services/{serviceName}/overview'); const { urlParams: { latencyAggregationType, comparisonType, comparisonEnabled }, diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/get_columns.tsx b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/get_columns.tsx index 07081069039cf..97a92cb9e0576 100644 --- a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/get_columns.tsx +++ b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/get_columns.tsx @@ -25,12 +25,11 @@ import { asTransactionRate, } from '../../../../../common/utils/formatters'; import { APIReturnType } from '../../../../services/rest/createCallApmApi'; -import { unit } from '../../../../utils/style'; -import { SparkPlot } from '../../../shared/charts/spark_plot'; import { MetricOverviewLink } from '../../../shared/Links/apm/MetricOverviewLink'; import { ServiceNodeMetricOverviewLink } from '../../../shared/Links/apm/ServiceNodeMetricOverviewLink'; -import { TruncateWithTooltip } from '../../../shared/truncate_with_tooltip'; +import { ListMetric } from '../../../shared/list_metric'; import { getLatencyColumnLabel } from '../../../shared/transactions_table/get_latency_column_label'; +import { TruncateWithTooltip } from '../../../shared/truncate_with_tooltip'; import { InstanceActionsMenu } from './instance_actions_menu'; type ServiceInstanceMainStatistics = APIReturnType<'GET /api/apm/services/{serviceName}/service_overview_instances/main_statistics'>; @@ -48,6 +47,7 @@ export function getColumns({ itemIdToExpandedRowMap, toggleRowActionMenu, itemIdToOpenActionMenuRowMap, + shouldShowSparkPlots = true, }: { serviceName: string; kuery: string; @@ -59,6 +59,7 @@ export function getColumns({ itemIdToExpandedRowMap: Record; toggleRowActionMenu: (selectedServiceNodeName: string) => void; itemIdToOpenActionMenuRowMap: Record; + shouldShowSparkPlots?: boolean; }): Array> { return [ { @@ -101,16 +102,17 @@ export function getColumns({ { field: 'latency', name: getLatencyColumnLabel(latencyAggregationType), - width: `${unit * 11}px`, + align: RIGHT_ALIGNMENT, render: (_, { serviceNodeName, latency }) => { const currentPeriodTimestamp = detailedStatsData?.currentPeriod?.[serviceNodeName]?.latency; const previousPeriodTimestamp = detailedStatsData?.previousPeriod?.[serviceNodeName]?.latency; return ( - { const currentPeriodTimestamp = detailedStatsData?.currentPeriod?.[serviceNodeName]?.throughput; const previousPeriodTimestamp = detailedStatsData?.previousPeriod?.[serviceNodeName]?.throughput; return ( - { const currentPeriodTimestamp = detailedStatsData?.currentPeriod?.[serviceNodeName]?.errorRate; const previousPeriodTimestamp = detailedStatsData?.previousPeriod?.[serviceNodeName]?.errorRate; return ( - { const currentPeriodTimestamp = detailedStatsData?.currentPeriod?.[serviceNodeName]?.cpuUsage; const previousPeriodTimestamp = detailedStatsData?.previousPeriod?.[serviceNodeName]?.cpuUsage; return ( - { const currentPeriodTimestamp = detailedStatsData?.currentPeriod?.[serviceNodeName]?.memoryUsage; const previousPeriodTimestamp = detailedStatsData?.previousPeriod?.[serviceNodeName]?.memoryUsage; return ( - ; type MainStatsServiceInstanceItem = ServiceInstanceMainStatistics['currentPeriod'][0]; @@ -69,7 +70,7 @@ export function ServiceOverviewInstancesTable({ const { query: { kuery }, - } = useApmParams('/services/:serviceName'); + } = useApmParams('/services/{serviceName}'); const { urlParams: { latencyAggregationType, comparisonEnabled }, @@ -118,6 +119,10 @@ export function ServiceOverviewInstancesTable({ setItemIdToExpandedRowMap(expandedRowMapValues); }; + // Hide the spark plots if we're below 1600 px + const { isXl } = useBreakpoints(); + const shouldShowSparkPlots = !isXl; + const columns = getColumns({ agentName, serviceName, @@ -129,6 +134,7 @@ export function ServiceOverviewInstancesTable({ itemIdToExpandedRowMap, toggleRowActionMenu, itemIdToOpenActionMenuRowMap, + shouldShowSparkPlots, }); const pagination = { diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/use_instance_details_fetcher.tsx b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/use_instance_details_fetcher.tsx index f47c6fe9879a2..c1018d6d742fa 100644 --- a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/use_instance_details_fetcher.tsx +++ b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_instances_table/use_instance_details_fetcher.tsx @@ -17,7 +17,7 @@ export function useInstanceDetailsFetcher({ }) { const { query: { rangeFrom, rangeTo }, - } = useApmParams('/services/:serviceName/overview'); + } = useApmParams('/services/{serviceName}/overview'); const { start, end } = useTimeRange({ rangeFrom, rangeTo }); diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_throughput_chart.tsx b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_throughput_chart.tsx index 6751e76cfa335..c3d17b9f18a98 100644 --- a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_throughput_chart.tsx +++ b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_throughput_chart.tsx @@ -52,7 +52,7 @@ export function ServiceOverviewThroughputChart({ const { query: { rangeFrom, rangeTo }, - } = useApmParams('/services/:serviceName'); + } = useApmParams('/services/{serviceName}'); const { start, end } = useTimeRange({ rangeFrom, rangeTo }); diff --git a/x-pack/plugins/apm/public/components/app/service_profiling/index.tsx b/x-pack/plugins/apm/public/components/app/service_profiling/index.tsx index 5f020b19f671a..4149b426e0388 100644 --- a/x-pack/plugins/apm/public/components/app/service_profiling/index.tsx +++ b/x-pack/plugins/apm/public/components/app/service_profiling/index.tsx @@ -26,7 +26,7 @@ export function ServiceProfiling() { const { query: { environment, kuery, rangeFrom, rangeTo }, - } = useApmParams('/services/:serviceName/profiling'); + } = useApmParams('/services/{serviceName}/profiling'); const { start, end } = useTimeRange({ rangeFrom, rangeTo }); diff --git a/x-pack/plugins/apm/public/components/app/trace_overview/trace_list.tsx b/x-pack/plugins/apm/public/components/app/trace_overview/trace_list.tsx index 341661a108565..765a4b1aeae8c 100644 --- a/x-pack/plugins/apm/public/components/app/trace_overview/trace_list.tsx +++ b/x-pack/plugins/apm/public/components/app/trace_overview/trace_list.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import { EuiIcon, EuiToolTip } from '@elastic/eui'; +import { EuiIcon, EuiToolTip, RIGHT_ALIGNMENT } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import React from 'react'; import { euiStyled } from '../../../../../../../src/plugins/kibana_react/common'; @@ -14,7 +14,7 @@ import { asTransactionRate, } from '../../../../common/utils/formatters'; import { APIReturnType } from '../../../services/rest/createCallApmApi'; -import { truncate, unit } from '../../../utils/style'; +import { truncate } from '../../../utils/style'; import { EmptyMessage } from '../../shared/EmptyMessage'; import { ImpactBar } from '../../shared/ImpactBar'; import { TransactionDetailLink } from '../../shared/Links/apm/transaction_detail_link'; @@ -110,8 +110,7 @@ const traceListColumns: Array> = [ ), - width: `${unit * 6}px`, - align: 'left', + align: RIGHT_ALIGNMENT, sortable: true, render: (_, { impact }) => , }, diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/distribution/index.tsx b/x-pack/plugins/apm/public/components/app/transaction_details/distribution/index.tsx index acd8c5f4d57d3..daebcdd8078cd 100644 --- a/x-pack/plugins/apm/public/components/app/transaction_details/distribution/index.tsx +++ b/x-pack/plugins/apm/public/components/app/transaction_details/distribution/index.tsx @@ -73,11 +73,7 @@ export function TransactionDistribution({ const { urlParams } = useUrlParams(); - const { - waterfall, - exceedsMax, - status: waterfallStatus, - } = useWaterfallFetcher(); + const { waterfall, status: waterfallStatus } = useWaterfallFetcher(); const markerCurrentTransaction = waterfall.entryWaterfallTransaction?.doc.transaction.duration.us; @@ -215,7 +211,6 @@ export function TransactionDistribution({ urlParams={urlParams} waterfall={waterfall} isLoading={waterfallStatus === FETCH_STATUS.LOADING} - exceedsMax={exceedsMax} traceSamples={traceSamples} /> diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/index.tsx b/x-pack/plugins/apm/public/components/app/transaction_details/index.tsx index ab59b60333e38..96c7f104de404 100644 --- a/x-pack/plugins/apm/public/components/app/transaction_details/index.tsx +++ b/x-pack/plugins/apm/public/components/app/transaction_details/index.tsx @@ -22,7 +22,7 @@ import { TransactionDetailsTabs } from './transaction_details_tabs'; export function TransactionDetails() { const { path, query } = useApmParams( - '/services/:serviceName/transactions/view' + '/services/{serviceName}/transactions/view' ); const { transactionName, @@ -43,7 +43,7 @@ export function TransactionDetails() { useBreadcrumb({ title: transactionName, - href: apmRouter.link('/services/:serviceName/transactions/view', { + href: apmRouter.link('/services/{serviceName}/transactions/view', { path, query, }), diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/transaction_details_tabs.tsx b/x-pack/plugins/apm/public/components/app/transaction_details/transaction_details_tabs.tsx index 160d41bfa9bde..b249161980586 100644 --- a/x-pack/plugins/apm/public/components/app/transaction_details/transaction_details_tabs.tsx +++ b/x-pack/plugins/apm/public/components/app/transaction_details/transaction_details_tabs.tsx @@ -32,7 +32,7 @@ const tabs = [ ]; export function TransactionDetailsTabs() { - const { query } = useApmParams('/services/:serviceName/transactions/view'); + const { query } = useApmParams('/services/{serviceName}/transactions/view'); const { urlParams } = useUrlParams(); const history = useHistory(); diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/use_waterfall_fetcher.ts b/x-pack/plugins/apm/public/components/app/transaction_details/use_waterfall_fetcher.ts index 6bde8edcc250a..1506580d7b9e3 100644 --- a/x-pack/plugins/apm/public/components/app/transaction_details/use_waterfall_fetcher.ts +++ b/x-pack/plugins/apm/public/components/app/transaction_details/use_waterfall_fetcher.ts @@ -13,9 +13,9 @@ import { useTimeRange } from '../../../hooks/use_time_range'; import { getWaterfall } from './waterfall_with_summary/waterfall_container/Waterfall/waterfall_helpers/waterfall_helpers'; const INITIAL_DATA = { - root: undefined, - trace: { items: [], exceedsMax: false, errorDocs: [] }, - errorsPerTransaction: {}, + errorDocs: [], + traceDocs: [], + exceedsMax: false, }; export function useWaterfallFetcher() { @@ -24,7 +24,7 @@ export function useWaterfallFetcher() { const { query: { rangeFrom, rangeTo }, - } = useApmParams('/services/:serviceName/transactions/view'); + } = useApmParams('/services/{serviceName}/transactions/view'); const { start, end } = useTimeRange({ rangeFrom, rangeTo }); @@ -51,5 +51,5 @@ export function useWaterfallFetcher() { transactionId, ]); - return { waterfall, status, error, exceedsMax: data.trace.exceedsMax }; + return { waterfall, status, error }; } diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/ErrorCount.test.tsx b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/ErrorCount.test.tsx deleted file mode 100644 index b8476200abfe3..0000000000000 --- a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/ErrorCount.test.tsx +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { fireEvent, render } from '@testing-library/react'; -import React from 'react'; -import { expectTextsInDocument } from '../../../../utils/testHelpers'; -import { ErrorCount } from './ErrorCount'; - -describe('ErrorCount', () => { - it('shows singular error message', () => { - const component = render(); - expectTextsInDocument(component, ['1 Error']); - }); - it('shows plural error message', () => { - const component = render(); - expectTextsInDocument(component, ['2 Errors']); - }); - it('prevents click propagation', () => { - const mock = jest.fn(); - const { getByText } = render( - - ); - fireEvent( - getByText('1 Error'), - new MouseEvent('click', { - bubbles: true, - cancelable: true, - }) - ); - expect(mock).not.toHaveBeenCalled(); - }); -}); diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/ErrorCount.tsx b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/ErrorCount.tsx deleted file mode 100644 index c66cff89eb0c1..0000000000000 --- a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/ErrorCount.tsx +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { EuiText, EuiTextColor } from '@elastic/eui'; -import { i18n } from '@kbn/i18n'; -import React from 'react'; - -interface Props { - count: number; -} - -export function ErrorCount({ count }: Props) { - return ( - -

- { - e.stopPropagation(); - }} - > - {i18n.translate('xpack.apm.transactionDetails.errorCount', { - defaultMessage: - '{errorCount, number} {errorCount, plural, one {Error} other {Errors}}', - values: { errorCount: count }, - })} - -

-
- ); -} diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/TransactionTabs.tsx b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/TransactionTabs.tsx index d402a2b19b5a9..0e01c44b3fb5a 100644 --- a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/TransactionTabs.tsx +++ b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/TransactionTabs.tsx @@ -21,15 +21,9 @@ interface Props { transaction: Transaction; urlParams: ApmUrlParams; waterfall: IWaterfall; - exceedsMax: boolean; } -export function TransactionTabs({ - transaction, - urlParams, - waterfall, - exceedsMax, -}: Props) { +export function TransactionTabs({ transaction, urlParams, waterfall }: Props) { const history = useHistory(); const tabs = [timelineTab, metadataTab, logsTab]; const currentTab = @@ -65,7 +59,6 @@ export function TransactionTabs({ @@ -99,19 +92,11 @@ const logsTab = { function TimelineTabContent({ urlParams, waterfall, - exceedsMax, }: { urlParams: ApmUrlParams; waterfall: IWaterfall; - exceedsMax: boolean; }) { - return ( - - ); + return ; } function MetadataTabContent({ transaction }: { transaction: Transaction }) { diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/index.tsx b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/index.tsx index b7feb917d2184..93ee75d852e5d 100644 --- a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/index.tsx +++ b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/index.tsx @@ -30,7 +30,6 @@ import { useApmParams } from '../../../../hooks/use_apm_params'; interface Props { urlParams: ApmUrlParams; waterfall: IWaterfall; - exceedsMax: boolean; isLoading: boolean; traceSamples: TraceSample[]; } @@ -38,7 +37,6 @@ interface Props { export function WaterfallWithSummary({ urlParams, waterfall, - exceedsMax, isLoading, traceSamples, }: Props) { @@ -47,7 +45,7 @@ export function WaterfallWithSummary({ const { query: { environment }, - } = useApmParams('/services/:serviceName/transactions/view'); + } = useApmParams('/services/{serviceName}/transactions/view'); useEffect(() => { setSampleActivePage(0); @@ -125,7 +123,7 @@ export function WaterfallWithSummary({ @@ -135,7 +133,6 @@ export function WaterfallWithSummary({ transaction={entryTransaction} urlParams={urlParams} waterfall={waterfall} - exceedsMax={exceedsMax} /> ); diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/FlyoutTopLevelProperties.tsx b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/FlyoutTopLevelProperties.tsx index 6bbcfcf545ee1..8954081f9ab47 100644 --- a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/FlyoutTopLevelProperties.tsx +++ b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/FlyoutTopLevelProperties.tsx @@ -27,7 +27,7 @@ export function FlyoutTopLevelProperties({ transaction }: Props) { const { urlParams: { latencyAggregationType }, } = useUrlParams(); - const { query } = useApmParams('/services/:serviceName/transactions/view'); + const { query } = useApmParams('/services/{serviceName}/transactions/view'); if (!transaction) { return null; diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/accordion_waterfall.tsx b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/accordion_waterfall.tsx index 1935d373caf79..e4a851b890a7c 100644 --- a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/accordion_waterfall.tsx +++ b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/accordion_waterfall.tsx @@ -22,8 +22,7 @@ interface AccordionWaterfallProps { level: number; duration: IWaterfall['duration']; waterfallItemId?: string; - errorsPerTransaction: IWaterfall['errorsPerTransaction']; - childrenByParentId: Record; + waterfall: IWaterfall; onToggleEntryTransaction?: () => void; timelineMargins: Margins; onClickWaterfallItem: (item: IWaterfallSpanOrTransaction) => void; @@ -96,9 +95,8 @@ export function AccordionWaterfall(props: AccordionWaterfallProps) { item, level, duration, - childrenByParentId, + waterfall, waterfallItemId, - errorsPerTransaction, timelineMargins, onClickWaterfallItem, onToggleEntryTransaction, @@ -106,12 +104,8 @@ export function AccordionWaterfall(props: AccordionWaterfallProps) { const nextLevel = level + 1; - const errorCount = - item.docType === 'transaction' - ? errorsPerTransaction[item.doc.transaction.id] - : 0; - - const children = childrenByParentId[item.id] || []; + const children = waterfall.childrenByParentId[item.id] || []; + const errorCount = waterfall.getErrorCount(item.id); // To indent the items creating the parent/child tree const marginLeftLevel = 8 * level; @@ -121,7 +115,7 @@ export function AccordionWaterfall(props: AccordionWaterfallProps) { buttonClassName={`button_${item.id}`} key={item.id} id={item.id} - hasError={errorCount > 0} + hasError={item.doc.event?.outcome === 'failure'} marginLeftLevel={marginLeftLevel} childrenCount={children.length} buttonContent={ @@ -152,16 +146,11 @@ export function AccordionWaterfall(props: AccordionWaterfallProps) { > {children.map((child) => ( ))} diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/failure_badge.tsx b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/failure_badge.tsx new file mode 100644 index 0000000000000..0aaf4b4a10a68 --- /dev/null +++ b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/failure_badge.tsx @@ -0,0 +1,37 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { EuiBadge, EuiToolTip } from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; +import { useTheme } from '../../../../../../hooks/use_theme'; + +import { euiStyled } from '../../../../../../../../../../src/plugins/kibana_react/common'; + +const ResetLineHeight = euiStyled.span` + line-height: initial; +`; + +export function FailureBadge({ outcome }: { outcome?: 'success' | 'failure' }) { + const theme = useTheme(); + + if (outcome !== 'failure') { + return null; + } + + return ( + + + failure + + + ); +} diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/index.tsx b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/index.tsx index d31af783e08c2..3932a02c9d974 100644 --- a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/index.tsx +++ b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/index.tsx @@ -21,7 +21,6 @@ import { WaterfallFlyout } from './waterfall_flyout'; import { IWaterfall, IWaterfallItem, - IWaterfallSpanOrTransaction, } from './waterfall_helpers/waterfall_helpers'; const Container = euiStyled.div` @@ -61,9 +60,8 @@ const WaterfallItemsContainer = euiStyled.div` interface Props { waterfallItemId?: string; waterfall: IWaterfall; - exceedsMax: boolean; } -export function Waterfall({ waterfall, exceedsMax, waterfallItemId }: Props) { +export function Waterfall({ waterfall, waterfallItemId }: Props) { const history = useHistory(); const [isAccordionOpen, setIsAccordionOpen] = useState(true); const itemContainerHeight = 58; // TODO: This is a nasty way to calculate the height of the svg element. A better approach should be found @@ -74,37 +72,10 @@ export function Waterfall({ waterfall, exceedsMax, waterfallItemId }: Props) { const agentMarks = getAgentMarks(waterfall.entryWaterfallTransaction?.doc); const errorMarks = getErrorMarks(waterfall.errorItems); - function renderItems( - childrenByParentId: Record - ) { - const { entryWaterfallTransaction } = waterfall; - if (!entryWaterfallTransaction) { - return null; - } - return ( - - toggleFlyout({ history, item }) - } - onToggleEntryTransaction={() => setIsAccordionOpen((isOpen) => !isOpen)} - /> - ); - } - return ( - {exceedsMax && ( + {waterfall.apiResponse.exceedsMax && (
- {renderItems(waterfall.childrenByParentId)} + {!waterfall.entryWaterfallTransaction ? null : ( + + toggleFlyout({ history, item }) + } + onToggleEntryTransaction={() => + setIsAccordionOpen((isOpen) => !isOpen) + } + /> + )} diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/span_flyout/index.tsx b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/span_flyout/index.tsx index 50fc56dff7f85..4921dfe0606c3 100644 --- a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/span_flyout/index.tsx +++ b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/span_flyout/index.tsx @@ -35,8 +35,9 @@ import { HttpInfoSummaryItem } from '../../../../../../shared/Summary/http_info_ import { TimestampTooltip } from '../../../../../../shared/TimestampTooltip'; import { ResponsiveFlyout } from '../ResponsiveFlyout'; import { SyncBadge } from '../sync_badge'; -import { DatabaseContext } from './database_context'; +import { SpanDatabase } from './span_db'; import { StickySpanProperties } from './sticky_span_properties'; +import { FailureBadge } from '../failure_badge'; function formatType(type: string) { switch (type) { @@ -73,13 +74,11 @@ function getSpanTypes(span: Span) { }; } -const SpanBadge = euiStyled(EuiBadge)` - display: inline-block; - margin-right: ${({ theme }) => theme.eui.euiSizeXS}; -`; - -const HttpInfoContainer = euiStyled('div')` - margin-right: ${({ theme }) => theme.eui.euiSizeXS}; +const ContainerWithMarginRight = euiStyled.div` + /* add margin to all direct descendants */ + & > * { + margin-right: ${({ theme }) => theme.eui.euiSizeXS}; + } `; interface Props { @@ -101,7 +100,7 @@ export function SpanFlyout({ const stackframes = span.span.stacktrace; const codeLanguage = parentTransaction?.service.language?.name; - const dbContext = span.span.db; + const spanDb = span.span.db; const httpContext = span.span.http; const spanTypes = getSpanTypes(span); const spanHttpStatusCode = httpContext?.response?.status_code; @@ -173,15 +172,13 @@ export function SpanFlyout({ /> )} , - <> + {spanHttpUrl && ( - - - + )} - {spanTypes.spanType} + {spanTypes.spanType} {spanTypes.spanSubtype && ( - - {spanTypes.spanSubtype} - + {spanTypes.spanSubtype} )} {spanTypes.spanAction && ( @@ -210,15 +205,18 @@ export function SpanFlyout({ { defaultMessage: 'Action' } )} > - {spanTypes.spanAction} + {spanTypes.spanAction}
)} + + + - , + , ]} /> - + ['db']; + spanDb?: NonNullable['db']; } -export function DatabaseContext({ dbContext }: Props) { +export function SpanDatabase({ spanDb }: Props) { const theme = useTheme(); const dbSyntaxLineHeight = theme.eui.euiSizeL; const previewHeight = 240; // 10 * dbSyntaxLineHeight - if (!dbContext || !dbContext.statement) { + if (!spanDb || !spanDb.statement) { return null; } - if (dbContext.type !== 'sql') { - return {dbContext.statement}; + if (spanDb.type !== 'sql') { + return {spanDb.statement}; } return ( @@ -73,7 +73,7 @@ export function DatabaseContext({ dbContext }: Props) { overflowX: 'scroll', }} > - {dbContext.statement} + {spanDb.statement} diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/span_flyout/sticky_span_properties.tsx b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/span_flyout/sticky_span_properties.tsx index 97e353d22ccf6..2e02dcee95371 100644 --- a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/span_flyout/sticky_span_properties.tsx +++ b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/span_flyout/sticky_span_properties.tsx @@ -33,7 +33,7 @@ interface Props { } export function StickySpanProperties({ span, transaction }: Props) { - const { query } = useApmParams('/services/:serviceName/transactions/view'); + const { query } = useApmParams('/services/{serviceName}/transactions/view'); const { environment, latencyAggregationType } = query; const trackEvent = useUiTracker(); diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/sync_badge.tsx b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/sync_badge.tsx index cfc369fa12a26..fe74f3d51c8bc 100644 --- a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/sync_badge.tsx +++ b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/sync_badge.tsx @@ -8,12 +8,6 @@ import { EuiBadge } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import React from 'react'; -import { euiStyled } from '../../../../../../../../../../src/plugins/kibana_react/common'; - -const SpanBadge = euiStyled(EuiBadge)` - display: inline-block; - margin-right: ${({ theme }) => theme.eui.euiSizeXS}; -`; export interface SyncBadgeProps { /** @@ -26,19 +20,19 @@ export function SyncBadge({ sync }: SyncBadgeProps) { switch (sync) { case true: return ( - + {i18n.translate('xpack.apm.transactionDetails.syncBadgeBlocking', { defaultMessage: 'blocking', })} - + ); case false: return ( - + {i18n.translate('xpack.apm.transactionDetails.syncBadgeAsync', { defaultMessage: 'async', })} - + ); default: return null; diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/waterfall_flyout.tsx b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/waterfall_flyout.tsx index 4163388db1ec0..948f790848e8f 100644 --- a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/waterfall_flyout.tsx +++ b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/waterfall_flyout.tsx @@ -55,7 +55,7 @@ export function WaterfallFlyout({ rootTransactionDuration={ waterfall.rootTransaction?.transaction.duration.us } - errorCount={waterfall.errorsPerTransaction[currentItem.id]} + errorCount={waterfall.getErrorCount(currentItem.id)} /> ); default: diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/waterfall_helpers/__snapshots__/waterfall_helpers.test.ts.snap b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/waterfall_helpers/__snapshots__/waterfall_helpers.test.ts.snap index 8905162daada2..b1ea74c3eb0c0 100644 --- a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/waterfall_helpers/__snapshots__/waterfall_helpers.test.ts.snap +++ b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/waterfall_helpers/__snapshots__/waterfall_helpers.test.ts.snap @@ -912,11 +912,7 @@ Object { "skew": 0, }, ], - "errorsCount": 1, - "errorsPerTransaction": Object { - "myTransactionId1": 2, - "myTransactionId2": 3, - }, + "getErrorCount": [Function], "items": Array [ Object { "color": "", @@ -2188,11 +2184,7 @@ Object { "skew": 0, }, "errorItems": Array [], - "errorsCount": 0, - "errorsPerTransaction": Object { - "myTransactionId1": 2, - "myTransactionId2": 3, - }, + "getErrorCount": [Function], "items": Array [ Object { "color": "", diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/waterfall_helpers/waterfall_helpers.test.ts b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/waterfall_helpers/waterfall_helpers.test.ts index 34933a3a6f8ec..3e0c5034f37a2 100644 --- a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/waterfall_helpers/waterfall_helpers.test.ts +++ b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/waterfall_helpers/waterfall_helpers.test.ts @@ -129,44 +129,39 @@ describe('waterfall_helpers', () => { it('should return full waterfall', () => { const entryTransactionId = 'myTransactionId1'; - const errorsPerTransaction = { - myTransactionId1: 2, - myTransactionId2: 3, + const apiResp = { + traceDocs: hits, + errorDocs, + exceedsMax: false, }; - const waterfall = getWaterfall( - { - trace: { items: hits, errorDocs, exceedsMax: false }, - errorsPerTransaction, - }, - entryTransactionId - ); + const waterfall = getWaterfall(apiResp, entryTransactionId); + const { apiResponse, ...waterfallRest } = waterfall; expect(waterfall.items.length).toBe(6); expect(waterfall.items[0].id).toBe('myTransactionId1'); expect(waterfall.errorItems.length).toBe(1); - expect(waterfall.errorsCount).toEqual(1); - expect(waterfall).toMatchSnapshot(); + expect(waterfall.getErrorCount('myTransactionId1')).toEqual(1); + expect(waterfallRest).toMatchSnapshot(); + expect(apiResponse).toEqual(apiResp); }); it('should return partial waterfall', () => { const entryTransactionId = 'myTransactionId2'; - const errorsPerTransaction = { - myTransactionId1: 2, - myTransactionId2: 3, + const apiResp = { + traceDocs: hits, + errorDocs, + exceedsMax: false, }; - const waterfall = getWaterfall( - { - trace: { items: hits, errorDocs, exceedsMax: false }, - errorsPerTransaction, - }, - entryTransactionId - ); + const waterfall = getWaterfall(apiResp, entryTransactionId); + + const { apiResponse, ...waterfallRest } = waterfall; expect(waterfall.items.length).toBe(4); expect(waterfall.items[0].id).toBe('myTransactionId2'); expect(waterfall.errorItems.length).toBe(0); - expect(waterfall.errorsCount).toEqual(0); - expect(waterfall).toMatchSnapshot(); + expect(waterfall.getErrorCount('myTransactionId2')).toEqual(0); + expect(waterfallRest).toMatchSnapshot(); + expect(apiResponse).toEqual(apiResp); }); it('should reparent spans', () => { const traceItems = [ @@ -238,8 +233,9 @@ describe('waterfall_helpers', () => { const entryTransactionId = 'myTransactionId1'; const waterfall = getWaterfall( { - trace: { items: traceItems, errorDocs: [], exceedsMax: false }, - errorsPerTransaction: {}, + traceDocs: traceItems, + errorDocs: [], + exceedsMax: false, }, entryTransactionId ); @@ -247,6 +243,7 @@ describe('waterfall_helpers', () => { id: item.id, parentId: item.parent?.id, }); + expect(waterfall.items.length).toBe(5); expect(getIdAndParentId(waterfall.items[0])).toEqual({ id: 'myTransactionId1', @@ -269,8 +266,9 @@ describe('waterfall_helpers', () => { parentId: 'mySpanIdB', }); expect(waterfall.errorItems.length).toBe(0); - expect(waterfall.errorsCount).toEqual(0); + expect(waterfall.getErrorCount('myTransactionId1')).toEqual(0); }); + it("shouldn't reparent spans when child id isn't found", () => { const traceItems = [ { @@ -341,8 +339,9 @@ describe('waterfall_helpers', () => { const entryTransactionId = 'myTransactionId1'; const waterfall = getWaterfall( { - trace: { items: traceItems, errorDocs: [], exceedsMax: false }, - errorsPerTransaction: {}, + traceDocs: traceItems, + errorDocs: [], + exceedsMax: false, }, entryTransactionId ); @@ -372,7 +371,7 @@ describe('waterfall_helpers', () => { parentId: 'mySpanIdB', }); expect(waterfall.errorItems.length).toBe(0); - expect(waterfall.errorsCount).toEqual(0); + expect(waterfall.getErrorCount('myTransactionId1')).toEqual(0); }); }); diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/waterfall_helpers/waterfall_helpers.ts b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/waterfall_helpers/waterfall_helpers.ts index b6e427e8cc0a1..9501ad1839d46 100644 --- a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/waterfall_helpers/waterfall_helpers.ts +++ b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/waterfall_helpers/waterfall_helpers.ts @@ -6,7 +6,7 @@ */ import { euiPaletteColorBlind } from '@elastic/eui'; -import { first, flatten, groupBy, isEmpty, sortBy, sum, uniq } from 'lodash'; +import { first, flatten, groupBy, isEmpty, sortBy, uniq } from 'lodash'; import { APIReturnType } from '../../../../../../../services/rest/createCallApmApi'; import { APMError } from '../../../../../../../../typings/es_schemas/ui/apm_error'; import { Span } from '../../../../../../../../typings/es_schemas/ui/span'; @@ -35,10 +35,10 @@ export interface IWaterfall { duration: number; items: IWaterfallItem[]; childrenByParentId: Record; - errorsPerTransaction: TraceAPIResponse['errorsPerTransaction']; - errorsCount: number; + getErrorCount: (parentId: string) => number; legends: IWaterfallLegend[]; errorItems: IWaterfallError[]; + apiResponse: TraceAPIResponse; } interface IWaterfallSpanItemBase @@ -80,7 +80,8 @@ export type IWaterfallSpanOrTransaction = | IWaterfallTransaction | IWaterfallSpan; -export type IWaterfallItem = IWaterfallSpanOrTransaction | IWaterfallError; +// export type IWaterfallItem = IWaterfallSpanOrTransaction | IWaterfallError; +export type IWaterfallItem = IWaterfallSpanOrTransaction; export interface IWaterfallLegend { type: WaterfallLegendType; @@ -264,7 +265,7 @@ const getWaterfallDuration = (waterfallItems: IWaterfallItem[]) => 0 ); -const getWaterfallItems = (items: TraceAPIResponse['trace']['items']) => +const getWaterfallItems = (items: TraceAPIResponse['traceDocs']) => items.map((item) => { const docType = item.processor.event; switch (docType) { @@ -332,7 +333,7 @@ function isInEntryTransaction( } function getWaterfallErrors( - errorDocs: TraceAPIResponse['trace']['errorDocs'], + errorDocs: TraceAPIResponse['errorDocs'], items: IWaterfallItem[], entryWaterfallTransaction?: IWaterfallTransaction ) { @@ -358,24 +359,44 @@ function getWaterfallErrors( ); } +// map parent.id to the number of errors +/* + { 'parentId': 2 } + */ +function getErrorCountByParentId(errorDocs: TraceAPIResponse['errorDocs']) { + return errorDocs.reduce>((acc, doc) => { + const parentId = doc.parent?.id; + + if (!parentId) { + return acc; + } + + acc[parentId] = (acc[parentId] ?? 0) + 1; + + return acc; + }, {}); +} + export function getWaterfall( - { trace, errorsPerTransaction }: TraceAPIResponse, + apiResponse: TraceAPIResponse, entryTransactionId?: Transaction['transaction']['id'] ): IWaterfall { - if (isEmpty(trace.items) || !entryTransactionId) { + if (isEmpty(apiResponse.traceDocs) || !entryTransactionId) { return { + apiResponse, duration: 0, items: [], - errorsPerTransaction, - errorsCount: sum(Object.values(errorsPerTransaction)), legends: [], errorItems: [], childrenByParentId: {}, + getErrorCount: () => 0, }; } + const errorCountByParentId = getErrorCountByParentId(apiResponse.errorDocs); + const waterfallItems: IWaterfallSpanOrTransaction[] = getWaterfallItems( - trace.items + apiResponse.traceDocs ); const childrenByParentId = getChildrenGroupedByParentId( @@ -392,7 +413,7 @@ export function getWaterfall( entryWaterfallTransaction ); const errorItems = getWaterfallErrors( - trace.errorDocs, + apiResponse.errorDocs, items, entryWaterfallTransaction ); @@ -402,14 +423,14 @@ export function getWaterfall( const legends = getLegends(items); return { + apiResponse, entryWaterfallTransaction, rootTransaction, duration, items, - errorsPerTransaction, - errorsCount: errorItems.length, legends, errorItems, childrenByParentId: getChildrenGroupedByParentId(items), + getErrorCount: (parentId: string) => errorCountByParentId[parentId] ?? 0, }; } diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/waterfall_item.tsx b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/waterfall_item.tsx index 3af010fb30b86..4001a0624a809 100644 --- a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/waterfall_item.tsx +++ b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/Waterfall/waterfall_item.tsx @@ -5,18 +5,23 @@ * 2.0. */ -import { EuiIcon, EuiText, EuiTitle, EuiToolTip } from '@elastic/eui'; +import { EuiBadge, EuiIcon, EuiText, EuiTitle, EuiToolTip } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import React, { ReactNode } from 'react'; +import { useTheme } from '../../../../../../hooks/use_theme'; import { euiStyled } from '../../../../../../../../../../src/plugins/kibana_react/common'; import { isRumAgentName } from '../../../../../../../common/agent_name'; -import { TRACE_ID } from '../../../../../../../common/elasticsearch_fieldnames'; +import { + TRACE_ID, + TRANSACTION_ID, +} from '../../../../../../../common/elasticsearch_fieldnames'; import { asDuration } from '../../../../../../../common/utils/formatters'; import { Margins } from '../../../../../shared/charts/Timeline'; -import { ErrorOverviewLink } from '../../../../../shared/Links/apm/ErrorOverviewLink'; -import { ErrorCount } from '../../ErrorCount'; import { SyncBadge } from './sync_badge'; import { IWaterfallSpanOrTransaction } from './waterfall_helpers/waterfall_helpers'; +import { FailureBadge } from './failure_badge'; +import { useApmRouter } from '../../../../../../hooks/use_apm_router'; +import { useApmParams } from '../../../../../../hooks/use_apm_params'; type ItemType = 'transaction' | 'span' | 'error'; @@ -181,15 +186,6 @@ export function WaterfallItem({ const width = (item.duration / totalDuration) * 100; const left = ((item.offset + item.skew) / totalDuration) * 100; - const tooltipContent = i18n.translate( - 'xpack.apm.transactionDetails.errorsOverviewLinkTooltip', - { - values: { errorCount }, - defaultMessage: - '{errorCount, plural, one {View 1 related error} other {View # related errors}}', - } - ); - const isCompositeSpan = item.docType === 'span' && item.doc.span.composite; const itemBarStyle = getItemBarStyle(item, color, width, left); @@ -216,27 +212,56 @@ export function WaterfallItem({ - {errorCount > 0 && item.docType === 'transaction' ? ( - - - - - - ) : null} + + {item.docType === 'span' && } ); } +function RelatedErrors({ + item, + errorCount, +}: { + item: IWaterfallSpanOrTransaction; + errorCount: number; +}) { + const apmRouter = useApmRouter(); + const theme = useTheme(); + const { query } = useApmParams('/services/{serviceName}/transactions/view'); + + const href = apmRouter.link(`/services/{serviceName}/errors`, { + path: { serviceName: item.doc.service.name }, + query: { + ...query, + kuery: `${TRACE_ID} : "${item.doc.trace.id}" and ${TRANSACTION_ID} : "${item.doc.transaction?.id}"`, + }, + }); + + if (errorCount > 0) { + return ( + // eslint-disable-next-line jsx-a11y/click-events-have-key-events +
e.stopPropagation()}> + + {i18n.translate('xpack.apm.waterfall.errorCount', { + defaultMessage: + '{errorCount, plural, one {View related error} other {View # related errors}}', + values: { errorCount }, + })} + +
+ ); + } + + return ; +} + function getItemBarStyle( item: IWaterfallSpanOrTransaction, color: string, diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/WaterfallContainer.stories.tsx b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/WaterfallContainer.stories.tsx index f8abff2c9609c..a03b7b29f9666 100644 --- a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/WaterfallContainer.stories.tsx +++ b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/WaterfallContainer.stories.tsx @@ -8,7 +8,6 @@ import React, { ComponentType } from 'react'; import { MemoryRouter } from 'react-router-dom'; import { MockApmPluginContextWrapper } from '../../../../../context/apm_plugin/mock_apm_plugin_context'; -import { APIReturnType } from '../../../../../services/rest/createCallApmApi'; import { WaterfallContainer } from './index'; import { getWaterfall } from './Waterfall/waterfall_helpers/waterfall_helpers'; import { @@ -19,8 +18,6 @@ import { urlParams, } from './waterfallContainer.stories.data'; -type TraceAPIResponse = APIReturnType<'GET /api/apm/traces/{traceId}'>; - export default { title: 'app/TransactionDetails/Waterfall', component: WaterfallContainer, @@ -36,57 +33,24 @@ export default { }; export function Example() { - const waterfall = getWaterfall( - simpleTrace as TraceAPIResponse, - '975c8d5bfd1dd20b' - ); - return ( - - ); + const waterfall = getWaterfall(simpleTrace, '975c8d5bfd1dd20b'); + return ; } export function WithErrors() { - const waterfall = getWaterfall( - (traceWithErrors as unknown) as TraceAPIResponse, - '975c8d5bfd1dd20b' - ); - return ( - - ); + const waterfall = getWaterfall(traceWithErrors, '975c8d5bfd1dd20b'); + return ; } export function ChildStartsBeforeParent() { const waterfall = getWaterfall( - traceChildStartBeforeParent as TraceAPIResponse, + traceChildStartBeforeParent, '975c8d5bfd1dd20b' ); - return ( - - ); + return ; } export function InferredSpans() { - const waterfall = getWaterfall( - inferredSpans as TraceAPIResponse, - 'f2387d37260d00bd' - ); - return ( - - ); + const waterfall = getWaterfall(inferredSpans, 'f2387d37260d00bd'); + return ; } diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/index.tsx b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/index.tsx index f3949fcfb03d5..6ef7651a1e404 100644 --- a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/index.tsx +++ b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/index.tsx @@ -19,14 +19,9 @@ import { useApmServiceContext } from '../../../../../context/apm_service/use_apm interface Props { urlParams: ApmUrlParams; waterfall: IWaterfall; - exceedsMax: boolean; } -export function WaterfallContainer({ - urlParams, - waterfall, - exceedsMax, -}: Props) { +export function WaterfallContainer({ urlParams, waterfall }: Props) { const { serviceName } = useApmServiceContext(); if (!waterfall) { @@ -83,7 +78,6 @@ export function WaterfallContainer({ ); diff --git a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfallContainer.stories.data.ts b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfallContainer.stories.data.ts index 80ae2978498b3..1e58c1bd00a28 100644 --- a/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfallContainer.stories.data.ts +++ b/x-pack/plugins/apm/public/components/app/transaction_details/waterfall_with_summary/waterfall_container/waterfallContainer.stories.data.ts @@ -7,6 +7,7 @@ import type { Location } from 'history'; import type { ApmUrlParams } from '../../../../../context/url_params_context/types'; +import { APIReturnType } from '../../../../../services/rest/createCallApmApi'; export const location = { pathname: '/services/opbeans-go/transactions/view', @@ -15,6 +16,8 @@ export const location = { hash: '', } as Location; +type TraceAPIResponse = APIReturnType<'GET /api/apm/traces/{traceId}'>; + export const urlParams = { start: '2020-03-22T15:16:38.742Z', end: '2020-03-23T15:16:38.742Z', @@ -32,2296 +35,2265 @@ export const urlParams = { } as ApmUrlParams; export const simpleTrace = { - trace: { - items: [ - { - container: { - id: + traceDocs: [ + { + container: { + id: '4cf84d094553201997ddb7fea344b7c6ef18dcb8233eba39278946ee8449794e', + }, + process: { + pid: 6, + title: '/usr/lib/jvm/java-10-openjdk-amd64/bin/java', + ppid: 1, + }, + agent: { + name: 'java', + ephemeral_id: '99ce8403-5875-4945-b074-d37dc10563eb', + version: '1.14.1-SNAPSHOT', + }, + internal: { + sampler: { + value: 46, + }, + }, + source: { + ip: '172.19.0.13', + }, + processor: { + name: 'transaction', + event: 'transaction', + }, + url: { + path: '/api/orders', + scheme: 'http', + port: 3000, + domain: '172.19.0.9', + full: 'http://172.19.0.9:3000/api/orders', + }, + observer: { + hostname: 'f37f48d8b60b', + id: 'd8522e1f-be8e-43c2-b290-ac6b6c0f171e', + ephemeral_id: '6ed88f14-170e-478d-a4f5-ea5e7f4b16b9', + type: 'apm-server', + version: '8.0.0', + version_major: 8, + }, + trace: { + id: '513d33fafe99bbe6134749310c9b5322', + }, + '@timestamp': '2020-03-23T15:04:28.785Z', + ecs: { + version: '1.4.0', + }, + service: { + node: { + name: '4cf84d094553201997ddb7fea344b7c6ef18dcb8233eba39278946ee8449794e', }, - process: { - pid: 6, - title: '/usr/lib/jvm/java-10-openjdk-amd64/bin/java', - ppid: 1, + environment: 'production', + name: 'opbeans-java', + runtime: { + name: 'Java', + version: '10.0.2', }, - agent: { - name: 'java', - ephemeral_id: '99ce8403-5875-4945-b074-d37dc10563eb', - version: '1.14.1-SNAPSHOT', + language: { + name: 'Java', + version: '10.0.2', }, - internal: { - sampler: { - value: 46, - }, + version: 'None', + }, + host: { + hostname: '4cf84d094553', + os: { + platform: 'Linux', + }, + ip: '172.19.0.9', + name: '4cf84d094553', + architecture: 'amd64', + }, + http: { + request: { + headers: { + Accept: ['*/*'], + 'User-Agent': ['Python/3.7 aiohttp/3.3.2'], + Host: ['172.19.0.9:3000'], + 'Accept-Encoding': ['gzip, deflate'], + }, + method: 'get', + socket: { + encrypted: false, + remote_address: '172.19.0.13', + }, + body: { + original: '[REDACTED]', + }, + }, + response: { + headers: { + 'Transfer-Encoding': ['chunked'], + Date: ['Mon, 23 Mar 2020 15:04:28 GMT'], + 'Content-Type': ['application/json;charset=ISO-8859-1'], + }, + status_code: 200, + finished: true, + headers_sent: true, + }, + version: '1.1', + }, + client: { + ip: '172.19.0.13', + }, + transaction: { + duration: { + us: 18842, + }, + result: 'HTTP 2xx', + name: 'DispatcherServlet#doGet', + id: '49809ad3c26adf74', + span_count: { + dropped: 0, + started: 1, + }, + type: 'request', + sampled: true, + }, + user_agent: { + original: 'Python/3.7 aiohttp/3.3.2', + name: 'Other', + device: { + name: 'Other', }, - source: { - ip: '172.19.0.13', - }, - processor: { - name: 'transaction', - event: 'transaction', - }, - url: { - path: '/api/orders', - scheme: 'http', - port: 3000, - domain: '172.19.0.9', - full: 'http://172.19.0.9:3000/api/orders', - }, - observer: { - hostname: 'f37f48d8b60b', - id: 'd8522e1f-be8e-43c2-b290-ac6b6c0f171e', - ephemeral_id: '6ed88f14-170e-478d-a4f5-ea5e7f4b16b9', - type: 'apm-server', - version: '8.0.0', - version_major: 8, - }, - trace: { - id: '513d33fafe99bbe6134749310c9b5322', - }, - '@timestamp': '2020-03-23T15:04:28.785Z', - ecs: { - version: '1.4.0', - }, - service: { - node: { - name: - '4cf84d094553201997ddb7fea344b7c6ef18dcb8233eba39278946ee8449794e', - }, - environment: 'production', - name: 'opbeans-java', - runtime: { - name: 'Java', - version: '10.0.2', - }, - language: { - name: 'Java', - version: '10.0.2', - }, - version: 'None', + }, + timestamp: { + us: 1584975868785000, + }, + }, + { + parent: { + id: 'fc107f7b556eb49b', + }, + agent: { + name: 'go', + version: '1.7.2', + }, + processor: { + name: 'transaction', + event: 'transaction', + }, + url: { + path: '/api/orders', + scheme: 'http', + port: 3000, + domain: 'opbeans-go', + full: 'http://opbeans-go:3000/api/orders', + }, + trace: { + id: '513d33fafe99bbe6134749310c9b5322', + }, + '@timestamp': '2020-03-23T15:04:28.787Z', + service: { + node: { + name: + 'e948a08b8f5efe99b5da01f50da48c7d8aee3bbf4701f3da85ebe760c2ffef29', + }, + environment: 'production', + framework: { + name: 'gin', + version: 'v1.4.0', + }, + name: 'opbeans-go', + runtime: { + name: 'gc', + version: 'go1.14.1', + }, + language: { + name: 'go', + version: 'go1.14.1', }, - host: { - hostname: '4cf84d094553', - os: { - platform: 'Linux', - }, - ip: '172.19.0.9', - name: '4cf84d094553', - architecture: 'amd64', + version: 'None', + }, + transaction: { + duration: { + us: 16597, + }, + result: 'HTTP 2xx', + name: 'GET /api/orders', + id: '975c8d5bfd1dd20b', + span_count: { + dropped: 0, + started: 1, + }, + type: 'request', + sampled: true, + }, + timestamp: { + us: 1584975868787052, + }, + }, + { + parent: { + id: 'daae24d83c269918', + }, + agent: { + name: 'python', + version: '5.5.2', + }, + trace: { + id: '513d33fafe99bbe6134749310c9b5322', + }, + timestamp: { + us: 1584975868788603, + }, + processor: { + name: 'transaction', + event: 'transaction', + }, + url: { + path: '/api/orders', + scheme: 'http', + port: 3000, + domain: 'opbeans-go', + full: 'http://opbeans-go:3000/api/orders', + }, + '@timestamp': '2020-03-23T15:04:28.788Z', + service: { + node: { + name: + 'a636915f1f6eec81ab44342b13a3ea9597ef03a24391e4e55f34ae2e20b30f51', }, - http: { - request: { - headers: { - Accept: ['*/*'], - 'User-Agent': ['Python/3.7 aiohttp/3.3.2'], - Host: ['172.19.0.9:3000'], - 'Accept-Encoding': ['gzip, deflate'], - }, - method: 'get', - socket: { - encrypted: false, - remote_address: '172.19.0.13', - }, - body: { - original: '[REDACTED]', - }, - }, - response: { - headers: { - 'Transfer-Encoding': ['chunked'], - Date: ['Mon, 23 Mar 2020 15:04:28 GMT'], - 'Content-Type': ['application/json;charset=ISO-8859-1'], - }, - status_code: 200, - finished: true, - headers_sent: true, - }, - version: '1.1', + environment: 'production', + framework: { + name: 'django', + version: '2.1.13', }, - client: { - ip: '172.19.0.13', + name: 'opbeans-python', + runtime: { + name: 'CPython', + version: '3.6.10', }, - transaction: { - duration: { - us: 18842, - }, - result: 'HTTP 2xx', - name: 'DispatcherServlet#doGet', - id: '49809ad3c26adf74', - span_count: { - dropped: 0, - started: 1, - }, - type: 'request', - sampled: true, + language: { + name: 'python', + version: '3.6.10', }, - user_agent: { - original: 'Python/3.7 aiohttp/3.3.2', - name: 'Other', - device: { - name: 'Other', - }, + version: 'None', + }, + transaction: { + result: 'HTTP 2xx', + duration: { + us: 14648, + }, + name: 'GET opbeans.views.orders', + span_count: { + dropped: 0, + started: 1, + }, + id: '6fb0ff7365b87298', + type: 'request', + sampled: true, + }, + }, + { + container: { + id: '4cf84d094553201997ddb7fea344b7c6ef18dcb8233eba39278946ee8449794e', + }, + parent: { + id: '49809ad3c26adf74', + }, + process: { + pid: 6, + title: '/usr/lib/jvm/java-10-openjdk-amd64/bin/java', + ppid: 1, + }, + agent: { + name: 'java', + ephemeral_id: '99ce8403-5875-4945-b074-d37dc10563eb', + version: '1.14.1-SNAPSHOT', + }, + internal: { + sampler: { + value: 44, + }, + }, + destination: { + address: 'opbeans-go', + port: 3000, + }, + processor: { + name: 'transaction', + event: 'span', + }, + observer: { + hostname: 'f37f48d8b60b', + id: 'd8522e1f-be8e-43c2-b290-ac6b6c0f171e', + type: 'apm-server', + ephemeral_id: '6ed88f14-170e-478d-a4f5-ea5e7f4b16b9', + version: '8.0.0', + version_major: 8, + }, + trace: { + id: '513d33fafe99bbe6134749310c9b5322', + }, + '@timestamp': '2020-03-23T15:04:28.785Z', + ecs: { + version: '1.4.0', + }, + service: { + node: { + name: + '4cf84d094553201997ddb7fea344b7c6ef18dcb8233eba39278946ee8449794e', + }, + environment: 'production', + name: 'opbeans-java', + runtime: { + name: 'Java', + version: '10.0.2', }, - timestamp: { - us: 1584975868785000, + language: { + name: 'Java', + version: '10.0.2', }, + version: 'None', + }, + host: { + hostname: '4cf84d094553', + os: { + platform: 'Linux', + }, + ip: '172.19.0.9', + name: '4cf84d094553', + architecture: 'amd64', + }, + connection: { + hash: + "{service.environment:'production'}/{service.name:'opbeans-java'}/{span.subtype:'http'}/{destination.address:'opbeans-go'}/{span.type:'external'}", }, - { - parent: { - id: 'fc107f7b556eb49b', + transaction: { + id: '49809ad3c26adf74', + }, + timestamp: { + us: 1584975868785273, + }, + span: { + duration: { + us: 17530, }, - agent: { - name: 'go', - version: '1.7.2', - }, - processor: { - name: 'transaction', - event: 'transaction', - }, - url: { - path: '/api/orders', - scheme: 'http', - port: 3000, - domain: 'opbeans-go', - full: 'http://opbeans-go:3000/api/orders', - }, - trace: { - id: '513d33fafe99bbe6134749310c9b5322', - }, - '@timestamp': '2020-03-23T15:04:28.787Z', - service: { - node: { - name: - 'e948a08b8f5efe99b5da01f50da48c7d8aee3bbf4701f3da85ebe760c2ffef29', - }, - environment: 'production', - framework: { - name: 'gin', - version: 'v1.4.0', - }, - name: 'opbeans-go', - runtime: { - name: 'gc', - version: 'go1.14.1', - }, - language: { - name: 'go', - version: 'go1.14.1', + subtype: 'http', + name: 'GET opbeans-go', + destination: { + service: { + resource: 'opbeans-go:3000', + name: 'http://opbeans-go:3000', + type: 'external', }, - version: 'None', }, - transaction: { - duration: { - us: 16597, + http: { + response: { + status_code: 200, }, - result: 'HTTP 2xx', - name: 'GET /api/orders', - id: '975c8d5bfd1dd20b', - span_count: { - dropped: 0, - started: 1, + url: { + original: 'http://opbeans-go:3000/api/orders', }, - type: 'request', - sampled: true, }, - timestamp: { - us: 1584975868787052, + id: 'fc107f7b556eb49b', + type: 'external', + }, + }, + { + parent: { + id: '975c8d5bfd1dd20b', + }, + agent: { + name: 'go', + version: '1.7.2', + }, + processor: { + name: 'transaction', + event: 'span', + }, + trace: { + id: '513d33fafe99bbe6134749310c9b5322', + }, + '@timestamp': '2020-03-23T15:04:28.787Z', + service: { + node: { + name: + 'e948a08b8f5efe99b5da01f50da48c7d8aee3bbf4701f3da85ebe760c2ffef29', + }, + environment: 'production', + name: 'opbeans-go', + runtime: { + name: 'gc', + version: 'go1.14.1', + }, + language: { + name: 'go', + version: 'go1.14.1', }, + version: 'None', }, - { - parent: { - id: 'daae24d83c269918', + transaction: { + id: '975c8d5bfd1dd20b', + }, + timestamp: { + us: 1584975868787174, + }, + span: { + duration: { + us: 16250, }, - agent: { - name: 'python', - version: '5.5.2', - }, - trace: { - id: '513d33fafe99bbe6134749310c9b5322', - }, - timestamp: { - us: 1584975868788603, - }, - processor: { - name: 'transaction', - event: 'transaction', - }, - url: { - path: '/api/orders', - scheme: 'http', - port: 3000, - domain: 'opbeans-go', - full: 'http://opbeans-go:3000/api/orders', - }, - '@timestamp': '2020-03-23T15:04:28.788Z', - service: { - node: { - name: - 'a636915f1f6eec81ab44342b13a3ea9597ef03a24391e4e55f34ae2e20b30f51', - }, - environment: 'production', - framework: { - name: 'django', - version: '2.1.13', - }, - name: 'opbeans-python', - runtime: { - name: 'CPython', - version: '3.6.10', - }, - language: { - name: 'python', - version: '3.6.10', + subtype: 'http', + destination: { + service: { + resource: 'opbeans-python:3000', + name: 'http://opbeans-python:3000', + type: 'external', }, - version: 'None', }, - transaction: { - result: 'HTTP 2xx', - duration: { - us: 14648, + name: 'GET opbeans-python:3000', + http: { + response: { + status_code: 200, }, - name: 'GET opbeans.views.orders', - span_count: { - dropped: 0, - started: 1, + url: { + original: 'http://opbeans-python:3000/api/orders', }, - id: '6fb0ff7365b87298', - type: 'request', - sampled: true, }, + id: 'daae24d83c269918', + type: 'external', }, - { - container: { - id: - '4cf84d094553201997ddb7fea344b7c6ef18dcb8233eba39278946ee8449794e', + }, + { + container: { + id: 'a636915f1f6eec81ab44342b13a3ea9597ef03a24391e4e55f34ae2e20b30f51', + }, + parent: { + id: '6fb0ff7365b87298', + }, + agent: { + name: 'python', + version: '5.5.2', + }, + processor: { + name: 'transaction', + event: 'span', + }, + trace: { + id: '513d33fafe99bbe6134749310c9b5322', + }, + '@timestamp': '2020-03-23T15:04:28.790Z', + service: { + node: { + name: + 'a636915f1f6eec81ab44342b13a3ea9597ef03a24391e4e55f34ae2e20b30f51', }, - parent: { - id: '49809ad3c26adf74', + environment: 'production', + framework: { + name: 'django', + version: '2.1.13', }, - process: { - pid: 6, - title: '/usr/lib/jvm/java-10-openjdk-amd64/bin/java', - ppid: 1, + name: 'opbeans-python', + runtime: { + name: 'CPython', + version: '3.6.10', }, - agent: { - name: 'java', - ephemeral_id: '99ce8403-5875-4945-b074-d37dc10563eb', - version: '1.14.1-SNAPSHOT', + language: { + name: 'python', + version: '3.6.10', }, - internal: { - sampler: { - value: 44, - }, + version: 'None', + }, + transaction: { + id: '6fb0ff7365b87298', + }, + timestamp: { + us: 1584975868790080, + }, + span: { + duration: { + us: 2519, }, + subtype: 'postgresql', + name: 'SELECT FROM opbeans_order', destination: { - address: 'opbeans-go', - port: 3000, - }, - processor: { - name: 'transaction', - event: 'span', - }, - observer: { - hostname: 'f37f48d8b60b', - id: 'd8522e1f-be8e-43c2-b290-ac6b6c0f171e', - type: 'apm-server', - ephemeral_id: '6ed88f14-170e-478d-a4f5-ea5e7f4b16b9', - version: '8.0.0', - version_major: 8, - }, - trace: { - id: '513d33fafe99bbe6134749310c9b5322', - }, - '@timestamp': '2020-03-23T15:04:28.785Z', - ecs: { - version: '1.4.0', - }, - service: { - node: { - name: - '4cf84d094553201997ddb7fea344b7c6ef18dcb8233eba39278946ee8449794e', - }, - environment: 'production', - name: 'opbeans-java', - runtime: { - name: 'Java', - version: '10.0.2', - }, - language: { - name: 'Java', - version: '10.0.2', + service: { + resource: 'postgresql', + name: 'postgresql', + type: 'db', }, - version: 'None', }, - host: { - hostname: '4cf84d094553', - os: { - platform: 'Linux', - }, - ip: '172.19.0.9', - name: '4cf84d094553', - architecture: 'amd64', + action: 'query', + id: 'c9407abb4d08ead1', + type: 'db', + sync: true, + db: { + statement: + 'SELECT "opbeans_order"."id", "opbeans_order"."customer_id", "opbeans_customer"."full_name", "opbeans_order"."created_at" FROM "opbeans_order" INNER JOIN "opbeans_customer" ON ("opbeans_order"."customer_id" = "opbeans_customer"."id") LIMIT 1000', + type: 'sql', }, - connection: { - hash: - "{service.environment:'production'}/{service.name:'opbeans-java'}/{span.subtype:'http'}/{destination.address:'opbeans-go'}/{span.type:'external'}", + }, + }, + ], + exceedsMax: false, + errorDocs: [], +} as TraceAPIResponse; + +export const traceWithErrors = ({ + traceDocs: [ + { + container: { + id: '4cf84d094553201997ddb7fea344b7c6ef18dcb8233eba39278946ee8449794e', + }, + process: { + pid: 6, + title: '/usr/lib/jvm/java-10-openjdk-amd64/bin/java', + ppid: 1, + }, + agent: { + name: 'java', + ephemeral_id: '99ce8403-5875-4945-b074-d37dc10563eb', + version: '1.14.1-SNAPSHOT', + }, + internal: { + sampler: { + value: 46, }, - transaction: { - id: '49809ad3c26adf74', + }, + source: { + ip: '172.19.0.13', + }, + processor: { + name: 'transaction', + event: 'transaction', + }, + url: { + path: '/api/orders', + scheme: 'http', + port: 3000, + domain: '172.19.0.9', + full: 'http://172.19.0.9:3000/api/orders', + }, + observer: { + hostname: 'f37f48d8b60b', + id: 'd8522e1f-be8e-43c2-b290-ac6b6c0f171e', + ephemeral_id: '6ed88f14-170e-478d-a4f5-ea5e7f4b16b9', + type: 'apm-server', + version: '8.0.0', + version_major: 8, + }, + trace: { + id: '513d33fafe99bbe6134749310c9b5322', + }, + '@timestamp': '2020-03-23T15:04:28.785Z', + ecs: { + version: '1.4.0', + }, + service: { + node: { + name: + '4cf84d094553201997ddb7fea344b7c6ef18dcb8233eba39278946ee8449794e', }, - timestamp: { - us: 1584975868785273, + environment: 'production', + name: 'opbeans-java', + runtime: { + name: 'Java', + version: '10.0.2', }, - span: { - duration: { - us: 17530, - }, - subtype: 'http', - name: 'GET opbeans-go', - destination: { - service: { - resource: 'opbeans-go:3000', - name: 'http://opbeans-go:3000', - type: 'external', - }, - }, - http: { - response: { - status_code: 200, - }, - url: { - original: 'http://opbeans-go:3000/api/orders', - }, - }, - id: 'fc107f7b556eb49b', - type: 'external', + language: { + name: 'Java', + version: '10.0.2', }, + version: 'None', + }, + host: { + hostname: '4cf84d094553', + os: { + platform: 'Linux', + }, + ip: '172.19.0.9', + name: '4cf84d094553', + architecture: 'amd64', + }, + http: { + request: { + headers: { + Accept: ['*/*'], + 'User-Agent': ['Python/3.7 aiohttp/3.3.2'], + Host: ['172.19.0.9:3000'], + 'Accept-Encoding': ['gzip, deflate'], + }, + method: 'get', + socket: { + encrypted: false, + remote_address: '172.19.0.13', + }, + body: { + original: '[REDACTED]', + }, + }, + response: { + headers: { + 'Transfer-Encoding': ['chunked'], + Date: ['Mon, 23 Mar 2020 15:04:28 GMT'], + 'Content-Type': ['application/json;charset=ISO-8859-1'], + }, + status_code: 200, + finished: true, + headers_sent: true, + }, + version: '1.1', + }, + client: { + ip: '172.19.0.13', + }, + transaction: { + duration: { + us: 18842, + }, + result: 'HTTP 2xx', + name: 'DispatcherServlet#doGet', + id: '49809ad3c26adf74', + span_count: { + dropped: 0, + started: 1, + }, + type: 'request', + sampled: true, }, - { - parent: { - id: '975c8d5bfd1dd20b', + user_agent: { + original: 'Python/3.7 aiohttp/3.3.2', + name: 'Other', + device: { + name: 'Other', }, - agent: { + }, + timestamp: { + us: 1584975868785000, + }, + }, + { + parent: { + id: 'fc107f7b556eb49b', + }, + agent: { + name: 'go', + version: '1.7.2', + }, + processor: { + name: 'transaction', + event: 'transaction', + }, + url: { + path: '/api/orders', + scheme: 'http', + port: 3000, + domain: 'opbeans-go', + full: 'http://opbeans-go:3000/api/orders', + }, + trace: { + id: '513d33fafe99bbe6134749310c9b5322', + }, + '@timestamp': '2020-03-23T15:04:28.787Z', + service: { + node: { + name: + 'e948a08b8f5efe99b5da01f50da48c7d8aee3bbf4701f3da85ebe760c2ffef29', + }, + environment: 'production', + framework: { + name: 'gin', + version: 'v1.4.0', + }, + name: 'opbeans-go', + runtime: { + name: 'gc', + version: 'go1.14.1', + }, + language: { name: 'go', - version: '1.7.2', - }, - processor: { - name: 'transaction', - event: 'span', - }, - trace: { - id: '513d33fafe99bbe6134749310c9b5322', - }, - '@timestamp': '2020-03-23T15:04:28.787Z', - service: { - node: { - name: - 'e948a08b8f5efe99b5da01f50da48c7d8aee3bbf4701f3da85ebe760c2ffef29', - }, - environment: 'production', - name: 'opbeans-go', - runtime: { - name: 'gc', - version: 'go1.14.1', - }, - language: { - name: 'go', - version: 'go1.14.1', - }, - version: 'None', - }, - transaction: { - id: '975c8d5bfd1dd20b', - }, - timestamp: { - us: 1584975868787174, - }, - span: { - duration: { - us: 16250, - }, - subtype: 'http', - destination: { - service: { - resource: 'opbeans-python:3000', - name: 'http://opbeans-python:3000', - type: 'external', - }, - }, - name: 'GET opbeans-python:3000', - http: { - response: { - status_code: 200, - }, - url: { - original: 'http://opbeans-python:3000/api/orders', - }, - }, - id: 'daae24d83c269918', - type: 'external', + version: 'go1.14.1', }, + version: 'None', + }, + transaction: { + duration: { + us: 16597, + }, + result: 'HTTP 2xx', + name: 'GET /api/orders', + id: '975c8d5bfd1dd20b', + span_count: { + dropped: 0, + started: 1, + }, + type: 'request', + sampled: true, }, - { - container: { - id: + timestamp: { + us: 1584975868787052, + }, + }, + { + parent: { + id: 'daae24d83c269918', + }, + agent: { + name: 'python', + version: '5.5.2', + }, + trace: { + id: '513d33fafe99bbe6134749310c9b5322', + }, + timestamp: { + us: 1584975868788603, + }, + processor: { + name: 'transaction', + event: 'transaction', + }, + url: { + path: '/api/orders', + scheme: 'http', + port: 3000, + domain: 'opbeans-go', + full: 'http://opbeans-go:3000/api/orders', + }, + '@timestamp': '2020-03-23T15:04:28.788Z', + service: { + node: { + name: 'a636915f1f6eec81ab44342b13a3ea9597ef03a24391e4e55f34ae2e20b30f51', }, - parent: { - id: '6fb0ff7365b87298', - }, - agent: { - name: 'python', - version: '5.5.2', - }, - processor: { - name: 'transaction', - event: 'span', - }, - trace: { - id: '513d33fafe99bbe6134749310c9b5322', - }, - '@timestamp': '2020-03-23T15:04:28.790Z', - service: { - node: { - name: - 'a636915f1f6eec81ab44342b13a3ea9597ef03a24391e4e55f34ae2e20b30f51', - }, - environment: 'production', - framework: { - name: 'django', - version: '2.1.13', - }, - name: 'opbeans-python', - runtime: { - name: 'CPython', - version: '3.6.10', - }, - language: { - name: 'python', - version: '3.6.10', - }, - version: 'None', + environment: 'production', + framework: { + name: 'django', + version: '2.1.13', }, - transaction: { - id: '6fb0ff7365b87298', + name: 'opbeans-python', + runtime: { + name: 'CPython', + version: '3.6.10', }, - timestamp: { - us: 1584975868790080, + language: { + name: 'python', + version: '3.6.10', }, - span: { - duration: { - us: 2519, - }, - subtype: 'postgresql', - name: 'SELECT FROM opbeans_order', - destination: { - service: { - resource: 'postgresql', - name: 'postgresql', - type: 'db', - }, - }, - action: 'query', - id: 'c9407abb4d08ead1', - type: 'db', - sync: true, - db: { - statement: - 'SELECT "opbeans_order"."id", "opbeans_order"."customer_id", "opbeans_customer"."full_name", "opbeans_order"."created_at" FROM "opbeans_order" INNER JOIN "opbeans_customer" ON ("opbeans_order"."customer_id" = "opbeans_customer"."id") LIMIT 1000', - type: 'sql', - }, + version: 'None', + }, + transaction: { + result: 'HTTP 2xx', + duration: { + us: 14648, + }, + name: 'GET opbeans.views.orders', + span_count: { + dropped: 0, + started: 1, + }, + id: '6fb0ff7365b87298', + type: 'request', + sampled: true, + }, + }, + { + container: { + id: '4cf84d094553201997ddb7fea344b7c6ef18dcb8233eba39278946ee8449794e', + }, + parent: { + id: '49809ad3c26adf74', + }, + process: { + pid: 6, + title: '/usr/lib/jvm/java-10-openjdk-amd64/bin/java', + ppid: 1, + }, + agent: { + name: 'java', + ephemeral_id: '99ce8403-5875-4945-b074-d37dc10563eb', + version: '1.14.1-SNAPSHOT', + }, + internal: { + sampler: { + value: 44, }, }, - ], - exceedsMax: false, - errorDocs: [], - }, - errorsPerTransaction: {}, -}; - -export const traceWithErrors = { - trace: { - items: [ - { - container: { - id: + destination: { + address: 'opbeans-go', + port: 3000, + }, + processor: { + name: 'transaction', + event: 'span', + }, + observer: { + hostname: 'f37f48d8b60b', + id: 'd8522e1f-be8e-43c2-b290-ac6b6c0f171e', + type: 'apm-server', + ephemeral_id: '6ed88f14-170e-478d-a4f5-ea5e7f4b16b9', + version: '8.0.0', + version_major: 8, + }, + trace: { + id: '513d33fafe99bbe6134749310c9b5322', + }, + '@timestamp': '2020-03-23T15:04:28.785Z', + ecs: { + version: '1.4.0', + }, + service: { + node: { + name: '4cf84d094553201997ddb7fea344b7c6ef18dcb8233eba39278946ee8449794e', }, - process: { - pid: 6, - title: '/usr/lib/jvm/java-10-openjdk-amd64/bin/java', - ppid: 1, - }, - agent: { - name: 'java', - ephemeral_id: '99ce8403-5875-4945-b074-d37dc10563eb', - version: '1.14.1-SNAPSHOT', + environment: 'production', + name: 'opbeans-java', + runtime: { + name: 'Java', + version: '10.0.2', }, - internal: { - sampler: { - value: 46, - }, + language: { + name: 'Java', + version: '10.0.2', }, - source: { - ip: '172.19.0.13', - }, - processor: { - name: 'transaction', - event: 'transaction', - }, - url: { - path: '/api/orders', - scheme: 'http', - port: 3000, - domain: '172.19.0.9', - full: 'http://172.19.0.9:3000/api/orders', - }, - observer: { - hostname: 'f37f48d8b60b', - id: 'd8522e1f-be8e-43c2-b290-ac6b6c0f171e', - ephemeral_id: '6ed88f14-170e-478d-a4f5-ea5e7f4b16b9', - type: 'apm-server', - version: '8.0.0', - version_major: 8, - }, - trace: { - id: '513d33fafe99bbe6134749310c9b5322', - }, - '@timestamp': '2020-03-23T15:04:28.785Z', - ecs: { - version: '1.4.0', - }, - service: { - node: { - name: - '4cf84d094553201997ddb7fea344b7c6ef18dcb8233eba39278946ee8449794e', - }, - environment: 'production', - name: 'opbeans-java', - runtime: { - name: 'Java', - version: '10.0.2', - }, - language: { - name: 'Java', - version: '10.0.2', - }, - version: 'None', + version: 'None', + }, + host: { + hostname: '4cf84d094553', + os: { + platform: 'Linux', + }, + ip: '172.19.0.9', + name: '4cf84d094553', + architecture: 'amd64', + }, + connection: { + hash: + "{service.environment:'production'}/{service.name:'opbeans-java'}/{span.subtype:'http'}/{destination.address:'opbeans-go'}/{span.type:'external'}", + }, + transaction: { + id: '49809ad3c26adf74', + }, + timestamp: { + us: 1584975868785273, + }, + span: { + duration: { + us: 17530, }, - host: { - hostname: '4cf84d094553', - os: { - platform: 'Linux', + subtype: 'http', + name: 'GET opbeans-go', + destination: { + service: { + resource: 'opbeans-go:3000', + name: 'http://opbeans-go:3000', + type: 'external', }, - ip: '172.19.0.9', - name: '4cf84d094553', - architecture: 'amd64', }, http: { - request: { - headers: { - Accept: ['*/*'], - 'User-Agent': ['Python/3.7 aiohttp/3.3.2'], - Host: ['172.19.0.9:3000'], - 'Accept-Encoding': ['gzip, deflate'], - }, - method: 'get', - socket: { - encrypted: false, - remote_address: '172.19.0.13', - }, - body: { - original: '[REDACTED]', - }, - }, response: { - headers: { - 'Transfer-Encoding': ['chunked'], - Date: ['Mon, 23 Mar 2020 15:04:28 GMT'], - 'Content-Type': ['application/json;charset=ISO-8859-1'], - }, status_code: 200, - finished: true, - headers_sent: true, - }, - version: '1.1', - }, - client: { - ip: '172.19.0.13', - }, - transaction: { - duration: { - us: 18842, }, - result: 'HTTP 2xx', - name: 'DispatcherServlet#doGet', - id: '49809ad3c26adf74', - span_count: { - dropped: 0, - started: 1, + url: { + original: 'http://opbeans-go:3000/api/orders', }, - type: 'request', - sampled: true, - }, - user_agent: { - original: 'Python/3.7 aiohttp/3.3.2', - name: 'Other', - device: { - name: 'Other', - }, - }, - timestamp: { - us: 1584975868785000, }, + id: 'fc107f7b556eb49b', + type: 'external', }, - { - parent: { - id: 'fc107f7b556eb49b', - }, - agent: { + }, + { + parent: { + id: '975c8d5bfd1dd20b', + }, + agent: { + name: 'go', + version: '1.7.2', + }, + processor: { + name: 'transaction', + event: 'span', + }, + trace: { + id: '513d33fafe99bbe6134749310c9b5322', + }, + '@timestamp': '2020-03-23T15:04:28.787Z', + service: { + node: { + name: + 'e948a08b8f5efe99b5da01f50da48c7d8aee3bbf4701f3da85ebe760c2ffef29', + }, + environment: 'production', + name: 'opbeans-go', + runtime: { + name: 'gc', + version: 'go1.14.1', + }, + language: { name: 'go', - version: '1.7.2', - }, - processor: { - name: 'transaction', - event: 'transaction', - }, - url: { - path: '/api/orders', - scheme: 'http', - port: 3000, - domain: 'opbeans-go', - full: 'http://opbeans-go:3000/api/orders', - }, - trace: { - id: '513d33fafe99bbe6134749310c9b5322', - }, - '@timestamp': '2020-03-23T15:04:28.787Z', - service: { - node: { - name: - 'e948a08b8f5efe99b5da01f50da48c7d8aee3bbf4701f3da85ebe760c2ffef29', - }, - environment: 'production', - framework: { - name: 'gin', - version: 'v1.4.0', - }, - name: 'opbeans-go', - runtime: { - name: 'gc', - version: 'go1.14.1', - }, - language: { - name: 'go', - version: 'go1.14.1', - }, - version: 'None', - }, - transaction: { - duration: { - us: 16597, - }, - result: 'HTTP 2xx', - name: 'GET /api/orders', - id: '975c8d5bfd1dd20b', - span_count: { - dropped: 0, - started: 1, - }, - type: 'request', - sampled: true, - }, - timestamp: { - us: 1584975868787052, + version: 'go1.14.1', }, + version: 'None', + }, + transaction: { + id: '975c8d5bfd1dd20b', }, - { - parent: { - id: 'daae24d83c269918', + timestamp: { + us: 1584975868787174, + }, + span: { + duration: { + us: 16250, }, - agent: { - name: 'python', - version: '5.5.2', - }, - trace: { - id: '513d33fafe99bbe6134749310c9b5322', - }, - timestamp: { - us: 1584975868788603, - }, - processor: { - name: 'transaction', - event: 'transaction', - }, - url: { - path: '/api/orders', - scheme: 'http', - port: 3000, - domain: 'opbeans-go', - full: 'http://opbeans-go:3000/api/orders', - }, - '@timestamp': '2020-03-23T15:04:28.788Z', - service: { - node: { - name: - 'a636915f1f6eec81ab44342b13a3ea9597ef03a24391e4e55f34ae2e20b30f51', - }, - environment: 'production', - framework: { - name: 'django', - version: '2.1.13', - }, - name: 'opbeans-python', - runtime: { - name: 'CPython', - version: '3.6.10', - }, - language: { - name: 'python', - version: '3.6.10', + subtype: 'http', + destination: { + service: { + resource: 'opbeans-python:3000', + name: 'http://opbeans-python:3000', + type: 'external', }, - version: 'None', }, - transaction: { - result: 'HTTP 2xx', - duration: { - us: 14648, + name: 'GET opbeans-python:3000', + http: { + response: { + status_code: 200, }, - name: 'GET opbeans.views.orders', - span_count: { - dropped: 0, - started: 1, + url: { + original: 'http://opbeans-python:3000/api/orders', }, - id: '6fb0ff7365b87298', - type: 'request', - sampled: true, }, + id: 'daae24d83c269918', + type: 'external', }, - { - container: { - id: - '4cf84d094553201997ddb7fea344b7c6ef18dcb8233eba39278946ee8449794e', + }, + { + container: { + id: 'a636915f1f6eec81ab44342b13a3ea9597ef03a24391e4e55f34ae2e20b30f51', + }, + parent: { + id: '6fb0ff7365b87298', + }, + agent: { + name: 'python', + version: '5.5.2', + }, + processor: { + name: 'transaction', + event: 'span', + }, + trace: { + id: '513d33fafe99bbe6134749310c9b5322', + }, + '@timestamp': '2020-03-23T15:04:28.790Z', + service: { + node: { + name: + 'a636915f1f6eec81ab44342b13a3ea9597ef03a24391e4e55f34ae2e20b30f51', }, - parent: { - id: '49809ad3c26adf74', + environment: 'production', + framework: { + name: 'django', + version: '2.1.13', }, - process: { - pid: 6, - title: '/usr/lib/jvm/java-10-openjdk-amd64/bin/java', - ppid: 1, + name: 'opbeans-python', + runtime: { + name: 'CPython', + version: '3.6.10', }, - agent: { - name: 'java', - ephemeral_id: '99ce8403-5875-4945-b074-d37dc10563eb', - version: '1.14.1-SNAPSHOT', + language: { + name: 'python', + version: '3.6.10', }, - internal: { - sampler: { - value: 44, - }, + version: 'None', + }, + transaction: { + id: '6fb0ff7365b87298', + }, + timestamp: { + us: 1584975868790080, + }, + span: { + duration: { + us: 2519, }, + subtype: 'postgresql', + name: 'SELECT FROM opbeans_order', destination: { - address: 'opbeans-go', - port: 3000, - }, - processor: { - name: 'transaction', - event: 'span', - }, - observer: { - hostname: 'f37f48d8b60b', - id: 'd8522e1f-be8e-43c2-b290-ac6b6c0f171e', - type: 'apm-server', - ephemeral_id: '6ed88f14-170e-478d-a4f5-ea5e7f4b16b9', - version: '8.0.0', - version_major: 8, - }, - trace: { - id: '513d33fafe99bbe6134749310c9b5322', - }, - '@timestamp': '2020-03-23T15:04:28.785Z', - ecs: { - version: '1.4.0', - }, - service: { - node: { - name: - '4cf84d094553201997ddb7fea344b7c6ef18dcb8233eba39278946ee8449794e', - }, - environment: 'production', - name: 'opbeans-java', - runtime: { - name: 'Java', - version: '10.0.2', + service: { + resource: 'postgresql', + name: 'postgresql', + type: 'db', }, - language: { - name: 'Java', - version: '10.0.2', - }, - version: 'None', - }, - host: { - hostname: '4cf84d094553', - os: { - platform: 'Linux', - }, - ip: '172.19.0.9', - name: '4cf84d094553', - architecture: 'amd64', - }, - connection: { - hash: - "{service.environment:'production'}/{service.name:'opbeans-java'}/{span.subtype:'http'}/{destination.address:'opbeans-go'}/{span.type:'external'}", }, - transaction: { - id: '49809ad3c26adf74', - }, - timestamp: { - us: 1584975868785273, - }, - span: { - duration: { - us: 17530, - }, - subtype: 'http', - name: 'GET opbeans-go', - destination: { - service: { - resource: 'opbeans-go:3000', - name: 'http://opbeans-go:3000', - type: 'external', - }, - }, - http: { - response: { - status_code: 200, - }, - url: { - original: 'http://opbeans-go:3000/api/orders', - }, - }, - id: 'fc107f7b556eb49b', - type: 'external', + action: 'query', + id: 'c9407abb4d08ead1', + type: 'db', + sync: true, + db: { + statement: + 'SELECT "opbeans_order"."id", "opbeans_order"."customer_id", "opbeans_customer"."full_name", "opbeans_order"."created_at" FROM "opbeans_order" INNER JOIN "opbeans_customer" ON ("opbeans_order"."customer_id" = "opbeans_customer"."id") LIMIT 1000', + type: 'sql', }, }, - { - parent: { - id: '975c8d5bfd1dd20b', - }, - agent: { - name: 'go', - version: '1.7.2', - }, - processor: { - name: 'transaction', - event: 'span', - }, - trace: { - id: '513d33fafe99bbe6134749310c9b5322', - }, - '@timestamp': '2020-03-23T15:04:28.787Z', - service: { - node: { - name: - 'e948a08b8f5efe99b5da01f50da48c7d8aee3bbf4701f3da85ebe760c2ffef29', - }, - environment: 'production', - name: 'opbeans-go', - runtime: { - name: 'gc', - version: 'go1.14.1', - }, - language: { - name: 'go', - version: 'go1.14.1', - }, - version: 'None', - }, - transaction: { - id: '975c8d5bfd1dd20b', - }, - timestamp: { - us: 1584975868787174, - }, - span: { - duration: { - us: 16250, - }, - subtype: 'http', - destination: { - service: { - resource: 'opbeans-python:3000', - name: 'http://opbeans-python:3000', - type: 'external', - }, - }, - name: 'GET opbeans-python:3000', - http: { - response: { - status_code: 200, - }, - url: { - original: 'http://opbeans-python:3000/api/orders', - }, - }, - id: 'daae24d83c269918', - type: 'external', - }, + }, + ], + exceedsMax: false, + errorDocs: [ + { + parent: { + id: '975c8d5bfd1dd20b', }, - { - container: { - id: - 'a636915f1f6eec81ab44342b13a3ea9597ef03a24391e4e55f34ae2e20b30f51', - }, - parent: { - id: '6fb0ff7365b87298', - }, - agent: { - name: 'python', - version: '5.5.2', - }, - processor: { - name: 'transaction', - event: 'span', - }, - trace: { - id: '513d33fafe99bbe6134749310c9b5322', - }, - '@timestamp': '2020-03-23T15:04:28.790Z', - service: { - node: { - name: - 'a636915f1f6eec81ab44342b13a3ea9597ef03a24391e4e55f34ae2e20b30f51', - }, - environment: 'production', - framework: { - name: 'django', - version: '2.1.13', - }, - name: 'opbeans-python', - runtime: { - name: 'CPython', - version: '3.6.10', - }, - language: { - name: 'python', - version: '3.6.10', - }, - version: 'None', - }, - transaction: { - id: '6fb0ff7365b87298', - }, - timestamp: { - us: 1584975868790080, - }, - span: { - duration: { - us: 2519, - }, - subtype: 'postgresql', - name: 'SELECT FROM opbeans_order', - destination: { - service: { - resource: 'postgresql', - name: 'postgresql', - type: 'db', - }, - }, - action: 'query', - id: 'c9407abb4d08ead1', - type: 'db', - sync: true, - db: { - statement: - 'SELECT "opbeans_order"."id", "opbeans_order"."customer_id", "opbeans_customer"."full_name", "opbeans_order"."created_at" FROM "opbeans_order" INNER JOIN "opbeans_customer" ON ("opbeans_order"."customer_id" = "opbeans_customer"."id") LIMIT 1000', - type: 'sql', - }, - }, + agent: { + name: 'go', + version: '1.7.2', }, - ], - exceedsMax: false, - errorDocs: [ - { - parent: { - id: '975c8d5bfd1dd20b', - }, - agent: { + error: { + culprit: 'logrusMiddleware', + log: { + level: 'error', + message: 'GET //api/products (502)', + }, + id: '1f3cb98206b5c54225cb7c8908a658da', + grouping_key: '4dba2ff58fe6c036a5dee2ce411e512a', + }, + processor: { + name: 'error', + event: 'error', + }, + trace: { + id: '513d33fafe99bbe6134749310c9b5322', + }, + '@timestamp': '2020-03-23T16:04:28.787Z', + service: { + node: { + name: + 'e948a08b8f5efe99b5da01f50da48c7d8aee3bbf4701f3da85ebe760c2ffef29', + }, + environment: 'production', + name: 'opbeans-go', + runtime: { + name: 'gc', + version: 'go1.14.1', + }, + language: { name: 'go', - version: '1.7.2', - }, - error: { - culprit: 'logrusMiddleware', - log: { - level: 'error', - message: 'GET //api/products (502)', - }, - id: '1f3cb98206b5c54225cb7c8908a658da', - grouping_key: '4dba2ff58fe6c036a5dee2ce411e512a', - }, - processor: { - name: 'error', - event: 'error', - }, - trace: { - id: '513d33fafe99bbe6134749310c9b5322', - }, - '@timestamp': '2020-03-23T16:04:28.787Z', - service: { - node: { - name: - 'e948a08b8f5efe99b5da01f50da48c7d8aee3bbf4701f3da85ebe760c2ffef29', - }, - environment: 'production', - name: 'opbeans-go', - runtime: { - name: 'gc', - version: 'go1.14.1', - }, - language: { - name: 'go', - version: 'go1.14.1', - }, - version: 'None', - }, - transaction: { - id: '975c8d5bfd1dd20b', - sampled: false, - }, - timestamp: { - us: 1584975868787052, + version: 'go1.14.1', }, + version: 'None', }, - { - parent: { - id: '6fb0ff7365b87298', - }, - agent: { - name: 'python', - version: '5.5.2', - }, - error: { - culprit: 'logrusMiddleware', - log: { - level: 'error', - message: 'GET //api/products (502)', - }, - id: '1f3cb98206b5c54225cb7c8908a658d2', - grouping_key: '4dba2ff58fe6c036a5dee2ce411e512a', - }, - processor: { - name: 'error', - event: 'error', - }, - trace: { - id: '513d33fafe99bbe6134749310c9b5322', - }, - '@timestamp': '2020-03-23T16:04:28.790Z', - service: { - node: { - name: - 'e948a08b8f5efe99b5da01f50da48c7d8aee3bbf4701f3da85ebe760c2ffef29', - }, - environment: 'production', - name: 'opbeans-python', - runtime: { - name: 'gc', - version: 'go1.14.1', - }, - version: 'None', - }, - transaction: { - id: '6fb0ff7365b87298', - sampled: false, - }, - timestamp: { - us: 1584975868790000, - }, + transaction: { + id: '975c8d5bfd1dd20b', + sampled: false, + }, + timestamp: { + us: 1584975868787052, }, - ], - }, - errorsPerTransaction: { - '975c8d5bfd1dd20b': 1, - '6fb0ff7365b87298': 1, - }, -}; + }, + { + parent: { + id: '6fb0ff7365b87298', + }, + agent: { + name: 'python', + version: '5.5.2', + }, + error: { + culprit: 'logrusMiddleware', + log: { + level: 'error', + message: 'GET //api/products (502)', + }, + id: '1f3cb98206b5c54225cb7c8908a658d2', + grouping_key: '4dba2ff58fe6c036a5dee2ce411e512a', + }, + processor: { + name: 'error', + event: 'error', + }, + trace: { + id: '513d33fafe99bbe6134749310c9b5322', + }, + '@timestamp': '2020-03-23T16:04:28.790Z', + service: { + node: { + name: + 'e948a08b8f5efe99b5da01f50da48c7d8aee3bbf4701f3da85ebe760c2ffef29', + }, + environment: 'production', + name: 'opbeans-python', + runtime: { + name: 'gc', + version: 'go1.14.1', + }, + version: 'None', + }, + transaction: { + id: '6fb0ff7365b87298', + sampled: false, + }, + timestamp: { + us: 1584975868790000, + }, + }, + ], +} as unknown) as TraceAPIResponse; export const traceChildStartBeforeParent = { - trace: { - items: [ - { - container: { - id: - '4cf84d094553201997ddb7fea344b7c6ef18dcb8233eba39278946ee8449794e', - }, - process: { - pid: 6, - title: '/usr/lib/jvm/java-10-openjdk-amd64/bin/java', - ppid: 1, - }, - agent: { - name: 'java', - ephemeral_id: '99ce8403-5875-4945-b074-d37dc10563eb', - version: '1.14.1-SNAPSHOT', - }, - internal: { - sampler: { - value: 46, - }, - }, - source: { - ip: '172.19.0.13', - }, - processor: { - name: 'transaction', - event: 'transaction', - }, - url: { - path: '/api/orders', - scheme: 'http', - port: 3000, - domain: '172.19.0.9', - full: 'http://172.19.0.9:3000/api/orders', - }, - observer: { - hostname: 'f37f48d8b60b', - id: 'd8522e1f-be8e-43c2-b290-ac6b6c0f171e', - ephemeral_id: '6ed88f14-170e-478d-a4f5-ea5e7f4b16b9', - type: 'apm-server', - version: '8.0.0', - version_major: 8, - }, - trace: { - id: '513d33fafe99bbe6134749310c9b5322', - }, - '@timestamp': '2020-03-23T15:04:28.785Z', - ecs: { - version: '1.4.0', - }, - service: { - node: { - name: - '4cf84d094553201997ddb7fea344b7c6ef18dcb8233eba39278946ee8449794e', - }, - environment: 'production', - name: 'opbeans-java', - runtime: { - name: 'Java', - version: '10.0.2', - }, - language: { - name: 'Java', - version: '10.0.2', - }, - version: 'None', - }, - host: { - hostname: '4cf84d094553', - os: { - platform: 'Linux', - }, - ip: '172.19.0.9', - name: '4cf84d094553', - architecture: 'amd64', + traceDocs: [ + { + container: { + id: '4cf84d094553201997ddb7fea344b7c6ef18dcb8233eba39278946ee8449794e', + }, + process: { + pid: 6, + title: '/usr/lib/jvm/java-10-openjdk-amd64/bin/java', + ppid: 1, + }, + agent: { + name: 'java', + ephemeral_id: '99ce8403-5875-4945-b074-d37dc10563eb', + version: '1.14.1-SNAPSHOT', + }, + internal: { + sampler: { + value: 46, }, - http: { - request: { - headers: { - Accept: ['*/*'], - 'User-Agent': ['Python/3.7 aiohttp/3.3.2'], - Host: ['172.19.0.9:3000'], - 'Accept-Encoding': ['gzip, deflate'], - }, - method: 'get', - socket: { - encrypted: false, - remote_address: '172.19.0.13', - }, - body: { - original: '[REDACTED]', - }, - }, - response: { - headers: { - 'Transfer-Encoding': ['chunked'], - Date: ['Mon, 23 Mar 2020 15:04:28 GMT'], - 'Content-Type': ['application/json;charset=ISO-8859-1'], - }, - status_code: 200, - finished: true, - headers_sent: true, - }, - version: '1.1', + }, + source: { + ip: '172.19.0.13', + }, + processor: { + name: 'transaction', + event: 'transaction', + }, + url: { + path: '/api/orders', + scheme: 'http', + port: 3000, + domain: '172.19.0.9', + full: 'http://172.19.0.9:3000/api/orders', + }, + observer: { + hostname: 'f37f48d8b60b', + id: 'd8522e1f-be8e-43c2-b290-ac6b6c0f171e', + ephemeral_id: '6ed88f14-170e-478d-a4f5-ea5e7f4b16b9', + type: 'apm-server', + version: '8.0.0', + version_major: 8, + }, + trace: { + id: '513d33fafe99bbe6134749310c9b5322', + }, + '@timestamp': '2020-03-23T15:04:28.785Z', + ecs: { + version: '1.4.0', + }, + service: { + node: { + name: + '4cf84d094553201997ddb7fea344b7c6ef18dcb8233eba39278946ee8449794e', }, - client: { - ip: '172.19.0.13', + environment: 'production', + name: 'opbeans-java', + runtime: { + name: 'Java', + version: '10.0.2', }, - transaction: { - duration: { - us: 18842, - }, - result: 'HTTP 2xx', - name: 'DispatcherServlet#doGet', - id: '49809ad3c26adf74', - span_count: { - dropped: 0, - started: 1, - }, - type: 'request', - sampled: true, + language: { + name: 'Java', + version: '10.0.2', }, - user_agent: { - original: 'Python/3.7 aiohttp/3.3.2', + version: 'None', + }, + host: { + hostname: '4cf84d094553', + os: { + platform: 'Linux', + }, + ip: '172.19.0.9', + name: '4cf84d094553', + architecture: 'amd64', + }, + http: { + request: { + headers: { + Accept: ['*/*'], + 'User-Agent': ['Python/3.7 aiohttp/3.3.2'], + Host: ['172.19.0.9:3000'], + 'Accept-Encoding': ['gzip, deflate'], + }, + method: 'get', + socket: { + encrypted: false, + remote_address: '172.19.0.13', + }, + body: { + original: '[REDACTED]', + }, + }, + response: { + headers: { + 'Transfer-Encoding': ['chunked'], + Date: ['Mon, 23 Mar 2020 15:04:28 GMT'], + 'Content-Type': ['application/json;charset=ISO-8859-1'], + }, + status_code: 200, + finished: true, + headers_sent: true, + }, + version: '1.1', + }, + client: { + ip: '172.19.0.13', + }, + transaction: { + duration: { + us: 18842, + }, + result: 'HTTP 2xx', + name: 'DispatcherServlet#doGet', + id: '49809ad3c26adf74', + span_count: { + dropped: 0, + started: 1, + }, + type: 'request', + sampled: true, + }, + user_agent: { + original: 'Python/3.7 aiohttp/3.3.2', + name: 'Other', + device: { name: 'Other', - device: { - name: 'Other', - }, - }, - timestamp: { - us: 1584975868785000, }, }, - { - parent: { - id: 'fc107f7b556eb49b', - }, - agent: { + timestamp: { + us: 1584975868785000, + }, + }, + { + parent: { + id: 'fc107f7b556eb49b', + }, + agent: { + name: 'go', + version: '1.7.2', + }, + processor: { + name: 'transaction', + event: 'transaction', + }, + url: { + path: '/api/orders', + scheme: 'http', + port: 3000, + domain: 'opbeans-go', + full: 'http://opbeans-go:3000/api/orders', + }, + trace: { + id: '513d33fafe99bbe6134749310c9b5322', + }, + '@timestamp': '2020-03-23T15:04:28.787Z', + service: { + node: { + name: + 'e948a08b8f5efe99b5da01f50da48c7d8aee3bbf4701f3da85ebe760c2ffef29', + }, + environment: 'production', + framework: { + name: 'gin', + version: 'v1.4.0', + }, + name: 'opbeans-go', + runtime: { + name: 'gc', + version: 'go1.14.1', + }, + language: { name: 'go', - version: '1.7.2', - }, - processor: { - name: 'transaction', - event: 'transaction', - }, - url: { - path: '/api/orders', - scheme: 'http', - port: 3000, - domain: 'opbeans-go', - full: 'http://opbeans-go:3000/api/orders', - }, - trace: { - id: '513d33fafe99bbe6134749310c9b5322', - }, - '@timestamp': '2020-03-23T15:04:28.787Z', - service: { - node: { - name: - 'e948a08b8f5efe99b5da01f50da48c7d8aee3bbf4701f3da85ebe760c2ffef29', - }, - environment: 'production', - framework: { - name: 'gin', - version: 'v1.4.0', - }, - name: 'opbeans-go', - runtime: { - name: 'gc', - version: 'go1.14.1', - }, - language: { - name: 'go', - version: 'go1.14.1', - }, - version: 'None', + version: 'go1.14.1', }, - transaction: { - duration: { - us: 16597, - }, - result: 'HTTP 2xx', - name: 'GET /api/orders', - id: '975c8d5bfd1dd20b', - span_count: { - dropped: 0, - started: 1, - }, - type: 'request', - sampled: true, + version: 'None', + }, + transaction: { + duration: { + us: 16597, + }, + result: 'HTTP 2xx', + name: 'GET /api/orders', + id: '975c8d5bfd1dd20b', + span_count: { + dropped: 0, + started: 1, + }, + type: 'request', + sampled: true, + }, + timestamp: { + us: 1584975868787052, + }, + }, + { + parent: { + id: 'daae24d83c269918', + }, + agent: { + name: 'python', + version: '5.5.2', + }, + trace: { + id: '513d33fafe99bbe6134749310c9b5322', + }, + timestamp: { + us: 1584975868780000, + }, + processor: { + name: 'transaction', + event: 'transaction', + }, + url: { + path: '/api/orders', + scheme: 'http', + port: 3000, + domain: 'opbeans-go', + full: 'http://opbeans-go:3000/api/orders', + }, + '@timestamp': '2020-03-23T15:04:28.788Z', + service: { + node: { + name: + 'a636915f1f6eec81ab44342b13a3ea9597ef03a24391e4e55f34ae2e20b30f51', }, - timestamp: { - us: 1584975868787052, + environment: 'production', + framework: { + name: 'django', + version: '2.1.13', }, - }, - { - parent: { - id: 'daae24d83c269918', + name: 'opbeans-python', + runtime: { + name: 'CPython', + version: '3.6.10', }, - agent: { + language: { name: 'python', - version: '5.5.2', - }, - trace: { - id: '513d33fafe99bbe6134749310c9b5322', - }, - timestamp: { - us: 1584975868780000, - }, - processor: { - name: 'transaction', - event: 'transaction', - }, - url: { - path: '/api/orders', - scheme: 'http', - port: 3000, - domain: 'opbeans-go', - full: 'http://opbeans-go:3000/api/orders', - }, - '@timestamp': '2020-03-23T15:04:28.788Z', - service: { - node: { - name: - 'a636915f1f6eec81ab44342b13a3ea9597ef03a24391e4e55f34ae2e20b30f51', - }, - environment: 'production', - framework: { - name: 'django', - version: '2.1.13', - }, - name: 'opbeans-python', - runtime: { - name: 'CPython', - version: '3.6.10', - }, - language: { - name: 'python', - version: '3.6.10', - }, - version: 'None', + version: '3.6.10', }, - transaction: { - result: 'HTTP 2xx', - duration: { - us: 1464, - }, - name: 'I started before my parent 😰', - span_count: { - dropped: 0, - started: 1, - }, - id: '6fb0ff7365b87298', - type: 'request', - sampled: true, + version: 'None', + }, + transaction: { + result: 'HTTP 2xx', + duration: { + us: 1464, + }, + name: 'I started before my parent 😰', + span_count: { + dropped: 0, + started: 1, + }, + id: '6fb0ff7365b87298', + type: 'request', + sampled: true, + }, + }, + { + container: { + id: '4cf84d094553201997ddb7fea344b7c6ef18dcb8233eba39278946ee8449794e', + }, + parent: { + id: '49809ad3c26adf74', + }, + process: { + pid: 6, + title: '/usr/lib/jvm/java-10-openjdk-amd64/bin/java', + ppid: 1, + }, + agent: { + name: 'java', + ephemeral_id: '99ce8403-5875-4945-b074-d37dc10563eb', + version: '1.14.1-SNAPSHOT', + }, + internal: { + sampler: { + value: 44, }, }, - { - container: { - id: + destination: { + address: 'opbeans-go', + port: 3000, + }, + processor: { + name: 'transaction', + event: 'span', + }, + observer: { + hostname: 'f37f48d8b60b', + id: 'd8522e1f-be8e-43c2-b290-ac6b6c0f171e', + type: 'apm-server', + ephemeral_id: '6ed88f14-170e-478d-a4f5-ea5e7f4b16b9', + version: '8.0.0', + version_major: 8, + }, + trace: { + id: '513d33fafe99bbe6134749310c9b5322', + }, + '@timestamp': '2020-03-23T15:04:28.785Z', + ecs: { + version: '1.4.0', + }, + service: { + node: { + name: '4cf84d094553201997ddb7fea344b7c6ef18dcb8233eba39278946ee8449794e', }, - parent: { - id: '49809ad3c26adf74', - }, - process: { - pid: 6, - title: '/usr/lib/jvm/java-10-openjdk-amd64/bin/java', - ppid: 1, + environment: 'production', + name: 'opbeans-java', + runtime: { + name: 'Java', + version: '10.0.2', }, - agent: { - name: 'java', - ephemeral_id: '99ce8403-5875-4945-b074-d37dc10563eb', - version: '1.14.1-SNAPSHOT', + language: { + name: 'Java', + version: '10.0.2', }, - internal: { - sampler: { - value: 44, - }, + version: 'None', + }, + host: { + hostname: '4cf84d094553', + os: { + platform: 'Linux', + }, + ip: '172.19.0.9', + name: '4cf84d094553', + architecture: 'amd64', + }, + connection: { + hash: + "{service.environment:'production'}/{service.name:'opbeans-java'}/{span.subtype:'http'}/{destination.address:'opbeans-go'}/{span.type:'external'}", + }, + transaction: { + id: '49809ad3c26adf74', + }, + timestamp: { + us: 1584975868785273, + }, + span: { + duration: { + us: 17530, }, + subtype: 'http', + name: 'GET opbeans-go', destination: { - address: 'opbeans-go', - port: 3000, - }, - processor: { - name: 'transaction', - event: 'span', - }, - observer: { - hostname: 'f37f48d8b60b', - id: 'd8522e1f-be8e-43c2-b290-ac6b6c0f171e', - type: 'apm-server', - ephemeral_id: '6ed88f14-170e-478d-a4f5-ea5e7f4b16b9', - version: '8.0.0', - version_major: 8, - }, - trace: { - id: '513d33fafe99bbe6134749310c9b5322', - }, - '@timestamp': '2020-03-23T15:04:28.785Z', - ecs: { - version: '1.4.0', - }, - service: { - node: { - name: - '4cf84d094553201997ddb7fea344b7c6ef18dcb8233eba39278946ee8449794e', + service: { + resource: 'opbeans-go:3000', + name: 'http://opbeans-go:3000', + type: 'external', }, - environment: 'production', - name: 'opbeans-java', - runtime: { - name: 'Java', - version: '10.0.2', - }, - language: { - name: 'Java', - version: '10.0.2', - }, - version: 'None', - }, - host: { - hostname: '4cf84d094553', - os: { - platform: 'Linux', - }, - ip: '172.19.0.9', - name: '4cf84d094553', - architecture: 'amd64', - }, - connection: { - hash: - "{service.environment:'production'}/{service.name:'opbeans-java'}/{span.subtype:'http'}/{destination.address:'opbeans-go'}/{span.type:'external'}", - }, - transaction: { - id: '49809ad3c26adf74', }, - timestamp: { - us: 1584975868785273, - }, - span: { - duration: { - us: 17530, - }, - subtype: 'http', - name: 'GET opbeans-go', - destination: { - service: { - resource: 'opbeans-go:3000', - name: 'http://opbeans-go:3000', - type: 'external', - }, + http: { + response: { + status_code: 200, }, - http: { - response: { - status_code: 200, - }, - url: { - original: 'http://opbeans-go:3000/api/orders', - }, + url: { + original: 'http://opbeans-go:3000/api/orders', }, - id: 'fc107f7b556eb49b', - type: 'external', }, + id: 'fc107f7b556eb49b', + type: 'external', }, - { - parent: { - id: '975c8d5bfd1dd20b', - }, - agent: { + }, + { + parent: { + id: '975c8d5bfd1dd20b', + }, + agent: { + name: 'go', + version: '1.7.2', + }, + processor: { + name: 'transaction', + event: 'span', + }, + trace: { + id: '513d33fafe99bbe6134749310c9b5322', + }, + '@timestamp': '2020-03-23T15:04:28.787Z', + service: { + node: { + name: + 'e948a08b8f5efe99b5da01f50da48c7d8aee3bbf4701f3da85ebe760c2ffef29', + }, + environment: 'production', + name: 'opbeans-go', + runtime: { + name: 'gc', + version: 'go1.14.1', + }, + language: { name: 'go', - version: '1.7.2', - }, - processor: { - name: 'transaction', - event: 'span', + version: 'go1.14.1', }, - trace: { - id: '513d33fafe99bbe6134749310c9b5322', + version: 'None', + }, + transaction: { + id: '975c8d5bfd1dd20b', + }, + timestamp: { + us: 1584975868787174, + }, + span: { + duration: { + us: 16250, }, - '@timestamp': '2020-03-23T15:04:28.787Z', - service: { - node: { - name: - 'e948a08b8f5efe99b5da01f50da48c7d8aee3bbf4701f3da85ebe760c2ffef29', - }, - environment: 'production', - name: 'opbeans-go', - runtime: { - name: 'gc', - version: 'go1.14.1', - }, - language: { - name: 'go', - version: 'go1.14.1', + subtype: 'http', + destination: { + service: { + resource: 'opbeans-python:3000', + name: 'http://opbeans-python:3000', + type: 'external', }, - version: 'None', - }, - transaction: { - id: '975c8d5bfd1dd20b', }, - timestamp: { - us: 1584975868787174, - }, - span: { - duration: { - us: 16250, - }, - subtype: 'http', - destination: { - service: { - resource: 'opbeans-python:3000', - name: 'http://opbeans-python:3000', - type: 'external', - }, + name: 'I am his 👇🏻 parent 😡', + http: { + response: { + status_code: 200, }, - name: 'I am his 👇🏻 parent 😡', - http: { - response: { - status_code: 200, - }, - url: { - original: 'http://opbeans-python:3000/api/orders', - }, + url: { + original: 'http://opbeans-python:3000/api/orders', }, - id: 'daae24d83c269918', - type: 'external', }, + id: 'daae24d83c269918', + type: 'external', + }, + }, + { + container: { + id: 'a636915f1f6eec81ab44342b13a3ea9597ef03a24391e4e55f34ae2e20b30f51', }, - { - container: { - id: + parent: { + id: '6fb0ff7365b87298', + }, + agent: { + name: 'python', + version: '5.5.2', + }, + processor: { + name: 'transaction', + event: 'span', + }, + trace: { + id: '513d33fafe99bbe6134749310c9b5322', + }, + '@timestamp': '2020-03-23T15:04:28.790Z', + service: { + node: { + name: 'a636915f1f6eec81ab44342b13a3ea9597ef03a24391e4e55f34ae2e20b30f51', }, - parent: { - id: '6fb0ff7365b87298', + environment: 'production', + framework: { + name: 'django', + version: '2.1.13', }, - agent: { - name: 'python', - version: '5.5.2', + name: 'opbeans-python', + runtime: { + name: 'CPython', + version: '3.6.10', }, - processor: { - name: 'transaction', - event: 'span', + language: { + name: 'python', + version: '3.6.10', }, - trace: { - id: '513d33fafe99bbe6134749310c9b5322', + version: 'None', + }, + transaction: { + id: '6fb0ff7365b87298', + }, + timestamp: { + us: 1584975868781000, + }, + span: { + duration: { + us: 2519, }, - '@timestamp': '2020-03-23T15:04:28.790Z', - service: { - node: { - name: - 'a636915f1f6eec81ab44342b13a3ea9597ef03a24391e4e55f34ae2e20b30f51', - }, - environment: 'production', - framework: { - name: 'django', - version: '2.1.13', - }, - name: 'opbeans-python', - runtime: { - name: 'CPython', - version: '3.6.10', - }, - language: { - name: 'python', - version: '3.6.10', + subtype: 'postgresql', + name: 'I am using my parents skew 😇', + destination: { + service: { + resource: 'postgresql', + name: 'postgresql', + type: 'db', }, - version: 'None', - }, - transaction: { - id: '6fb0ff7365b87298', - }, - timestamp: { - us: 1584975868781000, }, - span: { - duration: { - us: 2519, - }, - subtype: 'postgresql', - name: 'I am using my parents skew 😇', - destination: { - service: { - resource: 'postgresql', - name: 'postgresql', - type: 'db', - }, - }, - action: 'query', - id: 'c9407abb4d08ead1', - type: 'db', - sync: true, - db: { - statement: - 'SELECT "opbeans_order"."id", "opbeans_order"."customer_id", "opbeans_customer"."full_name", "opbeans_order"."created_at" FROM "opbeans_order" INNER JOIN "opbeans_customer" ON ("opbeans_order"."customer_id" = "opbeans_customer"."id") LIMIT 1000', - type: 'sql', - }, + action: 'query', + id: 'c9407abb4d08ead1', + type: 'db', + sync: true, + db: { + statement: + 'SELECT "opbeans_order"."id", "opbeans_order"."customer_id", "opbeans_customer"."full_name", "opbeans_order"."created_at" FROM "opbeans_order" INNER JOIN "opbeans_customer" ON ("opbeans_order"."customer_id" = "opbeans_customer"."id") LIMIT 1000', + type: 'sql', }, }, - ], - exceedsMax: false, - errorDocs: [], - }, - errorsPerTransaction: {}, -}; + }, + ], + exceedsMax: false, + errorDocs: [], +} as TraceAPIResponse; export const inferredSpans = { - trace: { - items: [ - { - container: { - id: + traceDocs: [ + { + container: { + id: 'fc2ae281f56fb84728bc9b5e6c17f3d13bbb7f4efd461158558e5c38e655abad', + }, + agent: { + name: 'java', + ephemeral_id: '1cb5c830-c677-4b13-b340-ab1502f527c3', + version: '1.15.1-SNAPSHOT', + }, + process: { + pid: 6, + title: '/opt/java/openjdk/bin/java', + ppid: 1, + }, + source: { + ip: '172.18.0.8', + }, + processor: { + name: 'transaction', + event: 'transaction', + }, + url: { + path: '/api/products/2', + scheme: 'http', + port: 3000, + domain: '172.18.0.7', + full: 'http://172.18.0.7:3000/api/products/2', + }, + observer: { + hostname: '7189f754b5a3', + id: 'f32d8d9f-a9f9-4355-8370-548dfd8024dc', + ephemeral_id: 'bff20764-0195-4f78-aa84-d799fc47b954', + type: 'apm-server', + version: '8.0.0', + version_major: 8, + }, + trace: { + id: '3b0dc77f3754e5bcb9da0e4c15e0db97', + }, + '@timestamp': '2020-04-09T11:36:00.786Z', + ecs: { + version: '1.5.0', + }, + service: { + node: { + name: 'fc2ae281f56fb84728bc9b5e6c17f3d13bbb7f4efd461158558e5c38e655abad', }, - agent: { - name: 'java', - ephemeral_id: '1cb5c830-c677-4b13-b340-ab1502f527c3', - version: '1.15.1-SNAPSHOT', - }, - process: { - pid: 6, - title: '/opt/java/openjdk/bin/java', - ppid: 1, - }, - source: { - ip: '172.18.0.8', - }, - processor: { - name: 'transaction', - event: 'transaction', - }, - url: { - path: '/api/products/2', - scheme: 'http', - port: 3000, - domain: '172.18.0.7', - full: 'http://172.18.0.7:3000/api/products/2', - }, - observer: { - hostname: '7189f754b5a3', - id: 'f32d8d9f-a9f9-4355-8370-548dfd8024dc', - ephemeral_id: 'bff20764-0195-4f78-aa84-d799fc47b954', - type: 'apm-server', - version: '8.0.0', - version_major: 8, - }, - trace: { - id: '3b0dc77f3754e5bcb9da0e4c15e0db97', - }, - '@timestamp': '2020-04-09T11:36:00.786Z', - ecs: { - version: '1.5.0', - }, - service: { - node: { - name: - 'fc2ae281f56fb84728bc9b5e6c17f3d13bbb7f4efd461158558e5c38e655abad', - }, - environment: 'production', - name: 'opbeans-java', - runtime: { - name: 'Java', - version: '11.0.6', - }, - language: { - name: 'Java', - version: '11.0.6', - }, - version: 'None', - }, - host: { - hostname: 'fc2ae281f56f', - os: { - platform: 'Linux', - }, - ip: '172.18.0.7', - name: 'fc2ae281f56f', - architecture: 'amd64', - }, - client: { - ip: '172.18.0.8', + environment: 'production', + name: 'opbeans-java', + runtime: { + name: 'Java', + version: '11.0.6', }, - http: { - request: { - headers: { - Accept: ['*/*'], - 'User-Agent': ['Python/3.7 aiohttp/3.3.2'], - Host: ['172.18.0.7:3000'], - 'Accept-Encoding': ['gzip, deflate'], - }, - method: 'get', - socket: { - encrypted: false, - remote_address: '172.18.0.8', - }, - }, - response: { - headers: { - 'Transfer-Encoding': ['chunked'], - Date: ['Thu, 09 Apr 2020 11:36:01 GMT'], - 'Content-Type': ['application/json;charset=UTF-8'], - }, - status_code: 200, - finished: true, - headers_sent: true, - }, - version: '1.1', + language: { + name: 'Java', + version: '11.0.6', }, - user_agent: { - original: 'Python/3.7 aiohttp/3.3.2', + version: 'None', + }, + host: { + hostname: 'fc2ae281f56f', + os: { + platform: 'Linux', + }, + ip: '172.18.0.7', + name: 'fc2ae281f56f', + architecture: 'amd64', + }, + client: { + ip: '172.18.0.8', + }, + http: { + request: { + headers: { + Accept: ['*/*'], + 'User-Agent': ['Python/3.7 aiohttp/3.3.2'], + Host: ['172.18.0.7:3000'], + 'Accept-Encoding': ['gzip, deflate'], + }, + method: 'get', + socket: { + encrypted: false, + remote_address: '172.18.0.8', + }, + }, + response: { + headers: { + 'Transfer-Encoding': ['chunked'], + Date: ['Thu, 09 Apr 2020 11:36:01 GMT'], + 'Content-Type': ['application/json;charset=UTF-8'], + }, + status_code: 200, + finished: true, + headers_sent: true, + }, + version: '1.1', + }, + user_agent: { + original: 'Python/3.7 aiohttp/3.3.2', + name: 'Other', + device: { name: 'Other', - device: { - name: 'Other', - }, - }, - transaction: { - duration: { - us: 237537, - }, - result: 'HTTP 2xx', - name: 'APIRestController#product', - span_count: { - dropped: 0, - started: 3, - }, - id: 'f2387d37260d00bd', - type: 'request', - sampled: true, - }, - timestamp: { - us: 1586432160786001, }, }, - { - container: { - id: + transaction: { + duration: { + us: 237537, + }, + result: 'HTTP 2xx', + name: 'APIRestController#product', + span_count: { + dropped: 0, + started: 3, + }, + id: 'f2387d37260d00bd', + type: 'request', + sampled: true, + }, + timestamp: { + us: 1586432160786001, + }, + }, + { + container: { + id: 'fc2ae281f56fb84728bc9b5e6c17f3d13bbb7f4efd461158558e5c38e655abad', + }, + parent: { + id: 'f2387d37260d00bd', + }, + agent: { + name: 'java', + ephemeral_id: '1cb5c830-c677-4b13-b340-ab1502f527c3', + version: '1.15.1-SNAPSHOT', + }, + process: { + pid: 6, + title: '/opt/java/openjdk/bin/java', + ppid: 1, + }, + processor: { + name: 'transaction', + event: 'span', + }, + observer: { + hostname: '7189f754b5a3', + id: 'f32d8d9f-a9f9-4355-8370-548dfd8024dc', + ephemeral_id: 'bff20764-0195-4f78-aa84-d799fc47b954', + type: 'apm-server', + version: '8.0.0', + version_major: 8, + }, + trace: { + id: '3b0dc77f3754e5bcb9da0e4c15e0db97', + }, + '@timestamp': '2020-04-09T11:36:00.810Z', + ecs: { + version: '1.5.0', + }, + service: { + node: { + name: 'fc2ae281f56fb84728bc9b5e6c17f3d13bbb7f4efd461158558e5c38e655abad', }, - parent: { - id: 'f2387d37260d00bd', - }, - agent: { - name: 'java', - ephemeral_id: '1cb5c830-c677-4b13-b340-ab1502f527c3', - version: '1.15.1-SNAPSHOT', - }, - process: { - pid: 6, - title: '/opt/java/openjdk/bin/java', - ppid: 1, - }, - processor: { - name: 'transaction', - event: 'span', - }, - observer: { - hostname: '7189f754b5a3', - id: 'f32d8d9f-a9f9-4355-8370-548dfd8024dc', - ephemeral_id: 'bff20764-0195-4f78-aa84-d799fc47b954', - type: 'apm-server', - version: '8.0.0', - version_major: 8, - }, - trace: { - id: '3b0dc77f3754e5bcb9da0e4c15e0db97', - }, - '@timestamp': '2020-04-09T11:36:00.810Z', - ecs: { - version: '1.5.0', - }, - service: { - node: { - name: - 'fc2ae281f56fb84728bc9b5e6c17f3d13bbb7f4efd461158558e5c38e655abad', - }, - environment: 'production', - name: 'opbeans-java', - runtime: { - name: 'Java', - version: '11.0.6', - }, - language: { - name: 'Java', - version: '11.0.6', - }, - version: 'None', - }, - host: { - hostname: 'fc2ae281f56f', - os: { - platform: 'Linux', - }, - ip: '172.18.0.7', - name: 'fc2ae281f56f', - architecture: 'amd64', - }, - transaction: { - id: 'f2387d37260d00bd', - }, - span: { - duration: { - us: 204574, - }, - subtype: 'inferred', - name: 'ServletInvocableHandlerMethod#invokeAndHandle', - id: 'a5df600bd7bd5e38', - type: 'app', + environment: 'production', + name: 'opbeans-java', + runtime: { + name: 'Java', + version: '11.0.6', }, - timestamp: { - us: 1586432160810441, + language: { + name: 'Java', + version: '11.0.6', }, + version: 'None', + }, + host: { + hostname: 'fc2ae281f56f', + os: { + platform: 'Linux', + }, + ip: '172.18.0.7', + name: 'fc2ae281f56f', + architecture: 'amd64', + }, + transaction: { + id: 'f2387d37260d00bd', + }, + span: { + duration: { + us: 204574, + }, + subtype: 'inferred', + name: 'ServletInvocableHandlerMethod#invokeAndHandle', + id: 'a5df600bd7bd5e38', + type: 'app', }, - { - container: { - id: + timestamp: { + us: 1586432160810441, + }, + }, + { + container: { + id: 'fc2ae281f56fb84728bc9b5e6c17f3d13bbb7f4efd461158558e5c38e655abad', + }, + parent: { + id: 'a5df600bd7bd5e38', + }, + agent: { + name: 'java', + ephemeral_id: '1cb5c830-c677-4b13-b340-ab1502f527c3', + version: '1.15.1-SNAPSHOT', + }, + process: { + pid: 6, + title: '/opt/java/openjdk/bin/java', + ppid: 1, + }, + processor: { + name: 'transaction', + event: 'span', + }, + observer: { + hostname: '7189f754b5a3', + id: 'f32d8d9f-a9f9-4355-8370-548dfd8024dc', + type: 'apm-server', + ephemeral_id: 'bff20764-0195-4f78-aa84-d799fc47b954', + version: '8.0.0', + version_major: 8, + }, + trace: { + id: '3b0dc77f3754e5bcb9da0e4c15e0db97', + }, + '@timestamp': '2020-04-09T11:36:00.810Z', + ecs: { + version: '1.5.0', + }, + service: { + node: { + name: 'fc2ae281f56fb84728bc9b5e6c17f3d13bbb7f4efd461158558e5c38e655abad', }, - parent: { - id: 'a5df600bd7bd5e38', - }, - agent: { - name: 'java', - ephemeral_id: '1cb5c830-c677-4b13-b340-ab1502f527c3', - version: '1.15.1-SNAPSHOT', - }, - process: { - pid: 6, - title: '/opt/java/openjdk/bin/java', - ppid: 1, - }, - processor: { - name: 'transaction', - event: 'span', - }, - observer: { - hostname: '7189f754b5a3', - id: 'f32d8d9f-a9f9-4355-8370-548dfd8024dc', - type: 'apm-server', - ephemeral_id: 'bff20764-0195-4f78-aa84-d799fc47b954', - version: '8.0.0', - version_major: 8, - }, - trace: { - id: '3b0dc77f3754e5bcb9da0e4c15e0db97', - }, - '@timestamp': '2020-04-09T11:36:00.810Z', - ecs: { - version: '1.5.0', - }, - service: { - node: { - name: - 'fc2ae281f56fb84728bc9b5e6c17f3d13bbb7f4efd461158558e5c38e655abad', - }, - environment: 'production', - name: 'opbeans-java', - runtime: { - name: 'Java', - version: '11.0.6', - }, - language: { - name: 'Java', - version: '11.0.6', - }, - version: 'None', - }, - host: { - hostname: 'fc2ae281f56f', - os: { - platform: 'Linux', - }, - ip: '172.18.0.7', - name: 'fc2ae281f56f', - architecture: 'amd64', - }, - transaction: { - id: 'f2387d37260d00bd', + environment: 'production', + name: 'opbeans-java', + runtime: { + name: 'Java', + version: '11.0.6', }, - timestamp: { - us: 1586432160810441, + language: { + name: 'Java', + version: '11.0.6', }, - span: { - duration: { - us: 102993, - }, - stacktrace: [ - { - library_frame: true, - exclude_from_grouping: false, - filename: 'InvocableHandlerMethod.java', - line: { - number: -1, - }, - function: 'doInvoke', + version: 'None', + }, + host: { + hostname: 'fc2ae281f56f', + os: { + platform: 'Linux', + }, + ip: '172.18.0.7', + name: 'fc2ae281f56f', + architecture: 'amd64', + }, + transaction: { + id: 'f2387d37260d00bd', + }, + timestamp: { + us: 1586432160810441, + }, + span: { + duration: { + us: 102993, + }, + stacktrace: [ + { + library_frame: true, + exclude_from_grouping: false, + filename: 'InvocableHandlerMethod.java', + line: { + number: -1, }, - { - exclude_from_grouping: false, - library_frame: true, - filename: 'InvocableHandlerMethod.java', - line: { - number: -1, - }, - function: 'invokeForRequest', + function: 'doInvoke', + }, + { + exclude_from_grouping: false, + library_frame: true, + filename: 'InvocableHandlerMethod.java', + line: { + number: -1, }, - ], - subtype: 'inferred', - name: 'APIRestController#product', - id: '808dc34fc41ce522', - type: 'app', - }, + function: 'invokeForRequest', + }, + ], + subtype: 'inferred', + name: 'APIRestController#product', + id: '808dc34fc41ce522', + type: 'app', + }, + }, + { + container: { + id: 'fc2ae281f56fb84728bc9b5e6c17f3d13bbb7f4efd461158558e5c38e655abad', + }, + parent: { + id: 'f2387d37260d00bd', }, - { - container: { - id: + agent: { + name: 'java', + ephemeral_id: '1cb5c830-c677-4b13-b340-ab1502f527c3', + version: '1.15.1-SNAPSHOT', + }, + process: { + pid: 6, + title: '/opt/java/openjdk/bin/java', + ppid: 1, + }, + processor: { + name: 'transaction', + event: 'span', + }, + labels: { + productId: '2', + }, + observer: { + hostname: '7189f754b5a3', + id: 'f32d8d9f-a9f9-4355-8370-548dfd8024dc', + ephemeral_id: 'bff20764-0195-4f78-aa84-d799fc47b954', + type: 'apm-server', + version: '8.0.0', + version_major: 8, + }, + trace: { + id: '3b0dc77f3754e5bcb9da0e4c15e0db97', + }, + '@timestamp': '2020-04-09T11:36:00.832Z', + ecs: { + version: '1.5.0', + }, + service: { + node: { + name: 'fc2ae281f56fb84728bc9b5e6c17f3d13bbb7f4efd461158558e5c38e655abad', }, - parent: { - id: 'f2387d37260d00bd', - }, - agent: { - name: 'java', - ephemeral_id: '1cb5c830-c677-4b13-b340-ab1502f527c3', - version: '1.15.1-SNAPSHOT', - }, - process: { - pid: 6, - title: '/opt/java/openjdk/bin/java', - ppid: 1, - }, - processor: { - name: 'transaction', - event: 'span', - }, - labels: { - productId: '2', - }, - observer: { - hostname: '7189f754b5a3', - id: 'f32d8d9f-a9f9-4355-8370-548dfd8024dc', - ephemeral_id: 'bff20764-0195-4f78-aa84-d799fc47b954', - type: 'apm-server', - version: '8.0.0', - version_major: 8, - }, - trace: { - id: '3b0dc77f3754e5bcb9da0e4c15e0db97', - }, - '@timestamp': '2020-04-09T11:36:00.832Z', - ecs: { - version: '1.5.0', - }, - service: { - node: { - name: - 'fc2ae281f56fb84728bc9b5e6c17f3d13bbb7f4efd461158558e5c38e655abad', - }, - environment: 'production', - name: 'opbeans-java', - runtime: { - name: 'Java', - version: '11.0.6', - }, - language: { - name: 'Java', - version: '11.0.6', - }, - version: 'None', - }, - host: { - hostname: 'fc2ae281f56f', - os: { - platform: 'Linux', - }, - ip: '172.18.0.7', - name: 'fc2ae281f56f', - architecture: 'amd64', - }, - transaction: { - id: 'f2387d37260d00bd', + environment: 'production', + name: 'opbeans-java', + runtime: { + name: 'Java', + version: '11.0.6', }, - timestamp: { - us: 1586432160832300, + language: { + name: 'Java', + version: '11.0.6', }, - span: { - duration: { - us: 99295, - }, - name: 'OpenTracing product span', - id: '41226ae63af4f235', - type: 'unknown', + version: 'None', + }, + host: { + hostname: 'fc2ae281f56f', + os: { + platform: 'Linux', + }, + ip: '172.18.0.7', + name: 'fc2ae281f56f', + architecture: 'amd64', + }, + transaction: { + id: 'f2387d37260d00bd', + }, + timestamp: { + us: 1586432160832300, + }, + span: { + duration: { + us: 99295, }, - child: { id: ['8d80de06aa11a6fc'] }, + name: 'OpenTracing product span', + id: '41226ae63af4f235', + type: 'unknown', + }, + child: { id: ['8d80de06aa11a6fc'] }, + }, + { + container: { + id: 'fc2ae281f56fb84728bc9b5e6c17f3d13bbb7f4efd461158558e5c38e655abad', + }, + parent: { + id: '808dc34fc41ce522', + }, + process: { + pid: 6, + title: '/opt/java/openjdk/bin/java', + ppid: 1, + }, + agent: { + name: 'java', + ephemeral_id: '1cb5c830-c677-4b13-b340-ab1502f527c3', + version: '1.15.1-SNAPSHOT', + }, + processor: { + name: 'transaction', + event: 'span', + }, + observer: { + hostname: '7189f754b5a3', + id: 'f32d8d9f-a9f9-4355-8370-548dfd8024dc', + ephemeral_id: 'bff20764-0195-4f78-aa84-d799fc47b954', + type: 'apm-server', + version: '8.0.0', + version_major: 8, }, - { - container: { - id: + trace: { + id: '3b0dc77f3754e5bcb9da0e4c15e0db97', + }, + '@timestamp': '2020-04-09T11:36:00.859Z', + ecs: { + version: '1.5.0', + }, + service: { + node: { + name: 'fc2ae281f56fb84728bc9b5e6c17f3d13bbb7f4efd461158558e5c38e655abad', }, - parent: { - id: '808dc34fc41ce522', - }, - process: { - pid: 6, - title: '/opt/java/openjdk/bin/java', - ppid: 1, - }, - agent: { - name: 'java', - ephemeral_id: '1cb5c830-c677-4b13-b340-ab1502f527c3', - version: '1.15.1-SNAPSHOT', - }, - processor: { - name: 'transaction', - event: 'span', - }, - observer: { - hostname: '7189f754b5a3', - id: 'f32d8d9f-a9f9-4355-8370-548dfd8024dc', - ephemeral_id: 'bff20764-0195-4f78-aa84-d799fc47b954', - type: 'apm-server', - version: '8.0.0', - version_major: 8, - }, - trace: { - id: '3b0dc77f3754e5bcb9da0e4c15e0db97', - }, - '@timestamp': '2020-04-09T11:36:00.859Z', - ecs: { - version: '1.5.0', - }, - service: { - node: { - name: - 'fc2ae281f56fb84728bc9b5e6c17f3d13bbb7f4efd461158558e5c38e655abad', - }, - environment: 'production', - name: 'opbeans-java', - runtime: { - name: 'Java', - version: '11.0.6', - }, - language: { - name: 'Java', - version: '11.0.6', - }, - version: 'None', - }, - host: { - hostname: 'fc2ae281f56f', - os: { - platform: 'Linux', - }, - ip: '172.18.0.7', - name: 'fc2ae281f56f', - architecture: 'amd64', - }, - transaction: { - id: 'f2387d37260d00bd', - }, - timestamp: { - us: 1586432160859600, + environment: 'production', + name: 'opbeans-java', + runtime: { + name: 'Java', + version: '11.0.6', }, - span: { - duration: { - us: 53835, - }, - subtype: 'inferred', - name: 'Loader#executeQueryStatement', - id: '8d80de06aa11a6fc', - type: 'app', + language: { + name: 'Java', + version: '11.0.6', }, + version: 'None', + }, + host: { + hostname: 'fc2ae281f56f', + os: { + platform: 'Linux', + }, + ip: '172.18.0.7', + name: 'fc2ae281f56f', + architecture: 'amd64', + }, + transaction: { + id: 'f2387d37260d00bd', }, - { - container: { - id: + timestamp: { + us: 1586432160859600, + }, + span: { + duration: { + us: 53835, + }, + subtype: 'inferred', + name: 'Loader#executeQueryStatement', + id: '8d80de06aa11a6fc', + type: 'app', + }, + }, + { + container: { + id: 'fc2ae281f56fb84728bc9b5e6c17f3d13bbb7f4efd461158558e5c38e655abad', + }, + parent: { + id: '41226ae63af4f235', + }, + agent: { + name: 'java', + ephemeral_id: '1cb5c830-c677-4b13-b340-ab1502f527c3', + version: '1.15.1-SNAPSHOT', + }, + process: { + pid: 6, + title: '/opt/java/openjdk/bin/java', + ppid: 1, + }, + destination: { + address: 'postgres', + port: 5432, + }, + processor: { + name: 'transaction', + event: 'span', + }, + observer: { + hostname: '7189f754b5a3', + id: 'f32d8d9f-a9f9-4355-8370-548dfd8024dc', + ephemeral_id: 'bff20764-0195-4f78-aa84-d799fc47b954', + type: 'apm-server', + version: '8.0.0', + version_major: 8, + }, + trace: { + id: '3b0dc77f3754e5bcb9da0e4c15e0db97', + }, + '@timestamp': '2020-04-09T11:36:00.903Z', + ecs: { + version: '1.5.0', + }, + service: { + node: { + name: 'fc2ae281f56fb84728bc9b5e6c17f3d13bbb7f4efd461158558e5c38e655abad', }, - parent: { - id: '41226ae63af4f235', + environment: 'production', + name: 'opbeans-java', + runtime: { + name: 'Java', + version: '11.0.6', }, - agent: { - name: 'java', - ephemeral_id: '1cb5c830-c677-4b13-b340-ab1502f527c3', - version: '1.15.1-SNAPSHOT', + language: { + name: 'Java', + version: '11.0.6', }, - process: { - pid: 6, - title: '/opt/java/openjdk/bin/java', - ppid: 1, + version: 'None', + }, + host: { + hostname: 'fc2ae281f56f', + os: { + platform: 'Linux', + }, + ip: '172.18.0.7', + name: 'fc2ae281f56f', + architecture: 'amd64', + }, + transaction: { + id: 'f2387d37260d00bd', + }, + timestamp: { + us: 1586432160903236, + }, + span: { + duration: { + us: 10211, }, + subtype: 'postgresql', destination: { - address: 'postgres', - port: 5432, - }, - processor: { - name: 'transaction', - event: 'span', - }, - observer: { - hostname: '7189f754b5a3', - id: 'f32d8d9f-a9f9-4355-8370-548dfd8024dc', - ephemeral_id: 'bff20764-0195-4f78-aa84-d799fc47b954', - type: 'apm-server', - version: '8.0.0', - version_major: 8, - }, - trace: { - id: '3b0dc77f3754e5bcb9da0e4c15e0db97', - }, - '@timestamp': '2020-04-09T11:36:00.903Z', - ecs: { - version: '1.5.0', - }, - service: { - node: { - name: - 'fc2ae281f56fb84728bc9b5e6c17f3d13bbb7f4efd461158558e5c38e655abad', - }, - environment: 'production', - name: 'opbeans-java', - runtime: { - name: 'Java', - version: '11.0.6', - }, - language: { - name: 'Java', - version: '11.0.6', - }, - version: 'None', - }, - host: { - hostname: 'fc2ae281f56f', - os: { - platform: 'Linux', + service: { + resource: 'postgresql', + name: 'postgresql', + type: 'db', }, - ip: '172.18.0.7', - name: 'fc2ae281f56f', - architecture: 'amd64', - }, - transaction: { - id: 'f2387d37260d00bd', - }, - timestamp: { - us: 1586432160903236, }, - span: { - duration: { - us: 10211, - }, - subtype: 'postgresql', - destination: { - service: { - resource: 'postgresql', - name: 'postgresql', - type: 'db', - }, - }, - name: 'SELECT FROM products', - action: 'query', - id: '3708d5623658182f', - type: 'db', - db: { - statement: - 'select product0_.id as col_0_0_, product0_.sku as col_1_0_, product0_.name as col_2_0_, product0_.description as col_3_0_, product0_.cost as col_4_0_, product0_.selling_price as col_5_0_, product0_.stock as col_6_0_, producttyp1_.id as col_7_0_, producttyp1_.name as col_8_0_, (select sum(orderline2_.amount) from order_lines orderline2_ where orderline2_.product_id=product0_.id) as col_9_0_ from products product0_ left outer join product_types producttyp1_ on product0_.type_id=producttyp1_.id where product0_.id=?', - type: 'sql', - user: { - name: 'postgres', - }, + name: 'SELECT FROM products', + action: 'query', + id: '3708d5623658182f', + type: 'db', + db: { + statement: + 'select product0_.id as col_0_0_, product0_.sku as col_1_0_, product0_.name as col_2_0_, product0_.description as col_3_0_, product0_.cost as col_4_0_, product0_.selling_price as col_5_0_, product0_.stock as col_6_0_, producttyp1_.id as col_7_0_, producttyp1_.name as col_8_0_, (select sum(orderline2_.amount) from order_lines orderline2_ where orderline2_.product_id=product0_.id) as col_9_0_ from products product0_ left outer join product_types producttyp1_ on product0_.type_id=producttyp1_.id where product0_.id=?', + type: 'sql', + user: { + name: 'postgres', }, }, }, - { - container: { - id: + }, + { + container: { + id: 'fc2ae281f56fb84728bc9b5e6c17f3d13bbb7f4efd461158558e5c38e655abad', + }, + parent: { + id: '41226ae63af4f235', + }, + process: { + pid: 6, + title: '/opt/java/openjdk/bin/java', + ppid: 1, + }, + agent: { + name: 'java', + ephemeral_id: '1cb5c830-c677-4b13-b340-ab1502f527c3', + version: '1.15.1-SNAPSHOT', + }, + destination: { + address: 'postgres', + port: 5432, + }, + processor: { + name: 'transaction', + event: 'span', + }, + observer: { + hostname: '7189f754b5a3', + id: 'f32d8d9f-a9f9-4355-8370-548dfd8024dc', + ephemeral_id: 'bff20764-0195-4f78-aa84-d799fc47b954', + type: 'apm-server', + version: '8.0.0', + version_major: 8, + }, + trace: { + id: '3b0dc77f3754e5bcb9da0e4c15e0db97', + }, + '@timestamp': '2020-04-09T11:36:00.859Z', + ecs: { + version: '1.5.0', + }, + service: { + node: { + name: 'fc2ae281f56fb84728bc9b5e6c17f3d13bbb7f4efd461158558e5c38e655abad', }, - parent: { - id: '41226ae63af4f235', + environment: 'production', + name: 'opbeans-java', + runtime: { + name: 'Java', + version: '11.0.6', }, - process: { - pid: 6, - title: '/opt/java/openjdk/bin/java', - ppid: 1, + language: { + name: 'Java', + version: '11.0.6', }, - agent: { - name: 'java', - ephemeral_id: '1cb5c830-c677-4b13-b340-ab1502f527c3', - version: '1.15.1-SNAPSHOT', + version: 'None', + }, + host: { + hostname: 'fc2ae281f56f', + os: { + platform: 'Linux', + }, + ip: '172.18.0.7', + name: 'fc2ae281f56f', + architecture: 'amd64', + }, + transaction: { + id: 'f2387d37260d00bd', + }, + timestamp: { + us: 1586432160859508, + }, + span: { + duration: { + us: 4503, }, + subtype: 'postgresql', destination: { - address: 'postgres', - port: 5432, - }, - processor: { - name: 'transaction', - event: 'span', - }, - observer: { - hostname: '7189f754b5a3', - id: 'f32d8d9f-a9f9-4355-8370-548dfd8024dc', - ephemeral_id: 'bff20764-0195-4f78-aa84-d799fc47b954', - type: 'apm-server', - version: '8.0.0', - version_major: 8, - }, - trace: { - id: '3b0dc77f3754e5bcb9da0e4c15e0db97', - }, - '@timestamp': '2020-04-09T11:36:00.859Z', - ecs: { - version: '1.5.0', - }, - service: { - node: { - name: - 'fc2ae281f56fb84728bc9b5e6c17f3d13bbb7f4efd461158558e5c38e655abad', - }, - environment: 'production', - name: 'opbeans-java', - runtime: { - name: 'Java', - version: '11.0.6', - }, - language: { - name: 'Java', - version: '11.0.6', - }, - version: 'None', - }, - host: { - hostname: 'fc2ae281f56f', - os: { - platform: 'Linux', + service: { + resource: 'postgresql', + name: 'postgresql', + type: 'db', }, - ip: '172.18.0.7', - name: 'fc2ae281f56f', - architecture: 'amd64', }, - transaction: { - id: 'f2387d37260d00bd', - }, - timestamp: { - us: 1586432160859508, - }, - span: { - duration: { - us: 4503, - }, - subtype: 'postgresql', - destination: { - service: { - resource: 'postgresql', - name: 'postgresql', - type: 'db', - }, - }, - name: 'empty query', - action: 'query', - id: '9871cfd612368932', - type: 'db', - db: { - rows_affected: 0, - statement: '(empty query)', - type: 'sql', - user: { - name: 'postgres', - }, + name: 'empty query', + action: 'query', + id: '9871cfd612368932', + type: 'db', + db: { + rows_affected: 0, + statement: '(empty query)', + type: 'sql', + user: { + name: 'postgres', }, }, }, - ], - exceedsMax: false, - errorDocs: [], - }, - errorsPerTransaction: {}, -}; + }, + ], + exceedsMax: false, + errorDocs: [], +} as TraceAPIResponse; diff --git a/x-pack/plugins/apm/public/components/app/transaction_link/index.tsx b/x-pack/plugins/apm/public/components/app/transaction_link/index.tsx index 25cbf2d319587..468a90f6b17de 100644 --- a/x-pack/plugins/apm/public/components/app/transaction_link/index.tsx +++ b/x-pack/plugins/apm/public/components/app/transaction_link/index.tsx @@ -22,7 +22,7 @@ export function TransactionLink() { const { path: { transactionId }, query: { rangeFrom, rangeTo }, - } = useApmParams('/link-to/transaction/:transactionId'); + } = useApmParams('/link-to/transaction/{transactionId}'); const { data = { transaction: null }, status } = useFetcher( (callApmApi) => { diff --git a/x-pack/plugins/apm/public/components/app/transaction_overview/index.tsx b/x-pack/plugins/apm/public/components/app/transaction_overview/index.tsx index 571ba99d9bf08..a1362f7373e2a 100644 --- a/x-pack/plugins/apm/public/components/app/transaction_overview/index.tsx +++ b/x-pack/plugins/apm/public/components/app/transaction_overview/index.tsx @@ -26,7 +26,7 @@ export function TransactionOverview() { rangeTo, transactionType: transactionTypeFromUrl, }, - } = useApmParams('/services/:serviceName/transactions'); + } = useApmParams('/services/{serviceName}/transactions'); const { start, end } = useTimeRange({ rangeFrom, rangeTo }); diff --git a/x-pack/plugins/apm/public/components/routing/apm_route_config.tsx b/x-pack/plugins/apm/public/components/routing/apm_route_config.tsx index b751ef3f71190..5377cb81b372e 100644 --- a/x-pack/plugins/apm/public/components/routing/apm_route_config.tsx +++ b/x-pack/plugins/apm/public/components/routing/apm_route_config.tsx @@ -21,7 +21,7 @@ import { settings } from './settings'; */ const apmRoutes = route([ { - path: '/link-to/transaction/:transactionId', + path: '/link-to/transaction/{transactionId}', element: , params: t.intersection([ t.type({ @@ -38,7 +38,7 @@ const apmRoutes = route([ ]), }, { - path: '/link-to/trace/:traceId', + path: '/link-to/trace/{traceId}', element: , params: t.intersection([ t.type({ diff --git a/x-pack/plugins/apm/public/components/routing/home/index.tsx b/x-pack/plugins/apm/public/components/routing/home/index.tsx index 1430f5d8e4756..1736a22e9b540 100644 --- a/x-pack/plugins/apm/public/components/routing/home/index.tsx +++ b/x-pack/plugins/apm/public/components/routing/home/index.tsx @@ -104,7 +104,7 @@ export const home = { }), children: [ { - path: '/:backendName/overview', + path: '/backends/{backendName}/overview', element: , params: t.type({ path: t.type({ @@ -113,7 +113,7 @@ export const home = { }), }, page({ - path: '/', + path: '/backends', title: DependenciesInventoryTitle, element: , }), diff --git a/x-pack/plugins/apm/public/components/routing/service_detail/apm_service_wrapper.tsx b/x-pack/plugins/apm/public/components/routing/service_detail/apm_service_wrapper.tsx index aa69aa4fa7965..ef929331f3c1c 100644 --- a/x-pack/plugins/apm/public/components/routing/service_detail/apm_service_wrapper.tsx +++ b/x-pack/plugins/apm/public/components/routing/service_detail/apm_service_wrapper.tsx @@ -15,7 +15,7 @@ export function ApmServiceWrapper() { const { path: { serviceName }, query, - } = useApmParams('/services/:serviceName'); + } = useApmParams('/services/{serviceName}'); const router = useApmRouter(); @@ -26,7 +26,7 @@ export function ApmServiceWrapper() { }, { title: serviceName, - href: router.link('/services/:serviceName', { + href: router.link('/services/{serviceName}', { query, path: { serviceName }, }), diff --git a/x-pack/plugins/apm/public/components/routing/service_detail/index.tsx b/x-pack/plugins/apm/public/components/routing/service_detail/index.tsx index 5124087369ee4..9b87cc338bb9b 100644 --- a/x-pack/plugins/apm/public/components/routing/service_detail/index.tsx +++ b/x-pack/plugins/apm/public/components/routing/service_detail/index.tsx @@ -62,7 +62,7 @@ function page({ } export const serviceDetail = { - path: '/services/:serviceName', + path: '/services/{serviceName}', element: , params: t.intersection([ t.type({ @@ -97,7 +97,7 @@ export const serviceDetail = { }, children: [ page({ - path: '/overview', + path: '/services/{serviceName}/overview', element: , tab: 'overview', title: i18n.translate('xpack.apm.views.overview.title', { @@ -110,7 +110,7 @@ export const serviceDetail = { }), { ...page({ - path: '/transactions', + path: '/services/{serviceName}/transactions', tab: 'transactions', title: i18n.translate('xpack.apm.views.transactions.title', { defaultMessage: 'Transactions', @@ -123,7 +123,7 @@ export const serviceDetail = { }), children: [ { - path: '/view', + path: '/services/{serviceName}/transactions/view', element: , params: t.type({ query: t.intersection([ @@ -138,13 +138,13 @@ export const serviceDetail = { }), }, { - path: '/', + path: '/services/{serviceName}/transactions', element: , }, ], }, page({ - path: '/dependencies', + path: '/services/{serviceName}/dependencies', element: , tab: 'dependencies', title: i18n.translate('xpack.apm.views.dependencies.title', { @@ -156,7 +156,7 @@ export const serviceDetail = { }), { ...page({ - path: '/errors', + path: '/services/{serviceName}/errors', tab: 'errors', title: i18n.translate('xpack.apm.views.errors.title', { defaultMessage: 'Errors', @@ -173,7 +173,7 @@ export const serviceDetail = { }), children: [ { - path: '/:groupId', + path: '/services/{serviceName}/errors/{groupId}', element: , params: t.type({ path: t.type({ @@ -182,13 +182,13 @@ export const serviceDetail = { }), }, { - path: '/', + path: '/services/{serviceName}/errors', element: , }, ], }, page({ - path: '/metrics', + path: '/services/{serviceName}/metrics', tab: 'metrics', title: i18n.translate('xpack.apm.views.metrics.title', { defaultMessage: 'Metrics', @@ -197,7 +197,7 @@ export const serviceDetail = { }), { ...page({ - path: '/nodes', + path: '/services/{serviceName}/nodes', tab: 'nodes', title: i18n.translate('xpack.apm.views.nodes.title', { defaultMessage: 'JVMs', @@ -206,7 +206,7 @@ export const serviceDetail = { }), children: [ { - path: '/:serviceNodeName/metrics', + path: '/services/{serviceName}/nodes/{serviceNodeName}/metrics', element: , params: t.type({ path: t.type({ @@ -215,7 +215,7 @@ export const serviceDetail = { }), }, { - path: '/', + path: '/services/{serviceName}/nodes', element: , params: t.partial({ query: t.partial({ @@ -229,7 +229,7 @@ export const serviceDetail = { ], }, page({ - path: '/service-map', + path: '/services/{serviceName}/service-map', tab: 'service-map', title: i18n.translate('xpack.apm.views.serviceMap.title', { defaultMessage: 'Service Map', @@ -240,7 +240,7 @@ export const serviceDetail = { }, }), page({ - path: '/logs', + path: '/services/{serviceName}/logs', tab: 'logs', title: i18n.translate('xpack.apm.views.logs.title', { defaultMessage: 'Logs', @@ -251,7 +251,7 @@ export const serviceDetail = { }, }), page({ - path: '/profiling', + path: '/services/{serviceName}/profiling', tab: 'profiling', title: i18n.translate('xpack.apm.views.serviceProfiling.title', { defaultMessage: 'Profiling', @@ -259,7 +259,7 @@ export const serviceDetail = { element: , }), { - path: '/', + path: '/services/{serviceName}/', element: , }, ], diff --git a/x-pack/plugins/apm/public/components/routing/service_detail/redirect_to_default_service_route_view.tsx b/x-pack/plugins/apm/public/components/routing/service_detail/redirect_to_default_service_route_view.tsx index 66595430f618d..1cd61ef6e9243 100644 --- a/x-pack/plugins/apm/public/components/routing/service_detail/redirect_to_default_service_route_view.tsx +++ b/x-pack/plugins/apm/public/components/routing/service_detail/redirect_to_default_service_route_view.tsx @@ -13,7 +13,7 @@ export function RedirectToDefaultServiceRouteView() { const { path: { serviceName }, query, - } = useApmParams('/services/:serviceName/*'); + } = useApmParams('/services/{serviceName}/*'); const search = qs.stringify(query); diff --git a/x-pack/plugins/apm/public/components/routing/settings/index.tsx b/x-pack/plugins/apm/public/components/routing/settings/index.tsx index e844f05050d17..e33f60e5593b0 100644 --- a/x-pack/plugins/apm/public/components/routing/settings/index.tsx +++ b/x-pack/plugins/apm/public/components/routing/settings/index.tsx @@ -58,7 +58,7 @@ export const settings = { ), children: [ page({ - path: '/agent-configuration', + path: '/settings/agent-configuration', tab: 'agent-configurations', title: i18n.translate( 'xpack.apm.views.settings.agentConfiguration.title', @@ -68,7 +68,7 @@ export const settings = { }), { ...page({ - path: '/agent-configuration/create', + path: '/settings/agent-configuration/create', title: i18n.translate( 'xpack.apm.views.settings.createAgentConfiguration.title', { defaultMessage: 'Create Agent Configuration' } @@ -84,7 +84,7 @@ export const settings = { }, { ...page({ - path: '/agent-configuration/edit', + path: '/settings/agent-configuration/edit', title: i18n.translate( 'xpack.apm.views.settings.editAgentConfiguration.title', { defaultMessage: 'Edit Agent Configuration' } @@ -101,7 +101,7 @@ export const settings = { }), }, page({ - path: '/apm-indices', + path: '/settings/apm-indices', title: i18n.translate('xpack.apm.views.settings.indices.title', { defaultMessage: 'Indices', }), @@ -109,7 +109,7 @@ export const settings = { element: , }), page({ - path: '/customize-ui', + path: '/settings/customize-ui', title: i18n.translate('xpack.apm.views.settings.customizeUI.title', { defaultMessage: 'Customize app', }), @@ -117,7 +117,7 @@ export const settings = { element: , }), page({ - path: '/schema', + path: '/settings/schema', title: i18n.translate('xpack.apm.views.settings.schema.title', { defaultMessage: 'Schema', }), @@ -125,7 +125,7 @@ export const settings = { tab: 'schema', }), page({ - path: '/anomaly-detection', + path: '/settings/anomaly-detection', title: i18n.translate('xpack.apm.views.settings.anomalyDetection.title', { defaultMessage: 'Anomaly detection', }), @@ -133,7 +133,7 @@ export const settings = { tab: 'anomaly-detection', }), { - path: '/', + path: '/settings', element: , }, ], diff --git a/x-pack/plugins/apm/public/components/routing/templates/apm_main_template.tsx b/x-pack/plugins/apm/public/components/routing/templates/apm_main_template.tsx index 2a1ccd00e5a71..f4494f1841ba3 100644 --- a/x-pack/plugins/apm/public/components/routing/templates/apm_main_template.tsx +++ b/x-pack/plugins/apm/public/components/routing/templates/apm_main_template.tsx @@ -8,8 +8,10 @@ import { EuiPageHeaderProps, EuiPageTemplateProps } from '@elastic/eui'; import React from 'react'; import { useKibana } from '../../../../../../../src/plugins/kibana_react/public'; +import { useFetcher } from '../../../hooks/use_fetcher'; import { ApmPluginStartDeps } from '../../../plugin'; import { ApmEnvironmentFilter } from '../../shared/EnvironmentFilter'; +import { getNoDataConfig } from './no_data_config'; /* * This template contains: @@ -31,12 +33,25 @@ export function ApmMainTemplate({ children: React.ReactNode; } & EuiPageTemplateProps) { const { services } = useKibana(); + const { http, docLinks } = services; + const basePath = http?.basePath.get(); const ObservabilityPageTemplate = services.observability.navigation.PageTemplate; + const { data } = useFetcher((callApmApi) => { + return callApmApi({ endpoint: 'GET /api/apm/has_data' }); + }, []); + + const noDataConfig = getNoDataConfig({ + basePath, + docsLink: docLinks!.links.observability.guide, + hasData: data?.hasData, + }); + return ( ], diff --git a/x-pack/plugins/apm/public/components/routing/templates/apm_service_template/analyze_data_button.tsx b/x-pack/plugins/apm/public/components/routing/templates/apm_service_template/analyze_data_button.tsx index 03fe39e818eaa..068d7bb1c242f 100644 --- a/x-pack/plugins/apm/public/components/routing/templates/apm_service_template/analyze_data_button.tsx +++ b/x-pack/plugins/apm/public/components/routing/templates/apm_service_template/analyze_data_button.tsx @@ -47,7 +47,7 @@ export function AnalyzeDataButton() { const { query: { rangeFrom, rangeTo, environment }, - } = useApmParams('/services/:serviceName'); + } = useApmParams('/services/{serviceName}'); const basepath = services.http?.basePath.get(); const canShowDashboard = services.application?.capabilities.dashboard.show; diff --git a/x-pack/plugins/apm/public/components/routing/templates/apm_service_template/index.tsx b/x-pack/plugins/apm/public/components/routing/templates/apm_service_template/index.tsx index bb00c631fe171..0ae718c79cf39 100644 --- a/x-pack/plugins/apm/public/components/routing/templates/apm_service_template/index.tsx +++ b/x-pack/plugins/apm/public/components/routing/templates/apm_service_template/index.tsx @@ -72,7 +72,7 @@ function TemplateWithContext({ path: { serviceName }, query, query: { rangeFrom, rangeTo }, - } = useApmParams('/services/:serviceName/*'); + } = useApmParams('/services/{serviceName}/*'); const { start, end } = useTimeRange({ rangeFrom, rangeTo }); @@ -82,7 +82,7 @@ function TemplateWithContext({ useBreadcrumb({ title, - href: router.link(`/services/:serviceName/${selectedTab}` as const, { + href: router.link(`/services/{serviceName}/${selectedTab}` as const, { path: { serviceName }, query, }), @@ -162,7 +162,7 @@ function useTabs({ selectedTab }: { selectedTab: Tab['key'] }) { const { path: { serviceName }, query: queryFromUrl, - } = useApmParams(`/services/:serviceName/${selectedTab}` as const); + } = useApmParams(`/services/{serviceName}/${selectedTab}` as const); const query = omit( queryFromUrl, @@ -175,7 +175,7 @@ function useTabs({ selectedTab }: { selectedTab: Tab['key'] }) { const tabs: Tab[] = [ { key: 'overview', - href: router.link('/services/:serviceName/overview', { + href: router.link('/services/{serviceName}/overview', { path: { serviceName }, query, }), @@ -185,7 +185,7 @@ function useTabs({ selectedTab }: { selectedTab: Tab['key'] }) { }, { key: 'transactions', - href: router.link('/services/:serviceName/transactions', { + href: router.link('/services/{serviceName}/transactions', { path: { serviceName }, query, }), @@ -195,7 +195,7 @@ function useTabs({ selectedTab }: { selectedTab: Tab['key'] }) { }, { key: 'dependencies', - href: router.link('/services/:serviceName/dependencies', { + href: router.link('/services/{serviceName}/dependencies', { path: { serviceName }, query, }), @@ -207,7 +207,7 @@ function useTabs({ selectedTab }: { selectedTab: Tab['key'] }) { }, { key: 'errors', - href: router.link('/services/:serviceName/errors', { + href: router.link('/services/{serviceName}/errors', { path: { serviceName }, query, }), @@ -217,7 +217,7 @@ function useTabs({ selectedTab }: { selectedTab: Tab['key'] }) { }, { key: 'metrics', - href: router.link('/services/:serviceName/metrics', { + href: router.link('/services/{serviceName}/metrics', { path: { serviceName }, query, }), @@ -228,7 +228,7 @@ function useTabs({ selectedTab }: { selectedTab: Tab['key'] }) { }, { key: 'nodes', - href: router.link('/services/:serviceName/nodes', { + href: router.link('/services/{serviceName}/nodes', { path: { serviceName }, query, }), @@ -239,7 +239,7 @@ function useTabs({ selectedTab }: { selectedTab: Tab['key'] }) { }, { key: 'service-map', - href: router.link('/services/:serviceName/service-map', { + href: router.link('/services/{serviceName}/service-map', { path: { serviceName }, query, }), @@ -249,7 +249,7 @@ function useTabs({ selectedTab }: { selectedTab: Tab['key'] }) { }, { key: 'logs', - href: router.link('/services/:serviceName/logs', { + href: router.link('/services/{serviceName}/logs', { path: { serviceName }, query, }), @@ -261,7 +261,7 @@ function useTabs({ selectedTab }: { selectedTab: Tab['key'] }) { }, { key: 'profiling', - href: router.link('/services/:serviceName/profiling', { + href: router.link('/services/{serviceName}/profiling', { path: { serviceName, }, diff --git a/x-pack/plugins/apm/public/components/routing/templates/no_data_config.ts b/x-pack/plugins/apm/public/components/routing/templates/no_data_config.ts new file mode 100644 index 0000000000000..868db57a0efdc --- /dev/null +++ b/x-pack/plugins/apm/public/components/routing/templates/no_data_config.ts @@ -0,0 +1,44 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { i18n } from '@kbn/i18n'; +import { KibanaPageTemplateProps } from '../../../../../../../src/plugins/kibana_react/public'; + +export function getNoDataConfig({ + docsLink, + basePath, + hasData, +}: { + docsLink: string; + basePath?: string; + hasData?: boolean; +}): KibanaPageTemplateProps['noDataConfig'] { + // Returns no data config when there is no historical data + if (hasData === false) { + return { + solution: i18n.translate('xpack.apm.noDataConfig.solutionName', { + defaultMessage: 'Observability', + }), + actions: { + beats: { + title: i18n.translate('xpack.apm.noDataConfig.beatsCard.title', { + defaultMessage: 'Add data with APM agents', + }), + description: i18n.translate( + 'xpack.apm.noDataConfig.beatsCard.description', + { + defaultMessage: + 'Use APM agents to collect APM data. We make it easy with agents for many popular languages.', + } + ), + href: basePath + `/app/home#/tutorial/apm`, + }, + }, + docsLink, + }; + } +} diff --git a/x-pack/plugins/apm/public/components/routing/templates/settings_template.test.tsx b/x-pack/plugins/apm/public/components/routing/templates/settings_template.test.tsx index d3efef4c88380..b601eb8ffcb2b 100644 --- a/x-pack/plugins/apm/public/components/routing/templates/settings_template.test.tsx +++ b/x-pack/plugins/apm/public/components/routing/templates/settings_template.test.tsx @@ -11,7 +11,7 @@ import React, { ReactNode } from 'react'; import { SettingsTemplate } from './settings_template'; import { createMemoryHistory } from 'history'; import { MemoryRouter, RouteComponentProps } from 'react-router-dom'; -import { CoreStart } from 'kibana/public'; +import { CoreStart, DocLinksStart, HttpStart } from 'kibana/public'; import { createKibanaReactContext } from 'src/plugins/kibana_react/public'; const { location } = createMemoryHistory(); @@ -25,6 +25,20 @@ const KibanaReactContext = createKibanaReactContext({ }, }, }, + http: { + basePath: { + prepend: (path: string) => `/basepath${path}`, + get: () => `/basepath`, + }, + } as HttpStart, + docLinks: ({ + DOC_LINK_VERSION: '0', + ELASTIC_WEBSITE_URL: 'https://www.elastic.co/', + links: { + apm: {}, + observability: { guide: '' }, + }, + } as unknown) as DocLinksStart, } as Partial); function Wrapper({ children }: { children?: ReactNode }) { diff --git a/x-pack/plugins/apm/public/components/shared/ImpactBar/__snapshots__/ImpactBar.test.js.snap b/x-pack/plugins/apm/public/components/shared/ImpactBar/__snapshots__/ImpactBar.test.js.snap index 87b5b68e26026..1c7b9c7662776 100644 --- a/x-pack/plugins/apm/public/components/shared/ImpactBar/__snapshots__/ImpactBar.test.js.snap +++ b/x-pack/plugins/apm/public/components/shared/ImpactBar/__snapshots__/ImpactBar.test.js.snap @@ -5,6 +5,11 @@ exports[`ImpactBar component should render with default values 1`] = ` color="primary" max={100} size="m" + style={ + Object { + "width": "96px", + } + } value={25} /> `; @@ -14,6 +19,11 @@ exports[`ImpactBar component should render with overridden values 1`] = ` color="danger" max={5} size="s" + style={ + Object { + "width": "96px", + } + } value={2} /> `; diff --git a/x-pack/plugins/apm/public/components/shared/ImpactBar/index.tsx b/x-pack/plugins/apm/public/components/shared/ImpactBar/index.tsx index 87b3c669e993c..5c7c4edec1850 100644 --- a/x-pack/plugins/apm/public/components/shared/ImpactBar/index.tsx +++ b/x-pack/plugins/apm/public/components/shared/ImpactBar/index.tsx @@ -7,6 +7,7 @@ import { EuiProgress } from '@elastic/eui'; import React from 'react'; +import { unit } from '../../../utils/style'; // TODO: extend from EUI's EuiProgress prop interface export interface ImpactBarProps extends Record { @@ -16,6 +17,8 @@ export interface ImpactBarProps extends Record { color?: string; } +const style = { width: `${unit * 6}px` }; + export function ImpactBar({ value, size = 'm', @@ -24,6 +27,13 @@ export function ImpactBar({ ...rest }: ImpactBarProps) { return ( - + ); } diff --git a/x-pack/plugins/apm/public/components/shared/Links/apm/ErrorOverviewLink.tsx b/x-pack/plugins/apm/public/components/shared/Links/apm/ErrorOverviewLink.tsx index 562cd255843bb..b06de47472a11 100644 --- a/x-pack/plugins/apm/public/components/shared/Links/apm/ErrorOverviewLink.tsx +++ b/x-pack/plugins/apm/public/components/shared/Links/apm/ErrorOverviewLink.tsx @@ -9,7 +9,7 @@ import React from 'react'; import { pickKeys } from '../../../../../common/utils/pick_keys'; import { useUrlParams } from '../../../../context/url_params_context/use_url_params'; import { APMQueryParams } from '../url_helpers'; -import { APMLink, APMLinkExtendProps, useAPMHref } from './APMLink'; +import { APMLink, APMLinkExtendProps } from './APMLink'; const persistedFilters: Array = [ 'host', @@ -18,13 +18,6 @@ const persistedFilters: Array = [ 'serviceVersion', ]; -export function useErrorOverviewHref(serviceName: string) { - return useAPMHref({ - path: `/services/${serviceName}/errors`, - persistedFilters, - }); -} - interface Props extends APMLinkExtendProps { serviceName: string; query?: APMQueryParams; diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/SpanMetadata/sections.ts b/x-pack/plugins/apm/public/components/shared/MetadataTable/SpanMetadata/sections.ts index 141a054a311c3..f19aef8e0bd8a 100644 --- a/x-pack/plugins/apm/public/components/shared/MetadataTable/SpanMetadata/sections.ts +++ b/x-pack/plugins/apm/public/components/shared/MetadataTable/SpanMetadata/sections.ts @@ -11,6 +11,7 @@ import { SERVICE, SPAN, LABELS, + EVENT, TRANSACTION, TRACE, MESSAGE_SPAN, @@ -20,6 +21,7 @@ export const SPAN_METADATA_SECTIONS: Section[] = [ LABELS, TRACE, TRANSACTION, + EVENT, SPAN, SERVICE, MESSAGE_SPAN, diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/sections.ts b/x-pack/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/sections.ts index 59a2c88809ccc..2f4a3d3229857 100644 --- a/x-pack/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/sections.ts +++ b/x-pack/plugins/apm/public/components/shared/MetadataTable/TransactionMetadata/sections.ts @@ -9,6 +9,7 @@ import { Section, TRANSACTION, LABELS, + EVENT, HTTP, HOST, CLIENT, @@ -29,6 +30,7 @@ export const TRANSACTION_METADATA_SECTIONS: Section[] = [ { ...LABELS, required: true }, TRACE, TRANSACTION, + EVENT, HTTP, HOST, CLIENT, diff --git a/x-pack/plugins/apm/public/components/shared/MetadataTable/sections.ts b/x-pack/plugins/apm/public/components/shared/MetadataTable/sections.ts index 3faccce8ea955..efc2ef8bde66b 100644 --- a/x-pack/plugins/apm/public/components/shared/MetadataTable/sections.ts +++ b/x-pack/plugins/apm/public/components/shared/MetadataTable/sections.ts @@ -21,6 +21,14 @@ export const LABELS: Section = { }), }; +export const EVENT: Section = { + key: 'event', + label: i18n.translate('xpack.apm.metadataTable.section.eventLabel', { + defaultMessage: 'event', + }), + properties: ['outcome'], +}; + export const HTTP: Section = { key: 'http', label: i18n.translate('xpack.apm.metadataTable.section.httpLabel', { diff --git a/x-pack/plugins/apm/public/components/shared/TimestampTooltip/index.test.tsx b/x-pack/plugins/apm/public/components/shared/TimestampTooltip/index.test.tsx index d859f89c8e097..c84287dad7a97 100644 --- a/x-pack/plugins/apm/public/components/shared/TimestampTooltip/index.test.tsx +++ b/x-pack/plugins/apm/public/components/shared/TimestampTooltip/index.test.tsx @@ -29,6 +29,7 @@ describe('TimestampTooltip', () => { 5 hours ago diff --git a/x-pack/plugins/apm/public/components/shared/agent_icon/get_agent_icon.ts b/x-pack/plugins/apm/public/components/shared/agent_icon/get_agent_icon.ts index b3551e7ccebcb..e361d72eb2ce8 100644 --- a/x-pack/plugins/apm/public/components/shared/agent_icon/get_agent_icon.ts +++ b/x-pack/plugins/apm/public/components/shared/agent_icon/get_agent_icon.ts @@ -19,6 +19,7 @@ import goIcon from './icons/go.svg'; import iosIcon from './icons/ios.svg'; import darkIosIcon from './icons/ios_dark.svg'; import javaIcon from './icons/java.svg'; +import lambdaIcon from './icons/lambda.svg'; import nodeJsIcon from './icons/nodejs.svg'; import ocamlIcon from './icons/ocaml.svg'; import openTelemetryIcon from './icons/opentelemetry.svg'; @@ -37,6 +38,7 @@ const agentIcons: { [key: string]: string } = { go: goIcon, ios: iosIcon, java: javaIcon, + lambda: lambdaIcon, nodejs: nodeJsIcon, ocaml: ocamlIcon, opentelemetry: openTelemetryIcon, diff --git a/x-pack/plugins/apm/public/components/shared/agent_icon/icons/lambda.svg b/x-pack/plugins/apm/public/components/shared/agent_icon/icons/lambda.svg new file mode 100644 index 0000000000000..2ecd8c5e916b4 --- /dev/null +++ b/x-pack/plugins/apm/public/components/shared/agent_icon/icons/lambda.svg @@ -0,0 +1,4 @@ + + + + diff --git a/x-pack/plugins/apm/public/components/shared/backend_link.tsx b/x-pack/plugins/apm/public/components/shared/backend_link.tsx index caae47184510a..342c668d2efdb 100644 --- a/x-pack/plugins/apm/public/components/shared/backend_link.tsx +++ b/x-pack/plugins/apm/public/components/shared/backend_link.tsx @@ -18,7 +18,7 @@ const StyledLink = euiStyled(EuiLink)`${truncate('100%')};`; interface BackendLinkProps { backendName: string; - query: TypeOf['query']; + query: TypeOf['query']; subtype?: string; type?: string; onClick?: React.ComponentProps['onClick']; @@ -35,7 +35,7 @@ export function BackendLink({ return ( - + diff --git a/x-pack/plugins/apm/public/components/shared/charts/spark_plot/index.tsx b/x-pack/plugins/apm/public/components/shared/charts/spark_plot/index.tsx index 2743e957cd8ee..2f38ab9cdeb4b 100644 --- a/x-pack/plugins/apm/public/components/shared/charts/spark_plot/index.tsx +++ b/x-pack/plugins/apm/public/components/shared/charts/spark_plot/index.tsx @@ -40,6 +40,8 @@ function hasValidTimeseries( return !!series?.some((point) => point.y !== null); } +const flexGroupStyle = { overflow: 'hidden' }; + export function SparkPlot({ color, series, @@ -80,11 +82,15 @@ export function SparkPlot({ return ( + + {valueLabel} + {hasValidTimeseries(series) ? ( @@ -129,9 +135,6 @@ export function SparkPlot({ )} - - {valueLabel} - ); } diff --git a/x-pack/plugins/apm/public/components/shared/charts/transaction_breakdown_chart/use_transaction_breakdown.ts b/x-pack/plugins/apm/public/components/shared/charts/transaction_breakdown_chart/use_transaction_breakdown.ts index bb56338531df3..789461379d044 100644 --- a/x-pack/plugins/apm/public/components/shared/charts/transaction_breakdown_chart/use_transaction_breakdown.ts +++ b/x-pack/plugins/apm/public/components/shared/charts/transaction_breakdown_chart/use_transaction_breakdown.ts @@ -24,7 +24,7 @@ export function useTransactionBreakdown({ const { query: { rangeFrom, rangeTo }, - } = useApmParams('/services/:serviceName'); + } = useApmParams('/services/{serviceName}'); const { start, end } = useTimeRange({ rangeFrom, rangeTo }); diff --git a/x-pack/plugins/apm/public/components/shared/charts/transaction_charts/ml_header.tsx b/x-pack/plugins/apm/public/components/shared/charts/transaction_charts/ml_header.tsx index f69b7e7004510..76e85b1d9998d 100644 --- a/x-pack/plugins/apm/public/components/shared/charts/transaction_charts/ml_header.tsx +++ b/x-pack/plugins/apm/public/components/shared/charts/transaction_charts/ml_header.tsx @@ -36,7 +36,7 @@ export function MLHeader({ hasValidMlLicense, mlJobId }: Props) { const { query: { kuery }, - } = useApmParams('/services/:serviceName'); + } = useApmParams('/services/{serviceName}'); if (!hasValidMlLicense || !mlJobId) { return null; diff --git a/x-pack/plugins/apm/public/components/shared/charts/transaction_error_rate_chart/index.tsx b/x-pack/plugins/apm/public/components/shared/charts/transaction_error_rate_chart/index.tsx index 2e8578e29297c..ae24a5e53444e 100644 --- a/x-pack/plugins/apm/public/components/shared/charts/transaction_error_rate_chart/index.tsx +++ b/x-pack/plugins/apm/public/components/shared/charts/transaction_error_rate_chart/index.tsx @@ -63,7 +63,7 @@ export function TransactionErrorRateChart({ const { query: { rangeFrom, rangeTo }, - } = useApmParams('/services/:serviceName'); + } = useApmParams('/services/{serviceName}'); const { start, end } = useTimeRange({ rangeFrom, rangeTo }); diff --git a/x-pack/plugins/apm/public/components/shared/dependencies_table/index.tsx b/x-pack/plugins/apm/public/components/shared/dependencies_table/index.tsx index 63d78ab4d4e40..a034eeb3d284a 100644 --- a/x-pack/plugins/apm/public/components/shared/dependencies_table/index.tsx +++ b/x-pack/plugins/apm/public/components/shared/dependencies_table/index.tsx @@ -5,7 +5,12 @@ * 2.0. */ -import { EuiFlexGroup, EuiFlexItem, EuiTitle } from '@elastic/eui'; +import { + EuiFlexGroup, + EuiFlexItem, + EuiTitle, + RIGHT_ALIGNMENT, +} from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import React from 'react'; import { ConnectionStatsItemWithComparisonData } from '../../../../common/connections'; @@ -14,15 +19,15 @@ import { asPercent, asTransactionRate, } from '../../../../common/utils/formatters'; +import { useBreakpoints } from '../../../hooks/use_breakpoints'; import { FETCH_STATUS } from '../../../hooks/use_fetcher'; -import { unit } from '../../../utils/style'; -import { SparkPlot } from '../charts/spark_plot'; +import { EmptyMessage } from '../EmptyMessage'; import { ImpactBar } from '../ImpactBar'; -import { TruncateWithTooltip } from '../truncate_with_tooltip'; +import { ListMetric } from '../list_metric'; import { ITableColumn, ManagedTable } from '../managed_table'; -import { EmptyMessage } from '../EmptyMessage'; -import { TableFetchWrapper } from '../table_fetch_wrapper'; import { OverviewTableContainer } from '../overview_table_container'; +import { TableFetchWrapper } from '../table_fetch_wrapper'; +import { TruncateWithTooltip } from '../truncate_with_tooltip'; export type DependenciesItem = Omit< ConnectionStatsItemWithComparisonData, @@ -35,6 +40,7 @@ export type DependenciesItem = Omit< interface Props { dependencies: DependenciesItem[]; fixedHeight?: boolean; + isSingleColumn?: boolean; link?: React.ReactNode; title: React.ReactNode; nameColumnTitle: React.ReactNode; @@ -46,6 +52,7 @@ export function DependenciesTable(props: Props) { const { dependencies, fixedHeight, + isSingleColumn = true, link, title, nameColumnTitle, @@ -53,6 +60,10 @@ export function DependenciesTable(props: Props) { compact = true, } = props; + // SparkPlots should be hidden if we're in two-column view and size XL (1200px) + const { isXl } = useBreakpoints(); + const shouldShowSparkPlots = isSingleColumn || !isXl; + const columns: Array> = [ { field: 'name', @@ -68,12 +79,13 @@ export function DependenciesTable(props: Props) { name: i18n.translate('xpack.apm.dependenciesTable.columnLatency', { defaultMessage: 'Latency (avg.)', }), - width: `${unit * 11}px`, + align: RIGHT_ALIGNMENT, render: (_, { currentStats, previousStats }) => { return ( - { return ( - { return ( - { return ( - + diff --git a/x-pack/plugins/apm/public/components/app/service_inventory/service_list/ServiceListMetric.tsx b/x-pack/plugins/apm/public/components/shared/list_metric.tsx similarity index 50% rename from x-pack/plugins/apm/public/components/app/service_inventory/service_list/ServiceListMetric.tsx rename to x-pack/plugins/apm/public/components/shared/list_metric.tsx index 7a4721407e69b..df70ced1daa53 100644 --- a/x-pack/plugins/apm/public/components/app/service_inventory/service_list/ServiceListMetric.tsx +++ b/x-pack/plugins/apm/public/components/shared/list_metric.tsx @@ -6,32 +6,19 @@ */ import { EuiFlexGroup, EuiFlexItem, EuiText } from '@elastic/eui'; -import React from 'react'; -import { Coordinate } from '../../../../../typings/timeseries'; -import { SparkPlot } from '../../../shared/charts/spark_plot'; +import React, { ComponentProps } from 'react'; +import { SparkPlot } from './charts/spark_plot'; -export function ServiceListMetric({ - color, - series, - valueLabel, - comparisonSeries, - hideSeries = false, -}: { - color: 'euiColorVis1' | 'euiColorVis0' | 'euiColorVis7'; - series?: Coordinate[]; - comparisonSeries?: Coordinate[]; - valueLabel: React.ReactNode; +interface ListMetricProps extends ComponentProps { hideSeries?: boolean; -}) { +} + +export function ListMetric(props: ListMetricProps) { + const { hideSeries, ...sparkPlotProps } = props; + const { valueLabel } = sparkPlotProps; + if (!hideSeries) { - return ( - - ); + return ; } return ( diff --git a/x-pack/plugins/apm/public/components/shared/overview_table_container/index.tsx b/x-pack/plugins/apm/public/components/shared/overview_table_container/index.tsx index 6caf6aca02733..15246d5375abe 100644 --- a/x-pack/plugins/apm/public/components/shared/overview_table_container/index.tsx +++ b/x-pack/plugins/apm/public/components/shared/overview_table_container/index.tsx @@ -7,7 +7,7 @@ import React, { ReactNode } from 'react'; import { euiStyled } from '../../../../../../../src/plugins/kibana_react/common'; -import { useBreakPoints } from '../../../hooks/use_break_points'; +import { useBreakpoints } from '../../../hooks/use_breakpoints'; /** * The height for a table on a overview page. Is the height of a 5-row basic @@ -62,7 +62,7 @@ export function OverviewTableContainer({ fixedHeight?: boolean; isEmptyAndNotInitiated: boolean; }) { - const { isMedium } = useBreakPoints(); + const { isMedium } = useBreakpoints(); return ( ['query']; + query: TypeOf['query']; serviceName: string; } @@ -33,7 +33,7 @@ export function ServiceLink({ return ( } delay="regular" + display="inlineBlock" position="top" > @@ -39,6 +40,7 @@ exports[`StickyProperties should render entire component 1`] = ` @@ -64,6 +66,7 @@ exports[`StickyProperties should render entire component 1`] = ` } delay="regular" + display="inlineBlock" position="top" > @@ -93,6 +96,7 @@ exports[`StickyProperties should render entire component 1`] = ` } delay="regular" + display="inlineBlock" position="top" > @@ -122,6 +126,7 @@ exports[`StickyProperties should render entire component 1`] = ` } delay="regular" + display="inlineBlock" position="top" > diff --git a/x-pack/plugins/apm/public/components/shared/time_comparison/index.tsx b/x-pack/plugins/apm/public/components/shared/time_comparison/index.tsx index 6624de496b2d1..d5e38a3df7aac 100644 --- a/x-pack/plugins/apm/public/components/shared/time_comparison/index.tsx +++ b/x-pack/plugins/apm/public/components/shared/time_comparison/index.tsx @@ -14,7 +14,7 @@ import { euiStyled } from '../../../../../../../src/plugins/kibana_react/common' import { useUiTracker } from '../../../../../observability/public'; import { useUrlParams } from '../../../context/url_params_context/use_url_params'; import { useApmParams } from '../../../hooks/use_apm_params'; -import { useBreakPoints } from '../../../hooks/use_break_points'; +import { useBreakpoints } from '../../../hooks/use_breakpoints'; import { useTimeRange } from '../../../hooks/use_time_range'; import * as urlHelpers from '../../shared/Links/url_helpers'; import { getComparisonTypes } from './get_comparison_types'; @@ -117,10 +117,10 @@ export function getSelectOptions({ export function TimeComparison() { const trackApmEvent = useUiTracker({ app: 'apm' }); const history = useHistory(); - const { isSmall } = useBreakPoints(); + const { isSmall } = useBreakpoints(); const { query: { rangeFrom, rangeTo }, - } = useApmParams('/services', '/backends/*', '/services/:serviceName'); + } = useApmParams('/services', '/backends/*', '/services/{serviceName}'); const { exactStart, exactEnd } = useTimeRange({ rangeFrom, diff --git a/x-pack/plugins/apm/public/components/shared/transaction_type_select.tsx b/x-pack/plugins/apm/public/components/shared/transaction_type_select.tsx index b0f90cfc53971..84f3b1e45d4a1 100644 --- a/x-pack/plugins/apm/public/components/shared/transaction_type_select.tsx +++ b/x-pack/plugins/apm/public/components/shared/transaction_type_select.tsx @@ -10,7 +10,7 @@ import React, { FormEvent, useCallback } from 'react'; import { useHistory } from 'react-router-dom'; import styled from 'styled-components'; import { useApmServiceContext } from '../../context/apm_service/use_apm_service_context'; -import { useBreakPoints } from '../../hooks/use_break_points'; +import { useBreakpoints } from '../../hooks/use_breakpoints'; import * as urlHelpers from './Links/url_helpers'; // The default transaction type (for non-RUM services) is "request". Set the @@ -21,7 +21,7 @@ const EuiSelectWithWidth = styled(EuiSelect)` `; export function TransactionTypeSelect() { - const { isSmall } = useBreakPoints(); + const { isSmall } = useBreakpoints(); const { transactionTypes, transactionType } = useApmServiceContext(); const history = useHistory(); diff --git a/x-pack/plugins/apm/public/components/shared/transactions_table/get_columns.tsx b/x-pack/plugins/apm/public/components/shared/transactions_table/get_columns.tsx index 276fa0a12f64e..24ad61f80b028 100644 --- a/x-pack/plugins/apm/public/components/shared/transactions_table/get_columns.tsx +++ b/x-pack/plugins/apm/public/components/shared/transactions_table/get_columns.tsx @@ -5,7 +5,12 @@ * 2.0. */ -import { EuiBasicTableColumn, EuiFlexGroup, EuiFlexItem } from '@elastic/eui'; +import { + EuiBasicTableColumn, + EuiFlexGroup, + EuiFlexItem, + RIGHT_ALIGNMENT, +} from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import React from 'react'; import { ValuesType } from 'utility-types'; @@ -16,10 +21,9 @@ import { asTransactionRate, } from '../../../../common/utils/formatters'; import { APIReturnType } from '../../../services/rest/createCallApmApi'; -import { unit } from '../../../utils/style'; -import { SparkPlot } from '../charts/spark_plot'; import { ImpactBar } from '../ImpactBar'; import { TransactionDetailLink } from '../Links/apm/transaction_detail_link'; +import { ListMetric } from '../list_metric'; import { TruncateWithTooltip } from '../truncate_with_tooltip'; import { getLatencyColumnLabel } from './get_latency_column_label'; @@ -35,11 +39,13 @@ export function getColumns({ latencyAggregationType, transactionGroupDetailedStatistics, comparisonEnabled, + shouldShowSparkPlots = true, }: { serviceName: string; latencyAggregationType?: LatencyAggregationType; transactionGroupDetailedStatistics?: TransactionGroupDetailedStatistics; comparisonEnabled?: boolean; + shouldShowSparkPlots?: boolean; }): Array> { return [ { @@ -71,16 +77,17 @@ export function getColumns({ field: 'latency', sortable: true, name: getLatencyColumnLabel(latencyAggregationType), - width: `${unit * 11}px`, + align: RIGHT_ALIGNMENT, render: (_, { latency, name }) => { const currentTimeseries = transactionGroupDetailedStatistics?.currentPeriod?.[name]?.latency; const previousTimeseries = transactionGroupDetailedStatistics?.previousPeriod?.[name]?.latency; return ( - { const currentTimeseries = transactionGroupDetailedStatistics?.currentPeriod?.[name]?.throughput; @@ -105,9 +112,10 @@ export function getColumns({ transactionGroupDetailedStatistics?.previousPeriod?.[name] ?.throughput; return ( - { const currentTimeseries = transactionGroupDetailedStatistics?.currentPeriod?.[name]?.errorRate; const previousTimeseries = transactionGroupDetailedStatistics?.previousPeriod?.[name]?.errorRate; return ( - { const currentImpact = transactionGroupDetailedStatistics?.currentPeriod?.[name]?.impact ?? @@ -158,7 +167,7 @@ export function getColumns({ const previousImpact = transactionGroupDetailedStatistics?.previousPeriod?.[name]?.impact; return ( - + diff --git a/x-pack/plugins/apm/public/components/shared/transactions_table/index.tsx b/x-pack/plugins/apm/public/components/shared/transactions_table/index.tsx index 5d9f96500f101..08fc9e54c1444 100644 --- a/x-pack/plugins/apm/public/components/shared/transactions_table/index.tsx +++ b/x-pack/plugins/apm/public/components/shared/transactions_table/index.tsx @@ -28,6 +28,7 @@ import { getTimeRangeComparison } from '../time_comparison/get_time_range_compar import { OverviewTableContainer } from '../overview_table_container'; import { getColumns } from './get_columns'; import { ElasticDocsLink } from '../Links/ElasticDocsLink'; +import { useBreakpoints } from '../../../hooks/use_breakpoints'; type ApiResponse = APIReturnType<'GET /api/apm/services/{serviceName}/transactions/groups/main_statistics'>; @@ -57,6 +58,7 @@ const DEFAULT_SORT = { interface Props { hideViewTransactionsLink?: boolean; + isSingleColumn?: boolean; numberOfTransactionsPerPage?: number; showAggregationAccurateCallout?: boolean; environment: string; @@ -69,6 +71,7 @@ interface Props { export function TransactionsTable({ fixedHeight = false, hideViewTransactionsLink = false, + isSingleColumn = true, numberOfTransactionsPerPage = 5, showAggregationAccurateCallout = false, environment, @@ -87,6 +90,10 @@ export function TransactionsTable({ sort: DEFAULT_SORT, }); + // SparkPlots should be hidden if we're in two-column view and size XL (1200px) + const { isXl } = useBreakpoints(); + const shouldShowSparkPlots = isSingleColumn || !isXl; + const { pageIndex, sort } = tableOptions; const { direction, field } = sort; @@ -214,6 +221,7 @@ export function TransactionsTable({ latencyAggregationType, transactionGroupDetailedStatistics, comparisonEnabled, + shouldShowSparkPlots, }); const isLoading = status === FETCH_STATUS.LOADING; diff --git a/x-pack/plugins/apm/public/context/apm_backend/apm_backend_context.tsx b/x-pack/plugins/apm/public/context/apm_backend/apm_backend_context.tsx index b41dcefeb421a..d6cc139e72b64 100644 --- a/x-pack/plugins/apm/public/context/apm_backend/apm_backend_context.tsx +++ b/x-pack/plugins/apm/public/context/apm_backend/apm_backend_context.tsx @@ -30,7 +30,7 @@ export function ApmBackendContextProvider({ const { path: { backendName }, query: { rangeFrom, rangeTo }, - } = useApmParams('/backends/:backendName/overview'); + } = useApmParams('/backends/{backendName}/overview'); const { start, end } = useTimeRange({ rangeFrom, rangeTo }); diff --git a/x-pack/plugins/apm/public/context/apm_service/apm_service_context.tsx b/x-pack/plugins/apm/public/context/apm_service/apm_service_context.tsx index 3286e092a9ab9..d6b052a5dc884 100644 --- a/x-pack/plugins/apm/public/context/apm_service/apm_service_context.tsx +++ b/x-pack/plugins/apm/public/context/apm_service/apm_service_context.tsx @@ -41,7 +41,7 @@ export function ApmServiceContextProvider({ path: { serviceName }, query, query: { rangeFrom, rangeTo }, - } = useApmParams('/services/:serviceName'); + } = useApmParams('/services/{serviceName}'); const { start, end } = useTimeRange({ rangeFrom, rangeTo }); @@ -51,7 +51,11 @@ export function ApmServiceContextProvider({ end, }); - const transactionTypes = useServiceTransactionTypesFetcher(serviceName); + const transactionTypes = useServiceTransactionTypesFetcher({ + serviceName, + start, + end, + }); const transactionType = getTransactionType({ transactionType: query.transactionType, diff --git a/x-pack/plugins/apm/public/context/apm_service/use_service_transaction_types_fetcher.tsx b/x-pack/plugins/apm/public/context/apm_service/use_service_transaction_types_fetcher.tsx index 529aceec9c82e..c2e81cb0c92ae 100644 --- a/x-pack/plugins/apm/public/context/apm_service/use_service_transaction_types_fetcher.tsx +++ b/x-pack/plugins/apm/public/context/apm_service/use_service_transaction_types_fetcher.tsx @@ -5,19 +5,19 @@ * 2.0. */ -import { useApmParams } from '../../hooks/use_apm_params'; import { useFetcher } from '../../hooks/use_fetcher'; -import { useTimeRange } from '../../hooks/use_time_range'; const INITIAL_DATA = { transactionTypes: [] }; -export function useServiceTransactionTypesFetcher(serviceName?: string) { - const { - query: { rangeFrom, rangeTo }, - } = useApmParams('/services/:serviceName'); - - const { start, end } = useTimeRange({ rangeFrom, rangeTo }); - +export function useServiceTransactionTypesFetcher({ + serviceName, + start, + end, +}: { + serviceName?: string; + start?: string; + end?: string; +}) { const { data = INITIAL_DATA } = useFetcher( (callApmApi) => { if (serviceName && start && end) { diff --git a/x-pack/plugins/apm/public/hooks/use_break_points.test.ts b/x-pack/plugins/apm/public/hooks/use_breakpoints.test.ts similarity index 97% rename from x-pack/plugins/apm/public/hooks/use_break_points.test.ts rename to x-pack/plugins/apm/public/hooks/use_breakpoints.test.ts index 66cfd3119a26b..93b738a1e3e50 100644 --- a/x-pack/plugins/apm/public/hooks/use_break_points.test.ts +++ b/x-pack/plugins/apm/public/hooks/use_breakpoints.test.ts @@ -5,9 +5,9 @@ * 2.0. */ -import { getScreenSizes } from './use_break_points'; +import { getScreenSizes } from './use_breakpoints'; -describe('use_break_points', () => { +describe('use_breakpoints', () => { describe('getScreenSizes', () => { it('return xs when within 0px - 5740x', () => { expect(getScreenSizes(0)).toEqual({ diff --git a/x-pack/plugins/apm/public/hooks/use_break_points.ts b/x-pack/plugins/apm/public/hooks/use_breakpoints.ts similarity index 75% rename from x-pack/plugins/apm/public/hooks/use_break_points.ts rename to x-pack/plugins/apm/public/hooks/use_breakpoints.ts index 3b428a02dc97b..f87ddb929b66a 100644 --- a/x-pack/plugins/apm/public/hooks/use_break_points.ts +++ b/x-pack/plugins/apm/public/hooks/use_breakpoints.ts @@ -8,9 +8,13 @@ import { useState } from 'react'; import useWindowSize from 'react-use/lib/useWindowSize'; import useDebounce from 'react-use/lib/useDebounce'; -import { isWithinMaxBreakpoint, isWithinMinBreakpoint } from '@elastic/eui'; +import { + getBreakpoint, + isWithinMaxBreakpoint, + isWithinMinBreakpoint, +} from '@elastic/eui'; -export type BreakPoints = ReturnType; +export type Breakpoints = ReturnType; export function getScreenSizes(windowWidth: number) { return { @@ -24,17 +28,19 @@ export function getScreenSizes(windowWidth: number) { }; } -export function useBreakPoints() { +export function useBreakpoints() { const { width } = useWindowSize(); + const [breakpoint, setBreakpoint] = useState(getBreakpoint(width)); const [screenSizes, setScreenSizes] = useState(getScreenSizes(width)); useDebounce( () => { + setBreakpoint(getBreakpoint(width)); setScreenSizes(getScreenSizes(width)); }, 50, [width] ); - return screenSizes; + return { ...screenSizes, breakpoint, width }; } diff --git a/x-pack/plugins/apm/public/hooks/use_error_group_distribution_fetcher.tsx b/x-pack/plugins/apm/public/hooks/use_error_group_distribution_fetcher.tsx index 0dd07a3b5c85d..683a545cdd125 100644 --- a/x-pack/plugins/apm/public/hooks/use_error_group_distribution_fetcher.tsx +++ b/x-pack/plugins/apm/public/hooks/use_error_group_distribution_fetcher.tsx @@ -22,7 +22,7 @@ export function useErrorGroupDistributionFetcher({ }) { const { query: { rangeFrom, rangeTo }, - } = useApmParams('/services/:serviceName'); + } = useApmParams('/services/{serviceName}'); const { start, end } = useTimeRange({ rangeFrom, rangeTo }); diff --git a/x-pack/plugins/apm/public/hooks/use_search_strategy.ts b/x-pack/plugins/apm/public/hooks/use_search_strategy.ts index 6f6c9bf151c00..9bef3fdae814a 100644 --- a/x-pack/plugins/apm/public/hooks/use_search_strategy.ts +++ b/x-pack/plugins/apm/public/hooks/use_search_strategy.ts @@ -93,7 +93,7 @@ export function useSearchStrategy< const { serviceName, transactionType } = useApmServiceContext(); const { query: { kuery, environment, rangeFrom, rangeTo }, - } = useApmParams('/services/:serviceName/transactions/view'); + } = useApmParams('/services/{serviceName}/transactions/view'); const { start, end } = useTimeRange({ rangeFrom, rangeTo }); const { urlParams } = useUrlParams(); const { transactionName } = urlParams; diff --git a/x-pack/plugins/apm/public/hooks/use_service_metric_charts_fetcher.ts b/x-pack/plugins/apm/public/hooks/use_service_metric_charts_fetcher.ts index a1c609f273926..28e8a4e0396aa 100644 --- a/x-pack/plugins/apm/public/hooks/use_service_metric_charts_fetcher.ts +++ b/x-pack/plugins/apm/public/hooks/use_service_metric_charts_fetcher.ts @@ -27,7 +27,7 @@ export function useServiceMetricChartsFetcher({ }) { const { query: { rangeFrom, rangeTo }, - } = useApmParams('/services/:serviceName'); + } = useApmParams('/services/{serviceName}'); const { start, end } = useTimeRange({ rangeFrom, rangeTo }); const { agentName, serviceName } = useApmServiceContext(); diff --git a/x-pack/plugins/apm/public/hooks/use_transaction_latency_chart_fetcher.ts b/x-pack/plugins/apm/public/hooks/use_transaction_latency_chart_fetcher.ts index 26f361706ee88..660408700b4df 100644 --- a/x-pack/plugins/apm/public/hooks/use_transaction_latency_chart_fetcher.ts +++ b/x-pack/plugins/apm/public/hooks/use_transaction_latency_chart_fetcher.ts @@ -35,7 +35,7 @@ export function useTransactionLatencyChartsFetcher({ const { query: { rangeFrom, rangeTo }, - } = useApmParams('/services/:serviceName'); + } = useApmParams('/services/{serviceName}'); const { start, end } = useTimeRange({ rangeFrom, rangeTo }); diff --git a/x-pack/plugins/apm/public/hooks/use_transaction_trace_samples_fetcher.ts b/x-pack/plugins/apm/public/hooks/use_transaction_trace_samples_fetcher.ts index 484a00fc56082..f7a6e6c3a80ad 100644 --- a/x-pack/plugins/apm/public/hooks/use_transaction_trace_samples_fetcher.ts +++ b/x-pack/plugins/apm/public/hooks/use_transaction_trace_samples_fetcher.ts @@ -34,7 +34,7 @@ export function useTransactionTraceSamplesFetcher({ const { query: { rangeFrom, rangeTo }, - } = useApmParams('/services/:serviceName'); + } = useApmParams('/services/{serviceName}'); const { start, end } = useTimeRange({ rangeFrom, rangeTo }); diff --git a/x-pack/plugins/apm/public/services/rest/createCallApmApi.ts b/x-pack/plugins/apm/public/services/rest/createCallApmApi.ts index 35dbca1b0c955..40713f93d3ee5 100644 --- a/x-pack/plugins/apm/public/services/rest/createCallApmApi.ts +++ b/x-pack/plugins/apm/public/services/rest/createCallApmApi.ts @@ -9,7 +9,6 @@ import { CoreSetup, CoreStart } from 'kibana/public'; import * as t from 'io-ts'; import type { ClientRequestParamsOf, - EndpointOf, formatRequest as formatRequestType, ReturnOf, RouteRepositoryClient, @@ -26,6 +25,7 @@ import { callApi } from './callApi'; import type { APMServerRouteRepository, APMRouteHandlerResources, + APIEndpoint, // eslint-disable-next-line @kbn/eslint/no-restricted-paths } from '../../../server'; import { InspectResponse } from '../../../typings/common'; @@ -47,16 +47,15 @@ export type AutoAbortedAPMClient = RouteRepositoryClient< Omit >; -export type APIReturnType< - TEndpoint extends EndpointOf -> = ReturnOf & { +export type APIReturnType = ReturnOf< + APMServerRouteRepository, + TEndpoint +> & { _inspect?: InspectResponse; }; -export type APIEndpoint = EndpointOf; - export type APIClientRequestParamsOf< - TEndpoint extends EndpointOf + TEndpoint extends APIEndpoint > = ClientRequestParamsOf; export type AbstractAPMRepository = ServerRouteRepository< diff --git a/x-pack/plugins/apm/public/tutorial/tutorial_fleet_instructions/index.tsx b/x-pack/plugins/apm/public/tutorial/tutorial_fleet_instructions/index.tsx index fbbb2e1ffedf4..c69623f92987a 100644 --- a/x-pack/plugins/apm/public/tutorial/tutorial_fleet_instructions/index.tsx +++ b/x-pack/plugins/apm/public/tutorial/tutorial_fleet_instructions/index.tsx @@ -80,7 +80,7 @@ function TutorialFleetInstructions({ http, basePath, isDarkTheme }: Props) { display="plain" textAlign="left" title={i18n.translate('xpack.apm.tutorial.apmServer.fleet.title', { - defaultMessage: 'Elastic APM (beta) now available in Fleet!', + defaultMessage: 'Elastic APM now available in Fleet!', })} description={i18n.translate( 'xpack.apm.tutorial.apmServer.fleet.message', diff --git a/x-pack/plugins/apm/scripts/create-apm-users-and-roles/create_apm_users_and_roles.ts b/x-pack/plugins/apm/scripts/create-apm-users-and-roles/create_apm_users_and_roles.ts index 6b67d8d80e798..708a8b62287be 100644 --- a/x-pack/plugins/apm/scripts/create-apm-users-and-roles/create_apm_users_and_roles.ts +++ b/x-pack/plugins/apm/scripts/create-apm-users-and-roles/create_apm_users_and_roles.ts @@ -28,6 +28,14 @@ export async function createApmUsersAndRoles({ kibana: Kibana; elasticsearch: Elasticsearch; }) { + const isCredentialsValid = await getIsCredentialsValid({ + elasticsearch, + kibana, + }); + if (!isCredentialsValid) { + throw new AbortError('Invalid username/password'); + } + const isSecurityEnabled = await getIsSecurityEnabled({ elasticsearch, kibana, @@ -86,3 +94,25 @@ async function getIsSecurityEnabled({ return false; } } + +async function getIsCredentialsValid({ + elasticsearch, + kibana, +}: { + elasticsearch: Elasticsearch; + kibana: Kibana; +}) { + try { + await callKibana({ + elasticsearch, + kibana, + options: { + validateStatus: (status) => status >= 200 && status < 400, + url: `/`, + }, + }); + return true; + } catch (err) { + return false; + } +} diff --git a/x-pack/plugins/apm/server/index.ts b/x-pack/plugins/apm/server/index.ts index db62cc7adae2b..6ba412bd22029 100644 --- a/x-pack/plugins/apm/server/index.ts +++ b/x-pack/plugins/apm/server/index.ts @@ -125,7 +125,10 @@ export const plugin = (initContext: PluginInitializerContext) => export { APM_SERVER_FEATURE_ID } from '../common/alert_types'; export { APMPlugin } from './plugin'; export { APMPluginSetup } from './types'; -export { APMServerRouteRepository } from './routes/get_global_apm_server_route_repository'; +export { + APMServerRouteRepository, + APIEndpoint, +} from './routes/get_global_apm_server_route_repository'; export { APMRouteHandlerResources } from './routes/typings'; export type { ProcessorEvent } from '../common/processor_event'; diff --git a/x-pack/plugins/apm/server/lib/alerts/chart_preview/get_transaction_duration.ts b/x-pack/plugins/apm/server/lib/alerts/chart_preview/get_transaction_duration.ts index 3a67076201efa..8e3a44d780630 100644 --- a/x-pack/plugins/apm/server/lib/alerts/chart_preview/get_transaction_duration.ts +++ b/x-pack/plugins/apm/server/lib/alerts/chart_preview/get_transaction_duration.ts @@ -6,17 +6,19 @@ */ import { QueryDslQueryContainer } from '@elastic/elasticsearch/api/types'; +import { rangeQuery } from '../../../../../observability/server'; import { - PROCESSOR_EVENT, SERVICE_NAME, - TRANSACTION_DURATION, TRANSACTION_TYPE, } from '../../../../common/elasticsearch_fieldnames'; -import { ProcessorEvent } from '../../../../common/processor_event'; -import { rangeQuery } from '../../../../../observability/server'; import { environmentQuery } from '../../../../common/utils/environment_query'; import { AlertParams } from '../../../routes/alerts/chart_preview'; -import { getBucketSize } from '../../helpers/get_bucket_size'; +import { + getDocumentTypeFilterForAggregatedTransactions, + getProcessorEventForAggregatedTransactions, + getSearchAggregatedTransactions, + getTransactionDurationFieldForAggregatedTransactions, +} from '../../helpers/aggregated_transactions'; import { Setup, SetupTimeRange } from '../../helpers/setup_request'; export async function getTransactionDurationChartPreview({ @@ -26,43 +28,58 @@ export async function getTransactionDurationChartPreview({ alertParams: AlertParams; setup: Setup & SetupTimeRange; }) { + const searchAggregatedTransactions = await getSearchAggregatedTransactions({ + ...setup, + kuery: '', + }); + const { apmEventClient, start, end } = setup; const { aggregationType, environment, serviceName, transactionType, + interval, } = alertParams; const query = { bool: { filter: [ - { term: { [PROCESSOR_EVENT]: ProcessorEvent.transaction } }, ...(serviceName ? [{ term: { [SERVICE_NAME]: serviceName } }] : []), ...(transactionType ? [{ term: { [TRANSACTION_TYPE]: transactionType } }] : []), ...rangeQuery(start, end), ...environmentQuery(environment), + ...getDocumentTypeFilterForAggregatedTransactions( + searchAggregatedTransactions + ), ] as QueryDslQueryContainer[], }, }; - const { intervalString } = getBucketSize({ start, end, numBuckets: 20 }); + const transactionDurationField = getTransactionDurationFieldForAggregatedTransactions( + searchAggregatedTransactions + ); const aggs = { timeseries: { date_histogram: { field: '@timestamp', - fixed_interval: intervalString, + fixed_interval: interval, + min_doc_count: 0, + extended_bounds: { + min: start, + max: end, + }, }, aggs: { agg: aggregationType === 'avg' - ? { avg: { field: TRANSACTION_DURATION } } + ? { avg: { field: transactionDurationField } } : { percentiles: { - field: TRANSACTION_DURATION, + field: transactionDurationField, percents: [aggregationType === '95th' ? 95 : 99], }, }, @@ -70,7 +87,13 @@ export async function getTransactionDurationChartPreview({ }, }; const params = { - apm: { events: [ProcessorEvent.transaction] }, + apm: { + events: [ + getProcessorEventForAggregatedTransactions( + searchAggregatedTransactions + ), + ], + }, body: { size: 0, query, aggs }, }; const resp = await apmEventClient.search( diff --git a/x-pack/plugins/apm/server/lib/alerts/chart_preview/get_transaction_error_count.ts b/x-pack/plugins/apm/server/lib/alerts/chart_preview/get_transaction_error_count.ts index 0ead50c709083..d15f82248dec5 100644 --- a/x-pack/plugins/apm/server/lib/alerts/chart_preview/get_transaction_error_count.ts +++ b/x-pack/plugins/apm/server/lib/alerts/chart_preview/get_transaction_error_count.ts @@ -10,7 +10,6 @@ import { ProcessorEvent } from '../../../../common/processor_event'; import { AlertParams } from '../../../routes/alerts/chart_preview'; import { rangeQuery } from '../../../../../observability/server'; import { environmentQuery } from '../../../../common/utils/environment_query'; -import { getBucketSize } from '../../helpers/get_bucket_size'; import { Setup, SetupTimeRange } from '../../helpers/setup_request'; export async function getTransactionErrorCountChartPreview({ @@ -21,7 +20,7 @@ export async function getTransactionErrorCountChartPreview({ alertParams: AlertParams; }) { const { apmEventClient, start, end } = setup; - const { serviceName, environment } = alertParams; + const { serviceName, environment, interval } = alertParams; const query = { bool: { @@ -33,13 +32,15 @@ export async function getTransactionErrorCountChartPreview({ }, }; - const { intervalString } = getBucketSize({ start, end, numBuckets: 20 }); - const aggs = { timeseries: { date_histogram: { field: '@timestamp', - fixed_interval: intervalString, + fixed_interval: interval, + extended_bounds: { + min: start, + max: end, + }, }, }, }; diff --git a/x-pack/plugins/apm/server/lib/alerts/chart_preview/get_transaction_error_rate.ts b/x-pack/plugins/apm/server/lib/alerts/chart_preview/get_transaction_error_rate.ts index f4d8ffc2749c3..ed4a7a7208eeb 100644 --- a/x-pack/plugins/apm/server/lib/alerts/chart_preview/get_transaction_error_rate.ts +++ b/x-pack/plugins/apm/server/lib/alerts/chart_preview/get_transaction_error_rate.ts @@ -5,16 +5,18 @@ * 2.0. */ +import { rangeQuery } from '../../../../../observability/server'; import { - PROCESSOR_EVENT, SERVICE_NAME, TRANSACTION_TYPE, } from '../../../../common/elasticsearch_fieldnames'; -import { ProcessorEvent } from '../../../../common/processor_event'; -import { AlertParams } from '../../../routes/alerts/chart_preview'; -import { rangeQuery } from '../../../../../observability/server'; import { environmentQuery } from '../../../../common/utils/environment_query'; -import { getBucketSize } from '../../helpers/get_bucket_size'; +import { AlertParams } from '../../../routes/alerts/chart_preview'; +import { + getDocumentTypeFilterForAggregatedTransactions, + getProcessorEventForAggregatedTransactions, + getSearchAggregatedTransactions, +} from '../../helpers/aggregated_transactions'; import { Setup, SetupTimeRange } from '../../helpers/setup_request'; import { calculateFailedTransactionRate, @@ -28,43 +30,58 @@ export async function getTransactionErrorRateChartPreview({ setup: Setup & SetupTimeRange; alertParams: AlertParams; }) { - const { apmEventClient, start, end } = setup; - const { serviceName, environment, transactionType } = alertParams; + const searchAggregatedTransactions = await getSearchAggregatedTransactions({ + ...setup, + kuery: '', + }); - const query = { - bool: { - filter: [ - { term: { [PROCESSOR_EVENT]: ProcessorEvent.transaction } }, - ...(serviceName ? [{ term: { [SERVICE_NAME]: serviceName } }] : []), - ...(transactionType - ? [{ term: { [TRANSACTION_TYPE]: transactionType } }] - : []), - ...rangeQuery(start, end), - ...environmentQuery(environment), - ], - }, - }; + const { apmEventClient, start, end } = setup; + const { serviceName, environment, transactionType, interval } = alertParams; const outcomes = getOutcomeAggregation(); - const { intervalString } = getBucketSize({ start, end, numBuckets: 20 }); - - const aggs = { - outcomes, - timeseries: { - date_histogram: { - field: '@timestamp', - fixed_interval: intervalString, + const params = { + apm: { + events: [ + getProcessorEventForAggregatedTransactions( + searchAggregatedTransactions + ), + ], + }, + body: { + size: 0, + query: { + bool: { + filter: [ + ...(serviceName ? [{ term: { [SERVICE_NAME]: serviceName } }] : []), + ...(transactionType + ? [{ term: { [TRANSACTION_TYPE]: transactionType } }] + : []), + ...rangeQuery(start, end), + ...environmentQuery(environment), + ...getDocumentTypeFilterForAggregatedTransactions( + searchAggregatedTransactions + ), + ], + }, + }, + aggs: { + outcomes, + timeseries: { + date_histogram: { + field: '@timestamp', + fixed_interval: interval, + extended_bounds: { + min: start, + max: end, + }, + }, + aggs: { outcomes }, + }, }, - aggs: { outcomes }, }, }; - const params = { - apm: { events: [ProcessorEvent.transaction] }, - body: { size: 0, query, aggs }, - }; - const resp = await apmEventClient.search( 'get_transaction_error_rate_chart_preview', params diff --git a/x-pack/plugins/apm/server/lib/index_pattern/create_static_index_pattern.test.ts b/x-pack/plugins/apm/server/lib/index_pattern/create_static_index_pattern.test.ts index 35f5721eee05c..46596d8ac864a 100644 --- a/x-pack/plugins/apm/server/lib/index_pattern/create_static_index_pattern.test.ts +++ b/x-pack/plugins/apm/server/lib/index_pattern/create_static_index_pattern.test.ts @@ -8,7 +8,7 @@ /* eslint-disable @typescript-eslint/naming-convention */ import { createStaticIndexPattern } from './create_static_index_pattern'; import { Setup } from '../helpers/setup_request'; -import * as HistoricalAgentData from '../services/get_services/has_historical_agent_data'; +import * as HistoricalAgentData from '../../routes/historical_data/has_historical_agent_data'; import { InternalSavedObjectsClient } from '../helpers/get_internal_saved_objects_client'; import { APMConfig } from '../..'; diff --git a/x-pack/plugins/apm/server/lib/index_pattern/create_static_index_pattern.ts b/x-pack/plugins/apm/server/lib/index_pattern/create_static_index_pattern.ts index 414414c6bfe65..6fa96de0b9413 100644 --- a/x-pack/plugins/apm/server/lib/index_pattern/create_static_index_pattern.ts +++ b/x-pack/plugins/apm/server/lib/index_pattern/create_static_index_pattern.ts @@ -8,7 +8,7 @@ import { SavedObjectsErrorHelpers } from '../../../../../../src/core/server'; import { APM_STATIC_INDEX_PATTERN_ID } from '../../../common/index_pattern_constants'; import apmIndexPattern from '../../tutorial/index_pattern.json'; -import { hasHistoricalAgentData } from '../services/get_services/has_historical_agent_data'; +import { hasHistoricalAgentData } from '../../routes/historical_data/has_historical_agent_data'; import { Setup } from '../helpers/setup_request'; import { APMRouteHandlerResources } from '../../routes/typings'; import { InternalSavedObjectsClient } from '../helpers/get_internal_saved_objects_client.js'; diff --git a/x-pack/plugins/apm/server/lib/services/get_services/index.ts b/x-pack/plugins/apm/server/lib/services/get_services/index.ts index 61cb4a28586d7..d4b11880b56ab 100644 --- a/x-pack/plugins/apm/server/lib/services/get_services/index.ts +++ b/x-pack/plugins/apm/server/lib/services/get_services/index.ts @@ -6,12 +6,10 @@ */ import { Logger } from '@kbn/logging'; -import { isEmpty } from 'lodash'; import { withApmSpan } from '../../../utils/with_apm_span'; import { Setup, SetupTimeRange } from '../../helpers/setup_request'; import { getLegacyDataStatus } from './get_legacy_data_status'; import { getServicesItems } from './get_services_items'; -import { hasHistoricalAgentData } from './has_historical_agent_data'; export async function getServices({ environment, @@ -38,14 +36,8 @@ export async function getServices({ getLegacyDataStatus(setup), ]); - const noDataInCurrentTimeRange = isEmpty(items); - const hasHistoricalData = noDataInCurrentTimeRange - ? await hasHistoricalAgentData(setup) - : true; - return { items, - hasHistoricalData, hasLegacyData, }; }); diff --git a/x-pack/plugins/apm/server/lib/services/queries.test.ts b/x-pack/plugins/apm/server/lib/services/queries.test.ts index be5f280477a09..a4a32229cbd44 100644 --- a/x-pack/plugins/apm/server/lib/services/queries.test.ts +++ b/x-pack/plugins/apm/server/lib/services/queries.test.ts @@ -9,7 +9,7 @@ import { getServiceAgent } from './get_service_agent'; import { getServiceTransactionTypes } from './get_service_transaction_types'; import { getServicesItems } from './get_services/get_services_items'; import { getLegacyDataStatus } from './get_services/get_legacy_data_status'; -import { hasHistoricalAgentData } from './get_services/has_historical_agent_data'; +import { hasHistoricalAgentData } from '../../routes/historical_data/has_historical_agent_data'; import { SearchParamsMock, inspectSearchParams, diff --git a/x-pack/plugins/apm/server/lib/traces/__snapshots__/queries.test.ts.snap b/x-pack/plugins/apm/server/lib/traces/__snapshots__/queries.test.ts.snap index 3c521839b587e..7691373ada815 100644 --- a/x-pack/plugins/apm/server/lib/traces/__snapshots__/queries.test.ts.snap +++ b/x-pack/plugins/apm/server/lib/traces/__snapshots__/queries.test.ts.snap @@ -8,15 +8,6 @@ Object { ], }, "body": Object { - "aggs": Object { - "by_transaction_id": Object { - "terms": Object { - "execution_hint": "map", - "field": "transaction.id", - "size": "myIndex", - }, - }, - }, "query": Object { "bool": Object { "filter": Array [ diff --git a/x-pack/plugins/apm/server/lib/traces/get_trace.ts b/x-pack/plugins/apm/server/lib/traces/get_trace.ts deleted file mode 100644 index a0cc6b7241d4e..0000000000000 --- a/x-pack/plugins/apm/server/lib/traces/get_trace.ts +++ /dev/null @@ -1,21 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { Setup, SetupTimeRange } from '../helpers/setup_request'; -import { getTraceItems } from './get_trace_items'; - -export async function getTrace(traceId: string, setup: Setup & SetupTimeRange) { - const { errorsPerTransaction, ...trace } = await getTraceItems( - traceId, - setup - ); - - return { - trace, - errorsPerTransaction, - }; -} diff --git a/x-pack/plugins/apm/server/lib/traces/get_trace_items.ts b/x-pack/plugins/apm/server/lib/traces/get_trace_items.ts index 6c957df313866..6cc6713e156bc 100644 --- a/x-pack/plugins/apm/server/lib/traces/get_trace_items.ts +++ b/x-pack/plugins/apm/server/lib/traces/get_trace_items.ts @@ -9,15 +9,13 @@ import { QueryDslQueryContainer } from '@elastic/elasticsearch/api/types'; import { ProcessorEvent } from '../../../common/processor_event'; import { TRACE_ID, - PARENT_ID, TRANSACTION_DURATION, SPAN_DURATION, - TRANSACTION_ID, + PARENT_ID, ERROR_LOG_LEVEL, } from '../../../common/elasticsearch_fieldnames'; import { rangeQuery } from '../../../../observability/server'; import { Setup, SetupTimeRange } from '../helpers/setup_request'; -import { PromiseValueType } from '../../../typings/common'; export async function getTraceItems( traceId: string, @@ -27,7 +25,7 @@ export async function getTraceItems( const maxTraceItems = config['xpack.apm.ui.maxTraceItems']; const excludedLogLevels = ['debug', 'info', 'warning']; - const errorResponsePromise = apmEventClient.search('get_trace_items', { + const errorResponsePromise = apmEventClient.search('get_errors_docs', { apm: { events: [ProcessorEvent.error], }, @@ -42,20 +40,10 @@ export async function getTraceItems( must_not: { terms: { [ERROR_LOG_LEVEL]: excludedLogLevels } }, }, }, - aggs: { - by_transaction_id: { - terms: { - field: TRANSACTION_ID, - size: maxTraceItems, - // high cardinality - execution_hint: 'map' as const, - }, - }, - }, }, }); - const traceResponsePromise = apmEventClient.search('get_trace_span_items', { + const traceResponsePromise = apmEventClient.search('get_trace_docs', { apm: { events: [ProcessorEvent.span, ProcessorEvent.transaction], }, @@ -81,33 +69,18 @@ export async function getTraceItems( }, }); - const [errorResponse, traceResponse]: [ - // explicit intermediary types to avoid TS "excessively deep" error - PromiseValueType, - PromiseValueType - ] = (await Promise.all([errorResponsePromise, traceResponsePromise])) as any; + const [errorResponse, traceResponse] = await Promise.all([ + errorResponsePromise, + traceResponsePromise, + ]); const exceedsMax = traceResponse.hits.total.value > maxTraceItems; - - const items = traceResponse.hits.hits.map((hit) => hit._source); - - const errorFrequencies = { - errorDocs: errorResponse.hits.hits.map(({ _source }) => _source), - errorsPerTransaction: - errorResponse.aggregations?.by_transaction_id.buckets.reduce( - (acc, current) => { - return { - ...acc, - [current.key]: current.doc_count, - }; - }, - {} as Record - ) ?? {}, - }; + const traceDocs = traceResponse.hits.hits.map((hit) => hit._source); + const errorDocs = errorResponse.hits.hits.map((hit) => hit._source); return { - items, exceedsMax, - ...errorFrequencies, + traceDocs, + errorDocs, }; } diff --git a/x-pack/plugins/apm/server/routes/alerts/chart_preview.ts b/x-pack/plugins/apm/server/routes/alerts/chart_preview.ts index 13879cb5fecb7..c28bca5048350 100644 --- a/x-pack/plugins/apm/server/routes/alerts/chart_preview.ts +++ b/x-pack/plugins/apm/server/routes/alerts/chart_preview.ts @@ -26,6 +26,9 @@ const alertParamsRt = t.intersection([ }), environmentRt, rangeRt, + t.type({ + interval: t.string, + }), ]); export type AlertParams = t.TypeOf; diff --git a/x-pack/plugins/apm/server/routes/get_global_apm_server_route_repository.ts b/x-pack/plugins/apm/server/routes/get_global_apm_server_route_repository.ts index b66daf80bd763..9bc9108da9055 100644 --- a/x-pack/plugins/apm/server/routes/get_global_apm_server_route_repository.ts +++ b/x-pack/plugins/apm/server/routes/get_global_apm_server_route_repository.ts @@ -33,6 +33,7 @@ import { sourceMapsRouteRepository } from './source_maps'; import { traceRouteRepository } from './traces'; import { transactionRouteRepository } from './transactions'; import { APMRouteHandlerResources } from './typings'; +import { historicalDataRouteRepository } from './historical_data'; const getTypedGlobalApmServerRouteRepository = () => { const repository = createApmServerRouteRepository() @@ -56,7 +57,8 @@ const getTypedGlobalApmServerRouteRepository = () => { .merge(sourceMapsRouteRepository) .merge(apmFleetRouteRepository) .merge(backendsRouteRepository) - .merge(fallbackToTransactionsRouteRepository); + .merge(fallbackToTransactionsRouteRepository) + .merge(historicalDataRouteRepository); return repository; }; @@ -72,10 +74,10 @@ export type APMServerRouteRepository = ReturnType< // Ensure no APIs return arrays (or, by proxy, the any type), // to guarantee compatibility with _inspect. -type CompositeEndpoint = EndpointOf; +export type APIEndpoint = EndpointOf; type EndpointReturnTypes = { - [Endpoint in CompositeEndpoint]: ReturnOf; + [Endpoint in APIEndpoint]: ReturnOf; }; type ArrayLikeReturnTypes = PickByValue; diff --git a/x-pack/plugins/apm/server/lib/services/get_services/has_historical_agent_data.ts b/x-pack/plugins/apm/server/routes/historical_data/has_historical_agent_data.ts similarity index 86% rename from x-pack/plugins/apm/server/lib/services/get_services/has_historical_agent_data.ts rename to x-pack/plugins/apm/server/routes/historical_data/has_historical_agent_data.ts index 97b8a8fa5505b..13591b47a8584 100644 --- a/x-pack/plugins/apm/server/lib/services/get_services/has_historical_agent_data.ts +++ b/x-pack/plugins/apm/server/routes/historical_data/has_historical_agent_data.ts @@ -5,8 +5,8 @@ * 2.0. */ -import { ProcessorEvent } from '../../../../common/processor_event'; -import { Setup } from '../../helpers/setup_request'; +import { ProcessorEvent } from '../../../common/processor_event'; +import { Setup } from '../../lib/helpers/setup_request'; // Note: this logic is duplicated in tutorials/apm/envs/on_prem export async function hasHistoricalAgentData(setup: Setup) { diff --git a/x-pack/plugins/apm/server/routes/historical_data/index.ts b/x-pack/plugins/apm/server/routes/historical_data/index.ts new file mode 100644 index 0000000000000..6e574a435bc83 --- /dev/null +++ b/x-pack/plugins/apm/server/routes/historical_data/index.ts @@ -0,0 +1,25 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { setupRequest } from '../../lib/helpers/setup_request'; +import { createApmServerRoute } from '../create_apm_server_route'; +import { createApmServerRouteRepository } from '../create_apm_server_route_repository'; +import { hasHistoricalAgentData } from './has_historical_agent_data'; + +const hasDataRoute = createApmServerRoute({ + endpoint: 'GET /api/apm/has_data', + options: { tags: ['access:apm'] }, + handler: async (resources) => { + const setup = await setupRequest(resources); + const hasData = await hasHistoricalAgentData(setup); + return { hasData }; + }, +}); + +export const historicalDataRouteRepository = createApmServerRouteRepository().add( + hasDataRoute +); diff --git a/x-pack/plugins/apm/server/routes/traces.ts b/x-pack/plugins/apm/server/routes/traces.ts index 11747c847fcbd..c5273b7650e56 100644 --- a/x-pack/plugins/apm/server/routes/traces.ts +++ b/x-pack/plugins/apm/server/routes/traces.ts @@ -7,7 +7,7 @@ import * as t from 'io-ts'; import { setupRequest } from '../lib/helpers/setup_request'; -import { getTrace } from '../lib/traces/get_trace'; +import { getTraceItems } from '../lib/traces/get_trace_items'; import { getTopTransactionGroupList } from '../lib/transaction_groups'; import { createApmServerRoute } from './create_apm_server_route'; import { environmentRt, kueryRt, rangeRt } from './default_api_types'; @@ -52,7 +52,7 @@ const tracesByIdRoute = createApmServerRoute({ const { params } = resources; const { traceId } = params.path; - return getTrace(traceId, setup); + return getTraceItems(traceId, setup); }, }); diff --git a/x-pack/plugins/apm/typings/es_schemas/raw/span_raw.ts b/x-pack/plugins/apm/typings/es_schemas/raw/span_raw.ts index 4865396cae7b2..1de497f2c7cd7 100644 --- a/x-pack/plugins/apm/typings/es_schemas/raw/span_raw.ts +++ b/x-pack/plugins/apm/typings/es_schemas/raw/span_raw.ts @@ -17,6 +17,7 @@ interface Processor { export interface SpanRaw extends APMBaseDoc { processor: Processor; trace: { id: string }; // trace is required + event?: { outcome?: 'success' | 'failure' }; service: { name: string; environment?: string; diff --git a/x-pack/plugins/apm/typings/es_schemas/raw/transaction_raw.ts b/x-pack/plugins/apm/typings/es_schemas/raw/transaction_raw.ts index cefff756963ef..d6154d7ad4d23 100644 --- a/x-pack/plugins/apm/typings/es_schemas/raw/transaction_raw.ts +++ b/x-pack/plugins/apm/typings/es_schemas/raw/transaction_raw.ts @@ -28,6 +28,7 @@ export interface TransactionRaw extends APMBaseDoc { processor: Processor; timestamp: TimestampUs; trace: { id: string }; // trace is required + event?: { outcome?: 'success' | 'failure' }; transaction: { duration: { us: number }; id: string; diff --git a/x-pack/plugins/banners/jest.config.js b/x-pack/plugins/banners/jest.config.js index e2d103c8e4a28..291bdb3436295 100644 --- a/x-pack/plugins/banners/jest.config.js +++ b/x-pack/plugins/banners/jest.config.js @@ -9,4 +9,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/x-pack/plugins/banners'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/banners', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/x-pack/plugins/banners/{common,public,server}/**/*.{ts,tsx}'], }; diff --git a/x-pack/plugins/canvas/canvas_plugin_src/expression_types/embeddable_types.ts b/x-pack/plugins/canvas/canvas_plugin_src/expression_types/embeddable_types.ts index 78fc82393994b..79bb75af677ae 100644 --- a/x-pack/plugins/canvas/canvas_plugin_src/expression_types/embeddable_types.ts +++ b/x-pack/plugins/canvas/canvas_plugin_src/expression_types/embeddable_types.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { MAP_SAVED_OBJECT_TYPE } from '../../../../plugins/maps/common/constants'; +import { MAP_SAVED_OBJECT_TYPE } from '../../../../plugins/maps/common'; import { VISUALIZE_EMBEDDABLE_TYPE } from '../../../../../src/plugins/visualizations/common/constants'; import { LENS_EMBEDDABLE_TYPE } from '../../../../plugins/lens/common/constants'; import { SEARCH_EMBEDDABLE_TYPE } from '../../../../../src/plugins/discover/common'; diff --git a/x-pack/plugins/canvas/jest.config.js b/x-pack/plugins/canvas/jest.config.js index 7524e06159a41..2bff284e94ad8 100644 --- a/x-pack/plugins/canvas/jest.config.js +++ b/x-pack/plugins/canvas/jest.config.js @@ -12,4 +12,9 @@ module.exports = { transform: { '^.+\\.stories\\.tsx?$': '@storybook/addon-storyshots/injectFileName', }, + coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/canvas', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/plugins/canvas/{canvas_plugin_src,common,i18n,public,server,shareable_runtime}/**/*.{js,ts,tsx}', + ], }; diff --git a/x-pack/plugins/canvas/public/components/arg_add_popover/arg_add_popover.tsx b/x-pack/plugins/canvas/public/components/arg_add_popover/arg_add_popover.tsx index e1cd5c55393fb..0368cd3d9facf 100644 --- a/x-pack/plugins/canvas/public/components/arg_add_popover/arg_add_popover.tsx +++ b/x-pack/plugins/canvas/public/components/arg_add_popover/arg_add_popover.tsx @@ -11,8 +11,7 @@ import { EuiButtonIcon } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import { Popover } from '../popover'; import { ArgAdd } from '../arg_add'; -// @ts-expect-error untyped local -import { Arg } from '../../expression_types/arg'; +import type { Arg } from '../../expression_types/arg'; const strings = { getAddAriaLabel: () => @@ -51,8 +50,8 @@ export const ArgAddPopover: FC = ({ options }) => { options.map((opt) => ( { opt.onValueAdd(); closePopover(); diff --git a/x-pack/plugins/canvas/public/components/asset_manager/__stories__/__snapshots__/asset.stories.storyshot b/x-pack/plugins/canvas/public/components/asset_manager/__stories__/__snapshots__/asset.stories.storyshot index 19b44540943b3..a891b7ebe7686 100644 --- a/x-pack/plugins/canvas/public/components/asset_manager/__stories__/__snapshots__/asset.stories.storyshot +++ b/x-pack/plugins/canvas/public/components/asset_manager/__stories__/__snapshots__/asset.stories.storyshot @@ -64,7 +64,6 @@ exports[`Storyshots components/Assets/Asset airplane 1`] = ` > @@ -92,7 +91,6 @@ exports[`Storyshots components/Assets/Asset airplane 1`] = ` > @@ -125,7 +123,6 @@ exports[`Storyshots components/Assets/Asset airplane 1`] = ` > @@ -158,7 +155,6 @@ exports[`Storyshots components/Assets/Asset airplane 1`] = ` > @@ -251,7 +247,6 @@ exports[`Storyshots components/Assets/Asset marker 1`] = ` > @@ -279,7 +274,6 @@ exports[`Storyshots components/Assets/Asset marker 1`] = ` > @@ -312,7 +306,6 @@ exports[`Storyshots components/Assets/Asset marker 1`] = ` > @@ -345,7 +338,6 @@ exports[`Storyshots components/Assets/Asset marker 1`] = ` > diff --git a/x-pack/plugins/canvas/public/components/asset_manager/__stories__/__snapshots__/asset_manager.stories.storyshot b/x-pack/plugins/canvas/public/components/asset_manager/__stories__/__snapshots__/asset_manager.stories.storyshot index 05ef9df1c8601..6ef6d19e446db 100644 --- a/x-pack/plugins/canvas/public/components/asset_manager/__stories__/__snapshots__/asset_manager.stories.storyshot +++ b/x-pack/plugins/canvas/public/components/asset_manager/__stories__/__snapshots__/asset_manager.stories.storyshot @@ -348,7 +348,6 @@ exports[`Storyshots components/Assets/AssetManager two assets 1`] = ` > @@ -376,7 +375,6 @@ exports[`Storyshots components/Assets/AssetManager two assets 1`] = ` > @@ -409,7 +407,6 @@ exports[`Storyshots components/Assets/AssetManager two assets 1`] = ` > @@ -442,7 +439,6 @@ exports[`Storyshots components/Assets/AssetManager two assets 1`] = ` > @@ -524,7 +520,6 @@ exports[`Storyshots components/Assets/AssetManager two assets 1`] = ` > @@ -552,7 +547,6 @@ exports[`Storyshots components/Assets/AssetManager two assets 1`] = ` > @@ -585,7 +579,6 @@ exports[`Storyshots components/Assets/AssetManager two assets 1`] = ` > @@ -618,7 +611,6 @@ exports[`Storyshots components/Assets/AssetManager two assets 1`] = ` > diff --git a/x-pack/plugins/canvas/public/components/datasource/__stories__/datasource_component.stories.tsx b/x-pack/plugins/canvas/public/components/datasource/__stories__/datasource_component.stories.tsx index 27fc9e8871c1f..157b612afbb23 100644 --- a/x-pack/plugins/canvas/public/components/datasource/__stories__/datasource_component.stories.tsx +++ b/x-pack/plugins/canvas/public/components/datasource/__stories__/datasource_component.stories.tsx @@ -12,7 +12,6 @@ import React from 'react'; // @ts-expect-error untyped local import { DatasourceComponent } from '../datasource_component'; import { templateFromReactComponent } from '../../../../public/lib/template_from_react_component'; -// @ts-expect-error untyped local import { Datasource } from '../../../../public/expression_types/datasource'; const TestDatasource = ({ args }: any) => ( diff --git a/x-pack/plugins/canvas/public/components/expression_input/__stories__/__snapshots__/expression_input.stories.storyshot b/x-pack/plugins/canvas/public/components/expression_input/__stories__/__snapshots__/expression_input.stories.storyshot index fdf14191ece4c..9c9ed566e9482 100644 --- a/x-pack/plugins/canvas/public/components/expression_input/__stories__/__snapshots__/expression_input.stories.storyshot +++ b/x-pack/plugins/canvas/public/components/expression_input/__stories__/__snapshots__/expression_input.stories.storyshot @@ -22,7 +22,6 @@ exports[`Storyshots components/ExpressionInput default 1`] = ` > diff --git a/x-pack/plugins/canvas/public/components/function_form/function_form.js b/x-pack/plugins/canvas/public/components/function_form/function_form.js deleted file mode 100644 index 3f1bd094286b4..0000000000000 --- a/x-pack/plugins/canvas/public/components/function_form/function_form.js +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import PropTypes from 'prop-types'; -import { compose, branch, renderComponent } from 'recompose'; -import { FunctionFormComponent } from './function_form_component'; -import { FunctionUnknown } from './function_unknown'; -import { FunctionFormContextPending } from './function_form_context_pending'; -import { FunctionFormContextError } from './function_form_context_error'; - -// helper to check the state of the passed in expression type -function checkState(state) { - return ({ context, expressionType }) => { - const matchState = !context || context.state === state; - return expressionType && expressionType.requiresContext && matchState; - }; -} - -// alternate render paths based on expression state -const branches = [ - // if no expressionType was provided, render the ArgTypeUnknown component - branch((props) => !props.expressionType, renderComponent(FunctionUnknown)), - // if the expressionType is in a pending state, render ArgTypeContextPending - branch(checkState('pending'), renderComponent(FunctionFormContextPending)), - // if the expressionType is in an error state, render ArgTypeContextError - branch(checkState('error'), renderComponent(FunctionFormContextError)), -]; - -export const FunctionForm = compose(...branches)(FunctionFormComponent); - -FunctionForm.propTypes = { - context: PropTypes.object, - expressionType: PropTypes.object, -}; diff --git a/x-pack/plugins/canvas/public/components/function_form/function_form.tsx b/x-pack/plugins/canvas/public/components/function_form/function_form.tsx new file mode 100644 index 0000000000000..abe31f0105108 --- /dev/null +++ b/x-pack/plugins/canvas/public/components/function_form/function_form.tsx @@ -0,0 +1,60 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { FunctionFormComponent } from './function_form_component'; +import { FunctionUnknown } from './function_unknown'; +import { FunctionFormContextPending } from './function_form_context_pending'; +import { FunctionFormContextError } from './function_form_context_error'; +import { ExpressionContext } from '../../../types'; +import { RenderArgData, ExpressionType } from '../../expression_types/types'; + +type FunctionFormProps = RenderArgData; + +// helper to check the state of the passed in expression type +function is( + state: ExpressionContext['state'], + expressionType: ExpressionType, + context?: ExpressionContext +) { + const matchState = !context || context.state === state; + return expressionType && expressionType.requiresContext && matchState; +} + +export const FunctionForm: React.FunctionComponent = (props) => { + const { expressionType, context } = props; + + if (!expressionType) { + return ; + } + + if (is('pending', expressionType, context)) { + return ( + + ); + } + + if (is('error', expressionType, context)) { + return ( + + ); + } + + return ; +}; diff --git a/x-pack/plugins/canvas/public/components/function_form/function_form_component.js b/x-pack/plugins/canvas/public/components/function_form/function_form_component.tsx similarity index 50% rename from x-pack/plugins/canvas/public/components/function_form/function_form_component.js rename to x-pack/plugins/canvas/public/components/function_form/function_form_component.tsx index fc953c8dde352..8e625db94b498 100644 --- a/x-pack/plugins/canvas/public/components/function_form/function_form_component.js +++ b/x-pack/plugins/canvas/public/components/function_form/function_form_component.tsx @@ -5,11 +5,14 @@ * 2.0. */ -import React from 'react'; -import PropTypes from 'prop-types'; +import React, { FunctionComponent } from 'react'; +import { RenderArgData } from '../../expression_types/types'; -export const FunctionFormComponent = (props) => { +type FunctionFormComponentProps = RenderArgData; + +export const FunctionFormComponent: FunctionComponent = (props) => { const passedProps = { + name: props.name, argResolver: props.argResolver, args: props.args, argType: props.argType, @@ -24,27 +27,8 @@ export const FunctionFormComponent = (props) => { onValueAdd: props.onValueAdd, onValueChange: props.onValueChange, onValueRemove: props.onValueRemove, + updateContext: props.updateContext, }; return
{props.expressionType.render(passedProps)}
; }; - -FunctionFormComponent.propTypes = { - // props passed into expression type render functions - argResolver: PropTypes.func.isRequired, - args: PropTypes.object.isRequired, - argType: PropTypes.string.isRequired, - argTypeDef: PropTypes.object.isRequired, - filterGroups: PropTypes.array.isRequired, - context: PropTypes.object, - expressionIndex: PropTypes.number.isRequired, - expressionType: PropTypes.object.isRequired, - nextArgType: PropTypes.string, - nextExpressionType: PropTypes.object, - onAssetAdd: PropTypes.func.isRequired, - onValueAdd: PropTypes.func.isRequired, - onValueChange: PropTypes.func.isRequired, - onValueChange: PropTypes.func.isRequired, - onValueRemove: PropTypes.func.isRequired, - onValueRemove: PropTypes.func.isRequired, -}; diff --git a/x-pack/plugins/canvas/public/components/function_form/function_form_context_error.tsx b/x-pack/plugins/canvas/public/components/function_form/function_form_context_error.tsx index 2ee709edbf91c..88ad97c52a68f 100644 --- a/x-pack/plugins/canvas/public/components/function_form/function_form_context_error.tsx +++ b/x-pack/plugins/canvas/public/components/function_form/function_form_context_error.tsx @@ -6,11 +6,11 @@ */ import React, { FunctionComponent } from 'react'; -import PropTypes from 'prop-types'; import { i18n } from '@kbn/i18n'; +import { ExpressionContext } from '../../../types'; const strings = { - getContextErrorMessage: (errorMessage: string) => + getContextErrorMessage: (errorMessage: string | null = '') => i18n.translate('xpack.canvas.functionForm.contextError', { defaultMessage: 'ERROR: {errorMessage}', values: { @@ -18,18 +18,14 @@ const strings = { }, }), }; -interface Props { - context: { - error: string; - }; +interface FunctionFormContextErrorProps { + context: ExpressionContext; } -export const FunctionFormContextError: FunctionComponent = ({ context }) => ( +export const FunctionFormContextError: FunctionComponent = ({ + context, +}) => (
{strings.getContextErrorMessage(context.error)}
); - -FunctionFormContextError.propTypes = { - context: PropTypes.shape({ error: PropTypes.string }).isRequired, -}; diff --git a/x-pack/plugins/canvas/public/components/function_form/function_form_context_pending.js b/x-pack/plugins/canvas/public/components/function_form/function_form_context_pending.js deleted file mode 100644 index f4a2a71bb03e8..0000000000000 --- a/x-pack/plugins/canvas/public/components/function_form/function_form_context_pending.js +++ /dev/null @@ -1,46 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import React from 'react'; -import PropTypes from 'prop-types'; -import { Loading } from '../loading'; - -export class FunctionFormContextPending extends React.PureComponent { - static propTypes = { - context: PropTypes.object, - contextExpression: PropTypes.string, - expressionType: PropTypes.object.isRequired, - updateContext: PropTypes.func.isRequired, - }; - - componentDidMount() { - this.fetchContext(this.props); - } - - UNSAFE_componentWillReceiveProps(newProps) { - const oldContext = this.props.contextExpression; - const newContext = newProps.contextExpression; - const forceUpdate = newProps.expressionType.requiresContext && oldContext !== newContext; - this.fetchContext(newProps, forceUpdate); - } - - fetchContext = (props, force = false) => { - // dispatch context update if none is provided - const { expressionType, context, updateContext } = props; - if (force || (context == null && expressionType.requiresContext)) { - updateContext(); - } - }; - - render() { - return ( -
- -
- ); - } -} diff --git a/x-pack/plugins/canvas/public/components/function_form/function_form_context_pending.tsx b/x-pack/plugins/canvas/public/components/function_form/function_form_context_pending.tsx new file mode 100644 index 0000000000000..6cd7b59a2d214 --- /dev/null +++ b/x-pack/plugins/canvas/public/components/function_form/function_form_context_pending.tsx @@ -0,0 +1,47 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React, { useCallback, useEffect } from 'react'; +import usePrevious from 'react-use/lib/usePrevious'; +import { Loading } from '../loading'; +import { CanvasElement, ExpressionContext } from '../../../types'; +import { ExpressionType } from '../../expression_types/types'; + +interface FunctionFormContextPendingProps { + context?: ExpressionContext; + contextExpression?: string; + expressionType: ExpressionType; + updateContext: (element?: CanvasElement) => void; +} + +export const FunctionFormContextPending: React.FunctionComponent = ( + props +) => { + const { contextExpression, expressionType, context, updateContext } = props; + const prevContextExpression = usePrevious(contextExpression); + const fetchContext = useCallback( + (force = false) => { + // dispatch context update if none is provided + if (force || (context == null && expressionType.requiresContext)) { + updateContext(); + } + }, + [context, expressionType.requiresContext, updateContext] + ); + + useEffect(() => { + const forceUpdate = + expressionType.requiresContext && prevContextExpression !== contextExpression; + fetchContext(forceUpdate); + }, [contextExpression, expressionType, fetchContext, prevContextExpression]); + + return ( +
+ +
+ ); +}; diff --git a/x-pack/plugins/canvas/public/components/function_form/index.js b/x-pack/plugins/canvas/public/components/function_form/index.js deleted file mode 100644 index 76eb23d800b00..0000000000000 --- a/x-pack/plugins/canvas/public/components/function_form/index.js +++ /dev/null @@ -1,115 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import PropTypes from 'prop-types'; -import { connect } from 'react-redux'; -import { findExpressionType } from '../../lib/find_expression_type'; -import { getId } from '../../lib/get_id'; -import { createAsset } from '../../state/actions/assets'; -import { - fetchContext, - setArgumentAtIndex, - addArgumentValueAtIndex, - deleteArgumentAtIndex, -} from '../../state/actions/elements'; -import { - getSelectedElement, - getSelectedPage, - getContextForIndex, - getGlobalFilterGroups, -} from '../../state/selectors/workpad'; -import { getAssets } from '../../state/selectors/assets'; -import { findExistingAsset } from '../../lib/find_existing_asset'; -import { FunctionForm as Component } from './function_form'; - -const mapStateToProps = (state, { expressionIndex }) => ({ - context: getContextForIndex(state, expressionIndex), - element: getSelectedElement(state), - pageId: getSelectedPage(state), - assets: getAssets(state), - filterGroups: getGlobalFilterGroups(state), -}); - -const mapDispatchToProps = (dispatch, { expressionIndex }) => ({ - addArgument: (element, pageId) => (argName, argValue) => () => { - dispatch( - addArgumentValueAtIndex({ index: expressionIndex, element, pageId, argName, value: argValue }) - ); - }, - updateContext: (element) => () => dispatch(fetchContext(expressionIndex, element)), - setArgument: (element, pageId) => (argName, valueIndex) => (value) => { - dispatch( - setArgumentAtIndex({ - index: expressionIndex, - element, - pageId, - argName, - value, - valueIndex, - }) - ); - }, - deleteArgument: (element, pageId) => (argName, argIndex) => () => { - dispatch( - deleteArgumentAtIndex({ - index: expressionIndex, - element, - pageId, - argName, - argIndex, - }) - ); - }, - onAssetAdd: (type, content) => { - // make the ID here and pass it into the action - const assetId = getId('asset'); - dispatch(createAsset(type, content, assetId)); - - // then return the id, so the caller knows the id that will be created - return assetId; - }, -}); - -const mergeProps = (stateProps, dispatchProps, ownProps) => { - const { element, pageId, assets } = stateProps; - const { argType, nextArgType } = ownProps; - const { - updateContext, - setArgument, - addArgument, - deleteArgument, - onAssetAdd, - ...dispatchers - } = dispatchProps; - - return { - ...stateProps, - ...dispatchers, - ...ownProps, - updateContext: updateContext(element), - expressionType: findExpressionType(argType), - nextExpressionType: nextArgType ? findExpressionType(nextArgType) : nextArgType, - onValueChange: setArgument(element, pageId), - onValueAdd: addArgument(element, pageId), - onValueRemove: deleteArgument(element, pageId), - onAssetAdd: (type, content) => { - const existingId = findExistingAsset(type, content, assets); - if (existingId) { - return existingId; - } - return onAssetAdd(type, content); - }, - }; -}; - -export const FunctionForm = connect(mapStateToProps, mapDispatchToProps, mergeProps)(Component); - -FunctionForm.propTypes = { - expressionIndex: PropTypes.number, - argType: PropTypes.string, - nextArgType: PropTypes.string, -}; diff --git a/x-pack/plugins/canvas/public/components/function_form/index.tsx b/x-pack/plugins/canvas/public/components/function_form/index.tsx new file mode 100644 index 0000000000000..9caf18e9e8b4e --- /dev/null +++ b/x-pack/plugins/canvas/public/components/function_form/index.tsx @@ -0,0 +1,150 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React, { useCallback } from 'react'; +import { useDispatch, useSelector } from 'react-redux'; +import { Ast } from '@kbn/interpreter/common'; +import { + ExpressionAstExpression, + ExpressionValue, +} from '../../../../../../src/plugins/expressions'; +import { findExpressionType } from '../../lib/find_expression_type'; +import { getId } from '../../lib/get_id'; +// @ts-expect-error unconverted action function +import { createAsset } from '../../state/actions/assets'; +import { + fetchContext, + setArgumentAtIndex, + addArgumentValueAtIndex, + deleteArgumentAtIndex, + // @ts-expect-error untyped local +} from '../../state/actions/elements'; +import { + getSelectedElement, + getSelectedPage, + getContextForIndex, + getGlobalFilterGroups, +} from '../../state/selectors/workpad'; +import { getAssets } from '../../state/selectors/assets'; +// @ts-expect-error unconverted lib +import { findExistingAsset } from '../../lib/find_existing_asset'; +import { FunctionForm as Component } from './function_form'; +import { ArgType, ArgTypeDef } from '../../expression_types/types'; +import { State, ExpressionContext, CanvasElement, AssetType } from '../../../types'; + +interface FunctionFormProps { + name: string; + argResolver: (ast: ExpressionAstExpression) => Promise; + args: Record> | null; + argType: ArgType; + argTypeDef: ArgTypeDef; + expressionIndex: number; + nextArgType?: ArgType; +} + +export const FunctionForm: React.FunctionComponent = (props) => { + const { expressionIndex, argType, nextArgType } = props; + const dispatch = useDispatch(); + const context = useSelector((state) => + getContextForIndex(state, expressionIndex) + ); + const element = useSelector((state) => + getSelectedElement(state) + ); + const pageId = useSelector((state) => getSelectedPage(state)); + const assets = useSelector((state) => getAssets(state)); + const filterGroups = useSelector((state) => getGlobalFilterGroups(state)); + const addArgument = useCallback( + (argName: string, argValue: string | Ast | null) => () => { + dispatch( + addArgumentValueAtIndex({ + index: expressionIndex, + element, + pageId, + argName, + value: argValue, + }) + ); + }, + [dispatch, element, expressionIndex, pageId] + ); + + const updateContext = useCallback(() => dispatch(fetchContext(expressionIndex, element)), [ + dispatch, + element, + expressionIndex, + ]); + + const setArgument = useCallback( + (argName: string, valueIndex: number) => (value: string | Ast | null) => { + dispatch( + setArgumentAtIndex({ + index: expressionIndex, + element, + pageId, + argName, + value, + valueIndex, + }) + ); + }, + [dispatch, element, expressionIndex, pageId] + ); + + const deleteArgument = useCallback( + (argName: string, argIndex: number) => () => { + dispatch( + deleteArgumentAtIndex({ + index: expressionIndex, + element, + pageId, + argName, + argIndex, + }) + ); + }, + [dispatch, element, expressionIndex, pageId] + ); + + const onAssetAddDispatch = useCallback( + (type: AssetType['type'], content: AssetType['value']) => { + // make the ID here and pass it into the action + const assetId = getId('asset'); + dispatch(createAsset(type, content, assetId)); + + // then return the id, so the caller knows the id that will be created + return assetId; + }, + [dispatch] + ); + + const onAssetAdd = useCallback( + (type: AssetType['type'], content: AssetType['value']) => { + const existingId = findExistingAsset(type, content, assets); + if (existingId) { + return existingId; + } + return onAssetAddDispatch(type, content); + }, + [assets, onAssetAddDispatch] + ); + + return ( + + ); +}; diff --git a/x-pack/plugins/canvas/public/components/home/my_workpads/__snapshots__/workpad_table.stories.storyshot b/x-pack/plugins/canvas/public/components/home/my_workpads/__snapshots__/workpad_table.stories.storyshot index 0de7012aee1a3..7d05176b8147c 100644 --- a/x-pack/plugins/canvas/public/components/home/my_workpads/__snapshots__/workpad_table.stories.storyshot +++ b/x-pack/plugins/canvas/public/components/home/my_workpads/__snapshots__/workpad_table.stories.storyshot @@ -443,7 +443,6 @@ exports[`Storyshots Home/Components/Workpad Table Workpad Table 1`] = ` > @@ -471,7 +470,6 @@ exports[`Storyshots Home/Components/Workpad Table Workpad Table 1`] = ` > @@ -619,7 +617,6 @@ exports[`Storyshots Home/Components/Workpad Table Workpad Table 1`] = ` > @@ -647,7 +644,6 @@ exports[`Storyshots Home/Components/Workpad Table Workpad Table 1`] = ` > @@ -795,7 +791,6 @@ exports[`Storyshots Home/Components/Workpad Table Workpad Table 1`] = ` > @@ -823,7 +818,6 @@ exports[`Storyshots Home/Components/Workpad Table Workpad Table 1`] = ` > diff --git a/x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/element_controls.stories.storyshot b/x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/element_controls.stories.storyshot index e70905298a58c..31ff283e7030f 100644 --- a/x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/element_controls.stories.storyshot +++ b/x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/element_controls.stories.storyshot @@ -16,7 +16,6 @@ exports[`Storyshots components/SavedElementsModal/ElementControls has two button > @@ -45,7 +44,6 @@ exports[`Storyshots components/SavedElementsModal/ElementControls has two button > diff --git a/x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/element_grid.stories.storyshot b/x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/element_grid.stories.storyshot index e0ed2934f44b6..db5daa86b1386 100644 --- a/x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/element_grid.stories.storyshot +++ b/x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/element_grid.stories.storyshot @@ -67,7 +67,6 @@ exports[`Storyshots components/SavedElementsModal/ElementGrid default 1`] = ` > @@ -96,7 +95,6 @@ exports[`Storyshots components/SavedElementsModal/ElementGrid default 1`] = ` > @@ -178,7 +176,6 @@ exports[`Storyshots components/SavedElementsModal/ElementGrid default 1`] = ` > @@ -207,7 +204,6 @@ exports[`Storyshots components/SavedElementsModal/ElementGrid default 1`] = ` > @@ -289,7 +285,6 @@ exports[`Storyshots components/SavedElementsModal/ElementGrid default 1`] = ` > @@ -318,7 +313,6 @@ exports[`Storyshots components/SavedElementsModal/ElementGrid default 1`] = ` > diff --git a/x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/saved_elements_modal.stories.storyshot b/x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/saved_elements_modal.stories.storyshot index 372cd12db1b99..f019f9dc8f23d 100644 --- a/x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/saved_elements_modal.stories.storyshot +++ b/x-pack/plugins/canvas/public/components/saved_elements_modal/__stories__/__snapshots__/saved_elements_modal.stories.storyshot @@ -294,7 +294,6 @@ exports[`Storyshots components/SavedElementsModal with custom elements 1`] = ` > @@ -323,7 +322,6 @@ exports[`Storyshots components/SavedElementsModal with custom elements 1`] = ` > @@ -405,7 +403,6 @@ exports[`Storyshots components/SavedElementsModal with custom elements 1`] = ` > @@ -434,7 +431,6 @@ exports[`Storyshots components/SavedElementsModal with custom elements 1`] = ` > @@ -516,7 +512,6 @@ exports[`Storyshots components/SavedElementsModal with custom elements 1`] = ` > @@ -545,7 +540,6 @@ exports[`Storyshots components/SavedElementsModal with custom elements 1`] = ` > @@ -764,7 +758,6 @@ exports[`Storyshots components/SavedElementsModal with text filter 1`] = ` > @@ -793,7 +786,6 @@ exports[`Storyshots components/SavedElementsModal with text filter 1`] = ` > diff --git a/x-pack/plugins/canvas/public/components/sidebar/element_settings/element_settings.tsx b/x-pack/plugins/canvas/public/components/sidebar/element_settings/element_settings.tsx index 9cca858223078..4935647ca6810 100644 --- a/x-pack/plugins/canvas/public/components/sidebar/element_settings/element_settings.tsx +++ b/x-pack/plugins/canvas/public/components/sidebar/element_settings/element_settings.tsx @@ -12,7 +12,7 @@ import { ElementSettings as Component } from './element_settings.component'; import { State, PositionedElement } from '../../../../types'; interface Props { - selectedElementId: string; + selectedElementId: string | null; } const mapStateToProps = (state: State, { selectedElementId }: Props): StateProps => ({ diff --git a/x-pack/plugins/canvas/public/components/sidebar/sidebar.tsx b/x-pack/plugins/canvas/public/components/sidebar/sidebar.tsx index 7976ad1f6d01a..8252455e9ebd8 100644 --- a/x-pack/plugins/canvas/public/components/sidebar/sidebar.tsx +++ b/x-pack/plugins/canvas/public/components/sidebar/sidebar.tsx @@ -6,7 +6,6 @@ */ import React, { FunctionComponent } from 'react'; -// @ts-expect-error unconverted component import { SidebarContent } from './sidebar_content'; interface Props { diff --git a/x-pack/plugins/canvas/public/components/sidebar/sidebar_content/index.ts b/x-pack/plugins/canvas/public/components/sidebar/sidebar_content/index.ts new file mode 100644 index 0000000000000..867f47ea3de65 --- /dev/null +++ b/x-pack/plugins/canvas/public/components/sidebar/sidebar_content/index.ts @@ -0,0 +1,9 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export { SidebarContent } from './sidebar_content'; +export { SidebarContent as SidebarContentComponent } from './sidebar_content.component'; diff --git a/x-pack/plugins/canvas/public/components/sidebar/sidebar_content.js b/x-pack/plugins/canvas/public/components/sidebar/sidebar_content/sidebar_content.component.tsx similarity index 58% rename from x-pack/plugins/canvas/public/components/sidebar/sidebar_content.js rename to x-pack/plugins/canvas/public/components/sidebar/sidebar_content/sidebar_content.component.tsx index 7292a98fa91ae..c469c2fda2776 100644 --- a/x-pack/plugins/canvas/public/components/sidebar/sidebar_content.js +++ b/x-pack/plugins/canvas/public/components/sidebar/sidebar_content/sidebar_content.component.tsx @@ -6,17 +6,19 @@ */ import React, { Fragment } from 'react'; -import { connect } from 'react-redux'; -import { compose, branch, renderComponent } from 'recompose'; import { EuiSpacer } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; +import { SidebarHeader } from '../../sidebar_header'; +import { MultiElementSettings } from '../multi_element_settings'; +import { GroupSettings } from '../group_settings'; +import { GlobalConfig } from '../global_config'; +import { ElementSettings } from '../element_settings'; -import { getSelectedToplevelNodes, getSelectedElementId } from '../../state/selectors/workpad'; -import { SidebarHeader } from '../sidebar_header'; -import { MultiElementSettings } from './multi_element_settings'; -import { GroupSettings } from './group_settings'; -import { GlobalConfig } from './global_config'; -import { ElementSettings } from './element_settings'; +interface SidebarContentProps { + commit?: Function; + selectedElementId: string | null; + selectedToplevelNodes: string[]; +} const strings = { getGroupedElementSidebarTitle: () => @@ -43,12 +45,7 @@ const strings = { }), }; -const mapStateToProps = (state) => ({ - selectedToplevelNodes: getSelectedToplevelNodes(state), - selectedElementId: getSelectedElementId(state), -}); - -const MultiElementSidebar = () => ( +const MultiElementSidebar: React.FC = () => ( @@ -56,38 +53,38 @@ const MultiElementSidebar = () => ( ); -const GroupedElementSidebar = () => ( +const GroupedElementSidebar: React.FC = () => ( - + ); -const SingleElementSidebar = ({ selectedElementId }) => ( +const SingleElementSidebar: React.FC<{ selectedElementId: string | null }> = ({ + selectedElementId, +}) => ( - + ); -const branches = [ - // multiple elements are selected - branch( - ({ selectedToplevelNodes }) => selectedToplevelNodes.length > 1, - renderComponent(MultiElementSidebar) - ), - // a single, grouped element is selected - branch( - ({ selectedToplevelNodes }) => - selectedToplevelNodes.length === 1 && selectedToplevelNodes[0].includes('group'), - renderComponent(GroupedElementSidebar) - ), - // a single element is selected - branch( - ({ selectedToplevelNodes }) => selectedToplevelNodes.length === 1, - renderComponent(SingleElementSidebar) - ), -]; +export const SidebarContent: React.FC = ({ + selectedToplevelNodes, + selectedElementId, +}) => { + if (selectedToplevelNodes.length > 1) { + return ; + } + + if (selectedToplevelNodes.length === 1 && selectedToplevelNodes[0].includes('group')) { + return ; + } -export const SidebarContent = compose(connect(mapStateToProps), ...branches)(GlobalConfig); + if (selectedToplevelNodes.length === 1) { + return ; + } + + return ; +}; diff --git a/x-pack/plugins/canvas/public/components/sidebar/sidebar_content/sidebar_content.tsx b/x-pack/plugins/canvas/public/components/sidebar/sidebar_content/sidebar_content.tsx new file mode 100644 index 0000000000000..e53f5d6d515df --- /dev/null +++ b/x-pack/plugins/canvas/public/components/sidebar/sidebar_content/sidebar_content.tsx @@ -0,0 +1,34 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { useSelector } from 'react-redux'; +import { getSelectedToplevelNodes, getSelectedElementId } from '../../../state/selectors/workpad'; +import { State } from '../../../../types'; +import { SidebarContent as Component } from './sidebar_content.component'; + +interface SidebarContentProps { + commit?: Function; +} + +export const SidebarContent: React.FC = ({ commit }) => { + const selectedToplevelNodes = useSelector((state) => + getSelectedToplevelNodes(state) + ); + + const selectedElementId = useSelector((state) => + getSelectedElementId(state) + ); + + return ( + + ); +}; diff --git a/x-pack/plugins/canvas/public/components/sidebar_header/__stories__/__snapshots__/sidebar_header.stories.storyshot b/x-pack/plugins/canvas/public/components/sidebar_header/__stories__/__snapshots__/sidebar_header.stories.storyshot index e01f34abeb9f0..130f698b1152e 100644 --- a/x-pack/plugins/canvas/public/components/sidebar_header/__stories__/__snapshots__/sidebar_header.stories.storyshot +++ b/x-pack/plugins/canvas/public/components/sidebar_header/__stories__/__snapshots__/sidebar_header.stories.storyshot @@ -55,7 +55,6 @@ exports[`Storyshots components/Sidebar/SidebarHeader with layer controls 1`] = ` > @@ -83,7 +82,6 @@ exports[`Storyshots components/Sidebar/SidebarHeader with layer controls 1`] = ` > @@ -111,7 +109,6 @@ exports[`Storyshots components/Sidebar/SidebarHeader with layer controls 1`] = ` > @@ -139,7 +136,6 @@ exports[`Storyshots components/Sidebar/SidebarHeader with layer controls 1`] = ` > diff --git a/x-pack/plugins/canvas/public/components/sidebar_header/__stories__/sidebar_header.stories.tsx b/x-pack/plugins/canvas/public/components/sidebar_header/__stories__/sidebar_header.stories.tsx index f92ec99995eed..b98d994460dee 100644 --- a/x-pack/plugins/canvas/public/components/sidebar_header/__stories__/sidebar_header.stories.tsx +++ b/x-pack/plugins/canvas/public/components/sidebar_header/__stories__/sidebar_header.stories.tsx @@ -8,7 +8,7 @@ import React from 'react'; import { storiesOf } from '@storybook/react'; import { action } from '@storybook/addon-actions'; -import { SidebarHeader } from '../sidebar_header'; +import { SidebarHeader } from '../sidebar_header.component'; const handlers = { bringToFront: action('bringToFront'), diff --git a/x-pack/plugins/canvas/public/components/sidebar_header/index.js b/x-pack/plugins/canvas/public/components/sidebar_header/index.js deleted file mode 100644 index 6e0fafc2f6bc2..0000000000000 --- a/x-pack/plugins/canvas/public/components/sidebar_header/index.js +++ /dev/null @@ -1,66 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { connect } from 'react-redux'; -import { compose, withHandlers } from 'recompose'; -import { insertNodes, elementLayer, removeElements } from '../../state/actions/elements'; -import { getSelectedPage, getNodes, getSelectedToplevelNodes } from '../../state/selectors/workpad'; -import { flatten } from '../../lib/aeroelastic/functional'; -import { - layerHandlerCreators, - clipboardHandlerCreators, - basicHandlerCreators, - groupHandlerCreators, - alignmentDistributionHandlerCreators, -} from '../../lib/element_handler_creators'; -import { crawlTree } from '../workpad_page/integration_utils'; -import { selectToplevelNodes } from './../../state/actions/transient'; -import { SidebarHeader as Component } from './sidebar_header'; - -/* - * TODO: this is all copied from interactive_workpad_page and workpad_shortcuts - */ -const mapStateToProps = (state) => { - const pageId = getSelectedPage(state); - const nodes = getNodes(state, pageId); - const selectedToplevelNodes = getSelectedToplevelNodes(state); - const selectedPrimaryShapeObjects = selectedToplevelNodes - .map((id) => nodes.find((s) => s.id === id)) - .filter((shape) => shape); - const selectedPersistentPrimaryNodes = flatten( - selectedPrimaryShapeObjects.map((shape) => - nodes.find((n) => n.id === shape.id) // is it a leaf or a persisted group? - ? [shape.id] - : nodes.filter((s) => s.parent === shape.id).map((s) => s.id) - ) - ); - const selectedNodeIds = flatten(selectedPersistentPrimaryNodes.map(crawlTree(nodes))); - - return { - pageId, - selectedNodes: selectedNodeIds.map((id) => nodes.find((s) => s.id === id)), - }; -}; - -const mapDispatchToProps = (dispatch) => ({ - insertNodes: (selectedNodes, pageId) => dispatch(insertNodes(selectedNodes, pageId)), - removeNodes: (nodeIds, pageId) => dispatch(removeElements(nodeIds, pageId)), - selectToplevelNodes: (nodes) => - dispatch(selectToplevelNodes(nodes.filter((e) => !e.position.parent).map((e) => e.id))), - elementLayer: (pageId, elementId, movement) => { - dispatch(elementLayer({ pageId, elementId, movement })); - }, -}); - -export const SidebarHeader = compose( - connect(mapStateToProps, mapDispatchToProps), - withHandlers(basicHandlerCreators), - withHandlers(clipboardHandlerCreators), - withHandlers(layerHandlerCreators), - withHandlers(groupHandlerCreators), - withHandlers(alignmentDistributionHandlerCreators) -)(Component); diff --git a/x-pack/plugins/canvas/public/components/sidebar_header/index.tsx b/x-pack/plugins/canvas/public/components/sidebar_header/index.tsx new file mode 100644 index 0000000000000..64e8013b1ddfa --- /dev/null +++ b/x-pack/plugins/canvas/public/components/sidebar_header/index.tsx @@ -0,0 +1,9 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export { SidebarHeader } from './sidebar_header'; +export { SidebarHeader as SidebarHeaderComponent } from './sidebar_header.component'; diff --git a/x-pack/plugins/canvas/public/components/sidebar_header/sidebar_header.component.tsx b/x-pack/plugins/canvas/public/components/sidebar_header/sidebar_header.component.tsx new file mode 100644 index 0000000000000..08785af9b4b96 --- /dev/null +++ b/x-pack/plugins/canvas/public/components/sidebar_header/sidebar_header.component.tsx @@ -0,0 +1,161 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React, { FunctionComponent } from 'react'; +import { EuiFlexGroup, EuiFlexItem, EuiTitle, EuiButtonIcon, EuiToolTip } from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; + +import { ToolTipShortcut } from '../tool_tip_shortcut'; +import { ShortcutStrings } from '../../../i18n/shortcuts'; + +const strings = { + getBringForwardAriaLabel: () => + i18n.translate('xpack.canvas.sidebarHeader.bringForwardArialLabel', { + defaultMessage: 'Move element up one layer', + }), + getBringToFrontAriaLabel: () => + i18n.translate('xpack.canvas.sidebarHeader.bringToFrontArialLabel', { + defaultMessage: 'Move element to top layer', + }), + getSendBackwardAriaLabel: () => + i18n.translate('xpack.canvas.sidebarHeader.sendBackwardArialLabel', { + defaultMessage: 'Move element down one layer', + }), + getSendToBackAriaLabel: () => + i18n.translate('xpack.canvas.sidebarHeader.sendToBackArialLabel', { + defaultMessage: 'Move element to bottom layer', + }), +}; + +const shortcutHelp = ShortcutStrings.getShortcutHelp(); + +interface Props { + /** + * title to display in the header + */ + title: string; + /** + * indicated whether or not layer controls should be displayed + */ + showLayerControls?: boolean; + /** + * moves selected element to top layer + */ + bringToFront: () => void; + /** + * moves selected element up one layer + */ + bringForward: () => void; + /** + * moves selected element down one layer + */ + sendBackward: () => void; + /** + * moves selected element to bottom layer + */ + sendToBack: () => void; +} + +export const SidebarHeader: FunctionComponent = ({ + title, + showLayerControls = false, + bringToFront, + bringForward, + sendBackward, + sendToBack, +}) => ( + + + +

{title}

+
+
+ {showLayerControls ? ( + + + + + {shortcutHelp.BRING_TO_FRONT} + +
+ } + > + +
+ + + + {shortcutHelp.BRING_FORWARD} + +
+ } + > + +
+ + + + {shortcutHelp.SEND_BACKWARD} + +
+ } + > + + + + + + {shortcutHelp.SEND_TO_BACK} + +
+ } + > + + + + + + ) : null} + +); diff --git a/x-pack/plugins/canvas/public/components/sidebar_header/sidebar_header.tsx b/x-pack/plugins/canvas/public/components/sidebar_header/sidebar_header.tsx index 4ba3a7f90f64b..119195f190252 100644 --- a/x-pack/plugins/canvas/public/components/sidebar_header/sidebar_header.tsx +++ b/x-pack/plugins/canvas/public/components/sidebar_header/sidebar_header.tsx @@ -5,171 +5,72 @@ * 2.0. */ -import React, { FunctionComponent } from 'react'; -import PropTypes from 'prop-types'; -import { EuiFlexGroup, EuiFlexItem, EuiTitle, EuiButtonIcon, EuiToolTip } from '@elastic/eui'; -import { i18n } from '@kbn/i18n'; +import React from 'react'; +import deepEqual from 'react-fast-compare'; +import { useDispatch, useSelector } from 'react-redux'; +// @ts-expect-error unconverted component +import { elementLayer } from '../../state/actions/elements'; +import { getSelectedPage, getNodes, getSelectedToplevelNodes } from '../../state/selectors/workpad'; +// @ts-expect-error unconverted lib +import { flatten } from '../../lib/aeroelastic/functional'; +import { layerHandlerCreators } from '../../lib/element_handler_creators'; +// @ts-expect-error unconverted component +import { crawlTree } from '../workpad_page/integration_utils'; +import { State } from '../../../types'; +import { SidebarHeader as Component } from './sidebar_header.component'; -import { ToolTipShortcut } from '../tool_tip_shortcut/'; -import { ShortcutStrings } from '../../../i18n/shortcuts'; - -const strings = { - getBringForwardAriaLabel: () => - i18n.translate('xpack.canvas.sidebarHeader.bringForwardArialLabel', { - defaultMessage: 'Move element up one layer', - }), - getBringToFrontAriaLabel: () => - i18n.translate('xpack.canvas.sidebarHeader.bringToFrontArialLabel', { - defaultMessage: 'Move element to top layer', - }), - getSendBackwardAriaLabel: () => - i18n.translate('xpack.canvas.sidebarHeader.sendBackwardArialLabel', { - defaultMessage: 'Move element down one layer', - }), - getSendToBackAriaLabel: () => - i18n.translate('xpack.canvas.sidebarHeader.sendToBackArialLabel', { - defaultMessage: 'Move element to bottom layer', - }), +const getSelectedNodes = (state: State, pageId: string): Array => { + const nodes = getNodes(state, pageId); + const selectedToplevelNodes = getSelectedToplevelNodes(state); + const selectedPrimaryShapeObjects = selectedToplevelNodes + .map((id) => nodes.find((s) => s.id === id)) + .filter((shape) => shape); + const selectedPersistentPrimaryNodes = flatten( + selectedPrimaryShapeObjects.map((shape) => + nodes.find((n) => n.id === shape?.id) // is it a leaf or a persisted group? + ? [shape?.id] + : nodes.filter((s) => s.position?.parent === shape?.id).map((s) => s.id) + ) + ); + const selectedNodeIds = flatten(selectedPersistentPrimaryNodes.map(crawlTree(nodes))); + return selectedNodeIds.map((id: string) => nodes.find((s) => s.id === id)); }; -const shortcutHelp = ShortcutStrings.getShortcutHelp(); +const createHandlers = function ( + handlers: Record any>, + context: Record +) { + return Object.keys(handlers).reduce any>>((acc, val) => { + acc[val as keyof T] = handlers[val as keyof T](context); + return acc; + }, {} as Record any>); +}; interface Props { - /** - * title to display in the header - */ title: string; - /** - * indicated whether or not layer controls should be displayed - */ - showLayerControls?: boolean; - /** - * moves selected element to top layer - */ - bringToFront: () => void; - /** - * moves selected element up one layer - */ - bringForward: () => void; - /** - * moves selected element down one layer - */ - sendBackward: () => void; - /** - * moves selected element to bottom layer - */ - sendToBack: () => void; } -export const SidebarHeader: FunctionComponent = ({ - title, - showLayerControls, - bringToFront, - bringForward, - sendBackward, - sendToBack, -}) => ( - - - -

{title}

-
-
- {showLayerControls ? ( - - - - - {shortcutHelp.BRING_TO_FRONT} - - - } - > - - - - - - {shortcutHelp.BRING_FORWARD} - - - } - > - - - - - - {shortcutHelp.SEND_BACKWARD} - - - } - > - - - - - - {shortcutHelp.SEND_TO_BACK} - - - } - > - - - - - - ) : null} -
-); +export const SidebarHeader: React.FC = (props) => { + const pageId = useSelector((state) => getSelectedPage(state)); + const selectedNodes = useSelector>( + (state) => getSelectedNodes(state, pageId), + deepEqual + ); -SidebarHeader.propTypes = { - title: PropTypes.string.isRequired, - showLayerControls: PropTypes.bool, // TODO: remove when we support relayering multiple elements - bringToFront: PropTypes.func.isRequired, - bringForward: PropTypes.func.isRequired, - sendBackward: PropTypes.func.isRequired, - sendToBack: PropTypes.func.isRequired, -}; + const dispatch = useDispatch(); + + const elementLayerDispatch = (selectedPageId: string, elementId: string, movement: number) => { + dispatch(elementLayer({ pageId: selectedPageId, elementId, movement })); + }; + + const handlersContext = { + ...props, + pageId, + selectedNodes, + elementLayer: elementLayerDispatch, + }; + + const layerHandlers = createHandlers(layerHandlerCreators, handlersContext); -SidebarHeader.defaultProps = { - showLayerControls: false, + return ; }; diff --git a/x-pack/plugins/canvas/public/components/var_config/__stories__/__snapshots__/var_config.stories.storyshot b/x-pack/plugins/canvas/public/components/var_config/__stories__/__snapshots__/var_config.stories.storyshot index 5d8efeafef69c..8ca3dc2a94d4e 100644 --- a/x-pack/plugins/canvas/public/components/var_config/__stories__/__snapshots__/var_config.stories.storyshot +++ b/x-pack/plugins/canvas/public/components/var_config/__stories__/__snapshots__/var_config.stories.storyshot @@ -35,7 +35,6 @@ exports[`Storyshots components/Variables/VarConfig default 1`] = ` > @@ -53,7 +52,6 @@ exports[`Storyshots components/Variables/VarConfig default 1`] = ` > diff --git a/x-pack/plugins/canvas/public/expression_types/arg.js b/x-pack/plugins/canvas/public/expression_types/arg.js deleted file mode 100644 index c3b351e5634ec..0000000000000 --- a/x-pack/plugins/canvas/public/expression_types/arg.js +++ /dev/null @@ -1,75 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { createElement } from 'react'; -import { pick } from 'lodash'; -import { ArgForm } from '../components/arg_form'; -import { argTypeRegistry } from './arg_type'; - -export class Arg { - constructor(props) { - const argType = argTypeRegistry.get(props.argType); - if (!argType) { - throw new Error(`Invalid arg type: ${props.argType}`); - } - if (!props.name) { - throw new Error('Args must have a name property'); - } - - // properties that can be overridden - const defaultProps = { - multi: false, - required: false, - types: [], - default: argType.default != null ? argType.default : null, - options: {}, - resolve: () => ({}), - }; - - const viewOverrides = { - argType, - ...pick(props, [ - 'name', - 'displayName', - 'help', - 'multi', - 'required', - 'types', - 'default', - 'resolve', - 'options', - ]), - }; - - Object.assign(this, defaultProps, argType, viewOverrides); - } - - // TODO: Document what these otherProps are. Maybe make them named arguments? - render({ onValueChange, onValueRemove, argValue, key, label, ...otherProps }) { - // This is everything the arg_type template needs to render - const templateProps = { - ...otherProps, - ...this.resolve(otherProps), - onValueChange, - argValue, - typeInstance: this, - }; - - const formProps = { - key, - argTypeInstance: this, - valueMissing: this.required && argValue == null, - label, - onValueChange, - onValueRemove, - templateProps, - argId: key, - }; - - return createElement(ArgForm, formProps); - } -} diff --git a/x-pack/plugins/canvas/public/expression_types/arg.ts b/x-pack/plugins/canvas/public/expression_types/arg.ts new file mode 100644 index 0000000000000..0fc1c996f327c --- /dev/null +++ b/x-pack/plugins/canvas/public/expression_types/arg.ts @@ -0,0 +1,145 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { merge } from 'lodash'; +import { createElement } from 'react'; +import { Ast } from '@kbn/interpreter/common'; +// @ts-expect-error unconverted components +import { ArgForm } from '../components/arg_form'; +import { argTypeRegistry } from './arg_type_registry'; +import type { ArgType, ArgTypeDef, ExpressionType } from './types'; +import { + AssetType, + CanvasElement, + ExpressionAstExpression, + ExpressionValue, + ExpressionContext, +} from '../../types'; +import { BaseFormProps } from './base_form'; + +interface ArtOwnProps { + argType: ArgType; + multi?: boolean; + required?: boolean; + types?: string[]; + default?: string | null; + resolve?: (...args: any[]) => any; + options?: { + include?: string[]; + confirm?: string; + labelValue?: string; + choices?: Array<{ name: string; value: string }>; + min?: number; + max?: number; + shapes?: string[]; + }; +} +export type ArgProps = ArtOwnProps & BaseFormProps; + +export interface DataArg { + argValue?: string | Ast | null; + skipRender?: boolean; + label?: string; + valueIndex: number; + key?: string; + labels?: string[]; + contextExpression?: string; + name: string; + argResolver: (ast: ExpressionAstExpression) => Promise; + args: Record> | null; + argType: ArgType; + argTypeDef?: ArgTypeDef; + filterGroups: string[]; + context?: ExpressionContext; + expressionIndex: number; + expressionType: ExpressionType; + nextArgType?: ArgType; + nextExpressionType?: ExpressionType; + onValueAdd: (argName: string, argValue: string | Ast | null) => () => void; + onAssetAdd: (type: AssetType['type'], content: AssetType['value']) => string; + onValueChange: (value: Ast | string) => void; + onValueRemove: () => void; + updateContext: (element?: CanvasElement) => void; + typeInstance?: ExpressionType; +} + +export class Arg { + argType?: ArgType; + multi?: boolean; + required?: boolean; + types?: string[]; + default?: string | null; + resolve?: (...args: any[]) => any; + options?: { + include: string[]; + }; + name: string = ''; + displayName?: string; + help?: string; + + constructor(props: ArgProps) { + const argType = argTypeRegistry.get(props.argType); + if (!argType) { + throw new Error(`Invalid arg type: ${props.argType}`); + } + if (!props.name) { + throw new Error('Args must have a name property'); + } + + // properties that can be overridden + const defaultProps = { + multi: false, + required: false, + types: [], + default: argType.default != null ? argType.default : null, + options: {}, + resolve: () => ({}), + }; + + const { name, displayName, help, multi, types, options } = props; + + merge(this, defaultProps, argType, { + argType, + name, + displayName, + help, + multi, + types, + default: props.default, + resolve: props.resolve, + required: props.required, + options, + }); + } + + // TODO: Document what these otherProps are. Maybe make them named arguments? + render(data: DataArg) { + const { onValueChange, onValueRemove, argValue, key, label, ...otherProps } = data; + // This is everything the arg_type template needs to render + const templateProps = { + ...otherProps, + ...this.resolve?.(otherProps), + onValueChange, + argValue, + typeInstance: this, + }; + + const formProps = { + key, + argTypeInstance: this, + valueMissing: this.required && argValue == null, + label, + onValueChange, + onValueRemove, + templateProps, + argId: key, + options: this.options, + }; + + return createElement(ArgForm, formProps); + } +} diff --git a/x-pack/plugins/canvas/public/expression_types/arg_type.ts b/x-pack/plugins/canvas/public/expression_types/arg_type.ts new file mode 100644 index 0000000000000..2345b07d79807 --- /dev/null +++ b/x-pack/plugins/canvas/public/expression_types/arg_type.ts @@ -0,0 +1,33 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { templateFromReactComponent } from '../lib/template_from_react_component'; +import { BaseForm, BaseFormProps } from './base_form'; + +interface ArgTypeOwnProps { + simpleTemplate: ReturnType; + template?: ReturnType; + default?: string; + resolveArgValue?: boolean; +} + +export type ArgTypeProps = ArgTypeOwnProps & BaseFormProps; + +export class ArgType extends BaseForm { + simpleTemplate: ReturnType; + template?: ReturnType; + default?: string; + resolveArgValue: boolean; + + constructor(props: ArgTypeProps) { + super(props); + this.simpleTemplate = props.simpleTemplate; + this.template = props.template; + this.default = props.default; + this.resolveArgValue = Boolean(props.resolveArgValue); + } +} diff --git a/x-pack/plugins/canvas/public/expression_types/arg_type.js b/x-pack/plugins/canvas/public/expression_types/arg_type_registry.ts similarity index 52% rename from x-pack/plugins/canvas/public/expression_types/arg_type.js rename to x-pack/plugins/canvas/public/expression_types/arg_type_registry.ts index 30273cedd818c..579245d0d312b 100644 --- a/x-pack/plugins/canvas/public/expression_types/arg_type.js +++ b/x-pack/plugins/canvas/public/expression_types/arg_type_registry.ts @@ -4,23 +4,11 @@ * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ - import { Registry } from '@kbn/interpreter/common'; -import { BaseForm } from './base_form'; - -export class ArgType extends BaseForm { - constructor(props) { - super(props); - - this.simpleTemplate = props.simpleTemplate; - this.template = props.template; - this.default = props.default; - this.resolveArgValue = Boolean(props.resolveArgValue); - } -} +import { ArgType, ArgTypeProps } from './arg_type'; -class ArgTypeRegistry extends Registry { - wrapper(obj) { +class ArgTypeRegistry extends Registry { + wrapper(obj: ArgTypeProps) { return new ArgType(obj); } } diff --git a/x-pack/plugins/canvas/public/expression_types/arg_types/series_style/__stories__/__snapshots__/simple_template.stories.storyshot b/x-pack/plugins/canvas/public/expression_types/arg_types/series_style/__stories__/__snapshots__/simple_template.stories.storyshot index f4233e27345c0..ccdd0a8592f2b 100644 --- a/x-pack/plugins/canvas/public/expression_types/arg_types/series_style/__stories__/__snapshots__/simple_template.stories.storyshot +++ b/x-pack/plugins/canvas/public/expression_types/arg_types/series_style/__stories__/__snapshots__/simple_template.stories.storyshot @@ -212,7 +212,6 @@ exports[`Storyshots arguments/SeriesStyle/components simple: no series 1`] = ` > diff --git a/x-pack/plugins/canvas/public/expression_types/base_form.js b/x-pack/plugins/canvas/public/expression_types/base_form.ts similarity index 72% rename from x-pack/plugins/canvas/public/expression_types/base_form.js rename to x-pack/plugins/canvas/public/expression_types/base_form.ts index 7ca2d6a78b656..11d6b24ee3e86 100644 --- a/x-pack/plugins/canvas/public/expression_types/base_form.js +++ b/x-pack/plugins/canvas/public/expression_types/base_form.ts @@ -5,8 +5,18 @@ * 2.0. */ +export interface BaseFormProps { + name: string; + displayName?: string; + help?: string; +} + export class BaseForm { - constructor(props) { + name: string; + displayName: string; + help: string; + + constructor(props: BaseFormProps) { if (!props.name) { throw new Error('Expression specs require a name property'); } diff --git a/x-pack/plugins/canvas/public/expression_types/datasource.js b/x-pack/plugins/canvas/public/expression_types/datasource.js deleted file mode 100644 index f8bbff702a4e9..0000000000000 --- a/x-pack/plugins/canvas/public/expression_types/datasource.js +++ /dev/null @@ -1,76 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import React from 'react'; -import PropTypes from 'prop-types'; -import { Registry } from '@kbn/interpreter/common'; -import { RenderToDom } from '../components/render_to_dom'; -import { ExpressionFormHandlers } from '../../common/lib/expression_form_handlers'; -import { BaseForm } from './base_form'; - -const defaultTemplate = () => ( -
-

This datasource has no interface. Use the expression editor to make changes.

-
-); - -class DatasourceWrapper extends React.PureComponent { - static propTypes = { - spec: PropTypes.object.isRequired, - datasourceProps: PropTypes.object.isRequired, - handlers: PropTypes.object.isRequired, - }; - - componentDidUpdate() { - this.callRenderFn(); - } - - componentWillUnmount() { - this.props.handlers.destroy(); - } - - callRenderFn = () => { - const { spec, datasourceProps, handlers } = this.props; - const { template } = spec; - template(this.domNode, datasourceProps, handlers); - }; - - render() { - return ( - { - this.domNode = domNode; - this.callRenderFn(); - }} - /> - ); - } -} - -export class Datasource extends BaseForm { - constructor(props) { - super(props); - - this.template = props.template || defaultTemplate; - this.image = props.image; - } - - render(props = {}) { - const expressionFormHandlers = new ExpressionFormHandlers(); - return ( - - ); - } -} - -class DatasourceRegistry extends Registry { - wrapper(obj) { - return new Datasource(obj); - } -} - -export const datasourceRegistry = new DatasourceRegistry(); diff --git a/x-pack/plugins/canvas/public/expression_types/datasource.tsx b/x-pack/plugins/canvas/public/expression_types/datasource.tsx new file mode 100644 index 0000000000000..0afb9bdd2f96a --- /dev/null +++ b/x-pack/plugins/canvas/public/expression_types/datasource.tsx @@ -0,0 +1,99 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React, { useEffect, useRef, useCallback } from 'react'; +import { Ast } from '@kbn/interpreter/common'; +import { RenderToDom } from '../components/render_to_dom'; +import { BaseForm, BaseFormProps } from './base_form'; +import { ExpressionFormHandlers } from '../../common/lib'; +import { ExpressionFunction } from '../../types'; + +const defaultTemplate = () => ( +
+

This datasource has no interface. Use the expression editor to make changes.

+
+); + +type TemplateFn = ( + domNode: HTMLElement, + config: DatasourceRenderProps, + handlers: ExpressionFormHandlers +) => void; + +export type DatasourceProps = { + template?: TemplateFn; + image?: string; + requiresContext?: boolean; +} & BaseFormProps; + +export interface DatasourceRenderProps { + args: Record> | null; + updateArgs: (...args: any[]) => void; + datasourceDef: ExpressionFunction; + isInvalid: boolean; + setInvalid: (invalid: boolean) => void; + defaultIndex: string; + renderError: (...args: any[]) => void; +} + +interface DatasourceWrapperProps { + handlers: ExpressionFormHandlers; + spec: Datasource; + datasourceProps: DatasourceRenderProps; +} + +const DatasourceWrapper: React.FunctionComponent = (props) => { + const domNodeRef = useRef(); + const { spec, datasourceProps, handlers } = props; + + const callRenderFn = useCallback(() => { + const { template } = spec; + + if (!domNodeRef.current) { + return; + } + + template(domNodeRef.current, datasourceProps, handlers); + }, [datasourceProps, handlers, spec]); + + useEffect(() => { + callRenderFn(); + return () => { + handlers.destroy(); + }; + }, [callRenderFn, handlers, props]); + + return ( + { + domNodeRef.current = domNode; + callRenderFn(); + }} + /> + ); +}; + +export class Datasource extends BaseForm { + template: TemplateFn | React.FC; + image?: string; + requiresContext?: boolean; + + constructor(props: DatasourceProps) { + super(props); + + this.template = props.template ?? defaultTemplate; + this.image = props.image; + this.requiresContext = props.requiresContext; + } + + render(props: DatasourceRenderProps) { + const expressionFormHandlers = new ExpressionFormHandlers(); + return ( + + ); + } +} diff --git a/x-pack/plugins/canvas/public/expression_types/datasource_registry.ts b/x-pack/plugins/canvas/public/expression_types/datasource_registry.ts new file mode 100644 index 0000000000000..b6427fac9d4a0 --- /dev/null +++ b/x-pack/plugins/canvas/public/expression_types/datasource_registry.ts @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { Registry } from '@kbn/interpreter/common'; +import { Datasource } from './datasource'; +import type { Datasource as DatasourceType, DatasourceProps } from './datasource'; + +class DatasourceRegistry extends Registry { + wrapper(obj: DatasourceProps): DatasourceType { + return new Datasource(obj); + } +} + +export const datasourceRegistry = new DatasourceRegistry(); diff --git a/x-pack/plugins/canvas/public/expression_types/function_form.js b/x-pack/plugins/canvas/public/expression_types/function_form.tsx similarity index 57% rename from x-pack/plugins/canvas/public/expression_types/function_form.js rename to x-pack/plugins/canvas/public/expression_types/function_form.tsx index 2f4e983e9fd4e..70279453ac658 100644 --- a/x-pack/plugins/canvas/public/expression_types/function_form.js +++ b/x-pack/plugins/canvas/public/expression_types/function_form.tsx @@ -5,25 +5,76 @@ * 2.0. */ +import React, { ReactElement } from 'react'; import { EuiCallOut } from '@elastic/eui'; -import React from 'react'; import { isPlainObject, uniq, last, compact } from 'lodash'; -import { fromExpression } from '@kbn/interpreter/common'; +import { Ast, fromExpression } from '@kbn/interpreter/common'; import { ArgAddPopover } from '../components/arg_add_popover'; +// @ts-expect-error unconverted components import { SidebarSection } from '../components/sidebar/sidebar_section'; +// @ts-expect-error unconverted components import { SidebarSectionTitle } from '../components/sidebar/sidebar_section_title'; -import { BaseForm } from './base_form'; -import { Arg } from './arg'; +import { BaseForm, BaseFormProps } from './base_form'; +import { Arg, ArgProps } from './arg'; +import { ArgType, ArgTypeDef, ExpressionType } from './types'; +import { + AssetType, + CanvasElement, + DatatableColumn, + ExpressionAstExpression, + ExpressionContext, + ExpressionValue, +} from '../../types'; + +export interface DataArg { + arg: Arg | undefined; + argValues?: Array; + skipRender?: boolean; + label?: 'string'; +} + +export type RenderArgData = BaseFormProps & { + argType: ArgType; + argTypeDef?: ArgTypeDef; + args: Record> | null; + argResolver: (ast: ExpressionAstExpression) => Promise; + context?: ExpressionContext; + contextExpression?: string; + expressionIndex: number; + expressionType: ExpressionType; + filterGroups: string[]; + nextArgType?: ArgType; + nextExpressionType?: ExpressionType; + onValueAdd: (argName: string, argValue: string | Ast | null) => () => void; + onValueChange: (argName: string, argIndex: number) => (value: string | Ast) => void; + onValueRemove: (argName: string, argIndex: number) => () => void; + onAssetAdd: (type: AssetType['type'], content: AssetType['value']) => string; + updateContext: (element?: CanvasElement) => void; + typeInstance?: ExpressionType; + columns?: DatatableColumn[]; +}; + +export type RenderArgProps = { + typeInstance: FunctionForm; +} & RenderArgData; + +export type FunctionFormProps = { + args?: ArgProps[]; + resolve?: (...args: any[]) => any; +} & BaseFormProps; export class FunctionForm extends BaseForm { - constructor(props) { + args: ArgProps[]; + resolve: (...args: any[]) => any; + + constructor(props: FunctionFormProps) { super({ ...props }); this.args = props.args || []; this.resolve = props.resolve || (() => ({})); } - renderArg(props, dataArg) { + renderArg(props: RenderArgProps, dataArg: DataArg) { const { onValueRemove, onValueChange, ...passedProps } = props; const { arg, argValues, skipRender, label } = dataArg; const { argType, expressionIndex } = passedProps; @@ -32,22 +83,24 @@ export class FunctionForm extends BaseForm { if (!arg || skipRender) { return null; } - - const renderArgWithProps = (argValue, valueIndex) => + const renderArgWithProps = ( + argValue: string | Ast | null, + valueIndex: number + ): ReactElement | null => arg.render({ key: `${argType}-${expressionIndex}-${arg.name}-${valueIndex}`, ...passedProps, label, valueIndex, - argValue, onValueChange: onValueChange(arg.name, valueIndex), onValueRemove: onValueRemove(arg.name, valueIndex), + argValue: argValue ?? null, }); // render the argument's template, wrapped in a remove control // if the argument is required but not included, render the control anyway if (!argValues && arg.required) { - return renderArgWithProps({ type: undefined, value: '' }, 0); + return renderArgWithProps(null, 0); } // render all included argument controls @@ -55,7 +108,7 @@ export class FunctionForm extends BaseForm { } // TODO: Argument adding isn't very good, we should improve this UI - getAddableArg(props, dataArg) { + getAddableArg(props: RenderArgProps, dataArg: DataArg) { const { onValueAdd } = props; const { arg, argValues, skipRender } = dataArg; @@ -68,47 +121,54 @@ export class FunctionForm extends BaseForm { } const value = arg.default == null ? null : fromExpression(arg.default, 'argument'); - return { arg, onValueAdd: onValueAdd(arg.name, value) }; } - resolveArg() { + resolveArg(...args: unknown[]) { // basically a no-op placeholder return {}; } - render(data = {}) { + render(data: RenderArgData) { + if (!data) { + data = { + args: null, + argTypeDef: undefined, + } as RenderArgData; + } const { args, argTypeDef } = data; // Don't instaniate these until render time, to give the registries a chance to populate. const argInstances = this.args.map((argSpec) => new Arg(argSpec)); - if (!isPlainObject(args)) { + if (args === null || !isPlainObject(args)) { throw new Error(`Form "${this.name}" expects "args" object`); } // get a mapping of arg values from the expression and from the renderable's schema const argNames = uniq(argInstances.map((arg) => arg.name).concat(Object.keys(args))); const dataArgs = argNames.map((argName) => { - const arg = argInstances.find((arg) => arg.name === argName); - + const arg = argInstances.find((argument) => argument.name === argName); // if arg is not multi, only preserve the last value found // otherwise, leave the value alone (including if the arg is not defined) const isMulti = arg && arg.multi; - const argValues = args[argName] && !isMulti ? [last(args[argName])] : args[argName]; + const argValues = args[argName] && !isMulti ? [last(args[argName]) ?? null] : args[argName]; return { arg, argValues }; }); // props are passed to resolve and the returned object is mixed into the template props const props = { ...data, ...this.resolve(data), typeInstance: this }; - try { // allow a hook to override the data args const resolvedDataArgs = dataArgs.map((d) => ({ ...d, ...this.resolveArg(d, props) })); - const argumentForms = compact(resolvedDataArgs.map((d) => this.renderArg(props, d))); - const addableArgs = compact(resolvedDataArgs.map((d) => this.getAddableArg(props, d))); + const argumentForms = compact( + resolvedDataArgs.map((dataArg) => this.renderArg(props, dataArg)) + ); + const addableArgs = compact( + resolvedDataArgs.map((dataArg) => this.getAddableArg(props, dataArg)) + ); if (!addableArgs.length && !argumentForms.length) { return null; @@ -116,13 +176,13 @@ export class FunctionForm extends BaseForm { return ( - + {addableArgs.length === 0 ? null : } {argumentForms} ); - } catch (e) { + } catch (e: any) { return (

{e.message}

diff --git a/x-pack/plugins/canvas/public/expression_types/index.js b/x-pack/plugins/canvas/public/expression_types/index.js deleted file mode 100644 index ce1af41669086..0000000000000 --- a/x-pack/plugins/canvas/public/expression_types/index.js +++ /dev/null @@ -1,13 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -export { Datasource, datasourceRegistry } from './datasource'; -export { Transform, transformRegistry } from './transform'; -export { Model, modelRegistry } from './model'; -export { View, viewRegistry } from './view'; -export { ArgType, argTypeRegistry } from './arg_type'; -export { Arg } from './arg'; diff --git a/x-pack/plugins/canvas/public/expression_types/index.ts b/x-pack/plugins/canvas/public/expression_types/index.ts new file mode 100644 index 0000000000000..88cb9aa1548a2 --- /dev/null +++ b/x-pack/plugins/canvas/public/expression_types/index.ts @@ -0,0 +1,23 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +export { Datasource } from './datasource'; +export { datasourceRegistry } from './datasource_registry'; + +export { Transform } from './transform'; +export { transformRegistry } from './transform_registry'; + +export { Model } from './model'; +export { modelRegistry } from './model_registry'; + +export { View } from './view'; +export { viewRegistry } from './view_registry'; + +export { ArgType } from './arg_type'; +export { argTypeRegistry } from './arg_type_registry'; + +export { Arg } from './arg'; diff --git a/x-pack/plugins/canvas/public/expression_types/model.js b/x-pack/plugins/canvas/public/expression_types/model.js deleted file mode 100644 index 1ba4f74a0ba5a..0000000000000 --- a/x-pack/plugins/canvas/public/expression_types/model.js +++ /dev/null @@ -1,72 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { get, pick } from 'lodash'; -import { Registry } from '@kbn/interpreter/common'; -import { FunctionForm } from './function_form'; - -const NO_NEXT_EXP = 'no next expression'; -const MISSING_MODEL_ARGS = 'missing model args'; - -function getModelArgs(expressionType) { - if (!expressionType) { - return NO_NEXT_EXP; - } - - if (!expressionType.modelArgs) { - return MISSING_MODEL_ARGS; - } - - return expressionType.modelArgs.length > 0 ? expressionType.modelArgs : MISSING_MODEL_ARGS; -} - -export class Model extends FunctionForm { - constructor(props) { - super(props); - - const propNames = ['requiresContext']; - const defaultProps = { - requiresContext: true, - }; - - Object.assign(this, defaultProps, pick(props, propNames)); - } - - resolveArg(dataArg, props) { - // custom argument resolver - // uses `modelArgs` from following expression to control which arguments get rendered - const { nextExpressionType } = props; - const modelArgs = getModelArgs(nextExpressionType); - - // if there is no following expression, or no modelArgs, argument is shown by default - if (modelArgs === NO_NEXT_EXP || modelArgs === MISSING_MODEL_ARGS) { - return { skipRender: false }; - } - - // if argument is missing from modelArgs, mark it as skipped - const argName = get(dataArg, 'arg.name'); - const modelArg = modelArgs.find((modelArg) => { - if (Array.isArray(modelArg)) { - return modelArg[0] === argName; - } - return modelArg === argName; - }); - - return { - label: Array.isArray(modelArg) ? get(modelArg[1], 'label') : null, - skipRender: !modelArg, - }; - } -} - -class ModelRegistry extends Registry { - wrapper(obj) { - return new Model(obj); - } -} - -export const modelRegistry = new ModelRegistry(); diff --git a/x-pack/plugins/canvas/public/expression_types/model.ts b/x-pack/plugins/canvas/public/expression_types/model.ts new file mode 100644 index 0000000000000..49f8346212f96 --- /dev/null +++ b/x-pack/plugins/canvas/public/expression_types/model.ts @@ -0,0 +1,80 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { merge } from 'lodash'; +import { FunctionForm, FunctionFormProps } from './function_form'; +import { Arg, View } from './types'; + +const NO_NEXT_EXP = 'no next expression'; +const MISSING_MODEL_ARGS = 'missing model args'; + +interface ModelOwnProps { + nextExpressionType?: View; + requiresContext?: boolean; + default?: string; + resolveArgValue?: boolean; + modelArgs: string[] | Arg[]; +} + +interface DataArg { + arg: Arg; +} + +export type ModelProps = ModelOwnProps & FunctionFormProps; + +function getModelArgs(expressionType?: View) { + if (!expressionType) { + return NO_NEXT_EXP; + } + + if (!expressionType?.modelArgs) { + return MISSING_MODEL_ARGS; + } + + return expressionType?.modelArgs.length > 0 ? expressionType?.modelArgs : MISSING_MODEL_ARGS; +} + +export class Model extends FunctionForm { + requiresContext?: boolean; + + constructor(props: ModelProps) { + super(props); + + const defaultProps = { requiresContext: true }; + const { requiresContext } = props; + + merge(this, defaultProps, { requiresContext }); + } + + resolveArg(dataArg: DataArg, props: ModelProps) { + // custom argument resolver + // uses `modelArgs` from following expression to control which arguments get rendered + const { nextExpressionType } = props; + const modelArgs: Array | string = getModelArgs(nextExpressionType); + + // if there is no following expression, or no modelArgs, argument is shown by default + if (modelArgs === NO_NEXT_EXP || modelArgs === MISSING_MODEL_ARGS) { + return { skipRender: false }; + } + + // if argument is missing from modelArgs, mark it as skipped + const argName = dataArg?.arg?.name; + const modelArg = + typeof modelArgs !== 'string' && + modelArgs.find((arg) => { + if (Array.isArray(arg)) { + return arg[0] === argName; + } + return arg === argName; + }); + + return { + label: Array.isArray(modelArg) ? modelArg[1]?.label : null, + skipRender: !modelArg, + }; + } +} diff --git a/x-pack/plugins/canvas/public/expression_types/model_registry.ts b/x-pack/plugins/canvas/public/expression_types/model_registry.ts new file mode 100644 index 0000000000000..f5c290f2fe2e9 --- /dev/null +++ b/x-pack/plugins/canvas/public/expression_types/model_registry.ts @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { Registry } from '@kbn/interpreter/common'; +import { Model } from './model'; +import type { ModelProps, Model as ModelType } from './model'; + +class ModelRegistry extends Registry { + wrapper(obj: ModelProps): ModelType { + return new Model(obj); + } +} + +export const modelRegistry = new ModelRegistry(); diff --git a/x-pack/plugins/canvas/public/expression_types/transform.js b/x-pack/plugins/canvas/public/expression_types/transform.js deleted file mode 100644 index 6a190e72aded7..0000000000000 --- a/x-pack/plugins/canvas/public/expression_types/transform.js +++ /dev/null @@ -1,31 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { pick } from 'lodash'; -import { Registry } from '@kbn/interpreter/common'; -import { FunctionForm } from './function_form'; - -export class Transform extends FunctionForm { - constructor(props) { - super(props); - - const propNames = ['requiresContext']; - const defaultProps = { - requiresContext: true, - }; - - Object.assign(this, defaultProps, pick(props, propNames)); - } -} - -class TransformRegistry extends Registry { - wrapper(obj) { - return new Transform(obj); - } -} - -export const transformRegistry = new TransformRegistry(); diff --git a/x-pack/plugins/canvas/public/expression_types/transform.ts b/x-pack/plugins/canvas/public/expression_types/transform.ts new file mode 100644 index 0000000000000..6b901b5ae7126 --- /dev/null +++ b/x-pack/plugins/canvas/public/expression_types/transform.ts @@ -0,0 +1,24 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ +import { merge } from 'lodash'; +import { FunctionForm, FunctionFormProps } from './function_form'; + +export type TransformProps = { requiresContext: boolean } & FunctionFormProps; + +export class Transform extends FunctionForm { + requiresContext?: boolean; + + constructor(props: TransformProps) { + super(props); + const { requiresContext } = props; + const defaultProps = { + requiresContext: true, + }; + + merge(this, defaultProps, { requiresContext }); + } +} diff --git a/x-pack/plugins/canvas/public/expression_types/transform_registry.ts b/x-pack/plugins/canvas/public/expression_types/transform_registry.ts new file mode 100644 index 0000000000000..a69f5fcf554fe --- /dev/null +++ b/x-pack/plugins/canvas/public/expression_types/transform_registry.ts @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { Registry } from '@kbn/interpreter/common'; +import { Transform } from './transform'; +import type { Transform as TransformType, TransformProps } from './transform'; + +class TransformRegistry extends Registry { + wrapper(obj: TransformProps): TransformType { + return new Transform(obj); + } +} + +export const transformRegistry = new TransformRegistry(); diff --git a/x-pack/plugins/canvas/public/expression_types/types.ts b/x-pack/plugins/canvas/public/expression_types/types.ts new file mode 100644 index 0000000000000..704dae83c8a55 --- /dev/null +++ b/x-pack/plugins/canvas/public/expression_types/types.ts @@ -0,0 +1,22 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import type { Transform } from './transform'; +import type { View } from './view'; +import type { Datasource } from './datasource'; +import type { Model } from './model'; + +export type ArgType = string; + +export type ArgTypeDef = View | Model | Transform | Datasource; + +export { Transform, View, Datasource, Model }; +export type { Arg } from './arg'; + +export type ExpressionType = View | Model | Transform; + +export type { RenderArgData } from './function_form'; diff --git a/x-pack/plugins/canvas/public/expression_types/view.js b/x-pack/plugins/canvas/public/expression_types/view.js deleted file mode 100644 index a4613e51ecbee..0000000000000 --- a/x-pack/plugins/canvas/public/expression_types/view.js +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { pick } from 'lodash'; -import { Registry } from '@kbn/interpreter/common'; -import { FunctionForm } from './function_form'; - -export class View extends FunctionForm { - constructor(props) { - super(props); - - const propNames = ['help', 'modelArgs', 'requiresContext']; - const defaultProps = { - help: `Element: ${props.name}`, - requiresContext: true, - }; - - Object.assign(this, defaultProps, pick(props, propNames)); - - this.modelArgs = this.modelArgs || []; - - if (!Array.isArray(this.modelArgs)) { - throw new Error(`${this.name} element is invalid, modelArgs must be an array`); - } - } -} - -class ViewRegistry extends Registry { - wrapper(obj) { - return new View(obj); - } -} - -export const viewRegistry = new ViewRegistry(); diff --git a/x-pack/plugins/canvas/public/expression_types/view.ts b/x-pack/plugins/canvas/public/expression_types/view.ts new file mode 100644 index 0000000000000..ae9c37678c396 --- /dev/null +++ b/x-pack/plugins/canvas/public/expression_types/view.ts @@ -0,0 +1,39 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { merge } from 'lodash'; +import { FunctionForm, FunctionFormProps } from './function_form'; +import { Arg } from './types'; + +interface ViewOwnProps { + modelArgs: string[] | Arg[]; + requiresContext?: boolean; + default?: string; + resolveArgValue?: boolean; +} + +export type ViewProps = ViewOwnProps & FunctionFormProps; + +export class View extends FunctionForm { + modelArgs: string[] | Arg[] = []; + requiresContext?: boolean; + + constructor(props: ViewProps) { + super(props); + const { help, modelArgs, requiresContext } = props; + const defaultProps = { + help: `Element: ${props.name}`, + requiresContext: true, + }; + + merge(this, defaultProps, { help, modelArgs: modelArgs || [], requiresContext }); + + if (!Array.isArray(this.modelArgs)) { + throw new Error(`${this.name} element is invalid, modelArgs must be an array`); + } + } +} diff --git a/x-pack/plugins/canvas/public/expression_types/view_registry.ts b/x-pack/plugins/canvas/public/expression_types/view_registry.ts new file mode 100644 index 0000000000000..108a65c73ec60 --- /dev/null +++ b/x-pack/plugins/canvas/public/expression_types/view_registry.ts @@ -0,0 +1,18 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { Registry } from '@kbn/interpreter/common'; +import { View } from './view'; +import type { View as ViewType, ViewProps } from './view'; + +class ViewRegistry extends Registry { + wrapper(obj: ViewProps): ViewType { + return new View(obj); + } +} + +export const viewRegistry = new ViewRegistry(); diff --git a/x-pack/plugins/canvas/public/lib/find_expression_type.js b/x-pack/plugins/canvas/public/lib/find_expression_type.ts similarity index 70% rename from x-pack/plugins/canvas/public/lib/find_expression_type.js rename to x-pack/plugins/canvas/public/lib/find_expression_type.ts index 037b64b334fd6..cb054414b8725 100644 --- a/x-pack/plugins/canvas/public/lib/find_expression_type.js +++ b/x-pack/plugins/canvas/public/lib/find_expression_type.ts @@ -5,19 +5,19 @@ * 2.0. */ -//import { datasourceRegistry } from '../expression_types/datasource'; -import { transformRegistry } from '../expression_types/transform'; -import { modelRegistry } from '../expression_types/model'; -import { viewRegistry } from '../expression_types/view'; +import { transformRegistry } from '../expression_types/transform_registry'; +import { modelRegistry } from '../expression_types/model_registry'; +import { viewRegistry } from '../expression_types/view_registry'; +import { ArgType, ExpressionType } from '../expression_types/types'; -const expressionTypes = ['view', 'model', 'transform', 'datasource']; +const expressionTypes: ArgType[] = ['view', 'model', 'transform', 'datasource']; -export function findExpressionType(name, type) { +export function findExpressionType(name: string, type?: ArgType | null) { const checkTypes = expressionTypes.filter( (expressionType) => type == null || expressionType === type ); - const matches = checkTypes.reduce((acc, checkType) => { + const matches = checkTypes.reduce((acc: ExpressionType[], checkType) => { let expression; switch (checkType) { case 'view': diff --git a/x-pack/plugins/canvas/public/registries.ts b/x-pack/plugins/canvas/public/registries.ts index 1ad7fa6905c22..56d89affce5ea 100644 --- a/x-pack/plugins/canvas/public/registries.ts +++ b/x-pack/plugins/canvas/public/registries.ts @@ -20,7 +20,6 @@ import { modelRegistry, transformRegistry, viewRegistry, - // @ts-expect-error untyped local } from './expression_types'; import { SetupRegistries } from './plugin_api'; diff --git a/x-pack/plugins/canvas/types/state.ts b/x-pack/plugins/canvas/types/state.ts index cc42839ddfac7..30ded5f2a9c7e 100644 --- a/x-pack/plugins/canvas/types/state.ts +++ b/x-pack/plugins/canvas/types/state.ts @@ -16,6 +16,7 @@ import { Style, Range, } from 'src/plugins/expressions'; +import { Datasource, Model, Transform, View } from '../public/expression_types'; import { AssetType } from './assets'; import { CanvasWorkpad } from './canvas'; @@ -51,7 +52,11 @@ type ExpressionType = | KibanaContext | PointSeries | Style - | Range; + | Range + | View + | Model + | Datasource + | Transform; export interface ExpressionRenderable { state: 'ready' | 'pending'; @@ -60,9 +65,9 @@ export interface ExpressionRenderable { } export interface ExpressionContext { - state: 'ready' | 'pending'; + state: 'ready' | 'pending' | 'error'; value: ExpressionType; - error: null; + error: null | string; } export interface ResolvedArgType { diff --git a/x-pack/plugins/cases/jest.config.js b/x-pack/plugins/cases/jest.config.js index 6368eb8895ad1..3b1b0b1223191 100644 --- a/x-pack/plugins/cases/jest.config.js +++ b/x-pack/plugins/cases/jest.config.js @@ -9,4 +9,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/x-pack/plugins/cases'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/cases', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/x-pack/plugins/cases/{common,public,server}/**/*.{ts,tsx}'], }; diff --git a/x-pack/plugins/cases/public/components/create/form_context.tsx b/x-pack/plugins/cases/public/components/create/form_context.tsx index 65c102583455a..f59e1822c70be 100644 --- a/x-pack/plugins/cases/public/components/create/form_context.tsx +++ b/x-pack/plugins/cases/public/components/create/form_context.tsx @@ -113,7 +113,20 @@ export const FormContext: React.FC = ({ : null, [children, connectors, isLoadingConnectors] ); - return
{childrenWithExtraProp}
; + return ( +
{ + // It avoids the focus scaping from the flyout when enter is pressed. + // https://github.com/elastic/kibana/issues/111120 + if (e.key === 'Enter') { + e.stopPropagation(); + } + }} + form={form} + > + {childrenWithExtraProp} +
+ ); }; FormContext.displayName = 'FormContext'; diff --git a/x-pack/plugins/cases/public/components/create/title.tsx b/x-pack/plugins/cases/public/components/create/title.tsx index cc51a805b5c38..ae8f517173132 100644 --- a/x-pack/plugins/cases/public/components/create/title.tsx +++ b/x-pack/plugins/cases/public/components/create/title.tsx @@ -21,6 +21,7 @@ const TitleComponent: React.FC = ({ isLoading }) => ( idAria: 'caseTitle', 'data-test-subj': 'caseTitle', euiFieldProps: { + autoFocus: true, fullWidth: true, disabled: isLoading, }, diff --git a/x-pack/plugins/cloud/jest.config.js b/x-pack/plugins/cloud/jest.config.js index 68f63b4d8b5ac..4235e79e79268 100644 --- a/x-pack/plugins/cloud/jest.config.js +++ b/x-pack/plugins/cloud/jest.config.js @@ -9,4 +9,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/x-pack/plugins/cloud'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/cloud', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/x-pack/plugins/cloud/{common,public,server}/**/*.{ts,tsx}'], }; diff --git a/x-pack/plugins/cross_cluster_replication/jest.config.js b/x-pack/plugins/cross_cluster_replication/jest.config.js index 8d39781213dbd..87d557b57a6a7 100644 --- a/x-pack/plugins/cross_cluster_replication/jest.config.js +++ b/x-pack/plugins/cross_cluster_replication/jest.config.js @@ -9,4 +9,10 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/x-pack/plugins/cross_cluster_replication'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/plugins/cross_cluster_replication', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/plugins/cross_cluster_replication/{common,public,server}/**/*.{js,ts,tsx}', + ], }; diff --git a/x-pack/plugins/dashboard_enhanced/jest.config.js b/x-pack/plugins/dashboard_enhanced/jest.config.js index 8ade9e0a09f5e..86ae949431e69 100644 --- a/x-pack/plugins/dashboard_enhanced/jest.config.js +++ b/x-pack/plugins/dashboard_enhanced/jest.config.js @@ -9,4 +9,9 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/x-pack/plugins/dashboard_enhanced'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/dashboard_enhanced', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/plugins/dashboard_enhanced/{common,public,server}/**/*.{ts,tsx}', + ], }; diff --git a/x-pack/plugins/data_enhanced/jest.config.js b/x-pack/plugins/data_enhanced/jest.config.js index 62b54b1ba36bc..e48de352c2075 100644 --- a/x-pack/plugins/data_enhanced/jest.config.js +++ b/x-pack/plugins/data_enhanced/jest.config.js @@ -9,4 +9,9 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/x-pack/plugins/data_enhanced'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/data_enhanced', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/plugins/data_enhanced/{common,public,server}/**/*.{ts,tsx}', + ], }; diff --git a/x-pack/plugins/data_visualizer/jest.config.js b/x-pack/plugins/data_visualizer/jest.config.js index 1c4974471bd79..46de590b709bb 100644 --- a/x-pack/plugins/data_visualizer/jest.config.js +++ b/x-pack/plugins/data_visualizer/jest.config.js @@ -9,4 +9,9 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/x-pack/plugins/data_visualizer'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/data_visualizer', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/plugins/data_visualizer/{common,public,server}/**/*.{js,ts,tsx}', + ], }; diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/embedded_map/embedded_map.tsx b/x-pack/plugins/data_visualizer/public/application/common/components/embedded_map/embedded_map.tsx index 29131b4a3372a..13aab06640bd5 100644 --- a/x-pack/plugins/data_visualizer/public/application/common/components/embedded_map/embedded_map.tsx +++ b/x-pack/plugins/data_visualizer/public/application/common/components/embedded_map/embedded_map.tsx @@ -8,8 +8,7 @@ import React, { useEffect, useRef, useState } from 'react'; import { htmlIdGenerator } from '@elastic/eui'; -import { LayerDescriptor } from '../../../../../../maps/common/descriptor_types'; -import { INITIAL_LOCATION } from '../../../../../../maps/common/constants'; +import { INITIAL_LOCATION, LayerDescriptor } from '../../../../../../maps/common'; import { MapEmbeddable, MapEmbeddableInput, diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content/format_utils.ts b/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content/format_utils.ts index ddc9255b4834d..b314741e95284 100644 --- a/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content/format_utils.ts +++ b/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content/format_utils.ts @@ -8,7 +8,7 @@ import { Feature, Point } from 'geojson'; import { euiPaletteColorBlind } from '@elastic/eui'; import { DEFAULT_GEO_REGEX } from './geo_point_content'; -import { SOURCE_TYPES } from '../../../../../../../maps/common/constants'; +import { SOURCE_TYPES } from '../../../../../../../maps/common'; export const convertWKTGeoToLonLat = ( value: string | number diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx b/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx index b4c8c3c22f5a9..42245742f8b7d 100644 --- a/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx +++ b/x-pack/plugins/data_visualizer/public/application/common/components/expanded_row/geo_point_content_with_map/geo_point_content_with_map.tsx @@ -13,10 +13,9 @@ import { ExpandedRowContent } from '../../stats_table/components/field_data_expa import { DocumentStatsTable } from '../../stats_table/components/field_data_expanded_row/document_stats'; import { ExamplesList } from '../../examples_list'; import { FieldVisConfig } from '../../stats_table/types'; -import { LayerDescriptor } from '../../../../../../../maps/common/descriptor_types'; import { useDataVisualizerKibana } from '../../../../kibana_context'; import { JOB_FIELD_TYPES } from '../../../../../../common'; -import { ES_GEO_FIELD_TYPE } from '../../../../../../../maps/common'; +import { ES_GEO_FIELD_TYPE, LayerDescriptor } from '../../../../../../../maps/common'; import { EmbeddedMapComponent } from '../../embedded_map'; export const GeoPointContentWithMap: FC<{ diff --git a/x-pack/plugins/data_visualizer/public/application/common/components/field_type_icon/__snapshots__/field_type_icon.test.tsx.snap b/x-pack/plugins/data_visualizer/public/application/common/components/field_type_icon/__snapshots__/field_type_icon.test.tsx.snap index 769ebdeba9955..e69e2e7626718 100644 --- a/x-pack/plugins/data_visualizer/public/application/common/components/field_type_icon/__snapshots__/field_type_icon.test.tsx.snap +++ b/x-pack/plugins/data_visualizer/public/application/common/components/field_type_icon/__snapshots__/field_type_icon.test.tsx.snap @@ -4,6 +4,7 @@ exports[`FieldTypeIcon render component when type matches a field type 1`] = ` /x-pack/plugins/discover_enhanced'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/discover_enhanced', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/plugins/discover_enhanced/{common,public,server}/**/*.{ts,tsx}', + ], }; diff --git a/x-pack/plugins/drilldowns/jest.config.js b/x-pack/plugins/drilldowns/jest.config.js index 39259ca43b3b8..a5db93a916ebb 100644 --- a/x-pack/plugins/drilldowns/jest.config.js +++ b/x-pack/plugins/drilldowns/jest.config.js @@ -9,4 +9,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/x-pack/plugins/drilldowns'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/drilldowns', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/x-pack/plugins/drilldowns/url_drilldown/public/**/*.{ts,tsx}'], }; diff --git a/x-pack/plugins/embeddable_enhanced/jest.config.js b/x-pack/plugins/embeddable_enhanced/jest.config.js index 47b539ca226cd..fc9eaec5c972c 100644 --- a/x-pack/plugins/embeddable_enhanced/jest.config.js +++ b/x-pack/plugins/embeddable_enhanced/jest.config.js @@ -9,4 +9,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/x-pack/plugins/embeddable_enhanced'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/embeddable_enhanced', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/x-pack/plugins/embeddable_enhanced/public/**/*.{ts,tsx}'], }; diff --git a/x-pack/plugins/encrypted_saved_objects/jest.config.js b/x-pack/plugins/encrypted_saved_objects/jest.config.js index 213484c8e159d..78bfae78227db 100644 --- a/x-pack/plugins/encrypted_saved_objects/jest.config.js +++ b/x-pack/plugins/encrypted_saved_objects/jest.config.js @@ -9,4 +9,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/x-pack/plugins/encrypted_saved_objects'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/encrypted_saved_objects', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/x-pack/plugins/encrypted_saved_objects/server/**/*.{ts,tsx}'], }; diff --git a/x-pack/plugins/enterprise_search/jest.config.js b/x-pack/plugins/enterprise_search/jest.config.js index 7d10d7aa87bf2..263713697b7e0 100644 --- a/x-pack/plugins/enterprise_search/jest.config.js +++ b/x-pack/plugins/enterprise_search/jest.config.js @@ -10,11 +10,12 @@ module.exports = { rootDir: '../../..', roots: ['/x-pack/plugins/enterprise_search'], collectCoverage: true, - coverageReporters: ['text'], + coverageReporters: ['text', 'html'], collectCoverageFrom: [ '/x-pack/plugins/enterprise_search/**/*.{ts,tsx}', '!/x-pack/plugins/enterprise_search/public/*.ts', '!/x-pack/plugins/enterprise_search/server/*.ts', '!/x-pack/plugins/enterprise_search/public/applications/test_helpers/**/*.{ts,tsx}', ], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/enterprise_search', }; diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/analytics_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/analytics_logic.test.ts index 921a0892bb890..7b877419a2977 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/analytics_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/analytics_logic.test.ts @@ -163,7 +163,7 @@ describe('AnalyticsLogic', () => { await nextTick(); expect(http.get).toHaveBeenCalledWith( - '/api/app_search/engines/test-engine/analytics/queries', + '/internal/app_search/engines/test-engine/analytics/queries', { query: { start: DEFAULT_START_DATE, @@ -185,7 +185,7 @@ describe('AnalyticsLogic', () => { AnalyticsLogic.actions.loadAnalyticsData(); expect(http.get).toHaveBeenCalledWith( - '/api/app_search/engines/test-engine/analytics/queries', + '/internal/app_search/engines/test-engine/analytics/queries', { query: { start: '1970-01-01', @@ -229,7 +229,7 @@ describe('AnalyticsLogic', () => { await nextTick(); expect(http.get).toHaveBeenCalledWith( - '/api/app_search/engines/test-engine/analytics/queries/some-query', + '/internal/app_search/engines/test-engine/analytics/queries/some-query', { query: { start: DEFAULT_START_DATE, @@ -248,7 +248,7 @@ describe('AnalyticsLogic', () => { AnalyticsLogic.actions.loadQueryData('some-query'); expect(http.get).toHaveBeenCalledWith( - '/api/app_search/engines/test-engine/analytics/queries/some-query', + '/internal/app_search/engines/test-engine/analytics/queries/some-query', { query: { start: '1970-12-30', diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/analytics_logic.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/analytics_logic.ts index bb89e9735934f..3f6436424a63b 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/analytics_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/analytics/analytics_logic.ts @@ -158,7 +158,7 @@ export const AnalyticsLogic = kea { await nextTick(); expect(http.get).toHaveBeenCalledWith( - '/api/app_search/engines/some-engine/curations/find_or_create', + '/internal/app_search/engines/some-engine/curations/find_or_create', { query: { query: 'some search' }, } @@ -63,7 +63,7 @@ export const runActionColumnTests = (wrapper: ReactWrapper) => { await nextTick(); expect(http.get).toHaveBeenCalledWith( - '/api/app_search/engines/some-engine/curations/find_or_create', + '/internal/app_search/engines/some-engine/curations/find_or_create', { query: { query: '""' }, } diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_logs_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_logs_logic.test.ts index 5af5dca3e97dc..2f3aedc8fa11d 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_logs_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_logs_logic.test.ts @@ -154,7 +154,7 @@ describe('ApiLogsLogic', () => { ApiLogsLogic.actions.fetchApiLogs(); - expect(http.get).toHaveBeenCalledWith('/api/app_search/engines/some-engine/api_logs', { + expect(http.get).toHaveBeenCalledWith('/internal/app_search/engines/some-engine/api_logs', { query: { 'page[current]': 1, 'filters[date][from]': '1970-01-01T00:00:00.000Z', diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_logs_logic.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_logs_logic.ts index a9186bd4d66cf..86c8ec8c5fbd1 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_logs_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/api_logs/api_logs_logic.ts @@ -104,7 +104,7 @@ export const ApiLogsLogic = kea>({ const { engineName } = EngineLogic.values; try { - const response = await http.get(`/api/app_search/engines/${engineName}/api_logs`, { + const response = await http.get(`/internal/app_search/engines/${engineName}/api_logs`, { query: { 'page[current]': values.meta.page.current, 'filters[date][from]': getDateString(-1), diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_logic.test.ts index b2dc665fc2b85..633c8de5e5655 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_logic.test.ts @@ -286,7 +286,7 @@ describe('AddDomainLogic', () => { await nextTick(); expect(http.post).toHaveBeenCalledWith( - '/api/app_search/engines/some-engine/crawler/domains', + '/internal/app_search/engines/some-engine/crawler/domains', { query: { respond_with: 'crawler_details', diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_logic.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_logic.ts index 23bc147a7291d..020515b2cad87 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/add_domain_logic.ts @@ -204,7 +204,7 @@ export const AddDomainLogic = kea { expect(result).toEqual('https://elastic.co'); expect(http.post).toHaveBeenCalledTimes(1); - expect(http.post).toHaveBeenCalledWith('/api/app_search/crawler/validate_url', { + expect(http.post).toHaveBeenCalledWith('/internal/app_search/crawler/validate_url', { body: JSON.stringify({ url: 'https://elastic.co', checks: ['tcp', 'url_request'] }), }); }); @@ -69,7 +69,7 @@ describe('getDomainWithProtocol', () => { expect(result).toEqual('http://elastic.co'); expect(http.post).toHaveBeenCalledTimes(2); - expect(http.post).toHaveBeenLastCalledWith('/api/app_search/crawler/validate_url', { + expect(http.post).toHaveBeenLastCalledWith('/internal/app_search/crawler/validate_url', { body: JSON.stringify({ url: 'http://elastic.co', checks: ['tcp', 'url_request'] }), }); }); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/utils.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/utils.ts index b0dc8418c4ca9..47613d3d2b673 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/utils.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/utils.ts @@ -36,7 +36,7 @@ export const getDomainWithProtocol = async (domain: string) => { if (!domain.startsWith('https://') && !domain.startsWith('http://')) { try { - const route = '/api/app_search/crawler/validate_url'; + const route = '/internal/app_search/crawler/validate_url'; const checks = ['tcp', 'url_request']; const httpsCheckData: CrawlerDomainValidationResultFromServer = await http.post(route, { diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/validation_step_panel.test.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/validation_step_panel.test.tsx index c022b09d4638c..ace6b85210fc2 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/validation_step_panel.test.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/validation_step_panel.test.tsx @@ -44,7 +44,7 @@ describe('ValidationStepPanel', () => { action={action} /> ); - expect(wrapper.find('[data-test-subj="errorMessage"]').dive().text()).toContain( + expect(wrapper.find('[data-test-subj="errorMessage"]').childAt(0).text()).toContain( 'Error message' ); expect(wrapper.find('[data-test-subj="action"]')).toHaveLength(1); @@ -58,7 +58,7 @@ describe('ValidationStepPanel', () => { action={action} /> ); - expect(wrapper.find('[data-test-subj="errorMessage"]').dive().text()).toContain( + expect(wrapper.find('[data-test-subj="errorMessage"]').childAt(0).text()).toContain( 'Error message' ); expect(wrapper.find('[data-test-subj="action"]')).toHaveLength(1); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/validation_step_panel.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/validation_step_panel.tsx index 804c2d86ca099..dc19b526714a5 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/validation_step_panel.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/validation_step_panel.tsx @@ -7,7 +7,14 @@ import React from 'react'; -import { EuiFlexGroup, EuiFlexItem, EuiPanel, EuiSpacer, EuiText, EuiTitle } from '@elastic/eui'; +import { + EuiFlexGroup, + EuiFlexItem, + EuiMarkdownFormat, + EuiPanel, + EuiSpacer, + EuiTitle, +} from '@elastic/eui'; import { CrawlerDomainValidationStep } from '../../types'; @@ -26,9 +33,14 @@ export const ValidationStepPanel: React.FC = ({ action, }) => { const showErrorMessage = step.state === 'invalid' || step.state === 'warning'; + const styleOverride = showErrorMessage ? { paddingBottom: 0 } : {}; return ( - + @@ -41,13 +53,14 @@ export const ValidationStepPanel: React.FC = ({ {showErrorMessage && ( <> - -

{step.message}

-
+ + + {step.message || ''} + {action && ( <> - {action} + )} diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_rules_table.test.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_rules_table.test.tsx index 90998a31fa273..27624a088ddd7 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_rules_table.test.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_rules_table.test.tsx @@ -176,10 +176,10 @@ describe('CrawlRulesTable', () => { rule: CrawlerRules.beginsWith, }; expect(table.prop('deleteRoute')(crawlRule)).toEqual( - '/api/app_search/engines/my-engine/crawler/domains/6113e1407a2f2e6f42489794/crawl_rules/1' + '/internal/app_search/engines/my-engine/crawler/domains/6113e1407a2f2e6f42489794/crawl_rules/1' ); expect(table.prop('updateRoute')(crawlRule)).toEqual( - '/api/app_search/engines/my-engine/crawler/domains/6113e1407a2f2e6f42489794/crawl_rules/1' + '/internal/app_search/engines/my-engine/crawler/domains/6113e1407a2f2e6f42489794/crawl_rules/1' ); }); }); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_rules_table.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_rules_table.tsx index 9af8cb66fdc4f..d8d5d9d10b3b7 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_rules_table.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/crawl_rules_table.tsx @@ -149,10 +149,10 @@ export const CrawlRulesTable: React.FC = ({ }, ]; - const crawlRulesRoute = `/api/app_search/engines/${engineName}/crawler/domains/${domainId}/crawl_rules`; - const domainRoute = `/api/app_search/engines/${engineName}/crawler/domains/${domainId}`; + const crawlRulesRoute = `/internal/app_search/engines/${engineName}/crawler/domains/${domainId}/crawl_rules`; + const domainRoute = `/internal/app_search/engines/${engineName}/crawler/domains/${domainId}`; const getCrawlRuleRoute = (crawlRule: CrawlRule) => - `/api/app_search/engines/${engineName}/crawler/domains/${domainId}/crawl_rules/${crawlRule.id}`; + `/internal/app_search/engines/${engineName}/crawler/domains/${domainId}/crawl_rules/${crawlRule.id}`; return ( { const { domain } = useValues(CrawlerSingleDomainLogic); @@ -61,7 +61,7 @@ export const DeleteDomainPanel: React.FC = ({}) => { color="danger" iconType="trash" onClick={() => { - if (confirm(getDeleteDomainSuccessMessage(domain.url))) { + if (confirm(getDeleteDomainConfirmationMessage(domain.url))) { deleteDomain(domain); } }} diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/entry_points_table.test.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/entry_points_table.test.tsx index 86b3eea25a004..c6a93a8197a76 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/entry_points_table.test.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/entry_points_table.test.tsx @@ -103,10 +103,10 @@ describe('EntryPointsTable', () => { const entryPoint = { id: '1', value: '/whatever' }; expect(table.prop('deleteRoute')(entryPoint)).toEqual( - '/api/app_search/engines/my-engine/crawler/domains/6113e1407a2f2e6f42489794/entry_points/1' + '/internal/app_search/engines/my-engine/crawler/domains/6113e1407a2f2e6f42489794/entry_points/1' ); expect(table.prop('updateRoute')(entryPoint)).toEqual( - '/api/app_search/engines/my-engine/crawler/domains/6113e1407a2f2e6f42489794/entry_points/1' + '/internal/app_search/engines/my-engine/crawler/domains/6113e1407a2f2e6f42489794/entry_points/1' ); }); }); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/entry_points_table.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/entry_points_table.tsx index 7657a23ce4789..d8e4790b842b4 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/entry_points_table.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/entry_points_table.tsx @@ -62,10 +62,10 @@ export const EntryPointsTable: React.FC = ({ }, ]; - const entryPointsRoute = `/api/app_search/engines/${engineName}/crawler/domains/${domain.id}/entry_points`; + const entryPointsRoute = `/internal/app_search/engines/${engineName}/crawler/domains/${domain.id}/entry_points`; const getEntryPointRoute = (entryPoint: EntryPoint) => - `/api/app_search/engines/${engineName}/crawler/domains/${domain.id}/entry_points/${entryPoint.id}`; + `/internal/app_search/engines/${engineName}/crawler/domains/${domain.id}/entry_points/${entryPoint.id}`; return ( { const sitemap = { id: '1', url: '/whatever' }; expect(table.prop('deleteRoute')(sitemap)).toEqual( - '/api/app_search/engines/my-engine/crawler/domains/6113e1407a2f2e6f42489794/sitemaps/1' + '/internal/app_search/engines/my-engine/crawler/domains/6113e1407a2f2e6f42489794/sitemaps/1' ); expect(table.prop('updateRoute')(sitemap)).toEqual( - '/api/app_search/engines/my-engine/crawler/domains/6113e1407a2f2e6f42489794/sitemaps/1' + '/internal/app_search/engines/my-engine/crawler/domains/6113e1407a2f2e6f42489794/sitemaps/1' ); }); }); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/sitemaps_table.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/sitemaps_table.tsx index eaa1526299fcd..8637fda449eba 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/sitemaps_table.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/sitemaps_table.tsx @@ -54,9 +54,9 @@ export const SitemapsTable: React.FC = ({ domain, engineName }, ]; - const sitemapsRoute = `/api/app_search/engines/${engineName}/crawler/domains/${domain.id}/sitemaps`; + const sitemapsRoute = `/internal/app_search/engines/${engineName}/crawler/domains/${domain.id}/sitemaps`; const getSitemapRoute = (sitemap: Sitemap) => - `/api/app_search/engines/${engineName}/crawler/domains/${domain.id}/sitemaps/${sitemap.id}`; + `/internal/app_search/engines/${engineName}/crawler/domains/${domain.id}/sitemaps/${sitemap.id}`; return ( { CrawlerLogic.actions.fetchCrawlerData(); await nextTick(); - expect(http.get).toHaveBeenCalledWith('/api/app_search/engines/some-engine/crawler'); + expect(http.get).toHaveBeenCalledWith('/internal/app_search/engines/some-engine/crawler'); expect(CrawlerLogic.actions.onReceiveCrawlerData).toHaveBeenCalledWith( MOCK_CLIENT_CRAWLER_DATA ); @@ -190,7 +190,7 @@ describe('CrawlerLogic', () => { await nextTick(); expect(http.post).toHaveBeenCalledWith( - '/api/app_search/engines/some-engine/crawler/crawl_requests' + '/internal/app_search/engines/some-engine/crawler/crawl_requests' ); expect(CrawlerLogic.actions.getLatestCrawlRequests).toHaveBeenCalled(); }); @@ -218,7 +218,7 @@ describe('CrawlerLogic', () => { await nextTick(); expect(http.post).toHaveBeenCalledWith( - '/api/app_search/engines/some-engine/crawler/crawl_requests/cancel' + '/internal/app_search/engines/some-engine/crawler/crawl_requests/cancel' ); expect(CrawlerLogic.actions.getLatestCrawlRequests).toHaveBeenCalled(); }); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_logic.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_logic.ts index b9782d84a74cc..972532597e344 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_logic.ts @@ -45,7 +45,7 @@ interface CrawlerActions { } export const CrawlerLogic = kea>({ - path: ['enterprise_search', 'app_search', 'crawler', 'crawler_overview'], + path: ['enterprise_search', 'app_search', 'crawler_logic'], actions: { clearTimeoutId: true, createNewTimeoutForCrawlRequests: (duration) => ({ duration }), @@ -104,7 +104,7 @@ export const CrawlerLogic = kea>({ const { engineName } = EngineLogic.values; try { - const response = await http.get(`/api/app_search/engines/${engineName}/crawler`); + const response = await http.get(`/internal/app_search/engines/${engineName}/crawler`); const crawlerData = crawlerDataServerToClient(response); @@ -118,7 +118,7 @@ export const CrawlerLogic = kea>({ const { engineName } = EngineLogic.values; try { - await http.post(`/api/app_search/engines/${engineName}/crawler/crawl_requests`); + await http.post(`/internal/app_search/engines/${engineName}/crawler/crawl_requests`); actions.getLatestCrawlRequests(); } catch (e) { flashAPIErrors(e); @@ -129,7 +129,7 @@ export const CrawlerLogic = kea>({ const { engineName } = EngineLogic.values; try { - await http.post(`/api/app_search/engines/${engineName}/crawler/crawl_requests/cancel`); + await http.post(`/internal/app_search/engines/${engineName}/crawler/crawl_requests/cancel`); actions.getLatestCrawlRequests(); } catch (e) { flashAPIErrors(e); @@ -152,7 +152,7 @@ export const CrawlerLogic = kea>({ try { const crawlRequestsFromServer: CrawlRequestFromServer[] = await http.get( - `/api/app_search/engines/${engineName}/crawler/crawl_requests` + `/internal/app_search/engines/${engineName}/crawler/crawl_requests` ); const crawlRequests = crawlRequestsFromServer.map(crawlRequestServerToClient); actions.onReceiveCrawlRequests(crawlRequests); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_overview.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_overview.tsx index 78e093f4199da..be4e1743748b7 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_overview.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_overview.tsx @@ -86,6 +86,7 @@ export const CrawlerOverview: React.FC = () => {

+ diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_overview_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_overview_logic.test.ts index d5026ad117073..9a5d99abdd469 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_overview_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_overview_logic.test.ts @@ -67,7 +67,7 @@ describe('CrawlerOverviewLogic', () => { await nextTick(); expect(http.delete).toHaveBeenCalledWith( - '/api/app_search/engines/some-engine/crawler/domains/1234', + '/internal/app_search/engines/some-engine/crawler/domains/1234', { query: { respond_with: 'crawler_details' }, } diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_overview_logic.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_overview_logic.ts index 79e3326347d68..c6a26e50a6758 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_overview_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_overview_logic.ts @@ -25,14 +25,14 @@ export const CrawlerOverviewLogic = kea ({ domain }), }, - listeners: ({ actions, values }) => ({ + listeners: () => ({ deleteDomain: async ({ domain }) => { const { http } = HttpLogic.values; const { engineName } = EngineLogic.values; try { const response = await http.delete( - `/api/app_search/engines/${engineName}/crawler/domains/${domain.id}`, + `/internal/app_search/engines/${engineName}/crawler/domains/${domain.id}`, { query: { respond_with: 'crawler_details', diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_single_domain_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_single_domain_logic.test.ts index bf0add6df5cfe..03e20ea988f98 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_single_domain_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_single_domain_logic.test.ts @@ -13,8 +13,17 @@ import { } from '../../../__mocks__/kea_logic'; import '../../__mocks__/engine_logic.mock'; +jest.mock('./crawler_logic', () => ({ + CrawlerLogic: { + actions: { + fetchCrawlerData: jest.fn(), + }, + }, +})); + import { nextTick } from '@kbn/test/jest'; +import { CrawlerLogic } from './crawler_logic'; import { CrawlerSingleDomainLogic, CrawlerSingleDomainValues } from './crawler_single_domain_logic'; import { CrawlerDomain, CrawlerPolicies, CrawlerRules } from './types'; @@ -150,6 +159,7 @@ describe('CrawlerSingleDomainLogic', () => { describe('listeners', () => { describe('deleteDomain', () => { it('flashes a success toast and redirects the user to the crawler overview on success', async () => { + jest.spyOn(CrawlerLogic.actions, 'fetchCrawlerData'); const { navigateToUrl } = mockKibanaValues; http.delete.mockReturnValue(Promise.resolve()); @@ -158,9 +168,10 @@ describe('CrawlerSingleDomainLogic', () => { await nextTick(); expect(http.delete).toHaveBeenCalledWith( - '/api/app_search/engines/some-engine/crawler/domains/1234' + '/internal/app_search/engines/some-engine/crawler/domains/1234' ); + expect(CrawlerLogic.actions.fetchCrawlerData).toHaveBeenCalled(); expect(flashSuccessToast).toHaveBeenCalled(); expect(navigateToUrl).toHaveBeenCalledWith('/engines/some-engine/crawler'); }); @@ -194,7 +205,7 @@ describe('CrawlerSingleDomainLogic', () => { await nextTick(); expect(http.get).toHaveBeenCalledWith( - '/api/app_search/engines/some-engine/crawler/domains/507f1f77bcf86cd799439011' + '/internal/app_search/engines/some-engine/crawler/domains/507f1f77bcf86cd799439011' ); expect(CrawlerSingleDomainLogic.actions.onReceiveDomainData).toHaveBeenCalledWith({ id: '507f1f77bcf86cd799439011', @@ -242,7 +253,7 @@ describe('CrawlerSingleDomainLogic', () => { await nextTick(); expect(http.put).toHaveBeenCalledWith( - '/api/app_search/engines/some-engine/crawler/domains/507f1f77bcf86cd799439011', + '/internal/app_search/engines/some-engine/crawler/domains/507f1f77bcf86cd799439011', { body: JSON.stringify({ deduplication_enabled: true, deduplication_fields: ['title'] }), } diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_single_domain_logic.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_single_domain_logic.ts index e9c74c864b1b2..9452ae1d578ed 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_single_domain_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/crawler_single_domain_logic.ts @@ -14,6 +14,8 @@ import { KibanaLogic } from '../../../shared/kibana'; import { ENGINE_CRAWLER_PATH } from '../../routes'; import { EngineLogic, generateEnginePath } from '../engine'; +import { CrawlerLogic } from './crawler_logic'; + import { CrawlerDomain, EntryPoint, Sitemap, CrawlRule } from './types'; import { crawlerDomainServerToClient, getDeleteDomainSuccessMessage } from './utils'; @@ -74,8 +76,11 @@ export const CrawlerSingleDomainLogic = kea< const { engineName } = EngineLogic.values; try { - await http.delete(`/api/app_search/engines/${engineName}/crawler/domains/${domain.id}`); + await http.delete( + `/internal/app_search/engines/${engineName}/crawler/domains/${domain.id}` + ); + CrawlerLogic.actions.fetchCrawlerData(); flashSuccessToast(getDeleteDomainSuccessMessage(domain.url)); KibanaLogic.values.navigateToUrl(generateEnginePath(ENGINE_CRAWLER_PATH)); } catch (e) { @@ -88,7 +93,7 @@ export const CrawlerSingleDomainLogic = kea< try { const response = await http.get( - `/api/app_search/engines/${engineName}/crawler/domains/${domainId}` + `/internal/app_search/engines/${engineName}/crawler/domains/${domainId}` ); const domainData = crawlerDomainServerToClient(response); @@ -109,7 +114,7 @@ export const CrawlerSingleDomainLogic = kea< try { const response = await http.put( - `/api/app_search/engines/${engineName}/crawler/domains/${domain.id}`, + `/internal/app_search/engines/${engineName}/crawler/domains/${domain.id}`, { body: JSON.stringify(payload), } diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_logic.test.ts index a12c174b9478c..3afa531239dc1 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_logic.test.ts @@ -1049,7 +1049,7 @@ describe('CredentialsLogic', () => { http.get.mockReturnValue(Promise.resolve({ meta, results })); CredentialsLogic.actions.fetchCredentials(); - expect(http.get).toHaveBeenCalledWith('/api/app_search/credentials', { + expect(http.get).toHaveBeenCalledWith('/internal/app_search/credentials', { query: { 'page[current]': 1, 'page[size]': 10, @@ -1079,7 +1079,7 @@ describe('CredentialsLogic', () => { http.get.mockReturnValue(Promise.resolve(credentialsDetails)); CredentialsLogic.actions.fetchDetails(); - expect(http.get).toHaveBeenCalledWith('/api/app_search/credentials/details'); + expect(http.get).toHaveBeenCalledWith('/internal/app_search/credentials/details'); await nextTick(); expect(CredentialsLogic.actions.setCredentialsDetails).toHaveBeenCalledWith( credentialsDetails @@ -1106,7 +1106,7 @@ describe('CredentialsLogic', () => { http.delete.mockReturnValue(Promise.resolve()); CredentialsLogic.actions.deleteApiKey(tokenName); - expect(http.delete).toHaveBeenCalledWith(`/api/app_search/credentials/${tokenName}`); + expect(http.delete).toHaveBeenCalledWith(`/internal/app_search/credentials/${tokenName}`); await nextTick(); expect(CredentialsLogic.actions.fetchCredentials).toHaveBeenCalled(); @@ -1137,7 +1137,7 @@ describe('CredentialsLogic', () => { http.post.mockReturnValue(Promise.resolve(createdToken)); CredentialsLogic.actions.onApiTokenChange(); - expect(http.post).toHaveBeenCalledWith('/api/app_search/credentials', { + expect(http.post).toHaveBeenCalledWith('/internal/app_search/credentials', { body: JSON.stringify(createdToken), }); await nextTick(); @@ -1164,7 +1164,7 @@ describe('CredentialsLogic', () => { http.put.mockReturnValue(Promise.resolve(updatedToken)); CredentialsLogic.actions.onApiTokenChange(); - expect(http.put).toHaveBeenCalledWith('/api/app_search/credentials/test-key', { + expect(http.put).toHaveBeenCalledWith('/internal/app_search/credentials/test-key', { body: JSON.stringify(updatedToken), }); await nextTick(); @@ -1196,7 +1196,7 @@ describe('CredentialsLogic', () => { mount({ activeApiToken: { ...correctAdminToken, ...extraData } }); CredentialsLogic.actions.onApiTokenChange(); - expect(http.post).toHaveBeenCalledWith('/api/app_search/credentials', { + expect(http.post).toHaveBeenCalledWith('/internal/app_search/credentials', { body: JSON.stringify(correctAdminToken), }); }); @@ -1215,7 +1215,7 @@ describe('CredentialsLogic', () => { mount({ activeApiToken: { ...correctSearchToken, ...extraData } }); CredentialsLogic.actions.onApiTokenChange(); - expect(http.post).toHaveBeenCalledWith('/api/app_search/credentials', { + expect(http.post).toHaveBeenCalledWith('/internal/app_search/credentials', { body: JSON.stringify(correctSearchToken), }); }); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_logic.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_logic.ts index 60282bc0a3316..52e1b1825b180 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/credentials/credentials_logic.ts @@ -239,7 +239,7 @@ export const CredentialsLogic = kea({ 'page[current]': meta.page.current, 'page[size]': meta.page.size, }; - const response = await http.get('/api/app_search/credentials', { query }); + const response = await http.get('/internal/app_search/credentials', { query }); actions.setCredentialsData(response.meta, response.results); } catch (e) { flashAPIErrors(e); @@ -248,7 +248,7 @@ export const CredentialsLogic = kea({ fetchDetails: async () => { try { const { http } = HttpLogic.values; - const response = await http.get('/api/app_search/credentials/details'); + const response = await http.get('/internal/app_search/credentials/details'); actions.setCredentialsDetails(response); } catch (e) { @@ -258,7 +258,7 @@ export const CredentialsLogic = kea({ deleteApiKey: async (tokenName) => { try { const { http } = HttpLogic.values; - await http.delete(`/api/app_search/credentials/${tokenName}`); + await http.delete(`/internal/app_search/credentials/${tokenName}`); actions.fetchCredentials(); flashSuccessToast(DELETE_MESSAGE(tokenName)); @@ -287,11 +287,11 @@ export const CredentialsLogic = kea({ const body = JSON.stringify(data); if (id) { - const response = await http.put(`/api/app_search/credentials/${name}`, { body }); + const response = await http.put(`/internal/app_search/credentials/${name}`, { body }); actions.onApiTokenUpdateSuccess(response); flashSuccessToast(UPDATE_MESSAGE(name)); } else { - const response = await http.post('/api/app_search/credentials', { body }); + const response = await http.post('/internal/app_search/credentials', { body }); actions.onApiTokenCreateSuccess(response); flashSuccessToast(CREATE_MESSAGE(name)); } diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/curation_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/curation_logic.test.ts index c733294af2910..8fa57e52a26a1 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/curation_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/curation_logic.test.ts @@ -287,7 +287,7 @@ describe('CurationLogic', () => { await nextTick(); expect(http.get).toHaveBeenCalledWith( - '/api/app_search/engines/some-engine/curations/cur-123456789', + '/internal/app_search/engines/some-engine/curations/cur-123456789', { query: { skip_record_analytics: 'true' }, } @@ -329,7 +329,7 @@ describe('CurationLogic', () => { await nextTick(); expect(http.put).toHaveBeenCalledWith( - '/api/app_search/engines/some-engine/curations/cur-123456789', + '/internal/app_search/engines/some-engine/curations/cur-123456789', { body: '{"queries":["a","b","c"],"query":"b","promoted":["d","e","f"],"hidden":["g"]}', // Uses state currently in CurationLogic } diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/curation_logic.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/curation_logic.ts index 12ff380ccb389..c49fc76d06874 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/curation_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curation/curation_logic.ts @@ -169,7 +169,7 @@ export const CurationLogic = kea { CurationsLogic.actions.loadCurations(); await nextTick(); - expect(http.get).toHaveBeenCalledWith('/api/app_search/engines/some-engine/curations', { - query: { - 'page[current]': 1, - 'page[size]': 10, - }, - }); + expect(http.get).toHaveBeenCalledWith( + '/internal/app_search/engines/some-engine/curations', + { + query: { + 'page[current]': 1, + 'page[size]': 10, + }, + } + ); expect(CurationsLogic.actions.onCurationsLoad).toHaveBeenCalledWith( MOCK_CURATIONS_RESPONSE ); @@ -151,7 +154,7 @@ describe('CurationsLogic', () => { await nextTick(); expect(http.delete).toHaveBeenCalledWith( - '/api/app_search/engines/some-engine/curations/some-curation-id' + '/internal/app_search/engines/some-engine/curations/some-curation-id' ); expect(CurationsLogic.actions.loadCurations).toHaveBeenCalled(); expect(flashSuccessToast).toHaveBeenCalledWith('Your curation was deleted'); @@ -189,9 +192,12 @@ describe('CurationsLogic', () => { expect(clearFlashMessages).toHaveBeenCalled(); await nextTick(); - expect(http.post).toHaveBeenCalledWith('/api/app_search/engines/some-engine/curations', { - body: '{"queries":["some query"]}', - }); + expect(http.post).toHaveBeenCalledWith( + '/internal/app_search/engines/some-engine/curations', + { + body: '{"queries":["some query"]}', + } + ); expect(navigateToUrl).toHaveBeenCalledWith('/engines/some-engine/curations/some-cur-id'); }); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curations_logic.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curations_logic.ts index 89d170a83a4c8..a98f83396b3b8 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curations_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/curations/curations_logic.ts @@ -75,7 +75,7 @@ export const CurationsLogic = kea { const body = JSON.stringify({ documents: documentsChunk }); - return http.post(`/api/app_search/engines/${engineName}/documents`, { body }); + return http.post(`/internal/app_search/engines/${engineName}/documents`, { body }); }); try { diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/document_detail_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/document_detail_logic.test.ts index 1608e4fb08aac..5705e5ae2ee98 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/document_detail_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/document_detail_logic.test.ts @@ -65,7 +65,7 @@ describe('DocumentDetailLogic', () => { DocumentDetailLogic.actions.getDocumentDetails('1'); - expect(http.get).toHaveBeenCalledWith('/api/app_search/engines/engine1/documents/1'); + expect(http.get).toHaveBeenCalledWith('/internal/app_search/engines/engine1/documents/1'); await nextTick(); expect(DocumentDetailLogic.actions.setFields).toHaveBeenCalledWith(fields); }); @@ -99,7 +99,9 @@ describe('DocumentDetailLogic', () => { mount(); DocumentDetailLogic.actions.deleteDocument('1'); - expect(http.delete).toHaveBeenCalledWith('/api/app_search/engines/engine1/documents/1'); + expect(http.delete).toHaveBeenCalledWith( + '/internal/app_search/engines/engine1/documents/1' + ); await nextTick(); expect(flashSuccessToast).toHaveBeenCalledWith('Your document was deleted'); expect(navigateToUrl).toHaveBeenCalledWith('/engines/engine1/documents'); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/document_detail_logic.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/document_detail_logic.ts index 2bc9155c81c7b..25c16a7df2c50 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/document_detail_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/document_detail_logic.ts @@ -60,7 +60,7 @@ export const DocumentDetailLogic = kea({ try { const { http } = HttpLogic.values; const response = await http.get( - `/api/app_search/engines/${engineName}/documents/${documentId}` + `/internal/app_search/engines/${engineName}/documents/${documentId}` ); actions.setFields(response.fields); } catch (e) { @@ -87,7 +87,7 @@ export const DocumentDetailLogic = kea({ if (window.confirm(CONFIRM_DELETE)) { try { const { http } = HttpLogic.values; - await http.delete(`/api/app_search/engines/${engineName}/documents/${documentId}`); + await http.delete(`/internal/app_search/engines/${engineName}/documents/${documentId}`); flashSuccessToast(DELETE_SUCCESS); navigateToUrl(generateEnginePath(ENGINE_DOCUMENTS_PATH)); } catch (e) { diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/search_experience.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/search_experience.tsx index 8416974ad7a2e..ed2a1ed54f06d 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/search_experience.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/documents/search_experience/search_experience.tsx @@ -53,7 +53,7 @@ const DEFAULT_SORT_OPTIONS: SortOption[] = [ export const SearchExperience: React.FC = () => { const { engine } = useValues(EngineLogic); const { http } = useValues(HttpLogic); - const endpointBase = http.basePath.prepend('/api/app_search/search-ui'); + const endpointBase = http.basePath.prepend('/internal/app_search/search-ui'); const [showCustomizationModal, setShowCustomizationModal] = useState(false); const openCustomizationModal = () => setShowCustomizationModal(true); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/engine_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/engine_logic.test.ts index 0189edbbf871f..bd15f50fe78e3 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/engine_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/engine_logic.test.ts @@ -210,7 +210,7 @@ describe('EngineLogic', () => { EngineLogic.actions.initializeEngine(); await nextTick(); - expect(http.get).toHaveBeenCalledWith('/api/app_search/engines/some-engine'); + expect(http.get).toHaveBeenCalledWith('/internal/app_search/engines/some-engine'); expect(EngineLogic.actions.setEngineData).toHaveBeenCalledWith(mockEngineData); }); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/engine_logic.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/engine_logic.ts index bfa77450176f6..c20cc763f3c90 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/engine_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine/engine_logic.ts @@ -132,7 +132,7 @@ export const EngineLogic = kea>({ const { http } = HttpLogic.values; try { - const response = await http.get(`/api/app_search/engines/${engineName}`); + const response = await http.get(`/internal/app_search/engines/${engineName}`); actions.setEngineData(response); } catch (error) { if (error?.response?.status >= 400 && error?.response?.status < 500) { diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/engine_creation_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/engine_creation_logic.test.ts index 2001ac3646e5f..7d7ddb77cab85 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/engine_creation_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/engine_creation_logic.test.ts @@ -117,13 +117,13 @@ describe('EngineCreationLogic', () => { jest.clearAllMocks(); }); - it('POSTS to /api/app_search/engines', () => { + it('POSTS to /internal/app_search/engines', () => { const body = JSON.stringify({ name: EngineCreationLogic.values.name, language: EngineCreationLogic.values.language, }); EngineCreationLogic.actions.submitEngine(); - expect(http.post).toHaveBeenCalledWith('/api/app_search/engines', { body }); + expect(http.post).toHaveBeenCalledWith('/internal/app_search/engines', { body }); }); it('calls onEngineCreationSuccess on valid submission', async () => { diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/engine_creation_logic.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/engine_creation_logic.ts index 4e41cdf4c3949..96be98053c56c 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/engine_creation_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_creation/engine_creation_logic.ts @@ -73,7 +73,7 @@ export const EngineCreationLogic = kea { EngineOverviewLogic.actions.loadOverviewMetrics(); await nextTick(); - expect(http.get).toHaveBeenCalledWith('/api/app_search/engines/some-engine/overview'); + expect(http.get).toHaveBeenCalledWith('/internal/app_search/engines/some-engine/overview'); expect(EngineOverviewLogic.actions.onOverviewMetricsLoad).toHaveBeenCalledWith( mockEngineMetrics ); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview_logic.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview_logic.ts index 3f9c2e43a332b..73cfef8530521 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/engine_overview/engine_overview_logic.ts @@ -84,7 +84,7 @@ export const EngineOverviewLogic = kea { expect(mockRecursivelyFetchEngines).toHaveBeenCalledWith( expect.objectContaining({ - endpoint: '/api/app_search/engines/test-engine-1/source_engines', + endpoint: '/internal/app_search/engines/test-engine-1/source_engines', }) ); expect(MetaEnginesTableLogic.actions.addSourceEngines).toHaveBeenCalledWith({ diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/meta_engines_table_logic.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/meta_engines_table_logic.ts index af4d0119a94af..94205a5392b63 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/meta_engines_table_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/components/tables/meta_engines_table_logic.ts @@ -84,7 +84,7 @@ export const MetaEnginesTableLogic = kea< }, fetchSourceEngines: ({ engineName }) => { recursivelyFetchEngines({ - endpoint: `/api/app_search/engines/${engineName}/source_engines`, + endpoint: `/internal/app_search/engines/${engineName}/source_engines`, onComplete: (sourceEngines) => { actions.addSourceEngines({ [engineName]: sourceEngines }); actions.displayRow(engineName); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/engines_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/engines_logic.test.ts index d29c8a96f1c60..f3dc8a378a7d3 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/engines_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/engines_logic.test.ts @@ -137,7 +137,7 @@ describe('EnginesLogic', () => { EnginesLogic.actions.deleteEngine(MOCK_ENGINE); await nextTick(); - expect(http.delete).toHaveBeenCalledWith('/api/app_search/engines/hello-world'); + expect(http.delete).toHaveBeenCalledWith('/internal/app_search/engines/hello-world'); expect(EnginesLogic.actions.onDeleteEngineSuccess).toHaveBeenCalledWith(MOCK_ENGINE); }); @@ -161,7 +161,7 @@ describe('EnginesLogic', () => { EnginesLogic.actions.loadEngines(); await nextTick(); - expect(http.get).toHaveBeenCalledWith('/api/app_search/engines', { + expect(http.get).toHaveBeenCalledWith('/internal/app_search/engines', { query: { type: 'indexed', 'page[current]': 1, @@ -191,7 +191,7 @@ describe('EnginesLogic', () => { EnginesLogic.actions.loadMetaEngines(); await nextTick(); - expect(http.get).toHaveBeenCalledWith('/api/app_search/engines', { + expect(http.get).toHaveBeenCalledWith('/internal/app_search/engines', { query: { type: 'meta', 'page[current]': 1, diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/engines_logic.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/engines_logic.ts index f9b691147161f..507b83cc8b5cf 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/engines_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/engines/engines_logic.ts @@ -105,7 +105,7 @@ export const EnginesLogic = kea>({ let response; try { - response = await http.delete(`/api/app_search/engines/${engine.name}`); + response = await http.delete(`/internal/app_search/engines/${engine.name}`); } catch (e) { flashAPIErrors(e); } @@ -119,7 +119,7 @@ export const EnginesLogic = kea>({ const { enginesMeta } = values; try { - const response = await http.get('/api/app_search/engines', { + const response = await http.get('/internal/app_search/engines', { query: { type: 'indexed', 'page[current]': enginesMeta.page.current, @@ -136,7 +136,7 @@ export const EnginesLogic = kea>({ const { metaEnginesMeta } = values; try { - const response = await http.get('/api/app_search/engines', { + const response = await http.get('/internal/app_search/engines', { query: { type: 'meta', 'page[current]': metaEnginesMeta.page.current, diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/log_retention/log_retention_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/log_retention/log_retention_logic.test.ts index 4e2382c23edbd..251fd93069afe 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/log_retention/log_retention_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/log_retention/log_retention_logic.test.ts @@ -196,7 +196,7 @@ describe('LogRetentionLogic', () => { LogRetentionLogic.actions.saveLogRetention(LogRetentionOptions.Analytics, true); - expect(http.put).toHaveBeenCalledWith('/api/app_search/log_settings', { + expect(http.put).toHaveBeenCalledWith('/internal/app_search/log_settings', { body: JSON.stringify({ analytics: { enabled: true, @@ -320,7 +320,7 @@ describe('LogRetentionLogic', () => { jest.runAllTimers(); await nextTick(); - expect(http.get).toHaveBeenCalledWith('/api/app_search/log_settings'); + expect(http.get).toHaveBeenCalledWith('/internal/app_search/log_settings'); expect(LogRetentionLogic.actions.updateLogRetention).toHaveBeenCalledWith( TYPICAL_CLIENT_LOG_RETENTION ); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/log_retention/log_retention_logic.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/log_retention/log_retention_logic.ts index aa1be3f8cdc64..af2fdfed78651 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/log_retention/log_retention_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/log_retention/log_retention_logic.ts @@ -74,7 +74,7 @@ export const LogRetentionLogic = kea { mount({ rawName: 'test', selectedIndexedEngineNames: ['foo'] }); }); - it('POSTS to /api/app_search/engines', () => { + it('POSTS to /internal/app_search/engines', () => { const body = JSON.stringify({ name: 'test', type: 'meta', source_engines: ['foo'], }); MetaEngineCreationLogic.actions.submitEngine(); - expect(http.post).toHaveBeenCalledWith('/api/app_search/engines', { body }); + expect(http.post).toHaveBeenCalledWith('/internal/app_search/engines', { body }); }); it('calls onEngineCreationSuccess on valid submission', async () => { diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/meta_engine_creation/meta_engine_creation_logic.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/meta_engine_creation/meta_engine_creation_logic.ts index 4df3bc4bff162..95ef53d82cc47 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/meta_engine_creation/meta_engine_creation_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/meta_engine_creation/meta_engine_creation_logic.ts @@ -92,7 +92,7 @@ export const MetaEngineCreationLogic = kea< let response: { results: EngineDetails[]; meta: Meta } | undefined; try { - response = await http.get('/api/app_search/engines', { + response = await http.get('/internal/app_search/engines', { query: { type: 'indexed', 'page[current]': page, 'page[size]': DEFAULT_META.page.size }, }); } catch (e) { @@ -127,7 +127,7 @@ export const MetaEngineCreationLogic = kea< }); try { - await http.post('/api/app_search/engines', { body }); + await http.post('/internal/app_search/engines', { body }); actions.onEngineCreationSuccess(); } catch (e) { flashAPIErrors(e); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_logic.test.ts index e2493b6404f7d..7590633b7afef 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_logic.test.ts @@ -300,7 +300,7 @@ describe('RelevanceTuningLogic', () => { await nextTick(); expect(http.get).toHaveBeenCalledWith( - '/api/app_search/engines/test-engine/search_settings/details' + '/internal/app_search/engines/test-engine/search_settings/details' ); expect(RelevanceTuningLogic.actions.onInitializeRelevanceTuning).toHaveBeenCalledWith({ ...relevanceTuningProps, @@ -388,7 +388,7 @@ describe('RelevanceTuningLogic', () => { await nextTick(); expect(RelevanceTuningLogic.actions.setResultsLoading).toHaveBeenCalledWith(true); - expect(http.post).toHaveBeenCalledWith('/api/app_search/engines/test-engine/search', { + expect(http.post).toHaveBeenCalledWith('/internal/app_search/engines/test-engine/search', { body: JSON.stringify(searchSettingsWithoutNewBoostProp), query: { query: 'foo', @@ -418,7 +418,7 @@ describe('RelevanceTuningLogic', () => { jest.runAllTimers(); await nextTick(); - expect(http.post).toHaveBeenCalledWith('/api/app_search/engines/test-engine/search', { + expect(http.post).toHaveBeenCalledWith('/internal/app_search/engines/test-engine/search', { body: '{}', query: { query: 'foo', @@ -528,7 +528,7 @@ describe('RelevanceTuningLogic', () => { await nextTick(); expect(http.put).toHaveBeenCalledWith( - '/api/app_search/engines/test-engine/search_settings', + '/internal/app_search/engines/test-engine/search_settings', { body: JSON.stringify(searchSettingsWithoutNewBoostProp), } @@ -587,7 +587,7 @@ describe('RelevanceTuningLogic', () => { await nextTick(); expect(http.post).toHaveBeenCalledWith( - '/api/app_search/engines/test-engine/search_settings/reset' + '/internal/app_search/engines/test-engine/search_settings/reset' ); expect(flashSuccessToast).toHaveBeenCalledWith('Relevance was reset to default values', { text: 'The changes will impact your results shortly.', diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_logic.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_logic.ts index 02903b4588ed4..02df792f515a2 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/relevance_tuning_logic.ts @@ -245,7 +245,7 @@ export const RelevanceTuningLogic = kea< const { http } = HttpLogic.values; const { engineName } = EngineLogic.values; - const url = `/api/app_search/engines/${engineName}/search_settings/details`; + const url = `/internal/app_search/engines/${engineName}/search_settings/details`; try { const response = await http.get(url); @@ -269,7 +269,7 @@ export const RelevanceTuningLogic = kea< const { engineName } = EngineLogic.values; const { http } = HttpLogic.values; const { search_fields: searchFields, boosts } = removeBoostStateProps(values.searchSettings); - const url = `/api/app_search/engines/${engineName}/search`; + const url = `/internal/app_search/engines/${engineName}/search`; actions.setResultsLoading(true); @@ -307,7 +307,7 @@ export const RelevanceTuningLogic = kea< const { http } = HttpLogic.values; const { engineName } = EngineLogic.values; - const url = `/api/app_search/engines/${engineName}/search_settings`; + const url = `/internal/app_search/engines/${engineName}/search_settings`; try { const response = await http.put(url, { @@ -331,7 +331,7 @@ export const RelevanceTuningLogic = kea< const { http } = HttpLogic.values; const { engineName } = EngineLogic.values; - const url = `/api/app_search/engines/${engineName}/search_settings/reset`; + const url = `/internal/app_search/engines/${engineName}/search_settings/reset`; try { const response = await http.post(url); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_logic.test.ts index 5ce6fd9328917..94d5e84c67f6d 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_logic.test.ts @@ -835,7 +835,7 @@ describe('ResultSettingsLogic', () => { await nextTick(); expect(http.get).toHaveBeenCalledWith( - '/api/app_search/engines/test-engine/result_settings/details' + '/internal/app_search/engines/test-engine/result_settings/details' ); expect(ResultSettingsLogic.actions.initializeResultFields).toHaveBeenCalledWith( serverFieldResultSettings, @@ -910,7 +910,7 @@ describe('ResultSettingsLogic', () => { await nextTick(); expect(http.put).toHaveBeenCalledWith( - '/api/app_search/engines/test-engine/result_settings', + '/internal/app_search/engines/test-engine/result_settings', { body: JSON.stringify({ result_fields: serverResultFields, diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_logic.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_logic.ts index 216c43e1d3072..49a09b8a7a3f5 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/result_settings/result_settings_logic.ts @@ -292,7 +292,7 @@ export const ResultSettingsLogic = kea { expect(RoleMappingsLogic.values.dataLoading).toEqual(true); expect(http.post).toHaveBeenCalledWith( - '/api/app_search/role_mappings/enable_role_based_access' + '/internal/app_search/role_mappings/enable_role_based_access' ); await nextTick(); expect(setRoleMappingsSpy).toHaveBeenCalledWith(mappingsServerProps); @@ -406,7 +406,7 @@ describe('RoleMappingsLogic', () => { http.get.mockReturnValue(Promise.resolve(mappingsServerProps)); RoleMappingsLogic.actions.initializeRoleMappings(); - expect(http.get).toHaveBeenCalledWith('/api/app_search/role_mappings'); + expect(http.get).toHaveBeenCalledWith('/internal/app_search/role_mappings'); await nextTick(); expect(setRoleMappingsDataSpy).toHaveBeenCalledWith(mappingsServerProps); }); @@ -418,6 +418,16 @@ describe('RoleMappingsLogic', () => { expect(flashAPIErrors).toHaveBeenCalledWith('this is an error'); }); + + it('resets roleMapping state', () => { + mount({ + ...mappingsServerProps, + roleMapping: asRoleMapping, + }); + RoleMappingsLogic.actions.initializeRoleMappings(); + + expect(RoleMappingsLogic.values.roleMapping).toEqual(null); + }); }); describe('initializeRoleMapping', () => { @@ -492,7 +502,7 @@ describe('RoleMappingsLogic', () => { http.post.mockReturnValue(Promise.resolve(mappingsServerProps)); RoleMappingsLogic.actions.handleSaveMapping(); - expect(http.post).toHaveBeenCalledWith('/api/app_search/role_mappings', { + expect(http.post).toHaveBeenCalledWith('/internal/app_search/role_mappings', { body: JSON.stringify(body), }); await nextTick(); @@ -513,9 +523,12 @@ describe('RoleMappingsLogic', () => { http.put.mockReturnValue(Promise.resolve(mappingsServerProps)); RoleMappingsLogic.actions.handleSaveMapping(); - expect(http.put).toHaveBeenCalledWith(`/api/app_search/role_mappings/${asRoleMapping.id}`, { - body: JSON.stringify(body), - }); + expect(http.put).toHaveBeenCalledWith( + `/internal/app_search/role_mappings/${asRoleMapping.id}`, + { + body: JSON.stringify(body), + } + ); await nextTick(); expect(initializeRoleMappingsSpy).toHaveBeenCalled(); @@ -535,13 +548,16 @@ describe('RoleMappingsLogic', () => { http.put.mockReturnValue(Promise.resolve(mappingsServerProps)); RoleMappingsLogic.actions.handleSaveMapping(); - expect(http.put).toHaveBeenCalledWith(`/api/app_search/role_mappings/${asRoleMapping.id}`, { - body: JSON.stringify({ - ...body, - accessAllEngines: false, - engines: [engine.name], - }), - }); + expect(http.put).toHaveBeenCalledWith( + `/internal/app_search/role_mappings/${asRoleMapping.id}`, + { + body: JSON.stringify({ + ...body, + accessAllEngines: false, + engines: [engine.name], + }), + } + ); }); it('handles error', async () => { @@ -582,7 +598,7 @@ describe('RoleMappingsLogic', () => { http.post.mockReturnValue(Promise.resolve(mappingsServerProps)); RoleMappingsLogic.actions.handleSaveUser(); - expect(http.post).toHaveBeenCalledWith('/api/app_search/single_user_role_mapping', { + expect(http.post).toHaveBeenCalledWith('/internal/app_search/single_user_role_mapping', { body: JSON.stringify({ roleMapping: { engines: [], @@ -613,7 +629,7 @@ describe('RoleMappingsLogic', () => { http.put.mockReturnValue(Promise.resolve(mappingsServerProps)); RoleMappingsLogic.actions.handleSaveUser(); - expect(http.post).toHaveBeenCalledWith('/api/app_search/single_user_role_mapping', { + expect(http.post).toHaveBeenCalledWith('/internal/app_search/single_user_role_mapping', { body: JSON.stringify({ roleMapping: { engines: [], @@ -666,7 +682,9 @@ describe('RoleMappingsLogic', () => { http.delete.mockReturnValue(Promise.resolve({})); RoleMappingsLogic.actions.handleDeleteMapping(roleMappingId); - expect(http.delete).toHaveBeenCalledWith(`/api/app_search/role_mappings/${roleMappingId}`); + expect(http.delete).toHaveBeenCalledWith( + `/internal/app_search/role_mappings/${roleMappingId}` + ); await nextTick(); expect(initializeRoleMappingsSpy).toHaveBeenCalled(); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/role_mappings/role_mappings_logic.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/role_mappings/role_mappings_logic.ts index 8647f4f1df357..7b7bcd864ebd0 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/role_mappings/role_mappings_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/role_mappings/role_mappings_logic.ts @@ -178,6 +178,7 @@ export const RoleMappingsLogic = kea roleMapping, + initializeRoleMappings: () => null, resetState: () => null, closeUsersAndRolesFlyout: () => null, }, @@ -354,7 +355,7 @@ export const RoleMappingsLogic = kea ({ enableRoleBasedAccess: async () => { const { http } = HttpLogic.values; - const route = '/api/app_search/role_mappings/enable_role_based_access'; + const route = '/internal/app_search/role_mappings/enable_role_based_access'; try { const response = await http.post(route); @@ -365,7 +366,7 @@ export const RoleMappingsLogic = kea { const { http } = HttpLogic.values; - const route = '/api/app_search/role_mappings'; + const route = '/internal/app_search/role_mappings'; try { const response = await http.get(route); @@ -391,7 +392,7 @@ export const RoleMappingsLogic = kea { const { http } = HttpLogic.values; - const route = `/api/app_search/role_mappings/${roleMappingId}`; + const route = `/internal/app_search/role_mappings/${roleMappingId}`; try { await http.delete(route); @@ -425,8 +426,8 @@ export const RoleMappingsLogic = kea { describe('listeners', () => { describe('createSampleEngine', () => { - it('POSTS to /api/app_search/engines', () => { + it('POSTS to /internal/app_search/engines', () => { const body = JSON.stringify({ seed_sample_engine: true, }); SampleEngineCreationCtaLogic.actions.createSampleEngine(); - expect(http.post).toHaveBeenCalledWith('/api/app_search/onboarding_complete', { body }); + expect(http.post).toHaveBeenCalledWith('/internal/app_search/onboarding_complete', { + body, + }); }); it('calls onSampleEngineCreationSuccess on valid submission', async () => { diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/sample_engine_creation_cta/sample_engine_creation_cta_logic.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/sample_engine_creation_cta/sample_engine_creation_cta_logic.ts index bea85ea4fb3a5..6f960abac56f9 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/sample_engine_creation_cta/sample_engine_creation_cta_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/sample_engine_creation_cta/sample_engine_creation_cta_logic.ts @@ -52,7 +52,7 @@ export const SampleEngineCreationCtaLogic = kea< const body = JSON.stringify({ seed_sample_engine: true }); try { - await http.post('/api/app_search/onboarding_complete', { + await http.post('/internal/app_search/onboarding_complete', { body, }); actions.onSampleEngineCreationSuccess(); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/reindex_job/reindex_job_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/reindex_job/reindex_job_logic.test.ts index f01c735aeca8e..706dc3549badc 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/reindex_job/reindex_job_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/reindex_job/reindex_job_logic.test.ts @@ -103,7 +103,7 @@ describe('ReindexJobLogic', () => { await nextTick(); expect(http.get).toHaveBeenCalledWith( - '/api/app_search/engines/some-engine/reindex_job/some-job-id' + '/internal/app_search/engines/some-engine/reindex_job/some-job-id' ); expect(ReindexJobLogic.actions.onLoadSuccess).toHaveBeenCalledWith(MOCK_RESPONSE); }); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/reindex_job/reindex_job_logic.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/reindex_job/reindex_job_logic.ts index 8cc76f7f6e94f..fb50c9390a8d9 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/reindex_job/reindex_job_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/reindex_job/reindex_job_logic.ts @@ -53,7 +53,9 @@ export const ReindexJobLogic = kea { SchemaBaseLogic.actions.loadSchema(); await nextTick(); - expect(http.get).toHaveBeenCalledWith('/api/app_search/engines/some-engine/schema'); + expect(http.get).toHaveBeenCalledWith('/internal/app_search/engines/some-engine/schema'); expect(SchemaBaseLogic.actions.onSchemaLoad).toHaveBeenCalledWith(MOCK_RESPONSE); }); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/schema_base_logic.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/schema_base_logic.ts index c2196c01d402b..b9107666a881b 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/schema_base_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/schema_base_logic.ts @@ -56,7 +56,7 @@ export const SchemaBaseLogic = kea { SchemaLogic.actions.updateSchema(); await nextTick(); - expect(http.post).toHaveBeenCalledWith('/api/app_search/engines/some-engine/schema', { + expect(http.post).toHaveBeenCalledWith('/internal/app_search/engines/some-engine/schema', { body: '{}', }); expect(SchemaLogic.actions.onSchemaLoad).toHaveBeenCalledWith(MOCK_RESPONSE); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/schema_logic.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/schema_logic.ts index 3dcafd6782afd..b26fd92064582 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/schema_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/schema/schema_logic.ts @@ -146,7 +146,7 @@ export const SchemaLogic = kea>({ clearFlashMessages(); try { - const response = await http.post(`/api/app_search/engines/${engineName}/schema`, { + const response = await http.post(`/internal/app_search/engines/${engineName}/schema`, { body: JSON.stringify(schema), }); actions.onSchemaLoad(response); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/search/search_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/search/search_logic.test.ts index 5b3c0a766fbe1..d4f5ee29f7467 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/search/search_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/search/search_logic.test.ts @@ -90,7 +90,7 @@ describe('SearchLogic', () => { jest.runAllTimers(); await nextTick(); - expect(http.post).toHaveBeenCalledWith('/api/app_search/engines/some-engine/search', { + expect(http.post).toHaveBeenCalledWith('/internal/app_search/engines/some-engine/search', { query: { query: 'hello world' }, }); expect(logic.actions.onSearch).toHaveBeenCalledWith(MOCK_SEARCH_RESPONSE); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/search/search_logic.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/search/search_logic.ts index 52aedc1659689..424baedf210f5 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/search/search_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/search/search_logic.ts @@ -61,7 +61,7 @@ export const SearchLogic = kea>({ const { engineName } = EngineLogic.values; try { - const response = await http.post(`/api/app_search/engines/${engineName}/search`, { + const response = await http.post(`/internal/app_search/engines/${engineName}/search`, { query: { query }, }); actions.onSearch(response); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/search_ui_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/search_ui_logic.test.ts index aefe3c94f89cc..33144d4188ec1 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/search_ui_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/search_ui_logic.test.ts @@ -160,7 +160,7 @@ describe('SearchUILogic', () => { await nextTick(); expect(http.get).toHaveBeenCalledWith( - '/api/app_search/engines/engine1/search_ui/field_config' + '/internal/app_search/engines/engine1/search_ui/field_config' ); expect(SearchUILogic.actions.onFieldDataLoaded).toHaveBeenCalledWith({ validFields: ['test'], diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/search_ui_logic.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/search_ui_logic.ts index e6225614fdc18..7a3e429d842f8 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/search_ui_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/search_ui/search_ui_logic.ts @@ -103,7 +103,7 @@ export const SearchUILogic = kea> return; } - const url = `/api/app_search/engines/${engineName}/search_ui/field_config`; + const url = `/internal/app_search/engines/${engineName}/search_ui/field_config`; try { const initialFieldValues = await http.get(url); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/source_engines/source_engines_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/source_engines/source_engines_logic.test.ts index eababb9d93c58..75d3c46ef72ee 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/source_engines/source_engines_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/source_engines/source_engines_logic.test.ts @@ -227,7 +227,7 @@ describe('SourceEnginesLogic', () => { expect(mockRecursivelyFetchEngines).toHaveBeenCalledWith( expect.objectContaining({ - endpoint: '/api/app_search/engines/some-engine/source_engines', + endpoint: '/internal/app_search/engines/some-engine/source_engines', }) ); expect(SourceEnginesLogic.actions.onSourceEnginesFetch).toHaveBeenCalledWith([ @@ -245,7 +245,7 @@ describe('SourceEnginesLogic', () => { expect(mockRecursivelyFetchEngines).toHaveBeenCalledWith( expect.objectContaining({ - endpoint: '/api/app_search/engines', + endpoint: '/internal/app_search/engines', query: { type: 'indexed' }, }) ); @@ -283,7 +283,7 @@ describe('SourceEnginesLogic', () => { await nextTick(); expect(http.post).toHaveBeenCalledWith( - '/api/app_search/engines/some-engine/source_engines/bulk_create', + '/internal/app_search/engines/some-engine/source_engines/bulk_create', { body: JSON.stringify({ source_engine_slugs: ['source-engine-3', 'source-engine-4'] }), } @@ -341,7 +341,7 @@ describe('SourceEnginesLogic', () => { await nextTick(); expect(http.delete).toHaveBeenCalledWith( - '/api/app_search/engines/some-engine/source_engines/source-engine-2' + '/internal/app_search/engines/some-engine/source_engines/source-engine-2' ); expect(SourceEnginesLogic.actions.onSourceEngineRemove).toHaveBeenCalledWith( 'source-engine-2' diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/source_engines/source_engines_logic.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/source_engines/source_engines_logic.ts index 21ae24357bcea..af3c955258cf8 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/source_engines/source_engines_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/source_engines/source_engines_logic.ts @@ -132,7 +132,7 @@ export const SourceEnginesLogic = kea< const { engineName } = EngineLogic.values; try { - await http.post(`/api/app_search/engines/${engineName}/source_engines/bulk_create`, { + await http.post(`/internal/app_search/engines/${engineName}/source_engines/bulk_create`, { body: JSON.stringify({ source_engine_slugs: sourceEngineNames, }), @@ -155,13 +155,13 @@ export const SourceEnginesLogic = kea< const { engineName } = EngineLogic.values; recursivelyFetchEngines({ - endpoint: `/api/app_search/engines/${engineName}/source_engines`, + endpoint: `/internal/app_search/engines/${engineName}/source_engines`, onComplete: (engines) => actions.onSourceEnginesFetch(engines), }); }, fetchIndexedEngines: () => { recursivelyFetchEngines({ - endpoint: '/api/app_search/engines', + endpoint: '/internal/app_search/engines', onComplete: (engines) => actions.setIndexedEngines(engines), query: { type: 'indexed' }, }); @@ -172,7 +172,7 @@ export const SourceEnginesLogic = kea< try { await http.delete( - `/api/app_search/engines/${engineName}/source_engines/${sourceEngineName}` + `/internal/app_search/engines/${engineName}/source_engines/${sourceEngineName}` ); actions.onSourceEngineRemove(sourceEngineName); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/synonyms/synonyms_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/synonyms/synonyms_logic.test.ts index 630a069d0c5e8..0ff84ad4cb9cb 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/synonyms/synonyms_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/synonyms/synonyms_logic.test.ts @@ -137,7 +137,7 @@ describe('SynonymsLogic', () => { SynonymsLogic.actions.loadSynonyms(); await nextTick(); - expect(http.get).toHaveBeenCalledWith('/api/app_search/engines/some-engine/synonyms', { + expect(http.get).toHaveBeenCalledWith('/internal/app_search/engines/some-engine/synonyms', { query: { 'page[current]': 1, 'page[size]': 12, @@ -178,9 +178,12 @@ describe('SynonymsLogic', () => { SynonymsLogic.actions.createSynonymSet(['a', 'b', 'c']); await nextTick(); - expect(http.post).toHaveBeenCalledWith('/api/app_search/engines/some-engine/synonyms', { - body: '{"synonyms":["a","b","c"]}', - }); + expect(http.post).toHaveBeenCalledWith( + '/internal/app_search/engines/some-engine/synonyms', + { + body: '{"synonyms":["a","b","c"]}', + } + ); expect(SynonymsLogic.actions.onSynonymSetSuccess).toHaveBeenCalledWith( 'Synonym set created' ); @@ -221,7 +224,7 @@ describe('SynonymsLogic', () => { await nextTick(); expect(http.put).toHaveBeenCalledWith( - '/api/app_search/engines/some-engine/synonyms/some-synonym-id', + '/internal/app_search/engines/some-engine/synonyms/some-synonym-id', { body: '{"synonyms":["hello","world"]}', } @@ -266,7 +269,7 @@ describe('SynonymsLogic', () => { await nextTick(); expect(http.delete).toHaveBeenCalledWith( - '/api/app_search/engines/some-engine/synonyms/some-synonym-id' + '/internal/app_search/engines/some-engine/synonyms/some-synonym-id' ); expect(SynonymsLogic.actions.onSynonymSetSuccess).toHaveBeenCalledWith( 'Synonym set deleted' diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/synonyms/synonyms_logic.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/synonyms/synonyms_logic.ts index fc407dcfc38b3..123a2e50fdf2f 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/synonyms/synonyms_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/synonyms/synonyms_logic.ts @@ -115,7 +115,7 @@ export const SynonymsLogic = kea> const { engineName } = EngineLogic.values; try { - const response = await http.get(`/api/app_search/engines/${engineName}/synonyms`, { + const response = await http.get(`/internal/app_search/engines/${engineName}/synonyms`, { query: { 'page[current]': meta.page.current, 'page[size]': meta.page.size, @@ -132,7 +132,7 @@ export const SynonymsLogic = kea> clearFlashMessages(); try { - await http.post(`/api/app_search/engines/${engineName}/synonyms`, { + await http.post(`/internal/app_search/engines/${engineName}/synonyms`, { body: JSON.stringify({ synonyms }), }); actions.onSynonymSetSuccess(CREATE_SUCCESS); @@ -147,7 +147,7 @@ export const SynonymsLogic = kea> clearFlashMessages(); try { - await http.put(`/api/app_search/engines/${engineName}/synonyms/${id}`, { + await http.put(`/internal/app_search/engines/${engineName}/synonyms/${id}`, { body: JSON.stringify({ synonyms }), }); actions.onSynonymSetSuccess(UPDATE_SUCCESS); @@ -162,7 +162,7 @@ export const SynonymsLogic = kea> clearFlashMessages(); try { - await http.delete(`/api/app_search/engines/${engineName}/synonyms/${id}`); + await http.delete(`/internal/app_search/engines/${engineName}/synonyms/${id}`); actions.onSynonymSetSuccess(DELETE_SUCCESS); } catch (e) { actions.onSynonymSetError(); diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/utils/recursively_fetch_engines/index.test.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/utils/recursively_fetch_engines/index.test.ts index a73dd075115ee..555a880d544f4 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/utils/recursively_fetch_engines/index.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/utils/recursively_fetch_engines/index.test.ts @@ -46,18 +46,21 @@ describe('recursivelyFetchEngines', () => { .mockReturnValueOnce(Promise.resolve(MOCK_PAGE_3)); recursivelyFetchEngines({ - endpoint: '/api/app_search/engines/some-engine/source_engines', + endpoint: '/internal/app_search/engines/some-engine/source_engines', onComplete: MOCK_CALLBACK, }); await nextTick(); expect(http.get).toHaveBeenCalledTimes(3); // Called once for each page - expect(http.get).toHaveBeenCalledWith('/api/app_search/engines/some-engine/source_engines', { - query: { - 'page[current]': 1, - 'page[size]': 25, - }, - }); + expect(http.get).toHaveBeenCalledWith( + '/internal/app_search/engines/some-engine/source_engines', + { + query: { + 'page[current]': 1, + 'page[size]': 25, + }, + } + ); expect(MOCK_CALLBACK).toHaveBeenCalledWith([ { name: 'source-engine-1' }, @@ -68,12 +71,12 @@ describe('recursivelyFetchEngines', () => { it('passes optional query params', () => { recursivelyFetchEngines({ - endpoint: '/api/app_search/engines/some-engine/engines', + endpoint: '/internal/app_search/engines/some-engine/engines', onComplete: MOCK_CALLBACK, query: { type: 'indexed' }, }); - expect(http.get).toHaveBeenCalledWith('/api/app_search/engines/some-engine/engines', { + expect(http.get).toHaveBeenCalledWith('/internal/app_search/engines/some-engine/engines', { query: { 'page[current]': 1, 'page[size]': 25, diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/http/http_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/shared/http/http_logic.test.ts index 836705e98da94..8e1b59096b180 100644 --- a/x-pack/plugins/enterprise_search/public/applications/shared/http/http_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/shared/http/http_logic.test.ts @@ -93,7 +93,7 @@ describe('HttpLogic', () => { it('sets errorConnecting to true if the response header is true', async () => { const httpResponse = { - response: { url: '/api/app_search/engines', headers: { get: () => 'true' } }, + response: { url: '/internal/app_search/engines', headers: { get: () => 'true' } }, }; await expect(interceptedResponse(httpResponse)).rejects.toEqual(httpResponse); @@ -102,7 +102,10 @@ describe('HttpLogic', () => { it('sets errorConnecting to false if the response header is false', async () => { const httpResponse = { - response: { url: '/api/workplace_search/overview', headers: { get: () => 'false' } }, + response: { + url: '/internal/workplace_search/overview', + headers: { get: () => 'false' }, + }, }; await expect(interceptedResponse(httpResponse)).rejects.toEqual(httpResponse); @@ -140,7 +143,7 @@ describe('HttpLogic', () => { it('sets readOnlyMode to true if the response header is true', async () => { const httpResponse = { - response: { url: '/api/app_search/engines', headers: { get: () => 'true' } }, + response: { url: '/internal/app_search/engines', headers: { get: () => 'true' } }, }; await expect(interceptedResponse(httpResponse)).resolves.toEqual(httpResponse); @@ -149,7 +152,10 @@ describe('HttpLogic', () => { it('sets readOnlyMode to false if the response header is false', async () => { const httpResponse = { - response: { url: '/api/workplace_search/overview', headers: { get: () => 'false' } }, + response: { + url: '/internal/workplace_search/overview', + headers: { get: () => 'false' }, + }, }; await expect(interceptedResponse(httpResponse)).resolves.toEqual(httpResponse); diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/http/http_logic.ts b/x-pack/plugins/enterprise_search/public/applications/shared/http/http_logic.ts index ea3c84c1e0534..d18408a78b0d8 100644 --- a/x-pack/plugins/enterprise_search/public/applications/shared/http/http_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/shared/http/http_logic.ts @@ -128,5 +128,5 @@ const isEnterpriseSearchApi = (httpResponse: HttpResponse) => { if (!httpResponse.response) return false; // Typically this means Kibana has stopped working, in which case we short-circuit early to prevent errors const { url } = httpResponse.response; - return url.includes('/api/app_search/') || url.includes('/api/workplace_search/'); + return url.includes('/internal/app_search/') || url.includes('/internal/workplace_search/'); }; diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/users_table.tsx b/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/users_table.tsx index 3b6e2dc440a76..3dc5560a9eaba 100644 --- a/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/users_table.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/shared/role_mapping/users_table.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import React, { useState } from 'react'; +import React, { useState, useEffect } from 'react'; import { EuiBadge, EuiBasicTableColumn, EuiInMemoryTable, EuiTextColor } from '@elastic/eui'; import type { EuiSearchBarOnChangeArgs } from '@elastic/eui'; @@ -57,6 +57,8 @@ const noItemsPlaceholder = ; const invitationBadge = {INVITATION_PENDING_LABEL}; const deactivatedBadge = {DEACTIVATED_LABEL}; +type Users = Array>; + export const UsersTable: React.FC = ({ accessItemKey, singleUserRoleMappings, @@ -72,9 +74,13 @@ export const UsersTable: React.FC = ({ id: user.roleMapping.id, accessItems: (user.roleMapping as SharedRoleMapping)[accessItemKey], invitation: user.invitation, - })) as unknown) as Array>; + })) as unknown) as Users; + + const [items, setItems] = useState([] as Users); - const [items, setItems] = useState(users); + useEffect(() => { + setItems(users); + }, [singleUserRoleMappings]); const columns: Array> = [ { diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/telemetry/telemetry_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/shared/telemetry/telemetry_logic.test.ts index d80750d068f2b..d8d0442707730 100644 --- a/x-pack/plugins/enterprise_search/public/applications/shared/telemetry/telemetry_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/shared/telemetry/telemetry_logic.test.ts @@ -28,7 +28,7 @@ describe('Telemetry logic', () => { product: 'enterprise_search', }); - expect(http.put).toHaveBeenCalledWith('/api/enterprise_search/stats', { + expect(http.put).toHaveBeenCalledWith('/internal/enterprise_search/stats', { headers, body: '{"product":"enterprise_search","action":"viewed","metric":"setup_guide"}', }); diff --git a/x-pack/plugins/enterprise_search/public/applications/shared/telemetry/telemetry_logic.ts b/x-pack/plugins/enterprise_search/public/applications/shared/telemetry/telemetry_logic.ts index 343eb21bae107..cdd2f6e09c0a1 100644 --- a/x-pack/plugins/enterprise_search/public/applications/shared/telemetry/telemetry_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/shared/telemetry/telemetry_logic.ts @@ -37,7 +37,7 @@ export const TelemetryLogic = kea>({ const { http } = HttpLogic.values; try { const body = JSON.stringify({ product, action, metric }); - await http.put('/api/enterprise_search/stats', { headers, body }); + await http.put('/internal/enterprise_search/stats', { headers, body }); } catch (error) { throw new Error('Unable to send telemetry'); } diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/status_item/status_item.tsx b/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/status_item/status_item.tsx index 35ac8f1b85c05..025230d0b5c1a 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/status_item/status_item.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/components/shared/status_item/status_item.tsx @@ -11,7 +11,6 @@ import { EuiCopy, EuiButton, EuiButtonIcon, - EuiToolTip, EuiSpacer, EuiCodeBlock, EuiPopover, @@ -30,19 +29,17 @@ export const StatusItem: React.FC = ({ details }) => { const closePopover = () => setIsPopoverOpen(false); const formattedDetails = details.join('\n'); - const tooltipPopoverTrigger = ( - - - + const popoverTrigger = ( + ); const infoPopover = ( - + { const { serviceName, indexPermissions, serviceType } = response; http.get.mockReturnValue(Promise.resolve(response)); AddSourceLogic.actions.saveSourceParams(queryString, params, true); - expect(http.get).toHaveBeenCalledWith('/api/workplace_search/sources/create', { + expect(http.get).toHaveBeenCalledWith('/internal/workplace_search/sources/create', { query: { ...params, kibana_host: '', @@ -347,7 +347,7 @@ describe('AddSourceLogic', () => { }) ); AddSourceLogic.actions.saveSourceParams(queryString, params, true); - expect(http.get).toHaveBeenCalledWith('/api/workplace_search/sources/create', { + expect(http.get).toHaveBeenCalledWith('/internal/workplace_search/sources/create', { query: { ...params, kibana_host: '', @@ -407,7 +407,7 @@ describe('AddSourceLogic', () => { AddSourceLogic.actions.getSourceConfigData('github'); expect(http.get).toHaveBeenCalledWith( - '/api/workplace_search/org/settings/connectors/github' + '/internal/workplace_search/org/settings/connectors/github' ); await nextTick(); expect(setSourceConfigDataSpy).toHaveBeenCalledWith(sourceConfigData); @@ -444,8 +444,10 @@ describe('AddSourceLogic', () => { expect(clearFlashMessages).toHaveBeenCalled(); expect(AddSourceLogic.values.buttonLoading).toEqual(true); expect(http.get).toHaveBeenCalledWith( - '/api/workplace_search/org/sources/github/prepare', - { query } + '/internal/workplace_search/org/sources/github/prepare', + { + query, + } ); await nextTick(); expect(setSourceConnectDataSpy).toHaveBeenCalledWith(sourceConnectData); @@ -465,8 +467,10 @@ describe('AddSourceLogic', () => { }; expect(http.get).toHaveBeenCalledWith( - '/api/workplace_search/org/sources/github/prepare', - { query } + '/internal/workplace_search/org/sources/github/prepare', + { + query, + } ); }); @@ -491,7 +495,7 @@ describe('AddSourceLogic', () => { AddSourceLogic.actions.getSourceReConnectData('github'); expect(http.get).toHaveBeenCalledWith( - '/api/workplace_search/org/sources/github/reauth_prepare', + '/internal/workplace_search/org/sources/github/reauth_prepare', { query: { kibana_host: '', @@ -523,7 +527,7 @@ describe('AddSourceLogic', () => { AddSourceLogic.actions.getPreContentSourceConfigData(); - expect(http.get).toHaveBeenCalledWith('/api/workplace_search/org/pre_sources/123'); + expect(http.get).toHaveBeenCalledWith('/internal/workplace_search/org/pre_sources/123'); await nextTick(); expect(setPreContentSourceConfigDataSpy).toHaveBeenCalledWith(config); }); @@ -568,7 +572,7 @@ describe('AddSourceLogic', () => { expect( http.put ).toHaveBeenCalledWith( - `/api/workplace_search/org/settings/connectors/${sourceConfigData.serviceType}`, + `/internal/workplace_search/org/settings/connectors/${sourceConfigData.serviceType}`, { body: JSON.stringify(params) } ); @@ -591,9 +595,12 @@ describe('AddSourceLogic', () => { consumer_key: sourceConfigData.configuredFields?.consumerKey, }; - expect(http.post).toHaveBeenCalledWith('/api/workplace_search/org/settings/connectors', { - body: JSON.stringify(createParams), - }); + expect(http.post).toHaveBeenCalledWith( + '/internal/workplace_search/org/settings/connectors', + { + body: JSON.stringify(createParams), + } + ); }); it('handles error', async () => { @@ -644,7 +651,7 @@ describe('AddSourceLogic', () => { expect(clearFlashMessages).toHaveBeenCalled(); expect(AddSourceLogic.values.buttonLoading).toEqual(true); - expect(http.post).toHaveBeenCalledWith('/api/workplace_search/org/create_source', { + expect(http.post).toHaveBeenCalledWith('/internal/workplace_search/org/create_source', { body: JSON.stringify({ ...params }), }); await nextTick(); @@ -677,16 +684,19 @@ describe('AddSourceLogic', () => { AddSourceLogic.actions.getSourceConnectData('github', jest.fn()); - expect( - http.get - ).toHaveBeenCalledWith('/api/workplace_search/account/sources/github/prepare', { query }); + expect(http.get).toHaveBeenCalledWith( + '/internal/workplace_search/account/sources/github/prepare', + { + query, + } + ); }); it('getSourceReConnectData', () => { AddSourceLogic.actions.getSourceReConnectData('123'); expect(http.get).toHaveBeenCalledWith( - '/api/workplace_search/account/sources/123/reauth_prepare', + '/internal/workplace_search/account/sources/123/reauth_prepare', { query: { kibana_host: '', @@ -699,13 +709,13 @@ describe('AddSourceLogic', () => { mount({ preContentSourceId: '123' }); AddSourceLogic.actions.getPreContentSourceConfigData(); - expect(http.get).toHaveBeenCalledWith('/api/workplace_search/account/pre_sources/123'); + expect(http.get).toHaveBeenCalledWith('/internal/workplace_search/account/pre_sources/123'); }); it('createContentSource', () => { AddSourceLogic.actions.createContentSource('github', jest.fn()); - expect(http.post).toHaveBeenCalledWith('/api/workplace_search/account/create_source', { + expect(http.post).toHaveBeenCalledWith('/internal/workplace_search/account/create_source', { body: JSON.stringify({ service_type: 'github' }), }); }); diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_logic.ts b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_logic.ts index 0aa7cbcf5f1c7..e63e58adb38e2 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/add_source/add_source_logic.ts @@ -393,7 +393,7 @@ export const AddSourceLogic = kea { - const route = `/api/workplace_search/org/settings/connectors/${serviceType}`; + const route = `/internal/workplace_search/org/settings/connectors/${serviceType}`; try { const response = await HttpLogic.values.http.get(route); @@ -408,8 +408,8 @@ export const AddSourceLogic = kea { const { isOrganization } = AppLogic.values; const route = isOrganization - ? `/api/workplace_search/org/sources/${sourceId}/reauth_prepare` - : `/api/workplace_search/account/sources/${sourceId}/reauth_prepare`; + ? `/internal/workplace_search/org/sources/${sourceId}/reauth_prepare` + : `/internal/workplace_search/account/sources/${sourceId}/reauth_prepare`; const query = { kibana_host: kibanaHost, @@ -449,8 +449,8 @@ export const AddSourceLogic = kea { DisplaySettingsLogic.actions.initializeDisplaySettings(); expect(http.get).toHaveBeenCalledWith( - '/api/workplace_search/org/sources/source123/display_settings/config' + '/internal/workplace_search/org/sources/source123/display_settings/config' ); await nextTick(); expect(onInitializeDisplaySettingsSpy).toHaveBeenCalledWith({ @@ -397,7 +397,7 @@ describe('DisplaySettingsLogic', () => { DisplaySettingsLogic.actions.initializeDisplaySettings(); expect(http.get).toHaveBeenCalledWith( - '/api/workplace_search/account/sources/source123/display_settings/config' + '/internal/workplace_search/account/sources/source123/display_settings/config' ); await nextTick(); expect(onInitializeDisplaySettingsSpy).toHaveBeenCalledWith({ diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/display_settings_logic.ts b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/display_settings_logic.ts index 28d10b1566b6c..2d7667e08d8f8 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/display_settings_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/display_settings/display_settings_logic.ts @@ -377,8 +377,8 @@ export const DisplaySettingsLogic = kea< } = SourceLogic.values; const route = isOrganization - ? `/api/workplace_search/org/sources/${sourceId}/display_settings/config` - : `/api/workplace_search/account/sources/${sourceId}/display_settings/config`; + ? `/internal/workplace_search/org/sources/${sourceId}/display_settings/config` + : `/internal/workplace_search/account/sources/${sourceId}/display_settings/config`; try { const response = await HttpLogic.values.http.get(route); diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/schema_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/schema_logic.test.ts index 142e50d52c9db..549ffe0546d7c 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/schema_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/schema_logic.test.ts @@ -208,7 +208,7 @@ describe('SchemaLogic', () => { SchemaLogic.actions.initializeSchema(); expect(http.get).toHaveBeenCalledWith( - '/api/workplace_search/org/sources/source123/schemas' + '/internal/workplace_search/org/sources/source123/schemas' ); await nextTick(); expect(onInitializeSchemaSpy).toHaveBeenCalledWith(serverResponse); @@ -222,7 +222,7 @@ describe('SchemaLogic', () => { SchemaLogic.actions.initializeSchema(); expect(http.get).toHaveBeenCalledWith( - '/api/workplace_search/account/sources/source123/schemas' + '/internal/workplace_search/account/sources/source123/schemas' ); await nextTick(); expect(onInitializeSchemaSpy).toHaveBeenCalledWith(serverResponse); @@ -254,12 +254,12 @@ describe('SchemaLogic', () => { ); expect(http.get).toHaveBeenCalledWith( - '/api/workplace_search/org/sources/source123/schemas' + '/internal/workplace_search/org/sources/source123/schemas' ); await initPromise; expect(http.get).toHaveBeenCalledWith( - '/api/workplace_search/org/sources/source123/reindex_job/123' + '/internal/workplace_search/org/sources/source123/reindex_job/123' ); await promise; @@ -285,12 +285,12 @@ describe('SchemaLogic', () => { ); expect(http.get).toHaveBeenCalledWith( - '/api/workplace_search/account/sources/source123/schemas' + '/internal/workplace_search/account/sources/source123/schemas' ); await initPromise; expect(http.get).toHaveBeenCalledWith( - '/api/workplace_search/account/sources/source123/reindex_job/123' + '/internal/workplace_search/account/sources/source123/reindex_job/123' ); await promise; @@ -365,7 +365,7 @@ describe('SchemaLogic', () => { SchemaLogic.actions.setServerField(schema, ADD); expect(http.post).toHaveBeenCalledWith( - '/api/workplace_search/org/sources/source123/schemas', + '/internal/workplace_search/org/sources/source123/schemas', { body: JSON.stringify({ ...schema }), } @@ -383,7 +383,7 @@ describe('SchemaLogic', () => { SchemaLogic.actions.setServerField(schema, ADD); expect(http.post).toHaveBeenCalledWith( - '/api/workplace_search/account/sources/source123/schemas', + '/internal/workplace_search/account/sources/source123/schemas', { body: JSON.stringify({ ...schema }), } @@ -424,7 +424,7 @@ describe('SchemaLogic', () => { SchemaLogic.actions.setServerField(schema, UPDATE); expect(http.post).toHaveBeenCalledWith( - '/api/workplace_search/org/sources/source123/schemas', + '/internal/workplace_search/org/sources/source123/schemas', { body: JSON.stringify({ ...schema }), } @@ -442,7 +442,7 @@ describe('SchemaLogic', () => { SchemaLogic.actions.setServerField(schema, UPDATE); expect(http.post).toHaveBeenCalledWith( - '/api/workplace_search/account/sources/source123/schemas', + '/internal/workplace_search/account/sources/source123/schemas', { body: JSON.stringify({ ...schema }), } diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/schema_logic.ts b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/schema_logic.ts index 114d63a3ce142..173f5df162caa 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/schema_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/schema/schema_logic.ts @@ -271,8 +271,8 @@ export const SchemaLogic = kea>({ } = SourceLogic.values; const route = isOrganization - ? `/api/workplace_search/org/sources/${sourceId}/schemas` - : `/api/workplace_search/account/sources/${sourceId}/schemas`; + ? `/internal/workplace_search/org/sources/${sourceId}/schemas` + : `/internal/workplace_search/account/sources/${sourceId}/schemas`; try { const response = await http.get(route); @@ -285,8 +285,8 @@ export const SchemaLogic = kea>({ const { isOrganization } = AppLogic.values; const { http } = HttpLogic.values; const route = isOrganization - ? `/api/workplace_search/org/sources/${sourceId}/reindex_job/${activeReindexJobId}` - : `/api/workplace_search/account/sources/${sourceId}/reindex_job/${activeReindexJobId}`; + ? `/internal/workplace_search/org/sources/${sourceId}/reindex_job/${activeReindexJobId}` + : `/internal/workplace_search/account/sources/${sourceId}/reindex_job/${activeReindexJobId}`; try { await actions.initializeSchema(); @@ -329,8 +329,8 @@ export const SchemaLogic = kea>({ const { sourceId } = values; const successMessage = isAdding ? SCHEMA_FIELD_ADDED_MESSAGE : SCHEMA_UPDATED_MESSAGE; const route = isOrganization - ? `/api/workplace_search/org/sources/${sourceId}/schemas` - : `/api/workplace_search/account/sources/${sourceId}/schemas`; + ? `/internal/workplace_search/org/sources/${sourceId}/schemas` + : `/internal/workplace_search/account/sources/${sourceId}/schemas`; const emptyReindexJob = { percentageComplete: 100, diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_settings.test.tsx b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_settings.test.tsx index 0276e75e4d219..883c8631365eb 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_settings.test.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_settings.test.tsx @@ -188,7 +188,7 @@ describe('SourceSettings', () => { const wrapper = shallow(); expect(wrapper.find('[data-test-subj="DownloadDiagnosticsButton"]').prop('href')).toEqual( - '/api/workplace_search/org/sources/123/download_diagnostics' + '/internal/workplace_search/org/sources/123/download_diagnostics' ); }); @@ -200,7 +200,7 @@ describe('SourceSettings', () => { const wrapper = shallow(); expect(wrapper.find('[data-test-subj="DownloadDiagnosticsButton"]').prop('href')).toEqual( - '/api/workplace_search/account/sources/123/download_diagnostics' + '/internal/workplace_search/account/sources/123/download_diagnostics' ); }); diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_settings.tsx b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_settings.tsx index d6f16db4d5129..f723391a01cea 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_settings.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/components/source_settings.tsx @@ -119,8 +119,10 @@ export const SourceSettings: React.FC = () => { const { clientId, clientSecret, publicKey, consumerKey, baseUrl } = configuredFields || {}; const diagnosticsPath = isOrganization - ? http.basePath.prepend(`/api/workplace_search/org/sources/${id}/download_diagnostics`) - : http.basePath.prepend(`/api/workplace_search/account/sources/${id}/download_diagnostics`); + ? http.basePath.prepend(`/internal/workplace_search/org/sources/${id}/download_diagnostics`) + : http.basePath.prepend( + `/internal/workplace_search/account/sources/${id}/download_diagnostics` + ); const handleNameChange = (e: ChangeEvent) => setValue(e.target.value); diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/source_data.tsx b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/source_data.tsx index 4a3dbbc31faf3..c303190651f57 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/source_data.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/source_data.tsx @@ -105,7 +105,7 @@ export const staticSourceData = [ hasOauthRedirect: true, needsBaseUrl: true, documentationUrl: CONFLUENCE_DOCS_URL, - applicationPortalUrl: 'https://developer.atlassian.com/apps/', + applicationPortalUrl: 'https://developer.atlassian.com/console/myapps/', }, objTypes: [ SOURCE_OBJ_TYPES.PAGES, @@ -320,11 +320,11 @@ export const staticSourceData = [ addPath: ADD_JIRA_PATH, editPath: EDIT_JIRA_PATH, configuration: { - isPublicKey: true, + isPublicKey: false, hasOauthRedirect: true, - needsBaseUrl: false, + needsBaseUrl: true, documentationUrl: JIRA_DOCS_URL, - applicationPortalUrl: '', + applicationPortalUrl: 'https://developer.atlassian.com/console/myapps/', }, objTypes: [ SOURCE_OBJ_TYPES.EPICS, diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/source_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/source_logic.test.ts index adeddb08dcb79..94ec730ef256c 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/source_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/source_logic.test.ts @@ -136,7 +136,7 @@ describe('SourceLogic', () => { http.get.mockReturnValue(promise); SourceLogic.actions.initializeSource(contentSource.id); - expect(http.get).toHaveBeenCalledWith('/api/workplace_search/org/sources/123'); + expect(http.get).toHaveBeenCalledWith('/internal/workplace_search/org/sources/123'); await promise; expect(onInitializeSourceSpy).toHaveBeenCalledWith(contentSource); }); @@ -149,7 +149,7 @@ describe('SourceLogic', () => { http.get.mockReturnValue(promise); SourceLogic.actions.initializeSource(contentSource.id); - expect(http.get).toHaveBeenCalledWith('/api/workplace_search/account/sources/123'); + expect(http.get).toHaveBeenCalledWith('/internal/workplace_search/account/sources/123'); await promise; expect(onInitializeSourceSpy).toHaveBeenCalledWith(contentSource); }); @@ -168,7 +168,7 @@ describe('SourceLogic', () => { http.get.mockReturnValue(promise); SourceLogic.actions.initializeSource(contentSource.id); - expect(http.get).toHaveBeenCalledWith('/api/workplace_search/account/sources/123'); + expect(http.get).toHaveBeenCalledWith('/internal/workplace_search/account/sources/123'); await promise; expect(initializeFederatedSummarySpy).toHaveBeenCalledWith(contentSource.id); }); @@ -233,7 +233,7 @@ describe('SourceLogic', () => { SourceLogic.actions.initializeFederatedSummary(contentSource.id); expect(http.get).toHaveBeenCalledWith( - '/api/workplace_search/account/sources/123/federated_summary' + '/internal/workplace_search/account/sources/123/federated_summary' ); await promise; expect(onUpdateSummarySpy).toHaveBeenCalledWith(contentSource.summary); @@ -270,9 +270,12 @@ describe('SourceLogic', () => { http.post.mockReturnValue(promise); await searchContentSourceDocuments({ sourceId: contentSource.id }, mockBreakpoint); - expect(http.post).toHaveBeenCalledWith('/api/workplace_search/org/sources/123/documents', { - body: JSON.stringify({ query: '', page: meta.page }), - }); + expect(http.post).toHaveBeenCalledWith( + '/internal/workplace_search/org/sources/123/documents', + { + body: JSON.stringify({ query: '', page: meta.page }), + } + ); await promise; expect(actions.setSearchResults).toHaveBeenCalledWith(searchServerResponse); @@ -286,7 +289,7 @@ describe('SourceLogic', () => { SourceLogic.actions.searchContentSourceDocuments(contentSource.id); await searchContentSourceDocuments({ sourceId: contentSource.id }, mockBreakpoint); expect(http.post).toHaveBeenCalledWith( - '/api/workplace_search/account/sources/123/documents', + '/internal/workplace_search/account/sources/123/documents', { body: JSON.stringify({ query: '', page: meta.page }), } @@ -322,9 +325,12 @@ describe('SourceLogic', () => { http.patch.mockReturnValue(promise); SourceLogic.actions.updateContentSource(contentSource.id, contentSource); - expect(http.patch).toHaveBeenCalledWith('/api/workplace_search/org/sources/123/settings', { - body: JSON.stringify({ content_source: contentSource }), - }); + expect(http.patch).toHaveBeenCalledWith( + '/internal/workplace_search/org/sources/123/settings', + { + body: JSON.stringify({ content_source: contentSource }), + } + ); await promise; expect(onUpdateSourceNameSpy).toHaveBeenCalledWith(contentSource.name); }); @@ -337,9 +343,12 @@ describe('SourceLogic', () => { http.patch.mockReturnValue(promise); SourceLogic.actions.updateContentSource(contentSource.id, { indexing: { enabled: true } }); - expect(http.patch).toHaveBeenCalledWith('/api/workplace_search/org/sources/123/settings', { - body: JSON.stringify({ content_source: { indexing: { enabled: true } } }), - }); + expect(http.patch).toHaveBeenCalledWith( + '/internal/workplace_search/org/sources/123/settings', + { + body: JSON.stringify({ content_source: { indexing: { enabled: true } } }), + } + ); await promise; expect(onUpdateSourceNameSpy).not.toHaveBeenCalledWith(contentSource.name); }); @@ -353,7 +362,7 @@ describe('SourceLogic', () => { SourceLogic.actions.updateContentSource(contentSource.id, contentSource); expect(http.patch).toHaveBeenCalledWith( - '/api/workplace_search/account/sources/123/settings', + '/internal/workplace_search/account/sources/123/settings', { body: JSON.stringify({ content_source: contentSource }), } @@ -388,7 +397,7 @@ describe('SourceLogic', () => { SourceLogic.actions.removeContentSource(contentSource.id); expect(clearFlashMessages).toHaveBeenCalled(); - expect(http.delete).toHaveBeenCalledWith('/api/workplace_search/org/sources/123'); + expect(http.delete).toHaveBeenCalledWith('/internal/workplace_search/org/sources/123'); await promise; expect(flashSuccessToast).toHaveBeenCalled(); expect(setButtonNotLoadingSpy).toHaveBeenCalled(); @@ -403,7 +412,7 @@ describe('SourceLogic', () => { SourceLogic.actions.removeContentSource(contentSource.id); expect(clearFlashMessages).toHaveBeenCalled(); - expect(http.delete).toHaveBeenCalledWith('/api/workplace_search/account/sources/123'); + expect(http.delete).toHaveBeenCalledWith('/internal/workplace_search/account/sources/123'); await promise; expect(setButtonNotLoadingSpy).toHaveBeenCalled(); }); diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/source_logic.ts b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/source_logic.ts index 6040f319357d9..5c947b68f2333 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/source_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/source_logic.ts @@ -153,8 +153,8 @@ export const SourceLogic = kea>({ initializeSource: async ({ sourceId }) => { const { isOrganization } = AppLogic.values; const route = isOrganization - ? `/api/workplace_search/org/sources/${sourceId}` - : `/api/workplace_search/account/sources/${sourceId}`; + ? `/internal/workplace_search/org/sources/${sourceId}` + : `/internal/workplace_search/account/sources/${sourceId}`; try { const response = await HttpLogic.values.http.get(route); @@ -182,7 +182,7 @@ export const SourceLogic = kea>({ } }, initializeFederatedSummary: async ({ sourceId }) => { - const route = `/api/workplace_search/account/sources/${sourceId}/federated_summary`; + const route = `/internal/workplace_search/account/sources/${sourceId}/federated_summary`; try { const response = await HttpLogic.values.http.get(route); actions.onUpdateSummary(response.summary); @@ -195,8 +195,8 @@ export const SourceLogic = kea>({ const { isOrganization } = AppLogic.values; const route = isOrganization - ? `/api/workplace_search/org/sources/${sourceId}/documents` - : `/api/workplace_search/account/sources/${sourceId}/documents`; + ? `/internal/workplace_search/org/sources/${sourceId}/documents` + : `/internal/workplace_search/account/sources/${sourceId}/documents`; const { contentFilterValue: query, @@ -215,8 +215,8 @@ export const SourceLogic = kea>({ updateContentSource: async ({ sourceId, source }) => { const { isOrganization } = AppLogic.values; const route = isOrganization - ? `/api/workplace_search/org/sources/${sourceId}/settings` - : `/api/workplace_search/account/sources/${sourceId}/settings`; + ? `/internal/workplace_search/org/sources/${sourceId}/settings` + : `/internal/workplace_search/account/sources/${sourceId}/settings`; try { const response = await HttpLogic.values.http.patch(route, { @@ -233,8 +233,8 @@ export const SourceLogic = kea>({ clearFlashMessages(); const { isOrganization } = AppLogic.values; const route = isOrganization - ? `/api/workplace_search/org/sources/${sourceId}` - : `/api/workplace_search/account/sources/${sourceId}`; + ? `/internal/workplace_search/org/sources/${sourceId}` + : `/internal/workplace_search/account/sources/${sourceId}`; try { const response = await HttpLogic.values.http.delete(route); diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/sources_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/sources_logic.test.ts index bc18fade742aa..53f16a303f70a 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/sources_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/sources_logic.test.ts @@ -164,7 +164,7 @@ describe('SourcesLogic', () => { http.get.mockReturnValue(promise); SourcesLogic.actions.initializeSources(); - expect(http.get).toHaveBeenCalledWith('/api/workplace_search/org/sources'); + expect(http.get).toHaveBeenCalledWith('/internal/workplace_search/org/sources'); await promise; expect(pollForSourceStatusChangesSpy).toHaveBeenCalled(); expect(onInitializeSourcesSpy).toHaveBeenCalledWith(contentSources); @@ -176,7 +176,7 @@ describe('SourcesLogic', () => { http.get.mockReturnValue(promise); SourcesLogic.actions.initializeSources(); - expect(http.get).toHaveBeenCalledWith('/api/workplace_search/account/sources'); + expect(http.get).toHaveBeenCalledWith('/internal/workplace_search/account/sources'); }); it('handles error', async () => { @@ -205,9 +205,12 @@ describe('SourcesLogic', () => { http.put.mockReturnValue(promise); SourcesLogic.actions.setSourceSearchability(id, true); - expect(http.put).toHaveBeenCalledWith('/api/workplace_search/org/sources/123/searchable', { - body: JSON.stringify({ searchable: true }), - }); + expect(http.put).toHaveBeenCalledWith( + '/internal/workplace_search/org/sources/123/searchable', + { + body: JSON.stringify({ searchable: true }), + } + ); await promise; expect(onSetSearchability).toHaveBeenCalledWith(id, true); }); @@ -219,7 +222,7 @@ describe('SourcesLogic', () => { SourcesLogic.actions.setSourceSearchability(id, true); expect(http.put).toHaveBeenCalledWith( - '/api/workplace_search/account/sources/123/searchable', + '/internal/workplace_search/account/sources/123/searchable', { body: JSON.stringify({ searchable: true }), } @@ -257,7 +260,7 @@ describe('SourcesLogic', () => { jest.advanceTimersByTime(POLLING_INTERVAL); - expect(http.get).toHaveBeenCalledWith('/api/workplace_search/org/sources/status'); + expect(http.get).toHaveBeenCalledWith('/internal/workplace_search/org/sources/status'); await promise; expect(setServerSourceStatusesSpy).toHaveBeenCalledWith(contentSources); }); @@ -289,7 +292,7 @@ describe('SourcesLogic', () => { http.get.mockReturnValue(promise); fetchSourceStatuses(true); - expect(http.get).toHaveBeenCalledWith('/api/workplace_search/org/sources/status'); + expect(http.get).toHaveBeenCalledWith('/internal/workplace_search/org/sources/status'); await promise; expect(setServerSourceStatusesSpy).toHaveBeenCalledWith(contentSources); }); @@ -299,7 +302,7 @@ describe('SourcesLogic', () => { http.get.mockReturnValue(promise); fetchSourceStatuses(false); - expect(http.get).toHaveBeenCalledWith('/api/workplace_search/account/sources/status'); + expect(http.get).toHaveBeenCalledWith('/internal/workplace_search/account/sources/status'); }); it('handles error', async () => { diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/sources_logic.ts b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/sources_logic.ts index 14c79b75dff8e..9a88f6238bcc4 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/sources_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/content_sources/sources_logic.ts @@ -158,8 +158,8 @@ export const SourcesLogic = kea>( initializeSources: async () => { const { isOrganization } = AppLogic.values; const route = isOrganization - ? '/api/workplace_search/org/sources' - : '/api/workplace_search/account/sources'; + ? '/internal/workplace_search/org/sources' + : '/internal/workplace_search/account/sources'; try { const response = await HttpLogic.values.http.get(route); @@ -194,8 +194,8 @@ export const SourcesLogic = kea>( setSourceSearchability: async ({ sourceId, searchable }) => { const { isOrganization } = AppLogic.values; const route = isOrganization - ? `/api/workplace_search/org/sources/${sourceId}/searchable` - : `/api/workplace_search/account/sources/${sourceId}/searchable`; + ? `/internal/workplace_search/org/sources/${sourceId}/searchable` + : `/internal/workplace_search/account/sources/${sourceId}/searchable`; try { await HttpLogic.values.http.put(route, { @@ -242,8 +242,8 @@ export const SourcesLogic = kea>( export const fetchSourceStatuses = async (isOrganization: boolean) => { const route = isOrganization - ? '/api/workplace_search/org/sources/status' - : '/api/workplace_search/account/sources/status'; + ? '/internal/workplace_search/org/sources/status' + : '/internal/workplace_search/account/sources/status'; let response; try { diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/group_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/group_logic.test.ts index 6184dada8f111..088936443ccd3 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/group_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/group_logic.test.ts @@ -185,7 +185,7 @@ describe('GroupLogic', () => { http.get.mockReturnValue(Promise.resolve(group)); GroupLogic.actions.initializeGroup(sourceIds[0]); - expect(http.get).toHaveBeenCalledWith('/api/workplace_search/groups/123'); + expect(http.get).toHaveBeenCalledWith('/internal/workplace_search/groups/123'); await nextTick(); expect(onInitializeGroupSpy).toHaveBeenCalledWith(group); }); @@ -219,7 +219,7 @@ describe('GroupLogic', () => { http.delete.mockReturnValue(Promise.resolve(true)); GroupLogic.actions.deleteGroup(); - expect(http.delete).toHaveBeenCalledWith('/api/workplace_search/groups/123'); + expect(http.delete).toHaveBeenCalledWith('/internal/workplace_search/groups/123'); await nextTick(); expect(navigateToUrl).toHaveBeenCalledWith(GROUPS_PATH); @@ -246,7 +246,7 @@ describe('GroupLogic', () => { http.put.mockReturnValue(Promise.resolve(group)); GroupLogic.actions.updateGroupName(); - expect(http.put).toHaveBeenCalledWith('/api/workplace_search/groups/123', { + expect(http.put).toHaveBeenCalledWith('/internal/workplace_search/groups/123', { body: JSON.stringify({ group: { name: 'new name' } }), }); @@ -277,7 +277,7 @@ describe('GroupLogic', () => { http.post.mockReturnValue(Promise.resolve(group)); GroupLogic.actions.saveGroupSources(); - expect(http.post).toHaveBeenCalledWith('/api/workplace_search/groups/123/share', { + expect(http.post).toHaveBeenCalledWith('/internal/workplace_search/groups/123/share', { body: JSON.stringify({ content_source_ids: sourceIds }), }); @@ -310,7 +310,7 @@ describe('GroupLogic', () => { http.put.mockReturnValue(Promise.resolve(group)); GroupLogic.actions.saveGroupSourcePrioritization(); - expect(http.put).toHaveBeenCalledWith('/api/workplace_search/groups/123/boosts', { + expect(http.put).toHaveBeenCalledWith('/internal/workplace_search/groups/123/boosts', { body: JSON.stringify({ content_source_boosts: [ [sourceIds[0], 1], diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/group_logic.ts b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/group_logic.ts index f8ec50b309725..96b9213d30afc 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/group_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/group_logic.ts @@ -174,7 +174,9 @@ export const GroupLogic = kea>({ listeners: ({ actions, values }) => ({ initializeGroup: async ({ groupId }) => { try { - const response = await HttpLogic.values.http.get(`/api/workplace_search/groups/${groupId}`); + const response = await HttpLogic.values.http.get( + `/internal/workplace_search/groups/${groupId}` + ); actions.onInitializeGroup(response); } catch (e) { const NOT_FOUND_MESSAGE = i18n.translate( @@ -196,7 +198,7 @@ export const GroupLogic = kea>({ group: { id, name }, } = values; try { - await HttpLogic.values.http.delete(`/api/workplace_search/groups/${id}`); + await HttpLogic.values.http.delete(`/internal/workplace_search/groups/${id}`); const GROUP_DELETED_MESSAGE = i18n.translate( 'xpack.enterpriseSearch.workplaceSearch.groups.groupDeleted', { @@ -218,9 +220,12 @@ export const GroupLogic = kea>({ } = values; try { - const response = await HttpLogic.values.http.put(`/api/workplace_search/groups/${id}`, { - body: JSON.stringify({ group: { name: groupNameInputValue } }), - }); + const response = await HttpLogic.values.http.put( + `/internal/workplace_search/groups/${id}`, + { + body: JSON.stringify({ group: { name: groupNameInputValue } }), + } + ); actions.onGroupNameChanged(response); const GROUP_RENAMED_MESSAGE = i18n.translate( @@ -243,7 +248,7 @@ export const GroupLogic = kea>({ try { const response = await HttpLogic.values.http.post( - `/api/workplace_search/groups/${id}/share`, + `/internal/workplace_search/groups/${id}/share`, { body: JSON.stringify({ content_source_ids: selectedGroupSources }), } @@ -275,7 +280,7 @@ export const GroupLogic = kea>({ try { const response = await HttpLogic.values.http.put( - `/api/workplace_search/groups/${id}/boosts`, + `/internal/workplace_search/groups/${id}/boosts`, { body: JSON.stringify({ content_source_boosts: boosts }), } diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/groups_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/groups_logic.test.ts index c4a860368ff8b..c8b725f7131a6 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/groups_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/groups_logic.test.ts @@ -222,7 +222,7 @@ describe('GroupsLogic', () => { http.get.mockReturnValue(Promise.resolve(groupsResponse)); GroupsLogic.actions.initializeGroups(); - expect(http.get).toHaveBeenCalledWith('/api/workplace_search/groups'); + expect(http.get).toHaveBeenCalledWith('/internal/workplace_search/groups'); await nextTick(); expect(onInitializeGroupsSpy).toHaveBeenCalledWith(groupsResponse); }); @@ -270,7 +270,7 @@ describe('GroupsLogic', () => { GroupsLogic.actions.getSearchResults(); jest.advanceTimersByTime(TIMEOUT); await nextTick(); - expect(http.post).toHaveBeenCalledWith('/api/workplace_search/groups/search', payload); + expect(http.post).toHaveBeenCalledWith('/internal/workplace_search/groups/search', payload); expect(setSearchResultsSpy).toHaveBeenCalledWith(groups); }); @@ -284,7 +284,7 @@ describe('GroupsLogic', () => { // Account for `breakpoint` that debounces filter value. jest.advanceTimersByTime(TIMEOUT); await nextTick(); - expect(http.post).toHaveBeenCalledWith('/api/workplace_search/groups/search', payload); + expect(http.post).toHaveBeenCalledWith('/internal/workplace_search/groups/search', payload); expect(setSearchResultsSpy).toHaveBeenCalledWith(groups); }); @@ -305,7 +305,7 @@ describe('GroupsLogic', () => { http.get.mockReturnValue(Promise.resolve(users)); GroupsLogic.actions.fetchGroupUsers('123'); - expect(http.get).toHaveBeenCalledWith('/api/workplace_search/groups/123/group_users'); + expect(http.get).toHaveBeenCalledWith('/internal/workplace_search/groups/123/group_users'); await nextTick(); expect(setGroupUsersSpy).toHaveBeenCalledWith(users); }); @@ -328,7 +328,7 @@ describe('GroupsLogic', () => { http.post.mockReturnValue(Promise.resolve(groups[0])); GroupsLogic.actions.saveNewGroup(); - expect(http.post).toHaveBeenCalledWith('/api/workplace_search/groups', { + expect(http.post).toHaveBeenCalledWith('/internal/workplace_search/groups', { body: JSON.stringify({ group_name: GROUP_NAME }), headers, }); diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/groups_logic.ts b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/groups_logic.ts index 36061bc18196b..19c16f6147dcc 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/groups_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/groups/groups_logic.ts @@ -255,7 +255,7 @@ export const GroupsLogic = kea>({ listeners: ({ actions, values }) => ({ initializeGroups: async () => { try { - const response = await HttpLogic.values.http.get('/api/workplace_search/groups'); + const response = await HttpLogic.values.http.get('/internal/workplace_search/groups'); actions.onInitializeGroups(response); } catch (e) { flashAPIErrors(e); @@ -288,13 +288,16 @@ export const GroupsLogic = kea>({ }; try { - const response = await HttpLogic.values.http.post('/api/workplace_search/groups/search', { - body: JSON.stringify({ - page, - search, - }), - headers, - }); + const response = await HttpLogic.values.http.post( + '/internal/workplace_search/groups/search', + { + body: JSON.stringify({ + page, + search, + }), + headers, + } + ); actions.setSearchResults(response); } catch (e) { @@ -305,7 +308,7 @@ export const GroupsLogic = kea>({ actions.setAllGroupLoading(true); try { const response = await HttpLogic.values.http.get( - `/api/workplace_search/groups/${groupId}/group_users` + `/internal/workplace_search/groups/${groupId}/group_users` ); actions.setGroupUsers(response); } catch (e) { @@ -314,7 +317,7 @@ export const GroupsLogic = kea>({ }, saveNewGroup: async () => { try { - const response = await HttpLogic.values.http.post('/api/workplace_search/groups', { + const response = await HttpLogic.values.http.post('/internal/workplace_search/groups', { body: JSON.stringify({ group_name: values.newGroupName }), headers, }); diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/oauth_authorize/oauth_authorize_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/oauth_authorize/oauth_authorize_logic.test.ts index 3d31cb7d88225..747feb9bc5880 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/oauth_authorize/oauth_authorize_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/oauth_authorize/oauth_authorize_logic.test.ts @@ -119,7 +119,7 @@ describe('OAuthAuthorizeLogic', () => { OAuthAuthorizeLogic.actions.initializeOAuthPreAuth(entSearchStateParam); expect(clearFlashMessages).toHaveBeenCalled(); - expect(http.get).toHaveBeenCalledWith('/api/workplace_search/oauth/authorize', { + expect(http.get).toHaveBeenCalledWith('/internal/workplace_search/oauth/authorize', { query: parsedQueryParams, }); await nextTick(); @@ -130,7 +130,7 @@ describe('OAuthAuthorizeLogic', () => { http.get.mockReturnValue(Promise.resolve(successRedirectResponse)); OAuthAuthorizeLogic.actions.initializeOAuthPreAuth(entSearchStateParam); - expect(http.get).toHaveBeenCalledWith('/api/workplace_search/oauth/authorize', { + expect(http.get).toHaveBeenCalledWith('/internal/workplace_search/oauth/authorize', { query: parsedQueryParams, }); await nextTick(); @@ -143,7 +143,7 @@ describe('OAuthAuthorizeLogic', () => { OAuthAuthorizeLogic.actions.initializeOAuthPreAuth(entSearchStateParam); - expect(http.get).toHaveBeenCalledWith('/api/workplace_search/oauth/authorize', { + expect(http.get).toHaveBeenCalledWith('/internal/workplace_search/oauth/authorize', { query: parsedQueryParams, }); await nextTick(); diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/oauth_authorize/oauth_authorize_logic.ts b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/oauth_authorize/oauth_authorize_logic.ts index b63c17538387d..e21cde02481a0 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/oauth_authorize/oauth_authorize_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/oauth_authorize/oauth_authorize_logic.ts @@ -48,7 +48,7 @@ interface OAuthAuthorizeActions { setHasError(): void; } -export const oauthAuthorizeRoute = '/api/workplace_search/oauth/authorize'; +export const oauthAuthorizeRoute = '/internal/workplace_search/oauth/authorize'; export const OAuthAuthorizeLogic = kea>({ path: ['enterprise_search', 'workplace_search', 'oauth_authorize_logic'], diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/overview_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/overview_logic.test.ts index 1a4a182636283..f10918a1afe2d 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/overview_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/overview_logic.test.ts @@ -63,7 +63,7 @@ describe('OverviewLogic', () => { await OverviewLogic.actions.initializeOverview(); - expect(http.get).toHaveBeenCalledWith('/api/workplace_search/overview'); + expect(http.get).toHaveBeenCalledWith('/internal/workplace_search/overview'); expect(setServerDataSpy).toHaveBeenCalled(); }); }); diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/overview_logic.ts b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/overview_logic.ts index 1ecd344a45124..196de02646804 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/overview_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/overview/overview_logic.ts @@ -97,7 +97,7 @@ export const OverviewLogic = kea> listeners: ({ actions }) => ({ initializeOverview: async () => { try { - const response = await HttpLogic.values.http.get('/api/workplace_search/overview'); + const response = await HttpLogic.values.http.get('/internal/workplace_search/overview'); actions.setServerData(response); } catch (e) { flashAPIErrors(e); diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/role_mappings_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/role_mappings_logic.test.ts index a412411488b8d..3f5a63275f05d 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/role_mappings_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/role_mappings_logic.test.ts @@ -343,7 +343,7 @@ describe('RoleMappingsLogic', () => { expect(RoleMappingsLogic.values.dataLoading).toEqual(true); expect(http.post).toHaveBeenCalledWith( - '/api/workplace_search/org/role_mappings/enable_role_based_access' + '/internal/workplace_search/org/role_mappings/enable_role_based_access' ); await nextTick(); expect(setRoleMappingsSpy).toHaveBeenCalledWith(mappingsServerProps); @@ -364,7 +364,7 @@ describe('RoleMappingsLogic', () => { http.get.mockReturnValue(Promise.resolve(mappingsServerProps)); RoleMappingsLogic.actions.initializeRoleMappings(); - expect(http.get).toHaveBeenCalledWith('/api/workplace_search/org/role_mappings'); + expect(http.get).toHaveBeenCalledWith('/internal/workplace_search/org/role_mappings'); await nextTick(); expect(setRoleMappingsDataSpy).toHaveBeenCalledWith(mappingsServerProps); }); @@ -376,6 +376,16 @@ describe('RoleMappingsLogic', () => { expect(flashAPIErrors).toHaveBeenCalledWith('this is an error'); }); + + it('resets roleMapping state', () => { + mount({ + ...mappingsServerProps, + roleMapping: wsRoleMapping, + }); + RoleMappingsLogic.actions.initializeRoleMappings(); + + expect(RoleMappingsLogic.values.roleMapping).toEqual(null); + }); }); describe('initializeRoleMapping', () => { @@ -440,7 +450,7 @@ describe('RoleMappingsLogic', () => { http.post.mockReturnValue(Promise.resolve(mappingsServerProps)); RoleMappingsLogic.actions.handleSaveMapping(); - expect(http.post).toHaveBeenCalledWith('/api/workplace_search/org/role_mappings', { + expect(http.post).toHaveBeenCalledWith('/internal/workplace_search/org/role_mappings', { body: JSON.stringify({ roleType: 'admin', allGroups: false, @@ -467,7 +477,7 @@ describe('RoleMappingsLogic', () => { RoleMappingsLogic.actions.handleSaveMapping(); expect(http.put).toHaveBeenCalledWith( - `/api/workplace_search/org/role_mappings/${wsRoleMapping.id}`, + `/internal/workplace_search/org/role_mappings/${wsRoleMapping.id}`, { body: JSON.stringify({ roleType: 'admin', @@ -524,7 +534,7 @@ describe('RoleMappingsLogic', () => { RoleMappingsLogic.actions.handleSaveUser(); expect(http.post).toHaveBeenCalledWith( - '/api/workplace_search/org/single_user_role_mapping', + '/internal/workplace_search/org/single_user_role_mapping', { body: JSON.stringify({ roleMapping: { @@ -558,7 +568,7 @@ describe('RoleMappingsLogic', () => { RoleMappingsLogic.actions.handleSaveUser(); expect(http.post).toHaveBeenCalledWith( - '/api/workplace_search/org/single_user_role_mapping', + '/internal/workplace_search/org/single_user_role_mapping', { body: JSON.stringify({ roleMapping: { @@ -614,7 +624,7 @@ describe('RoleMappingsLogic', () => { RoleMappingsLogic.actions.handleDeleteMapping(roleMappingId); expect(http.delete).toHaveBeenCalledWith( - `/api/workplace_search/org/role_mappings/${roleMappingId}` + `/internal/workplace_search/org/role_mappings/${roleMappingId}` ); await nextTick(); diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/role_mappings_logic.ts b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/role_mappings_logic.ts index 29b448bc0684a..55f82a07bf405 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/role_mappings_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/role_mappings/role_mappings_logic.ts @@ -168,6 +168,7 @@ export const RoleMappingsLogic = kea roleMapping, + initializeRoleMappings: () => null, resetState: () => null, closeUsersAndRolesFlyout: () => null, }, @@ -354,7 +355,7 @@ export const RoleMappingsLogic = kea ({ enableRoleBasedAccess: async () => { const { http } = HttpLogic.values; - const route = '/api/workplace_search/org/role_mappings/enable_role_based_access'; + const route = '/internal/workplace_search/org/role_mappings/enable_role_based_access'; try { const response = await http.post(route); @@ -365,7 +366,7 @@ export const RoleMappingsLogic = kea { const { http } = HttpLogic.values; - const route = '/api/workplace_search/org/role_mappings'; + const route = '/internal/workplace_search/org/role_mappings'; try { const response = await http.get(route); @@ -392,7 +393,7 @@ export const RoleMappingsLogic = kea { const { http } = HttpLogic.values; - const route = `/api/workplace_search/org/role_mappings/${roleMappingId}`; + const route = `/internal/workplace_search/org/role_mappings/${roleMappingId}`; try { await http.delete(route); @@ -425,8 +426,8 @@ export const RoleMappingsLogic = kea { SearchAuthorizeLogic.actions.initializeSearchAuth(searchOAuth, entSearchStateParam); expect(clearFlashMessages).toHaveBeenCalled(); - expect(http.get).toHaveBeenCalledWith('/api/workplace_search/oauth/authorize', { + expect(http.get).toHaveBeenCalledWith('/internal/workplace_search/oauth/authorize', { query: preAuthQuery, }); await nextTick(); @@ -84,7 +84,7 @@ describe('SearchAuthorizeLogic', () => { http.get.mockReturnValue(Promise.resolve(successRedirectResponse)); SearchAuthorizeLogic.actions.initializeSearchAuth(searchOAuth, entSearchStateParam); - expect(http.get).toHaveBeenCalledWith('/api/workplace_search/oauth/authorize', { + expect(http.get).toHaveBeenCalledWith('/internal/workplace_search/oauth/authorize', { query: preAuthQuery, }); await nextTick(); @@ -100,7 +100,7 @@ describe('SearchAuthorizeLogic', () => { SearchAuthorizeLogic.actions.initializeSearchAuth(searchOAuth, entSearchStateParam); - expect(http.get).toHaveBeenCalledWith('/api/workplace_search/oauth/authorize', { + expect(http.get).toHaveBeenCalledWith('/internal/workplace_search/oauth/authorize', { query: preAuthQuery, }); await nextTick(); diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/security/security_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/security/security_logic.test.ts index ecb97cea528b9..bc45609e9e83d 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/security/security_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/security/security_logic.test.ts @@ -118,7 +118,7 @@ describe('SecurityLogic', () => { SecurityLogic.actions.initializeSourceRestrictions(); expect(http.get).toHaveBeenCalledWith( - '/api/workplace_search/org/security/source_restrictions' + '/internal/workplace_search/org/security/source_restrictions' ); await nextTick(); expect(setServerPropsSpy).toHaveBeenCalledWith(serverProps); @@ -143,7 +143,7 @@ describe('SecurityLogic', () => { SecurityLogic.actions.saveSourceRestrictions(); expect(http.patch).toHaveBeenCalledWith( - '/api/workplace_search/org/security/source_restrictions', + '/internal/workplace_search/org/security/source_restrictions', { body: JSON.stringify(serverProps), } diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/security/security_logic.ts b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/security/security_logic.ts index 2d5c2d5a212c9..e06504edbf0ac 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/security/security_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/security/security_logic.ts @@ -60,7 +60,7 @@ interface SecurityActions { resetState(): void; } -const route = '/api/workplace_search/org/security/source_restrictions'; +const route = '/internal/workplace_search/org/security/source_restrictions'; export const SecurityLogic = kea>({ path: ['enterprise_search', 'workplace_search', 'security_logic'], diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/settings_logic.test.ts b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/settings_logic.test.ts index e56b1df1ab873..ebb790b59c1fa 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/settings_logic.test.ts +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/settings_logic.test.ts @@ -122,7 +122,7 @@ describe('SettingsLogic', () => { http.get.mockReturnValue(Promise.resolve(configuredSources)); SettingsLogic.actions.initializeSettings(); - expect(http.get).toHaveBeenCalledWith('/api/workplace_search/org/settings'); + expect(http.get).toHaveBeenCalledWith('/internal/workplace_search/org/settings'); await nextTick(); expect(setServerPropsSpy).toHaveBeenCalledWith(configuredSources); }); @@ -145,7 +145,7 @@ describe('SettingsLogic', () => { http.get.mockReturnValue(Promise.resolve(serverProps)); SettingsLogic.actions.initializeConnectors(); - expect(http.get).toHaveBeenCalledWith('/api/workplace_search/org/settings/connectors'); + expect(http.get).toHaveBeenCalledWith('/internal/workplace_search/org/settings/connectors'); await nextTick(); expect(onInitializeConnectorsSpy).toHaveBeenCalledWith(serverProps); }); @@ -168,7 +168,7 @@ describe('SettingsLogic', () => { SettingsLogic.actions.updateOrgName(); - expect(http.put).toHaveBeenCalledWith('/api/workplace_search/org/settings/customize', { + expect(http.put).toHaveBeenCalledWith('/internal/workplace_search/org/settings/customize', { body: JSON.stringify({ name: NAME }), }); await nextTick(); @@ -194,9 +194,12 @@ describe('SettingsLogic', () => { SettingsLogic.actions.updateOrgIcon(); - expect(http.put).toHaveBeenCalledWith('/api/workplace_search/org/settings/upload_images', { - body: JSON.stringify({ icon: ICON }), - }); + expect(http.put).toHaveBeenCalledWith( + '/internal/workplace_search/org/settings/upload_images', + { + body: JSON.stringify({ icon: ICON }), + } + ); await nextTick(); expect(flashSuccessToast).toHaveBeenCalledWith(ORG_UPDATED_MESSAGE); expect(setIconSpy).toHaveBeenCalledWith(ICON); @@ -220,9 +223,12 @@ describe('SettingsLogic', () => { SettingsLogic.actions.updateOrgLogo(); - expect(http.put).toHaveBeenCalledWith('/api/workplace_search/org/settings/upload_images', { - body: JSON.stringify({ logo: LOGO }), - }); + expect(http.put).toHaveBeenCalledWith( + '/internal/workplace_search/org/settings/upload_images', + { + body: JSON.stringify({ logo: LOGO }), + } + ); await nextTick(); expect(flashSuccessToast).toHaveBeenCalledWith(ORG_UPDATED_MESSAGE); expect(setLogoSpy).toHaveBeenCalledWith(LOGO); @@ -273,7 +279,7 @@ describe('SettingsLogic', () => { expect(clearFlashMessages).toHaveBeenCalled(); expect(http.put).toHaveBeenCalledWith( - '/api/workplace_search/org/settings/oauth_application', + '/internal/workplace_search/org/settings/oauth_application', { body: JSON.stringify({ oauth_application: { name, confidential, redirect_uri: redirectUri }, diff --git a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/settings_logic.ts b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/settings_logic.ts index 886f81129ee17..4faaca58ab8a0 100644 --- a/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/settings_logic.ts +++ b/x-pack/plugins/enterprise_search/public/applications/workplace_search/views/settings/settings_logic.ts @@ -84,7 +84,7 @@ interface SettingsValues { iconButtonLoading: boolean; } -const imageRoute = '/api/workplace_search/org/settings/upload_images'; +const imageRoute = '/internal/workplace_search/org/settings/upload_images'; export const SettingsLogic = kea>({ actions: { @@ -197,7 +197,7 @@ export const SettingsLogic = kea> listeners: ({ actions, values }) => ({ initializeSettings: async () => { const { http } = HttpLogic.values; - const route = '/api/workplace_search/org/settings'; + const route = '/internal/workplace_search/org/settings'; try { const response = await http.get(route); @@ -208,7 +208,7 @@ export const SettingsLogic = kea> }, initializeConnectors: async () => { const { http } = HttpLogic.values; - const route = '/api/workplace_search/org/settings/connectors'; + const route = '/internal/workplace_search/org/settings/connectors'; try { const response = await http.get(route); @@ -220,7 +220,7 @@ export const SettingsLogic = kea> updateOrgName: async () => { clearFlashMessages(); const { http } = HttpLogic.values; - const route = '/api/workplace_search/org/settings/customize'; + const route = '/internal/workplace_search/org/settings/customize'; const { orgNameInputValue: name } = values; const body = JSON.stringify({ name }); @@ -265,7 +265,7 @@ export const SettingsLogic = kea> }, updateOauthApplication: async () => { const { http } = HttpLogic.values; - const route = '/api/workplace_search/org/settings/oauth_application'; + const route = '/internal/workplace_search/org/settings/oauth_application'; const oauthApplication = values.oauthApplication || ({} as IOauthApplication); const { name, redirectUri, confidential } = oauthApplication; const body = JSON.stringify({ @@ -284,7 +284,7 @@ export const SettingsLogic = kea> }, deleteSourceConfig: async ({ serviceType, name }) => { const { http } = HttpLogic.values; - const route = `/api/workplace_search/org/settings/connectors/${serviceType}`; + const route = `/internal/workplace_search/org/settings/connectors/${serviceType}`; try { await http.delete(route); diff --git a/x-pack/plugins/enterprise_search/public/plugin.ts b/x-pack/plugins/enterprise_search/public/plugin.ts index 97573069ad9fd..19f2aa212d7fd 100644 --- a/x-pack/plugins/enterprise_search/public/plugin.ts +++ b/x-pack/plugins/enterprise_search/public/plugin.ts @@ -191,7 +191,7 @@ export class EnterpriseSearchPlugin implements Plugin { if (this.hasInitialized) return; // We've already made an initial call try { - this.data = await http.get('/api/enterprise_search/config_data'); + this.data = await http.get('/internal/enterprise_search/config_data'); this.hasInitialized = true; } catch { this.data.errorConnecting = true; diff --git a/x-pack/plugins/enterprise_search/server/__mocks__/router.mock.ts b/x-pack/plugins/enterprise_search/server/__mocks__/router.mock.ts index 5c19ca7062b65..43a08aa90ce6f 100644 --- a/x-pack/plugins/enterprise_search/server/__mocks__/router.mock.ts +++ b/x-pack/plugins/enterprise_search/server/__mocks__/router.mock.ts @@ -97,7 +97,7 @@ export class MockRouter { */ // const mockRouter = new MockRouter({ // method: 'get', -// path: '/api/app_search/test', +// path: '/internal/app_search/test', // }); // // beforeEach(() => { diff --git a/x-pack/plugins/enterprise_search/server/lib/route_config_helpers.ts b/x-pack/plugins/enterprise_search/server/lib/route_config_helpers.ts index ab5bbc994a103..87defff89bad4 100644 --- a/x-pack/plugins/enterprise_search/server/lib/route_config_helpers.ts +++ b/x-pack/plugins/enterprise_search/server/lib/route_config_helpers.ts @@ -38,7 +38,7 @@ interface ConfigWithoutBodyOptions * * Example: * router.put({ - * path: '/api/app_search/engines/{engineName}/example', + * path: '/internal/app_search/engines/{engineName}/example', * validate: { * params: schema.object({ * engineName: schema.string(), @@ -52,7 +52,7 @@ interface ConfigWithoutBodyOptions * This helper applies that pattern, while maintaining existing options: * * router.put(skipBodyValidation({ - * path: '/api/app_search/engines/{engineName}/example', + * path: '/internal/app_search/engines/{engineName}/example', * validate: { * params: schema.object({ * engineName: schema.string(), diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/analytics.test.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/analytics.test.ts index 8e4a7dba165b1..c0313876f4007 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/analytics.test.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/analytics.test.ts @@ -10,14 +10,14 @@ import { MockRouter, mockRequestHandler, mockDependencies } from '../../__mocks_ import { registerAnalyticsRoutes } from './analytics'; describe('analytics routes', () => { - describe('GET /api/app_search/engines/{engineName}/analytics/queries', () => { + describe('GET /internal/app_search/engines/{engineName}/analytics/queries', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/app_search/engines/{engineName}/analytics/queries', + path: '/internal/app_search/engines/{engineName}/analytics/queries', }); registerAnalyticsRoutes({ @@ -62,14 +62,14 @@ describe('analytics routes', () => { }); }); - describe('GET /api/app_search/engines/{engineName}/analytics/queries/{query}', () => { + describe('GET /internal/app_search/engines/{engineName}/analytics/queries/{query}', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/app_search/engines/{engineName}/analytics/queries/{query}', + path: '/internal/app_search/engines/{engineName}/analytics/queries/{query}', }); registerAnalyticsRoutes({ diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/analytics.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/analytics.ts index cce6c59bb90d7..f6a03ad5674eb 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/analytics.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/analytics.ts @@ -25,7 +25,7 @@ export function registerAnalyticsRoutes({ }: RouteDependencies) { router.get( { - path: '/api/app_search/engines/{engineName}/analytics/queries', + path: '/internal/app_search/engines/{engineName}/analytics/queries', validate: { params: schema.object({ engineName: schema.string(), @@ -40,7 +40,7 @@ export function registerAnalyticsRoutes({ router.get( { - path: '/api/app_search/engines/{engineName}/analytics/queries/{query}', + path: '/internal/app_search/engines/{engineName}/analytics/queries/{query}', validate: { params: schema.object({ engineName: schema.string(), diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/api_logs.test.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/api_logs.test.ts index 3152b371c2fbb..9d2fb6d292e31 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/api_logs.test.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/api_logs.test.ts @@ -10,14 +10,14 @@ import { MockRouter, mockRequestHandler, mockDependencies } from '../../__mocks_ import { registerApiLogsRoutes } from './api_logs'; describe('API logs routes', () => { - describe('GET /api/app_search/engines/{engineName}/api_logs', () => { + describe('GET /internal/app_search/engines/{engineName}/api_logs', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/app_search/engines/{engineName}/api_logs', + path: '/internal/app_search/engines/{engineName}/api_logs', }); registerApiLogsRoutes({ diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/api_logs.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/api_logs.ts index d57ecb29294be..e0803ade141d3 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/api_logs.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/api_logs.ts @@ -15,7 +15,7 @@ export function registerApiLogsRoutes({ }: RouteDependencies) { router.get( { - path: '/api/app_search/engines/{engineName}/api_logs', + path: '/internal/app_search/engines/{engineName}/api_logs', validate: { params: schema.object({ engineName: schema.string(), diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/crawler.test.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/crawler.test.ts index d50d7b7cee225..5dff1b934ae5a 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/crawler.test.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/crawler.test.ts @@ -10,14 +10,14 @@ import { mockDependencies, mockRequestHandler, MockRouter } from '../../__mocks_ import { registerCrawlerRoutes } from './crawler'; describe('crawler routes', () => { - describe('GET /api/app_search/engines/{name}/crawler', () => { + describe('GET /internal/app_search/engines/{name}/crawler', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/app_search/engines/{name}/crawler', + path: '/internal/app_search/engines/{name}/crawler', }); registerCrawlerRoutes({ @@ -43,14 +43,14 @@ describe('crawler routes', () => { }); }); - describe('GET /api/app_search/engines/{name}/crawler/crawl_requests', () => { + describe('GET /internal/app_search/engines/{name}/crawler/crawl_requests', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/app_search/engines/{name}/crawler/crawl_requests', + path: '/internal/app_search/engines/{name}/crawler/crawl_requests', }); registerCrawlerRoutes({ @@ -76,14 +76,14 @@ describe('crawler routes', () => { }); }); - describe('POST /api/app_search/engines/{name}/crawler/crawl_requests', () => { + describe('POST /internal/app_search/engines/{name}/crawler/crawl_requests', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'post', - path: '/api/app_search/engines/{name}/crawler/crawl_requests', + path: '/internal/app_search/engines/{name}/crawler/crawl_requests', }); registerCrawlerRoutes({ @@ -109,14 +109,14 @@ describe('crawler routes', () => { }); }); - describe('POST /api/app_search/engines/{name}/crawler/crawl_requests/cancel', () => { + describe('POST /internal/app_search/engines/{name}/crawler/crawl_requests/cancel', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'post', - path: '/api/app_search/engines/{name}/crawler/crawl_requests/cancel', + path: '/internal/app_search/engines/{name}/crawler/crawl_requests/cancel', }); registerCrawlerRoutes({ @@ -142,14 +142,14 @@ describe('crawler routes', () => { }); }); - describe('POST /api/app_search/engines/{name}/crawler/domains', () => { + describe('POST /internal/app_search/engines/{name}/crawler/domains', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'post', - path: '/api/app_search/engines/{name}/crawler/domains', + path: '/internal/app_search/engines/{name}/crawler/domains', }); registerCrawlerRoutes({ @@ -198,14 +198,14 @@ describe('crawler routes', () => { }); }); - describe('DELETE /api/app_search/engines/{name}/crawler/domains/{id}', () => { + describe('DELETE /internal/app_search/engines/{name}/crawler/domains/{id}', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'delete', - path: '/api/app_search/engines/{name}/crawler/domains/{id}', + path: '/internal/app_search/engines/{name}/crawler/domains/{id}', }); registerCrawlerRoutes({ @@ -244,14 +244,14 @@ describe('crawler routes', () => { }); }); - describe('PUT /api/app_search/engines/{name}/crawler/domains/{id}', () => { + describe('PUT /internal/app_search/engines/{name}/crawler/domains/{id}', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'put', - path: '/api/app_search/engines/{name}/crawler/domains/{id}', + path: '/internal/app_search/engines/{name}/crawler/domains/{id}', }); registerCrawlerRoutes({ @@ -302,14 +302,14 @@ describe('crawler routes', () => { }); }); - describe('GET /api/app_search/engines/{name}/crawler/domains/{id}', () => { + describe('GET /internal/app_search/engines/{name}/crawler/domains/{id}', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/app_search/engines/{name}/crawler/domains/{id}', + path: '/internal/app_search/engines/{name}/crawler/domains/{id}', }); registerCrawlerRoutes({ @@ -340,14 +340,14 @@ describe('crawler routes', () => { }); }); - describe('POST /api/app_search/crawler/validate_url', () => { + describe('POST /internal/app_search/crawler/validate_url', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'post', - path: '/api/app_search/crawler/validate_url', + path: '/internal/app_search/crawler/validate_url', }); registerCrawlerRoutes({ @@ -377,14 +377,14 @@ describe('crawler routes', () => { }); }); - describe('POST /api/app_search/engines/{name}/crawler/process_crawls', () => { + describe('POST /internal/app_search/engines/{name}/crawler/process_crawls', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'post', - path: '/api/app_search/engines/{name}/crawler/process_crawls', + path: '/internal/app_search/engines/{name}/crawler/process_crawls', }); registerCrawlerRoutes({ @@ -424,14 +424,14 @@ describe('crawler routes', () => { }); }); - describe('GET /api/app_search/engines/{name}/crawler/crawl_schedule', () => { + describe('GET /internal/app_search/engines/{name}/crawler/crawl_schedule', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/app_search/engines/{name}/crawler/crawl_schedule', + path: '/internal/app_search/engines/{name}/crawler/crawl_schedule', }); registerCrawlerRoutes({ @@ -461,14 +461,14 @@ describe('crawler routes', () => { }); }); - describe('PUT /api/app_search/engines/{name}/crawler/crawl_schedule', () => { + describe('PUT /internal/app_search/engines/{name}/crawler/crawl_schedule', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'put', - path: '/api/app_search/engines/{name}/crawler/crawl_schedule', + path: '/internal/app_search/engines/{name}/crawler/crawl_schedule', }); registerCrawlerRoutes({ @@ -516,14 +516,14 @@ describe('crawler routes', () => { }); }); - describe('DELETE /api/app_search/engines/{name}/crawler/crawl_schedule', () => { + describe('DELETE /internal/app_search/engines/{name}/crawler/crawl_schedule', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'delete', - path: '/api/app_search/engines/{name}/crawler/crawl_schedule', + path: '/internal/app_search/engines/{name}/crawler/crawl_schedule', }); registerCrawlerRoutes({ diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/crawler.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/crawler.ts index cf90ffdea412a..72a48a013636c 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/crawler.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/crawler.ts @@ -15,7 +15,7 @@ export function registerCrawlerRoutes({ }: RouteDependencies) { router.get( { - path: '/api/app_search/engines/{name}/crawler', + path: '/internal/app_search/engines/{name}/crawler', validate: { params: schema.object({ name: schema.string(), @@ -29,7 +29,7 @@ export function registerCrawlerRoutes({ router.get( { - path: '/api/app_search/engines/{name}/crawler/crawl_requests', + path: '/internal/app_search/engines/{name}/crawler/crawl_requests', validate: { params: schema.object({ name: schema.string(), @@ -43,7 +43,7 @@ export function registerCrawlerRoutes({ router.post( { - path: '/api/app_search/engines/{name}/crawler/crawl_requests', + path: '/internal/app_search/engines/{name}/crawler/crawl_requests', validate: { params: schema.object({ name: schema.string(), @@ -57,7 +57,7 @@ export function registerCrawlerRoutes({ router.post( { - path: '/api/app_search/engines/{name}/crawler/crawl_requests/cancel', + path: '/internal/app_search/engines/{name}/crawler/crawl_requests/cancel', validate: { params: schema.object({ name: schema.string(), @@ -71,7 +71,7 @@ export function registerCrawlerRoutes({ router.post( { - path: '/api/app_search/engines/{name}/crawler/domains', + path: '/internal/app_search/engines/{name}/crawler/domains', validate: { params: schema.object({ name: schema.string(), @@ -96,7 +96,7 @@ export function registerCrawlerRoutes({ router.get( { - path: '/api/app_search/engines/{name}/crawler/domains/{id}', + path: '/internal/app_search/engines/{name}/crawler/domains/{id}', validate: { params: schema.object({ name: schema.string(), @@ -111,7 +111,7 @@ export function registerCrawlerRoutes({ router.delete( { - path: '/api/app_search/engines/{name}/crawler/domains/{id}', + path: '/internal/app_search/engines/{name}/crawler/domains/{id}', validate: { params: schema.object({ name: schema.string(), @@ -129,7 +129,7 @@ export function registerCrawlerRoutes({ router.put( { - path: '/api/app_search/engines/{name}/crawler/domains/{id}', + path: '/internal/app_search/engines/{name}/crawler/domains/{id}', validate: { params: schema.object({ name: schema.string(), @@ -156,7 +156,7 @@ export function registerCrawlerRoutes({ router.post( { - path: '/api/app_search/crawler/validate_url', + path: '/internal/app_search/crawler/validate_url', validate: { body: schema.object({ url: schema.string(), @@ -171,7 +171,7 @@ export function registerCrawlerRoutes({ router.post( { - path: '/api/app_search/engines/{name}/crawler/process_crawls', + path: '/internal/app_search/engines/{name}/crawler/process_crawls', validate: { params: schema.object({ name: schema.string(), @@ -188,7 +188,7 @@ export function registerCrawlerRoutes({ router.get( { - path: '/api/app_search/engines/{name}/crawler/crawl_schedule', + path: '/internal/app_search/engines/{name}/crawler/crawl_schedule', validate: { params: schema.object({ name: schema.string(), @@ -202,7 +202,7 @@ export function registerCrawlerRoutes({ router.put( { - path: '/api/app_search/engines/{name}/crawler/crawl_schedule', + path: '/internal/app_search/engines/{name}/crawler/crawl_schedule', validate: { params: schema.object({ name: schema.string(), @@ -220,7 +220,7 @@ export function registerCrawlerRoutes({ router.delete( { - path: '/api/app_search/engines/{name}/crawler/crawl_schedule', + path: '/internal/app_search/engines/{name}/crawler/crawl_schedule', validate: { params: schema.object({ name: schema.string(), diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/crawler_crawl_rules.test.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/crawler_crawl_rules.test.ts index ec131c7cd1981..db554d1cec93f 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/crawler_crawl_rules.test.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/crawler_crawl_rules.test.ts @@ -10,14 +10,14 @@ import { mockDependencies, mockRequestHandler, MockRouter } from '../../__mocks_ import { registerCrawlerCrawlRulesRoutes } from './crawler_crawl_rules'; describe('crawler crawl rules routes', () => { - describe('POST /api/app_search/engines/{engineName}/crawler/domains/{domainId}/crawl_rules', () => { + describe('POST /internal/app_search/engines/{engineName}/crawler/domains/{domainId}/crawl_rules', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'post', - path: '/api/app_search/engines/{engineName}/crawler/domains/{domainId}/crawl_rules', + path: '/internal/app_search/engines/{engineName}/crawler/domains/{domainId}/crawl_rules', }); registerCrawlerCrawlRulesRoutes({ @@ -53,7 +53,7 @@ describe('crawler crawl rules routes', () => { }); }); - describe('PUT /api/app_search/engines/{engineName}/crawler/domains/{domainId}/crawl_rules/{crawlRuleId}', () => { + describe('PUT /internal/app_search/engines/{engineName}/crawler/domains/{domainId}/crawl_rules/{crawlRuleId}', () => { let mockRouter: MockRouter; beforeEach(() => { @@ -61,7 +61,7 @@ describe('crawler crawl rules routes', () => { mockRouter = new MockRouter({ method: 'put', path: - '/api/app_search/engines/{engineName}/crawler/domains/{domainId}/crawl_rules/{crawlRuleId}', + '/internal/app_search/engines/{engineName}/crawler/domains/{domainId}/crawl_rules/{crawlRuleId}', }); registerCrawlerCrawlRulesRoutes({ @@ -98,7 +98,7 @@ describe('crawler crawl rules routes', () => { }); }); - describe('DELETE /api/app_search/engines/{engineName}/crawler/domains/{domainId}/crawl_rules/{crawlRuleId}', () => { + describe('DELETE /internal/app_search/engines/{engineName}/crawler/domains/{domainId}/crawl_rules/{crawlRuleId}', () => { let mockRouter: MockRouter; beforeEach(() => { @@ -106,7 +106,7 @@ describe('crawler crawl rules routes', () => { mockRouter = new MockRouter({ method: 'delete', path: - '/api/app_search/engines/{engineName}/crawler/domains/{domainId}/crawl_rules/{crawlRuleId}', + '/internal/app_search/engines/{engineName}/crawler/domains/{domainId}/crawl_rules/{crawlRuleId}', }); registerCrawlerCrawlRulesRoutes({ diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/crawler_crawl_rules.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/crawler_crawl_rules.ts index 9367ba4492558..a360129b07523 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/crawler_crawl_rules.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/crawler_crawl_rules.ts @@ -15,7 +15,7 @@ export function registerCrawlerCrawlRulesRoutes({ }: RouteDependencies) { router.post( { - path: '/api/app_search/engines/{engineName}/crawler/domains/{domainId}/crawl_rules', + path: '/internal/app_search/engines/{engineName}/crawler/domains/{domainId}/crawl_rules', validate: { params: schema.object({ engineName: schema.string(), @@ -39,7 +39,7 @@ export function registerCrawlerCrawlRulesRoutes({ router.put( { path: - '/api/app_search/engines/{engineName}/crawler/domains/{domainId}/crawl_rules/{crawlRuleId}', + '/internal/app_search/engines/{engineName}/crawler/domains/{domainId}/crawl_rules/{crawlRuleId}', validate: { params: schema.object({ engineName: schema.string(), @@ -65,7 +65,7 @@ export function registerCrawlerCrawlRulesRoutes({ router.delete( { path: - '/api/app_search/engines/{engineName}/crawler/domains/{domainId}/crawl_rules/{crawlRuleId}', + '/internal/app_search/engines/{engineName}/crawler/domains/{domainId}/crawl_rules/{crawlRuleId}', validate: { params: schema.object({ engineName: schema.string(), diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/crawler_entry_points.test.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/crawler_entry_points.test.ts index cdfb397b47c7e..d59a8e32045ec 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/crawler_entry_points.test.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/crawler_entry_points.test.ts @@ -10,14 +10,14 @@ import { mockDependencies, mockRequestHandler, MockRouter } from '../../__mocks_ import { registerCrawlerEntryPointRoutes } from './crawler_entry_points'; describe('crawler entry point routes', () => { - describe('POST /api/app_search/engines/{engineName}/crawler/domains/{domainId}/entry_points', () => { + describe('POST /internal/app_search/engines/{engineName}/crawler/domains/{domainId}/entry_points', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'post', - path: '/api/app_search/engines/{engineName}/crawler/domains/{domainId}/entry_points', + path: '/internal/app_search/engines/{engineName}/crawler/domains/{domainId}/entry_points', }); registerCrawlerEntryPointRoutes({ @@ -51,7 +51,7 @@ describe('crawler entry point routes', () => { }); }); - describe('PUT /api/app_search/engines/{engineName}/crawler/domains/{domainId}/entry_points/{entryPointId}', () => { + describe('PUT /internal/app_search/engines/{engineName}/crawler/domains/{domainId}/entry_points/{entryPointId}', () => { let mockRouter: MockRouter; beforeEach(() => { @@ -59,7 +59,7 @@ describe('crawler entry point routes', () => { mockRouter = new MockRouter({ method: 'put', path: - '/api/app_search/engines/{engineName}/crawler/domains/{domainId}/entry_points/{entryPointId}', + '/internal/app_search/engines/{engineName}/crawler/domains/{domainId}/entry_points/{entryPointId}', }); registerCrawlerEntryPointRoutes({ @@ -93,7 +93,7 @@ describe('crawler entry point routes', () => { }); }); - describe('DELETE /api/app_search/engines/{engineName}/crawler/domains/{domainId}/entry_points/{entryPointId}', () => { + describe('DELETE /internal/app_search/engines/{engineName}/crawler/domains/{domainId}/entry_points/{entryPointId}', () => { let mockRouter: MockRouter; beforeEach(() => { @@ -101,7 +101,7 @@ describe('crawler entry point routes', () => { mockRouter = new MockRouter({ method: 'delete', path: - '/api/app_search/engines/{engineName}/crawler/domains/{domainId}/entry_points/{entryPointId}', + '/internal/app_search/engines/{engineName}/crawler/domains/{domainId}/entry_points/{entryPointId}', }); registerCrawlerEntryPointRoutes({ diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/crawler_entry_points.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/crawler_entry_points.ts index 88cb58f70953c..224a79bbf6cb8 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/crawler_entry_points.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/crawler_entry_points.ts @@ -15,7 +15,7 @@ export function registerCrawlerEntryPointRoutes({ }: RouteDependencies) { router.post( { - path: '/api/app_search/engines/{engineName}/crawler/domains/{domainId}/entry_points', + path: '/internal/app_search/engines/{engineName}/crawler/domains/{domainId}/entry_points', validate: { params: schema.object({ engineName: schema.string(), @@ -37,7 +37,7 @@ export function registerCrawlerEntryPointRoutes({ router.put( { path: - '/api/app_search/engines/{engineName}/crawler/domains/{domainId}/entry_points/{entryPointId}', + '/internal/app_search/engines/{engineName}/crawler/domains/{domainId}/entry_points/{entryPointId}', validate: { params: schema.object({ engineName: schema.string(), @@ -60,7 +60,7 @@ export function registerCrawlerEntryPointRoutes({ router.delete( { path: - '/api/app_search/engines/{engineName}/crawler/domains/{domainId}/entry_points/{entryPointId}', + '/internal/app_search/engines/{engineName}/crawler/domains/{domainId}/entry_points/{entryPointId}', validate: { params: schema.object({ engineName: schema.string(), diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/crawler_sitemaps.test.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/crawler_sitemaps.test.ts index 21ff58e2d85ef..88fef87e60470 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/crawler_sitemaps.test.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/crawler_sitemaps.test.ts @@ -10,14 +10,14 @@ import { mockDependencies, mockRequestHandler, MockRouter } from '../../__mocks_ import { registerCrawlerSitemapRoutes } from './crawler_sitemaps'; describe('crawler sitemap routes', () => { - describe('POST /api/app_search/engines/{engineName}/crawler/domains/{domainId}/sitemaps', () => { + describe('POST /internal/app_search/engines/{engineName}/crawler/domains/{domainId}/sitemaps', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'post', - path: '/api/app_search/engines/{engineName}/crawler/domains/{domainId}/sitemaps', + path: '/internal/app_search/engines/{engineName}/crawler/domains/{domainId}/sitemaps', }); registerCrawlerSitemapRoutes({ @@ -51,7 +51,7 @@ describe('crawler sitemap routes', () => { }); }); - describe('PUT /api/app_search/engines/{engineName}/crawler/domains/{domainId}/sitemaps/{sitemapId}', () => { + describe('PUT /internal/app_search/engines/{engineName}/crawler/domains/{domainId}/sitemaps/{sitemapId}', () => { let mockRouter: MockRouter; beforeEach(() => { @@ -59,7 +59,7 @@ describe('crawler sitemap routes', () => { mockRouter = new MockRouter({ method: 'put', path: - '/api/app_search/engines/{engineName}/crawler/domains/{domainId}/sitemaps/{sitemapId}', + '/internal/app_search/engines/{engineName}/crawler/domains/{domainId}/sitemaps/{sitemapId}', }); registerCrawlerSitemapRoutes({ @@ -93,7 +93,7 @@ describe('crawler sitemap routes', () => { }); }); - describe('DELETE /api/app_search/engines/{engineName}/crawler/domains/{domainId}/sitemaps/{sitemapId}', () => { + describe('DELETE /internal/app_search/engines/{engineName}/crawler/domains/{domainId}/sitemaps/{sitemapId}', () => { let mockRouter: MockRouter; beforeEach(() => { @@ -101,7 +101,7 @@ describe('crawler sitemap routes', () => { mockRouter = new MockRouter({ method: 'delete', path: - '/api/app_search/engines/{engineName}/crawler/domains/{domainId}/sitemaps/{sitemapId}', + '/internal/app_search/engines/{engineName}/crawler/domains/{domainId}/sitemaps/{sitemapId}', }); registerCrawlerSitemapRoutes({ diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/crawler_sitemaps.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/crawler_sitemaps.ts index ab4c390243d37..c3ae90349b95a 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/crawler_sitemaps.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/crawler_sitemaps.ts @@ -15,7 +15,7 @@ export function registerCrawlerSitemapRoutes({ }: RouteDependencies) { router.post( { - path: '/api/app_search/engines/{engineName}/crawler/domains/{domainId}/sitemaps', + path: '/internal/app_search/engines/{engineName}/crawler/domains/{domainId}/sitemaps', validate: { params: schema.object({ engineName: schema.string(), @@ -36,7 +36,8 @@ export function registerCrawlerSitemapRoutes({ router.put( { - path: '/api/app_search/engines/{engineName}/crawler/domains/{domainId}/sitemaps/{sitemapId}', + path: + '/internal/app_search/engines/{engineName}/crawler/domains/{domainId}/sitemaps/{sitemapId}', validate: { params: schema.object({ engineName: schema.string(), @@ -58,7 +59,8 @@ export function registerCrawlerSitemapRoutes({ router.delete( { - path: '/api/app_search/engines/{engineName}/crawler/domains/{domainId}/sitemaps/{sitemapId}', + path: + '/internal/app_search/engines/{engineName}/crawler/domains/{domainId}/sitemaps/{sitemapId}', validate: { params: schema.object({ engineName: schema.string(), diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/credentials.test.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/credentials.test.ts index 18fce922e470d..292d9200f2a4e 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/credentials.test.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/credentials.test.ts @@ -10,14 +10,14 @@ import { MockRouter, mockRequestHandler, mockDependencies } from '../../__mocks_ import { registerCredentialsRoutes } from './credentials'; describe('credentials routes', () => { - describe('GET /api/app_search/credentials', () => { + describe('GET /internal/app_search/credentials', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/app_search/credentials', + path: '/internal/app_search/credentials', }); registerCredentialsRoutes({ @@ -50,14 +50,14 @@ describe('credentials routes', () => { }); }); - describe('POST /api/app_search/credentials', () => { + describe('POST /internal/app_search/credentials', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'post', - path: '/api/app_search/credentials', + path: '/internal/app_search/credentials', }); registerCredentialsRoutes({ @@ -162,14 +162,14 @@ describe('credentials routes', () => { }); }); - describe('GET /api/app_search/credentials/details', () => { + describe('GET /internal/app_search/credentials/details', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/app_search/credentials/details', + path: '/internal/app_search/credentials/details', }); registerCredentialsRoutes({ @@ -185,14 +185,14 @@ describe('credentials routes', () => { }); }); - describe('PUT /api/app_search/credentials/{name}', () => { + describe('PUT /internal/app_search/credentials/{name}', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'put', - path: '/api/app_search/credentials/{name}', + path: '/internal/app_search/credentials/{name}', }); registerCredentialsRoutes({ @@ -297,14 +297,14 @@ describe('credentials routes', () => { }); }); - describe('DELETE /api/app_search/credentials/{name}', () => { + describe('DELETE /internal/app_search/credentials/{name}', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'delete', - path: '/api/app_search/credentials/{name}', + path: '/internal/app_search/credentials/{name}', }); registerCredentialsRoutes({ diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/credentials.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/credentials.ts index 22edb16f0aca6..b1916479a39ac 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/credentials.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/credentials.ts @@ -37,7 +37,7 @@ export function registerCredentialsRoutes({ // Credentials API router.get( { - path: '/api/app_search/credentials', + path: '/internal/app_search/credentials', validate: { query: schema.object({ 'page[current]': schema.number(), @@ -51,7 +51,7 @@ export function registerCredentialsRoutes({ ); router.post( { - path: '/api/app_search/credentials', + path: '/internal/app_search/credentials', validate: { body: tokenSchema, }, @@ -64,7 +64,7 @@ export function registerCredentialsRoutes({ // TODO: It would be great to remove this someday router.get( { - path: '/api/app_search/credentials/details', + path: '/internal/app_search/credentials/details', validate: false, }, enterpriseSearchRequestHandler.createRequest({ @@ -75,7 +75,7 @@ export function registerCredentialsRoutes({ // Single credential API router.put( { - path: '/api/app_search/credentials/{name}', + path: '/internal/app_search/credentials/{name}', validate: { params: schema.object({ name: schema.string(), @@ -89,7 +89,7 @@ export function registerCredentialsRoutes({ ); router.delete( { - path: '/api/app_search/credentials/{name}', + path: '/internal/app_search/credentials/{name}', validate: { params: schema.object({ name: schema.string(), diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/curations.test.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/curations.test.ts index 08e123a98cd31..b930b449e97d1 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/curations.test.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/curations.test.ts @@ -10,14 +10,14 @@ import { MockRouter, mockRequestHandler, mockDependencies } from '../../__mocks_ import { registerCurationsRoutes } from './curations'; describe('curations routes', () => { - describe('GET /api/app_search/engines/{engineName}/curations', () => { + describe('GET /internal/app_search/engines/{engineName}/curations', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/app_search/engines/{engineName}/curations', + path: '/internal/app_search/engines/{engineName}/curations', }); registerCurationsRoutes({ @@ -50,14 +50,14 @@ describe('curations routes', () => { }); }); - describe('POST /api/app_search/engines/{engineName}/curations', () => { + describe('POST /internal/app_search/engines/{engineName}/curations', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'post', - path: '/api/app_search/engines/{engineName}/curations', + path: '/internal/app_search/engines/{engineName}/curations', }); registerCurationsRoutes({ @@ -107,14 +107,14 @@ describe('curations routes', () => { }); }); - describe('DELETE /api/app_search/engines/{engineName}/curations/{curationId}', () => { + describe('DELETE /internal/app_search/engines/{engineName}/curations/{curationId}', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'delete', - path: '/api/app_search/engines/{engineName}/curations/{curationId}', + path: '/internal/app_search/engines/{engineName}/curations/{curationId}', }); registerCurationsRoutes({ @@ -130,14 +130,14 @@ describe('curations routes', () => { }); }); - describe('GET /api/app_search/engines/{engineName}/curations/{curationId}', () => { + describe('GET /internal/app_search/engines/{engineName}/curations/{curationId}', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/app_search/engines/{engineName}/curations/{curationId}', + path: '/internal/app_search/engines/{engineName}/curations/{curationId}', }); registerCurationsRoutes({ @@ -153,14 +153,14 @@ describe('curations routes', () => { }); }); - describe('PUT /api/app_search/engines/{engineName}/curations/{curationId}', () => { + describe('PUT /internal/app_search/engines/{engineName}/curations/{curationId}', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'put', - path: '/api/app_search/engines/{engineName}/curations/{curationId}', + path: '/internal/app_search/engines/{engineName}/curations/{curationId}', }); registerCurationsRoutes({ @@ -195,14 +195,14 @@ describe('curations routes', () => { }); }); - describe('GET /api/app_search/engines/{engineName}/curations/find_or_create', () => { + describe('GET /internal/app_search/engines/{engineName}/curations/find_or_create', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/app_search/engines/{engineName}/curations/find_or_create', + path: '/internal/app_search/engines/{engineName}/curations/find_or_create', }); registerCurationsRoutes({ diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/curations.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/curations.ts index 83c40b0fbc3d4..b6ef8c8acafa5 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/curations.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/curations.ts @@ -15,7 +15,7 @@ export function registerCurationsRoutes({ }: RouteDependencies) { router.get( { - path: '/api/app_search/engines/{engineName}/curations', + path: '/internal/app_search/engines/{engineName}/curations', validate: { params: schema.object({ engineName: schema.string(), @@ -33,7 +33,7 @@ export function registerCurationsRoutes({ router.post( { - path: '/api/app_search/engines/{engineName}/curations', + path: '/internal/app_search/engines/{engineName}/curations', validate: { params: schema.object({ engineName: schema.string(), @@ -50,7 +50,7 @@ export function registerCurationsRoutes({ router.delete( { - path: '/api/app_search/engines/{engineName}/curations/{curationId}', + path: '/internal/app_search/engines/{engineName}/curations/{curationId}', validate: { params: schema.object({ engineName: schema.string(), @@ -65,7 +65,7 @@ export function registerCurationsRoutes({ router.get( { - path: '/api/app_search/engines/{engineName}/curations/{curationId}', + path: '/internal/app_search/engines/{engineName}/curations/{curationId}', validate: { query: schema.object({ skip_record_analytics: schema.string(), @@ -83,7 +83,7 @@ export function registerCurationsRoutes({ router.put( { - path: '/api/app_search/engines/{engineName}/curations/{curationId}', + path: '/internal/app_search/engines/{engineName}/curations/{curationId}', validate: { params: schema.object({ engineName: schema.string(), @@ -104,7 +104,7 @@ export function registerCurationsRoutes({ router.get( { - path: '/api/app_search/engines/{engineName}/curations/find_or_create', + path: '/internal/app_search/engines/{engineName}/curations/find_or_create', validate: { params: schema.object({ engineName: schema.string(), diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/documents.test.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/documents.test.ts index b584412a7a8f3..efccb5d3f6e3c 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/documents.test.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/documents.test.ts @@ -10,14 +10,14 @@ import { MockRouter, mockRequestHandler, mockDependencies } from '../../__mocks_ import { registerDocumentsRoutes, registerDocumentRoutes } from './documents'; describe('documents routes', () => { - describe('POST /api/app_search/engines/{engineName}/documents', () => { + describe('POST /internal/app_search/engines/{engineName}/documents', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'post', - path: '/api/app_search/engines/{engineName}/documents', + path: '/internal/app_search/engines/{engineName}/documents', }); registerDocumentsRoutes({ @@ -35,14 +35,14 @@ describe('documents routes', () => { }); describe('document routes', () => { - describe('GET /api/app_search/engines/{engineName}/documents/{documentId}', () => { + describe('GET /internal/app_search/engines/{engineName}/documents/{documentId}', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/app_search/engines/{engineName}/documents/{documentId}', + path: '/internal/app_search/engines/{engineName}/documents/{documentId}', }); registerDocumentRoutes({ @@ -58,14 +58,14 @@ describe('document routes', () => { }); }); - describe('DELETE /api/app_search/engines/{engineName}/documents/{documentId}', () => { + describe('DELETE /internal/app_search/engines/{engineName}/documents/{documentId}', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'delete', - path: '/api/app_search/engines/{engineName}/documents/{documentId}', + path: '/internal/app_search/engines/{engineName}/documents/{documentId}', }); registerDocumentRoutes({ diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/documents.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/documents.ts index 929e9f7aef690..f0af2fb351813 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/documents.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/documents.ts @@ -17,7 +17,7 @@ export function registerDocumentsRoutes({ }: RouteDependencies) { router.post( skipBodyValidation({ - path: '/api/app_search/engines/{engineName}/documents', + path: '/internal/app_search/engines/{engineName}/documents', validate: { params: schema.object({ engineName: schema.string(), @@ -36,7 +36,7 @@ export function registerDocumentRoutes({ }: RouteDependencies) { router.get( { - path: '/api/app_search/engines/{engineName}/documents/{documentId}', + path: '/internal/app_search/engines/{engineName}/documents/{documentId}', validate: { params: schema.object({ engineName: schema.string(), @@ -50,7 +50,7 @@ export function registerDocumentRoutes({ ); router.delete( { - path: '/api/app_search/engines/{engineName}/documents/{documentId}', + path: '/internal/app_search/engines/{engineName}/documents/{documentId}', validate: { params: schema.object({ engineName: schema.string(), diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/engines.test.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/engines.test.ts index c653cad5c1c0d..7c8a611cebb3e 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/engines.test.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/engines.test.ts @@ -10,7 +10,7 @@ import { MockRouter, mockRequestHandler, mockDependencies } from '../../__mocks_ import { registerEnginesRoutes } from './engines'; describe('engine routes', () => { - describe('GET /api/app_search/engines', () => { + describe('GET /internal/app_search/engines', () => { const mockRequest = { query: { type: 'indexed', @@ -25,7 +25,7 @@ describe('engine routes', () => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/app_search/engines', + path: '/internal/app_search/engines', }); registerEnginesRoutes({ @@ -98,14 +98,14 @@ describe('engine routes', () => { }); }); - describe('POST /api/app_search/engines', () => { + describe('POST /internal/app_search/engines', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'post', - path: '/api/app_search/engines', + path: '/internal/app_search/engines', }); registerEnginesRoutes({ @@ -176,14 +176,14 @@ describe('engine routes', () => { }); }); - describe('GET /api/app_search/engines/{name}', () => { + describe('GET /internal/app_search/engines/{name}', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/app_search/engines/{name}', + path: '/internal/app_search/engines/{name}', }); registerEnginesRoutes({ @@ -199,14 +199,14 @@ describe('engine routes', () => { }); }); - describe('DELETE /api/app_search/engines/{name}', () => { + describe('DELETE /internal/app_search/engines/{name}', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'delete', - path: '/api/app_search/engines/{name}', + path: '/internal/app_search/engines/{name}', }); registerEnginesRoutes({ @@ -237,14 +237,14 @@ describe('engine routes', () => { }); }); - describe('GET /api/app_search/engines/{name}/overview', () => { + describe('GET /internal/app_search/engines/{name}/overview', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/app_search/engines/{name}/overview', + path: '/internal/app_search/engines/{name}/overview', }); registerEnginesRoutes({ diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/engines.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/engines.ts index 77b055add7d79..a53379ef44c67 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/engines.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/engines.ts @@ -20,7 +20,7 @@ export function registerEnginesRoutes({ }: RouteDependencies) { router.get( { - path: '/api/app_search/engines', + path: '/internal/app_search/engines', validate: { query: schema.object({ type: schema.oneOf([schema.literal('indexed'), schema.literal('meta')]), @@ -40,7 +40,7 @@ export function registerEnginesRoutes({ router.post( { - path: '/api/app_search/engines', + path: '/internal/app_search/engines', validate: { body: schema.object({ name: schema.string(), @@ -58,7 +58,7 @@ export function registerEnginesRoutes({ // Single engine endpoints router.get( { - path: '/api/app_search/engines/{name}', + path: '/internal/app_search/engines/{name}', validate: { params: schema.object({ name: schema.string(), @@ -71,7 +71,7 @@ export function registerEnginesRoutes({ ); router.delete( { - path: '/api/app_search/engines/{name}', + path: '/internal/app_search/engines/{name}', validate: { params: schema.object({ name: schema.string(), @@ -84,7 +84,7 @@ export function registerEnginesRoutes({ ); router.get( { - path: '/api/app_search/engines/{name}/overview', + path: '/internal/app_search/engines/{name}/overview', validate: { params: schema.object({ name: schema.string(), diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/onboarding.test.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/onboarding.test.ts index 47b480f61341a..8990a9e1eeab4 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/onboarding.test.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/onboarding.test.ts @@ -10,14 +10,14 @@ import { MockRouter, mockRequestHandler, mockDependencies } from '../../__mocks_ import { registerOnboardingRoutes } from './onboarding'; describe('engine routes', () => { - describe('POST /api/app_search/onboarding_complete', () => { + describe('POST /internal/app_search/onboarding_complete', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'post', - path: '/api/app_search/onboarding_complete', + path: '/internal/app_search/onboarding_complete', }); registerOnboardingRoutes({ diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/onboarding.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/onboarding.ts index 147f935a56aed..b61c49c06b905 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/onboarding.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/onboarding.ts @@ -15,7 +15,7 @@ export function registerOnboardingRoutes({ }: RouteDependencies) { router.post( { - path: '/api/app_search/onboarding_complete', + path: '/internal/app_search/onboarding_complete', validate: { body: schema.object({ seed_sample_engine: schema.maybe(schema.boolean()), diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/result_settings.test.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/result_settings.test.ts index 58f69e4abf968..d82eb06fce68e 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/result_settings.test.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/result_settings.test.ts @@ -22,10 +22,10 @@ const resultFields = { }; describe('result settings routes', () => { - describe('GET /api/app_search/engines/{name}/result_settings/details', () => { + describe('GET /internal/app_search/engines/{name}/result_settings/details', () => { const mockRouter = new MockRouter({ method: 'get', - path: '/api/app_search/engines/{engineName}/result_settings/details', + path: '/internal/app_search/engines/{engineName}/result_settings/details', }); beforeEach(() => { @@ -46,10 +46,10 @@ describe('result settings routes', () => { }); }); - describe('PUT /api/app_search/engines/{name}/result_settings', () => { + describe('PUT /internal/app_search/engines/{name}/result_settings', () => { const mockRouter = new MockRouter({ method: 'put', - path: '/api/app_search/engines/{engineName}/result_settings', + path: '/internal/app_search/engines/{engineName}/result_settings', }); beforeEach(() => { diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/result_settings.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/result_settings.ts index d028440908173..0a5bd5af8edf6 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/result_settings.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/result_settings.ts @@ -17,7 +17,7 @@ export function registerResultSettingsRoutes({ }: RouteDependencies) { router.get( { - path: '/api/app_search/engines/{engineName}/result_settings/details', + path: '/internal/app_search/engines/{engineName}/result_settings/details', validate: { params: schema.object({ engineName: schema.string(), @@ -31,7 +31,7 @@ export function registerResultSettingsRoutes({ router.put( skipBodyValidation({ - path: '/api/app_search/engines/{engineName}/result_settings', + path: '/internal/app_search/engines/{engineName}/result_settings', validate: { params: schema.object({ engineName: schema.string(), diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/role_mappings.test.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/role_mappings.test.ts index dfb9765f834b6..ee942a3383845 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/role_mappings.test.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/role_mappings.test.ts @@ -23,14 +23,14 @@ const roleMappingBaseSchema = { }; describe('role mappings routes', () => { - describe('POST /api/app_search/role_mappings/enable_role_based_access', () => { + describe('POST /internal/app_search/role_mappings/enable_role_based_access', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'post', - path: '/api/app_search/role_mappings/enable_role_based_access', + path: '/internal/app_search/role_mappings/enable_role_based_access', }); registerEnableRoleMappingsRoute({ @@ -46,14 +46,14 @@ describe('role mappings routes', () => { }); }); - describe('GET /api/app_search/role_mappings', () => { + describe('GET /internal/app_search/role_mappings', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/app_search/role_mappings', + path: '/internal/app_search/role_mappings', }); registerRoleMappingsRoute({ @@ -69,14 +69,14 @@ describe('role mappings routes', () => { }); }); - describe('POST /api/app_search/role_mappings', () => { + describe('POST /internal/app_search/role_mappings', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'post', - path: '/api/app_search/role_mappings', + path: '/internal/app_search/role_mappings', }); registerRoleMappingsRoute({ @@ -104,14 +104,14 @@ describe('role mappings routes', () => { }); }); - describe('PUT /api/app_search/role_mappings/{id}', () => { + describe('PUT /internal/app_search/role_mappings/{id}', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'put', - path: '/api/app_search/role_mappings/{id}', + path: '/internal/app_search/role_mappings/{id}', }); registerRoleMappingRoute({ @@ -139,14 +139,14 @@ describe('role mappings routes', () => { }); }); - describe('DELETE /api/app_search/role_mappings/{id}', () => { + describe('DELETE /internal/app_search/role_mappings/{id}', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'delete', - path: '/api/app_search/role_mappings/{id}', + path: '/internal/app_search/role_mappings/{id}', }); registerRoleMappingRoute({ @@ -162,14 +162,14 @@ describe('role mappings routes', () => { }); }); - describe('POST /api/app_search/single_user_role_mapping', () => { + describe('POST /internal/app_search/single_user_role_mapping', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'post', - path: '/api/app_search/single_user_role_mapping', + path: '/internal/app_search/single_user_role_mapping', }); registerUserRoute({ diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/role_mappings.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/role_mappings.ts index d90a005cb2532..9ae935ea3b052 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/role_mappings.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/role_mappings.ts @@ -23,7 +23,7 @@ export function registerEnableRoleMappingsRoute({ }: RouteDependencies) { router.post( { - path: '/api/app_search/role_mappings/enable_role_based_access', + path: '/internal/app_search/role_mappings/enable_role_based_access', validate: false, }, enterpriseSearchRequestHandler.createRequest({ @@ -38,7 +38,7 @@ export function registerRoleMappingsRoute({ }: RouteDependencies) { router.get( { - path: '/api/app_search/role_mappings', + path: '/internal/app_search/role_mappings', validate: false, }, enterpriseSearchRequestHandler.createRequest({ @@ -48,7 +48,7 @@ export function registerRoleMappingsRoute({ router.post( { - path: '/api/app_search/role_mappings', + path: '/internal/app_search/role_mappings', validate: { body: schema.object(roleMappingBaseSchema), }, @@ -65,7 +65,7 @@ export function registerRoleMappingRoute({ }: RouteDependencies) { router.put( { - path: '/api/app_search/role_mappings/{id}', + path: '/internal/app_search/role_mappings/{id}', validate: { body: schema.object(roleMappingBaseSchema), params: schema.object({ @@ -80,7 +80,7 @@ export function registerRoleMappingRoute({ router.delete( { - path: '/api/app_search/role_mappings/{id}', + path: '/internal/app_search/role_mappings/{id}', validate: { params: schema.object({ id: schema.string(), @@ -96,7 +96,7 @@ export function registerRoleMappingRoute({ export function registerUserRoute({ router, enterpriseSearchRequestHandler }: RouteDependencies) { router.post( { - path: '/api/app_search/single_user_role_mapping', + path: '/internal/app_search/single_user_role_mapping', validate: { body: schema.object({ roleMapping: schema.object({ diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/schema.test.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/schema.test.ts index 408838a4de31b..79d445aace90e 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/schema.test.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/schema.test.ts @@ -10,14 +10,14 @@ import { MockRouter, mockRequestHandler, mockDependencies } from '../../__mocks_ import { registerSchemaRoutes } from './schema'; describe('schema routes', () => { - describe('GET /api/app_search/engines/{engineName}/schema', () => { + describe('GET /internal/app_search/engines/{engineName}/schema', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/app_search/engines/{engineName}/schema', + path: '/internal/app_search/engines/{engineName}/schema', }); registerSchemaRoutes({ @@ -33,14 +33,14 @@ describe('schema routes', () => { }); }); - describe('POST /api/app_search/engines/{engineName}/schema', () => { + describe('POST /internal/app_search/engines/{engineName}/schema', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'post', - path: '/api/app_search/engines/{engineName}/schema', + path: '/internal/app_search/engines/{engineName}/schema', }); registerSchemaRoutes({ @@ -56,14 +56,14 @@ describe('schema routes', () => { }); }); - describe('GET /api/app_search/engines/{engineName}/reindex_job/{reindexJobId}', () => { + describe('GET /internal/app_search/engines/{engineName}/reindex_job/{reindexJobId}', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/app_search/engines/{engineName}/reindex_job/{reindexJobId}', + path: '/internal/app_search/engines/{engineName}/reindex_job/{reindexJobId}', }); registerSchemaRoutes({ diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/schema.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/schema.ts index 74d07bd2bf75d..98f13e4564cc5 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/schema.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/schema.ts @@ -16,7 +16,7 @@ export function registerSchemaRoutes({ }: RouteDependencies) { router.get( { - path: '/api/app_search/engines/{engineName}/schema', + path: '/internal/app_search/engines/{engineName}/schema', validate: { params: schema.object({ engineName: schema.string(), @@ -30,7 +30,7 @@ export function registerSchemaRoutes({ router.post( skipBodyValidation({ - path: '/api/app_search/engines/{engineName}/schema', + path: '/internal/app_search/engines/{engineName}/schema', validate: { params: schema.object({ engineName: schema.string(), @@ -44,7 +44,7 @@ export function registerSchemaRoutes({ router.get( { - path: '/api/app_search/engines/{engineName}/reindex_job/{reindexJobId}', + path: '/internal/app_search/engines/{engineName}/reindex_job/{reindexJobId}', validate: { params: schema.object({ engineName: schema.string(), diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/search.test.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/search.test.ts index 7c81d20334a5a..972bcaa8891be 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/search.test.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/search.test.ts @@ -10,14 +10,14 @@ import { MockRouter, mockRequestHandler, mockDependencies } from '../../__mocks_ import { registerSearchRoutes } from './search'; describe('search routes', () => { - describe('GET /api/app_search/engines/{engineName}/search', () => { + describe('GET /internal/app_search/engines/{engineName}/search', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/app_search/engines/{engineName}/schema', + path: '/internal/app_search/engines/{engineName}/schema', }); registerSearchRoutes({ diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/search.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/search.ts index 551ad8938abbb..1150866bc1aa4 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/search.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/search.ts @@ -24,7 +24,7 @@ export function registerSearchRoutes({ }: RouteDependencies) { router.post( skipBodyValidation({ - path: '/api/app_search/engines/{engineName}/search', + path: '/internal/app_search/engines/{engineName}/search', validate: { params: schema.object({ engineName: schema.string(), @@ -44,7 +44,7 @@ export function registerSearchRoutes({ // requests through Kibana's server. router.post( skipBodyValidation({ - path: '/api/app_search/search-ui/api/as/v1/engines/{engineName}/search.json', + path: '/internal/app_search/search-ui/api/as/v1/engines/{engineName}/search.json', validate: { params: schema.object({ engineName: schema.string(), diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/search_settings.test.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/search_settings.test.ts index 7ea533af5da75..56e60db543c5d 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/search_settings.test.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/search_settings.test.ts @@ -60,10 +60,10 @@ describe('search settings routes', () => { jest.clearAllMocks(); }); - describe('GET /api/app_search/engines/{name}/search_settings/details', () => { + describe('GET /internal/app_search/engines/{name}/search_settings/details', () => { const mockRouter = new MockRouter({ method: 'get', - path: '/api/app_search/engines/{engineName}/search_settings/details', + path: '/internal/app_search/engines/{engineName}/search_settings/details', }); beforeEach(() => { @@ -84,10 +84,10 @@ describe('search settings routes', () => { }); }); - describe('PUT /api/app_search/engines/{name}/search_settings', () => { + describe('PUT /internal/app_search/engines/{name}/search_settings', () => { const mockRouter = new MockRouter({ method: 'put', - path: '/api/app_search/engines/{engineName}/search_settings', + path: '/internal/app_search/engines/{engineName}/search_settings', }); beforeEach(() => { @@ -109,10 +109,10 @@ describe('search settings routes', () => { }); }); - describe('POST /api/app_search/engines/{name}/search_settings/reset', () => { + describe('POST /internal/app_search/engines/{name}/search_settings/reset', () => { const mockRouter = new MockRouter({ method: 'post', - path: '/api/app_search/engines/{engineName}/search_settings/reset', + path: '/internal/app_search/engines/{engineName}/search_settings/reset', }); beforeEach(() => { diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/search_settings.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/search_settings.ts index 31a8cc09ed839..2dd097a17bf64 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/search_settings.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/search_settings.ts @@ -17,7 +17,7 @@ export function registerSearchSettingsRoutes({ }: RouteDependencies) { router.get( { - path: '/api/app_search/engines/{engineName}/search_settings/details', + path: '/internal/app_search/engines/{engineName}/search_settings/details', validate: { params: schema.object({ engineName: schema.string(), @@ -31,7 +31,7 @@ export function registerSearchSettingsRoutes({ router.post( { - path: '/api/app_search/engines/{engineName}/search_settings/reset', + path: '/internal/app_search/engines/{engineName}/search_settings/reset', validate: { params: schema.object({ engineName: schema.string(), @@ -45,7 +45,7 @@ export function registerSearchSettingsRoutes({ router.put( skipBodyValidation({ - path: '/api/app_search/engines/{engineName}/search_settings', + path: '/internal/app_search/engines/{engineName}/search_settings', validate: { params: schema.object({ engineName: schema.string(), diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/search_ui.test.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/search_ui.test.ts index ae308c8397536..fa0694fed9d03 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/search_ui.test.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/search_ui.test.ts @@ -14,10 +14,10 @@ describe('reference application routes', () => { jest.clearAllMocks(); }); - describe('GET /api/app_search/engines/{engineName}/search_settings/details', () => { + describe('GET /internal/app_search/engines/{engineName}/search_settings/details', () => { const mockRouter = new MockRouter({ method: 'get', - path: '/api/app_search/engines/{engineName}/search_ui/field_config', + path: '/internal/app_search/engines/{engineName}/search_ui/field_config', }); beforeEach(() => { diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/search_ui.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/search_ui.ts index 33684843b218a..2a9d99e6e5882 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/search_ui.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/search_ui.ts @@ -15,7 +15,7 @@ export function registerSearchUIRoutes({ }: RouteDependencies) { router.get( { - path: '/api/app_search/engines/{engineName}/search_ui/field_config', + path: '/internal/app_search/engines/{engineName}/search_ui/field_config', validate: { params: schema.object({ engineName: schema.string(), diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/settings.test.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/settings.test.ts index 6df9a4f16d710..aff9cd17dd001 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/settings.test.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/settings.test.ts @@ -10,14 +10,14 @@ import { MockRouter, mockRequestHandler, mockDependencies } from '../../__mocks_ import { registerSettingsRoutes } from './settings'; describe('log settings routes', () => { - describe('GET /api/app_search/log_settings', () => { + describe('GET /internal/app_search/log_settings', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/app_search/log_settings', + path: '/internal/app_search/log_settings', }); registerSettingsRoutes({ @@ -33,14 +33,14 @@ describe('log settings routes', () => { }); }); - describe('PUT /api/app_search/log_settings', () => { + describe('PUT /internal/app_search/log_settings', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'put', - path: '/api/app_search/log_settings', + path: '/internal/app_search/log_settings', }); registerSettingsRoutes({ diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/settings.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/settings.ts index 8c6812199051f..b83dfd9d9ef15 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/settings.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/settings.ts @@ -15,7 +15,7 @@ export function registerSettingsRoutes({ }: RouteDependencies) { router.get( { - path: '/api/app_search/log_settings', + path: '/internal/app_search/log_settings', validate: false, }, enterpriseSearchRequestHandler.createRequest({ @@ -25,7 +25,7 @@ export function registerSettingsRoutes({ router.put( { - path: '/api/app_search/log_settings', + path: '/internal/app_search/log_settings', validate: { body: schema.object({ api: schema.maybe( diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/source_engines.test.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/source_engines.test.ts index 5b51048067c00..67edcc356e902 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/source_engines.test.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/source_engines.test.ts @@ -10,14 +10,14 @@ import { MockRouter, mockRequestHandler, mockDependencies } from '../../__mocks_ import { registerSourceEnginesRoutes } from './source_engines'; describe('source engine routes', () => { - describe('GET /api/app_search/engines/{name}/source_engines', () => { + describe('GET /internal/app_search/engines/{name}/source_engines', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/app_search/engines/{name}/source_engines', + path: '/internal/app_search/engines/{name}/source_engines', }); registerSourceEnginesRoutes({ @@ -53,14 +53,14 @@ describe('source engine routes', () => { }); }); - describe('POST /api/app_search/engines/{name}/source_engines/bulk_create', () => { + describe('POST /internal/app_search/engines/{name}/source_engines/bulk_create', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'post', - path: '/api/app_search/engines/{name}/source_engines/bulk_create', + path: '/internal/app_search/engines/{name}/source_engines/bulk_create', }); registerSourceEnginesRoutes({ @@ -96,14 +96,14 @@ describe('source engine routes', () => { }); }); - describe('DELETE /api/app_search/engines/{name}/source_engines/{source_engine_name}', () => { + describe('DELETE /internal/app_search/engines/{name}/source_engines/{source_engine_name}', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'delete', - path: '/api/app_search/engines/{name}/source_engines/{source_engine_name}', + path: '/internal/app_search/engines/{name}/source_engines/{source_engine_name}', }); registerSourceEnginesRoutes({ diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/source_engines.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/source_engines.ts index 8e55b0e6f1ac6..1d41a82287b0e 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/source_engines.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/source_engines.ts @@ -15,7 +15,7 @@ export function registerSourceEnginesRoutes({ }: RouteDependencies) { router.get( { - path: '/api/app_search/engines/{name}/source_engines', + path: '/internal/app_search/engines/{name}/source_engines', validate: { params: schema.object({ name: schema.string(), @@ -33,7 +33,7 @@ export function registerSourceEnginesRoutes({ router.post( { - path: '/api/app_search/engines/{name}/source_engines/bulk_create', + path: '/internal/app_search/engines/{name}/source_engines/bulk_create', validate: { params: schema.object({ name: schema.string(), @@ -50,7 +50,7 @@ export function registerSourceEnginesRoutes({ router.delete( { - path: '/api/app_search/engines/{name}/source_engines/{source_engine_name}', + path: '/internal/app_search/engines/{name}/source_engines/{source_engine_name}', validate: { params: schema.object({ name: schema.string(), diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/synonyms.test.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/synonyms.test.ts index 53ceefc736d20..0007b3f27cff0 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/synonyms.test.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/synonyms.test.ts @@ -10,14 +10,14 @@ import { MockRouter, mockRequestHandler, mockDependencies } from '../../__mocks_ import { registerSynonymsRoutes } from './synonyms'; describe('synonyms routes', () => { - describe('GET /api/app_search/engines/{engineName}/synonyms', () => { + describe('GET /internal/app_search/engines/{engineName}/synonyms', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/app_search/engines/{engineName}/synonyms', + path: '/internal/app_search/engines/{engineName}/synonyms', }); registerSynonymsRoutes({ @@ -50,14 +50,14 @@ describe('synonyms routes', () => { }); }); - describe('POST /api/app_search/engines/{engineName}/synonyms', () => { + describe('POST /internal/app_search/engines/{engineName}/synonyms', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'post', - path: '/api/app_search/engines/{engineName}/synonyms', + path: '/internal/app_search/engines/{engineName}/synonyms', }); registerSynonymsRoutes({ @@ -73,14 +73,14 @@ describe('synonyms routes', () => { }); }); - describe('PUT /api/app_search/engines/{engineName}/synonyms/{synonymId}', () => { + describe('PUT /internal/app_search/engines/{engineName}/synonyms/{synonymId}', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'put', - path: '/api/app_search/engines/{engineName}/synonyms/{synonymId}', + path: '/internal/app_search/engines/{engineName}/synonyms/{synonymId}', }); registerSynonymsRoutes({ @@ -96,14 +96,14 @@ describe('synonyms routes', () => { }); }); - describe('DELETE /api/app_search/engines/{engineName}/synonyms/{synonymId}', () => { + describe('DELETE /internal/app_search/engines/{engineName}/synonyms/{synonymId}', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'delete', - path: '/api/app_search/engines/{engineName}/synonyms/{synonymId}', + path: '/internal/app_search/engines/{engineName}/synonyms/{synonymId}', }); registerSynonymsRoutes({ diff --git a/x-pack/plugins/enterprise_search/server/routes/app_search/synonyms.ts b/x-pack/plugins/enterprise_search/server/routes/app_search/synonyms.ts index d9b0cf1b9289f..0c9682bb983d4 100644 --- a/x-pack/plugins/enterprise_search/server/routes/app_search/synonyms.ts +++ b/x-pack/plugins/enterprise_search/server/routes/app_search/synonyms.ts @@ -16,7 +16,7 @@ export function registerSynonymsRoutes({ }: RouteDependencies) { router.get( { - path: '/api/app_search/engines/{engineName}/synonyms', + path: '/internal/app_search/engines/{engineName}/synonyms', validate: { params: schema.object({ engineName: schema.string(), @@ -34,7 +34,7 @@ export function registerSynonymsRoutes({ router.post( skipBodyValidation({ - path: '/api/app_search/engines/{engineName}/synonyms', + path: '/internal/app_search/engines/{engineName}/synonyms', validate: { params: schema.object({ engineName: schema.string(), @@ -48,7 +48,7 @@ export function registerSynonymsRoutes({ router.put( skipBodyValidation({ - path: '/api/app_search/engines/{engineName}/synonyms/{synonymId}', + path: '/internal/app_search/engines/{engineName}/synonyms/{synonymId}', validate: { params: schema.object({ engineName: schema.string(), @@ -63,7 +63,7 @@ export function registerSynonymsRoutes({ router.delete( { - path: '/api/app_search/engines/{engineName}/synonyms/{synonymId}', + path: '/internal/app_search/engines/{engineName}/synonyms/{synonymId}', validate: { params: schema.object({ engineName: schema.string(), diff --git a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/config_data.test.ts b/x-pack/plugins/enterprise_search/server/routes/enterprise_search/config_data.test.ts index b3d2733e233b3..9244ba2301132 100644 --- a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/config_data.test.ts +++ b/x-pack/plugins/enterprise_search/server/routes/enterprise_search/config_data.test.ts @@ -21,7 +21,7 @@ describe('Enterprise Search Config Data API', () => { beforeEach(() => { mockRouter = new MockRouter({ method: 'get', - path: '/api/enterprise_search/config_data', + path: '/internal/enterprise_search/config_data', }); registerConfigDataRoute({ @@ -30,7 +30,7 @@ describe('Enterprise Search Config Data API', () => { }); }); - describe('GET /api/enterprise_search/config_data', () => { + describe('GET /internal/enterprise_search/config_data', () => { it('returns an initial set of config data from Enterprise Search', async () => { const mockData = { ...DEFAULT_INITIAL_APP_DATA, diff --git a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/config_data.ts b/x-pack/plugins/enterprise_search/server/routes/enterprise_search/config_data.ts index e2cbd409bd396..95ab8e3c3a5a9 100644 --- a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/config_data.ts +++ b/x-pack/plugins/enterprise_search/server/routes/enterprise_search/config_data.ts @@ -11,7 +11,7 @@ import { RouteDependencies } from '../../plugin'; export function registerConfigDataRoute({ router, config, log }: RouteDependencies) { router.get( { - path: '/api/enterprise_search/config_data', + path: '/internal/enterprise_search/config_data', validate: false, }, async (context, request, response) => { diff --git a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/telemetry.test.ts b/x-pack/plugins/enterprise_search/server/routes/enterprise_search/telemetry.test.ts index 53ddc21cba399..d8c38204f75a9 100644 --- a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/telemetry.test.ts +++ b/x-pack/plugins/enterprise_search/server/routes/enterprise_search/telemetry.test.ts @@ -29,7 +29,7 @@ describe('Enterprise Search Telemetry API', () => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'put', - path: '/api/enterprise_search/stats', + path: '/internal/enterprise_search/stats', }); registerTelemetryRoute({ @@ -40,7 +40,7 @@ describe('Enterprise Search Telemetry API', () => { }); }); - describe('PUT /api/enterprise_search/stats', () => { + describe('PUT /internal/enterprise_search/stats', () => { it('increments the saved objects counter for App Search', async () => { (incrementUICounter as jest.Mock).mockImplementation(jest.fn(() => successResponse)); diff --git a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/telemetry.ts b/x-pack/plugins/enterprise_search/server/routes/enterprise_search/telemetry.ts index e15be8fcd0d8b..4b272293c7d5f 100644 --- a/x-pack/plugins/enterprise_search/server/routes/enterprise_search/telemetry.ts +++ b/x-pack/plugins/enterprise_search/server/routes/enterprise_search/telemetry.ts @@ -23,7 +23,7 @@ const productToTelemetryMap = { export function registerTelemetryRoute({ router, getSavedObjectsService }: RouteDependencies) { router.put( { - path: '/api/enterprise_search/stats', + path: '/internal/enterprise_search/stats', validate: { body: schema.object({ product: schema.oneOf([ diff --git a/x-pack/plugins/enterprise_search/server/routes/workplace_search/groups.test.ts b/x-pack/plugins/enterprise_search/server/routes/workplace_search/groups.test.ts index 27e05cee1ba0a..40ee46c7a9ffd 100644 --- a/x-pack/plugins/enterprise_search/server/routes/workplace_search/groups.test.ts +++ b/x-pack/plugins/enterprise_search/server/routes/workplace_search/groups.test.ts @@ -17,14 +17,14 @@ import { } from './groups'; describe('groups routes', () => { - describe('GET /api/workplace_search/groups', () => { + describe('GET /internal/workplace_search/groups', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/workplace_search/groups', + path: '/internal/workplace_search/groups', }); registerGroupsRoute({ @@ -40,14 +40,14 @@ describe('groups routes', () => { }); }); - describe('POST /api/workplace_search/groups', () => { + describe('POST /internal/workplace_search/groups', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'post', - path: '/api/workplace_search/groups', + path: '/internal/workplace_search/groups', }); registerGroupsRoute({ @@ -74,14 +74,14 @@ describe('groups routes', () => { }); }); - describe('POST /api/workplace_search/groups/search', () => { + describe('POST /internal/workplace_search/groups/search', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'post', - path: '/api/workplace_search/groups/search', + path: '/internal/workplace_search/groups/search', }); registerSearchGroupsRoute({ @@ -128,14 +128,14 @@ describe('groups routes', () => { }); }); - describe('GET /api/workplace_search/groups/{id}', () => { + describe('GET /internal/workplace_search/groups/{id}', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/workplace_search/groups/{id}', + path: '/internal/workplace_search/groups/{id}', }); registerGroupRoute({ @@ -151,14 +151,14 @@ describe('groups routes', () => { }); }); - describe('PUT /api/workplace_search/groups/{id}', () => { + describe('PUT /internal/workplace_search/groups/{id}', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'put', - path: '/api/workplace_search/groups/{id}', + path: '/internal/workplace_search/groups/{id}', }); registerGroupRoute({ @@ -187,14 +187,14 @@ describe('groups routes', () => { }); }); - describe('DELETE /api/workplace_search/groups/{id}', () => { + describe('DELETE /internal/workplace_search/groups/{id}', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'delete', - path: '/api/workplace_search/groups/{id}', + path: '/internal/workplace_search/groups/{id}', }); registerGroupRoute({ @@ -210,14 +210,14 @@ describe('groups routes', () => { }); }); - describe('GET /api/workplace_search/groups/{id}/group_users', () => { + describe('GET /internal/workplace_search/groups/{id}/group_users', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/workplace_search/groups/{id}/group_users', + path: '/internal/workplace_search/groups/{id}/group_users', }); registerGroupUsersRoute({ @@ -233,14 +233,14 @@ describe('groups routes', () => { }); }); - describe('POST /api/workplace_search/groups/{id}/share', () => { + describe('POST /internal/workplace_search/groups/{id}/share', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'post', - path: '/api/workplace_search/groups/{id}/share', + path: '/internal/workplace_search/groups/{id}/share', }); registerShareGroupRoute({ @@ -268,14 +268,14 @@ describe('groups routes', () => { }); }); - describe('PUT /api/workplace_search/groups/{id}/boosts', () => { + describe('PUT /internal/workplace_search/groups/{id}/boosts', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'put', - path: '/api/workplace_search/groups/{id}/boosts', + path: '/internal/workplace_search/groups/{id}/boosts', }); registerBoostsGroupRoute({ diff --git a/x-pack/plugins/enterprise_search/server/routes/workplace_search/groups.ts b/x-pack/plugins/enterprise_search/server/routes/workplace_search/groups.ts index c6332fa1287a0..c5c161cf7b2f8 100644 --- a/x-pack/plugins/enterprise_search/server/routes/workplace_search/groups.ts +++ b/x-pack/plugins/enterprise_search/server/routes/workplace_search/groups.ts @@ -12,7 +12,7 @@ import { RouteDependencies } from '../../plugin'; export function registerGroupsRoute({ router, enterpriseSearchRequestHandler }: RouteDependencies) { router.get( { - path: '/api/workplace_search/groups', + path: '/internal/workplace_search/groups', validate: false, }, enterpriseSearchRequestHandler.createRequest({ @@ -22,7 +22,7 @@ export function registerGroupsRoute({ router, enterpriseSearchRequestHandler }: router.post( { - path: '/api/workplace_search/groups', + path: '/internal/workplace_search/groups', validate: { body: schema.object({ group_name: schema.string(), @@ -41,7 +41,7 @@ export function registerSearchGroupsRoute({ }: RouteDependencies) { router.post( { - path: '/api/workplace_search/groups/search', + path: '/internal/workplace_search/groups/search', validate: { body: schema.object({ page: schema.object({ @@ -65,7 +65,7 @@ export function registerSearchGroupsRoute({ export function registerGroupRoute({ router, enterpriseSearchRequestHandler }: RouteDependencies) { router.get( { - path: '/api/workplace_search/groups/{id}', + path: '/internal/workplace_search/groups/{id}', validate: { params: schema.object({ id: schema.string(), @@ -79,7 +79,7 @@ export function registerGroupRoute({ router, enterpriseSearchRequestHandler }: R router.put( { - path: '/api/workplace_search/groups/{id}', + path: '/internal/workplace_search/groups/{id}', validate: { params: schema.object({ id: schema.string(), @@ -98,7 +98,7 @@ export function registerGroupRoute({ router, enterpriseSearchRequestHandler }: R router.delete( { - path: '/api/workplace_search/groups/{id}', + path: '/internal/workplace_search/groups/{id}', validate: { params: schema.object({ id: schema.string(), @@ -117,7 +117,7 @@ export function registerGroupUsersRoute({ }: RouteDependencies) { router.get( { - path: '/api/workplace_search/groups/{id}/group_users', + path: '/internal/workplace_search/groups/{id}/group_users', validate: { params: schema.object({ id: schema.string(), @@ -136,7 +136,7 @@ export function registerShareGroupRoute({ }: RouteDependencies) { router.post( { - path: '/api/workplace_search/groups/{id}/share', + path: '/internal/workplace_search/groups/{id}/share', validate: { params: schema.object({ id: schema.string(), @@ -158,7 +158,7 @@ export function registerBoostsGroupRoute({ }: RouteDependencies) { router.put( { - path: '/api/workplace_search/groups/{id}/boosts', + path: '/internal/workplace_search/groups/{id}/boosts', validate: { params: schema.object({ id: schema.string(), diff --git a/x-pack/plugins/enterprise_search/server/routes/workplace_search/oauth.test.ts b/x-pack/plugins/enterprise_search/server/routes/workplace_search/oauth.test.ts index b239377f6469d..ab9d5e20cfe92 100644 --- a/x-pack/plugins/enterprise_search/server/routes/workplace_search/oauth.test.ts +++ b/x-pack/plugins/enterprise_search/server/routes/workplace_search/oauth.test.ts @@ -14,7 +14,7 @@ import { } from './oauth'; describe('oauth routes', () => { - describe('GET /api/workplace_search/oauth/authorize', () => { + describe('GET /internal/workplace_search/oauth/authorize', () => { let mockRouter: MockRouter; beforeEach(() => { @@ -22,7 +22,7 @@ describe('oauth routes', () => { mockRouter = new MockRouter({ method: 'get', - path: '/api/workplace_search/oauth/authorize', + path: '/internal/workplace_search/oauth/authorize', }); registerOAuthAuthorizeRoute({ @@ -59,7 +59,7 @@ describe('oauth routes', () => { }); }); - describe('POST /api/workplace_search/oauth/authorize', () => { + describe('POST /internal/workplace_search/oauth/authorize', () => { let mockRouter: MockRouter; beforeEach(() => { @@ -67,7 +67,7 @@ describe('oauth routes', () => { mockRouter = new MockRouter({ method: 'post', - path: '/api/workplace_search/oauth/authorize', + path: '/internal/workplace_search/oauth/authorize', }); registerOAuthAuthorizeAcceptRoute({ @@ -100,7 +100,7 @@ describe('oauth routes', () => { }); }); - describe('DELETE /api/workplace_search/oauth/authorize', () => { + describe('DELETE /internal/workplace_search/oauth/authorize', () => { let mockRouter: MockRouter; beforeEach(() => { @@ -108,7 +108,7 @@ describe('oauth routes', () => { mockRouter = new MockRouter({ method: 'delete', - path: '/api/workplace_search/oauth/authorize', + path: '/internal/workplace_search/oauth/authorize', }); registerOAuthAuthorizeDenyRoute({ diff --git a/x-pack/plugins/enterprise_search/server/routes/workplace_search/oauth.ts b/x-pack/plugins/enterprise_search/server/routes/workplace_search/oauth.ts index a94b463499981..a87d22b6b047a 100644 --- a/x-pack/plugins/enterprise_search/server/routes/workplace_search/oauth.ts +++ b/x-pack/plugins/enterprise_search/server/routes/workplace_search/oauth.ts @@ -15,7 +15,7 @@ export function registerOAuthAuthorizeRoute({ }: RouteDependencies) { router.get( { - path: '/api/workplace_search/oauth/authorize', + path: '/internal/workplace_search/oauth/authorize', validate: { query: schema.object({ access_type: schema.maybe(schema.string()), @@ -26,7 +26,7 @@ export function registerOAuthAuthorizeRoute({ response_mode: schema.maybe(schema.string()), redirect_uri: schema.maybe(schema.string()), scope: schema.maybe(schema.string()), - state: schema.maybe(schema.string()), + state: schema.nullable(schema.string()), }), }, }, @@ -42,14 +42,14 @@ export function registerOAuthAuthorizeAcceptRoute({ }: RouteDependencies) { router.post( { - path: '/api/workplace_search/oauth/authorize', + path: '/internal/workplace_search/oauth/authorize', validate: { body: schema.object({ client_id: schema.string(), response_type: schema.string(), redirect_uri: schema.maybe(schema.string()), scope: schema.maybe(schema.string()), - state: schema.maybe(schema.string()), + state: schema.nullable(schema.string()), }), }, }, @@ -65,14 +65,14 @@ export function registerOAuthAuthorizeDenyRoute({ }: RouteDependencies) { router.delete( { - path: '/api/workplace_search/oauth/authorize', + path: '/internal/workplace_search/oauth/authorize', validate: { body: schema.object({ client_id: schema.string(), response_type: schema.string(), redirect_uri: schema.maybe(schema.string()), scope: schema.maybe(schema.string()), - state: schema.maybe(schema.string()), + state: schema.nullable(schema.string()), }), }, }, diff --git a/x-pack/plugins/enterprise_search/server/routes/workplace_search/overview.test.ts b/x-pack/plugins/enterprise_search/server/routes/workplace_search/overview.test.ts index bdf885648dff7..0b4010bd1a09f 100644 --- a/x-pack/plugins/enterprise_search/server/routes/workplace_search/overview.test.ts +++ b/x-pack/plugins/enterprise_search/server/routes/workplace_search/overview.test.ts @@ -10,14 +10,14 @@ import { MockRouter, mockRequestHandler, mockDependencies } from '../../__mocks_ import { registerOverviewRoute } from './overview'; describe('Overview route', () => { - describe('GET /api/workplace_search/overview', () => { + describe('GET /internal/workplace_search/overview', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/workplace_search/overview', + path: '/internal/workplace_search/overview', }); registerOverviewRoute({ diff --git a/x-pack/plugins/enterprise_search/server/routes/workplace_search/overview.ts b/x-pack/plugins/enterprise_search/server/routes/workplace_search/overview.ts index 6a601da6427e7..74185439c2f37 100644 --- a/x-pack/plugins/enterprise_search/server/routes/workplace_search/overview.ts +++ b/x-pack/plugins/enterprise_search/server/routes/workplace_search/overview.ts @@ -13,7 +13,7 @@ export function registerOverviewRoute({ }: RouteDependencies) { router.get( { - path: '/api/workplace_search/overview', + path: '/internal/workplace_search/overview', validate: false, }, enterpriseSearchRequestHandler.createRequest({ diff --git a/x-pack/plugins/enterprise_search/server/routes/workplace_search/role_mappings.test.ts b/x-pack/plugins/enterprise_search/server/routes/workplace_search/role_mappings.test.ts index ef8f1bd63f5d3..4130a6ba12097 100644 --- a/x-pack/plugins/enterprise_search/server/routes/workplace_search/role_mappings.test.ts +++ b/x-pack/plugins/enterprise_search/server/routes/workplace_search/role_mappings.test.ts @@ -15,14 +15,14 @@ import { } from './role_mappings'; describe('role mappings routes', () => { - describe('POST /api/workplace_search/org/role_mappings/enable_role_based_access', () => { + describe('POST /internal/workplace_search/org/role_mappings/enable_role_based_access', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'post', - path: '/api/workplace_search/org/role_mappings/enable_role_based_access', + path: '/internal/workplace_search/org/role_mappings/enable_role_based_access', }); registerOrgEnableRoleMappingsRoute({ @@ -38,14 +38,14 @@ describe('role mappings routes', () => { }); }); - describe('GET /api/workplace_search/org/role_mappings', () => { + describe('GET /internal/workplace_search/org/role_mappings', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/workplace_search/org/role_mappings', + path: '/internal/workplace_search/org/role_mappings', }); registerOrgRoleMappingsRoute({ @@ -61,14 +61,14 @@ describe('role mappings routes', () => { }); }); - describe('POST /api/workplace_search/org/role_mappings', () => { + describe('POST /internal/workplace_search/org/role_mappings', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'post', - path: '/api/workplace_search/org/role_mappings', + path: '/internal/workplace_search/org/role_mappings', }); registerOrgRoleMappingsRoute({ @@ -84,14 +84,14 @@ describe('role mappings routes', () => { }); }); - describe('PUT /api/workplace_search/org/role_mappings/{id}', () => { + describe('PUT /internal/workplace_search/org/role_mappings/{id}', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'put', - path: '/api/workplace_search/org/role_mappings/{id}', + path: '/internal/workplace_search/org/role_mappings/{id}', }); registerOrgRoleMappingRoute({ @@ -107,14 +107,14 @@ describe('role mappings routes', () => { }); }); - describe('DELETE /api/workplace_search/org/role_mappings/{id}', () => { + describe('DELETE /internal/workplace_search/org/role_mappings/{id}', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'delete', - path: '/api/workplace_search/org/role_mappings/{id}', + path: '/internal/workplace_search/org/role_mappings/{id}', }); registerOrgRoleMappingRoute({ @@ -130,14 +130,14 @@ describe('role mappings routes', () => { }); }); - describe('POST /api/workplace_search/org/single_user_role_mapping', () => { + describe('POST /internal/workplace_search/org/single_user_role_mapping', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'post', - path: '/api/workplace_search/org/single_user_role_mapping', + path: '/internal/workplace_search/org/single_user_role_mapping', }); registerOrgUserRoute({ diff --git a/x-pack/plugins/enterprise_search/server/routes/workplace_search/role_mappings.ts b/x-pack/plugins/enterprise_search/server/routes/workplace_search/role_mappings.ts index e6f4919ed2a2f..a08ffb2109683 100644 --- a/x-pack/plugins/enterprise_search/server/routes/workplace_search/role_mappings.ts +++ b/x-pack/plugins/enterprise_search/server/routes/workplace_search/role_mappings.ts @@ -23,7 +23,7 @@ export function registerOrgEnableRoleMappingsRoute({ }: RouteDependencies) { router.post( { - path: '/api/workplace_search/org/role_mappings/enable_role_based_access', + path: '/internal/workplace_search/org/role_mappings/enable_role_based_access', validate: false, }, enterpriseSearchRequestHandler.createRequest({ @@ -38,7 +38,7 @@ export function registerOrgRoleMappingsRoute({ }: RouteDependencies) { router.get( { - path: '/api/workplace_search/org/role_mappings', + path: '/internal/workplace_search/org/role_mappings', validate: false, }, enterpriseSearchRequestHandler.createRequest({ @@ -48,7 +48,7 @@ export function registerOrgRoleMappingsRoute({ router.post( { - path: '/api/workplace_search/org/role_mappings', + path: '/internal/workplace_search/org/role_mappings', validate: { body: schema.object(roleMappingBaseSchema), }, @@ -65,7 +65,7 @@ export function registerOrgRoleMappingRoute({ }: RouteDependencies) { router.put( { - path: '/api/workplace_search/org/role_mappings/{id}', + path: '/internal/workplace_search/org/role_mappings/{id}', validate: { body: schema.object(roleMappingBaseSchema), params: schema.object({ @@ -80,7 +80,7 @@ export function registerOrgRoleMappingRoute({ router.delete( { - path: '/api/workplace_search/org/role_mappings/{id}', + path: '/internal/workplace_search/org/role_mappings/{id}', validate: { params: schema.object({ id: schema.string(), @@ -99,7 +99,7 @@ export function registerOrgUserRoute({ }: RouteDependencies) { router.post( { - path: '/api/workplace_search/org/single_user_role_mapping', + path: '/internal/workplace_search/org/single_user_role_mapping', validate: { body: schema.object({ roleMapping: schema.object({ diff --git a/x-pack/plugins/enterprise_search/server/routes/workplace_search/security.test.ts b/x-pack/plugins/enterprise_search/server/routes/workplace_search/security.test.ts index a1615499c56a2..744f0e689cd82 100644 --- a/x-pack/plugins/enterprise_search/server/routes/workplace_search/security.test.ts +++ b/x-pack/plugins/enterprise_search/server/routes/workplace_search/security.test.ts @@ -10,7 +10,7 @@ import { MockRouter, mockRequestHandler, mockDependencies } from '../../__mocks_ import { registerSecurityRoute, registerSecuritySourceRestrictionsRoute } from './security'; describe('security routes', () => { - describe('GET /api/workplace_search/org/security', () => { + describe('GET /internal/workplace_search/org/security', () => { let mockRouter: MockRouter; beforeEach(() => { @@ -18,7 +18,7 @@ describe('security routes', () => { mockRouter = new MockRouter({ method: 'get', - path: '/api/workplace_search/org/security', + path: '/internal/workplace_search/org/security', }); registerSecurityRoute({ @@ -36,7 +36,7 @@ describe('security routes', () => { }); }); - describe('GET /api/workplace_search/org/security/source_restrictions', () => { + describe('GET /internal/workplace_search/org/security/source_restrictions', () => { let mockRouter: MockRouter; beforeEach(() => { @@ -44,7 +44,7 @@ describe('security routes', () => { mockRouter = new MockRouter({ method: 'get', - path: '/api/workplace_search/org/security/source_restrictions', + path: '/internal/workplace_search/org/security/source_restrictions', }); registerSecuritySourceRestrictionsRoute({ @@ -62,7 +62,7 @@ describe('security routes', () => { }); }); - describe('PATCH /api/workplace_search/org/security/source_restrictions', () => { + describe('PATCH /internal/workplace_search/org/security/source_restrictions', () => { let mockRouter: MockRouter; beforeEach(() => { @@ -70,7 +70,7 @@ describe('security routes', () => { mockRouter = new MockRouter({ method: 'patch', - path: '/api/workplace_search/org/security/source_restrictions', + path: '/internal/workplace_search/org/security/source_restrictions', }); registerSecuritySourceRestrictionsRoute({ diff --git a/x-pack/plugins/enterprise_search/server/routes/workplace_search/security.ts b/x-pack/plugins/enterprise_search/server/routes/workplace_search/security.ts index b823ca796175e..7c9bf7f462a06 100644 --- a/x-pack/plugins/enterprise_search/server/routes/workplace_search/security.ts +++ b/x-pack/plugins/enterprise_search/server/routes/workplace_search/security.ts @@ -15,7 +15,7 @@ export function registerSecurityRoute({ }: RouteDependencies) { router.get( { - path: '/api/workplace_search/org/security', + path: '/internal/workplace_search/org/security', validate: false, }, enterpriseSearchRequestHandler.createRequest({ @@ -30,7 +30,7 @@ export function registerSecuritySourceRestrictionsRoute({ }: RouteDependencies) { router.get( { - path: '/api/workplace_search/org/security/source_restrictions', + path: '/internal/workplace_search/org/security/source_restrictions', validate: false, }, enterpriseSearchRequestHandler.createRequest({ @@ -40,7 +40,7 @@ export function registerSecuritySourceRestrictionsRoute({ router.patch( { - path: '/api/workplace_search/org/security/source_restrictions', + path: '/internal/workplace_search/org/security/source_restrictions', validate: { body: schema.object({ isEnabled: schema.boolean(), diff --git a/x-pack/plugins/enterprise_search/server/routes/workplace_search/settings.test.ts b/x-pack/plugins/enterprise_search/server/routes/workplace_search/settings.test.ts index 858bd71c50c44..205b7b244ab45 100644 --- a/x-pack/plugins/enterprise_search/server/routes/workplace_search/settings.test.ts +++ b/x-pack/plugins/enterprise_search/server/routes/workplace_search/settings.test.ts @@ -15,14 +15,14 @@ import { } from './settings'; describe('settings routes', () => { - describe('GET /api/workplace_search/org/settings', () => { + describe('GET /internal/workplace_search/org/settings', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/workplace_search/org/settings', + path: '/internal/workplace_search/org/settings', }); registerOrgSettingsRoute({ @@ -38,14 +38,14 @@ describe('settings routes', () => { }); }); - describe('PUT /api/workplace_search/org/settings/customize', () => { + describe('PUT /internal/workplace_search/org/settings/customize', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'put', - path: '/api/workplace_search/org/settings/customize', + path: '/internal/workplace_search/org/settings/customize', }); registerOrgSettingsCustomizeRoute({ @@ -68,14 +68,14 @@ describe('settings routes', () => { }); }); - describe('PUT /api/workplace_search/org/settings/upload_images', () => { + describe('PUT /internal/workplace_search/org/settings/upload_images', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'put', - path: '/api/workplace_search/org/settings/upload_images', + path: '/internal/workplace_search/org/settings/upload_images', }); registerOrgSettingsUploadImagesRoute({ @@ -98,14 +98,14 @@ describe('settings routes', () => { }); }); - describe('PUT /api/workplace_search/org/settings/oauth_application', () => { + describe('PUT /internal/workplace_search/org/settings/oauth_application', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'put', - path: '/api/workplace_search/org/settings/oauth_application', + path: '/internal/workplace_search/org/settings/oauth_application', }); registerOrgSettingsOauthApplicationRoute({ diff --git a/x-pack/plugins/enterprise_search/server/routes/workplace_search/settings.ts b/x-pack/plugins/enterprise_search/server/routes/workplace_search/settings.ts index 83b633a61ba59..5a2a5309ee35d 100644 --- a/x-pack/plugins/enterprise_search/server/routes/workplace_search/settings.ts +++ b/x-pack/plugins/enterprise_search/server/routes/workplace_search/settings.ts @@ -17,7 +17,7 @@ export function registerOrgSettingsRoute({ }: RouteDependencies) { router.get( { - path: '/api/workplace_search/org/settings', + path: '/internal/workplace_search/org/settings', validate: false, }, enterpriseSearchRequestHandler.createRequest({ @@ -32,7 +32,7 @@ export function registerOrgSettingsCustomizeRoute({ }: RouteDependencies) { router.put( { - path: '/api/workplace_search/org/settings/customize', + path: '/internal/workplace_search/org/settings/customize', validate: { body: schema.object({ name: schema.string(), @@ -51,7 +51,7 @@ export function registerOrgSettingsUploadImagesRoute({ }: RouteDependencies) { router.put( { - path: '/api/workplace_search/org/settings/upload_images', + path: '/internal/workplace_search/org/settings/upload_images', validate: { body: schema.object({ logo: schema.maybe(schema.nullable(schema.string())), @@ -76,7 +76,7 @@ export function registerOrgSettingsOauthApplicationRoute({ }: RouteDependencies) { router.put( { - path: '/api/workplace_search/org/settings/oauth_application', + path: '/internal/workplace_search/org/settings/oauth_application', validate: { body: schema.object({ oauth_application: schema.object({ diff --git a/x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.test.ts b/x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.test.ts index a68a7716933f8..706bc8a4853a7 100644 --- a/x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.test.ts +++ b/x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.test.ts @@ -56,14 +56,14 @@ const mockConfig = { }; describe('sources routes', () => { - describe('GET /api/workplace_search/account/sources', () => { + describe('GET /internal/workplace_search/account/sources', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/workplace_search/account/sources', + path: '/internal/workplace_search/account/sources', }); registerAccountSourcesRoute({ @@ -79,14 +79,14 @@ describe('sources routes', () => { }); }); - describe('GET /api/workplace_search/account/sources/status', () => { + describe('GET /internal/workplace_search/account/sources/status', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/workplace_search/account/sources/status', + path: '/internal/workplace_search/account/sources/status', }); registerAccountSourcesStatusRoute({ @@ -102,14 +102,14 @@ describe('sources routes', () => { }); }); - describe('GET /api/workplace_search/account/sources/{id}', () => { + describe('GET /internal/workplace_search/account/sources/{id}', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/workplace_search/account/sources/{id}', + path: '/internal/workplace_search/account/sources/{id}', }); registerAccountSourceRoute({ @@ -125,14 +125,14 @@ describe('sources routes', () => { }); }); - describe('DELETE /api/workplace_search/account/sources/{id}', () => { + describe('DELETE /internal/workplace_search/account/sources/{id}', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'delete', - path: '/api/workplace_search/account/sources/{id}', + path: '/internal/workplace_search/account/sources/{id}', }); registerAccountSourceRoute({ @@ -148,14 +148,14 @@ describe('sources routes', () => { }); }); - describe('POST /api/workplace_search/account/create_source', () => { + describe('POST /internal/workplace_search/account/create_source', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'post', - path: '/api/workplace_search/account/create_source', + path: '/internal/workplace_search/account/create_source', }); registerAccountCreateSourceRoute({ @@ -187,14 +187,14 @@ describe('sources routes', () => { }); }); - describe('POST /api/workplace_search/account/sources/{id}/documents', () => { + describe('POST /internal/workplace_search/account/sources/{id}/documents', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'post', - path: '/api/workplace_search/account/sources/{id}/documents', + path: '/internal/workplace_search/account/sources/{id}/documents', }); registerAccountSourceDocumentsRoute({ @@ -227,14 +227,14 @@ describe('sources routes', () => { }); }); - describe('GET /api/workplace_search/account/sources/{id}/federated_summary', () => { + describe('GET /internal/workplace_search/account/sources/{id}/federated_summary', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/workplace_search/account/sources/{id}/federated_summary', + path: '/internal/workplace_search/account/sources/{id}/federated_summary', }); registerAccountSourceFederatedSummaryRoute({ @@ -250,14 +250,14 @@ describe('sources routes', () => { }); }); - describe('GET /api/workplace_search/account/sources/{id}/reauth_prepare', () => { + describe('GET /internal/workplace_search/account/sources/{id}/reauth_prepare', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/workplace_search/account/sources/{id}/reauth_prepare', + path: '/internal/workplace_search/account/sources/{id}/reauth_prepare', }); registerAccountSourceReauthPrepareRoute({ @@ -273,14 +273,14 @@ describe('sources routes', () => { }); }); - describe('PATCH /api/workplace_search/account/sources/{id}/settings', () => { + describe('PATCH /internal/workplace_search/account/sources/{id}/settings', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'patch', - path: '/api/workplace_search/account/sources/{id}/settings', + path: '/internal/workplace_search/account/sources/{id}/settings', }); registerAccountSourceSettingsRoute({ @@ -309,14 +309,14 @@ describe('sources routes', () => { }); }); - describe('GET /api/workplace_search/account/pre_sources/{id}', () => { + describe('GET /internal/workplace_search/account/pre_sources/{id}', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/workplace_search/account/pre_sources/{id}', + path: '/internal/workplace_search/account/pre_sources/{id}', }); registerAccountPreSourceRoute({ @@ -332,14 +332,14 @@ describe('sources routes', () => { }); }); - describe('GET /api/workplace_search/account/sources/{serviceType}/prepare', () => { + describe('GET /internal/workplace_search/account/sources/{serviceType}/prepare', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/workplace_search/account/sources/{serviceType}/prepare', + path: '/internal/workplace_search/account/sources/{serviceType}/prepare', }); registerAccountPrepareSourcesRoute({ @@ -355,14 +355,14 @@ describe('sources routes', () => { }); }); - describe('PUT /api/workplace_search/account/sources/{id}/searchable', () => { + describe('PUT /internal/workplace_search/account/sources/{id}/searchable', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'put', - path: '/api/workplace_search/account/sources/{id}/searchable', + path: '/internal/workplace_search/account/sources/{id}/searchable', }); registerAccountSourceSearchableRoute({ @@ -389,14 +389,14 @@ describe('sources routes', () => { }); }); - describe('GET /api/workplace_search/account/sources/{id}/display_settings/config', () => { + describe('GET /internal/workplace_search/account/sources/{id}/display_settings/config', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/workplace_search/account/sources/{id}/display_settings/config', + path: '/internal/workplace_search/account/sources/{id}/display_settings/config', }); registerAccountSourceDisplaySettingsConfig({ @@ -412,14 +412,14 @@ describe('sources routes', () => { }); }); - describe('POST /api/workplace_search/account/sources/{id}/display_settings/config', () => { + describe('POST /internal/workplace_search/account/sources/{id}/display_settings/config', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'post', - path: '/api/workplace_search/account/sources/{id}/display_settings/config', + path: '/internal/workplace_search/account/sources/{id}/display_settings/config', }); registerAccountSourceDisplaySettingsConfig({ @@ -455,14 +455,14 @@ describe('sources routes', () => { }); }); - describe('GET /api/workplace_search/account/sources/{id}/schemas', () => { + describe('GET /internal/workplace_search/account/sources/{id}/schemas', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/workplace_search/account/sources/{id}/schemas', + path: '/internal/workplace_search/account/sources/{id}/schemas', }); registerAccountSourceSchemasRoute({ @@ -478,14 +478,14 @@ describe('sources routes', () => { }); }); - describe('POST /api/workplace_search/account/sources/{id}/schemas', () => { + describe('POST /internal/workplace_search/account/sources/{id}/schemas', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'post', - path: '/api/workplace_search/account/sources/{id}/schemas', + path: '/internal/workplace_search/account/sources/{id}/schemas', }); registerAccountSourceSchemasRoute({ @@ -508,14 +508,14 @@ describe('sources routes', () => { }); }); - describe('GET /api/workplace_search/account/sources/{sourceId}/reindex_job/{jobId}', () => { + describe('GET /internal/workplace_search/account/sources/{sourceId}/reindex_job/{jobId}', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/workplace_search/account/sources/{sourceId}/reindex_job/{jobId}', + path: '/internal/workplace_search/account/sources/{sourceId}/reindex_job/{jobId}', }); registerAccountSourceReindexJobRoute({ @@ -540,14 +540,14 @@ describe('sources routes', () => { }); }); - describe('GET /api/workplace_search/account/sources/{sourceId}/download_diagnostics', () => { + describe('GET /internal/workplace_search/account/sources/{sourceId}/download_diagnostics', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/workplace_search/account/sources/{sourceId}/download_diagnostics', + path: '/internal/workplace_search/account/sources/{sourceId}/download_diagnostics', }); registerAccountSourceDownloadDiagnosticsRoute({ @@ -564,14 +564,14 @@ describe('sources routes', () => { }); }); - describe('GET /api/workplace_search/org/sources', () => { + describe('GET /internal/workplace_search/org/sources', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/workplace_search/org/sources', + path: '/internal/workplace_search/org/sources', }); registerOrgSourcesRoute({ @@ -587,14 +587,14 @@ describe('sources routes', () => { }); }); - describe('GET /api/workplace_search/org/sources/status', () => { + describe('GET /internal/workplace_search/org/sources/status', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/workplace_search/org/sources/status', + path: '/internal/workplace_search/org/sources/status', }); registerOrgSourcesStatusRoute({ @@ -610,14 +610,14 @@ describe('sources routes', () => { }); }); - describe('GET /api/workplace_search/org/sources/{id}', () => { + describe('GET /internal/workplace_search/org/sources/{id}', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/workplace_search/org/sources/{id}', + path: '/internal/workplace_search/org/sources/{id}', }); registerOrgSourceRoute({ @@ -633,14 +633,14 @@ describe('sources routes', () => { }); }); - describe('DELETE /api/workplace_search/org/sources/{id}', () => { + describe('DELETE /internal/workplace_search/org/sources/{id}', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'delete', - path: '/api/workplace_search/org/sources/{id}', + path: '/internal/workplace_search/org/sources/{id}', }); registerOrgSourceRoute({ @@ -656,14 +656,14 @@ describe('sources routes', () => { }); }); - describe('POST /api/workplace_search/org/create_source', () => { + describe('POST /internal/workplace_search/org/create_source', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'post', - path: '/api/workplace_search/org/create_source', + path: '/internal/workplace_search/org/create_source', }); registerOrgCreateSourceRoute({ @@ -695,14 +695,14 @@ describe('sources routes', () => { }); }); - describe('POST /api/workplace_search/org/sources/{id}/documents', () => { + describe('POST /internal/workplace_search/org/sources/{id}/documents', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'post', - path: '/api/workplace_search/org/sources/{id}/documents', + path: '/internal/workplace_search/org/sources/{id}/documents', }); registerOrgSourceDocumentsRoute({ @@ -735,14 +735,14 @@ describe('sources routes', () => { }); }); - describe('GET /api/workplace_search/org/sources/{id}/federated_summary', () => { + describe('GET /internal/workplace_search/org/sources/{id}/federated_summary', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/workplace_search/org/sources/{id}/federated_summary', + path: '/internal/workplace_search/org/sources/{id}/federated_summary', }); registerOrgSourceFederatedSummaryRoute({ @@ -758,14 +758,14 @@ describe('sources routes', () => { }); }); - describe('GET /api/workplace_search/org/sources/{id}/reauth_prepare', () => { + describe('GET /internal/workplace_search/org/sources/{id}/reauth_prepare', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/workplace_search/org/sources/{id}/reauth_prepare', + path: '/internal/workplace_search/org/sources/{id}/reauth_prepare', }); registerOrgSourceReauthPrepareRoute({ @@ -781,14 +781,14 @@ describe('sources routes', () => { }); }); - describe('PATCH /api/workplace_search/org/sources/{id}/settings', () => { + describe('PATCH /internal/workplace_search/org/sources/{id}/settings', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'patch', - path: '/api/workplace_search/org/sources/{id}/settings', + path: '/internal/workplace_search/org/sources/{id}/settings', }); registerOrgSourceSettingsRoute({ @@ -817,14 +817,14 @@ describe('sources routes', () => { }); }); - describe('GET /api/workplace_search/org/pre_sources/{id}', () => { + describe('GET /internal/workplace_search/org/pre_sources/{id}', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/workplace_search/org/pre_sources/{id}', + path: '/internal/workplace_search/org/pre_sources/{id}', }); registerOrgPreSourceRoute({ @@ -840,14 +840,14 @@ describe('sources routes', () => { }); }); - describe('GET /api/workplace_search/org/sources/{serviceType}/prepare', () => { + describe('GET /internal/workplace_search/org/sources/{serviceType}/prepare', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/workplace_search/org/sources/{serviceType}/prepare', + path: '/internal/workplace_search/org/sources/{serviceType}/prepare', }); registerOrgPrepareSourcesRoute({ @@ -863,14 +863,14 @@ describe('sources routes', () => { }); }); - describe('PUT /api/workplace_search/org/sources/{id}/searchable', () => { + describe('PUT /internal/workplace_search/org/sources/{id}/searchable', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'put', - path: '/api/workplace_search/org/sources/{id}/searchable', + path: '/internal/workplace_search/org/sources/{id}/searchable', }); registerOrgSourceSearchableRoute({ @@ -897,14 +897,14 @@ describe('sources routes', () => { }); }); - describe('GET /api/workplace_search/org/sources/{id}/display_settings/config', () => { + describe('GET /internal/workplace_search/org/sources/{id}/display_settings/config', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/workplace_search/org/sources/{id}/display_settings/config', + path: '/internal/workplace_search/org/sources/{id}/display_settings/config', }); registerOrgSourceDisplaySettingsConfig({ @@ -920,14 +920,14 @@ describe('sources routes', () => { }); }); - describe('POST /api/workplace_search/org/sources/{id}/display_settings/config', () => { + describe('POST /internal/workplace_search/org/sources/{id}/display_settings/config', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'post', - path: '/api/workplace_search/org/sources/{id}/display_settings/config', + path: '/internal/workplace_search/org/sources/{id}/display_settings/config', }); registerOrgSourceDisplaySettingsConfig({ @@ -963,14 +963,14 @@ describe('sources routes', () => { }); }); - describe('GET /api/workplace_search/org/sources/{id}/schemas', () => { + describe('GET /internal/workplace_search/org/sources/{id}/schemas', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/workplace_search/org/sources/{id}/schemas', + path: '/internal/workplace_search/org/sources/{id}/schemas', }); registerOrgSourceSchemasRoute({ @@ -986,14 +986,14 @@ describe('sources routes', () => { }); }); - describe('POST /api/workplace_search/org/sources/{id}/schemas', () => { + describe('POST /internal/workplace_search/org/sources/{id}/schemas', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'post', - path: '/api/workplace_search/org/sources/{id}/schemas', + path: '/internal/workplace_search/org/sources/{id}/schemas', }); registerOrgSourceSchemasRoute({ @@ -1016,14 +1016,14 @@ describe('sources routes', () => { }); }); - describe('GET /api/workplace_search/org/sources/{sourceId}/reindex_job/{jobId}', () => { + describe('GET /internal/workplace_search/org/sources/{sourceId}/reindex_job/{jobId}', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/workplace_search/org/sources/{sourceId}/reindex_job/{jobId}', + path: '/internal/workplace_search/org/sources/{sourceId}/reindex_job/{jobId}', }); registerOrgSourceReindexJobRoute({ @@ -1039,14 +1039,14 @@ describe('sources routes', () => { }); }); - describe('GET /api/workplace_search/org/sources/{sourceId}/download_diagnostics', () => { + describe('GET /internal/workplace_search/org/sources/{sourceId}/download_diagnostics', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/workplace_search/org/sources/{sourceId}/download_diagnostics', + path: '/internal/workplace_search/org/sources/{sourceId}/download_diagnostics', }); registerOrgSourceDownloadDiagnosticsRoute({ @@ -1063,14 +1063,14 @@ describe('sources routes', () => { }); }); - describe('GET /api/workplace_search/org/settings/connectors', () => { + describe('GET /internal/workplace_search/org/settings/connectors', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/workplace_search/org/settings/connectors', + path: '/internal/workplace_search/org/settings/connectors', }); registerOrgSourceOauthConfigurationsRoute({ @@ -1086,14 +1086,14 @@ describe('sources routes', () => { }); }); - describe('POST /api/workplace_search/org/settings/connectors', () => { + describe('POST /internal/workplace_search/org/settings/connectors', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'post', - path: '/api/workplace_search/org/settings/connectors', + path: '/internal/workplace_search/org/settings/connectors', }); registerOrgSourceOauthConfigurationsRoute({ @@ -1116,14 +1116,14 @@ describe('sources routes', () => { }); }); - describe('PUT /api/workplace_search/org/settings/connectors', () => { + describe('PUT /internal/workplace_search/org/settings/connectors', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'put', - path: '/api/workplace_search/org/settings/connectors', + path: '/internal/workplace_search/org/settings/connectors', }); registerOrgSourceOauthConfigurationsRoute({ @@ -1146,14 +1146,14 @@ describe('sources routes', () => { }); }); - describe('GET /api/workplace_search/org/settings/connectors/{serviceType}', () => { + describe('GET /internal/workplace_search/org/settings/connectors/{serviceType}', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/workplace_search/org/settings/connectors/{serviceType}', + path: '/internal/workplace_search/org/settings/connectors/{serviceType}', }); registerOrgSourceOauthConfigurationRoute({ @@ -1169,14 +1169,14 @@ describe('sources routes', () => { }); }); - describe('POST /api/workplace_search/org/settings/connectors/{serviceType}', () => { + describe('POST /internal/workplace_search/org/settings/connectors/{serviceType}', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'post', - path: '/api/workplace_search/org/settings/connectors/{serviceType}', + path: '/internal/workplace_search/org/settings/connectors/{serviceType}', }); registerOrgSourceOauthConfigurationRoute({ @@ -1199,14 +1199,14 @@ describe('sources routes', () => { }); }); - describe('PUT /api/workplace_search/org/settings/connectors/{serviceType}', () => { + describe('PUT /internal/workplace_search/org/settings/connectors/{serviceType}', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'put', - path: '/api/workplace_search/org/settings/connectors/{serviceType}', + path: '/internal/workplace_search/org/settings/connectors/{serviceType}', }); registerOrgSourceOauthConfigurationRoute({ @@ -1229,14 +1229,14 @@ describe('sources routes', () => { }); }); - describe('DELETE /api/workplace_search/org/settings/connectors/{serviceType}', () => { + describe('DELETE /internal/workplace_search/org/settings/connectors/{serviceType}', () => { let mockRouter: MockRouter; beforeEach(() => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'delete', - path: '/api/workplace_search/org/settings/connectors/{serviceType}', + path: '/internal/workplace_search/org/settings/connectors/{serviceType}', }); registerOrgSourceOauthConfigurationRoute({ @@ -1252,7 +1252,7 @@ describe('sources routes', () => { }); }); - describe('GET /api/workplace_search/sources/create', () => { + describe('GET /internal/workplace_search/sources/create', () => { const tokenPackage = 'some_encrypted_secrets'; const mockRequest = { @@ -1268,7 +1268,7 @@ describe('sources routes', () => { jest.clearAllMocks(); mockRouter = new MockRouter({ method: 'get', - path: '/api/workplace_search/sources/create', + path: '/internal/workplace_search/sources/create', }); registerOauthConnectorParamsRoute({ diff --git a/x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts b/x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts index cb56f54a1df6a..28a5d621b117c 100644 --- a/x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts +++ b/x-pack/plugins/enterprise_search/server/routes/workplace_search/sources.ts @@ -89,7 +89,7 @@ export function registerAccountSourcesRoute({ }: RouteDependencies) { router.get( { - path: '/api/workplace_search/account/sources', + path: '/internal/workplace_search/account/sources', validate: false, }, enterpriseSearchRequestHandler.createRequest({ @@ -104,7 +104,7 @@ export function registerAccountSourcesStatusRoute({ }: RouteDependencies) { router.get( { - path: '/api/workplace_search/account/sources/status', + path: '/internal/workplace_search/account/sources/status', validate: false, }, enterpriseSearchRequestHandler.createRequest({ @@ -119,7 +119,7 @@ export function registerAccountSourceRoute({ }: RouteDependencies) { router.get( { - path: '/api/workplace_search/account/sources/{id}', + path: '/internal/workplace_search/account/sources/{id}', validate: { params: schema.object({ id: schema.string(), @@ -133,7 +133,7 @@ export function registerAccountSourceRoute({ router.delete( { - path: '/api/workplace_search/account/sources/{id}', + path: '/internal/workplace_search/account/sources/{id}', validate: { params: schema.object({ id: schema.string(), @@ -152,7 +152,7 @@ export function registerAccountCreateSourceRoute({ }: RouteDependencies) { router.post( { - path: '/api/workplace_search/account/create_source', + path: '/internal/workplace_search/account/create_source', validate: { body: schema.object({ service_type: schema.string(), @@ -176,7 +176,7 @@ export function registerAccountSourceDocumentsRoute({ }: RouteDependencies) { router.post( { - path: '/api/workplace_search/account/sources/{id}/documents', + path: '/internal/workplace_search/account/sources/{id}/documents', validate: { body: schema.object({ query: schema.string(), @@ -199,7 +199,7 @@ export function registerAccountSourceFederatedSummaryRoute({ }: RouteDependencies) { router.get( { - path: '/api/workplace_search/account/sources/{id}/federated_summary', + path: '/internal/workplace_search/account/sources/{id}/federated_summary', validate: { params: schema.object({ id: schema.string(), @@ -218,7 +218,7 @@ export function registerAccountSourceReauthPrepareRoute({ }: RouteDependencies) { router.get( { - path: '/api/workplace_search/account/sources/{id}/reauth_prepare', + path: '/internal/workplace_search/account/sources/{id}/reauth_prepare', validate: { params: schema.object({ id: schema.string(), @@ -240,7 +240,7 @@ export function registerAccountSourceSettingsRoute({ }: RouteDependencies) { router.patch( { - path: '/api/workplace_search/account/sources/{id}/settings', + path: '/internal/workplace_search/account/sources/{id}/settings', validate: { body: sourceSettingsSchema, params: schema.object({ @@ -260,7 +260,7 @@ export function registerAccountPreSourceRoute({ }: RouteDependencies) { router.get( { - path: '/api/workplace_search/account/pre_sources/{id}', + path: '/internal/workplace_search/account/pre_sources/{id}', validate: { params: schema.object({ id: schema.string(), @@ -279,7 +279,7 @@ export function registerAccountPrepareSourcesRoute({ }: RouteDependencies) { router.get( { - path: '/api/workplace_search/account/sources/{serviceType}/prepare', + path: '/internal/workplace_search/account/sources/{serviceType}/prepare', validate: { params: schema.object({ serviceType: schema.string(), @@ -302,7 +302,7 @@ export function registerAccountSourceSearchableRoute({ }: RouteDependencies) { router.put( { - path: '/api/workplace_search/account/sources/{id}/searchable', + path: '/internal/workplace_search/account/sources/{id}/searchable', validate: { body: schema.object({ searchable: schema.boolean(), @@ -324,7 +324,7 @@ export function registerAccountSourceDisplaySettingsConfig({ }: RouteDependencies) { router.get( { - path: '/api/workplace_search/account/sources/{id}/display_settings/config', + path: '/internal/workplace_search/account/sources/{id}/display_settings/config', validate: { params: schema.object({ id: schema.string(), @@ -338,7 +338,7 @@ export function registerAccountSourceDisplaySettingsConfig({ router.post( { - path: '/api/workplace_search/account/sources/{id}/display_settings/config', + path: '/internal/workplace_search/account/sources/{id}/display_settings/config', validate: { body: displaySettingsSchema, params: schema.object({ @@ -358,7 +358,7 @@ export function registerAccountSourceSchemasRoute({ }: RouteDependencies) { router.get( { - path: '/api/workplace_search/account/sources/{id}/schemas', + path: '/internal/workplace_search/account/sources/{id}/schemas', validate: { params: schema.object({ id: schema.string(), @@ -372,7 +372,7 @@ export function registerAccountSourceSchemasRoute({ router.post( { - path: '/api/workplace_search/account/sources/{id}/schemas', + path: '/internal/workplace_search/account/sources/{id}/schemas', validate: { body: schemaValuesSchema, params: schema.object({ @@ -392,7 +392,7 @@ export function registerAccountSourceReindexJobRoute({ }: RouteDependencies) { router.get( { - path: '/api/workplace_search/account/sources/{sourceId}/reindex_job/{jobId}', + path: '/internal/workplace_search/account/sources/{sourceId}/reindex_job/{jobId}', validate: { params: schema.object({ sourceId: schema.string(), @@ -412,7 +412,7 @@ export function registerAccountSourceDownloadDiagnosticsRoute({ }: RouteDependencies) { router.get( { - path: '/api/workplace_search/account/sources/{sourceId}/download_diagnostics', + path: '/internal/workplace_search/account/sources/{sourceId}/download_diagnostics', validate: { params: schema.object({ sourceId: schema.string(), @@ -433,7 +433,7 @@ export function registerOrgSourcesRoute({ }: RouteDependencies) { router.get( { - path: '/api/workplace_search/org/sources', + path: '/internal/workplace_search/org/sources', validate: false, }, enterpriseSearchRequestHandler.createRequest({ @@ -448,7 +448,7 @@ export function registerOrgSourcesStatusRoute({ }: RouteDependencies) { router.get( { - path: '/api/workplace_search/org/sources/status', + path: '/internal/workplace_search/org/sources/status', validate: false, }, enterpriseSearchRequestHandler.createRequest({ @@ -463,7 +463,7 @@ export function registerOrgSourceRoute({ }: RouteDependencies) { router.get( { - path: '/api/workplace_search/org/sources/{id}', + path: '/internal/workplace_search/org/sources/{id}', validate: { params: schema.object({ id: schema.string(), @@ -477,7 +477,7 @@ export function registerOrgSourceRoute({ router.delete( { - path: '/api/workplace_search/org/sources/{id}', + path: '/internal/workplace_search/org/sources/{id}', validate: { params: schema.object({ id: schema.string(), @@ -496,7 +496,7 @@ export function registerOrgCreateSourceRoute({ }: RouteDependencies) { router.post( { - path: '/api/workplace_search/org/create_source', + path: '/internal/workplace_search/org/create_source', validate: { body: schema.object({ service_type: schema.string(), @@ -520,7 +520,7 @@ export function registerOrgSourceDocumentsRoute({ }: RouteDependencies) { router.post( { - path: '/api/workplace_search/org/sources/{id}/documents', + path: '/internal/workplace_search/org/sources/{id}/documents', validate: { body: schema.object({ query: schema.string(), @@ -543,7 +543,7 @@ export function registerOrgSourceFederatedSummaryRoute({ }: RouteDependencies) { router.get( { - path: '/api/workplace_search/org/sources/{id}/federated_summary', + path: '/internal/workplace_search/org/sources/{id}/federated_summary', validate: { params: schema.object({ id: schema.string(), @@ -562,7 +562,7 @@ export function registerOrgSourceReauthPrepareRoute({ }: RouteDependencies) { router.get( { - path: '/api/workplace_search/org/sources/{id}/reauth_prepare', + path: '/internal/workplace_search/org/sources/{id}/reauth_prepare', validate: { params: schema.object({ id: schema.string(), @@ -584,7 +584,7 @@ export function registerOrgSourceSettingsRoute({ }: RouteDependencies) { router.patch( { - path: '/api/workplace_search/org/sources/{id}/settings', + path: '/internal/workplace_search/org/sources/{id}/settings', validate: { body: sourceSettingsSchema, params: schema.object({ @@ -604,7 +604,7 @@ export function registerOrgPreSourceRoute({ }: RouteDependencies) { router.get( { - path: '/api/workplace_search/org/pre_sources/{id}', + path: '/internal/workplace_search/org/pre_sources/{id}', validate: { params: schema.object({ id: schema.string(), @@ -623,7 +623,7 @@ export function registerOrgPrepareSourcesRoute({ }: RouteDependencies) { router.get( { - path: '/api/workplace_search/org/sources/{serviceType}/prepare', + path: '/internal/workplace_search/org/sources/{serviceType}/prepare', validate: { params: schema.object({ serviceType: schema.string(), @@ -647,7 +647,7 @@ export function registerOrgSourceSearchableRoute({ }: RouteDependencies) { router.put( { - path: '/api/workplace_search/org/sources/{id}/searchable', + path: '/internal/workplace_search/org/sources/{id}/searchable', validate: { body: schema.object({ searchable: schema.boolean(), @@ -669,7 +669,7 @@ export function registerOrgSourceDisplaySettingsConfig({ }: RouteDependencies) { router.get( { - path: '/api/workplace_search/org/sources/{id}/display_settings/config', + path: '/internal/workplace_search/org/sources/{id}/display_settings/config', validate: { params: schema.object({ id: schema.string(), @@ -683,7 +683,7 @@ export function registerOrgSourceDisplaySettingsConfig({ router.post( { - path: '/api/workplace_search/org/sources/{id}/display_settings/config', + path: '/internal/workplace_search/org/sources/{id}/display_settings/config', validate: { body: displaySettingsSchema, params: schema.object({ @@ -703,7 +703,7 @@ export function registerOrgSourceSchemasRoute({ }: RouteDependencies) { router.get( { - path: '/api/workplace_search/org/sources/{id}/schemas', + path: '/internal/workplace_search/org/sources/{id}/schemas', validate: { params: schema.object({ id: schema.string(), @@ -717,7 +717,7 @@ export function registerOrgSourceSchemasRoute({ router.post( { - path: '/api/workplace_search/org/sources/{id}/schemas', + path: '/internal/workplace_search/org/sources/{id}/schemas', validate: { body: schemaValuesSchema, params: schema.object({ @@ -737,7 +737,7 @@ export function registerOrgSourceReindexJobRoute({ }: RouteDependencies) { router.get( { - path: '/api/workplace_search/org/sources/{sourceId}/reindex_job/{jobId}', + path: '/internal/workplace_search/org/sources/{sourceId}/reindex_job/{jobId}', validate: { params: schema.object({ sourceId: schema.string(), @@ -757,7 +757,7 @@ export function registerOrgSourceDownloadDiagnosticsRoute({ }: RouteDependencies) { router.get( { - path: '/api/workplace_search/org/sources/{sourceId}/download_diagnostics', + path: '/internal/workplace_search/org/sources/{sourceId}/download_diagnostics', validate: { params: schema.object({ sourceId: schema.string(), @@ -777,7 +777,7 @@ export function registerOrgSourceOauthConfigurationsRoute({ }: RouteDependencies) { router.get( { - path: '/api/workplace_search/org/settings/connectors', + path: '/internal/workplace_search/org/settings/connectors', validate: false, }, enterpriseSearchRequestHandler.createRequest({ @@ -787,7 +787,7 @@ export function registerOrgSourceOauthConfigurationsRoute({ router.post( { - path: '/api/workplace_search/org/settings/connectors', + path: '/internal/workplace_search/org/settings/connectors', validate: { body: oauthConfigSchema, }, @@ -799,7 +799,7 @@ export function registerOrgSourceOauthConfigurationsRoute({ router.put( { - path: '/api/workplace_search/org/settings/connectors', + path: '/internal/workplace_search/org/settings/connectors', validate: { body: oauthConfigSchema, }, @@ -816,7 +816,7 @@ export function registerOrgSourceOauthConfigurationRoute({ }: RouteDependencies) { router.get( { - path: '/api/workplace_search/org/settings/connectors/{serviceType}', + path: '/internal/workplace_search/org/settings/connectors/{serviceType}', validate: { params: schema.object({ serviceType: schema.string(), @@ -830,7 +830,7 @@ export function registerOrgSourceOauthConfigurationRoute({ router.post( { - path: '/api/workplace_search/org/settings/connectors/{serviceType}', + path: '/internal/workplace_search/org/settings/connectors/{serviceType}', validate: { params: schema.object({ serviceType: schema.string(), @@ -845,7 +845,7 @@ export function registerOrgSourceOauthConfigurationRoute({ router.put( { - path: '/api/workplace_search/org/settings/connectors/{serviceType}', + path: '/internal/workplace_search/org/settings/connectors/{serviceType}', validate: { params: schema.object({ serviceType: schema.string(), @@ -860,7 +860,7 @@ export function registerOrgSourceOauthConfigurationRoute({ router.delete( { - path: '/api/workplace_search/org/settings/connectors/{serviceType}', + path: '/internal/workplace_search/org/settings/connectors/{serviceType}', validate: { params: schema.object({ serviceType: schema.string(), @@ -880,7 +880,7 @@ export function registerOauthConnectorParamsRoute({ }: RouteDependencies) { router.get( { - path: '/api/workplace_search/sources/create', + path: '/internal/workplace_search/sources/create', validate: { query: schema.object({ kibana_host: schema.string(), diff --git a/x-pack/plugins/event_log/jest.config.js b/x-pack/plugins/event_log/jest.config.js index de892b297deb9..c8bf86db09e0f 100644 --- a/x-pack/plugins/event_log/jest.config.js +++ b/x-pack/plugins/event_log/jest.config.js @@ -9,4 +9,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/x-pack/plugins/event_log'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/event_log', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/x-pack/plugins/event_log/{common,server}/**/*.{ts,tsx}'], }; diff --git a/x-pack/plugins/event_log/server/es/cluster_client_adapter.mock.ts b/x-pack/plugins/event_log/server/es/cluster_client_adapter.mock.ts index 8a33342e71d02..667512ea13f65 100644 --- a/x-pack/plugins/event_log/server/es/cluster_client_adapter.mock.ts +++ b/x-pack/plugins/event_log/server/es/cluster_client_adapter.mock.ts @@ -17,6 +17,12 @@ const createClusterClientMock = () => { createIndexTemplate: jest.fn(), doesAliasExist: jest.fn(), createIndex: jest.fn(), + getExistingLegacyIndexTemplates: jest.fn(), + setLegacyIndexTemplateToHidden: jest.fn(), + getExistingIndices: jest.fn(), + setIndexToHidden: jest.fn(), + getExistingIndexAliases: jest.fn(), + setIndexAliasToHidden: jest.fn(), queryEventsBySavedObjects: jest.fn(), shutdown: jest.fn(), }; diff --git a/x-pack/plugins/event_log/server/es/cluster_client_adapter.test.ts b/x-pack/plugins/event_log/server/es/cluster_client_adapter.test.ts index ef43b9081f9ec..f4140298928b6 100644 --- a/x-pack/plugins/event_log/server/es/cluster_client_adapter.test.ts +++ b/x-pack/plugins/event_log/server/es/cluster_client_adapter.test.ts @@ -16,7 +16,7 @@ import { findOptionsSchema } from '../event_log_client'; import { delay } from '../lib/delay'; import { times } from 'lodash'; import { DeeplyMockedKeys } from '@kbn/utility-types/jest'; -import { RequestEvent } from '@elastic/elasticsearch'; +import { estypes, RequestEvent } from '@elastic/elasticsearch'; type MockedLogger = ReturnType; @@ -215,22 +215,39 @@ describe('doesIndexTemplateExist', () => { }); }); - test('should return true when call cluster returns true', async () => { + test('should return true when call cluster to legacy template API returns true', async () => { clusterClient.indices.existsTemplate.mockResolvedValue(asApiResponse(true)); + clusterClient.indices.existsIndexTemplate.mockResolvedValue(asApiResponse(false)); await expect(clusterClientAdapter.doesIndexTemplateExist('foo')).resolves.toEqual(true); }); - test('should return false when call cluster returns false', async () => { + test('should return true when call cluster to index template API returns true', async () => { clusterClient.indices.existsTemplate.mockResolvedValue(asApiResponse(false)); + clusterClient.indices.existsIndexTemplate.mockResolvedValue(asApiResponse(true)); + await expect(clusterClientAdapter.doesIndexTemplateExist('foo')).resolves.toEqual(true); + }); + + test('should return false when both call cluster calls returns false', async () => { + clusterClient.indices.existsTemplate.mockResolvedValue(asApiResponse(false)); + clusterClient.indices.existsIndexTemplate.mockResolvedValue(asApiResponse(false)); await expect(clusterClientAdapter.doesIndexTemplateExist('foo')).resolves.toEqual(false); }); - test('should throw error when call cluster throws an error', async () => { + test('should throw error when call cluster to legacy template API throws an error', async () => { clusterClient.indices.existsTemplate.mockRejectedValue(new Error('Fail')); await expect( clusterClientAdapter.doesIndexTemplateExist('foo') ).rejects.toThrowErrorMatchingInlineSnapshot( - `"error checking existance of index template: Fail"` + `"error checking existence of index template: Fail"` + ); + }); + + test('should throw error when call cluster to index template API throws an error', async () => { + clusterClient.indices.existsIndexTemplate.mockRejectedValue(new Error('Fail')); + await expect( + clusterClientAdapter.doesIndexTemplateExist('foo') + ).rejects.toThrowErrorMatchingInlineSnapshot( + `"error checking existence of index template: Fail"` ); }); }); @@ -238,7 +255,7 @@ describe('doesIndexTemplateExist', () => { describe('createIndexTemplate', () => { test('should call cluster with given template', async () => { await clusterClientAdapter.createIndexTemplate('foo', { args: true }); - expect(clusterClient.indices.putTemplate).toHaveBeenCalledWith({ + expect(clusterClient.indices.putIndexTemplate).toHaveBeenCalledWith({ name: 'foo', create: true, body: { args: true }, @@ -246,20 +263,274 @@ describe('createIndexTemplate', () => { }); test(`should throw error if index template still doesn't exist after error is thrown`, async () => { - clusterClient.indices.putTemplate.mockRejectedValueOnce(new Error('Fail')); + clusterClient.indices.putIndexTemplate.mockRejectedValueOnce(new Error('Fail')); clusterClient.indices.existsTemplate.mockResolvedValueOnce(asApiResponse(false)); + clusterClient.indices.existsIndexTemplate.mockResolvedValueOnce(asApiResponse(false)); await expect( clusterClientAdapter.createIndexTemplate('foo', { args: true }) ).rejects.toThrowErrorMatchingInlineSnapshot(`"error creating index template: Fail"`); }); test('should not throw error if index template exists after error is thrown', async () => { - clusterClient.indices.putTemplate.mockRejectedValueOnce(new Error('Fail')); + clusterClient.indices.putIndexTemplate.mockRejectedValueOnce(new Error('Fail')); clusterClient.indices.existsTemplate.mockResolvedValueOnce(asApiResponse(true)); await clusterClientAdapter.createIndexTemplate('foo', { args: true }); }); }); +describe('getExistingLegacyIndexTemplates', () => { + test('should call cluster with given index template pattern', async () => { + await clusterClientAdapter.getExistingLegacyIndexTemplates('foo*'); + expect(clusterClient.indices.getTemplate).toHaveBeenCalledWith( + { + name: 'foo*', + }, + { ignore: [404] } + ); + }); + + test('should return templates when found', async () => { + const response = { + 'foo-bar-template': { + order: 0, + index_patterns: ['foo-bar-*'], + settings: { index: { number_of_shards: '1' } }, + mappings: { dynamic: false, properties: {} }, + aliases: {}, + }, + }; + clusterClient.indices.getTemplate.mockResolvedValue( + asApiResponse(response) + ); + await expect(clusterClientAdapter.getExistingLegacyIndexTemplates('foo*')).resolves.toEqual( + response + ); + }); + + test('should throw error when call cluster throws an error', async () => { + clusterClient.indices.getTemplate.mockRejectedValue(new Error('Fail')); + await expect( + clusterClientAdapter.getExistingLegacyIndexTemplates('foo*') + ).rejects.toThrowErrorMatchingInlineSnapshot( + `"error getting existing legacy index templates: Fail"` + ); + }); +}); + +describe('setLegacyIndexTemplateToHidden', () => { + test('should call cluster with given index template name and template', async () => { + const currentTemplate = { + order: 0, + index_patterns: ['foo-bar-*'], + settings: { index: { number_of_shards: '1' } }, + mappings: { dynamic: false, properties: {} }, + aliases: {}, + }; + await clusterClientAdapter.setLegacyIndexTemplateToHidden('foo-bar-template', currentTemplate); + expect(clusterClient.indices.putTemplate).toHaveBeenCalledWith({ + name: 'foo-bar-template', + body: { + order: 0, + index_patterns: ['foo-bar-*'], + settings: { index: { number_of_shards: '1' }, 'index.hidden': true }, + mappings: { dynamic: false, properties: {} }, + aliases: {}, + }, + }); + }); + + test('should throw error when call cluster throws an error', async () => { + clusterClient.indices.putTemplate.mockRejectedValue(new Error('Fail')); + await expect( + clusterClientAdapter.setLegacyIndexTemplateToHidden('foo-bar-template', { + aliases: {}, + index_patterns: [], + mappings: {}, + order: 0, + settings: {}, + }) + ).rejects.toThrowErrorMatchingInlineSnapshot( + `"error setting existing legacy index template foo-bar-template to hidden: Fail"` + ); + }); +}); + +describe('getExistingIndices', () => { + test('should call cluster with given index pattern', async () => { + await clusterClientAdapter.getExistingIndices('foo*'); + expect(clusterClient.indices.getSettings).toHaveBeenCalledWith( + { + index: 'foo*', + }, + { ignore: [404] } + ); + }); + + test('should return indices when found', async () => { + const response = { + 'foo-bar-000001': { + settings: { + index: { + number_of_shards: 1, + uuid: 'Ure4d9edQbCMtcmyy0ObrA', + }, + }, + }, + }; + clusterClient.indices.getSettings.mockResolvedValue( + asApiResponse(response) + ); + await expect(clusterClientAdapter.getExistingIndices('foo*')).resolves.toEqual(response); + }); + + test('should throw error when call cluster throws an error', async () => { + clusterClient.indices.getSettings.mockRejectedValue(new Error('Fail')); + await expect( + clusterClientAdapter.getExistingIndices('foo*') + ).rejects.toThrowErrorMatchingInlineSnapshot( + `"error getting existing indices matching pattern foo*: Fail"` + ); + }); +}); + +describe('setIndexToHidden', () => { + test('should call cluster with given index name', async () => { + await clusterClientAdapter.setIndexToHidden('foo-bar-000001'); + expect(clusterClient.indices.putSettings).toHaveBeenCalledWith({ + index: 'foo-bar-000001', + body: { + settings: { + 'index.hidden': true, + }, + }, + }); + }); + + test('should throw error when call cluster throws an error', async () => { + clusterClient.indices.putSettings.mockRejectedValue(new Error('Fail')); + await expect( + clusterClientAdapter.setIndexToHidden('foo-bar-000001') + ).rejects.toThrowErrorMatchingInlineSnapshot( + `"error setting existing index foo-bar-000001 to hidden: Fail"` + ); + }); +}); + +describe('getExistingIndexAliases', () => { + test('should call cluster with given index pattern', async () => { + await clusterClientAdapter.getExistingIndexAliases('foo*'); + expect(clusterClient.indices.getAlias).toHaveBeenCalledWith( + { + index: 'foo*', + }, + { ignore: [404] } + ); + }); + + test('should return aliases when found', async () => { + const response = { + 'foo-bar-000001': { + aliases: { + 'foo-bar': { + is_write_index: true, + }, + }, + }, + }; + clusterClient.indices.getAlias.mockResolvedValue( + asApiResponse(response) + ); + await expect(clusterClientAdapter.getExistingIndexAliases('foo*')).resolves.toEqual(response); + }); + + test('should throw error when call cluster throws an error', async () => { + clusterClient.indices.getAlias.mockRejectedValue(new Error('Fail')); + await expect( + clusterClientAdapter.getExistingIndexAliases('foo*') + ).rejects.toThrowErrorMatchingInlineSnapshot( + `"error getting existing index aliases matching pattern foo*: Fail"` + ); + }); +}); + +describe('setIndexAliasToHidden', () => { + test('should call cluster with given index name and aliases', async () => { + await clusterClientAdapter.setIndexAliasToHidden('foo-bar-000001', { + aliases: { + 'foo-bar': { + is_write_index: true, + }, + }, + }); + expect(clusterClient.indices.updateAliases).toHaveBeenCalledWith({ + body: { + actions: [ + { + add: { + index: 'foo-bar-000001', + alias: 'foo-bar', + is_hidden: true, + is_write_index: true, + }, + }, + ], + }, + }); + }); + + test('should update multiple aliases at once and preserve existing alias settings', async () => { + await clusterClientAdapter.setIndexAliasToHidden('foo-bar-000001', { + aliases: { + 'foo-bar': { + is_write_index: true, + }, + 'foo-b': { + index_routing: 'index', + routing: 'route', + }, + }, + }); + expect(clusterClient.indices.updateAliases).toHaveBeenCalledWith({ + body: { + actions: [ + { + add: { + index: 'foo-bar-000001', + alias: 'foo-bar', + is_hidden: true, + is_write_index: true, + }, + }, + { + add: { + index: 'foo-bar-000001', + alias: 'foo-b', + is_hidden: true, + index_routing: 'index', + routing: 'route', + }, + }, + ], + }, + }); + }); + + test('should throw error when call cluster throws an error', async () => { + clusterClient.indices.updateAliases.mockRejectedValue(new Error('Fail')); + await expect( + clusterClientAdapter.setIndexAliasToHidden('foo-bar-000001', { + aliases: { + 'foo-bar': { + is_write_index: true, + }, + }, + }) + ).rejects.toThrowErrorMatchingInlineSnapshot( + `"error setting existing index aliases for index foo-bar-000001 to is_hidden: Fail"` + ); + }); +}); + describe('doesAliasExist', () => { test('should call cluster with proper arguments', async () => { await clusterClientAdapter.doesAliasExist('foo'); diff --git a/x-pack/plugins/event_log/server/es/cluster_client_adapter.ts b/x-pack/plugins/event_log/server/es/cluster_client_adapter.ts index 47bd29cf4b08a..7eb3328dddb6b 100644 --- a/x-pack/plugins/event_log/server/es/cluster_client_adapter.ts +++ b/x-pack/plugins/event_log/server/es/cluster_client_adapter.ts @@ -7,7 +7,7 @@ import { Subject } from 'rxjs'; import { bufferTime, filter as rxFilter, switchMap } from 'rxjs/operators'; -import { reject, isUndefined, isNumber } from 'lodash'; +import { reject, isUndefined, isNumber, pick } from 'lodash'; import type { PublicMethodsOf } from '@kbn/utility-types'; import { Logger, ElasticsearchClient } from 'src/core/server'; import util from 'util'; @@ -163,17 +163,23 @@ export class ClusterClientAdapter { try { const esClient = await this.elasticsearchClientPromise; - const { body } = await esClient.indices.existsTemplate({ name }); - return body as boolean; + const { body: legacyResult } = await esClient.indices.existsTemplate({ name }); + const { body: indexTemplateResult } = await esClient.indices.existsIndexTemplate({ name }); + return (legacyResult as boolean) || (indexTemplateResult as boolean); } catch (err) { - throw new Error(`error checking existance of index template: ${err.message}`); + throw new Error(`error checking existence of index template: ${err.message}`); } } public async createIndexTemplate(name: string, template: Record): Promise { try { const esClient = await this.elasticsearchClientPromise; - await esClient.indices.putTemplate({ name, body: template, create: true }); + await esClient.indices.putIndexTemplate({ + name, + body: template, + // @ts-expect-error doesn't exist in @elastic/elasticsearch + create: true, + }); } catch (err) { // The error message doesn't have a type attribute we can look to guarantee it's due // to the template already existing (only long message) so we'll check ourselves to see @@ -188,6 +194,128 @@ export class ClusterClientAdapter { + try { + const esClient = await this.elasticsearchClientPromise; + const { body: templates } = await esClient.indices.getTemplate( + { name: indexTemplatePattern }, + { ignore: [404] } + ); + return templates; + } catch (err) { + throw new Error(`error getting existing legacy index templates: ${err.message}`); + } + } + + public async setLegacyIndexTemplateToHidden( + indexTemplateName: string, + currentIndexTemplate: estypes.IndicesTemplateMapping + ): Promise { + try { + const esClient = await this.elasticsearchClientPromise; + await esClient.indices.putTemplate({ + name: indexTemplateName, + body: { + ...currentIndexTemplate, + settings: { + ...currentIndexTemplate.settings, + 'index.hidden': true, + }, + }, + }); + } catch (err) { + throw new Error( + `error setting existing legacy index template ${indexTemplateName} to hidden: ${err.message}` + ); + } + } + + public async getExistingIndices( + indexPattern: string + ): Promise { + try { + const esClient = await this.elasticsearchClientPromise; + const { body: indexSettings } = await esClient.indices.getSettings( + { index: indexPattern }, + { ignore: [404] } + ); + return indexSettings; + } catch (err) { + throw new Error( + `error getting existing indices matching pattern ${indexPattern}: ${err.message}` + ); + } + } + + public async setIndexToHidden(indexName: string): Promise { + try { + const esClient = await this.elasticsearchClientPromise; + await esClient.indices.putSettings({ + index: indexName, + body: { + settings: { + 'index.hidden': true, + }, + }, + }); + } catch (err) { + throw new Error(`error setting existing index ${indexName} to hidden: ${err.message}`); + } + } + + public async getExistingIndexAliases( + indexPattern: string + ): Promise { + try { + const esClient = await this.elasticsearchClientPromise; + const { body: indexAliases } = await esClient.indices.getAlias( + { index: indexPattern }, + { ignore: [404] } + ); + return indexAliases; + } catch (err) { + throw new Error( + `error getting existing index aliases matching pattern ${indexPattern}: ${err.message}` + ); + } + } + + public async setIndexAliasToHidden( + indexName: string, + currentAliases: estypes.IndicesGetAliasIndexAliases + ): Promise { + try { + const esClient = await this.elasticsearchClientPromise; + await esClient.indices.updateAliases({ + body: { + actions: Object.keys(currentAliases.aliases).map((aliasName) => { + const existingAliasOptions = pick(currentAliases.aliases[aliasName], [ + 'is_write_index', + 'filter', + 'index_routing', + 'routing', + 'search_routing', + ]); + return { + add: { + ...existingAliasOptions, + index: indexName, + alias: aliasName, + is_hidden: true, + }, + }; + }), + }, + }); + } catch (err) { + throw new Error( + `error setting existing index aliases for index ${indexName} to is_hidden: ${err.message}` + ); + } + } + public async doesAliasExist(name: string): Promise { try { const esClient = await this.elasticsearchClientPromise; diff --git a/x-pack/plugins/event_log/server/es/context.test.ts b/x-pack/plugins/event_log/server/es/context.test.ts index 9589ab3c4aebf..0fe63ffb6217a 100644 --- a/x-pack/plugins/event_log/server/es/context.test.ts +++ b/x-pack/plugins/event_log/server/es/context.test.ts @@ -64,6 +64,7 @@ describe('createEsContext', () => { elasticsearchClientPromise: Promise.resolve(elasticsearchClient), }); elasticsearchClient.indices.existsTemplate.mockResolvedValue(asApiResponse(false)); + elasticsearchClient.indices.existsIndexTemplate.mockResolvedValue(asApiResponse(false)); elasticsearchClient.indices.existsAlias.mockResolvedValue(asApiResponse(false)); const doesAliasExist = await context.esAdapter.doesAliasExist(context.esNames.alias); expect(doesAliasExist).toBeFalsy(); diff --git a/x-pack/plugins/event_log/server/es/documents.test.ts b/x-pack/plugins/event_log/server/es/documents.test.ts index 121fcc42f37e4..6df5a1334f167 100644 --- a/x-pack/plugins/event_log/server/es/documents.test.ts +++ b/x-pack/plugins/event_log/server/es/documents.test.ts @@ -25,10 +25,11 @@ describe('getIndexTemplate()', () => { test('returns the correct details of the index template', () => { const indexTemplate = getIndexTemplate(esNames); expect(indexTemplate.index_patterns).toEqual([esNames.indexPatternWithVersion]); - expect(indexTemplate.settings.number_of_shards).toBeGreaterThanOrEqual(0); - expect(indexTemplate.settings.auto_expand_replicas).toBe('0-1'); - expect(indexTemplate.settings['index.lifecycle.name']).toBe(esNames.ilmPolicy); - expect(indexTemplate.settings['index.lifecycle.rollover_alias']).toBe(esNames.alias); - expect(indexTemplate.mappings).toMatchObject({}); + expect(indexTemplate.template.settings.number_of_shards).toBeGreaterThanOrEqual(0); + expect(indexTemplate.template.settings.auto_expand_replicas).toBe('0-1'); + expect(indexTemplate.template.settings['index.lifecycle.name']).toBe(esNames.ilmPolicy); + expect(indexTemplate.template.settings['index.lifecycle.rollover_alias']).toBe(esNames.alias); + expect(indexTemplate.template.settings['index.hidden']).toBe(true); + expect(indexTemplate.template.mappings).toMatchObject({}); }); }); diff --git a/x-pack/plugins/event_log/server/es/documents.ts b/x-pack/plugins/event_log/server/es/documents.ts index 8594fca603d18..c4ffda5f51ebe 100644 --- a/x-pack/plugins/event_log/server/es/documents.ts +++ b/x-pack/plugins/event_log/server/es/documents.ts @@ -12,13 +12,16 @@ import mappings from '../../generated/mappings.json'; export function getIndexTemplate(esNames: EsNames) { const indexTemplateBody = { index_patterns: [esNames.indexPatternWithVersion], - settings: { - number_of_shards: 1, - auto_expand_replicas: '0-1', - 'index.lifecycle.name': esNames.ilmPolicy, - 'index.lifecycle.rollover_alias': esNames.alias, + template: { + settings: { + number_of_shards: 1, + auto_expand_replicas: '0-1', + 'index.lifecycle.name': esNames.ilmPolicy, + 'index.lifecycle.rollover_alias': esNames.alias, + 'index.hidden': true, + }, + mappings, }, - mappings, }; return indexTemplateBody; diff --git a/x-pack/plugins/event_log/server/es/init.test.ts b/x-pack/plugins/event_log/server/es/init.test.ts index 074ceea1f4a24..bfdf0c17e5035 100644 --- a/x-pack/plugins/event_log/server/es/init.test.ts +++ b/x-pack/plugins/event_log/server/es/init.test.ts @@ -13,6 +13,327 @@ describe('initializeEs', () => { beforeEach(() => { esContext = contextMock.create(); + esContext.esAdapter.getExistingLegacyIndexTemplates.mockResolvedValue({}); + esContext.esAdapter.getExistingIndices.mockResolvedValue({}); + esContext.esAdapter.getExistingIndexAliases.mockResolvedValue({}); + }); + + test(`should update existing index templates if any exist and are not hidden`, async () => { + const testTemplate = { + order: 0, + index_patterns: ['foo-bar-*'], + settings: { + index: { + lifecycle: { + name: 'foo-bar-policy', + rollover_alias: 'foo-bar-1', + }, + number_of_shards: '1', + auto_expand_replicas: '0-1', + }, + }, + mappings: {}, + aliases: {}, + }; + esContext.esAdapter.getExistingLegacyIndexTemplates.mockResolvedValue({ + 'foo-bar-template': testTemplate, + }); + + await initializeEs(esContext); + expect(esContext.esAdapter.getExistingLegacyIndexTemplates).toHaveBeenCalled(); + expect(esContext.esAdapter.setLegacyIndexTemplateToHidden).toHaveBeenCalledWith( + 'foo-bar-template', + testTemplate + ); + }); + + test(`should not update existing index templates if any exist and are already hidden`, async () => { + const testTemplate = { + order: 0, + index_patterns: ['foo-bar-*'], + settings: { + index: { + lifecycle: { + name: 'foo-bar-policy', + rollover_alias: 'foo-bar-1', + }, + hidden: 'true', + number_of_shards: '1', + auto_expand_replicas: '0-1', + }, + }, + mappings: {}, + aliases: {}, + }; + esContext.esAdapter.getExistingLegacyIndexTemplates.mockResolvedValue({ + 'foo-bar-template': testTemplate, + }); + + await initializeEs(esContext); + expect(esContext.esAdapter.getExistingLegacyIndexTemplates).toHaveBeenCalled(); + expect(esContext.esAdapter.setLegacyIndexTemplateToHidden).not.toHaveBeenCalled(); + }); + + test(`should continue initialization if getting existing index templates throws an error`, async () => { + esContext.esAdapter.getExistingLegacyIndexTemplates.mockRejectedValue(new Error('Fail')); + + await initializeEs(esContext); + expect(esContext.esAdapter.getExistingLegacyIndexTemplates).toHaveBeenCalled(); + expect(esContext.logger.error).toHaveBeenCalledWith( + `error getting existing index templates - Fail` + ); + expect(esContext.esAdapter.setLegacyIndexTemplateToHidden).not.toHaveBeenCalled(); + expect(esContext.esAdapter.doesIlmPolicyExist).toHaveBeenCalled(); + }); + + test(`should continue initialization if updating existing index templates throws an error`, async () => { + const testTemplate = { + order: 0, + index_patterns: ['foo-bar-*'], + settings: { + index: { + lifecycle: { + name: 'foo-bar-policy', + rollover_alias: 'foo-bar-1', + }, + number_of_shards: '1', + auto_expand_replicas: '0-1', + }, + }, + mappings: {}, + aliases: {}, + }; + esContext.esAdapter.getExistingLegacyIndexTemplates.mockResolvedValue({ + 'foo-bar-template': testTemplate, + 'another-test-template': testTemplate, + }); + esContext.esAdapter.setLegacyIndexTemplateToHidden.mockRejectedValueOnce(new Error('Fail')); + esContext.esAdapter.setLegacyIndexTemplateToHidden.mockResolvedValueOnce(); + + await initializeEs(esContext); + expect(esContext.esAdapter.getExistingLegacyIndexTemplates).toHaveBeenCalled(); + expect(esContext.esAdapter.setLegacyIndexTemplateToHidden).toHaveBeenCalledWith( + 'foo-bar-template', + testTemplate + ); + expect(esContext.esAdapter.setLegacyIndexTemplateToHidden).toHaveBeenCalledWith( + 'another-test-template', + testTemplate + ); + expect(esContext.logger.error).toHaveBeenCalledTimes(1); + expect(esContext.logger.error).toHaveBeenCalledWith( + `error setting existing \"foo-bar-template\" index template to hidden - Fail` + ); + expect(esContext.esAdapter.doesIlmPolicyExist).toHaveBeenCalled(); + }); + + test(`should update existing index settings if any exist and are not hidden`, async () => { + const testSettings = { + settings: { + index: { + lifecycle: { + name: 'foo-bar-policy', + rollover_alias: 'foo-bar-1', + }, + routing: { + allocation: { + include: { + _tier_preference: 'data_content', + }, + }, + }, + number_of_shards: '1', + auto_expand_replicas: '0-1', + provided_name: '.kibana-event-log-7.15.0-000001', + creation_date: '1630439186791', + number_of_replicas: '0', + uuid: 'Ure4d9edQbCMtcmyy0ObrA', + version: { + created: '7150099', + }, + }, + }, + }; + esContext.esAdapter.getExistingIndices.mockResolvedValue({ + 'foo-bar-000001': testSettings, + }); + + await initializeEs(esContext); + expect(esContext.esAdapter.getExistingIndices).toHaveBeenCalled(); + expect(esContext.esAdapter.setIndexToHidden).toHaveBeenCalledWith('foo-bar-000001'); + }); + + test(`should not update existing index settings if any exist and are already hidden`, async () => { + const testSettings = { + settings: { + index: { + lifecycle: { + name: 'foo-bar-policy', + rollover_alias: 'foo-bar-1', + }, + routing: { + allocation: { + include: { + _tier_preference: 'data_content', + }, + }, + }, + hidden: 'true', + number_of_shards: '1', + auto_expand_replicas: '0-1', + provided_name: '.kibana-event-log-7.15.0-000001', + creation_date: '1630439186791', + number_of_replicas: '0', + uuid: 'Ure4d9edQbCMtcmyy0ObrA', + version: { + created: '7150099', + }, + }, + }, + }; + esContext.esAdapter.getExistingIndices.mockResolvedValue({ + 'foo-bar-000001': testSettings, + }); + + await initializeEs(esContext); + expect(esContext.esAdapter.getExistingIndices).toHaveBeenCalled(); + expect(esContext.esAdapter.setIndexToHidden).not.toHaveBeenCalled(); + }); + + test(`should continue initialization if getting existing index settings throws an error`, async () => { + esContext.esAdapter.getExistingIndices.mockRejectedValue(new Error('Fail')); + + await initializeEs(esContext); + expect(esContext.esAdapter.getExistingIndices).toHaveBeenCalled(); + expect(esContext.logger.error).toHaveBeenCalledWith(`error getting existing indices - Fail`); + expect(esContext.esAdapter.setIndexToHidden).not.toHaveBeenCalled(); + expect(esContext.esAdapter.doesIlmPolicyExist).toHaveBeenCalled(); + }); + + test(`should continue initialization if updating existing index settings throws an error`, async () => { + const testSettings = { + settings: { + index: { + lifecycle: { + name: 'foo-bar-policy', + rollover_alias: 'foo-bar-1', + }, + routing: { + allocation: { + include: { + _tier_preference: 'data_content', + }, + }, + }, + number_of_shards: '1', + auto_expand_replicas: '0-1', + provided_name: '.kibana-event-log-7.15.0-000001', + creation_date: '1630439186791', + number_of_replicas: '0', + uuid: 'Ure4d9edQbCMtcmyy0ObrA', + version: { + created: '7150099', + }, + }, + }, + }; + esContext.esAdapter.getExistingIndices.mockResolvedValue({ + 'foo-bar-000001': testSettings, + 'foo-bar-000002': testSettings, + }); + + esContext.esAdapter.setIndexToHidden.mockRejectedValueOnce(new Error('Fail')); + esContext.esAdapter.setIndexToHidden.mockResolvedValueOnce(); + + await initializeEs(esContext); + expect(esContext.esAdapter.getExistingIndices).toHaveBeenCalled(); + expect(esContext.logger.error).toHaveBeenCalledTimes(1); + expect(esContext.logger.error).toHaveBeenCalledWith( + `error setting existing \"foo-bar-000001\" index to hidden - Fail` + ); + expect(esContext.esAdapter.doesIlmPolicyExist).toHaveBeenCalled(); + }); + + test(`should update existing index aliases if any exist and are not hidden`, async () => { + const testAliases = { + aliases: { + 'foo-bar': { + is_write_index: true, + }, + }, + }; + esContext.esAdapter.getExistingIndexAliases.mockResolvedValue({ + 'foo-bar-000001': testAliases, + }); + + await initializeEs(esContext); + expect(esContext.esAdapter.getExistingIndexAliases).toHaveBeenCalled(); + expect(esContext.esAdapter.setIndexAliasToHidden).toHaveBeenCalledWith( + 'foo-bar-000001', + testAliases + ); + }); + + test(`should not update existing index aliases if any exist and are already hidden`, async () => { + const testAliases = { + aliases: { + 'foo-bar': { + is_write_index: true, + is_hidden: true, + }, + }, + }; + esContext.esAdapter.getExistingIndexAliases.mockResolvedValue({ + 'foo-bar-000001': testAliases, + }); + + await initializeEs(esContext); + expect(esContext.esAdapter.getExistingIndexAliases).toHaveBeenCalled(); + expect(esContext.esAdapter.setIndexAliasToHidden).not.toHaveBeenCalled(); + }); + + test(`should continue initialization if getting existing index aliases throws an error`, async () => { + esContext.esAdapter.getExistingIndexAliases.mockRejectedValue(new Error('Fail')); + + await initializeEs(esContext); + expect(esContext.esAdapter.getExistingIndexAliases).toHaveBeenCalled(); + expect(esContext.logger.error).toHaveBeenCalledWith( + `error getting existing index aliases - Fail` + ); + expect(esContext.esAdapter.setIndexAliasToHidden).not.toHaveBeenCalled(); + expect(esContext.esAdapter.doesIlmPolicyExist).toHaveBeenCalled(); + }); + + test(`should continue initialization if updating existing index aliases throws an error`, async () => { + const testAliases = { + aliases: { + 'foo-bar': { + is_write_index: true, + }, + }, + }; + esContext.esAdapter.getExistingIndexAliases.mockResolvedValue({ + 'foo-bar-000001': testAliases, + 'foo-bar-000002': testAliases, + }); + esContext.esAdapter.setIndexAliasToHidden.mockRejectedValueOnce(new Error('Fail')); + esContext.esAdapter.setIndexAliasToHidden.mockResolvedValueOnce(); + + await initializeEs(esContext); + expect(esContext.esAdapter.getExistingIndexAliases).toHaveBeenCalled(); + expect(esContext.esAdapter.setIndexAliasToHidden).toHaveBeenCalledWith( + 'foo-bar-000001', + testAliases + ); + expect(esContext.esAdapter.setIndexAliasToHidden).toHaveBeenCalledWith( + 'foo-bar-000002', + testAliases + ); + expect(esContext.logger.error).toHaveBeenCalledTimes(1); + expect(esContext.logger.error).toHaveBeenCalledWith( + `error setting existing \"foo-bar-000001\" index aliases - Fail` + ); + expect(esContext.esAdapter.doesIlmPolicyExist).toHaveBeenCalled(); }); test(`should create ILM policy if it doesn't exist`, async () => { diff --git a/x-pack/plugins/event_log/server/es/init.ts b/x-pack/plugins/event_log/server/es/init.ts index 484dfdc95a72c..e2769e39b28ff 100644 --- a/x-pack/plugins/event_log/server/es/init.ts +++ b/x-pack/plugins/event_log/server/es/init.ts @@ -5,6 +5,8 @@ * 2.0. */ +import { IndicesAlias, IndicesIndexStatePrefixedSettings } from '@elastic/elasticsearch/api/types'; +import { estypes } from '@elastic/elasticsearch'; import { getIlmPolicy, getIndexTemplate } from './documents'; import { EsContext } from './context'; @@ -25,6 +27,7 @@ export async function initializeEs(esContext: EsContext): Promise { async function initializeEsResources(esContext: EsContext) { const steps = new EsInitializationSteps(esContext); + await steps.setExistingAssetsToHidden(); await steps.createIlmPolicyIfNotExists(); await steps.createIndexTemplateIfNotExists(); await steps.createInitialIndexIfNotExists(); @@ -35,6 +38,122 @@ class EsInitializationSteps { this.esContext = esContext; } + async setExistingIndexTemplatesToHidden() { + let indexTemplates: estypes.IndicesGetTemplateResponse = {}; + try { + // look up existing index templates and update index.hidden to true if that + // setting is currently false or undefined + + // since we are updating to the new index template API and converting new event log + // indices to hidden in the same PR, we only need to use the legacy template API to + // look for and update existing event log indices. + indexTemplates = await this.esContext.esAdapter.getExistingLegacyIndexTemplates( + this.esContext.esNames.indexPattern + ); + } catch (err) { + // errors when trying to get existing index templates + // should not block the rest of initialization, log the error and move on + this.esContext.logger.error(`error getting existing index templates - ${err.message}`); + } + + Object.keys(indexTemplates).forEach(async (indexTemplateName: string) => { + try { + const hidden: string | boolean = indexTemplates[indexTemplateName]?.settings?.index?.hidden; + // Check to see if this index template is hidden + if (hidden !== true && hidden !== 'true') { + this.esContext.logger.debug( + `setting existing "${indexTemplateName}" index template to hidden.` + ); + + await this.esContext.esAdapter.setLegacyIndexTemplateToHidden( + indexTemplateName, + indexTemplates[indexTemplateName] + ); + } + } catch (err) { + // errors when trying to update existing index templates to hidden + // should not block the rest of initialization, log the error and move on + this.esContext.logger.error( + `error setting existing "${indexTemplateName}" index template to hidden - ${err.message}` + ); + } + }); + } + + async setExistingIndicesToHidden() { + let indices: estypes.IndicesGetSettingsResponse = {}; + try { + // look up existing indices and update index.hidden to true if that + // setting is currently false or undefined + indices = await this.esContext.esAdapter.getExistingIndices( + this.esContext.esNames.indexPattern + ); + } catch (err) { + // errors when trying to get existing indices + // should not block the rest of initialization, log the error and move on + this.esContext.logger.error(`error getting existing indices - ${err.message}`); + } + + Object.keys(indices).forEach(async (indexName: string) => { + try { + const hidden: string | boolean | undefined = (indices[indexName] + ?.settings as IndicesIndexStatePrefixedSettings)?.index?.hidden; + + // Check to see if this index template is hidden + if (hidden !== true && hidden !== 'true') { + this.esContext.logger.debug(`setting existing ${indexName} index to hidden.`); + await this.esContext.esAdapter.setIndexToHidden(indexName); + } + } catch (err) { + // errors when trying to update existing indices to hidden + // should not block the rest of initialization, log the error and move on + this.esContext.logger.error( + `error setting existing "${indexName}" index to hidden - ${err.message}` + ); + } + }); + } + + async setExistingIndexAliasesToHidden() { + let indexAliases: estypes.IndicesGetAliasResponse = {}; + try { + // Look up existing index aliases and update index.is_hidden to true if that + // setting is currently false or undefined + indexAliases = await this.esContext.esAdapter.getExistingIndexAliases( + this.esContext.esNames.indexPattern + ); + } catch (err) { + // errors when trying to get existing index aliases + // should not block the rest of initialization, log the error and move on + this.esContext.logger.error(`error getting existing index aliases - ${err.message}`); + } + Object.keys(indexAliases).forEach(async (indexName: string) => { + try { + const aliases = indexAliases[indexName]?.aliases; + const hasNotHiddenAliases: boolean = Object.keys(aliases).some((alias: string) => { + return (aliases[alias] as IndicesAlias)?.is_hidden !== true; + }); + + if (hasNotHiddenAliases) { + this.esContext.logger.debug(`setting existing "${indexName}" index aliases to hidden.`); + await this.esContext.esAdapter.setIndexAliasToHidden(indexName, indexAliases[indexName]); + } + } catch (err) { + // errors when trying to set existing index aliases to is_hidden + // should not block the rest of initialization, log the error and move on + this.esContext.logger.error( + `error setting existing "${indexName}" index aliases - ${err.message}` + ); + } + }); + } + + async setExistingAssetsToHidden(): Promise { + await this.setExistingIndexTemplatesToHidden(); + await this.setExistingIndicesToHidden(); + await this.setExistingIndexAliasesToHidden(); + } + async createIlmPolicyIfNotExists(): Promise { const exists = await this.esContext.esAdapter.doesIlmPolicyExist( this.esContext.esNames.ilmPolicy @@ -67,6 +186,7 @@ class EsInitializationSteps { aliases: { [this.esContext.esNames.alias]: { is_write_index: true, + is_hidden: true, }, }, }); diff --git a/x-pack/plugins/features/jest.config.js b/x-pack/plugins/features/jest.config.js index c39da2a15d2a2..7d333047c491f 100644 --- a/x-pack/plugins/features/jest.config.js +++ b/x-pack/plugins/features/jest.config.js @@ -9,4 +9,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/x-pack/plugins/features'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/features', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/x-pack/plugins/features/{common,public,server}/**/*.{ts,tsx}'], }; diff --git a/x-pack/plugins/features/kibana.json b/x-pack/plugins/features/kibana.json index 867f9ced7ed88..550b3899061d4 100644 --- a/x-pack/plugins/features/kibana.json +++ b/x-pack/plugins/features/kibana.json @@ -7,7 +7,6 @@ "version": "8.0.0", "kibanaVersion": "kibana", "requiredPlugins": ["licensing"], - "optionalPlugins": ["visTypeTimelion"], "configPath": ["xpack", "features"], "server": true, "ui": true, diff --git a/x-pack/plugins/features/server/__snapshots__/oss_features.test.ts.snap b/x-pack/plugins/features/server/__snapshots__/oss_features.test.ts.snap index 954701f0087f4..85eb1f5b71e71 100644 --- a/x-pack/plugins/features/server/__snapshots__/oss_features.test.ts.snap +++ b/x-pack/plugins/features/server/__snapshots__/oss_features.test.ts.snap @@ -551,7 +551,6 @@ Array [ "index-pattern", "search", "visualization", - "timelion-sheet", "canvas-workpad", "lens", "map", @@ -584,7 +583,6 @@ Array [ "index-pattern", "search", "visualization", - "timelion-sheet", "canvas-workpad", "lens", "map", @@ -857,54 +855,6 @@ Array [ ] `; -exports[`buildOSSFeatures with a basic license returns the timelion feature augmented with appropriate sub feature privileges 1`] = ` -Array [ - Object { - "privilege": Object { - "app": Array [ - "timelion", - "kibana", - ], - "catalogue": Array [ - "timelion", - ], - "savedObject": Object { - "all": Array [ - "timelion-sheet", - ], - "read": Array [ - "index-pattern", - ], - }, - "ui": Array [ - "save", - ], - }, - "privilegeId": "all", - }, - Object { - "privilege": Object { - "app": Array [ - "timelion", - "kibana", - ], - "catalogue": Array [ - "timelion", - ], - "savedObject": Object { - "all": Array [], - "read": Array [ - "index-pattern", - "timelion-sheet", - ], - }, - "ui": Array [], - }, - "privilegeId": "read", - }, -] -`; - exports[`buildOSSFeatures with a basic license returns the visualize feature augmented with appropriate sub feature privileges 1`] = ` Array [ Object { @@ -1081,7 +1031,6 @@ Array [ "index-pattern", "search", "visualization", - "timelion-sheet", "canvas-workpad", "lens", "map", @@ -1114,7 +1063,6 @@ Array [ "index-pattern", "search", "visualization", - "timelion-sheet", "canvas-workpad", "lens", "map", @@ -1387,54 +1335,6 @@ Array [ ] `; -exports[`buildOSSFeatures with a enterprise license returns the timelion feature augmented with appropriate sub feature privileges 1`] = ` -Array [ - Object { - "privilege": Object { - "app": Array [ - "timelion", - "kibana", - ], - "catalogue": Array [ - "timelion", - ], - "savedObject": Object { - "all": Array [ - "timelion-sheet", - ], - "read": Array [ - "index-pattern", - ], - }, - "ui": Array [ - "save", - ], - }, - "privilegeId": "all", - }, - Object { - "privilege": Object { - "app": Array [ - "timelion", - "kibana", - ], - "catalogue": Array [ - "timelion", - ], - "savedObject": Object { - "all": Array [], - "read": Array [ - "index-pattern", - "timelion-sheet", - ], - }, - "ui": Array [], - }, - "privilegeId": "read", - }, -] -`; - exports[`buildOSSFeatures with a enterprise license returns the visualize feature augmented with appropriate sub feature privileges 1`] = ` Array [ Object { diff --git a/x-pack/plugins/features/server/oss_features.test.ts b/x-pack/plugins/features/server/oss_features.test.ts index 39bb12d90ea1c..7a1c5951192ec 100644 --- a/x-pack/plugins/features/server/oss_features.test.ts +++ b/x-pack/plugins/features/server/oss_features.test.ts @@ -11,52 +11,10 @@ import { KibanaFeature } from '.'; import { LicenseType, LICENSE_TYPE } from '../../licensing/server'; describe('buildOSSFeatures', () => { - it('returns features including timelion', () => { - expect( - buildOSSFeatures({ - savedObjectTypes: ['foo', 'bar'], - includeTimelion: true, - includeReporting: false, - }).map((f) => f.id) - ).toMatchInlineSnapshot(` -Array [ - "discover", - "visualize", - "dashboard", - "dev_tools", - "advancedSettings", - "indexPatterns", - "savedObjectsManagement", - "timelion", -] -`); - }); - - it('returns features excluding timelion', () => { - expect( - buildOSSFeatures({ - savedObjectTypes: ['foo', 'bar'], - includeTimelion: false, - includeReporting: false, - }).map((f) => f.id) - ).toMatchInlineSnapshot(` -Array [ - "discover", - "visualize", - "dashboard", - "dev_tools", - "advancedSettings", - "indexPatterns", - "savedObjectsManagement", -] -`); - }); - it('returns features including reporting subfeatures', () => { expect( buildOSSFeatures({ savedObjectTypes: ['foo', 'bar'], - includeTimelion: false, includeReporting: true, }).map(({ id, subFeatures }) => ({ id, subFeatures })) ).toMatchSnapshot(); @@ -66,7 +24,6 @@ Array [ expect( buildOSSFeatures({ savedObjectTypes: ['foo', 'bar'], - includeTimelion: false, includeReporting: false, }).map(({ id, subFeatures }) => ({ id, subFeatures })) ).toMatchSnapshot(); @@ -74,7 +31,6 @@ Array [ const features = buildOSSFeatures({ savedObjectTypes: ['foo', 'bar'], - includeTimelion: true, includeReporting: false, }); features.forEach((featureConfig) => { diff --git a/x-pack/plugins/features/server/oss_features.ts b/x-pack/plugins/features/server/oss_features.ts index 14265948c2dee..7c8432b8d9ec7 100644 --- a/x-pack/plugins/features/server/oss_features.ts +++ b/x-pack/plugins/features/server/oss_features.ts @@ -11,13 +11,11 @@ import type { KibanaFeatureConfig, SubFeatureConfig } from '../common'; export interface BuildOSSFeaturesParams { savedObjectTypes: string[]; - includeTimelion: boolean; includeReporting: boolean; } export const buildOSSFeatures = ({ savedObjectTypes, - includeTimelion, includeReporting, }: BuildOSSFeaturesParams): KibanaFeatureConfig[] => { return [ @@ -203,7 +201,6 @@ export const buildOSSFeatures = ({ 'index-pattern', 'search', 'visualization', - 'timelion-sheet', 'canvas-workpad', 'lens', 'map', @@ -221,7 +218,6 @@ export const buildOSSFeatures = ({ 'index-pattern', 'search', 'visualization', - 'timelion-sheet', 'canvas-workpad', 'lens', 'map', @@ -450,39 +446,9 @@ export const buildOSSFeatures = ({ }, }, }, - ...(includeTimelion ? [timelionFeature] : []), ] as KibanaFeatureConfig[]; }; -const timelionFeature: KibanaFeatureConfig = { - id: 'timelion', - name: 'Timelion', - order: 350, - category: DEFAULT_APP_CATEGORIES.kibana, - app: ['timelion', 'kibana'], - catalogue: ['timelion'], - privileges: { - all: { - app: ['timelion', 'kibana'], - catalogue: ['timelion'], - savedObject: { - all: ['timelion-sheet'], - read: ['index-pattern'], - }, - ui: ['save'], - }, - read: { - app: ['timelion', 'kibana'], - catalogue: ['timelion'], - savedObject: { - all: [], - read: ['index-pattern', 'timelion-sheet'], - }, - ui: [], - }, - }, -}; - const reportingPrivilegeGroupName = i18n.translate( 'xpack.features.ossFeatures.reporting.reportingTitle', { diff --git a/x-pack/plugins/features/server/plugin.test.ts b/x-pack/plugins/features/server/plugin.test.ts index ba809187a549e..e5940bc73ae97 100644 --- a/x-pack/plugins/features/server/plugin.test.ts +++ b/x-pack/plugins/features/server/plugin.test.ts @@ -46,36 +46,7 @@ describe('Features Plugin', () => { it('returns OSS + registered kibana features', async () => { const plugin = new FeaturesPlugin(initContext); - const { registerKibanaFeature } = await plugin.setup(coreSetup, {}); - registerKibanaFeature({ - id: 'baz', - name: 'baz', - app: [], - category: { id: 'foo', label: 'foo' }, - privileges: null, - }); - - const { getKibanaFeatures } = plugin.start(coreStart); - - expect(getKibanaFeatures().map((f) => f.id)).toMatchInlineSnapshot(` - Array [ - "baz", - "discover", - "visualize", - "dashboard", - "dev_tools", - "advancedSettings", - "indexPatterns", - "savedObjectsManagement", - ] - `); - }); - - it('returns OSS + registered kibana features with timelion when available', async () => { - const plugin = new FeaturesPlugin(initContext); - const { registerKibanaFeature: registerFeature } = await plugin.setup(coreSetup, { - visTypeTimelion: { uiEnabled: true }, - }); + const { registerKibanaFeature: registerFeature } = await plugin.setup(coreSetup); registerFeature({ id: 'baz', name: 'baz', @@ -96,7 +67,6 @@ describe('Features Plugin', () => { "advancedSettings", "indexPatterns", "savedObjectsManagement", - "timelion", ] `); }); @@ -105,7 +75,7 @@ describe('Features Plugin', () => { typeRegistry.isHidden.mockReturnValueOnce(true); typeRegistry.isHidden.mockReturnValueOnce(false); const plugin = new FeaturesPlugin(initContext); - await plugin.setup(coreSetup, {}); + await plugin.setup(coreSetup); const { getKibanaFeatures } = plugin.start(coreStart); const soTypes = @@ -120,7 +90,7 @@ describe('Features Plugin', () => { it('returns registered elasticsearch features', async () => { const plugin = new FeaturesPlugin(initContext); - const { registerElasticsearchFeature } = await plugin.setup(coreSetup, {}); + const { registerElasticsearchFeature } = await plugin.setup(coreSetup); registerElasticsearchFeature({ id: 'baz', privileges: [ @@ -142,7 +112,7 @@ describe('Features Plugin', () => { it('registers a capabilities provider', async () => { const plugin = new FeaturesPlugin(initContext); - await plugin.setup(coreSetup, {}); + await plugin.setup(coreSetup); expect(coreSetup.capabilities.registerProvider).toHaveBeenCalledTimes(1); expect(coreSetup.capabilities.registerProvider).toHaveBeenCalledWith(expect.any(Function)); diff --git a/x-pack/plugins/features/server/plugin.ts b/x-pack/plugins/features/server/plugin.ts index b1f540031f6dc..c1fbc4b8a5edb 100644 --- a/x-pack/plugins/features/server/plugin.ts +++ b/x-pack/plugins/features/server/plugin.ts @@ -81,10 +81,6 @@ export interface PluginStartContract { getKibanaFeatures(): KibanaFeature[]; } -interface TimelionSetupContract { - uiEnabled: boolean; -} - /** * Represents Features Plugin instance that will be managed by the Kibana plugin system. */ @@ -93,19 +89,13 @@ export class FeaturesPlugin Plugin, RecursiveReadonly> { private readonly logger: Logger; private readonly featureRegistry: FeatureRegistry = new FeatureRegistry(); - private isTimelionEnabled: boolean = false; private isReportingEnabled: boolean = false; constructor(private readonly initializerContext: PluginInitializerContext) { this.logger = this.initializerContext.logger.get(); } - public setup( - core: CoreSetup, - { visTypeTimelion }: { visTypeTimelion?: TimelionSetupContract } - ): RecursiveReadonly { - this.isTimelionEnabled = visTypeTimelion !== undefined && visTypeTimelion.uiEnabled; - + public setup(core: CoreSetup): RecursiveReadonly { defineRoutes({ router: core.http.createRouter(), featureRegistry: this.featureRegistry, @@ -160,14 +150,8 @@ export class FeaturesPlugin new Set([...savedObjectVisibleTypes, ...savedObjectImportableAndExportableHiddenTypes]) ); - this.logger.debug( - `Registering OSS features with SO types: ${savedObjectTypes.join(', ')}. "includeTimelion": ${ - this.isTimelionEnabled - }.` - ); const features = buildOSSFeatures({ savedObjectTypes, - includeTimelion: this.isTimelionEnabled, includeReporting: this.isReportingEnabled, }); diff --git a/x-pack/plugins/file_upload/jest.config.js b/x-pack/plugins/file_upload/jest.config.js index b9a58c259b317..92b3c27c74f11 100644 --- a/x-pack/plugins/file_upload/jest.config.js +++ b/x-pack/plugins/file_upload/jest.config.js @@ -9,4 +9,9 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/x-pack/plugins/file_upload'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/file_upload', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/plugins/file_upload/{common,public,server}/**/*.{js,ts,tsx}', + ], }; diff --git a/x-pack/plugins/fleet/jest.config.js b/x-pack/plugins/fleet/jest.config.js index f55b9b45140bf..5443318d52c8d 100644 --- a/x-pack/plugins/fleet/jest.config.js +++ b/x-pack/plugins/fleet/jest.config.js @@ -9,4 +9,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/x-pack/plugins/fleet'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/fleet', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/x-pack/plugins/fleet/{common,public,server}/**/*.{ts,tsx}'], }; diff --git a/x-pack/plugins/fleet/public/components/package_policy_actions_menu.tsx b/x-pack/plugins/fleet/public/components/package_policy_actions_menu.tsx index a87cd7e39bfb2..2030f57764756 100644 --- a/x-pack/plugins/fleet/public/components/package_policy_actions_menu.tsx +++ b/x-pack/plugins/fleet/public/components/package_policy_actions_menu.tsx @@ -87,7 +87,7 @@ export const PackagePolicyActionsMenu: React.FunctionComponent<{ > , // FIXME: implement Copy package policy action diff --git a/x-pack/plugins/fleet/server/index.test.ts b/x-pack/plugins/fleet/server/index.test.ts new file mode 100644 index 0000000000000..924fecc311073 --- /dev/null +++ b/x-pack/plugins/fleet/server/index.test.ts @@ -0,0 +1,79 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { applyDeprecations, configDeprecationFactory } from '@kbn/config'; + +import { config } from '.'; + +const applyConfigDeprecations = (settings: Record = {}) => { + if (!config.deprecations) { + throw new Error('Config is not valid no deprecations'); + } + const deprecations = config.deprecations(configDeprecationFactory); + const deprecationMessages: string[] = []; + const migrated = applyDeprecations( + settings, + deprecations.map((deprecation) => ({ + deprecation, + path: '', + })), + () => ({ message }) => deprecationMessages.push(message) + ); + return { + messages: deprecationMessages, + migrated: migrated.config, + }; +}; + +describe('Config depreciation test', () => { + it('should migrate old xpack.ingestManager.fleet settings to xpack.fleet.agents', () => { + const { migrated } = applyConfigDeprecations({ + xpack: { + ingestManager: { + fleet: { enabled: true, elasticsearch: { host: 'http://testes.fr:9200' } }, + }, + }, + }); + + expect(migrated).toMatchInlineSnapshot(` + Object { + "xpack": Object { + "fleet": Object { + "agents": Object { + "elasticsearch": Object { + "hosts": Array [ + "http://testes.fr:9200", + ], + }, + "enabled": true, + }, + }, + }, + } + `); + }); + + it('should support mixing xpack.ingestManager config and xpack.fleet config', () => { + const { migrated } = applyConfigDeprecations({ + xpack: { + ingestManager: { registryUrl: 'http://registrytest.fr' }, + fleet: { registryProxyUrl: 'http://registryProxy.fr' }, + }, + }); + + expect(migrated).toMatchInlineSnapshot(` + Object { + "xpack": Object { + "fleet": Object { + "registryProxyUrl": "http://registryProxy.fr", + "registryUrl": "http://registrytest.fr", + }, + }, + } + `); + }); +}); diff --git a/x-pack/plugins/fleet/server/index.ts b/x-pack/plugins/fleet/server/index.ts index 8841c897fcb2a..21cdf659f2f5a 100644 --- a/x-pack/plugins/fleet/server/index.ts +++ b/x-pack/plugins/fleet/server/index.ts @@ -38,9 +38,37 @@ export const config: PluginConfigDescriptor = { epm: true, agents: true, }, - deprecations: ({ renameFromRoot, unused }) => [ - renameFromRoot('xpack.ingestManager', 'xpack.fleet'), - renameFromRoot('xpack.fleet.fleet', 'xpack.fleet.agents'), + deprecations: ({ renameFromRoot, unused, unusedFromRoot }) => [ + // Fleet plugin was named ingestManager before + renameFromRoot('xpack.ingestManager.enabled', 'xpack.fleet.enabled'), + renameFromRoot('xpack.ingestManager.registryUrl', 'xpack.fleet.registryUrl'), + renameFromRoot('xpack.ingestManager.registryProxyUrl', 'xpack.fleet.registryProxyUrl'), + renameFromRoot('xpack.ingestManager.fleet', 'xpack.ingestManager.agents'), + renameFromRoot('xpack.ingestManager.agents.enabled', 'xpack.fleet.agents.enabled'), + renameFromRoot('xpack.ingestManager.agents.elasticsearch', 'xpack.fleet.agents.elasticsearch'), + renameFromRoot( + 'xpack.ingestManager.agents.tlsCheckDisabled', + 'xpack.fleet.agents.tlsCheckDisabled' + ), + renameFromRoot( + 'xpack.ingestManager.agents.pollingRequestTimeout', + 'xpack.fleet.agents.pollingRequestTimeout' + ), + renameFromRoot( + 'xpack.ingestManager.agents.maxConcurrentConnections', + 'xpack.fleet.agents.maxConcurrentConnections' + ), + renameFromRoot('xpack.ingestManager.agents.kibana', 'xpack.fleet.agents.kibana'), + renameFromRoot( + 'xpack.ingestManager.agents.agentPolicyRolloutRateLimitIntervalMs', + 'xpack.fleet.agents.agentPolicyRolloutRateLimitIntervalMs' + ), + renameFromRoot( + 'xpack.ingestManager.agents.agentPolicyRolloutRateLimitRequestPerInterval', + 'xpack.fleet.agents.agentPolicyRolloutRateLimitRequestPerInterval' + ), + unusedFromRoot('xpack.ingestManager'), + // Unused settings before Fleet server exists unused('agents.kibana'), unused('agents.maxConcurrentConnections'), unused('agents.agentPolicyRolloutRateLimitIntervalMs'), @@ -48,6 +76,7 @@ export const config: PluginConfigDescriptor = { unused('agents.pollingRequestTimeout'), unused('agents.tlsCheckDisabled'), unused('agents.fleetServerEnabled'), + // Renaming elasticsearch.host => elasticsearch.hosts (fullConfig, fromPath, addDeprecation) => { const oldValue = fullConfig?.xpack?.fleet?.agents?.elasticsearch?.host; if (oldValue) { diff --git a/x-pack/plugins/global_search/jest.config.js b/x-pack/plugins/global_search/jest.config.js index ed945fcb8e605..ba4c8130c375c 100644 --- a/x-pack/plugins/global_search/jest.config.js +++ b/x-pack/plugins/global_search/jest.config.js @@ -9,4 +9,9 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/x-pack/plugins/global_search'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/global_search', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/plugins/global_search/{common,public,server}/**/*.{ts,tsx}', + ], }; diff --git a/x-pack/plugins/global_search_bar/jest.config.js b/x-pack/plugins/global_search_bar/jest.config.js index 73cf5402a83a9..e00903df125c9 100644 --- a/x-pack/plugins/global_search_bar/jest.config.js +++ b/x-pack/plugins/global_search_bar/jest.config.js @@ -9,4 +9,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/x-pack/plugins/global_search_bar'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/global_search_bar', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/x-pack/plugins/global_search_bar/public/**/*.{ts,tsx}'], }; diff --git a/x-pack/plugins/global_search_providers/jest.config.js b/x-pack/plugins/global_search_providers/jest.config.js index b45fb5cdaa401..231b444585b03 100644 --- a/x-pack/plugins/global_search_providers/jest.config.js +++ b/x-pack/plugins/global_search_providers/jest.config.js @@ -9,4 +9,9 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/x-pack/plugins/global_search_providers'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/global_search_providers', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/plugins/global_search_providers/{public,server}/**/*.{ts,tsx}', + ], }; diff --git a/x-pack/plugins/graph/jest.config.js b/x-pack/plugins/graph/jest.config.js index 8a4f3db30b04a..bd9c9d0938686 100644 --- a/x-pack/plugins/graph/jest.config.js +++ b/x-pack/plugins/graph/jest.config.js @@ -9,4 +9,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/x-pack/plugins/graph'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/graph', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/x-pack/plugins/graph/{common,public,server}/**/*.{js,ts,tsx}'], }; diff --git a/x-pack/plugins/graph/kibana.json b/x-pack/plugins/graph/kibana.json index cc732e67995ba..410a5e2c160d6 100644 --- a/x-pack/plugins/graph/kibana.json +++ b/x-pack/plugins/graph/kibana.json @@ -4,12 +4,29 @@ "kibanaVersion": "kibana", "server": true, "ui": true, - "requiredPlugins": ["licensing", "data", "navigation", "savedObjects", "kibanaLegacy"], - "optionalPlugins": ["home", "features"], - "configPath": ["xpack", "graph"], - "requiredBundles": ["kibanaUtils", "kibanaReact", "home"], + "requiredPlugins": [ + "licensing", + "data", + "navigation", + "savedObjects", + "kibanaLegacy" + ], + "optionalPlugins": [ + "home", + "features", + "spaces" + ], + "configPath": [ + "xpack", + "graph" + ], + "requiredBundles": [ + "kibanaUtils", + "kibanaReact", + "home" + ], "owner": { "name": "Data Discovery", "githubTeam": "kibana-data-discovery" } -} +} \ No newline at end of file diff --git a/x-pack/plugins/graph/public/application.ts b/x-pack/plugins/graph/public/application.ts index 7461a7b5fc172..fc6c6170509d9 100644 --- a/x-pack/plugins/graph/public/application.ts +++ b/x-pack/plugins/graph/public/application.ts @@ -31,6 +31,7 @@ import './index.scss'; import { SavedObjectsStart } from '../../../../src/plugins/saved_objects/public'; import { GraphSavePolicy } from './types'; import { graphRouter } from './router'; +import { SpacesApi } from '../../spaces/public'; /** * These are dependencies of the Graph app besides the base dependencies @@ -63,6 +64,7 @@ export interface GraphDependencies { setHeaderActionMenu: AppMountParameters['setHeaderActionMenu']; uiSettings: IUiSettingsClient; history: ScopedHistory; + spaces?: SpacesApi; } export type GraphServices = Omit; diff --git a/x-pack/plugins/graph/public/apps/workspace_route.tsx b/x-pack/plugins/graph/public/apps/workspace_route.tsx index f4158238c33c6..55f481bf504f1 100644 --- a/x-pack/plugins/graph/public/apps/workspace_route.tsx +++ b/x-pack/plugins/graph/public/apps/workspace_route.tsx @@ -8,7 +8,7 @@ import React, { useMemo, useRef, useState } from 'react'; import { I18nProvider } from '@kbn/i18n/react'; import { Provider } from 'react-redux'; -import { useHistory, useLocation } from 'react-router-dom'; +import { useHistory } from 'react-router-dom'; import { KibanaContextProvider } from '../../../../../src/plugins/kibana_react/public'; import { showSaveModal } from '../../../../../src/plugins/saved_objects/public'; import { Workspace } from '../types'; @@ -40,6 +40,7 @@ export const WorkspaceRoute = ({ getBasePath, addBasePath, setHeaderActionMenu, + spaces, indexPatterns: getIndexPatternProvider, }, }: WorkspaceRouteProps) => { @@ -56,7 +57,6 @@ export const WorkspaceRoute = ({ */ const [renderCounter, setRenderCounter] = useState(0); const history = useHistory(); - const urlQuery = new URLSearchParams(useLocation().search).get('query'); const indexPatternProvider = useMemo( () => createCachedIndexPatternProvider(getIndexPatternProvider.get), @@ -114,22 +114,27 @@ export const WorkspaceRoute = ({ }) ); - const { savedWorkspace, indexPatterns } = useWorkspaceLoader({ + const loaded = useWorkspaceLoader({ workspaceRef, store, savedObjectsClient, - toastNotifications, + spaces, + coreStart, }); - if (!savedWorkspace || !indexPatterns) { + if (!loaded) { return null; } + const { savedWorkspace, indexPatterns, sharingSavedObjectProps } = loaded; + return ( diff --git a/x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.test.tsx b/x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.test.tsx new file mode 100644 index 0000000000000..c535c9e32d335 --- /dev/null +++ b/x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.test.tsx @@ -0,0 +1,63 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { shallow } from 'enzyme'; +import { WorkspaceLayoutComponent } from '.'; +import { coreMock } from 'src/core/public/mocks'; +import { spacesPluginMock } from '../../../../spaces/public/mocks'; +import { NavigationPublicPluginStart as NavigationStart } from '../../../../../../src/plugins/navigation/public'; +import { GraphSavePolicy, GraphWorkspaceSavedObject, IndexPatternProvider } from '../../types'; +import { OverlayStart, Capabilities } from 'kibana/public'; +import { SharingSavedObjectProps } from '../../helpers/use_workspace_loader'; + +jest.mock('react-router-dom', () => { + const useLocation = () => ({ + search: '?query={}', + }); + return { + useLocation, + }; +}); + +describe('workspace_layout', () => { + const defaultProps = { + renderCounter: 1, + loading: false, + savedWorkspace: { id: 'test' } as GraphWorkspaceSavedObject, + hasFields: true, + overlays: {} as OverlayStart, + workspaceInitialized: true, + indexPatterns: [], + indexPatternProvider: {} as IndexPatternProvider, + capabilities: {} as Capabilities, + coreStart: coreMock.createStart(), + graphSavePolicy: 'configAndDataWithConsent' as GraphSavePolicy, + navigation: {} as NavigationStart, + canEditDrillDownUrls: true, + setHeaderActionMenu: jest.fn(), + sharingSavedObjectProps: { + outcome: 'exactMatch', + aliasTargetId: '', + } as SharingSavedObjectProps, + spaces: spacesPluginMock.createStartContract(), + }; + it('should display conflict notification if outcome is conflict', () => { + shallow( + + ); + expect(defaultProps.spaces.ui.components.getLegacyUrlConflict).toHaveBeenCalledWith({ + currentObjectId: 'test', + objectNoun: 'Graph', + otherObjectId: 'conflictId', + otherObjectPath: '#/workspace/conflictId?query={}', + }); + }); +}); diff --git a/x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx b/x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx index 70e5b82ec6526..5426ae9228518 100644 --- a/x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx +++ b/x-pack/plugins/graph/public/components/workspace_layout/workspace_layout.tsx @@ -9,6 +9,7 @@ import React, { Fragment, memo, useCallback, useRef, useState } from 'react'; import { i18n } from '@kbn/i18n'; import { EuiSpacer } from '@elastic/eui'; import { connect } from 'react-redux'; +import { useLocation } from 'react-router-dom'; import { SearchBar } from '../search_bar'; import { GraphState, @@ -33,6 +34,8 @@ import { GraphServices } from '../../application'; import { ControlPanel } from '../control_panel'; import { GraphVisualization } from '../graph_visualization'; import { colorChoices } from '../../helpers/style_choices'; +import { SharingSavedObjectProps } from '../../helpers/use_workspace_loader'; +import { getEditUrl } from '../../services/url'; /** * Each component, which depends on `worksapce` @@ -51,6 +54,7 @@ type WorkspaceLayoutProps = Pick< | 'coreStart' | 'canEditDrillDownUrls' | 'overlays' + | 'spaces' > & { renderCounter: number; workspace?: Workspace; @@ -58,7 +62,7 @@ type WorkspaceLayoutProps = Pick< indexPatterns: IndexPatternSavedObject[]; savedWorkspace: GraphWorkspaceSavedObject; indexPatternProvider: IndexPatternProvider; - urlQuery: string | null; + sharingSavedObjectProps?: SharingSavedObjectProps; }; interface WorkspaceLayoutStateProps { @@ -66,7 +70,7 @@ interface WorkspaceLayoutStateProps { hasFields: boolean; } -const WorkspaceLayoutComponent = ({ +export const WorkspaceLayoutComponent = ({ renderCounter, workspace, loading, @@ -81,8 +85,9 @@ const WorkspaceLayoutComponent = ({ graphSavePolicy, navigation, canEditDrillDownUrls, - urlQuery, setHeaderActionMenu, + sharingSavedObjectProps, + spaces, }: WorkspaceLayoutProps & WorkspaceLayoutStateProps) => { const [currentIndexPattern, setCurrentIndexPattern] = useState(); const [showInspect, setShowInspect] = useState(false); @@ -90,6 +95,10 @@ const WorkspaceLayoutComponent = ({ const [mergeCandidates, setMergeCandidates] = useState([]); const [control, setControl] = useState('none'); const selectedNode = useRef(undefined); + + const search = useLocation().search; + const urlQuery = new URLSearchParams(search).get('query'); + const isInitialized = Boolean(workspaceInitialized || savedWorkspace.id); const selectSelected = useCallback((node: WorkspaceNode) => { @@ -154,6 +163,27 @@ const WorkspaceLayoutComponent = ({ [] ); + const getLegacyUrlConflictCallout = useCallback(() => { + // This function returns a callout component *if* we have encountered a "legacy URL conflict" scenario + const currentObjectId = savedWorkspace.id; + if (spaces && sharingSavedObjectProps?.outcome === 'conflict' && currentObjectId) { + // We have resolved to one object, but another object has a legacy URL alias associated with this ID/page. We should display a + // callout with a warning for the user, and provide a way for them to navigate to the other object. + const otherObjectId = sharingSavedObjectProps?.aliasTargetId!; // This is always defined if outcome === 'conflict' + const otherObjectPath = + getEditUrl(coreStart.http.basePath.prepend, { id: otherObjectId }) + search; + return spaces.ui.components.getLegacyUrlConflict({ + objectNoun: i18n.translate('xpack.graph.legacyUrlConflict.objectNoun', { + defaultMessage: 'Graph', + }), + currentObjectId, + otherObjectId, + otherObjectPath, + }); + } + return null; + }, [savedWorkspace.id, sharingSavedObjectProps, spaces, coreStart.http, search]); + return ( - {isInitialized && }
+ {getLegacyUrlConflictCallout()} {!isInitialized && (
savedWorkspaceType, + ...defaultsProps, + } as GraphWorkspaceSavedObject, + }; +} + export async function getSavedWorkspace( savedObjectsClient: SavedObjectsClientContract, - id?: string + id: string ) { - const savedObject = { - id, - displayName: 'graph workspace', - getEsType: () => savedWorkspaceType, - } as { [key: string]: any }; - - if (!id) { - assign(savedObject, defaultsProps); - return Promise.resolve(savedObject); - } + const resolveResult = await savedObjectsClient.resolve>( + savedWorkspaceType, + id + ); - const resp = await savedObjectsClient.get>(savedWorkspaceType, id); - savedObject._source = cloneDeep(resp.attributes); + const resp = resolveResult.saved_object; if (!resp._version) { throw new SavedObjectNotFound(savedWorkspaceType, id || ''); } + const savedObject = { + id, + displayName: 'graph workspace', + getEsType: () => savedWorkspaceType, + _source: cloneDeep(resp.attributes), + } as GraphWorkspaceSavedObject; + // assign the defaults to the response defaults(savedObject._source, defaultsProps); @@ -120,7 +130,15 @@ export async function getSavedWorkspace( injectReferences(savedObject, resp.references); } - return savedObject as GraphWorkspaceSavedObject; + const sharingSavedObjectProps = { + outcome: resolveResult.outcome, + aliasTargetId: resolveResult.alias_target_id, + }; + + return { + savedObject, + sharingSavedObjectProps, + }; } export function deleteSavedWorkspace( diff --git a/x-pack/plugins/graph/public/helpers/use_workspace_loader.test.tsx b/x-pack/plugins/graph/public/helpers/use_workspace_loader.test.tsx new file mode 100644 index 0000000000000..db80289d0d32d --- /dev/null +++ b/x-pack/plugins/graph/public/helpers/use_workspace_loader.test.tsx @@ -0,0 +1,95 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ +import React from 'react'; +import { mount } from 'enzyme'; +import { useWorkspaceLoader, UseWorkspaceLoaderProps } from './use_workspace_loader'; +import { coreMock } from 'src/core/public/mocks'; +import { spacesPluginMock } from '../../../spaces/public/mocks'; +import { createMockGraphStore } from '../state_management/mocks'; +import { Workspace } from '../types'; +import { SavedObjectsClientCommon } from 'src/plugins/data/common'; +import { act } from 'react-dom/test-utils'; + +jest.mock('react-router-dom', () => { + const useLocation = () => ({ + search: '?query={}', + }); + + const replaceFn = jest.fn(); + + const useHistory = () => ({ + replace: replaceFn, + }); + return { + useHistory, + useLocation, + useParams: () => ({ + id: '1', + }), + }; +}); + +const mockSavedObjectsClient = ({ + resolve: jest.fn().mockResolvedValue({ + saved_object: { id: 10, _version: '7.15.0', attributes: { wsState: '{}' } }, + outcome: 'exactMatch', + }), + find: jest.fn().mockResolvedValue({ title: 'test' }), +} as unknown) as SavedObjectsClientCommon; + +async function setup(props: UseWorkspaceLoaderProps) { + const returnVal = {}; + function TestComponent() { + Object.assign(returnVal, useWorkspaceLoader(props)); + return null; + } + await act(async () => { + const promise = Promise.resolve(); + mount(); + await act(() => promise); + }); + return returnVal; +} + +describe('use_workspace_loader', () => { + const defaultProps = { + workspaceRef: { current: {} as Workspace }, + store: createMockGraphStore({}).store, + savedObjectsClient: mockSavedObjectsClient, + coreStart: coreMock.createStart(), + spaces: spacesPluginMock.createStartContract(), + }; + + it('should not redirect if outcome is exactMatch', async () => { + await act(async () => { + await setup((defaultProps as unknown) as UseWorkspaceLoaderProps); + }); + expect(defaultProps.spaces.ui.redirectLegacyUrl).not.toHaveBeenCalled(); + expect(defaultProps.store.dispatch).toHaveBeenCalled(); + }); + it('should redirect if outcome is aliasMatch', async () => { + const props = { + ...defaultProps, + spaces: spacesPluginMock.createStartContract(), + savedObjectsClient: { + ...mockSavedObjectsClient, + resolve: jest.fn().mockResolvedValue({ + saved_object: { id: 10, _version: '7.15.0', attributes: { wsState: '{}' } }, + outcome: 'aliasMatch', + alias_target_id: 'aliasTargetId', + }), + }, + }; + await act(async () => { + await setup((props as unknown) as UseWorkspaceLoaderProps); + }); + expect(props.spaces.ui.redirectLegacyUrl).toHaveBeenCalledWith( + '#/workspace/aliasTargetId?query={}', + 'Graph' + ); + }); +}); diff --git a/x-pack/plugins/graph/public/helpers/use_workspace_loader.ts b/x-pack/plugins/graph/public/helpers/use_workspace_loader.ts index 8b91546d52446..b9abf31e084fe 100644 --- a/x-pack/plugins/graph/public/helpers/use_workspace_loader.ts +++ b/x-pack/plugins/graph/public/helpers/use_workspace_loader.ts @@ -5,35 +5,48 @@ * 2.0. */ -import { SavedObjectsClientContract, ToastsStart } from 'kibana/public'; +import { SavedObjectsClientContract } from 'kibana/public'; import { useEffect, useState } from 'react'; import { useHistory, useLocation, useParams } from 'react-router-dom'; import { i18n } from '@kbn/i18n'; +import { CoreStart } from 'kibana/public'; import { GraphStore } from '../state_management'; import { GraphWorkspaceSavedObject, IndexPatternSavedObject, Workspace } from '../types'; -import { getSavedWorkspace } from './saved_workspace_utils'; - -interface UseWorkspaceLoaderProps { +import { getEmptyWorkspace, getSavedWorkspace } from './saved_workspace_utils'; +import { getEditUrl } from '../services/url'; +import { SpacesApi } from '../../../spaces/public'; +export interface UseWorkspaceLoaderProps { store: GraphStore; workspaceRef: React.MutableRefObject; savedObjectsClient: SavedObjectsClientContract; - toastNotifications: ToastsStart; + coreStart: CoreStart; + spaces?: SpacesApi; } interface WorkspaceUrlParams { id?: string; } +export interface SharingSavedObjectProps { + outcome?: 'aliasMatch' | 'exactMatch' | 'conflict'; + aliasTargetId?: string; +} + +interface WorkspaceLoadedState { + savedWorkspace: GraphWorkspaceSavedObject; + indexPatterns: IndexPatternSavedObject[]; + sharingSavedObjectProps?: SharingSavedObjectProps; +} export const useWorkspaceLoader = ({ + coreStart, + spaces, workspaceRef, store, savedObjectsClient, - toastNotifications, }: UseWorkspaceLoaderProps) => { - const [indexPatterns, setIndexPatterns] = useState(); - const [savedWorkspace, setSavedWorkspace] = useState(); - const history = useHistory(); - const location = useLocation(); + const [state, setState] = useState(); + const { replace: historyReplace } = useHistory(); + const { search } = useLocation(); const { id } = useParams(); /** @@ -41,7 +54,7 @@ export const useWorkspaceLoader = ({ * on changes in id parameter and URL query only. */ useEffect(() => { - const urlQuery = new URLSearchParams(location.search).get('query'); + const urlQuery = new URLSearchParams(search).get('query'); function loadWorkspace( fetchedSavedWorkspace: GraphWorkspaceSavedObject, @@ -71,24 +84,43 @@ export const useWorkspaceLoader = ({ .then((response) => response.savedObjects); } - async function fetchSavedWorkspace() { - return (id + async function fetchSavedWorkspace(): Promise<{ + savedObject: GraphWorkspaceSavedObject; + sharingSavedObjectProps?: SharingSavedObjectProps; + }> { + return id ? await getSavedWorkspace(savedObjectsClient, id).catch(function (e) { - toastNotifications.addError(e, { + coreStart.notifications.toasts.addError(e, { title: i18n.translate('xpack.graph.missingWorkspaceErrorMessage', { defaultMessage: "Couldn't load graph with ID", }), }); - history.replace('/home'); + historyReplace('/home'); // return promise that never returns to prevent the controller from loading return new Promise(() => {}); }) - : await getSavedWorkspace(savedObjectsClient)) as GraphWorkspaceSavedObject; + : getEmptyWorkspace(); } async function initializeWorkspace() { const fetchedIndexPatterns = await fetchIndexPatterns(); - const fetchedSavedWorkspace = await fetchSavedWorkspace(); + const { + savedObject: fetchedSavedWorkspace, + sharingSavedObjectProps: fetchedSharingSavedObjectProps, + } = await fetchSavedWorkspace(); + + if (spaces && fetchedSharingSavedObjectProps?.outcome === 'aliasMatch') { + // We found this object by a legacy URL alias from its old ID; redirect the user to the page with its new ID, preserving any URL hash + const newObjectId = fetchedSharingSavedObjectProps?.aliasTargetId!; // This is always defined if outcome === 'aliasMatch' + const newPath = getEditUrl(coreStart.http.basePath.prepend, { id: newObjectId }) + search; + spaces.ui.redirectLegacyUrl( + newPath, + i18n.translate('xpack.graph.legacyUrlConflict.objectNoun', { + defaultMessage: 'Graph', + }) + ); + return null; + } /** * Deal with situation of request to open saved workspace. Otherwise clean up store, @@ -99,22 +131,25 @@ export const useWorkspaceLoader = ({ } else if (workspaceRef.current) { clearStore(); } - - setIndexPatterns(fetchedIndexPatterns); - setSavedWorkspace(fetchedSavedWorkspace); + setState({ + savedWorkspace: fetchedSavedWorkspace, + indexPatterns: fetchedIndexPatterns, + sharingSavedObjectProps: fetchedSharingSavedObjectProps, + }); } initializeWorkspace(); }, [ id, - location, + search, store, - history, + historyReplace, savedObjectsClient, - setSavedWorkspace, - toastNotifications, + setState, + coreStart, workspaceRef, + spaces, ]); - return { savedWorkspace, indexPatterns }; + return state; }; diff --git a/x-pack/plugins/graph/public/plugin.ts b/x-pack/plugins/graph/public/plugin.ts index 1ff9afe505a3b..1c44714a2c498 100644 --- a/x-pack/plugins/graph/public/plugin.ts +++ b/x-pack/plugins/graph/public/plugin.ts @@ -7,6 +7,7 @@ import { i18n } from '@kbn/i18n'; import { BehaviorSubject } from 'rxjs'; +import { SpacesApi } from '../../spaces/public'; import { AppNavLinkStatus, AppUpdater, @@ -44,6 +45,7 @@ export interface GraphPluginStartDependencies { savedObjects: SavedObjectsStart; kibanaLegacy: KibanaLegacyStart; home?: HomePublicPluginStart; + spaces?: SpacesApi; } export class GraphPlugin @@ -110,6 +112,7 @@ export class GraphPlugin overlays: coreStart.overlays, savedObjects: pluginsStart.savedObjects, uiSettings: core.uiSettings, + spaces: pluginsStart.spaces, }); }, }); diff --git a/x-pack/plugins/graph/public/services/url.ts b/x-pack/plugins/graph/public/services/url.ts index e45d1f0d662be..b33fdc82d8642 100644 --- a/x-pack/plugins/graph/public/services/url.ts +++ b/x-pack/plugins/graph/public/services/url.ts @@ -18,13 +18,13 @@ export function getNewPath() { return '/workspace'; } -export function getEditPath({ id }: GraphWorkspaceSavedObject) { +export function getEditPath({ id }: Pick) { return `/workspace/${id}`; } export function getEditUrl( addBasePath: (url: string) => string, - workspace: GraphWorkspaceSavedObject + workspace: Pick ) { return addBasePath(`#${getEditPath(workspace)}`); } diff --git a/x-pack/plugins/graph/server/saved_objects/graph_workspace.ts b/x-pack/plugins/graph/server/saved_objects/graph_workspace.ts index b935302fd3a88..beb7dbf921e20 100644 --- a/x-pack/plugins/graph/server/saved_objects/graph_workspace.ts +++ b/x-pack/plugins/graph/server/saved_objects/graph_workspace.ts @@ -10,7 +10,8 @@ import { graphMigrations } from './migrations'; export const graphWorkspace: SavedObjectsType = { name: 'graph-workspace', - namespaceType: 'single', + namespaceType: 'multiple-isolated', + convertToMultiNamespaceTypeVersion: '8.0.0', hidden: false, management: { icon: 'graphApp', diff --git a/x-pack/plugins/graph/tsconfig.json b/x-pack/plugins/graph/tsconfig.json index d655f28c4e46e..6a5623b311d5e 100644 --- a/x-pack/plugins/graph/tsconfig.json +++ b/x-pack/plugins/graph/tsconfig.json @@ -24,6 +24,7 @@ { "path": "../../../src/plugins/kibana_legacy/tsconfig.json"}, { "path": "../../../src/plugins/home/tsconfig.json"}, { "path": "../../../src/plugins/kibana_utils/tsconfig.json" }, - { "path": "../../../src/plugins/kibana_react/tsconfig.json" } + { "path": "../../../src/plugins/kibana_react/tsconfig.json" }, + { "path": "../spaces/tsconfig.json" } ] } diff --git a/x-pack/plugins/grokdebugger/jest.config.js b/x-pack/plugins/grokdebugger/jest.config.js index 3785cec03b410..56cd0339a7afd 100644 --- a/x-pack/plugins/grokdebugger/jest.config.js +++ b/x-pack/plugins/grokdebugger/jest.config.js @@ -9,4 +9,9 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/x-pack/plugins/grokdebugger'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/grokdebugger', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/plugins/grokdebugger/{common,public,server}/**/*.{js,ts,tsx}', + ], }; diff --git a/x-pack/plugins/index_lifecycle_management/jest.config.js b/x-pack/plugins/index_lifecycle_management/jest.config.js index 94bbdbdc71e74..ec594e214106d 100644 --- a/x-pack/plugins/index_lifecycle_management/jest.config.js +++ b/x-pack/plugins/index_lifecycle_management/jest.config.js @@ -9,4 +9,10 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/x-pack/plugins/index_lifecycle_management'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/plugins/index_lifecycle_management', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/plugins/index_lifecycle_management/{common,public,server}/**/*.{ts,tsx}', + ], }; diff --git a/x-pack/plugins/index_management/jest.config.js b/x-pack/plugins/index_management/jest.config.js index 8c7eef134d9bf..8cd0af1f81147 100644 --- a/x-pack/plugins/index_management/jest.config.js +++ b/x-pack/plugins/index_management/jest.config.js @@ -9,4 +9,9 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/x-pack/plugins/index_management'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/index_management', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/plugins/index_management/{common,public,server}/**/*.{js,ts,tsx}', + ], }; diff --git a/x-pack/plugins/infra/jest.config.js b/x-pack/plugins/infra/jest.config.js index ccc2f5b693a20..5631bc25a1452 100644 --- a/x-pack/plugins/infra/jest.config.js +++ b/x-pack/plugins/infra/jest.config.js @@ -9,4 +9,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/x-pack/plugins/infra'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/infra', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/x-pack/plugins/infra/{common,public,server}/**/*.{ts,tsx}'], }; diff --git a/x-pack/plugins/infra/public/alerting/inventory/index.ts b/x-pack/plugins/infra/public/alerting/inventory/index.ts index 7d370c7106cb7..5e3c8a219ae47 100644 --- a/x-pack/plugins/infra/public/alerting/inventory/index.ts +++ b/x-pack/plugins/infra/public/alerting/inventory/index.ts @@ -31,7 +31,7 @@ export function createInventoryMetricAlertType(): ObservabilityRuleTypeModel import('./components/expression')), validate: validateMetricThreshold, diff --git a/x-pack/plugins/infra/public/alerting/log_threshold/log_threshold_alert_type.ts b/x-pack/plugins/infra/public/alerting/log_threshold/log_threshold_alert_type.ts index b944b36fb9d1a..c6b2385f93c65 100644 --- a/x-pack/plugins/infra/public/alerting/log_threshold/log_threshold_alert_type.ts +++ b/x-pack/plugins/infra/public/alerting/log_threshold/log_threshold_alert_type.ts @@ -23,7 +23,7 @@ export function createLogThresholdAlertType(): ObservabilityRuleTypeModel import('./components/expression_editor/editor')), validate: validateExpression, diff --git a/x-pack/plugins/infra/public/alerting/metric_threshold/index.ts b/x-pack/plugins/infra/public/alerting/metric_threshold/index.ts index 2dd35c20a5632..679019eb2e520 100644 --- a/x-pack/plugins/infra/public/alerting/metric_threshold/index.ts +++ b/x-pack/plugins/infra/public/alerting/metric_threshold/index.ts @@ -29,7 +29,7 @@ export function createMetricThresholdAlertType(): ObservabilityRuleTypeModel import('./components/expression')), validate: validateMetricThreshold, diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/bottom_drawer.tsx b/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/bottom_drawer.tsx index fe0fbeecf8408..31bc09f9d4dd8 100644 --- a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/bottom_drawer.tsx +++ b/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/bottom_drawer.tsx @@ -5,11 +5,12 @@ * 2.0. */ -import React, { useCallback, useState } from 'react'; +import React, { useCallback, useState, useEffect } from 'react'; import { i18n } from '@kbn/i18n'; import { EuiFlexGroup, EuiFlexItem, EuiButtonEmpty, EuiSpacer } from '@elastic/eui'; import { euiStyled } from '../../../../../../../../src/plugins/kibana_react/common'; import { useUiTracker } from '../../../../../../observability/public'; +import { useWaffleOptionsContext } from '../hooks/use_waffle_options'; import { InfraFormatter } from '../../../../lib/lib'; import { Timeline } from './timeline/timeline'; @@ -28,13 +29,20 @@ export const BottomDrawer: React.FC<{ formatter: InfraFormatter; width: number; }> = ({ measureRef, width, interval, formatter, children }) => { - const [isOpen, setIsOpen] = useState(false); + const { timelineOpen, changeTimelineOpen } = useWaffleOptionsContext(); + + const [isOpen, setIsOpen] = useState(Boolean(timelineOpen)); + + useEffect(() => { + if (isOpen !== timelineOpen) setIsOpen(Boolean(timelineOpen)); + }, [isOpen, timelineOpen]); const trackDrawerOpen = useUiTracker({ app: 'infra_metrics' }); const onClick = useCallback(() => { if (!isOpen) trackDrawerOpen({ metric: 'open_timeline_drawer__inventory' }); setIsOpen(!isOpen); - }, [isOpen, trackDrawerOpen]); + changeTimelineOpen(!isOpen); + }, [isOpen, trackDrawerOpen, changeTimelineOpen]); return ( diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/conditional_tooltip.test.tsx b/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/conditional_tooltip.test.tsx index ac4fac394dacc..d8b578769a1cb 100644 --- a/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/conditional_tooltip.test.tsx +++ b/x-pack/plugins/infra/public/pages/metrics/inventory_view/components/waffle/conditional_tooltip.test.tsx @@ -130,6 +130,7 @@ const mockedUseWaffleOptionsContexReturnValue: ReturnType {}), changeLegend: jest.fn(() => {}), changeSort: jest.fn(() => {}), + changeTimelineOpen: jest.fn(() => {}), setWaffleOptionsState: jest.fn(() => {}), boundsOverride: { max: 1, min: 0 }, autoBounds: true, diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_options.ts b/x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_options.ts index 0ba8398fa4c42..8767be4f8a27e 100644 --- a/x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_options.ts +++ b/x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_options.ts @@ -44,6 +44,7 @@ export const DEFAULT_WAFFLE_OPTIONS_STATE: WaffleOptionsState = { legend: DEFAULT_LEGEND, source: 'default', sort: { by: 'name', direction: 'desc' }, + timelineOpen: false, }; export const useWaffleOptions = () => { @@ -134,6 +135,11 @@ export const useWaffleOptions = () => { setCustomMetrics(state.customMetrics); }, [state, inventoryPrefill]); + const changeTimelineOpen = useCallback( + (timelineOpen: boolean) => setState((previous) => ({ ...previous, timelineOpen })), + [setState] + ); + return { ...DEFAULT_WAFFLE_OPTIONS_STATE, ...state, @@ -149,6 +155,7 @@ export const useWaffleOptions = () => { changeCustomMetrics, changeLegend, changeSort, + changeTimelineOpen, setWaffleOptionsState: setState, }; }; @@ -188,7 +195,7 @@ export const WaffleOptionsStateRT = rt.intersection([ customMetrics: rt.array(SnapshotCustomMetricInputRT), sort: WaffleSortOptionRT, }), - rt.partial({ source: rt.string, legend: WaffleLegendOptionsRT }), + rt.partial({ source: rt.string, legend: WaffleLegendOptionsRT, timelineOpen: rt.boolean }), ]); export type WaffleSortOption = rt.TypeOf; diff --git a/x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_view_state.ts b/x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_view_state.ts index 91f1859899177..02a2144f1282e 100644 --- a/x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_view_state.ts +++ b/x-pack/plugins/infra/public/pages/metrics/inventory_view/hooks/use_waffle_view_state.ts @@ -39,6 +39,7 @@ export const useWaffleViewState = () => { region, legend, sort, + timelineOpen, setWaffleOptionsState, } = useWaffleOptionsContext(); const { currentTime, isAutoReloading, setWaffleTimeState } = useWaffleTimeContext(); @@ -60,6 +61,7 @@ export const useWaffleViewState = () => { autoReload: isAutoReloading, filterQuery, legend, + timelineOpen, }; const onViewChange = useCallback( @@ -77,6 +79,7 @@ export const useWaffleViewState = () => { accountId: newState.accountId, region: newState.region, legend: newState.legend, + timelineOpen: newState.timelineOpen, }); if (newState.time) { diff --git a/x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/create_timerange.test.ts b/x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/create_timerange.test.ts new file mode 100644 index 0000000000000..5640a1d928436 --- /dev/null +++ b/x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/create_timerange.test.ts @@ -0,0 +1,132 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import { createTimerange } from './create_timerange'; +import { Aggregators } from '../types'; +import moment from 'moment'; + +describe('createTimerange(interval, aggType, timeframe)', () => { + describe('without timeframe', () => { + describe('Basic Metric Aggs', () => { + it('should return a second range for last 1 second', () => { + const subject = createTimerange(1000, Aggregators.COUNT); + expect(subject.end - subject.start).toEqual(1000); + }); + it('should return a minute range for last 1 minute', () => { + const subject = createTimerange(60000, Aggregators.COUNT); + expect(subject.end - subject.start).toEqual(60000); + }); + it('should return 5 minute range for last 5 minutes', () => { + const subject = createTimerange(300000, Aggregators.COUNT); + expect(subject.end - subject.start).toEqual(300000); + }); + it('should return a hour range for last 1 hour', () => { + const subject = createTimerange(3600000, Aggregators.COUNT); + expect(subject.end - subject.start).toEqual(3600000); + }); + it('should return a day range for last 1 day', () => { + const subject = createTimerange(86400000, Aggregators.COUNT); + expect(subject.end - subject.start).toEqual(86400000); + }); + }); + describe('Rate Aggs', () => { + it('should return a 20 second range for last 1 second', () => { + const subject = createTimerange(1000, Aggregators.RATE); + expect(subject.end - subject.start).toEqual(1000 * 5); + }); + it('should return a 5 minute range for last 1 minute', () => { + const subject = createTimerange(60000, Aggregators.RATE); + expect(subject.end - subject.start).toEqual(60000 * 5); + }); + it('should return 25 minute range for last 5 minutes', () => { + const subject = createTimerange(300000, Aggregators.RATE); + expect(subject.end - subject.start).toEqual(300000 * 5); + }); + it('should return 5 hour range for last hour', () => { + const subject = createTimerange(3600000, Aggregators.RATE); + expect(subject.end - subject.start).toEqual(3600000 * 5); + }); + it('should return a 5 day range for last day', () => { + const subject = createTimerange(86400000, Aggregators.RATE); + expect(subject.end - subject.start).toEqual(86400000 * 5); + }); + }); + }); + describe('with full timeframe', () => { + describe('Basic Metric Aggs', () => { + it('should return 5 minute range when given 4 minute timeframe', () => { + const end = moment(); + const timeframe = { + start: end.clone().subtract(4, 'minutes').valueOf(), + end: end.valueOf(), + }; + const subject = createTimerange(300000, Aggregators.COUNT, timeframe); + expect(subject.end - subject.start).toEqual(300000); + }); + it('should return 6 minute range when given 6 minute timeframe', () => { + const end = moment(); + const timeframe = { + start: end.clone().subtract(6, 'minutes').valueOf(), + end: end.valueOf(), + }; + const subject = createTimerange(300000, Aggregators.COUNT, timeframe); + expect(subject.end - subject.start).toEqual(360000); + }); + }); + describe('Rate Aggs', () => { + it('should return 25 minute range when given 4 minute timeframe', () => { + const end = moment(); + const timeframe = { + start: end.clone().subtract(4, 'minutes').valueOf(), + end: end.valueOf(), + }; + const subject = createTimerange(300000, Aggregators.RATE, timeframe); + expect(subject.end - subject.start).toEqual(300000 * 5); + }); + it('should return 25 minute range when given 6 minute timeframe', () => { + const end = moment(); + const timeframe = { + start: end.clone().subtract(6, 'minutes').valueOf(), + end: end.valueOf(), + }; + const subject = createTimerange(300000, Aggregators.RATE, timeframe); + expect(subject.end - subject.start).toEqual(300000 * 5); + }); + }); + }); + describe('with partial timeframe', () => { + describe('Basic Metric Aggs', () => { + it('should return 5 minute range for last 5 minutes', () => { + const end = moment(); + const timeframe = { + end: end.valueOf(), + }; + const subject = createTimerange(300000, Aggregators.AVERAGE, timeframe); + expect(subject).toEqual({ + start: end.clone().subtract(5, 'minutes').valueOf(), + end: end.valueOf(), + }); + }); + }); + describe('Rate Aggs', () => { + it('should return 25 minute range for last 5 minutes', () => { + const end = moment(); + const timeframe = { + end: end.valueOf(), + }; + const subject = createTimerange(300000, Aggregators.RATE, timeframe); + expect(subject).toEqual({ + start: end + .clone() + .subtract(300 * 5, 'seconds') + .valueOf(), + end: end.valueOf(), + }); + }); + }); + }); +}); diff --git a/x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/create_timerange.ts b/x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/create_timerange.ts new file mode 100644 index 0000000000000..cca63aca14d09 --- /dev/null +++ b/x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/create_timerange.ts @@ -0,0 +1,31 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import moment from 'moment'; +import { Aggregators } from '../types'; + +export const createTimerange = ( + interval: number, + aggType: Aggregators, + timeframe?: { end: number; start?: number } +) => { + const to = moment(timeframe ? timeframe.end : Date.now()).valueOf(); + + // Rate aggregations need 5 buckets worth of data + const minimumBuckets = aggType === Aggregators.RATE ? 5 : 1; + + const calculatedFrom = to - interval * minimumBuckets; + + // Use either the timeframe.start when the start is less then calculatedFrom + // OR use the calculatedFrom + const from = + timeframe && timeframe.start && timeframe.start <= calculatedFrom + ? timeframe.start + : calculatedFrom; + + return { start: from, end: to }; +}; diff --git a/x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/evaluate_alert.ts b/x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/evaluate_alert.ts index 9a8f2267e7efe..a099b83fdb423 100644 --- a/x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/evaluate_alert.ts +++ b/x-pack/plugins/infra/server/lib/alerting/metric_threshold/lib/evaluate_alert.ts @@ -13,7 +13,6 @@ import { TOO_MANY_BUCKETS_PREVIEW_EXCEPTION, } from '../../../../../common/alerting/metrics'; import { getIntervalInSeconds } from '../../../../utils/get_interval_in_seconds'; -import { roundTimestamp } from '../../../../utils/round_timestamp'; import { InfraSource } from '../../../../../common/source_configuration/source_configuration'; import { InfraDatabaseSearchResponse } from '../../../adapters/framework/adapter_types'; import { createAfterKeyHandler } from '../../../../utils/create_afterkey_handler'; @@ -22,6 +21,7 @@ import { DOCUMENT_COUNT_I18N } from '../../common/messages'; import { UNGROUPED_FACTORY_KEY } from '../../common/utils'; import { MetricExpressionParams, Comparator, Aggregators } from '../types'; import { getElasticsearchMetricQuery } from './metric_query'; +import { createTimerange } from './create_timerange'; interface AggregationWithoutIntervals { aggregatedValue: { value: number; values?: Array<{ key: number; value: number }> }; @@ -135,23 +135,12 @@ const getMetric: ( const interval = `${timeSize}${timeUnit}`; const intervalAsSeconds = getIntervalInSeconds(interval); const intervalAsMS = intervalAsSeconds * 1000; - - const to = moment(timeframe ? timeframe.end : Date.now()).valueOf(); - - // Rate aggregations need 5 buckets worth of data - const minimumBuckets = aggType === Aggregators.RATE ? 5 : 1; - - const minimumFrom = to - intervalAsMS * minimumBuckets; - - const from = roundTimestamp( - timeframe && timeframe.start && timeframe.start <= minimumFrom ? timeframe.start : minimumFrom, - timeUnit - ); + const calculatedTimerange = createTimerange(intervalAsMS, aggType, timeframe); const searchBody = getElasticsearchMetricQuery( params, timefield, - { start: from, end: to }, + calculatedTimerange, hasGroupBy ? groupBy : undefined, filterQuery ); @@ -160,8 +149,8 @@ const getMetric: ( // Rate aggs always drop partial buckets; guard against this boolean being passed as false shouldDropPartialBuckets || aggType === Aggregators.RATE ? { - from, - to, + from: calculatedTimerange.start, + to: calculatedTimerange.end, bucketSizeInMillis: intervalAsMS, } : null; @@ -191,10 +180,7 @@ const getMetric: ( bucket, aggType, dropPartialBucketsOptions, - { - start: from, - end: to, - }, + calculatedTimerange, bucket.doc_count ), }), @@ -212,7 +198,7 @@ const getMetric: ( (result.aggregations! as unknown) as Aggregation, aggType, dropPartialBucketsOptions, - { start: from, end: to }, + calculatedTimerange, isNumber(result.hits.total) ? result.hits.total : result.hits.total.value ), }; diff --git a/x-pack/plugins/ingest_pipelines/jest.config.js b/x-pack/plugins/ingest_pipelines/jest.config.js index ba22288685801..e3e76e54a610d 100644 --- a/x-pack/plugins/ingest_pipelines/jest.config.js +++ b/x-pack/plugins/ingest_pipelines/jest.config.js @@ -9,4 +9,9 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/x-pack/plugins/ingest_pipelines'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/ingest_pipelines', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/plugins/ingest_pipelines/{common,public,server}/**/*.{ts,tsx}', + ], }; diff --git a/x-pack/plugins/lens/jest.config.js b/x-pack/plugins/lens/jest.config.js index 615e540eaedce..f1164df4eab86 100644 --- a/x-pack/plugins/lens/jest.config.js +++ b/x-pack/plugins/lens/jest.config.js @@ -9,4 +9,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/x-pack/plugins/lens'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/lens', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/x-pack/plugins/lens/{common,public,server}/**/*.{ts,tsx}'], }; diff --git a/x-pack/plugins/lens/public/heatmap_visualization/dimension_editor.tsx b/x-pack/plugins/lens/public/heatmap_visualization/dimension_editor.tsx index ca4a65e6fb10f..8adcf3ef79122 100644 --- a/x-pack/plugins/lens/public/heatmap_visualization/dimension_editor.tsx +++ b/x-pack/plugins/lens/public/heatmap_visualization/dimension_editor.tsx @@ -64,7 +64,7 @@ export function HeatmapDimensionEditor( { setIsPaletteOpen(!isPaletteOpen); diff --git a/x-pack/plugins/lens/public/heatmap_visualization/utils.ts b/x-pack/plugins/lens/public/heatmap_visualization/utils.ts index a21c07b874bff..3f860be646f35 100644 --- a/x-pack/plugins/lens/public/heatmap_visualization/utils.ts +++ b/x-pack/plugins/lens/public/heatmap_visualization/utils.ts @@ -14,9 +14,12 @@ import type { HeatmapVisualizationState } from './types'; export function getSafePaletteParams( paletteService: PaletteRegistry, currentData: Datatable | undefined, - accessor: string, + accessor: string | undefined, activePalette?: HeatmapVisualizationState['palette'] ) { + if (currentData == null || accessor == null) { + return { displayStops: [], activePalette: {} as HeatmapVisualizationState['palette'] }; + } const finalActivePalette: HeatmapVisualizationState['palette'] = activePalette ?? { type: 'palette', name: DEFAULT_PALETTE_NAME, diff --git a/x-pack/plugins/lens/public/heatmap_visualization/visualization.test.ts b/x-pack/plugins/lens/public/heatmap_visualization/visualization.test.ts index 5e7ee1b8b097b..91b90e11470fc 100644 --- a/x-pack/plugins/lens/public/heatmap_visualization/visualization.test.ts +++ b/x-pack/plugins/lens/public/heatmap_visualization/visualization.test.ts @@ -98,7 +98,12 @@ describe('heatmap', () => { }; }); - test('resolves configuration from complete state', () => { + afterEach(() => { + // some tests manipulate it, so restore a pristine version + frame = createMockFramePublicAPI(); + }); + + test('resolves configuration from complete state and available data', () => { const state: HeatmapVisualizationState = { ...exampleState(), layerId: 'first', @@ -107,6 +112,8 @@ describe('heatmap', () => { valueAccessor: 'v-accessor', }; + frame.activeData = { first: { type: 'datatable', columns: [], rows: [] } }; + expect( getHeatmapVisualization({ paletteService, @@ -204,6 +211,63 @@ describe('heatmap', () => { ], }); }); + + test("resolves configuration when there's no access to active data in frame", () => { + const state: HeatmapVisualizationState = { + ...exampleState(), + layerId: 'first', + xAccessor: 'x-accessor', + yAccessor: 'y-accessor', + valueAccessor: 'v-accessor', + }; + + frame.activeData = undefined; + + expect( + getHeatmapVisualization({ + paletteService, + }).getConfiguration({ state, frame, layerId: 'first' }) + ).toEqual({ + groups: [ + { + layerId: 'first', + groupId: GROUP_ID.X, + groupLabel: 'Horizontal axis', + accessors: [{ columnId: 'x-accessor' }], + filterOperations: filterOperationsAxis, + supportsMoreColumns: false, + required: true, + dataTestSubj: 'lnsHeatmap_xDimensionPanel', + }, + { + layerId: 'first', + groupId: GROUP_ID.Y, + groupLabel: 'Vertical axis', + accessors: [{ columnId: 'y-accessor' }], + filterOperations: filterOperationsAxis, + supportsMoreColumns: false, + required: false, + dataTestSubj: 'lnsHeatmap_yDimensionPanel', + }, + { + layerId: 'first', + groupId: GROUP_ID.CELL, + groupLabel: 'Cell value', + accessors: [ + { + columnId: 'v-accessor', + triggerIcon: 'none', + }, + ], + filterOperations: isCellValueSupported, + supportsMoreColumns: false, + required: true, + dataTestSubj: 'lnsHeatmap_cellPanel', + enableDimensionEditor: true, + }, + ], + }); + }); }); describe('#setDimension', () => { diff --git a/x-pack/plugins/lens/public/heatmap_visualization/visualization.tsx b/x-pack/plugins/lens/public/heatmap_visualization/visualization.tsx index 62e3138f397da..674af79db6c90 100644 --- a/x-pack/plugins/lens/public/heatmap_visualization/visualization.tsx +++ b/x-pack/plugins/lens/public/heatmap_visualization/visualization.tsx @@ -158,16 +158,12 @@ export const getHeatmapVisualization = ({ return { groups: [] }; } - const { displayStops, activePalette } = state.valueAccessor - ? getSafePaletteParams( - paletteService, - frame.activeData?.[state.layerId], - state.valueAccessor, - state?.palette && state.palette.accessor === state.valueAccessor - ? state.palette - : undefined - ) - : { displayStops: [], activePalette: {} as HeatmapVisualizationState['palette'] }; + const { displayStops, activePalette } = getSafePaletteParams( + paletteService, + frame.activeData?.[state.layerId], + state.valueAccessor, + state?.palette && state.palette.accessor === state.valueAccessor ? state.palette : undefined + ); return { groups: [ @@ -199,11 +195,21 @@ export const getHeatmapVisualization = ({ }), accessors: state.valueAccessor ? [ - { - columnId: state.valueAccessor, - triggerIcon: 'colorBy', - palette: getStopsForFixedMode(displayStops, activePalette?.params?.colorStops), - }, + // When data is not available and the range type is numeric, return a placeholder while refreshing + displayStops.length && + (frame.activeData || activePalette?.params?.rangeType !== 'number') + ? { + columnId: state.valueAccessor, + triggerIcon: 'colorBy', + palette: getStopsForFixedMode( + displayStops, + activePalette?.params?.colorStops + ), + } + : { + columnId: state.valueAccessor, + triggerIcon: 'none', + }, ] : [], filterOperations: isCellValueSupported, diff --git a/x-pack/plugins/lens/public/persistence/saved_object_store.test.ts b/x-pack/plugins/lens/public/persistence/saved_object_store.test.ts index 5a42ea054b4d9..29fc88a81d182 100644 --- a/x-pack/plugins/lens/public/persistence/saved_object_store.test.ts +++ b/x-pack/plugins/lens/public/persistence/saved_object_store.test.ts @@ -5,16 +5,13 @@ * 2.0. */ -import { SavedObjectsClientContract, SavedObjectsBulkUpdateObject } from 'kibana/public'; +import { SavedObjectsClientContract } from 'kibana/public'; import { SavedObjectIndexStore } from './saved_object_store'; describe('LensStore', () => { function testStore(testId?: string) { const client = { create: jest.fn(() => Promise.resolve({ id: testId || 'testid' })), - bulkUpdate: jest.fn(([{ id }]: SavedObjectsBulkUpdateObject[]) => - Promise.resolve({ savedObjects: [{ id }, { id }] }) - ), resolve: jest.fn(), }; @@ -81,7 +78,7 @@ describe('LensStore', () => { }); test('updates and returns a visualization document', async () => { - const { client, store } = testStore(); + const { client, store } = testStore('Gandalf'); const doc = await store.save({ savedObjectId: 'Gandalf', title: 'Even the very wise cannot see all ends.', @@ -108,23 +105,11 @@ describe('LensStore', () => { }, }); - expect(client.bulkUpdate).toHaveBeenCalledTimes(1); - expect(client.bulkUpdate).toHaveBeenCalledWith([ - { - type: 'lens', - id: 'Gandalf', - references: [], - attributes: { - title: null, - visualizationType: null, - state: null, - }, - }, - { - type: 'lens', - id: 'Gandalf', - references: [], - attributes: { + expect(client.create).toHaveBeenCalledTimes(1); + expect(client.create.mock.calls).toEqual([ + [ + 'lens', + { title: 'Even the very wise cannot see all ends.', visualizationType: 'line', state: { @@ -134,7 +119,8 @@ describe('LensStore', () => { filters: [], }, }, - }, + { references: [], id: 'Gandalf', overwrite: true }, + ], ]); }); }); diff --git a/x-pack/plugins/lens/public/persistence/saved_object_store.ts b/x-pack/plugins/lens/public/persistence/saved_object_store.ts index 79d7b78f768ae..b8615b8852b1a 100644 --- a/x-pack/plugins/lens/public/persistence/saved_object_store.ts +++ b/x-pack/plugins/lens/public/persistence/saved_object_store.ts @@ -57,38 +57,23 @@ export class SavedObjectIndexStore implements SavedObjectStore { // remove this workaround when SavedObjectAttributes is updated. const attributes = (rest as unknown) as SavedObjectAttributes; - const result = await (savedObjectId - ? this.safeUpdate(savedObjectId, attributes, references) - : this.client.create(DOC_TYPE, attributes, { - references, - })); + const result = await this.client.create( + DOC_TYPE, + attributes, + savedObjectId + ? { + references, + overwrite: true, + id: savedObjectId, + } + : { + references, + } + ); return { ...vis, savedObjectId: result.id }; }; - // As Lens is using an object to store its attributes, using the update API - // will merge the new attribute object with the old one, not overwriting deleted - // keys. As Lens is using objects as maps in various places, this is a problem because - // deleted subtrees make it back into the object after a load. - // This function fixes this by doing two updates - one to empty out the document setting - // every key to null, and a second one to load the new content. - private async safeUpdate( - savedObjectId: string, - attributes: SavedObjectAttributes, - references: SavedObjectReference[] - ) { - const resetAttributes: SavedObjectAttributes = {}; - Object.keys(attributes).forEach((key) => { - resetAttributes[key] = null; - }); - return ( - await this.client.bulkUpdate([ - { type: DOC_TYPE, id: savedObjectId, attributes: resetAttributes, references }, - { type: DOC_TYPE, id: savedObjectId, attributes, references }, - ]) - ).savedObjects[1]; - } - async load(savedObjectId: string): Promise> { const resolveResult = await this.client.resolve( DOC_TYPE, diff --git a/x-pack/plugins/lens/public/shared_components/coloring/palette_configuration.tsx b/x-pack/plugins/lens/public/shared_components/coloring/palette_configuration.tsx index 019e83fb0aa59..0493a212f46de 100644 --- a/x-pack/plugins/lens/public/shared_components/coloring/palette_configuration.tsx +++ b/x-pack/plugins/lens/public/shared_components/coloring/palette_configuration.tsx @@ -75,11 +75,14 @@ export function CustomizablePalette({ showContinuity = true, }: { palettes: PaletteRegistry; - activePalette: PaletteOutput; + activePalette?: PaletteOutput; setPalette: (palette: PaletteOutput) => void; - dataBounds: { min: number; max: number }; + dataBounds?: { min: number; max: number }; showContinuity?: boolean; }) { + if (!dataBounds || !activePalette) { + return null; + } const isCurrentPaletteCustom = activePalette.params?.name === CUSTOM_PALETTE; const colorStopsToShow = roundStopValues( diff --git a/x-pack/plugins/lens/public/state_management/index.ts b/x-pack/plugins/lens/public/state_management/index.ts index a23a040de2361..1d8f4fdffa730 100644 --- a/x-pack/plugins/lens/public/state_management/index.ts +++ b/x-pack/plugins/lens/public/state_management/index.ts @@ -6,7 +6,7 @@ */ import { configureStore, getDefaultMiddleware, DeepPartial } from '@reduxjs/toolkit'; -import logger from 'redux-logger'; +import { createLogger } from 'redux-logger'; import { useDispatch, useSelector, TypedUseSelectorHook } from 'react-redux'; import { lensSlice } from './lens_slice'; import { timeRangeMiddleware } from './time_range_middleware'; @@ -50,7 +50,14 @@ export const makeConfigureStore = ( optimizingMiddleware(), timeRangeMiddleware(storeDeps.lensServices.data), ]; - if (process.env.NODE_ENV === 'development') middleware.push(logger); + if (process.env.NODE_ENV === 'development') { + middleware.push( + createLogger({ + // @ts-ignore + predicate: () => window.ELASTIC_LENS_LOGGER, + }) + ); + } return configureStore({ reducer, diff --git a/x-pack/plugins/lens/server/saved_objects.ts b/x-pack/plugins/lens/server/saved_objects.ts index 0266378981fd6..4e376b23b3374 100644 --- a/x-pack/plugins/lens/server/saved_objects.ts +++ b/x-pack/plugins/lens/server/saved_objects.ts @@ -13,7 +13,8 @@ export function setupSavedObjects(core: CoreSetup) { core.savedObjects.registerType({ name: 'lens', hidden: false, - namespaceType: 'single', + namespaceType: 'multiple-isolated', + convertToMultiNamespaceTypeVersion: '8.0.0', management: { icon: 'lensApp', defaultSearchField: 'title', diff --git a/x-pack/plugins/license_api_guard/jest.config.js b/x-pack/plugins/license_api_guard/jest.config.js index e0f348ceabd85..c6c1bc1bd501a 100644 --- a/x-pack/plugins/license_api_guard/jest.config.js +++ b/x-pack/plugins/license_api_guard/jest.config.js @@ -9,4 +9,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/x-pack/plugins/license_api_guard'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/license_api_guard', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/x-pack/plugins/license_api_guard/server/**/*.{ts,tsx}'], }; diff --git a/x-pack/plugins/license_management/jest.config.js b/x-pack/plugins/license_management/jest.config.js index b0ce5947f3cec..59634448ee26c 100644 --- a/x-pack/plugins/license_management/jest.config.js +++ b/x-pack/plugins/license_management/jest.config.js @@ -9,4 +9,9 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/x-pack/plugins/license_management'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/license_management', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/plugins/license_management/{common,public,server}/**/*.{js,ts,tsx}', + ], }; diff --git a/x-pack/plugins/licensing/jest.config.js b/x-pack/plugins/licensing/jest.config.js index d497f6c7fb05b..5c5276534ebed 100644 --- a/x-pack/plugins/licensing/jest.config.js +++ b/x-pack/plugins/licensing/jest.config.js @@ -9,4 +9,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/x-pack/plugins/licensing'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/licensing', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/x-pack/plugins/licensing/{common,public,server}/**/*.{ts,tsx}'], }; diff --git a/x-pack/plugins/lists/jest.config.js b/x-pack/plugins/lists/jest.config.js index c05b17f57cf7e..cb9832920183f 100644 --- a/x-pack/plugins/lists/jest.config.js +++ b/x-pack/plugins/lists/jest.config.js @@ -6,6 +6,9 @@ */ module.exports = { + collectCoverageFrom: ['/x-pack/plugins/lists/{common,public,server}/**/*.{ts,tsx}'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/lists', + coverageReporters: ['text', 'html'], preset: '@kbn/test', rootDir: '../../..', roots: ['/x-pack/plugins/lists'], diff --git a/x-pack/plugins/lists/public/exceptions/components/builder/logic_buttons.tsx b/x-pack/plugins/lists/public/exceptions/components/builder/logic_buttons.tsx index 30fda556f0df8..3846b844bb55a 100644 --- a/x-pack/plugins/lists/public/exceptions/components/builder/logic_buttons.tsx +++ b/x-pack/plugins/lists/public/exceptions/components/builder/logic_buttons.tsx @@ -41,7 +41,6 @@ export const BuilderLogicButtons: React.FC = ({ /x-pack/plugins/logstash'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/logstash', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/plugins/logstash/{common,public,server}/**/*.{js,ts,tsx}', + ], }; diff --git a/x-pack/plugins/maps/common/constants.ts b/x-pack/plugins/maps/common/constants.ts index 5cfed7d6a58b5..b6b3e636fffeb 100644 --- a/x-pack/plugins/maps/common/constants.ts +++ b/x-pack/plugins/maps/common/constants.ts @@ -9,7 +9,6 @@ import { i18n } from '@kbn/i18n'; import { FeatureCollection } from 'geojson'; export const EMS_APP_NAME = 'kibana'; -export const EMS_CATALOGUE_PATH = 'ems/catalogue'; export const EMS_FILES_CATALOGUE_PATH = 'ems/files'; export const EMS_FILES_API_PATH = 'ems/files'; diff --git a/x-pack/plugins/maps/common/descriptor_types/data_request_descriptor_types.ts b/x-pack/plugins/maps/common/descriptor_types/data_request_descriptor_types.ts index 8e996934ef69e..f2c13a81045ee 100644 --- a/x-pack/plugins/maps/common/descriptor_types/data_request_descriptor_types.ts +++ b/x-pack/plugins/maps/common/descriptor_types/data_request_descriptor_types.ts @@ -7,10 +7,10 @@ /* eslint-disable @typescript-eslint/consistent-type-definitions */ -import { Query } from 'src/plugins/data/public'; +import type { Query } from 'src/plugins/data/common'; import { SortDirection } from 'src/plugins/data/common/search'; import { RENDER_AS, SCALING_TYPES } from '../constants'; -import { MapExtent, MapQuery } from './map_descriptor'; +import { MapExtent } from './map_descriptor'; import { Filter, TimeRange } from '../../../../../src/plugins/data/common'; import { ESTermSourceDescriptor } from './source_descriptor_types'; @@ -20,12 +20,11 @@ export type Timeslice = { }; // Global map state passed to every layer. -export type MapFilters = { +export type DataFilters = { buffer?: MapExtent; // extent with additional buffer extent?: MapExtent; // map viewport filters: Filter[]; - query?: MapQuery; - refreshTimerLastTriggeredAt?: string; + query?: Query; searchSessionId?: string; timeFilters: TimeRange; timeslice?: Timeslice; @@ -60,24 +59,24 @@ export type VectorSourceSyncMeta = | ESTermSourceSyncMeta | null; -export type VectorSourceRequestMeta = MapFilters & { +export type VectorSourceRequestMeta = DataFilters & { applyGlobalQuery: boolean; applyGlobalTime: boolean; + applyForceRefresh: boolean; fieldNames: string[]; geogridPrecision?: number; - timesiceMaskField?: string; - sourceQuery?: MapQuery; + timesliceMaskField?: string; + sourceQuery?: Query; sourceMeta: VectorSourceSyncMeta; + isForceRefresh: boolean; }; -export type VectorJoinSourceRequestMeta = Omit & { - sourceQuery?: Query; -}; +export type VectorJoinSourceRequestMeta = Omit; -export type VectorStyleRequestMeta = MapFilters & { +export type VectorStyleRequestMeta = DataFilters & { dynamicStyleFields: string[]; isTimeAware: boolean; - sourceQuery: MapQuery; + sourceQuery: Query; timeFilters: TimeRange; }; @@ -107,7 +106,7 @@ export type VectorTileLayerMeta = { }; // Partial because objects are justified downstream in constructors -export type DataMeta = Partial< +export type DataRequestMeta = Partial< VectorSourceRequestMeta & VectorJoinSourceRequestMeta & VectorStyleRequestMeta & @@ -134,8 +133,8 @@ export type StyleMetaData = { export type DataRequestDescriptor = { dataId: string; - dataMetaAtStart?: DataMeta | null; + dataRequestMetaAtStart?: DataRequestMeta | null; dataRequestToken?: symbol; data?: object; - dataMeta?: DataMeta; + dataRequestMeta?: DataRequestMeta; }; diff --git a/x-pack/plugins/maps/common/descriptor_types/map_descriptor.ts b/x-pack/plugins/maps/common/descriptor_types/map_descriptor.ts index 20d811fab62f7..8cb43713face4 100644 --- a/x-pack/plugins/maps/common/descriptor_types/map_descriptor.ts +++ b/x-pack/plugins/maps/common/descriptor_types/map_descriptor.ts @@ -10,7 +10,6 @@ import { ReactNode } from 'react'; import { GeoJsonProperties } from 'geojson'; import { Geometry } from 'geojson'; -import { Query } from '../../../../../src/plugins/data/common'; import { DRAW_SHAPE, ES_SPATIAL_RELATIONS } from '../constants'; export type MapExtent = { @@ -20,10 +19,6 @@ export type MapExtent = { maxLat: number; }; -export type MapQuery = Query & { - queryLastTriggeredAt?: string; -}; - export type MapCenter = { lat: number; lon: number; diff --git a/x-pack/plugins/maps/common/descriptor_types/source_descriptor_types.ts b/x-pack/plugins/maps/common/descriptor_types/source_descriptor_types.ts index 9a2af711ea2c7..285c4043e46c7 100644 --- a/x-pack/plugins/maps/common/descriptor_types/source_descriptor_types.ts +++ b/x-pack/plugins/maps/common/descriptor_types/source_descriptor_types.ts @@ -42,6 +42,7 @@ export type AbstractESSourceDescriptor = AbstractSourceDescriptor & { geoField?: string; applyGlobalQuery: boolean; applyGlobalTime: boolean; + applyForceRefresh: boolean; }; type AbstractAggDescriptor = { diff --git a/x-pack/plugins/maps/common/index.ts b/x-pack/plugins/maps/common/index.ts index 7c551b3ed9eb4..c1b5d26fca292 100644 --- a/x-pack/plugins/maps/common/index.ts +++ b/x-pack/plugins/maps/common/index.ts @@ -5,8 +5,24 @@ * 2.0. */ -// TODO: https://github.com/elastic/kibana/issues/109853 -/* eslint-disable @kbn/eslint/no_export_all */ +export { + AGG_TYPE, + COLOR_MAP_TYPE, + ES_GEO_FIELD_TYPE, + FIELD_ORIGIN, + INITIAL_LOCATION, + LABEL_BORDER_SIZES, + MAP_SAVED_OBJECT_TYPE, + SOURCE_TYPES, + STYLE_TYPE, + SYMBOLIZE_AS_TYPES, +} from './constants'; -export * from './constants'; -export * from './types'; +export { + EMSFileSourceDescriptor, + ESTermSourceDescriptor, + LayerDescriptor, + TooltipFeature, + VectorLayerDescriptor, + VectorStyleDescriptor, +} from './descriptor_types'; diff --git a/x-pack/plugins/maps/jest.config.js b/x-pack/plugins/maps/jest.config.js index 9e620095af880..c9bd7bf4cd0d4 100644 --- a/x-pack/plugins/maps/jest.config.js +++ b/x-pack/plugins/maps/jest.config.js @@ -9,4 +9,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/x-pack/plugins/maps'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/maps', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/x-pack/plugins/maps/{common,public,server}/**/*.{js,ts,tsx}'], }; diff --git a/x-pack/plugins/maps/kibana.json b/x-pack/plugins/maps/kibana.json index e2cc415820db5..bfd501dbcb295 100644 --- a/x-pack/plugins/maps/kibana.json +++ b/x-pack/plugins/maps/kibana.json @@ -34,7 +34,7 @@ "ui": true, "server": true, "extraPublicDirs": [ - "common/constants" + "common" ], "requiredBundles": [ "kibanaReact", diff --git a/x-pack/plugins/maps/public/actions/data_request_actions.ts b/x-pack/plugins/maps/public/actions/data_request_actions.ts index 50df95a52c4d4..48b0a416b5f0f 100644 --- a/x-pack/plugins/maps/public/actions/data_request_actions.ts +++ b/x-pack/plugins/maps/public/actions/data_request_actions.ts @@ -45,22 +45,28 @@ import { } from './map_action_constants'; import { ILayer } from '../classes/layers/layer'; import { IVectorLayer } from '../classes/layers/vector_layer'; -import { DataMeta, MapExtent, MapFilters } from '../../common/descriptor_types'; +import { DataRequestMeta, MapExtent, DataFilters } from '../../common/descriptor_types'; import { DataRequestAbortError } from '../classes/util/data_request'; import { scaleBounds, turfBboxToBounds } from '../../common/elasticsearch_util'; const FIT_TO_BOUNDS_SCALE_FACTOR = 0.1; export type DataRequestContext = { - startLoading(dataId: string, requestToken: symbol, requestMeta?: DataMeta): void; - stopLoading(dataId: string, requestToken: symbol, data: object, resultsMeta?: DataMeta): void; + startLoading(dataId: string, requestToken: symbol, requestMeta?: DataRequestMeta): void; + stopLoading( + dataId: string, + requestToken: symbol, + data: object, + resultsMeta?: DataRequestMeta + ): void; onLoadError(dataId: string, requestToken: symbol, errorMessage: string): void; onJoinError(errorMessage: string): void; updateSourceData(newData: unknown): void; isRequestStillActive(dataId: string, requestToken: symbol): boolean; registerCancelCallback(requestToken: symbol, callback: () => void): void; - dataFilters: MapFilters; - forceRefresh: boolean; + dataFilters: DataFilters; + forceRefreshDueToDrawing: boolean; // Boolean signaling data request triggered by a user updating layer features via drawing tools. When true, layer will re-load regardless of "source.applyForceRefresh" flag. + isForceRefresh: boolean; // Boolean signaling data request triggered by auto-refresh timer or user clicking refresh button. When true, layer will re-load only when "source.applyForceRefresh" flag is set to true. }; export function clearDataRequests(layer: ILayer) { @@ -112,13 +118,14 @@ function getDataRequestContext( dispatch: ThunkDispatch, getState: () => MapStoreState, layerId: string, - forceRefresh: boolean = false + forceRefreshDueToDrawing: boolean, + isForceRefresh: boolean ): DataRequestContext { return { dataFilters: getDataFilters(getState()), - startLoading: (dataId: string, requestToken: symbol, meta: DataMeta) => + startLoading: (dataId: string, requestToken: symbol, meta: DataRequestMeta) => dispatch(startDataLoad(layerId, dataId, requestToken, meta)), - stopLoading: (dataId: string, requestToken: symbol, data: object, meta: DataMeta) => + stopLoading: (dataId: string, requestToken: symbol, data: object, meta: DataRequestMeta) => dispatch(endDataLoad(layerId, dataId, requestToken, data, meta)), onLoadError: (dataId: string, requestToken: symbol, errorMessage: string) => dispatch(onDataLoadError(layerId, dataId, requestToken, errorMessage)), @@ -136,17 +143,18 @@ function getDataRequestContext( }, registerCancelCallback: (requestToken: symbol, callback: () => void) => dispatch(registerCancelCallback(requestToken, callback)), - forceRefresh, + forceRefreshDueToDrawing, + isForceRefresh, }; } -export function syncDataForAllLayers() { +export function syncDataForAllLayers(isForceRefresh: boolean) { return async ( dispatch: ThunkDispatch, getState: () => MapStoreState ) => { const syncPromises = getLayerList(getState()).map((layer) => { - return dispatch(syncDataForLayer(layer)); + return dispatch(syncDataForLayer(layer, isForceRefresh)); }); await Promise.all(syncPromises); }; @@ -162,19 +170,20 @@ function syncDataForAllJoinLayers() { return 'hasJoins' in layer ? (layer as IVectorLayer).hasJoins() : false; }) .map((layer) => { - return dispatch(syncDataForLayer(layer)); + return dispatch(syncDataForLayer(layer, false)); }); await Promise.all(syncPromises); }; } -export function syncDataForLayer(layer: ILayer, forceRefresh: boolean = false) { +export function syncDataForLayerDueToDrawing(layer: ILayer) { return async (dispatch: Dispatch, getState: () => MapStoreState) => { const dataRequestContext = getDataRequestContext( dispatch, getState, layer.getId(), - forceRefresh + true, + false ); if (!layer.isVisible() || !layer.showAtZoomLevel(dataRequestContext.dataFilters.zoom)) { return; @@ -183,14 +192,30 @@ export function syncDataForLayer(layer: ILayer, forceRefresh: boolean = false) { }; } -export function syncDataForLayerId(layerId: string | null) { +export function syncDataForLayer(layer: ILayer, isForceRefresh: boolean) { + return async (dispatch: Dispatch, getState: () => MapStoreState) => { + const dataRequestContext = getDataRequestContext( + dispatch, + getState, + layer.getId(), + false, + isForceRefresh + ); + if (!layer.isVisible() || !layer.showAtZoomLevel(dataRequestContext.dataFilters.zoom)) { + return; + } + await layer.syncData(dataRequestContext); + }; +} + +export function syncDataForLayerId(layerId: string | null, isForceRefresh: boolean) { return async ( dispatch: ThunkDispatch, getState: () => MapStoreState ) => { const layer = getLayerById(layerId, getState()); if (layer) { - dispatch(syncDataForLayer(layer)); + dispatch(syncDataForLayer(layer, isForceRefresh)); } }; } @@ -204,7 +229,12 @@ function setLayerDataLoadErrorStatus(layerId: string, errorMessage: string | nul }; } -function startDataLoad(layerId: string, dataId: string, requestToken: symbol, meta: DataMeta) { +function startDataLoad( + layerId: string, + dataId: string, + requestToken: symbol, + meta: DataRequestMeta +) { return ( dispatch: ThunkDispatch, getState: () => MapStoreState @@ -237,7 +267,7 @@ function endDataLoad( dataId: string, requestToken: symbol, data: object, - meta: DataMeta + meta: DataRequestMeta ) { return ( dispatch: ThunkDispatch, @@ -342,7 +372,7 @@ export function fitToLayerExtent(layerId: string) { if (targetLayer) { try { const bounds = await targetLayer.getBounds( - getDataRequestContext(dispatch, getState, layerId) + getDataRequestContext(dispatch, getState, layerId, false, false) ); if (bounds) { await dispatch(setGotoWithBounds(scaleBounds(bounds, FIT_TO_BOUNDS_SCALE_FACTOR))); @@ -374,7 +404,9 @@ export function fitToDataBounds(onNoBounds?: () => void) { if (!(await layer.isFittable())) { return null; } - return layer.getBounds(getDataRequestContext(dispatch, getState, layer.getId())); + return layer.getBounds( + getDataRequestContext(dispatch, getState, layer.getId(), false, false) + ); }); let bounds; @@ -442,7 +474,7 @@ export function autoFitToBounds() { // Ensure layer syncing occurs when setGotoWithBounds is not triggered. function onNoBounds() { if (localSetQueryCallId === lastSetQueryCallId) { - dispatch(syncDataForAllLayers()); + dispatch(syncDataForAllLayers(false)); } } dispatch(fitToDataBounds(onNoBounds)); diff --git a/x-pack/plugins/maps/public/actions/layer_actions.ts b/x-pack/plugins/maps/public/actions/layer_actions.ts index edd21090143bf..d5bb061ccf430 100644 --- a/x-pack/plugins/maps/public/actions/layer_actions.ts +++ b/x-pack/plugins/maps/public/actions/layer_actions.ts @@ -80,7 +80,7 @@ export function rollbackToTrackedLayerStateForSelectedLayer() { // syncDataForLayer may not trigger endDataLoad if no re-fetch is required dispatch(updateStyleMeta(layerId)); - dispatch(syncDataForLayerId(layerId)); + dispatch(syncDataForLayerId(layerId, false)); }; } @@ -149,7 +149,7 @@ export function addLayer(layerDescriptor: LayerDescriptor) { type: ADD_LAYER, layer: layerDescriptor, }); - dispatch(syncDataForLayerId(layerDescriptor.id)); + dispatch(syncDataForLayerId(layerDescriptor.id, false)); const layer = createLayerInstance(layerDescriptor); const features = await layer.getLicensedFeatures(); @@ -226,7 +226,7 @@ export function setLayerVisibility(layerId: string, makeVisible: boolean) { visibility: makeVisible, }); if (makeVisible) { - dispatch(syncDataForLayerId(layerId)); + dispatch(syncDataForLayerId(layerId, false)); } }; } @@ -330,7 +330,7 @@ function updateMetricsProp(layerId: string, value: unknown) { value, }); await dispatch(updateStyleProperties(layerId, previousFields as IESAggField[])); - dispatch(syncDataForLayerId(layerId)); + dispatch(syncDataForLayerId(layerId, false)); }; } @@ -356,7 +356,7 @@ export function updateSourceProp( if (newLayerType) { dispatch(updateLayerType(layerId, newLayerType)); } - dispatch(syncDataForLayerId(layerId)); + dispatch(syncDataForLayerId(layerId, false)); }; } @@ -459,7 +459,7 @@ export function setLayerQuery(id: string, query: Query) { newValue: query, }); - dispatch(syncDataForLayerId(id)); + dispatch(syncDataForLayerId(id, false)); }; } @@ -563,7 +563,7 @@ export function updateLayerStyle(layerId: string, styleDescriptor: StyleDescript dispatch(updateStyleMeta(layerId)); // Style update may require re-fetch, for example ES search may need to retrieve field used for dynamic styling - dispatch(syncDataForLayerId(layerId)); + dispatch(syncDataForLayerId(layerId, false)); }; } @@ -589,7 +589,7 @@ export function setJoinsForLayer(layer: ILayer, joins: JoinDescriptor[]) { joins, }); await dispatch(updateStyleProperties(layer.getId(), previousFields)); - dispatch(syncDataForLayerId(layer.getId())); + dispatch(syncDataForLayerId(layer.getId(), false)); }; } diff --git a/x-pack/plugins/maps/public/actions/map_actions.test.ts b/x-pack/plugins/maps/public/actions/map_actions.test.ts index d222d8e5b0466..935ca332baa22 100644 --- a/x-pack/plugins/maps/public/actions/map_actions.test.ts +++ b/x-pack/plugins/maps/public/actions/map_actions.test.ts @@ -277,7 +277,6 @@ describe('map_actions', () => { const query = { language: 'kuery', query: '', - queryLastTriggeredAt: '2020-08-14T15:07:12.276Z', }; const timeFilters = { from: 'now-1y', to: 'now' }; const filters = [ @@ -327,7 +326,6 @@ describe('map_actions', () => { const newQuery = { language: 'kuery', query: 'foobar', - queryLastTriggeredAt: '2020-08-14T15:07:12.276Z', }; const setQueryAction = await setQuery({ query: newQuery, @@ -384,7 +382,6 @@ describe('map_actions', () => { }); await setQueryAction(dispatchMock, getStoreMock); - // Only checking calls length instead of calls because queryLastTriggeredAt changes on this run expect(dispatchMock.mock.calls.length).toEqual(2); }); }); diff --git a/x-pack/plugins/maps/public/actions/map_actions.ts b/x-pack/plugins/maps/public/actions/map_actions.ts index c1db14347460f..ba52203ce486b 100644 --- a/x-pack/plugins/maps/public/actions/map_actions.ts +++ b/x-pack/plugins/maps/public/actions/map_actions.ts @@ -51,7 +51,11 @@ import { UPDATE_MAP_SETTING, UPDATE_EDIT_STATE, } from './map_action_constants'; -import { autoFitToBounds, syncDataForAllLayers, syncDataForLayer } from './data_request_actions'; +import { + autoFitToBounds, + syncDataForAllLayers, + syncDataForLayerDueToDrawing, +} from './data_request_actions'; import { addLayer, addLayerWithoutDataSync } from './layer_actions'; import { MapSettings } from '../reducers/map'; import { DrawState, MapCenterAndZoom, MapExtent, Timeslice } from '../../common/descriptor_types'; @@ -172,7 +176,7 @@ export function mapExtentChanged(mapExtentState: MapExtentState) { }); } - dispatch(syncDataForAllLayers()); + dispatch(syncDataForAllLayers(false)); }; } @@ -212,10 +216,6 @@ export function clearGoto() { return { type: CLEAR_GOTO }; } -function generateQueryTimestamp() { - return new Date().toISOString(); -} - export function setQuery({ query, timeFilters, @@ -240,11 +240,6 @@ export function setQuery({ getState: () => MapStoreState ) => { const prevQuery = getQuery(getState()); - const prevTriggeredAt = - prevQuery && prevQuery.queryLastTriggeredAt - ? prevQuery.queryLastTriggeredAt - : generateQueryTimestamp(); - const prevTimeFilters = getTimeFilters(getState()); function getNextTimeslice() { @@ -261,11 +256,7 @@ export function setQuery({ const nextQueryContext = { timeFilters: timeFilters ? timeFilters : prevTimeFilters, timeslice: getNextTimeslice(), - query: { - ...(query ? query : prevQuery), - // ensure query changes to trigger re-fetch when "Refresh" clicked - queryLastTriggeredAt: forceRefresh ? generateQueryTimestamp() : prevTriggeredAt, - }, + query: query ? query : prevQuery, filters: filters ? filters : getFilters(getState()), searchSessionId: searchSessionId ? searchSessionId : getSearchSessionId(getState()), searchSessionMapBuffer, @@ -280,7 +271,7 @@ export function setQuery({ searchSessionMapBuffer: getSearchSessionMapBuffer(getState()), }; - if (_.isEqual(nextQueryContext, prevQueryContext)) { + if (!forceRefresh && _.isEqual(nextQueryContext, prevQueryContext)) { // do nothing if query context has not changed return; } @@ -293,7 +284,7 @@ export function setQuery({ if (getMapSettings(getState()).autoFitToDataBounds) { dispatch(autoFitToBounds()); } else { - await dispatch(syncDataForAllLayers()); + await dispatch(syncDataForAllLayers(forceRefresh)); } }; } @@ -372,7 +363,7 @@ export function addNewFeatureToIndex(geometry: Geometry | Position[]) { try { await layer.addFeature(geometry); - await dispatch(syncDataForLayer(layer, true)); + await dispatch(syncDataForLayerDueToDrawing(layer)); } catch (e) { getToasts().addError(e, { title: i18n.translate('xpack.maps.mapActions.addFeatureError', { @@ -399,7 +390,7 @@ export function deleteFeatureFromIndex(featureId: string) { } try { await layer.deleteFeature(featureId); - await dispatch(syncDataForLayer(layer, true)); + await dispatch(syncDataForLayerDueToDrawing(layer)); } catch (e) { getToasts().addError(e, { title: i18n.translate('xpack.maps.mapActions.removeFeatureError', { diff --git a/x-pack/plugins/maps/public/actions/ui_actions.ts b/x-pack/plugins/maps/public/actions/ui_actions.ts index 27e11a938e22b..70e24283ef48f 100644 --- a/x-pack/plugins/maps/public/actions/ui_actions.ts +++ b/x-pack/plugins/maps/public/actions/ui_actions.ts @@ -12,7 +12,7 @@ import { getFlyoutDisplay } from '../selectors/ui_selectors'; import { FLYOUT_STATE } from '../reducers/ui'; import { setQuery, trackMapSettings } from './map_actions'; import { setSelectedLayer } from './layer_actions'; -import { DRAW_MODE } from '../../common'; +import { DRAW_MODE } from '../../common/constants'; import { UPDATE_EDIT_STATE } from './map_action_constants'; export const UPDATE_FLYOUT = 'UPDATE_FLYOUT'; diff --git a/x-pack/plugins/maps/public/classes/layers/__fixtures__/mock_sync_context.ts b/x-pack/plugins/maps/public/classes/layers/__fixtures__/mock_sync_context.ts index 16aca6760c4d5..b81ba6c854629 100644 --- a/x-pack/plugins/maps/public/classes/layers/__fixtures__/mock_sync_context.ts +++ b/x-pack/plugins/maps/public/classes/layers/__fixtures__/mock_sync_context.ts @@ -7,21 +7,22 @@ import sinon from 'sinon'; import { DataRequestContext } from '../../../actions'; -import { DataMeta, MapFilters } from '../../../../common/descriptor_types'; +import { DataRequestMeta, DataFilters } from '../../../../common/descriptor_types'; export class MockSyncContext implements DataRequestContext { - dataFilters: MapFilters; + dataFilters: DataFilters; isRequestStillActive: (dataId: string, requestToken: symbol) => boolean; onLoadError: (dataId: string, requestToken: symbol, errorMessage: string) => void; registerCancelCallback: (requestToken: symbol, callback: () => void) => void; - startLoading: (dataId: string, requestToken: symbol, meta: DataMeta) => void; - stopLoading: (dataId: string, requestToken: symbol, data: object, meta: DataMeta) => void; + startLoading: (dataId: string, requestToken: symbol, meta: DataRequestMeta) => void; + stopLoading: (dataId: string, requestToken: symbol, data: object, meta: DataRequestMeta) => void; onJoinError: (errorMessage: string) => void; updateSourceData: (newData: unknown) => void; - forceRefresh: boolean; + forceRefreshDueToDrawing: boolean; + isForceRefresh: boolean; - constructor({ dataFilters }: { dataFilters: Partial }) { - const mapFilters: MapFilters = { + constructor({ dataFilters }: { dataFilters: Partial }) { + const mapFilters: DataFilters = { filters: [], timeFilters: { from: 'now', @@ -41,6 +42,7 @@ export class MockSyncContext implements DataRequestContext { this.stopLoading = sinon.spy(); this.onJoinError = sinon.spy(); this.updateSourceData = sinon.spy(); - this.forceRefresh = false; + this.forceRefreshDueToDrawing = false; + this.isForceRefresh = false; } } diff --git a/x-pack/plugins/maps/public/classes/layers/blended_vector_layer/blended_vector_layer.test.tsx b/x-pack/plugins/maps/public/classes/layers/blended_vector_layer/blended_vector_layer.test.tsx index 4c81ee67e1daf..d4138ccfaf319 100644 --- a/x-pack/plugins/maps/public/classes/layers/blended_vector_layer/blended_vector_layer.test.tsx +++ b/x-pack/plugins/maps/public/classes/layers/blended_vector_layer/blended_vector_layer.test.tsx @@ -63,6 +63,7 @@ describe('getSource', () => { ...documentSourceDescriptor, applyGlobalQuery: false, applyGlobalTime: false, + applyForceRefresh: false, }), layerDescriptor: BlendedVectorLayer.createDescriptor( { @@ -86,6 +87,7 @@ describe('getSource', () => { geoField: sourceDescriptor.geoField, applyGlobalQuery: sourceDescriptor.applyGlobalQuery, applyGlobalTime: sourceDescriptor.applyGlobalTime, + applyForceRefresh: sourceDescriptor.applyForceRefresh, }; expect(abstractEsSourceDescriptor).toEqual({ type: sourceDescriptor.type, @@ -94,6 +96,7 @@ describe('getSource', () => { indexPatternId: 'myIndexPattern', applyGlobalQuery: false, applyGlobalTime: false, + applyForceRefresh: false, } as AbstractESSourceDescriptor); }); }); diff --git a/x-pack/plugins/maps/public/classes/layers/blended_vector_layer/blended_vector_layer.ts b/x-pack/plugins/maps/public/classes/layers/blended_vector_layer/blended_vector_layer.ts index 5db22ff5354a8..d2734265f3bc3 100644 --- a/x-pack/plugins/maps/public/classes/layers/blended_vector_layer/blended_vector_layer.ts +++ b/x-pack/plugins/maps/public/classes/layers/blended_vector_layer/blended_vector_layer.ts @@ -60,6 +60,7 @@ function getClusterSource(documentSource: IESSource, documentStyle: IVectorStyle }); clusterSourceDescriptor.applyGlobalQuery = documentSource.getApplyGlobalQuery(); clusterSourceDescriptor.applyGlobalTime = documentSource.getApplyGlobalTime(); + clusterSourceDescriptor.applyForceRefresh = documentSource.getApplyForceRefresh(); clusterSourceDescriptor.metrics = [ { type: AGG_TYPE.COUNT, @@ -290,16 +291,18 @@ export class BlendedVectorLayer extends VectorLayer implements IVectorLayer { async syncData(syncContext: DataRequestContext) { const dataRequestId = ACTIVE_COUNT_DATA_ID; const requestToken = Symbol(`layer-active-count:${this.getId()}`); - const searchFilters: VectorSourceRequestMeta = await this._getSearchFilters( + const requestMeta: VectorSourceRequestMeta = await this._getVectorSourceRequestMeta( + syncContext.isForceRefresh, syncContext.dataFilters, this.getSource(), this.getCurrentStyle() ); const source = this.getSource(); - const canSkipFetch = await canSkipSourceUpdate({ + + const canSkipSourceFetch = await canSkipSourceUpdate({ source, prevDataRequest: this.getDataRequest(dataRequestId), - nextMeta: searchFilters, + nextRequestMeta: requestMeta, extentAware: source.isFilterByMapBounds(), getUpdateDueToTimeslice: (timeslice?: Timeslice) => { return this._getUpdateDueToTimesliceFromSourceRequestMeta(source, timeslice); @@ -308,7 +311,7 @@ export class BlendedVectorLayer extends VectorLayer implements IVectorLayer { let activeSource; let activeStyle; - if (canSkipFetch) { + if (canSkipSourceFetch) { // Even when source fetch is skipped, need to call super._syncData to sync StyleMeta and formatters if (this._isClustered) { activeSource = this._clusterSource; @@ -320,12 +323,12 @@ export class BlendedVectorLayer extends VectorLayer implements IVectorLayer { } else { let isSyncClustered; try { - syncContext.startLoading(dataRequestId, requestToken, searchFilters); + syncContext.startLoading(dataRequestId, requestToken, requestMeta); isSyncClustered = !(await this._documentSource.canLoadAllDocuments( - searchFilters, + requestMeta, syncContext.registerCancelCallback.bind(null, requestToken) )); - syncContext.stopLoading(dataRequestId, requestToken, { isSyncClustered }, searchFilters); + syncContext.stopLoading(dataRequestId, requestToken, { isSyncClustered }, requestMeta); } catch (error) { if (!(error instanceof DataRequestAbortError) || !isSearchSourceAbortError(error)) { syncContext.onLoadError(dataRequestId, requestToken, error.message); diff --git a/x-pack/plugins/maps/public/classes/layers/build_vector_request_meta.ts b/x-pack/plugins/maps/public/classes/layers/build_vector_request_meta.ts new file mode 100644 index 0000000000000..4d52dacc63782 --- /dev/null +++ b/x-pack/plugins/maps/public/classes/layers/build_vector_request_meta.ts @@ -0,0 +1,32 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import _ from 'lodash'; +import type { Query } from 'src/plugins/data/common'; +import { DataFilters, VectorSourceRequestMeta } from '../../../common/descriptor_types'; +import { IVectorSource } from '../sources/vector_source'; +import { ITermJoinSource } from '../sources/term_join_source'; + +export function buildVectorRequestMeta( + source: IVectorSource | ITermJoinSource, + fieldNames: string[], + dataFilters: DataFilters, + sourceQuery: Query | null | undefined, + isForceRefresh: boolean +): VectorSourceRequestMeta { + return { + ...dataFilters, + fieldNames: _.uniq(fieldNames).sort(), + geogridPrecision: source.getGeoGridPrecision(dataFilters.zoom), + sourceQuery: sourceQuery ? sourceQuery : undefined, + applyGlobalQuery: source.getApplyGlobalQuery(), + applyGlobalTime: source.getApplyGlobalTime(), + sourceMeta: source.getSyncMeta(), + applyForceRefresh: source.isESSource() ? source.getApplyForceRefresh() : false, + isForceRefresh, + }; +} diff --git a/x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/create_choropleth_layer_descriptor.ts b/x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/create_choropleth_layer_descriptor.ts index a4955a965d77c..6b91e4812a1d6 100644 --- a/x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/create_choropleth_layer_descriptor.ts +++ b/x-pack/plugins/maps/public/classes/layers/choropleth_layer_wizard/create_choropleth_layer_descriptor.ts @@ -64,6 +64,7 @@ function createChoroplethLayerDescriptor({ metrics: [metricsDescriptor], applyGlobalQuery: true, applyGlobalTime: true, + applyForceRefresh: true, }, }, ], @@ -148,6 +149,8 @@ export function createEsChoroplethLayerDescriptor({ scalingType: SCALING_TYPES.LIMIT, tooltipProperties: [leftJoinField], applyGlobalQuery: false, + applyGlobalTime: false, + applyForceRefresh: false, }), leftField: leftJoinField, rightIndexPatternId, diff --git a/x-pack/plugins/maps/public/classes/layers/create_region_map_layer_descriptor.ts b/x-pack/plugins/maps/public/classes/layers/create_region_map_layer_descriptor.ts index 229532c09f955..408460de28aeb 100644 --- a/x-pack/plugins/maps/public/classes/layers/create_region_map_layer_descriptor.ts +++ b/x-pack/plugins/maps/public/classes/layers/create_region_map_layer_descriptor.ts @@ -92,6 +92,7 @@ export function createRegionMapLayerDescriptor({ metrics: [metricsDescriptor], applyGlobalQuery: true, applyGlobalTime: true, + applyForceRefresh: true, }; if (termsSize !== undefined) { termSourceDescriptor.size = termsSize; diff --git a/x-pack/plugins/maps/public/classes/layers/heatmap_layer/heatmap_layer.ts b/x-pack/plugins/maps/public/classes/layers/heatmap_layer/heatmap_layer.ts index d12c8432a4191..d65d114205163 100644 --- a/x-pack/plugins/maps/public/classes/layers/heatmap_layer/heatmap_layer.ts +++ b/x-pack/plugins/maps/public/classes/layers/heatmap_layer/heatmap_layer.ts @@ -10,11 +10,12 @@ import { FeatureCollection } from 'geojson'; import { AbstractLayer } from '../layer'; import { HeatmapStyle } from '../../styles/heatmap/heatmap_style'; import { EMPTY_FEATURE_COLLECTION, LAYER_TYPE } from '../../../../common/constants'; -import { HeatmapLayerDescriptor, MapQuery } from '../../../../common/descriptor_types'; +import { HeatmapLayerDescriptor } from '../../../../common/descriptor_types'; import { ESGeoGridSource } from '../../sources/es_geo_grid_source'; import { addGeoJsonMbSource, getVectorSourceBounds, syncVectorSource } from '../vector_layer'; import { DataRequestContext } from '../../../actions'; import { DataRequestAbortError } from '../../util/data_request'; +import { buildVectorRequestMeta } from '../build_vector_request_meta'; const SCALED_PROPERTY_NAME = '__kbn_heatmap_weight__'; // unique name to store scaled value for weighting @@ -94,21 +95,18 @@ export class HeatmapLayer extends AbstractLayer { return; } - const sourceQuery = this.getQuery() as MapQuery; try { await syncVectorSource({ layerId: this.getId(), layerName: await this.getDisplayName(this.getSource()), prevDataRequest: this.getSourceDataRequest(), - requestMeta: { - ...syncContext.dataFilters, - fieldNames: this.getSource().getFieldNames(), - geogridPrecision: this.getSource().getGeoGridPrecision(syncContext.dataFilters.zoom), - sourceQuery: sourceQuery ? sourceQuery : undefined, - applyGlobalQuery: this.getSource().getApplyGlobalQuery(), - applyGlobalTime: this.getSource().getApplyGlobalTime(), - sourceMeta: this.getSource().getSyncMeta(), - }, + requestMeta: buildVectorRequestMeta( + this.getSource(), + this.getSource().getFieldNames(), + syncContext.dataFilters, + this.getQuery(), + syncContext.isForceRefresh + ), syncContext, source: this.getSource(), getUpdateDueToTimeslice: () => { @@ -194,7 +192,7 @@ export class HeatmapLayer extends AbstractLayer { layerId: this.getId(), syncContext, source: this.getSource(), - sourceQuery: this.getQuery() as MapQuery, + sourceQuery: this.getQuery(), }); } diff --git a/x-pack/plugins/maps/public/classes/layers/layer.test.ts b/x-pack/plugins/maps/public/classes/layers/layer.test.ts index d3d8a94e175eb..dcc183c5c1741 100644 --- a/x-pack/plugins/maps/public/classes/layers/layer.test.ts +++ b/x-pack/plugins/maps/public/classes/layers/layer.test.ts @@ -84,6 +84,7 @@ describe('cloneDescriptor', () => { type: SOURCE_TYPES.ES_TERM_SOURCE, applyGlobalQuery: true, applyGlobalTime: true, + applyForceRefresh: true, }, }, ], diff --git a/x-pack/plugins/maps/public/classes/layers/new_vector_layer_wizard/config.tsx b/x-pack/plugins/maps/public/classes/layers/new_vector_layer_wizard/config.tsx index 5a82cf881e34d..0c3d1dc41d640 100644 --- a/x-pack/plugins/maps/public/classes/layers/new_vector_layer_wizard/config.tsx +++ b/x-pack/plugins/maps/public/classes/layers/new_vector_layer_wizard/config.tsx @@ -11,7 +11,7 @@ import { LayerWizard, RenderWizardArguments } from '../../layers/layer_wizard_re import { NewVectorLayerEditor } from './wizard'; import { DrawLayerIcon } from '../../layers/icons/draw_layer_icon'; import { getFileUpload } from '../../../kibana_services'; -import { LAYER_WIZARD_CATEGORY } from '../../../../common'; +import { LAYER_WIZARD_CATEGORY } from '../../../../common/constants'; const ADD_VECTOR_DRAWING_LAYER = 'ADD_VECTOR_DRAWING_LAYER'; diff --git a/x-pack/plugins/maps/public/classes/layers/new_vector_layer_wizard/create_new_index_pattern.ts b/x-pack/plugins/maps/public/classes/layers/new_vector_layer_wizard/create_new_index_pattern.ts index 2e57014824a3c..596d2ce86bbe2 100644 --- a/x-pack/plugins/maps/public/classes/layers/new_vector_layer_wizard/create_new_index_pattern.ts +++ b/x-pack/plugins/maps/public/classes/layers/new_vector_layer_wizard/create_new_index_pattern.ts @@ -6,11 +6,8 @@ */ import { getHttp } from '../../../kibana_services'; -import { - CreateDocSourceResp, - INDEX_SOURCE_API_PATH, - IndexSourceMappings, -} from '../../../../common'; +import { CreateDocSourceResp, IndexSourceMappings } from '../../../../common/types'; +import { INDEX_SOURCE_API_PATH } from '../../../../common/constants'; export const createNewIndexAndPattern = async ({ indexName, diff --git a/x-pack/plugins/maps/public/classes/layers/solution_layers/observability/create_layer_descriptor.test.ts b/x-pack/plugins/maps/public/classes/layers/solution_layers/observability/create_layer_descriptor.test.ts index 74ab35e6cb360..8955342824a77 100644 --- a/x-pack/plugins/maps/public/classes/layers/solution_layers/observability/create_layer_descriptor.test.ts +++ b/x-pack/plugins/maps/public/classes/layers/solution_layers/observability/create_layer_descriptor.test.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { emsWorldLayerId } from '../../../../../common'; +import { emsWorldLayerId } from '../../../../../common/constants'; jest.mock('../../../../kibana_services', () => { return { @@ -61,6 +61,7 @@ describe('createLayerDescriptor', () => { type: 'avg', }, ], + applyForceRefresh: true, term: 'client.geo.country_iso_code', type: 'ES_TERM_SOURCE', whereQuery: { @@ -201,6 +202,7 @@ describe('createLayerDescriptor', () => { ], requestType: 'heatmap', resolution: 'MOST_FINE', + applyForceRefresh: true, type: 'ES_GEO_GRID', }, style: { @@ -245,6 +247,7 @@ describe('createLayerDescriptor', () => { ], requestType: 'point', resolution: 'MOST_FINE', + applyForceRefresh: true, type: 'ES_GEO_GRID', }, style: { diff --git a/x-pack/plugins/maps/public/classes/layers/solution_layers/observability/create_layer_descriptor.ts b/x-pack/plugins/maps/public/classes/layers/solution_layers/observability/create_layer_descriptor.ts index 0b57afb38d585..d55040172f830 100644 --- a/x-pack/plugins/maps/public/classes/layers/solution_layers/observability/create_layer_descriptor.ts +++ b/x-pack/plugins/maps/public/classes/layers/solution_layers/observability/create_layer_descriptor.ts @@ -179,6 +179,7 @@ export function createLayerDescriptor({ whereQuery: apmSourceQuery, applyGlobalQuery: true, applyGlobalTime: true, + applyForceRefresh: true, }, }, ], diff --git a/x-pack/plugins/maps/public/classes/layers/solution_layers/security/create_layer_descriptors.test.ts b/x-pack/plugins/maps/public/classes/layers/solution_layers/security/create_layer_descriptors.test.ts index a3a3e8b20f678..cc6a7dfd9e796 100644 --- a/x-pack/plugins/maps/public/classes/layers/solution_layers/security/create_layer_descriptors.test.ts +++ b/x-pack/plugins/maps/public/classes/layers/solution_layers/security/create_layer_descriptors.test.ts @@ -47,6 +47,7 @@ describe('createLayerDescriptor', () => { geoField: 'client.geo.location', id: '12345', indexPatternId: 'id', + applyForceRefresh: true, scalingType: 'TOP_HITS', sortField: '', sortOrder: 'desc', @@ -156,6 +157,7 @@ describe('createLayerDescriptor', () => { geoField: 'server.geo.location', id: '12345', indexPatternId: 'id', + applyForceRefresh: true, scalingType: 'TOP_HITS', sortField: '', sortOrder: 'desc', @@ -274,6 +276,7 @@ describe('createLayerDescriptor', () => { type: 'sum', }, ], + applyForceRefresh: true, sourceGeoField: 'client.geo.location', type: 'ES_PEW_PEW', }, @@ -386,6 +389,7 @@ describe('createLayerDescriptor', () => { geoField: 'source.geo.location', id: '12345', indexPatternId: 'id', + applyForceRefresh: true, scalingType: 'TOP_HITS', sortField: '', sortOrder: 'desc', @@ -495,6 +499,7 @@ describe('createLayerDescriptor', () => { geoField: 'destination.geo.location', id: '12345', indexPatternId: 'id', + applyForceRefresh: true, scalingType: 'TOP_HITS', sortField: '', sortOrder: 'desc', @@ -613,6 +618,7 @@ describe('createLayerDescriptor', () => { type: 'sum', }, ], + applyForceRefresh: true, sourceGeoField: 'source.geo.location', type: 'ES_PEW_PEW', }, @@ -724,6 +730,7 @@ describe('createLayerDescriptor', () => { filterByMapBounds: true, geoField: 'client.geo.location', id: '12345', + applyForceRefresh: true, indexPatternId: 'id', scalingType: 'TOP_HITS', sortField: '', @@ -835,6 +842,7 @@ describe('createLayerDescriptor', () => { id: '12345', indexPatternId: 'id', scalingType: 'TOP_HITS', + applyForceRefresh: true, sortField: '', sortOrder: 'desc', tooltipProperties: [ @@ -952,6 +960,7 @@ describe('createLayerDescriptor', () => { type: 'sum', }, ], + applyForceRefresh: true, sourceGeoField: 'client.geo.location', type: 'ES_PEW_PEW', }, diff --git a/x-pack/plugins/maps/public/classes/layers/tiled_vector_layer/tiled_vector_layer.tsx b/x-pack/plugins/maps/public/classes/layers/tiled_vector_layer/tiled_vector_layer.tsx index 6277411fa053a..0d365cc5fc8c4 100644 --- a/x-pack/plugins/maps/public/classes/layers/tiled_vector_layer/tiled_vector_layer.tsx +++ b/x-pack/plugins/maps/public/classes/layers/tiled_vector_layer/tiled_vector_layer.tsx @@ -38,7 +38,6 @@ import { } from '../../../../common/descriptor_types'; import { MVTSingleLayerVectorSourceConfig } from '../../sources/mvt_single_layer_vector_source/types'; import { canSkipSourceUpdate } from '../../util/can_skip_fetch'; -import { isRefreshOnlyQuery } from '../../util/is_refresh_only_query'; import { CustomIconAndTooltipContent } from '../layer'; export class TiledVectorLayer extends VectorLayer { @@ -113,9 +112,11 @@ export class TiledVectorLayer extends VectorLayer { stopLoading, onLoadError, dataFilters, + isForceRefresh, }: DataRequestContext) { const requestToken: symbol = Symbol(`layer-${this.getId()}-${SOURCE_DATA_REQUEST_ID}`); - const searchFilters: VectorSourceRequestMeta = await this._getSearchFilters( + const requestMeta: VectorSourceRequestMeta = await this._getVectorSourceRequestMeta( + isForceRefresh, dataFilters, this.getSource(), this._style as IVectorStyle @@ -132,7 +133,7 @@ export class TiledVectorLayer extends VectorLayer { extentAware: false, // spatial extent knowledge is already fully automated by tile-loading based on pan-zooming source: this.getSource(), prevDataRequest, - nextMeta: searchFilters, + nextRequestMeta: requestMeta, getUpdateDueToTimeslice: (timeslice?: Timeslice) => { // TODO use meta features to determine if tiles already contain features for timeslice. return true; @@ -145,18 +146,17 @@ export class TiledVectorLayer extends VectorLayer { } } - startLoading(SOURCE_DATA_REQUEST_ID, requestToken, searchFilters); + startLoading(SOURCE_DATA_REQUEST_ID, requestToken, requestMeta); try { - const prevMeta = prevDataRequest ? prevDataRequest.getMeta() : undefined; const prevData = prevDataRequest ? (prevDataRequest.getData() as MVTSingleLayerVectorSourceConfig) : undefined; const urlToken = - !prevData || isRefreshOnlyQuery(prevMeta ? prevMeta.query : undefined, searchFilters.query) + !prevData || (requestMeta.isForceRefresh && requestMeta.applyForceRefresh) ? uuid() : prevData.urlToken; - const newUrlTemplateAndMeta = await this._source.getUrlTemplateWithMeta(searchFilters); + const newUrlTemplateAndMeta = await this._source.getUrlTemplateWithMeta(requestMeta); let urlTemplate; if (newUrlTemplateAndMeta.refreshTokenParamName) { diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/utils.tsx b/x-pack/plugins/maps/public/classes/layers/vector_layer/utils.tsx index 346e59f60af32..6bc72f09e9387 100644 --- a/x-pack/plugins/maps/public/classes/layers/vector_layer/utils.tsx +++ b/x-pack/plugins/maps/public/classes/layers/vector_layer/utils.tsx @@ -7,6 +7,7 @@ import { FeatureCollection } from 'geojson'; import type { Map as MbMap } from '@kbn/mapbox-gl'; +import type { Query } from 'src/plugins/data/common'; import { EMPTY_FEATURE_COLLECTION, SOURCE_BOUNDS_DATA_REQUEST_ID, @@ -14,9 +15,8 @@ import { VECTOR_SHAPE_TYPE, } from '../../../../common/constants'; import { - DataMeta, + DataRequestMeta, MapExtent, - MapQuery, Timeslice, VectorSourceRequestMeta, } from '../../../../common/descriptor_types'; @@ -77,15 +77,17 @@ export async function syncVectorSource({ } = syncContext; const dataRequestId = SOURCE_DATA_REQUEST_ID; const requestToken = Symbol(`${layerId}-${dataRequestId}`); - const canSkipFetch = syncContext.forceRefresh + + const canSkipFetch = syncContext.forceRefreshDueToDrawing ? false : await canSkipSourceUpdate({ source, prevDataRequest, - nextMeta: requestMeta, + nextRequestMeta: requestMeta, extentAware: source.isFilterByMapBounds(), getUpdateDueToTimeslice, }); + if (canSkipFetch) { return { refreshed: false, @@ -113,11 +115,11 @@ export async function syncVectorSource({ ) { layerFeatureCollection.features.push(...getCentroidFeatures(layerFeatureCollection)); } - const responseMeta: DataMeta = meta ? { ...meta } : {}; + const responseMeta: DataRequestMeta = meta ? { ...meta } : {}; if (requestMeta.applyGlobalTime && (await source.isTimeAware())) { - const timesiceMaskField = await source.getTimesliceMaskFieldName(); - if (timesiceMaskField) { - responseMeta.timesiceMaskField = timesiceMaskField; + const timesliceMaskField = await source.getTimesliceMaskFieldName(); + if (timesliceMaskField) { + responseMeta.timesliceMaskField = timesliceMaskField; } } stopLoading(dataRequestId, requestToken, layerFeatureCollection, responseMeta); @@ -142,7 +144,7 @@ export async function getVectorSourceBounds({ layerId: string; syncContext: DataRequestContext; source: IVectorSource; - sourceQuery: MapQuery | null; + sourceQuery: Query | null; }): Promise { const { startLoading, stopLoading, registerCancelCallback, dataFilters } = syncContext; diff --git a/x-pack/plugins/maps/public/classes/layers/vector_layer/vector_layer.tsx b/x-pack/plugins/maps/public/classes/layers/vector_layer/vector_layer.tsx index 54e0c00141cd3..c4903ddb325b2 100644 --- a/x-pack/plugins/maps/public/classes/layers/vector_layer/vector_layer.tsx +++ b/x-pack/plugins/maps/public/classes/layers/vector_layer/vector_layer.tsx @@ -11,6 +11,7 @@ import type { AnyLayer as MbLayer, GeoJSONSource as MbGeoJSONSource, } from '@kbn/mapbox-gl'; +import type { Query } from 'src/plugins/data/common'; import { Feature, FeatureCollection, GeoJsonProperties, Geometry, Position } from 'geojson'; import _ from 'lodash'; import { EuiIcon } from '@elastic/eui'; @@ -48,14 +49,13 @@ import { } from '../../util/mb_filter_expressions'; import { DynamicStylePropertyOptions, - MapFilters, - MapQuery, + DataFilters, StyleMetaDescriptor, Timeslice, - VectorJoinSourceRequestMeta, VectorLayerDescriptor, VectorSourceRequestMeta, VectorStyleRequestMeta, + VectorJoinSourceRequestMeta, } from '../../../../common/descriptor_types'; import { ISource } from '../../sources/source'; import { IVectorSource } from '../../sources/vector_source'; @@ -70,6 +70,7 @@ import { PropertiesMap } from '../../../../common/elasticsearch_util'; import { ITermJoinSource } from '../../sources/term_join_source'; import { addGeoJsonMbSource, getVectorSourceBounds, syncVectorSource } from './utils'; import { JoinState, performInnerJoins } from './perform_inner_joins'; +import { buildVectorRequestMeta } from '../build_vector_request_meta'; export interface VectorLayerArguments { source: IVectorSource; @@ -266,7 +267,7 @@ export class VectorLayer extends AbstractLayer implements IVectorLayer { layerId: this.getId(), syncContext, source: this.getSource(), - sourceQuery: this.getQuery() as MapQuery, + sourceQuery: this.getQuery(), }); } @@ -332,29 +333,31 @@ export class VectorLayer extends AbstractLayer implements IVectorLayer { onLoadError, registerCancelCallback, dataFilters, + isForceRefresh, }: { join: InnerJoin } & DataRequestContext): Promise { const joinSource = join.getRightJoinSource(); const sourceDataId = join.getSourceDataRequestId(); const requestToken = Symbol(`layer-join-refresh:${this.getId()} - ${sourceDataId}`); - const searchFilters: VectorJoinSourceRequestMeta = { - ...dataFilters, - fieldNames: joinSource.getFieldNames(), - sourceQuery: joinSource.getWhereQuery(), - applyGlobalQuery: joinSource.getApplyGlobalQuery(), - applyGlobalTime: joinSource.getApplyGlobalTime(), - sourceMeta: joinSource.getSyncMeta(), - }; - const prevDataRequest = this.getDataRequest(sourceDataId); + const joinRequestMeta: VectorJoinSourceRequestMeta = buildVectorRequestMeta( + joinSource, + joinSource.getFieldNames(), + dataFilters, + joinSource.getWhereQuery(), + isForceRefresh + ) as VectorJoinSourceRequestMeta; + + const prevDataRequest = this.getDataRequest(sourceDataId); const canSkipFetch = await canSkipSourceUpdate({ source: joinSource, prevDataRequest, - nextMeta: searchFilters, + nextRequestMeta: joinRequestMeta, extentAware: false, // join-sources are term-aggs that are spatially unaware (e.g. ESTermSource/TableSource). getUpdateDueToTimeslice: () => { return true; }, }); + if (canSkipFetch) { return { dataHasChanged: false, @@ -364,10 +367,10 @@ export class VectorLayer extends AbstractLayer implements IVectorLayer { } try { - startLoading(sourceDataId, requestToken, searchFilters); + startLoading(sourceDataId, requestToken, joinRequestMeta); const leftSourceName = await this._source.getDisplayName(); const propertiesMap = await joinSource.getPropertiesMap( - searchFilters, + joinRequestMeta, leftSourceName, join.getLeftField().getName(), registerCancelCallback.bind(null, requestToken) @@ -396,8 +399,9 @@ export class VectorLayer extends AbstractLayer implements IVectorLayer { return await Promise.all(joinSyncs); } - async _getSearchFilters( - dataFilters: MapFilters, + async _getVectorSourceRequestMeta( + isForceRefresh: boolean, + dataFilters: DataFilters, source: IVectorSource, style: IVectorStyle ): Promise { @@ -411,17 +415,7 @@ export class VectorLayer extends AbstractLayer implements IVectorLayer { if (timesliceMaskFieldName) { fieldNames.push(timesliceMaskFieldName); } - - const sourceQuery = this.getQuery() as MapQuery; - return { - ...dataFilters, - fieldNames: _.uniq(fieldNames).sort(), - geogridPrecision: source.getGeoGridPrecision(dataFilters.zoom), - sourceQuery: sourceQuery ? sourceQuery : undefined, - applyGlobalQuery: source.getApplyGlobalQuery(), - applyGlobalTime: source.getApplyGlobalTime(), - sourceMeta: source.getSyncMeta(), - }; + return buildVectorRequestMeta(source, fieldNames, dataFilters, this.getQuery(), isForceRefresh); } async _syncSourceStyleMeta( @@ -429,7 +423,7 @@ export class VectorLayer extends AbstractLayer implements IVectorLayer { source: IVectorSource, style: IVectorStyle ) { - const sourceQuery = this.getQuery() as MapQuery; + const sourceQuery = this.getQuery(); return this._syncStyleMeta({ source, style, @@ -481,7 +475,7 @@ export class VectorLayer extends AbstractLayer implements IVectorLayer { dataRequestId: string; dynamicStyleProps: Array>; source: IVectorSource | ITermJoinSource; - sourceQuery?: MapQuery; + sourceQuery?: Query; style: IVectorStyle; } & DataRequestContext) { if (!source.isESSource() || dynamicStyleProps.length === 0) { @@ -641,7 +635,12 @@ export class VectorLayer extends AbstractLayer implements IVectorLayer { layerId: this.getId(), layerName: await this.getDisplayName(source), prevDataRequest: this.getSourceDataRequest(), - requestMeta: await this._getSearchFilters(syncContext.dataFilters, source, style), + requestMeta: await this._getVectorSourceRequestMeta( + syncContext.isForceRefresh, + syncContext.dataFilters, + source, + style + ), syncContext, source, getUpdateDueToTimeslice: (timeslice?: Timeslice) => { @@ -995,9 +994,9 @@ export class VectorLayer extends AbstractLayer implements IVectorLayer { } const prevMeta = this.getSourceDataRequest()?.getMeta(); - return prevMeta !== undefined && prevMeta.timesiceMaskField !== undefined + return prevMeta !== undefined && prevMeta.timesliceMaskField !== undefined ? { - timesiceMaskField: prevMeta.timesiceMaskField, + timesliceMaskField: prevMeta.timesliceMaskField, timeslice, } : undefined; diff --git a/x-pack/plugins/maps/public/classes/layers/vector_tile_layer/vector_tile_layer.test.ts b/x-pack/plugins/maps/public/classes/layers/vector_tile_layer/vector_tile_layer.test.ts index 20627f42b3d2d..fe3c6d27ef588 100644 --- a/x-pack/plugins/maps/public/classes/layers/vector_tile_layer/vector_tile_layer.test.ts +++ b/x-pack/plugins/maps/public/classes/layers/vector_tile_layer/vector_tile_layer.test.ts @@ -7,7 +7,7 @@ import { ITileLayerArguments } from '../tile_layer/tile_layer'; import { SOURCE_TYPES } from '../../../../common/constants'; -import { MapFilters, XYZTMSSourceDescriptor } from '../../../../common/descriptor_types'; +import { DataFilters, XYZTMSSourceDescriptor } from '../../../../common/descriptor_types'; import { ITMSSource, AbstractTMSSource } from '../../sources/tms_source'; import { ILayer } from '../layer'; import { VectorTileLayer } from './vector_tile_layer'; @@ -63,7 +63,7 @@ describe('VectorTileLayer', () => { onLoadError: (requestId: string, token: string, message: string) => { actualErrorMessage = message; }, - dataFilters: ({ foo: 'bar' } as unknown) as MapFilters, + dataFilters: ({ foo: 'bar' } as unknown) as DataFilters, } as unknown) as DataRequestContext; await layer.syncData(mockContext); diff --git a/x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.test.ts b/x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.test.ts index 360f00b486a38..7db3652011e9a 100644 --- a/x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.test.ts +++ b/x-pack/plugins/maps/public/classes/sources/es_agg_source/es_agg_source.test.ts @@ -40,6 +40,7 @@ class TestESAggSource extends AbstractESAggSource { metrics, applyGlobalQuery: true, applyGlobalTime: true, + applyForceRefresh: true, }, [] ); diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.test.ts b/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.test.ts index efbb755f2a1f7..41d5715e47b8e 100644 --- a/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.test.ts +++ b/x-pack/plugins/maps/public/classes/sources/es_geo_grid_source/es_geo_grid_source.test.ts @@ -155,15 +155,16 @@ describe('ESGeoGridSource', () => { extent, applyGlobalQuery: true, applyGlobalTime: true, + applyForceRefresh: true, fieldNames: [], buffer: extent, sourceQuery: { query: '', language: 'KQL', - queryLastTriggeredAt: '2019-04-25T20:53:22.331Z', }, sourceMeta: null, zoom: 0, + isForceRefresh: false, }; describe('getGeoJsonWithMeta', () => { @@ -315,7 +316,7 @@ describe('ESGeoGridSource', () => { expect(urlTemplateWithMeta.minSourceZoom).toBe(0); expect(urlTemplateWithMeta.maxSourceZoom).toBe(24); expect(urlTemplateWithMeta.urlTemplate).toEqual( - "rootdir/api/maps/mvt/getGridTile/{z}/{x}/{y}.pbf?geometryFieldName=bar&index=undefined&requestBody=(foobar:ES_DSL_PLACEHOLDER,params:('0':('0':index,'1':(fields:())),'1':('0':size,'1':0),'2':('0':filter,'1':!()),'3':('0':query),'4':('0':index,'1':(fields:())),'5':('0':query,'1':(language:KQL,query:'',queryLastTriggeredAt:'2019-04-25T20:53:22.331Z')),'6':('0':aggs,'1':(gridSplit:(aggs:(gridCentroid:(geo_centroid:(field:bar))),geotile_grid:(bounds:!n,field:bar,precision:!n,shard_size:65535,size:65535))))))&requestType=heatmap&geoFieldType=geo_point" + "rootdir/api/maps/mvt/getGridTile/{z}/{x}/{y}.pbf?geometryFieldName=bar&index=undefined&requestBody=(foobar:ES_DSL_PLACEHOLDER,params:('0':('0':index,'1':(fields:())),'1':('0':size,'1':0),'2':('0':filter,'1':!()),'3':('0':query),'4':('0':index,'1':(fields:())),'5':('0':query,'1':(language:KQL,query:'')),'6':('0':aggs,'1':(gridSplit:(aggs:(gridCentroid:(geo_centroid:(field:bar))),geotile_grid:(bounds:!n,field:bar,precision:!n,shard_size:65535,size:65535))))))&requestType=heatmap&geoFieldType=geo_point" ); }); @@ -327,7 +328,7 @@ describe('ESGeoGridSource', () => { expect( urlTemplateWithMeta.urlTemplate.startsWith( - "rootdir/api/maps/mvt/getGridTile/{z}/{x}/{y}.pbf?geometryFieldName=bar&index=undefined&requestBody=(foobar:ES_DSL_PLACEHOLDER,params:('0':('0':index,'1':(fields:())),'1':('0':size,'1':0),'2':('0':filter,'1':!()),'3':('0':query),'4':('0':index,'1':(fields:())),'5':('0':query,'1':(language:KQL,query:'',queryLastTriggeredAt:'2019-04-25T20:53:22.331Z')),'6':('0':aggs,'1':(gridSplit:(aggs:(gridCentroid:(geo_centroid:(field:bar))),geotile_grid:(bounds:!n,field:bar,precision:!n,shard_size:65535,size:65535))))))&requestType=heatmap&geoFieldType=geo_point&searchSessionId=1" + "rootdir/api/maps/mvt/getGridTile/{z}/{x}/{y}.pbf?geometryFieldName=bar&index=undefined&requestBody=(foobar:ES_DSL_PLACEHOLDER,params:('0':('0':index,'1':(fields:())),'1':('0':size,'1':0),'2':('0':filter,'1':!()),'3':('0':query),'4':('0':index,'1':(fields:())),'5':('0':query,'1':(language:KQL,query:'')),'6':('0':aggs,'1':(gridSplit:(aggs:(gridCentroid:(geo_centroid:(field:bar))),geotile_grid:(bounds:!n,field:bar,precision:!n,shard_size:65535,size:65535))))))&requestType=heatmap&geoFieldType=geo_point&searchSessionId=1" ) ).toBe(true); diff --git a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.test.ts b/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.test.ts index 0c15afff6b051..4a818d898a190 100644 --- a/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.test.ts +++ b/x-pack/plugins/maps/public/classes/sources/es_geo_line_source/es_geo_line_source.test.ts @@ -20,7 +20,7 @@ describe('getSourceTooltipContent', () => { const sourceDataRequest = new DataRequest({ data: {}, dataId: 'source', - dataMeta: { + dataRequestMeta: { areResultsTrimmed: false, areEntitiesTrimmed: false, entityCount: 70, @@ -39,7 +39,7 @@ describe('getSourceTooltipContent', () => { const sourceDataRequest = new DataRequest({ data: {}, dataId: 'source', - dataMeta: { + dataRequestMeta: { areResultsTrimmed: true, areEntitiesTrimmed: true, entityCount: 1000, @@ -58,7 +58,7 @@ describe('getSourceTooltipContent', () => { const sourceDataRequest = new DataRequest({ data: {}, dataId: 'source', - dataMeta: { + dataRequestMeta: { areResultsTrimmed: false, areEntitiesTrimmed: false, entityCount: 70, @@ -77,7 +77,7 @@ describe('getSourceTooltipContent', () => { const sourceDataRequest = new DataRequest({ data: {}, dataId: 'source', - dataMeta: { + dataRequestMeta: { areResultsTrimmed: true, areEntitiesTrimmed: true, entityCount: 1000, diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/create_layer_descriptor.test.ts b/x-pack/plugins/maps/public/classes/sources/es_search_source/create_layer_descriptor.test.ts index e7711a6e28e01..0c68bf6d832ad 100644 --- a/x-pack/plugins/maps/public/classes/sources/es_search_source/create_layer_descriptor.test.ts +++ b/x-pack/plugins/maps/public/classes/sources/es_search_source/create_layer_descriptor.test.ts @@ -41,6 +41,7 @@ test('Should create layer descriptor', () => { geoField: 'myGeoField', id: '12345', indexPatternId: 'myIndexPattern', + applyForceRefresh: true, scalingType: 'CLUSTERS', sortField: '', sortOrder: 'desc', diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.test.ts b/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.test.ts index 1a5ea8bb14e0e..5bff5d69aeab7 100644 --- a/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.test.ts +++ b/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.test.ts @@ -102,11 +102,12 @@ describe('ESSearchSource', () => { sourceQuery: { query: 'tooltipField: foobar', language: 'KQL', - queryLastTriggeredAt: '2019-04-25T20:53:22.331Z', }, sourceMeta: null, applyGlobalQuery: true, applyGlobalTime: true, + applyForceRefresh: true, + isForceRefresh: false, }; it('Should only include required props', async () => { @@ -116,7 +117,7 @@ describe('ESSearchSource', () => { }); const urlTemplateWithMeta = await esSearchSource.getUrlTemplateWithMeta(searchFilters); expect(urlTemplateWithMeta.urlTemplate).toBe( - `rootdir/api/maps/mvt/getTile/{z}/{x}/{y}.pbf?geometryFieldName=bar&index=foobar-title-*&requestBody=(foobar:ES_DSL_PLACEHOLDER,params:('0':('0':index,'1':(fields:(),title:'foobar-title-*')),'1':('0':size,'1':1000),'2':('0':filter,'1':!()),'3':('0':query),'4':('0':index,'1':(fields:(),title:'foobar-title-*')),'5':('0':query,'1':(language:KQL,query:'tooltipField: foobar',queryLastTriggeredAt:'2019-04-25T20:53:22.331Z')),'6':('0':fieldsFromSource,'1':!(tooltipField,styleField)),'7':('0':source,'1':!(tooltipField,styleField))))&geoFieldType=geo_shape` + `rootdir/api/maps/mvt/getTile/{z}/{x}/{y}.pbf?geometryFieldName=bar&index=foobar-title-*&requestBody=(foobar:ES_DSL_PLACEHOLDER,params:('0':('0':index,'1':(fields:(),title:'foobar-title-*')),'1':('0':size,'1':1000),'2':('0':filter,'1':!()),'3':('0':query),'4':('0':index,'1':(fields:(),title:'foobar-title-*')),'5':('0':query,'1':(language:KQL,query:'tooltipField: foobar')),'6':('0':fieldsFromSource,'1':!(tooltipField,styleField)),'7':('0':source,'1':!(tooltipField,styleField))))&geoFieldType=geo_shape` ); }); @@ -130,7 +131,7 @@ describe('ESSearchSource', () => { searchSessionId: '1', }); expect(urlTemplateWithMeta.urlTemplate).toBe( - `rootdir/api/maps/mvt/getTile/{z}/{x}/{y}.pbf?geometryFieldName=bar&index=foobar-title-*&requestBody=(foobar:ES_DSL_PLACEHOLDER,params:('0':('0':index,'1':(fields:(),title:'foobar-title-*')),'1':('0':size,'1':1000),'2':('0':filter,'1':!()),'3':('0':query),'4':('0':index,'1':(fields:(),title:'foobar-title-*')),'5':('0':query,'1':(language:KQL,query:'tooltipField: foobar',queryLastTriggeredAt:'2019-04-25T20:53:22.331Z')),'6':('0':fieldsFromSource,'1':!(tooltipField,styleField)),'7':('0':source,'1':!(tooltipField,styleField))))&geoFieldType=geo_shape&searchSessionId=1` + `rootdir/api/maps/mvt/getTile/{z}/{x}/{y}.pbf?geometryFieldName=bar&index=foobar-title-*&requestBody=(foobar:ES_DSL_PLACEHOLDER,params:('0':('0':index,'1':(fields:(),title:'foobar-title-*')),'1':('0':size,'1':1000),'2':('0':filter,'1':!()),'3':('0':query),'4':('0':index,'1':(fields:(),title:'foobar-title-*')),'5':('0':query,'1':(language:KQL,query:'tooltipField: foobar')),'6':('0':fieldsFromSource,'1':!(tooltipField,styleField)),'7':('0':source,'1':!(tooltipField,styleField))))&geoFieldType=geo_shape&searchSessionId=1` ); }); }); diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx b/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx index 1ca7ddb586293..2b847d218434d 100644 --- a/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx +++ b/x-pack/plugins/maps/public/classes/sources/es_search_source/es_search_source.tsx @@ -48,7 +48,7 @@ import { DEFAULT_FILTER_BY_MAP_BOUNDS } from './constants'; import { ESDocField } from '../../fields/es_doc_field'; import { registerSource } from '../source_registry'; import { - DataMeta, + DataRequestMeta, ESSearchSourceDescriptor, Timeslice, VectorSourceRequestMeta, @@ -853,7 +853,7 @@ export class ESSearchSource extends AbstractESSource implements ITiledSingleLaye return indexPattern.timeFieldName ? indexPattern.timeFieldName : null; } - getUpdateDueToTimeslice(prevMeta: DataMeta, timeslice?: Timeslice): boolean { + getUpdateDueToTimeslice(prevMeta: DataRequestMeta, timeslice?: Timeslice): boolean { if (this._isTopHits() || this._descriptor.scalingType === SCALING_TYPES.MVT) { return true; } diff --git a/x-pack/plugins/maps/public/classes/sources/es_search_source/util/__snapshots__/scaling_form.test.tsx.snap b/x-pack/plugins/maps/public/classes/sources/es_search_source/util/__snapshots__/scaling_form.test.tsx.snap index 99ce13ce326d6..749d55aeb5da7 100644 --- a/x-pack/plugins/maps/public/classes/sources/es_search_source/util/__snapshots__/scaling_form.test.tsx.snap +++ b/x-pack/plugins/maps/public/classes/sources/es_search_source/util/__snapshots__/scaling_form.test.tsx.snap @@ -34,6 +34,7 @@ exports[`scaling form should disable clusters option when clustering is not supp } delay="regular" + display="inlineBlock" position="left" > } delay="regular" + display="inlineBlock" position="left" > >; registerCancelCallback: (callback: () => void) => void; - sourceQuery?: MapQuery; + sourceQuery?: Query; timeFilters: TimeRange; searchSessionId?: string; }): Promise; @@ -88,6 +88,8 @@ export class AbstractESSource extends AbstractVectorSource implements IESSource typeof descriptor.applyGlobalQuery !== 'undefined' ? descriptor.applyGlobalQuery : true, applyGlobalTime: typeof descriptor.applyGlobalTime !== 'undefined' ? descriptor.applyGlobalTime : true, + applyForceRefresh: + typeof descriptor.applyForceRefresh !== 'undefined' ? descriptor.applyForceRefresh : true, }; } @@ -108,11 +110,11 @@ export class AbstractESSource extends AbstractVectorSource implements IESSource return this._descriptor.applyGlobalTime; } - isFieldAware(): boolean { - return true; + getApplyForceRefresh(): boolean { + return this._descriptor.applyForceRefresh; } - isRefreshTimerAware(): boolean { + isFieldAware(): boolean { return true; } @@ -197,7 +199,7 @@ export class AbstractESSource extends AbstractVectorSource implements IESSource } async makeSearchSource( - searchFilters: VectorSourceRequestMeta | VectorJoinSourceRequestMeta | BoundsFilters, + searchFilters: VectorSourceRequestMeta | VectorJoinSourceRequestMeta | BoundsRequestMeta, limit: number, initialSearchContext?: object ): Promise { @@ -253,7 +255,7 @@ export class AbstractESSource extends AbstractVectorSource implements IESSource } async getBoundsForFilters( - boundsFilters: BoundsFilters, + boundsFilters: BoundsRequestMeta, registerCancelCallback: (callback: () => void) => void ): Promise { const searchSource = await this.makeSearchSource(boundsFilters, 0); @@ -421,7 +423,7 @@ export class AbstractESSource extends AbstractVectorSource implements IESSource style: IVectorStyle; dynamicStyleProps: Array>; registerCancelCallback: (callback: () => void) => void; - sourceQuery?: MapQuery; + sourceQuery?: Query; timeFilters: TimeRange; searchSessionId?: string; }): Promise { diff --git a/x-pack/plugins/maps/public/classes/sources/geojson_file_source/geojson_file.test.ts b/x-pack/plugins/maps/public/classes/sources/geojson_file_source/geojson_file.test.ts index 6f7d5aa91e2b8..9e21f16d7f30a 100644 --- a/x-pack/plugins/maps/public/classes/sources/geojson_file_source/geojson_file.test.ts +++ b/x-pack/plugins/maps/public/classes/sources/geojson_file_source/geojson_file.test.ts @@ -6,7 +6,7 @@ */ import { GeoJsonFileSource } from './geojson_file_source'; -import { BoundsFilters } from '../vector_source'; +import { BoundsRequestMeta } from '../vector_source'; import { FIELD_ORIGIN } from '../../../../common/constants'; describe('GeoJsonFileSource', () => { @@ -20,7 +20,7 @@ describe('GeoJsonFileSource', () => { it('should get null bounds', async () => { const geojsonFileSource = new GeoJsonFileSource({}); expect( - await geojsonFileSource.getBoundsForFilters(({} as unknown) as BoundsFilters, () => {}) + await geojsonFileSource.getBoundsForFilters(({} as unknown) as BoundsRequestMeta, () => {}) ).toEqual(null); }); @@ -51,7 +51,7 @@ describe('GeoJsonFileSource', () => { expect(geojsonFileSource.isBoundsAware()).toBe(true); expect( - await geojsonFileSource.getBoundsForFilters(({} as unknown) as BoundsFilters, () => {}) + await geojsonFileSource.getBoundsForFilters(({} as unknown) as BoundsRequestMeta, () => {}) ).toEqual({ maxLat: 3, maxLon: 2, diff --git a/x-pack/plugins/maps/public/classes/sources/geojson_file_source/geojson_file_source.ts b/x-pack/plugins/maps/public/classes/sources/geojson_file_source/geojson_file_source.ts index 592c2f852f0e7..4de29fde1253c 100644 --- a/x-pack/plugins/maps/public/classes/sources/geojson_file_source/geojson_file_source.ts +++ b/x-pack/plugins/maps/public/classes/sources/geojson_file_source/geojson_file_source.ts @@ -6,7 +6,7 @@ */ import { Feature, FeatureCollection } from 'geojson'; -import { AbstractVectorSource, BoundsFilters, GeoJsonWithMeta } from '../vector_source'; +import { AbstractVectorSource, BoundsRequestMeta, GeoJsonWithMeta } from '../vector_source'; import { EMPTY_FEATURE_COLLECTION, FIELD_ORIGIN, SOURCE_TYPES } from '../../../../common/constants'; import { InlineFieldDescriptor, @@ -103,7 +103,7 @@ export class GeoJsonFileSource extends AbstractVectorSource { } async getBoundsForFilters( - boundsFilters: BoundsFilters, + boundsFilters: BoundsRequestMeta, registerCancelCallback: (callback: () => void) => void ): Promise { const featureCollection = (this._descriptor as GeojsonFileSourceDescriptor).__featureCollection; diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_single_layer_source_settings.test.tsx.snap b/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_single_layer_source_settings.test.tsx.snap index c82618a500a33..7926011be4ecc 100644 --- a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_single_layer_source_settings.test.tsx.snap +++ b/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/__snapshots__/mvt_single_layer_source_settings.test.tsx.snap @@ -28,6 +28,7 @@ exports[`should not render fields-editor when there is no layername 1`] = ` anchorClassName="eui-alignMiddle" content="Zoom levels where the layer is present in the tiles. This does not correspond directly to visibility. Layer data from lower levels can always be displayed at higher zoom levels (but not vice versa)." delay="regular" + display="inlineBlock" position="top" > @@ -84,6 +85,7 @@ exports[`should render with fields 1`] = ` anchorClassName="eui-alignMiddle" content="Zoom levels where the layer is present in the tiles. This does not correspond directly to visibility. Layer data from lower levels can always be displayed at higher zoom levels (but not vice versa)." delay="regular" + display="inlineBlock" position="top" > @@ -132,6 +134,7 @@ exports[`should render with fields 1`] = ` } delay="regular" + display="inlineBlock" position="top" > @@ -182,6 +185,7 @@ exports[`should render without fields 1`] = ` anchorClassName="eui-alignMiddle" content="Zoom levels where the layer is present in the tiles. This does not correspond directly to visibility. Layer data from lower levels can always be displayed at higher zoom levels (but not vice versa)." delay="regular" + display="inlineBlock" position="top" > diff --git a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source.tsx b/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source.tsx index 6911cbabdf971..d041e0d3ad5de 100644 --- a/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source.tsx +++ b/x-pack/plugins/maps/public/classes/sources/mvt_single_layer_vector_source/mvt_single_layer_vector_source.tsx @@ -10,7 +10,7 @@ import uuid from 'uuid/v4'; import React from 'react'; import { GeoJsonProperties, Geometry, Position } from 'geojson'; import { AbstractSource, ImmutableSourceProperty, SourceEditorArgs } from '../source'; -import { BoundsFilters, GeoJsonWithMeta } from '../vector_source'; +import { BoundsRequestMeta, GeoJsonWithMeta } from '../vector_source'; import { ITiledSingleLayerVectorSource } from '../tiled_single_layer_vector_source'; import { FIELD_ORIGIN, @@ -190,7 +190,7 @@ export class MVTSingleLayerVectorSource } async getBoundsForFilters( - boundsFilters: BoundsFilters, + boundsFilters: BoundsRequestMeta, registerCancelCallback: (callback: () => void) => void ): Promise { return null; diff --git a/x-pack/plugins/maps/public/classes/sources/source.ts b/x-pack/plugins/maps/public/classes/sources/source.ts index 0ecbde06cf3e2..5b2fc16d18b41 100644 --- a/x-pack/plugins/maps/public/classes/sources/source.ts +++ b/x-pack/plugins/maps/public/classes/sources/source.ts @@ -16,7 +16,7 @@ import { FieldFormatter, LAYER_TYPE, MAX_ZOOM, MIN_ZOOM } from '../../../common/ import { AbstractSourceDescriptor, Attribution, - DataMeta, + DataRequestMeta, Timeslice, } from '../../../common/descriptor_types'; import { LICENSED_FEATURES } from '../../licensed_features'; @@ -47,7 +47,6 @@ export interface ISource { isFilterByMapBounds(): boolean; isGeoGridPrecisionAware(): boolean; isQueryAware(): boolean; - isRefreshTimerAware(): boolean; isTimeAware(): Promise; getImmutableProperties(): Promise; getAttributionProvider(): (() => Promise) | null; @@ -60,6 +59,7 @@ export interface ISource { getFieldNames(): string[]; getApplyGlobalQuery(): boolean; getApplyGlobalTime(): boolean; + getApplyForceRefresh(): boolean; getIndexPatternIds(): string[]; getQueryableIndexPatternIds(): string[]; getGeoGridPrecision(zoom: number): number; @@ -69,7 +69,7 @@ export interface ISource { getMinZoom(): number; getMaxZoom(): number; getLicensedFeatures(): Promise; - getUpdateDueToTimeslice(prevMeta: DataMeta, timeslice?: Timeslice): boolean; + getUpdateDueToTimeslice(prevMeta: DataRequestMeta, timeslice?: Timeslice): boolean; } export class AbstractSource implements ISource { @@ -115,10 +115,6 @@ export class AbstractSource implements ISource { return false; } - isRefreshTimerAware(): boolean { - return false; - } - isGeoGridPrecisionAware(): boolean { return false; } @@ -143,6 +139,10 @@ export class AbstractSource implements ISource { return false; } + getApplyForceRefresh(): boolean { + return false; + } + getIndexPatternIds(): string[] { return []; } @@ -201,7 +201,7 @@ export class AbstractSource implements ISource { return []; } - getUpdateDueToTimeslice(prevMeta: DataMeta, timeslice?: Timeslice): boolean { + getUpdateDueToTimeslice(prevMeta: DataRequestMeta, timeslice?: Timeslice): boolean { return true; } } diff --git a/x-pack/plugins/maps/public/classes/sources/table_source/table_source.test.ts b/x-pack/plugins/maps/public/classes/sources/table_source/table_source.test.ts index 337cc2d601abd..62404cbe942e3 100644 --- a/x-pack/plugins/maps/public/classes/sources/table_source/table_source.test.ts +++ b/x-pack/plugins/maps/public/classes/sources/table_source/table_source.test.ts @@ -5,11 +5,11 @@ * 2.0. */ +import type { Query } from 'src/plugins/data/common'; import { TableSource } from './table_source'; import { FIELD_ORIGIN } from '../../../../common/constants'; import { - MapFilters, - MapQuery, + DataFilters, VectorJoinSourceRequestMeta, VectorSourceSyncMeta, } from '../../../../common/descriptor_types'; @@ -178,12 +178,12 @@ describe('TableSource', () => { try { await tableSource.getGeoJsonWithMeta( 'foobar', - ({} as unknown) as MapFilters & { + ({} as unknown) as DataFilters & { applyGlobalQuery: boolean; applyGlobalTime: boolean; fieldNames: string[]; geogridPrecision?: number; - sourceQuery?: MapQuery; + sourceQuery?: Query; sourceMeta: VectorSourceSyncMeta; }, () => {}, diff --git a/x-pack/plugins/maps/public/classes/sources/table_source/table_source.ts b/x-pack/plugins/maps/public/classes/sources/table_source/table_source.ts index 372fb4983d7cc..8730ea7e3d02b 100644 --- a/x-pack/plugins/maps/public/classes/sources/table_source/table_source.ts +++ b/x-pack/plugins/maps/public/classes/sources/table_source/table_source.ts @@ -6,11 +6,11 @@ */ import uuid from 'uuid'; +import type { Query } from 'src/plugins/data/common'; import { FIELD_ORIGIN, SOURCE_TYPES, VECTOR_SHAPE_TYPE } from '../../../../common/constants'; import { MapExtent, - MapFilters, - MapQuery, + DataFilters, TableSourceDescriptor, VectorJoinSourceRequestMeta, VectorSourceSyncMeta, @@ -19,10 +19,9 @@ import { Adapters } from '../../../../../../../src/plugins/inspector/common/adap import { ITermJoinSource } from '../term_join_source'; import { BucketProperties, PropertiesMap } from '../../../../common/elasticsearch_util'; import { IField } from '../../fields/field'; -import { Query } from '../../../../../../../src/plugins/data/common/query'; import { AbstractVectorSource, - BoundsFilters, + BoundsRequestMeta, GeoJsonWithMeta, IVectorSource, SourceTooltipConfig, @@ -156,7 +155,7 @@ export class TableSource extends AbstractVectorSource implements ITermJoinSource } async getBoundsForFilters( - boundsFilters: BoundsFilters, + boundsFilters: BoundsRequestMeta, registerCancelCallback: (callback: () => void) => void ): Promise { return null; @@ -187,12 +186,12 @@ export class TableSource extends AbstractVectorSource implements ITermJoinSource // Could be useful to implement, e.g. to preview raw csv data async getGeoJsonWithMeta( layerName: string, - searchFilters: MapFilters & { + searchFilters: DataFilters & { applyGlobalQuery: boolean; applyGlobalTime: boolean; fieldNames: string[]; geogridPrecision?: number; - sourceQuery?: MapQuery; + sourceQuery?: Query; sourceMeta: VectorSourceSyncMeta; }, registerCancelCallback: (callback: () => void) => void, diff --git a/x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx b/x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx index 05f0124310bd8..bf0752d54c426 100644 --- a/x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx +++ b/x-pack/plugins/maps/public/classes/sources/vector_source/vector_source.tsx @@ -5,6 +5,7 @@ * 2.0. */ +import type { Query } from 'src/plugins/data/common'; import { FeatureCollection, GeoJsonProperties, Geometry, Position } from 'geojson'; import { Filter, TimeRange } from 'src/plugins/data/public'; import { VECTOR_SHAPE_TYPE } from '../../../../common/constants'; @@ -14,7 +15,6 @@ import { IField } from '../../fields/field'; import { ESSearchSourceResponseMeta, MapExtent, - MapQuery, Timeslice, VectorSourceRequestMeta, VectorSourceSyncMeta, @@ -34,12 +34,12 @@ export interface GeoJsonWithMeta { meta?: GeoJsonFetchMeta; } -export interface BoundsFilters { +export interface BoundsRequestMeta { applyGlobalQuery: boolean; applyGlobalTime: boolean; filters: Filter[]; - query?: MapQuery; - sourceQuery?: MapQuery; + query?: Query; + sourceQuery?: Query; timeFilters: TimeRange; timeslice?: Timeslice; } @@ -47,7 +47,7 @@ export interface BoundsFilters { export interface IVectorSource extends ISource { getTooltipProperties(properties: GeoJsonProperties): Promise; getBoundsForFilters( - boundsFilters: BoundsFilters, + layerDataFilters: BoundsRequestMeta, registerCancelCallback: (callback: () => void) => void ): Promise; getGeoJsonWithMeta( @@ -103,7 +103,7 @@ export class AbstractVectorSource extends AbstractSource implements IVectorSourc } async getBoundsForFilters( - boundsFilters: BoundsFilters, + boundsFilters: BoundsRequestMeta, registerCancelCallback: (callback: () => void) => void ): Promise { return null; diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/__snapshots__/dynamic_color_property.test.tsx.snap b/x-pack/plugins/maps/public/classes/styles/vector/properties/__snapshots__/dynamic_color_property.test.tsx.snap index 3f1cddf944374..5b43c5fb95560 100644 --- a/x-pack/plugins/maps/public/classes/styles/vector/properties/__snapshots__/dynamic_color_property.test.tsx.snap +++ b/x-pack/plugins/maps/public/classes/styles/vector/properties/__snapshots__/dynamic_color_property.test.tsx.snap @@ -33,6 +33,7 @@ exports[`renderLegendDetailRow categorical Should render categorical legend with @@ -113,6 +114,7 @@ exports[`renderLegendDetailRow ordinal Should render custom ordinal legend with @@ -176,6 +178,7 @@ exports[`renderLegendDetailRow ordinal Should render interpolate bands 1`] = ` @@ -305,6 +308,7 @@ exports[`renderLegendDetailRow ordinal Should render percentile bands 1`] = ` @@ -412,6 +416,7 @@ exports[`renderLegendDetailRow ordinal Should render single band when interpolat diff --git a/x-pack/plugins/maps/public/classes/styles/vector/properties/__snapshots__/dynamic_icon_property.test.tsx.snap b/x-pack/plugins/maps/public/classes/styles/vector/properties/__snapshots__/dynamic_icon_property.test.tsx.snap index 631a6117a111d..11a4fafda29e1 100644 --- a/x-pack/plugins/maps/public/classes/styles/vector/properties/__snapshots__/dynamic_icon_property.test.tsx.snap +++ b/x-pack/plugins/maps/public/classes/styles/vector/properties/__snapshots__/dynamic_icon_property.test.tsx.snap @@ -12,6 +12,7 @@ exports[`renderLegendDetailRow Should render categorical legend with breaks 1`] diff --git a/x-pack/plugins/maps/public/classes/util/can_skip_fetch.test.js b/x-pack/plugins/maps/public/classes/util/can_skip_fetch.test.ts similarity index 81% rename from x-pack/plugins/maps/public/classes/util/can_skip_fetch.test.js rename to x-pack/plugins/maps/public/classes/util/can_skip_fetch.test.ts index da3cbb9055d43..16d25469025f4 100644 --- a/x-pack/plugins/maps/public/classes/util/can_skip_fetch.test.js +++ b/x-pack/plugins/maps/public/classes/util/can_skip_fetch.test.ts @@ -7,6 +7,8 @@ import { canSkipSourceUpdate, updateDueToExtent } from './can_skip_fetch'; import { DataRequest } from './data_request'; +import { Filter } from 'src/plugins/data/common'; +import { ISource } from '../sources/source'; describe('updateDueToExtent', () => { it('should be false when buffers are the same', async () => { @@ -91,9 +93,6 @@ describe('canSkipSourceUpdate', () => { isTimeAware: () => { return false; }, - isRefreshTimerAware: () => { - return false; - }, isFilterByMapBounds: () => { return false; }, @@ -107,11 +106,10 @@ describe('canSkipSourceUpdate', () => { return false; }, }; - const prevFilters = []; + const prevFilters: Filter[] = []; const prevQuery = { language: 'kuery', query: 'machine.os.keyword : "win 7"', - queryLastTriggeredAt: '2019-04-25T20:53:22.331Z', }; describe('applyGlobalQuery is false', () => { @@ -119,7 +117,7 @@ describe('canSkipSourceUpdate', () => { const prevDataRequest = new DataRequest({ dataId: SOURCE_DATA_REQUEST_ID, - dataMeta: { + dataRequestMeta: { applyGlobalQuery: prevApplyGlobalQuery, filters: prevFilters, query: prevQuery, @@ -128,16 +126,16 @@ describe('canSkipSourceUpdate', () => { }); it('can skip update when filter changes', async () => { - const nextMeta = { + const nextRequestMeta = { applyGlobalQuery: prevApplyGlobalQuery, - filters: [prevQuery], + filters: [({} as unknown) as Filter], query: prevQuery, }; const canSkipUpdate = await canSkipSourceUpdate({ - source: queryAwareSourceMock, + source: (queryAwareSourceMock as unknown) as ISource, prevDataRequest, - nextMeta, + nextRequestMeta, extentAware: queryAwareSourceMock.isFilterByMapBounds(), getUpdateDueToTimeslice, }); @@ -146,7 +144,7 @@ describe('canSkipSourceUpdate', () => { }); it('can skip update when query changes', async () => { - const nextMeta = { + const nextRequestMeta = { applyGlobalQuery: prevApplyGlobalQuery, filters: prevFilters, query: { @@ -156,9 +154,9 @@ describe('canSkipSourceUpdate', () => { }; const canSkipUpdate = await canSkipSourceUpdate({ - source: queryAwareSourceMock, + source: (queryAwareSourceMock as unknown) as ISource, prevDataRequest, - nextMeta, + nextRequestMeta, extentAware: queryAwareSourceMock.isFilterByMapBounds(), getUpdateDueToTimeslice, }); @@ -166,20 +164,19 @@ describe('canSkipSourceUpdate', () => { expect(canSkipUpdate).toBe(true); }); - it('can not skip update when query is refreshed', async () => { - const nextMeta = { + it('Should not skip refresh update when applyForceRefresh is true', async () => { + const nextRequestMeta = { applyGlobalQuery: prevApplyGlobalQuery, filters: prevFilters, - query: { - ...prevQuery, - queryLastTriggeredAt: 'sometime layer when Refresh button is clicked', - }, + query: prevQuery, + isForceRefresh: true, + applyForceRefresh: true, }; const canSkipUpdate = await canSkipSourceUpdate({ - source: queryAwareSourceMock, + source: (queryAwareSourceMock as unknown) as ISource, prevDataRequest, - nextMeta, + nextRequestMeta, extentAware: queryAwareSourceMock.isFilterByMapBounds(), getUpdateDueToTimeslice, }); @@ -187,17 +184,37 @@ describe('canSkipSourceUpdate', () => { expect(canSkipUpdate).toBe(false); }); + it('Should skip refresh update when applyForceRefresh is false', async () => { + const nextRequestMeta = { + applyGlobalQuery: prevApplyGlobalQuery, + filters: prevFilters, + query: prevQuery, + isForceRefresh: true, + applyForceRefresh: false, + }; + + const canSkipUpdate = await canSkipSourceUpdate({ + source: (queryAwareSourceMock as unknown) as ISource, + prevDataRequest, + nextRequestMeta, + extentAware: queryAwareSourceMock.isFilterByMapBounds(), + getUpdateDueToTimeslice, + }); + + expect(canSkipUpdate).toBe(true); + }); + it('can not skip update when applyGlobalQuery changes', async () => { - const nextMeta = { + const nextRequestMeta = { applyGlobalQuery: !prevApplyGlobalQuery, filters: prevFilters, query: prevQuery, }; const canSkipUpdate = await canSkipSourceUpdate({ - source: queryAwareSourceMock, + source: (queryAwareSourceMock as unknown) as ISource, prevDataRequest, - nextMeta, + nextRequestMeta, extentAware: queryAwareSourceMock.isFilterByMapBounds(), getUpdateDueToTimeslice, }); @@ -211,7 +228,7 @@ describe('canSkipSourceUpdate', () => { const prevDataRequest = new DataRequest({ dataId: SOURCE_DATA_REQUEST_ID, - dataMeta: { + dataRequestMeta: { applyGlobalQuery: prevApplyGlobalQuery, filters: prevFilters, query: prevQuery, @@ -220,16 +237,16 @@ describe('canSkipSourceUpdate', () => { }); it('can not skip update when filter changes', async () => { - const nextMeta = { + const nextRequestMeta = { applyGlobalQuery: prevApplyGlobalQuery, - filters: [prevQuery], + filters: [({} as unknown) as Filter], query: prevQuery, }; const canSkipUpdate = await canSkipSourceUpdate({ - source: queryAwareSourceMock, + source: (queryAwareSourceMock as unknown) as ISource, prevDataRequest, - nextMeta, + nextRequestMeta, extentAware: queryAwareSourceMock.isFilterByMapBounds(), getUpdateDueToTimeslice, }); @@ -238,7 +255,7 @@ describe('canSkipSourceUpdate', () => { }); it('can not skip update when query changes', async () => { - const nextMeta = { + const nextRequestMeta = { applyGlobalQuery: prevApplyGlobalQuery, filters: prevFilters, query: { @@ -248,9 +265,9 @@ describe('canSkipSourceUpdate', () => { }; const canSkipUpdate = await canSkipSourceUpdate({ - source: queryAwareSourceMock, + source: (queryAwareSourceMock as unknown) as ISource, prevDataRequest, - nextMeta, + nextRequestMeta, extentAware: queryAwareSourceMock.isFilterByMapBounds(), getUpdateDueToTimeslice, }); @@ -259,19 +276,18 @@ describe('canSkipSourceUpdate', () => { }); it('can not skip update when query is refreshed', async () => { - const nextMeta = { + const nextRequestMeta = { applyGlobalQuery: prevApplyGlobalQuery, filters: prevFilters, - query: { - ...prevQuery, - queryLastTriggeredAt: 'sometime layer when Refresh button is clicked', - }, + query: prevQuery, + isForceRefresh: true, + applyForceRefresh: true, }; const canSkipUpdate = await canSkipSourceUpdate({ - source: queryAwareSourceMock, + source: (queryAwareSourceMock as unknown) as ISource, prevDataRequest, - nextMeta, + nextRequestMeta, extentAware: queryAwareSourceMock.isFilterByMapBounds(), getUpdateDueToTimeslice, }); @@ -280,16 +296,16 @@ describe('canSkipSourceUpdate', () => { }); it('can not skip update when applyGlobalQuery changes', async () => { - const nextMeta = { + const nextRequestMeta = { applyGlobalQuery: !prevApplyGlobalQuery, filters: prevFilters, query: prevQuery, }; const canSkipUpdate = await canSkipSourceUpdate({ - source: queryAwareSourceMock, + source: (queryAwareSourceMock as unknown) as ISource, prevDataRequest, - nextMeta, + nextRequestMeta, extentAware: queryAwareSourceMock.isFilterByMapBounds(), getUpdateDueToTimeslice, }); @@ -305,9 +321,6 @@ describe('canSkipSourceUpdate', () => { isTimeAware: () => { return true; }, - isRefreshTimerAware: () => { - return false; - }, isFilterByMapBounds: () => { return false; }, @@ -326,15 +339,15 @@ describe('canSkipSourceUpdate', () => { describe('applyGlobalTime', () => { it('can not skip update when applyGlobalTime changes', async () => { const canSkipUpdate = await canSkipSourceUpdate({ - source: createSourceMock(), + source: (createSourceMock() as unknown) as ISource, prevDataRequest: new DataRequest({ dataId: SOURCE_DATA_REQUEST_ID, - dataMeta: { + dataRequestMeta: { applyGlobalTime: true, }, data: {}, }), - nextMeta: { + nextRequestMeta: { applyGlobalTime: false, }, extentAware: false, @@ -346,15 +359,15 @@ describe('canSkipSourceUpdate', () => { it('can skip update when applyGlobalTime does not change', async () => { const canSkipUpdate = await canSkipSourceUpdate({ - source: createSourceMock(), + source: (createSourceMock() as unknown) as ISource, prevDataRequest: new DataRequest({ dataId: SOURCE_DATA_REQUEST_ID, - dataMeta: { + dataRequestMeta: { applyGlobalTime: true, }, data: {}, }), - nextMeta: { + nextRequestMeta: { applyGlobalTime: true, }, extentAware: false, @@ -368,10 +381,10 @@ describe('canSkipSourceUpdate', () => { describe('timeFilters', () => { it('can not skip update when time range changes', async () => { const canSkipUpdate = await canSkipSourceUpdate({ - source: createSourceMock(), + source: (createSourceMock() as unknown) as ISource, prevDataRequest: new DataRequest({ dataId: SOURCE_DATA_REQUEST_ID, - dataMeta: { + dataRequestMeta: { applyGlobalTime: true, timeFilters: { from: 'now-15m', @@ -380,7 +393,7 @@ describe('canSkipSourceUpdate', () => { }, data: {}, }), - nextMeta: { + nextRequestMeta: { applyGlobalTime: true, timeFilters: { from: 'now-7d', @@ -396,10 +409,10 @@ describe('canSkipSourceUpdate', () => { it('can skip update when time range does not change', async () => { const canSkipUpdate = await canSkipSourceUpdate({ - source: createSourceMock(), + source: (createSourceMock() as unknown) as ISource, prevDataRequest: new DataRequest({ dataId: SOURCE_DATA_REQUEST_ID, - dataMeta: { + dataRequestMeta: { applyGlobalTime: true, timeFilters: { from: 'now-15m', @@ -408,7 +421,7 @@ describe('canSkipSourceUpdate', () => { }, data: {}, }), - nextMeta: { + nextRequestMeta: { applyGlobalTime: true, timeFilters: { from: 'now-15m', @@ -424,10 +437,10 @@ describe('canSkipSourceUpdate', () => { it('can skip update when time range changes but applyGlobalTime is false', async () => { const canSkipUpdate = await canSkipSourceUpdate({ - source: createSourceMock(), + source: (createSourceMock() as unknown) as ISource, prevDataRequest: new DataRequest({ dataId: SOURCE_DATA_REQUEST_ID, - dataMeta: { + dataRequestMeta: { applyGlobalTime: false, timeFilters: { from: 'now-15m', @@ -436,7 +449,7 @@ describe('canSkipSourceUpdate', () => { }, data: {}, }), - nextMeta: { + nextRequestMeta: { applyGlobalTime: false, timeFilters: { from: 'now-7d', @@ -455,10 +468,10 @@ describe('canSkipSourceUpdate', () => { const mockSource = createSourceMock(); it('can not skip update when timeslice changes (undefined => provided)', async () => { const canSkipUpdate = await canSkipSourceUpdate({ - source: mockSource, + source: (mockSource as unknown) as ISource, prevDataRequest: new DataRequest({ dataId: SOURCE_DATA_REQUEST_ID, - dataMeta: { + dataRequestMeta: { applyGlobalTime: true, timeFilters: { from: 'now-7d', @@ -467,7 +480,7 @@ describe('canSkipSourceUpdate', () => { }, data: {}, }), - nextMeta: { + nextRequestMeta: { applyGlobalTime: true, timeFilters: { from: 'now-7d', @@ -487,10 +500,10 @@ describe('canSkipSourceUpdate', () => { it('can not skip update when timeslice changes', async () => { const canSkipUpdate = await canSkipSourceUpdate({ - source: mockSource, + source: (mockSource as unknown) as ISource, prevDataRequest: new DataRequest({ dataId: SOURCE_DATA_REQUEST_ID, - dataMeta: { + dataRequestMeta: { applyGlobalTime: true, timeFilters: { from: 'now-7d', @@ -503,7 +516,7 @@ describe('canSkipSourceUpdate', () => { }, data: {}, }), - nextMeta: { + nextRequestMeta: { applyGlobalTime: true, timeFilters: { from: 'now-7d', @@ -523,10 +536,10 @@ describe('canSkipSourceUpdate', () => { it('can not skip update when timeslice changes (provided => undefined)', async () => { const canSkipUpdate = await canSkipSourceUpdate({ - source: mockSource, + source: (mockSource as unknown) as ISource, prevDataRequest: new DataRequest({ dataId: SOURCE_DATA_REQUEST_ID, - dataMeta: { + dataRequestMeta: { applyGlobalTime: true, timeFilters: { from: 'now-7d', @@ -539,7 +552,7 @@ describe('canSkipSourceUpdate', () => { }, data: {}, }), - nextMeta: { + nextRequestMeta: { applyGlobalTime: true, timeFilters: { from: 'now-7d', @@ -555,10 +568,10 @@ describe('canSkipSourceUpdate', () => { it('can skip update when timeslice does not change', async () => { const canSkipUpdate = await canSkipSourceUpdate({ - source: mockSource, + source: (mockSource as unknown) as ISource, prevDataRequest: new DataRequest({ dataId: SOURCE_DATA_REQUEST_ID, - dataMeta: { + dataRequestMeta: { applyGlobalTime: true, timeFilters: { from: 'now-7d', @@ -571,7 +584,7 @@ describe('canSkipSourceUpdate', () => { }, data: {}, }), - nextMeta: { + nextRequestMeta: { applyGlobalTime: true, timeFilters: { from: 'now-7d', @@ -591,10 +604,10 @@ describe('canSkipSourceUpdate', () => { it('can skip update when timeslice changes but applyGlobalTime is false', async () => { const canSkipUpdate = await canSkipSourceUpdate({ - source: mockSource, + source: (mockSource as unknown) as ISource, prevDataRequest: new DataRequest({ dataId: SOURCE_DATA_REQUEST_ID, - dataMeta: { + dataRequestMeta: { applyGlobalTime: false, timeFilters: { from: 'now-7d', @@ -607,7 +620,7 @@ describe('canSkipSourceUpdate', () => { }, data: {}, }), - nextMeta: { + nextRequestMeta: { applyGlobalTime: false, timeFilters: { from: 'now-7d', diff --git a/x-pack/plugins/maps/public/classes/util/can_skip_fetch.ts b/x-pack/plugins/maps/public/classes/util/can_skip_fetch.ts index b6f03ef3d1c63..69a5c73ba2933 100644 --- a/x-pack/plugins/maps/public/classes/util/can_skip_fetch.ts +++ b/x-pack/plugins/maps/public/classes/util/can_skip_fetch.ts @@ -8,15 +8,14 @@ import _ from 'lodash'; import turfBboxPolygon from '@turf/bbox-polygon'; import turfBooleanContains from '@turf/boolean-contains'; -import { isRefreshOnlyQuery } from './is_refresh_only_query'; import { ISource } from '../sources/source'; -import { DataMeta, Timeslice } from '../../../common/descriptor_types'; +import { DataRequestMeta, Timeslice } from '../../../common/descriptor_types'; import { DataRequest } from './data_request'; const SOURCE_UPDATE_REQUIRED = true; const NO_SOURCE_UPDATE_REQUIRED = false; -export function updateDueToExtent(prevMeta: DataMeta = {}, nextMeta: DataMeta = {}) { +export function updateDueToExtent(prevMeta: DataRequestMeta = {}, nextMeta: DataRequestMeta = {}) { const { buffer: previousBuffer } = prevMeta; const { buffer: newBuffer } = nextMeta; @@ -54,30 +53,28 @@ export function updateDueToExtent(prevMeta: DataMeta = {}, nextMeta: DataMeta = export async function canSkipSourceUpdate({ source, prevDataRequest, - nextMeta, + nextRequestMeta, extentAware, getUpdateDueToTimeslice, }: { source: ISource; prevDataRequest: DataRequest | undefined; - nextMeta: DataMeta; + nextRequestMeta: DataRequestMeta; extentAware: boolean; getUpdateDueToTimeslice: (timeslice?: Timeslice) => boolean; }): Promise { + const mustForceRefresh = nextRequestMeta.isForceRefresh && nextRequestMeta.applyForceRefresh; + if (mustForceRefresh) { + // Cannot skip + return false; + } + const timeAware = await source.isTimeAware(); - const refreshTimerAware = await source.isRefreshTimerAware(); const isFieldAware = source.isFieldAware(); const isQueryAware = source.isQueryAware(); const isGeoGridPrecisionAware = source.isGeoGridPrecisionAware(); - if ( - !timeAware && - !refreshTimerAware && - !extentAware && - !isFieldAware && - !isQueryAware && - !isGeoGridPrecisionAware - ) { + if (!timeAware && !extentAware && !isFieldAware && !isQueryAware && !isGeoGridPrecisionAware) { return !!prevDataRequest && prevDataRequest.hasDataOrRequestInProgress(); } @@ -93,26 +90,18 @@ export async function canSkipSourceUpdate({ let updateDueToTime = false; let updateDueToTimeslice = false; if (timeAware) { - updateDueToApplyGlobalTime = prevMeta.applyGlobalTime !== nextMeta.applyGlobalTime; - if (nextMeta.applyGlobalTime) { - updateDueToTime = !_.isEqual(prevMeta.timeFilters, nextMeta.timeFilters); - if (!_.isEqual(prevMeta.timeslice, nextMeta.timeslice)) { - updateDueToTimeslice = getUpdateDueToTimeslice(nextMeta.timeslice); + updateDueToApplyGlobalTime = prevMeta.applyGlobalTime !== nextRequestMeta.applyGlobalTime; + if (nextRequestMeta.applyGlobalTime) { + updateDueToTime = !_.isEqual(prevMeta.timeFilters, nextRequestMeta.timeFilters); + if (!_.isEqual(prevMeta.timeslice, nextRequestMeta.timeslice)) { + updateDueToTimeslice = getUpdateDueToTimeslice(nextRequestMeta.timeslice); } } } - let updateDueToRefreshTimer = false; - if (refreshTimerAware && nextMeta.refreshTimerLastTriggeredAt) { - updateDueToRefreshTimer = !_.isEqual( - prevMeta.refreshTimerLastTriggeredAt, - nextMeta.refreshTimerLastTriggeredAt - ); - } - let updateDueToFields = false; if (isFieldAware) { - updateDueToFields = !_.isEqual(prevMeta.fieldNames, nextMeta.fieldNames); + updateDueToFields = !_.isEqual(prevMeta.fieldNames, nextRequestMeta.fieldNames); } let updateDueToQuery = false; @@ -120,42 +109,41 @@ export async function canSkipSourceUpdate({ let updateDueToSourceQuery = false; let updateDueToApplyGlobalQuery = false; if (isQueryAware) { - updateDueToApplyGlobalQuery = prevMeta.applyGlobalQuery !== nextMeta.applyGlobalQuery; - updateDueToSourceQuery = !_.isEqual(prevMeta.sourceQuery, nextMeta.sourceQuery); - - if (nextMeta.applyGlobalQuery) { - updateDueToQuery = !_.isEqual(prevMeta.query, nextMeta.query); - updateDueToFilters = !_.isEqual(prevMeta.filters, nextMeta.filters); - } else { - // Global filters and query are not applied to layer search request so no re-fetch required. - // Exception is "Refresh" query. - updateDueToQuery = isRefreshOnlyQuery(prevMeta.query, nextMeta.query); + updateDueToApplyGlobalQuery = prevMeta.applyGlobalQuery !== nextRequestMeta.applyGlobalQuery; + updateDueToSourceQuery = !_.isEqual(prevMeta.sourceQuery, nextRequestMeta.sourceQuery); + + if (nextRequestMeta.applyGlobalQuery) { + updateDueToQuery = !_.isEqual(prevMeta.query, nextRequestMeta.query); + updateDueToFilters = !_.isEqual(prevMeta.filters, nextRequestMeta.filters); } } let updateDueToSearchSessionId = false; - if (timeAware || isQueryAware) { - updateDueToSearchSessionId = prevMeta.searchSessionId !== nextMeta.searchSessionId; + if ((timeAware || isQueryAware) && nextRequestMeta.applyForceRefresh) { + // If the force-refresh flag is turned off, we should ignore refreshes on the dashboard-context + updateDueToSearchSessionId = prevMeta.searchSessionId !== nextRequestMeta.searchSessionId; } let updateDueToPrecisionChange = false; let updateDueToExtentChange = false; if (isGeoGridPrecisionAware) { - updateDueToPrecisionChange = !_.isEqual(prevMeta.geogridPrecision, nextMeta.geogridPrecision); + updateDueToPrecisionChange = !_.isEqual( + prevMeta.geogridPrecision, + nextRequestMeta.geogridPrecision + ); } if (extentAware) { - updateDueToExtentChange = updateDueToExtent(prevMeta, nextMeta); + updateDueToExtentChange = updateDueToExtent(prevMeta, nextRequestMeta); } - const updateDueToSourceMetaChange = !_.isEqual(prevMeta.sourceMeta, nextMeta.sourceMeta); + const updateDueToSourceMetaChange = !_.isEqual(prevMeta.sourceMeta, nextRequestMeta.sourceMeta); return ( !updateDueToApplyGlobalTime && !updateDueToTime && !updateDueToTimeslice && - !updateDueToRefreshTimer && !updateDueToExtentChange && !updateDueToFields && !updateDueToQuery && @@ -173,7 +161,7 @@ export function canSkipStyleMetaUpdate({ nextMeta, }: { prevDataRequest: DataRequest | undefined; - nextMeta: DataMeta; + nextMeta: DataRequestMeta; }): boolean { if (!prevDataRequest) { return false; @@ -208,7 +196,7 @@ export function canSkipFormattersUpdate({ nextMeta, }: { prevDataRequest: DataRequest | undefined; - nextMeta: DataMeta; + nextMeta: DataRequestMeta; }): boolean { if (!prevDataRequest) { return false; diff --git a/x-pack/plugins/maps/public/classes/util/data_request.ts b/x-pack/plugins/maps/public/classes/util/data_request.ts index 0eb50af6107e0..3977fd3c9e0a9 100644 --- a/x-pack/plugins/maps/public/classes/util/data_request.ts +++ b/x-pack/plugins/maps/public/classes/util/data_request.ts @@ -7,7 +7,7 @@ /* eslint-disable max-classes-per-file */ -import { DataRequestDescriptor, DataMeta } from '../../../common/descriptor_types'; +import { DataRequestDescriptor, DataRequestMeta } from '../../../common/descriptor_types'; export class DataRequest { private readonly _descriptor: DataRequestDescriptor; @@ -26,11 +26,11 @@ export class DataRequest { return !!this._descriptor.dataRequestToken; } - getMeta(): DataMeta { - if (this._descriptor.dataMetaAtStart) { - return this._descriptor.dataMetaAtStart; - } else if (this._descriptor.dataMeta) { - return this._descriptor.dataMeta; + getMeta(): DataRequestMeta { + if (this._descriptor.dataRequestMetaAtStart) { + return this._descriptor.dataRequestMetaAtStart; + } else if (this._descriptor.dataRequestMeta) { + return this._descriptor.dataRequestMeta; } else { return {}; } diff --git a/x-pack/plugins/maps/public/classes/util/is_refresh_only_query.ts b/x-pack/plugins/maps/public/classes/util/is_refresh_only_query.ts deleted file mode 100644 index 57a11c1d161dc..0000000000000 --- a/x-pack/plugins/maps/public/classes/util/is_refresh_only_query.ts +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one - * or more contributor license agreements. Licensed under the Elastic License - * 2.0; you may not use this file except in compliance with the Elastic License - * 2.0. - */ - -import { MapQuery } from '../../../common/descriptor_types'; - -// Refresh only query is query where timestamps are different but query is the same. -// Triggered by clicking "Refresh" button in QueryBar -export function isRefreshOnlyQuery( - prevQuery: MapQuery | undefined, - newQuery: MapQuery | undefined -): boolean { - if (!prevQuery || !newQuery) { - return false; - } - return ( - prevQuery.queryLastTriggeredAt !== newQuery.queryLastTriggeredAt && - prevQuery.language === newQuery.language && - prevQuery.query === newQuery.query - ); -} diff --git a/x-pack/plugins/maps/public/classes/util/mb_filter_expressions.ts b/x-pack/plugins/maps/public/classes/util/mb_filter_expressions.ts index eb58963929716..68efd416718fd 100644 --- a/x-pack/plugins/maps/public/classes/util/mb_filter_expressions.ts +++ b/x-pack/plugins/maps/public/classes/util/mb_filter_expressions.ts @@ -15,7 +15,7 @@ import { import { Timeslice } from '../../../common/descriptor_types'; export interface TimesliceMaskConfig { - timesiceMaskField: string; + timesliceMaskField: string; timeslice: Timeslice; } @@ -34,15 +34,15 @@ function getFilterExpression( } if (timesliceMaskConfig) { - allFilters.push(['has', timesliceMaskConfig.timesiceMaskField]); + allFilters.push(['has', timesliceMaskConfig.timesliceMaskField]); allFilters.push([ '>=', - ['get', timesliceMaskConfig.timesiceMaskField], + ['get', timesliceMaskConfig.timesliceMaskField], timesliceMaskConfig.timeslice.from, ]); allFilters.push([ '<', - ['get', timesliceMaskConfig.timesiceMaskField], + ['get', timesliceMaskConfig.timesliceMaskField], timesliceMaskConfig.timeslice.to, ]); } diff --git a/x-pack/plugins/maps/public/components/force_refresh_checkbox.tsx b/x-pack/plugins/maps/public/components/force_refresh_checkbox.tsx new file mode 100644 index 0000000000000..1b0d021b2efdb --- /dev/null +++ b/x-pack/plugins/maps/public/components/force_refresh_checkbox.tsx @@ -0,0 +1,42 @@ +/* + * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one + * or more contributor license agreements. Licensed under the Elastic License + * 2.0; you may not use this file except in compliance with the Elastic License + * 2.0. + */ + +import React from 'react'; +import { EuiFormRow, EuiSwitch, EuiSwitchEvent, EuiToolTip } from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; + +interface Props { + applyForceRefresh: boolean; + setApplyForceRefresh: (applyGlobalTime: boolean) => void; +} + +export function ForceRefreshCheckbox({ applyForceRefresh, setApplyForceRefresh }: Props) { + const onRespondToForceRefreshChange = (event: EuiSwitchEvent) => { + setApplyForceRefresh(event.target.checked); + }; + + return ( + + + + + + ); +} diff --git a/x-pack/plugins/maps/public/components/global_filter_checkbox.tsx b/x-pack/plugins/maps/public/components/global_filter_checkbox.tsx index bddb1cfd9cfcd..96805e0c6b5ec 100644 --- a/x-pack/plugins/maps/public/components/global_filter_checkbox.tsx +++ b/x-pack/plugins/maps/public/components/global_filter_checkbox.tsx @@ -6,7 +6,8 @@ */ import React from 'react'; -import { EuiFormRow, EuiSwitch, EuiSwitchEvent } from '@elastic/eui'; +import { EuiFormRow, EuiSwitch, EuiSwitchEvent, EuiToolTip } from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; interface Props { applyGlobalQuery: boolean; @@ -21,13 +22,20 @@ export function GlobalFilterCheckbox({ applyGlobalQuery, label, setApplyGlobalQu return ( - + + + ); } diff --git a/x-pack/plugins/maps/public/components/global_time_checkbox.tsx b/x-pack/plugins/maps/public/components/global_time_checkbox.tsx index 675426dbb3f76..ae0c50c063b68 100644 --- a/x-pack/plugins/maps/public/components/global_time_checkbox.tsx +++ b/x-pack/plugins/maps/public/components/global_time_checkbox.tsx @@ -6,8 +6,8 @@ */ import React from 'react'; -import { EuiFormRow, EuiSwitch, EuiSwitchEvent } from '@elastic/eui'; - +import { EuiFormRow, EuiSwitch, EuiSwitchEvent, EuiToolTip } from '@elastic/eui'; +import { i18n } from '@kbn/i18n'; interface Props { applyGlobalTime: boolean; label: string; @@ -21,13 +21,20 @@ export function GlobalTimeCheckbox({ applyGlobalTime, label, setApplyGlobalTime return ( - + + + ); } diff --git a/x-pack/plugins/maps/public/connected_components/add_layer_panel/index.ts b/x-pack/plugins/maps/public/connected_components/add_layer_panel/index.ts index 67f0c3664acda..ed10b135899d5 100644 --- a/x-pack/plugins/maps/public/connected_components/add_layer_panel/index.ts +++ b/x-pack/plugins/maps/public/connected_components/add_layer_panel/index.ts @@ -22,7 +22,7 @@ import { import { MapStoreState } from '../../reducers/store'; import { LayerDescriptor } from '../../../common/descriptor_types'; import { hasPreviewLayers, isLoadingPreviewLayers } from '../../selectors/map_selectors'; -import { DRAW_MODE } from '../../../common'; +import { DRAW_MODE } from '../../../common/constants'; function mapStateToProps(state: MapStoreState) { return { diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx b/x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx index 6e258e679b96f..c92bd43af14cf 100644 --- a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx +++ b/x-pack/plugins/maps/public/connected_components/edit_layer_panel/filter_editor/filter_editor.tsx @@ -15,8 +15,10 @@ import { EuiSpacer, EuiText, EuiTextColor, - EuiTextAlign, EuiButtonEmpty, + EuiHorizontalRule, + EuiFlexGroup, + EuiFlexItem, } from '@elastic/eui'; import { FormattedMessage } from '@kbn/i18n/react'; @@ -27,6 +29,7 @@ import { getIndexPatternService, getData } from '../../../kibana_services'; import { GlobalFilterCheckbox } from '../../../components/global_filter_checkbox'; import { GlobalTimeCheckbox } from '../../../components/global_time_checkbox'; import { ILayer } from '../../../classes/layers/layer'; +import { ForceRefreshCheckbox } from '../../../components/force_refresh_checkbox'; export interface Props { layer: ILayer; @@ -113,6 +116,10 @@ export class FilterEditor extends Component { this.props.updateSourceProp(this.props.layer.getId(), 'applyGlobalTime', applyGlobalTime); }; + _onRespondToForceRefreshChange = (applyForceRefresh: boolean) => { + this.props.updateSourceProp(this.props.layer.getId(), 'applyForceRefresh', applyForceRefresh); + }; + _renderQueryPopover() { const layerQuery = this.props.layer.getQuery(); const { SearchBar } = getData().ui; @@ -153,7 +160,7 @@ export class FilterEditor extends Component { const query = this.props.layer.getQuery(); if (!query || !query.query) { return ( - +

{ return ( {query.query} - ); @@ -183,7 +189,7 @@ export class FilterEditor extends Component { defaultMessage: 'Edit filter', }) : i18n.translate('xpack.maps.layerPanel.filterEditor.addFilterButtonLabel', { - defaultMessage: 'Add filter', + defaultMessage: 'Set filter', }); const openButtonIcon = query && query.query ? 'pencil' : 'plusInCircleFilled'; @@ -209,6 +215,7 @@ export class FilterEditor extends Component { setApplyGlobalTime={this._onApplyGlobalTimeChange} /> ) : null; + return ( @@ -222,12 +229,15 @@ export class FilterEditor extends Component { - {this._renderQuery()} - - {this._renderQueryPopover()} + + {this._renderQueryPopover()} + {this._renderQuery()} + + + { /> {globalTimeCheckbox} + ); } diff --git a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/__snapshots__/join_editor.test.tsx.snap b/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/__snapshots__/join_editor.test.tsx.snap index 92330c1d1ddce..0a79b21175d1e 100644 --- a/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/__snapshots__/join_editor.test.tsx.snap +++ b/x-pack/plugins/maps/public/connected_components/edit_layer_panel/join_editor/__snapshots__/join_editor.test.tsx.snap @@ -9,6 +9,7 @@ exports[`Should render callout when joins are disabled 1`] = ` ) { return { diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/index.ts b/x-pack/plugins/maps/public/connected_components/mb_map/index.ts index 9936d412de9e6..d46d4f53de47f 100644 --- a/x-pack/plugins/maps/public/connected_components/mb_map/index.ts +++ b/x-pack/plugins/maps/public/connected_components/mb_map/index.ts @@ -32,7 +32,7 @@ import { import { getDrawMode, getIsFullScreen } from '../../selectors/ui_selectors'; import { getInspectorAdapters } from '../../reducers/non_serializable_instances'; import { MapStoreState } from '../../reducers/store'; -import { DRAW_MODE } from '../../../common'; +import { DRAW_MODE } from '../../../common/constants'; import { TileMetaFeature } from '../../../common/descriptor_types'; import type { MapExtentState } from '../../reducers/map/types'; diff --git a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/index.ts b/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/index.ts index 009a512023309..a9281898902e4 100644 --- a/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/index.ts +++ b/x-pack/plugins/maps/public/connected_components/mb_map/tooltip_control/index.ts @@ -23,7 +23,7 @@ import { getGeoFieldNames, } from '../../../selectors/map_selectors'; import { getDrawMode } from '../../../selectors/ui_selectors'; -import { DRAW_MODE } from '../../../../common'; +import { DRAW_MODE } from '../../../../common/constants'; import { MapStoreState } from '../../../reducers/store'; function mapStateToProps(state: MapStoreState) { diff --git a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/__snapshots__/layer_control.test.tsx.snap b/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/__snapshots__/layer_control.test.tsx.snap index 05c2ad69af771..047f0087c559f 100644 --- a/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/__snapshots__/layer_control.test.tsx.snap +++ b/x-pack/plugins/maps/public/connected_components/right_side_controls/layer_control/__snapshots__/layer_control.test.tsx.snap @@ -37,6 +37,7 @@ exports[`LayerControl is rendered 1`] = ` + + + + +

+
-
- + +
+
+
+
+
+ +
+
+
+
+ someone +
+
+
+
+
-
- + +
+
+
+
+
+ +
+
+
+
+ someone +
+
+
+
+
+
+ +
+
+
+ Applied globally +
+
+
+
+
+
+
+

+ Trusted App 0 +

- -
+
-
-
- Name -
-
- - - trusted app 1 - - -
-
- OS -
-
- - - Mac - - -
-
- Date created -
-
- 1 minute ago -
-
- Created by -
-
+ - - someone + + + + OS -
-
- Date modified -
-
- 1 minute ago -
-
- Modified by -
-
- - someone + + IS - -
-
- Description -
-
- - - Trusted App 1 + + + Windows -
-
+ +
+
+ +
+
-
+
+

+ trusted app 1 +

+
+
-
+
+ +
+
+ class="euiText euiText--small" + > + Last updated +
+
+
+ class="euiText euiText--small" + > + + 1 minute ago + +
- - - - - - - - - - - - - -
-
- - - Field - - - - - - Operator - - - - - - Value - - -
-
- - No items found - -
-
-
-
-
-
-
-
-
- -
-
-
-
- +
+
+ Created +
+
+
+
+ + 1 minute ago + +
+
+
+
+
-
-
- -
-
-
-
-
- Name -
-
- - - trusted app 2 - - -
-
- OS -
-
- - - Linux - - -
-
- Date created -
-
- 1 minute ago -
-
- Created by -
-
- - - someone - - -
-
- Date modified -
-
- 1 minute ago -
-
- Modified by -
-
- - - someone - - -
-
- Description -
-
- - - Trusted App 2 - - -
-
+ +
+
+
-
+
+ + + + Created by + + + +
+
-
+
- +
+
+ someone
- - - - - - - - - - - - - -
-
- - - Field - - - - - - Operator - - - - - - Value - - -
-
- - No items found - -
-
-
-
-
- +
-
-
-
- + +
+
+
+
+ someone +
+
+
+
+
+
+ +
+
+
+ Applied globally +
+
+
+
+
+
+
+

+ Trusted App 1 +

-
-
+
-
-
- Name -
-
- - - trusted app 3 - - -
-
- OS -
-
- - - Windows - - -
-
- Date created -
-
- 1 minute ago -
-
- Created by -
-
+ - - someone + + + + OS -
-
- Date modified -
-
- 1 minute ago -
-
- Modified by -
-
- - someone + + IS - -
-
- Description -
-
- - - Trusted App 3 + + + macos -
-
+ +
+
+ +
+
-
+
+

+ trusted app 2 +

+
+
-
+
+ +
+
+ class="euiText euiText--small" + > + Last updated +
+
+
+ class="euiText euiText--small" + > + + 1 minute ago + +
- - - - - - - - - - + + +
+
+
+ +
+
+
+
+
+ Created +
+
+
+
-
- - -
-
- - - Field - - - - - - Operator - - - - - - Value - - -
-
- - No items found - -
-
+ + 1 minute ago + +
+
+
+
+
+
+
+ +
+
+
+
+
+
-
- +
-
-
-
- -
-
-
-
-
-
-
- -
-
-
-
-
- Name -
-
- - - trusted app 4 - - -
-
- OS -
-
- - - Mac - - -
-
- Date created -
-
- 1 minute ago -
-
- Created by -
-
- - - someone - - -
-
- Date modified -
-
- 1 minute ago -
-
- Modified by -
-
- - - someone - - -
-
- Description -
-
- - - Trusted App 4 - - -
-
-
-
-
-
-
-
-
-
-
+ +
+
+
-
-
-
-
+ someone
- - - - - - - - - - - - - -
-
- - - Field - - - - - - Operator - - - - - - Value - - -
-
- - No items found - -
-
-
-
-
- +
-
-
-
- + +
+
+
+
+ someone +
+
+
+
+
+
+ +
+
+
+ Applied globally +
+
+
+
+
+
+
+

+ Trusted App 2 +

- -
+
-
-
- Name -
-
- - - trusted app 5 - - -
-
- OS -
-
- - - Linux - - -
-
- Date created -
-
- 1 minute ago -
-
- Created by -
-
+ - - someone + + + + OS -
-
- Date modified -
-
- 1 minute ago -
-
- Modified by -
-
- - someone + + IS - -
-
- Description -
-
- - - Trusted App 5 + + + Linux -
-
+ +
+
+ +
+
-
+
+

+ trusted app 3 +

+
+
-
+
+ +
+
+ class="euiText euiText--small" + > + Last updated +
+
+
+ class="euiText euiText--small" + > + + 1 minute ago + +
- - - - - - - - - - + + +
+
+
+ +
+
+
+
+
+ Created +
+
+
+
-
- - -
-
- - - Field - - - - - - Operator - - - - - - Value - - -
-
- - No items found - -
-
+ + 1 minute ago + +
+
+
+
+
+
+
+ +
+
+
+
+
+
-
- + +
+
+
+
+
+ +
+
+
+
+ someone +
+
+
+
+
-
- +
-
-
-
-
-
-
- -
-
-
-
-
- Name -
-
- - - trusted app 6 - - -
-
- OS -
-
- - - Windows - - -
-
- Date created -
-
- 1 minute ago -
-
- Created by -
-
- - - someone - - -
-
- Date modified -
-
- 1 minute ago -
-
- Modified by -
-
- - - someone - - -
-
- Description -
-
- - - Trusted App 6 - - -
-
-
-
-
-
-
-
-
+
- +
+
+ someone
- - - - - - - - - - - - - -
-
- - - Field - - - - - - Operator - - - - - - Value - - -
-
- - No items found - -
-
+
+
+ +
+
-
- -
-
-
-
- -
+ Applied globally
+
+
+

+ Trusted App 3 +

+
-
-
+
-
-
- Name -
-
- - - trusted app 7 - - -
-
- OS -
-
- - - Mac - - -
-
- Date created -
-
- 1 minute ago -
-
- Created by -
-
+ - - someone + + + + OS -
-
- Date modified -
-
- 1 minute ago -
-
- Modified by -
-
- - someone + + IS - -
-
- Description -
-
- - - Trusted App 7 + + + Windows -
-
+ +
+
+
+
+
-
+
+

+ trusted app 4 +

+
+
-
+
+ +
+
+ class="euiText euiText--small" + > + Last updated +
+
+
+ class="euiText euiText--small" + > + + 1 minute ago + +
- - - - - - - - - - + + +
+
+
+ +
+
+
+
+
-
- - -
-
- - - Field - - - - - - Operator - - - - - - Value - - -
-
- - No items found - -
-
+ Created +
+
+
+
+ + 1 minute ago + +
+
+
+
+
+
+
+ +
+
+
+
+
+
-
- + +
+
+
+
+
+ +
+
+
+
+ someone +
+
+
+
+
-
- + +
+
+
+
+
+ +
+
+
+
+ someone +
+
+
-
-
-
-
-
-
-
-
- Name -
-
- - - trusted app 8 - - -
-
- OS -
-
- +
+
- - Linux - - - -
- Date created -
-
- 1 minute ago -
-
- Created by -
-
+
+ Applied globally +
+
+
+
+
+
+
+

+ Trusted App 4 +

+
+
+
+
+
+
+ - - someone + + + + OS - -
- Date modified -
-
- 1 minute ago -
-
- Modified by -
-
- - someone + + IS - -
-
- Description -
-
- - - Trusted App 8 + + + macos -
- +
+
+
+
+
+
-
+
+

+ trusted app 5 +

+
+
-
+
+ +
+
+ class="euiText euiText--small" + > + Last updated +
+
+
+ class="euiText euiText--small" + > + + 1 minute ago + +
- - - - - - - - - - + + +
+
+
+ +
+
+
+
+
+ Created +
+
+
+
-
- - -
-
- - - Field - - - - - - Operator - - - - - - Value - - -
-
- - No items found - -
-
+ + 1 minute ago + +
+
+
+
+
+
+
+ +
+
+
+
+
+
-
- + +
+
+
+
+
+ +
+
+
+
+ someone +
+
+
+
+
-
- + +
+
+
+
+
+ +
+
+
+
+ someone +
+
+
+
+
+
+ +
+
+
+ Applied globally +
+
+
+
+
+
+
+

+ Trusted App 5 +

-
-
+
-
-
- Name -
-
- - - trusted app 9 - - -
-
- OS -
-
- - - Windows - - -
-
- Date created -
-
- 1 minute ago -
-
- Created by -
-
+ - - someone + + + + OS -
-
- Date modified -
-
- 1 minute ago -
-
- Modified by -
-
- - someone + + IS - -
-
- Description -
-
- - - Trusted App 9 + + + Linux -
-
+ +
+
+ +
+
-
+
+

+ trusted app 6 +

+
+
-
+
+ +
+
+ class="euiText euiText--small" + > + Last updated +
+
+
+ class="euiText euiText--small" + > + + 1 minute ago + +
- - - - - - - - - - - - - -
-
- - - Field - - - - - - Operator - - - - - - Value - - -
-
- - No items found - -
-
-
-
-
-
-
-
-
- -
-
-
-
-
+
- - Remove - - - +
+
+ Created +
+
+
+
+ + 1 minute ago + +
+
+
+
+
+
+
+
+ +
+
+
-
- - - -
-
-
-
-
- +
+
+ + + + Created by + + + +
+
+
+
+
+ +
+
+
+
+ someone +
+
+
+
+
+
+
+
+
+ + + + Updated by + + + +
+
+
+
+
+ +
+
+
+
+ someone +
+
+
+
+
+
+
+
+
+
+
+ +
+
+
+ Applied globally +
+
+
+
+
+
+
+

+ Trusted App 6 +

-
-
-
+
+ +
+
+
+
- - -
  • +
  • +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    + Last updated +
    +
    +
    +
    + + 1 minute ago + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    + Created +
    +
    +
    +
    + + 1 minute ago + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    - +
    +
    + + +
    +
    +
    +
    +
    +
    + + + + Created by + + + +
    +
    +
    +
    +
    + +
    +
    +
    +
    + someone +
    +
    +
    +
    +
    +
    +
    +
    +
    + + + + Updated by + + + +
    +
    +
    +
    +
    + +
    +
    +
    +
    + someone +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + Applied globally +
    +
    +
    +
    +
    +
    +
    +

    + Trusted App 7 +

    +
    +
    +
    +
    +
    +
    + + + - 5 + OS - - -
  • - … -
  • -
  • - -
  • - - - +
    +
    +
    +
    - - - - - -`; - -exports[`TrustedAppsGrid renders correctly when loading data for the first time 1`] = ` -.c1 { - position: relative; - padding-top: 4px; -} - -.c1 .body { - min-height: 40px; -} - -.c1 .body-content { - position: relative; -} - -.c0 .trusted-app + .trusted-app { - margin-top: 24px; -} - -
    -
    +
    +
    +
    +
    +
    +
    +

    + trusted app 8 +

    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    + Last updated +
    +
    +
    +
    + + 1 minute ago + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    + Created +
    +
    +
    +
    + + 1 minute ago + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + + + + Created by + + + +
    +
    +
    +
    +
    + +
    +
    +
    +
    + someone +
    +
    +
    +
    +
    +
    +
    +
    +
    + + + + Updated by + + + +
    +
    +
    +
    +
    + +
    +
    +
    +
    + someone +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + Applied globally +
    +
    +
    +
    +
    +
    +
    +

    + Trusted App 8 +

    +
    +
    +
    +
    +
    +
    + + + + + + OS + + + + + IS + + + + Linux + + + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +

    + trusted app 9 +

    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    + Last updated +
    +
    +
    +
    + + 1 minute ago + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    + Created +
    +
    +
    +
    + + 1 minute ago + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + + + + Created by + + + +
    +
    +
    +
    +
    + +
    +
    +
    +
    + someone +
    +
    +
    +
    +
    +
    +
    +
    +
    + + + + Updated by + + + +
    +
    +
    +
    +
    + +
    +
    +
    +
    + someone +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + Applied globally +
    +
    +
    +
    +
    +
    +
    +

    + Trusted App 9 +

    +
    +
    +
    +
    +
    +
    + + + + + + OS + + + + + IS + + + + Windows + + + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +`; + +exports[`TrustedAppsGrid renders correctly when loading data for the first time 1`] = ` +.c1 { + position: relative; + padding-top: 4px; +} + +.c1 .body { + min-height: 40px; +} + +.c1 .body-content { + position: relative; +} + +.c0 .trusted-app + .trusted-app { + margin-top: 24px; +} + +
    +
    @@ -3639,35 +4494,6 @@ exports[`TrustedAppsGrid renders correctly when loading data for the first time `; exports[`TrustedAppsGrid renders correctly when loading data for the second time 1`] = ` -.c2 { - background-color: #f5f7fa; - padding: 16px; -} - -.c5 { - padding: 12px 24px 24px 0; -} - -.c5.c5.c5 { - margin-left: 0; -} - -.c5 .trustedAppsConditionsTable { - margin-left: 16px; -} - -.c3.c3.c3 { - width: 40%; - margin-top: 0; - margin-bottom: 8px; -} - -.c4.c4.c4 { - width: 60%; - margin-top: 0; - margin-bottom: 8px; -} - .c1 { position: relative; padding-top: 4px; @@ -3681,6 +4507,10 @@ exports[`TrustedAppsGrid renders correctly when loading data for the second time position: relative; } +.c3.artifactEntryCard + .c2.artifactEntryCard { + margin-top: 24px; +} + .c0 .trusted-app + .trusted-app { margin-top: 24px; } @@ -3702,6179 +4532,7914 @@ exports[`TrustedAppsGrid renders correctly when loading data for the second time class="body-content undefined" >
    +
    +
    +
    +
    +
    +

    + trusted app 0 +

    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    + Last updated +
    +
    +
    +
    + + 1 minute ago + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    + Created +
    +
    +
    +
    + + 1 minute ago + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + + + + Created by + + + +
    +
    +
    +
    +
    + +
    +
    +
    +
    + someone +
    +
    +
    +
    +
    +
    +
    +
    +
    + + + + Updated by + + + +
    +
    +
    +
    +
    + +
    +
    +
    +
    + someone +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + Applied globally +
    +
    +
    +
    +
    +
    +
    +

    + Trusted App 0 +

    +
    +
    +
    +
    +
    +
    + + + + + + OS + + + + + IS + + + + Windows + + + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +

    + trusted app 1 +

    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    + Last updated +
    +
    +
    +
    + + 1 minute ago + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    + Created +
    +
    +
    +
    + + 1 minute ago + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + + + + Created by + + + +
    +
    +
    +
    +
    + +
    +
    +
    +
    + someone +
    +
    +
    +
    +
    +
    +
    +
    +
    + + + + Updated by + + + +
    +
    +
    +
    +
    + +
    +
    +
    +
    + someone +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + Applied globally +
    +
    +
    +
    +
    +
    +
    +

    + Trusted App 1 +

    +
    +
    +
    +
    +
    +
    + + + + + + OS + + + + + IS + + + + macos + + + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +

    + trusted app 2 +

    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    + Last updated +
    +
    +
    +
    + + 1 minute ago + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    + Created +
    +
    +
    +
    + + 1 minute ago + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + + + + Created by + + + +
    +
    +
    +
    +
    + +
    +
    +
    +
    + someone +
    +
    +
    +
    +
    +
    +
    +
    +
    + + + + Updated by + + + +
    +
    +
    +
    +
    + +
    +
    +
    +
    + someone +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + Applied globally +
    +
    +
    +
    +
    +
    +
    +

    + Trusted App 2 +

    +
    +
    +
    +
    +
    +
    + + + + + + OS + + + + + IS + + + + Linux + + + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +

    + trusted app 3 +

    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    + Last updated +
    +
    +
    +
    + + 1 minute ago + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    + Created +
    +
    +
    +
    + + 1 minute ago + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + + + + Created by + + + +
    +
    +
    +
    +
    + +
    +
    +
    +
    + someone +
    +
    +
    +
    +
    +
    +
    +
    +
    + + + + Updated by + + + +
    +
    +
    +
    +
    + +
    +
    +
    +
    + someone +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + Applied globally +
    +
    +
    +
    +
    +
    +
    +

    + Trusted App 3 +

    +
    +
    +
    +
    +
    +
    + + + + + + OS + + + + + IS + + + + Windows + + + +
    +
    +
    +
    +
    +
    +
    +
    +
    +

    + trusted app 4 +

    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    + Last updated +
    +
    +
    +
    + + 1 minute ago + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    + Created +
    +
    +
    +
    + + 1 minute ago + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + + + + Created by + + + +
    +
    +
    +
    +
    + +
    +
    +
    +
    + someone +
    +
    +
    +
    +
    +
    +
    +
    +
    + + + + Updated by + + + +
    +
    +
    +
    +
    + +
    +
    +
    +
    + someone +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + Applied globally +
    +
    +
    +
    +
    +
    +
    +

    + Trusted App 4 +

    +
    +
    +
    +
    -
    -
    - Name -
    -
    - - - trusted app 0 - - -
    -
    - OS -
    -
    - - - Windows - - -
    -
    - Date created -
    -
    - 1 minute ago -
    -
    - Created by -
    -
    + - - someone + + + + OS -
    -
    - Date modified -
    -
    - 1 minute ago -
    -
    - Modified by -
    -
    - - someone + + IS - -
    -
    - Description -
    -
    - - - Trusted App 0 + + + macos -
    -
    + +
    +
    +
    +
    +
    -
    +
    +

    + trusted app 5 +

    +
    +
    -
    +
    + +
    +
    + class="euiText euiText--small" + > + Last updated +
    +
    +
    + class="euiText euiText--small" + > + + 1 minute ago + +
    - - - - - - - - - - + + +
    +
    +
    + +
    +
    +
    +
    +
    + Created +
    +
    +
    +
    -
    - - -
    -
    - - - Field - - - - - - Operator - - - - - - Value - - -
    -
    - - No items found - -
    -
    + + 1 minute ago + +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    -
    - + +
    +
    +
    +
    +
    + +
    +
    +
    +
    + someone +
    +
    +
    +
    +
    -
    - + +
    +
    +
    +
    +
    + +
    +
    +
    +
    + someone +
    +
    +
    +
    +
    +
    + +
    +
    +
    + Applied globally +
    +
    +
    +
    +
    +
    +
    +

    + Trusted App 5 +

    -
    -
    +
    -
    -
    - Name -
    -
    - - - trusted app 1 - - -
    -
    - OS -
    -
    - - - Mac - - -
    -
    - Date created -
    -
    - 1 minute ago -
    -
    - Created by -
    -
    - - - someone - - -
    -
    - Date modified -
    -
    - 1 minute ago -
    -
    - Modified by -
    -
    + - - someone + + + + OS -
    -
    - Description -
    -
    - - Trusted App 1 + + IS + + + + Linux -
    -
    + +
    +
    +
    +
    +
    -
    +
    +

    + trusted app 6 +

    +
    +
    -
    +
    + +
    +
    + class="euiText euiText--small" + > + Last updated +
    +
    +
    + class="euiText euiText--small" + > + + 1 minute ago + +
    - - - - - - - - - - - - - -
    -
    - - - Field - - - - - - Operator - - - - - - Value - - -
    -
    - - No items found - -
    -
    -
    -
    -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    +
    - - Remove - - - +
    +
    + Created +
    +
    +
    +
    + + 1 minute ago + +
    +
    +
    +
    +
    -
    -
    -
    -
    -
    -
    -
    -
    - Name -
    -
    - - - trusted app 2 - - -
    -
    - OS -
    -
    - - - Linux - - -
    -
    - Date created -
    -
    - 1 minute ago -
    -
    - Created by -
    -
    - - - someone - - -
    -
    - Date modified -
    -
    - 1 minute ago -
    -
    - Modified by -
    -
    - - - someone - - -
    -
    - Description -
    -
    - - - Trusted App 2 - - -
    -
    + +
    +
    +
    -
    +
    + + + + Created by + + + +
    +
    -
    +
    - +
    +
    + someone
    - - - - - - - - - - - - - -
    -
    - - - Field - - - - - - Operator - - - - - - Value - - -
    -
    - - No items found - -
    -
    -
    -
    -
    - +
    -
    -
    -
    - + +
    +
    +
    +
    + someone +
    +
    +
    +
    +
    +
    + +
    +
    +
    + Applied globally +
    +
    +
    +
    +
    +
    +
    +

    + Trusted App 6 +

    -
    -
    +
    -
    -
    - Name -
    -
    - - - trusted app 3 - - -
    -
    - OS -
    -
    - - - Windows - - -
    -
    - Date created -
    -
    - 1 minute ago -
    -
    - Created by -
    -
    + - - someone + + + + OS -
    -
    - Date modified -
    -
    - 1 minute ago -
    -
    - Modified by -
    -
    - - someone + + IS - -
    -
    - Description -
    -
    - - - Trusted App 3 + + + Windows -
    -
    + +
    +
    +
    +
    +
    -
    +
    +

    + trusted app 7 +

    +
    +
    +
    +
    + +
    +
    +
    +
    +
    + Last updated +
    +
    +
    +
    + + 1 minute ago + +
    +
    +
    +
    +
    +
    +
    -
    +
    + +
    +
    + class="euiText euiText--small" + > + Created +
    +
    +
    + class="euiText euiText--small" + > + + 1 minute ago + +
    - - - - - - - - - - - - - -
    -
    - - - Field - - - - - - Operator - - - - - - Value - - -
    -
    - - No items found - -
    -
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    -
    - + +
    +
    +
    +
    +
    + +
    +
    +
    +
    + someone +
    +
    +
    +
    +
    -
    - +
    +
    +
    +
    +
    + +
    +
    +
    +
    + someone +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    + Applied globally
    +
    +
    +

    + Trusted App 7 +

    +
    -
    -
    +
    -
    -
    - Name -
    -
    - - - trusted app 4 - - -
    -
    - OS -
    -
    - - - Mac - - -
    -
    - Date created -
    -
    - 1 minute ago -
    -
    - Created by -
    -
    + - - someone + + + + OS -
    -
    - Date modified -
    -
    - 1 minute ago -
    -
    - Modified by -
    -
    - - someone + + IS - -
    -
    - Description -
    -
    - - - Trusted App 4 + + + macos -
    -
    + +
    +
    +
    +
    +
    -
    +
    +

    + trusted app 8 +

    +
    +
    -
    +
    + +
    +
    + class="euiText euiText--small" + > + Last updated +
    +
    +
    + class="euiText euiText--small" + > + + 1 minute ago + +
    - - - - - - - - - - - - - -
    -
    - - - Field - - - - - - Operator - - - - - - Value - - -
    -
    - - No items found - -
    -
    -
    -
    -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    +
    - - Remove - - - +
    +
    + Created +
    +
    +
    +
    + + 1 minute ago + +
    +
    +
    +
    +
    -
    -
    -
    -
    -
    -
    -
    -
    - Name -
    -
    - - - trusted app 5 - - -
    -
    - OS -
    -
    - - - Linux - - -
    -
    - Date created -
    -
    - 1 minute ago -
    -
    - Created by -
    -
    - - - someone - - -
    -
    - Date modified -
    -
    - 1 minute ago -
    -
    - Modified by -
    -
    - - - someone - - -
    -
    - Description -
    -
    - - - Trusted App 5 - - -
    -
    + +
    +
    +
    -
    +
    + + + + Created by + + + +
    +
    -
    +
    - +
    +
    + someone
    - - - - - - - - - - - - - -
    -
    - - - Field - - - - - - Operator - - - - - - Value - - -
    -
    - - No items found - -
    -
    -
    -
    -
    - +
    -
    -
    -
    - + +
    +
    +
    +
    + someone +
    +
    +
    +
    +
    +
    + +
    +
    +
    + Applied globally +
    +
    +
    +
    +
    +
    +
    +

    + Trusted App 8 +

    -
    -
    +
    -
    -
    - Name -
    -
    - - - trusted app 6 - - -
    -
    - OS -
    -
    - - - Windows - - -
    -
    - Date created -
    -
    - 1 minute ago -
    -
    - Created by -
    -
    + - - someone + + + + OS -
    -
    - Date modified -
    -
    - 1 minute ago -
    -
    - Modified by -
    -
    - - someone + + IS - -
    -
    - Description -
    -
    - - - Trusted App 6 + + + Linux -
    -
    + +
    +
    +
    +
    +
    -
    +
    +

    + trusted app 9 +

    +
    +
    -
    +
    + +
    +
    + class="euiText euiText--small" + > + Last updated +
    +
    +
    + class="euiText euiText--small" + > + + 1 minute ago + +
    - - - - - - - - - - + + +
    +
    +
    + +
    +
    +
    +
    +
    + Created +
    +
    +
    +
    -
    - - -
    -
    - - - Field - - - - - - Operator - - - - - - Value - - -
    -
    - - No items found - -
    -
    + + 1 minute ago + +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    -
    - + +
    +
    +
    +
    +
    + +
    +
    +
    +
    + someone +
    +
    +
    +
    +
    -
    - + +
    +
    +
    +
    +
    + +
    +
    +
    +
    + someone +
    +
    +
    +
    +
    +
    + +
    +
    +
    + Applied globally +
    +
    +
    +
    +
    +
    +
    +

    + Trusted App 9 +

    +
    +
    +
    +
    +
    +
    + + + + + + OS + + + + + IS + + + + Windows + + + +
    +
    +
    +
    +
    +
    -
    -
    - Name -
    -
    + + Rows per page + : + 10 + + + +
    +
    +
    +
    +
    + + + + + +
    +
    +
    + + + +`; + +exports[`TrustedAppsGrid renders correctly when new page and page size set (not loading yet) 1`] = ` +.c1 { + position: relative; + padding-top: 4px; +} + +.c1 .body { + min-height: 40px; +} + +.c1 .body-content { + position: relative; +} + +.c3.artifactEntryCard + .c2.artifactEntryCard { + margin-top: 24px; +} + +.c0 .trusted-app + .trusted-app { + margin-top: 24px; +} + +
    +
    +
    +
    +
    +
    +
    -
    +
    +

    + trusted app 0 +

    +
    +
    +
    +
    + +
    +
    +
    +
    +
    + Last updated +
    +
    +
    +
    + + 1 minute ago + +
    +
    +
    +
    +
    +
    +
    -
    +
    + +
    +
    + class="euiText euiText--small" + > + Created +
    +
    +
    + class="euiText euiText--small" + > + + 1 minute ago + +
    - - - - - - - - - - - - - -
    -
    - - - Field - - - - - - Operator - - - - - - Value - - -
    -
    - - No items found - -
    -
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    -
    - + +
    +
    +
    +
    +
    + +
    +
    +
    +
    + someone +
    +
    +
    +
    +
    -
    - + +
    +
    +
    +
    +
    + +
    +
    +
    +
    + someone +
    +
    +
    +
    +
    +
    + +
    +
    +
    + Applied globally +
    +
    +
    +
    +
    +
    +
    +

    + Trusted App 0 +

    -
    -
    +
    -
    -
    - Name -
    -
    - - - trusted app 8 - - -
    -
    - OS -
    -
    - - - Linux - - -
    -
    - Date created -
    -
    - 1 minute ago -
    -
    - Created by -
    -
    + - - someone + + + + OS -
    -
    - Date modified -
    -
    - 1 minute ago -
    -
    - Modified by -
    -
    - - someone + + IS - -
    -
    - Description -
    -
    - - - Trusted App 8 + + + Windows -
    -
    + +
    +
    +
    +
    +
    -
    +
    +

    + trusted app 1 +

    +
    +
    -
    +
    + +
    +
    + class="euiText euiText--small" + > + Last updated +
    +
    +
    + class="euiText euiText--small" + > + + 1 minute ago + +
    - - - - - - - - - - + + +
    +
    +
    + +
    +
    +
    +
    +
    + Created +
    +
    +
    +
    -
    - - -
    -
    - - - Field - - - - - - Operator - - - - - - Value - - -
    -
    - - No items found - -
    -
    + + 1 minute ago + +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    -
    - + +
    +
    +
    +
    +
    + +
    +
    +
    +
    + someone +
    +
    +
    +
    +
    -
    - + +
    +
    +
    +
    +
    + +
    +
    +
    +
    + someone +
    +
    +
    +
    +
    +
    + +
    +
    +
    + Applied globally +
    +
    +
    +
    +
    +
    +
    +

    + Trusted App 1 +

    -
    -
    +
    -
    -
    - Name -
    -
    - - - trusted app 9 - - -
    -
    - OS -
    -
    - - - Windows - - -
    -
    - Date created -
    -
    - 1 minute ago -
    -
    - Created by -
    -
    + - - someone + + + + OS -
    -
    - Date modified -
    -
    - 1 minute ago -
    -
    - Modified by -
    -
    - - someone + + IS - -
    -
    - Description -
    -
    - - - Trusted App 9 + + + macos -
    -
    + +
    +
    +
    +
    +
    -
    +
    +

    + trusted app 2 +

    +
    +
    -
    +
    + +
    +
    + class="euiText euiText--small" + > + Last updated +
    +
    +
    + class="euiText euiText--small" + > + + 1 minute ago + +
    - - - - - - - - - - + + +
    +
    +
    + +
    +
    +
    +
    +
    + Created +
    +
    +
    +
    -
    - - -
    -
    - - - Field - - - - - - Operator - - - - - - Value - - -
    -
    - - No items found - -
    -
    + + 1 minute ago + +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    -
    - + +
    +
    +
    +
    +
    + +
    +
    +
    +
    + someone +
    +
    +
    +
    +
    -
    - +
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    +
    +
    +
    +
    +
    -
    +
    +
    - 3 - - - - -
  • +
  • +
    +
    +
    +
    +
    +

    -

    +
    +
    +
    +
    +
    + + + - 4 + OS - - -
  • - -
  • -
  • - … -
  • -
  • - -
  • - - - +
    +
    +
    +
    - - - - - -`; - -exports[`TrustedAppsGrid renders correctly when new page and page size set (not loading yet) 1`] = ` -.c2 { - background-color: #f5f7fa; - padding: 16px; -} - -.c5 { - padding: 12px 24px 24px 0; -} - -.c5.c5.c5 { - margin-left: 0; -} - -.c5 .trustedAppsConditionsTable { - margin-left: 16px; -} - -.c3.c3.c3 { - width: 40%; - margin-top: 0; - margin-bottom: 8px; -} - -.c4.c4.c4 { - width: 60%; - margin-top: 0; - margin-bottom: 8px; -} - -.c1 { - position: relative; - padding-top: 4px; -} - -.c1 .body { - min-height: 40px; -} - -.c1 .body-content { - position: relative; -} - -.c0 .trusted-app + .trusted-app { - margin-top: 24px; -} - -
    -
    -
    -
    -
    -
    -
    - Name -
    -
    - - - trusted app 0 - - -
    -
    - OS -
    -
    - - - Windows - - -
    -
    - Date created -
    -
    - 1 minute ago -
    -
    - Created by -
    -
    - - - someone - - -
    -
    - Date modified -
    -
    - 1 minute ago -
    -
    - Modified by -
    -
    - + trusted app 3 + +
    +
    - - someone - - - -
    - Description -
    -
    +
    +
    +
    + +
    +
    +
    +
    +
    + Last updated +
    +
    +
    +
    + + 1 minute ago + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    + Created +
    +
    +
    +
    + + 1 minute ago + +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    +
    - - - Trusted App 0 - - - - + +
    +
    +
    -
    +
    + + + + Created by + + + +
    +
    -
    +
    - +
    +
    + someone
    - - - - - - - - - - - - - -
    -
    - - - Field - - - - - - Operator - - - - - - Value - - -
    -
    - - No items found - -
    -
    -
    -
    -
    - +
    -
    -
    -
    - + +
    +
    +
    +
    + someone +
    +
    +
    +
    +
    +
    + +
    +
    +
    + Applied globally +
    +
    +
    +
    +
    +
    +
    +

    + Trusted App 3 +

    -
    -
    +
    -
    -
    - Name -
    -
    - - - trusted app 1 - - -
    -
    - OS -
    -
    - - - Mac - - -
    -
    - Date created -
    -
    - 1 minute ago -
    -
    - Created by -
    -
    + - - someone + + + + OS -
    -
    - Date modified -
    -
    - 1 minute ago -
    -
    - Modified by -
    -
    - - someone + + IS - -
    -
    - Description -
    -
    - - - Trusted App 1 + + + Windows -
    -
    + +
    +
    +
    +
    +
    -
    +
    +

    + trusted app 4 +

    +
    +
    -
    +
    + +
    +
    + class="euiText euiText--small" + > + Last updated +
    +
    +
    + class="euiText euiText--small" + > + + 1 minute ago + +
    - - - - - - - - - - - - - -
    -
    - - - Field - - - - - - Operator - - - - - - Value - - -
    -
    - - No items found - -
    -
    -
    -
    -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    +
    - - Remove - - - +
    +
    + Created +
    +
    +
    +
    + + 1 minute ago + +
    +
    +
    +
    +
    -
    -
    -
    -
    -
    -
    -
    -
    - Name -
    -
    - - - trusted app 2 - - -
    -
    - OS -
    -
    - - - Linux - - -
    -
    - Date created -
    -
    - 1 minute ago -
    -
    - Created by -
    -
    - - - someone - - -
    -
    - Date modified -
    -
    - 1 minute ago -
    -
    - Modified by -
    -
    - - - someone - - -
    -
    - Description -
    -
    - - - Trusted App 2 - - -
    -
    + +
    +
    +
    -
    +
    + + + + Created by + + + +
    +
    -
    +
    +
    + +
    +
    +
    -
    -
    -
    -
    + someone
    - - - - - - - - - - - - - -
    -
    - - - Field - - - - - - Operator - - - - - - Value - - -
    -
    - - No items found - -
    -
    -
    -
    -
    - +
    -
    -
    -
    - + +
    +
    +
    +
    + someone +
    +
    +
    +
    +
    +
    + +
    +
    +
    + Applied globally +
    +
    +
    +
    +
    +
    +
    +

    + Trusted App 4 +

    -
    -
    +
    -
    -
    - Name -
    -
    - - - trusted app 3 - - -
    -
    - OS -
    -
    - - - Windows - - -
    -
    - Date created -
    -
    - 1 minute ago -
    -
    - Created by -
    -
    + - - someone + + + + OS -
    -
    - Date modified -
    -
    - 1 minute ago -
    -
    - Modified by -
    -
    - - someone + + IS - -
    -
    - Description -
    -
    - - - Trusted App 3 + + + macos -
    -
    + +
    +
    + +
    +
    -
    +
    +

    + trusted app 5 +

    +
    +
    -
    +
    + +
    +
    + class="euiText euiText--small" + > + Last updated +
    +
    +
    + class="euiText euiText--small" + > + + 1 minute ago + +
    - - - - - - - - - - + + +
    +
    +
    + +
    +
    +
    +
    +
    + Created +
    +
    +
    +
    -
    - - -
    -
    - - - Field - - - - - - Operator - - - - - - Value - - -
    -
    - - No items found - -
    -
    + + 1 minute ago + +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    -
    - + +
    +
    +
    +
    +
    + +
    +
    +
    +
    + someone +
    +
    +
    +
    +
    -
    - + +
    +
    +
    +
    +
    + +
    +
    +
    +
    + someone +
    +
    +
    +
    +
    +
    + +
    +
    +
    + Applied globally +
    +
    +
    +
    +
    +
    +
    +

    + Trusted App 5 +

    -
    -
    +
    -
    -
    - Name -
    -
    - - - trusted app 4 - - -
    -
    - OS -
    -
    - - - Mac - - -
    -
    - Date created -
    -
    - 1 minute ago -
    -
    - Created by -
    -
    + - - someone + + + + OS -
    -
    - Date modified -
    -
    - 1 minute ago -
    -
    - Modified by -
    -
    - - someone + + IS - -
    -
    - Description -
    -
    - - - Trusted App 4 + + + Linux -
    -
    + +
    +
    + +
    +
    -
    +
    +

    + trusted app 6 +

    +
    +
    -
    +
    + +
    +
    + class="euiText euiText--small" + > + Last updated +
    +
    +
    + class="euiText euiText--small" + > + + 1 minute ago + +
    - - - - - - - - - - - - - -
    -
    - - - Field - - - - - - Operator - - - - - - Value - - -
    -
    - - No items found - -
    -
    -
    -
    -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    +
    - - Remove - - - +
    +
    + Created +
    +
    +
    +
    + + 1 minute ago + +
    +
    +
    +
    +
    -
    -
    - -
    -
    -
    -
    -
    - Name -
    -
    - - - trusted app 5 - - -
    -
    - OS -
    -
    - - - Linux - - -
    -
    - Date created -
    -
    - 1 minute ago -
    -
    - Created by -
    -
    - - - someone - - -
    -
    - Date modified -
    -
    - 1 minute ago -
    -
    - Modified by -
    -
    - - - someone - - -
    -
    - Description -
    -
    - - - Trusted App 5 - - -
    -
    + +
    +
    +
    -
    +
    + + + + Created by + + + +
    +
    -
    +
    - +
    +
    + someone
    - - - - - - - - - - - - - -
    -
    - - - Field - - - - - - Operator - - - - - - Value - - -
    -
    - - No items found - -
    -
    -
    -
    -
    - +
    -
    -
    -
    - + +
    +
    +
    +
    + someone +
    +
    +
    +
    +
    +
    + +
    +
    +
    + Applied globally +
    +
    +
    +
    +
    +
    +
    +

    + Trusted App 6 +

    -
    -
    +
    -
    -
    - Name -
    -
    - - - trusted app 6 - - -
    -
    - OS -
    -
    - - - Windows - - -
    -
    - Date created -
    -
    - 1 minute ago -
    -
    - Created by -
    -
    + - - someone + + + + OS -
    -
    - Date modified -
    -
    - 1 minute ago -
    -
    - Modified by -
    -
    - - someone + + IS - -
    -
    - Description -
    -
    - - - Trusted App 6 + + + Windows -
    -
    + +
    +
    + +
    +
    -
    +
    +

    + trusted app 7 +

    +
    +
    +
    +
    + +
    +
    +
    +
    +
    + Last updated +
    +
    +
    +
    + + 1 minute ago + +
    +
    +
    +
    +
    +
    +
    -
    +
    + +
    +
    + class="euiText euiText--small" + > + Created +
    +
    +
    + class="euiText euiText--small" + > + + 1 minute ago + +
    - - - - - - - - - - - - - -
    -
    - - - Field - - - - - - Operator - - - - - - Value - - -
    -
    - - No items found - -
    -
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    -
    - + +
    +
    +
    +
    +
    + +
    +
    +
    +
    + someone +
    +
    +
    +
    +
    -
    - + +
    +
    +
    +
    +
    + +
    +
    +
    +
    + someone +
    +
    +
    +
    +
    +
    + +
    +
    +
    + Applied globally +
    +
    +
    +
    +
    +
    +
    +

    + Trusted App 7 +

    -
    -
    +
    -
    -
    - Name -
    -
    - - - trusted app 7 - - -
    -
    - OS -
    -
    + - - Mac - - -
    -
    - Date created -
    -
    - 1 minute ago -
    -
    - Created by -
    -
    - - - someone + + + + OS -
    -
    - Date modified -
    -
    - 1 minute ago -
    -
    - Modified by -
    -
    - - someone + + IS - -
    -
    - Description -
    -
    - - - Trusted App 7 + + + macos -
    -
    + +
    +
    +
    +
    +
    -
    +
    +

    + trusted app 8 +

    +
    +
    -
    +
    + +
    +
    + class="euiText euiText--small" + > + Last updated +
    +
    +
    + class="euiText euiText--small" + > + + 1 minute ago + +
    - - - - - - - - - - - - - -
    -
    - - - Field - - - - - - Operator - - - - - - Value - - -
    -
    - - No items found - -
    -
    -
    -
    -
    -
    -
    -
    -
    - -
    -
    -
    -
    -
    +
    - - Remove - - - +
    +
    + Created +
    +
    +
    +
    + + 1 minute ago + +
    +
    +
    +
    +
    -
    -
    -
    -
    -
    -
    -
    -
    - Name -
    -
    - - - trusted app 8 - - -
    -
    - OS -
    -
    - - - Linux - - -
    -
    - Date created -
    -
    - 1 minute ago -
    -
    - Created by -
    -
    - - - someone - - -
    -
    - Date modified -
    -
    - 1 minute ago -
    -
    - Modified by -
    -
    - - - someone - - -
    -
    - Description -
    -
    - - - Trusted App 8 - - -
    -
    + +
    +
    +
    -
    +
    + + + + Created by + + + +
    +
    -
    +
    - +
    +
    + someone
    - - - - - - - - - - - - - -
    -
    - - - Field - - - - - - Operator - - - - - - Value - - -
    -
    - - No items found - -
    -
    -
    -
    -
    - +
    -
    -
    -
    - + +
    +
    +
    +
    + someone +
    +
    +
    +
    +
    +
    + +
    +
    +
    + Applied globally +
    +
    +
    +
    +
    +
    +
    +

    + Trusted App 8 +

    -
    -
    +
    -
    -
    - Name -
    -
    - - - trusted app 9 - - -
    -
    - OS -
    -
    - - - Windows - - -
    -
    - Date created -
    -
    - 1 minute ago -
    -
    - Created by -
    -
    + - - someone + + + + OS -
    -
    - Date modified -
    -
    - 1 minute ago -
    -
    - Modified by -
    -
    - - someone + + IS - -
    -
    - Description -
    -
    - - - Trusted App 9 + + + Linux -
    -
    + +
    +
    + +
    +
    -
    +
    +

    + trusted app 9 +

    +
    +
    -
    +
    + +
    +
    + class="euiText euiText--small" + > + Last updated +
    +
    +
    + class="euiText euiText--small" + > + + 1 minute ago + +
    - - - - - - - - - - + + +
    +
    +
    + +
    +
    +
    +
    +
    + Created +
    +
    +
    +
    -
    - - -
    -
    - - - Field - - - - - - Operator - - - - - - Value - - -
    -
    - - No items found - -
    -
    + + 1 minute ago + +
    +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    +
    +
    -
    - + +
    +
    +
    +
    +
    + +
    +
    +
    +
    + someone +
    +
    +
    +
    +
    -
    - + +
    +
    +
    +
    +
    + +
    +
    +
    +
    + someone +
    +
    +
    +
    +
    +
    + +
    +
    +
    + Applied globally +
    +
    +
    +
    +
    +
    +
    +

    + Trusted App 9 +

    +
    +
    +
    +
    +
    +
    + + + + + + OS + + + + + IS + + + + Windows + + + +
    diff --git a/x-pack/plugins/security_solution/public/management/pages/trusted_apps/view/components/trusted_apps_grid/index.test.tsx b/x-pack/plugins/security_solution/public/management/pages/trusted_apps/view/components/trusted_apps_grid/index.test.tsx index 74f3f0524b304..d5eca75f9c2b5 100644 --- a/x-pack/plugins/security_solution/public/management/pages/trusted_apps/view/components/trusted_apps_grid/index.test.tsx +++ b/x-pack/plugins/security_solution/public/management/pages/trusted_apps/view/components/trusted_apps_grid/index.test.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import { render } from '@testing-library/react'; +import { render, act } from '@testing-library/react'; import React from 'react'; import { Provider } from 'react-redux'; @@ -18,7 +18,6 @@ import { createUserChangedUrlAction, createGlobalNoMiddlewareStore, } from '../../../test_utils'; - import { TrustedAppsGrid } from '.'; import { EuiThemeProvider } from '../../../../../../../../../../src/plugins/kibana_react/common'; @@ -26,6 +25,8 @@ jest.mock('@elastic/eui/lib/services/accessibility/html_id_generator', () => ({ htmlIdGenerator: () => () => 'mockId', })); +jest.mock('../../../../../../common/lib/kibana'); + const now = 111111; const renderList = (store: ReturnType) => { @@ -129,7 +130,15 @@ describe('TrustedAppsGrid', () => { ); store.dispatch = jest.fn(); - (await renderList(store).findAllByTestId('trustedAppDeleteButton'))[0].click(); + const renderResult = renderList(store); + + await act(async () => { + (await renderResult.findAllByTestId('trustedAppCard-header-actions-button'))[0].click(); + }); + + await act(async () => { + (await renderResult.findByTestId('deleteTrustedAppAction')).click(); + }); expect(store.dispatch).toBeCalledWith({ type: 'trustedAppDeletionDialogStarted', diff --git a/x-pack/plugins/security_solution/public/management/pages/trusted_apps/view/components/trusted_apps_grid/index.tsx b/x-pack/plugins/security_solution/public/management/pages/trusted_apps/view/components/trusted_apps_grid/index.tsx index 8d8b52ac62358..ba09d0c7ee0cc 100644 --- a/x-pack/plugins/security_solution/public/management/pages/trusted_apps/view/components/trusted_apps_grid/index.tsx +++ b/x-pack/plugins/security_solution/public/management/pages/trusted_apps/view/components/trusted_apps_grid/index.tsx @@ -5,10 +5,13 @@ * 2.0. */ -import React, { memo, useCallback } from 'react'; +import React, { memo, useCallback, useMemo } from 'react'; import { useHistory } from 'react-router-dom'; import styled from 'styled-components'; +import { i18n } from '@kbn/i18n'; +import { useDispatch } from 'react-redux'; +import { Dispatch } from 'redux'; import { Pagination } from '../../../state'; import { @@ -17,28 +20,31 @@ import { getListItems, getListPagination, isListLoading, + getMapOfPoliciesById, } from '../../../store/selectors'; -import { - useTrustedAppsNavigateCallback, - useTrustedAppsSelector, - useTrustedAppsStoreActionCallback, -} from '../../hooks'; +import { useTrustedAppsNavigateCallback, useTrustedAppsSelector } from '../../hooks'; -import { TrustedAppCard, TrustedAppCardProps } from '../trusted_app_card'; -import { getTrustedAppsListPath } from '../../../../../common/routing'; +import { getPolicyDetailPath, getTrustedAppsListPath } from '../../../../../common/routing'; import { PaginatedContent, PaginatedContentProps, } from '../../../../../components/paginated_content'; -import { TrustedApp } from '../../../../../../../common/endpoint/types'; +import { PolicyDetailsRouteState, TrustedApp } from '../../../../../../../common/endpoint/types'; +import { + ArtifactEntryCard, + ArtifactEntryCardProps, +} from '../../../../../components/artifact_entry_card'; +import { AppAction } from '../../../../../../common/store/actions'; +import { APP_ID } from '../../../../../../../common/constants'; +import { useAppUrl } from '../../../../../../common/lib/kibana'; export interface PaginationBarProps { pagination: Pagination; onChange: (pagination: { size: number; index: number }) => void; } -type TrustedAppCardType = typeof TrustedAppCard; +type ArtifactEntryCardType = typeof ArtifactEntryCard; const RootWrapper = styled.div` .trusted-app + .trusted-app { @@ -46,52 +52,140 @@ const RootWrapper = styled.div` } `; +const BACK_TO_TRUSTED_APPS_LABEL = i18n.translate( + 'xpack.securitySolution.trustedapps.grid.policyDetailsLinkBackLabel', + { defaultMessage: 'Back to trusted Applications' } +); + +const EDIT_TRUSTED_APP_ACTION_LABEL = i18n.translate( + 'xpack.securitySolution.trustedapps.grid.cardAction.edit', + { + defaultMessage: 'Edit trusted application', + } +); + +const DELETE_TRUSTED_APP_ACTION_LABEL = i18n.translate( + 'xpack.securitySolution.trustedapps.grid.cardAction.delete', + { + defaultMessage: 'Delete trusted application', + } +); + export const TrustedAppsGrid = memo(() => { const history = useHistory(); + const dispatch = useDispatch>(); + const { getAppUrl } = useAppUrl(); + const pagination = useTrustedAppsSelector(getListPagination); const listItems = useTrustedAppsSelector(getListItems); const isLoading = useTrustedAppsSelector(isListLoading); const error = useTrustedAppsSelector(getListErrorMessage); const location = useTrustedAppsSelector(getCurrentLocation); - - const handleTrustedAppDelete = useTrustedAppsStoreActionCallback((trustedApp) => ({ - type: 'trustedAppDeletionDialogStarted', - payload: { entry: trustedApp }, - })); - - const handleTrustedAppEdit: TrustedAppCardProps['onEdit'] = useCallback( - (trustedApp) => { - history.push( - getTrustedAppsListPath({ - ...location, - show: 'edit', - id: trustedApp.id, - }) - ); - }, - [history, location] - ); + const policyListById = useTrustedAppsSelector(getMapOfPoliciesById); const handlePaginationChange: PaginatedContentProps< TrustedApp, - TrustedAppCardType + ArtifactEntryCardType >['onChange'] = useTrustedAppsNavigateCallback(({ pageIndex, pageSize }) => ({ page_index: pageIndex, page_size: pageSize, })); + const artifactCardPropsPerItem = useMemo(() => { + const cachedCardProps: Record = {}; + + // Casting `listItems` below to remove the `Immutable<>` from it in order to prevent errors + // with common component's props + for (const trustedApp of listItems as TrustedApp[]) { + let policies: ArtifactEntryCardProps['policies']; + + if (trustedApp.effectScope.type === 'policy' && trustedApp.effectScope.policies.length) { + policies = trustedApp.effectScope.policies.reduce< + Required['policies'] + >((policyToNavOptionsMap, policyId) => { + const currentPagePath = getTrustedAppsListPath({ + ...location, + }); + + const policyDetailsPath = getPolicyDetailPath(policyId); + + const routeState: PolicyDetailsRouteState = { + backLink: { + label: BACK_TO_TRUSTED_APPS_LABEL, + navigateTo: [ + APP_ID, + { + path: currentPagePath, + }, + ], + href: getAppUrl({ path: currentPagePath }), + }, + }; + + policyToNavOptionsMap[policyId] = { + navigateAppId: APP_ID, + navigateOptions: { + path: policyDetailsPath, + state: routeState, + }, + href: getAppUrl({ path: policyDetailsPath }), + children: policyListById[policyId]?.name ?? policyId, + }; + return policyToNavOptionsMap; + }, {}); + } + + cachedCardProps[trustedApp.id] = { + item: trustedApp, + policies, + 'data-test-subj': 'trustedAppCard', + actions: [ + { + icon: 'controlsHorizontal', + onClick: () => { + history.push( + getTrustedAppsListPath({ + ...location, + show: 'edit', + id: trustedApp.id, + }) + ); + }, + 'data-test-subj': 'editTrustedAppAction', + children: EDIT_TRUSTED_APP_ACTION_LABEL, + }, + { + icon: 'trash', + onClick: () => { + dispatch({ + type: 'trustedAppDeletionDialogStarted', + payload: { entry: trustedApp }, + }); + }, + 'data-test-subj': 'deleteTrustedAppAction', + children: DELETE_TRUSTED_APP_ACTION_LABEL, + }, + ], + }; + } + + return cachedCardProps; + }, [dispatch, getAppUrl, history, listItems, location, policyListById]); + + const handleArtifactCardProps = useCallback( + (trustedApp: TrustedApp) => { + return artifactCardPropsPerItem[trustedApp.id]; + }, + [artifactCardPropsPerItem] + ); + return ( - + items={listItems as TrustedApp[]} onChange={handlePaginationChange} - ItemComponent={TrustedAppCard} - itemComponentProps={(ta) => ({ - trustedApp: ta, - onDelete: handleTrustedAppDelete, - onEdit: handleTrustedAppEdit, - className: 'trusted-app', - })} + ItemComponent={ArtifactEntryCard} + itemComponentProps={handleArtifactCardProps} loading={isLoading} itemId="id" error={error} diff --git a/x-pack/plugins/security_solution/public/management/pages/trusted_apps/view/translations.ts b/x-pack/plugins/security_solution/public/management/pages/trusted_apps/view/translations.ts index 9e2cad93fc51f..6ffcf5614a697 100644 --- a/x-pack/plugins/security_solution/public/management/pages/trusted_apps/view/translations.ts +++ b/x-pack/plugins/security_solution/public/management/pages/trusted_apps/view/translations.ts @@ -7,7 +7,6 @@ import { i18n } from '@kbn/i18n'; import { - TrustedApp, MacosLinuxConditionEntry, WindowsConditionEntry, ConditionEntryField, @@ -61,35 +60,6 @@ export const OPERATOR_TITLES: { [K in OperatorFieldIds]: string } = { }), }; -export const PROPERTY_TITLES: Readonly< - { [K in keyof Omit]: string } -> = { - name: i18n.translate('xpack.securitySolution.trustedapps.trustedapp.name', { - defaultMessage: 'Name', - }), - os: i18n.translate('xpack.securitySolution.trustedapps.trustedapp.os', { - defaultMessage: 'OS', - }), - created_at: i18n.translate('xpack.securitySolution.trustedapps.trustedapp.createdAt', { - defaultMessage: 'Date created', - }), - created_by: i18n.translate('xpack.securitySolution.trustedapps.trustedapp.createdBy', { - defaultMessage: 'Created by', - }), - updated_at: i18n.translate('xpack.securitySolution.trustedapps.trustedapp.updatedAt', { - defaultMessage: 'Date modified', - }), - updated_by: i18n.translate('xpack.securitySolution.trustedapps.trustedapp.updatedBy', { - defaultMessage: 'Modified by', - }), - description: i18n.translate('xpack.securitySolution.trustedapps.trustedapp.description', { - defaultMessage: 'Description', - }), - effectScope: i18n.translate('xpack.securitySolution.trustedapps.trustedapp.effectScope', { - defaultMessage: 'Effect scope', - }), -}; - export const ENTRY_PROPERTY_TITLES: Readonly< { [K in keyof Omit]: string } > = { @@ -104,41 +74,6 @@ export const ENTRY_PROPERTY_TITLES: Readonly< }), }; -export const ACTIONS_COLUMN_TITLE = i18n.translate( - 'xpack.securitySolution.trustedapps.list.columns.actions', - { - defaultMessage: 'Actions', - } -); - -export const LIST_ACTIONS = { - delete: { - name: i18n.translate('xpack.securitySolution.trustedapps.list.actions.delete', { - defaultMessage: 'Remove', - }), - description: i18n.translate( - 'xpack.securitySolution.trustedapps.list.actions.delete.description', - { - defaultMessage: 'Remove this entry', - } - ), - }, -}; - -export const CARD_DELETE_BUTTON_LABEL = i18n.translate( - 'xpack.securitySolution.trustedapps.card.removeButtonLabel', - { - defaultMessage: 'Remove', - } -); - -export const CARD_EDIT_BUTTON_LABEL = i18n.translate( - 'xpack.securitySolution.trustedapps.card.editButtonLabel', - { - defaultMessage: 'Edit', - } -); - export const GRID_VIEW_TOGGLE_LABEL = i18n.translate( 'xpack.securitySolution.trustedapps.view.toggle.grid', { diff --git a/x-pack/plugins/security_solution/public/management/pages/trusted_apps/view/trusted_apps_page.test.tsx b/x-pack/plugins/security_solution/public/management/pages/trusted_apps/view/trusted_apps_page.test.tsx index ff7ba8068b4ff..30e170575e2f4 100644 --- a/x-pack/plugins/security_solution/public/management/pages/trusted_apps/view/trusted_apps_page.test.tsx +++ b/x-pack/plugins/security_solution/public/management/pages/trusted_apps/view/trusted_apps_page.test.tsx @@ -183,8 +183,13 @@ describe('When on the Trusted Apps Page', () => { beforeEach(async () => { renderResult = await renderWithListData(); + + await act(async () => { + (await renderResult.findAllByTestId('trustedAppCard-header-actions-button'))[0].click(); + }); + act(() => { - fireEvent.click(renderResult.getByTestId('trustedAppEditButton')); + fireEvent.click(renderResult.getByTestId('editTrustedAppAction')); }); }); diff --git a/x-pack/plugins/security_solution/public/network/components/embeddables/map_config.ts b/x-pack/plugins/security_solution/public/network/components/embeddables/map_config.ts index ecbb80123e07e..042777491d9c3 100644 --- a/x-pack/plugins/security_solution/public/network/components/embeddables/map_config.ts +++ b/x-pack/plugins/security_solution/public/network/components/embeddables/map_config.ts @@ -14,7 +14,7 @@ import { LayerMappingDetails, } from './types'; import * as i18n from './translations'; -import { SOURCE_TYPES } from '../../../../../maps/common/constants'; +import { SOURCE_TYPES } from '../../../../../maps/common'; const euiVisColorPalette = euiPaletteColorBlind(); // Update field mappings to modify what fields will be returned to map tooltip diff --git a/x-pack/plugins/security_solution/public/network/components/embeddables/map_tool_tip/map_tool_tip.test.tsx b/x-pack/plugins/security_solution/public/network/components/embeddables/map_tool_tip/map_tool_tip.test.tsx index bc869dead4556..7d5e34df8c8fc 100644 --- a/x-pack/plugins/security_solution/public/network/components/embeddables/map_tool_tip/map_tool_tip.test.tsx +++ b/x-pack/plugins/security_solution/public/network/components/embeddables/map_tool_tip/map_tool_tip.test.tsx @@ -9,7 +9,7 @@ import { shallow } from 'enzyme'; import React from 'react'; import '../../../../common/mock/match_media'; import { MapToolTipComponent } from './map_tool_tip'; -import { TooltipFeature } from '../../../../../../maps/common/descriptor_types'; +import { TooltipFeature } from '../../../../../../maps/common'; describe('MapToolTip', () => { test('placeholder component renders correctly against snapshot', () => { diff --git a/x-pack/plugins/security_solution/public/timelines/components/fields_browser/field_name.tsx b/x-pack/plugins/security_solution/public/timelines/components/fields_browser/field_name.tsx index 5059c62f61d9d..e833b8411cd9f 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/fields_browser/field_name.tsx +++ b/x-pack/plugins/security_solution/public/timelines/components/fields_browser/field_name.tsx @@ -6,14 +6,14 @@ */ import { EuiHighlight, EuiText } from '@elastic/eui'; -import React, { useCallback, useState, useMemo, useRef } from 'react'; +import React, { useCallback, useState, useMemo, useRef, useContext } from 'react'; import styled from 'styled-components'; import { OnUpdateColumns } from '../timeline/events'; import { WithHoverActions } from '../../../common/components/with_hover_actions'; -import { useGetTimelineId } from '../../../common/components/drag_and_drop/use_get_timeline_id_from_dom'; import { ColumnHeaderOptions } from '../../../../common'; import { HoverActions } from '../../../common/components/hover_actions'; +import { TimelineContext } from '../../../../../timelines/public'; /** * The name of a (draggable) field @@ -95,8 +95,7 @@ export const FieldName = React.memo<{ }) => { const containerRef = useRef(null); const [showTopN, setShowTopN] = useState(false); - const [goGetTimelineId, setGoGetTimelineId] = useState(false); - const timelineIdFind = useGetTimelineId(containerRef, goGetTimelineId); + const { timelineId: timelineIdFind } = useContext(TimelineContext); const toggleTopN = useCallback(() => { setShowTopN((prevShowTopN) => { @@ -122,7 +121,6 @@ export const FieldName = React.memo<{ ownFocus={hoverActionsOwnFocus} showTopN={showTopN} toggleTopN={toggleTopN} - goGetTimelineId={setGoGetTimelineId} timelineId={timelineIdFind} /> ), diff --git a/x-pack/plugins/security_solution/public/timelines/components/timeline/body/sort/__snapshots__/sort_indicator.test.tsx.snap b/x-pack/plugins/security_solution/public/timelines/components/timeline/body/sort/__snapshots__/sort_indicator.test.tsx.snap index 596a05c4c8ab4..8a7b179da059f 100644 --- a/x-pack/plugins/security_solution/public/timelines/components/timeline/body/sort/__snapshots__/sort_indicator.test.tsx.snap +++ b/x-pack/plugins/security_solution/public/timelines/components/timeline/body/sort/__snapshots__/sort_indicator.test.tsx.snap @@ -5,6 +5,7 @@ exports[`SortIndicator rendering renders correctly against snapshot 1`] = ` content="Sorted descending" data-test-subj="sort-indicator-tooltip" delay="regular" + display="inlineBlock" position="top" > = ({ }, [containerElement, onSkipFocusBeforeEventsTable, onSkipFocusAfterEventsTable] ); + const timelineContext = useMemo(() => ({ timelineId }), [timelineId]); return ( - - - {timelineType === TimelineType.template && ( - {i18n.TIMELINE_TEMPLATE} - )} - - + - - - - - - + + {timelineType === TimelineType.template && ( + {i18n.TIMELINE_TEMPLATE} + )} + + + + + + + + + ); }; diff --git a/x-pack/plugins/security_solution/scripts/endpoint/trusted_apps/index.ts b/x-pack/plugins/security_solution/scripts/endpoint/trusted_apps/index.ts index bfa3fe88f7ac8..3fb05c8bf1048 100644 --- a/x-pack/plugins/security_solution/scripts/endpoint/trusted_apps/index.ts +++ b/x-pack/plugins/security_solution/scripts/endpoint/trusted_apps/index.ts @@ -11,10 +11,14 @@ import { KbnClient } from '@kbn/test'; import bluebird from 'bluebird'; import { basename } from 'path'; import { TRUSTED_APPS_CREATE_API, TRUSTED_APPS_LIST_API } from '../../../common/endpoint/constants'; -import { NewTrustedApp, OperatingSystem, TrustedApp } from '../../../common/endpoint/types'; +import { TrustedApp } from '../../../common/endpoint/types'; +import { TrustedAppGenerator } from '../../../common/endpoint/data_generators/trusted_app_generator'; +import { indexFleetEndpointPolicy } from '../../../common/endpoint/data_loaders/index_fleet_endpoint_policy'; +import { setupFleetForEndpoint } from '../../../common/endpoint/data_loaders/setup_fleet_for_endpoint'; const defaultLogger = new ToolingLog({ level: 'info', writeTo: process.stdout }); const separator = '----------------------------------------'; +const trustedAppGenerator = new TrustedAppGenerator(); export const cli = async () => { const cliDefaults = { @@ -67,106 +71,62 @@ export const run: (options?: RunOptions) => Promise = async ({ }); // touch the Trusted Apps List so it can be created - await kbnClient.request({ - method: 'GET', - path: TRUSTED_APPS_LIST_API, - }); + // and + // setup fleet with endpoint integrations + logger.info('setting up Fleet with endpoint and creating trusted apps list'); + const [installedEndpointPackage] = await Promise.all([ + setupFleetForEndpoint(kbnClient).then((response) => response.endpointPackage), + + kbnClient.request({ + method: 'GET', + path: TRUSTED_APPS_LIST_API, + }), + ]); + + // Setup a list of read endpoint policies and return a method to randomly select one + const randomPolicyId: () => string = await (async () => { + const randomN = (max: number): number => Math.floor(Math.random() * max); + const policyIds: string[] = []; + + for (let i = 0, t = 5; i < t; i++) { + policyIds.push( + ( + await indexFleetEndpointPolicy( + kbnClient, + `Policy for Trusted App assignment ${i + 1}`, + installedEndpointPackage.version + ) + ).integrationPolicies[0].id + ); + } + + return () => policyIds[randomN(policyIds.length)]; + })(); return bluebird.map( Array.from({ length: count }), - () => - kbnClient + async () => { + const body = trustedAppGenerator.generateTrustedAppForCreate(); + + if (body.effectScope.type === 'policy') { + body.effectScope.policies = [randomPolicyId(), randomPolicyId()]; + } + + return kbnClient .request({ method: 'POST', path: TRUSTED_APPS_CREATE_API, - body: generateTrustedAppEntry(), + body, }) .then(({ data }) => { logger.write(data.id); return data; - }), + }); + }, { concurrency: 10 } ); }; -interface GenerateTrustedAppEntryOptions { - os?: OperatingSystem; - name?: string; -} -const generateTrustedAppEntry: (options?: GenerateTrustedAppEntryOptions) => object = ({ - os = randomOperatingSystem(), - name = randomName(), -} = {}): NewTrustedApp => { - const newTrustedApp: NewTrustedApp = { - description: `Generator says we trust ${name}`, - name, - os, - effectScope: { - type: 'global', - }, - entries: [ - { - // @ts-ignore - field: 'process.hash.*', - operator: 'included', - type: 'match', - value: '1234234659af249ddf3e40864e9fb241', - }, - { - // @ts-ignore - field: 'process.executable.caseless', - operator: 'included', - type: 'match', - value: '/one/two/three', - }, - ], - }; - - return newTrustedApp; -}; - -const randomN = (max: number): number => Math.floor(Math.random() * max); - -const randomName = (() => { - const names = [ - 'Symantec Endpoint Security', - 'Bitdefender GravityZone', - 'Malwarebytes', - 'Sophos Intercept X', - 'Webroot Business Endpoint Protection', - 'ESET Endpoint Security', - 'FortiClient', - 'Kaspersky Endpoint Security', - 'Trend Micro Apex One', - 'CylancePROTECT', - 'VIPRE', - 'Norton', - 'McAfee Endpoint Security', - 'AVG AntiVirus', - 'CrowdStrike Falcon', - 'Avast Business Antivirus', - 'Avira Antivirus', - 'Cisco AMP for Endpoints', - 'Eset Endpoint Antivirus', - 'VMware Carbon Black', - 'Palo Alto Networks Traps', - 'Trend Micro', - 'SentinelOne', - 'Panda Security for Desktops', - 'Microsoft Defender ATP', - ]; - const count = names.length; - - return () => names[randomN(count)]; -})(); - -const randomOperatingSystem = (() => { - const osKeys = Object.keys(OperatingSystem) as Array; - const count = osKeys.length; - - return () => OperatingSystem[osKeys[randomN(count)]]; -})(); - const createRunLogger = () => { let groupCount = 1; let itemCount = 0; diff --git a/x-pack/plugins/security_solution/server/endpoint/routes/trusted_apps/handlers.test.ts b/x-pack/plugins/security_solution/server/endpoint/routes/trusted_apps/handlers.test.ts index 5b1c0f5c3deb3..156bcd0de2cc9 100644 --- a/x-pack/plugins/security_solution/server/endpoint/routes/trusted_apps/handlers.test.ts +++ b/x-pack/plugins/security_solution/server/endpoint/routes/trusted_apps/handlers.test.ts @@ -337,14 +337,7 @@ describe('handlers', () => { describe('getTrustedAppsSummaryHandler', () => { let getTrustedAppsSummaryHandler: ReturnType; - - beforeEach(() => { - getTrustedAppsSummaryHandler = getTrustedAppsSummaryRouteHandler(appContextMock); - }); - - it('should return ok with list when no errors', async () => { - const mockResponse = httpServerMock.createResponseFactory(); - + const getExceptionsListClientMokcResolvedValue = () => { exceptionsListClient.findExceptionListItem.mockResolvedValue({ data: [ // Linux === 5 @@ -373,6 +366,16 @@ describe('handlers', () => { per_page: 100, total: 23, }); + }; + + beforeEach(() => { + getTrustedAppsSummaryHandler = getTrustedAppsSummaryRouteHandler(appContextMock); + }); + + it('should return ok with list when no errors', async () => { + const mockResponse = httpServerMock.createResponseFactory(); + + getExceptionsListClientMokcResolvedValue(); await getTrustedAppsSummaryHandler( createHandlerContextMock(), @@ -388,6 +391,31 @@ describe('handlers', () => { }); }); + it('should return ok with list when no errors filtering by policyId', async () => { + const mockResponse = httpServerMock.createResponseFactory(); + + const policyId = 'caf1a334-53f3-4be9-814d-a32245f43d34'; + + getExceptionsListClientMokcResolvedValue(); + + await getTrustedAppsSummaryHandler( + createHandlerContextMock(), + httpServerMock.createKibanaRequest({ + query: { + kuery: `exception-list-agnostic.attributes.tags:"policy:${policyId}" OR exception-list-agnostic.attributes.tags:"policy:all"`, + }, + }), + mockResponse + ); + + assertResponse(mockResponse, 'ok', { + linux: 5, + macos: 3, + windows: 15, + total: 23, + }); + }); + it('should return internalError when errors happen', async () => { const mockResponse = httpServerMock.createResponseFactory(); const error = new Error('Something went wrong'); diff --git a/x-pack/plugins/security_solution/server/endpoint/routes/trusted_apps/handlers.ts b/x-pack/plugins/security_solution/server/endpoint/routes/trusted_apps/handlers.ts index 05194dc856d58..13282bfacd5b1 100644 --- a/x-pack/plugins/security_solution/server/endpoint/routes/trusted_apps/handlers.ts +++ b/x-pack/plugins/security_solution/server/endpoint/routes/trusted_apps/handlers.ts @@ -17,6 +17,7 @@ import { PostTrustedAppCreateRequest, PutTrustedAppsRequestParams, PutTrustedAppUpdateRequest, + GetTrustedAppsSummaryRequest, } from '../../../../common/endpoint/types'; import { EndpointAppContext } from '../../types'; @@ -216,13 +217,18 @@ export const getTrustedAppsUpdateRouteHandler = ( export const getTrustedAppsSummaryRouteHandler = ( endpointAppContext: EndpointAppContext -): RequestHandler => { +): RequestHandler< + unknown, + GetTrustedAppsSummaryRequest, + unknown, + SecuritySolutionRequestHandlerContext +> => { const logger = endpointAppContext.logFactory.get('trusted_apps'); return async (context, req, res) => { try { return res.ok({ - body: await getTrustedAppsSummary(exceptionListClientFromContext(context)), + body: await getTrustedAppsSummary(exceptionListClientFromContext(context), req.query), }); } catch (error) { return errorHandler(logger, res, error); diff --git a/x-pack/plugins/security_solution/server/endpoint/routes/trusted_apps/index.ts b/x-pack/plugins/security_solution/server/endpoint/routes/trusted_apps/index.ts index 4e61f14408f47..1d5df9c6e88b8 100644 --- a/x-pack/plugins/security_solution/server/endpoint/routes/trusted_apps/index.ts +++ b/x-pack/plugins/security_solution/server/endpoint/routes/trusted_apps/index.ts @@ -11,6 +11,7 @@ import { GetTrustedAppsRequestSchema, PostTrustedAppCreateRequestSchema, PutTrustedAppUpdateRequestSchema, + GetTrustedAppsSummaryRequestSchema, } from '../../../../common/endpoint/schema/trusted_apps'; import { TRUSTED_APPS_CREATE_API, @@ -90,7 +91,7 @@ export const registerTrustedAppsRoutes = ( router.get( { path: TRUSTED_APPS_SUMMARY_API, - validate: false, + validate: GetTrustedAppsSummaryRequestSchema, options: { authRequired: true }, }, getTrustedAppsSummaryRouteHandler(endpointAppContext) diff --git a/x-pack/plugins/security_solution/server/endpoint/routes/trusted_apps/service.test.ts b/x-pack/plugins/security_solution/server/endpoint/routes/trusted_apps/service.test.ts index ea3354a650521..3323080851801 100644 --- a/x-pack/plugins/security_solution/server/endpoint/routes/trusted_apps/service.test.ts +++ b/x-pack/plugins/security_solution/server/endpoint/routes/trusted_apps/service.test.ts @@ -274,7 +274,20 @@ describe('service', () => { }); it('should return summary of trusted app items', async () => { - expect(await getTrustedAppsSummary(exceptionsListClient)).toEqual({ + expect(await getTrustedAppsSummary(exceptionsListClient, {})).toEqual({ + linux: 45, + windows: 55, + macos: 30, + total: 130, + }); + }); + + it('should return summary of trusted app items when filtering by policyId', async () => { + expect( + await getTrustedAppsSummary(exceptionsListClient, { + kuery: `exception-list-agnostic.attributes.tags:"policy:caf1a334-53f3-4be9-814d-a32245f43d34" OR exception-list-agnostic.attributes.tags:"policy:all"`, + }) + ).toEqual({ linux: 45, windows: 55, macos: 30, diff --git a/x-pack/plugins/security_solution/server/endpoint/routes/trusted_apps/service.ts b/x-pack/plugins/security_solution/server/endpoint/routes/trusted_apps/service.ts index cfadaa98ad466..a427f13859f03 100644 --- a/x-pack/plugins/security_solution/server/endpoint/routes/trusted_apps/service.ts +++ b/x-pack/plugins/security_solution/server/endpoint/routes/trusted_apps/service.ts @@ -21,6 +21,7 @@ import { PostTrustedAppCreateResponse, PutTrustedAppUpdateRequest, PutTrustedAppUpdateResponse, + GetTrustedAppsSummaryRequest, } from '../../../../common/endpoint/types'; import { @@ -205,11 +206,11 @@ export const updateTrustedApp = async ( }; export const getTrustedAppsSummary = async ( - exceptionsListClient: ExceptionListClient + exceptionsListClient: ExceptionListClient, + { kuery }: GetTrustedAppsSummaryRequest ): Promise => { // Ensure list is created if it does not exist await exceptionsListClient.createTrustedAppsList(); - const summary = { linux: 0, windows: 0, @@ -225,7 +226,7 @@ export const getTrustedAppsSummary = async ( listId: ENDPOINT_TRUSTED_APPS_LIST_ID, page, perPage, - filter: undefined, + filter: kuery, namespaceType: 'agnostic', sortField: undefined, sortOrder: undefined, diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/notifications/schedule_throttle_notification_actions.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/notifications/schedule_throttle_notification_actions.test.ts index de62c6b211400..2e5e331b71b00 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/notifications/schedule_throttle_notification_actions.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/notifications/schedule_throttle_notification_actions.test.ts @@ -53,6 +53,7 @@ describe('schedule_throttle_notification_actions', () => { to: 'now', type: 'query', references: ['http://www.example.com'], + namespace: 'a namespace', note: '# sample markdown', version: 1, exceptionsList: [], diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/__mocks__/request_responses.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/__mocks__/request_responses.ts index a7eff049d0d9e..97d976d337564 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/__mocks__/request_responses.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/__mocks__/request_responses.ts @@ -39,6 +39,7 @@ import { getQueryRuleParams } from '../../schemas/rule_schemas.mock'; import { getPerformBulkActionSchemaMock } from '../../../../../common/detection_engine/schemas/request/perform_bulk_action_schema.mock'; import { RuleExecutionStatus } from '../../../../../common/detection_engine/schemas/common/schemas'; import { FindBulkExecutionLogResponse } from '../../rule_execution_log/types'; +import { ruleTypeMappings } from '../../signals/utils'; export const typicalSetStatusSignalByIdsPayload = (): SetSignalsStatusSchemaDecoded => ({ signal_ids: ['somefakeid1', 'somefakeid2'], @@ -179,18 +180,18 @@ export const getEmptyFindResult = (): FindHit => ({ data: [], }); -export const getFindResultWithSingleHit = (): FindHit => ({ +export const getFindResultWithSingleHit = (isRuleRegistryEnabled: boolean): FindHit => ({ page: 1, perPage: 1, total: 1, - data: [getAlertMock(getQueryRuleParams())], + data: [getAlertMock(isRuleRegistryEnabled, getQueryRuleParams())], }); -export const nonRuleFindResult = (): FindHit => ({ +export const nonRuleFindResult = (isRuleRegistryEnabled: boolean): FindHit => ({ page: 1, perPage: 1, total: 1, - data: [nonRuleAlert()], + data: [nonRuleAlert(isRuleRegistryEnabled)], }); export const getFindResultWithMultiHits = ({ @@ -348,19 +349,22 @@ export const createActionResult = (): ActionResult => ({ isPreconfigured: false, }); -export const nonRuleAlert = () => ({ +export const nonRuleAlert = (isRuleRegistryEnabled: boolean) => ({ // Defaulting to QueryRuleParams because ts doesn't like empty objects - ...getAlertMock(getQueryRuleParams()), + ...getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()), id: '04128c15-0d1b-4716-a4c5-46997ac7f3bc', name: 'Non-Rule Alert', alertTypeId: 'something', }); -export const getAlertMock = (params: T): Alert => ({ +export const getAlertMock = ( + isRuleRegistryEnabled: boolean, + params: T +): Alert => ({ id: '04128c15-0d1b-4716-a4c5-46997ac7f3bd', name: 'Detect Root/Admin Users', tags: [`${INTERNAL_RULE_ID_KEY}:rule-1`, `${INTERNAL_IMMUTABLE_KEY}:false`], - alertTypeId: 'siem.signals', + alertTypeId: isRuleRegistryEnabled ? ruleTypeMappings[params.type] : 'siem.signals', consumer: 'siem', params, createdAt: new Date('2019-12-13T16:40:33.400Z'), diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/index/__snapshots__/get_signals_template.test.ts.snap b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/index/__snapshots__/get_signals_template.test.ts.snap index 3c065ab0ac109..1d4e84ea5dccf 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/index/__snapshots__/get_signals_template.test.ts.snap +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/index/__snapshots__/get_signals_template.test.ts.snap @@ -1,5 +1,609 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP +exports[`get_signals_template backwards compatibility mappings for version 45 should match snapshot 1`] = ` +Object { + "_meta": Object { + "aliases_version": 1, + "version": 45, + }, + "properties": Object { + "kibana.alert.ancestors.depth": Object { + "path": "signal.ancestors.depth", + "type": "alias", + }, + "kibana.alert.ancestors.id": Object { + "path": "signal.ancestors.id", + "type": "alias", + }, + "kibana.alert.ancestors.index": Object { + "path": "signal.ancestors.index", + "type": "alias", + }, + "kibana.alert.ancestors.type": Object { + "path": "signal.ancestors.type", + "type": "alias", + }, + "kibana.alert.depth": Object { + "path": "signal.depth", + "type": "alias", + }, + "kibana.alert.original_event.action": Object { + "path": "signal.original_event.action", + "type": "alias", + }, + "kibana.alert.original_event.category": Object { + "path": "signal.original_event.category", + "type": "alias", + }, + "kibana.alert.original_event.code": Object { + "path": "signal.original_event.code", + "type": "alias", + }, + "kibana.alert.original_event.created": Object { + "path": "signal.original_event.created", + "type": "alias", + }, + "kibana.alert.original_event.dataset": Object { + "path": "signal.original_event.dataset", + "type": "alias", + }, + "kibana.alert.original_event.duration": Object { + "path": "signal.original_event.duration", + "type": "alias", + }, + "kibana.alert.original_event.end": Object { + "path": "signal.original_event.end", + "type": "alias", + }, + "kibana.alert.original_event.hash": Object { + "path": "signal.original_event.hash", + "type": "alias", + }, + "kibana.alert.original_event.id": Object { + "path": "signal.original_event.id", + "type": "alias", + }, + "kibana.alert.original_event.kind": Object { + "path": "signal.original_event.kind", + "type": "alias", + }, + "kibana.alert.original_event.module": Object { + "path": "signal.original_event.module", + "type": "alias", + }, + "kibana.alert.original_event.outcome": Object { + "path": "signal.original_event.outcome", + "type": "alias", + }, + "kibana.alert.original_event.provider": Object { + "path": "signal.original_event.provider", + "type": "alias", + }, + "kibana.alert.original_event.reason": Object { + "path": "signal.original_event.reason", + "type": "alias", + }, + "kibana.alert.original_event.risk_score": Object { + "path": "signal.original_event.risk_score", + "type": "alias", + }, + "kibana.alert.original_event.risk_score_norm": Object { + "path": "signal.original_event.risk_score_norm", + "type": "alias", + }, + "kibana.alert.original_event.sequence": Object { + "path": "signal.original_event.sequence", + "type": "alias", + }, + "kibana.alert.original_event.severity": Object { + "path": "signal.original_event.severity", + "type": "alias", + }, + "kibana.alert.original_event.start": Object { + "path": "signal.original_event.start", + "type": "alias", + }, + "kibana.alert.original_event.timezone": Object { + "path": "signal.original_event.timezone", + "type": "alias", + }, + "kibana.alert.original_event.type": Object { + "path": "signal.original_event.type", + "type": "alias", + }, + "kibana.alert.original_time": Object { + "path": "signal.original_time", + "type": "alias", + }, + "kibana.alert.reason": Object { + "path": "signal.reason", + "type": "alias", + }, + "kibana.alert.risk_score": Object { + "path": "signal.rule.risk_score", + "type": "alias", + }, + "kibana.alert.rule.author": Object { + "path": "signal.rule.author", + "type": "alias", + }, + "kibana.alert.rule.building_block_type": Object { + "path": "signal.rule.building_block_type", + "type": "alias", + }, + "kibana.alert.rule.created_at": Object { + "path": "signal.rule.created_at", + "type": "alias", + }, + "kibana.alert.rule.created_by": Object { + "path": "signal.rule.created_by", + "type": "alias", + }, + "kibana.alert.rule.description": Object { + "path": "signal.rule.description", + "type": "alias", + }, + "kibana.alert.rule.enabled": Object { + "path": "signal.rule.enabled", + "type": "alias", + }, + "kibana.alert.rule.false_positives": Object { + "path": "signal.rule.false_positives", + "type": "alias", + }, + "kibana.alert.rule.from": Object { + "path": "signal.rule.from", + "type": "alias", + }, + "kibana.alert.rule.immutable": Object { + "path": "signal.rule.immutable", + "type": "alias", + }, + "kibana.alert.rule.index": Object { + "path": "signal.rule.index", + "type": "alias", + }, + "kibana.alert.rule.interval": Object { + "path": "signal.rule.interval", + "type": "alias", + }, + "kibana.alert.rule.language": Object { + "path": "signal.rule.language", + "type": "alias", + }, + "kibana.alert.rule.license": Object { + "path": "signal.rule.license", + "type": "alias", + }, + "kibana.alert.rule.max_signals": Object { + "path": "signal.rule.max_signals", + "type": "alias", + }, + "kibana.alert.rule.name": Object { + "path": "signal.rule.name", + "type": "alias", + }, + "kibana.alert.rule.note": Object { + "path": "signal.rule.note", + "type": "alias", + }, + "kibana.alert.rule.query": Object { + "path": "signal.rule.query", + "type": "alias", + }, + "kibana.alert.rule.references": Object { + "path": "signal.rule.references", + "type": "alias", + }, + "kibana.alert.rule.risk_score_mapping.field": Object { + "path": "signal.rule.risk_score_mapping.field", + "type": "alias", + }, + "kibana.alert.rule.risk_score_mapping.operator": Object { + "path": "signal.rule.risk_score_mapping.operator", + "type": "alias", + }, + "kibana.alert.rule.risk_score_mapping.value": Object { + "path": "signal.rule.risk_score_mapping.value", + "type": "alias", + }, + "kibana.alert.rule.rule_id": Object { + "path": "signal.rule.rule_id", + "type": "alias", + }, + "kibana.alert.rule.rule_name_override": Object { + "path": "signal.rule.rule_name_override", + "type": "alias", + }, + "kibana.alert.rule.saved_id": Object { + "path": "signal.rule.saved_id", + "type": "alias", + }, + "kibana.alert.rule.severity_mapping.field": Object { + "path": "signal.rule.severity_mapping.field", + "type": "alias", + }, + "kibana.alert.rule.severity_mapping.operator": Object { + "path": "signal.rule.severity_mapping.operator", + "type": "alias", + }, + "kibana.alert.rule.severity_mapping.severity": Object { + "path": "signal.rule.severity_mapping.severity", + "type": "alias", + }, + "kibana.alert.rule.severity_mapping.value": Object { + "path": "signal.rule.severity_mapping.value", + "type": "alias", + }, + "kibana.alert.rule.tags": Object { + "path": "signal.rule.tags", + "type": "alias", + }, + "kibana.alert.rule.threat.framework": Object { + "path": "signal.rule.threat.framework", + "type": "alias", + }, + "kibana.alert.rule.threat.tactic.id": Object { + "path": "signal.rule.threat.tactic.id", + "type": "alias", + }, + "kibana.alert.rule.threat.tactic.name": Object { + "path": "signal.rule.threat.tactic.name", + "type": "alias", + }, + "kibana.alert.rule.threat.tactic.reference": Object { + "path": "signal.rule.threat.tactic.reference", + "type": "alias", + }, + "kibana.alert.rule.threat.technique.id": Object { + "path": "signal.rule.threat.technique.id", + "type": "alias", + }, + "kibana.alert.rule.threat.technique.name": Object { + "path": "signal.rule.threat.technique.name", + "type": "alias", + }, + "kibana.alert.rule.threat.technique.reference": Object { + "path": "signal.rule.threat.technique.reference", + "type": "alias", + }, + "kibana.alert.rule.threat.technique.subtechnique.id": Object { + "path": "signal.rule.threat.technique.subtechnique.id", + "type": "alias", + }, + "kibana.alert.rule.threat.technique.subtechnique.name": Object { + "path": "signal.rule.threat.technique.subtechnique.name", + "type": "alias", + }, + "kibana.alert.rule.threat.technique.subtechnique.reference": Object { + "path": "signal.rule.threat.technique.subtechnique.reference", + "type": "alias", + }, + "kibana.alert.rule.threat_index": Object { + "path": "signal.rule.threat_index", + "type": "alias", + }, + "kibana.alert.rule.threat_indicator_path": Object { + "path": "signal.rule.threat_indicator_path", + "type": "alias", + }, + "kibana.alert.rule.threat_language": Object { + "path": "signal.rule.threat_language", + "type": "alias", + }, + "kibana.alert.rule.threat_mapping.entries.field": Object { + "path": "signal.rule.threat_mapping.entries.field", + "type": "alias", + }, + "kibana.alert.rule.threat_mapping.entries.type": Object { + "path": "signal.rule.threat_mapping.entries.type", + "type": "alias", + }, + "kibana.alert.rule.threat_mapping.entries.value": Object { + "path": "signal.rule.threat_mapping.entries.value", + "type": "alias", + }, + "kibana.alert.rule.threat_query": Object { + "path": "signal.rule.threat_query", + "type": "alias", + }, + "kibana.alert.rule.threshold.field": Object { + "path": "signal.rule.threshold.field", + "type": "alias", + }, + "kibana.alert.rule.threshold.value": Object { + "path": "signal.rule.threshold.value", + "type": "alias", + }, + "kibana.alert.rule.timeline_id": Object { + "path": "signal.rule.timeline_id", + "type": "alias", + }, + "kibana.alert.rule.timeline_title": Object { + "path": "signal.rule.timeline_title", + "type": "alias", + }, + "kibana.alert.rule.to": Object { + "path": "signal.rule.to", + "type": "alias", + }, + "kibana.alert.rule.type": Object { + "path": "signal.rule.type", + "type": "alias", + }, + "kibana.alert.rule.updated_at": Object { + "path": "signal.rule.updated_at", + "type": "alias", + }, + "kibana.alert.rule.updated_by": Object { + "path": "signal.rule.updated_by", + "type": "alias", + }, + "kibana.alert.rule.uuid": Object { + "path": "signal.rule.id", + "type": "alias", + }, + "kibana.alert.rule.version": Object { + "path": "signal.rule.version", + "type": "alias", + }, + "kibana.alert.severity": Object { + "path": "signal.rule.severity", + "type": "alias", + }, + "kibana.alert.threshold_result.cardinality.field": Object { + "path": "signal.threshold_result.cardinality.field", + "type": "alias", + }, + "kibana.alert.threshold_result.cardinality.value": Object { + "path": "signal.threshold_result.cardinality.value", + "type": "alias", + }, + "kibana.alert.threshold_result.count": Object { + "path": "signal.threshold_result.count", + "type": "alias", + }, + "kibana.alert.threshold_result.from": Object { + "path": "signal.threshold_result.from", + "type": "alias", + }, + "kibana.alert.threshold_result.terms.field": Object { + "path": "signal.threshold_result.terms.field", + "type": "alias", + }, + "kibana.alert.threshold_result.terms.value": Object { + "path": "signal.threshold_result.terms.value", + "type": "alias", + }, + "kibana.alert.workflow_status": Object { + "path": "signal.status", + "type": "alias", + }, + "signal": Object { + "properties": Object { + "_meta": Object { + "properties": Object { + "version": Object { + "type": "long", + }, + }, + "type": "object", + }, + "ancestors": Object { + "properties": Object { + "depth": Object { + "type": "long", + }, + "id": Object { + "type": "keyword", + }, + "index": Object { + "type": "keyword", + }, + "rule": Object { + "type": "keyword", + }, + "type": Object { + "type": "keyword", + }, + }, + }, + "depth": Object { + "type": "integer", + }, + "group": Object { + "properties": Object { + "id": Object { + "type": "keyword", + }, + "index": Object { + "type": "integer", + }, + }, + "type": "object", + }, + "original_event": Object { + "properties": Object { + "reason": Object { + "type": "keyword", + }, + }, + "type": "object", + }, + "reason": Object { + "type": "keyword", + }, + "rule": Object { + "properties": Object { + "author": Object { + "type": "keyword", + }, + "building_block_type": Object { + "type": "keyword", + }, + "license": Object { + "type": "keyword", + }, + "note": Object { + "type": "text", + }, + "risk_score_mapping": Object { + "properties": Object { + "field": Object { + "type": "keyword", + }, + "operator": Object { + "type": "keyword", + }, + "value": Object { + "type": "keyword", + }, + }, + "type": "object", + }, + "rule_name_override": Object { + "type": "keyword", + }, + "severity_mapping": Object { + "properties": Object { + "field": Object { + "type": "keyword", + }, + "operator": Object { + "type": "keyword", + }, + "severity": Object { + "type": "keyword", + }, + "value": Object { + "type": "keyword", + }, + }, + "type": "object", + }, + "threat": Object { + "properties": Object { + "technique": Object { + "properties": Object { + "subtechnique": Object { + "properties": Object { + "id": Object { + "type": "keyword", + }, + "name": Object { + "type": "keyword", + }, + "reference": Object { + "type": "keyword", + }, + }, + "type": "object", + }, + }, + "type": "object", + }, + }, + "type": "object", + }, + "threat_index": Object { + "type": "keyword", + }, + "threat_indicator_path": Object { + "type": "keyword", + }, + "threat_language": Object { + "type": "keyword", + }, + "threat_mapping": Object { + "properties": Object { + "entries": Object { + "properties": Object { + "field": Object { + "type": "keyword", + }, + "type": Object { + "type": "keyword", + }, + "value": Object { + "type": "keyword", + }, + }, + "type": "object", + }, + }, + "type": "object", + }, + "threat_query": Object { + "type": "keyword", + }, + "threshold": Object { + "properties": Object { + "field": Object { + "type": "keyword", + }, + "value": Object { + "type": "float", + }, + }, + "type": "object", + }, + }, + "type": "object", + }, + "threshold_result": Object { + "properties": Object { + "cardinality": Object { + "properties": Object { + "field": Object { + "type": "keyword", + }, + "value": Object { + "type": "long", + }, + }, + }, + "count": Object { + "type": "long", + }, + "from": Object { + "type": "date", + }, + "terms": Object { + "properties": Object { + "field": Object { + "type": "keyword", + }, + "value": Object { + "type": "keyword", + }, + }, + }, + }, + }, + }, + "type": "object", + }, + }, + "runtime": Object { + "host.os.name.caseless": Object { + "script": Object { + "source": "if(doc['host.os.name'].size()!=0) emit(doc['host.os.name'].value.toLowerCase());", + }, + "type": "keyword", + }, + }, +} +`; + +exports[`get_signals_template backwards compatibility mappings for version 57 should match snapshot 1`] = ` +Object { + "_meta": Object { + "aliases_version": 1, + "version": 57, + }, +} +`; + exports[`get_signals_template it should match snapshot 1`] = ` Object { "index_patterns": Array [ @@ -1495,6 +2099,11 @@ Object { }, "name": Object { "fields": Object { + "caseless": Object { + "ignore_above": 1024, + "normalizer": "lowercase", + "type": "keyword", + }, "text": Object { "norms": false, "type": "text", diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/index/create_index_route.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/index/create_index_route.ts index d65a1ad87b41a..61635fdcef9f0 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/index/create_index_route.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/index/create_index_route.ts @@ -23,11 +23,9 @@ import type { import { DETECTION_ENGINE_INDEX_URL } from '../../../../../common/constants'; import { buildSiemResponse } from '../utils'; import { - createSignalsFieldAliases, getSignalsTemplate, SIGNALS_TEMPLATE_VERSION, - SIGNALS_FIELD_ALIASES_VERSION, - ALIAS_VERSION_FIELD, + createBackwardsCompatibilityMapping, } from './get_signals_template'; import { ensureMigrationCleanupPolicy } from '../../migrations/migration_cleanup'; import signalsPolicy from './signals_policy.json'; @@ -35,7 +33,6 @@ import { templateNeedsUpdate } from './check_template_version'; import { getIndexVersion } from './get_index_version'; import { isOutdated } from '../../migrations/helpers'; import { RuleDataPluginService } from '../../../../../../rule_registry/server'; -import signalExtraFields from './signal_extra_fields.json'; import { ConfigType } from '../../../../config'; import { parseExperimentalConfigValue } from '../../../../../common/experimental_features'; @@ -126,7 +123,7 @@ export const createDetectionIndex = async ( } if (indexExists) { - await addFieldAliasesToIndices({ esClient, index, spaceId }); + await addFieldAliasesToIndices({ esClient, index }); // The internal user is used here because Elasticsearch requires the PUT alias requestor to have 'manage' permissions // for BOTH the index AND alias name. However, through 7.14 admins only needed permissions for .siem-signals (the index) // and not .alerts-security.alerts (the alias). From the security solution perspective, all .siem-signals--* @@ -148,33 +145,17 @@ export const createDetectionIndex = async ( const addFieldAliasesToIndices = async ({ esClient, index, - spaceId, }: { esClient: ElasticsearchClient; index: string; - spaceId: string; }) => { const { body: indexMappings } = await esClient.indices.get({ index }); - // Make sure that all signal fields we add aliases for are guaranteed to exist in the mapping for ALL historical - // signals indices (either by adding them to signalExtraFields or ensuring they exist in the original signals - // mapping) or else this call will fail and not update ANY signals indices - const fieldAliases = createSignalsFieldAliases(); for (const [indexName, mapping] of Object.entries(indexMappings)) { const currentVersion: number | undefined = get(mapping.mappings?._meta, 'version'); - const newMapping = { - properties: { - ...signalExtraFields, - ...fieldAliases, - // ...getRbacRequiredFields(spaceId), - }, - _meta: { - version: currentVersion, - [ALIAS_VERSION_FIELD]: SIGNALS_FIELD_ALIASES_VERSION, - }, - }; + const body = createBackwardsCompatibilityMapping(currentVersion ?? 0); await esClient.indices.putMapping({ index: indexName, - body: newMapping, + body, allow_no_indices: true, } as estypes.IndicesPutMappingRequest); } diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/index/get_signals_template.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/index/get_signals_template.test.ts index bb67dd1fca6df..70363cba34fce 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/index/get_signals_template.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/index/get_signals_template.test.ts @@ -5,7 +5,7 @@ * 2.0. */ -import { getSignalsTemplate } from './get_signals_template'; +import { createBackwardsCompatibilityMapping, getSignalsTemplate } from './get_signals_template'; describe('get_signals_template', () => { test('it should set the lifecycle "name" and "rollover_alias" to be the name of the index passed in', () => { @@ -124,4 +124,14 @@ describe('get_signals_template', () => { ); expect(template).toMatchSnapshot(); }); + + test('backwards compatibility mappings for version 45 should match snapshot', () => { + const mapping = createBackwardsCompatibilityMapping(45); + expect(mapping).toMatchSnapshot(); + }); + + test('backwards compatibility mappings for version 57 should match snapshot', () => { + const mapping = createBackwardsCompatibilityMapping(57); + expect(mapping).toMatchSnapshot(); + }); }); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/index/get_signals_template.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/index/get_signals_template.ts index 3470f955dbdba..b7a0521e5c3ce 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/index/get_signals_template.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/index/get_signals_template.ts @@ -11,10 +11,12 @@ import { ALERT_RULE_PRODUCER, ALERT_RULE_TYPE_ID, } from '@kbn/rule-data-utils'; +import { merge } from 'lodash'; import signalsMapping from './signals_mapping.json'; import ecsMapping from './ecs_mapping.json'; import otherMapping from './other_mappings.json'; import aadFieldConversion from './signal_aad_mapping.json'; +import signalExtraFields from './signal_extra_fields.json'; /** @constant @@ -22,7 +24,9 @@ import aadFieldConversion from './signal_aad_mapping.json'; @description This value represents the template version assumed by app code. If this number is greater than the user's signals index version, the detections UI will attempt to update the signals template and roll over to - a new signals index. + a new signals index. + + Since we create a new index for new versions, this version on an existing index should never change. If making mappings changes in a patch release, this number should be incremented by 1. If making mappings changes in a minor release, this number should be @@ -34,12 +38,24 @@ export const SIGNALS_TEMPLATE_VERSION = 57; @constant @type {number} @description This value represents the version of the field aliases that map the new field names - used for alerts-as-data to the old signal.* field names. If any .siem-signals- indices - have an aliases_version less than this value, the detections UI will call create_index_route and - and go through the index update process. Increment this number if making changes to the field - aliases we use to make signals forwards-compatible. + used for alerts-as-data to the old signal.* field names and any other runtime fields that are added + to .siem-signals indices for compatibility reasons (e.g. host.os.name.caseless). + + This version number can change over time on existing indices as we add backwards compatibility fields. + + If any .siem-signals- indices have an aliases_version less than this value, the detections + UI will call create_index_route and and go through the index update process. Increment this number if + making changes to the field aliases we use to make signals forwards-compatible. */ export const SIGNALS_FIELD_ALIASES_VERSION = 1; + +/** + @constant + @type {number} + @description This value represents the minimum required index version (SIGNALS_TEMPLATE_VERSION) for EQL + rules to write signals correctly. If the write index has a `version` less than this value, the EQL rule + will throw an error on execution. +*/ export const MIN_EQL_RULE_INDEX_VERSION = 2; export const ALIAS_VERSION_FIELD = 'aliases_version'; @@ -68,13 +84,12 @@ export const getSignalsTemplate = (index: string, spaceId: string, aadIndexAlias }, mappings: { dynamic: false, - properties: { - ...ecsMapping.mappings.properties, - ...otherMapping.mappings.properties, - ...fieldAliases, - // ...getRbacRequiredFields(spaceId), - signal: signalsMapping.mappings.properties.signal, - }, + properties: merge( + ecsMapping.mappings.properties, + otherMapping.mappings.properties, + fieldAliases, + signalsMapping.mappings.properties + ), _meta: { version: SIGNALS_TEMPLATE_VERSION, [ALIAS_VERSION_FIELD]: SIGNALS_FIELD_ALIASES_VERSION, @@ -97,6 +112,47 @@ export const createSignalsFieldAliases = () => { return fieldAliases; }; +export const backwardsCompatibilityMappings = [ + { + minVersion: 0, + // Version 45 shipped with 7.14 + maxVersion: 45, + mapping: { + runtime: { + 'host.os.name.caseless': { + type: 'keyword', + script: { + source: + "if(doc['host.os.name'].size()!=0) emit(doc['host.os.name'].value.toLowerCase());", + }, + }, + }, + properties: { + // signalExtraFields contains the field mappings that have been added to the signals indices over time. + // We need to include these here because we can't add an alias for a field that isn't in the mapping, + // and we want to apply the aliases to all old signals indices at the same time. + ...signalExtraFields, + ...createSignalsFieldAliases(), + }, + }, + }, +]; + +export const createBackwardsCompatibilityMapping = (version: number) => { + const mappings = backwardsCompatibilityMappings + .filter((mapping) => version <= mapping.maxVersion && version >= mapping.minVersion) + .map((mapping) => mapping.mapping); + + const meta = { + _meta: { + version, + [ALIAS_VERSION_FIELD]: SIGNALS_FIELD_ALIASES_VERSION, + }, + }; + + return merge({}, ...mappings, meta); +}; + export const getRbacRequiredFields = (spaceId: string) => { return { [SPACE_IDS]: { diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/index/other_mappings.json b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/index/other_mappings.json index b61ad2e43ac03..5ad8f5238a97d 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/index/other_mappings.json +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/index/other_mappings.json @@ -98,6 +98,29 @@ } } }, + "host": { + "properties": { + "os": { + "properties": { + "name": { + "fields": { + "text": { + "norms": false, + "type": "text" + }, + "caseless": { + "ignore_above": 1024, + "normalizer": "lowercase", + "type": "keyword" + } + }, + "ignore_above": 1024, + "type": "keyword" + } + } + } + } + }, "interface": { "properties": { "alias": { diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/add_prepackaged_rules_route.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/add_prepackaged_rules_route.test.ts index 189173f44a295..866c70626d2bc 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/add_prepackaged_rules_route.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/add_prepackaged_rules_route.test.ts @@ -72,12 +72,16 @@ jest.mock('../../../timeline/routes/prepackaged_timelines/install_prepackaged_ti }; }); -describe('add_prepackaged_rules_route', () => { +describe.each([ + ['Legacy', false], + ['RAC', true], +])('add_prepackaged_rules_route - %s', (_, isRuleRegistryEnabled) => { const siemMockClient = siemMock.createClient(); let server: ReturnType; let { clients, context } = requestContextMock.createTools(); let securitySetup: SecurityPluginSetup; let mockExceptionsClient: ExceptionListClient; + const testif = isRuleRegistryEnabled ? test.skip : test; beforeEach(() => { server = serverMock.create(); @@ -91,8 +95,10 @@ describe('add_prepackaged_rules_route', () => { mockExceptionsClient = listMock.getExceptionListClient(); - clients.rulesClient.find.mockResolvedValue(getFindResultWithSingleHit()); - clients.rulesClient.update.mockResolvedValue(getAlertMock(getQueryRuleParams())); + clients.rulesClient.find.mockResolvedValue(getFindResultWithSingleHit(isRuleRegistryEnabled)); + clients.rulesClient.update.mockResolvedValue( + getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()) + ); (installPrepackagedTimelines as jest.Mock).mockReset(); (installPrepackagedTimelines as jest.Mock).mockResolvedValue({ @@ -106,7 +112,7 @@ describe('add_prepackaged_rules_route', () => { context.core.elasticsearch.client.asCurrentUser.search.mockResolvedValue( elasticsearchClientMock.createSuccessTransportRequestPromise({ _shards: { total: 1 } }) ); - addPrepackedRulesRoute(server.router, createMockConfig(), securitySetup); + addPrepackedRulesRoute(server.router, createMockConfig(), securitySetup, isRuleRegistryEnabled); }); describe('status codes', () => { @@ -129,23 +135,25 @@ describe('add_prepackaged_rules_route', () => { }); }); - test('it returns a 400 if the index does not exist', async () => { + test('it returns a 400 if the index does not exist when rule registry not enabled', async () => { const request = addPrepackagedRulesRequest(); context.core.elasticsearch.client.asCurrentUser.search.mockResolvedValueOnce( elasticsearchClientMock.createSuccessTransportRequestPromise({ _shards: { total: 0 } }) ); const response = await server.inject(request, context); - expect(response.status).toEqual(400); - expect(response.body).toEqual({ - status_code: 400, - message: expect.stringContaining( - 'Pre-packaged rules cannot be installed until the signals index is created' - ), - }); + expect(response.status).toEqual(isRuleRegistryEnabled ? 200 : 400); + if (!isRuleRegistryEnabled) { + expect(response.body).toEqual({ + status_code: 400, + message: expect.stringContaining( + 'Pre-packaged rules cannot be installed until the signals index is created' + ), + }); + } }); - it('returns 404 if siem client is unavailable', async () => { + test('returns 404 if siem client is unavailable', async () => { const { securitySolution, ...contextWithoutSecuritySolution } = context; const response = await server.inject( addPrepackagedRulesRequest(), @@ -185,16 +193,19 @@ describe('add_prepackaged_rules_route', () => { }); }); - test('catches errors if payloads cause errors to be thrown', async () => { - context.core.elasticsearch.client.asCurrentUser.search.mockResolvedValue( - elasticsearchClientMock.createErrorTransportRequestPromise(new Error('Test error')) - ); - const request = addPrepackagedRulesRequest(); - const response = await server.inject(request, context); - - expect(response.status).toEqual(500); - expect(response.body).toEqual({ message: 'Test error', status_code: 500 }); - }); + testif( + 'catches errors if signals index does not exist when rule registry not enabled', + async () => { + context.core.elasticsearch.client.asCurrentUser.search.mockResolvedValue( + elasticsearchClientMock.createErrorTransportRequestPromise(new Error('Test error')) + ); + const request = addPrepackagedRulesRequest(); + const response = await server.inject(request, context); + + expect(response.status).toEqual(500); + expect(response.body).toEqual({ message: 'Test error', status_code: 500 }); + } + ); }); test('should install prepackaged timelines', async () => { diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/add_prepackaged_rules_route.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/add_prepackaged_rules_route.ts index 21933b2918722..0048c735b0a7c 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/add_prepackaged_rules_route.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/add_prepackaged_rules_route.ts @@ -43,7 +43,8 @@ import { installPrepackagedTimelines } from '../../../timeline/routes/prepackage export const addPrepackedRulesRoute = ( router: SecuritySolutionPluginRouter, config: ConfigType, - security: SetupPlugins['security'] + security: SetupPlugins['security'], + isRuleRegistryEnabled: boolean ) => { router.put( { @@ -79,7 +80,9 @@ export const addPrepackedRulesRoute = ( frameworkRequest, config.maxTimelineImportExportSize, config.prebuiltRulesFromFileSystem, - config.prebuiltRulesFromSavedObjects + config.prebuiltRulesFromSavedObjects, + undefined, + isRuleRegistryEnabled ); return response.ok({ body: validated ?? {} }); } catch (err) { @@ -109,7 +112,8 @@ export const createPrepackagedRules = async ( maxTimelineImportExportSize: ConfigType['maxTimelineImportExportSize'], prebuiltRulesFromFileSystem: ConfigType['prebuiltRulesFromFileSystem'], prebuiltRulesFromSavedObjects: ConfigType['prebuiltRulesFromSavedObjects'], - exceptionsClient?: ExceptionListClient + exceptionsClient?: ExceptionListClient, + isRuleRegistryEnabled?: boolean | undefined ): Promise => { const esClient = context.core.elasticsearch.client; const savedObjectsClient = context.core.savedObjects.client; @@ -131,11 +135,14 @@ export const createPrepackagedRules = async ( prebuiltRulesFromFileSystem, prebuiltRulesFromSavedObjects ); - const prepackagedRules = await getExistingPrepackagedRules({ rulesClient }); + const prepackagedRules = await getExistingPrepackagedRules({ + rulesClient, + isRuleRegistryEnabled: isRuleRegistryEnabled ?? false, + }); const rulesToInstall = getRulesToInstall(latestPrepackagedRules, prepackagedRules); const rulesToUpdate = getRulesToUpdate(latestPrepackagedRules, prepackagedRules); const signalsIndex = siemClient.getSignalsIndex(); - if (rulesToInstall.length !== 0 || rulesToUpdate.length !== 0) { + if (!isRuleRegistryEnabled && (rulesToInstall.length !== 0 || rulesToUpdate.length !== 0)) { const signalsIndexExists = await getIndexExists(esClient.asCurrentUser, signalsIndex); if (!signalsIndexExists) { throw new PrepackagedRulesError( @@ -145,7 +152,14 @@ export const createPrepackagedRules = async ( } } - await Promise.all(installPrepackagedRules(rulesClient, rulesToInstall, signalsIndex)); + await Promise.all( + installPrepackagedRules( + rulesClient, + rulesToInstall, + signalsIndex, + isRuleRegistryEnabled ?? false + ) + ); const timeline = await installPrepackagedTimelines( maxTimelineImportExportSize, frameworkRequest, @@ -160,7 +174,8 @@ export const createPrepackagedRules = async ( context.securitySolution.getSpaceId(), ruleStatusClient, rulesToUpdate, - signalsIndex + signalsIndex, + isRuleRegistryEnabled ?? false ); const prepackagedRulesOutput: PrePackagedRulesAndTimelinesSchema = { diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/create_rules_bulk_route.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/create_rules_bulk_route.test.ts index 3de2770972c82..2c8696dbd4554 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/create_rules_bulk_route.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/create_rules_bulk_route.test.ts @@ -24,7 +24,10 @@ import { getQueryRuleParams } from '../../schemas/rule_schemas.mock'; jest.mock('../../../machine_learning/authz', () => mockMlAuthzFactory.create()); -describe('create_rules_bulk', () => { +describe.each([ + ['Legacy', false], + ['RAC', true], +])('create_rules_bulk - %s', (_, isRuleRegistryEnabled) => { let server: ReturnType; let { clients, context } = requestContextMock.createTools(); let ml: ReturnType; @@ -35,12 +38,14 @@ describe('create_rules_bulk', () => { ml = mlServicesMock.createSetupContract(); clients.rulesClient.find.mockResolvedValue(getEmptyFindResult()); // no existing rules - clients.rulesClient.create.mockResolvedValue(getAlertMock(getQueryRuleParams())); // successful creation + clients.rulesClient.create.mockResolvedValue( + getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()) + ); // successful creation context.core.elasticsearch.client.asCurrentUser.search.mockResolvedValue( elasticsearchClientMock.createSuccessTransportRequestPromise({ _shards: { total: 1 } }) ); - createRulesBulkRoute(server.router, ml); + createRulesBulkRoute(server.router, ml, isRuleRegistryEnabled); }); describe('status codes', () => { @@ -56,7 +61,7 @@ describe('create_rules_bulk', () => { expect(response.body).toEqual({ message: 'Not Found', status_code: 404 }); }); - it('returns 404 if siem client is unavailable', async () => { + test('returns 404 if siem client is unavailable', async () => { const { securitySolution, ...contextWithoutSecuritySolution } = context; // @ts-expect-error const response = await server.inject(getReadBulkRequest(), contextWithoutSecuritySolution); @@ -66,7 +71,7 @@ describe('create_rules_bulk', () => { }); describe('unhappy paths', () => { - it('returns a 403 error object if ML Authz fails', async () => { + test('returns a 403 error object if ML Authz fails', async () => { (buildMlAuthz as jest.Mock).mockReturnValueOnce({ validateRuleType: jest .fn() @@ -86,26 +91,30 @@ describe('create_rules_bulk', () => { ]); }); - it('returns an error object if the index does not exist', async () => { + test('returns an error object if the index does not exist when rule registry not enabled', async () => { context.core.elasticsearch.client.asCurrentUser.search.mockResolvedValueOnce( elasticsearchClientMock.createSuccessTransportRequestPromise({ _shards: { total: 0 } }) ); const response = await server.inject(getReadBulkRequest(), context); expect(response.status).toEqual(200); - expect(response.body).toEqual([ - { - error: { - message: 'To create a rule, the index must exist first. Index undefined does not exist', - status_code: 400, + + if (!isRuleRegistryEnabled) { + expect(response.body).toEqual([ + { + error: { + message: + 'To create a rule, the index must exist first. Index undefined does not exist', + status_code: 400, + }, + rule_id: 'rule-1', }, - rule_id: 'rule-1', - }, - ]); + ]); + } }); test('returns a duplicate error if rule_id already exists', async () => { - clients.rulesClient.find.mockResolvedValue(getFindResultWithSingleHit()); + clients.rulesClient.find.mockResolvedValue(getFindResultWithSingleHit(isRuleRegistryEnabled)); const response = await server.inject(getReadBulkRequest(), context); expect(response.status).toEqual(200); @@ -136,7 +145,7 @@ describe('create_rules_bulk', () => { ]); }); - it('returns an error object if duplicate rule_ids found in request payload', async () => { + test('returns an error object if duplicate rule_ids found in request payload', async () => { const request = requestMock.create({ method: 'post', path: `${DETECTION_ENGINE_RULES_URL}/_bulk_create`, diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/create_rules_bulk_route.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/create_rules_bulk_route.ts index 5f44ab0ada92d..31683c289d4b4 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/create_rules_bulk_route.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/create_rules_bulk_route.ts @@ -28,7 +28,8 @@ import { convertCreateAPIToInternalSchema } from '../../schemas/rule_converters' export const createRulesBulkRoute = ( router: SecuritySolutionPluginRouter, - ml: SetupPlugins['ml'] + ml: SetupPlugins['ml'], + isRuleRegistryEnabled: boolean ) => { router.post( { @@ -67,9 +68,10 @@ export const createRulesBulkRoute = ( .map(async (payloadRule) => { if (payloadRule.rule_id != null) { const rule = await readRules({ + id: undefined, + isRuleRegistryEnabled, rulesClient, ruleId: payloadRule.rule_id, - id: undefined, }); if (rule != null) { return createBulkErrorObject({ @@ -79,7 +81,11 @@ export const createRulesBulkRoute = ( }); } } - const internalRule = convertCreateAPIToInternalSchema(payloadRule, siemClient); + const internalRule = convertCreateAPIToInternalSchema( + payloadRule, + siemClient, + isRuleRegistryEnabled + ); try { const validationErrors = createRuleValidateTypeDependents(payloadRule); if (validationErrors.length) { @@ -93,7 +99,7 @@ export const createRulesBulkRoute = ( throwHttpError(await mlAuthz.validateRuleType(internalRule.params.type)); const finalIndex = internalRule.params.outputIndex; const indexExists = await getIndexExists(esClient.asCurrentUser, finalIndex); - if (!indexExists) { + if (!isRuleRegistryEnabled && !indexExists) { return createBulkErrorObject({ ruleId: internalRule.params.ruleId, statusCode: 400, @@ -112,7 +118,10 @@ export const createRulesBulkRoute = ( return transformValidateBulkError(internalRule.params.ruleId, createdRule, undefined); } catch (err) { - return transformBulkError(internalRule.params.ruleId, err); + return transformBulkError( + internalRule.params.ruleId, + err as Error & { statusCode?: number | undefined } + ); } }) ); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/create_rules_route.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/create_rules_route.test.ts index fc48e34a7ca74..d1be96a44930a 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/create_rules_route.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/create_rules_route.test.ts @@ -24,7 +24,10 @@ import { elasticsearchClientMock } from 'src/core/server/elasticsearch/client/mo import { getQueryRuleParams } from '../../schemas/rule_schemas.mock'; jest.mock('../../../machine_learning/authz', () => mockMlAuthzFactory.create()); -describe('create_rules', () => { +describe.each([ + ['Legacy', false], + ['RAC', true], +])('create_rules - %s', (_, isRuleRegistryEnabled) => { let server: ReturnType; let { clients, context } = requestContextMock.createTools(); let ml: ReturnType; @@ -35,13 +38,15 @@ describe('create_rules', () => { ml = mlServicesMock.createSetupContract(); clients.rulesClient.find.mockResolvedValue(getEmptyFindResult()); // no current rules - clients.rulesClient.create.mockResolvedValue(getAlertMock(getQueryRuleParams())); // creation succeeds + clients.rulesClient.create.mockResolvedValue( + getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()) + ); // creation succeeds clients.ruleExecutionLogClient.find.mockResolvedValue(getRuleExecutionStatuses()); // needed to transform: ; context.core.elasticsearch.client.asCurrentUser.search.mockResolvedValue( elasticsearchClientMock.createSuccessTransportRequestPromise({ _shards: { total: 1 } }) ); - createRulesRoute(server.router, ml); + createRulesRoute(server.router, ml, isRuleRegistryEnabled); }); describe('status codes with actionClient and alertClient', () => { @@ -57,7 +62,7 @@ describe('create_rules', () => { expect(response.body).toEqual({ message: 'Not Found', status_code: 404 }); }); - it('returns 404 if siem client is unavailable', async () => { + test('returns 404 if siem client is unavailable', async () => { const { securitySolution, ...contextWithoutSecuritySolution } = context; // @ts-expect-error const response = await server.inject(getCreateRequest(), contextWithoutSecuritySolution); @@ -65,7 +70,7 @@ describe('create_rules', () => { expect(response.body).toEqual({ message: 'Not Found', status_code: 404 }); }); - it('returns 200 if license is not platinum', async () => { + test('returns 200 if license is not platinum', async () => { (context.licensing.license.hasAtLeast as jest.Mock).mockReturnValue(false); const response = await server.inject(getCreateRequest(), context); @@ -74,12 +79,12 @@ describe('create_rules', () => { }); describe('creating an ML Rule', () => { - it('is successful', async () => { + test('is successful', async () => { const response = await server.inject(createMlRuleRequest(), context); expect(response.status).toEqual(200); }); - it('returns a 403 if ML Authz fails', async () => { + test('returns a 403 if ML Authz fails', async () => { (buildMlAuthz as jest.Mock).mockReturnValueOnce({ validateRuleType: jest .fn() @@ -96,21 +101,24 @@ describe('create_rules', () => { }); describe('unhappy paths', () => { - test('it returns a 400 if the index does not exist', async () => { + test('it returns a 400 if the index does not exist when rule registry not enabled', async () => { context.core.elasticsearch.client.asCurrentUser.search.mockResolvedValueOnce( elasticsearchClientMock.createSuccessTransportRequestPromise({ _shards: { total: 0 } }) ); const response = await server.inject(getCreateRequest(), context); - expect(response.status).toEqual(400); - expect(response.body).toEqual({ - message: 'To create a rule, the index must exist first. Index undefined does not exist', - status_code: 400, - }); + expect(response.status).toEqual(isRuleRegistryEnabled ? 200 : 400); + + if (!isRuleRegistryEnabled) { + expect(response.body).toEqual({ + message: 'To create a rule, the index must exist first. Index undefined does not exist', + status_code: 400, + }); + } }); test('returns a duplicate error if rule_id already exists', async () => { - clients.rulesClient.find.mockResolvedValue(getFindResultWithSingleHit()); + clients.rulesClient.find.mockResolvedValue(getFindResultWithSingleHit(isRuleRegistryEnabled)); const response = await server.inject(getCreateRequest(), context); expect(response.status).toEqual(409); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/create_rules_route.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/create_rules_route.ts index 333fa9c17a75b..9e03e5f8f2143 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/create_rules_route.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/create_rules_route.ts @@ -6,7 +6,6 @@ */ import { transformError, getIndexExists } from '@kbn/securitysolution-es-utils'; -import { IRuleDataClient } from '../../../../../../rule_registry/server'; import { buildRouteValidation } from '../../../../utils/build_validation/route_validation'; import { DETECTION_ENGINE_RULES_URL, @@ -27,7 +26,7 @@ import { convertCreateAPIToInternalSchema } from '../../schemas/rule_converters' export const createRulesRoute = ( router: SecuritySolutionPluginRouter, ml: SetupPlugins['ml'], - ruleDataClient?: IRuleDataClient | null // TODO: Use this for RAC (otherwise delete it) + isRuleRegistryEnabled: boolean ): void => { router.post( { @@ -57,6 +56,7 @@ export const createRulesRoute = ( if (request.body.rule_id != null) { const rule = await readRules({ + isRuleRegistryEnabled, rulesClient, ruleId: request.body.rule_id, id: undefined, @@ -69,7 +69,11 @@ export const createRulesRoute = ( } } - const internalRule = convertCreateAPIToInternalSchema(request.body, siemClient); + const internalRule = convertCreateAPIToInternalSchema( + request.body, + siemClient, + isRuleRegistryEnabled + ); const mlAuthz = buildMlAuthz({ license: context.licensing.license, @@ -83,7 +87,7 @@ export const createRulesRoute = ( esClient.asCurrentUser, internalRule.params.outputIndex ); - if (!indexExists) { + if (!isRuleRegistryEnabled && !indexExists) { return siemResponse.error({ statusCode: 400, body: `To create a rule, the index must exist first. Index ${internalRule.params.outputIndex} does not exist`, @@ -107,14 +111,18 @@ export const createRulesRoute = ( ruleId: createdRule.id, spaceId: context.securitySolution.getSpaceId(), }); - const [validated, errors] = newTransformValidate(createdRule, ruleStatuses[0]); + const [validated, errors] = newTransformValidate( + createdRule, + ruleStatuses[0], + isRuleRegistryEnabled + ); if (errors != null) { return siemResponse.error({ statusCode: 500, body: errors }); } else { return response.ok({ body: validated ?? {} }); } } catch (err) { - const error = transformError(err); + const error = transformError(err as Error); return siemResponse.error({ body: error.message, statusCode: error.statusCode, diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/delete_rules_bulk_route.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/delete_rules_bulk_route.test.ts index 66feb3cae724f..7db5651de2c34 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/delete_rules_bulk_route.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/delete_rules_bulk_route.test.ts @@ -18,7 +18,10 @@ import { import { requestContextMock, serverMock, requestMock } from '../__mocks__'; import { deleteRulesBulkRoute } from './delete_rules_bulk_route'; -describe('delete_rules', () => { +describe.each([ + ['Legacy', false], + ['RAC', true], +])('delete_rules - %s', (_, isRuleRegistryEnabled) => { let server: ReturnType; let { clients, context } = requestContextMock.createTools(); @@ -26,11 +29,11 @@ describe('delete_rules', () => { server = serverMock.create(); ({ clients, context } = requestContextMock.createTools()); - clients.rulesClient.find.mockResolvedValue(getFindResultWithSingleHit()); // rule exists + clients.rulesClient.find.mockResolvedValue(getFindResultWithSingleHit(isRuleRegistryEnabled)); // rule exists clients.rulesClient.delete.mockResolvedValue({}); // successful deletion clients.savedObjectsClient.find.mockResolvedValue(getEmptySavedObjectsResponse()); // rule status request - deleteRulesBulkRoute(server.router); + deleteRulesBulkRoute(server.router, isRuleRegistryEnabled); }); describe('status codes with actionClient and alertClient', () => { diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/delete_rules_bulk_route.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/delete_rules_bulk_route.ts index 7a5b7121eb33b..6aecfff1178bc 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/delete_rules_bulk_route.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/delete_rules_bulk_route.ts @@ -6,6 +6,7 @@ */ import { validate } from '@kbn/securitysolution-io-ts-utils'; + import { queryRuleValidateTypeDependents } from '../../../../../common/detection_engine/schemas/request/query_rules_type_dependents'; import { buildRouteValidation } from '../../../../utils/build_validation/route_validation'; import { @@ -34,7 +35,10 @@ type Handler = RequestHandler< 'delete' | 'post' >; -export const deleteRulesBulkRoute = (router: SecuritySolutionPluginRouter) => { +export const deleteRulesBulkRoute = ( + router: SecuritySolutionPluginRouter, + isRuleRegistryEnabled: boolean +) => { const config: Config = { validate: { body: buildRouteValidation( @@ -71,7 +75,7 @@ export const deleteRulesBulkRoute = (router: SecuritySolutionPluginRouter) => { } try { - const rule = await readRules({ rulesClient, id, ruleId }); + const rule = await readRules({ rulesClient, id, ruleId, isRuleRegistryEnabled }); if (!rule) { return getIdBulkError({ id, ruleId }); } @@ -87,7 +91,12 @@ export const deleteRulesBulkRoute = (router: SecuritySolutionPluginRouter) => { ruleStatuses, id: rule.id, }); - return transformValidateBulkError(idOrRuleIdOrUnknown, rule, ruleStatuses); + return transformValidateBulkError( + idOrRuleIdOrUnknown, + rule, + ruleStatuses, + isRuleRegistryEnabled + ); } catch (err) { return transformBulkError(idOrRuleIdOrUnknown, err); } diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/delete_rules_route.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/delete_rules_route.test.ts index 5102cb32a4572..35b3ef3d9cf85 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/delete_rules_route.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/delete_rules_route.test.ts @@ -19,7 +19,10 @@ import { requestContextMock, serverMock, requestMock } from '../__mocks__'; import { deleteRulesRoute } from './delete_rules_route'; import { getQueryRuleParams } from '../../schemas/rule_schemas.mock'; -describe('delete_rules', () => { +describe.each([ + ['Legacy', false], + ['RAC', true], +])('delete_rules - %s', (_, isRuleRegistryEnabled) => { let server: ReturnType; let { clients, context } = requestContextMock.createTools(); @@ -27,11 +30,11 @@ describe('delete_rules', () => { server = serverMock.create(); ({ clients, context } = requestContextMock.createTools()); - clients.rulesClient.find.mockResolvedValue(getFindResultWithSingleHit()); + clients.rulesClient.find.mockResolvedValue(getFindResultWithSingleHit(isRuleRegistryEnabled)); clients.savedObjectsClient.find.mockResolvedValue(getEmptySavedObjectsResponse()); clients.ruleExecutionLogClient.find.mockResolvedValue(getRuleExecutionStatuses()); - deleteRulesRoute(server.router); + deleteRulesRoute(server.router, isRuleRegistryEnabled); }); describe('status codes with actionClient and alertClient', () => { @@ -42,7 +45,9 @@ describe('delete_rules', () => { }); test('returns 200 when deleting a single rule with a valid actionClient and alertClient by id', async () => { - clients.rulesClient.get.mockResolvedValue(getAlertMock(getQueryRuleParams())); + clients.rulesClient.get.mockResolvedValue( + getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()) + ); const response = await server.inject(getDeleteRequestById(), context); expect(response.status).toEqual(200); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/delete_rules_route.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/delete_rules_route.ts index 499f5c151c66c..77b8dd6fc5b54 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/delete_rules_route.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/delete_rules_route.ts @@ -6,7 +6,6 @@ */ import { transformError } from '@kbn/securitysolution-es-utils'; -import { IRuleDataClient } from '../../../../../../rule_registry/server'; import { queryRuleValidateTypeDependents } from '../../../../../common/detection_engine/schemas/request/query_rules_type_dependents'; import { queryRulesSchema, @@ -23,7 +22,7 @@ import { readRules } from '../../rules/read_rules'; export const deleteRulesRoute = ( router: SecuritySolutionPluginRouter, - ruleDataClient?: IRuleDataClient | null + isRuleRegistryEnabled: boolean ) => { router.delete( { @@ -54,7 +53,7 @@ export const deleteRulesRoute = ( } const ruleStatusClient = context.securitySolution.getExecutionLogClient(); - const rule = await readRules({ rulesClient, id, ruleId }); + const rule = await readRules({ isRuleRegistryEnabled, rulesClient, id, ruleId }); if (!rule) { const error = getIdError({ id, ruleId }); return siemResponse.error({ @@ -74,7 +73,7 @@ export const deleteRulesRoute = ( ruleStatuses, id: rule.id, }); - const transformed = transform(rule, ruleStatuses[0]); + const transformed = transform(rule, ruleStatuses[0], isRuleRegistryEnabled); if (transformed == null) { return siemResponse.error({ statusCode: 500, body: 'failed to transform alert' }); } else { diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/export_rules_route.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/export_rules_route.ts index 022118859aa0b..e4b99e63cb6c6 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/export_rules_route.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/export_rules_route.ts @@ -21,7 +21,11 @@ import { getExportByObjectIds } from '../../rules/get_export_by_object_ids'; import { getExportAll } from '../../rules/get_export_all'; import { buildSiemResponse } from '../utils'; -export const exportRulesRoute = (router: SecuritySolutionPluginRouter, config: ConfigType) => { +export const exportRulesRoute = ( + router: SecuritySolutionPluginRouter, + config: ConfigType, + isRuleRegistryEnabled: boolean +) => { router.post( { path: `${DETECTION_ENGINE_RULES_URL}/_export`, @@ -53,7 +57,10 @@ export const exportRulesRoute = (router: SecuritySolutionPluginRouter, config: C body: `Can't export more than ${exportSizeLimit} rules`, }); } else { - const nonPackagedRulesCount = await getNonPackagedRulesCount({ rulesClient }); + const nonPackagedRulesCount = await getNonPackagedRulesCount({ + isRuleRegistryEnabled, + rulesClient, + }); if (nonPackagedRulesCount > exportSizeLimit) { return siemResponse.error({ statusCode: 400, @@ -64,8 +71,8 @@ export const exportRulesRoute = (router: SecuritySolutionPluginRouter, config: C const exported = request.body?.objects != null - ? await getExportByObjectIds(rulesClient, request.body.objects) - : await getExportAll(rulesClient); + ? await getExportByObjectIds(rulesClient, request.body.objects, isRuleRegistryEnabled) + : await getExportAll(rulesClient, isRuleRegistryEnabled); const responseBody = request.query.exclude_export_details ? exported.rulesNdjson diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/find_rules_route.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/find_rules_route.test.ts index 301cf8518b838..d15d31dcd63e8 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/find_rules_route.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/find_rules_route.test.ts @@ -17,7 +17,10 @@ import { } from '../__mocks__/request_responses'; import { findRulesRoute } from './find_rules_route'; -describe('find_rules', () => { +describe.each([ + ['Legacy', false], + ['RAC', true], +])('find_rules - %s', (_, isRuleRegistryEnabled) => { let server: ReturnType; let { clients, context } = requestContextMock.createTools(); @@ -25,12 +28,14 @@ describe('find_rules', () => { server = serverMock.create(); ({ clients, context } = requestContextMock.createTools()); - clients.rulesClient.find.mockResolvedValue(getFindResultWithSingleHit()); - clients.rulesClient.get.mockResolvedValue(getAlertMock(getQueryRuleParams())); + clients.rulesClient.find.mockResolvedValue(getFindResultWithSingleHit(isRuleRegistryEnabled)); + clients.rulesClient.get.mockResolvedValue( + getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()) + ); clients.savedObjectsClient.find.mockResolvedValue(getEmptySavedObjectsResponse()); clients.ruleExecutionLogClient.findBulk.mockResolvedValue(getFindBulkResultStatus()); - findRulesRoute(server.router); + findRulesRoute(server.router, isRuleRegistryEnabled); }); describe('status codes with actionClient and alertClient', () => { diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/find_rules_route.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/find_rules_route.ts index ed39d42c38e4a..26e8d1107237b 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/find_rules_route.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/find_rules_route.ts @@ -6,7 +6,6 @@ */ import { transformError } from '@kbn/securitysolution-es-utils'; -import { IRuleDataClient } from '../../../../../../rule_registry/server'; import { findRuleValidateTypeDependents } from '../../../../../common/detection_engine/schemas/request/find_rules_type_dependents'; import { findRulesSchema, @@ -21,7 +20,7 @@ import { transformFindAlerts } from './utils'; export const findRulesRoute = ( router: SecuritySolutionPluginRouter, - ruleDataClient?: IRuleDataClient | null + isRuleRegistryEnabled: boolean ) => { router.get( { @@ -52,6 +51,7 @@ export const findRulesRoute = ( const execLogClient = context.securitySolution.getExecutionLogClient(); const rules = await findRules({ + isRuleRegistryEnabled, rulesClient, perPage: query.per_page, page: query.page, diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/find_rules_status_route.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/find_rules_status_route.test.ts index d9b6f4dd0f10c..053e0b7178de5 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/find_rules_status_route.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/find_rules_status_route.test.ts @@ -17,7 +17,10 @@ import { RuleStatusResponse } from '../../rules/types'; import { AlertExecutionStatusErrorReasons } from '../../../../../../alerting/common'; import { getQueryRuleParams } from '../../schemas/rule_schemas.mock'; -describe('find_statuses', () => { +describe.each([ + ['Legacy', false], + ['RAC', true], +])('find_statuses - %s', (_, isRuleRegistryEnabled) => { let server: ReturnType; let { clients, context } = requestContextMock.createTools(); @@ -25,7 +28,9 @@ describe('find_statuses', () => { server = serverMock.create(); ({ clients, context } = requestContextMock.createTools()); clients.ruleExecutionLogClient.findBulk.mockResolvedValue(getFindBulkResultStatus()); // successful status search - clients.rulesClient.get.mockResolvedValue(getAlertMock(getQueryRuleParams())); + clients.rulesClient.get.mockResolvedValue( + getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()) + ); findRulesStatusesRoute(server.router); }); @@ -57,7 +62,7 @@ describe('find_statuses', () => { test('returns success if rule status client writes an error status', async () => { // 0. task manager tried to run the rule but couldn't, so the alerting framework // wrote an error to the executionStatus. - const failingExecutionRule = getAlertMock(getQueryRuleParams()); + const failingExecutionRule = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); failingExecutionRule.executionStatus = { status: 'error', lastExecutionDate: failingExecutionRule.executionStatus.lastExecutionDate, diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/get_prepackaged_rules_status_route.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/get_prepackaged_rules_status_route.test.ts index 61c618dc4d5e6..1b171f693d80b 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/get_prepackaged_rules_status_route.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/get_prepackaged_rules_status_route.test.ts @@ -51,7 +51,10 @@ jest.mock('../../../timeline/utils/check_timelines_status', () => { }; }); -describe('get_prepackaged_rule_status_route', () => { +describe.each([ + ['Legacy', false], + ['RAC', true], +])('get_prepackaged_rule_status_route - %s', (_, isRuleRegistryEnabled) => { const mockGetCurrentUser = { user: { username: 'mockUser', @@ -63,6 +66,7 @@ describe('get_prepackaged_rule_status_route', () => { let securitySetup: SecurityPluginSetup; beforeEach(() => { + jest.clearAllMocks(); server = serverMock.create(); ({ clients, context } = requestContextMock.createTools()); @@ -75,7 +79,18 @@ describe('get_prepackaged_rule_status_route', () => { clients.rulesClient.find.mockResolvedValue(getEmptyFindResult()); - getPrepackagedRulesStatusRoute(server.router, createMockConfig(), securitySetup); + (checkTimelinesStatus as jest.Mock).mockResolvedValue({ + timelinesToInstall: [], + timelinesToUpdate: [], + prepackagedTimelines: [], + }); + + getPrepackagedRulesStatusRoute( + server.router, + createMockConfig(), + securitySetup, + isRuleRegistryEnabled + ); }); describe('status codes with actionClient and alertClient', () => { @@ -123,7 +138,7 @@ describe('get_prepackaged_rule_status_route', () => { }); test('1 rule installed, 1 custom rules, 0 rules not installed, and 1 rule to not updated', async () => { - clients.rulesClient.find.mockResolvedValue(getFindResultWithSingleHit()); + clients.rulesClient.find.mockResolvedValue(getFindResultWithSingleHit(isRuleRegistryEnabled)); const request = getPrepackagedRulesStatusRequest(); const response = await server.inject(request, context); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/get_prepackaged_rules_status_route.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/get_prepackaged_rules_status_route.ts index 38c315462bf55..9a06928eee233 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/get_prepackaged_rules_status_route.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/get_prepackaged_rules_status_route.ts @@ -32,7 +32,8 @@ import { export const getPrepackagedRulesStatusRoute = ( router: SecuritySolutionPluginRouter, config: ConfigType, - security: SetupPlugins['security'] + security: SetupPlugins['security'], + isRuleRegistryEnabled: boolean ) => { router.get( { @@ -59,6 +60,7 @@ export const getPrepackagedRulesStatusRoute = ( config.prebuiltRulesFromSavedObjects ); const customRules = await findRules({ + isRuleRegistryEnabled, rulesClient, perPage: 1, page: 1, @@ -68,7 +70,10 @@ export const getPrepackagedRulesStatusRoute = ( fields: undefined, }); const frameworkRequest = await buildFrameworkRequest(context, security, request); - const prepackagedRules = await getExistingPrepackagedRules({ rulesClient }); + const prepackagedRules = await getExistingPrepackagedRules({ + rulesClient, + isRuleRegistryEnabled, + }); const rulesToInstall = getRulesToInstall(latestPrepackagedRules, prepackagedRules); const rulesToUpdate = getRulesToUpdate(latestPrepackagedRules, prepackagedRules); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/import_rules_route.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/import_rules_route.test.ts index cd572894f551e..bf29dbe870153 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/import_rules_route.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/import_rules_route.test.ts @@ -29,7 +29,10 @@ import { getQueryRuleParams } from '../../schemas/rule_schemas.mock'; jest.mock('../../../machine_learning/authz', () => mockMlAuthzFactory.create()); -describe('import_rules_route', () => { +describe.each([ + ['Legacy', false], + ['RAC', true], +])('import_rules_route - %s', (_, isRuleRegistryEnabled) => { let config: ReturnType; let server: ReturnType; let request: ReturnType; @@ -45,11 +48,13 @@ describe('import_rules_route', () => { ml = mlServicesMock.createSetupContract(); clients.rulesClient.find.mockResolvedValue(getEmptyFindResult()); // no extant rules - clients.rulesClient.update.mockResolvedValue(getAlertMock(getQueryRuleParams())); + clients.rulesClient.update.mockResolvedValue( + getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()) + ); context.core.elasticsearch.client.asCurrentUser.search.mockResolvedValue( elasticsearchClientMock.createSuccessTransportRequestPromise({ _shards: { total: 1 } }) ); - importRulesRoute(server.router, config, ml); + importRulesRoute(server.router, config, ml, isRuleRegistryEnabled); }); describe('status codes', () => { @@ -60,7 +65,7 @@ describe('import_rules_route', () => { }); test('returns 500 if more than 10,000 rules are imported', async () => { - const ruleIds = new Array(10001).fill(undefined).map((_, index) => `rule-${index}`); + const ruleIds = new Array(10001).fill(undefined).map((__, index) => `rule-${index}`); const multiRequest = getImportRulesRequest(buildHapiStream(ruleIdsToNdJsonString(ruleIds))); const response = await server.inject(multiRequest, context); @@ -125,18 +130,20 @@ describe('import_rules_route', () => { transformMock.mockRestore(); }); - test('returns an error if the index does not exist', async () => { + test('returns an error if the index does not exist when rule registry not enabled', async () => { clients.appClient.getSignalsIndex.mockReturnValue('mockSignalsIndex'); context.core.elasticsearch.client.asCurrentUser.search.mockResolvedValueOnce( elasticsearchClientMock.createSuccessTransportRequestPromise({ _shards: { total: 0 } }) ); const response = await server.inject(request, context); - expect(response.status).toEqual(400); - expect(response.body).toEqual({ - message: - 'To create a rule, the index must exist first. Index mockSignalsIndex does not exist', - status_code: 400, - }); + expect(response.status).toEqual(isRuleRegistryEnabled ? 200 : 400); + if (!isRuleRegistryEnabled) { + expect(response.body).toEqual({ + message: + 'To create a rule, the index must exist first. Index mockSignalsIndex does not exist', + status_code: 400, + }); + } }); test('returns an error when cluster throws error', async () => { @@ -166,7 +173,9 @@ describe('import_rules_route', () => { describe('single rule import', () => { test('returns 200 if rule imported successfully', async () => { - clients.rulesClient.create.mockResolvedValue(getAlertMock(getQueryRuleParams())); + clients.rulesClient.create.mockResolvedValue( + getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()) + ); const response = await server.inject(request, context); expect(response.status).toEqual(200); expect(response.body).toEqual({ @@ -199,7 +208,9 @@ describe('import_rules_route', () => { describe('rule with existing rule_id', () => { test('returns with reported conflict if `overwrite` is set to `false`', async () => { - clients.rulesClient.find.mockResolvedValue(getFindResultWithSingleHit()); // extant rule + clients.rulesClient.find.mockResolvedValue( + getFindResultWithSingleHit(isRuleRegistryEnabled) + ); // extant rule const response = await server.inject(request, context); expect(response.status).toEqual(200); @@ -219,7 +230,9 @@ describe('import_rules_route', () => { }); test('returns with NO reported conflict if `overwrite` is set to `true`', async () => { - clients.rulesClient.find.mockResolvedValue(getFindResultWithSingleHit()); // extant rule + clients.rulesClient.find.mockResolvedValue( + getFindResultWithSingleHit(isRuleRegistryEnabled) + ); // extant rule const overwriteRequest = getImportRulesRequestOverwriteTrue( buildHapiStream(ruleIdsToNdJsonString(['rule-1'])) ); @@ -251,7 +264,7 @@ describe('import_rules_route', () => { }); test('returns 200 if many rules are imported successfully', async () => { - const ruleIds = new Array(9999).fill(undefined).map((_, index) => `rule-${index}`); + const ruleIds = new Array(9999).fill(undefined).map((__, index) => `rule-${index}`); const multiRequest = getImportRulesRequest(buildHapiStream(ruleIdsToNdJsonString(ruleIds))); const response = await server.inject(multiRequest, context); @@ -339,7 +352,9 @@ describe('import_rules_route', () => { describe('rules with existing rule_id', () => { beforeEach(() => { - clients.rulesClient.find.mockResolvedValueOnce(getFindResultWithSingleHit()); // extant rule + clients.rulesClient.find.mockResolvedValueOnce( + getFindResultWithSingleHit(isRuleRegistryEnabled) + ); // extant rule }); test('returns with reported conflict if `overwrite` is set to `false`', async () => { diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/import_rules_route.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/import_rules_route.ts index d3193900859fa..8269fe8b36132 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/import_rules_route.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/import_rules_route.ts @@ -53,7 +53,8 @@ const CHUNK_PARSED_OBJECT_SIZE = 50; export const importRulesRoute = ( router: SecuritySolutionPluginRouter, config: ConfigType, - ml: SetupPlugins['ml'] + ml: SetupPlugins['ml'], + isRuleRegistryEnabled: boolean ) => { router.post( { @@ -103,7 +104,7 @@ export const importRulesRoute = ( } const signalsIndex = siemClient.getSignalsIndex(); const indexExists = await getIndexExists(esClient.asCurrentUser, signalsIndex); - if (!indexExists) { + if (!isRuleRegistryEnabled && !indexExists) { return siemResponse.error({ statusCode: 400, body: `To create a rule, the index must exist first. Index ${signalsIndex} does not exist`, @@ -205,6 +206,7 @@ export const importRulesRoute = ( const filters: PartialFilter[] | undefined = filtersRest as PartialFilter[]; throwHttpError(await mlAuthz.validateRuleType(type)); const rule = await readRules({ + isRuleRegistryEnabled, rulesClient, ruleId, id: undefined, @@ -212,6 +214,7 @@ export const importRulesRoute = ( if (rule == null) { await createRules({ + isRuleRegistryEnabled, rulesClient, anomalyThreshold, author, diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/patch_rules_bulk_route.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/patch_rules_bulk_route.test.ts index 31f805c563f76..2c3db023dccc4 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/patch_rules_bulk_route.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/patch_rules_bulk_route.test.ts @@ -22,7 +22,10 @@ import { getQueryRuleParams } from '../../schemas/rule_schemas.mock'; jest.mock('../../../machine_learning/authz', () => mockMlAuthzFactory.create()); -describe('patch_rules_bulk', () => { +describe.each([ + ['Legacy', false], + ['RAC', true], +])('patch_rules_bulk - %s', (_, isRuleRegistryEnabled) => { let server: ReturnType; let { clients, context } = requestContextMock.createTools(); let ml: ReturnType; @@ -32,10 +35,12 @@ describe('patch_rules_bulk', () => { ({ clients, context } = requestContextMock.createTools()); ml = mlServicesMock.createSetupContract(); - clients.rulesClient.find.mockResolvedValue(getFindResultWithSingleHit()); // rule exists - clients.rulesClient.update.mockResolvedValue(getAlertMock(getQueryRuleParams())); // update succeeds + clients.rulesClient.find.mockResolvedValue(getFindResultWithSingleHit(isRuleRegistryEnabled)); // rule exists + clients.rulesClient.update.mockResolvedValue( + getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()) + ); // update succeeds - patchRulesBulkRoute(server.router, ml); + patchRulesBulkRoute(server.router, ml, isRuleRegistryEnabled); }); describe('status codes with actionClient and alertClient', () => { diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/patch_rules_bulk_route.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/patch_rules_bulk_route.ts index 3aaa82ea56f3f..67d68221d846f 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/patch_rules_bulk_route.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/patch_rules_bulk_route.ts @@ -27,7 +27,8 @@ import { PartialFilter } from '../../types'; export const patchRulesBulkRoute = ( router: SecuritySolutionPluginRouter, - ml: SetupPlugins['ml'] + ml: SetupPlugins['ml'], + isRuleRegistryEnabled: boolean ) => { router.patch( { @@ -121,7 +122,12 @@ export const patchRulesBulkRoute = ( throwHttpError(await mlAuthz.validateRuleType(type)); } - const existingRule = await readRules({ rulesClient, ruleId, id }); + const existingRule = await readRules({ + isRuleRegistryEnabled, + rulesClient, + ruleId, + id, + }); if (existingRule?.params.type) { // reject an unauthorized modification of an ML rule throwHttpError(await mlAuthz.validateRuleType(existingRule?.params.type)); @@ -185,7 +191,7 @@ export const patchRulesBulkRoute = ( ruleId: rule.id, spaceId: context.securitySolution.getSpaceId(), }); - return transformValidateBulkError(rule.id, rule, ruleStatuses); + return transformValidateBulkError(rule.id, rule, ruleStatuses, isRuleRegistryEnabled); } else { return getIdBulkError({ id, ruleId }); } diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/patch_rules_route.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/patch_rules_route.test.ts index 16d65d6482d21..97773c45ce0d9 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/patch_rules_route.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/patch_rules_route.test.ts @@ -25,7 +25,10 @@ import { getQueryRuleParams } from '../../schemas/rule_schemas.mock'; jest.mock('../../../machine_learning/authz', () => mockMlAuthzFactory.create()); -describe('patch_rules', () => { +describe.each([ + ['Legacy', false], + ['RAC', true], +])('patch_rules - %s', (_, isRuleRegistryEnabled) => { let server: ReturnType; let { clients, context } = requestContextMock.createTools(); let ml: ReturnType; @@ -35,14 +38,18 @@ describe('patch_rules', () => { ({ clients, context } = requestContextMock.createTools()); ml = mlServicesMock.createSetupContract(); - clients.rulesClient.get.mockResolvedValue(getAlertMock(getQueryRuleParams())); // existing rule - clients.rulesClient.find.mockResolvedValue(getFindResultWithSingleHit()); // existing rule - clients.rulesClient.update.mockResolvedValue(getAlertMock(getQueryRuleParams())); // successful update + clients.rulesClient.get.mockResolvedValue( + getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()) + ); // existing rule + clients.rulesClient.find.mockResolvedValue(getFindResultWithSingleHit(isRuleRegistryEnabled)); // existing rule + clients.rulesClient.update.mockResolvedValue( + getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()) + ); // successful update clients.savedObjectsClient.find.mockResolvedValue(getEmptySavedObjectsResponse()); // successful transform clients.savedObjectsClient.create.mockResolvedValue(getRuleExecutionStatuses()[0]); // successful transform clients.ruleExecutionLogClient.find.mockResolvedValue(getRuleExecutionStatuses()); - patchRulesRoute(server.router, ml); + patchRulesRoute(server.router, ml, isRuleRegistryEnabled); }); describe('status codes with actionClient and alertClient', () => { @@ -69,7 +76,7 @@ describe('patch_rules', () => { }); test('returns error if requesting a non-rule', async () => { - clients.rulesClient.find.mockResolvedValue(nonRuleFindResult()); + clients.rulesClient.find.mockResolvedValue(nonRuleFindResult(isRuleRegistryEnabled)); const response = await server.inject(getPatchRequest(), context); expect(response.status).toEqual(404); expect(response.body).toEqual({ diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/patch_rules_route.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/patch_rules_route.ts index b564262b4a5c7..cf140f22289de 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/patch_rules_route.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/patch_rules_route.ts @@ -6,7 +6,6 @@ */ import { transformError } from '@kbn/securitysolution-es-utils'; -import { IRuleDataClient } from '../../../../../../rule_registry/server'; import { RuleAlertAction } from '../../../../../common/detection_engine/types'; import { patchRuleValidateTypeDependents } from '../../../../../common/detection_engine/schemas/request/patch_rules_type_dependents'; import { buildRouteValidation } from '../../../../utils/build_validation/route_validation'; @@ -30,7 +29,7 @@ import { PartialFilter } from '../../types'; export const patchRulesRoute = ( router: SecuritySolutionPluginRouter, ml: SetupPlugins['ml'], - ruleDataClient?: IRuleDataClient | null + isRuleRegistryEnabled: boolean ) => { router.patch( { @@ -124,7 +123,12 @@ export const patchRulesRoute = ( throwHttpError(await mlAuthz.validateRuleType(type)); } - const existingRule = await readRules({ rulesClient, ruleId, id }); + const existingRule = await readRules({ + isRuleRegistryEnabled, + rulesClient, + ruleId, + id, + }); if (existingRule?.params.type) { // reject an unauthorized modification of an ML rule throwHttpError(await mlAuthz.validateRuleType(existingRule?.params.type)); @@ -189,7 +193,11 @@ export const patchRulesRoute = ( spaceId: context.securitySolution.getSpaceId(), }); - const [validated, errors] = transformValidate(rule, ruleStatuses[0]); + const [validated, errors] = transformValidate( + rule, + ruleStatuses[0], + isRuleRegistryEnabled + ); if (errors != null) { return siemResponse.error({ statusCode: 500, body: errors }); } else { diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/perform_bulk_action_route.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/perform_bulk_action_route.test.ts index f8b3b834af857..ebc86acc964e6 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/perform_bulk_action_route.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/perform_bulk_action_route.test.ts @@ -20,7 +20,10 @@ import { getPerformBulkActionSchemaMock } from '../../../../../common/detection_ jest.mock('../../../machine_learning/authz', () => mockMlAuthzFactory.create()); -describe('perform_bulk_action', () => { +describe.each([ + ['Legacy', false], + ['RAC', true], +])('perform_bulk_action - %s', (_, isRuleRegistryEnabled) => { let server: ReturnType; let { clients, context } = requestContextMock.createTools(); let ml: ReturnType; @@ -30,9 +33,9 @@ describe('perform_bulk_action', () => { ({ clients, context } = requestContextMock.createTools()); ml = mlServicesMock.createSetupContract(); - clients.rulesClient.find.mockResolvedValue(getFindResultWithSingleHit()); + clients.rulesClient.find.mockResolvedValue(getFindResultWithSingleHit(isRuleRegistryEnabled)); - performBulkActionRoute(server.router, ml); + performBulkActionRoute(server.router, ml, isRuleRegistryEnabled); }); describe('status codes', () => { diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/perform_bulk_action_route.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/perform_bulk_action_route.ts index 70198d081ebfa..0eba5af4e063a 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/perform_bulk_action_route.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/perform_bulk_action_route.ts @@ -25,7 +25,8 @@ const BULK_ACTION_RULES_LIMIT = 10000; export const performBulkActionRoute = ( router: SecuritySolutionPluginRouter, - ml: SetupPlugins['ml'] + ml: SetupPlugins['ml'], + isRuleRegistryEnabled: boolean ) => { router.post( { @@ -58,6 +59,7 @@ export const performBulkActionRoute = ( } const rules = await findRules({ + isRuleRegistryEnabled, rulesClient, perPage: BULK_ACTION_RULES_LIMIT, filter: body.query !== '' ? body.query : undefined, @@ -131,7 +133,8 @@ export const performBulkActionRoute = ( case BulkAction.export: const exported = await getExportByObjectIds( rulesClient, - rules.data.map(({ params }) => ({ rule_id: params.ruleId })) + rules.data.map(({ params }) => ({ rule_id: params.ruleId })), + isRuleRegistryEnabled ); const responseBody = `${exported.rulesNdjson}${exported.exportDetails}`; diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/read_rules_route.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/read_rules_route.test.ts index 586ff027425f8..057cbf4c12966 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/read_rules_route.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/read_rules_route.test.ts @@ -16,7 +16,10 @@ import { } from '../__mocks__/request_responses'; import { requestMock, requestContextMock, serverMock } from '../__mocks__'; -describe('read_signals', () => { +describe.each([ + ['Legacy', false], + ['RAC', true], +])('read_rules - %s', (_, isRuleRegistryEnabled) => { let server: ReturnType; let { clients, context } = requestContextMock.createTools(); @@ -24,11 +27,11 @@ describe('read_signals', () => { server = serverMock.create(); ({ clients, context } = requestContextMock.createTools()); - clients.rulesClient.find.mockResolvedValue(getFindResultWithSingleHit()); // rule exists + clients.rulesClient.find.mockResolvedValue(getFindResultWithSingleHit(isRuleRegistryEnabled)); // rule exists clients.savedObjectsClient.find.mockResolvedValue(getEmptySavedObjectsResponse()); // successful transform clients.ruleExecutionLogClient.find.mockResolvedValue([]); - readRulesRoute(server.router); + readRulesRoute(server.router, isRuleRegistryEnabled); }); describe('status codes with actionClient and alertClient', () => { @@ -45,7 +48,7 @@ describe('read_signals', () => { }); test('returns error if requesting a non-rule', async () => { - clients.rulesClient.find.mockResolvedValue(nonRuleFindResult()); + clients.rulesClient.find.mockResolvedValue(nonRuleFindResult(isRuleRegistryEnabled)); const response = await server.inject(getReadRequest(), context); expect(response.status).toEqual(404); expect(response.body).toEqual({ diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/read_rules_route.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/read_rules_route.ts index 7aef65e7918b2..5672648190653 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/read_rules_route.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/read_rules_route.ts @@ -6,7 +6,6 @@ */ import { transformError } from '@kbn/securitysolution-es-utils'; -import { IRuleDataClient } from '../../../../../../rule_registry/server'; import { queryRuleValidateTypeDependents } from '../../../../../common/detection_engine/schemas/request/query_rules_type_dependents'; import { queryRulesSchema, @@ -23,7 +22,7 @@ import { RuleExecutionStatus } from '../../../../../common/detection_engine/sche export const readRulesRoute = ( router: SecuritySolutionPluginRouter, - ruleDataClient?: IRuleDataClient | null + isRuleRegistryEnabled: boolean ) => { router.get( { @@ -55,8 +54,9 @@ export const readRulesRoute = ( const ruleStatusClient = context.securitySolution.getExecutionLogClient(); const rule = await readRules({ - rulesClient, id, + isRuleRegistryEnabled, + rulesClient, ruleId, }); if (rule != null) { @@ -72,7 +72,7 @@ export const readRulesRoute = ( currentStatus.attributes.statusDate = rule.executionStatus.lastExecutionDate.toISOString(); currentStatus.attributes.status = RuleExecutionStatus.failed; } - const transformed = transform(rule, currentStatus); + const transformed = transform(rule, currentStatus, isRuleRegistryEnabled); if (transformed == null) { return siemResponse.error({ statusCode: 500, body: 'Internal error transforming' }); } else { diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/update_rules_bulk_route.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/update_rules_bulk_route.test.ts index eeb8b3caf6df5..746a40dfa8dc2 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/update_rules_bulk_route.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/update_rules_bulk_route.test.ts @@ -23,7 +23,10 @@ import { getQueryRuleParams } from '../../schemas/rule_schemas.mock'; jest.mock('../../../machine_learning/authz', () => mockMlAuthzFactory.create()); -describe('update_rules_bulk', () => { +describe.each([ + ['Legacy', false], + ['RAC', true], +])('update_rules_bulk - %s', (_, isRuleRegistryEnabled) => { let server: ReturnType; let { clients, context } = requestContextMock.createTools(); let ml: ReturnType; @@ -33,10 +36,12 @@ describe('update_rules_bulk', () => { ({ clients, context } = requestContextMock.createTools()); ml = mlServicesMock.createSetupContract(); - clients.rulesClient.find.mockResolvedValue(getFindResultWithSingleHit()); - clients.rulesClient.update.mockResolvedValue(getAlertMock(getQueryRuleParams())); + clients.rulesClient.find.mockResolvedValue(getFindResultWithSingleHit(isRuleRegistryEnabled)); + clients.rulesClient.update.mockResolvedValue( + getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()) + ); - updateRulesBulkRoute(server.router, ml); + updateRulesBulkRoute(server.router, ml, isRuleRegistryEnabled); }); describe('status codes with actionClient and alertClient', () => { diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/update_rules_bulk_route.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/update_rules_bulk_route.ts index 389c49d3cff4e..6138690070b62 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/update_rules_bulk_route.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/update_rules_bulk_route.ts @@ -22,7 +22,8 @@ import { updateRules } from '../../rules/update_rules'; export const updateRulesBulkRoute = ( router: SecuritySolutionPluginRouter, - ml: SetupPlugins['ml'] + ml: SetupPlugins['ml'], + isRuleRegistryEnabled: boolean ) => { router.put( { @@ -74,6 +75,7 @@ export const updateRulesBulkRoute = ( ruleStatusClient, defaultOutputIndex: siemClient.getSignalsIndex(), ruleUpdate: payloadRule, + isRuleRegistryEnabled, }); if (rule != null) { const ruleStatuses = await ruleStatusClient.find({ @@ -81,7 +83,7 @@ export const updateRulesBulkRoute = ( ruleId: rule.id, spaceId: context.securitySolution.getSpaceId(), }); - return transformValidateBulkError(rule.id, rule, ruleStatuses); + return transformValidateBulkError(rule.id, rule, ruleStatuses, isRuleRegistryEnabled); } else { return getIdBulkError({ id: payloadRule.id, ruleId: payloadRule.rule_id }); } diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/update_rules_route.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/update_rules_route.test.ts index db0054088137c..5b3e2737418c2 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/update_rules_route.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/update_rules_route.test.ts @@ -23,7 +23,10 @@ import { getQueryRuleParams } from '../../schemas/rule_schemas.mock'; jest.mock('../../../machine_learning/authz', () => mockMlAuthzFactory.create()); -describe('update_rules', () => { +describe.each([ + ['Legacy', false], + ['RAC', true], +])('update_rules - %s', (_, isRuleRegistryEnabled) => { let server: ReturnType; let { clients, context } = requestContextMock.createTools(); let ml: ReturnType; @@ -33,12 +36,16 @@ describe('update_rules', () => { ({ clients, context } = requestContextMock.createTools()); ml = mlServicesMock.createSetupContract(); - clients.rulesClient.get.mockResolvedValue(getAlertMock(getQueryRuleParams())); // existing rule - clients.rulesClient.find.mockResolvedValue(getFindResultWithSingleHit()); // rule exists - clients.rulesClient.update.mockResolvedValue(getAlertMock(getQueryRuleParams())); // successful update + clients.rulesClient.get.mockResolvedValue( + getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()) + ); // existing rule + clients.rulesClient.find.mockResolvedValue(getFindResultWithSingleHit(isRuleRegistryEnabled)); // rule exists + clients.rulesClient.update.mockResolvedValue( + getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()) + ); // successful update clients.ruleExecutionLogClient.find.mockResolvedValue([]); // successful transform: ; - updateRulesRoute(server.router, ml); + updateRulesRoute(server.router, ml, isRuleRegistryEnabled); }); describe('status codes with actionClient and alertClient', () => { @@ -75,7 +82,7 @@ describe('update_rules', () => { }); test('returns error when updating non-rule', async () => { - clients.rulesClient.find.mockResolvedValue(nonRuleFindResult()); + clients.rulesClient.find.mockResolvedValue(nonRuleFindResult(isRuleRegistryEnabled)); const response = await server.inject(getUpdateRequest(), context); expect(response.status).toEqual(404); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/update_rules_route.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/update_rules_route.ts index ecf61bec2b20a..7cfe83093a549 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/update_rules_route.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/update_rules_route.ts @@ -6,7 +6,6 @@ */ import { transformError } from '@kbn/securitysolution-es-utils'; -import { IRuleDataClient } from '../../../../../../rule_registry/server'; import { updateRulesSchema } from '../../../../../common/detection_engine/schemas/request'; import { updateRuleValidateTypeDependents } from '../../../../../common/detection_engine/schemas/request/update_rules_type_dependents'; import type { SecuritySolutionPluginRouter } from '../../../../types'; @@ -24,7 +23,7 @@ import { buildRouteValidation } from '../../../../utils/build_validation/route_v export const updateRulesRoute = ( router: SecuritySolutionPluginRouter, ml: SetupPlugins['ml'], - ruleDataClient?: IRuleDataClient | null + isRuleRegistryEnabled: boolean ) => { router.put( { @@ -61,11 +60,12 @@ export const updateRulesRoute = ( const ruleStatusClient = context.securitySolution.getExecutionLogClient(); const rule = await updateRules({ - spaceId: context.securitySolution.getSpaceId(), + defaultOutputIndex: siemClient.getSignalsIndex(), + isRuleRegistryEnabled, rulesClient, ruleStatusClient, - defaultOutputIndex: siemClient.getSignalsIndex(), ruleUpdate: request.body, + spaceId: context.securitySolution.getSpaceId(), }); if (rule != null) { @@ -74,7 +74,11 @@ export const updateRulesRoute = ( ruleId: rule.id, spaceId: context.securitySolution.getSpaceId(), }); - const [validated, errors] = transformValidate(rule, ruleStatuses[0]); + const [validated, errors] = transformValidate( + rule, + ruleStatuses[0], + isRuleRegistryEnabled + ); if (errors != null) { return siemResponse.error({ statusCode: 500, body: errors }); } else { diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/utils.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/utils.test.ts index 0018a37016980..f07a63b690a2d 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/utils.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/utils.test.ts @@ -41,16 +41,19 @@ import { type PromiseFromStreams = ImportRulesSchemaDecoded | Error; -describe('utils', () => { +describe.each([ + ['Legacy', false], + ['RAC', true], +])('utils - %s', (_, isRuleRegistryEnabled) => { describe('transformAlertToRule', () => { test('should work with a full data set', () => { - const fullRule = getAlertMock(getQueryRuleParams()); + const fullRule = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); const rule = transformAlertToRule(fullRule); expect(rule).toEqual(getOutputRuleAlertForRest()); }); test('should omit note if note is undefined', () => { - const fullRule = getAlertMock(getQueryRuleParams()); + const fullRule = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); fullRule.params.note = undefined; const rule = transformAlertToRule(fullRule); const { note, ...expectedWithoutNote } = getOutputRuleAlertForRest(); @@ -58,7 +61,7 @@ describe('utils', () => { }); test('should return enabled is equal to false', () => { - const fullRule = getAlertMock(getQueryRuleParams()); + const fullRule = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); fullRule.enabled = false; const ruleWithEnabledFalse = transformAlertToRule(fullRule); const expected = getOutputRuleAlertForRest(); @@ -67,7 +70,7 @@ describe('utils', () => { }); test('should return immutable is equal to false', () => { - const fullRule = getAlertMock(getQueryRuleParams()); + const fullRule = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); fullRule.params.immutable = false; const ruleWithEnabledFalse = transformAlertToRule(fullRule); const expected = getOutputRuleAlertForRest(); @@ -75,7 +78,7 @@ describe('utils', () => { }); test('should work with tags but filter out any internal tags', () => { - const fullRule = getAlertMock(getQueryRuleParams()); + const fullRule = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); fullRule.tags = ['tag 1', 'tag 2', `${INTERNAL_IDENTIFIER}_some_other_value`]; const rule = transformAlertToRule(fullRule); const expected = getOutputRuleAlertForRest(); @@ -84,7 +87,7 @@ describe('utils', () => { }); test('transforms ML Rule fields', () => { - const mlRule = getAlertMock(getMlRuleParams()); + const mlRule = getAlertMock(isRuleRegistryEnabled, getMlRuleParams()); mlRule.params.anomalyThreshold = 55; mlRule.params.machineLearningJobId = ['some_job_id']; mlRule.params.type = 'machine_learning'; @@ -100,7 +103,7 @@ describe('utils', () => { }); test('transforms threat_matching fields', () => { - const threatRule = getAlertMock(getThreatRuleParams()); + const threatRule = getAlertMock(isRuleRegistryEnabled, getThreatRuleParams()); const threatFilters: PartialFilter[] = [ { query: { @@ -153,7 +156,7 @@ describe('utils', () => { test('does not leak a lists structure in the transform which would cause validation issues', () => { const result: RuleAlertType & { lists: [] } = { lists: [], - ...getAlertMock(getQueryRuleParams()), + ...getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()), }; const rule = transformAlertToRule(result); expect(rule).toEqual( @@ -168,7 +171,7 @@ describe('utils', () => { test('does not leak an exceptions_list structure in the transform which would cause validation issues', () => { const result: RuleAlertType & { exceptions_list: [] } = { exceptions_list: [], - ...getAlertMock(getQueryRuleParams()), + ...getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()), }; const rule = transformAlertToRule(result); expect(rule).toEqual( @@ -265,7 +268,7 @@ describe('utils', () => { page: 1, perPage: 0, total: 0, - data: [getAlertMock(getQueryRuleParams())], + data: [getAlertMock(isRuleRegistryEnabled, getQueryRuleParams())], }, {} ); @@ -281,14 +284,18 @@ describe('utils', () => { describe('transform', () => { test('outputs 200 if the data is of type siem alert', () => { - const output = transform(getAlertMock(getQueryRuleParams())); + const output = transform( + getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()), + undefined, + isRuleRegistryEnabled + ); const expected = getOutputRuleAlertForRest(); expect(output).toEqual(expected); }); test('returns 500 if the data is not of type siem alert', () => { const unsafeCast = ({ data: [{ random: 1 }] } as unknown) as PartialAlert; - const output = transform(unsafeCast); + const output = transform(unsafeCast, undefined, isRuleRegistryEnabled); expect(output).toBeNull(); }); }); @@ -396,24 +403,34 @@ describe('utils', () => { describe('transformOrBulkError', () => { test('outputs 200 if the data is of type siem alert', () => { - const output = transformOrBulkError('rule-1', getAlertMock(getQueryRuleParams()), { - id: '04128c15-0d1b-4716-a4c5-46997ac7f3bd', - actions: [], - ruleThrottle: 'no_actions', - alertThrottle: null, - }); + const output = transformOrBulkError( + 'rule-1', + getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()), + { + id: '04128c15-0d1b-4716-a4c5-46997ac7f3bd', + actions: [], + ruleThrottle: 'no_actions', + alertThrottle: null, + }, + isRuleRegistryEnabled + ); const expected = getOutputRuleAlertForRest(); expect(output).toEqual(expected); }); test('returns 500 if the data is not of type siem alert', () => { const unsafeCast = ({ name: 'something else' } as unknown) as PartialAlert; - const output = transformOrBulkError('rule-1', unsafeCast, { - id: '04128c15-0d1b-4716-a4c5-46997ac7f3bd', - actions: [], - ruleThrottle: 'no_actions', - alertThrottle: null, - }); + const output = transformOrBulkError( + 'rule-1', + unsafeCast, + { + id: '04128c15-0d1b-4716-a4c5-46997ac7f3bd', + actions: [], + ruleThrottle: 'no_actions', + alertThrottle: null, + }, + isRuleRegistryEnabled + ); const expected: BulkError = { rule_id: 'rule-1', error: { message: 'Internal error transforming', status_code: 500 }, @@ -428,15 +445,15 @@ describe('utils', () => { }); test('given single alert will return the alert transformed', () => { - const result1 = getAlertMock(getQueryRuleParams()); + const result1 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); const transformed = transformAlertsToRules([result1]); const expected = getOutputRuleAlertForRest(); expect(transformed).toEqual([expected]); }); test('given two alerts will return the two alerts transformed', () => { - const result1 = getAlertMock(getQueryRuleParams()); - const result2 = getAlertMock(getQueryRuleParams()); + const result1 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); + const result2 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); result2.id = 'some other id'; result2.params.ruleId = 'some other id'; @@ -451,11 +468,16 @@ describe('utils', () => { describe('transformOrImportError', () => { test('returns 1 given success if the alert is an alert type and the existing success count is 0', () => { - const output = transformOrImportError('rule-1', getAlertMock(getQueryRuleParams()), { - success: true, - success_count: 0, - errors: [], - }); + const output = transformOrImportError( + 'rule-1', + getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()), + { + success: true, + success_count: 0, + errors: [], + }, + isRuleRegistryEnabled + ); const expected: ImportSuccessError = { success: true, errors: [], @@ -465,11 +487,16 @@ describe('utils', () => { }); test('returns 2 given successes if the alert is an alert type and the existing success count is 1', () => { - const output = transformOrImportError('rule-1', getAlertMock(getQueryRuleParams()), { - success: true, - success_count: 1, - errors: [], - }); + const output = transformOrImportError( + 'rule-1', + getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()), + { + success: true, + success_count: 1, + errors: [], + }, + isRuleRegistryEnabled + ); const expected: ImportSuccessError = { success: true, errors: [], @@ -480,11 +507,16 @@ describe('utils', () => { test('returns 1 error and success of false if the data is not of type siem alert', () => { const unsafeCast = ({ name: 'something else' } as unknown) as PartialAlert; - const output = transformOrImportError('rule-1', unsafeCast, { - success: true, - success_count: 1, - errors: [], - }); + const output = transformOrImportError( + 'rule-1', + unsafeCast, + { + success: true, + success_count: 1, + errors: [], + }, + isRuleRegistryEnabled + ); const expected: ImportSuccessError = { success: false, errors: [ diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/utils.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/utils.ts index 6e1faf819c3d5..4f023156fba06 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/utils.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/utils.ts @@ -135,9 +135,10 @@ export const transformFindAlerts = ( export const transform = ( alert: PartialAlert, - ruleStatus?: SavedObject + ruleStatus?: SavedObject, + isRuleRegistryEnabled?: boolean ): Partial | null => { - if (isAlertType(alert)) { + if (isAlertType(isRuleRegistryEnabled ?? false, alert)) { return transformAlertToRule( alert, isRuleStatusSavedObjectType(ruleStatus) ? ruleStatus : undefined @@ -150,9 +151,10 @@ export const transform = ( export const transformOrBulkError = ( ruleId: string, alert: PartialAlert, - ruleStatus?: unknown + ruleStatus?: unknown, + isRuleRegistryEnabled?: boolean ): Partial | BulkError => { - if (isAlertType(alert)) { + if (isAlertType(isRuleRegistryEnabled ?? false, alert)) { if (isRuleStatusFindType(ruleStatus) && ruleStatus?.saved_objects.length > 0) { return transformAlertToRule(alert, ruleStatus?.saved_objects[0] ?? ruleStatus); } else { @@ -170,9 +172,10 @@ export const transformOrBulkError = ( export const transformOrImportError = ( ruleId: string, alert: PartialAlert, - existingImportSuccessError: ImportSuccessError + existingImportSuccessError: ImportSuccessError, + isRuleRegistryEnabled: boolean ): ImportSuccessError => { - if (isAlertType(alert)) { + if (isAlertType(isRuleRegistryEnabled, alert)) { return createSuccessObject(existingImportSuccessError); } else { return createImportErrorObject({ diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/validate.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/validate.test.ts index 9cbd4de71613a..a7ba1ac77b7bf 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/validate.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/validate.test.ts @@ -66,20 +66,23 @@ export const ruleOutput = (): RulesSchema => ({ timeline_id: 'some-timeline-id', }); -describe('validate', () => { +describe.each([ + ['Legacy', false], + ['RAC', true], +])('validate - %s', (_, isRuleRegistryEnabled) => { describe('transformValidate', () => { test('it should do a validation correctly of a partial alert', () => { - const ruleAlert = getAlertMock(getQueryRuleParams()); - const [validated, errors] = transformValidate(ruleAlert); + const ruleAlert = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); + const [validated, errors] = transformValidate(ruleAlert, undefined, isRuleRegistryEnabled); expect(validated).toEqual(ruleOutput()); expect(errors).toEqual(null); }); test('it should do an in-validation correctly of a partial alert', () => { - const ruleAlert = getAlertMock(getQueryRuleParams()); + const ruleAlert = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); // @ts-expect-error delete ruleAlert.name; - const [validated, errors] = transformValidate(ruleAlert); + const [validated, errors] = transformValidate(ruleAlert, undefined, isRuleRegistryEnabled); expect(validated).toEqual(null); expect(errors).toEqual('Invalid value "undefined" supplied to "name"'); }); @@ -87,16 +90,26 @@ describe('validate', () => { describe('transformValidateBulkError', () => { test('it should do a validation correctly of a rule id', () => { - const ruleAlert = getAlertMock(getQueryRuleParams()); - const validatedOrError = transformValidateBulkError('rule-1', ruleAlert); + const ruleAlert = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); + const validatedOrError = transformValidateBulkError( + 'rule-1', + ruleAlert, + undefined, + isRuleRegistryEnabled + ); expect(validatedOrError).toEqual(ruleOutput()); }); test('it should do an in-validation correctly of a rule id', () => { - const ruleAlert = getAlertMock(getQueryRuleParams()); + const ruleAlert = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); // @ts-expect-error delete ruleAlert.name; - const validatedOrError = transformValidateBulkError('rule-1', ruleAlert); + const validatedOrError = transformValidateBulkError( + 'rule-1', + ruleAlert, + undefined, + isRuleRegistryEnabled + ); const expected: BulkError = { error: { message: 'Invalid value "undefined" supplied to "name"', @@ -109,8 +122,13 @@ describe('validate', () => { test('it should do a validation correctly of a rule id with ruleStatus passed in', () => { const ruleStatuses = getRuleExecutionStatuses(); - const ruleAlert = getAlertMock(getQueryRuleParams()); - const validatedOrError = transformValidateBulkError('rule-1', ruleAlert, ruleStatuses); + const ruleAlert = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); + const validatedOrError = transformValidateBulkError( + 'rule-1', + ruleAlert, + ruleStatuses, + isRuleRegistryEnabled + ); const expected: RulesSchema = { ...ruleOutput(), status: RuleExecutionStatus.succeeded, @@ -122,10 +140,15 @@ describe('validate', () => { }); test('it should return error object if "alert" is not expected alert type', () => { - const ruleAlert = getAlertMock(getQueryRuleParams()); + const ruleAlert = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); // @ts-expect-error delete ruleAlert.alertTypeId; - const validatedOrError = transformValidateBulkError('rule-1', ruleAlert); + const validatedOrError = transformValidateBulkError( + 'rule-1', + ruleAlert, + undefined, + isRuleRegistryEnabled + ); const expected: BulkError = { error: { message: 'Internal error transforming', diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/validate.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/validate.ts index ccb3201848e3c..c1969c5088bc0 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/validate.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/rules/validate.ts @@ -29,9 +29,10 @@ import { RuleParams } from '../../schemas/rule_schemas'; export const transformValidate = ( alert: PartialAlert, - ruleStatus?: SavedObject + ruleStatus?: SavedObject, + isRuleRegistryEnabled?: boolean ): [RulesSchema | null, string | null] => { - const transformed = transform(alert, ruleStatus); + const transformed = transform(alert, ruleStatus, isRuleRegistryEnabled); if (transformed == null) { return [null, 'Internal error transforming']; } else { @@ -41,9 +42,10 @@ export const transformValidate = ( export const newTransformValidate = ( alert: PartialAlert, - ruleStatus?: SavedObject + ruleStatus?: SavedObject, + isRuleRegistryEnabled?: boolean ): [FullResponseSchema | null, string | null] => { - const transformed = transform(alert, ruleStatus); + const transformed = transform(alert, ruleStatus, isRuleRegistryEnabled); if (transformed == null) { return [null, 'Internal error transforming']; } else { @@ -54,9 +56,10 @@ export const newTransformValidate = ( export const transformValidateBulkError = ( ruleId: string, alert: PartialAlert, - ruleStatus?: Array> + ruleStatus?: Array>, + isRuleRegistryEnabled?: boolean ): RulesSchema | BulkError => { - if (isAlertType(alert)) { + if (isAlertType(isRuleRegistryEnabled ?? false, alert)) { if (ruleStatus && ruleStatus?.length > 0 && isRuleStatusSavedObjectType(ruleStatus[0])) { const transformed = transformAlertToRule(alert, ruleStatus[0]); const [validated, errors] = validateNonExact(transformed, rulesSchema); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/tags/read_tags_route.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/tags/read_tags_route.ts index e22497071b2b7..04464e5d6f5a7 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/tags/read_tags_route.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/tags/read_tags_route.ts @@ -12,7 +12,10 @@ import { buildSiemResponse } from '../utils'; import { readTags } from '../../tags/read_tags'; -export const readTagsRoute = (router: SecuritySolutionPluginRouter) => { +export const readTagsRoute = ( + router: SecuritySolutionPluginRouter, + isRuleRegistryEnabled: boolean +) => { router.get( { path: DETECTION_ENGINE_TAGS_URL, @@ -31,6 +34,7 @@ export const readTagsRoute = (router: SecuritySolutionPluginRouter) => { try { const tags = await readTags({ + isRuleRegistryEnabled, rulesClient, }); return response.ok({ body: tags }); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/utils.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/utils.test.ts index c7e1f9f2e6bd7..23a65b456e6bc 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/utils.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/utils.test.ts @@ -33,7 +33,10 @@ import { RuleExecutionStatus } from '../../../../common/detection_engine/schemas let rulesClient: ReturnType; -describe('utils', () => { +describe.each([ + ['Legacy', false], + ['RAC', true], +])('utils - %s', (_, isRuleRegistryEnabled) => { describe('transformBulkError', () => { test('returns transformed object if it is a boom object', () => { const boom = new Boom.Boom('some boom message', { statusCode: 400 }); @@ -390,12 +393,12 @@ describe('utils', () => { rulesClient = rulesClientMock.create(); }); it('getFailingRules finds no failing rules', async () => { - rulesClient.get.mockResolvedValue(getAlertMock(getQueryRuleParams())); + rulesClient.get.mockResolvedValue(getAlertMock(isRuleRegistryEnabled, getQueryRuleParams())); const res = await getFailingRules(['my-fake-id'], rulesClient); expect(res).toEqual({}); }); it('getFailingRules finds a failing rule', async () => { - const foundRule = getAlertMock(getQueryRuleParams()); + const foundRule = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); foundRule.executionStatus = { status: 'error', lastExecutionDate: foundRule.executionStatus.lastExecutionDate, diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/utils.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/utils.ts index 8f078b01daf73..775115ded7c4f 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/routes/utils.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/routes/utils.ts @@ -328,6 +328,6 @@ export const getFailingRules = async ( if (Boom.isBoom(exc)) { throw exc; } - throw new Error(`Failed to get executionStatus with RulesClient: ${exc.message}`); + throw new Error(`Failed to get executionStatus with RulesClient: ${(exc as Error).message}`); } }; diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/indicator_match/create_indicator_match_alert_type.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/indicator_match/create_indicator_match_alert_type.ts index f2dfe69debed0..e2d5da1def707 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/indicator_match/create_indicator_match_alert_type.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/indicator_match/create_indicator_match_alert_type.ts @@ -7,7 +7,7 @@ import { validateNonExact } from '@kbn/securitysolution-io-ts-utils'; import { PersistenceServices } from '../../../../../../rule_registry/server'; -import { INDICATOR_ALERT_TYPE_ID } from '../../../../../common/constants'; +import { INDICATOR_RULE_TYPE_ID } from '../../../../../common/constants'; import { threatRuleParams, ThreatRuleParams } from '../../schemas/rule_schemas'; import { threatMatchExecutor } from '../../signals/executors/threat_match'; import { createSecurityRuleTypeFactory } from '../create_security_rule_type_factory'; @@ -33,7 +33,7 @@ export const createIndicatorMatchAlertType = (createOptions: CreateRuleOptions) ruleDataService, }); return createSecurityRuleType({ - id: INDICATOR_ALERT_TYPE_ID, + id: INDICATOR_RULE_TYPE_ID, name: 'Indicator Match Rule', validate: { params: { diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/ml.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/ml.ts index 14252bf62ef83..e0ad333b76a24 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/ml.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/ml.ts @@ -14,7 +14,7 @@ import { SavedObject } from 'src/core/types'; import { buildEsQuery, IIndexPattern } from '../../../../../../../src/plugins/data/common'; import { createPersistenceRuleTypeFactory } from '../../../../../rule_registry/server'; -import { ML_ALERT_TYPE_ID } from '../../../../common/constants'; +import { ML_RULE_TYPE_ID } from '../../../../common/constants'; import { SecurityRuleRegistry } from '../../../plugin'; const createSecurityMlRuleType = createPersistenceRuleTypeFactory(); @@ -38,7 +38,7 @@ import { MachineLearningRuleAttributes } from '../signals/types'; import { createErrorsFromShard, createSearchAfterReturnType, mergeReturns } from '../signals/utils'; export const mlAlertType = createSecurityMlRuleType({ - id: ML_ALERT_TYPE_ID, + id: ML_RULE_TYPE_ID, name: 'Machine Learning Rule', validate: { params: schema.object({ diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/ml/create_ml_alert_type.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/ml/create_ml_alert_type.ts index cdaeb4be76d02..7d891d430c63c 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/ml/create_ml_alert_type.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/ml/create_ml_alert_type.ts @@ -7,7 +7,7 @@ import { validateNonExact } from '@kbn/securitysolution-io-ts-utils'; import { PersistenceServices } from '../../../../../../rule_registry/server'; -import { ML_ALERT_TYPE_ID } from '../../../../../common/constants'; +import { ML_RULE_TYPE_ID } from '../../../../../common/constants'; import { machineLearningRuleParams, MachineLearningRuleParams } from '../../schemas/rule_schemas'; import { mlExecutor } from '../../signals/executors/ml'; import { createSecurityRuleTypeFactory } from '../create_security_rule_type_factory'; @@ -32,7 +32,7 @@ export const createMlAlertType = (createOptions: CreateRuleOptions) => { ruleDataService, }); return createSecurityRuleType({ - id: ML_ALERT_TYPE_ID, + id: ML_RULE_TYPE_ID, name: 'Machine Learning Rule', validate: { params: { diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/query/create_query_alert_type.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/query/create_query_alert_type.ts index 2f185853754b3..d5af7a4c8b5a4 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/query/create_query_alert_type.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rule_types/query/create_query_alert_type.ts @@ -7,7 +7,7 @@ import { validateNonExact } from '@kbn/securitysolution-io-ts-utils'; import { PersistenceServices } from '../../../../../../rule_registry/server'; -import { QUERY_ALERT_TYPE_ID } from '../../../../../common/constants'; +import { QUERY_RULE_TYPE_ID } from '../../../../../common/constants'; import { queryRuleParams, QueryRuleParams } from '../../schemas/rule_schemas'; import { queryExecutor } from '../../signals/executors/query'; import { createSecurityRuleTypeFactory } from '../create_security_rule_type_factory'; @@ -33,7 +33,7 @@ export const createQueryAlertType = (createOptions: CreateRuleOptions) => { ruleDataService, }); return createSecurityRuleType({ - id: QUERY_ALERT_TYPE_ID, + id: QUERY_RULE_TYPE_ID, name: 'Custom Query Rule', validate: { params: { diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/create_rules.mock.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/create_rules.mock.ts index 34fb7bf5f8291..2c25134cc3760 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/create_rules.mock.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/create_rules.mock.ts @@ -8,7 +8,8 @@ import { CreateRulesOptions } from './types'; import { rulesClientMock } from '../../../../../alerting/server/mocks'; -export const getCreateRulesOptionsMock = (): CreateRulesOptions => ({ +export const getCreateRulesOptionsMock = (isRuleRegistryEnabled: boolean): CreateRulesOptions => ({ + isRuleRegistryEnabled, author: ['Elastic'], buildingBlockType: undefined, rulesClient: rulesClientMock.create(), @@ -61,7 +62,10 @@ export const getCreateRulesOptionsMock = (): CreateRulesOptions => ({ actions: [], }); -export const getCreateMlRulesOptionsMock = (): CreateRulesOptions => ({ +export const getCreateMlRulesOptionsMock = ( + isRuleRegistryEnabled: boolean +): CreateRulesOptions => ({ + isRuleRegistryEnabled, author: ['Elastic'], buildingBlockType: undefined, rulesClient: rulesClientMock.create(), diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/create_rules.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/create_rules.test.ts index 3dd29977a8f2c..0fd708791712a 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/create_rules.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/create_rules.test.ts @@ -8,9 +8,12 @@ import { createRules } from './create_rules'; import { getCreateMlRulesOptionsMock } from './create_rules.mock'; -describe('createRules', () => { +describe.each([ + ['Legacy', false], + ['RAC', true], +])('createRules - %s', (_, isRuleRegistryEnabled) => { it('calls the rulesClient with legacy ML params', async () => { - const ruleOptions = getCreateMlRulesOptionsMock(); + const ruleOptions = getCreateMlRulesOptionsMock(isRuleRegistryEnabled); await createRules(ruleOptions); expect(ruleOptions.rulesClient.create).toHaveBeenCalledWith( expect.objectContaining({ @@ -26,7 +29,7 @@ describe('createRules', () => { it('calls the rulesClient with ML params', async () => { const ruleOptions = { - ...getCreateMlRulesOptionsMock(), + ...getCreateMlRulesOptionsMock(isRuleRegistryEnabled), machineLearningJobId: ['new_job_1', 'new_job_2'], }; await createRules(ruleOptions); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/create_rules.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/create_rules.ts index bc415a0de6961..bed6bf4303897 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/create_rules.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/create_rules.ts @@ -20,6 +20,7 @@ import { CreateRulesOptions } from './types'; import { addTags } from './add_tags'; import { PartialFilter, RuleTypeParams } from '../types'; import { transformToAlertThrottle, transformToNotifyWhen } from './utils'; +import { ruleTypeMappings } from '../signals/utils'; export const createRules = async ({ rulesClient, @@ -68,16 +69,18 @@ export const createRules = async ({ to, type, references, + namespace, note, version, exceptionsList, actions, + isRuleRegistryEnabled, }: CreateRulesOptions): Promise> => { const rule = await rulesClient.create({ data: { name, tags: addTags(tags, ruleId, immutable), - alertTypeId: SIGNALS_ID, + alertTypeId: isRuleRegistryEnabled ? ruleTypeMappings[type] : SIGNALS_ID, consumer: SERVER_APP_ID, params: { anomalyThreshold, @@ -125,6 +128,7 @@ export const createRules = async ({ to, type, references, + namespace, note, version, exceptionsList, diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/duplicate_rule.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/duplicate_rule.test.ts index 92b4dcff61b35..c3f6b0fbead91 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/duplicate_rule.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/duplicate_rule.test.ts @@ -52,6 +52,7 @@ describe('duplicateRule', () => { query: 'process.args : "chmod"', filters: [], buildingBlockType: undefined, + namespace: undefined, note: undefined, timelineId: undefined, timelineTitle: undefined, @@ -99,6 +100,7 @@ describe('duplicateRule', () => { "license": "", "maxSignals": 100, "meta": undefined, + "namespace": undefined, "note": undefined, "outputIndex": ".siem-signals-default", "query": "process.args : \\"chmod\\"", diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/find_rules.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/find_rules.test.ts index 1f91355d7cde2..0f7545c4df936 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/find_rules.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/find_rules.test.ts @@ -6,16 +6,38 @@ */ import { getFilter } from './find_rules'; -import { SIGNALS_ID } from '../../../../common/constants'; +import { + INDICATOR_RULE_TYPE_ID, + ML_RULE_TYPE_ID, + QUERY_RULE_TYPE_ID, + SIGNALS_ID, +} from '../../../../common/constants'; + +const allAlertTypeIds = `(alert.attributes.alertTypeId: ${ML_RULE_TYPE_ID} + OR alert.attributes.alertTypeId: ${QUERY_RULE_TYPE_ID} + OR alert.attributes.alertTypeId: ${INDICATOR_RULE_TYPE_ID})`.replace(/[\n\r]/g, ''); describe('find_rules', () => { - test('it returns a full filter with an AND if sent down', () => { - expect(getFilter('alert.attributes.enabled: true')).toEqual( - `alert.attributes.alertTypeId: ${SIGNALS_ID} AND alert.attributes.enabled: true` - ); - }); + const fullFilterTestCases: Array<[boolean, string]> = [ + [false, `alert.attributes.alertTypeId: ${SIGNALS_ID} AND alert.attributes.enabled: true`], + [true, `${allAlertTypeIds} AND alert.attributes.enabled: true`], + ]; + const nullFilterTestCases: Array<[boolean, string]> = [ + [false, `alert.attributes.alertTypeId: ${SIGNALS_ID}`], + [true, allAlertTypeIds], + ]; + + test.each(fullFilterTestCases)( + 'it returns a full filter with an AND if sent down [rule registry enabled: %p]', + (isRuleRegistryEnabled, expected) => { + expect(getFilter('alert.attributes.enabled: true', isRuleRegistryEnabled)).toEqual(expected); + } + ); - test('it returns existing filter with no AND when not set', () => { - expect(getFilter(null)).toEqual(`alert.attributes.alertTypeId: ${SIGNALS_ID}`); - }); + test.each(nullFilterTestCases)( + 'it returns existing filter with no AND when not set [rule registry enabled: %p]', + (isRuleRegistryEnabled, expected) => { + expect(getFilter(null, isRuleRegistryEnabled)).toEqual(expected); + } + ); }); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/find_rules.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/find_rules.ts index e41dac066e18a..a1664f2e5a310 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/find_rules.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/find_rules.ts @@ -8,13 +8,23 @@ import { FindResult } from '../../../../../alerting/server'; import { SIGNALS_ID } from '../../../../common/constants'; import { RuleParams } from '../schemas/rule_schemas'; +import { ruleTypeMappings } from '../signals/utils'; import { FindRuleOptions } from './types'; -export const getFilter = (filter: string | null | undefined) => { +export const getFilter = ( + filter: string | null | undefined, + isRuleRegistryEnabled: boolean = false +) => { + const alertTypeFilter = isRuleRegistryEnabled + ? `(${Object.values(ruleTypeMappings) + .map((type) => (type !== SIGNALS_ID ? `alert.attributes.alertTypeId: ${type}` : undefined)) + .filter((type) => type != null) + .join(' OR ')})` + : `alert.attributes.alertTypeId: ${SIGNALS_ID}`; if (filter == null) { - return `alert.attributes.alertTypeId: ${SIGNALS_ID}`; + return alertTypeFilter; } else { - return `alert.attributes.alertTypeId: ${SIGNALS_ID} AND ${filter}`; + return `${alertTypeFilter} AND ${filter}`; } }; @@ -26,13 +36,14 @@ export const findRules = ({ filter, sortField, sortOrder, + isRuleRegistryEnabled, }: FindRuleOptions): Promise> => { return rulesClient.find({ options: { fields, page, perPage, - filter: getFilter(filter), + filter: getFilter(filter, isRuleRegistryEnabled), sortOrder, sortField, }, diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/get_existing_prepackaged_rules.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/get_existing_prepackaged_rules.test.ts index 19a6a4e43d877..b478cc2df09a1 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/get_existing_prepackaged_rules.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/get_existing_prepackaged_rules.test.ts @@ -20,7 +20,10 @@ import { getNonPackagedRulesCount, } from './get_existing_prepackaged_rules'; -describe('get_existing_prepackaged_rules', () => { +describe.each([ + ['Legacy', false], + ['RAC', true], +])('get_existing_prepackaged_rules - %s', (_, isRuleRegistryEnabled) => { afterEach(() => { jest.resetAllMocks(); }); @@ -28,23 +31,23 @@ describe('get_existing_prepackaged_rules', () => { describe('getExistingPrepackagedRules', () => { test('should return a single item in a single page', async () => { const rulesClient = rulesClientMock.create(); - rulesClient.find.mockResolvedValue(getFindResultWithSingleHit()); - const rules = await getExistingPrepackagedRules({ rulesClient }); - expect(rules).toEqual([getAlertMock(getQueryRuleParams())]); + rulesClient.find.mockResolvedValue(getFindResultWithSingleHit(isRuleRegistryEnabled)); + const rules = await getExistingPrepackagedRules({ isRuleRegistryEnabled, rulesClient }); + expect(rules).toEqual([getAlertMock(isRuleRegistryEnabled, getQueryRuleParams())]); }); test('should return 3 items over 1 page with all on one page', async () => { const rulesClient = rulesClientMock.create(); - const result1 = getAlertMock(getQueryRuleParams()); + const result1 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); result1.params.immutable = true; result1.id = '4baa53f8-96da-44ee-ad58-41bccb7f9f3d'; - const result2 = getAlertMock(getQueryRuleParams()); + const result2 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); result2.params.immutable = true; result2.id = '5baa53f8-96da-44ee-ad58-41bccb7f9f3d'; - const result3 = getAlertMock(getQueryRuleParams()); + const result3 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); result3.params.immutable = true; result3.id = 'f3e1bf0b-b95f-43da-b1de-5d2f0af2287a'; @@ -68,7 +71,7 @@ describe('get_existing_prepackaged_rules', () => { }) ); - const rules = await getExistingPrepackagedRules({ rulesClient }); + const rules = await getExistingPrepackagedRules({ isRuleRegistryEnabled, rulesClient }); expect(rules).toEqual([result1, result2, result3]); }); }); @@ -76,18 +79,18 @@ describe('get_existing_prepackaged_rules', () => { describe('getNonPackagedRules', () => { test('should return a single item in a single page', async () => { const rulesClient = rulesClientMock.create(); - rulesClient.find.mockResolvedValue(getFindResultWithSingleHit()); - const rules = await getNonPackagedRules({ rulesClient }); - expect(rules).toEqual([getAlertMock(getQueryRuleParams())]); + rulesClient.find.mockResolvedValue(getFindResultWithSingleHit(isRuleRegistryEnabled)); + const rules = await getNonPackagedRules({ isRuleRegistryEnabled, rulesClient }); + expect(rules).toEqual([getAlertMock(isRuleRegistryEnabled, getQueryRuleParams())]); }); test('should return 2 items over 1 page', async () => { const rulesClient = rulesClientMock.create(); - const result1 = getAlertMock(getQueryRuleParams()); + const result1 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); result1.id = '4baa53f8-96da-44ee-ad58-41bccb7f9f3d'; - const result2 = getAlertMock(getQueryRuleParams()); + const result2 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); result2.id = '5baa53f8-96da-44ee-ad58-41bccb7f9f3d'; // first result mock which is for returning the total @@ -105,20 +108,20 @@ describe('get_existing_prepackaged_rules', () => { getFindResultWithMultiHits({ data: [result1, result2], perPage: 2, page: 1, total: 2 }) ); - const rules = await getNonPackagedRules({ rulesClient }); + const rules = await getNonPackagedRules({ isRuleRegistryEnabled, rulesClient }); expect(rules).toEqual([result1, result2]); }); test('should return 3 items over 1 page with all on one page', async () => { const rulesClient = rulesClientMock.create(); - const result1 = getAlertMock(getQueryRuleParams()); + const result1 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); result1.id = '4baa53f8-96da-44ee-ad58-41bccb7f9f3d'; - const result2 = getAlertMock(getQueryRuleParams()); + const result2 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); result2.id = '5baa53f8-96da-44ee-ad58-41bccb7f9f3d'; - const result3 = getAlertMock(getQueryRuleParams()); + const result3 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); result3.id = 'f3e1bf0b-b95f-43da-b1de-5d2f0af2287a'; // first result mock which is for returning the total @@ -141,7 +144,7 @@ describe('get_existing_prepackaged_rules', () => { }) ); - const rules = await getNonPackagedRules({ rulesClient }); + const rules = await getNonPackagedRules({ isRuleRegistryEnabled, rulesClient }); expect(rules).toEqual([result1, result2, result3]); }); }); @@ -149,18 +152,18 @@ describe('get_existing_prepackaged_rules', () => { describe('getRules', () => { test('should return a single item in a single page', async () => { const rulesClient = rulesClientMock.create(); - rulesClient.find.mockResolvedValue(getFindResultWithSingleHit()); - const rules = await getRules({ rulesClient, filter: '' }); - expect(rules).toEqual([getAlertMock(getQueryRuleParams())]); + rulesClient.find.mockResolvedValue(getFindResultWithSingleHit(isRuleRegistryEnabled)); + const rules = await getRules({ isRuleRegistryEnabled, rulesClient, filter: '' }); + expect(rules).toEqual([getAlertMock(isRuleRegistryEnabled, getQueryRuleParams())]); }); test('should return 2 items over two pages, one per page', async () => { const rulesClient = rulesClientMock.create(); - const result1 = getAlertMock(getQueryRuleParams()); + const result1 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); result1.id = '4baa53f8-96da-44ee-ad58-41bccb7f9f3d'; - const result2 = getAlertMock(getQueryRuleParams()); + const result2 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); result2.id = '5baa53f8-96da-44ee-ad58-41bccb7f9f3d'; // first result mock which is for returning the total @@ -178,7 +181,7 @@ describe('get_existing_prepackaged_rules', () => { getFindResultWithMultiHits({ data: [result1, result2], perPage: 2, page: 1, total: 2 }) ); - const rules = await getRules({ rulesClient, filter: '' }); + const rules = await getRules({ isRuleRegistryEnabled, rulesClient, filter: '' }); expect(rules).toEqual([result1, result2]); }); }); @@ -186,8 +189,8 @@ describe('get_existing_prepackaged_rules', () => { describe('getRulesCount', () => { test('it returns a count', async () => { const rulesClient = rulesClientMock.create(); - rulesClient.find.mockResolvedValue(getFindResultWithSingleHit()); - const rules = await getRulesCount({ rulesClient, filter: '' }); + rulesClient.find.mockResolvedValue(getFindResultWithSingleHit(isRuleRegistryEnabled)); + const rules = await getRulesCount({ isRuleRegistryEnabled, rulesClient, filter: '' }); expect(rules).toEqual(1); }); }); @@ -195,8 +198,8 @@ describe('get_existing_prepackaged_rules', () => { describe('getNonPackagedRulesCount', () => { test('it returns a count', async () => { const rulesClient = rulesClientMock.create(); - rulesClient.find.mockResolvedValue(getFindResultWithSingleHit()); - const rules = await getNonPackagedRulesCount({ rulesClient }); + rulesClient.find.mockResolvedValue(getFindResultWithSingleHit(isRuleRegistryEnabled)); + const rules = await getNonPackagedRulesCount({ isRuleRegistryEnabled, rulesClient }); expect(rules).toEqual(1); }); }); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/get_existing_prepackaged_rules.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/get_existing_prepackaged_rules.ts index be8bf1303846d..caa32a809b0a8 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/get_existing_prepackaged_rules.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/get_existing_prepackaged_rules.ts @@ -14,21 +14,26 @@ export const FILTER_NON_PREPACKED_RULES = `alert.attributes.tags: "${INTERNAL_IM export const FILTER_PREPACKED_RULES = `alert.attributes.tags: "${INTERNAL_IMMUTABLE_KEY}:true"`; export const getNonPackagedRulesCount = async ({ + isRuleRegistryEnabled, rulesClient, }: { + isRuleRegistryEnabled: boolean; rulesClient: RulesClient; }): Promise => { - return getRulesCount({ rulesClient, filter: FILTER_NON_PREPACKED_RULES }); + return getRulesCount({ isRuleRegistryEnabled, rulesClient, filter: FILTER_NON_PREPACKED_RULES }); }; export const getRulesCount = async ({ rulesClient, filter, + isRuleRegistryEnabled, }: { rulesClient: RulesClient; filter: string; + isRuleRegistryEnabled: boolean; }): Promise => { const firstRule = await findRules({ + isRuleRegistryEnabled, rulesClient, filter, perPage: 1, @@ -43,12 +48,15 @@ export const getRulesCount = async ({ export const getRules = async ({ rulesClient, filter, + isRuleRegistryEnabled, }: { rulesClient: RulesClient; filter: string; -}): Promise => { - const count = await getRulesCount({ rulesClient, filter }); + isRuleRegistryEnabled: boolean; +}) => { + const count = await getRulesCount({ rulesClient, filter, isRuleRegistryEnabled }); const rules = await findRules({ + isRuleRegistryEnabled, rulesClient, filter, perPage: count, @@ -58,7 +66,7 @@ export const getRules = async ({ fields: undefined, }); - if (isAlertTypes(rules.data)) { + if (isAlertTypes(isRuleRegistryEnabled, rules.data)) { return rules.data; } else { // If this was ever true, you have a really messed up system. @@ -69,22 +77,28 @@ export const getRules = async ({ export const getNonPackagedRules = async ({ rulesClient, + isRuleRegistryEnabled, }: { rulesClient: RulesClient; + isRuleRegistryEnabled: boolean; }): Promise => { return getRules({ rulesClient, filter: FILTER_NON_PREPACKED_RULES, + isRuleRegistryEnabled, }); }; export const getExistingPrepackagedRules = async ({ rulesClient, + isRuleRegistryEnabled, }: { rulesClient: RulesClient; + isRuleRegistryEnabled: boolean; }): Promise => { return getRules({ rulesClient, filter: FILTER_PREPACKED_RULES, + isRuleRegistryEnabled, }); }; diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/get_export_all.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/get_export_all.test.ts index 2870bee99e51a..3ca5960d7d4e1 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/get_export_all.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/get_export_all.test.ts @@ -16,11 +16,14 @@ import { getListArrayMock } from '../../../../common/detection_engine/schemas/ty import { getThreatMock } from '../../../../common/detection_engine/schemas/types/threat.mock'; import { getQueryRuleParams } from '../schemas/rule_schemas.mock'; -describe('getExportAll', () => { +describe.each([ + ['Legacy', false], + ['RAC', true], +])('getExportAll - %s', (_, isRuleRegistryEnabled) => { test('it exports everything from the alerts client', async () => { const rulesClient = rulesClientMock.create(); - const result = getFindResultWithSingleHit(); - const alert = getAlertMock(getQueryRuleParams()); + const result = getFindResultWithSingleHit(isRuleRegistryEnabled); + const alert = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); alert.params = { ...alert.params, filters: [{ query: { match_phrase: { 'host.name': 'some-host' } } }], @@ -32,7 +35,7 @@ describe('getExportAll', () => { result.data = [alert]; rulesClient.find.mockResolvedValue(result); - const exports = await getExportAll(rulesClient); + const exports = await getExportAll(rulesClient, isRuleRegistryEnabled); const rulesJson = JSON.parse(exports.rulesNdjson); const detailsJson = JSON.parse(exports.exportDetails); expect(rulesJson).toEqual({ @@ -94,7 +97,7 @@ describe('getExportAll', () => { rulesClient.find.mockResolvedValue(findResult); - const exports = await getExportAll(rulesClient); + const exports = await getExportAll(rulesClient, isRuleRegistryEnabled); expect(exports).toEqual({ rulesNdjson: '', exportDetails: '{"exported_count":0,"missing_rules":[],"missing_rules_count":0}\n', diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/get_export_all.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/get_export_all.ts index 4a79f0089491f..f44471e6e26f9 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/get_export_all.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/get_export_all.ts @@ -12,12 +12,13 @@ import { transformAlertsToRules } from '../routes/rules/utils'; import { transformDataToNdjson } from '../../../utils/read_stream/create_stream_from_ndjson'; export const getExportAll = async ( - rulesClient: RulesClient + rulesClient: RulesClient, + isRuleRegistryEnabled: boolean ): Promise<{ rulesNdjson: string; exportDetails: string; }> => { - const ruleAlertTypes = await getNonPackagedRules({ rulesClient }); + const ruleAlertTypes = await getNonPackagedRules({ rulesClient, isRuleRegistryEnabled }); const rules = transformAlertsToRules(ruleAlertTypes); // We do not support importing/exporting actions. When we do, delete this line of code const rulesWithoutActions = rules.map((rule) => ({ ...rule, actions: [] })); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/get_export_by_object_ids.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/get_export_by_object_ids.test.ts index f4325086e4212..740427e44b560 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/get_export_by_object_ids.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/get_export_by_object_ids.test.ts @@ -16,7 +16,10 @@ import { getListArrayMock } from '../../../../common/detection_engine/schemas/ty import { getThreatMock } from '../../../../common/detection_engine/schemas/types/threat.mock'; import { getQueryRuleParams } from '../schemas/rule_schemas.mock'; -describe('get_export_by_object_ids', () => { +describe.each([ + ['Legacy', false], + ['RAC', true], +])('get_export_by_object_ids - %s', (_, isRuleRegistryEnabled) => { beforeEach(() => { jest.resetAllMocks(); jest.restoreAllMocks(); @@ -25,10 +28,10 @@ describe('get_export_by_object_ids', () => { describe('getExportByObjectIds', () => { test('it exports object ids into an expected string with new line characters', async () => { const rulesClient = rulesClientMock.create(); - rulesClient.find.mockResolvedValue(getFindResultWithSingleHit()); + rulesClient.find.mockResolvedValue(getFindResultWithSingleHit(isRuleRegistryEnabled)); const objects = [{ rule_id: 'rule-1' }]; - const exports = await getExportByObjectIds(rulesClient, objects); + const exports = await getExportByObjectIds(rulesClient, objects, isRuleRegistryEnabled); const exportsObj = { rulesNdjson: JSON.parse(exports.rulesNdjson), exportDetails: JSON.parse(exports.exportDetails), @@ -85,7 +88,7 @@ describe('get_export_by_object_ids', () => { test('it does not export immutable rules', async () => { const rulesClient = rulesClientMock.create(); - const result = getAlertMock(getQueryRuleParams()); + const result = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); result.params.immutable = true; const findResult: FindHit = { @@ -95,11 +98,11 @@ describe('get_export_by_object_ids', () => { data: [result], }; - rulesClient.get.mockResolvedValue(getAlertMock(getQueryRuleParams())); + rulesClient.get.mockResolvedValue(getAlertMock(isRuleRegistryEnabled, getQueryRuleParams())); rulesClient.find.mockResolvedValue(findResult); const objects = [{ rule_id: 'rule-1' }]; - const exports = await getExportByObjectIds(rulesClient, objects); + const exports = await getExportByObjectIds(rulesClient, objects, isRuleRegistryEnabled); expect(exports).toEqual({ rulesNdjson: '', exportDetails: @@ -111,10 +114,10 @@ describe('get_export_by_object_ids', () => { describe('getRulesFromObjects', () => { test('it returns transformed rules from objects sent in', async () => { const rulesClient = rulesClientMock.create(); - rulesClient.find.mockResolvedValue(getFindResultWithSingleHit()); + rulesClient.find.mockResolvedValue(getFindResultWithSingleHit(isRuleRegistryEnabled)); const objects = [{ rule_id: 'rule-1' }]; - const exports = await getRulesFromObjects(rulesClient, objects); + const exports = await getRulesFromObjects(rulesClient, objects, isRuleRegistryEnabled); const expected: RulesErrors = { exportedCount: 1, missingRules: [], @@ -175,7 +178,7 @@ describe('get_export_by_object_ids', () => { test('it does not transform the rule if the rule is an immutable rule and designates it as a missing rule', async () => { const rulesClient = rulesClientMock.create(); - const result = getAlertMock(getQueryRuleParams()); + const result = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); result.params.immutable = true; const findResult: FindHit = { @@ -189,7 +192,7 @@ describe('get_export_by_object_ids', () => { rulesClient.find.mockResolvedValue(findResult); const objects = [{ rule_id: 'rule-1' }]; - const exports = await getRulesFromObjects(rulesClient, objects); + const exports = await getRulesFromObjects(rulesClient, objects, isRuleRegistryEnabled); const expected: RulesErrors = { exportedCount: 0, missingRules: [{ rule_id: 'rule-1' }], @@ -212,7 +215,7 @@ describe('get_export_by_object_ids', () => { rulesClient.find.mockResolvedValue(findResult); const objects = [{ rule_id: 'rule-1' }]; - const exports = await getRulesFromObjects(rulesClient, objects); + const exports = await getRulesFromObjects(rulesClient, objects, isRuleRegistryEnabled); const expected: RulesErrors = { exportedCount: 0, missingRules: [{ rule_id: 'rule-1' }], diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/get_export_by_object_ids.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/get_export_by_object_ids.ts index 812310bcb501a..31a7604306de7 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/get_export_by_object_ids.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/get_export_by_object_ids.ts @@ -34,12 +34,13 @@ export interface RulesErrors { export const getExportByObjectIds = async ( rulesClient: RulesClient, - objects: Array<{ rule_id: string }> + objects: Array<{ rule_id: string }>, + isRuleRegistryEnabled: boolean ): Promise<{ rulesNdjson: string; exportDetails: string; }> => { - const rulesAndErrors = await getRulesFromObjects(rulesClient, objects); + const rulesAndErrors = await getRulesFromObjects(rulesClient, objects, isRuleRegistryEnabled); // We do not support importing/exporting actions. When we do, delete this line of code const rulesWithoutActions = rulesAndErrors.rules.map((rule) => ({ ...rule, actions: [] })); const rulesNdjson = transformDataToNdjson(rulesWithoutActions); @@ -49,7 +50,8 @@ export const getExportByObjectIds = async ( export const getRulesFromObjects = async ( rulesClient: RulesClient, - objects: Array<{ rule_id: string }> + objects: Array<{ rule_id: string }>, + isRuleRegistryEnabled: boolean ): Promise => { // If we put more than 1024 ids in one block like "alert.attributes.tags: (id1 OR id2 OR ... OR id1100)" // then the KQL -> ES DSL query generator still puts them all in the same "should" array, but ES defaults @@ -67,6 +69,7 @@ export const getRulesFromObjects = async ( }) .join(' OR '); const rules = await findRules({ + isRuleRegistryEnabled, rulesClient, filter, page: 1, @@ -79,7 +82,7 @@ export const getRulesFromObjects = async ( const matchingRule = rules.data.find((rule) => rule.params.ruleId === ruleId); if ( matchingRule != null && - isAlertType(matchingRule) && + isAlertType(isRuleRegistryEnabled, matchingRule) && matchingRule.params.immutable !== true ) { return { diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/get_rules_to_install.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/get_rules_to_install.test.ts index 7482097aafd22..4ef84fd1619ea 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/get_rules_to_install.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/get_rules_to_install.test.ts @@ -9,57 +9,61 @@ import { getRulesToInstall } from './get_rules_to_install'; import { getAlertMock } from '../routes/__mocks__/request_responses'; import { getAddPrepackagedRulesSchemaDecodedMock } from '../../../../common/detection_engine/schemas/request/add_prepackaged_rules_schema.mock'; import { getQueryRuleParams } from '../schemas/rule_schemas.mock'; +import { AddPrepackagedRulesSchemaDecoded } from '../../../../common/detection_engine/schemas/request'; -describe('get_rules_to_install', () => { +describe.each([ + ['Legacy', false], + ['RAC', true], +])('get_rules_to_install - %s', (_, isRuleRegistryEnabled) => { test('should return empty array if both rule sets are empty', () => { const update = getRulesToInstall([], []); expect(update).toEqual([]); }); test('should return empty array if the two rule ids match', () => { - const ruleFromFileSystem = getAddPrepackagedRulesSchemaDecodedMock(); + const ruleFromFileSystem = getAddPrepackagedRulesSchemaDecodedMock() as AddPrepackagedRulesSchemaDecoded; ruleFromFileSystem.rule_id = 'rule-1'; - const installedRule = getAlertMock(getQueryRuleParams()); + const installedRule = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); installedRule.params.ruleId = 'rule-1'; const update = getRulesToInstall([ruleFromFileSystem], [installedRule]); expect(update).toEqual([]); }); test('should return the rule to install if the id of the two rules do not match', () => { - const ruleFromFileSystem = getAddPrepackagedRulesSchemaDecodedMock(); + const ruleFromFileSystem = getAddPrepackagedRulesSchemaDecodedMock() as AddPrepackagedRulesSchemaDecoded; ruleFromFileSystem.rule_id = 'rule-1'; - const installedRule = getAlertMock(getQueryRuleParams()); + const installedRule = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); installedRule.params.ruleId = 'rule-2'; const update = getRulesToInstall([ruleFromFileSystem], [installedRule]); expect(update).toEqual([ruleFromFileSystem]); }); test('should return two rules to install if both the ids of the two rules do not match', () => { - const ruleFromFileSystem1 = getAddPrepackagedRulesSchemaDecodedMock(); + const ruleFromFileSystem1 = getAddPrepackagedRulesSchemaDecodedMock() as AddPrepackagedRulesSchemaDecoded; ruleFromFileSystem1.rule_id = 'rule-1'; - const ruleFromFileSystem2 = getAddPrepackagedRulesSchemaDecodedMock(); + const ruleFromFileSystem2 = getAddPrepackagedRulesSchemaDecodedMock() as AddPrepackagedRulesSchemaDecoded; ruleFromFileSystem2.rule_id = 'rule-2'; - const installedRule = getAlertMock(getQueryRuleParams()); + const installedRule = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); installedRule.params.ruleId = 'rule-3'; const update = getRulesToInstall([ruleFromFileSystem1, ruleFromFileSystem2], [installedRule]); expect(update).toEqual([ruleFromFileSystem1, ruleFromFileSystem2]); }); test('should return two rules of three to install if both the ids of the two rules do not match but the third does', () => { - const ruleFromFileSystem1 = getAddPrepackagedRulesSchemaDecodedMock(); + const ruleFromFileSystem1 = getAddPrepackagedRulesSchemaDecodedMock() as AddPrepackagedRulesSchemaDecoded; ruleFromFileSystem1.rule_id = 'rule-1'; - const ruleFromFileSystem2 = getAddPrepackagedRulesSchemaDecodedMock(); + const ruleFromFileSystem2 = getAddPrepackagedRulesSchemaDecodedMock() as AddPrepackagedRulesSchemaDecoded; ruleFromFileSystem2.rule_id = 'rule-2'; - const ruleFromFileSystem3 = getAddPrepackagedRulesSchemaDecodedMock(); + const ruleFromFileSystem3 = getAddPrepackagedRulesSchemaDecodedMock() as AddPrepackagedRulesSchemaDecoded; ruleFromFileSystem3.rule_id = 'rule-3'; - const installedRule = getAlertMock(getQueryRuleParams()); + const installedRule = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); installedRule.params.ruleId = 'rule-3'; const update = getRulesToInstall( [ruleFromFileSystem1, ruleFromFileSystem2, ruleFromFileSystem3], diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/get_rules_to_install.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/get_rules_to_install.ts index 65f3d4661cc4f..a9e22562606a9 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/get_rules_to_install.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/get_rules_to_install.ts @@ -11,7 +11,7 @@ import { RuleAlertType } from './types'; export const getRulesToInstall = ( rulesFromFileSystem: AddPrepackagedRulesSchemaDecoded[], installedRules: RuleAlertType[] -): AddPrepackagedRulesSchemaDecoded[] => { +) => { return rulesFromFileSystem.filter( (rule) => !installedRules.some((installedRule) => installedRule.params.ruleId === rule.rule_id) ); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/get_rules_to_update.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/get_rules_to_update.test.ts index 163585e7594ab..dda3bf6efe44c 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/get_rules_to_update.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/get_rules_to_update.test.ts @@ -10,7 +10,10 @@ import { getAlertMock } from '../routes/__mocks__/request_responses'; import { getAddPrepackagedRulesSchemaDecodedMock } from '../../../../common/detection_engine/schemas/request/add_prepackaged_rules_schema.mock'; import { getQueryRuleParams } from '../schemas/rule_schemas.mock'; -describe('get_rules_to_update', () => { +describe.each([ + ['Legacy', false], + ['RAC', true], +])('get_rules_to_update - %s', (_, isRuleRegistryEnabled) => { describe('get_rules_to_update', () => { test('should return empty array if both rule sets are empty', () => { const update = getRulesToUpdate([], []); @@ -22,7 +25,7 @@ describe('get_rules_to_update', () => { ruleFromFileSystem.rule_id = 'rule-1'; ruleFromFileSystem.version = 2; - const installedRule = getAlertMock(getQueryRuleParams()); + const installedRule = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); installedRule.params.ruleId = 'rule-2'; installedRule.params.version = 1; const update = getRulesToUpdate([ruleFromFileSystem], [installedRule]); @@ -34,7 +37,7 @@ describe('get_rules_to_update', () => { ruleFromFileSystem.rule_id = 'rule-1'; ruleFromFileSystem.version = 1; - const installedRule = getAlertMock(getQueryRuleParams()); + const installedRule = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); installedRule.params.ruleId = 'rule-1'; installedRule.params.version = 2; const update = getRulesToUpdate([ruleFromFileSystem], [installedRule]); @@ -46,7 +49,7 @@ describe('get_rules_to_update', () => { ruleFromFileSystem.rule_id = 'rule-1'; ruleFromFileSystem.version = 1; - const installedRule = getAlertMock(getQueryRuleParams()); + const installedRule = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); installedRule.params.ruleId = 'rule-1'; installedRule.params.version = 1; const update = getRulesToUpdate([ruleFromFileSystem], [installedRule]); @@ -58,7 +61,7 @@ describe('get_rules_to_update', () => { ruleFromFileSystem.rule_id = 'rule-1'; ruleFromFileSystem.version = 2; - const installedRule = getAlertMock(getQueryRuleParams()); + const installedRule = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); installedRule.params.ruleId = 'rule-1'; installedRule.params.version = 1; installedRule.params.exceptionsList = []; @@ -72,12 +75,12 @@ describe('get_rules_to_update', () => { ruleFromFileSystem.rule_id = 'rule-1'; ruleFromFileSystem.version = 2; - const installedRule1 = getAlertMock(getQueryRuleParams()); + const installedRule1 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); installedRule1.params.ruleId = 'rule-1'; installedRule1.params.version = 1; installedRule1.params.exceptionsList = []; - const installedRule2 = getAlertMock(getQueryRuleParams()); + const installedRule2 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); installedRule2.params.ruleId = 'rule-2'; installedRule2.params.version = 1; installedRule2.params.exceptionsList = []; @@ -95,12 +98,12 @@ describe('get_rules_to_update', () => { ruleFromFileSystem2.rule_id = 'rule-2'; ruleFromFileSystem2.version = 2; - const installedRule1 = getAlertMock(getQueryRuleParams()); + const installedRule1 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); installedRule1.params.ruleId = 'rule-1'; installedRule1.params.version = 1; installedRule1.params.exceptionsList = []; - const installedRule2 = getAlertMock(getQueryRuleParams()); + const installedRule2 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); installedRule2.params.ruleId = 'rule-2'; installedRule2.params.version = 1; installedRule2.params.exceptionsList = []; @@ -125,7 +128,7 @@ describe('get_rules_to_update', () => { ruleFromFileSystem1.rule_id = 'rule-1'; ruleFromFileSystem1.version = 2; - const installedRule1 = getAlertMock(getQueryRuleParams()); + const installedRule1 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); installedRule1.params.ruleId = 'rule-1'; installedRule1.params.version = 1; installedRule1.params.exceptionsList = []; @@ -147,7 +150,7 @@ describe('get_rules_to_update', () => { ruleFromFileSystem1.rule_id = 'rule-1'; ruleFromFileSystem1.version = 2; - const installedRule1 = getAlertMock(getQueryRuleParams()); + const installedRule1 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); installedRule1.params.ruleId = 'rule-1'; installedRule1.params.version = 1; installedRule1.params.exceptionsList = [ @@ -179,7 +182,7 @@ describe('get_rules_to_update', () => { ruleFromFileSystem1.rule_id = 'rule-1'; ruleFromFileSystem1.version = 2; - const installedRule1 = getAlertMock(getQueryRuleParams()); + const installedRule1 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); installedRule1.params.ruleId = 'rule-1'; installedRule1.params.version = 1; installedRule1.params.exceptionsList = [ @@ -201,7 +204,7 @@ describe('get_rules_to_update', () => { ruleFromFileSystem1.rule_id = 'rule-1'; ruleFromFileSystem1.version = 2; - const installedRule1 = getAlertMock(getQueryRuleParams()); + const installedRule1 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); installedRule1.params.ruleId = 'rule-1'; installedRule1.params.version = 1; installedRule1.params.exceptionsList = [ @@ -228,7 +231,7 @@ describe('get_rules_to_update', () => { ruleFromFileSystem2.rule_id = 'rule-2'; ruleFromFileSystem2.version = 2; - const installedRule1 = getAlertMock(getQueryRuleParams()); + const installedRule1 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); installedRule1.params.ruleId = 'rule-1'; installedRule1.params.version = 1; installedRule1.params.exceptionsList = [ @@ -239,7 +242,7 @@ describe('get_rules_to_update', () => { type: 'endpoint', }, ]; - const installedRule2 = getAlertMock(getQueryRuleParams()); + const installedRule2 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); installedRule2.params.ruleId = 'rule-2'; installedRule2.params.version = 1; installedRule2.params.exceptionsList = [ @@ -278,7 +281,7 @@ describe('get_rules_to_update', () => { }, ]; - const installedRule1 = getAlertMock(getQueryRuleParams()); + const installedRule1 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); installedRule1.params.ruleId = 'rule-1'; installedRule1.params.version = 1; installedRule1.params.exceptionsList = [ @@ -290,7 +293,7 @@ describe('get_rules_to_update', () => { }, ]; - const installedRule2 = getAlertMock(getQueryRuleParams()); + const installedRule2 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); installedRule2.params.ruleId = 'rule-2'; installedRule2.params.version = 1; installedRule2.params.exceptionsList = [ @@ -320,7 +323,7 @@ describe('get_rules_to_update', () => { ruleFromFileSystem.rule_id = 'rule-1'; ruleFromFileSystem.version = 2; - const installedRule = getAlertMock(getQueryRuleParams()); + const installedRule = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); installedRule.params.ruleId = 'rule-2'; installedRule.params.version = 1; const shouldUpdate = filterInstalledRules(ruleFromFileSystem, [installedRule]); @@ -332,7 +335,7 @@ describe('get_rules_to_update', () => { ruleFromFileSystem.rule_id = 'rule-1'; ruleFromFileSystem.version = 1; - const installedRule = getAlertMock(getQueryRuleParams()); + const installedRule = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); installedRule.params.ruleId = 'rule-1'; installedRule.params.version = 2; const shouldUpdate = filterInstalledRules(ruleFromFileSystem, [installedRule]); @@ -344,7 +347,7 @@ describe('get_rules_to_update', () => { ruleFromFileSystem.rule_id = 'rule-1'; ruleFromFileSystem.version = 1; - const installedRule = getAlertMock(getQueryRuleParams()); + const installedRule = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); installedRule.params.ruleId = 'rule-1'; installedRule.params.version = 1; const shouldUpdate = filterInstalledRules(ruleFromFileSystem, [installedRule]); @@ -356,7 +359,7 @@ describe('get_rules_to_update', () => { ruleFromFileSystem.rule_id = 'rule-1'; ruleFromFileSystem.version = 2; - const installedRule = getAlertMock(getQueryRuleParams()); + const installedRule = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); installedRule.params.ruleId = 'rule-1'; installedRule.params.version = 1; installedRule.params.exceptionsList = []; @@ -380,7 +383,7 @@ describe('get_rules_to_update', () => { ruleFromFileSystem1.rule_id = 'rule-1'; ruleFromFileSystem1.version = 2; - const installedRule1 = getAlertMock(getQueryRuleParams()); + const installedRule1 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); installedRule1.params.ruleId = 'rule-1'; installedRule1.params.version = 1; installedRule1.params.exceptionsList = []; @@ -402,7 +405,7 @@ describe('get_rules_to_update', () => { ruleFromFileSystem1.rule_id = 'rule-1'; ruleFromFileSystem1.version = 2; - const installedRule1 = getAlertMock(getQueryRuleParams()); + const installedRule1 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); installedRule1.params.ruleId = 'rule-1'; installedRule1.params.version = 1; installedRule1.params.exceptionsList = [ @@ -434,7 +437,7 @@ describe('get_rules_to_update', () => { ruleFromFileSystem1.rule_id = 'rule-1'; ruleFromFileSystem1.version = 2; - const installedRule1 = getAlertMock(getQueryRuleParams()); + const installedRule1 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); installedRule1.params.ruleId = 'rule-1'; installedRule1.params.version = 1; installedRule1.params.exceptionsList = [ @@ -456,7 +459,7 @@ describe('get_rules_to_update', () => { ruleFromFileSystem1.rule_id = 'rule-1'; ruleFromFileSystem1.version = 2; - const installedRule1 = getAlertMock(getQueryRuleParams()); + const installedRule1 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); installedRule1.params.ruleId = 'rule-1'; installedRule1.params.version = 1; installedRule1.params.exceptionsList = [ diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/get_rules_to_update.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/get_rules_to_update.ts index 7e098a28552a0..f0017c5e4bdb6 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/get_rules_to_update.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/get_rules_to_update.ts @@ -18,7 +18,7 @@ import { RuleAlertType } from './types'; export const getRulesToUpdate = ( rulesFromFileSystem: AddPrepackagedRulesSchemaDecoded[], installedRules: RuleAlertType[] -): AddPrepackagedRulesSchemaDecoded[] => { +) => { return rulesFromFileSystem .filter((ruleFromFileSystem) => filterInstalledRules(ruleFromFileSystem, installedRules)) .map((ruleFromFileSystem) => mergeExceptionLists(ruleFromFileSystem, installedRules)); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/install_prepacked_rules.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/install_prepacked_rules.ts index 1681ac7f1659f..3f7191a970020 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/install_prepacked_rules.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/install_prepacked_rules.ts @@ -14,7 +14,8 @@ import { PartialFilter } from '../types'; export const installPrepackagedRules = ( rulesClient: RulesClient, rules: AddPrepackagedRulesSchemaDecoded[], - outputIndex: string + outputIndex: string, + isRuleRegistryEnabled: boolean ): Array>> => rules.reduce>>>((acc, rule) => { const { @@ -60,6 +61,7 @@ export const installPrepackagedRules = ( threshold, timestamp_override: timestampOverride, references, + namespace, note, version, exceptions_list: exceptionsList, @@ -70,6 +72,7 @@ export const installPrepackagedRules = ( return [ ...acc, createRules({ + isRuleRegistryEnabled, rulesClient, anomalyThreshold, author, @@ -116,6 +119,7 @@ export const installPrepackagedRules = ( throttle: null, // At this time there is no pre-packaged actions timestampOverride, references, + namespace, note, version, exceptionsList, diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/patch_rules.mock.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/patch_rules.mock.ts index 9ebec947bcc0e..1d09e4ca5c508 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/patch_rules.mock.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/patch_rules.mock.ts @@ -11,7 +11,7 @@ import { getAlertMock } from '../routes/__mocks__/request_responses'; import { getMlRuleParams, getQueryRuleParams } from '../schemas/rule_schemas.mock'; import { ruleExecutionLogClientMock } from '../rule_execution_log/__mocks__/rule_execution_log_client'; -export const getPatchRulesOptionsMock = (): PatchRulesOptions => ({ +export const getPatchRulesOptionsMock = (isRuleRegistryEnabled: boolean): PatchRulesOptions => ({ author: ['Elastic'], buildingBlockType: undefined, rulesClient: rulesClientMock.create(), @@ -61,10 +61,10 @@ export const getPatchRulesOptionsMock = (): PatchRulesOptions => ({ version: 1, exceptionsList: [], actions: [], - rule: getAlertMock(getQueryRuleParams()), + rule: getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()), }); -export const getPatchMlRulesOptionsMock = (): PatchRulesOptions => ({ +export const getPatchMlRulesOptionsMock = (isRuleRegistryEnabled: boolean): PatchRulesOptions => ({ author: ['Elastic'], buildingBlockType: undefined, rulesClient: rulesClientMock.create(), @@ -114,5 +114,5 @@ export const getPatchMlRulesOptionsMock = (): PatchRulesOptions => ({ version: 1, exceptionsList: [], actions: [], - rule: getAlertMock(getMlRuleParams()), + rule: getAlertMock(isRuleRegistryEnabled, getMlRuleParams()), }); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/patch_rules.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/patch_rules.test.ts index dbfc1427abf95..ee39120a8b6d0 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/patch_rules.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/patch_rules.test.ts @@ -12,15 +12,18 @@ import { RulesClientMock } from '../../../../../alerting/server/rules_client.moc import { getAlertMock } from '../routes/__mocks__/request_responses'; import { getQueryRuleParams } from '../schemas/rule_schemas.mock'; -describe('patchRules', () => { +describe.each([ + ['Legacy', false], + ['RAC', true], +])('patchRules - %s', (_, isRuleRegistryEnabled) => { it('should call rulesClient.disable if the rule was enabled and enabled is false', async () => { - const rulesOptionsMock = getPatchRulesOptionsMock(); + const rulesOptionsMock = getPatchRulesOptionsMock(isRuleRegistryEnabled); const ruleOptions: PatchRulesOptions = { ...rulesOptionsMock, enabled: false, }; ((rulesOptionsMock.rulesClient as unknown) as RulesClientMock).update.mockResolvedValue( - getAlertMock(getQueryRuleParams()) + getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()) ); await patchRules(ruleOptions); expect(ruleOptions.rulesClient.disable).toHaveBeenCalledWith( @@ -31,7 +34,7 @@ describe('patchRules', () => { }); it('should call rulesClient.enable if the rule was disabled and enabled is true', async () => { - const rulesOptionsMock = getPatchRulesOptionsMock(); + const rulesOptionsMock = getPatchRulesOptionsMock(isRuleRegistryEnabled); const ruleOptions: PatchRulesOptions = { ...rulesOptionsMock, enabled: true, @@ -40,7 +43,7 @@ describe('patchRules', () => { ruleOptions.rule.enabled = false; } ((rulesOptionsMock.rulesClient as unknown) as RulesClientMock).update.mockResolvedValue( - getAlertMock(getQueryRuleParams()) + getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()) ); await patchRules(ruleOptions); expect(ruleOptions.rulesClient.enable).toHaveBeenCalledWith( @@ -51,7 +54,7 @@ describe('patchRules', () => { }); it('calls the rulesClient with legacy ML params', async () => { - const rulesOptionsMock = getPatchMlRulesOptionsMock(); + const rulesOptionsMock = getPatchMlRulesOptionsMock(isRuleRegistryEnabled); const ruleOptions: PatchRulesOptions = { ...rulesOptionsMock, enabled: true, @@ -60,7 +63,7 @@ describe('patchRules', () => { ruleOptions.rule.enabled = false; } ((rulesOptionsMock.rulesClient as unknown) as RulesClientMock).update.mockResolvedValue( - getAlertMock(getQueryRuleParams()) + getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()) ); await patchRules(ruleOptions); expect(ruleOptions.rulesClient.update).toHaveBeenCalledWith( @@ -76,7 +79,7 @@ describe('patchRules', () => { }); it('calls the rulesClient with new ML params', async () => { - const rulesOptionsMock = getPatchMlRulesOptionsMock(); + const rulesOptionsMock = getPatchMlRulesOptionsMock(isRuleRegistryEnabled); const ruleOptions: PatchRulesOptions = { ...rulesOptionsMock, machineLearningJobId: ['new_job_1', 'new_job_2'], @@ -86,7 +89,7 @@ describe('patchRules', () => { ruleOptions.rule.enabled = false; } ((rulesOptionsMock.rulesClient as unknown) as RulesClientMock).update.mockResolvedValue( - getAlertMock(getQueryRuleParams()) + getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()) ); await patchRules(ruleOptions); expect(ruleOptions.rulesClient.update).toHaveBeenCalledWith( @@ -103,7 +106,7 @@ describe('patchRules', () => { describe('regression tests', () => { it("updates the rule's actions if provided", async () => { - const rulesOptionsMock = getPatchRulesOptionsMock(); + const rulesOptionsMock = getPatchRulesOptionsMock(isRuleRegistryEnabled); const ruleOptions: PatchRulesOptions = { ...rulesOptionsMock, actions: [ @@ -118,7 +121,7 @@ describe('patchRules', () => { ], }; ((rulesOptionsMock.rulesClient as unknown) as RulesClientMock).update.mockResolvedValue( - getAlertMock(getQueryRuleParams()) + getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()) ); await patchRules(ruleOptions); expect(ruleOptions.rulesClient.update).toHaveBeenCalledWith( @@ -140,7 +143,7 @@ describe('patchRules', () => { }); it('does not update actions if none are specified', async () => { - const ruleOptions = getPatchRulesOptionsMock(); + const ruleOptions = getPatchRulesOptionsMock(isRuleRegistryEnabled); delete ruleOptions.actions; if (ruleOptions.rule != null) { ruleOptions.rule.actions = [ @@ -155,7 +158,7 @@ describe('patchRules', () => { ]; } ((ruleOptions.rulesClient as unknown) as RulesClientMock).update.mockResolvedValue( - getAlertMock(getQueryRuleParams()) + getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()) ); await patchRules(ruleOptions); expect(ruleOptions.rulesClient.update).toHaveBeenCalledWith( diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/patch_rules.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/patch_rules.ts index bc1faa5dff470..c3b7e7288dc57 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/patch_rules.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/patch_rules.ts @@ -80,6 +80,7 @@ export const patchRules = async ({ to, type, references, + namespace, note, version, exceptionsList, @@ -131,6 +132,7 @@ export const patchRules = async ({ type, references, version, + namespace, note, exceptionsList, anomalyThreshold, @@ -176,6 +178,7 @@ export const patchRules = async ({ to, type, references, + namespace, note, version: calculatedVersion, exceptionsList, diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/read_rules.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/read_rules.test.ts index 33bc002942497..6f89d725a458e 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/read_rules.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/read_rules.test.ts @@ -21,7 +21,10 @@ export class TestError extends Error { public output: { statusCode: number }; } -describe('read_rules', () => { +describe.each([ + ['Legacy', false], + ['RAC', true], +])('read_rules - %s', (_, isRuleRegistryEnabled) => { beforeEach(() => { jest.resetAllMocks(); jest.restoreAllMocks(); @@ -30,23 +33,25 @@ describe('read_rules', () => { describe('readRules', () => { test('should return the output from rulesClient if id is set but ruleId is undefined', async () => { const rulesClient = rulesClientMock.create(); - rulesClient.get.mockResolvedValue(getAlertMock(getQueryRuleParams())); + rulesClient.get.mockResolvedValue(getAlertMock(isRuleRegistryEnabled, getQueryRuleParams())); const rule = await readRules({ + isRuleRegistryEnabled, rulesClient, id: '04128c15-0d1b-4716-a4c5-46997ac7f3bd', ruleId: undefined, }); - expect(rule).toEqual(getAlertMock(getQueryRuleParams())); + expect(rule).toEqual(getAlertMock(isRuleRegistryEnabled, getQueryRuleParams())); }); test('should return null if saved object found by alerts client given id is not alert type', async () => { const rulesClient = rulesClientMock.create(); - const result = getAlertMock(getQueryRuleParams()); + const result = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); // @ts-expect-error delete result.alertTypeId; rulesClient.get.mockResolvedValue(result); const rule = await readRules({ + isRuleRegistryEnabled, rulesClient, id: '04128c15-0d1b-4716-a4c5-46997ac7f3bd', ruleId: undefined, @@ -61,6 +66,7 @@ describe('read_rules', () => { }); const rule = await readRules({ + isRuleRegistryEnabled, rulesClient, id: '04128c15-0d1b-4716-a4c5-46997ac7f3bd', ruleId: undefined, @@ -75,6 +81,7 @@ describe('read_rules', () => { }); try { await readRules({ + isRuleRegistryEnabled, rulesClient, id: '04128c15-0d1b-4716-a4c5-46997ac7f3bd', ruleId: undefined, @@ -86,23 +93,25 @@ describe('read_rules', () => { test('should return the output from rulesClient if id is undefined but ruleId is set', async () => { const rulesClient = rulesClientMock.create(); - rulesClient.get.mockResolvedValue(getAlertMock(getQueryRuleParams())); - rulesClient.find.mockResolvedValue(getFindResultWithSingleHit()); + rulesClient.get.mockResolvedValue(getAlertMock(isRuleRegistryEnabled, getQueryRuleParams())); + rulesClient.find.mockResolvedValue(getFindResultWithSingleHit(isRuleRegistryEnabled)); const rule = await readRules({ + isRuleRegistryEnabled, rulesClient, id: undefined, ruleId: 'rule-1', }); - expect(rule).toEqual(getAlertMock(getQueryRuleParams())); + expect(rule).toEqual(getAlertMock(isRuleRegistryEnabled, getQueryRuleParams())); }); test('should return null if the output from rulesClient with ruleId set is empty', async () => { const rulesClient = rulesClientMock.create(); - rulesClient.get.mockResolvedValue(getAlertMock(getQueryRuleParams())); + rulesClient.get.mockResolvedValue(getAlertMock(isRuleRegistryEnabled, getQueryRuleParams())); rulesClient.find.mockResolvedValue({ data: [], page: 0, perPage: 1, total: 0 }); const rule = await readRules({ + isRuleRegistryEnabled, rulesClient, id: undefined, ruleId: 'rule-1', @@ -112,23 +121,25 @@ describe('read_rules', () => { test('should return the output from rulesClient if id is null but ruleId is set', async () => { const rulesClient = rulesClientMock.create(); - rulesClient.get.mockResolvedValue(getAlertMock(getQueryRuleParams())); - rulesClient.find.mockResolvedValue(getFindResultWithSingleHit()); + rulesClient.get.mockResolvedValue(getAlertMock(isRuleRegistryEnabled, getQueryRuleParams())); + rulesClient.find.mockResolvedValue(getFindResultWithSingleHit(isRuleRegistryEnabled)); const rule = await readRules({ + isRuleRegistryEnabled, rulesClient, id: undefined, ruleId: 'rule-1', }); - expect(rule).toEqual(getAlertMock(getQueryRuleParams())); + expect(rule).toEqual(getAlertMock(isRuleRegistryEnabled, getQueryRuleParams())); }); test('should return null if id and ruleId are undefined', async () => { const rulesClient = rulesClientMock.create(); - rulesClient.get.mockResolvedValue(getAlertMock(getQueryRuleParams())); - rulesClient.find.mockResolvedValue(getFindResultWithSingleHit()); + rulesClient.get.mockResolvedValue(getAlertMock(isRuleRegistryEnabled, getQueryRuleParams())); + rulesClient.find.mockResolvedValue(getFindResultWithSingleHit(isRuleRegistryEnabled)); const rule = await readRules({ + isRuleRegistryEnabled, rulesClient, id: undefined, ruleId: undefined, diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/read_rules.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/read_rules.ts index 141977f2474e0..9578e3d4cb6d2 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/read_rules.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/read_rules.ts @@ -20,6 +20,7 @@ import { isAlertType, ReadRuleOptions } from './types'; * a filter query against the tags using `alert.attributes.tags: "__internal:${ruleId}"]` */ export const readRules = async ({ + isRuleRegistryEnabled, rulesClient, id, ruleId, @@ -27,7 +28,7 @@ export const readRules = async ({ if (id != null) { try { const rule = await rulesClient.get({ id }); - if (isAlertType(rule)) { + if (isAlertType(isRuleRegistryEnabled, rule)) { return rule; } else { return null; @@ -42,6 +43,7 @@ export const readRules = async ({ } } else if (ruleId != null) { const ruleFromFind = await findRules({ + isRuleRegistryEnabled, rulesClient, filter: `alert.attributes.tags: "${INTERNAL_RULE_ID_KEY}:${ruleId}"`, page: 1, @@ -50,7 +52,10 @@ export const readRules = async ({ sortField: undefined, sortOrder: undefined, }); - if (ruleFromFind.data.length === 0 || !isAlertType(ruleFromFind.data[0])) { + if ( + ruleFromFind.data.length === 0 || + !isAlertType(isRuleRegistryEnabled, ruleFromFind.data[0]) + ) { return null; } else { return ruleFromFind.data[0]; diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/types.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/types.ts index 235217761c8b1..c27caaed5449e 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/types.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/types.ts @@ -101,6 +101,7 @@ import { BuildingBlockTypeOrUndefined, RuleNameOverrideOrUndefined, EventCategoryOverrideOrUndefined, + NamespaceOrUndefined, } from '../../../../common/detection_engine/schemas/common/schemas'; import { RulesClient, PartialAlert } from '../../../../../alerting/server'; @@ -109,6 +110,7 @@ import { SIGNALS_ID } from '../../../../common/constants'; import { PartialFilter } from '../types'; import { RuleParams } from '../schemas/rule_schemas'; import { IRuleExecutionLogClient } from '../rule_execution_log/types'; +import { ruleTypeMappings } from '../signals/utils'; export type RuleAlertType = Alert; @@ -192,15 +194,20 @@ export interface Clients { } export const isAlertTypes = ( + isRuleRegistryEnabled: boolean, partialAlert: Array> ): partialAlert is RuleAlertType[] => { - return partialAlert.every((rule) => isAlertType(rule)); + return partialAlert.every((rule) => isAlertType(isRuleRegistryEnabled, rule)); }; export const isAlertType = ( + isRuleRegistryEnabled: boolean, partialAlert: PartialAlert ): partialAlert is RuleAlertType => { - return partialAlert.alertTypeId === SIGNALS_ID; + const ruleTypeValues = (Object.values(ruleTypeMappings) as unknown) as string[]; + return isRuleRegistryEnabled + ? ruleTypeValues.includes(partialAlert.alertTypeId as string) + : partialAlert.alertTypeId === SIGNALS_ID; }; export const isRuleStatusSavedObjectType = ( @@ -266,9 +273,12 @@ export interface CreateRulesOptions { version: Version; exceptionsList: ListArray; actions: RuleAlertAction[]; + isRuleRegistryEnabled: boolean; + namespace?: NamespaceOrUndefined; } export interface UpdateRulesOptions { + isRuleRegistryEnabled: boolean; spaceId: string; ruleStatusClient: IRuleExecutionLogClient; rulesClient: RulesClient; @@ -327,9 +337,11 @@ export interface PatchRulesOptions { exceptionsList: ListArrayOrUndefined; actions: RuleAlertAction[] | undefined; rule: SanitizedAlert | null; + namespace?: NamespaceOrUndefined; } export interface ReadRuleOptions { + isRuleRegistryEnabled: boolean; rulesClient: RulesClient; id: IdOrUndefined; ruleId: RuleIdOrUndefined; @@ -343,6 +355,7 @@ export interface DeleteRuleOptions { } export interface FindRuleOptions { + isRuleRegistryEnabled: boolean; rulesClient: RulesClient; perPage: PerPageOrUndefined; page: PageOrUndefined; diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/update_prepacked_rules.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/update_prepacked_rules.test.ts index 5cc7f068aa06d..7c9f0c9ec67a3 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/update_prepacked_rules.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/update_prepacked_rules.test.ts @@ -13,7 +13,10 @@ import { getAddPrepackagedRulesSchemaDecodedMock } from '../../../../common/dete import { ruleExecutionLogClientMock } from '../rule_execution_log/__mocks__/rule_execution_log_client'; jest.mock('./patch_rules'); -describe('updatePrepackagedRules', () => { +describe.each([ + ['Legacy', false], + ['RAC', true], +])('updatePrepackagedRules - %s', (_, isRuleRegistryEnabled) => { let rulesClient: ReturnType; let ruleStatusClient: ReturnType; @@ -33,14 +36,15 @@ describe('updatePrepackagedRules', () => { ]; const outputIndex = 'outputIndex'; const prepackagedRule = getAddPrepackagedRulesSchemaDecodedMock(); - rulesClient.find.mockResolvedValue(getFindResultWithSingleHit()); + rulesClient.find.mockResolvedValue(getFindResultWithSingleHit(isRuleRegistryEnabled)); await updatePrepackagedRules( rulesClient, 'default', ruleStatusClient, [{ ...prepackagedRule, actions }], - outputIndex + outputIndex, + isRuleRegistryEnabled ); expect(patchRules).toHaveBeenCalledWith( diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/update_prepacked_rules.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/update_prepacked_rules.ts index fcfab2fda1a8b..d9c2ecd1b5732 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/update_prepacked_rules.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/update_prepacked_rules.ts @@ -54,7 +54,8 @@ export const updatePrepackagedRules = async ( spaceId: string, ruleStatusClient: IRuleExecutionLogClient, rules: AddPrepackagedRulesSchemaDecoded[], - outputIndex: string + outputIndex: string, + isRuleRegistryEnabled: boolean ): Promise => { const ruleChunks = chunk(UPDATE_CHUNK_SIZE, rules); for (const ruleChunk of ruleChunks) { @@ -63,7 +64,8 @@ export const updatePrepackagedRules = async ( spaceId, ruleStatusClient, ruleChunk, - outputIndex + outputIndex, + isRuleRegistryEnabled ); await Promise.all(rulePromises); } @@ -83,7 +85,8 @@ export const createPromises = ( spaceId: string, ruleStatusClient: IRuleExecutionLogClient, rules: AddPrepackagedRulesSchemaDecoded[], - outputIndex: string + outputIndex: string, + isRuleRegistryEnabled: boolean ): Array | null>> => { return rules.map(async (rule) => { const { @@ -133,7 +136,12 @@ export const createPromises = ( exceptions_list: exceptionsList, } = rule; - const existingRule = await readRules({ rulesClient, ruleId, id: undefined }); + const existingRule = await readRules({ + isRuleRegistryEnabled, + rulesClient, + ruleId, + id: undefined, + }); // TODO: Fix these either with an is conversion or by better typing them within io-ts const filters: PartialFilter[] | undefined = filtersObject as PartialFilter[]; diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/update_rules.mock.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/update_rules.mock.ts index df9431e00a67c..58d6cf1fd5e6b 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/update_rules.mock.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/update_rules.mock.ts @@ -11,20 +11,21 @@ import { getUpdateRulesSchemaMock, } from '../../../../common/detection_engine/schemas/request/rule_schemas.mock'; import { ruleExecutionLogClientMock } from '../rule_execution_log/__mocks__/rule_execution_log_client'; -import { UpdateRulesOptions } from './types'; -export const getUpdateRulesOptionsMock = (): UpdateRulesOptions => ({ +export const getUpdateRulesOptionsMock = (isRuleRegistryEnabled: boolean) => ({ spaceId: 'default', rulesClient: rulesClientMock.create(), ruleStatusClient: ruleExecutionLogClientMock.create(), defaultOutputIndex: '.siem-signals-default', ruleUpdate: getUpdateRulesSchemaMock(), + isRuleRegistryEnabled, }); -export const getUpdateMlRulesOptionsMock = (): UpdateRulesOptions => ({ +export const getUpdateMlRulesOptionsMock = (isRuleRegistryEnabled: boolean) => ({ spaceId: 'default', rulesClient: rulesClientMock.create(), ruleStatusClient: ruleExecutionLogClientMock.create(), defaultOutputIndex: '.siem-signals-default', ruleUpdate: getUpdateMachineLearningSchemaMock(), + isRuleRegistryEnabled, }); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/update_rules.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/update_rules.test.ts index e46b4fad63a92..1ad5cd7ae934c 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/update_rules.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/update_rules.test.ts @@ -11,15 +11,18 @@ import { getUpdateRulesOptionsMock, getUpdateMlRulesOptionsMock } from './update import { RulesClientMock } from '../../../../../alerting/server/rules_client.mock'; import { getMlRuleParams, getQueryRuleParams } from '../schemas/rule_schemas.mock'; -describe('updateRules', () => { +describe.each([ + ['Legacy', false], + ['RAC', true], +])('updateRules - %s', (_, isRuleRegistryEnabled) => { it('should call rulesClient.disable if the rule was enabled and enabled is false', async () => { - const rulesOptionsMock = getUpdateRulesOptionsMock(); + const rulesOptionsMock = getUpdateRulesOptionsMock(isRuleRegistryEnabled); rulesOptionsMock.ruleUpdate.enabled = false; ((rulesOptionsMock.rulesClient as unknown) as RulesClientMock).get.mockResolvedValue( - getAlertMock(getQueryRuleParams()) + getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()) ); ((rulesOptionsMock.rulesClient as unknown) as RulesClientMock).update.mockResolvedValue( - getAlertMock(getQueryRuleParams()) + getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()) ); await updateRules(rulesOptionsMock); @@ -32,15 +35,15 @@ describe('updateRules', () => { }); it('should call rulesClient.enable if the rule was disabled and enabled is true', async () => { - const rulesOptionsMock = getUpdateRulesOptionsMock(); + const rulesOptionsMock = getUpdateRulesOptionsMock(isRuleRegistryEnabled); rulesOptionsMock.ruleUpdate.enabled = true; ((rulesOptionsMock.rulesClient as unknown) as RulesClientMock).get.mockResolvedValue({ - ...getAlertMock(getQueryRuleParams()), + ...getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()), enabled: false, }); ((rulesOptionsMock.rulesClient as unknown) as RulesClientMock).update.mockResolvedValue( - getAlertMock(getQueryRuleParams()) + getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()) ); await updateRules(rulesOptionsMock); @@ -53,15 +56,15 @@ describe('updateRules', () => { }); it('calls the rulesClient with params', async () => { - const rulesOptionsMock = getUpdateMlRulesOptionsMock(); + const rulesOptionsMock = getUpdateMlRulesOptionsMock(isRuleRegistryEnabled); rulesOptionsMock.ruleUpdate.enabled = true; ((rulesOptionsMock.rulesClient as unknown) as RulesClientMock).update.mockResolvedValue( - getAlertMock(getMlRuleParams()) + getAlertMock(isRuleRegistryEnabled, getMlRuleParams()) ); ((rulesOptionsMock.rulesClient as unknown) as RulesClientMock).get.mockResolvedValue( - getAlertMock(getMlRuleParams()) + getAlertMock(isRuleRegistryEnabled, getMlRuleParams()) ); await updateRules(rulesOptionsMock); diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/update_rules.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/update_rules.ts index a3e0ba31f0c3c..f4060f7f831a9 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/update_rules.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/update_rules.ts @@ -14,11 +14,12 @@ import { readRules } from './read_rules'; import { UpdateRulesOptions } from './types'; import { addTags } from './add_tags'; import { typeSpecificSnakeToCamel } from '../schemas/rule_converters'; -import { InternalRuleUpdate, RuleParams } from '../schemas/rule_schemas'; +import { RuleParams } from '../schemas/rule_schemas'; import { enableRule } from './enable_rule'; import { maybeMute, transformToAlertThrottle, transformToNotifyWhen } from './utils'; export const updateRules = async ({ + isRuleRegistryEnabled, spaceId, rulesClient, ruleStatusClient, @@ -26,6 +27,7 @@ export const updateRules = async ({ ruleUpdate, }: UpdateRulesOptions): Promise | null> => { const existingRule = await readRules({ + isRuleRegistryEnabled, rulesClient, ruleId: ruleUpdate.rule_id, id: ruleUpdate.id, @@ -36,7 +38,7 @@ export const updateRules = async ({ const typeSpecificParams = typeSpecificSnakeToCamel(ruleUpdate); const enabled = ruleUpdate.enabled ?? true; - const newInternalRule: InternalRuleUpdate = { + const newInternalRule = { name: ruleUpdate.name, tags: addTags(ruleUpdate.tags ?? [], existingRule.params.ruleId, existingRule.params.immutable), params: { @@ -63,6 +65,7 @@ export const updateRules = async ({ timestampOverride: ruleUpdate.timestamp_override, to: ruleUpdate.to ?? 'now', references: ruleUpdate.references ?? [], + namespace: ruleUpdate.namespace, note: ruleUpdate.note, // Always use the version from the request if specified. If it isn't specified, leave immutable rules alone and // increment the version of mutable rules by 1. diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/utils.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/utils.test.ts index 602e422772711..95e8552c4b14b 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/utils.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/utils.test.ts @@ -81,6 +81,7 @@ describe('utils', () => { type: undefined, references: undefined, version: undefined, + namespace: undefined, note: undefined, anomalyThreshold: undefined, machineLearningJobId: undefined, @@ -131,6 +132,7 @@ describe('utils', () => { type: undefined, references: undefined, version: undefined, + namespace: undefined, note: undefined, anomalyThreshold: undefined, machineLearningJobId: undefined, @@ -181,6 +183,7 @@ describe('utils', () => { type: undefined, references: undefined, version: undefined, + namespace: undefined, note: undefined, anomalyThreshold: undefined, machineLearningJobId: undefined, diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/utils.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/utils.ts index d9d5151a64c46..3fdd97b7d933f 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/rules/utils.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/rules/utils.ts @@ -52,6 +52,7 @@ import { RuleNameOverrideOrUndefined, TimestampOverrideOrUndefined, EventCategoryOverrideOrUndefined, + NamespaceOrUndefined, } from '../../../../common/detection_engine/schemas/common/schemas'; import { PartialFilter } from '../types'; import { RuleParams } from '../schemas/rule_schemas'; @@ -118,6 +119,7 @@ export interface UpdateProperties { version: VersionOrUndefined; exceptionsList: ListArrayOrUndefined; anomalyThreshold: AnomalyThresholdOrUndefined; + namespace: NamespaceOrUndefined; } export const calculateVersion = ( diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/schemas/rule_converters.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/schemas/rule_converters.ts index 8a67636c6649d..5214be513a0e6 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/schemas/rule_converters.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/schemas/rule_converters.ts @@ -36,6 +36,7 @@ import { transformToAlertThrottle, transformToNotifyWhen, } from '../rules/utils'; +import { ruleTypeMappings } from '../signals/utils'; // These functions provide conversions from the request API schema to the internal rule schema and from the internal rule schema // to the response API schema. This provides static type-check assurances that the internal schema is in sync with the API schema for @@ -121,14 +122,15 @@ export const typeSpecificSnakeToCamel = (params: CreateTypeSpecific): TypeSpecif export const convertCreateAPIToInternalSchema = ( input: CreateRulesSchema, - siemClient: AppClient + siemClient: AppClient, + isRuleRegistryEnabled: boolean ): InternalRuleCreate => { const typeSpecificParams = typeSpecificSnakeToCamel(input); const newRuleId = input.rule_id ?? uuid.v4(); return { name: input.name, tags: addTags(input.tags ?? [], newRuleId, false), - alertTypeId: SIGNALS_ID, + alertTypeId: isRuleRegistryEnabled ? ruleTypeMappings[input.type] : SIGNALS_ID, consumer: SERVER_APP_ID, params: { author: input.author ?? [], @@ -153,6 +155,7 @@ export const convertCreateAPIToInternalSchema = ( timestampOverride: input.timestamp_override, to: input.to ?? 'now', references: input.references ?? [], + namespace: input.namespace, note: input.note, version: input.version ?? 1, exceptionsList: input.exceptions_list ?? [], @@ -249,6 +252,7 @@ export const commonParamsCamelToSnake = (params: BaseRuleParams) => { risk_score: params.riskScore, severity: params.severity, building_block_type: params.buildingBlockType, + namespace: params.namespace, note: params.note, license: params.license, output_index: params.outputIndex, diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/schemas/rule_schemas.mock.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/schemas/rule_schemas.mock.ts index 846a4e26410a3..506f40af2ee79 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/schemas/rule_schemas.mock.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/schemas/rule_schemas.mock.ts @@ -36,6 +36,7 @@ const getBaseRuleParams = (): BaseRuleParams => { riskScoreMapping: [], ruleNameOverride: undefined, maxSignals: 10000, + namespace: undefined, note: '# Investigative notes', timelineId: 'some-timeline-id', timelineTitle: 'some-timeline-title', diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/schemas/rule_schemas.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/schemas/rule_schemas.ts index c414ecc8655a3..e9215084614c0 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/schemas/rule_schemas.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/schemas/rule_schemas.ts @@ -32,6 +32,7 @@ import { buildingBlockTypeOrUndefined, description, enabled, + namespaceOrUndefined, noteOrUndefined, false_positives, rule_id, @@ -62,7 +63,13 @@ import { updated_at, } from '../../../../common/detection_engine/schemas/common/schemas'; -import { SIGNALS_ID, SERVER_APP_ID } from '../../../../common/constants'; +import { + SIGNALS_ID, + SERVER_APP_ID, + INDICATOR_RULE_TYPE_ID, + ML_RULE_TYPE_ID, + QUERY_RULE_TYPE_ID, +} from '../../../../common/constants'; const nonEqlLanguages = t.keyof({ kuery: null, lucene: null }); export const baseRuleParams = t.exact( @@ -70,6 +77,7 @@ export const baseRuleParams = t.exact( author, buildingBlockType: buildingBlockTypeOrUndefined, description, + namespace: namespaceOrUndefined, note: noteOrUndefined, falsePositives: false_positives, from, @@ -196,10 +204,21 @@ export const notifyWhen = t.union([ t.null, ]); +export const allRuleTypes = t.union([ + t.literal(SIGNALS_ID), + // t.literal(EQL_RULE_TYPE_ID), + t.literal(ML_RULE_TYPE_ID), + t.literal(QUERY_RULE_TYPE_ID), + // t.literal(SAVED_QUERY_RULE_TYPE_ID), + t.literal(INDICATOR_RULE_TYPE_ID), + // t.literal(THRESHOLD_RULE_TYPE_ID), +]); +export type AllRuleTypes = t.TypeOf; + export const internalRuleCreate = t.type({ name, tags, - alertTypeId: t.literal(SIGNALS_ID), + alertTypeId: allRuleTypes, consumer: t.literal(SERVER_APP_ID), schedule: t.type({ interval: t.string, diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/signals/search_after_bulk_create.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/signals/search_after_bulk_create.ts index 8037a9a201510..52b0799f5fe33 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/signals/search_after_bulk_create.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/signals/search_after_bulk_create.ts @@ -182,7 +182,7 @@ export const searchAfterAndBulkCreate = async ({ break; } } catch (exc: unknown) { - logger.error(buildRuleMessage(`[-] search_after and bulk threw an error ${exc}`)); + logger.error(buildRuleMessage(`[-] search_after_bulk_create threw an error ${exc}`)); return mergeReturns([ toReturn, createSearchAfterReturnType({ diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/signals/signal_rule_alert_type.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/signals/signal_rule_alert_type.test.ts index 9af8680ec726a..2696d6981083e 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/signals/signal_rule_alert_type.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/signals/signal_rule_alert_type.test.ts @@ -177,7 +177,7 @@ describe('signal_rule_alert_type', () => { alertServices.scopedClusterClient.asCurrentUser.fieldCaps.mockResolvedValue( value as ApiResponse ); - const ruleAlert = getAlertMock(getQueryRuleParams()); + const ruleAlert = getAlertMock(false, getQueryRuleParams()); alertServices.savedObjectsClient.get.mockResolvedValue({ id: 'id', type: 'type', @@ -245,7 +245,7 @@ describe('signal_rule_alert_type', () => { }, application: {}, }); - const newRuleAlert = getAlertMock(getQueryRuleParams()); + const newRuleAlert = getAlertMock(false, getQueryRuleParams()); newRuleAlert.params.index = ['some*', 'myfa*', 'anotherindex*']; payload = getPayload(newRuleAlert, alertServices) as jest.Mocked; @@ -274,7 +274,7 @@ describe('signal_rule_alert_type', () => { }, application: {}, }); - const newRuleAlert = getAlertMock(getQueryRuleParams()); + const newRuleAlert = getAlertMock(false, getQueryRuleParams()); newRuleAlert.params.index = ['some*', 'myfa*', 'anotherindex*']; payload = getPayload(newRuleAlert, alertServices) as jest.Mocked; @@ -309,7 +309,7 @@ describe('signal_rule_alert_type', () => { }); it('should call scheduleActions if signalsCount was greater than 0 and rule has actions defined', async () => { - const ruleAlert = getAlertMock(getQueryRuleParams()); + const ruleAlert = getAlertMock(false, getQueryRuleParams()); ruleAlert.actions = [ { actionTypeId: '.slack', @@ -333,7 +333,7 @@ describe('signal_rule_alert_type', () => { }); it('should resolve results_link when meta is an empty object to use "/app/security"', async () => { - const ruleAlert = getAlertMock(getQueryRuleParams()); + const ruleAlert = getAlertMock(false, getQueryRuleParams()); ruleAlert.params.meta = {}; ruleAlert.actions = [ { @@ -366,7 +366,7 @@ describe('signal_rule_alert_type', () => { }); it('should resolve results_link when meta is undefined use "/app/security"', async () => { - const ruleAlert = getAlertMock(getQueryRuleParams()); + const ruleAlert = getAlertMock(false, getQueryRuleParams()); delete ruleAlert.params.meta; ruleAlert.actions = [ { @@ -399,7 +399,7 @@ describe('signal_rule_alert_type', () => { }); it('should resolve results_link with a custom link', async () => { - const ruleAlert = getAlertMock(getQueryRuleParams()); + const ruleAlert = getAlertMock(false, getQueryRuleParams()); ruleAlert.params.meta = { kibana_siem_app_url: 'http://localhost' }; ruleAlert.actions = [ { @@ -433,7 +433,7 @@ describe('signal_rule_alert_type', () => { describe('ML rule', () => { it('should not call checkPrivileges if ML rule', async () => { - const ruleAlert = getAlertMock(getMlRuleParams()); + const ruleAlert = getAlertMock(false, getMlRuleParams()); alertServices.savedObjectsClient.get.mockResolvedValue({ id: 'id', type: 'type', diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/signals/utils.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/signals/utils.ts index dc929ed0fdeb1..aee265a2cfdfe 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/signals/utils.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/signals/utils.ts @@ -62,6 +62,12 @@ import { import { WrappedRACAlert } from '../rule_types/types'; import { SearchTypes } from '../../../../common/detection_engine/types'; import { IRuleExecutionLogClient } from '../rule_execution_log/types'; +import { + INDICATOR_RULE_TYPE_ID, + ML_RULE_TYPE_ID, + QUERY_RULE_TYPE_ID, + SIGNALS_ID, +} from '../../../../common/constants'; interface SortExceptionsReturn { exceptionsWithValueLists: ExceptionListItemSchema[]; @@ -999,3 +1005,15 @@ export const getField = (event: SimpleHit, field: string) return get(event._source, field) as T; } }; + +/** + * Maps legacy rule types to RAC rule type IDs. + */ +export const ruleTypeMappings = { + eql: SIGNALS_ID, + machine_learning: ML_RULE_TYPE_ID, + query: QUERY_RULE_TYPE_ID, + saved_query: SIGNALS_ID, + threat_match: INDICATOR_RULE_TYPE_ID, + threshold: SIGNALS_ID, +}; diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/tags/read_tags.test.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/tags/read_tags.test.ts index 1b7bf048646ed..505f8958ca44d 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/tags/read_tags.test.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/tags/read_tags.test.ts @@ -11,19 +11,22 @@ import { INTERNAL_RULE_ID_KEY, INTERNAL_IDENTIFIER } from '../../../../common/co import { readRawTags, readTags, convertTagsToSet, convertToTags, isTags } from './read_tags'; import { getQueryRuleParams } from '../schemas/rule_schemas.mock'; -describe('read_tags', () => { +describe.each([ + ['Legacy', false], + ['RAC', true], +])('read_tags - %s', (_, isRuleRegistryEnabled) => { afterEach(() => { jest.resetAllMocks(); }); describe('readRawTags', () => { test('it should return the intersection of tags to where none are repeating', async () => { - const result1 = getAlertMock(getQueryRuleParams()); + const result1 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); result1.id = '4baa53f8-96da-44ee-ad58-41bccb7f9f3d'; result1.params.ruleId = 'rule-1'; result1.tags = ['tag 1', 'tag 2', 'tag 3']; - const result2 = getAlertMock(getQueryRuleParams()); + const result2 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); result2.id = '5baa53f8-96da-44ee-ad58-41bccb7f9f3d'; result2.params.ruleId = 'rule-2'; result2.tags = ['tag 1', 'tag 2', 'tag 3', 'tag 4']; @@ -31,17 +34,17 @@ describe('read_tags', () => { const rulesClient = rulesClientMock.create(); rulesClient.find.mockResolvedValue(getFindResultWithMultiHits({ data: [result1, result2] })); - const tags = await readRawTags({ rulesClient }); + const tags = await readRawTags({ isRuleRegistryEnabled, rulesClient }); expect(tags).toEqual(['tag 1', 'tag 2', 'tag 3', 'tag 4']); }); test('it should return the intersection of tags to where some are repeating values', async () => { - const result1 = getAlertMock(getQueryRuleParams()); + const result1 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); result1.id = '4baa53f8-96da-44ee-ad58-41bccb7f9f3d'; result1.params.ruleId = 'rule-1'; result1.tags = ['tag 1', 'tag 2', 'tag 2', 'tag 3']; - const result2 = getAlertMock(getQueryRuleParams()); + const result2 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); result2.id = '5baa53f8-96da-44ee-ad58-41bccb7f9f3d'; result2.params.ruleId = 'rule-2'; result2.tags = ['tag 1', 'tag 2', 'tag 2', 'tag 3', 'tag 4']; @@ -49,17 +52,17 @@ describe('read_tags', () => { const rulesClient = rulesClientMock.create(); rulesClient.find.mockResolvedValue(getFindResultWithMultiHits({ data: [result1, result2] })); - const tags = await readRawTags({ rulesClient }); + const tags = await readRawTags({ isRuleRegistryEnabled, rulesClient }); expect(tags).toEqual(['tag 1', 'tag 2', 'tag 3', 'tag 4']); }); test('it should work with no tags defined between two results', async () => { - const result1 = getAlertMock(getQueryRuleParams()); + const result1 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); result1.id = '4baa53f8-96da-44ee-ad58-41bccb7f9f3d'; result1.params.ruleId = 'rule-1'; result1.tags = []; - const result2 = getAlertMock(getQueryRuleParams()); + const result2 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); result2.id = '5baa53f8-96da-44ee-ad58-41bccb7f9f3d'; result2.params.ruleId = 'rule-2'; result2.tags = []; @@ -67,12 +70,12 @@ describe('read_tags', () => { const rulesClient = rulesClientMock.create(); rulesClient.find.mockResolvedValue(getFindResultWithMultiHits({ data: [result1, result2] })); - const tags = await readRawTags({ rulesClient }); + const tags = await readRawTags({ isRuleRegistryEnabled, rulesClient }); expect(tags).toEqual([]); }); test('it should work with a single tag which has repeating values in it', async () => { - const result1 = getAlertMock(getQueryRuleParams()); + const result1 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); result1.id = '4baa53f8-96da-44ee-ad58-41bccb7f9f3d'; result1.params.ruleId = 'rule-1'; result1.tags = ['tag 1', 'tag 1', 'tag 1', 'tag 2']; @@ -80,12 +83,12 @@ describe('read_tags', () => { const rulesClient = rulesClientMock.create(); rulesClient.find.mockResolvedValue(getFindResultWithMultiHits({ data: [result1] })); - const tags = await readRawTags({ rulesClient }); + const tags = await readRawTags({ isRuleRegistryEnabled, rulesClient }); expect(tags).toEqual(['tag 1', 'tag 2']); }); test('it should work with a single tag which has empty tags', async () => { - const result1 = getAlertMock(getQueryRuleParams()); + const result1 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); result1.id = '4baa53f8-96da-44ee-ad58-41bccb7f9f3d'; result1.params.ruleId = 'rule-1'; result1.tags = []; @@ -93,19 +96,19 @@ describe('read_tags', () => { const rulesClient = rulesClientMock.create(); rulesClient.find.mockResolvedValue(getFindResultWithMultiHits({ data: [result1] })); - const tags = await readRawTags({ rulesClient }); + const tags = await readRawTags({ isRuleRegistryEnabled, rulesClient }); expect(tags).toEqual([]); }); }); describe('readTags', () => { test('it should return the intersection of tags to where none are repeating', async () => { - const result1 = getAlertMock(getQueryRuleParams()); + const result1 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); result1.id = '4baa53f8-96da-44ee-ad58-41bccb7f9f3d'; result1.params.ruleId = 'rule-1'; result1.tags = ['tag 1', 'tag 2', 'tag 3']; - const result2 = getAlertMock(getQueryRuleParams()); + const result2 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); result2.id = '5baa53f8-96da-44ee-ad58-41bccb7f9f3d'; result2.params.ruleId = 'rule-2'; result2.tags = ['tag 1', 'tag 2', 'tag 3', 'tag 4']; @@ -113,17 +116,17 @@ describe('read_tags', () => { const rulesClient = rulesClientMock.create(); rulesClient.find.mockResolvedValue(getFindResultWithMultiHits({ data: [result1, result2] })); - const tags = await readTags({ rulesClient }); + const tags = await readTags({ isRuleRegistryEnabled, rulesClient }); expect(tags).toEqual(['tag 1', 'tag 2', 'tag 3', 'tag 4']); }); test('it should return the intersection of tags to where some are repeating values', async () => { - const result1 = getAlertMock(getQueryRuleParams()); + const result1 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); result1.id = '4baa53f8-96da-44ee-ad58-41bccb7f9f3d'; result1.params.ruleId = 'rule-1'; result1.tags = ['tag 1', 'tag 2', 'tag 2', 'tag 3']; - const result2 = getAlertMock(getQueryRuleParams()); + const result2 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); result2.id = '5baa53f8-96da-44ee-ad58-41bccb7f9f3d'; result2.params.ruleId = 'rule-2'; result2.tags = ['tag 1', 'tag 2', 'tag 2', 'tag 3', 'tag 4']; @@ -131,17 +134,17 @@ describe('read_tags', () => { const rulesClient = rulesClientMock.create(); rulesClient.find.mockResolvedValue(getFindResultWithMultiHits({ data: [result1, result2] })); - const tags = await readTags({ rulesClient }); + const tags = await readTags({ isRuleRegistryEnabled, rulesClient }); expect(tags).toEqual(['tag 1', 'tag 2', 'tag 3', 'tag 4']); }); test('it should work with no tags defined between two results', async () => { - const result1 = getAlertMock(getQueryRuleParams()); + const result1 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); result1.id = '4baa53f8-96da-44ee-ad58-41bccb7f9f3d'; result1.params.ruleId = 'rule-1'; result1.tags = []; - const result2 = getAlertMock(getQueryRuleParams()); + const result2 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); result2.id = '5baa53f8-96da-44ee-ad58-41bccb7f9f3d'; result2.params.ruleId = 'rule-2'; result2.tags = []; @@ -149,12 +152,12 @@ describe('read_tags', () => { const rulesClient = rulesClientMock.create(); rulesClient.find.mockResolvedValue(getFindResultWithMultiHits({ data: [result1, result2] })); - const tags = await readTags({ rulesClient }); + const tags = await readTags({ isRuleRegistryEnabled, rulesClient }); expect(tags).toEqual([]); }); test('it should work with a single tag which has repeating values in it', async () => { - const result1 = getAlertMock(getQueryRuleParams()); + const result1 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); result1.id = '4baa53f8-96da-44ee-ad58-41bccb7f9f3d'; result1.params.ruleId = 'rule-1'; result1.tags = ['tag 1', 'tag 1', 'tag 1', 'tag 2']; @@ -162,12 +165,12 @@ describe('read_tags', () => { const rulesClient = rulesClientMock.create(); rulesClient.find.mockResolvedValue(getFindResultWithMultiHits({ data: [result1] })); - const tags = await readTags({ rulesClient }); + const tags = await readTags({ isRuleRegistryEnabled, rulesClient }); expect(tags).toEqual(['tag 1', 'tag 2']); }); test('it should work with a single tag which has empty tags', async () => { - const result1 = getAlertMock(getQueryRuleParams()); + const result1 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); result1.id = '4baa53f8-96da-44ee-ad58-41bccb7f9f3d'; result1.params.ruleId = 'rule-1'; result1.tags = []; @@ -175,12 +178,12 @@ describe('read_tags', () => { const rulesClient = rulesClientMock.create(); rulesClient.find.mockResolvedValue(getFindResultWithMultiHits({ data: [result1] })); - const tags = await readTags({ rulesClient }); + const tags = await readTags({ isRuleRegistryEnabled, rulesClient }); expect(tags).toEqual([]); }); test('it should filter out any __internal tags for things such as alert_id', async () => { - const result1 = getAlertMock(getQueryRuleParams()); + const result1 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); result1.id = '4baa53f8-96da-44ee-ad58-41bccb7f9f3d'; result1.params.ruleId = 'rule-1'; result1.tags = [ @@ -192,12 +195,12 @@ describe('read_tags', () => { const rulesClient = rulesClientMock.create(); rulesClient.find.mockResolvedValue(getFindResultWithMultiHits({ data: [result1] })); - const tags = await readTags({ rulesClient }); + const tags = await readTags({ isRuleRegistryEnabled, rulesClient }); expect(tags).toEqual(['tag 1']); }); test('it should filter out any __internal tags with two different results', async () => { - const result1 = getAlertMock(getQueryRuleParams()); + const result1 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); result1.id = '4baa53f8-96da-44ee-ad58-41bccb7f9f3d'; result1.params.ruleId = 'rule-1'; result1.tags = [ @@ -210,7 +213,7 @@ describe('read_tags', () => { 'tag 5', ]; - const result2 = getAlertMock(getQueryRuleParams()); + const result2 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); result2.id = '5baa53f8-96da-44ee-ad58-41bccb7f9f3d'; result2.params.ruleId = 'rule-2'; result2.tags = [ @@ -225,19 +228,19 @@ describe('read_tags', () => { const rulesClient = rulesClientMock.create(); rulesClient.find.mockResolvedValue(getFindResultWithMultiHits({ data: [result1] })); - const tags = await readTags({ rulesClient }); + const tags = await readTags({ isRuleRegistryEnabled, rulesClient }); expect(tags).toEqual(['tag 1', 'tag 2', 'tag 3', 'tag 4', 'tag 5']); }); }); describe('convertTagsToSet', () => { test('it should convert the intersection of two tag systems without duplicates', () => { - const result1 = getAlertMock(getQueryRuleParams()); + const result1 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); result1.id = '4baa53f8-96da-44ee-ad58-41bccb7f9f3d'; result1.params.ruleId = 'rule-1'; result1.tags = ['tag 1', 'tag 2', 'tag 2', 'tag 3']; - const result2 = getAlertMock(getQueryRuleParams()); + const result2 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); result2.id = '5baa53f8-96da-44ee-ad58-41bccb7f9f3d'; result2.params.ruleId = 'rule-2'; result2.tags = ['tag 1', 'tag 2', 'tag 2', 'tag 3', 'tag 4']; @@ -255,12 +258,12 @@ describe('read_tags', () => { describe('convertToTags', () => { test('it should convert the two tag systems together with duplicates', () => { - const result1 = getAlertMock(getQueryRuleParams()); + const result1 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); result1.id = '4baa53f8-96da-44ee-ad58-41bccb7f9f3d'; result1.params.ruleId = 'rule-1'; result1.tags = ['tag 1', 'tag 2', 'tag 2', 'tag 3']; - const result2 = getAlertMock(getQueryRuleParams()); + const result2 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); result2.id = '5baa53f8-96da-44ee-ad58-41bccb7f9f3d'; result2.params.ruleId = 'rule-2'; result2.tags = ['tag 1', 'tag 2', 'tag 2', 'tag 3', 'tag 4']; @@ -281,18 +284,18 @@ describe('read_tags', () => { }); test('it should filter out anything that is not a tag', () => { - const result1 = getAlertMock(getQueryRuleParams()); + const result1 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); result1.id = '4baa53f8-96da-44ee-ad58-41bccb7f9f3d'; result1.params.ruleId = 'rule-1'; result1.tags = ['tag 1', 'tag 2', 'tag 2', 'tag 3']; - const result2 = getAlertMock(getQueryRuleParams()); + const result2 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); result2.id = '99979e67-19a7-455f-b452-8eded6135716'; result2.params.ruleId = 'rule-2'; // @ts-expect-error delete result2.tags; - const result3 = getAlertMock(getQueryRuleParams()); + const result3 = getAlertMock(isRuleRegistryEnabled, getQueryRuleParams()); result3.id = '5baa53f8-96da-44ee-ad58-41bccb7f9f3d'; result3.params.ruleId = 'rule-2'; result3.tags = ['tag 1', 'tag 2', 'tag 2', 'tag 3', 'tag 4']; diff --git a/x-pack/plugins/security_solution/server/lib/detection_engine/tags/read_tags.ts b/x-pack/plugins/security_solution/server/lib/detection_engine/tags/read_tags.ts index 2314a8a49f567..183ac6f777963 100644 --- a/x-pack/plugins/security_solution/server/lib/detection_engine/tags/read_tags.ts +++ b/x-pack/plugins/security_solution/server/lib/detection_engine/tags/read_tags.ts @@ -40,22 +40,27 @@ export const convertTagsToSet = (tagObjects: object[]): Set => { // then this should be replaced with a an aggregation call. // Ref: https://www.elastic.co/guide/en/kibana/master/saved-objects-api.html export const readTags = async ({ + isRuleRegistryEnabled, rulesClient, }: { + isRuleRegistryEnabled: boolean; rulesClient: RulesClient; }): Promise => { - const tags = await readRawTags({ rulesClient }); + const tags = await readRawTags({ isRuleRegistryEnabled, rulesClient }); return tags.filter((tag) => !tag.startsWith(INTERNAL_IDENTIFIER)); }; export const readRawTags = async ({ + isRuleRegistryEnabled, rulesClient, }: { + isRuleRegistryEnabled: boolean; rulesClient: RulesClient; perPage?: number; }): Promise => { // Get just one record so we can get the total count const firstTags = await findRules({ + isRuleRegistryEnabled, rulesClient, fields: ['tags'], perPage: 1, @@ -66,6 +71,7 @@ export const readRawTags = async ({ }); // Get all the rules to aggregate over all the tags of the rules const rules = await findRules({ + isRuleRegistryEnabled, rulesClient, fields: ['tags'], perPage: firstTags.total, diff --git a/x-pack/plugins/security_solution/server/lib/telemetry/filters.ts b/x-pack/plugins/security_solution/server/lib/telemetry/filters.ts index 938772ce72367..18c3baccf9aa0 100644 --- a/x-pack/plugins/security_solution/server/lib/telemetry/filters.ts +++ b/x-pack/plugins/security_solution/server/lib/telemetry/filters.ts @@ -111,6 +111,8 @@ export const allowlistEventFields: AllowlistFields = { events: allowlistBaseEventFields, // behavioral protection re-nests some field sets under Events.* (>=7.15) Events: allowlistBaseEventFields, + // behavioral protection response data under Response.* (>=7.15) + Responses: true, rule: { id: true, name: true, diff --git a/x-pack/plugins/security_solution/server/lib/telemetry/sender.test.ts b/x-pack/plugins/security_solution/server/lib/telemetry/sender.test.ts index a4f8033f1160d..d04d0ab49afe9 100644 --- a/x-pack/plugins/security_solution/server/lib/telemetry/sender.test.ts +++ b/x-pack/plugins/security_solution/server/lib/telemetry/sender.test.ts @@ -80,6 +80,7 @@ describe('TelemetryEventsSender', () => { executable: null, // null fields are never allowlisted working_directory: '/some/usr/dir', }, + Responses: '{ "result": 0 }', // >= 7.15 Target: { process: { name: 'bar.exe', @@ -89,6 +90,9 @@ describe('TelemetryEventsSender', () => { }, }, }, + threat: { + ignored_object: true, // this field is not allowlisted + }, }, ]; @@ -136,6 +140,7 @@ describe('TelemetryEventsSender', () => { name: 'foo.exe', working_directory: '/some/usr/dir', }, + Responses: '{ "result": 0 }', Target: { process: { name: 'bar.exe', diff --git a/x-pack/plugins/security_solution/server/lib/timeline/routes/prepackaged_timelines/install_prepackaged_timelines/helpers.test.ts b/x-pack/plugins/security_solution/server/lib/timeline/routes/prepackaged_timelines/install_prepackaged_timelines/helpers.test.ts index f30f80a4cf14c..c384c1df80ad1 100644 --- a/x-pack/plugins/security_solution/server/lib/timeline/routes/prepackaged_timelines/install_prepackaged_timelines/helpers.test.ts +++ b/x-pack/plugins/security_solution/server/lib/timeline/routes/prepackaged_timelines/install_prepackaged_timelines/helpers.test.ts @@ -5,8 +5,6 @@ * 2.0. */ -import { join, resolve } from 'path'; - import { createPromiseFromStreams } from '@kbn/utils'; import { SecurityPluginSetup } from '../../../../../../../security/server'; @@ -21,17 +19,20 @@ import { getFindResultWithSingleHit, } from '../../../../detection_engine/routes/__mocks__/request_responses'; -import * as lib from './helpers'; -import { importTimelines } from '../../timelines/import_timelines'; +import * as helpers from './helpers'; +import { importTimelines } from '../../timelines/import_timelines/helpers'; import { buildFrameworkRequest } from '../../../utils/common'; import { ImportTimelineResultSchema } from '../../../../../../common/types/timeline'; -jest.mock('../../timelines/import_timelines'); +jest.mock('../../timelines/import_timelines/helpers'); -describe('installPrepackagedTimelines', () => { +describe.each([ + ['Legacy', false], + ['RAC', true], +])('installPrepackagedTimelines - %s', (_, isRuleRegistryEnabled) => { let securitySetup: SecurityPluginSetup; let frameworkRequest: FrameworkRequest; - const spyInstallPrepackagedTimelines = jest.spyOn(lib, 'installPrepackagedTimelines'); + const spyInstallPrepackagedTimelines = jest.spyOn(helpers, 'installPrepackagedTimelines'); const { clients, context } = requestContextMock.createTools(); const config = createMockConfig(); @@ -46,11 +47,11 @@ describe('installPrepackagedTimelines', () => { authz: {}, } as unknown) as SecurityPluginSetup; - clients.rulesClient.find.mockResolvedValue(getFindResultWithSingleHit()); + clients.rulesClient.find.mockResolvedValue(getFindResultWithSingleHit(isRuleRegistryEnabled)); jest.doMock('./helpers', () => { return { - ...lib, + ...helpers, installPrepackagedTimelines: spyInstallPrepackagedTimelines, }; }); @@ -60,7 +61,7 @@ describe('installPrepackagedTimelines', () => { }); afterEach(() => { - spyInstallPrepackagedTimelines.mockClear(); + jest.clearAllMocks(); }); afterAll(() => { @@ -68,10 +69,10 @@ describe('installPrepackagedTimelines', () => { }); test('should call importTimelines', async () => { - await lib.installPrepackagedTimelines( + await helpers.installPrepackagedTimelines( config.maxTimelineImportExportSize, frameworkRequest, - true, + false, mockFilePath, mockFileName ); @@ -80,14 +81,12 @@ describe('installPrepackagedTimelines', () => { }); test('should call importTimelines with Readables', async () => { - const dir = resolve(join(__dirname, mockFilePath)); - const file = mockFileName; - await lib.installPrepackagedTimelines( + await helpers.installPrepackagedTimelines( config.maxTimelineImportExportSize, frameworkRequest, true, - dir, - file + mockFilePath, + mockFileName ); const args = await createPromiseFromStreams([(importTimelines as jest.Mock).mock.calls[0][0]]); const expected = JSON.stringify({ @@ -194,14 +193,12 @@ describe('installPrepackagedTimelines', () => { }); test('should call importTimelines with maxTimelineImportExportSize', async () => { - const dir = resolve(join(__dirname, mockFilePath)); - const file = mockFileName; - await lib.installPrepackagedTimelines( + await helpers.installPrepackagedTimelines( config.maxTimelineImportExportSize, frameworkRequest, true, - dir, - file + mockFilePath, + mockFileName ); expect((importTimelines as jest.Mock).mock.calls[0][1]).toEqual( @@ -210,14 +207,12 @@ describe('installPrepackagedTimelines', () => { }); test('should call importTimelines with frameworkRequest', async () => { - const dir = resolve(join(__dirname, mockFilePath)); - const file = mockFileName; - await lib.installPrepackagedTimelines( + await helpers.installPrepackagedTimelines( config.maxTimelineImportExportSize, frameworkRequest, true, - dir, - file + mockFilePath, + mockFileName ); expect(JSON.stringify((importTimelines as jest.Mock).mock.calls[0][2])).toEqual( @@ -226,21 +221,19 @@ describe('installPrepackagedTimelines', () => { }); test('should call importTimelines with immutable', async () => { - const dir = resolve(join(__dirname, mockFilePath)); - const file = mockFileName; - await lib.installPrepackagedTimelines( + await helpers.installPrepackagedTimelines( config.maxTimelineImportExportSize, frameworkRequest, true, - dir, - file + mockFilePath, + mockFileName ); expect((importTimelines as jest.Mock).mock.calls[0][3]).toEqual(true); }); test('should handle errors from getReadables', async () => { - const result = await lib.installPrepackagedTimelines( + const result = await helpers.installPrepackagedTimelines( config.maxTimelineImportExportSize, frameworkRequest, true, diff --git a/x-pack/plugins/security_solution/server/plugin.ts b/x-pack/plugins/security_solution/server/plugin.ts index 4e4d0be5a7411..e1af47de8f152 100644 --- a/x-pack/plugins/security_solution/server/plugin.ts +++ b/x-pack/plugins/security_solution/server/plugin.ts @@ -63,10 +63,10 @@ import { SERVER_APP_ID, SIGNALS_ID, NOTIFICATIONS_ID, - QUERY_ALERT_TYPE_ID, + QUERY_RULE_TYPE_ID, DEFAULT_SPACE_ID, - INDICATOR_ALERT_TYPE_ID, - ML_ALERT_TYPE_ID, + INDICATOR_RULE_TYPE_ID, + ML_RULE_TYPE_ID, } from '../common/constants'; import { registerEndpointRoutes } from './endpoint/routes/metadata'; import { registerLimitedConcurrencyRoutes } from './endpoint/routes/limited_concurrency'; @@ -272,7 +272,7 @@ export class Plugin implements IPlugin { // Detection Engine Rule routes that have the REST endpoints of /api/detection_engine/rules // All REST rule creation, deletion, updating, etc...... - createRulesRoute(router, ml, ruleDataClient); - readRulesRoute(router, ruleDataClient); - updateRulesRoute(router, ml, ruleDataClient); - patchRulesRoute(router, ml, ruleDataClient); - deleteRulesRoute(router, ruleDataClient); - findRulesRoute(router, ruleDataClient); - - // TODO: pass ruleDataClient to all relevant routes - - addPrepackedRulesRoute(router, config, security); - getPrepackagedRulesStatusRoute(router, config, security); - createRulesBulkRoute(router, ml); - updateRulesBulkRoute(router, ml); - patchRulesBulkRoute(router, ml); - deleteRulesBulkRoute(router); - performBulkActionRoute(router, ml); + createRulesRoute(router, ml, isRuleRegistryEnabled); + readRulesRoute(router, isRuleRegistryEnabled); + updateRulesRoute(router, ml, isRuleRegistryEnabled); + patchRulesRoute(router, ml, isRuleRegistryEnabled); + deleteRulesRoute(router, isRuleRegistryEnabled); + findRulesRoute(router, isRuleRegistryEnabled); + + // TODO: pass isRuleRegistryEnabled to all relevant routes + + addPrepackedRulesRoute(router, config, security, isRuleRegistryEnabled); + getPrepackagedRulesStatusRoute(router, config, security, isRuleRegistryEnabled); + createRulesBulkRoute(router, ml, isRuleRegistryEnabled); + updateRulesBulkRoute(router, ml, isRuleRegistryEnabled); + patchRulesBulkRoute(router, ml, isRuleRegistryEnabled); + deleteRulesBulkRoute(router, isRuleRegistryEnabled); + performBulkActionRoute(router, ml, isRuleRegistryEnabled); createTimelinesRoute(router, config, security); patchTimelinesRoute(router, config, security); - importRulesRoute(router, config, ml); - exportRulesRoute(router, config); + importRulesRoute(router, config, ml, isRuleRegistryEnabled); + exportRulesRoute(router, config, isRuleRegistryEnabled); importTimelinesRoute(router, config, security); exportTimelinesRoute(router, config, security); @@ -123,7 +123,7 @@ export const initRoutes = ( deleteIndexRoute(router); // Detection Engine tags routes that have the REST endpoints of /api/detection_engine/tags - readTagsRoute(router); + readTagsRoute(router, isRuleRegistryEnabled); // Privileges API to get the generic user privileges readPrivilegesRoute(router, hasEncryptionKey); diff --git a/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/alerts/index.ts b/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/alerts/index.ts index 2fc2c42be617f..b97b8ed4f6549 100644 --- a/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/alerts/index.ts +++ b/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/alerts/index.ts @@ -5,10 +5,11 @@ * 2.0. */ +import { MatrixHistogramTypeToAggName } from '../../../../../../common'; import { buildAlertsHistogramQuery } from './query.alerts_histogram.dsl'; export const alertsMatrixHistogramConfig = { buildDsl: buildAlertsHistogramQuery, - aggName: 'aggregations.alertsGroup.buckets', + aggName: MatrixHistogramTypeToAggName.alerts, parseKey: 'alerts.buckets', }; diff --git a/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/anomalies/index.ts b/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/anomalies/index.ts index 396d1e8bd004b..ec307173ec20c 100644 --- a/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/anomalies/index.ts +++ b/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/anomalies/index.ts @@ -5,10 +5,11 @@ * 2.0. */ +import { MatrixHistogramTypeToAggName } from '../../../../../../common'; import { buildAnomaliesHistogramQuery } from './query.anomalies_histogram.dsl'; export const anomaliesMatrixHistogramConfig = { buildDsl: buildAnomaliesHistogramQuery, - aggName: 'aggregations.anomalyActionGroup.buckets', + aggName: MatrixHistogramTypeToAggName.anomalies, parseKey: 'anomalies.buckets', }; diff --git a/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/authentications/index.ts b/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/authentications/index.ts index c147b32be2c00..17f7d78167232 100644 --- a/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/authentications/index.ts +++ b/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/authentications/index.ts @@ -5,19 +5,20 @@ * 2.0. */ +import { MatrixHistogramTypeToAggName } from '../../../../../../common'; import { getEntitiesParser } from '../helpers'; import { buildAuthenticationsHistogramQuery } from './query.authentications_histogram.dsl'; import { buildAuthenticationsHistogramQueryEntities } from './query.authentications_histogram_entities.dsl'; export const authenticationsMatrixHistogramConfig = { buildDsl: buildAuthenticationsHistogramQuery, - aggName: 'aggregations.eventActionGroup.buckets', + aggName: MatrixHistogramTypeToAggName.authentications, parseKey: 'events.buckets', }; export const authenticationsMatrixHistogramEntitiesConfig = { buildDsl: buildAuthenticationsHistogramQueryEntities, - aggName: 'aggregations.events.buckets', + aggName: MatrixHistogramTypeToAggName.authenticationsEntities, parseKey: 'events.buckets', parser: getEntitiesParser, }; diff --git a/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/dns/index.ts b/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/dns/index.ts index 26f07d881618a..643b3f657ef0c 100644 --- a/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/dns/index.ts +++ b/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/dns/index.ts @@ -7,10 +7,11 @@ import { buildDnsHistogramQuery } from './query.dns_histogram.dsl'; import { getDnsParsedData } from './helpers'; +import { MatrixHistogramTypeToAggName } from '../../../../../../common'; export const dnsMatrixHistogramConfig = { buildDsl: buildDnsHistogramQuery, - aggName: 'aggregations.dns_name_query_count.buckets', + aggName: MatrixHistogramTypeToAggName.dns, parseKey: 'dns_question_name.buckets', parser: getDnsParsedData, }; diff --git a/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/events/index.ts b/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/events/index.ts index 0edfbe7df001b..a280950c37cd6 100644 --- a/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/events/index.ts +++ b/x-pack/plugins/security_solution/server/search_strategy/security_solution/factory/matrix_histogram/events/index.ts @@ -5,10 +5,11 @@ * 2.0. */ +import { MatrixHistogramTypeToAggName } from '../../../../../../common'; import { buildEventsHistogramQuery } from './query.events_histogram.dsl'; export const eventsMatrixHistogramConfig = { buildDsl: buildEventsHistogramQuery, - aggName: 'aggregations.eventActionGroup.buckets', + aggName: MatrixHistogramTypeToAggName.events, parseKey: 'events.buckets', }; diff --git a/x-pack/plugins/snapshot_restore/jest.config.js b/x-pack/plugins/snapshot_restore/jest.config.js index f1c9213047ad5..b7dbd6f6c5786 100644 --- a/x-pack/plugins/snapshot_restore/jest.config.js +++ b/x-pack/plugins/snapshot_restore/jest.config.js @@ -9,4 +9,9 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/x-pack/plugins/snapshot_restore'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/snapshot_restore', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/plugins/snapshot_restore/{common,public,server}/**/*.{ts,tsx}', + ], }; diff --git a/x-pack/plugins/spaces/jest.config.js b/x-pack/plugins/spaces/jest.config.js index 4629d714d6d69..791f82af86ce0 100644 --- a/x-pack/plugins/spaces/jest.config.js +++ b/x-pack/plugins/spaces/jest.config.js @@ -9,4 +9,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/x-pack/plugins/spaces'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/spaces', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/x-pack/plugins/spaces/{common,public,server}/**/*.{ts,tsx}'], }; diff --git a/x-pack/plugins/spaces/server/usage_collection/spaces_usage_collector.ts b/x-pack/plugins/spaces/server/usage_collection/spaces_usage_collector.ts index b5c0972031a8f..06be065c28a71 100644 --- a/x-pack/plugins/spaces/server/usage_collection/spaces_usage_collector.ts +++ b/x-pack/plugins/spaces/server/usage_collection/spaces_usage_collector.ts @@ -138,7 +138,6 @@ export interface UsageData extends UsageStats { graph?: number; uptime?: number; savedObjectsManagement?: number; - timelion?: number; dev_tools?: number; advancedSettings?: number; infrastructure?: number; @@ -269,12 +268,6 @@ export function getSpacesUsageCollector( description: 'The number of spaces which have this feature disabled.', }, }, - timelion: { - type: 'long', - _meta: { - description: 'The number of spaces which have this feature disabled.', - }, - }, dev_tools: { type: 'long', _meta: { diff --git a/x-pack/plugins/stack_alerts/jest.config.js b/x-pack/plugins/stack_alerts/jest.config.js index 3d03438e02c09..f2f53fd9e0050 100644 --- a/x-pack/plugins/stack_alerts/jest.config.js +++ b/x-pack/plugins/stack_alerts/jest.config.js @@ -9,4 +9,9 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/x-pack/plugins/stack_alerts'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/stack_alerts', + coverageReporters: ['text', 'html'], + collectCoverageFrom: [ + '/x-pack/plugins/stack_alerts/{common,public,server}/**/*.{ts,tsx}', + ], }; diff --git a/x-pack/plugins/task_manager/jest.config.js b/x-pack/plugins/task_manager/jest.config.js index 49293eb21153a..416709552bd37 100644 --- a/x-pack/plugins/task_manager/jest.config.js +++ b/x-pack/plugins/task_manager/jest.config.js @@ -9,4 +9,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/x-pack/plugins/task_manager'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/task_manager', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/x-pack/plugins/task_manager/server/**/*.{ts,tsx}'], }; diff --git a/x-pack/plugins/telemetry_collection_xpack/jest.config.js b/x-pack/plugins/telemetry_collection_xpack/jest.config.js index 1f8e83ab2d86e..94f0906c2149e 100644 --- a/x-pack/plugins/telemetry_collection_xpack/jest.config.js +++ b/x-pack/plugins/telemetry_collection_xpack/jest.config.js @@ -9,4 +9,8 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/x-pack/plugins/telemetry_collection_xpack'], + coverageDirectory: + '/target/kibana-coverage/jest/x-pack/plugins/telemetry_collection_xpack', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/x-pack/plugins/telemetry_collection_xpack/server/**/*.{ts,tsx}'], }; diff --git a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json index 5910de62271e9..5cf39b89376d4 100644 --- a/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json +++ b/x-pack/plugins/telemetry_collection_xpack/schema/xpack_plugins.json @@ -4050,6 +4050,35 @@ }, "deprecated": { "type": "long" + }, + "app": { + "properties": { + "search": { + "type": "long" + }, + "canvas workpad": { + "type": "long" + }, + "dashboard": { + "type": "long" + }, + "visualization": { + "type": "long" + } + } + }, + "layout": { + "properties": { + "canvas": { + "type": "long" + }, + "print": { + "type": "long" + }, + "preserve_layout": { + "type": "long" + } + } } } }, @@ -4063,6 +4092,77 @@ }, "deprecated": { "type": "long" + }, + "app": { + "properties": { + "search": { + "type": "long" + }, + "canvas workpad": { + "type": "long" + }, + "dashboard": { + "type": "long" + }, + "visualization": { + "type": "long" + } + } + }, + "layout": { + "properties": { + "canvas": { + "type": "long" + }, + "print": { + "type": "long" + }, + "preserve_layout": { + "type": "long" + } + } + } + } + }, + "csv_searchsource_immediate": { + "properties": { + "available": { + "type": "boolean" + }, + "total": { + "type": "long" + }, + "deprecated": { + "type": "long" + }, + "app": { + "properties": { + "search": { + "type": "long" + }, + "canvas workpad": { + "type": "long" + }, + "dashboard": { + "type": "long" + }, + "visualization": { + "type": "long" + } + } + }, + "layout": { + "properties": { + "canvas": { + "type": "long" + }, + "print": { + "type": "long" + }, + "preserve_layout": { + "type": "long" + } + } } } }, @@ -4076,6 +4176,35 @@ }, "deprecated": { "type": "long" + }, + "app": { + "properties": { + "search": { + "type": "long" + }, + "canvas workpad": { + "type": "long" + }, + "dashboard": { + "type": "long" + }, + "visualization": { + "type": "long" + } + } + }, + "layout": { + "properties": { + "canvas": { + "type": "long" + }, + "print": { + "type": "long" + }, + "preserve_layout": { + "type": "long" + } + } } } }, @@ -4089,6 +4218,35 @@ }, "deprecated": { "type": "long" + }, + "app": { + "properties": { + "search": { + "type": "long" + }, + "canvas workpad": { + "type": "long" + }, + "dashboard": { + "type": "long" + }, + "visualization": { + "type": "long" + } + } + }, + "layout": { + "properties": { + "canvas": { + "type": "long" + }, + "print": { + "type": "long" + }, + "preserve_layout": { + "type": "long" + } + } } } }, @@ -4105,6 +4263,9 @@ }, "app": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4118,6 +4279,9 @@ }, "layout": { "properties": { + "canvas": { + "type": "long" + }, "print": { "type": "long" }, @@ -4141,6 +4305,9 @@ }, "app": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4154,6 +4321,9 @@ }, "layout": { "properties": { + "canvas": { + "type": "long" + }, "print": { "type": "long" }, @@ -4192,6 +4362,9 @@ "properties": { "csv": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4205,6 +4378,25 @@ }, "csv_searchsource": { "properties": { + "search": { + "type": "long" + }, + "canvas workpad": { + "type": "long" + }, + "dashboard": { + "type": "long" + }, + "visualization": { + "type": "long" + } + } + }, + "csv_searchsource_immediate": { + "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4218,6 +4410,9 @@ }, "PNG": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4231,6 +4426,9 @@ }, "PNGV2": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4244,6 +4442,9 @@ }, "printable_pdf": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4257,6 +4458,9 @@ }, "printable_pdf_v2": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4274,6 +4478,9 @@ "properties": { "csv": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4287,6 +4494,25 @@ }, "csv_searchsource": { "properties": { + "search": { + "type": "long" + }, + "canvas workpad": { + "type": "long" + }, + "dashboard": { + "type": "long" + }, + "visualization": { + "type": "long" + } + } + }, + "csv_searchsource_immediate": { + "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4300,6 +4526,9 @@ }, "PNG": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4313,6 +4542,9 @@ }, "PNGV2": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4326,6 +4558,9 @@ }, "printable_pdf": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4339,6 +4574,9 @@ }, "printable_pdf_v2": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4356,6 +4594,9 @@ "properties": { "csv": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4369,6 +4610,25 @@ }, "csv_searchsource": { "properties": { + "search": { + "type": "long" + }, + "canvas workpad": { + "type": "long" + }, + "dashboard": { + "type": "long" + }, + "visualization": { + "type": "long" + } + } + }, + "csv_searchsource_immediate": { + "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4382,6 +4642,9 @@ }, "PNG": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4395,6 +4658,9 @@ }, "PNGV2": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4408,6 +4674,9 @@ }, "printable_pdf": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4421,6 +4690,9 @@ }, "printable_pdf_v2": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4438,6 +4710,9 @@ "properties": { "csv": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4451,6 +4726,25 @@ }, "csv_searchsource": { "properties": { + "search": { + "type": "long" + }, + "canvas workpad": { + "type": "long" + }, + "dashboard": { + "type": "long" + }, + "visualization": { + "type": "long" + } + } + }, + "csv_searchsource_immediate": { + "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4464,6 +4758,9 @@ }, "PNG": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4477,6 +4774,9 @@ }, "PNGV2": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4490,6 +4790,9 @@ }, "printable_pdf": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4503,6 +4806,9 @@ }, "printable_pdf_v2": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4520,6 +4826,9 @@ "properties": { "csv": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4533,6 +4842,25 @@ }, "csv_searchsource": { "properties": { + "search": { + "type": "long" + }, + "canvas workpad": { + "type": "long" + }, + "dashboard": { + "type": "long" + }, + "visualization": { + "type": "long" + } + } + }, + "csv_searchsource_immediate": { + "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4546,6 +4874,9 @@ }, "PNG": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4559,6 +4890,9 @@ }, "PNGV2": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4572,6 +4906,109 @@ }, "printable_pdf": { "properties": { + "search": { + "type": "long" + }, + "canvas workpad": { + "type": "long" + }, + "dashboard": { + "type": "long" + }, + "visualization": { + "type": "long" + } + } + }, + "printable_pdf_v2": { + "properties": { + "search": { + "type": "long" + }, + "canvas workpad": { + "type": "long" + }, + "dashboard": { + "type": "long" + }, + "visualization": { + "type": "long" + } + } + } + } + } + } + }, + "available": { + "type": "boolean" + }, + "browser_type": { + "type": "keyword" + }, + "enabled": { + "type": "boolean" + }, + "last7Days": { + "properties": { + "csv": { + "properties": { + "available": { + "type": "boolean" + }, + "total": { + "type": "long" + }, + "deprecated": { + "type": "long" + }, + "app": { + "properties": { + "search": { + "type": "long" + }, + "canvas workpad": { + "type": "long" + }, + "dashboard": { + "type": "long" + }, + "visualization": { + "type": "long" + } + } + }, + "layout": { + "properties": { + "canvas": { + "type": "long" + }, + "print": { + "type": "long" + }, + "preserve_layout": { + "type": "long" + } + } + } + } + }, + "csv_searchsource": { + "properties": { + "available": { + "type": "boolean" + }, + "total": { + "type": "long" + }, + "deprecated": { + "type": "long" + }, + "app": { + "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4583,35 +5020,22 @@ } } }, - "printable_pdf_v2": { + "layout": { "properties": { - "canvas workpad": { + "canvas": { "type": "long" }, - "dashboard": { + "print": { "type": "long" }, - "visualization": { + "preserve_layout": { "type": "long" } } } } - } - } - }, - "available": { - "type": "boolean" - }, - "browser_type": { - "type": "keyword" - }, - "enabled": { - "type": "boolean" - }, - "last7Days": { - "properties": { - "csv": { + }, + "csv_searchsource_immediate": { "properties": { "available": { "type": "boolean" @@ -4621,19 +5045,35 @@ }, "deprecated": { "type": "long" - } - } - }, - "csv_searchsource": { - "properties": { - "available": { - "type": "boolean" }, - "total": { - "type": "long" + "app": { + "properties": { + "search": { + "type": "long" + }, + "canvas workpad": { + "type": "long" + }, + "dashboard": { + "type": "long" + }, + "visualization": { + "type": "long" + } + } }, - "deprecated": { - "type": "long" + "layout": { + "properties": { + "canvas": { + "type": "long" + }, + "print": { + "type": "long" + }, + "preserve_layout": { + "type": "long" + } + } } } }, @@ -4647,6 +5087,35 @@ }, "deprecated": { "type": "long" + }, + "app": { + "properties": { + "search": { + "type": "long" + }, + "canvas workpad": { + "type": "long" + }, + "dashboard": { + "type": "long" + }, + "visualization": { + "type": "long" + } + } + }, + "layout": { + "properties": { + "canvas": { + "type": "long" + }, + "print": { + "type": "long" + }, + "preserve_layout": { + "type": "long" + } + } } } }, @@ -4660,6 +5129,35 @@ }, "deprecated": { "type": "long" + }, + "app": { + "properties": { + "search": { + "type": "long" + }, + "canvas workpad": { + "type": "long" + }, + "dashboard": { + "type": "long" + }, + "visualization": { + "type": "long" + } + } + }, + "layout": { + "properties": { + "canvas": { + "type": "long" + }, + "print": { + "type": "long" + }, + "preserve_layout": { + "type": "long" + } + } } } }, @@ -4676,6 +5174,9 @@ }, "app": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4689,6 +5190,9 @@ }, "layout": { "properties": { + "canvas": { + "type": "long" + }, "print": { "type": "long" }, @@ -4712,6 +5216,9 @@ }, "app": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4725,6 +5232,9 @@ }, "layout": { "properties": { + "canvas": { + "type": "long" + }, "print": { "type": "long" }, @@ -4763,6 +5273,9 @@ "properties": { "csv": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4776,6 +5289,25 @@ }, "csv_searchsource": { "properties": { + "search": { + "type": "long" + }, + "canvas workpad": { + "type": "long" + }, + "dashboard": { + "type": "long" + }, + "visualization": { + "type": "long" + } + } + }, + "csv_searchsource_immediate": { + "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4789,6 +5321,9 @@ }, "PNG": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4802,6 +5337,9 @@ }, "PNGV2": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4815,6 +5353,9 @@ }, "printable_pdf": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4828,6 +5369,9 @@ }, "printable_pdf_v2": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4845,6 +5389,9 @@ "properties": { "csv": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4858,6 +5405,25 @@ }, "csv_searchsource": { "properties": { + "search": { + "type": "long" + }, + "canvas workpad": { + "type": "long" + }, + "dashboard": { + "type": "long" + }, + "visualization": { + "type": "long" + } + } + }, + "csv_searchsource_immediate": { + "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4871,6 +5437,9 @@ }, "PNG": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4884,6 +5453,9 @@ }, "PNGV2": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4897,6 +5469,9 @@ }, "printable_pdf": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4910,6 +5485,9 @@ }, "printable_pdf_v2": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4927,6 +5505,9 @@ "properties": { "csv": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4940,6 +5521,25 @@ }, "csv_searchsource": { "properties": { + "search": { + "type": "long" + }, + "canvas workpad": { + "type": "long" + }, + "dashboard": { + "type": "long" + }, + "visualization": { + "type": "long" + } + } + }, + "csv_searchsource_immediate": { + "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4953,6 +5553,9 @@ }, "PNG": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4966,6 +5569,9 @@ }, "PNGV2": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4979,6 +5585,9 @@ }, "printable_pdf": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -4992,6 +5601,9 @@ }, "printable_pdf_v2": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -5009,6 +5621,9 @@ "properties": { "csv": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -5022,6 +5637,25 @@ }, "csv_searchsource": { "properties": { + "search": { + "type": "long" + }, + "canvas workpad": { + "type": "long" + }, + "dashboard": { + "type": "long" + }, + "visualization": { + "type": "long" + } + } + }, + "csv_searchsource_immediate": { + "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -5035,6 +5669,9 @@ }, "PNG": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -5048,6 +5685,9 @@ }, "PNGV2": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -5061,6 +5701,9 @@ }, "printable_pdf": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -5074,6 +5717,9 @@ }, "printable_pdf_v2": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -5091,6 +5737,9 @@ "properties": { "csv": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -5104,6 +5753,25 @@ }, "csv_searchsource": { "properties": { + "search": { + "type": "long" + }, + "canvas workpad": { + "type": "long" + }, + "dashboard": { + "type": "long" + }, + "visualization": { + "type": "long" + } + } + }, + "csv_searchsource_immediate": { + "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -5117,6 +5785,9 @@ }, "PNG": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -5130,6 +5801,9 @@ }, "PNGV2": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -5143,6 +5817,9 @@ }, "printable_pdf": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -5156,6 +5833,9 @@ }, "printable_pdf_v2": { "properties": { + "search": { + "type": "long" + }, "canvas workpad": { "type": "long" }, @@ -5975,12 +6655,6 @@ "description": "The number of spaces which have this feature disabled." } }, - "timelion": { - "type": "long", - "_meta": { - "description": "The number of spaces which have this feature disabled." - } - }, "dev_tools": { "type": "long", "_meta": { diff --git a/x-pack/plugins/timelines/jest.config.js b/x-pack/plugins/timelines/jest.config.js index 12bc67dbb2f07..d26134d924e1d 100644 --- a/x-pack/plugins/timelines/jest.config.js +++ b/x-pack/plugins/timelines/jest.config.js @@ -9,4 +9,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/x-pack/plugins/timelines'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/timelines', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/x-pack/plugins/timelines/{common,public,server}/**/*.{ts,tsx}'], }; diff --git a/x-pack/plugins/timelines/public/components/t_grid/body/column_headers/helpers.test.tsx b/x-pack/plugins/timelines/public/components/t_grid/body/column_headers/helpers.test.tsx index 42057062d8b54..2e684b9eda989 100644 --- a/x-pack/plugins/timelines/public/components/t_grid/body/column_headers/helpers.test.tsx +++ b/x-pack/plugins/timelines/public/components/t_grid/body/column_headers/helpers.test.tsx @@ -98,12 +98,8 @@ describe('helpers', () => { describe('getColumnHeaders', () => { // additional properties used by `EuiDataGrid`: const actions = { - showSortAsc: { - label: 'Sort A-Z', - }, - showSortDesc: { - label: 'Sort Z-A', - }, + showSortAsc: true, + showSortDesc: true, }; const defaultSortDirection = 'desc'; const isSortable = true; diff --git a/x-pack/plugins/timelines/public/components/t_grid/body/column_headers/helpers.tsx b/x-pack/plugins/timelines/public/components/t_grid/body/column_headers/helpers.tsx index cd08e880bcb25..c658000e6d331 100644 --- a/x-pack/plugins/timelines/public/components/t_grid/body/column_headers/helpers.tsx +++ b/x-pack/plugins/timelines/public/components/t_grid/body/column_headers/helpers.tsx @@ -23,11 +23,10 @@ import { MINIMUM_ACTIONS_COLUMN_WIDTH, } from '../constants'; import { allowSorting } from '../helpers'; -import * as i18n from './translations'; const defaultActions: EuiDataGridColumnActions = { - showSortAsc: { label: i18n.SORT_AZ }, - showSortDesc: { label: i18n.SORT_ZA }, + showSortAsc: true, + showSortDesc: true, }; const getAllBrowserFields = (browserFields: BrowserFields): Array> => diff --git a/x-pack/plugins/timelines/public/components/t_grid/body/height_hack.ts b/x-pack/plugins/timelines/public/components/t_grid/body/height_hack.ts index 47cd1ed92d661..5371d7004a864 100644 --- a/x-pack/plugins/timelines/public/components/t_grid/body/height_hack.ts +++ b/x-pack/plugins/timelines/public/components/t_grid/body/height_hack.ts @@ -7,9 +7,6 @@ import { useState, useLayoutEffect } from 'react'; -// That could be different from security and observability. Get it as parameter? -const INITIAL_DATA_GRID_HEIGHT = 967; - // It will recalculate DataGrid height after this time interval. const TIME_INTERVAL = 50; @@ -18,8 +15,17 @@ const TIME_INTERVAL = 50; * 3 (three) is a number, numeral and digit. It is the natural number following 2 and preceding 4, and is the smallest * odd prime number and the only prime preceding a square number. It has religious or cultural significance in many societies. */ + const MAGIC_GAP = 3; +// Hard coded height for every page size +const DATA_GRID_HEIGHT_BY_PAGE_SIZE: { [key: number]: number } = { + 10: 457, + 25: 967, + 50: 1817, + 100: 3517, +}; + /** * HUGE HACK!!! * DataGrtid height isn't properly calculated when the grid has horizontal scroll. @@ -30,13 +36,15 @@ const MAGIC_GAP = 3; * Please delete me and allow DataGrid to calculate its height when the bug is fixed. */ export const useDataGridHeightHack = (pageSize: number, rowCount: number) => { - const [height, setHeight] = useState(INITIAL_DATA_GRID_HEIGHT); + const [height, setHeight] = useState(DATA_GRID_HEIGHT_BY_PAGE_SIZE[pageSize]); useLayoutEffect(() => { setTimeout(() => { const gridVirtualized = document.querySelector('#body-data-grid .euiDataGrid__virtualized'); - if ( + if (rowCount === pageSize) { + setHeight(DATA_GRID_HEIGHT_BY_PAGE_SIZE[pageSize]); + } else if ( gridVirtualized && gridVirtualized.children[0].clientHeight !== gridVirtualized.clientHeight // check if it has vertical scroll ) { diff --git a/x-pack/plugins/timelines/public/components/t_grid/body/sort/__snapshots__/sort_indicator.test.tsx.snap b/x-pack/plugins/timelines/public/components/t_grid/body/sort/__snapshots__/sort_indicator.test.tsx.snap index 596a05c4c8ab4..8a7b179da059f 100644 --- a/x-pack/plugins/timelines/public/components/t_grid/body/sort/__snapshots__/sort_indicator.test.tsx.snap +++ b/x-pack/plugins/timelines/public/components/t_grid/body/sort/__snapshots__/sort_indicator.test.tsx.snap @@ -5,6 +5,7 @@ exports[`SortIndicator rendering renders correctly against snapshot 1`] = ` content="Sorted descending" data-test-subj="sort-indicator-tooltip" delay="regular" + display="inlineBlock" position="top" > = ({ useEffect(() => { setQuery(inspect, loading, refetch); }, [inspect, loading, refetch, setQuery]); + const timelineContext = useMemo(() => ({ timelineId: id }), [id]); return ( @@ -301,65 +302,66 @@ const TGridIntegratedComponent: React.FC = ({ {graphOverlay} {canQueryTimeline && ( - - - - - - - {!resolverIsShowing(graphEventId) && additionalFilters} - - {tGridEventRenderedViewEnabled && - ['detections-page', 'detections-rules-details-page'].includes(id) && ( - - - - )} - - - {!graphEventId && graphOverlay == null && ( - <> - {!hasAlerts && !loading && } - {hasAlerts && ( - - - - - - )} - - )} - + + + + + + + + {!resolverIsShowing(graphEventId) && additionalFilters} + + {tGridEventRenderedViewEnabled && + ['detections-page', 'detections-rules-details-page'].includes(id) && ( + + + + )} + + {!graphEventId && graphOverlay == null && ( + <> + {!hasAlerts && !loading && } + {hasAlerts && ( + + + + + + )} + + )} + + )} diff --git a/x-pack/plugins/timelines/public/components/t_grid/shared/index.tsx b/x-pack/plugins/timelines/public/components/t_grid/shared/index.tsx index 563e8224058c0..f4a9158a3e4e7 100644 --- a/x-pack/plugins/timelines/public/components/t_grid/shared/index.tsx +++ b/x-pack/plugins/timelines/public/components/t_grid/shared/index.tsx @@ -5,7 +5,7 @@ * 2.0. */ -import React from 'react'; +import React, { createContext } from 'react'; import { EuiPanel, EuiFlexGroup, @@ -24,6 +24,8 @@ const heights = { short: 250, }; +export const TimelineContext = createContext<{ timelineId: string | null }>({ timelineId: null }); + export const TGridLoading: React.FC<{ height?: keyof typeof heights }> = ({ height = 'tall' }) => { return ( @@ -49,7 +51,7 @@ export const TGridEmpty: React.FC<{ height?: keyof typeof heights }> = ({ height const { http } = useKibana().services; return ( - + diff --git a/x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx b/x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx index 74dd8c01295be..18bb56aacab2d 100644 --- a/x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx +++ b/x-pack/plugins/timelines/public/components/t_grid/standalone/index.tsx @@ -47,7 +47,7 @@ import { import { InspectButton, InspectButtonContainer } from '../../inspect'; import { useFetchIndex } from '../../../container/source'; import { AddToCaseAction } from '../../actions/timeline/cases/add_to_case_action'; -import { TGridLoading, TGridEmpty } from '../shared'; +import { TGridLoading, TGridEmpty, TimelineContext } from '../shared'; export const EVENTS_VIEWER_HEADER_HEIGHT = 90; // px const STANDALONE_ID = 'standalone-t-grid'; @@ -335,13 +335,14 @@ const TGridStandaloneComponent: React.FC = ({ isFirstUpdate.current = false; } }, [loading]); + const timelineContext = { timelineId: STANDALONE_ID }; return ( {isFirstUpdate.current && } {canQueryTimeline ? ( - <> + = ({ )} - + ) : null} diff --git a/x-pack/plugins/timelines/public/index.ts b/x-pack/plugins/timelines/public/index.ts index 2096415867682..800f1958f9c94 100644 --- a/x-pack/plugins/timelines/public/index.ts +++ b/x-pack/plugins/timelines/public/index.ts @@ -68,3 +68,4 @@ export function plugin(initializerContext: PluginInitializerContext) { } export const StatefulEventContext = createContext(null); +export { TimelineContext } from './components/t_grid/shared'; diff --git a/x-pack/plugins/transform/jest.config.js b/x-pack/plugins/transform/jest.config.js index 6b6a57d433392..2732cd66e2c94 100644 --- a/x-pack/plugins/transform/jest.config.js +++ b/x-pack/plugins/transform/jest.config.js @@ -9,4 +9,7 @@ module.exports = { preset: '@kbn/test', rootDir: '../../..', roots: ['/x-pack/plugins/transform'], + coverageDirectory: '/target/kibana-coverage/jest/x-pack/plugins/transform', + coverageReporters: ['text', 'html'], + collectCoverageFrom: ['/x-pack/plugins/transform/{common,public,server}/**/*.{ts,tsx}'], }; diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_start/__snapshots__/start_action_name.test.tsx.snap b/x-pack/plugins/transform/public/app/sections/transform_management/components/action_start/__snapshots__/start_action_name.test.tsx.snap index 5a24e30a0657e..20b0691b55bf9 100644 --- a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_start/__snapshots__/start_action_name.test.tsx.snap +++ b/x-pack/plugins/transform/public/app/sections/transform_management/components/action_start/__snapshots__/start_action_name.test.tsx.snap @@ -4,6 +4,7 @@ exports[`Transform: Transform List Actions Minimal initializatio Start diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_stop/__snapshots__/stop_action_name.test.tsx.snap b/x-pack/plugins/transform/public/app/sections/transform_management/components/action_stop/__snapshots__/stop_action_name.test.tsx.snap index e3740ae9a0978..fd97412fa1875 100644 --- a/x-pack/plugins/transform/public/app/sections/transform_management/components/action_stop/__snapshots__/stop_action_name.test.tsx.snap +++ b/x-pack/plugins/transform/public/app/sections/transform_management/components/action_stop/__snapshots__/stop_action_name.test.tsx.snap @@ -4,6 +4,7 @@ exports[`Transform: Transform List Actions Minimal initialization Stop diff --git a/x-pack/plugins/transform/public/app/sections/transform_management/components/create_transform_button/__snapshots__/create_transform_button.test.tsx.snap b/x-pack/plugins/transform/public/app/sections/transform_management/components/create_transform_button/__snapshots__/create_transform_button.test.tsx.snap index d85f9379159d0..fc7f3ca713f4a 100644 --- a/x-pack/plugins/transform/public/app/sections/transform_management/components/create_transform_button/__snapshots__/create_transform_button.test.tsx.snap +++ b/x-pack/plugins/transform/public/app/sections/transform_management/components/create_transform_button/__snapshots__/create_transform_button.test.tsx.snap @@ -4,6 +4,7 @@ exports[`Transform: Transform List Minimal initializat 互換性
    パレットを使用して、グラフで値を特定の色にマッピング色にマッピングします。", - "charts.advancedSettings.visualization.colorMappingTextDeprecation": "この設定はサポートが終了し、Kibana 8.0 ではサポートされません。", - "charts.advancedSettings.visualization.colorMappingTitle": "カラーマッピング", - "charts.colormaps.bluesText": "青", - "charts.colormaps.greensText": "緑", - "charts.colormaps.greenToRedText": "緑から赤", - "charts.colormaps.greysText": "グレー", - "charts.colormaps.redsText": "赤", - "charts.colormaps.yellowToRedText": "黄色から赤", - "charts.colorPicker.clearColor": "色をリセット", - "charts.colorPicker.setColor.screenReaderDescription": "値 {legendDataLabel} の色を設定", - "charts.countText": "カウント", - "charts.functions.palette.args.colorHelpText": "パレットの色です。{html} カラー名、{hex}、{hsl}、{hsla}、{rgb}、または {rgba} を使用できます。", - "charts.functions.palette.args.gradientHelpText": "サポートされている場合グラデーションパレットを作成しますか?", - "charts.functions.palette.args.reverseHelpText": "パレットを反転させますか?", - "charts.functions.palette.args.stopHelpText": "パレットの色経由点。使用するときには、各色に関連付ける必要があります。", - "charts.functions.paletteHelpText": "カラーパレットを作成します。", - "charts.functions.systemPalette.args.nameHelpText": "パレットリストのパレットの名前", - "charts.functions.systemPaletteHelpText": "動的カラーパレットを作成します。", - "charts.legend.toggleLegendButtonAriaLabel": "凡例を切り替える", - "charts.legend.toggleLegendButtonTitle": "凡例を切り替える", - "charts.palettes.complimentaryLabel": "無料", - "charts.palettes.coolLabel": "Cool", - "charts.palettes.customLabel": "カスタム", - "charts.palettes.defaultPaletteLabel": "デフォルト", - "charts.palettes.grayLabel": "グレー", - "charts.palettes.kibanaPaletteLabel": "互換性", - "charts.palettes.negativeLabel": "負", - "charts.palettes.positiveLabel": "正", - "charts.palettes.statusLabel": "ステータス", - "charts.palettes.temperatureLabel": "温度", - "charts.palettes.warmLabel": "ウォーム", - "charts.partialData.bucketTooltipText": "選択された時間範囲にはこのバケット全体は含まれていません。一部データが含まれている可能性があります。", - "console.autocomplete.addMethodMetaText": "メソド", - "console.consoleDisplayName": "コンソール", - "console.consoleMenu.copyAsCurlFailedMessage": "要求をcURLとしてコピーできませんでした", - "console.consoleMenu.copyAsCurlMessage": "リクエストが URL としてコピーされました", - "console.devToolsDescription": "コンソールでデータを操作するには、cURLをスキップして、JSONインターフェイスを使用します。", - "console.devToolsTitle": "Elasticsearch APIとの連携", - "console.exampleOutputTextarea": "開発ツールコンソールエディターの例", - "console.helpPage.keyboardCommands.autoIndentDescription": "現在のリクエストを自動インデントします", - "console.helpPage.keyboardCommands.closeAutoCompleteMenuDescription": "自動入力メニューを閉じます", - "console.helpPage.keyboardCommands.collapseAllScopesDescription": "現在のスコープを除きすべてのスコープを最小表示します。シフトを追加して拡張します。", - "console.helpPage.keyboardCommands.collapseExpandCurrentScopeDescription": "現在のスコープを最小/拡張表示します。", - "console.helpPage.keyboardCommands.jumpToPreviousNextRequestDescription": "前/次のリクエストの開始または終了に移動します。", - "console.helpPage.keyboardCommands.openAutoCompleteDescription": "自動入力を開きます (未入力時を含む) ", - "console.helpPage.keyboardCommands.openDocumentationDescription": "現在のリクエストのドキュメントを開きます", - "console.helpPage.keyboardCommands.selectCurrentlySelectedInAutoCompleteMenuDescription": "現在の選択項目または自動入力メニューで最も使用されている用語を選択します", - "console.helpPage.keyboardCommands.submitRequestDescription": "リクエストを送信します", - "console.helpPage.keyboardCommands.switchFocusToAutoCompleteMenuDescription": "自動入力メニューに焦点を切り替えます。矢印を使用してさらに用語を選択します", - "console.helpPage.keyboardCommandsTitle": "キーボードコマンド", - "console.helpPage.pageTitle": "ヘルプ", - "console.helpPage.requestFormatDescription": "ホワイトエディターに 1 つ以上のリクエストを入力できます。コンソールはコンパクトなフォーマットのリクエストを理解できます。", - "console.helpPage.requestFormatTitle": "リクエストフォーマット", - "console.historyPage.applyHistoryButtonLabel": "適用", - "console.historyPage.clearHistoryButtonLabel": "クリア", - "console.historyPage.closehistoryButtonLabel": "閉じる", - "console.historyPage.itemOfRequestListAriaLabel": "リクエスト:{historyItem}", - "console.historyPage.noHistoryTextMessage": "履歴がありません", - "console.historyPage.pageTitle": "履歴", - "console.historyPage.requestListAriaLabel": "リクエストの送信履歴", - "console.inputTextarea": "開発ツールコンソール", - "console.loadingError.buttonLabel": "コンソールの再読み込み", - "console.loadingError.message": "最新データを取得するために再読み込みを試してください。", - "console.loadingError.title": "コンソールを読み込めません", - "console.notification.error.couldNotSaveRequestTitle": "リクエストをコンソール履歴に保存できませんでした。", - "console.notification.error.historyQuotaReachedMessage": "リクエスト履歴が満杯です。コンソール履歴を消去して、新しいリクエストを保存します。", - "console.notification.error.noRequestSelectedTitle": "リクエストを選択していません。リクエストの中にカーソルを置いて選択します。", - "console.notification.error.unknownErrorTitle": "不明なリクエストエラー", - "console.outputTextarea": "開発ツールコンソール出力", - "console.pageHeading": "コンソール", - "console.requestInProgressBadgeText": "リクエストが進行中", - "console.requestOptions.autoIndentButtonLabel": "自動インデント", - "console.requestOptions.copyAsUrlButtonLabel": "cURL としてコピー", - "console.requestOptions.openDocumentationButtonLabel": "ドキュメントを開く", - "console.requestOptionsButtonAriaLabel": "リクエストオプション", - "console.requestTimeElapasedBadgeTooltipContent": "経過時間", - "console.sendRequestButtonTooltip": "クリックしてリクエストを送信", - "console.settingsPage.autocompleteLabel": "自動入力", - "console.settingsPage.cancelButtonLabel": "キャンセル", - "console.settingsPage.fieldsLabelText": "フィールド", - "console.settingsPage.fontSizeLabel": "フォントサイズ", - "console.settingsPage.indicesAndAliasesLabelText": "インデックスとエイリアス", - "console.settingsPage.jsonSyntaxLabel": "JSON構文", - "console.settingsPage.pageTitle": "コンソール設定", - "console.settingsPage.pollingLabelText": "自動入力候補を自動的に更新", - "console.settingsPage.refreshButtonLabel": "自動入力候補の更新", - "console.settingsPage.refreshingDataDescription": "コンソールは、Elasticsearchをクエリして自動入力候補を更新します。クラスターが大きい場合や、ネットワークの制限がある場合には、自動更新で問題が発生する可能性があります。", - "console.settingsPage.refreshingDataLabel": "自動入力候補を更新しています", - "console.settingsPage.saveButtonLabel": "保存", - "console.settingsPage.templatesLabelText": "テンプレート", - "console.settingsPage.tripleQuotesMessage": "出力ウィンドウでは三重引用符を使用してください", - "console.settingsPage.wrapLongLinesLabelText": "長い行を改行", - "console.topNav.helpTabDescription": "ヘルプ", - "console.topNav.helpTabLabel": "ヘルプ", - "console.topNav.historyTabDescription": "履歴", - "console.topNav.historyTabLabel": "履歴", - "console.topNav.settingsTabDescription": "設定", - "console.topNav.settingsTabLabel": "設定", - "console.welcomePage.closeButtonLabel": "閉じる", - "console.welcomePage.pageTitle": "コンソールへようこそ", - "console.welcomePage.quickIntroDescription": "コンソール UI は、エディターペイン (左) と応答ペイン (右) の 2 つのペインに分かれています。エディターでリクエストを入力し、Elasticsearch に送信します。結果が右側の応答ペインに表示されます。", - "console.welcomePage.quickIntroTitle": "UI の簡単な説明", - "console.welcomePage.quickTips.cUrlFormatForRequestsDescription": "cURL フォーマットのリクエストを貼り付けると、Console 構文に変換されます。", - "console.welcomePage.quickTips.keyboardShortcutsDescription": "ヘルプボタンでキーボードショートカットが学べます。便利な情報が揃っています!", - "console.welcomePage.quickTips.resizeEditorDescription": "間の区切りをドラッグすることで、エディターとアウトプットペインのサイズを変更できます。", - "console.welcomePage.quickTips.submitRequestDescription": "緑の三角形のボタンをクリックして ES にリクエストを送信します。", - "console.welcomePage.quickTips.useWrenchMenuDescription": "レンチメニューで他の便利な機能が使えます。", - "console.welcomePage.quickTipsTitle": "今のうちにいくつか簡単なコツをお教えします", - "console.welcomePage.supportedRequestFormatDescription": "リクエストの入力中、コンソールが候補を提案するので、Enter/Tabを押して確定できます。これらの候補はリクエストの構造、およびインデックス、タイプに基づくものです。", - "console.welcomePage.supportedRequestFormatTitle": "コンソールは cURL と同様に、コンパクトなフォーマットのリクエストを理解できます。", - "core.application.appContainer.loadingAriaLabel": "アプリケーションを読み込んでいます", - "core.application.appNotFound.pageDescription": "この URL にアプリケーションが見つかりませんでした。前の画面に戻るか、メニューからアプリを選択してみてください。", - "core.application.appNotFound.title": "アプリケーションが見つかりません", - "core.application.appRenderError.defaultTitle": "アプリケーションエラー", - "core.chrome.browserDeprecationLink": "Web サイトのサポートマトリックス", - "core.chrome.browserDeprecationWarning": "このソフトウェアの将来のバージョンでは、Internet Explorerのサポートが削除されます。{link}をご確認ください。", - "core.chrome.legacyBrowserWarning": "ご使用のブラウザが Kibana のセキュリティ要件を満たしていません。", - "core.euiAccordion.isLoading": "読み込み中", - "core.euiBasicTable.selectAllRows": "すべての行を選択", - "core.euiBasicTable.selectThisRow": "この行を選択", - "core.euiBasicTable.tableAutoCaptionWithoutPagination": "この表には{itemCount}行あります。", - "core.euiBasicTable.tableCaptionWithPagination": "{tableCaption}; {page}/{pageCount}ページ。", - "core.euiBasicTable.tablePagination": "前の表のページネーション: {tableCaption}", - "core.euiBasicTable.tableSimpleAutoCaptionWithPagination": "この表には{itemCount}行あります; {page}/{pageCount}ページ。", - "core.euiBottomBar.customScreenReaderAnnouncement": "ドキュメントの最後には、新しいリージョンランドマーク{landmarkHeading}とページレベルのコントロールがあります。", - "core.euiBottomBar.screenReaderAnnouncement": "ドキュメントの最後には、新しいリージョンランドマークとページレベルのコントロールがあります。", - "core.euiBottomBar.screenReaderHeading": "ページレベルのコントロール", - "core.euiBreadcrumbs.collapsedBadge.ariaLabel": "折りたたまれたブレッドクラムを表示", - "core.euiCardSelect.select": "選択してください", - "core.euiCardSelect.selected": "利用不可", - "core.euiCardSelect.unavailable": "選択済み", - "core.euiCodeBlock.copyButton": "コピー", - "core.euiCodeBlock.fullscreenCollapse": "縮小", - "core.euiCodeBlock.fullscreenExpand": "拡張", - "core.euiCodeEditor.startEditing": "編集を開始するにはEnterキーを押してください。", - "core.euiCodeEditor.startInteracting": "コードの操作を開始するには Enter キーを押してください。", - "core.euiCodeEditor.stopEditing": "完了したら Esc キーで編集を終了します。", - "core.euiCodeEditor.stopInteracting": "完了したら Esc キーでコードの操作を終了します。", - "core.euiCollapsedItemActions.allActions": "すべてのアクション", - "core.euiColorPicker.alphaLabel": "アルファチャネル (不透明) 値", - "core.euiColorPicker.closeLabel": "下矢印キーを押すと、色オプションを含むポップオーバーが開きます", - "core.euiColorPicker.colorErrorMessage": "無効な色値", - "core.euiColorPicker.colorLabel": "色値", - "core.euiColorPicker.openLabel": "Escapeキーを押すと、ポップオーバーを閉じます", - "core.euiColorPicker.transparent": "透明", - "core.euiColorStops.screenReaderAnnouncement": "{label}:{readOnly} {disabled}色終了位置ピッカー。各終了には数値と対応するカラー値があります。上下矢印キーを使用して、個別の終了を選択します。Enterキーを押すと、新しい終了を作成します。", - "core.euiColorStopThumb.buttonAriaLabel": "Enterキーを押すと、この点を変更します。Escapeキーを押すと、グループにフォーカスします", - "core.euiColorStopThumb.buttonTitle": "クリックすると編集できます。ドラッグすると再配置できます", - "core.euiColorStopThumb.removeLabel": "この終了を削除", - "core.euiColorStopThumb.screenReaderAnnouncement": "カラー終了編集フォームのポップアップが開きました。Tabを押してフォームコントロールを閲覧するか、Escでこのポップアップを閉じます。", - "core.euiColorStopThumb.stopErrorMessage": "値が範囲外です", - "core.euiColorStopThumb.stopLabel": "点値", - "core.euiColumnActions.moveLeft": "左に移動", - "core.euiColumnActions.moveRight": "右に移動", - "core.euiColumnActions.sort": "{schemaLabel}を並べ替える", - "core.euiColumnSelector.button": "列", - "core.euiColumnSelector.buttonActivePlural": "{numberOfHiddenFields}個の列が非表示です", - "core.euiColumnSelector.buttonActiveSingular": "{numberOfHiddenFields}個の列が非表示です", - "core.euiColumnSelector.hideAll": "すべて非表示", - "core.euiColumnSelector.search": "検索", - "core.euiColumnSelector.searchcolumns": "列を検索", - "core.euiColumnSelector.selectAll": "すべて表示", - "core.euiColumnSorting.button": "フィールドの並べ替え", - "core.euiColumnSorting.clearAll": "並び替えを消去", - "core.euiColumnSorting.emptySorting": "現在並び替えられているフィールドはありません", - "core.euiColumnSorting.pickFields": "並び替え基準でフィールドの選択", - "core.euiColumnSorting.sortFieldAriaLabel": "並べ替え基準:", - "core.euiColumnSortingDraggable.defaultSortAsc": "A-Z", - "core.euiColumnSortingDraggable.defaultSortDesc": "Z-A", - "core.euiComboBoxOptionsList.allOptionsSelected": "利用可能なオプションをすべて選択しました", - "core.euiComboBoxOptionsList.alreadyAdded": "{label} はすでに追加されています", - "core.euiComboBoxOptionsList.createCustomOption": "{searchValue}をカスタムオプションとして追加", - "core.euiComboBoxOptionsList.delimiterMessage": "各項目を{delimiter}で区切って追加", - "core.euiComboBoxOptionsList.loadingOptions": "オプションを読み込み中", - "core.euiComboBoxOptionsList.noAvailableOptions": "利用可能なオプションがありません", - "core.euiComboBoxOptionsList.noMatchingOptions": "{searchValue} はどのオプションにも一致していません", - "core.euiComboBoxPill.removeSelection": "グループの選択項目から {children} を削除してください", - "core.euiCommonlyUsedTimeRanges.legend": "頻繁に使用", - "core.euiDataGrid.ariaLabel": "{label}; {page}/{pageCount}ページ。", - "core.euiDataGrid.ariaLabelledBy": "{page}/{pageCount}ページ。", - "core.euiDataGrid.screenReaderNotice": "セルにはインタラクティブコンテンツが含まれます。", - "core.euiDataGridCellButtons.expandButtonTitle": "クリックするか enter を押すと、セルのコンテンツとインタラクトできます。", - "core.euiDataGridHeaderCell.headerActions": "ヘッダーアクション", - "core.euiDataGridSchema.booleanSortTextAsc": "False-True", - "core.euiDataGridSchema.booleanSortTextDesc": "True-False", - "core.euiDataGridSchema.currencySortTextAsc": "低-高", - "core.euiDataGridSchema.currencySortTextDesc": "高-低", - "core.euiDataGridSchema.dateSortTextAsc": "新-旧", - "core.euiDataGridSchema.dateSortTextDesc": "旧-新", - "core.euiDataGridSchema.jsonSortTextAsc": "小-大", - "core.euiDataGridSchema.jsonSortTextDesc": "大-小", - "core.euiDataGridSchema.numberSortTextAsc": "低-高", - "core.euiDataGridSchema.numberSortTextDesc": "高-低", - "core.euiFieldPassword.maskPassword": "パスワードをマスク", - "core.euiFieldPassword.showPassword": "プレーンテキストとしてパスワードを表示します。注記:パスワードは画面上に見えるように表示されます。", - "core.euiFilePicker.clearSelectedFiles": "選択したファイルを消去", - "core.euiFlyout.closeAriaLabel": "このダイアログを閉じる", - "core.euiForm.addressFormErrors": "ハイライトされたエラーを修正してください。", - "core.euiFormControlLayoutClearButton.label": "インプットを消去", - "core.euiHeaderLinks.appNavigation": "アプリメニュー", - "core.euiHeaderLinks.openNavigationMenu": "メニューを開く", - "core.euiHue.label": "HSV カラーモードの「色相」値を選択", - "core.euiImage.closeImage": "全画面 {alt} 画像を閉じる", - "core.euiImage.openImage": "全画面 {alt} 画像を開く", - "core.euiLink.external.ariaLabel": "外部リンク", - "core.euiLink.newTarget.screenReaderOnlyText": " (新しいタブまたはウィンドウで開く) ", - "core.euiMarkdownEditorFooter.closeButton": "閉じる", - "core.euiMarkdownEditorFooter.descriptionPrefix": "このエディターは使用します", - "core.euiMarkdownEditorFooter.descriptionSuffix": "これらの追加の構文プラグインを利用して、リッチコンテンツをテキストに追加することもできます。", - "core.euiMarkdownEditorFooter.errorsTitle": "エラー", - "core.euiMarkdownEditorFooter.openUploadModal": "ファイルのアップロードモーダルを開く", - "core.euiMarkdownEditorFooter.showMarkdownHelp": "マークダウンヘルプを表示", - "core.euiMarkdownEditorFooter.showSyntaxErrors": "エラーを表示", - "core.euiMarkdownEditorFooter.supportedFileTypes": "サポートされているファイル:{supportedFileTypes}", - "core.euiMarkdownEditorFooter.syntaxTitle": "構文ヘルプ", - "core.euiMarkdownEditorFooter.unsupportedFileType": "ファイルタイプがサポートされていません", - "core.euiMarkdownEditorFooter.uploadingFiles": "クリックすると、ファイルをアップロードします", - "core.euiMarkdownEditorToolbar.editor": "エディター", - "core.euiMarkdownEditorToolbar.previewMarkdown": "プレビュー", - "core.euiModal.closeModal": "このモーダルウィンドウを閉じます", - "core.euiNotificationEventMessages.accordionHideText": "非表示", - "core.euiNotificationEventMeta.contextMenuButton": "{eventName}のメニュー", - "core.euiNotificationEventReadButton.markAsRead": "既読に設定", - "core.euiNotificationEventReadButton.markAsReadAria": "{eventName}を既読に設定", - "core.euiNotificationEventReadButton.markAsUnread": "未読に設定", - "core.euiNotificationEventReadButton.markAsUnreadAria": "{eventName}を未読に設定", - "core.euiPagination.disabledNextPage": "次のページ", - "core.euiPagination.disabledPreviousPage": "前のページ", - "core.euiPagination.firstRangeAriaLabel": "ページ2を{lastPage}にスキップしています", - "core.euiPagination.lastRangeAriaLabel": "ページ{firstPage}を{lastPage}にスキップしています", - "core.euiPagination.nextPage": "次のページ、{page}", - "core.euiPagination.previousPage": "前のページ、{page}", - "core.euiPaginationButton.longPageString": "{page}/{totalPages}ページ", - "core.euiPaginationButton.shortPageString": "{page}ページ", - "core.euiPinnableListGroup.pinExtraActionLabel": "項目をピン留め", - "core.euiPinnableListGroup.pinnedExtraActionLabel": "項目のピン留めを外す", - "core.euiPopover.screenReaderAnnouncement": "これはダイアログです。ダイアログを閉じるには、 escape を押してください。", - "core.euiProgress.valueText": "{value}%", - "core.euiQuickSelect.applyButton": "適用", - "core.euiQuickSelect.fullDescription": "現在 {timeTense} {timeValue} {timeUnit}に設定されています。", - "core.euiQuickSelect.legendText": "時間範囲をすばやく選択", - "core.euiQuickSelect.nextLabel": "次の時間ウィンドウ", - "core.euiQuickSelect.previousLabel": "前の時間ウィンドウ", - "core.euiQuickSelect.quickSelectTitle": "すばやく選択", - "core.euiQuickSelect.tenseLabel": "時間テンス", - "core.euiQuickSelect.unitLabel": "時間単位", - "core.euiQuickSelect.valueLabel": "時間値", - "core.euiRecentlyUsed.legend": "最近使用した日付範囲", - "core.euiRefreshInterval.fullDescription": "現在{optionValue} {optionText}に設定されている間隔を更新します。", - "core.euiRefreshInterval.legend": "以下の感覚ごとに更新", - "core.euiRefreshInterval.start": "開始", - "core.euiRefreshInterval.stop": "停止", - "core.euiRelativeTab.fullDescription": "単位は変更可能です。現在 {unit} に設定されています。", - "core.euiRelativeTab.numberInputError": "0以上でなければなりません", - "core.euiRelativeTab.numberInputLabel": "時間スパンの量", - "core.euiRelativeTab.relativeDate": "{position} 日付", - "core.euiRelativeTab.roundingLabel": "{unit} に四捨五入する", - "core.euiRelativeTab.unitInputLabel": "相対的時間スパン", - "core.euiResizableButton.horizontalResizerAriaLabel": "左右矢印キーを押してパネルサイズを調整します", - "core.euiResizableButton.verticalResizerAriaLabel": "上下矢印キーを押してパネルサイズを調整します", - "core.euiResizablePanel.toggleButtonAriaLabel": "押すと、このパネルを切り替えます", - "core.euiSelectable.loadingOptions": "オプションを読み込み中", - "core.euiSelectable.noAvailableOptions": "利用可能なオプションがありません", - "core.euiSelectable.noMatchingOptions": "{searchValue} はどのオプションにも一致していません", - "core.euiSelectable.placeholderName": "フィルターオプション", - "core.euiSelectableListItem.excludedOption": "除外されたオプション。", - "core.euiSelectableListItem.excludedOptionInstructions": "このオプションの選択を解除するには、Enterを押します", - "core.euiSelectableListItem.includedOption": "追加されたオプション。", - "core.euiSelectableListItem.includedOptionInstructions": "このオプションを除外するには、Enterを押します", - "core.euiSelectableTemplateSitewide.loadingResults": "結果を読み込み中", - "core.euiSelectableTemplateSitewide.noResults": "結果がありません", - "core.euiSelectableTemplateSitewide.onFocusBadgeGoTo": "移動:", - "core.euiSelectableTemplateSitewide.searchPlaceholder": "検索しています...", - "core.euiStat.loadingText": "統計を読み込み中です", - "core.euiStepStrings.complete": "ステップ{number}: {title}は完了しました", - "core.euiStepStrings.disabled": "ステップ{number}: {title}は無効です", - "core.euiStepStrings.errors": "ステップ{number}: {title}にはエラーがあります", - "core.euiStepStrings.incomplete": "ステップ{number}: {title}は完了していません", - "core.euiStepStrings.loading": "ステップ{number}: {title}を読み込んでいます", - "core.euiStepStrings.simpleComplete": "ステップ{number}は完了しました", - "core.euiStepStrings.simpleDisabled": "ステップ{number}は無効です", - "core.euiStepStrings.simpleErrors": "ステップ{number}にはエラーがあります", - "core.euiStepStrings.simpleIncomplete": "ステップ{number}は完了していません", - "core.euiStepStrings.simpleLoading": "ステップ{number}を読み込んでいます", - "core.euiStepStrings.simpleStep": "ステップ{number}", - "core.euiStepStrings.simpleWarning": "ステップ{number}には警告があります", - "core.euiStepStrings.step": "ステップ{number}: {title}", - "core.euiStepStrings.warning": "ステップ{number}: {title}には警告があります", - "core.euiStyleSelector.buttonLegend": "データグリッドの表示密度を選択", - "core.euiStyleSelector.buttonText": "密度", - "core.euiStyleSelector.labelCompact": "コンパクト密度", - "core.euiStyleSelector.labelExpanded": "拡張密度", - "core.euiStyleSelector.labelNormal": "標準密度", - "core.euiSuperDatePicker.showDatesButtonLabel": "日付を表示", - "core.euiSuperSelect.screenReaderAnnouncement": "{optionsCount} 件のアイテムのフォームセレクターを使用しています。1 つのオプションを選択する必要があります。上下の矢印キーで移動するか、Esc キーで閉じます。", - "core.euiSuperSelectControl.selectAnOption": "オプションの選択:{selectedValue} を選択済み", - "core.euiSuperUpdateButton.cannotUpdateTooltip": "アップデートできません", - "core.euiSuperUpdateButton.clickToApplyTooltip": "クリックして適用", - "core.euiSuperUpdateButton.refreshButtonLabel": "更新", - "core.euiSuperUpdateButton.updateButtonLabel": "更新", - "core.euiSuperUpdateButton.updatingButtonLabel": "更新中", - "core.euiTablePagination.rowsPerPage": "ページごとの行数", - "core.euiTablePagination.rowsPerPageOption": "{rowsPerPage} 行", - "core.euiTableSortMobile.sorting": "並べ替え", - "core.euiToast.dismissToast": "トーストを閉じる", - "core.euiToast.newNotification": "新しい通知が表示されます", - "core.euiToast.notification": "通知", - "core.euiTourStepIndicator.ariaLabel": "ステップ{number} {status}", - "core.euiTourStepIndicator.isActive": "アクティブ", - "core.euiTourStepIndicator.isComplete": "完了", - "core.euiTourStepIndicator.isIncomplete": "未完了", - "core.euiTreeView.ariaLabel": "{nodeLabel} {ariaLabel} のチャイルド", - "core.euiTreeView.listNavigationInstructions": "矢印キーを使ってこのリストをすばやくナビゲートすることができます。", - "core.fatalErrors.clearYourSessionButtonLabel": "セッションを消去", - "core.fatalErrors.goBackButtonLabel": "戻る", - "core.fatalErrors.somethingWentWrongTitle": "問題が発生しました", - "core.fatalErrors.tryRefreshingPageDescription": "ページを更新してみてください。うまくいかない場合は、前のページに戻るか、セッションデータを消去してください。", - "core.notifications.errorToast.closeModal": "閉じる", - "core.notifications.globalToast.ariaLabel": "通知メッセージリスト", - "core.notifications.unableUpdateUISettingNotificationMessageTitle": "UI 設定を更新できません", - "core.status.greenTitle": "緑", - "core.status.redTitle": "赤", - "core.status.yellowTitle": "黄", - "core.statusPage.loadStatus.serverIsDownErrorMessage": "サーバーステータスのリクエストに失敗しました。サーバーがダウンしている可能性があります。", - "core.statusPage.loadStatus.serverStatusCodeErrorMessage": "サーバーステータスのリクエストに失敗しました。ステータスコード:{responseStatus}", - "core.statusPage.metricsTiles.columns.heapTotalHeader": "ヒープ合計", - "core.statusPage.metricsTiles.columns.heapUsedHeader": "使用ヒープ", - "core.statusPage.metricsTiles.columns.loadHeader": "読み込み", - "core.statusPage.metricsTiles.columns.requestsPerSecHeader": "1秒あたりのリクエスト", - "core.statusPage.metricsTiles.columns.resTimeAvgHeader": "平均応答時間", - "core.statusPage.metricsTiles.columns.resTimeMaxHeader": "最長応答時間", - "core.statusPage.serverStatus.statusTitle": "Kibanaのステータス:{kibanaStatus}", - "core.statusPage.statusApp.loadingErrorText": "ステータスの読み込み中にエラーが発生しました", - "core.statusPage.statusApp.statusActions.buildText": "{buildNum}を作成", - "core.statusPage.statusApp.statusActions.commitText": "{buildSha}を確定", - "core.statusPage.statusApp.statusTitle": "プラグインステータス", - "core.statusPage.statusTable.columns.idHeader": "ID", - "core.statusPage.statusTable.columns.statusHeader": "ステータス", - "core.toasts.errorToast.seeFullError": "完全なエラーを表示", - "core.ui_settings.params.darkModeText": "Kibana UIのダークモードを有効にします。この設定を適用するにはページの更新が必要です。", - "core.ui_settings.params.darkModeTitle": "ダークモード", - "core.ui_settings.params.dateFormat.dayOfWeekText": "週の初めの曜日を設定します", - "core.ui_settings.params.dateFormat.dayOfWeekTitle": "曜日", - "core.ui_settings.params.dateFormat.optionsLinkText": "フォーマット", - "core.ui_settings.params.dateFormat.scaled.intervalsLinkText": "ISO8601間隔", - "core.ui_settings.params.dateFormat.scaledText": "時間ベースのデータが順番にレンダリングされ、フォーマットされたタイムスタンプが測定値の間隔に適応すべき状況で使用されるフォーマットを定義する値です。キーは{intervalsLink}です。", - "core.ui_settings.params.dateFormat.scaledTitle": "スケーリングされたデータフォーマットです", - "core.ui_settings.params.dateFormat.timezone.invalidValidationMessage": "無効なタイムゾーン:{timezone}", - "core.ui_settings.params.dateFormat.timezoneText": "使用されるタイムゾーンです。{defaultOption}ではご使用のブラウザーにより検知されたタイムゾーンが使用されます。", - "core.ui_settings.params.dateFormat.timezoneTitle": "データフォーマットのタイムゾーン", - "core.ui_settings.params.dateFormatText": "きちんとフォーマットされたデータを表示する際、この{formatLink}を使用します", - "core.ui_settings.params.dateFormatTitle": "データフォーマット", - "core.ui_settings.params.dateNanosFormatText": "Elasticsearchの{dateNanosLink}データタイプに使用されます", - "core.ui_settings.params.dateNanosFormatTitle": "ナノ秒フォーマットでの日付", - "core.ui_settings.params.dateNanosLinkTitle": "date_nanos", - "core.ui_settings.params.dayOfWeekText.invalidValidationMessage": "無効な曜日:{dayOfWeek}", - "core.ui_settings.params.defaultRoute.defaultRouteIsRelativeValidationMessage": "相対URLでなければなりません。", - "core.ui_settings.params.defaultRoute.defaultRouteText": "この設定は、Kibana起動時のデフォルトのルートを設定します。この設定で、Kibana起動時のランディングページを変更できます。ルートは相対URLでなければなりません。", - "core.ui_settings.params.defaultRoute.defaultRouteTitle": "デフォルトのルート", - "core.ui_settings.params.disableAnimationsText": "Kibana UIの不要なアニメーションをオフにします。変更を適用するにはページを更新してください。", - "core.ui_settings.params.disableAnimationsTitle": "アニメーションを無効にする", - "core.ui_settings.params.maxCellHeightText": "表のセルが使用する高さの上限です。この切り捨てを無効にするには0に設定します", - "core.ui_settings.params.maxCellHeightTitle": "表のセルの高さの上限", - "core.ui_settings.params.notifications.banner.markdownLinkText": "マークダウン対応", - "core.ui_settings.params.notifications.bannerLifetimeText": "バナー通知が画面に表示される時間 (ミリ秒単位) です。", - "core.ui_settings.params.notifications.bannerLifetimeTitle": "バナー通知時間", - "core.ui_settings.params.notifications.bannerText": "すべてのユーザーへの一時的な通知を目的としたカスタムバナーです。{markdownLink}", - "core.ui_settings.params.notifications.bannerTitle": "カスタムバナー通知", - "core.ui_settings.params.notifications.errorLifetimeText": "エラー通知が画面に表示される時間 (ミリ秒単位) です。", - "core.ui_settings.params.notifications.errorLifetimeTitle": "エラー通知時間", - "core.ui_settings.params.notifications.infoLifetimeText": "情報通知が画面に表示される時間 (ミリ秒単位) です。", - "core.ui_settings.params.notifications.infoLifetimeTitle": "情報通知時間", - "core.ui_settings.params.notifications.warningLifetimeText": "警告通知が画面に表示される時間 (ミリ秒単位) です。", - "core.ui_settings.params.notifications.warningLifetimeTitle": "警告通知時間", - "core.ui_settings.params.storeUrlText": "URLが長くなりすぎるためブラウザーが対応できない場合があります。セッションストレージにURLの一部を保存することでこの問題に対処できるかどうかをテストしています。結果を教えてください!", - "core.ui_settings.params.storeUrlTitle": "セッションストレージにURLを格納", - "core.ui_settings.params.themeVersionTitle": "テーマバージョン", - "core.ui.chrome.headerGlobalNav.goHomePageIconAriaLabel": "Elastic ホーム", - "core.ui.chrome.headerGlobalNav.helpMenuAskElasticTitle": "Elastic に確認する", - "core.ui.chrome.headerGlobalNav.helpMenuButtonAriaLabel": "ヘルプメニュー", - "core.ui.chrome.headerGlobalNav.helpMenuDocumentation": "ドキュメント", - "core.ui.chrome.headerGlobalNav.helpMenuGiveFeedbackOnApp": "{appName} についてのフィードバックを作成する", - "core.ui.chrome.headerGlobalNav.helpMenuGiveFeedbackTitle": "フィードバックを作成する", - "core.ui.chrome.headerGlobalNav.helpMenuKibanaDocumentationTitle": "Kibanaドキュメント", - "core.ui.chrome.headerGlobalNav.helpMenuOpenGitHubIssueTitle": "GitHubで問題を開く", - "core.ui.chrome.headerGlobalNav.helpMenuTitle": "ヘルプ", - "core.ui.chrome.headerGlobalNav.helpMenuVersion": "v {version}", - "core.ui.chrome.headerGlobalNav.logoAriaLabel": "Elastic ロゴ", - "core.ui.enterpriseSearchNavList.label": "エンタープライズサーチ", - "core.ui.errorUrlOverflow.bigUrlWarningNotificationMessage": "{advancedSettingsLink}で{storeInSessionStorageParam}オプションを有効にするか、オンスクリーンビジュアルを簡素化してください。", - "core.ui.errorUrlOverflow.bigUrlWarningNotificationMessage.advancedSettingsLinkText": "高度な設定", - "core.ui.errorUrlOverflow.bigUrlWarningNotificationTitle": "URLが大きく、Kibanaの動作が停止する可能性があります", - "core.ui.errorUrlOverflow.errorTitle": "このオブジェクトのURLは長すぎます。表示できません", - "core.ui.errorUrlOverflow.optionsToFixError.doNotUseIEText": "最新のブラウザーにアップグレードしてください。他の対応ブラウザーでは、いずれもこの制限がありません。", - "core.ui.errorUrlOverflow.optionsToFixError.enableOptionText": "{kibanaSettingsLink}で{storeInSessionStorageConfig}オプションを有効にしてください。", - "core.ui.errorUrlOverflow.optionsToFixError.enableOptionText.advancedSettingsLinkText": "高度な設定", - "core.ui.errorUrlOverflow.optionsToFixError.removeStuffFromDashboardText": "コンテンツまたはフィルターを削除すると、編集しているオブジェクトがシンプルになります。", - "core.ui.errorUrlOverflow.optionsToFixErrorDescription": "次を試してください。", - "core.ui.kibanaNavList.label": "分析", - "core.ui.legacyBrowserMessage": "この Elastic インストレーションは、現在ご使用のブラウザが満たしていない厳格なセキュリティ要件が有効になっています。", - "core.ui.legacyBrowserTitle": "ブラウザをアップグレードしてください", - "core.ui.loadingIndicatorAriaLabel": "コンテンツを読み込んでいます", - "core.ui.managementNavList.label": "管理", - "core.ui.observabilityNavList.label": "オブザーバビリティ", - "core.ui.overlays.banner.attentionTitle": "注意", - "core.ui.overlays.banner.closeButtonLabel": "閉じる", - "core.ui.primaryNav.pinnedLinksAriaLabel": "ピン留めされたリンク", - "core.ui.primaryNav.screenReaderLabel": "プライマリ", - "core.ui.primaryNav.toggleNavAriaLabel": "プライマリナビゲーションを切り替える", - "core.ui.primaryNavSection.dockAriaLabel": "プライマリナビゲーションリンクを固定する", - "core.ui.primaryNavSection.dockLabel": "ナビゲーションを固定する", - "core.ui.primaryNavSection.screenReaderLabel": "プライマリナビゲーションリンク、{category}", - "core.ui.primaryNavSection.undockAriaLabel": "プライマリナビゲーションリンクの固定を解除する", - "core.ui.primaryNavSection.undockLabel": "ナビゲーションの固定を解除する", - "core.ui.publicBaseUrlWarning.configMissingDescription": "{configKey}が見つかりません。本番環境を実行するときに構成してください。一部の機能が正常に動作しない場合があります。", - "core.ui.publicBaseUrlWarning.configMissingTitle": "構成がありません", - "core.ui.publicBaseUrlWarning.muteWarningButtonLabel": "ミュート警告", - "core.ui.publicBaseUrlWarning.seeDocumentationLinkLabel": "ドキュメントを参照してください。", - "core.ui.recentLinks.linkItem.screenReaderLabel": "{recentlyAccessedItemLinklabel}、タイプ:{pageType}", - "core.ui.recentlyViewed": "最近閲覧", - "core.ui.recentlyViewedAriaLabel": "最近閲覧したリンク", - "core.ui.securityNavList.label": "セキュリティ", - "core.ui.welcomeErrorMessage": "Elasticが正常に読み込まれませんでした。詳細はサーバーアウトプットを確認してください。", - "core.ui.welcomeMessage": "Elastic の読み込み中", - "dashboard.actions.DownloadCreateDrilldownAction.displayName": "CSV をダウンロード", - "dashboard.actions.downloadOptionsUnsavedFilename": "無題", - "dashboard.actions.toggleExpandPanelMenuItem.expandedDisplayName": "最小化", - "dashboard.actions.toggleExpandPanelMenuItem.notExpandedDisplayName": "パネルを最大化", - "dashboard.addPanel.noMatchingObjectsMessage": "一致するオブジェクトが見つかりませんでした。", - "dashboard.addPanel.savedObjectAddedToContainerSuccessMessageTitle": "{savedObjectName} が追加されました", - "dashboard.appLeaveConfirmModal.cancelButtonLabel": "キャンセル", - "dashboard.appLeaveConfirmModal.unsavedChangesSubtitle": "作業を保存せずにダッシュボードから移動しますか?", - "dashboard.appLeaveConfirmModal.unsavedChangesTitle": "保存されていない変更", - "dashboard.badge.readOnly.text": "読み取り専用", - "dashboard.badge.readOnly.tooltip": "ダッシュボードを保存できません", - "dashboard.changeViewModeConfirmModal.cancelButtonLabel": "編集を続行", - "dashboard.changeViewModeConfirmModal.confirmButtonLabel": "変更を破棄", - "dashboard.changeViewModeConfirmModal.description": "表示モードに戻ったときに変更内容を保持または破棄できます。 破棄された変更を回復することはできません。", - "dashboard.changeViewModeConfirmModal.keepUnsavedChangesButtonLabel": "変更を保持", - "dashboard.changeViewModeConfirmModal.leaveEditModeTitle": "保存されていない変更があります", - "dashboard.cloneModal.cloneDashboardTitleAriaLabel": "クローンダッシュボードタイトル", - "dashboard.createConfirmModal.cancelButtonLabel": "キャンセル", - "dashboard.createConfirmModal.confirmButtonLabel": "やり直す", - "dashboard.createConfirmModal.continueButtonLabel": "編集を続行", - "dashboard.createConfirmModal.unsavedChangesSubtitle": "編集を続行するか、空のダッシュボードで始めることができます。", - "dashboard.createConfirmModal.unsavedChangesTitle": "新しいダッシュボードはすでに実行中です", - "dashboard.dashboardAppBreadcrumbsTitle": "ダッシュボード", - "dashboard.dashboardGrid.toast.unableToLoadDashboardDangerMessage": "ダッシュボードが読み込めません。", - "dashboard.dashboardPageTitle": "ダッシュボード", - "dashboard.dashboardWasNotSavedDangerMessage": "ダッシュボード「{dashTitle}」が保存されませんでした。エラー:{errorMessage}", - "dashboard.dashboardWasSavedSuccessMessage": "ダッシュボード「{dashTitle}」が保存されました。", - "dashboard.discardChangesConfirmModal.cancelButtonLabel": "キャンセル", - "dashboard.discardChangesConfirmModal.confirmButtonLabel": "変更を破棄", - "dashboard.discardChangesConfirmModal.discardChangesDescription": "変更を破棄すると、元に戻すことはできません。", - "dashboard.discardChangesConfirmModal.discardChangesTitle": "ダッシュボードへの変更を破棄しますか?", - "dashboard.editorMenu.aggBasedGroupTitle": "アグリゲーションに基づく", - "dashboard.embedUrlParamExtension.filterBar": "フィルターバー", - "dashboard.embedUrlParamExtension.include": "含める", - "dashboard.embedUrlParamExtension.query": "クエリ", - "dashboard.embedUrlParamExtension.timeFilter": "時間フィルター", - "dashboard.embedUrlParamExtension.topMenu": "トップメニュー", - "dashboard.emptyDashboardAdditionalPrivilege": "このダッシュボードを編集するには、追加権限が必要です。", - "dashboard.emptyDashboardTitle": "このダッシュボードは空です。", - "dashboard.emptyWidget.addPanelDescription": "データに関するストーリーを伝えるコンテンツを作成します。", - "dashboard.emptyWidget.addPanelTitle": "最初のビジュアライゼーションを追加", - "dashboard.factory.displayName": "ダッシュボード", - "dashboard.featureCatalogue.dashboardDescription": "ビジュアライゼーションと保存された検索のコレクションの表示と共有を行います。", - "dashboard.featureCatalogue.dashboardSubtitle": "ダッシュボードでデータを分析します。", - "dashboard.featureCatalogue.dashboardTitle": "ダッシュボード", - "dashboard.fillDashboardTitle": "このダッシュボードは空です。コンテンツを追加しましょう!", - "dashboard.helpMenu.appName": "ダッシュボード", - "dashboard.howToStartWorkingOnNewDashboardDescription": "上のメニューバーで[編集]をクリックすると、パネルの追加を開始します。", - "dashboard.howToStartWorkingOnNewDashboardEditLinkAriaLabel": "ダッシュボードを編集", - "dashboard.labs.enableLabsDescription": "このフラグはビューアーで[ラボ]ボタンを使用できるかどうかを決定します。ダッシュボードで実験的機能を有効および無効にするための簡単な方法です。", - "dashboard.labs.enableUI": "ダッシュボードで[ラボ]ボタンを有効にする", - "dashboard.listing.createNewDashboard.combineDataViewFromKibanaAppDescription": "あらゆるKibanaアプリからダッシュボードにデータビューを組み合わせて、すべてを1か所に表示できます。", - "dashboard.listing.createNewDashboard.createButtonLabel": "新規ダッシュボードを作成", - "dashboard.listing.createNewDashboard.newToKibanaDescription": "Kibanaは初心者ですか?{sampleDataInstallLink}してお試しください。", - "dashboard.listing.createNewDashboard.sampleDataInstallLinkText": "サンプルデータをインストール", - "dashboard.listing.createNewDashboard.title": "初めてのダッシュボードを作成してみましょう。", - "dashboard.listing.table.descriptionColumnName": "説明", - "dashboard.listing.table.entityName": "ダッシュボード", - "dashboard.listing.table.entityNamePlural": "ダッシュボード", - "dashboard.listing.table.titleColumnName": "タイトル", - "dashboard.listing.unsaved.discardAria": "{title}への変更を破棄", - "dashboard.listing.unsaved.discardTitle": "変更を破棄", - "dashboard.listing.unsaved.editAria": "{title}の編集を続行", - "dashboard.listing.unsaved.editTitle": "編集を続行", - "dashboard.listing.unsaved.loading": "読み込み中", - "dashboard.listing.unsaved.unsavedChangesTitle": "次の{dash}には保存されていない変更があります。", - "dashboard.migratedChanges": "一部のパネルは正常に最新バージョンに更新されました。", - "dashboard.noMatchRoute.bannerText": "ダッシュボードアプリケーションはこのルート{route}を認識できません。", - "dashboard.noMatchRoute.bannerTitleText": "ページが見つかりません", - "dashboard.panel.AddToLibrary": "ライブラリに保存", - "dashboard.panel.addToLibrary.successMessage": "パネル {panelTitle} は Visualize ライブラリに追加されました", - "dashboard.panel.clonedToast": "クローンパネル", - "dashboard.panel.clonePanel": "パネルのクローン", - "dashboard.panel.copyToDashboard.cancel": "キャンセル", - "dashboard.panel.copyToDashboard.description": "パネルのコピー先を選択します。コピー先のダッシュボードに移動します。", - "dashboard.panel.copyToDashboard.existingDashboardOptionLabel": "既存のダッシュボード", - "dashboard.panel.copyToDashboard.goToDashboard": "コピーしてダッシュボードを開く", - "dashboard.panel.copyToDashboard.newDashboardOptionLabel": "新規ダッシュボード", - "dashboard.panel.copyToDashboard.title": "ダッシュボードにコピー", - "dashboard.panel.invalidData": "URL の無効なデータ", - "dashboard.panel.LibraryNotification": "Visualize ライブラリ通知", - "dashboard.panel.libraryNotification.ariaLabel": "ライブラリ情報を表示し、このパネルのリンクを解除します", - "dashboard.panel.libraryNotification.toolTip": "このパネルを編集すると、他のダッシュボードに影響する場合があります。このパネルのみを変更するには、ライブラリからリンクを解除します。", - "dashboard.panel.removePanel.replacePanel": "パネルの交換", - "dashboard.panel.title.clonedTag": "コピー", - "dashboard.panel.unableToMigratePanelDataForSixOneZeroErrorMessage": "「6.1.0」のダッシュボードの互換性のため、パネルデータを移行できませんでした。パネルには想定された列または行フィールドがありません", - "dashboard.panel.unableToMigratePanelDataForSixThreeZeroErrorMessage": "「6.3.0」のダッシュボードの互換性のため、パネルデータを移行できませんでした。パネルに必要なフィールドがありません:{key}", - "dashboard.panel.unlinkFromLibrary": "ライブラリからのリンクを解除", - "dashboard.panel.unlinkFromLibrary.successMessage": "パネル {panelTitle} は Visualize ライブラリに接続されていません", - "dashboard.panelStorageError.clearError": "保存されていない変更の消去中にエラーが発生しました。{message}", - "dashboard.panelStorageError.getError": "保存されていない変更の取得中にエラーが発生しました。{message}", - "dashboard.panelStorageError.setError": "保存されていない変更の設定中にエラーが発生しました。{message}", - "dashboard.placeholder.factory.displayName": "プレースホルダー", - "dashboard.savedDashboard.newDashboardTitle": "新規ダッシュボード", - "dashboard.solutionToolbar.addPanelButtonLabel": "ビジュアライゼーションを作成", - "dashboard.solutionToolbar.editorMenuButtonLabel": "すべてのタイプ", - "dashboard.strings.dashboardEditTitle": "{title}を編集中", - "dashboard.topNav.cloneModal.cancelButtonLabel": "キャンセル", - "dashboard.topNav.cloneModal.cloneDashboardModalHeaderTitle": "ダッシュボードのクローンを作成", - "dashboard.topNav.cloneModal.confirmButtonLabel": "クローンの確認", - "dashboard.topNav.cloneModal.confirmCloneDescription": "クローンの確認", - "dashboard.topNav.cloneModal.dashboardExistsDescription": "{confirmClone}をクリックして重複タイトルでダッシュボードのクローンを作成します。", - "dashboard.topNav.cloneModal.dashboardExistsTitle": "「{newDashboardName}」というタイトルのダッシュボードがすでに存在します。", - "dashboard.topNav.cloneModal.enterNewNameForDashboardDescription": "ダッシュボードの新しい名前を入力してください。", - "dashboard.topNav.labsButtonAriaLabel": "ラボ", - "dashboard.topNav.labsConfigDescription": "ラボ", - "dashboard.topNav.options.hideAllPanelTitlesSwitchLabel": "パネルタイトルを表示", - "dashboard.topNav.options.syncColorsBetweenPanelsSwitchLabel": "パネル全体でカラーパレットを同期", - "dashboard.topNav.options.useMarginsBetweenPanelsSwitchLabel": "パネルの間に余白を使用", - "dashboard.topNav.saveModal.descriptionFormRowLabel": "説明", - "dashboard.topNav.saveModal.storeTimeWithDashboardFormRowHelpText": "有効化すると、ダッシュボードが読み込まれるごとに現在選択された時刻の時間フィルターが変更されます。", - "dashboard.topNav.saveModal.storeTimeWithDashboardFormRowLabel": "ダッシュボードに時刻を保存", - "dashboard.topNav.showCloneModal.dashboardCopyTitle": "{title}のコピー", - "dashboard.topNave.cancelButtonAriaLabel": "表示モードに切り替える", - "dashboard.topNave.cloneButtonAriaLabel": "クローンを作成", - "dashboard.topNave.cloneConfigDescription": "ダッシュボードのコピーを作成します", - "dashboard.topNave.editButtonAriaLabel": "編集", - "dashboard.topNave.editConfigDescription": "編集モードに切り替えます", - "dashboard.topNave.fullScreenButtonAriaLabel": "全画面", - "dashboard.topNave.fullScreenConfigDescription": "全画面モード", - "dashboard.topNave.optionsButtonAriaLabel": "オプション", - "dashboard.topNave.optionsConfigDescription": "オプション", - "dashboard.topNave.saveAsButtonAriaLabel": "名前を付けて保存", - "dashboard.topNave.saveAsConfigDescription": "新しいダッシュボードとして保存", - "dashboard.topNave.saveButtonAriaLabel": "保存", - "dashboard.topNave.saveConfigDescription": "プロンプトを表示せずにダッシュボードをクイック保存", - "dashboard.topNave.shareButtonAriaLabel": "共有", - "dashboard.topNave.shareConfigDescription": "ダッシュボードを共有します", - "dashboard.topNave.viewConfigDescription": "表示専用モードに切り替え", - "dashboard.unsavedChangesBadge": "保存されていない変更", - "dashboard.urlWasRemovedInSixZeroWarningMessage": "URL「dashboard/create」は6.0で廃止されました。ブックマークを更新してください。", - "data.advancedSettings.autocompleteIgnoreTimerange": "時間範囲を使用", - "data.advancedSettings.autocompleteIgnoreTimerangeText": "このプロパティを無効にすると、現在の時間範囲からではなく、データセットからオートコンプリートの候補を取得します。 {learnMoreLink}", - "data.advancedSettings.courier.customRequestPreference.requestPreferenceLinkText": "リクエスト設定", - "data.advancedSettings.courier.customRequestPreferenceText": "{setRequestReferenceSetting} が {customSettingValue} に設定されている時に使用される {requestPreferenceLink} です。", - "data.advancedSettings.courier.customRequestPreferenceTitle": "カスタムリクエスト設定", - "data.advancedSettings.courier.ignoreFilterText": "この構成は、似ていないインデックスにアクセスするビジュアライゼーションを含むダッシュボードのサポートを強化します。無効にすると、すべてのフィルターがすべてのビジュアライゼーションに適用されます。有効にすると、ビジュアライゼーションのインデックスにフィルター対象のフィールドが含まれていない場合、ビジュアライゼーションの際にフィルターが無視されます。", - "data.advancedSettings.courier.ignoreFilterTitle": "フィルターの無視", - "data.advancedSettings.courier.maxRequestsText": "Kibanaから送信された_msearchリクエストに使用される{maxRequestsLink}設定を管理します。この構成を無効にしてElasticsearchのデフォルトを使用するには、0に設定します。", - "data.advancedSettings.courier.maxRequestsTitle": "最大同時シャードリクエスト", - "data.advancedSettings.courier.requestPreferenceCustom": "カスタム", - "data.advancedSettings.courier.requestPreferenceNone": "なし", - "data.advancedSettings.courier.requestPreferenceSessionId": "セッションID", - "data.advancedSettings.courier.requestPreferenceText": "どのシャードが検索リクエストを扱うかを設定できます。
      \n
    • {sessionId}:同じシャードのすべての検索リクエストを実行するため、オペレーションを制限します。\n これにはリクエスト間でシャードのキャッシュを共有できるというメリットがあります。
    • \n
    • {custom}:独自の設定が可能になります。\n 'courier:customRequestPreference'で設定値をカスタマイズします。
    • \n
    • {none}:設定されていないことを意味します。\n これにより、リクエストが全シャードコピー間に分散されるため、パフォーマンスが改善される可能性があります。\n ただし、シャードによって更新ステータスが異なる場合があるため、結果に矛盾が生じる可能性があります。
    • \n
    ", - "data.advancedSettings.courier.requestPreferenceTitle": "リクエスト設定", - "data.advancedSettings.defaultIndexText": "インデックスが設定されていない時にアクセスするインデックスです", - "data.advancedSettings.defaultIndexTitle": "デフォルトのインデックス", - "data.advancedSettings.docTableHighlightText": "Discover と保存された検索ダッシュボードの結果をハイライトします。ハイライトすることで、大きなドキュメントを扱う際にリクエストが遅くなります。", - "data.advancedSettings.docTableHighlightTitle": "結果をハイライト", - "data.advancedSettings.histogram.barTargetText": "日付ヒストグラムで「自動」間隔を使用する際、この数に近いバケットの作成を試みます", - "data.advancedSettings.histogram.barTargetTitle": "目標バケット数", - "data.advancedSettings.histogram.maxBarsText": "Kibana全体で日付の密度とヒストグラム数を制限し、\n テストクエリを使用するときのパフォーマンスを向上させます。テストクエリのバケットが多すぎる場合は、\n バケットの間隔が増えます。この設定は個別に\n 各ヒストグラムアグリゲーションに適用されます。他の種類のアグリゲーションには適用されません。\n この設定の最大値を求めるには、Elasticsearch「search.max_buckets」\n 値を各ビジュアライゼーションのアグリゲーションの最大数で除算します。", - "data.advancedSettings.histogram.maxBarsTitle": "バケットの最大数", - "data.advancedSettings.historyLimitText": "履歴があるフィールド (例:クエリインプット) に個の数の最近の値が表示されます", - "data.advancedSettings.historyLimitTitle": "履歴制限数", - "data.advancedSettings.metaFieldsText": "_source の外にあり、ドキュメントが表示される時に融合されるフィールドです", - "data.advancedSettings.metaFieldsTitle": "メタフィールド", - "data.advancedSettings.pinFiltersText": "フィルターがデフォルトでグローバル (ピン付けされた状態) になるかの設定です", - "data.advancedSettings.pinFiltersTitle": "フィルターをデフォルトでピン付けする", - "data.advancedSettings.query.allowWildcardsText": "設定すると、クエリ句の頭に*が使えるようになります。現在クエリバーで実験的クエリ機能が有効になっている場合にのみ適用されます。基本的なLuceneクエリでリーディングワイルドカードを無効にするには、{queryStringOptionsPattern}を使用します。", - "data.advancedSettings.query.allowWildcardsTitle": "クエリでリーディングワイルドカードを許可する", - "data.advancedSettings.query.queryStringOptions.optionsLinkText": "オプション", - "data.advancedSettings.query.queryStringOptionsText": "Luceneクエリ文字列パーサーの{optionsLink}。「{queryLanguage}」が{luceneLanguage}に設定されているときにのみ使用されます。", - "data.advancedSettings.query.queryStringOptionsTitle": "クエリ文字列のオプション", - "data.advancedSettings.searchQueryLanguageKql": "KQL", - "data.advancedSettings.searchQueryLanguageLucene": "Lucene", - "data.advancedSettings.searchQueryLanguageText": "クエリ言語はクエリバーで使用されます。KQLはKibana用に特別に開発された新しい言語です。", - "data.advancedSettings.searchQueryLanguageTitle": "クエリ言語", - "data.advancedSettings.searchTimeout": "検索タイムアウト", - "data.advancedSettings.searchTimeoutDesc": "検索セッションの最大タイムアウトを変更するか、0 に設定してタイムアウトを無効にすると、クエリは完了するまで実行されます。", - "data.advancedSettings.sortOptions.optionsLinkText": "オプション", - "data.advancedSettings.sortOptionsText": "Elasticsearch の並べ替えパラメーターの {optionsLink}", - "data.advancedSettings.sortOptionsTitle": "並べ替えオプション", - "data.advancedSettings.suggestFilterValuesText": "フィルターエディターがフィールドの値の候補を表示しないようにするには、このプロパティをfalseにしてください。", - "data.advancedSettings.suggestFilterValuesTitle": "フィルターエディターの候補値", - "data.advancedSettings.timepicker.last15Minutes": "過去15分間", - "data.advancedSettings.timepicker.last1Hour": "過去1時間", - "data.advancedSettings.timepicker.last1Year": "過去1年間", - "data.advancedSettings.timepicker.last24Hours": "過去 24 時間", - "data.advancedSettings.timepicker.last30Days": "過去30日間", - "data.advancedSettings.timepicker.last30Minutes": "過去30分間", - "data.advancedSettings.timepicker.last7Days": "過去7日間", - "data.advancedSettings.timepicker.last90Days": "過去90日間", - "data.advancedSettings.timepicker.quickRanges.acceptedFormatsLinkText": "対応フォーマット", - "data.advancedSettings.timepicker.quickRangesText": "時間フィルターのクイックセクションに表示される範囲のリストです。それぞれのオブジェクトに「開始」、「終了」 ({acceptedFormatsLink}を参照) 、「表示」 (表示するタイトル) が含まれるオブジェクトの配列です。", - "data.advancedSettings.timepicker.quickRangesTitle": "タイムピッカーのクイック範囲", - "data.advancedSettings.timepicker.refreshIntervalDefaultsText": "時間フィルターのデフォルト更新間隔「値」はミリ秒で指定する必要があります。", - "data.advancedSettings.timepicker.refreshIntervalDefaultsTitle": "タイムピッカーの更新間隔", - "data.advancedSettings.timepicker.thisWeek": "今週", - "data.advancedSettings.timepicker.timeDefaultsText": "時間フィルターが選択されずにKibanaが起動した際に使用される時間フィルターです", - "data.advancedSettings.timepicker.timeDefaultsTitle": "デフォルトのタイムピッカー", - "data.advancedSettings.timepicker.today": "今日", - "data.aggTypes.buckets.ranges.rangesFormatMessage": "{gte} {from} と {lt} {to}", - "data.aggTypes.buckets.ranges.rangesFormatMessageArrowRight": "{from} → {to}", - "data.errors.fetchError": "ネットワークとプロキシ構成を確認してください。問題が解決しない場合は、ネットワーク管理者に問い合わせてください。", - "data.filter.applyFilterActionTitle": "現在のビューにフィルターを適用", - "data.filter.applyFilters.popupHeader": "適用するフィルターの選択", - "data.filter.applyFiltersPopup.cancelButtonLabel": "キャンセル", - "data.filter.applyFiltersPopup.saveButtonLabel": "適用", - "data.filter.filterBar.addFilterButtonLabel": "フィルターを追加します", - "data.filter.filterBar.deleteFilterButtonLabel": "削除", - "data.filter.filterBar.disabledFilterPrefix": "無効", - "data.filter.filterBar.disableFilterButtonLabel": "一時的に無効にする", - "data.filter.filterBar.editFilterButtonLabel": "フィルターを編集", - "data.filter.filterBar.enableFilterButtonLabel": "再度有効にする", - "data.filter.filterBar.excludeFilterButtonLabel": "結果を除外", - "data.filter.filterBar.fieldNotFound": "インデックスパターン {indexPattern} にフィールド {key} がありません", - "data.filter.filterBar.filterItemBadgeAriaLabel": "フィルターアクション", - "data.filter.filterBar.filterItemBadgeIconAriaLabel": "{filter}を削除", - "data.filter.filterBar.includeFilterButtonLabel": "結果を含める", - "data.filter.filterBar.indexPatternSelectPlaceholder": "インデックスパターンの選択", - "data.filter.filterBar.labelErrorInfo": "インデックスパターン{indexPattern}が見つかりません", - "data.filter.filterBar.labelErrorText": "エラー", - "data.filter.filterBar.labelWarningInfo": "フィールド{fieldName}は現在のビューに存在しません", - "data.filter.filterBar.labelWarningText": "警告", - "data.filter.filterBar.moreFilterActionsMessage": "フィルター:{innerText}。他のフィルターアクションを使用するには選択してください。", - "data.filter.filterBar.negatedFilterPrefix": "NOT ", - "data.filter.filterBar.pinFilterButtonLabel": "すべてのアプリにピン付け", - "data.filter.filterBar.pinnedFilterPrefix": "ピン付け済み", - "data.filter.filterBar.unpinFilterButtonLabel": "ピンを外す", - "data.filter.filterEditor.cancelButtonLabel": "キャンセル", - "data.filter.filterEditor.createCustomLabelInputLabel": "カスタムラベル", - "data.filter.filterEditor.createCustomLabelSwitchLabel": "カスタムラベルを作成しますか?", - "data.filter.filterEditor.doesNotExistOperatorOptionLabel": "存在しない", - "data.filter.filterEditor.editFilterPopupTitle": "フィルターを編集", - "data.filter.filterEditor.editFilterValuesButtonLabel": "フィルター値を編集", - "data.filter.filterEditor.editQueryDslButtonLabel": "クエリ DSL として編集", - "data.filter.filterEditor.existsOperatorOptionLabel": "存在する", - "data.filter.filterEditor.falseOptionLabel": "False", - "data.filter.filterEditor.fieldSelectLabel": "フィールド", - "data.filter.filterEditor.fieldSelectPlaceholder": "フィールドを選択", - "data.filter.filterEditor.indexPatternSelectLabel": "インデックスパターン", - "data.filter.filterEditor.isBetweenOperatorOptionLabel": "is between", - "data.filter.filterEditor.isNotBetweenOperatorOptionLabel": "is not between", - "data.filter.filterEditor.isNotOneOfOperatorOptionLabel": "is not one of", - "data.filter.filterEditor.isNotOperatorOptionLabel": "is not", - "data.filter.filterEditor.isOneOfOperatorOptionLabel": "is one of", - "data.filter.filterEditor.isOperatorOptionLabel": "is", - "data.filter.filterEditor.operatorSelectLabel": "演算子", - "data.filter.filterEditor.operatorSelectPlaceholderSelect": "選択してください", - "data.filter.filterEditor.operatorSelectPlaceholderWaiting": "待機中", - "data.filter.filterEditor.queryDslLabel": "Elasticsearch クエリ DSL", - "data.filter.filterEditor.rangeEndInputPlaceholder": "範囲の終了値", - "data.filter.filterEditor.rangeInputLabel": "範囲", - "data.filter.filterEditor.rangeStartInputPlaceholder": "範囲の開始値", - "data.filter.filterEditor.saveButtonLabel": "保存", - "data.filter.filterEditor.trueOptionLabel": "True", - "data.filter.filterEditor.valueInputLabel": "値", - "data.filter.filterEditor.valueInputPlaceholder": "値を入力", - "data.filter.filterEditor.valueSelectPlaceholder": "値を選択", - "data.filter.filterEditor.valuesSelectLabel": "値", - "data.filter.filterEditor.valuesSelectPlaceholder": "値を選択", - "data.filter.options.changeAllFiltersButtonLabel": "すべてのフィルターの変更", - "data.filter.options.deleteAllFiltersButtonLabel": "すべて削除", - "data.filter.options.disableAllFiltersButtonLabel": "すべて無効にする", - "data.filter.options.enableAllFiltersButtonLabel": "すべて有効にする", - "data.filter.options.invertDisabledFiltersButtonLabel": "有効・無効を反転", - "data.filter.options.invertNegatedFiltersButtonLabel": "含める・除外を反転", - "data.filter.options.pinAllFiltersButtonLabel": "すべてピン付け", - "data.filter.options.unpinAllFiltersButtonLabel": "すべてのピンを外す", - "data.filter.searchBar.changeAllFiltersTitle": "すべてのフィルターの変更", - "data.functions.esaggs.help": "AggConfig 集約を実行します", - "data.functions.esaggs.inspector.dataRequest.description": "このリクエストはElasticsearchにクエリし、ビジュアライゼーション用のデータを取得します。", - "data.functions.esaggs.inspector.dataRequest.title": "データ", - "data.functions.indexPatternLoad.help": "インデックスパターンを読み込みます", - "data.functions.indexPatternLoad.id.help": "読み込むインデックスパターンID", - "data.indexPatterns.ensureDefaultIndexPattern.bannerLabel": "Kibanaでデータの可視化と閲覧を行うには、Elasticsearchからデータを取得するためのインデックスパターンの作成が必要です。", - "data.indexPatterns.fetchFieldErrorTitle": "インデックスパターンのフィールド取得中にエラーが発生 {title} (ID:{id}) ", - "data.indexPatterns.indexPatternLoad.error.kibanaRequest": "サーバーでこの検索を実行するには、KibanaRequest が必要です。式実行パラメーターに要求オブジェクトを渡してください。", - "data.indexPatterns.unableWriteLabel": "インデックスパターンを書き込めません。このインデックスパターンへの最新の変更を取得するには、ページを更新してください。", - "data.inspector.table..dataDescriptionTooltip": "ビジュアライゼーションの元のデータを表示", - "data.inspector.table.dataTitle": "データ", - "data.inspector.table.downloadCSVToggleButtonLabel": "CSV をダウンロード", - "data.inspector.table.downloadOptionsUnsavedFilename": "未保存", - "data.inspector.table.filterForValueButtonAriaLabel": "値でフィルター", - "data.inspector.table.filterForValueButtonTooltip": "値でフィルター", - "data.inspector.table.filterOutValueButtonAriaLabel": "値を除外", - "data.inspector.table.filterOutValueButtonTooltip": "値を除外", - "data.inspector.table.formattedCSVButtonLabel": "フォーマット済み CSV", - "data.inspector.table.formattedCSVButtonTooltip": "データを表形式でダウンロード", - "data.inspector.table.noDataAvailableDescription": "エレメントがデータを提供しませんでした。", - "data.inspector.table.noDataAvailableTitle": "利用可能なデータがありません", - "data.inspector.table.rawCSVButtonLabel": "CSV", - "data.inspector.table.rawCSVButtonTooltip": "日付をタイムスタンプとしてなど、提供されたデータをそのままダウンロードします", - "data.inspector.table.tableLabel": "テーブル{index}", - "data.inspector.table.tableSelectorLabel": "選択済み:", - "data.kueryAutocomplete.andOperatorDescription": "{bothArguments} が true であることを条件とする", - "data.kueryAutocomplete.andOperatorDescription.bothArgumentsText": "両方の引数", - "data.kueryAutocomplete.equalOperatorDescription": "一部の値に{equals}", - "data.kueryAutocomplete.equalOperatorDescription.equalsText": "一致する", - "data.kueryAutocomplete.existOperatorDescription": "いずれかの形式中に{exists}", - "data.kueryAutocomplete.existOperatorDescription.existsText": "存在する", - "data.kueryAutocomplete.filterResultsDescription": "{fieldName}を含む結果をフィルタリング", - "data.kueryAutocomplete.greaterThanOperatorDescription": "が一部の値{greaterThan}", - "data.kueryAutocomplete.greaterThanOperatorDescription.greaterThanText": "より大きい", - "data.kueryAutocomplete.greaterThanOrEqualOperatorDescription": "が一部の値{greaterThanOrEqualTo}", - "data.kueryAutocomplete.greaterThanOrEqualOperatorDescription.greaterThanOrEqualToText": "よりも大きいまたは等しい", - "data.kueryAutocomplete.lessThanOperatorDescription": "が一部の値{lessThan}", - "data.kueryAutocomplete.lessThanOperatorDescription.lessThanText": "より小さい", - "data.kueryAutocomplete.lessThanOrEqualOperatorDescription": "が一部の値{lessThanOrEqualTo}", - "data.kueryAutocomplete.lessThanOrEqualOperatorDescription.lessThanOrEqualToText": "より小さいまたは等しい", - "data.kueryAutocomplete.orOperatorDescription": "{oneOrMoreArguments} が true であることを条件とする", - "data.kueryAutocomplete.orOperatorDescription.oneOrMoreArgumentsText": "1つ以上の引数", - "data.noDataPopover.content": "この時間範囲にはデータが含まれていません。表示するフィールドを増やし、グラフを作成するには、時間範囲を広げるか、調整してください。", - "data.noDataPopover.dismissAction": "今後表示しない", - "data.noDataPopover.subtitle": "ヒント", - "data.noDataPopover.title": "空のデータセット", - "data.painlessError.buttonTxt": "スクリプトを編集", - "data.painlessError.painlessScriptedFieldErrorMessage": "インデックスパターン{indexPatternName}でのランタイムフィールドまたはスクリプトフィールドの実行エラー", - "data.parseEsInterval.invalidEsCalendarIntervalErrorMessage": "無効なカレンダー間隔:{interval}、1よりも大きな値が必要です", - "data.parseEsInterval.invalidEsIntervalFormatErrorMessage": "無効な間隔形式:{interval}", - "data.query.queryBar.clearInputLabel": "インプットを消去", - "data.query.queryBar.comboboxAriaLabel": "{pageType} ページの検索とフィルタリング", - "data.query.queryBar.kqlFullLanguageName": "Kibana クエリ言語", - "data.query.queryBar.kqlLanguageName": "KQL", - "data.query.queryBar.KQLNestedQuerySyntaxInfoDocLinkText": "ドキュメント", - "data.query.queryBar.KQLNestedQuerySyntaxInfoOptOutText": "今後表示しない", - "data.query.queryBar.KQLNestedQuerySyntaxInfoText": "ネストされたフィールドをクエリされているようです。ネストされたクエリに対しては、ご希望の結果により異なる方法で KQL 構文を構築することができます。詳細については、{link}をご覧ください。", - "data.query.queryBar.KQLNestedQuerySyntaxInfoTitle": "KQL ネストされたクエリ構文", - "data.query.queryBar.kqlOffLabel": "オフ", - "data.query.queryBar.kqlOnLabel": "オン", - "data.query.queryBar.languageSwitcher.toText": "検索用にKibana Query Languageに切り替える", - "data.query.queryBar.luceneLanguageName": "Lucene", - "data.query.queryBar.searchInputAriaLabel": "{pageType} ページの検索とフィルタリングを行うには入力を開始してください", - "data.query.queryBar.searchInputPlaceholder": "検索", - "data.query.queryBar.syntaxOptionsDescription": "{docsLink} (KQL) は、シンプルなクエリ構文とスクリプトフィールドのサポートを提供します。KQLにはオートコンプリート機能もあります。KQLをオフにする場合は、{nonKqlModeHelpText}", - "data.query.queryBar.syntaxOptionsDescription.nonKqlModeHelpText": "KibanaはLuceneを使用します。", - "data.query.queryBar.syntaxOptionsTitle": "構文オプション", - "data.search.aggs.aggGroups.bucketsText": "バケット", - "data.search.aggs.aggGroups.metricsText": "メトリック", - "data.search.aggs.aggGroups.noneText": "なし", - "data.search.aggs.aggTypesLabel": "{fieldName} の範囲", - "data.search.aggs.buckets.dateHistogram.customLabel.help": "このアグリゲーションのカスタムラベルを表します", - "data.search.aggs.buckets.dateHistogram.dropPartials.help": "このアグリゲーションでdrop_partialsを使用するかどうかを指定します", - "data.search.aggs.buckets.dateHistogram.enabled.help": "このアグリゲーションが有効かどうかを指定します", - "data.search.aggs.buckets.dateHistogram.extendedBounds.help": "extended_bounds設定を使用すると、強制的にヒストグラムアグリゲーションを実行し、特定の最小値に対してバケットの作成を開始し、最大値までバケットを作成し続けます。 ", - "data.search.aggs.buckets.dateHistogram.field.help": "このアグリゲーションで使用するフィールド", - "data.search.aggs.buckets.dateHistogram.format.help": "このアグリゲーションで使用するフォーマット", - "data.search.aggs.buckets.dateHistogram.id.help": "このアグリゲーションのID", - "data.search.aggs.buckets.dateHistogram.interval.help": "このアグリゲーションで使用する間隔", - "data.search.aggs.buckets.dateHistogram.json.help": "アグリゲーションがElasticsearchに送信されるときに含める高度なJSON", - "data.search.aggs.buckets.dateHistogram.minDocCount.help": "このアグリゲーションで使用する最小ドキュメントカウント", - "data.search.aggs.buckets.dateHistogram.scaleMetricValues.help": "このアグリゲーションでscaleMetricValuesを使用するかどうかを指定します", - "data.search.aggs.buckets.dateHistogram.schema.help": "このアグリゲーションで使用するスキーマ", - "data.search.aggs.buckets.dateHistogram.timeRange.help": "このアグリゲーションで使用する時間範囲", - "data.search.aggs.buckets.dateHistogram.timeZone.help": "このアグリゲーションで使用するタイムゾーン", - "data.search.aggs.buckets.dateHistogram.useNormalizedEsInterval.help": "このアグリゲーションでuseNormalizedEsIntervalを使用するかどうかを指定します", - "data.search.aggs.buckets.dateHistogramLabel": "{intervalDescription} ごとの {fieldName}", - "data.search.aggs.buckets.dateHistogramTitle": "日付ヒストグラム", - "data.search.aggs.buckets.dateRange.customLabel.help": "このアグリゲーションのカスタムラベルを表します", - "data.search.aggs.buckets.dateRange.enabled.help": "このアグリゲーションが有効かどうかを指定します", - "data.search.aggs.buckets.dateRange.field.help": "このアグリゲーションで使用するフィールド", - "data.search.aggs.buckets.dateRange.id.help": "このアグリゲーションのID", - "data.search.aggs.buckets.dateRange.json.help": "アグリゲーションがElasticsearchに送信されるときに含める高度なJSON", - "data.search.aggs.buckets.dateRange.ranges.help": "このアグリゲーションで使用するシリアル化された範囲。", - "data.search.aggs.buckets.dateRange.schema.help": "このアグリゲーションで使用するスキーマ", - "data.search.aggs.buckets.dateRange.timeZone.help": "このアグリゲーションで使用するタイムゾーン。", - "data.search.aggs.buckets.dateRangeTitle": "日付範囲", - "data.search.aggs.buckets.filter.customLabel.help": "このアグリゲーションのカスタムラベルを表します", - "data.search.aggs.buckets.filter.enabled.help": "このアグリゲーションが有効かどうかを指定します", - "data.search.aggs.buckets.filter.filter.help": "KQLまたはLuceneクエリに基づいて結果をフィルタリングします。geo_bounding_boxと一緒に使用しないでください", - "data.search.aggs.buckets.filter.geoBoundingBox.help": "バウンディングボックス内の点の位置に基づいて結果をフィルタリングします", - "data.search.aggs.buckets.filter.id.help": "このアグリゲーションのID", - "data.search.aggs.buckets.filter.json.help": "アグリゲーションがElasticsearchに送信されるときに含める高度なJSON", - "data.search.aggs.buckets.filter.schema.help": "このアグリゲーションで使用するスキーマ", - "data.search.aggs.buckets.filters.enabled.help": "このアグリゲーションが有効かどうかを指定します", - "data.search.aggs.buckets.filters.filters.help": "このアグリゲーションで使用するフィルター", - "data.search.aggs.buckets.filters.id.help": "このアグリゲーションのID", - "data.search.aggs.buckets.filters.json.help": "アグリゲーションがElasticsearchに送信されるときに含める高度なJSON", - "data.search.aggs.buckets.filters.schema.help": "このアグリゲーションで使用するスキーマ", - "data.search.aggs.buckets.filtersTitle": "フィルター", - "data.search.aggs.buckets.filterTitle": "フィルター", - "data.search.aggs.buckets.geoHash.autoPrecision.help": "このアグリゲーションで自動精度を使用するかどうかを指定します", - "data.search.aggs.buckets.geoHash.boundingBox.help": "バウンディングボックス内の点の位置に基づいて結果をフィルタリングします", - "data.search.aggs.buckets.geoHash.customLabel.help": "このアグリゲーションのカスタムラベルを表します", - "data.search.aggs.buckets.geoHash.enabled.help": "このアグリゲーションが有効かどうかを指定します", - "data.search.aggs.buckets.geoHash.field.help": "このアグリゲーションで使用するフィールド", - "data.search.aggs.buckets.geoHash.id.help": "このアグリゲーションのID", - "data.search.aggs.buckets.geoHash.isFilteredByCollar.help": "カラーでフィルタリングするかどうかを指定します", - "data.search.aggs.buckets.geoHash.json.help": "アグリゲーションがElasticsearchに送信されるときに含める高度なJSON", - "data.search.aggs.buckets.geoHash.precision.help": "このアグリゲーションで使用する精度。", - "data.search.aggs.buckets.geoHash.schema.help": "このアグリゲーションで使用するスキーマ", - "data.search.aggs.buckets.geoHash.useGeocentroid.help": "このアグリゲーションでgeocentroid使用するかどうかを指定します", - "data.search.aggs.buckets.geohashGridTitle": "ジオハッシュ", - "data.search.aggs.buckets.geoTile.customLabel.help": "このアグリゲーションのカスタムラベルを表します", - "data.search.aggs.buckets.geoTile.enabled.help": "このアグリゲーションが有効かどうかを指定します", - "data.search.aggs.buckets.geoTile.field.help": "このアグリゲーションで使用するフィールド", - "data.search.aggs.buckets.geoTile.id.help": "このアグリゲーションのID", - "data.search.aggs.buckets.geoTile.json.help": "アグリゲーションがElasticsearchに送信されるときに含める高度なJSON", - "data.search.aggs.buckets.geoTile.precision.help": "このアグリゲーションで使用する精度。", - "data.search.aggs.buckets.geoTile.schema.help": "このアグリゲーションで使用するスキーマ", - "data.search.aggs.buckets.geoTile.useGeocentroid.help": "このアグリゲーションでgeocentroid使用するかどうかを指定します", - "data.search.aggs.buckets.geotileGridTitle": "ジオタイル", - "data.search.aggs.buckets.histogram.customLabel.help": "このアグリゲーションのカスタムラベルを表します", - "data.search.aggs.buckets.histogram.enabled.help": "このアグリゲーションが有効かどうかを指定します", - "data.search.aggs.buckets.histogram.extendedBounds.help": "extended_bounds設定を使用すると、強制的にヒストグラムアグリゲーションを実行し、特定の最小値に対してバケットの作成を開始し、最大値までバケットを作成し続けます。 ", - "data.search.aggs.buckets.histogram.field.help": "このアグリゲーションで使用するフィールド", - "data.search.aggs.buckets.histogram.hasExtendedBounds.help": "このアグリゲーションでhas_extended_boundsを使用するかどうかを指定します", - "data.search.aggs.buckets.histogram.id.help": "このアグリゲーションのID", - "data.search.aggs.buckets.histogram.interval.help": "このアグリゲーションで使用する間隔", - "data.search.aggs.buckets.histogram.intervalBase.help": "このアグリゲーションで使用するIntervalBase", - "data.search.aggs.buckets.histogram.json.help": "アグリゲーションがElasticsearchに送信されるときに含める高度なJSON", - "data.search.aggs.buckets.histogram.maxBars.help": "間隔を計算して、この数の棒を取得します", - "data.search.aggs.buckets.histogram.minDocCount.help": "このアグリゲーションでmin_doc_countを使用するかどうかを指定します", - "data.search.aggs.buckets.histogram.schema.help": "このアグリゲーションで使用するスキーマ", - "data.search.aggs.buckets.histogramTitle": "ヒストグラム", - "data.search.aggs.buckets.intervalOptions.autoDisplayName": "自動", - "data.search.aggs.buckets.intervalOptions.dailyDisplayName": "日", - "data.search.aggs.buckets.intervalOptions.hourlyDisplayName": "時間", - "data.search.aggs.buckets.intervalOptions.millisecondDisplayName": "ミリ秒", - "data.search.aggs.buckets.intervalOptions.minuteDisplayName": "分", - "data.search.aggs.buckets.intervalOptions.monthlyDisplayName": "月", - "data.search.aggs.buckets.intervalOptions.secondDisplayName": "秒", - "data.search.aggs.buckets.intervalOptions.weeklyDisplayName": "週", - "data.search.aggs.buckets.intervalOptions.yearlyDisplayName": "年", - "data.search.aggs.buckets.ipRange.customLabel.help": "このアグリゲーションのカスタムラベルを表します", - "data.search.aggs.buckets.ipRange.enabled.help": "このアグリゲーションが有効かどうかを指定します", - "data.search.aggs.buckets.ipRange.field.help": "このアグリゲーションで使用するフィールド", - "data.search.aggs.buckets.ipRange.id.help": "このアグリゲーションのID", - "data.search.aggs.buckets.ipRange.ipRangeType.help": "このアグリゲーションで使用するIP範囲タイプ。値mask、fromTOのいずれかを取ります。", - "data.search.aggs.buckets.ipRange.json.help": "アグリゲーションがElasticsearchに送信されるときに含める高度なJSON", - "data.search.aggs.buckets.ipRange.ranges.help": "このアグリゲーションで使用するシリアル化された範囲。", - "data.search.aggs.buckets.ipRange.schema.help": "このアグリゲーションで使用するスキーマ", - "data.search.aggs.buckets.ipRangeLabel": "{fieldName} IP 範囲", - "data.search.aggs.buckets.ipRangeTitle": "IP範囲", - "data.search.aggs.buckets.range.customLabel.help": "このアグリゲーションのカスタムラベルを表します", - "data.search.aggs.buckets.range.enabled.help": "このアグリゲーションが有効かどうかを指定します", - "data.search.aggs.buckets.range.field.help": "このアグリゲーションで使用するフィールド", - "data.search.aggs.buckets.range.id.help": "このアグリゲーションのID", - "data.search.aggs.buckets.range.json.help": "アグリゲーションがElasticsearchに送信されるときに含める高度なJSON", - "data.search.aggs.buckets.range.ranges.help": "このアグリゲーションで使用するシリアル化された範囲。", - "data.search.aggs.buckets.range.schema.help": "このアグリゲーションで使用するスキーマ", - "data.search.aggs.buckets.rangeTitle": "範囲", - "data.search.aggs.buckets.shardDelay.customLabel.help": "このアグリゲーションのカスタムラベルを表します", - "data.search.aggs.buckets.shardDelay.delay.help": "処理するシャード間の遅延。例:\"5s\"", - "data.search.aggs.buckets.shardDelay.enabled.help": "このアグリゲーションが有効かどうかを指定します", - "data.search.aggs.buckets.shardDelay.id.help": "このアグリゲーションのID", - "data.search.aggs.buckets.shardDelay.json.help": "アグリゲーションがElasticsearchに送信されるときに含める高度なJSON", - "data.search.aggs.buckets.shardDelay.schema.help": "このアグリゲーションで使用するスキーマ", - "data.search.aggs.buckets.significantTerms.customLabel.help": "このアグリゲーションのカスタムラベルを表します", - "data.search.aggs.buckets.significantTerms.enabled.help": "このアグリゲーションが有効かどうかを指定します", - "data.search.aggs.buckets.significantTerms.exclude.help": "結果から除外する特定のバケット値", - "data.search.aggs.buckets.significantTerms.excludeLabel": "除外", - "data.search.aggs.buckets.significantTerms.field.help": "このアグリゲーションで使用するフィールド", - "data.search.aggs.buckets.significantTerms.id.help": "このアグリゲーションのID", - "data.search.aggs.buckets.significantTerms.include.help": "結果に含める特定のバケット値", - "data.search.aggs.buckets.significantTerms.includeLabel": "含める", - "data.search.aggs.buckets.significantTerms.json.help": "アグリゲーションがElasticsearchに送信されるときに含める高度なJSON", - "data.search.aggs.buckets.significantTerms.schema.help": "このアグリゲーションで使用するスキーマ", - "data.search.aggs.buckets.significantTerms.size.help": "取得するバケットの最大数", - "data.search.aggs.buckets.significantTermsLabel": "{fieldName} のトップ {size} の珍しいアイテム", - "data.search.aggs.buckets.significantTermsTitle": "重要な用語", - "data.search.aggs.buckets.terms.customLabel.help": "このアグリゲーションのカスタムラベルを表します", - "data.search.aggs.buckets.terms.enabled.help": "このアグリゲーションが有効かどうかを指定します", - "data.search.aggs.buckets.terms.exclude.help": "結果から除外する特定のバケット値", - "data.search.aggs.buckets.terms.excludeLabel": "除外", - "data.search.aggs.buckets.terms.field.help": "このアグリゲーションで使用するフィールド", - "data.search.aggs.buckets.terms.id.help": "このアグリゲーションのID", - "data.search.aggs.buckets.terms.include.help": "結果に含める特定のバケット値", - "data.search.aggs.buckets.terms.includeLabel": "含める", - "data.search.aggs.buckets.terms.json.help": "アグリゲーションがElasticsearchに送信されるときに含める高度なJSON", - "data.search.aggs.buckets.terms.missingBucket.help": "trueに設定すると、見つからないフィールドのすべてのバケットをグループ化します", - "data.search.aggs.buckets.terms.missingBucketLabel": "欠測値", - "data.search.aggs.buckets.terms.missingBucketLabel.help": "ドキュメントのフィールドが見つからないときにグラフで使用される既定のラベル。", - "data.search.aggs.buckets.terms.order.help": "結果を返す順序:昇順または降順", - "data.search.aggs.buckets.terms.orderAgg.help": "結果の並べ替えで使用するアグリゲーション構成", - "data.search.aggs.buckets.terms.orderAscendingTitle": "昇順", - "data.search.aggs.buckets.terms.orderBy.help": "結果を並べ替える基準のフィールド", - "data.search.aggs.buckets.terms.orderDescendingTitle": "降順", - "data.search.aggs.buckets.terms.otherBucket.help": "trueに設定すると、許可されたサイズを超えるすべてのバケットをグループ化します", - "data.search.aggs.buckets.terms.otherBucketDescription": "このリクエストは、データバケットの基準外のドキュメントの数をカウントします。", - "data.search.aggs.buckets.terms.otherBucketLabel": "その他", - "data.search.aggs.buckets.terms.otherBucketLabel.help": "他のバケットのドキュメントのグラフで使用される既定のラベル", - "data.search.aggs.buckets.terms.otherBucketTitle": "他のバケット", - "data.search.aggs.buckets.terms.schema.help": "このアグリゲーションで使用するスキーマ", - "data.search.aggs.buckets.terms.size.help": "取得するバケットの最大数", - "data.search.aggs.buckets.termsTitle": "用語", - "data.search.aggs.error.aggNotFound": "「{type}」に登録されたアグリゲーションタイプが見つかりません。", - "data.search.aggs.function.buckets.dateHistogram.help": "ヒストグラムアグリゲーションのシリアル化されたアグリゲーション構成を生成します", - "data.search.aggs.function.buckets.dateRange.help": "日付範囲アグリゲーションのシリアル化されたアグリゲーション構成を生成します", - "data.search.aggs.function.buckets.filter.help": "フィルターアグリゲーションのシリアル化されたアグリゲーション構成を生成します", - "data.search.aggs.function.buckets.filters.help": "フィルターアグリゲーションのシリアル化されたアグリゲーション構成を生成します", - "data.search.aggs.function.buckets.geoHash.help": "ジオハッシュアグリゲーションのシリアル化されたアグリゲーション構成を生成します", - "data.search.aggs.function.buckets.geoTile.help": "ジオタイルアグリゲーションのシリアル化されたアグリゲーション構成を生成します", - "data.search.aggs.function.buckets.histogram.help": "ヒストグラムアグリゲーションのシリアル化されたアグリゲーション構成を生成します", - "data.search.aggs.function.buckets.ipRange.help": "IP範囲アグリゲーションのシリアル化されたアグリゲーション構成を生成します", - "data.search.aggs.function.buckets.range.help": "範囲アグリゲーションのシリアル化されたアグリゲーション構成を生成します", - "data.search.aggs.function.buckets.shardDelay.help": "シャード遅延アグリゲーションのシリアル化されたアグリゲーション構成を生成します", - "data.search.aggs.function.buckets.significantTerms.help": "重要な用語アグリゲーションのシリアル化されたアグリゲーション構成を生成します", - "data.search.aggs.function.buckets.terms.help": "用語アグリゲーションのシリアル化されたアグリゲーション構成を生成します", - "data.search.aggs.function.metrics.avg.help": "平均値アグリゲーションのシリアル化されたアグリゲーション構成を生成します", - "data.search.aggs.function.metrics.bucket_avg.help": "平均値バケットアグリゲーションのシリアル化されたアグリゲーション構成を生成します", - "data.search.aggs.function.metrics.bucket_max.help": "最大値バケットアグリゲーションのシリアル化されたアグリゲーション構成を生成します", - "data.search.aggs.function.metrics.bucket_min.help": "最小値バケットアグリゲーションのシリアル化されたアグリゲーション構成を生成します", - "data.search.aggs.function.metrics.bucket_sum.help": "合計値バケットアグリゲーションのシリアル化されたアグリゲーション構成を生成します", - "data.search.aggs.function.metrics.cardinality.help": "カーディナリティアグリゲーションのシリアル化されたアグリゲーション構成を生成します", - "data.search.aggs.function.metrics.count.help": "カウントアグリゲーションのシリアル化されたアグリゲーション構成を生成します", - "data.search.aggs.function.metrics.cumulative_sum.help": "合計値バケットアグリゲーションのシリアル化されたアグリゲーション構成を生成します", - "data.search.aggs.function.metrics.derivative.help": "微分アグリゲーションのシリアル化されたアグリゲーション構成を生成します", - "data.search.aggs.function.metrics.filtered_metric.help": "フィルタリングされたメトリックアグリゲーションのシリアル化されたアグリゲーション構成を生成します", - "data.search.aggs.function.metrics.geo_bounds.help": "ジオ境界アグリゲーションのシリアル化されたアグリゲーション構成を生成します", - "data.search.aggs.function.metrics.geo_centroid.help": "ジオ中心アグリゲーションのシリアル化されたアグリゲーション構成を生成します", - "data.search.aggs.function.metrics.max.help": "最大値アグリゲーションのシリアル化されたアグリゲーション構成を生成します", - "data.search.aggs.function.metrics.median.help": "中央値アグリゲーションのシリアル化されたアグリゲーション構成を生成します", - "data.search.aggs.function.metrics.min.help": "最小値アグリゲーションのシリアル化されたアグリゲーション構成を生成します", - "data.search.aggs.function.metrics.moving_avg.help": "移動平均値アグリゲーションのシリアル化されたアグリゲーション構成を生成します", - "data.search.aggs.function.metrics.percentile_ranks.help": "パーセンタイル順位アグリゲーションのシリアル化されたアグリゲーション構成を生成します", - "data.search.aggs.function.metrics.percentiles.help": "パーセンタイルアグリゲーションのシリアル化されたアグリゲーション構成を生成します", - "data.search.aggs.function.metrics.serial_diff.help": "シリアル差異アグリゲーションのシリアル化されたアグリゲーション構成を生成します", - "data.search.aggs.function.metrics.singlePercentile.help": "パーセンタイルアグリゲーションのシリアル化されたアグリゲーション構成を生成します", - "data.search.aggs.function.metrics.std_deviation.help": "標準偏差アグリゲーションのシリアル化されたアグリゲーション構成を生成します", - "data.search.aggs.function.metrics.sum.help": "合計値アグリゲーションのシリアル化されたアグリゲーション構成を生成します", - "data.search.aggs.function.metrics.top_hit.help": "上位一致のシリアル化されたアグリゲーション構成を生成します", - "data.search.aggs.histogram.missingMaxMinValuesWarning": "自動スケールヒストグラムバケットから最高値と最低値を取得できません。これによりビジュアライゼーションのパフォーマンスが低下する可能性があります。", - "data.search.aggs.metrics.averageBucketTitle": "平均バケット", - "data.search.aggs.metrics.averageLabel": "平均 {field}", - "data.search.aggs.metrics.averageTitle": "平均", - "data.search.aggs.metrics.avg.customLabel.help": "このアグリゲーションのカスタムラベルを表します", - "data.search.aggs.metrics.avg.enabled.help": "このアグリゲーションが有効かどうかを指定します", - "data.search.aggs.metrics.avg.field.help": "このアグリゲーションで使用するフィールド", - "data.search.aggs.metrics.avg.id.help": "このアグリゲーションのID", - "data.search.aggs.metrics.avg.json.help": "アグリゲーションがElasticsearchに送信されるときに含める高度なJSON", - "data.search.aggs.metrics.avg.schema.help": "このアグリゲーションで使用するスキーマ", - "data.search.aggs.metrics.bucket_avg.customBucket.help": "兄弟パイプラインアグリゲーションを構築するために使用するアグリゲーション構成", - "data.search.aggs.metrics.bucket_avg.customLabel.help": "このアグリゲーションのカスタムラベルを表します", - "data.search.aggs.metrics.bucket_avg.customMetric.help": "兄弟パイプラインアグリゲーションを構築するために使用するアグリゲーション構成", - "data.search.aggs.metrics.bucket_avg.enabled.help": "このアグリゲーションが有効かどうかを指定します", - "data.search.aggs.metrics.bucket_avg.id.help": "このアグリゲーションのID", - "data.search.aggs.metrics.bucket_avg.json.help": "アグリゲーションがElasticsearchに送信されるときに含める高度なJSON", - "data.search.aggs.metrics.bucket_avg.schema.help": "このアグリゲーションで使用するスキーマ", - "data.search.aggs.metrics.bucket_max.customBucket.help": "兄弟パイプラインアグリゲーションを構築するために使用するアグリゲーション構成", - "data.search.aggs.metrics.bucket_max.customLabel.help": "このアグリゲーションのカスタムラベルを表します", - "data.search.aggs.metrics.bucket_max.customMetric.help": "兄弟パイプラインアグリゲーションを構築するために使用するアグリゲーション構成", - "data.search.aggs.metrics.bucket_max.enabled.help": "このアグリゲーションが有効かどうかを指定します", - "data.search.aggs.metrics.bucket_max.id.help": "このアグリゲーションのID", - "data.search.aggs.metrics.bucket_max.json.help": "アグリゲーションがElasticsearchに送信されるときに含める高度なJSON", - "data.search.aggs.metrics.bucket_max.schema.help": "このアグリゲーションで使用するスキーマ", - "data.search.aggs.metrics.bucket_min.customBucket.help": "兄弟パイプラインアグリゲーションを構築するために使用するアグリゲーション構成", - "data.search.aggs.metrics.bucket_min.customLabel.help": "このアグリゲーションのカスタムラベルを表します", - "data.search.aggs.metrics.bucket_min.customMetric.help": "兄弟パイプラインアグリゲーションを構築するために使用するアグリゲーション構成", - "data.search.aggs.metrics.bucket_min.enabled.help": "このアグリゲーションが有効かどうかを指定します", - "data.search.aggs.metrics.bucket_min.id.help": "このアグリゲーションのID", - "data.search.aggs.metrics.bucket_min.json.help": "アグリゲーションがElasticsearchに送信されるときに含める高度なJSON", - "data.search.aggs.metrics.bucket_min.schema.help": "このアグリゲーションで使用するスキーマ", - "data.search.aggs.metrics.bucket_sum.customBucket.help": "兄弟パイプラインアグリゲーションを構築するために使用するアグリゲーション構成", - "data.search.aggs.metrics.bucket_sum.customLabel.help": "このアグリゲーションのカスタムラベルを表します", - "data.search.aggs.metrics.bucket_sum.customMetric.help": "兄弟パイプラインアグリゲーションを構築するために使用するアグリゲーション構成", - "data.search.aggs.metrics.bucket_sum.enabled.help": "このアグリゲーションが有効かどうかを指定します", - "data.search.aggs.metrics.bucket_sum.id.help": "このアグリゲーションのID", - "data.search.aggs.metrics.bucket_sum.json.help": "アグリゲーションがElasticsearchに送信されるときに含める高度なJSON", - "data.search.aggs.metrics.bucket_sum.schema.help": "このアグリゲーションで使用するスキーマ", - "data.search.aggs.metrics.cardinality.customLabel.help": "このアグリゲーションのカスタムラベルを表します", - "data.search.aggs.metrics.cardinality.enabled.help": "このアグリゲーションが有効かどうかを指定します", - "data.search.aggs.metrics.cardinality.field.help": "このアグリゲーションで使用するフィールド", - "data.search.aggs.metrics.cardinality.id.help": "このアグリゲーションのID", - "data.search.aggs.metrics.cardinality.json.help": "アグリゲーションがElasticsearchに送信されるときに含める高度なJSON", - "data.search.aggs.metrics.cardinality.schema.help": "このアグリゲーションで使用するスキーマ", - "data.search.aggs.metrics.count.customLabel.help": "このアグリゲーションのカスタムラベルを表します", - "data.search.aggs.metrics.count.enabled.help": "このアグリゲーションが有効かどうかを指定します", - "data.search.aggs.metrics.count.id.help": "このアグリゲーションのID", - "data.search.aggs.metrics.count.schema.help": "このアグリゲーションで使用するスキーマ", - "data.search.aggs.metrics.countLabel": "カウント", - "data.search.aggs.metrics.countTitle": "カウント", - "data.search.aggs.metrics.cumulative_sum.buckets_path.help": "関心があるメトリックへのパス", - "data.search.aggs.metrics.cumulative_sum.customLabel.help": "このアグリゲーションのカスタムラベルを表します", - "data.search.aggs.metrics.cumulative_sum.customMetric.help": "親パイプラインアグリゲーションを構築するために使用するアグリゲーション構成", - "data.search.aggs.metrics.cumulative_sum.enabled.help": "このアグリゲーションが有効かどうかを指定します", - "data.search.aggs.metrics.cumulative_sum.id.help": "このアグリゲーションのID", - "data.search.aggs.metrics.cumulative_sum.json.help": "アグリゲーションがElasticsearchに送信されるときに含める高度なJSON", - "data.search.aggs.metrics.cumulative_sum.metricAgg.help": "親パイプラインアグリゲーションを構築するために使用するアグリゲーション構成を検索するためのID", - "data.search.aggs.metrics.cumulative_sum.schema.help": "このアグリゲーションで使用するスキーマ", - "data.search.aggs.metrics.cumulativeSumLabel": "累積和", - "data.search.aggs.metrics.cumulativeSumTitle": "累積和", - "data.search.aggs.metrics.derivative.buckets_path.help": "関心があるメトリックへのパス", - "data.search.aggs.metrics.derivative.customLabel.help": "このアグリゲーションのカスタムラベルを表します", - "data.search.aggs.metrics.derivative.customMetric.help": "親パイプラインアグリゲーションを構築するために使用するアグリゲーション構成", - "data.search.aggs.metrics.derivative.enabled.help": "このアグリゲーションが有効かどうかを指定します", - "data.search.aggs.metrics.derivative.id.help": "このアグリゲーションのID", - "data.search.aggs.metrics.derivative.json.help": "アグリゲーションがElasticsearchに送信されるときに含める高度なJSON", - "data.search.aggs.metrics.derivative.metricAgg.help": "親パイプラインアグリゲーションを構築するために使用するアグリゲーション構成を検索するためのID", - "data.search.aggs.metrics.derivative.schema.help": "このアグリゲーションで使用するスキーマ", - "data.search.aggs.metrics.derivativeLabel": "派生", - "data.search.aggs.metrics.derivativeTitle": "派生", - "data.search.aggs.metrics.filtered_metric.customBucket.help": "兄弟パイプラインアグリゲーションを構築するために使用するアグリゲーション構成フィルターアグリゲーションでなければなりません", - "data.search.aggs.metrics.filtered_metric.customLabel.help": "このアグリゲーションのカスタムラベルを表します", - "data.search.aggs.metrics.filtered_metric.customMetric.help": "兄弟パイプラインアグリゲーションを構築するために使用するアグリゲーション構成", - "data.search.aggs.metrics.filtered_metric.enabled.help": "このアグリゲーションが有効かどうかを指定します", - "data.search.aggs.metrics.filtered_metric.id.help": "このアグリゲーションのID", - "data.search.aggs.metrics.filtered_metric.schema.help": "このアグリゲーションで使用するスキーマ", - "data.search.aggs.metrics.filteredMetricLabel": "フィルタリング済み", - "data.search.aggs.metrics.filteredMetricTitle": "フィルタリングされたメトリック", - "data.search.aggs.metrics.geo_bounds.customLabel.help": "このアグリゲーションのカスタムラベルを表します", - "data.search.aggs.metrics.geo_bounds.enabled.help": "このアグリゲーションが有効かどうかを指定します", - "data.search.aggs.metrics.geo_bounds.field.help": "このアグリゲーションで使用するフィールド", - "data.search.aggs.metrics.geo_bounds.id.help": "このアグリゲーションのID", - "data.search.aggs.metrics.geo_bounds.json.help": "アグリゲーションがElasticsearchに送信されるときに含める高度なJSON", - "data.search.aggs.metrics.geo_bounds.schema.help": "このアグリゲーションで使用するスキーマ", - "data.search.aggs.metrics.geo_centroid.customLabel.help": "このアグリゲーションのカスタムラベルを表します", - "data.search.aggs.metrics.geo_centroid.enabled.help": "このアグリゲーションが有効かどうかを指定します", - "data.search.aggs.metrics.geo_centroid.field.help": "このアグリゲーションで使用するフィールド", - "data.search.aggs.metrics.geo_centroid.id.help": "このアグリゲーションのID", - "data.search.aggs.metrics.geo_centroid.json.help": "アグリゲーションがElasticsearchに送信されるときに含める高度なJSON", - "data.search.aggs.metrics.geo_centroid.schema.help": "このアグリゲーションで使用するスキーマ", - "data.search.aggs.metrics.geoBoundsLabel": "境界", - "data.search.aggs.metrics.geoBoundsTitle": "境界", - "data.search.aggs.metrics.geoCentroidLabel": "ジオセントロイド", - "data.search.aggs.metrics.geoCentroidTitle": "ジオセントロイド", - "data.search.aggs.metrics.max.customLabel.help": "このアグリゲーションのカスタムラベルを表します", - "data.search.aggs.metrics.max.enabled.help": "このアグリゲーションが有効かどうかを指定します", - "data.search.aggs.metrics.max.field.help": "このアグリゲーションで使用するフィールド", - "data.search.aggs.metrics.max.id.help": "このアグリゲーションのID", - "data.search.aggs.metrics.max.json.help": "アグリゲーションがElasticsearchに送信されるときに含める高度なJSON", - "data.search.aggs.metrics.max.schema.help": "このアグリゲーションで使用するスキーマ", - "data.search.aggs.metrics.maxBucketTitle": "最高バケット", - "data.search.aggs.metrics.maxLabel": "最高 {field}", - "data.search.aggs.metrics.maxTitle": "最高", - "data.search.aggs.metrics.median.customLabel.help": "このアグリゲーションのカスタムラベルを表します", - "data.search.aggs.metrics.median.enabled.help": "このアグリゲーションが有効かどうかを指定します", - "data.search.aggs.metrics.median.field.help": "このアグリゲーションで使用するフィールド", - "data.search.aggs.metrics.median.id.help": "このアグリゲーションのID", - "data.search.aggs.metrics.median.json.help": "アグリゲーションがElasticsearchに送信されるときに含める高度なJSON", - "data.search.aggs.metrics.median.schema.help": "このアグリゲーションで使用するスキーマ", - "data.search.aggs.metrics.medianLabel": "中央 {field}", - "data.search.aggs.metrics.medianTitle": "中央", - "data.search.aggs.metrics.metricAggregationsSubtypeTitle": "メトリック集約", - "data.search.aggs.metrics.min.customLabel.help": "このアグリゲーションのカスタムラベルを表します", - "data.search.aggs.metrics.min.enabled.help": "このアグリゲーションが有効かどうかを指定します", - "data.search.aggs.metrics.min.field.help": "このアグリゲーションで使用するフィールド", - "data.search.aggs.metrics.min.id.help": "このアグリゲーションのID", - "data.search.aggs.metrics.min.json.help": "アグリゲーションがElasticsearchに送信されるときに含める高度なJSON", - "data.search.aggs.metrics.min.schema.help": "このアグリゲーションで使用するスキーマ", - "data.search.aggs.metrics.minBucketTitle": "最低バケット", - "data.search.aggs.metrics.minLabel": "最低 {field}", - "data.search.aggs.metrics.minTitle": "最低", - "data.search.aggs.metrics.moving_avg.customLabel.help": "このアグリゲーションのカスタムラベルを表します", - "data.search.aggs.metrics.moving_avg.customMetric.help": "親パイプラインアグリゲーションを構築するために使用するアグリゲーション構成", - "data.search.aggs.metrics.moving_avg.enabled.help": "このアグリゲーションが有効かどうかを指定します", - "data.search.aggs.metrics.moving_avg.id.help": "このアグリゲーションのID", - "data.search.aggs.metrics.moving_avg.json.help": "アグリゲーションがElasticsearchに送信されるときに含める高度なJSON", - "data.search.aggs.metrics.moving_avg.metricAgg.help": "親パイプラインアグリゲーションを構築するために使用するアグリゲーション構成を検索するためのID", - "data.search.aggs.metrics.moving_avg.schema.help": "このアグリゲーションで使用するスキーマ", - "data.search.aggs.metrics.moving_avg.script.help": "親パイプラインアグリゲーションを構築するために使用するアグリゲーション構成を検索するためのID", - "data.search.aggs.metrics.moving_avg.window.help": "ヒストグラム全体でスライドするウィンドウのサイズ。", - "data.search.aggs.metrics.movingAvgLabel": "移動平均", - "data.search.aggs.metrics.movingAvgTitle": "移動平均", - "data.search.aggs.metrics.overallAverageLabel": "全体平均", - "data.search.aggs.metrics.overallMaxLabel": "全体最高", - "data.search.aggs.metrics.overallMinLabel": "全体最低", - "data.search.aggs.metrics.overallSumLabel": "全体合計", - "data.search.aggs.metrics.parentPipelineAggregationsSubtypeTitle": "親パイプライン集約", - "data.search.aggs.metrics.percentile_ranks.customLabel.help": "このアグリゲーションのカスタムラベルを表します", - "data.search.aggs.metrics.percentile_ranks.enabled.help": "このアグリゲーションが有効かどうかを指定します", - "data.search.aggs.metrics.percentile_ranks.field.help": "このアグリゲーションで使用するフィールド", - "data.search.aggs.metrics.percentile_ranks.id.help": "このアグリゲーションのID", - "data.search.aggs.metrics.percentile_ranks.json.help": "アグリゲーションがElasticsearchに送信されるときに含める高度なJSON", - "data.search.aggs.metrics.percentile_ranks.schema.help": "このアグリゲーションで使用するスキーマ", - "data.search.aggs.metrics.percentile_ranks.values.help": "パーセンタイル順位の範囲", - "data.search.aggs.metrics.percentileRanks.valuePropsLabel": "「{label}」の {format} のパーセンタイル順位", - "data.search.aggs.metrics.percentileRanksLabel": "{field} のパーセンタイル順位", - "data.search.aggs.metrics.percentileRanksTitle": "パーセンタイル順位", - "data.search.aggs.metrics.percentiles.customLabel.help": "このアグリゲーションのカスタムラベルを表します", - "data.search.aggs.metrics.percentiles.enabled.help": "このアグリゲーションが有効かどうかを指定します", - "data.search.aggs.metrics.percentiles.field.help": "このアグリゲーションで使用するフィールド", - "data.search.aggs.metrics.percentiles.id.help": "このアグリゲーションのID", - "data.search.aggs.metrics.percentiles.json.help": "アグリゲーションがElasticsearchに送信されるときに含める高度なJSON", - "data.search.aggs.metrics.percentiles.percents.help": "パーセンタイル順位の範囲", - "data.search.aggs.metrics.percentiles.schema.help": "このアグリゲーションで使用するスキーマ", - "data.search.aggs.metrics.percentiles.valuePropsLabel": "{label} の {percentile} パーセンタイル", - "data.search.aggs.metrics.percentilesLabel": "{field} のパーセンタイル", - "data.search.aggs.metrics.percentilesTitle": "パーセンタイル", - "data.search.aggs.metrics.serial_diff.buckets_path.help": "関心があるメトリックへのパス", - "data.search.aggs.metrics.serial_diff.customLabel.help": "このアグリゲーションのカスタムラベルを表します", - "data.search.aggs.metrics.serial_diff.customMetric.help": "親パイプラインアグリゲーションを構築するために使用するアグリゲーション構成", - "data.search.aggs.metrics.serial_diff.enabled.help": "このアグリゲーションが有効かどうかを指定します", - "data.search.aggs.metrics.serial_diff.id.help": "このアグリゲーションのID", - "data.search.aggs.metrics.serial_diff.json.help": "アグリゲーションがElasticsearchに送信されるときに含める高度なJSON", - "data.search.aggs.metrics.serial_diff.metricAgg.help": "親パイプラインアグリゲーションを構築するために使用するアグリゲーション構成を検索するためのID", - "data.search.aggs.metrics.serial_diff.schema.help": "このアグリゲーションで使用するスキーマ", - "data.search.aggs.metrics.serialDiffLabel": "差分の推移", - "data.search.aggs.metrics.serialDiffTitle": "差分の推移", - "data.search.aggs.metrics.siblingPipelineAggregationsSubtypeTitle": "シブリングパイプラインアグリゲーション", - "data.search.aggs.metrics.singlePercentile.customLabel.help": "このアグリゲーションのカスタムラベルを表します", - "data.search.aggs.metrics.singlePercentile.enabled.help": "このアグリゲーションが有効かどうかを指定します", - "data.search.aggs.metrics.singlePercentile.field.help": "このアグリゲーションで使用するフィールド", - "data.search.aggs.metrics.singlePercentile.id.help": "このアグリゲーションのID", - "data.search.aggs.metrics.singlePercentile.json.help": "アグリゲーションがElasticsearchに送信されるときに含める高度なJSON", - "data.search.aggs.metrics.singlePercentile.percentile.help": "取得するパーセンタイル", - "data.search.aggs.metrics.singlePercentile.schema.help": "このアグリゲーションで使用するスキーマ", - "data.search.aggs.metrics.singlePercentileLabel": "パーセンタイル{field}", - "data.search.aggs.metrics.singlePercentileTitle": "パーセンタイル", - "data.search.aggs.metrics.standardDeviation.keyDetailsLabel": "{fieldDisplayName} の標準偏差", - "data.search.aggs.metrics.standardDeviation.lowerKeyDetailsTitle": "下の{label}", - "data.search.aggs.metrics.standardDeviation.upperKeyDetailsTitle": "上の{label}", - "data.search.aggs.metrics.standardDeviationLabel": "{field} の標準偏差", - "data.search.aggs.metrics.standardDeviationTitle": "標準偏差", - "data.search.aggs.metrics.std_deviation.customLabel.help": "このアグリゲーションのカスタムラベルを表します", - "data.search.aggs.metrics.std_deviation.enabled.help": "このアグリゲーションが有効かどうかを指定します", - "data.search.aggs.metrics.std_deviation.field.help": "このアグリゲーションで使用するフィールド", - "data.search.aggs.metrics.std_deviation.id.help": "このアグリゲーションのID", - "data.search.aggs.metrics.std_deviation.json.help": "アグリゲーションがElasticsearchに送信されるときに含める高度なJSON", - "data.search.aggs.metrics.std_deviation.schema.help": "このアグリゲーションで使用するスキーマ", - "data.search.aggs.metrics.sum.customLabel.help": "このアグリゲーションのカスタムラベルを表します", - "data.search.aggs.metrics.sum.enabled.help": "このアグリゲーションが有効かどうかを指定します", - "data.search.aggs.metrics.sum.field.help": "このアグリゲーションで使用するフィールド", - "data.search.aggs.metrics.sum.id.help": "このアグリゲーションのID", - "data.search.aggs.metrics.sum.json.help": "アグリゲーションがElasticsearchに送信されるときに含める高度なJSON", - "data.search.aggs.metrics.sum.schema.help": "このアグリゲーションで使用するスキーマ", - "data.search.aggs.metrics.sumBucketTitle": "合計バケット", - "data.search.aggs.metrics.sumLabel": "{field} の合計", - "data.search.aggs.metrics.sumTitle": "合計", - "data.search.aggs.metrics.timeShift.help": "設定した時間の分だけメトリックの時間範囲をシフトします。例:1時間、7日。[前へ]は日付ヒストグラムまたは時間範囲フィルターから最も近い時間範囲を使用します。", - "data.search.aggs.metrics.top_hit.aggregate.help": "アグリゲーションタイプ", - "data.search.aggs.metrics.top_hit.customLabel.help": "このアグリゲーションのカスタムラベルを表します", - "data.search.aggs.metrics.top_hit.enabled.help": "このアグリゲーションが有効かどうかを指定します", - "data.search.aggs.metrics.top_hit.field.help": "このアグリゲーションで使用するフィールド", - "data.search.aggs.metrics.top_hit.id.help": "このアグリゲーションのID", - "data.search.aggs.metrics.top_hit.json.help": "アグリゲーションがElasticsearchに送信されるときに含める高度なJSON", - "data.search.aggs.metrics.top_hit.schema.help": "このアグリゲーションで使用するスキーマ", - "data.search.aggs.metrics.top_hit.size.help": "取得するバケットの最大数", - "data.search.aggs.metrics.top_hit.sortField.help": "結果を並べ替える基準のフィールド", - "data.search.aggs.metrics.top_hit.sortOrder.help": "結果を返す順序:昇順または降順", - "data.search.aggs.metrics.topHit.ascendingLabel": "昇順", - "data.search.aggs.metrics.topHit.averageLabel": "平均", - "data.search.aggs.metrics.topHit.concatenateLabel": "連結", - "data.search.aggs.metrics.topHit.descendingLabel": "降順", - "data.search.aggs.metrics.topHit.firstPrefixLabel": "最初", - "data.search.aggs.metrics.topHit.lastPrefixLabel": "最後", - "data.search.aggs.metrics.topHit.maxLabel": "最高", - "data.search.aggs.metrics.topHit.minLabel": "最低", - "data.search.aggs.metrics.topHit.sumLabel": "合計", - "data.search.aggs.metrics.topHitTitle": "トップヒット", - "data.search.aggs.metrics.uniqueCountLabel": "{field} のユニークカウント", - "data.search.aggs.metrics.uniqueCountTitle": "ユニークカウント", - "data.search.aggs.otherBucket.labelForMissingValuesLabel": "欠測値のラベル", - "data.search.aggs.otherBucket.labelForOtherBucketLabel": "他のバケットのラベル", - "data.search.aggs.paramTypes.field.invalidSavedFieldParameterErrorMessage": "「{aggType}」アグリゲーションで使用するには、インデックスパターン「{indexPatternTitle}」の保存されたフィールド「{fieldParameter}」が無効です。新しいフィールドを選択してください。", - "data.search.aggs.paramTypes.field.notFoundSavedFieldParameterErrorMessage": "このオブジェクトに関連付けられたフィールド\"{fieldParameter}\"は、インデックスパターンに存在しません。別のフィールドを使用してください。", - "data.search.aggs.paramTypes.field.requiredFieldParameterErrorMessage": "{fieldParameter} は必須パラメーターです", - "data.search.aggs.percentageOfLabel": "{label} の割合", - "data.search.aggs.string.customLabel": "カスタムラベル", - "data.search.dataRequest.title": "データ", - "data.search.es_search.dataRequest.description": "このリクエストはElasticsearchにクエリし、ビジュアライゼーション用のデータを取得します。", - "data.search.es_search.hitsDescription": "クエリにより返されたドキュメントの数です。", - "data.search.es_search.hitsLabel": "ヒット数", - "data.search.es_search.hitsTotalDescription": "クエリに一致するドキュメントの数です。", - "data.search.es_search.hitsTotalLabel": "ヒット数 (合計) ", - "data.search.es_search.indexPatternDescription": "Elasticsearchインデックスに接続したインデックスパターンです。", - "data.search.es_search.indexPatternLabel": "インデックスパターン", - "data.search.es_search.queryTimeDescription": "クエリの処理の所要時間です。リクエストの送信やブラウザーでのパースの時間は含まれません。", - "data.search.es_search.queryTimeLabel": "クエリ時間", - "data.search.es_search.queryTimeValue": "{queryTime}ms", - "data.search.esaggs.error.kibanaRequest": "サーバーでこの検索を実行するには、KibanaRequest が必要です。式実行パラメーターに要求オブジェクトを渡してください。", - "data.search.esdsl.help": "Elasticsearch リクエストを実行", - "data.search.esdsl.index.help": "クエリするElasticsearchインデックス", - "data.search.esdsl.q.help": "クエリDSL", - "data.search.esdsl.size.help": "Elasticsearch 検索 API サイズパラメーター", - "data.search.esErrorTitle": "検索結果を取得できません", - "data.search.functions.esaggs.aggConfigs.help": "agg_type 関数で構成されたアグリゲーションのリスト", - "data.search.functions.esaggs.index.help": "indexPatternLoad で取得されたインデックスパターン", - "data.search.functions.esaggs.metricsAtAllLevels.help": "各バケットレベルでメトリックがある列が含まれるかどうか", - "data.search.functions.esaggs.partialRows.help": "一部のデータのみを含む行を返すかどうか", - "data.search.functions.esaggs.timeFields.help": "クエリに対して解決された時間範囲を取得する時刻フィールドを指定します", - "data.search.functions.existsFilter.field.help": "フィルタリングするフィールドを指定します。「field」関数を使用します。", - "data.search.functions.existsFilter.help": "Kibana existsフィルターを作成", - "data.search.functions.existsFilter.negate.help": "フィルターは否定でなければなりません。", - "data.search.functions.field.help": "Kibanaフィールドを作成します。", - "data.search.functions.field.name.help": "フィールドの名前です", - "data.search.functions.field.script.help": "フィールドがスクリプト化されている場合はフィールドスクリプト。", - "data.search.functions.field.type.help": "フィールド型", - "data.search.functions.kibana_context.filters.help": "Kibana ジェネリックフィルターを指定します", - "data.search.functions.kibana_context.help": "Kibana グローバルコンテキストを更新します", - "data.search.functions.kibana_context.q.help": "自由形式の Kibana テキストクエリを指定します", - "data.search.functions.kibana_context.savedSearchId.help": "クエリとフィルターに使用する保存検索ID を指定します。", - "data.search.functions.kibana_context.timeRange.help": "Kibana 時間範囲フィルターを指定します", - "data.search.functions.kibana.help": "Kibana グローバルコンテキストを取得します", - "data.search.functions.kibanaFilter.disabled.help": "フィルターは無効でなければなりません", - "data.search.functions.kibanaFilter.field.help": "フリーフォームesdslクエリを指定", - "data.search.functions.kibanaFilter.help": "Kibanaフィルターを作成", - "data.search.functions.kibanaFilter.negate.help": "フィルターは否定でなければなりません", - "data.search.functions.kql.help": "Kibana kqlクエリ", - "data.search.functions.kql.q.help": "Kibana KQLフリーフォームテキストクエリを指定", - "data.search.functions.lucene.help": "Kibana Luceneクエリを作成", - "data.search.functions.lucene.q.help": "Kibanaフリーフォームテキストクエリを指定", - "data.search.functions.phraseFilter.field.help": "フィルタリングするフィールドを指定します。「field」関数を使用します。", - "data.search.functions.phraseFilter.help": "Kibanaフレーズまたはフレーズフィルターを作成", - "data.search.functions.phraseFilter.negate.help": "フィルターは否定でなければなりません", - "data.search.functions.phraseFilter.phrase.help": "フレーズを指定", - "data.search.functions.range.gt.help": "より大きい", - "data.search.functions.range.gte.help": "以上", - "data.search.functions.range.help": "Kibana範囲フィルターを作成", - "data.search.functions.range.lt.help": "より小さい", - "data.search.functions.range.lte.help": "以下", - "data.search.functions.rangeFilter.field.help": "フィルタリングするフィールドを指定します。「field」関数を使用します。", - "data.search.functions.rangeFilter.help": "Kibana範囲フィルターを作成", - "data.search.functions.rangeFilter.negate.help": "フィルターは否定でなければなりません", - "data.search.functions.rangeFilter.range.help": "範囲を指定し、「range」関数を使用します。", - "data.search.functions.timerange.from.help": "開始日を指定", - "data.search.functions.timerange.help": "Kibana timerangeを作成", - "data.search.functions.timerange.mode.help": "モードを指定 (絶対または相対) ", - "data.search.functions.timerange.to.help": "終了日を指定", - "data.search.httpErrorTitle": "データを取得できません", - "data.search.searchBar.savedQueryDescriptionLabelText": "説明", - "data.search.searchBar.savedQueryDescriptionText": "再度使用するクエリテキストとフィルターを保存します。", - "data.search.searchBar.savedQueryForm.titleConflictText": "タイトルがすでに保存されているクエリに使用されています", - "data.search.searchBar.savedQueryFormCancelButtonText": "キャンセル", - "data.search.searchBar.savedQueryFormSaveButtonText": "保存", - "data.search.searchBar.savedQueryFormTitle": "クエリを保存", - "data.search.searchBar.savedQueryIncludeFiltersLabelText": "フィルターを含める", - "data.search.searchBar.savedQueryIncludeTimeFilterLabelText": "時間フィルターを含める", - "data.search.searchBar.savedQueryNameHelpText": "名前が必要です。タイトルの始めと終わりにはスペースを使用できません。名前は固有でなければなりません。", - "data.search.searchBar.savedQueryNameLabelText": "名前", - "data.search.searchBar.savedQueryNoSavedQueriesText": "保存されたクエリがありません。", - "data.search.searchBar.savedQueryPopoverButtonText": "保存されたクエリを表示", - "data.search.searchBar.savedQueryPopoverClearButtonAriaLabel": "現在保存されているクエリを消去", - "data.search.searchBar.savedQueryPopoverClearButtonText": "クリア", - "data.search.searchBar.savedQueryPopoverConfirmDeletionCancelButtonText": "キャンセル", - "data.search.searchBar.savedQueryPopoverConfirmDeletionConfirmButtonText": "削除", - "data.search.searchBar.savedQueryPopoverConfirmDeletionTitle": "「{savedQueryName}」を削除しますか?", - "data.search.searchBar.savedQueryPopoverDeleteButtonAriaLabel": "保存されたクエリ {savedQueryName} を削除", - "data.search.searchBar.savedQueryPopoverSaveAsNewButtonAriaLabel": "新規保存クエリを保存", - "data.search.searchBar.savedQueryPopoverSaveAsNewButtonText": "新規保存", - "data.search.searchBar.savedQueryPopoverSaveButtonAriaLabel": "新規保存クエリを保存", - "data.search.searchBar.savedQueryPopoverSaveButtonText": "現在のクエリを保存", - "data.search.searchBar.savedQueryPopoverSaveChangesButtonAriaLabel": "{title} への変更を保存", - "data.search.searchBar.savedQueryPopoverSaveChangesButtonText": "変更を保存", - "data.search.searchBar.savedQueryPopoverSavedQueryListItemButtonAriaLabel": "保存クエリボタン {savedQueryName}", - "data.search.searchBar.savedQueryPopoverSavedQueryListItemDescriptionAriaLabel": "{savedQueryName} の説明", - "data.search.searchBar.savedQueryPopoverSavedQueryListItemSelectedButtonAriaLabel": "選択されたクエリボタン {savedQueryName} を保存しました。変更を破棄するには押してください。", - "data.search.searchBar.savedQueryPopoverTitleText": "保存されたクエリ", - "data.search.searchSource.fetch.requestTimedOutNotificationMessage": "リクエストがタイムアウトしたため、データが不完全な可能性があります", - "data.search.searchSource.fetch.shardsFailedModal.close": "閉じる", - "data.search.searchSource.fetch.shardsFailedModal.copyToClipboard": "応答をクリップボードにコピー", - "data.search.searchSource.fetch.shardsFailedModal.failureHeader": "{failureName}で{failureDetails}", - "data.search.searchSource.fetch.shardsFailedModal.showDetails": "詳細を表示", - "data.search.searchSource.fetch.shardsFailedModal.tabHeaderRequest": "リクエスト", - "data.search.searchSource.fetch.shardsFailedModal.tabHeaderResponse": "応答", - "data.search.searchSource.fetch.shardsFailedModal.tabHeaderShardFailures": "シャードエラー", - "data.search.searchSource.fetch.shardsFailedModal.tableColIndex": "インデックス", - "data.search.searchSource.fetch.shardsFailedModal.tableColNode": "ノード", - "data.search.searchSource.fetch.shardsFailedModal.tableColReason": "理由", - "data.search.searchSource.fetch.shardsFailedModal.tableColShard": "シャード", - "data.search.searchSource.fetch.shardsFailedModal.tableRowCollapse": "{rowDescription}を折りたたむ", - "data.search.searchSource.fetch.shardsFailedModal.tableRowExpand": "{rowDescription}を展開する", - "data.search.searchSource.fetch.shardsFailedNotificationDescription": "表示されているデータは不完全か誤りの可能性があります。", - "data.search.searchSource.fetch.shardsFailedNotificationMessage": "{shardsTotal} 件中 {shardsFailed} 件のシャードでエラーが発生しました", - "data.search.searchSource.hitsDescription": "クエリにより返されたドキュメントの数です。", - "data.search.searchSource.hitsLabel": "ヒット数", - "data.search.searchSource.hitsTotalDescription": "クエリに一致するドキュメントの数です。", - "data.search.searchSource.hitsTotalLabel": "ヒット数 (合計) ", - "data.search.searchSource.indexPatternDescription": "Elasticsearchインデックスに接続したインデックスパターンです。", - "data.search.searchSource.indexPatternIdDescription": "{kibanaIndexPattern} インデックス内の ID です。", - "data.search.searchSource.indexPatternIdLabel": "インデックスパターン ID", - "data.search.searchSource.indexPatternLabel": "インデックスパターン", - "data.search.searchSource.queryTimeDescription": "クエリの処理の所要時間です。リクエストの送信やブラウザーでのパースの時間は含まれません。", - "data.search.searchSource.queryTimeLabel": "クエリ時間", - "data.search.searchSource.queryTimeValue": "{queryTime}ms", - "data.search.searchSource.requestTimeDescription": "ブラウザから Elasticsearch にリクエストが送信され返されるまでの所要時間です。リクエストがキューで待機していた時間は含まれません。", - "data.search.searchSource.requestTimeLabel": "リクエスト時間", - "data.search.searchSource.requestTimeValue": "{requestTime}ms", - "data.search.timeBuckets.infinityLabel": "1年を超える", - "data.search.timeBuckets.monthLabel": "1か月", - "data.search.timeBuckets.yearLabel": "1年", - "data.search.timeoutContactAdmin": "クエリがタイムアウトしました。実行時間を延長するには、システム管理者に問い合わせてください。", - "data.search.timeoutIncreaseSetting": "クエリがタイムアウトしました。検索タイムアウト詳細設定で実行時間を延長します。", - "data.search.timeoutIncreaseSettingActionText": "設定を編集", - "data.search.unableToGetSavedQueryToastTitle": "保存したクエリ {savedQueryId} を読み込めません", - "data.searchSession.warning.readDocs": "続きを読む", - "data.searchSessionIndicator.noCapability": "検索セッションを作成するアクセス権がありません。", - "data.searchSessions.sessionService.sessionEditNameError": "検索セッションの名前を編集できませんでした", - "data.searchSessions.sessionService.sessionObjectFetchError": "検索セッション情報を取得できませんでした", - "data.triggers.applyFilterDescription": "Kibanaフィルターが適用されるとき。単一の値または範囲フィルターにすることができます。", - "data.triggers.applyFilterTitle": "フィルターを適用", - "esQuery.kql.errors.endOfInputText": "インプットの終わり", - "esQuery.kql.errors.fieldNameText": "フィールド名", - "esQuery.kql.errors.literalText": "文字通り", - "esQuery.kql.errors.syntaxError": "{expectedList} を期待しましたが {foundInput} が検出されました。", - "esQuery.kql.errors.valueText": "値", - "esQuery.kql.errors.whitespaceText": "空白類", - "devTools.badge.readOnly.text": "読み取り専用", - "devTools.badge.readOnly.tooltip": "を保存できませんでした", - "devTools.devToolsTitle": "開発ツール", - "devTools.k7BreadcrumbsDevToolsLabel": "開発ツール", - "devTools.pageTitle": "開発ツール", - "discover.advancedSettings.context.defaultSizeText": "コンテキストビューに表示される周りのエントリーの数", - "discover.advancedSettings.context.defaultSizeTitle": "コンテキストサイズ", - "discover.advancedSettings.context.sizeStepText": "コンテキストサイズを増減させる際の最低単位です", - "discover.advancedSettings.context.sizeStepTitle": "コンテキストサイズのステップ", - "discover.advancedSettings.context.tieBreakerFieldsText": "同じタイムスタンプ値のドキュメントを区別するためのコンマ区切りのフィールドのリストです。このリストから、現在のインデックスパターンに含まれ並べ替え可能な初めのフィールドが使用されます。", - "discover.advancedSettings.context.tieBreakerFieldsTitle": "タイブレーカーフィールド", - "discover.advancedSettings.defaultColumnsText": "デフォルトで Discover タブに表示される列です", - "discover.advancedSettings.defaultColumnsTitle": "デフォルトの列", - "discover.advancedSettings.discover.modifyColumnsOnSwitchText": "新しいインデックスパターンで使用できない列を削除します。", - "discover.advancedSettings.discover.modifyColumnsOnSwitchTitle": "インデックスパターンを変更するときに列を修正", - "discover.advancedSettings.discover.multiFieldsLinkText": "マルチフィールド", - "discover.advancedSettings.discover.readFieldsFromSource": "_sourceからフィールドを読み取る", - "discover.advancedSettings.discover.readFieldsFromSourceDescription": "有効にすると、「_source」から直接ドキュメントを読み込みます。これはまもなく廃止される予定です。無効にすると、上位レベルの検索サービスで新しいフィールドAPI経由でフィールドを取得します。", - "discover.advancedSettings.discover.showMultifields": "マルチフィールドを表示", - "discover.advancedSettings.discover.showMultifieldsDescription": "拡張ドキュメントビューに{multiFields}が表示されるかどうかを制御します。ほとんどの場合、マルチフィールドは元のフィールドと同じです。「searchFieldsFromSource」がオフのときにのみこのオプションを使用できます。", - "discover.advancedSettings.docTableHideTimeColumnText": "Discover と、ダッシュボードのすべての保存された検索で、「時刻」列を非表示にします。", - "discover.advancedSettings.docTableHideTimeColumnTitle": "「時刻」列を非表示", - "discover.advancedSettings.docTableVersionDescription": "Discover は、データの並べ替え、列のドラッグアンドドロップ、全画面表示を含む新しいテーブルレイアウトを使用します。このオプションをオンにすると、クラシックテーブルを使用します。オフにすると、新しいテーブルを使用します。", - "discover.advancedSettings.docTableVersionName": "クラシックテーブルを使用", - "discover.advancedSettings.fieldsPopularLimitText": "最も頻繁に使用されるフィールドのトップNを表示します", - "discover.advancedSettings.fieldsPopularLimitTitle": "頻繁に使用されるフィールドの制限", - "discover.advancedSettings.maxDocFieldsDisplayedText": "ドキュメント列でレンダリングされたフィールドの最大数", - "discover.advancedSettings.maxDocFieldsDisplayedTitle": "表示される最大ドキュメントフィールド数", - "discover.advancedSettings.sampleSizeText": "表に表示する行数です", - "discover.advancedSettings.sampleSizeTitle": "行数", - "discover.advancedSettings.searchOnPageLoadText": "Discover の最初の読み込み時に検索を実行するかを制御します。この設定は、保存された検索の読み込み時には影響しません。", - "discover.advancedSettings.searchOnPageLoadTitle": "ページの読み込み時の検索", - "discover.advancedSettings.sortDefaultOrderText": "Discover アプリのインデックスパターンに基づく時刻のデフォルトの並べ替え方向をコントロールします。", - "discover.advancedSettings.sortDefaultOrderTitle": "デフォルトの並べ替え方向", - "discover.advancedSettings.sortOrderAsc": "昇順", - "discover.advancedSettings.sortOrderDesc": "降順", - "discover.backToTopLinkText": "最上部へ戻る。", - "discover.badge.readOnly.text": "読み取り専用", - "discover.badge.readOnly.tooltip": "検索を保存できません", - "discover.bucketIntervalTooltip": "この間隔は選択された時間範囲に表示される{bucketsDescription}が作成されるため、{bucketIntervalDescription}にスケーリングされています。", - "discover.bucketIntervalTooltip.tooLargeBucketsText": "大きすぎるバケット", - "discover.bucketIntervalTooltip.tooManyBucketsText": "バケットが多すぎます", - "discover.clearSelection": "選択した項目をクリア", - "discover.context.breadcrumb": "周りのドキュメント", - "discover.context.contextOfTitle": "#{anchorId}の周りのドキュメント", - "discover.context.failedToLoadAnchorDocumentDescription": "アンカードキュメントの読み込みに失敗しました", - "discover.context.failedToLoadAnchorDocumentErrorDescription": "アンカードキュメントの読み込みに失敗しました。", - "discover.context.invalidTieBreakerFiledSetting": "無効なタイブレーカーフィールド設定", - "discover.context.loadButtonLabel": "読み込み", - "discover.context.loadingDescription": "読み込み中...", - "discover.context.newerDocumentsAriaLabel": "新しいドキュメントの数", - "discover.context.newerDocumentsDescription": "新しいドキュメント", - "discover.context.newerDocumentsWarning": "アンカーよりも新しいドキュメントは{docCount}件しか見つかりませんでした。", - "discover.context.newerDocumentsWarningZero": "アンカーよりも新しいドキュメントは見つかりませんでした。", - "discover.context.olderDocumentsAriaLabel": "古いドキュメントの数", - "discover.context.olderDocumentsDescription": "古いドキュメント", - "discover.context.olderDocumentsWarning": "アンカーよりも古いドキュメントは{docCount}件しか見つかりませんでした。", - "discover.context.olderDocumentsWarningZero": "アンカーよりも古いドキュメントは見つかりませんでした。", - "discover.context.reloadPageDescription.reloadOrVisitTextMessage": "ドキュメントリストを再読み込みするか、ドキュメントリストに戻り、有効なアンカードキュメントを選択してください。", - "discover.context.unableToLoadAnchorDocumentDescription": "アンカードキュメントを読み込めません", - "discover.context.unableToLoadDocumentDescription": "ドキュメントを読み込めません", - "discover.controlColumnHeader": "列の制御", - "discover.copyToClipboardJSON": "ドキュメントをクリップボードにコピー (JSON) ", - "discover.discoverBreadcrumbTitle": "Discover", - "discover.discoverDefaultSearchSessionName": "Discover", - "discover.discoverDescription": "ドキュメントにクエリをかけたりフィルターを適用することで、データをインタラクティブに閲覧できます。", - "discover.discoverSubtitle": "インサイトを検索して見つけます。", - "discover.discoverTitle": "Discover", - "discover.doc.couldNotFindDocumentsDescription": "そのIDに一致するドキュメントがありません。", - "discover.doc.failedToExecuteQueryDescription": "検索の実行に失敗しました", - "discover.doc.failedToLocateDocumentDescription": "ドキュメントが見つかりませんでした", - "discover.doc.failedToLocateIndexPattern": "ID {indexPatternId}に一致するインデックスパターンがありません。", - "discover.doc.loadingDescription": "読み込み中…", - "discover.doc.somethingWentWrongDescription": "{indexName}が見つかりません。", - "discover.doc.somethingWentWrongDescriptionAddon": "インデックスが存在することを確認してください。", - "discover.docTable.limitedSearchResultLabel": "{resultCount}件の結果のみが表示されます。検索結果を絞り込みます。", - "discover.docTable.noResultsTitle": "結果が見つかりませんでした", - "discover.docTable.tableHeader.documentHeader": "ドキュメント", - "discover.docTable.tableHeader.moveColumnLeftButtonAriaLabel": "{columnName}列を左に移動", - "discover.docTable.tableHeader.moveColumnLeftButtonTooltip": "列を左に移動", - "discover.docTable.tableHeader.moveColumnRightButtonAriaLabel": "{columnName}列を右に移動", - "discover.docTable.tableHeader.moveColumnRightButtonTooltip": "列を右に移動", - "discover.docTable.tableHeader.removeColumnButtonAriaLabel": "{columnName}列を削除", - "discover.docTable.tableHeader.removeColumnButtonTooltip": "列の削除", - "discover.docTable.tableHeader.sortByColumnAscendingAriaLabel": "{columnName}を昇順に並べ替える", - "discover.docTable.tableHeader.sortByColumnDescendingAriaLabel": "{columnName}を降順に並べ替える", - "discover.docTable.tableHeader.sortByColumnUnsortedAriaLabel": "{columnName}で並べ替えを止める", - "discover.docTable.tableRow.detailHeading": "拡張ドキュメント", - "discover.docTable.tableRow.filterForValueButtonAriaLabel": "値でフィルター", - "discover.docTable.tableRow.filterForValueButtonTooltip": "値でフィルター", - "discover.docTable.tableRow.filterOutValueButtonAriaLabel": "値を除外", - "discover.docTable.tableRow.filterOutValueButtonTooltip": "値を除外", - "discover.docTable.tableRow.toggleRowDetailsButtonAriaLabel": "行の詳細を切り替える", - "discover.docTable.tableRow.viewSingleDocumentLinkText": "単一のドキュメントを表示", - "discover.docTable.tableRow.viewSurroundingDocumentsLinkText": "周りのドキュメントを表示", - "discover.documentsAriaLabel": "ドキュメント", - "discover.docViews.json.jsonTitle": "JSON", - "discover.docViews.table.filterForFieldPresentButtonAriaLabel": "フィールド表示のフィルター", - "discover.docViews.table.filterForFieldPresentButtonTooltip": "フィールド表示のフィルター", - "discover.docViews.table.filterForValueButtonAriaLabel": "値でフィルター", - "discover.docViews.table.filterForValueButtonTooltip": "値でフィルター", - "discover.docViews.table.filterOutValueButtonAriaLabel": "値を除外", - "discover.docViews.table.filterOutValueButtonTooltip": "値を除外", - "discover.docViews.table.tableTitle": "表", - "discover.docViews.table.toggleColumnInTableButtonAriaLabel": "表の列を切り替える", - "discover.docViews.table.toggleColumnInTableButtonTooltip": "表の列を切り替える", - "discover.docViews.table.toggleFieldDetails": "フィールド詳細を切り替える", - "discover.docViews.table.unableToFilterForPresenceOfMetaFieldsTooltip": "メタフィールドの有無でフィルタリングできません", - "discover.docViews.table.unableToFilterForPresenceOfScriptedFieldsTooltip": "スクリプトフィールドの有無でフィルタリングできません", - "discover.docViews.table.unindexedFieldsCanNotBeSearchedTooltip": "インデックスされていないフィールドは検索できません", - "discover.embeddable.inspectorRequestDataTitle": "データ", - "discover.embeddable.inspectorRequestDescription": "このリクエストはElasticsearchにクエリをかけ、検索データを取得します。", - "discover.embeddable.search.displayName": "検索", - "discover.field.mappingConflict": "このフィールドは、このパターンと一致するインデックス全体に対して複数の型 (文字列、整数など) として定義されています。この競合フィールドを使用することはできますが、Kibana で型を認識する必要がある関数では使用できません。この問題を修正するにはデータのレンダリングが必要です。", - "discover.field.mappingConflict.title": "マッピングの矛盾", - "discover.field.title": "{fieldName} ({fieldDisplayName})", - "discover.fieldChooser.detailViews.emptyStringText": "空の文字列", - "discover.fieldChooser.detailViews.existsInRecordsText": "{value} / {totalValue}件のレコードに存在", - "discover.fieldChooser.detailViews.filterOutValueButtonAriaLabel": "{field}を除外:\"{value}\"", - "discover.fieldChooser.detailViews.filterValueButtonAriaLabel": "{field}を除外:\"{value}\"", - "discover.fieldChooser.detailViews.valueOfRecordsText": "{value} / {totalValue}件のレコード", - "discover.fieldChooser.discoverField.addButtonAriaLabel": "{field}を表に追加", - "discover.fieldChooser.discoverField.addFieldTooltip": "フィールドを列として追加", - "discover.fieldChooser.discoverField.deleteFieldLabel": "インデックスパターンフィールドを削除", - "discover.fieldChooser.discoverField.editFieldLabel": "インデックスパターンフィールドを編集", - "discover.fieldChooser.discoverField.fieldTopValuesLabel": "トップ5の値", - "discover.fieldChooser.discoverField.multiFields": "マルチフィールド", - "discover.fieldChooser.discoverField.removeButtonAriaLabel": "{field}を表から削除", - "discover.fieldChooser.discoverField.removeFieldTooltip": "フィールドを表から削除", - "discover.fieldChooser.fieldCalculator.analysisIsNotAvailableForGeoFieldsErrorMessage": "ジオフィールドは分析できません。", - "discover.fieldChooser.fieldCalculator.analysisIsNotAvailableForObjectFieldsErrorMessage": "オブジェクトフィールドは分析できません。", - "discover.fieldChooser.fieldCalculator.fieldIsNotPresentInDocumentsErrorMessage": "このフィールドはElasticsearchマッピングに表示されますが、ドキュメントテーブルの{hitsLength}件のドキュメントには含まれません。可視化や検索は可能な場合があります。", - "discover.fieldChooser.fieldFilterButtonLabel": "タイプでフィルタリング", - "discover.fieldChooser.fieldsMobileButtonLabel": "フィールド", - "discover.fieldChooser.filter.aggregatableLabel": "集約可能", - "discover.fieldChooser.filter.availableFieldsTitle": "利用可能なフィールド", - "discover.fieldChooser.filter.fieldSelectorLabel": "{id}フィルターオプションの選択", - "discover.fieldChooser.filter.filterByTypeLabel": "タイプでフィルタリング", - "discover.fieldChooser.filter.hideMissingFieldsLabel": "未入力のフィールドを非表示", - "discover.fieldChooser.filter.indexAndFieldsSectionAriaLabel": "インデックスとフィールド", - "discover.fieldChooser.filter.popularTitle": "人気", - "discover.fieldChooser.filter.searchableLabel": "検索可能", - "discover.fieldChooser.filter.selectedFieldsTitle": "スクリプトフィールド", - "discover.fieldChooser.filter.toggleButton.any": "すべて", - "discover.fieldChooser.filter.toggleButton.no": "いいえ", - "discover.fieldChooser.filter.toggleButton.yes": "はい", - "discover.fieldChooser.filter.typeLabel": "型", - "discover.fieldChooser.indexPattern.changeIndexPatternTitle": "インデックスパターンを変更", - "discover.fieldChooser.indexPatterns.actionsPopoverLabel": "インデックスパターン設定", - "discover.fieldChooser.indexPatterns.addFieldButton": "フィールドをインデックスパターンに追加", - "discover.fieldChooser.indexPatterns.manageFieldButton": "インデックスパターンを管理", - "discover.fieldChooser.searchPlaceHolder": "検索フィールド名", - "discover.fieldChooser.toggleFieldFilterButtonHideAriaLabel": "フィールド設定を非表示", - "discover.fieldChooser.toggleFieldFilterButtonShowAriaLabel": "フィールド設定を表示", - "discover.fieldChooser.visualizeButton.label": "可視化", - "discover.fieldList.flyoutBackIcon": "戻る", - "discover.fieldList.flyoutHeading": "フィールドリスト", - "discover.fieldNameIcons.booleanAriaLabel": "ブールフィールド", - "discover.fieldNameIcons.conflictFieldAriaLabel": "矛盾フィールド", - "discover.fieldNameIcons.dateFieldAriaLabel": "日付フィールド", - "discover.fieldNameIcons.geoPointFieldAriaLabel": "地理ポイントフィールド", - "discover.fieldNameIcons.geoShapeFieldAriaLabel": "地理情報シェイプフィールド", - "discover.fieldNameIcons.ipAddressFieldAriaLabel": "IPアドレスフィールド", - "discover.fieldNameIcons.murmur3FieldAriaLabel": "Murmur3フィールド", - "discover.fieldNameIcons.nestedFieldAriaLabel": "入れ子フィールド", - "discover.fieldNameIcons.numberFieldAriaLabel": "数値フィールド", - "discover.fieldNameIcons.sourceFieldAriaLabel": "ソースフィールド", - "discover.fieldNameIcons.stringFieldAriaLabel": "文字列フィールド", - "discover.fieldNameIcons.unknownFieldAriaLabel": "不明なフィールド", - "discover.grid.documentHeader": "ドキュメント", - "discover.grid.filterFor": "フィルター", - "discover.grid.filterForAria": "この{value}でフィルターを適用", - "discover.grid.filterOut": "除外", - "discover.grid.filterOutAria": "この{value}を除外", - "discover.grid.flyout.documentNavigation": "ドキュメントナビゲーション", - "discover.grid.flyout.toastColumnAdded": "列'{columnName}'が追加されました", - "discover.grid.flyout.toastColumnRemoved": "列'{columnName}'が削除されました", - "discover.grid.flyout.toastFilterAdded": "フィルターが追加されました", - "discover.grid.tableRow.detailHeading": "拡張ドキュメント", - "discover.grid.tableRow.viewSingleDocumentLinkTextSimple": "1つのドキュメント", - "discover.grid.tableRow.viewSurroundingDocumentsLinkTextSimple": "周りのドキュメント", - "discover.grid.tableRow.viewText": "表示:", - "discover.grid.viewDoc": "詳細ダイアログを切り替え", - "discover.helpMenu.appName": "Discover", - "discover.hideChart": "グラフを非表示", - "discover.histogramOfFoundDocumentsAriaLabel": "検出されたドキュメントのヒストグラム", - "discover.howToChangeTheTimeTooltip": "時刻を変更するには、グローバル時刻フィルターを使用します。", - "discover.howToSeeOtherMatchingDocumentsDescription": "これらは検索条件に一致した初めの {sampleSize} 件のドキュメントです。他の結果を表示するには検索条件を絞ってください。", - "discover.howToSeeOtherMatchingDocumentsDescriptionGrid": "これらは検索条件に一致した初めの {sampleSize} 件のドキュメントです。他の結果を表示するには検索条件を絞ってください。", - "discover.inspectorRequestDescriptionDocument": "このリクエストはElasticsearchにクエリをかけ、検索データを取得します。", - "discover.json.codeEditorAriaLabel": "Elasticsearch ドキュメントの JSON ビューのみを読み込む", - "discover.json.copyToClipboardLabel": "クリップボードにコピー", - "discover.loadingJSON": "JSONを読み込んでいます", - "discover.loadingResults": "結果を読み込み中", - "discover.localMenu.fallbackReportTitle": "Discover検索[{date}]", - "discover.localMenu.inspectTitle": "検査", - "discover.localMenu.localMenu.newSearchTitle": "新規", - "discover.localMenu.localMenu.optionsTitle": "オプション", - "discover.localMenu.newSearchDescription": "新規検索", - "discover.localMenu.openInspectorForSearchDescription": "検索用にインスペクターを開きます", - "discover.localMenu.openSavedSearchDescription": "保存された検索を開きます", - "discover.localMenu.openTitle": "開く", - "discover.localMenu.optionsDescription": "オプション", - "discover.localMenu.saveSaveSearchDescription": "ビジュアライゼーションとダッシュボードで使用できるように Discover の検索を保存します", - "discover.localMenu.saveSearchDescription": "検索を保存します", - "discover.localMenu.saveTitle": "保存", - "discover.localMenu.shareSearchDescription": "検索を共有します", - "discover.localMenu.shareTitle": "共有", - "discover.noResults.expandYourTimeRangeTitle": "時間範囲を拡大", - "discover.noResults.queryMayNotMatchTitle": "1つ以上の表示されているインデックスに日付フィールドが含まれています。クエリが現在の時間範囲のデータと一致しないか、現在選択された時間範囲にデータがまったく存在しない可能性があります。データが存在する時間範囲に変えることができます。", - "discover.noResults.searchExamples.noResultsBecauseOfError": "検索結果の取得中にエラーが発生しました", - "discover.noResults.searchExamples.noResultsMatchSearchCriteriaTitle": "検索条件と一致する結果がありません。", - "discover.noResultsFound": "結果が見つかりませんでした", - "discover.notifications.invalidTimeRangeText": "指定された時間範囲が無効です。 (開始:'{from}'、終了:'{to}') ", - "discover.notifications.invalidTimeRangeTitle": "無効な時間範囲", - "discover.notifications.notSavedSearchTitle": "検索「{savedSearchTitle}」は保存されませんでした。", - "discover.notifications.savedSearchTitle": "検索「{savedSearchTitle}」が保存されました。", - "discover.openOptionsPopover.dataGridText": "新しいテーブル", - "discover.openOptionsPopover.goToAdvancedSettings": "使ってみる", - "discover.openOptionsPopover.gotToAllSettings": "すべてのDiscoverオプション", - "discover.openOptionsPopover.legacyTableText": "クラシックテーブル", - "discover.reloadSavedSearchButton": "検索をリセット", - "discover.removeColumnLabel": "列を削除", - "discover.rootBreadcrumb": "Discover", - "discover.savedSearch.savedObjectName": "保存検索", - "discover.searchGenerationWithDescription": "検索{searchTitle}で生成されたテーブル", - "discover.searchGenerationWithDescriptionGrid": "検索{searchTitle}で生成されたテーブル ({searchDescription}) ", - "discover.searchingTitle": "検索中", - "discover.selectColumnHeader": "列を選択", - "discover.selectedDocumentsNumber": "{nr}個のドキュメントが選択されました", - "discover.showAllDocuments": "すべてのドキュメントを表示", - "discover.showChart": "グラフを表示", - "discover.showErrorMessageAgain": "エラーメッセージを表示", - "discover.showingDefaultIndexPatternWarningDescription": "デフォルトのインデックスパターン「{loadedIndexPatternTitle}」 ({loadedIndexPatternId}) を表示中", - "discover.showingSavedIndexPatternWarningDescription": "保存されたインデックスパターン「{ownIndexPatternTitle}」 ({ownIndexPatternId}) を表示中", - "discover.showSelectedDocumentsOnly": "選択したドキュメントのみを表示", - "discover.skipToBottomButtonLabel": "テーブルの最後に移動", - "discover.sourceViewer.errorMessage": "現在データを取得できませんでした。タブを更新して、再試行してください。", - "discover.sourceViewer.errorMessageTitle": "エラーが発生しました", - "discover.sourceViewer.refresh": "更新", - "discover.timechartHeader.timeIntervalSelect.ariaLabel": "時間間隔", - "discover.timechartHeader.timeIntervalSelect.per": "ごと", - "discover.timeLabel": "時間", - "discover.toggleSidebarAriaLabel": "サイドバーを切り替える", - "discover.topNav.openOptionsPopover.description": "お知らせDiscoverでは、データの並べ替え、列のドラッグアンドドロップ、ドキュメントの比較を行う方法が改善されました。詳細設定で[クラシックテーブルを使用]を切り替えて、開始します。", - "discover.topNav.openSearchPanel.manageSearchesButtonLabel": "検索の管理", - "discover.topNav.openSearchPanel.noSearchesFoundDescription": "一致する検索が見つかりませんでした。", - "discover.topNav.openSearchPanel.openSearchTitle": "検索を開く", - "discover.topNav.optionsPopover.currentViewMode": "{viewModeLabel}: {currentViewMode}", - "discover.topNav.optionsPopover.currentViewModeLabel": "現在のビューモード", - "discover.uninitializedRefreshButtonText": "データを更新", - "discover.uninitializedText": "クエリを作成、フィルターを追加、または[更新]をクリックして、現在のクエリの結果を取得します。", - "discover.uninitializedTitle": "検索開始", - "discover.valueIsNotConfiguredIndexPatternIDWarningTitle": "{stateVal}は設定されたインデックスパターンIDではありません", - "embeddableApi.addPanel.createNewDefaultOption": "新規作成", - "embeddableApi.addPanel.displayName": "パネルの追加", - "embeddableApi.addPanel.noMatchingObjectsMessage": "一致するオブジェクトが見つかりませんでした。", - "embeddableApi.addPanel.savedObjectAddedToContainerSuccessMessageTitle": "{savedObjectName} が追加されました", - "embeddableApi.addPanel.Title": "ライブラリから追加", - "embeddableApi.attributeService.saveToLibraryError": "保存中にエラーが発生しました。エラー:{errorMessage}", - "embeddableApi.contextMenuTrigger.description": "パネルの右上のコンテキストメニューをクリックします。", - "embeddableApi.contextMenuTrigger.title": "コンテキストメニュー", - "embeddableApi.customizePanel.action.displayName": "パネルタイトルを編集", - "embeddableApi.customizePanel.modal.cancel": "キャンセル", - "embeddableApi.customizePanel.modal.optionsMenuForm.panelTitleFormRowLabel": "パネルタイトル", - "embeddableApi.customizePanel.modal.optionsMenuForm.panelTitleInputAriaLabel": "パネルのカスタムタイトルを入力してください", - "embeddableApi.customizePanel.modal.optionsMenuForm.resetCustomDashboardButtonLabel": "リセット", - "embeddableApi.customizePanel.modal.saveButtonTitle": "保存", - "embeddableApi.customizePanel.modal.showTitle": "パネルタイトルを表示", - "embeddableApi.customizeTitle.optionsMenuForm.panelTitleFormRowLabel": "パネルタイトル", - "embeddableApi.customizeTitle.optionsMenuForm.panelTitleInputAriaLabel": "このインプットへの変更は直ちに適用されます。Enter を押して閉じます。", - "embeddableApi.customizeTitle.optionsMenuForm.resetCustomDashboardButtonLabel": "タイトルをリセット", - "embeddableApi.errors.embeddableFactoryNotFound": "{type} を読み込めません。Elasticsearch と Kibana のデフォルトのディストリビューションを適切なライセンスでアップグレードしてください。", - "embeddableApi.errors.paneldoesNotExist": "パネルが見つかりません", - "embeddableApi.helloworld.displayName": "こんにちは", - "embeddableApi.panel.dashboardPanelAriaLabel": "ダッシュボードパネル", - "embeddableApi.panel.editPanel.displayName": "{value} を編集", - "embeddableApi.panel.editTitleAriaLabel": "クリックしてタイトルを編集:{title}", - "embeddableApi.panel.enhancedDashboardPanelAriaLabel": "ダッシュボードパネル:{title}", - "embeddableApi.panel.inspectPanel.displayName": "検査", - "embeddableApi.panel.inspectPanel.untitledEmbeddableFilename": "無題", - "embeddableApi.panel.labelAborted": "中断しました", - "embeddableApi.panel.labelError": "エラー", - "embeddableApi.panel.optionsMenu.panelOptionsButtonAriaLabel": "パネルオプション", - "embeddableApi.panel.optionsMenu.panelOptionsButtonEnhancedAriaLabel": "{title} のパネルオプション", - "embeddableApi.panel.placeholderTitle": "[タイトルなし]", - "embeddableApi.panel.removePanel.displayName": "ダッシュボードから削除", - "embeddableApi.panelBadgeTrigger.description": "パネルに埋め込み可能なファイルが読み込まれるときに、アクションがタイトルバーに表示されます。", - "embeddableApi.panelBadgeTrigger.title": "パネルバッジ", - "embeddableApi.panelNotificationTrigger.description": "パネルの右上にアクションが表示されます。", - "embeddableApi.panelNotificationTrigger.title": "パネル通知", - "embeddableApi.samples.contactCard.displayName": "連絡先カード", - "embeddableApi.samples.filterableContainer.displayName": "フィルター可能なダッシュボード", - "embeddableApi.samples.filterableEmbeddable.displayName": "フィルター可能", - "embeddableApi.selectRangeTrigger.description": "ビジュアライゼーションでの値の範囲", - "embeddableApi.selectRangeTrigger.title": "範囲選択", - "embeddableApi.valueClickTrigger.description": "ビジュアライゼーションでデータポイントをクリック", - "embeddableApi.valueClickTrigger.title": "シングルクリック", - "esUi.cronEditor.cronDaily.fieldHour.textAtLabel": "に", - "esUi.cronEditor.cronDaily.fieldTimeLabel": "時間", - "esUi.cronEditor.cronDaily.hourSelectLabel": "時間", - "esUi.cronEditor.cronDaily.minuteSelectLabel": "分", - "esUi.cronEditor.cronHourly.fieldMinute.textAtLabel": "に", - "esUi.cronEditor.cronHourly.fieldTimeLabel": "分", - "esUi.cronEditor.cronMonthly.fieldDateLabel": "日付", - "esUi.cronEditor.cronMonthly.fieldHour.textAtLabel": "に", - "esUi.cronEditor.cronMonthly.fieldTimeLabel": "時間", - "esUi.cronEditor.cronMonthly.hourSelectLabel": "時間", - "esUi.cronEditor.cronMonthly.minuteSelectLabel": "分", - "esUi.cronEditor.cronMonthly.textOnTheLabel": "に", - "esUi.cronEditor.cronWeekly.fieldDateLabel": "日", - "esUi.cronEditor.cronWeekly.fieldHour.textAtLabel": "に", - "esUi.cronEditor.cronWeekly.fieldTimeLabel": "時間", - "esUi.cronEditor.cronWeekly.hourSelectLabel": "時間", - "esUi.cronEditor.cronWeekly.minuteSelectLabel": "分", - "esUi.cronEditor.cronWeekly.textOnLabel": "オン", - "esUi.cronEditor.cronYearly.fieldDate.textOnTheLabel": "に", - "esUi.cronEditor.cronYearly.fieldDateLabel": "日付", - "esUi.cronEditor.cronYearly.fieldHour.textAtLabel": "に", - "esUi.cronEditor.cronYearly.fieldMonth.textInLabel": "入", - "esUi.cronEditor.cronYearly.fieldMonthLabel": "月", - "esUi.cronEditor.cronYearly.fieldTimeLabel": "時間", - "esUi.cronEditor.cronYearly.hourSelectLabel": "時間", - "esUi.cronEditor.cronYearly.minuteSelectLabel": "分", - "esUi.cronEditor.day.friday": "金曜日", - "esUi.cronEditor.day.monday": "月曜日", - "esUi.cronEditor.day.saturday": "土曜日", - "esUi.cronEditor.day.sunday": "日曜日", - "esUi.cronEditor.day.thursday": "木曜日", - "esUi.cronEditor.day.tuesday": "火曜日", - "esUi.cronEditor.day.wednesday": "水曜日", - "esUi.cronEditor.fieldFrequencyLabel": "頻度", - "esUi.cronEditor.month.april": "4 月", - "esUi.cronEditor.month.august": "8 月", - "esUi.cronEditor.month.december": "12 月", - "esUi.cronEditor.month.february": "2 月", - "esUi.cronEditor.month.january": "1 月", - "esUi.cronEditor.month.july": "7 月", - "esUi.cronEditor.month.june": "6 月", - "esUi.cronEditor.month.march": "3 月", - "esUi.cronEditor.month.may": "5月", - "esUi.cronEditor.month.november": "11 月", - "esUi.cronEditor.month.october": "10 月", - "esUi.cronEditor.month.september": "9 月", - "esUi.cronEditor.textEveryLabel": "毎", - "esUi.forms.comboBoxField.placeHolderText": "入力してエンターキーを押してください", - "esUi.forms.fieldValidation.indexNameSpacesError": "インデックス名にはスペースを使用できません。", - "esUi.forms.fieldValidation.indexNameStartsWithDotError": "インデックス名の始めにピリオド (.) は使用できません。", - "esUi.forms.fieldValidation.indexPatternSpacesError": "インデックスパターンにはスペースを使用できません。", - "esUi.formWizard.backButtonLabel": "戻る", - "esUi.formWizard.nextButtonLabel": "次へ", - "esUi.formWizard.saveButtonLabel": "保存", - "esUi.formWizard.savingButtonLabel": "保存中...", - "esUi.validation.string.invalidJSONError": "無効なJSON", - "expressions.defaultErrorRenderer.errorTitle": "ビジュアライゼーションエラー", - "expressions.execution.functionDisabled": "関数 {fnName} が無効です。", - "expressions.execution.functionNotFound": "関数 {fnName} が見つかりませんでした。", - "expressions.functions.cumulativeSum.args.byHelpText": "累積和計算を分割する列", - "expressions.functions.cumulativeSum.args.inputColumnIdHelpText": "累積和を計算する列", - "expressions.functions.cumulativeSum.args.outputColumnIdHelpText": "結果の累積和を格納する列", - "expressions.functions.cumulativeSum.args.outputColumnNameHelpText": "結果の累積和を格納する列の名前", - "expressions.functions.cumulativeSum.help": "データテーブルの列の累積和を計算します", - "expressions.functions.derivative.args.byHelpText": "微分係数計算を分割する列", - "expressions.functions.derivative.args.inputColumnIdHelpText": "微分係数を計算する列", - "expressions.functions.derivative.args.outputColumnIdHelpText": "結果の微分係数を格納する列", - "expressions.functions.derivative.args.outputColumnNameHelpText": "結果の微分係数を格納する列の名前", - "expressions.functions.derivative.help": "データテーブルの列の微分係数を計算します", - "expressions.functions.font.args.alignHelpText": "水平テキスト配置", - "expressions.functions.font.args.colorHelpText": "文字の色です。", - "expressions.functions.font.args.familyHelpText": "利用可能な{css}ウェブフォント文字列です", - "expressions.functions.font.args.italicHelpText": "テキストを斜体にしますか?", - "expressions.functions.font.args.lHeightHelpText": "ピクセル単位の行の高さです。", - "expressions.functions.font.args.sizeHelpText": "ピクセル単位のフォントサイズです。", - "expressions.functions.font.args.underlineHelpText": "テキストに下線を引きますか?", - "expressions.functions.font.args.weightHelpText": "フォントの重量です。たとえば、{list}、または {end}です。", - "expressions.functions.font.invalidFontWeightErrorMessage": "無効なフォント太さ:'{weight}'", - "expressions.functions.font.invalidTextAlignmentErrorMessage": "無効なテキストアラインメント:'{align}'", - "expressions.functions.fontHelpText": "フォントスタイルを作成します。", - "expressions.functions.mapColumn.args.copyMetaFromHelpText": "設定されている場合、指定した列IDのメタオブジェクトが指定したターゲット列にコピーされます。列が存在しない場合は失敗し、エラーは表示されません。", - "expressions.functions.mapColumn.args.expressionHelpText": "すべての行で実行される式。単一行の{DATATABLE}と一緒に指定され、セル値を返します。", - "expressions.functions.mapColumn.args.idHelpText": "結果列の任意のID。IDが指定されていないときには、指定された名前引数で既存の列からルックアップされます。この名前の列が存在しない場合、この名前と同じIDの新しい列がテーブルに追加されます。", - "expressions.functions.mapColumn.args.nameHelpText": "結果の列の名前です。名前は一意である必要はありません。", - "expressions.functions.mapColumnHelpText": "他の列の結果として計算された列を追加します。引数が指定された場合のみ変更が加えられます。{alterColumnFn}と{staticColumnFn}もご参照ください。", - "expressions.functions.math.args.expressionHelpText": "評価された {TINYMATH} 表現です。{TINYMATH_URL} をご覧ください。", - "expressions.functions.math.args.onErrorHelpText": "{TINYMATH}評価が失敗するか、NaNが返される場合、戻り値はonErrorで指定されます。「'throw'」の場合、例外が発生し、式の実行が終了します (デフォルト) 。", - "expressions.functions.math.emptyDatatableErrorMessage": "空のデータベース", - "expressions.functions.math.emptyExpressionErrorMessage": "空の表現", - "expressions.functions.math.executionFailedErrorMessage": "数式の実行に失敗しました。列名を確認してください", - "expressions.functions.math.tooManyResultsErrorMessage": "式は 1 つの数字を返す必要があります。表現を {mean} または {sum} で囲んでみてください", - "expressions.functions.mathColumn.args.copyMetaFromHelpText": "設定されている場合、指定した列IDのメタオブジェクトが指定したターゲット列にコピーされます。列が存在しない場合は失敗し、エラーは表示されません。", - "expressions.functions.mathColumn.args.idHelpText": "結果の列のIDです。一意でなければなりません。", - "expressions.functions.mathColumn.args.nameHelpText": "結果の列の名前です。名前は一意である必要はありません。", - "expressions.functions.mathColumn.arrayValueError": "{name}で配列値に対する演算を実行できません", - "expressions.functions.mathColumn.uniqueIdError": "IDは一意でなければなりません", - "expressions.functions.mathColumnHelpText": "他の列の結果として計算された列を追加します。引数が指定された場合のみ変更が加えられます。{alterColumnFn}と{staticColumnFn}もご参照ください。", - "expressions.functions.mathHelpText": "{TYPE_NUMBER}または{DATATABLE}を{CONTEXT}として使用して、{TINYMATH}数式を解釈します。{DATATABLE}列は列名で表示されます。{CONTEXT}が数字の場合は、{value}と表示されます。", - "expressions.functions.movingAverage.args.byHelpText": "移動平均計算を分割する列", - "expressions.functions.movingAverage.args.inputColumnIdHelpText": "移動平均を計算する列", - "expressions.functions.movingAverage.args.outputColumnIdHelpText": "結果の移動平均を格納する列", - "expressions.functions.movingAverage.args.outputColumnNameHelpText": "結果の移動平均を格納する列の名前", - "expressions.functions.movingAverage.args.windowHelpText": "ヒストグラム全体でスライドするウィンドウのサイズ。", - "expressions.functions.movingAverage.help": "データテーブルの列の移動平均を計算します", - "expressions.functions.overallMetric.args.byHelpText": "全体の計算を分割する列", - "expressions.functions.overallMetric.args.inputColumnIdHelpText": "全体のメトリックを計算する列", - "expressions.functions.overallMetric.args.outputColumnIdHelpText": "結果の全体のメトリックを格納する列", - "expressions.functions.overallMetric.args.outputColumnNameHelpText": "結果の全体のメトリックを格納する列の名前", - "expressions.functions.overallMetric.help": "データテーブルの列の合計値、最小値、最大値、」または平均を計算します", - "expressions.functions.overallMetric.metricHelpText": "計算するメトリック", - "expressions.functions.seriesCalculations.columnConflictMessage": "指定した outputColumnId {columnId} はすでに存在します。別の列 ID を選択してください。", - "expressions.functions.theme.args.defaultHelpText": "テーマ情報がない場合のデフォルト値。", - "expressions.functions.theme.args.variableHelpText": "読み取るテーマ変数名。", - "expressions.functions.themeHelpText": "テーマ設定を読み取ります。", - "expressions.functions.uiSetting.args.default": "パラメーターが設定されていない場合のデフォルト値。", - "expressions.functions.uiSetting.args.parameter": "パラメーター名。", - "expressions.functions.uiSetting.error.kibanaRequest": "サーバーでUI設定を取得するには、KibanaRequest が必要です。式実行パラメーターに要求オブジェクトを渡してください。", - "expressions.functions.uiSetting.error.parameter": "無効なパラメーター\"{parameter}\"です。", - "expressions.functions.uiSetting.help": "UI設定パラメーター値を返します。", - "expressions.functions.var.help": "Kibanaグローバルコンテキストを更新します。", - "expressions.functions.var.name.help": "変数の名前を指定します。", - "expressions.functions.varset.help": "Kibanaグローバルコンテキストを更新します。", - "expressions.functions.varset.name.help": "変数の名前を指定します。", - "expressions.functions.varset.val.help": "変数の値を指定します。指定しないと、入力コンテキストが使用されます。", - "expressions.types.number.fromStringConversionErrorMessage": "\"{string}\" 文字列を数字に変換できません", - "fieldFormats.advancedSettings.format.bytesFormat.numeralFormatLinkText": "数字フォーマット", - "fieldFormats.advancedSettings.format.bytesFormatText": "「バイト」フォーマットのデフォルト{numeralFormatLink}です", - "fieldFormats.advancedSettings.format.bytesFormatTitle": "バイトフォーマット", - "fieldFormats.advancedSettings.format.currencyFormat.numeralFormatLinkText": "数字フォーマット", - "fieldFormats.advancedSettings.format.currencyFormatText": "「通貨」フォーマットのデフォルト{numeralFormatLink}です", - "fieldFormats.advancedSettings.format.currencyFormatTitle": "通貨フォーマット", - "fieldFormats.advancedSettings.format.defaultTypeMapText": "各フィールドタイプにデフォルトで使用するフォーマット名のマップです。フィールドタイプが特に指定されていない場合は {defaultFormat} が使用されます", - "fieldFormats.advancedSettings.format.defaultTypeMapTitle": "フィールドタイプフォーマット名", - "fieldFormats.advancedSettings.format.formattingLocale.numeralLanguageLinkText": "数字言語", - "fieldFormats.advancedSettings.format.formattingLocaleText": "{numeralLanguageLink} ロケール", - "fieldFormats.advancedSettings.format.formattingLocaleTitle": "フォーマットロケール", - "fieldFormats.advancedSettings.format.numberFormat.numeralFormatLinkText": "数字フォーマット", - "fieldFormats.advancedSettings.format.numberFormatText": "「数字」フォーマットのデフォルト{numeralFormatLink}です", - "fieldFormats.advancedSettings.format.numberFormatTitle": "数字フォーマット", - "fieldFormats.advancedSettings.format.percentFormat.numeralFormatLinkText": "数字フォーマット", - "fieldFormats.advancedSettings.format.percentFormatText": "「パーセント」フォーマットのデフォルト{numeralFormatLink}です", - "fieldFormats.advancedSettings.format.percentFormatTitle": "パーセントフォーマット", - "fieldFormats.advancedSettings.shortenFieldsText": "長いフィールドを短くします。例:foo.bar.bazの代わりにf.b.bazと表示", - "fieldFormats.advancedSettings.shortenFieldsTitle": "フィールドの短縮", - "fieldFormats.boolean.title": "ブール", - "fieldFormats.bytes.title": "バイト", - "fieldFormats.color.title": "色", - "fieldFormats.date_nanos.title": "日付ナノ", - "fieldFormats.date.title": "日付", - "fieldFormats.duration.inputFormats.days": "日", - "fieldFormats.duration.inputFormats.hours": "時間", - "fieldFormats.duration.inputFormats.microseconds": "マイクロ秒", - "fieldFormats.duration.inputFormats.milliseconds": "ミリ秒", - "fieldFormats.duration.inputFormats.minutes": "分", - "fieldFormats.duration.inputFormats.months": "か月", - "fieldFormats.duration.inputFormats.nanoseconds": "ナノ秒", - "fieldFormats.duration.inputFormats.picoseconds": "ピコ秒", - "fieldFormats.duration.inputFormats.seconds": "秒", - "fieldFormats.duration.inputFormats.weeks": "週間", - "fieldFormats.duration.inputFormats.years": "年", - "fieldFormats.duration.negativeLabel": "マイナス", - "fieldFormats.duration.outputFormats.asDays": "日", - "fieldFormats.duration.outputFormats.asDays.short": "d", - "fieldFormats.duration.outputFormats.asHours": "時間", - "fieldFormats.duration.outputFormats.asHours.short": "h", - "fieldFormats.duration.outputFormats.asMilliseconds": "ミリ秒", - "fieldFormats.duration.outputFormats.asMilliseconds.short": "ms", - "fieldFormats.duration.outputFormats.asMinutes": "分", - "fieldFormats.duration.outputFormats.asMinutes.short": "分", - "fieldFormats.duration.outputFormats.asMonths": "か月", - "fieldFormats.duration.outputFormats.asMonths.short": "mon", - "fieldFormats.duration.outputFormats.asSeconds": "秒", - "fieldFormats.duration.outputFormats.asSeconds.short": "s", - "fieldFormats.duration.outputFormats.asWeeks": "週間", - "fieldFormats.duration.outputFormats.asWeeks.short": "w", - "fieldFormats.duration.outputFormats.asYears": "年", - "fieldFormats.duration.outputFormats.asYears.short": "y", - "fieldFormats.duration.outputFormats.humanize.approximate": "人間が読み取り可能 (近似値) ", - "fieldFormats.duration.outputFormats.humanize.precise": "人間が読み取り可能 (正確な値) ", - "fieldFormats.duration.title": "期間", - "fieldFormats.histogram.title": "ヒストグラム", - "fieldFormats.ip.title": "IP アドレス", - "fieldFormats.number.title": "数字", - "fieldFormats.percent.title": "割合 (%) ", - "fieldFormats.relative_date.title": "相対日付", - "fieldFormats.static_lookup.title": "静的ルックアップ", - "fieldFormats.string.emptyLabel": " (空) ", - "fieldFormats.string.title": "文字列", - "fieldFormats.string.transformOptions.base64": "Base64 デコード", - "fieldFormats.string.transformOptions.lower": "小文字", - "fieldFormats.string.transformOptions.none": "- なし -", - "fieldFormats.string.transformOptions.short": "短い点線", - "fieldFormats.string.transformOptions.title": "タイトルケース", - "fieldFormats.string.transformOptions.upper": "大文字", - "fieldFormats.string.transformOptions.url": "URL パラメーターデコード", - "fieldFormats.truncated_string.title": "切り詰めた文字列", - "fieldFormats.url.title": "Url", - "fieldFormats.url.types.audio": "音声", - "fieldFormats.url.types.img": "画像", - "fieldFormats.url.types.link": "リンク", - "flot.pie.unableToDrawLabelsInsideCanvasErrorMessage": "キャンバス内のラベルではパイを作成できません", - "flot.time.aprLabel": "4 月", - "flot.time.augLabel": "8 月", - "flot.time.decLabel": "12 月", - "flot.time.febLabel": "2 月", - "flot.time.friLabel": "金", - "flot.time.janLabel": "1月", - "flot.time.julLabel": "7月", - "flot.time.junLabel": "6 月", - "flot.time.marLabel": "3 月", - "flot.time.mayLabel": "5月", - "flot.time.monLabel": "月", - "flot.time.novLabel": "11月", - "flot.time.octLabel": "10 月", - "flot.time.satLabel": "土", - "flot.time.sepLabel": "9月", - "flot.time.sunLabel": "日", - "flot.time.thuLabel": "木", - "flot.time.tueLabel": "火", - "flot.time.wedLabel": "水", - "home.addData.sampleDataButtonLabel": "サンプルデータを試す", - "home.addData.sectionTitle": "データを取り込む", - "home.breadcrumbs.addDataTitle": "データの追加", - "home.breadcrumbs.homeTitle": "ホーム", - "home.dataManagementDisableCollection": " 収集を停止するには、", - "home.dataManagementDisableCollectionLink": "ここで使用状況データを無効にします。", - "home.dataManagementDisclaimerPrivacy": "使用状況データがどのように製品とサービスの管理と改善につながるのかに関する詳細については ", - "home.dataManagementDisclaimerPrivacyLink": "プライバシーポリシーをご覧ください。", - "home.dataManagementEnableCollection": " 収集を開始するには、", - "home.dataManagementEnableCollectionLink": "ここで使用状況データを有効にします。", - "home.exploreButtonLabel": "独りで閲覧", - "home.exploreYourDataDescription": "すべてのステップを終えたら、データ閲覧準備の完了です。", - "home.header.title": "ホーム", - "home.letsStartDescription": "任意のソースからクラスターにデータを追加して、リアルタイムでデータを分析して可視化します。当社のソリューションを使用すれば、どこからでも検索を追加し、エコシステムを監視して、セキュリティの脅威から保護することができます。", - "home.letsStartTitle": "データを追加して開始する", - "home.loadTutorials.requestFailedErrorMessage": "リクエスト失敗、ステータスコード:{status}", - "home.loadTutorials.unableToLoadErrorMessage": "チュートリアルが読み込めません。", - "home.manageData.sectionTitle": "データを管理", - "home.pageTitle": "ホーム", - "home.recentlyAccessed.recentlyViewedTitle": "最近閲覧", - "home.sampleData.ecommerceSpec.ordersTitle": "[e コマース] 注文", - "home.sampleData.ecommerceSpec.promotionTrackingTitle": "[e コマース] プロモーショントラッキング", - "home.sampleData.ecommerceSpec.revenueDashboardDescription": "サンプルの e コマースの注文と収益を分析します", - "home.sampleData.ecommerceSpec.revenueDashboardTitle": "[e コマース] 収益ダッシュボード", - "home.sampleData.ecommerceSpec.soldProductsPerDayTitle": "[e コマース] 1 日の販売製品", - "home.sampleData.ecommerceSpecDescription": "e コマースの注文をトラッキングするサンプルデータ、ビジュアライゼーション、ダッシュボードです。", - "home.sampleData.ecommerceSpecTitle": "サンプル e コマース注文", - "home.sampleData.flightsSpec.airportConnectionsTitle": "[フライト] 空港乗り継ぎ (空港にカーソルを合わせてください) ", - "home.sampleData.flightsSpec.delayBucketsTitle": "[フライト] 遅延バケット", - "home.sampleData.flightsSpec.delaysAndCancellationsTitle": "[フライト] 遅延・欠航", - "home.sampleData.flightsSpec.departuresCountMapTitle": "[フライト] 出発カウントマップ", - "home.sampleData.flightsSpec.destinationWeatherTitle": "[フライト] 目的地の天候", - "home.sampleData.flightsSpec.flightLogTitle": "[フライト] 飛行記録", - "home.sampleData.flightsSpec.globalFlightDashboardDescription": "ES-Air、Logstash Airways、Kibana Airlines、JetBeats のサンプル飛行データを分析します", - "home.sampleData.flightsSpec.globalFlightDashboardTitle": "[フライト] グローバルフライトダッシュボード", - "home.sampleData.flightsSpecDescription": "飛行ルートを監視するサンプルデータ、ビジュアライゼーション、ダッシュボードです。", - "home.sampleData.flightsSpecTitle": "サンプル飛行データ", - "home.sampleData.logsSpec.goalsTitle": "[ログ] 目標", - "home.sampleData.logsSpec.hostVisitsBytesTableTitle": "[ログ] ホスト、訪問数、バイト表", - "home.sampleData.logsSpec.responseCodesOverTimeTitle": "[ログ] 一定期間の応答コードと注釈", - "home.sampleData.logsSpec.sourceAndDestinationSankeyChartTitle": "[ログ] ソースと行先のサンキーダイアグラム", - "home.sampleData.logsSpec.visitorsMapTitle": "[ログ] ビジターマップ", - "home.sampleData.logsSpec.webTrafficDescription": "Elastic Web サイトのサンプル Webトラフィックログデータを分析します", - "home.sampleData.logsSpec.webTrafficTitle": "[ログ] Web トラフィック", - "home.sampleData.logsSpecDescription": "Web ログを監視するサンプルデータ、ビジュアライゼーション、ダッシュボードです。", - "home.sampleData.logsSpecTitle": "サンプル Web ログ", - "home.sampleDataSet.installedLabel": "{name} がインストールされました", - "home.sampleDataSet.unableToInstallErrorMessage": "サンプルデータセット「{name}」をインストールできません", - "home.sampleDataSet.unableToLoadListErrorMessage": "サンプルデータセットのリストを読み込めません", - "home.sampleDataSet.unableToUninstallErrorMessage": "サンプルデータセット「{name}」をアンインストールできません", - "home.sampleDataSet.uninstalledLabel": "{name} がアンインストールされました", - "home.sampleDataSetCard.addButtonAriaLabel": "{datasetName} を追加", - "home.sampleDataSetCard.addButtonLabel": "データの追加", - "home.sampleDataSetCard.addingButtonAriaLabel": "{datasetName} を追加中", - "home.sampleDataSetCard.addingButtonLabel": "追加中", - "home.sampleDataSetCard.dashboardLinkLabel": "ダッシュボード", - "home.sampleDataSetCard.default.addButtonAriaLabel": "{datasetName} を追加", - "home.sampleDataSetCard.default.addButtonLabel": "データの追加", - "home.sampleDataSetCard.default.unableToVerifyErrorMessage": "データセットステータスを確認できません、エラー:{statusMsg}", - "home.sampleDataSetCard.removeButtonAriaLabel": "{datasetName} を削除", - "home.sampleDataSetCard.removeButtonLabel": "削除", - "home.sampleDataSetCard.removingButtonAriaLabel": "{datasetName} を削除中", - "home.sampleDataSetCard.removingButtonLabel": "削除中", - "home.sampleDataSetCard.viewDataButtonAriaLabel": "{datasetName} を表示", - "home.sampleDataSetCard.viewDataButtonLabel": "データを表示", - "home.solutionsSection.sectionTitle": "ソリューションを選択", - "home.tryButtonLabel": "データの追加", - "home.tutorial.addDataToKibanaTitle": "データの追加", - "home.tutorial.card.sampleDataDescription": "これらの「ワンクリック」データセットで Kibana の探索を始めましょう。", - "home.tutorial.card.sampleDataTitle": "サンプルデータ", - "home.tutorial.elasticCloudButtonLabel": "Elastic Cloud", - "home.tutorial.instruction_variant.fleet": "FleetのElastic APM (ベータ版) ", - "home.tutorial.instruction.copyButtonLabel": "スニペットをコピー", - "home.tutorial.instructionSet.checkStatusButtonLabel": "ステータスを確認", - "home.tutorial.instructionSet.customizeLabel": "コードスニペットのカスタマイズ", - "home.tutorial.instructionSet.noDataLabel": "データが見つかりません", - "home.tutorial.instructionSet.statusCheckTitle": "ステータス確認", - "home.tutorial.instructionSet.successLabel": "成功", - "home.tutorial.instructionSet.toggleAriaLabel": "コマンドパラメーターの可視性を調整します", - "home.tutorial.introduction.betaLabel": "ベータ", - "home.tutorial.introduction.imageAltDescription": "プライマリダッシュボードのスクリーンショット。", - "home.tutorial.introduction.viewButtonLabel": "エクスポートされたフィールドを表示", - "home.tutorial.noTutorialLabel": "チュートリアル {tutorialId} が見つかりません", - "home.tutorial.savedObject.addedLabel": "{savedObjectsLength} 件の保存されたオブジェクトが追加されました", - "home.tutorial.savedObject.confirmButtonLabel": "上書きを確定", - "home.tutorial.savedObject.defaultButtonLabel": "Kibana オブジェクトを読み込む", - "home.tutorial.savedObject.installLabel": "インデックスパターン、ビジュアライゼーション、事前定義済みのダッシュボードをインポートします。", - "home.tutorial.savedObject.installStatusLabel": "{savedObjectsLength} オブジェクトの {overwriteErrorsLength} がすでに存在します。インポートして既存のオブジェクトを上書きするには、「上書きを確定」をクリックしてください。オブジェクトへの変更はすべて失われます。", - "home.tutorial.savedObject.loadTitle": "Kibana オブジェクトを読み込む", - "home.tutorial.savedObject.requestFailedErrorMessage": "リクエスト失敗、エラー:{message}", - "home.tutorial.savedObject.unableToAddErrorMessage": "{savedObjectsLength} 件中 {errorsLength} 件の kibana オブジェクトが追加できません。エラー:{errorMessage}", - "home.tutorial.selectionLegend": "デプロイタイプ", - "home.tutorial.selfManagedButtonLabel": "自己管理", - "home.tutorial.tabs.allTitle": "すべて", - "home.tutorial.tabs.loggingTitle": "ログ", - "home.tutorial.tabs.metricsTitle": "メトリック", - "home.tutorial.tabs.sampleDataTitle": "サンプルデータ", - "home.tutorial.tabs.securitySolutionTitle": "セキュリティ", - "home.tutorial.unexpectedStatusCheckStateErrorDescription": "予期せぬステータス確認ステータス {statusCheckState}", - "home.tutorial.unhandledInstructionTypeErrorDescription": "予期せぬ指示タイプ {visibleInstructions}", - "home.tutorialDirectory.featureCatalogueDescription": "一般的なアプリやサービスからデータを取り込みます。", - "home.tutorialDirectory.featureCatalogueTitle": "データの追加", - "home.tutorials.activemqLogs.artifacts.dashboards.linkLabel": "ActiveMQ 監査イベント", - "home.tutorials.activemqLogs.longDescription": "Filebeat で ActiveMQ ログを収集します。[詳細] ({learnMoreLink}) ", - "home.tutorials.activemqLogs.nameTitle": "ActiveMQ ログ", - "home.tutorials.activemqLogs.shortDescription": "Filebeat で ActiveMQ ログを収集します。", - "home.tutorials.activemqMetrics.artifacts.application.label": "Discover", - "home.tutorials.activemqMetrics.longDescription": "Metricbeat モジュール「activemq」は、ActiveMQ インスタンスから監視メトリックを取得します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.activemqMetrics.nameTitle": "ActiveMQ メトリック", - "home.tutorials.activemqMetrics.shortDescription": "ActiveMQ インスタンスから監視メトリックを取得します。", - "home.tutorials.aerospikeMetrics.artifacts.application.label": "Discover", - "home.tutorials.aerospikeMetrics.longDescription": "Metricbeat モジュール「aerospike」は、Aerospike から内部メトリックを取得します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.aerospikeMetrics.nameTitle": "Aerospike メトリック", - "home.tutorials.aerospikeMetrics.shortDescription": "Aerospike サーバーから内部メトリックを取得します。", - "home.tutorials.apacheLogs.artifacts.dashboards.linkLabel": "Apache ログダッシュボード", - "home.tutorials.apacheLogs.longDescription": "apache Filebeat モジュールが、Apache 2 HTTP サーバーにより作成されたアクセスとエラーのログをパースします。[詳細] ({learnMoreLink}) 。", - "home.tutorials.apacheLogs.nameTitle": "Apache ログ", - "home.tutorials.apacheLogs.shortDescription": "Apache HTTP サーバーが作成したアクセスとエラーのログを収集しパースします。", - "home.tutorials.apacheMetrics.artifacts.dashboards.linkLabel": "Apache メトリックダッシュボード", - "home.tutorials.apacheMetrics.longDescription": "Metricbeat モジュール「apache」は、Apache 2 HTTP サーバーから内部メトリックを取得します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.apacheMetrics.nameTitle": "Apache メトリック", - "home.tutorials.apacheMetrics.shortDescription": "Apache 2 HTTP サーバーから内部メトリックを取得します。", - "home.tutorials.auditbeat.artifacts.dashboards.linkLabel": "セキュリティアプリ", - "home.tutorials.auditbeat.longDescription": "Auditbeat を使用してホストから監査データを収集します。これらにはプロセス、ユーザー、ログイン、ソケット情報、ファイルアクセス、その他が含まれます。[詳細] ({learnMoreLink}) 。", - "home.tutorials.auditbeat.nameTitle": "Auditbeat", - "home.tutorials.auditbeat.shortDescription": "ホストから監査データを収集します。", - "home.tutorials.auditdLogs.artifacts.dashboards.linkLabel": "監査イベント", - "home.tutorials.auditdLogs.longDescription": "モジュールは監査デーモン (「auditd」) からログを収集して解析します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.auditdLogs.nameTitle": "Auditd ログ", - "home.tutorials.auditdLogs.shortDescription": "Linux auditd デーモンからログを収集します。", - "home.tutorials.awsLogs.artifacts.dashboards.linkLabel": "AWS S3 サーバーアクセスログダッシュボード", - "home.tutorials.awsLogs.longDescription": "SQS 通知設定されている S3 バケットに AWS ログをエクスポートすることで、AWS ログを収集します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.awsLogs.nameTitle": "AWS S3 ベースのログ", - "home.tutorials.awsLogs.shortDescription": "Filebeat で S3 バケットから AWS ログを収集します。", - "home.tutorials.awsMetrics.artifacts.dashboards.linkLabel": "AWS メトリックダッシュボード", - "home.tutorials.awsMetrics.longDescription": "Metricbeat モジュール「aws」は、AWS API と Cloudwatch から監視メトリックを取得します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.awsMetrics.nameTitle": "AWS メトリック", - "home.tutorials.awsMetrics.shortDescription": "AWS API と Cloudwatch からの EC2 インスタンスの監視メトリックです。", - "home.tutorials.azureLogs.artifacts.dashboards.linkLabel": "Apacheログダッシュボード", - "home.tutorials.azureLogs.longDescription": "「azure」Filebeatモジュールは、Azureアクティビティと監査関連ログを収集します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.azureLogs.nameTitle": "Azureログ", - "home.tutorials.azureLogs.shortDescription": "Azureアクティビティと監査関連ログを収集します。", - "home.tutorials.azureMetrics.artifacts.dashboards.linkLabel": "Apacheメトリックダッシュボード", - "home.tutorials.azureMetrics.longDescription": "Metricbeat モジュール「azure」は、Azure から監視メトリックを取得します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.azureMetrics.nameTitle": "Azure メトリック", - "home.tutorials.azureMetrics.shortDescription": "Azure 監視メトリックをフェッチします。", - "home.tutorials.barracudaLogs.artifacts.dashboards.linkLabel": "セキュリティアプリ", - "home.tutorials.barracudaLogs.longDescription": "これは、Syslog またはファイルで Barracuda Web Application Firewall ログを受信するためのモジュールです。[詳細] ({learnMoreLink}) 。", - "home.tutorials.barracudaLogs.nameTitle": "Barracuda ログ", - "home.tutorials.barracudaLogs.shortDescription": "Barracuda Web Application Firewall ログを syslog またはファイルから収集します。", - "home.tutorials.bluecoatLogs.artifacts.dashboards.linkLabel": "セキュリティアプリ", - "home.tutorials.bluecoatLogs.longDescription": "これは、Syslog またはファイルで Blue Coat Director ログを受信するためのモジュールです。[詳細] ({learnMoreLink}) 。", - "home.tutorials.bluecoatLogs.nameTitle": "Blue Coat ログ", - "home.tutorials.bluecoatLogs.shortDescription": "Blue Coat Director ログを syslog またはファイルから収集します。", - "home.tutorials.cefLogs.artifacts.dashboards.linkLabel": "CEF ネットワーク概要ダッシュボード", - "home.tutorials.cefLogs.longDescription": "これは Syslog で Common Event Format (CEF) データを受信するためのモジュールです。Syslog プロトコルでメッセージが受信されると、Syslog 入力がヘッダーを解析し、タイムスタンプ値を設定します。次に、プロセッサーが適用され、CEF エンコードデータを解析します。デコードされたデータは「cef」オブジェクトフィールドに書き込まれます。CEF データを入力できるすべての Elastic Common Schema (ECS) フィールドが入力されます。[詳細] ({learnMoreLink}) 。", - "home.tutorials.cefLogs.nameTitle": "CEF ログ", - "home.tutorials.cefLogs.shortDescription": "Syslog で Common Event Format (CEF) ログデータを収集します。", - "home.tutorials.cephMetrics.artifacts.application.label": "Discover", - "home.tutorials.cephMetrics.longDescription": "Metricbeat モジュール「ceph」は、Ceph から内部メトリックを取得します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.cephMetrics.nameTitle": "Ceph メトリック", - "home.tutorials.cephMetrics.shortDescription": "Ceph サーバーから内部メトリックを取得します。", - "home.tutorials.checkpointLogs.artifacts.dashboards.linkLabel": "セキュリティアプリ", - "home.tutorials.checkpointLogs.longDescription": "これは Check Point ファイアウォールログ用のモジュールです。Syslog 形式の Log Exporter からのログをサポートします。[詳細] ({learnMoreLink}) 。", - "home.tutorials.checkpointLogs.nameTitle": "Check Point ログ", - "home.tutorials.checkpointLogs.shortDescription": "Check Point ファイアウォールログを収集します。", - "home.tutorials.ciscoLogs.artifacts.dashboards.linkLabel": "ASA ファイアウォールダッシュボード", - "home.tutorials.ciscoLogs.longDescription": "これは Cisco ネットワークデバイスのログ用のモジュールです (ASA、FTD、IOS、Nexus) 。Syslog のログまたはファイルから読み取られたログを受信するための次のファイルセットが含まれます。[詳細] ({learnMoreLink}) 。", - "home.tutorials.ciscoLogs.nameTitle": "Cisco ログ", - "home.tutorials.ciscoLogs.shortDescription": "Syslog またはファイルから Cisco ネットワークデバイスログを収集します。", - "home.tutorials.cloudwatchLogs.longDescription": "Functionbeat を AWS Lambda 関数として実行するようデプロイし、Cloudwatch ログを収集します。[詳細 ({learnMoreLink}) 。", - "home.tutorials.cloudwatchLogs.nameTitle": "AWS Cloudwatch ログ", - "home.tutorials.cloudwatchLogs.shortDescription": "Functionbeat で Cloudwatch ログを収集します。", - "home.tutorials.cockroachdbMetrics.artifacts.dashboards.linkLabel": "CockroachDB メトリックダッシュボード", - "home.tutorials.cockroachdbMetrics.longDescription": "Metricbeat モジュール「cockroachdb」は、CockroachDB から監視メトリックを取得します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.cockroachdbMetrics.nameTitle": "CockroachDB メトリック", - "home.tutorials.cockroachdbMetrics.shortDescription": "CockroachDB サーバーから監視メトリックを取得します。", - "home.tutorials.common.auditbeat.cloudInstructions.gettingStarted.title": "はじめに", - "home.tutorials.common.auditbeat.premCloudInstructions.gettingStarted.title": "はじめに", - "home.tutorials.common.auditbeat.premInstructions.gettingStarted.title": "はじめに", - "home.tutorials.common.auditbeatCloudInstructions.config.debTextPre": "{path} を変更して Elastic Cloud への接続情報を設定します:", - "home.tutorials.common.auditbeatCloudInstructions.config.debTitle": "構成を編集する", - "home.tutorials.common.auditbeatCloudInstructions.config.osxTextPre": "{path} を変更して Elastic Cloud への接続情報を設定します:", - "home.tutorials.common.auditbeatCloudInstructions.config.osxTitle": "構成を編集する", - "home.tutorials.common.auditbeatCloudInstructions.config.rpmTextPre": "{path} を変更して Elastic Cloud への接続情報を設定します:", - "home.tutorials.common.auditbeatCloudInstructions.config.rpmTitle": "構成を編集する", - "home.tutorials.common.auditbeatCloudInstructions.config.windowsTextPre": "{path} を変更して Elastic Cloud への接続情報を設定します:", - "home.tutorials.common.auditbeatCloudInstructions.config.windowsTitle": "構成を編集する", - "home.tutorials.common.auditbeatInstructions.config.debTextPost": "{passwordTemplate} が「Elastic」ユーザーのパスワード、{esUrlTemplate} が Elasticsearch の URL、{kibanaUrlTemplate} が Kibana の URL です。", - "home.tutorials.common.auditbeatInstructions.config.debTextPre": "{path} を変更して Elastic Cloud への接続情報を設定します:", - "home.tutorials.common.auditbeatInstructions.config.debTitle": "構成を編集する", - "home.tutorials.common.auditbeatInstructions.config.osxTextPost": "{passwordTemplate} が「Elastic」ユーザーのパスワード、{esUrlTemplate} が Elasticsearch の URL、{kibanaUrlTemplate} が Kibana の URL です。", - "home.tutorials.common.auditbeatInstructions.config.osxTextPre": "{path} を変更して Elastic Cloud への接続情報を設定します:", - "home.tutorials.common.auditbeatInstructions.config.osxTitle": "構成を編集する", - "home.tutorials.common.auditbeatInstructions.config.rpmTextPost": "{passwordTemplate} が「Elastic」ユーザーのパスワード、{esUrlTemplate} が Elasticsearch の URL、{kibanaUrlTemplate} が Kibana の URL です。", - "home.tutorials.common.auditbeatInstructions.config.rpmTextPre": "{path} を変更して Elastic Cloud への接続情報を設定します:", - "home.tutorials.common.auditbeatInstructions.config.rpmTitle": "構成を編集する", - "home.tutorials.common.auditbeatInstructions.config.windowsTextPost": "{passwordTemplate} が「Elastic」ユーザーのパスワード、{esUrlTemplate} が Elasticsearch の URL、{kibanaUrlTemplate} が Kibana の URL です。", - "home.tutorials.common.auditbeatInstructions.config.windowsTextPre": "{path} を変更して Elastic Cloud への接続情報を設定します:", - "home.tutorials.common.auditbeatInstructions.config.windowsTitle": "構成を編集する", - "home.tutorials.common.auditbeatInstructions.install.debTextPost": "32 ビットパッケージをお探しですか?[ダウンロードページ] ({linkUrl}) をご覧ください。", - "home.tutorials.common.auditbeatInstructions.install.debTextPre": "Auditbeatは初めてですか?[クイックスタート] ({linkUrl}) を参照してください。", - "home.tutorials.common.auditbeatInstructions.install.debTitle": "Auditbeat のダウンロードとインストール", - "home.tutorials.common.auditbeatInstructions.install.osxTextPre": "Auditbeatは初めてですか?[クイックスタート] ({linkUrl}) を参照してください。", - "home.tutorials.common.auditbeatInstructions.install.osxTitle": "Auditbeat のダウンロードとインストール", - "home.tutorials.common.auditbeatInstructions.install.rpmTextPost": "32 ビットパッケージをお探しですか?[ダウンロードページ] ({linkUrl}) をご覧ください。", - "home.tutorials.common.auditbeatInstructions.install.rpmTextPre": "Auditbeatは初めてですか?[クイックスタート] ({linkUrl}) を参照してください。", - "home.tutorials.common.auditbeatInstructions.install.rpmTitle": "Auditbeat のダウンロードとインストール", - "home.tutorials.common.auditbeatInstructions.install.windowsTextPost": "{auditbeatPath} ファイルの {propertyName} を Elasticsearch のインストールに設定します。", - "home.tutorials.common.auditbeatInstructions.install.windowsTextPre": "Auditbeatは初めてですか?[クイックスタート] ({guideLinkUrl}) を参照してください。\n 1.[ダウンロード] ({auditbeatLinkUrl}) ページからAuditbeat Windows zipファイルをダウンロードします。\n 2.zipファイルのコンテンツを{folderPath}に解凍します。\n 3.「{directoryName}」ディレクトリの名前を「Auditbeat」に変更します。\n 4.管理者としてPowerShellプロンプトを開きます (PowerShellアイコンを右クリックして「管理者として実行」を選択します) 。Windows XPをご使用の場合、PowerShellのダウンロードとインストールが必要な場合があります。\n 5.PowerShell プロンプトで次のコマンドを実行し、Auditbeat を Windows サービスとしてインストールします。", - "home.tutorials.common.auditbeatInstructions.install.windowsTitle": "Auditbeat のダウンロードとインストール", - "home.tutorials.common.auditbeatInstructions.start.debTextPre": "「setup」コマンドで Kibana のダッシュボードを読み込みます。ダッシュボードがすでにセットアップされている場合、このコマンドは省略します。", - "home.tutorials.common.auditbeatInstructions.start.debTitle": "Auditbeat を起動", - "home.tutorials.common.auditbeatInstructions.start.osxTextPre": "「setup」コマンドで Kibana のダッシュボードを読み込みます。ダッシュボードがすでにセットアップされている場合、このコマンドは省略します。", - "home.tutorials.common.auditbeatInstructions.start.osxTitle": "Auditbeat を起動", - "home.tutorials.common.auditbeatInstructions.start.rpmTextPre": "「setup」コマンドで Kibana のダッシュボードを読み込みます。ダッシュボードがすでにセットアップされている場合、このコマンドは省略します。", - "home.tutorials.common.auditbeatInstructions.start.rpmTitle": "Auditbeat を起動", - "home.tutorials.common.auditbeatInstructions.start.windowsTextPre": "「setup」コマンドで Kibana のダッシュボードを読み込みます。ダッシュボードがすでにセットアップされている場合、このコマンドは省略します。", - "home.tutorials.common.auditbeatInstructions.start.windowsTitle": "Auditbeat を起動", - "home.tutorials.common.auditbeatStatusCheck.buttonLabel": "データを確認してください", - "home.tutorials.common.auditbeatStatusCheck.errorText": "まだデータを受信していません", - "home.tutorials.common.auditbeatStatusCheck.successText": "データを受信しました", - "home.tutorials.common.auditbeatStatusCheck.text": "Auditbeat からデータを受け取ったことを確認してください。", - "home.tutorials.common.auditbeatStatusCheck.title": "ステータス", - "home.tutorials.common.cloudInstructions.passwordAndResetLink": "{passwordTemplate}が「Elastic」ユーザーのパスワードです。\\{#config.cloud.profileUrl\\}\n パスワードを忘れた場合[Elastic Cloudでリセット] (\\{config.cloud.baseUrl\\}\\{config.cloud.profileUrl\\}) 。\n \\{/config.cloud.profileUrl\\}", - "home.tutorials.common.filebeat.cloudInstructions.gettingStarted.title": "はじめに", - "home.tutorials.common.filebeat.premCloudInstructions.gettingStarted.title": "はじめに", - "home.tutorials.common.filebeat.premInstructions.gettingStarted.title": "はじめに", - "home.tutorials.common.filebeatCloudInstructions.config.debTextPre": "{path} を変更して Elastic Cloud への接続情報を設定します:", - "home.tutorials.common.filebeatCloudInstructions.config.debTitle": "構成を編集する", - "home.tutorials.common.filebeatCloudInstructions.config.osxTextPre": "{path} を変更して Elastic Cloud への接続情報を設定します:", - "home.tutorials.common.filebeatCloudInstructions.config.osxTitle": "構成を編集する", - "home.tutorials.common.filebeatCloudInstructions.config.rpmTextPre": "{path} を変更して Elastic Cloud への接続情報を設定します:", - "home.tutorials.common.filebeatCloudInstructions.config.rpmTitle": "構成を編集する", - "home.tutorials.common.filebeatCloudInstructions.config.windowsTextPre": "{path} を変更して Elastic Cloud への接続情報を設定します:", - "home.tutorials.common.filebeatCloudInstructions.config.windowsTitle": "構成を編集する", - "home.tutorials.common.filebeatEnableInstructions.debTextPost": "「/etc/filebeat/modules.d/{moduleName}.yml」ファイルで設定を変更します。", - "home.tutorials.common.filebeatEnableInstructions.debTitle": "{moduleName} モジュールを有効にし構成します", - "home.tutorials.common.filebeatEnableInstructions.osxTextPost": "「modules.d/{moduleName}.yml」」ファイルで設定を変更します。", - "home.tutorials.common.filebeatEnableInstructions.osxTextPre": "インストールディレクトリから次のファイルを実行します:", - "home.tutorials.common.filebeatEnableInstructions.osxTitle": "{moduleName} モジュールを有効にし構成します", - "home.tutorials.common.filebeatEnableInstructions.rpmTextPost": "「/etc/filebeat/modules.d/{moduleName}.yml」ファイルで設定を変更します。", - "home.tutorials.common.filebeatEnableInstructions.rpmTitle": "{moduleName} モジュールを有効にし構成します", - "home.tutorials.common.filebeatEnableInstructions.windowsTextPost": "「modules.d/{moduleName}.yml」」ファイルで設定を変更します。", - "home.tutorials.common.filebeatEnableInstructions.windowsTextPre": "「{path}」フォルダから次のファイルを実行します:", - "home.tutorials.common.filebeatEnableInstructions.windowsTitle": "{moduleName} モジュールを有効にし構成します", - "home.tutorials.common.filebeatInstructions.config.debTextPost": "{passwordTemplate} が「Elastic」ユーザーのパスワード、{esUrlTemplate} が Elasticsearch の URL、{kibanaUrlTemplate} が Kibana の URL です。", - "home.tutorials.common.filebeatInstructions.config.debTextPre": "{path} を変更して Elastic Cloud への接続情報を設定します:", - "home.tutorials.common.filebeatInstructions.config.debTitle": "構成を編集する", - "home.tutorials.common.filebeatInstructions.config.osxTextPost": "{passwordTemplate} が「Elastic」ユーザーのパスワード、{esUrlTemplate} が Elasticsearch の URL、{kibanaUrlTemplate} が Kibana の URL です。", - "home.tutorials.common.filebeatInstructions.config.osxTextPre": "{path} を変更して Elastic Cloud への接続情報を設定します:", - "home.tutorials.common.filebeatInstructions.config.osxTitle": "構成を編集する", - "home.tutorials.common.filebeatInstructions.config.rpmTextPost": "{passwordTemplate} が「Elastic」ユーザーのパスワード、{esUrlTemplate} が Elasticsearch の URL、{kibanaUrlTemplate} が Kibana の URL です。", - "home.tutorials.common.filebeatInstructions.config.rpmTextPre": "{path} を変更して Elastic Cloud への接続情報を設定します:", - "home.tutorials.common.filebeatInstructions.config.rpmTitle": "構成を編集する", - "home.tutorials.common.filebeatInstructions.config.windowsTextPost": "{passwordTemplate} が「Elastic」ユーザーのパスワード、{esUrlTemplate} が Elasticsearch の URL、{kibanaUrlTemplate} が Kibana の URL です。", - "home.tutorials.common.filebeatInstructions.config.windowsTextPre": "{path} を変更して Elastic Cloud への接続情報を設定します:", - "home.tutorials.common.filebeatInstructions.config.windowsTitle": "構成を編集する", - "home.tutorials.common.filebeatInstructions.install.debTextPost": "32 ビットパッケージをお探しですか?[ダウンロードページ] ({linkUrl}) をご覧ください。", - "home.tutorials.common.filebeatInstructions.install.debTextPre": "Filebeatは初めてですか?[クイックスタート] ({linkUrl}) を参照してください。", - "home.tutorials.common.filebeatInstructions.install.debTitle": "Filebeat のダウンロードとインストール", - "home.tutorials.common.filebeatInstructions.install.osxTextPre": "Filebeatは初めてですか?[クイックスタート] ({linkUrl}) を参照してください。", - "home.tutorials.common.filebeatInstructions.install.osxTitle": "Filebeat のダウンロードとインストール", - "home.tutorials.common.filebeatInstructions.install.rpmTextPost": "32 ビットパッケージをお探しですか?[ダウンロードページ] ({linkUrl}) をご覧ください。", - "home.tutorials.common.filebeatInstructions.install.rpmTextPre": "Filebeatは初めてですか?[クイックスタート] ({linkUrl}) を参照してください。", - "home.tutorials.common.filebeatInstructions.install.rpmTitle": "Filebeat のダウンロードとインストール", - "home.tutorials.common.filebeatInstructions.install.windowsTextPost": "{filebeatPath} ファイルの {propertyName} を Elasticsearch のインストールに設定します。", - "home.tutorials.common.filebeatInstructions.install.windowsTextPre": "Filebeatは初めてですか?[クイックスタート] ({guideLinkUrl}) を参照してください。\n 1.[ダウンロード] ({filebeatLinkUrl}) ページからAuditbeat Windows zipファイルをダウンロードします。\n 2.zipファイルのコンテンツを{folderPath}に解凍します。\n 3.「{directoryName}」ディレクトリの名前を「Filebeat」に変更します。\n 4.管理者としてPowerShellプロンプトを開きます (PowerShellアイコンを右クリックして「管理者として実行」を選択します) 。Windows XPをご使用の場合、PowerShellのダウンロードとインストールが必要な場合があります。\n 5.PowerShell プロンプトで次のコマンドを実行し、Filebeat を Windows サービスとしてインストールします。", - "home.tutorials.common.filebeatInstructions.install.windowsTitle": "Filebeat のダウンロードとインストール", - "home.tutorials.common.filebeatInstructions.start.debTextPre": "「setup」コマンドで Kibana のダッシュボードを読み込みます。ダッシュボードがすでにセットアップされている場合、このコマンドは省略します。", - "home.tutorials.common.filebeatInstructions.start.debTitle": "Filebeat を起動します", - "home.tutorials.common.filebeatInstructions.start.osxTextPre": "「setup」コマンドで Kibana のダッシュボードを読み込みます。ダッシュボードがすでにセットアップされている場合、このコマンドは省略します。", - "home.tutorials.common.filebeatInstructions.start.osxTitle": "Filebeat を起動します", - "home.tutorials.common.filebeatInstructions.start.rpmTextPre": "「setup」コマンドで Kibana のダッシュボードを読み込みます。ダッシュボードがすでにセットアップされている場合、このコマンドは省略します。", - "home.tutorials.common.filebeatInstructions.start.rpmTitle": "Filebeat を起動します", - "home.tutorials.common.filebeatInstructions.start.windowsTextPre": "「setup」コマンドで Kibana のダッシュボードを読み込みます。ダッシュボードがすでにセットアップされている場合、このコマンドは省略します。", - "home.tutorials.common.filebeatInstructions.start.windowsTitle": "Filebeat を起動", - "home.tutorials.common.filebeatStatusCheck.buttonLabel": "データを確認してください", - "home.tutorials.common.filebeatStatusCheck.errorText": "モジュールからまだデータを受け取っていません", - "home.tutorials.common.filebeatStatusCheck.successText": "このモジュールからデータを受け取りました", - "home.tutorials.common.filebeatStatusCheck.text": "Filebeat の「{moduleName}」モジュールからデータを受け取ったことを確認してください。", - "home.tutorials.common.filebeatStatusCheck.title": "モジュールステータス", - "home.tutorials.common.functionbeat.cloudInstructions.gettingStarted.title": "はじめに", - "home.tutorials.common.functionbeat.premCloudInstructions.gettingStarted.title": "はじめに", - "home.tutorials.common.functionbeat.premInstructions.gettingStarted.title": "はじめに", - "home.tutorials.common.functionbeatAWSInstructions.textPost": "「」と「」がアカウント資格情報、「us-east-1」がご希望の地域です。", - "home.tutorials.common.functionbeatAWSInstructions.textPre": "環境で AWS アカウント認証情報を設定します。", - "home.tutorials.common.functionbeatAWSInstructions.title": "AWS 認証情報の設定", - "home.tutorials.common.functionbeatCloudInstructions.config.osxTextPre": "{path} を変更して Elastic Cloud への接続情報を設定します:", - "home.tutorials.common.functionbeatCloudInstructions.config.osxTitle": "構成を編集する", - "home.tutorials.common.functionbeatCloudInstructions.config.windowsTextPre": "{path} を変更して Elastic Cloud への接続情報を設定します:", - "home.tutorials.common.functionbeatCloudInstructions.config.windowsTitle": "構成を編集する", - "home.tutorials.common.functionbeatEnableOnPremInstructions.defaultTextPost": "「」が投入するロググループの名前で、「」が Functionbeat デプロイのステージングに使用されるが有効な S3 バケット名です。", - "home.tutorials.common.functionbeatEnableOnPremInstructions.defaultTitle": "Cloudwatch ロググループの構成", - "home.tutorials.common.functionbeatEnableOnPremInstructionsOSXLinux.textPre": "「functionbeat.yml」ファイルで設定を変更します。", - "home.tutorials.common.functionbeatEnableOnPremInstructionsWindows.textPre": "{path} ファイルで設定を変更します。", - "home.tutorials.common.functionbeatInstructions.config.osxTextPost": "{passwordTemplate} が「Elastic」ユーザーのパスワード、{esUrlTemplate} が Elasticsearch の URL、{kibanaUrlTemplate} が Kibana の URL です。", - "home.tutorials.common.functionbeatInstructions.config.osxTextPre": "{path} を変更して Elastic Cloud への接続情報を設定します:", - "home.tutorials.common.functionbeatInstructions.config.osxTitle": "Elastic クラスターの構成", - "home.tutorials.common.functionbeatInstructions.config.windowsTextPost": "{passwordTemplate} が「Elastic」ユーザーのパスワード、{esUrlTemplate} が Elasticsearch の URL、{kibanaUrlTemplate} が Kibana の URL です。", - "home.tutorials.common.functionbeatInstructions.config.windowsTextPre": "{path} を変更して Elastic Cloud への接続情報を設定します:", - "home.tutorials.common.functionbeatInstructions.config.windowsTitle": "構成を編集する", - "home.tutorials.common.functionbeatInstructions.deploy.osxTextPre": "これにより Functionbeat が Lambda 関数としてインストールされます「setup」コマンドで Elasticsearch の構成を確認し、Kibana インデックスパターンを読み込みます。通常このコマンドを省いても大丈夫です。", - "home.tutorials.common.functionbeatInstructions.deploy.osxTitle": "Functionbeat を AWS Lambda にデプロイ", - "home.tutorials.common.functionbeatInstructions.deploy.windowsTextPre": "これにより Functionbeat が Lambda 関数としてインストールされます「setup」コマンドで Elasticsearch の構成を確認し、Kibana インデックスパターンを読み込みます。通常このコマンドを省いても大丈夫です。", - "home.tutorials.common.functionbeatInstructions.deploy.windowsTitle": "Functionbeat を AWS Lambda にデプロイ", - "home.tutorials.common.functionbeatInstructions.install.linuxTextPre": "Functionbeatは初めてですか?[クイックスタート] ({link}) を参照してください。", - "home.tutorials.common.functionbeatInstructions.install.linuxTitle": "Functionbeat のダウンロードとインストール", - "home.tutorials.common.functionbeatInstructions.install.osxTextPre": "Functionbeatは初めてですか?[クイックスタート] ({link}) を参照してください。", - "home.tutorials.common.functionbeatInstructions.install.osxTitle": "Functionbeat のダウンロードとインストール", - "home.tutorials.common.functionbeatInstructions.install.windowsTextPre": "Functionbeatは初めてですか?[クイックスタート] ({functionbeatLink}) を参照してください。\n 1.[ダウンロード] ({elasticLink}) ページからFunctionbeat Windows zipファイルをダウンロードします。\n 2.zipファイルのコンテンツを{folderPath}に解凍します。\n 3.「{directoryName} ディレクトリの名前を「Functionbeat」に変更します。\n 4.管理者としてPowerShellプロンプトを開きます (PowerShellアイコンを右クリックして「管理者として実行」を選択します) 。Windows XPをご使用の場合、PowerShellのダウンロードとインストールが必要な場合があります。\n 5.PowerShell プロンプトから、Functionbeat ディレクトリに移動します:", - "home.tutorials.common.functionbeatInstructions.install.windowsTitle": "Functionbeat のダウンロードとインストール", - "home.tutorials.common.functionbeatStatusCheck.buttonLabel": "データを確認してください", - "home.tutorials.common.functionbeatStatusCheck.errorText": "Functionbeat からまだデータを受け取っていません", - "home.tutorials.common.functionbeatStatusCheck.successText": "Functionbeat からデータを受け取りました", - "home.tutorials.common.functionbeatStatusCheck.text": "Functionbeat からデータを受け取ったことを確認してください。", - "home.tutorials.common.functionbeatStatusCheck.title": "Functionbeat ステータス", - "home.tutorials.common.heartbeat.cloudInstructions.gettingStarted.title": "はじめに", - "home.tutorials.common.heartbeat.premCloudInstructions.gettingStarted.title": "はじめに", - "home.tutorials.common.heartbeat.premInstructions.gettingStarted.title": "はじめに", - "home.tutorials.common.heartbeatCloudInstructions.config.debTextPre": "{path} を変更して Elastic Cloud への接続情報を設定します:", - "home.tutorials.common.heartbeatCloudInstructions.config.debTitle": "構成を編集する", - "home.tutorials.common.heartbeatCloudInstructions.config.osxTextPre": "{path} を変更して Elastic Cloud への接続情報を設定します:", - "home.tutorials.common.heartbeatCloudInstructions.config.osxTitle": "構成を編集する", - "home.tutorials.common.heartbeatCloudInstructions.config.rpmTextPre": "{path} を変更して Elastic Cloud への接続情報を設定します:", - "home.tutorials.common.heartbeatCloudInstructions.config.rpmTitle": "構成を編集する", - "home.tutorials.common.heartbeatCloudInstructions.config.windowsTextPre": "{path} を変更して Elastic Cloud への接続情報を設定します:", - "home.tutorials.common.heartbeatCloudInstructions.config.windowsTitle": "構成を編集する", - "home.tutorials.common.heartbeatEnableCloudInstructions.debTextPre": "「heartbeat.yml」ファイルの「heartbeat.monitors」設定を変更します。", - "home.tutorials.common.heartbeatEnableCloudInstructions.defaultTextPost": "Heartbeat の監視を構成する手順の詳細は、[Heartbeat 構成ドキュメント] ({configureLink}) をご覧ください。", - "home.tutorials.common.heartbeatEnableCloudInstructions.defaultTitle": "構成を変更 - 監視を追加", - "home.tutorials.common.heartbeatEnableCloudInstructions.osxTextPre": "「heartbeat.yml」ファイルの「heartbeat.monitors」設定を変更します。", - "home.tutorials.common.heartbeatEnableCloudInstructions.rpmTextPre": "「heartbeat.yml」ファイルの「heartbeat.monitors」設定を変更します。", - "home.tutorials.common.heartbeatEnableCloudInstructions.windowsTextPre": "「heartbeat.yml」ファイルの「heartbeat.monitors」設定を変更します。", - "home.tutorials.common.heartbeatEnableOnPremInstructions.debTextPre": "「heartbeat.yml」ファイルの「heartbeat.monitors」設定を変更します。", - "home.tutorials.common.heartbeatEnableOnPremInstructions.defaultTextPost": "{hostTemplate} は監視対象の URL です。Heartbeat の監視を構成する手順の詳細は、[Heartbeat 構成ドキュメント] ({configureLink}) をご覧ください。", - "home.tutorials.common.heartbeatEnableOnPremInstructions.defaultTitle": "構成を変更 - 監視を追加", - "home.tutorials.common.heartbeatEnableOnPremInstructions.osxTextPre": "「heartbeat.yml」ファイルの「heartbeat.monitors」設定を変更します。", - "home.tutorials.common.heartbeatEnableOnPremInstructions.rpmTextPre": "「heartbeat.yml」ファイルの「heartbeat.monitors」設定を変更します。", - "home.tutorials.common.heartbeatEnableOnPremInstructions.windowsTextPre": "「heartbeat.yml」ファイルの「heartbeat.monitors」設定を変更します。", - "home.tutorials.common.heartbeatInstructions.config.debTextPost": "{passwordTemplate} が「Elastic」ユーザーのパスワード、{esUrlTemplate} が Elasticsearch の URL、{kibanaUrlTemplate} が Kibana の URL です。", - "home.tutorials.common.heartbeatInstructions.config.debTextPre": "{path} を変更して Elastic Cloud への接続情報を設定します:", - "home.tutorials.common.heartbeatInstructions.config.debTitle": "構成を編集する", - "home.tutorials.common.heartbeatInstructions.config.osxTextPost": "{passwordTemplate} が「Elastic」ユーザーのパスワード、{esUrlTemplate} が Elasticsearch の URL、{kibanaUrlTemplate} が Kibana の URL です。", - "home.tutorials.common.heartbeatInstructions.config.osxTextPre": "{path} を変更して Elastic Cloud への接続情報を設定します:", - "home.tutorials.common.heartbeatInstructions.config.osxTitle": "構成を編集する", - "home.tutorials.common.heartbeatInstructions.config.rpmTextPost": "{passwordTemplate} が「Elastic」ユーザーのパスワード、{esUrlTemplate} が Elasticsearch の URL、{kibanaUrlTemplate} が Kibana の URL です。", - "home.tutorials.common.heartbeatInstructions.config.rpmTextPre": "{path} を変更して Elastic Cloud への接続情報を設定します:", - "home.tutorials.common.heartbeatInstructions.config.rpmTitle": "構成を編集する", - "home.tutorials.common.heartbeatInstructions.config.windowsTextPost": "{passwordTemplate} が「Elastic」ユーザーのパスワード、{esUrlTemplate} が Elasticsearch の URL、{kibanaUrlTemplate} が Kibana の URL です。", - "home.tutorials.common.heartbeatInstructions.config.windowsTextPre": "{path} を変更して Elastic Cloud への接続情報を設定します:", - "home.tutorials.common.heartbeatInstructions.config.windowsTitle": "構成を編集する", - "home.tutorials.common.heartbeatInstructions.install.debTextPost": "32 ビットパッケージをお探しですか?[ダウンロードページ] ({link}) をご覧ください。", - "home.tutorials.common.heartbeatInstructions.install.debTextPre": "Heartbeatは初めてですか?[クイックスタート] ({link}) を参照してください。", - "home.tutorials.common.heartbeatInstructions.install.debTitle": "Heartbeat のダウンロードとインストール", - "home.tutorials.common.heartbeatInstructions.install.osxTextPre": "Heartbeatは初めてですか?[クイックスタート] ({link}) を参照してください。", - "home.tutorials.common.heartbeatInstructions.install.osxTitle": "Heartbeat のダウンロードとインストール", - "home.tutorials.common.heartbeatInstructions.install.rpmTextPre": "Heartbeatは初めてですか?[クイックスタート] ({link}) を参照してください。", - "home.tutorials.common.heartbeatInstructions.install.rpmTitle": "Heartbeat のダウンロードとインストール", - "home.tutorials.common.heartbeatInstructions.install.windowsTextPre": "Heartbeatは初めてですか?[クイックスタート] ({heartbeatLink}) を参照してください。\n 1.[ダウンロード] ({elasticLink}) ページからHeartbeat Windows zipファイルをダウンロードします。\n 2.zipファイルのコンテンツを{folderPath}に解凍します。\n 3.「{directoryName} ディレクトリの名前を「Heartbeat」に変更します。\n 4.管理者としてPowerShellプロンプトを開きます (PowerShellアイコンを右クリックして「管理者として実行」を選択します) 。Windows XPをご使用の場合、PowerShellのダウンロードとインストールが必要な場合があります。\n 5.PowerShell プロンプトで次のコマンドを実行し、Heartbeat を Windows サービスとしてインストールします。", - "home.tutorials.common.heartbeatInstructions.install.windowsTitle": "Heartbeat のダウンロードとインストール", - "home.tutorials.common.heartbeatInstructions.start.debTextPre": "「setup」コマンドで Kibana のインデックスパターンを読み込みます。", - "home.tutorials.common.heartbeatInstructions.start.debTitle": "Heartbeat を起動します", - "home.tutorials.common.heartbeatInstructions.start.osxTextPre": "「setup」コマンドで Kibana のインデックスパターンを読み込みます。", - "home.tutorials.common.heartbeatInstructions.start.osxTitle": "Heartbeat を起動します", - "home.tutorials.common.heartbeatInstructions.start.rpmTextPre": "「setup」コマンドで Kibana のインデックスパターンを読み込みます。", - "home.tutorials.common.heartbeatInstructions.start.rpmTitle": "Heartbeat を起動します", - "home.tutorials.common.heartbeatInstructions.start.windowsTextPre": "「setup」コマンドで Kibana のインデックスパターンを読み込みます。", - "home.tutorials.common.heartbeatInstructions.start.windowsTitle": "Heartbeat を起動します", - "home.tutorials.common.heartbeatStatusCheck.buttonLabel": "データを確認してください", - "home.tutorials.common.heartbeatStatusCheck.errorText": "Heartbeat からまだデータを受け取っていません", - "home.tutorials.common.heartbeatStatusCheck.successText": "Heartbeat からデータを受け取りました", - "home.tutorials.common.heartbeatStatusCheck.text": "Heartbeat からデータを受け取ったことを確認してください。", - "home.tutorials.common.heartbeatStatusCheck.title": "Heartbeat のステータス", - "home.tutorials.common.logstashInstructions.install.java.osxTextPre": "[こちら] ({link}) のインストール手順に従ってください。", - "home.tutorials.common.logstashInstructions.install.java.osxTitle": "Java Runtime Environment のダウンロードとインストール", - "home.tutorials.common.logstashInstructions.install.java.windowsTextPre": "[こちら] ({link}) のインストール手順に従ってください。", - "home.tutorials.common.logstashInstructions.install.java.windowsTitle": "Java Runtime Environment のダウンロードとインストール", - "home.tutorials.common.logstashInstructions.install.logstash.osxTextPre": "Logstash は初めてですか? [入門ガイド] ({link}) をご覧ください。", - "home.tutorials.common.logstashInstructions.install.logstash.osxTitle": "Logstash のダウンロードとインストール", - "home.tutorials.common.logstashInstructions.install.logstash.windowsTextPre": "Logstash は初めてですか? [入門ガイド] ({logstashLink}) をご覧ください。\n 1. Logstash Windows zip ファイルを [ダウンロード] ({elasticLink}) します。\n 2.zip ファイルのコンテンツを展開します。", - "home.tutorials.common.logstashInstructions.install.logstash.windowsTitle": "Logstash のダウンロードとインストール", - "home.tutorials.common.metricbeat.cloudInstructions.gettingStarted.title": "はじめに", - "home.tutorials.common.metricbeat.premCloudInstructions.gettingStarted.title": "はじめに", - "home.tutorials.common.metricbeat.premInstructions.gettingStarted.title": "はじめに", - "home.tutorials.common.metricbeatCloudInstructions.config.debTextPre": "{path} を変更して Elastic Cloud への接続情報を設定します:", - "home.tutorials.common.metricbeatCloudInstructions.config.debTitle": "構成を編集する", - "home.tutorials.common.metricbeatCloudInstructions.config.osxTextPre": "{path} を変更して Elastic Cloud への接続情報を設定します:", - "home.tutorials.common.metricbeatCloudInstructions.config.osxTitle": "構成を編集する", - "home.tutorials.common.metricbeatCloudInstructions.config.rpmTextPre": "{path} を変更して Elastic Cloud への接続情報を設定します:", - "home.tutorials.common.metricbeatCloudInstructions.config.rpmTitle": "構成を編集する", - "home.tutorials.common.metricbeatCloudInstructions.config.windowsTextPre": "{path} を変更して Elastic Cloud への接続情報を設定します:", - "home.tutorials.common.metricbeatCloudInstructions.config.windowsTitle": "構成を編集する", - "home.tutorials.common.metricbeatEnableInstructions.debTextPost": "「/etc/metricbeat/modules.d/{moduleName}.yml」ファイルで設定を変更します。", - "home.tutorials.common.metricbeatEnableInstructions.debTitle": "{moduleName} モジュールを有効にし構成します", - "home.tutorials.common.metricbeatEnableInstructions.osxTextPost": "「modules.d/{moduleName}.yml」」ファイルで設定を変更します。", - "home.tutorials.common.metricbeatEnableInstructions.osxTextPre": "インストールディレクトリから次のファイルを実行します:", - "home.tutorials.common.metricbeatEnableInstructions.osxTitle": "{moduleName} モジュールを有効にし構成します", - "home.tutorials.common.metricbeatEnableInstructions.rpmTextPost": "「/etc/metricbeat/modules.d/{moduleName}.yml」ファイルで設定を変更します。", - "home.tutorials.common.metricbeatEnableInstructions.rpmTitle": "{moduleName} モジュールを有効にし構成します", - "home.tutorials.common.metricbeatEnableInstructions.windowsTextPost": "「modules.d/{moduleName}.yml」」ファイルで設定を変更します。", - "home.tutorials.common.metricbeatEnableInstructions.windowsTextPre": "「{path}」フォルダから次のファイルを実行します:", - "home.tutorials.common.metricbeatEnableInstructions.windowsTitle": "{moduleName} モジュールを有効にし構成します", - "home.tutorials.common.metricbeatInstructions.config.debTextPost": "{passwordTemplate} が「Elastic」ユーザーのパスワード、{esUrlTemplate} が Elasticsearch の URL、{kibanaUrlTemplate} が Kibana の URL です。", - "home.tutorials.common.metricbeatInstructions.config.debTextPre": "{path} を変更して Elastic Cloud への接続情報を設定します:", - "home.tutorials.common.metricbeatInstructions.config.debTitle": "構成を編集する", - "home.tutorials.common.metricbeatInstructions.config.osxTextPost": "{passwordTemplate} が「Elastic」ユーザーのパスワード、{esUrlTemplate} が Elasticsearch の URL、{kibanaUrlTemplate} が Kibana の URL です。", - "home.tutorials.common.metricbeatInstructions.config.osxTextPre": "{path} を変更して Elastic Cloud への接続情報を設定します:", - "home.tutorials.common.metricbeatInstructions.config.osxTitle": "構成を編集する", - "home.tutorials.common.metricbeatInstructions.config.rpmTextPost": "{passwordTemplate} が「Elastic」ユーザーのパスワード、{esUrlTemplate} が Elasticsearch の URL、{kibanaUrlTemplate} が Kibana の URL です。", - "home.tutorials.common.metricbeatInstructions.config.rpmTextPre": "{path} を変更して Elastic Cloud への接続情報を設定します:", - "home.tutorials.common.metricbeatInstructions.config.rpmTitle": "構成を編集する", - "home.tutorials.common.metricbeatInstructions.config.windowsTextPost": "{passwordTemplate} が「Elastic」ユーザーのパスワード、{esUrlTemplate} が Elasticsearch の URL、{kibanaUrlTemplate} が Kibana の URL です。", - "home.tutorials.common.metricbeatInstructions.config.windowsTextPre": "{path} を変更して Elastic Cloud への接続情報を設定します:", - "home.tutorials.common.metricbeatInstructions.config.windowsTitle": "構成を編集する", - "home.tutorials.common.metricbeatInstructions.install.debTextPost": "32 ビットパッケージをお探しですか?[ダウンロードページ] ({link}) をご覧ください。", - "home.tutorials.common.metricbeatInstructions.install.debTextPre": "Metricbeatは初めてですか?[クイックスタート] ({link}) を参照してください。", - "home.tutorials.common.metricbeatInstructions.install.debTitle": "Metricbeat のダウンロードとインストール", - "home.tutorials.common.metricbeatInstructions.install.osxTextPre": "Metricbeatは初めてですか?[クイックスタート] ({link}) を参照してください。", - "home.tutorials.common.metricbeatInstructions.install.osxTitle": "Metricbeat のダウンロードとインストール", - "home.tutorials.common.metricbeatInstructions.install.rpmTextPre": "Metricbeatは初めてですか?[クイックスタート] ({link}) を参照してください。", - "home.tutorials.common.metricbeatInstructions.install.rpmTitle": "Metricbeat のダウンロードとインストール", - "home.tutorials.common.metricbeatInstructions.install.windowsTextPost": "{path} ファイルの「output.elasticsearch」を Elasticsearch のインストールに設定します。", - "home.tutorials.common.metricbeatInstructions.install.windowsTextPre": "Metricbeatは初めてですか?[クイックスタート] ({metricbeatLink}) を参照してください。\n 1.[ダウンロード] ({elasticLink}) ページからMetricbeat Windows zipファイルをダウンロードします。\n 2.zipファイルのコンテンツを{folderPath}に解凍します。\n 3.{directoryName}ディレクトリの名前を「Metricbeat」に変更します。\n 4.管理者としてPowerShellプロンプトを開きます (PowerShellアイコンを右クリックして「管理者として実行」を選択します) 。Windows XPをご使用の場合、PowerShellのダウンロードとインストールが必要な場合があります。\n 5.PowerShell プロンプトで次のコマンドを実行し、Metricbeat を Windows サービスとしてインストールします。", - "home.tutorials.common.metricbeatInstructions.install.windowsTitle": "Metricbeat のダウンロードとインストール", - "home.tutorials.common.metricbeatInstructions.start.debTextPre": "「setup」コマンドで Kibana のダッシュボードを読み込みます。ダッシュボードがすでにセットアップされている場合、このコマンドは省略します。", - "home.tutorials.common.metricbeatInstructions.start.debTitle": "Metricbeat を起動します", - "home.tutorials.common.metricbeatInstructions.start.osxTextPre": "「setup」コマンドで Kibana のダッシュボードを読み込みます。ダッシュボードがすでにセットアップされている場合、このコマンドは省略します。", - "home.tutorials.common.metricbeatInstructions.start.osxTitle": "Metricbeat を起動します", - "home.tutorials.common.metricbeatInstructions.start.rpmTextPre": "「setup」コマンドで Kibana のダッシュボードを読み込みます。ダッシュボードがすでにセットアップされている場合、このコマンドは省略します。", - "home.tutorials.common.metricbeatInstructions.start.rpmTitle": "Metricbeat を起動します", - "home.tutorials.common.metricbeatInstructions.start.windowsTextPre": "「setup」コマンドで Kibana のダッシュボードを読み込みます。ダッシュボードがすでにセットアップされている場合、このコマンドは省略します。", - "home.tutorials.common.metricbeatInstructions.start.windowsTitle": "Metricbeat を起動します", - "home.tutorials.common.metricbeatStatusCheck.buttonLabel": "データを確認してください", - "home.tutorials.common.metricbeatStatusCheck.errorText": "モジュールからまだデータを受け取っていません", - "home.tutorials.common.metricbeatStatusCheck.successText": "このモジュールからデータを受け取りました", - "home.tutorials.common.metricbeatStatusCheck.text": "Metricbeat の「{moduleName}」モジュールからデータを受け取ったことを確認してください", - "home.tutorials.common.metricbeatStatusCheck.title": "モジュールステータス", - "home.tutorials.common.premCloudInstructions.option1.textPre": "[Elastic Cloud] ({link}) にアクセスします。アカウントをお持ちでない場合は新規登録してください。14 日間の無料トライアルがご利用いただけます。\n\nElastic Cloud コンソールにログインします\n\nElastic Cloud コンソールで次の手順に従ってクラスターを作成します。\n 1.[デプロイを作成]を選択して[デプロイ名]を指定します\n 2.必要に応じて他のデプロイオプションを変更します (デフォルトも使い始めるのに有効です) \n 3.「デプロイを作成」をクリックします\n 4.デプロイの作成が完了するまで待ちます\n 5.新規クラウド Kibana インスタンスにアクセスし、Kibana ホームの手順に従います。", - "home.tutorials.common.premCloudInstructions.option1.title": "オプション 1:Elastic Cloud でお試しください", - "home.tutorials.common.premCloudInstructions.option2.textPre": "この Kibana インスタンスをマネージド Elasticsearch インスタンスに対して実行している場合は、手動セットアップを行います。\n\n「Elasticsearch」エンドポイントを {urlTemplate} として保存し、クラスターの「パスワード」を {passwordTemplate} として保存します。", - "home.tutorials.common.premCloudInstructions.option2.title": "オプション 2:Kibana を Cloud インスタンスに接続", - "home.tutorials.common.winlogbeat.cloudInstructions.gettingStarted.title": "はじめに", - "home.tutorials.common.winlogbeat.premCloudInstructions.gettingStarted.title": "はじめに", - "home.tutorials.common.winlogbeat.premInstructions.gettingStarted.title": "はじめに", - "home.tutorials.common.winlogbeatCloudInstructions.config.windowsTextPre": "{path} を変更して Elastic Cloud への接続情報を設定します:", - "home.tutorials.common.winlogbeatCloudInstructions.config.windowsTitle": "構成を編集する", - "home.tutorials.common.winlogbeatInstructions.config.windowsTextPost": "{passwordTemplate} が「Elastic」ユーザーのパスワード、{esUrlTemplate} が Elasticsearch の URL、{kibanaUrlTemplate} が Kibana の URL です。", - "home.tutorials.common.winlogbeatInstructions.config.windowsTextPre": "{path} を変更して Elastic Cloud への接続情報を設定します:", - "home.tutorials.common.winlogbeatInstructions.config.windowsTitle": "構成を編集する", - "home.tutorials.common.winlogbeatInstructions.install.windowsTextPost": "{path} ファイルの「output.elasticsearch」を Elasticsearch のインストールに設定します。", - "home.tutorials.common.winlogbeatInstructions.install.windowsTextPre": "Winlogbeatは初めてですか?[クイックスタート] ({winlogbeatLink}) を参照してください。\n 1.[ダウンロード] ({elasticLink}) ページからWinlogbeat Windows zipファイルをダウンロードします。\n 2.zipファイルのコンテンツを{folderPath}に解凍します。\n 3.{directoryName}ディレクトリの名前を「Winlogbeat」に変更します。\n 4.管理者としてPowerShellプロンプトを開きます (PowerShellアイコンを右クリックして「管理者として実行」を選択します) 。Windows XPをご使用の場合、PowerShellのダウンロードとインストールが必要な場合があります。\n 5.PowerShell プロンプトで次のコマンドを実行し、Winlogbeat を Windows サービスとしてインストールします。", - "home.tutorials.common.winlogbeatInstructions.install.windowsTitle": "Winlogbeat のダウンロードとインストール", - "home.tutorials.common.winlogbeatInstructions.start.windowsTextPre": "「setup」コマンドで Kibana のダッシュボードを読み込みます。ダッシュボードがすでにセットアップされている場合、このコマンドは省略します。", - "home.tutorials.common.winlogbeatInstructions.start.windowsTitle": "Winlogbeat を起動", - "home.tutorials.common.winlogbeatStatusCheck.buttonLabel": "データを確認してください", - "home.tutorials.common.winlogbeatStatusCheck.errorText": "まだデータを受信していません", - "home.tutorials.common.winlogbeatStatusCheck.successText": "データを受信しました", - "home.tutorials.common.winlogbeatStatusCheck.text": "Winlogbeat からデータを受け取ったことを確認してください。", - "home.tutorials.common.winlogbeatStatusCheck.title": "モジュールステータス", - "home.tutorials.consulMetrics.artifacts.dashboards.linkLabel": "Consul メトリックダッシュボード", - "home.tutorials.consulMetrics.longDescription": "Metricbeat モジュール「consul」は、Consul から監視メトリックを取得します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.consulMetrics.nameTitle": "Consul メトリック", - "home.tutorials.consulMetrics.shortDescription": "CouchdB サーバーから監視メトリックを取得します。", - "home.tutorials.corednsLogs.artifacts.dashboards.linkLabel": "[Filebeat CoreDNS] 概要", - "home.tutorials.corednsLogs.longDescription": "これは CoreDNS の Filebeatモジュールです。スタンドアロンの CoreDNS デプロイメントと Kubernetes での CoreDNS デプロイメントの両方をサポートします。[詳細] ({learnMoreLink}) 。", - "home.tutorials.corednsLogs.nameTitle": "CoreDNS ログ", - "home.tutorials.corednsLogs.shortDescription": "CoreDNS ログを収集します。", - "home.tutorials.corednsMetrics.artifacts.application.label": "Discover", - "home.tutorials.corednsMetrics.longDescription": "Metricbeat モジュール「coredns」は、CoreDNS から監視メトリックを取得します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.corednsMetrics.nameTitle": "CoreDNS メトリック", - "home.tutorials.corednsMetrics.shortDescription": "CoreDNS サーバーから監視メトリックを取得します。", - "home.tutorials.couchbaseMetrics.artifacts.application.label": "Discover", - "home.tutorials.couchbaseMetrics.longDescription": "Metricbeat モジュール「couchbase」は、Couchbase から内部メトリックを取得します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.couchbaseMetrics.nameTitle": "Couchbase メトリック", - "home.tutorials.couchbaseMetrics.shortDescription": "Couchbase から内部メトリックを取得します。", - "home.tutorials.couchdbMetrics.artifacts.dashboards.linkLabel": "CouchDB メトリックダッシュボード", - "home.tutorials.couchdbMetrics.longDescription": "Metricbeat モジュール「couchdb」は、CouchDB から監視メトリックを取得します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.couchdbMetrics.nameTitle": "CouchDB メトリック", - "home.tutorials.couchdbMetrics.shortDescription": "CouchdB サーバーから監視メトリックを取得します。", - "home.tutorials.crowdstrikeLogs.artifacts.dashboards.linkLabel": "セキュリティアプリ", - "home.tutorials.crowdstrikeLogs.longDescription": "これは Falcon [SIEM コネクター] (https://www.crowdstrike.com/blog/tech-center/integrate-with-your-siem) を使用したCrowdStrike Falcon のための Filebeatモジュールです。 このモジュールはこのデータを収集し、ECS に変換して、取り込み、SIEM に表示します。 デフォルトでは、Falcon SIEM コネクターは JSON 形式の Falcon Streaming API イベントデータを出力します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.crowdstrikeLogs.nameTitle": "CrowdStrike ログ", - "home.tutorials.crowdstrikeLogs.shortDescription": "Falcon SIEM コネクターを使用して CrowdStrike Falcon ログを収集します。", - "home.tutorials.cylanceLogs.artifacts.dashboards.linkLabel": "セキュリティアプリ", - "home.tutorials.cylanceLogs.longDescription": "これは、Syslog またはファイルで CylancePROTECT ログを受信するためのモジュールです。[詳細] ({learnMoreLink}) 。", - "home.tutorials.cylanceLogs.nameTitle": "CylancePROTECT ログ", - "home.tutorials.dockerMetrics.artifacts.dashboards.linkLabel": "Docker メトリックダッシュボード", - "home.tutorials.dockerMetrics.longDescription": "Metricbeat モジュール「docker」 は、Docker サーバーからメトリックを取得します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.dockerMetrics.nameTitle": "Docker メトリック", - "home.tutorials.dockerMetrics.shortDescription": "Docker コンテナーに関するメトリックを取得します。", - "home.tutorials.dropwizardMetrics.artifacts.application.label": "Discover", - "home.tutorials.dropwizardMetrics.longDescription": "Metricbeat モジュール「dropwizard」は、Dropwizard Java アプリケーション から内部メトリックを取得します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.dropwizardMetrics.nameTitle": "Dropwizard メトリック", - "home.tutorials.dropwizardMetrics.shortDescription": "Dropwizard Java アプリケーションから内部メトリックを取得します。", - "home.tutorials.elasticsearchLogs.artifacts.application.label": "Discover", - "home.tutorials.elasticsearchLogs.longDescription": "「elasticsearch」Filebeat モジュールが、Elasticsearch により作成されたログをパースします。[詳細 ({learnMoreLink}) 。", - "home.tutorials.elasticsearchLogs.nameTitle": "Elasticsearch ログ", - "home.tutorials.elasticsearchLogs.shortDescription": "Elasticsearch により作成されたログを収集しパースします。", - "home.tutorials.elasticsearchMetrics.artifacts.application.label": "Discover", - "home.tutorials.elasticsearchMetrics.longDescription": "Metricbeat モジュール「elasticsearch」は、Elasticsearch から内部メトリックを取得します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.elasticsearchMetrics.nameTitle": "Elasticsearch メトリック", - "home.tutorials.elasticsearchMetrics.shortDescription": "Elasticsearch から内部メトリックを取得します。", - "home.tutorials.envoyproxyLogs.artifacts.dashboards.linkLabel": "Envoy Proxy 概要", - "home.tutorials.envoyproxyLogs.longDescription": "これは Envoy Proxy アクセスログ (https://www.envoyproxy.io/docs/envoy/v1.10.0/configuration/access_log) 用の Filebeat モジュールです。Kubernetes でのスタンドアロンのデプロイメントと Envoy プロキシデプロイメントの両方をサポートします。[詳細] ({learnMoreLink}) 。", - "home.tutorials.envoyproxyLogs.nameTitle": "Envoy Proxy ログ", - "home.tutorials.envoyproxyLogs.shortDescription": "Envoy Proxy ログを収集します。", - "home.tutorials.envoyproxyMetrics.longDescription": "Metricbeat モジュール「envoyproxy」は、Envoy Proxy から監視メトリックを取得します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.envoyproxyMetrics.nameTitle": "Envoy Proxy メトリック", - "home.tutorials.envoyproxyMetrics.shortDescription": "Envoy Proxy サーバーから監視メトリックを取得します。", - "home.tutorials.etcdMetrics.artifacts.application.label": "Discover", - "home.tutorials.etcdMetrics.longDescription": "Metricbeat モジュール「etcd」は、Etcd から内部メトリックを取得します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.etcdMetrics.nameTitle": "Etcd メトリック", - "home.tutorials.etcdMetrics.shortDescription": "Etcd サーバーから内部メトリックを取得します。", - "home.tutorials.f5Logs.artifacts.dashboards.linkLabel": "セキュリティアプリ", - "home.tutorials.f5Logs.longDescription": "これは、Syslog またはファイルで Big-IP Access Policy Manager ログを受信するためのモジュールです。[詳細] ({learnMoreLink}) 。", - "home.tutorials.f5Logs.nameTitle": "F5 ログ", - "home.tutorials.f5Logs.shortDescription": "Syslog またはファイルで F5 Big-IP Access Policy Manager ログを収集します。", - "home.tutorials.fortinetLogs.artifacts.dashboards.linkLabel": "セキュリティアプリ", - "home.tutorials.fortinetLogs.longDescription": "これは Syslog 形式で送信された Fortinet FortiOS ログのためのモジュールです。[詳細] ({learnMoreLink}) 。", - "home.tutorials.fortinetLogs.nameTitle": "Fortinet ログ", - "home.tutorials.fortinetLogs.shortDescription": "Syslog で Fortinet FortiOS ログを収集します。", - "home.tutorials.gcpLogs.artifacts.dashboards.linkLabel": "監査ログダッシュボード", - "home.tutorials.gcpLogs.longDescription": "これは Google Cloud ログのモジュールです。Stackdriver から Google Pub/Sub トピックシンクにエクスポートされた監査、VPC フロー、ファイアウォールログの読み取りをサポートします。[詳細] ({learnMoreLink}) 。", - "home.tutorials.gcpLogs.nameTitle": "Google Cloud ログ", - "home.tutorials.gcpLogs.shortDescription": "Google Cloud 監査、ファイアウォール、VPC フローログを収集します。", - "home.tutorials.gcpMetrics.artifacts.dashboards.linkLabel": "Google Cloudメトリックダッシュボード", - "home.tutorials.gcpMetrics.longDescription": "「gcp」Metricbeatモジュールは、Stackdriver Monitoring APIを使用して、Google Cloud Platformから監視メトリックを取得します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.gcpMetrics.nameTitle": "Google Cloudメトリック", - "home.tutorials.gcpMetrics.shortDescription": "Stackdriver Monitoring API を使用して、Google Cloud Platform から監視メトリックを取得します。", - "home.tutorials.golangMetrics.artifacts.dashboards.linkLabel": "Golang メトリックダッシュボード", - "home.tutorials.golangMetrics.longDescription": "Metricbeat モジュール「{moduleName}」は、Golang アプリから内部メトリックを取得します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.golangMetrics.nameTitle": "Golang メトリック", - "home.tutorials.golangMetrics.shortDescription": "Golang アプリから内部メトリックを取得します。", - "home.tutorials.gsuiteLogs.artifacts.dashboards.linkLabel": "セキュリティアプリ", - "home.tutorials.gsuiteLogs.longDescription": "これは異なる GSuite 監査レポート API からデータを取り込むためのモジュールです。[詳細] ({learnMoreLink}) 。", - "home.tutorials.gsuiteLogs.nameTitle": "GSuite ログ", - "home.tutorials.gsuiteLogs.shortDescription": "GSuite アクティビティレポートを収集します。", - "home.tutorials.haproxyLogs.artifacts.dashboards.linkLabel": "HAProxy 概要", - "home.tutorials.haproxyLogs.longDescription": "このモジュールは、 (「haproxy」) プロセスからログを収集して解析します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.haproxyLogs.nameTitle": "HAProxy ログ", - "home.tutorials.haproxyLogs.shortDescription": "HAProxy ログを収集します。", - "home.tutorials.haproxyMetrics.artifacts.application.label": "Discover", - "home.tutorials.haproxyMetrics.longDescription": "Metricbeat モジュール「haproxy」は、HAProxy アプリから内部メトリックを取得します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.haproxyMetrics.nameTitle": "HAProxy メトリック", - "home.tutorials.haproxyMetrics.shortDescription": "HAProxy サーバーから内部メトリックを取得します。", - "home.tutorials.ibmmqLogs.artifacts.dashboards.linkLabel": "IBM MQ イベント", - "home.tutorials.ibmmqLogs.longDescription": "Filebeat で IBM MQ ログを収集します。[詳細] ({learnMoreLink}) ", - "home.tutorials.ibmmqLogs.nameTitle": "IBM MQ ログ", - "home.tutorials.ibmmqLogs.shortDescription": "Filebeat で IBM MQ ログを収集します。", - "home.tutorials.ibmmqMetrics.artifacts.application.label": "Discover", - "home.tutorials.ibmmqMetrics.longDescription": "Metricbeat モジュール「ibmmq」は、IBM MQ インスタンスから監視メトリックを取得します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.ibmmqMetrics.nameTitle": "IBM MQ メトリック", - "home.tutorials.ibmmqMetrics.shortDescription": "IBM MQ インスタンスから監視メトリックを取得します。", - "home.tutorials.icingaLogs.artifacts.dashboards.linkLabel": "Icinga Main ログ", - "home.tutorials.icingaLogs.longDescription": "このモジュールは [Icinga] (https://www.icinga.com/products/icinga-2/) のメイン、デバッグ、スタータップログを解析します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.icingaLogs.nameTitle": "Icinga ログ", - "home.tutorials.icingaLogs.shortDescription": "Icinga メイン、デバッグ、スタートアップログを収集します。", - "home.tutorials.iisLogs.artifacts.dashboards.linkLabel": "IIS ログダッシュボード", - "home.tutorials.iisLogs.longDescription": "「iis」Filebeat モジュールが、Nginx HTTP サーバーにより作成されたアクセスとエラーのログをパースします。[詳細] ({learnMoreLink}) 。", - "home.tutorials.iisLogs.nameTitle": "IIS ログ", - "home.tutorials.iisLogs.shortDescription": "IIS HTTP サーバーにより作成されたアクセスとエラーのログを収集しパースします。", - "home.tutorials.iisMetrics.artifacts.dashboards.linkLabel": "IISメトリックダッシュボード", - "home.tutorials.iisMetrics.longDescription": "「iis」Metricbeatモジュールは、IISサーバーおよび実行中のアプリケーションプールとWebサイトからメトリックを収集します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.iisMetrics.nameTitle": "IISメトリック", - "home.tutorials.iisMetrics.shortDescription": "IISサーバー関連メトリックを収集します。", - "home.tutorials.impervaLogs.artifacts.dashboards.linkLabel": "セキュリティアプリ", - "home.tutorials.impervaLogs.longDescription": "これは、Syslog またはファイルで SecureSphere ログを受信するためのモジュールです。[詳細] ({learnMoreLink}) 。", - "home.tutorials.impervaLogs.nameTitle": "Imperva ログ", - "home.tutorials.impervaLogs.shortDescription": "Syslog またはファイルから Imperva SecureSphere ログを収集します。", - "home.tutorials.infobloxLogs.artifacts.dashboards.linkLabel": "セキュリティアプリ", - "home.tutorials.infobloxLogs.longDescription": "これは、Syslog またはファイルで Infoblox NIOS ログを受信するためのモジュールです。[詳細] ({learnMoreLink}) 。", - "home.tutorials.infobloxLogs.nameTitle": "Infoblox ログ", - "home.tutorials.infobloxLogs.shortDescription": "Syslog またはファイルから Infoblox NIOS ログを収集します。", - "home.tutorials.iptablesLogs.artifacts.dashboards.linkLabel": "Iptables 概要", - "home.tutorials.iptablesLogs.longDescription": "これは iptables と ip6tables ログ用のモジュールです。ネットワーク上で受信した syslog ログ経由や、ファイルからのログをパースします。また、ルールセット名、ルール番号、トラフィックに実行されたアクション (許可/拒否) を含む、Ubiquiti ファイアウォールにより追加された接頭辞も認識できます。[詳細] ({learnMoreLink}) 。", - "home.tutorials.iptablesLogs.nameTitle": "Iptables ログ", - "home.tutorials.iptablesLogs.shortDescription": "iptables および ip6tables ログを収集します。", - "home.tutorials.juniperLogs.artifacts.dashboards.linkLabel": "セキュリティアプリ", - "home.tutorials.juniperLogs.longDescription": "これは、Syslog またはファイルで Juniper JUNOS ログを受信するためのモジュールです。[詳細] ({learnMoreLink}) 。", - "home.tutorials.juniperLogs.nameTitle": "Juniper ログ", - "home.tutorials.juniperLogs.shortDescription": "Syslog またはファイルから Juniper JUNOS ログを収集します。", - "home.tutorials.kafkaLogs.artifacts.dashboards.linkLabel": "Kafka ログダッシュボード", - "home.tutorials.kafkaLogs.longDescription": "「kafka」Filebeat モジュールは、Kafka が作成したログをパースします。[詳細] ({learnMoreLink}) 。", - "home.tutorials.kafkaLogs.nameTitle": "Kafka ログ", - "home.tutorials.kafkaLogs.shortDescription": "Kafka が作成したログを収集しパースします。", - "home.tutorials.kafkaMetrics.artifacts.application.label": "Discover", - "home.tutorials.kafkaMetrics.longDescription": "Metricbeat モジュール「kafka」は、Kafka から内部メトリックを取得します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.kafkaMetrics.nameTitle": "Kafka メトリック", - "home.tutorials.kafkaMetrics.shortDescription": "Kafka サーバーから内部メトリックを取得します。", - "home.tutorials.kibanaLogs.artifacts.application.label": "Discover", - "home.tutorials.kibanaLogs.longDescription": "これは Kibana モジュールです。[詳細] ({learnMoreLink}) 。", - "home.tutorials.kibanaLogs.nameTitle": "Kibana ログ", - "home.tutorials.kibanaLogs.shortDescription": "Kibana ログを収集します。", - "home.tutorials.kibanaMetrics.artifacts.application.label": "Discover", - "home.tutorials.kibanaMetrics.longDescription": "Metricbeat モジュール「kibana」は、Kibana から内部メトリックを取得します。 [詳細] ({learnMoreLink}) 。", - "home.tutorials.kibanaMetrics.nameTitle": "Kibana メトリック", - "home.tutorials.kibanaMetrics.shortDescription": "Kibana から内部メトリックを取得します。", - "home.tutorials.kubernetesMetrics.artifacts.dashboards.linkLabel": "Kubernetes メトリックダッシュボード", - "home.tutorials.kubernetesMetrics.longDescription": "Metricbeat モジュール「kubernetes」は、Kubernetes API からメトリックを取得します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.kubernetesMetrics.nameTitle": "Kubernetes メトリック", - "home.tutorials.kubernetesMetrics.shortDescription": "Kubernetes からメトリックを取得します。", - "home.tutorials.logstashLogs.artifacts.dashboards.linkLabel": "Logstash ログ", - "home.tutorials.logstashLogs.longDescription": "このモジュールは Logstash 標準ログと低速ログを解析します。プレーンテキスト形式と JSON 形式がサポートされます。[詳細] ({learnMoreLink}) 。", - "home.tutorials.logstashLogs.nameTitle": "Logstash ログ", - "home.tutorials.logstashLogs.shortDescription": "Logstash メインおよび低速ログを収集します。", - "home.tutorials.logstashMetrics.artifacts.application.label": "Discover", - "home.tutorials.logstashMetrics.longDescription": "Metricbeat モジュール「{moduleName}」は、Logstash サーバーから内部メトリックを取得します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.logstashMetrics.nameTitle": "Logstash メトリック", - "home.tutorials.logstashMetrics.shortDescription": "Logstash サーバーから内部メトリックを取得します。", - "home.tutorials.memcachedMetrics.artifacts.application.label": "Discover", - "home.tutorials.memcachedMetrics.longDescription": "Metricbeat モジュール「memcached」は、Memcached から内部メトリックを取得します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.memcachedMetrics.nameTitle": "Memcached メトリック", - "home.tutorials.memcachedMetrics.shortDescription": "Memcached サーバーから内部メトリックを取得します。", - "home.tutorials.microsoftLogs.artifacts.dashboards.linkLabel": "Microsoft ATP 概要", - "home.tutorials.microsoftLogs.longDescription": "Elastic Security で使用する Microsoft Defender ATP アラートを収集します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.microsoftLogs.nameTitle": "Microsoft Defender ATP ログ", - "home.tutorials.microsoftLogs.shortDescription": "Microsoft Defender ATP アラートを収集します。", - "home.tutorials.mispLogs.artifacts.dashboards.linkLabel": "MISP 概要", - "home.tutorials.mispLogs.longDescription": "これは MISP プラットフォーム (https://www.circl.lu/doc/misp/) から脅威インテリジェンス情報を読み取るための Filebeatモジュールです。MISP REST API インターフェイスにアクセスするために httpjson 入力を使用します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.mispLogs.nameTitle": "MISP 脅威インテリジェンスログ", - "home.tutorials.mispLogs.shortDescription": "Filebeat を使用して MISP 脅威インテリジェンスデータを収集します。", - "home.tutorials.mongodbLogs.artifacts.dashboards.linkLabel": "MongoDB 概要", - "home.tutorials.mongodbLogs.longDescription": "このモジュールは、[MongoDB] (https://www.mongodb.com/) で作成されたログを収集し、解析します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.mongodbLogs.nameTitle": "MongoDB ログ", - "home.tutorials.mongodbLogs.shortDescription": "MongoDB ログを収集します。", - "home.tutorials.mongodbMetrics.artifacts.dashboards.linkLabel": "MongoDB メトリックダッシュボード", - "home.tutorials.mongodbMetrics.longDescription": "Metricbeat モジュール「mongodb」は、MongoDB サーバーから内部メトリックを取得します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.mongodbMetrics.nameTitle": "MongoDB メトリック", - "home.tutorials.mongodbMetrics.shortDescription": "MongoDB から内部メトリックを取得します。", - "home.tutorials.mssqlLogs.artifacts.application.label": "Discover", - "home.tutorials.mssqlLogs.longDescription": "このモジュールは MSSQL により作成されたエラーログを解析します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.mssqlLogs.nameTitle": "MSSQL ログ", - "home.tutorials.mssqlLogs.shortDescription": "MSSQL ログを収集します。", - "home.tutorials.mssqlMetrics.artifacts.dashboards.linkLabel": "Microsoft SQL Server メトリックダッシュボード", - "home.tutorials.mssqlMetrics.longDescription": "Metricbeat モジュール「mssql」は、Microsoft SQL Server インスタンスからの監視、ログ、パフォーマンスメトリックを取得します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.mssqlMetrics.nameTitle": "Microsoft SQL Server Metrics", - "home.tutorials.mssqlMetrics.shortDescription": "Microsoft SQL Server インスタンスから監視メトリックを取得します。", - "home.tutorials.muninMetrics.artifacts.application.label": "Discover", - "home.tutorials.muninMetrics.longDescription": "Metricbeat モジュール「munin」は、Munin から内部メトリックを取得します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.muninMetrics.nameTitle": "Munin メトリック", - "home.tutorials.muninMetrics.shortDescription": "Munin サーバーから内部メトリックを取得します。", - "home.tutorials.mysqlLogs.artifacts.dashboards.linkLabel": "MySQL ログダッシュボード", - "home.tutorials.mysqlLogs.longDescription": "「mysql」Filebeat モジュールは、MySQL が作成したエラーとスローログをパースします。[詳細] ({learnMoreLink}) 。", - "home.tutorials.mysqlLogs.nameTitle": "MySQL ログ", - "home.tutorials.mysqlLogs.shortDescription": "MySQL が作成したエラーとスローログを収集しパースします。", - "home.tutorials.mysqlMetrics.artifacts.dashboards.linkLabel": "MySQL メトリックダッシュボード", - "home.tutorials.mysqlMetrics.longDescription": "Metricbeat モジュール「mysql」は、MySQL サーバーから内部メトリックを取得します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.mysqlMetrics.nameTitle": "MySQL メトリック", - "home.tutorials.mysqlMetrics.shortDescription": "MySQL から内部メトリックを取得します。", - "home.tutorials.natsLogs.artifacts.dashboards.linkLabel": "NATSログダッシュボード", - "home.tutorials.natsLogs.longDescription": "「nats」Filebeat モジュールが、Nats により作成されたログをパースします。[詳細] ({learnMoreLink}) 。", - "home.tutorials.natsLogs.nameTitle": "NATSログ", - "home.tutorials.natsLogs.shortDescription": "Nats により作成されたログを収集しパースします。", - "home.tutorials.natsMetrics.artifacts.dashboards.linkLabel": "NATSメトリックダッシュボード", - "home.tutorials.natsMetrics.longDescription": "Metricbeat モジュール「nats」は、Nats から監視メトリックを取得します。[詳細] {learnMoreLink}) 。", - "home.tutorials.natsMetrics.nameTitle": "NATSメトリック", - "home.tutorials.natsMetrics.shortDescription": "Nats サーバーから監視メトリックを取得します。", - "home.tutorials.netflowLogs.artifacts.dashboards.linkLabel": "Netflow 概要", - "home.tutorials.netflowLogs.longDescription": "これは UDP で NetFlow および IPFIX フローレコードを受信するモジュールです。この入力は、NetFlow バージョン 1、5、6、7、8、9、IPFIX をサポートします。NetFlow バージョン 9 以外では、フィールドが自動的に NetFlow v9 にマッピングされます。[詳細] ({learnMoreLink}) 。", - "home.tutorials.netflowLogs.nameTitle": "NetFlow / IPFIX Collector", - "home.tutorials.netflowLogs.shortDescription": "NetFlow および IPFIX フローレコードを収集します。", - "home.tutorials.netscoutLogs.artifacts.dashboards.linkLabel": "セキュリティアプリ", - "home.tutorials.netscoutLogs.nameTitle": "Arbor Peakflow ログ", - "home.tutorials.netscoutLogs.shortDescription": "Syslog またはファイルから Netscout Arbor Peakflow SP ログを収集します。", - "home.tutorials.nginxLogs.artifacts.dashboards.linkLabel": "Nginx ログダッシュボード", - "home.tutorials.nginxLogs.longDescription": "「nginx」Filebeat モジュールは、Nginx HTTP サーバーが作成したアクセスとエラーのログをパースします。[詳細] ({learnMoreLink}) 。", - "home.tutorials.nginxLogs.nameTitle": "Nginx ログ", - "home.tutorials.nginxLogs.shortDescription": "Nginx HTTP サーバーが作成したアクセスとエラーのログを収集しパースします。", - "home.tutorials.nginxMetrics.artifacts.dashboards.linkLabel": "Nginx メトリックダッシュボード", - "home.tutorials.nginxMetrics.longDescription": "Metricbeat モジュール「nginx」は、Nginx サーバーから内部メトリックを取得します。このモジュールは {statusModuleLink} で生成したウェブページからサーバーステータスデータを収集しますが、これは Nginx で有効にする必要があります。[詳細] ({learnMoreLink}) 。", - "home.tutorials.nginxMetrics.nameTitle": "Nginx メトリック", - "home.tutorials.nginxMetrics.shortDescription": "Nginx HTTP サーバーから内部メトリックを取得します。", - "home.tutorials.o365Logs.artifacts.dashboards.linkLabel": "O365 監査ダッシュボード", - "home.tutorials.o365Logs.longDescription": "これは Office 365 API エンドポイントのいずれか経由で受信された Office 365 ログのモジュールです。現在、ユーザー、管理者、システム、ポリシーアクションのほか、Office 365 Management Activity API によって公開された Office 365 および Azure AD アクティビティログからのイベントがサポートされています。[詳細] ({learnMoreLink}) 。", - "home.tutorials.o365Logs.nameTitle": "Office 365 ログ", - "home.tutorials.o365Logs.shortDescription": "Office 365 API 経由で Office 365 アクティビティログを収集します。", - "home.tutorials.oktaLogs.artifacts.dashboards.linkLabel": "Okta 概要", - "home.tutorials.oktaLogs.longDescription": "Okta モジュールは[Okta API] (https://developer.okta.com/docs/reference/) からイベントを収集します。 特に、これは[Okta システムログ API] (https://developer.okta.com/docs/reference/api/system-log/) からの読み取りをサポートします。 [詳細] ({learnMoreLink}) 。", - "home.tutorials.oktaLogs.nameTitle": "Okta ログ", - "home.tutorials.oktaLogs.shortDescription": "Okta API 経由で Okta システムログを収集します。", - "home.tutorials.openmetricsMetrics.longDescription": "Metricbeat モジュール「openmetrics」は、OpenMetrics の形式でメトリックを提供するエンドポイントからメトリックをフェッチします。[詳細] ({learnMoreLink}) 。", - "home.tutorials.openmetricsMetrics.nameTitle": "OpenMetrics メトリック", - "home.tutorials.openmetricsMetrics.shortDescription": "OpenMetrics 形式でメトリックを提供するエンドポイントからメトリックを取得します。", - "home.tutorials.oracleMetrics.artifacts.application.label": "Discover", - "home.tutorials.oracleMetrics.longDescription": "「{moduleName}」Metricbeatモジュールは、Oracleサーバーから内部メトリックを取得します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.oracleMetrics.nameTitle": "Oracleメトリック", - "home.tutorials.oracleMetrics.shortDescription": "Oracleサーバーから内部メトリックを取得します。", - "home.tutorials.osqueryLogs.artifacts.dashboards.linkLabel": "Osquery コンプライアンスパック", - "home.tutorials.osqueryLogs.longDescription": "このモジュールは JSON 形式で [osqueryd] (https://osquery.readthedocs.io/en/latest/introduction/using-osqueryd/) によって作成された結果ログを収集およびデコードします。osqueryd を設定するには、ご使用のオペレーティングシステムの osquery インストール手順に従い、「filesystem」ロギングドラバー (デフォルト) を構成します。 UTC タイムスタンプが有効であることを確認します。 [詳細] ({learnMoreLink}) 。", - "home.tutorials.osqueryLogs.nameTitle": "Osquery ログ", - "home.tutorials.osqueryLogs.shortDescription": "JSON 形式で osquery を収集します。", - "home.tutorials.panwLogs.artifacts.dashboards.linkLabel": "PANW ネットワークフロー", - "home.tutorials.panwLogs.longDescription": "このモジュールは、Syslog から受信したログまたはファイルから読み取られたログを監視する Palo Alto Networks PAN-OS ファイアウォール監視ログのモジュールです。現在、トラフィックおよび脅威タイプのメッセージがサポートされます。 [詳細] ({learnMoreLink}) 。", - "home.tutorials.panwLogs.nameTitle": "Palo Alto Networks PAN-OS ログ", - "home.tutorials.panwLogs.shortDescription": "Syslog またはログファイルから Palo Alto Networks PAN-OS 脅威およびトラフィックログを収集します。", - "home.tutorials.phpFpmMetrics.longDescription": "Metricbeat モジュール「php_fpm」は、PHP-FPM サーバーから内部メトリックを取得します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.phpFpmMetrics.nameTitle": "PHP-FPM メトリック", - "home.tutorials.phpFpmMetrics.shortDescription": "PHP-FPM から内部メトリックを取得します。", - "home.tutorials.postgresqlLogs.artifacts.dashboards.linkLabel": "PostgreSQL ログダッシュボード", - "home.tutorials.postgresqlLogs.longDescription": "「postgresql」Filebeat モジュールが、PostgreSQL により作成されたエラーとスローログをパースします。[詳細] ({learnMoreLink}) 。", - "home.tutorials.postgresqlLogs.nameTitle": "PostgreSQL ログ", - "home.tutorials.postgresqlLogs.shortDescription": "PostgreSQL により作成されたエラーとスローログを収集しパースします。", - "home.tutorials.postgresqlMetrics.longDescription": "Metricbeat モジュール「postgresql」は、PostgreSQL サーバーから内部メトリックを取得します。 [詳細] ({learnMoreLink}) 。", - "home.tutorials.postgresqlMetrics.nameTitle": "PostgreSQL メトリック", - "home.tutorials.postgresqlMetrics.shortDescription": "PostgreSQL から内部メトリックを取得します。", - "home.tutorials.prometheusMetrics.artifacts.application.label": "Discover", - "home.tutorials.prometheusMetrics.longDescription": "Metricbeat モジュール「{moduleName}」は、Prometheus エンドポイントからメトリックを取得します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.prometheusMetrics.nameTitle": "Prometheus メトリック", - "home.tutorials.prometheusMetrics.shortDescription": "Prometheus エクスポーターからメトリックを取得します。", - "home.tutorials.rabbitmqLogs.artifacts.application.label": "Discover", - "home.tutorials.rabbitmqLogs.longDescription": "これは[RabbitMQ ログファイル] (https://www.rabbitmq.com/logging.html) を解析するモジュールです。 [詳細] ({learnMoreLink}) 。", - "home.tutorials.rabbitmqLogs.nameTitle": "RabbitMQ ログ", - "home.tutorials.rabbitmqLogs.shortDescription": "RabbitMQ ログを収集します。", - "home.tutorials.rabbitmqMetrics.artifacts.dashboards.linkLabel": "RabbitMQ メトリックダッシュボード", - "home.tutorials.rabbitmqMetrics.longDescription": "Metricbeat モジュール「rabbitmq」は、RabbitMQ サーバーから内部メトリックを取得します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.rabbitmqMetrics.nameTitle": "RabbitMQ メトリック", - "home.tutorials.rabbitmqMetrics.shortDescription": "RabbitMQ サーバーから内部メトリックを取得します。", - "home.tutorials.radwareLogs.artifacts.dashboards.linkLabel": "セキュリティアプリ", - "home.tutorials.radwareLogs.longDescription": "これは、Syslog またはファイルで Radware DefensePro ログを受信するためのモジュールです。[詳細] ({learnMoreLink}) 。", - "home.tutorials.radwareLogs.nameTitle": "Radware DefensePro ログ", - "home.tutorials.radwareLogs.shortDescription": "Syslog またはファイルから Radware DefensePro ログを収集します。", - "home.tutorials.redisenterpriseMetrics.artifacts.application.label": "Discover", - "home.tutorials.redisenterpriseMetrics.longDescription": "Metricbeat モジュール「redisenterprise」は Redis Enterprise Server 監視メトリックを取得します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.redisenterpriseMetrics.nameTitle": "Redis Enterprise メトリック", - "home.tutorials.redisenterpriseMetrics.shortDescription": "Redis Enterprise Server から監視メトリックを取得します。", - "home.tutorials.redisLogs.artifacts.dashboards.linkLabel": "Redis ログダッシュボード", - "home.tutorials.redisLogs.longDescription": "「redis」Filebeat モジュールは、Redis が作成したエラーとスローログをパースします。Redis がエラーログを作成するには、Redis 構成ファイルの「logfile」オプションが「redis-server.log」に設定されていることを確認してください。スローログは「SLOWLOG」コマンドで Redis から直接的に読み込まれます。Redis でスローログを記録するには、「slowlog-log-slower-than」オプションが設定されていることを確認してください。「slowlog」ファイルセットは実験的なものであることに注意してください。[詳細] ({learnMoreLink}) 。", - "home.tutorials.redisLogs.nameTitle": "Redis ログ", - "home.tutorials.redisLogs.shortDescription": "Redis が作成したエラーとスローログを収集しパースします。", - "home.tutorials.redisMetrics.artifacts.dashboards.linkLabel": "Redis メトリックダッシュボード", - "home.tutorials.redisMetrics.longDescription": "Metricbeat モジュール「redis」は、Redis サーバーから内部メトリックを取得します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.redisMetrics.nameTitle": "Redis メトリック", - "home.tutorials.redisMetrics.shortDescription": "Redis から内部メトリックを取得します。", - "home.tutorials.santaLogs.artifacts.dashboards.linkLabel": "Santa 概要", - "home.tutorials.santaLogs.longDescription": "このモジュールは、プロセス実行を監視し、バイナリをブラックリスト/ホワイトリストに登録できる macOS 向けのセキュリティツールである [Google Santa] (https://github.com/google/santa) からログを収集して解析します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.santaLogs.nameTitle": "Google Santa ログ", - "home.tutorials.santaLogs.shortDescription": "MacOS でのプロセス実行に関する Google Santa ログを収集します。", - "home.tutorials.sonicwallLogs.longDescription": "これは、Syslog またはファイルで Sonicwall-FW ログを受信するためのモジュールです。[詳細] ({learnMoreLink}) 。", - "home.tutorials.sonicwallLogs.nameTitle": "Sonicwall FW ログ", - "home.tutorials.sonicwallLogs.shortDescription": "Syslog またはファイルから Sonicwall-FW ログを収集します。", - "home.tutorials.sophosLogs.artifacts.dashboards.linkLabel": "セキュリティアプリ", - "home.tutorials.sophosLogs.longDescription": "これは Sophos 製品用モジュールであり、Syslog 形式で送信された XG SFOS ログが現在サポートされています。[詳細] ({learnMoreLink}) 。", - "home.tutorials.sophosLogs.nameTitle": "Sophos ログ", - "home.tutorials.sophosLogs.shortDescription": "Syslog で Sophos XG SFOS ログを収集します。", - "home.tutorials.squidLogs.artifacts.dashboards.linkLabel": "セキュリティアプリ", - "home.tutorials.squidLogs.longDescription": "これは、Syslog またはファイルで Squid ログを受信するためのモジュールです。[詳細] ({learnMoreLink}) 。", - "home.tutorials.squidLogs.nameTitle": "Squid ログ", - "home.tutorials.squidLogs.shortDescription": "Syslog またはファイルから Squid ログを収集します。", - "home.tutorials.stanMetrics.artifacts.dashboards.linkLabel": "Stan メトリックダッシュボード", - "home.tutorials.stanMetrics.longDescription": "Metricbeat モジュール「stan」は、STAN から監視メトリックを取得します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.stanMetrics.nameTitle": "STAN メトリック", - "home.tutorials.stanMetrics.shortDescription": "STAN サーバーから監視メトリックを取得します。", - "home.tutorials.statsdMetrics.longDescription": "Metricbeat モジュール「statsd」は、statsd から監視メトリックを取得します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.statsdMetrics.nameTitle": "statsd メトリック", - "home.tutorials.statsdMetrics.shortDescription": "statsd から監視メトリックを取得します。", - "home.tutorials.suricataLogs.artifacts.dashboards.linkLabel": "Suricata イベント概要", - "home.tutorials.suricataLogs.longDescription": "このモジュールは Suricata IDS/IPS/NSM ログ用です。[Suricata Eve JSON 形式] (https://suricata.readthedocs.io/en/latest/output/eve/eve-json-format.html) のログを解析します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.suricataLogs.nameTitle": "Suricata ログ", - "home.tutorials.suricataLogs.shortDescription": "Suricata IDS/IPS/NSM ログを収集します。", - "home.tutorials.systemLogs.artifacts.dashboards.linkLabel": "システム Syslog ダッシュボード", - "home.tutorials.systemLogs.longDescription": "このモジュールは、一般的な Unix/Linux ベースのディストリビューションのシステムログサービスが作成したログを収集し解析します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.systemLogs.nameTitle": "システムログ", - "home.tutorials.systemLogs.shortDescription": "一般的な Unix/Linux ベースのディストリビューションのシステムログを収集します。", - "home.tutorials.systemMetrics.artifacts.dashboards.linkLabel": "システムメトリックダッシュボード", - "home.tutorials.systemMetrics.longDescription": "Metricbeat モジュール「system」は、ホストから CPU、メモリー、ネットワーク、ディスクの統計を収集します。システム全体の統計とプロセスやファイルシステムごとの統計を収集します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.systemMetrics.nameTitle": "システムメトリック", - "home.tutorials.systemMetrics.shortDescription": "ホストから CPU、メモリー、ネットワーク、ディスクの統計を収集します。", - "home.tutorials.tomcatLogs.artifacts.dashboards.linkLabel": "セキュリティアプリ", - "home.tutorials.tomcatLogs.longDescription": "これは、Syslog またはファイルで Apache Tomcat ログを受信するためのモジュールです。[詳細] ({learnMoreLink}) 。", - "home.tutorials.tomcatLogs.nameTitle": "Tomcat ログ", - "home.tutorials.tomcatLogs.shortDescription": "Syslog またはファイルから Apache Tomcat ログを収集します。", - "home.tutorials.traefikLogs.artifacts.dashboards.linkLabel": "Traefik アクセスログ", - "home.tutorials.traefikLogs.longDescription": "このモジュールは[Træfik] (https://traefik.io/) により作成されたアクセスログを解析します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.traefikLogs.nameTitle": "Traefik ログ", - "home.tutorials.traefikLogs.shortDescription": "Traefik アクセスログを収集します。", - "home.tutorials.traefikMetrics.longDescription": "Metricbeat モジュール「traefik」は、Traefik から監視メトリックを取得します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.traefikMetrics.nameTitle": "Traefik メトリック", - "home.tutorials.traefikMetrics.shortDescription": "Traefik から監視メトリックを取得します。", - "home.tutorials.uptimeMonitors.artifacts.dashboards.linkLabel": "Uptime アプリ", - "home.tutorials.uptimeMonitors.longDescription": "アクティブなプロービングでサービスの稼働状況を監視します。 Heartbeat は URL のリストに基づいて質問します。稼働していますか? [詳細] ({learnMoreLink}) 。", - "home.tutorials.uptimeMonitors.nameTitle": "稼働状況監視", - "home.tutorials.uptimeMonitors.shortDescription": "サービスの稼働状況を監視します。", - "home.tutorials.uwsgiMetrics.artifacts.dashboards.linkLabel": "uWSGI メトリックダッシュボード", - "home.tutorials.uwsgiMetrics.longDescription": "Metricbeat モジュール「uwsgi」は、uWSGI サーバーから内部メトリックを取得します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.uwsgiMetrics.nameTitle": "uWSGI メトリック", - "home.tutorials.uwsgiMetrics.shortDescription": "uWSGI サーバーから内部メトリックを取得します。", - "home.tutorials.vsphereMetrics.artifacts.application.label": "Discover", - "home.tutorials.vsphereMetrics.longDescription": "「vsphere」Metricbeat モジュールは、vSphere クラスターから内部メトリックを取得します。 [詳細] ({learnMoreLink}) 。", - "home.tutorials.vsphereMetrics.nameTitle": "vSphere メトリック", - "home.tutorials.vsphereMetrics.shortDescription": "vSphere から内部メトリックを取得します。", - "home.tutorials.windowsEventLogs.artifacts.application.label": "SIEM アプリ", - "home.tutorials.windowsEventLogs.longDescription": "Winlogbeat を使用して Windows イベントログからログを収集します。[詳細] ({learnMoreLink}) 。", - "home.tutorials.windowsEventLogs.nameTitle": "Windows イベントログ", - "home.tutorials.windowsEventLogs.shortDescription": "Windows イベントログからイベントを取得します。", - "home.tutorials.windowsMetrics.artifacts.application.label": "Discover", - "home.tutorials.windowsMetrics.longDescription": "「windows」Metricbeat モジュールは、Windows から内部メトリックを取得します。 [詳細] ({learnMoreLink}) 。", - "home.tutorials.windowsMetrics.nameTitle": "Windows メトリック", - "home.tutorials.windowsMetrics.shortDescription": "Windows から内部メトリックを取得します。", - "home.tutorials.zeekLogs.artifacts.dashboards.linkLabel": "Zeek 概要", - "home.tutorials.zeekLogs.longDescription": "これは Zeek (旧称 Bro) のモジュールです。[Zeek JSON 形式] (https://www.zeek.org/manual/release/logs/index.html) のログを解析します。 [詳細] ({learnMoreLink}) 。", - "home.tutorials.zeekLogs.nameTitle": "Zeek ログ", - "home.tutorials.zeekLogs.shortDescription": "Zeek ネットワークセキュリティ監視ログを収集します。", - "home.tutorials.zookeeperMetrics.artifacts.application.label": "Discover", - "home.tutorials.zookeeperMetrics.longDescription": "「{moduleName}」Metricbeat モジュールは、Zookeeper サーバーから内部メトリックを取得します。 [詳細] ({learnMoreLink}) 。", - "home.tutorials.zookeeperMetrics.nameTitle": "Zookeeper メトリック", - "home.tutorials.zookeeperMetrics.shortDescription": "Zookeeper サーバーから内部メトリックを取得します。", - "home.tutorials.zscalerLogs.artifacts.dashboards.linkLabel": "セキュリティアプリ", - "home.tutorials.zscalerLogs.longDescription": "これは、Syslog またはファイルで Zscaler NSS ログを受信するためのモジュールです。[詳細] ({learnMoreLink}) 。", - "home.tutorials.zscalerLogs.nameTitle": "Zscaler ログ", - "home.tutorials.zscalerLogs.shortDescription": "これは、Syslog またはファイルで Zscaler NSS ログを受信するためのモジュールです。", - "home.welcomeTitle": "Elasticへようこそ", - "indexPatternFieldEditor.color.actions": "アクション", - "indexPatternFieldEditor.color.addColorButton": "色を追加", - "indexPatternFieldEditor.color.backgroundLabel": "背景色", - "indexPatternFieldEditor.color.deleteAria": "削除", - "indexPatternFieldEditor.color.deleteTitle": "色のフォーマットを削除", - "indexPatternFieldEditor.color.exampleLabel": "例", - "indexPatternFieldEditor.color.patternLabel": "パターン (正規表現) ", - "indexPatternFieldEditor.color.rangeLabel": "範囲 (min:max) ", - "indexPatternFieldEditor.color.textColorLabel": "文字の色", - "indexPatternFieldEditor.date.documentationLabel": "ドキュメント", - "indexPatternFieldEditor.date.momentLabel": "Moment.jsのフォーマットパターン (デフォルト:{defaultPattern}) ", - "indexPatternFieldEditor.defaultErrorMessage": "このフォーマット構成の使用を試みた際にエラーが発生しました:{message}", - "indexPatternFieldEditor.defaultFormatDropDown": "- デフォルト -", - "indexPatternFieldEditor.defaultFormatHeader": "フォーマット (デフォルト:{defaultFormat}) ", - "indexPatternFieldEditor.deleteField.savedHeader": "「{fieldName}」が保存されました", - "indexPatternFieldEditor.deleteRuntimeField.confirmationModal.cancelButtonLabel": "キャンセル", - "indexPatternFieldEditor.deleteRuntimeField.confirmationModal.removeButtonLabel": "フィールドの削除", - "indexPatternFieldEditor.deleteRuntimeField.confirmationModal.removeMultipleButtonLabel": "フィールドの削除", - "indexPatternFieldEditor.deleteRuntimeField.confirmationModal.saveButtonLabel": "変更を保存", - "indexPatternFieldEditor.deleteRuntimeField.confirmModal.deleteMultipleTitle": "{count}個のフィールドを削除", - "indexPatternFieldEditor.deleteRuntimeField.confirmModal.deleteSingleTitle": "フィールド'{name}'を削除", - "indexPatternFieldEditor.deleteRuntimeField.confirmModal.multipleDeletionDescription": "これらのランタイムフィールドを削除しようとしています。", - "indexPatternFieldEditor.deleteRuntimeField.confirmModal.typeConfirm": "REMOVEと入力すると確認します", - "indexPatternFieldEditor.deleteRuntimeField.confirmModal.warningChangingFields": "名前または型を変更すると、このフィールドに依存する検索およびビジュアライゼーションが破損する可能性があります。", - "indexPatternFieldEditor.deleteRuntimeField.confirmModal.warningRemovingFields": "フィールドを削除すると、このフィールドに依存する検索およびビジュアライゼーションが破損する可能性があります。", - "indexPatternFieldEditor.duration.decimalPlacesLabel": "小数部分の桁数", - "indexPatternFieldEditor.duration.includeSpace": "サフィックスと値の間にスペースを入れる", - "indexPatternFieldEditor.duration.inputFormatLabel": "インプット形式", - "indexPatternFieldEditor.duration.outputFormatLabel": "アウトプット形式", - "indexPatternFieldEditor.duration.showSuffixLabel": "接尾辞を表示", - "indexPatternFieldEditor.duration.showSuffixLabel.short": "短縮サフィックスを使用", - "indexPatternFieldEditor.durationErrorMessage": "小数部分の桁数は0から20までの間で指定する必要があります", - "indexPatternFieldEditor.editor.flyoutDefaultTitle": "フィールドを作成", - "indexPatternFieldEditor.editor.flyoutEditFieldSubtitle": "インデックスパターン:{patternName}", - "indexPatternFieldEditor.editor.flyoutEditFieldTitle": "「{fieldName}」フィールドの編集", - "indexPatternFieldEditor.editor.flyoutSaveButtonLabel": "保存", - "indexPatternFieldEditor.editor.form.advancedSettings.hideButtonLabel": "高度な SIEM 設定の非表示化", - "indexPatternFieldEditor.editor.form.advancedSettings.showButtonLabel": "高度なSIEM設定の表示", - "indexPatternFieldEditor.editor.form.changeWarning": "名前または型を変更すると、このフィールドに依存する検索およびビジュアライゼーションが破損する可能性があります。", - "indexPatternFieldEditor.editor.form.customLabelDescription": "Discover、Maps、Visualizeでフィールド名の代わりに表示するラベルを作成します。長いフィールド名を短くする際に役立ちます。 クエリとフィルターは元のフィールド名を使用します。", - "indexPatternFieldEditor.editor.form.customLabelLabel": "カスタムラベル", - "indexPatternFieldEditor.editor.form.customLabelTitle": "カスタムラベルを設定", - "indexPatternFieldEditor.editor.form.defineFieldLabel": "スクリプトを定義", - "indexPatternFieldEditor.editor.form.fieldShadowingCalloutDescription": "このフィールドはマッピングされたフィールドの名前を共有します。このフィールドの値は検索結果に返されます。", - "indexPatternFieldEditor.editor.form.fieldShadowingCalloutTitle": "フィールドシャドーイング", - "indexPatternFieldEditor.editor.form.formatDescription": "値を表示する任意の形式を設定します。形式を変更すると値に影響し、Discoverでのハイライトができない可能性があります。", - "indexPatternFieldEditor.editor.form.formatTitle": "フォーマットの設定", - "indexPatternFieldEditor.editor.form.nameAriaLabel": "名前フィールド", - "indexPatternFieldEditor.editor.form.nameLabel": "名前", - "indexPatternFieldEditor.editor.form.popularityDescription": "ポピュラリティを調整し、フィールドリストでフィールドを上下に表示させます。 デフォルトでは、Discoverは選択の多いものから選択の少ないものの順に表示します。", - "indexPatternFieldEditor.editor.form.popularityLabel": "利用頻度", - "indexPatternFieldEditor.editor.form.popularityTitle": "ポピュラリティ", - "indexPatternFieldEditor.editor.form.runtimeType.placeholderLabel": "タイプを選択", - "indexPatternFieldEditor.editor.form.runtimeTypeLabel": "型", - "indexPatternFieldEditor.editor.form.script.learnMoreLinkText": "スクリプト構文の詳細を参照してください。", - "indexPatternFieldEditor.editor.form.scriptEditor.compileErrorMessage": "Painlessスクリプトのコンパイルエラー", - "indexPatternFieldEditor.editor.form.scriptEditor.debugErrorMessage": "構文エラー詳細", - "indexPatternFieldEditor.editor.form.scriptEditorAriaLabel": "スクリプトエディター", - "indexPatternFieldEditor.editor.form.scriptEditorValidationMessage": "無効なPainless構文です。", - "indexPatternFieldEditor.editor.form.source.scriptFieldHelpText": "スクリプトがないランタイムフィールドは、{source}から値を取得します。フィールドが_sourceに存在しない場合は、検索リクエストは値を返しません。{learnMoreLink}", - "indexPatternFieldEditor.editor.form.typeSelectAriaLabel": "タイプ選択", - "indexPatternFieldEditor.editor.form.validations.customLabelIsRequiredErrorMessage": "フィールドにラベルを付けます。", - "indexPatternFieldEditor.editor.form.validations.nameIsRequiredErrorMessage": "名前が必要です。", - "indexPatternFieldEditor.editor.form.validations.popularityGreaterThan0ErrorMessage": "ポピュラリティはゼロ以上でなければなりません。", - "indexPatternFieldEditor.editor.form.validations.popularityIsRequiredErrorMessage": "フィールドにポピュラリティを割り当てます。", - "indexPatternFieldEditor.editor.form.validations.scriptIsRequiredErrorMessage": "フィールド値を設定するには、スクリプトが必要です。", - "indexPatternFieldEditor.editor.form.valueDescription": "{source}の同じ名前のフィールドから取得するのではなく、フィールドの値を設定します。", - "indexPatternFieldEditor.editor.form.valueTitle": "値を設定", - "indexPatternFieldEditor.editor.runtimeFieldsEditor.existRuntimeFieldNamesValidationErrorMessage": "この名前のフィールドはすでに存在します。", - "indexPatternFieldEditor.editor.validationErrorTitle": "続行する前にフォームのエラーを修正してください。", - "indexPatternFieldEditor.formatHeader": "フォーマット", - "indexPatternFieldEditor.histogram.histogramAsNumberLabel": "アグリゲーションされた数値形式", - "indexPatternFieldEditor.histogram.numeralLabel": "数値形式パターン (任意) ", - "indexPatternFieldEditor.histogram.subFormat.bytes": "バイト", - "indexPatternFieldEditor.histogram.subFormat.number": "数字", - "indexPatternFieldEditor.histogram.subFormat.percent": "割合 (%) ", - "indexPatternFieldEditor.noSuchFieldName": "フィールド名'{fieldName}'はインデックスパターンで見つかりません", - "indexPatternFieldEditor.number.documentationLabel": "ドキュメント", - "indexPatternFieldEditor.number.numeralLabel": "Numeral.js のフォーマットパターン (デフォルト: {defaultPattern})", - "indexPatternFieldEditor.samples.inputHeader": "インプット", - "indexPatternFieldEditor.samples.outputHeader": "アウトプット", - "indexPatternFieldEditor.samplesHeader": "サンプル", - "indexPatternFieldEditor.save.deleteErrorTitle": "フィールド削除を保存できませんでした", - "indexPatternFieldEditor.save.errorTitle": "フィールド変更を保存できませんでした", - "indexPatternFieldEditor.saveRuntimeField.confirmationModal.cancelButtonLabel": "キャンセル", - "indexPatternFieldEditor.saveRuntimeField.confirmModal.title": "変更を'{name}'に保存", - "indexPatternFieldEditor.saveRuntimeField.confirmModal.typeConfirm": "続行するにはCHANGEと入力します", - "indexPatternFieldEditor.staticLookup.actions": "アクション", - "indexPatternFieldEditor.staticLookup.addEntryButton": "エントリーを追加", - "indexPatternFieldEditor.staticLookup.deleteAria": "削除", - "indexPatternFieldEditor.staticLookup.deleteTitle": "エントリーの削除", - "indexPatternFieldEditor.staticLookup.keyLabel": "キー", - "indexPatternFieldEditor.staticLookup.leaveBlankPlaceholder": "値をそのままにするには空欄にします", - "indexPatternFieldEditor.staticLookup.unknownKeyLabel": "不明なキーの値", - "indexPatternFieldEditor.staticLookup.valueLabel": "値", - "indexPatternFieldEditor.string.transformLabel": "変換", - "indexPatternFieldEditor.truncate.lengthLabel": "フィールドの長さ", - "indexPatternFieldEditor.url.heightLabel": "高さ", - "indexPatternFieldEditor.url.labelTemplateHelpText": "ラベルテンプレートのヘルプ", - "indexPatternFieldEditor.url.labelTemplateLabel": "ラベルテンプレート", - "indexPatternFieldEditor.url.offLabel": "オフ", - "indexPatternFieldEditor.url.onLabel": "オン", - "indexPatternFieldEditor.url.openTabLabel": "新規タブで開く", - "indexPatternFieldEditor.url.template.helpLinkText": "URLテンプレートのヘルプ", - "indexPatternFieldEditor.url.typeLabel": "型", - "indexPatternFieldEditor.url.urlTemplateLabel": "URLテンプレート", - "indexPatternFieldEditor.url.widthLabel": "幅", - "indexPatternManagement.actions.cancelButton": "キャンセル", - "indexPatternManagement.actions.createButton": "フィールドを作成", - "indexPatternManagement.actions.deleteButton": "削除", - "indexPatternManagement.actions.saveButton": "フィールドを保存", - "indexPatternManagement.createHeader": "スクリプトフィールドを作成", - "indexPatternManagement.customLabel": "カスタムラベル", - "indexPatternManagement.defaultFormatDropDown": "- デフォルト -", - "indexPatternManagement.defaultFormatHeader": "フォーマット (デフォルト:{defaultFormat}) ", - "indexPatternManagement.deleteField.cancelButton": "キャンセル", - "indexPatternManagement.deleteField.deleteButton": "削除", - "indexPatternManagement.deleteField.deletedHeader": "「{fieldName}」が削除されました", - "indexPatternManagement.deleteField.savedHeader": "「{fieldName}」が保存されました", - "indexPatternManagement.deleteFieldHeader": "フィールド「{fieldName}」を削除", - "indexPatternManagement.deleteFieldLabel": "削除されたフィールドは復元できません。{separator}続行してよろしいですか?", - "indexPatternManagement.disabledCallOutHeader": "スクリプティングが無効です", - "indexPatternManagement.disabledCallOutLabel": "Elasticsearchでのすべてのインラインスクリプティングが無効になっています。Kibanaでスクリプトフィールドを使用するには、インラインスクリプティングを有効にする必要があります。", - "indexPatternManagement.editHeader": "{fieldName}を編集", - "indexPatternManagement.editIndexPattern.deleteButton": "削除", - "indexPatternManagement.editIndexPattern.deleteHeader": "インデックスパターンを削除しますか?", - "indexPatternManagement.editIndexPattern.deprecation": "スクリプトフィールドは廃止予定です。代わりに{runtimeDocs}を使用してください。", - "indexPatternManagement.editIndexPattern.detailsAria": "インデックスパターンの詳細", - "indexPatternManagement.editIndexPattern.fields.addFieldButtonLabel": "フィールドの追加", - "indexPatternManagement.editIndexPattern.fields.allLangsDropDown": "すべての言語", - "indexPatternManagement.editIndexPattern.fields.allTypesDropDown": "すべてのフィールドタイプ", - "indexPatternManagement.editIndexPattern.fields.filterAria": "フィールドタイプをフィルター", - "indexPatternManagement.editIndexPattern.fields.filterPlaceholder": "検索", - "indexPatternManagement.editIndexPattern.fields.searchAria": "検索フィールド", - "indexPatternManagement.editIndexPattern.fields.table.additionalInfoAriaLabel": "追加フィールド情報", - "indexPatternManagement.editIndexPattern.fields.table.aggregatableDescription": "これらのフィールドはビジュアライゼーションの集約に使用できます", - "indexPatternManagement.editIndexPattern.fields.table.aggregatableLabel": "集約可能", - "indexPatternManagement.editIndexPattern.fields.table.customLabelTooltip": "フィールドのカスタムラベル。", - "indexPatternManagement.editIndexPattern.fields.table.deleteDescription": "削除", - "indexPatternManagement.editIndexPattern.fields.table.deleteLabel": "削除", - "indexPatternManagement.editIndexPattern.fields.table.editDescription": "編集", - "indexPatternManagement.editIndexPattern.fields.table.editLabel": "編集", - "indexPatternManagement.editIndexPattern.fields.table.excludedDescription": "取得の際に_sourceから除外されるフィールドです", - "indexPatternManagement.editIndexPattern.fields.table.excludedLabel": "除外", - "indexPatternManagement.editIndexPattern.fields.table.formatHeader": "フォーマット", - "indexPatternManagement.editIndexPattern.fields.table.isAggregatableAria": "は集約可能です", - "indexPatternManagement.editIndexPattern.fields.table.isExcludedAria": "は除外されています", - "indexPatternManagement.editIndexPattern.fields.table.isSearchableAria": "は検索可能です", - "indexPatternManagement.editIndexPattern.fields.table.multiTypeAria": "複数タイプのフィールド", - "indexPatternManagement.editIndexPattern.fields.table.multiTypeTooltip": "このフィールドのタイプはインデックスごとに変わります。多くの分析機能には使用できません。", - "indexPatternManagement.editIndexPattern.fields.table.nameHeader": "名前", - "indexPatternManagement.editIndexPattern.fields.table.primaryTimeAriaLabel": "プライマリ時間フィールド", - "indexPatternManagement.editIndexPattern.fields.table.primaryTimeTooltip": "このフィールドはイベントの発生時刻を表します。", - "indexPatternManagement.editIndexPattern.fields.table.runtimeIconTipText": "このフィールドはインデックスパターンにのみ存在します。", - "indexPatternManagement.editIndexPattern.fields.table.runtimeIconTipTitle": "ランタイムフィールド", - "indexPatternManagement.editIndexPattern.fields.table.searchableDescription": "これらのフィールドはフィルターバーで使用できます", - "indexPatternManagement.editIndexPattern.fields.table.searchableHeader": "検索可能", - "indexPatternManagement.editIndexPattern.fields.table.typeHeader": "型", - "indexPatternManagement.editIndexPattern.list.defaultIndexPatternListName": "デフォルト", - "indexPatternManagement.editIndexPattern.mappingConflictHeader": "マッピングの矛盾", - "indexPatternManagement.editIndexPattern.removeAria": "インデックスパターンを削除します。", - "indexPatternManagement.editIndexPattern.removeTooltip": "インデックスパターンを削除します。", - "indexPatternManagement.editIndexPattern.scripted.addFieldButton": "スクリプトフィールドを追加", - "indexPatternManagement.editIndexPattern.scripted.deleteField.cancelButton": "キャンセル", - "indexPatternManagement.editIndexPattern.scripted.deleteField.deleteButton": "削除", - "indexPatternManagement.editIndexPattern.scripted.deleteFieldLabel": "スクリプトフィールド「{fieldName}」を削除しますか?", - "indexPatternManagement.editIndexPattern.scripted.deprecationLangHeader": "廃止された言語が使用されています", - "indexPatternManagement.editIndexPattern.scripted.deprecationLangLabel.deprecationLangDetail": "次の廃止された言語が使用されています。{deprecatedLangsInUse}これらの言語は、KibanaとElasticsearchの次のメジャーバージョンでサポートされなくなります。問題を避けるため、スクリプトフィールドを{link}に変換してください。", - "indexPatternManagement.editIndexPattern.scripted.deprecationLangLabel.painlessDescription": "Painless", - "indexPatternManagement.editIndexPattern.scripted.newFieldPlaceholder": "新規スクリプトフィールド", - "indexPatternManagement.editIndexPattern.scripted.noFieldLabel": "「{indexPatternTitle}」インデックスパターンには「{fieldName}」というスクリプトフィールドがありません", - "indexPatternManagement.editIndexPattern.scripted.table.deleteDescription": "このフィールドを削除します", - "indexPatternManagement.editIndexPattern.scripted.table.deleteHeader": "削除", - "indexPatternManagement.editIndexPattern.scripted.table.editDescription": "このフィールドを編集します", - "indexPatternManagement.editIndexPattern.scripted.table.editHeader": "編集", - "indexPatternManagement.editIndexPattern.scripted.table.formatDescription": "フィールドに使用されているフォーマットです", - "indexPatternManagement.editIndexPattern.scripted.table.formatHeader": "フォーマット", - "indexPatternManagement.editIndexPattern.scripted.table.langDescription": "フィールドに使用されている言語です", - "indexPatternManagement.editIndexPattern.scripted.table.langHeader": "言語", - "indexPatternManagement.editIndexPattern.scripted.table.nameDescription": "フィールドの名前です", - "indexPatternManagement.editIndexPattern.scripted.table.nameHeader": "名前", - "indexPatternManagement.editIndexPattern.scripted.table.scriptDescription": "フィールドのスクリプトです", - "indexPatternManagement.editIndexPattern.scripted.table.scriptHeader": "スクリプト", - "indexPatternManagement.editIndexPattern.scriptedLabel": "スクリプトフィールドはビジュアライゼーションで使用され、ドキュメントに表示できます。ただし、検索することはできません。", - "indexPatternManagement.editIndexPattern.setDefaultAria": "デフォルトのインデックスに設定します。", - "indexPatternManagement.editIndexPattern.setDefaultTooltip": "デフォルトのインデックスに設定します。", - "indexPatternManagement.editIndexPattern.source.addButtonLabel": "追加", - "indexPatternManagement.editIndexPattern.source.deleteFilter.cancelButtonLabel": "キャンセル", - "indexPatternManagement.editIndexPattern.source.deleteFilter.deleteButtonLabel": "削除", - "indexPatternManagement.editIndexPattern.source.deleteSourceFilterLabel": "フィールドフィルター「{value}」を削除しますか?", - "indexPatternManagement.editIndexPattern.source.noteLabel": "下の表で、マルチフィールドが一致として誤って表示されます。これらのフィルターは、オリジナルのソースドキュメントのフィールドのみに適用されるため、一致するマルチフィールドはフィルタリングされません。", - "indexPatternManagement.editIndexPattern.source.table.cancelAria": "キャンセル", - "indexPatternManagement.editIndexPattern.source.table.deleteAria": "削除", - "indexPatternManagement.editIndexPattern.source.table.editAria": "編集", - "indexPatternManagement.editIndexPattern.source.table.filterDescription": "フィルター名", - "indexPatternManagement.editIndexPattern.source.table.filterHeader": "フィルター", - "indexPatternManagement.editIndexPattern.source.table.matchesDescription": "フィールドに使用されている言語です", - "indexPatternManagement.editIndexPattern.source.table.matchesHeader": "一致", - "indexPatternManagement.editIndexPattern.source.table.notMatchedLabel": "ソースフィルターが既知のフィールドと一致しません。", - "indexPatternManagement.editIndexPattern.source.table.saveAria": "保存", - "indexPatternManagement.editIndexPattern.sourceLabel": "フィールドフィルターは、ドキュメントの取得時に 1 つまたは複数のフィールドを除外するのに使用される場合もあります。これは Discover アプリでのドキュメントの表示中、またはダッシュボードアプリの保存された検索の結果を表示する表で起こります。ドキュメントに大きなフィールドや重要ではないフィールドが含まれている場合、この程度の低いレベルでフィルターにより除外すると良いかもしれません。", - "indexPatternManagement.editIndexPattern.sourcePlaceholder": "フィールドフィルター、ワイルドカード使用可 (例:「user*」と入力して「user」で始まるフィールドをフィルタリング) ", - "indexPatternManagement.editIndexPattern.tabs.fieldsHeader": "フィールド", - "indexPatternManagement.editIndexPattern.tabs.scriptedHeader": "スクリプトフィールド", - "indexPatternManagement.editIndexPattern.tabs.sourceHeader": "フィールドフィルター", - "indexPatternManagement.editIndexPattern.timeFilterHeader": "時刻フィールド:「{timeFieldName}」", - "indexPatternManagement.editIndexPattern.timeFilterLabel.mappingAPILink": "フィールドマッピング", - "indexPatternManagement.editIndexPattern.timeFilterLabel.timeFilterDetail": "{indexPatternTitle}でフィールドを表示して編集します。型や検索可否などのフィールド属性はElasticsearchで{mappingAPILink}に基づきます。", - "indexPatternManagement.fieldTypeConflict": "フィールドタイプの矛盾", - "indexPatternManagement.formatHeader": "フォーマット", - "indexPatternManagement.formatLabel": "フォーマットは、特定の値の表示形式を管理できます。また、値を完全に変更したり、Discover でのハイライト機能を無効にしたりすることも可能です。", - "indexPatternManagement.header.runtimeLink": "ランタイムフィールド", - "indexPatternManagement.indexNameLabel": "インデックス名", - "indexPatternManagement.indexPattern.sectionsHeader": "インデックスパターン", - "indexPatternManagement.indexPatterns.badge.readOnly.text": "読み取り専用", - "indexPatternManagement.indexPatterns.badge.readOnly.tooltip": "インデックスパターンを保存できません", - "indexPatternManagement.indexPatterns.createBreadcrumb": "インデックスパターンを作成", - "indexPatternManagement.indexPatterns.createFieldBreadcrumb": "フィールドを作成", - "indexPatternManagement.indexPatterns.listBreadcrumb": "インデックスパターン", - "indexPatternManagement.indexPatternTable.createBtn": "インデックスパターンを作成", - "indexPatternManagement.indexPatternTable.indexPatternExplanation": "Elasticsearchからのデータの取得に役立つインデックスパターンを作成して管理します。", - "indexPatternManagement.indexPatternTable.title": "インデックスパターン", - "indexPatternManagement.labelHelpText": "このフィールドが Discover、Maps、Visualize に表示されるときに使用するカスタムラベルを設定します。現在、クエリとフィルターはカスタムラベルをサポートせず、元のフィールド名が使用されます。", - "indexPatternManagement.languageLabel": "言語", - "indexPatternManagement.mappingConflictLabel.mappingConflictDetail": "{mappingConflict} {fieldName}というフィールドはすでに存在します。スクリプトフィールドに同じ名前を付けると、同時に両方のフィールドにクエリが実行できなくなります。", - "indexPatternManagement.mappingConflictLabel.mappingConflictLabel": "マッピングの矛盾:", - "indexPatternManagement.multiTypeLabelDesc": "このフィールドのタイプはインデックスごとに変わります。多くの分析機能には使用できません。タイプごとのインデックスは次のとおりです。", - "indexPatternManagement.nameErrorMessage": "名前が必要です", - "indexPatternManagement.nameLabel": "名前", - "indexPatternManagement.namePlaceholder": "新規スクリプトフィールド", - "indexPatternManagement.popularityLabel": "利用頻度", - "indexPatternManagement.script.accessWithLabel": "{code} でフィールドにアクセスします。", - "indexPatternManagement.script.getHelpLabel": "構文のヒントを得たり、スクリプトの結果をプレビューしたりできます。", - "indexPatternManagement.scriptedFieldsDeprecatedBody": "柔軟性とPainlessスクリプトサポートを強化するには、{runtimeDocs}を使用してください。", - "indexPatternManagement.scriptedFieldsDeprecatedTitle": "スクリプトフィールドは廃止予定です。", - "indexPatternManagement.scriptingLanguages.errorFetchingToastDescription": "Elasticsearchから利用可能なスクリプト言語の取得中にエラーが発生しました", - "indexPatternManagement.scriptInvalidErrorMessage": "スクリプトが無効です。詳細については、スクリプトプレビューを表示してください", - "indexPatternManagement.scriptLabel": "スクリプト", - "indexPatternManagement.scriptRequiredErrorMessage": "スクリプトが必要です", - "indexPatternManagement.syntax.default.formatLabel": "doc['some_field'].value", - "indexPatternManagement.syntax.defaultLabel.defaultDetail": "デフォルトで、KibanaのスクリプトフィールドはElasticsearchでの使用を目的に特別に開発されたシンプルでセキュアなスクリプト言語の{painless}を使用します。ドキュメントの値にアクセスするには次のフォーマットを使用します。", - "indexPatternManagement.syntax.defaultLabel.painlessLink": "Painless", - "indexPatternManagement.syntax.kibanaLabel": "現在、Kibanaでは、作成するPainlessスクリプトに特別な制限が1つ設定されています。Named関数を含めることができません。", - "indexPatternManagement.syntax.lucene.commonLabel.commonDetail": "Kibanaの旧バージョンからのアップグレードですか?おなじみの{lucene}は引き続きご利用いただけます。Lucene式はJavaScriptと非常に似ていますが、基本的な計算、ビット処理、比較オペレーション用に開発されたものです。", - "indexPatternManagement.syntax.lucene.commonLabel.luceneLink": "Lucene表現", - "indexPatternManagement.syntax.lucene.limits.fieldsLabel": "格納されたフィールドは利用できません", - "indexPatternManagement.syntax.lucene.limits.sparseLabel": "フィールドがまばらな (ドキュメントの一部にしか値がない) 場合、値がないドキュメントには 0 の値が入力されます", - "indexPatternManagement.syntax.lucene.limits.typesLabel": "数字、ブール、日付、geo_pointフィールドのみアクセスできます", - "indexPatternManagement.syntax.lucene.limitsLabel": "Lucene表現には次のいくつかの制限があります。", - "indexPatternManagement.syntax.lucene.operations.arithmeticLabel": "算術演算子:{operators}", - "indexPatternManagement.syntax.lucene.operations.bitwiseLabel": "ビット処理演算子:{operators}", - "indexPatternManagement.syntax.lucene.operations.booleanLabel": "ブール演算子 (三項演算子を含む) :{operators}", - "indexPatternManagement.syntax.lucene.operations.comparisonLabel": "比較演算子:{operators}", - "indexPatternManagement.syntax.lucene.operations.distanceLabel": "距離関数:{operators}", - "indexPatternManagement.syntax.lucene.operations.mathLabel": "一般的な関数:{operators}", - "indexPatternManagement.syntax.lucene.operations.miscellaneousLabel": "その他関数:{operators}", - "indexPatternManagement.syntax.lucene.operations.trigLabel": "三角ライブラリ関数:{operators}", - "indexPatternManagement.syntax.lucene.operationsLabel": "Lucene表現で利用可能なオペレーションは次のとおりです。", - "indexPatternManagement.syntax.painlessLabel.javaAPIsLink": "ネイティブJava API", - "indexPatternManagement.syntax.painlessLabel.painlessDetail": "Painlessは非常に強力かつ使いやすい言語です。多くの{javaAPIs}にアクセスすることができます。{syntax}について読めば、すぐに習得することができます!", - "indexPatternManagement.syntax.painlessLabel.syntaxLink": "構文", - "indexPatternManagement.syntaxHeader": "構文", - "indexPatternManagement.testScript.errorMessage": "スクリプト内にエラーがあります", - "indexPatternManagement.testScript.fieldsLabel": "追加フィールド", - "indexPatternManagement.testScript.fieldsPlaceholder": "選択してください...", - "indexPatternManagement.testScript.instructions": "スクリプトを実行すると、最初の検索結果10件をプレビューできます。追加フィールドを選択して結果に含み、コンテキストをさらに加えたり、特定の文書上でフィルターにクエリを追加したりすることもできます。", - "indexPatternManagement.testScript.resultsLabel": "最初の10件", - "indexPatternManagement.testScript.resultsTitle": "結果を表示", - "indexPatternManagement.testScript.submitButtonLabel": "スクリプトを実行", - "indexPatternManagement.typeLabel": "型", - "indexPatternManagement.warningCallOutLabel.callOutDetail": "この機能を使う前に、{scripFields}と{scriptsInAggregation}についてよく理解するようにしてください。計算値の表示と集約にスクリプトフィールドが使用できます。そのため非常に遅い場合があり、適切に行わないとKibanaが使用できなくなる可能性もあります。", - "indexPatternManagement.warningCallOutLabel.runtimeLink": "ランタイムフィールド", - "indexPatternManagement.warningCallOutLabel.scripFieldsLink": "スクリプトフィールド", - "indexPatternManagement.warningCallOutLabel.scriptsInAggregationLink": "集約におけるスクリプト", - "indexPatternManagement.warningHeader": "廃止警告:", - "indexPatternManagement.warningLabel.painlessLinkLabel": "Painless", - "indexPatternManagement.warningLabel.warningDetail": "{language}は廃止され、KibanaとElasticsearchの次のメジャーバージョンではサポートされなくなります。新規スクリプトフィールドには{painlessLink}を使うことをお勧めします。", - "inputControl.control.noIndexPatternTooltip": "index-pattern id が見つかりませんでした:{indexPatternId}.", - "inputControl.control.notInitializedTooltip": "コントロールが初期化されていません", - "inputControl.control.noValuesDisableTooltip": "「{indexPatternName}」インデックスパターンでいずれのドキュメントにも存在しない「{fieldName}」フィールドがフィルターの対象になっています。異なるフィールドを選択するか、このフィールドに値が入力されているドキュメントをインデックスしてください。", - "inputControl.editor.controlEditor.controlLabel": "コントロールラベル", - "inputControl.editor.controlEditor.moveControlDownAriaLabel": "コントロールを下に移動", - "inputControl.editor.controlEditor.moveControlUpAriaLabel": "コントロールを上に移動", - "inputControl.editor.controlEditor.removeControlAriaLabel": "コントロールを削除", - "inputControl.editor.controlsTab.addButtonLabel": "追加", - "inputControl.editor.controlsTab.select.addControlAriaLabel": "コントロールを追加", - "inputControl.editor.controlsTab.select.controlTypeAriaLabel": "コントロールタイプを選択してください", - "inputControl.editor.controlsTab.select.listDropDownOptionLabel": "オプションリスト", - "inputControl.editor.controlsTab.select.rangeDropDownOptionLabel": "範囲スライダー", - "inputControl.editor.fieldSelect.fieldLabel": "フィールド", - "inputControl.editor.fieldSelect.selectFieldPlaceholder": "フィールドを選択してください...", - "inputControl.editor.indexPatternSelect.patternLabel": "インデックスパターン", - "inputControl.editor.indexPatternSelect.patternPlaceholder": "インデックスパターンを選択してください...", - "inputControl.editor.listControl.dynamicOptions.stringFieldDescription": "「文字列」フィールドでのみ利用可能", - "inputControl.editor.listControl.dynamicOptions.updateDescription": "ユーザーインプットに対する更新オプション", - "inputControl.editor.listControl.dynamicOptionsLabel": "ダイナミックオプション", - "inputControl.editor.listControl.multiselectDescription": "複数選択を許可", - "inputControl.editor.listControl.multiselectLabel": "複数選択", - "inputControl.editor.listControl.parentDescription": "オプションは親コントロールの値がベースになっています。親が設定されていない場合は無効です。", - "inputControl.editor.listControl.parentLabel": "親コントロール", - "inputControl.editor.listControl.sizeDescription": "オプション数", - "inputControl.editor.listControl.sizeLabel": "サイズ", - "inputControl.editor.optionsTab.pinFiltersLabel": "すべてのアプリケーションのフィルターをピン付け", - "inputControl.editor.optionsTab.updateFilterLabel": "変更するごとに Kibana フィルターを更新", - "inputControl.editor.optionsTab.useTimeFilterLabel": "時間フィルターを使用", - "inputControl.editor.rangeControl.decimalPlacesLabel": "小数部分の桁数", - "inputControl.editor.rangeControl.stepSizeLabel": "ステップサイズ", - "inputControl.function.help": "インプットコントロールビジュアライゼーション", - "inputControl.listControl.disableTooltip": "「{label}」が設定されるまで無効です。", - "inputControl.listControl.unableToFetchTooltip": "用語を取得できません、エラー:{errorMessage}", - "inputControl.rangeControl.unableToFetchTooltip": "範囲 (最低値と最高値) を取得できません、エラー: {errorMessage}", - "inputControl.register.controlsDescription": "ドロップダウンメニューと範囲スライダーをダッシュボードに追加します。", - "inputControl.register.controlsTitle": "コントロール", - "inputControl.register.tabs.controlsTitle": "コントロール", - "inputControl.register.tabs.optionsTitle": "オプション", - "inputControl.vis.inputControlVis.applyChangesButtonLabel": "変更を適用", - "inputControl.vis.inputControlVis.cancelChangesButtonLabel": "変更をキャンセル", - "inputControl.vis.inputControlVis.clearFormButtonLabel": "用語を消去", - "inputControl.vis.listControl.partialResultsWarningMessage": "リクエストに長くかかり過ぎているため、用語リストが不完全な可能性があります。完全な結果を得るには、kibana.yml の自動完了設定を調整してください。", - "inputControl.vis.listControl.selectPlaceholder": "選択してください...", - "inputControl.vis.listControl.selectTextPlaceholder": "選択してください...", - "inspector.closeButton": "インスペクターを閉じる", - "inspector.reqTimestampDescription": "リクエストの開始が記録された時刻です", - "inspector.reqTimestampKey": "リクエストのタイムスタンプ", - "inspector.requests.copyToClipboardLabel": "クリップボードにコピー", - "inspector.requests.descriptionRowIconAriaLabel": "説明", - "inspector.requests.failedLabel": " (失敗) ", - "inspector.requests.noRequestsLoggedDescription.elementHasNotLoggedAnyRequestsText": "エレメントが (まだ) リクエストを記録していません。", - "inspector.requests.noRequestsLoggedDescription.whatDoesItUsuallyMeanText": "これは通常、データを取得する必要がないか、エレメントがまだデータの取得を開始していないことを意味します。", - "inspector.requests.noRequestsLoggedTitle": "リクエストが記録されていません", - "inspector.requests.requestFailedTooltipTitle": "リクエストに失敗しました", - "inspector.requests.requestInProgressAriaLabel": "リクエストが進行中", - "inspector.requests.requestLabel": "リクエスト:", - "inspector.requests.requestsDescriptionTooltip": "データを収集したリクエストを表示します", - "inspector.requests.requestsTitle": "リクエスト", - "inspector.requests.requestSucceededTooltipTitle": "リクエスト成功", - "inspector.requests.requestTabLabel": "リクエスト", - "inspector.requests.requestTimeLabel": "{requestTime}ms", - "inspector.requests.requestTooltipDescription": "リクエストの合計所要時間です。", - "inspector.requests.requestWasMadeDescription.requestHadFailureText": "、{failedCount} 件に失敗がありました", - "inspector.requests.responseTabLabel": "応答", - "inspector.requests.searchSessionId": "セッション ID を検索:{searchSessionId}", - "inspector.requests.statisticsTabLabel": "統計", - "inspector.title": "インスペクター", - "inspector.view": "{viewName} を表示", - "kibana_legacy.notify.fatalError.errorStatusMessage": "エラー {errStatus} {errStatusText}: {errMessage}", - "kibana_legacy.notify.fatalError.unavailableServerErrorMessage": "HTTP リクエストで接続に失敗しました。Kibana サーバーが実行されていて、ご使用のブラウザの接続が正常に動作していることを確認するか、システム管理者にお問い合わせください。", - "kibana_legacy.notify.toaster.errorMessage": "エラー:{errorMessage}\n {errorStack}", - "kibana_legacy.notify.toaster.errorStatusMessage": "エラー {errStatus} {errStatusText}: {errMessage}", - "kibana_legacy.notify.toaster.unavailableServerErrorMessage": "HTTP リクエストで接続に失敗しました。Kibana サーバーが実行されていて、ご使用のブラウザの接続が正常に動作していることを確認するか、システム管理者にお問い合わせください。", - "kibana_legacy.paginate.controls.pageSizeLabel": "ページサイズ", - "kibana_legacy.paginate.controls.scrollTopButtonLabel": "最上部に移動", - "kibana_legacy.paginate.size.allDropDownOptionLabel": "すべて", - "kibana_utils.history.savedObjectIsMissingNotificationMessage": "保存されたオブジェクトがありません", - "kibana_utils.stateManagement.stateHash.unableToRestoreUrlErrorMessage": "URL を完全に復元できません。共有機能を使用していることを確認してください。", - "kibana_utils.stateManagement.stateHash.unableToStoreHistoryInSessionErrorMessage": "セッションがいっぱいで安全に削除できるアイテムが見つからないため、Kibana は履歴アイテムを保存できません。\n\nこれは大抵新規タブに移動することで解決されますが、より大きな問題が原因である可能性もあります。このメッセージが定期的に表示される場合は、{gitHubIssuesUrl} で問題を報告してください。", - "kibana_utils.stateManagement.url.restoreUrlErrorTitle": "URLからの状態の復元エラー", - "kibana_utils.stateManagement.url.saveStateInUrlErrorTitle": "URLでの状態の保存エラー", - "kibana-react.dualRangeControl.maxInputAriaLabel": "範囲最大", - "kibana-react.dualRangeControl.minInputAriaLabel": "範囲最小", - "kibana-react.dualRangeControl.mustSetBothErrorMessage": "下と上の値の両方を設定する必要があります", - "kibana-react.dualRangeControl.outsideOfRangeErrorMessage": "値は {min} と {max} の間でなければなりません", - "kibana-react.dualRangeControl.upperValidErrorMessage": "上の値は下の値以上でなければなりません", - "kibana-react.exitFullScreenButton.exitFullScreenModeButtonAriaLabel": "全画面モードを終了", - "kibana-react.exitFullScreenButton.exitFullScreenModeButtonText": "全画面を終了", - "kibana-react.exitFullScreenButton.fullScreenModeDescription": "ESC キーで全画面モードを終了します。", - "kibana-react.kbnOverviewPageHeader.addDataButtonLabel": "データの追加", - "kibana-react.kbnOverviewPageHeader.devToolsButtonLabel": "開発ツール", - "kibana-react.kbnOverviewPageHeader.stackManagementButtonLabel": "管理", - "kibana-react.mountPointPortal.errorMessage": "ポータルコンテンツのレンダリングエラー", - "kibana-react.pageFooter.changeDefaultRouteSuccessToast": "ランディングページが更新されました", - "kibana-react.pageFooter.changeHomeRouteLink": "ログイン時に別のページを表示", - "kibana-react.pageFooter.makeDefaultRouteLink": "これをランディングページにする", - "kibana-react.splitPanel.adjustPanelSizeAriaLabel": "左右のキーを押してパネルサイズを調整します", - "kibana-react.tableListView.listing.createNewItemButtonLabel": "Create {entityName}", - "kibana-react.tableListView.listing.deleteButtonMessage": "{itemCount} 件の {entityName} を削除", - "kibana-react.tableListView.listing.deleteConfirmModalDescription": "削除された {entityNamePlural} は復元できません。", - "kibana-react.tableListView.listing.deleteSelectedConfirmModal.title": "{itemCount} 件の {entityName} を削除", - "kibana-react.tableListView.listing.deleteSelectedItemsConfirmModal.cancelButtonLabel": "キャンセル", - "kibana-react.tableListView.listing.deleteSelectedItemsConfirmModal.confirmButtonLabel": "削除", - "kibana-react.tableListView.listing.deleteSelectedItemsConfirmModal.confirmButtonLabelDeleting": "削除中", - "kibana-react.tableListView.listing.fetchErrorDescription": "{entityName}リストを取得できませんでした。{message}", - "kibana-react.tableListView.listing.fetchErrorTitle": "リストを取得できませんでした", - "kibana-react.tableListView.listing.listingLimitExceeded.advancedSettingsLinkText": "高度な設定", - "kibana-react.tableListView.listing.listingLimitExceededDescription": "{totalItems} 件の {entityNamePlural} がありますが、{listingLimitText} の設定により {listingLimitValue} 件までしか下の表に表示できません。{advancedSettingsLink} の下でこの設定を変更できます。", - "kibana-react.tableListView.listing.listingLimitExceededTitle": "リスティング制限超過", - "kibana-react.tableListView.listing.noAvailableItemsMessage": "利用可能な {entityNamePlural} がありません。", - "kibana-react.tableListView.listing.noMatchedItemsMessage": "検索条件に一致する {entityNamePlural} がありません。", - "kibana-react.tableListView.listing.table.actionTitle": "アクション", - "kibana-react.tableListView.listing.table.editActionDescription": "編集", - "kibana-react.tableListView.listing.table.editActionName": "編集", - "kibana-react.tableListView.listing.unableToDeleteDangerMessage": "{entityName} を削除できません", - "kibanaOverview.addData.sampleDataButtonLabel": "サンプルデータを試す", - "kibanaOverview.addData.sectionTitle": "データを取り込む", - "kibanaOverview.apps.title": "これらのアプリを検索", - "kibanaOverview.header.title": "Kibana", - "kibanaOverview.kibana.solution.title": "Kibana", - "kibanaOverview.manageData.sectionTitle": "データを管理", - "kibanaOverview.more.title": "Elasticではさまざまなことが可能です", - "kibanaOverview.news.title": "新機能", - "lists.exceptions.doesNotExistOperatorLabel": "存在しない", - "lists.exceptions.existsOperatorLabel": "存在する", - "lists.exceptions.isInListOperatorLabel": "リストにある", - "lists.exceptions.isNotInListOperatorLabel": "リストにない", - "lists.exceptions.isNotOneOfOperatorLabel": "is not one of", - "lists.exceptions.isNotOperatorLabel": "is not", - "lists.exceptions.isOneOfOperatorLabel": "is one of", - "lists.exceptions.isOperatorLabel": "is", - "management.breadcrumb": "スタック管理", - "management.landing.header": "Stack Management {version}へようこそ", - "management.landing.subhead": "インデックス、インデックスパターン、保存されたオブジェクト、Kibanaの設定、その他を管理します。", - "management.landing.text": "アプリの一覧は左側のメニューにあります。", - "management.nav.label": "管理", - "management.sections.dataTip": "クラスターデータとバックアップを管理します", - "management.sections.dataTitle": "データ", - "management.sections.ingestTip": "データを変換し、クラスターに読み込む方法を管理します", - "management.sections.ingestTitle": "投入", - "management.sections.insightsAndAlertingTip": "データの変化を検出する方法を管理します", - "management.sections.insightsAndAlertingTitle": "アラートとインサイト", - "management.sections.kibanaTip": "Kibanaをカスタマイズし、保存されたオブジェクトを管理します", - "management.sections.kibanaTitle": "Kibana", - "management.sections.section.tip": "機能とデータへのアクセスを制御します", - "management.sections.section.title": "セキュリティ", - "management.sections.stackTip": "ライセンスを管理し、スタックをアップグレードします", - "management.sections.stackTitle": "スタック", - "management.stackManagement.managementDescription": "Elastic Stack の管理を行うセンターコンソールです。", - "management.stackManagement.managementLabel": "スタック管理", - "management.stackManagement.title": "スタック管理", - "monaco.painlessLanguage.autocomplete.docKeywordDescription": "doc['field_name'] 構文を使用して、スクリプトからフィールド値にアクセスします", - "monaco.painlessLanguage.autocomplete.emitKeywordDescription": "戻らずに値を発行します。", - "monaco.painlessLanguage.autocomplete.fieldValueDescription": "フィールド「{fieldName}」の値を取得します", - "monaco.painlessLanguage.autocomplete.paramsKeywordDescription": "スクリプトに渡された変数にアクセスします。", - "newsfeed.emptyPrompt.noNewsText": "Kibana インスタンスがインターネットにアクセスできない場合、管理者にこの機能を無効にするように依頼してください。そうでない場合は、ニュースを取り込み続けます。", - "newsfeed.emptyPrompt.noNewsTitle": "ニュースがない場合", - "newsfeed.flyoutList.closeButtonLabel": "閉じる", - "newsfeed.flyoutList.versionTextLabel": "{version}", - "newsfeed.flyoutList.whatsNewTitle": "Elastic の新機能", - "newsfeed.headerButton.readAriaLabel": "ニュースフィードメニュー - すべての項目が既読です", - "newsfeed.headerButton.unreadAriaLabel": "ニュースフィードメニュー - 未読の項目があります", - "newsfeed.loadingPrompt.gettingNewsText": "最新ニュースを取得しています...", - "presentationUtil.dashboardPicker.searchDashboardPlaceholder": "ダッシュボードを検索...", - "presentationUtil.labs.components.browserSwitchHelp": "このブラウザーでラボを有効にします。ブラウザーを閉じた後も永続します。", - "presentationUtil.labs.components.browserSwitchName": "ブラウザー", - "presentationUtil.labs.components.calloutHelp": "変更を適用するには更新します", - "presentationUtil.labs.components.closeButtonLabel": "閉じる", - "presentationUtil.labs.components.descriptionMessage": "開発中の機能や実験的な機能を試します。", - "presentationUtil.labs.components.disabledStatusMessage": "デフォルト: {status}", - "presentationUtil.labs.components.enabledStatusMessage": "デフォルト: {status}", - "presentationUtil.labs.components.kibanaSwitchHelp": "すべてのKibanaユーザーでこのラボを有効にします。", - "presentationUtil.labs.components.kibanaSwitchName": "Kibana", - "presentationUtil.labs.components.labFlagsLabel": "ラボフラグ", - "presentationUtil.labs.components.noProjectsinSolutionMessage": "現在{solutionName}にはラボがありません。", - "presentationUtil.labs.components.noProjectsMessage": "現在ラボはありません。", - "presentationUtil.labs.components.overrideFlagsLabel": "上書き", - "presentationUtil.labs.components.overridenIconTipLabel": "デフォルトの上書き", - "presentationUtil.labs.components.resetToDefaultLabel": "デフォルトにリセット", - "presentationUtil.labs.components.sessionSwitchHelp": "このブラウザーセッションのラボを有効にします。ブラウザーを閉じるとリセットされます。", - "presentationUtil.labs.components.sessionSwitchName": "セッション", - "presentationUtil.labs.components.titleLabel": "ラボ", - "presentationUtil.labs.enableDeferBelowFoldProjectDescription": "「区切り」の下のすべてのパネル (ウィンドウ下部の下にある非表示の領域) はすぐに読み込まれません。ビューポートを入力するときにのみ読み込まれます", - "presentationUtil.labs.enableDeferBelowFoldProjectName": "「区切り」の下のパネルの読み込みを延期", - "presentationUtil.saveModalDashboard.addToDashboardLabel": "ダッシュボードに追加", - "presentationUtil.saveModalDashboard.dashboardInfoTooltip": "Visualizeライブラリに追加された項目はすべてのダッシュボードで使用できます。ライブラリ項目の編集は、使用されるすべての場所に表示されます。", - "presentationUtil.saveModalDashboard.existingDashboardOptionLabel": "既存", - "presentationUtil.saveModalDashboard.libraryOptionLabel": "ライブラリに追加", - "presentationUtil.saveModalDashboard.newDashboardOptionLabel": "新規", - "presentationUtil.saveModalDashboard.noDashboardOptionLabel": "なし", - "presentationUtil.saveModalDashboard.saveAndGoToDashboardLabel": "保存してダッシュボードを開く", - "presentationUtil.saveModalDashboard.saveLabel": "保存", - "presentationUtil.saveModalDashboard.saveToLibraryLabel": "保存してライブラリに追加", - "presentationUtil.solutionToolbar.editorMenuButtonLabel": "すべてのエディター", - "presentationUtil.solutionToolbar.libraryButtonLabel": "ライブラリから追加", - "presentationUtil.solutionToolbar.quickButton.ariaButtonLabel": "新しい{createType}を作成", - "presentationUtil.solutionToolbar.quickButton.legendLabel": "クイック作成", - "savedObjects.advancedSettings.listingLimitText": "一覧ページ用に取得するオブジェクトの数です", - "savedObjects.advancedSettings.listingLimitTitle": "オブジェクト取得制限", - "savedObjects.advancedSettings.perPageText": "読み込みダイアログで表示されるページごとのオブジェクトの数です", - "savedObjects.advancedSettings.perPageTitle": "ページごとのオブジェクト数", - "savedObjects.confirmModal.cancelButtonLabel": "キャンセル", - "savedObjects.confirmModal.overwriteButtonLabel": "上書き", - "savedObjects.confirmModal.overwriteConfirmationMessage": "{title} を上書きしてよろしいですか?", - "savedObjects.confirmModal.overwriteTitle": "{name} を上書きしますか?", - "savedObjects.confirmModal.saveDuplicateButtonLabel": "{name} を保存", - "savedObjects.confirmModal.saveDuplicateConfirmationMessage": "「{title}」というタイトルの {name} がすでに存在します。保存しますか?", - "savedObjects.finder.filterButtonLabel": "タイプ", - "savedObjects.finder.searchPlaceholder": "検索…", - "savedObjects.finder.sortAsc": "昇順", - "savedObjects.finder.sortAuto": "ベストマッチ", - "savedObjects.finder.sortButtonLabel": "並べ替え", - "savedObjects.finder.sortDesc": "降順", - "savedObjects.overwriteRejectedDescription": "上書き確認が拒否されました", - "savedObjects.saveDuplicateRejectedDescription": "重複ファイルの保存確認が拒否されました", - "savedObjects.saveModal.cancelButtonLabel": "キャンセル", - "savedObjects.saveModal.descriptionLabel": "説明", - "savedObjects.saveModal.duplicateTitleDescription": "「{title}」を保存すると、タイトルが重複します。", - "savedObjects.saveModal.duplicateTitleLabel": "この{objectType}はすでに存在します", - "savedObjects.saveModal.saveAsNewLabel": "新しい {objectType} として保存", - "savedObjects.saveModal.saveButtonLabel": "保存", - "savedObjects.saveModal.saveTitle": "{objectType} を保存", - "savedObjects.saveModal.titleLabel": "タイトル", - "savedObjects.saveModalOrigin.addToOriginLabel": "追加", - "savedObjects.saveModalOrigin.originAfterSavingSwitchLabel": "保存後に{originVerb}から{origin}", - "savedObjects.saveModalOrigin.returnToOriginLabel": "戻る", - "savedObjects.saveModalOrigin.saveAndReturnLabel": "保存して戻る", - "savedObjectsManagement.breadcrumb.edit": "{savedObjectType}を編集", - "savedObjectsManagement.breadcrumb.index": "保存されたオブジェクト", - "savedObjectsManagement.deleteConfirm.modalDeleteButtonLabel": "削除", - "savedObjectsManagement.deleteConfirm.modalDescription": "このアクションはオブジェクトをKibanaから永久に削除します。", - "savedObjectsManagement.deleteConfirm.modalTitle": "「{title}」を削除しますか?", - "savedObjectsManagement.deleteSavedObjectsConfirmModalDescription": "この操作は次の保存されたオブジェクトを削除します:", - "savedObjectsManagement.field.offLabel": "オフ", - "savedObjectsManagement.field.onLabel": "オン", - "savedObjectsManagement.importSummary.createdCountHeader": "{createdCount}件の新規項目", - "savedObjectsManagement.importSummary.createdOutcomeLabel": "作成済み", - "savedObjectsManagement.importSummary.errorCountHeader": "{errorCount}件のエラー", - "savedObjectsManagement.importSummary.errorOutcomeLabel": "{errorMessage}", - "savedObjectsManagement.importSummary.overwrittenCountHeader": "{overwrittenCount}件上書きされました", - "savedObjectsManagement.importSummary.overwrittenOutcomeLabel": "上書き", - "savedObjectsManagement.importSummary.warnings.defaultButtonLabel": "Go", - "savedObjectsManagement.managementSectionLabel": "保存されたオブジェクト", - "savedObjectsManagement.objects.savedObjectsDescription": "保存された検索、ビジュアライゼーション、ダッシュボードのインポート、エクスポート、管理を行います。", - "savedObjectsManagement.objects.savedObjectsTitle": "保存されたオブジェクト", - "savedObjectsManagement.objectsTable.deleteConfirmModal.cannotDeleteCallout.content": "一部の選択したオブジェクトは削除できません。テーブル概要の一覧には表示されません", - "savedObjectsManagement.objectsTable.deleteConfirmModal.cannotDeleteCallout.title": "一部のオブジェクトを削除できません", - "savedObjectsManagement.objectsTable.deleteConfirmModal.sharedObjectsCallout.content": "共有オブジェクトは属しているすべてのスペースから削除されます。", - "savedObjectsManagement.objectsTable.deleteSavedObjectsConfirmModal.cancelButtonLabel": "キャンセル", - "savedObjectsManagement.objectsTable.deleteSavedObjectsConfirmModal.idColumnName": "Id", - "savedObjectsManagement.objectsTable.deleteSavedObjectsConfirmModal.titleColumnName": "タイトル", - "savedObjectsManagement.objectsTable.deleteSavedObjectsConfirmModal.typeColumnName": "型", - "savedObjectsManagement.objectsTable.deleteSavedObjectsConfirmModalTitle": "保存されたオブジェクトの削除", - "savedObjectsManagement.objectsTable.export.dangerNotification": "エクスポートを生成できません", - "savedObjectsManagement.objectsTable.export.successNotification": "ファイルはバックグラウンドでダウンロード中です", - "savedObjectsManagement.objectsTable.export.successWithExcludedObjectsNotification": "ファイルはバックグラウンドでダウンロード中です。一部のオブジェクトはエクスポートから除外されました。除外されたオブジェクトの一覧は、エクスポートされたファイルの最後の行をご覧ください。", - "savedObjectsManagement.objectsTable.export.successWithMissingRefsNotification": "ファイルはバックグラウンドでダウンロード中です。一部の関連オブジェクトが見つかりませんでした。足りないオブジェクトの一覧は、エクスポートされたファイルの最後の行をご覧ください。", - "savedObjectsManagement.objectsTable.exportObjectsConfirmModal.cancelButtonLabel": "キャンセル", - "savedObjectsManagement.objectsTable.exportObjectsConfirmModal.exportAllButtonLabel": "すべてエクスポート", - "savedObjectsManagement.objectsTable.exportObjectsConfirmModal.exportOptionsLabel": "オプション", - "savedObjectsManagement.objectsTable.exportObjectsConfirmModal.includeReferencesDeepLabel": "関連オブジェクトを含める", - "savedObjectsManagement.objectsTable.exportObjectsConfirmModalDescription": "エクスポートするタイプを選択してください", - "savedObjectsManagement.objectsTable.flyout.errorCalloutTitle": "申し訳ございません、エラーが発生しました", - "savedObjectsManagement.objectsTable.flyout.import.cancelButtonLabel": "キャンセル", - "savedObjectsManagement.objectsTable.flyout.import.confirmButtonLabel": "インポート", - "savedObjectsManagement.objectsTable.flyout.importFileErrorMessage": "エラーのためファイルを処理できませんでした:「{error}」", - "savedObjectsManagement.objectsTable.flyout.importPromptText": "インポート", - "savedObjectsManagement.objectsTable.flyout.importSavedObjectTitle": "保存されたオブジェクトのインポート", - "savedObjectsManagement.objectsTable.flyout.importSuccessful.confirmAllChangesButtonLabel": "すべての変更を確定", - "savedObjectsManagement.objectsTable.flyout.importSuccessful.confirmButtonLabel": "完了", - "savedObjectsManagement.objectsTable.flyout.indexPatternConflictsCalloutLinkText": "新規インデックスパターンを作成", - "savedObjectsManagement.objectsTable.flyout.indexPatternConflictsDescription": "次の保存されたオブジェクトは、存在しないインデックスパターンを使用しています。関連付け直す別のインデックスパターンを選択してください。必要に応じて、{indexPatternLink}できます。", - "savedObjectsManagement.objectsTable.flyout.indexPatternConflictsTitle": "インデックスパターンの矛盾", - "savedObjectsManagement.objectsTable.flyout.renderConflicts.columnCountDescription": "影響されるオブジェクトの数です", - "savedObjectsManagement.objectsTable.flyout.renderConflicts.columnCountName": "カウント", - "savedObjectsManagement.objectsTable.flyout.renderConflicts.columnIdDescription": "インデックスパターンのIDです", - "savedObjectsManagement.objectsTable.flyout.renderConflicts.columnIdName": "ID", - "savedObjectsManagement.objectsTable.flyout.renderConflicts.columnNewIndexPatternName": "新規インデックスパターン", - "savedObjectsManagement.objectsTable.flyout.renderConflicts.columnSampleOfAffectedObjectsDescription": "影響されるオブジェクトのサンプル", - "savedObjectsManagement.objectsTable.flyout.renderConflicts.columnSampleOfAffectedObjectsName": "影響されるオブジェクトのサンプル", - "savedObjectsManagement.objectsTable.flyout.selectFileToImportFormRowLabel": "インポートするファイルを選択してください", - "savedObjectsManagement.objectsTable.header.importButtonLabel": "インポート", - "savedObjectsManagement.objectsTable.header.refreshButtonLabel": "更新", - "savedObjectsManagement.objectsTable.header.savedObjectsTitle": "保存されたオブジェクト", - "savedObjectsManagement.objectsTable.howToDeleteSavedObjectsDescription": "保存されたオブジェクトを管理して共有します。オブジェクトの基本データを編集するには、関連付けられたアプリケーションに移動します。", - "savedObjectsManagement.objectsTable.importModeControl.createNewCopies.disabledText": "オブジェクトが以前にコピーまたはインポートされたかどうかを確認します。", - "savedObjectsManagement.objectsTable.importModeControl.createNewCopies.disabledTitle": "既存のオブジェクトを確認", - "savedObjectsManagement.objectsTable.importModeControl.createNewCopies.enabledText": "このオプションを使用すると、オブジェクトの1つ以上のコピーを作成します。", - "savedObjectsManagement.objectsTable.importModeControl.createNewCopies.enabledTitle": "ランダムIDで新しいオブジェクトを作成", - "savedObjectsManagement.objectsTable.importModeControl.importOptionsTitle": "インポートオプション", - "savedObjectsManagement.objectsTable.importModeControl.overwrite.disabledLabel": "競合時にアクションを要求", - "savedObjectsManagement.objectsTable.importModeControl.overwrite.enabledLabel": "自動的に競合を上書き", - "savedObjectsManagement.objectsTable.importSummary.unsupportedTypeError": "サポートされていないオブジェクトタイプ", - "savedObjectsManagement.objectsTable.overwriteModal.body.ambiguousConflict": "「{title}」は複数の既存のオブジェクトと競合します。上書きしますか?", - "savedObjectsManagement.objectsTable.overwriteModal.body.conflict": "「{title}」は既存のオブジェクトと競合します。上書きしますか?", - "savedObjectsManagement.objectsTable.overwriteModal.cancelButtonText": "スキップ", - "savedObjectsManagement.objectsTable.overwriteModal.overwriteButtonText": "上書き", - "savedObjectsManagement.objectsTable.overwriteModal.selectControlLabel": "オブジェクトID", - "savedObjectsManagement.objectsTable.overwriteModal.title": "{type}を上書きしますか?", - "savedObjectsManagement.objectsTable.relationships.columnActions.inspectActionDescription": "この保存されたオブジェクトを確認してください", - "savedObjectsManagement.objectsTable.relationships.columnActions.inspectActionName": "検査", - "savedObjectsManagement.objectsTable.relationships.columnActionsName": "アクション", - "savedObjectsManagement.objectsTable.relationships.columnErrorDescription": "関係でエラーが発生しました", - "savedObjectsManagement.objectsTable.relationships.columnErrorName": "エラー", - "savedObjectsManagement.objectsTable.relationships.columnIdDescription": "保存されたオブジェクトのID", - "savedObjectsManagement.objectsTable.relationships.columnIdName": "Id", - "savedObjectsManagement.objectsTable.relationships.columnRelationship.childAsValue": "子", - "savedObjectsManagement.objectsTable.relationships.columnRelationship.parentAsValue": "親", - "savedObjectsManagement.objectsTable.relationships.columnRelationshipName": "直接関係", - "savedObjectsManagement.objectsTable.relationships.columnTitleDescription": "保存されたオブジェクトのタイトルです", - "savedObjectsManagement.objectsTable.relationships.columnTitleName": "タイトル", - "savedObjectsManagement.objectsTable.relationships.columnTypeDescription": "保存されたオブジェクトのタイプです", - "savedObjectsManagement.objectsTable.relationships.columnTypeName": "型", - "savedObjectsManagement.objectsTable.relationships.invalidRelationShip": "この保存されたオブジェクトには無効な関係がいくつかあります。", - "savedObjectsManagement.objectsTable.relationships.relationshipsTitle": "{title}に関連する保存済みオブジェクトはこちらです。この{type}を削除すると、親オブジェクトに影響しますが、子オブジェクトには影響しません。", - "savedObjectsManagement.objectsTable.relationships.renderErrorMessage": "エラー", - "savedObjectsManagement.objectsTable.relationships.search.filters.relationship.childAsValue.view": "子", - "savedObjectsManagement.objectsTable.relationships.search.filters.relationship.name": "直接関係", - "savedObjectsManagement.objectsTable.relationships.search.filters.relationship.parentAsValue.view": "親", - "savedObjectsManagement.objectsTable.relationships.search.filters.type.name": "型", - "savedObjectsManagement.objectsTable.searchBar.unableToParseQueryErrorMessage": "クエリをパースできません", - "savedObjectsManagement.objectsTable.table.columnActions.inspectActionDescription": "この保存されたオブジェクトを確認してください", - "savedObjectsManagement.objectsTable.table.columnActions.inspectActionName": "検査", - "savedObjectsManagement.objectsTable.table.columnActions.viewRelationshipsActionDescription": "この保存されたオブジェクトと他の保存されたオブジェクトとの関係性を表示します", - "savedObjectsManagement.objectsTable.table.columnActions.viewRelationshipsActionName": "関係", - "savedObjectsManagement.objectsTable.table.columnActionsName": "アクション", - "savedObjectsManagement.objectsTable.table.columnTitleDescription": "保存されたオブジェクトのタイトルです", - "savedObjectsManagement.objectsTable.table.columnTitleName": "タイトル", - "savedObjectsManagement.objectsTable.table.columnTypeDescription": "保存されたオブジェクトのタイプです", - "savedObjectsManagement.objectsTable.table.columnTypeName": "型", - "savedObjectsManagement.objectsTable.table.deleteButtonLabel": "削除", - "savedObjectsManagement.objectsTable.table.deleteButtonTitle": "保存されたオブジェクトを削除できません", - "savedObjectsManagement.objectsTable.table.exportButtonLabel": "エクスポート", - "savedObjectsManagement.objectsTable.table.exportPopoverButtonLabel": "エクスポート", - "savedObjectsManagement.objectsTable.table.typeFilterName": "型", - "savedObjectsManagement.objectsTable.unableFindSavedObjectNotificationMessage": "保存されたオブジェクトが見つかりません", - "savedObjectsManagement.objectsTable.unableFindSavedObjectsNotificationMessage": "保存されたオブジェクトが見つかりません", - "savedObjectsManagement.objectView.unableFindSavedObjectNotificationMessage": "保存されたオブジェクトが見つかりません", - "savedObjectsManagement.view.cancelButtonAriaLabel": "キャンセル", - "savedObjectsManagement.view.cancelButtonLabel": "キャンセル", - "savedObjectsManagement.view.deleteItemButtonLabel": "{title}を削除", - "savedObjectsManagement.view.editItemTitle": "{title}の編集", - "savedObjectsManagement.view.fieldDoesNotExistErrorMessage": "このオブジェクトに関連付けられたフィールドは、現在このインデックスパターンに存在しません。", - "savedObjectsManagement.view.howToFixErrorDescription": "このエラーの原因がわかる場合は修正してください。わからない場合は上の削除ボタンをクリックしてください。", - "savedObjectsManagement.view.howToModifyObjectDescription": "オブジェクトの編集は上級ユーザー向けです。オブジェクトのプロパティが検証されておらず、無効なオブジェクトはエラー、データ損失、またはそれ以上の問題の原因となります。コードを熟知した人に指示されていない限り、この設定は変更しない方が無難です。", - "savedObjectsManagement.view.howToModifyObjectTitle": "十分ご注意ください!", - "savedObjectsManagement.view.indexPatternDoesNotExistErrorMessage": "このオブジェクトに関連付けられたインデックスパターンは現在存在しません。", - "savedObjectsManagement.view.saveButtonAriaLabel": "{ title }オブジェクトを保存", - "savedObjectsManagement.view.saveButtonLabel": "{ title }オブジェクトを保存", - "savedObjectsManagement.view.savedObjectProblemErrorMessage": "この保存されたオブジェクトに問題があります", - "savedObjectsManagement.view.savedSearchDoesNotExistErrorMessage": "このオブジェクトに関連付けられた保存された検索は現在存在しません。", - "savedObjectsManagement.view.viewItemButtonLabel": "{title}を表示", - "savedObjectsManagement.view.viewItemTitle": "{title}を表示", - "security.checkup.dismissButtonText": "閉じる", - "security.checkup.dontShowAgain": "今後表示しない", - "security.checkup.insecureClusterMessage": "1 ビットを失わないでください。Elastic では無料でデータを保護できます。", - "security.checkup.insecureClusterTitle": "データが保護されていません", - "security.checkup.learnMoreButtonText": "詳細", - "share.advancedSettings.csv.quoteValuesText": "csvエクスポートに値を引用するかどうかです", - "share.advancedSettings.csv.quoteValuesTitle": "CSVの値を引用", - "share.advancedSettings.csv.separatorText": "エクスポートされた値をこの文字列で区切ります", - "share.advancedSettings.csv.separatorTitle": "CSVセパレーター", - "share.contextMenu.embedCodeLabel": "埋め込みコード", - "share.contextMenu.embedCodePanelTitle": "埋め込みコード", - "share.contextMenu.permalinkPanelTitle": "パーマリンク", - "share.contextMenu.permalinksLabel": "パーマリンク", - "share.contextMenuTitle": "この {objectType} を共有", - "share.urlGenerators.error.createUrlFnProvided": "このジェネレーターは非推奨とマークされています。createUrl fn を付けないでください。", - "share.urlGenerators.error.migrateCalledNotDeprecated": "非推奨以外のジェネレーターで migrate を呼び出すことはできません。", - "share.urlGenerators.error.migrationFnGivenNotDeprecated": "移行機能を提供する場合、このジェネレーターに非推奨マークを付ける必要があります", - "share.urlGenerators.error.noCreateUrlFnProvided": "このジェネレーターには非推奨のマークがありません。createUrl fn を付けてください。", - "share.urlGenerators.error.noMigrationFnProvided": "アクセスリンクジェネレーターに非推奨マークが付いている場合、移行機能を提供する必要があります。", - "share.urlGenerators.errors.noGeneratorWithId": "{id} という ID のジェネレーターはありません", - "share.urlPanel.canNotShareAsSavedObjectHelpText": "{objectType} が保存されるまで保存されたオブジェクトを共有することはできません。", - "share.urlPanel.copyIframeCodeButtonLabel": "iFrame コードをコピー", - "share.urlPanel.copyLinkButtonLabel": "リンクをコピー", - "share.urlPanel.generateLinkAsLabel": "名前を付けてリンクを生成", - "share.urlPanel.publicUrlHelpText": "公開URLを使用して、他のユーザーと共有します。ログインプロンプトをなくして、ワンステップの匿名アクセスを可能にします。", - "share.urlPanel.publicUrlLabel": "公開URL", - "share.urlPanel.savedObjectDescription": "この URL を共有することで、他のユーザーがこの {objectType} の最も最近保存されたバージョンを読み込めるようになります。", - "share.urlPanel.savedObjectLabel": "保存されたオブジェクト", - "share.urlPanel.shortUrlHelpText": "互換性が最も高くなるよう、短いスナップショット URL を共有することをお勧めします。Internet Explorer は URL の長さに制限があり、一部の wiki やマークアップパーサーは長い完全なスナップショット URL に対応していませんが、短い URL は正常に動作するはずです。", - "share.urlPanel.shortUrlLabel": "短い URL", - "share.urlPanel.snapshotDescription": "スナップショット URL には、{objectType} の現在の状態がエンコードされています。保存された {objectType} への編集内容はこの URL には反映されません。", - "share.urlPanel.snapshotLabel": "スナップショット", - "share.urlPanel.unableCreateShortUrlErrorMessage": "短い URL を作成できません。エラー:{errorMessage}", - "share.urlPanel.urlGroupTitle": "URL", - "telemetry.callout.appliesSettingTitle": "この設定に加えた変更は {allOfKibanaText} に適用され、自動的に保存されます。", - "telemetry.callout.appliesSettingTitle.allOfKibanaText": "Kibana のすべて", - "telemetry.callout.clusterStatisticsDescription": "これは収集される基本的なクラスター統計の例です。インデックス、シャード、ノードの数が含まれます。監視がオンになっているかどうかなどのハイレベルの使用統計も含まれます。", - "telemetry.callout.clusterStatisticsTitle": "クラスター統計", - "telemetry.callout.errorLoadingClusterStatisticsDescription": "クラスター統計の取得中に予期せぬエラーが発生しました。Elasticsearch、Kibana、またはネットワークのエラーが原因の可能性があります。Kibana を確認し、ページを再読み込みして再試行してください。", - "telemetry.callout.errorLoadingClusterStatisticsTitle": "クラスター統計の読み込みエラー", - "telemetry.callout.errorUnprivilegedUserDescription": "暗号化されていないクラスター統計を表示するアクセス権がありません。", - "telemetry.callout.errorUnprivilegedUserTitle": "クラスター統計の表示エラー", - "telemetry.clusterData": "クラスターデータ", - "telemetry.optInErrorToastText": "使用状況統計設定の設定中にエラーが発生しました。", - "telemetry.optInErrorToastTitle": "エラー", - "telemetry.optInNoticeSeenErrorTitle": "エラー", - "telemetry.optInNoticeSeenErrorToastText": "通知の消去中にエラーが発生しました", - "telemetry.optInSuccessOff": "使用状況データ収集がオフです。", - "telemetry.optInSuccessOn": "使用状況データ収集がオンです。", - "telemetry.provideUsageStatisticsAriaName": "使用統計を提供", - "telemetry.provideUsageStatisticsTitle": "使用統計を提供", - "telemetry.readOurUsageDataPrivacyStatementLinkText": "プライバシーポリシー", - "telemetry.securityData": "Endpoint Security データ", - "telemetry.seeExampleOfClusterData": "収集する {clusterData} の例をご覧ください。", - "telemetry.seeExampleOfClusterDataAndEndpointSecuity": "当社が収集する{clusterData}および{endpointSecurityData}の例をご覧ください。", - "telemetry.telemetryBannerDescription": "Elastic Stackの改善にご協力ください使用状況データの収集は現在無効です。使用状況データの収集を有効にすると、製品とサービスを管理して改善することができます。詳細については、{privacyStatementLink}をご覧ください。", - "telemetry.telemetryConfigAndLinkDescription": "使用状況データの収集を有効にすると、製品とサービスを管理して改善することができます。詳細については、{privacyStatementLink}をご覧ください。", - "telemetry.telemetryConfigDescription": "基本的な機能の利用状況に関する統計情報を提供して、Elastic Stack の改善にご協力ください。このデータは Elastic 社外と共有されません。", - "telemetry.telemetryOptedInDisableUsage": "ここで使用状況データを無効にする", - "telemetry.telemetryOptedInDismissMessage": "閉じる", - "telemetry.telemetryOptedInNoticeDescription": "使用状況データがどのように製品とサービスの管理と改善につながるのかに関する詳細については、{privacyStatementLink}をご覧ください。収集を停止するには、{disableLink}。", - "telemetry.telemetryOptedInNoticeTitle": "Elastic Stack の改善にご協力ください", - "telemetry.telemetryOptedInPrivacyStatement": "プライバシーポリシー", - "telemetry.usageDataTitle": "使用データ", - "telemetry.welcomeBanner.disableButtonLabel": "無効にする", - "telemetry.welcomeBanner.enableButtonLabel": "有効にする", - "telemetry.welcomeBanner.telemetryConfigDetailsDescription.telemetryPrivacyStatementLinkText": "プライバシーポリシー", - "telemetry.welcomeBanner.title": "Elastic Stack の改善にご協力ください", - "timelion.badge.readOnly.text": "読み取り専用", - "timelion.badge.readOnly.tooltip": "Timelion シートを保存できません", - "timelion.breadcrumbs.create": "作成", - "timelion.breadcrumbs.root": "Timelion", - "timelion.cells.actions.fullscreenAriaLabel": "全画面チャート", - "timelion.cells.actions.fullscreenTooltip": "全画面", - "timelion.cells.actions.removeAriaLabel": "リモートスタート", - "timelion.cells.actions.removeTooltip": "削除", - "timelion.cells.actions.reorderAriaLabel": "ドラッグして並べ替え", - "timelion.cells.actions.reorderTooltip": "ドラッグして並べ替え", - "timelion.chart.seriesList.noSchemaWarning": "次のパネルタイプは存在しません:{renderType}", - "timelion.deprecation.here": "ダッシュボードに移行します。", - "timelion.deprecation.message": "Timelionアプリは7.0以降で非推奨となっています。7.16では削除される予定です。Timelionワークシートを引き続き使用するには、{timeLionDeprecationLink}。", - "timelion.emptyExpressionErrorMessage": "Timelion エラー:式が入力されていません", - "timelion.expressionInputAriaLabel": "Timelion 式", - "timelion.expressionInputPlaceholder": "{esQuery} でのクエリを試してみてください。", - "timelion.expressionSuggestions.arg.infoTitle": "情報", - "timelion.expressionSuggestions.arg.listTitle": "引数:", - "timelion.expressionSuggestions.arg.nameTitle": "引数名", - "timelion.expressionSuggestions.arg.typesTitle": "対応タイプ", - "timelion.expressionSuggestions.argument.description.acceptsText": "受け入れ", - "timelion.expressionSuggestions.func.description.chainableHelpText": "連鎖可能", - "timelion.expressionSuggestions.func.description.chainableText": "{help} (連鎖可能) ", - "timelion.expressionSuggestions.func.description.dataSourceHelpText": "データソース", - "timelion.expressionSuggestions.func.description.dataSourceText": "{help} (データソース) ", - "timelion.fitFunctions.carry.downSampleErrorMessage": "ダウンサンプルには「carry」フィットメソドを使用せず、「scale」または「average」を使用してください", - "timelion.fullscreen.exitAriaLabel": "全画面を終了", - "timelion.fullscreen.exitTooltip": "全画面を終了", - "timelion.function.help": "Timelion のビジュアライゼーションです。", - "timelion.help.configuration.firstTimeConfigurationLinkText": "初回構成", - "timelion.help.configuration.notValid.advancedSettingsPathText": "管理 / Kibana / 高度な設定", - "timelion.help.configuration.notValid.notValidSettingsErrorMessage": "Elasticsearch の設定を確認できませんでした:{reason}。高度な設定を確認して再試行してください。 ({count}) ", - "timelion.help.configuration.notValid.paragraph1": "Logstash を使用している場合、Timelion でのログデータの探索開始に何も構成する必要はありません。他のインデックスを検索するには、{advancedSettingsPath} に移動し、{esDefaultIndex} および {esTimefield} 設定を構成し、インデックスと一致させます。", - "timelion.help.configuration.notValid.paragraph2": "他の Timelion 設定もあります。今のところ他の設定は気にしなくて大丈夫です。後程、必要に応じていつでも設定できることがわかります。", - "timelion.help.configuration.notValid.validateButtonLabel": "構成を検証", - "timelion.help.configuration.notValidTitle": "初回構成", - "timelion.help.configuration.valid.advancedSettingsPathText": "管理/Kibana/高度な設定", - "timelion.help.configuration.valid.intervalIsAutoText": "準備完了です!", - "timelion.help.configuration.valid.intervals.content.intervalIsNotAutoText": "Timelion が適切な間隔を選択できるよう、{auto} に設定します。", - "timelion.help.configuration.valid.intervalsTextPart1": "インプットバーの右にある間隔設定は、サンプリングの頻度をコントロールできます。現在 {interval} に設定されています。", - "timelion.help.configuration.valid.intervalsTextPart2": "Timelion が選択された時間範囲と間隔の組み合わせによりデータポイントが多くなりすぎると判断した場合、エラーが発生します。制限を調整するには、{advancedSettingsPath} で {maxBuckets} を構成します。", - "timelion.help.configuration.valid.intervalsTitle": "間隔", - "timelion.help.configuration.valid.paragraph1Part1": "デフォルトのインデックスと時間フィールドを検証し、すべて問題なさそうです。{statsMin} から {statsMax} へのデータが見つかりました。おそらく準備完了です。何か問題がある場合は、", - "timelion.help.configuration.valid.paragraph1Part2": "で Elasticsearch データソースの構成に関する詳細をご覧ください。", - "timelion.help.configuration.valid.paragraph2": "すでにチャートが 1 つ表示されていますが、興味深いデータを得るにはいくつか調整が必要な可能性があります。", - "timelion.help.configuration.valid.paragraph3": "これで、一定期間のデータポイントの数を示す折れ線グラフが表示されるはずです。", - "timelion.help.configuration.valid.timeRangeText": "時間フィルターを使用して、可視化するデータを含む期間を選択します。上記のすべてまたは一部の時間範囲を含む時間範囲を選択するようにしてください。", - "timelion.help.configuration.valid.timeRangeTitle": "時間範囲", - "timelion.help.configuration.validTitle": "良いお知らせです。Elasticsearch が正しく構成されました!", - "timelion.help.dataTransforming.functionReferenceLinkText": "機能リファレンス", - "timelion.help.dataTransforming.paragraph1": "基本を覚えたところで、Timelion の実力を発揮させましょう。データのサブセットが、一定期間における全体の何パーセントを表しているか見てみましょう。たとえば、Web トラフィックの何パーセントが米国からのものでしょう?", - "timelion.help.dataTransforming.paragraph2": "まず初めに、米国を含むすべてのイベントを見つけます:{esUsQuery}。", - "timelion.help.dataTransforming.paragraph3": "次に、全体に対する米国のイベントの比率を割り出します。{us} をすべてで割るために、{divide} 関数 {divideDataQuery} を使用できます。", - "timelion.help.dataTransforming.paragraph4": "まぁまぁですが、これでは 0 から 1 までの値になってしまいます。パーセンテージに変換するには、100 を掛けます:{multiplyDataQuery}。", - "timelion.help.dataTransforming.paragraph5": "これでトラフィックの何パーセントが米国からのものなのか分かり、一定期間内にどのように変化したのか見ることができます!Timelion には、{sum}、{subtract}、{multiply}、{divide} などのいくつもの演算機能が搭載されています。これらの多くが数列や数字を扱えます。また、{movingaverage}、{abs}、{derivative} といった他の便利な変換機能もあります。", - "timelion.help.dataTransforming.paragraph6Part1": "構文を学んだところで、", - "timelion.help.dataTransforming.paragraph6Part2": "Timelion で利用できるすべての機能の使い方をご覧ください。ツールバーの\\{Docs\\}をクリックしていつでもリファレンスを表示できます。このチュートリアルに戻るには、リファレンスの上にある \\{Tutorial\\} リンクをクリックします。", - "timelion.help.dataTransformingTitle": "データの変換:お楽しみの始まりです!", - "timelion.help.dontShowHelpButtonLabel": "今後表示しない", - "timelion.help.expressions.examples.customStylingDescription": "{descriptionTitle}初めの数列を赤くし、2 つ目の数列に 1 ピクセル幅のバーを使用します。", - "timelion.help.expressions.examples.customStylingDescriptionTitle": "カスタムスタイリング。", - "timelion.help.expressions.examples.groupedExpressionsDescription": "{descriptionTitle} 式のグループを関数に連結させることもできます。ここでは両方の数列が線ではなく点で表示されています。", - "timelion.help.expressions.examples.groupedExpressionsDescriptionTitle": "式のグループ化。", - "timelion.help.expressions.examples.namedArgumentsDescription": "{descriptionTitle}引数の指定順序を覚える必要はありません。名前付き引数を使えば、式の読み書きが楽になります。", - "timelion.help.expressions.examples.namedArgumentsDescriptionTitle": "名前付き引数。", - "timelion.help.expressions.examples.twoExpressionsDescription": "{descriptionTitle}同じチャートに 2 つの式が使えます。", - "timelion.help.expressions.examples.twoExpressionsDescriptionTitle": "2 倍の楽しみ。", - "timelion.help.expressions.functionReferenceLinkText": "機能リファレンス", - "timelion.help.expressions.paragraph1": "それぞれの式はデータソース関数で始まります。ここから、新しい関数をデータソースに追加して変換や強化ができます。", - "timelion.help.expressions.paragraph2": "ところで、ここから先はデータの持ち主が一番よくご存知なのではないでしょうか。サンプルクエリをより有意義なものと自由に置き換えてみてください。", - "timelion.help.expressions.paragraph3": "実験をします。ツールバーの{strongAdd}をクリックして、他のチャートをいくつか追加してみましょう。そして、チャートを選択して次の式の内の 1 つをコピーし、インプットバーに貼り付けて、Enter を押します。リセットして繰り返し、他の式を試してみましょう。", - "timelion.help.expressions.paragraph4": "Timelion は、チャートの見た目をカスタマイズするための他のビュー変換機能も搭載しています。完全なリストは次のリソースをご覧ください", - "timelion.help.expressions.strongAddText": "追加", - "timelion.help.expressionsTitle": "式を使って式を定義", - "timelion.help.functions.absHelpText": "数列リストの各値の絶対値を返します", - "timelion.help.functions.aggregate.args.functionHelpText": "{functions} の 1 つ", - "timelion.help.functions.aggregateHelpText": "数列のすべての点の処理結果に基づく線を作成します。利用可能な関数:{functions}", - "timelion.help.functions.bars.args.stackHelpText": "バーがスタックした場合はデフォルトで true にする", - "timelion.help.functions.bars.args.widthHelpText": "バーの幅 (ピクセル) ", - "timelion.help.functions.barsHelpText": "seriesList をバーとして表示", - "timelion.help.functions.color.args.colorHelpText": "16 進数としての数列の色です。例:#c6c6c6 はかわいいライトグレーを示します。複数の色を指定し、複数数列がある場合、グラデーションになります。例:「#00B1CC:#00FF94:#FF3A39:#CC1A6F」", - "timelion.help.functions.colorHelpText": "数列の色を変更します", - "timelion.help.functions.common.args.fitHelpText": "ターゲットの期間と間隔に数列を合わせるためのアルゴリズムです。使用可能:{fitFunctions}", - "timelion.help.functions.common.args.offsetHelpText": "日付表現による数列の取得をオフセットします。例:1 か月前からイベントを作成する -1M は現在のように表示されます。「timerange」によって、チャートの全体的な時間範囲に関連した数列をオフセットします。例:「timerange:-2」は過去に対する全体的なチャート時間範囲の 2 倍をオフセットします。", - "timelion.help.functions.condition.args.elseHelpText": "比較が false の場合に点が設定される値です。ここで seriesList を引き渡した場合、初めの数列が使用されます。", - "timelion.help.functions.condition.args.ifHelpText": "点が比較される値です。ここで seriesList を引き渡した場合、初めの数列が使用されます。", - "timelion.help.functions.condition.args.operator.suggestions.eqHelpText": "equal", - "timelion.help.functions.condition.args.operator.suggestions.gteHelpText": "超過", - "timelion.help.functions.condition.args.operator.suggestions.gtHelpText": "より大きい", - "timelion.help.functions.condition.args.operator.suggestions.lteHelpText": "未満", - "timelion.help.functions.condition.args.operator.suggestions.ltHelpText": "より小さい", - "timelion.help.functions.condition.args.operator.suggestions.neHelpText": "not equal", - "timelion.help.functions.condition.args.operatorHelpText": "比較に使用する比較演算子、有効な演算子は eq (=) 、ne (≠) , lt (&lt;) , lte (≦) , gt (>) , gte (≧) ", - "timelion.help.functions.condition.args.thenHelpText": "比較が true の場合に点が設定される値です。ここで seriesList を引き渡した場合、初めの数列が使用されます。", - "timelion.help.functions.conditionHelpText": "演算子を使って各点を数字、または別の数列の同じ点と比較し、true の場合値を結果の値に設定し、オプションとして else が使用されます。", - "timelion.help.functions.cusum.args.baseHelpText": "開始の数字です。基本的に、数列の初めにこの数字が追加されます", - "timelion.help.functions.cusumHelpText": "ベースから始め、数列の累積和を返します。", - "timelion.help.functions.derivativeHelpText": "一定期間の値の変化をプロットします。", - "timelion.help.functions.divide.args.divisorHelpText": "割る数字または数列です。複数数列を含む seriesList はラベルに適用されます。", - "timelion.help.functions.divideHelpText": "seriesList の 1 つまたは複数の数列の値をインプット seriesList の各数列のそれぞれの配置に割けます。", - "timelion.help.functions.es.args.indexHelpText": "クエリを実行するインデックスで、ワイルドカードが使えます。「metrics」、「split」、「timefield」引数のスクリプトフィールドのフィールド名のインデックスパターン名とフィールド名の入力候補を提供します。", - "timelion.help.functions.es.args.intervalHelpText": "**これは使用しないでください**。fit 関数のデバッグは楽しいですが、間隔ピッカーを使用すべきです。", - "timelion.help.functions.es.args.kibanaHelpText": "Kibana ダッシュボードでフィルターを適用します。Kibana ダッシュボードの使用時にのみ適用されます。", - "timelion.help.functions.es.args.metricHelpText": "Elasticsearch メトリック集約:avg、sum、min、max、percentiles、または基数、後ろにフィールドを付けます。例:「sum:bytes」、「percentiles:bytes:95,99,99.9」、「count」", - "timelion.help.functions.es.args.qHelpText": "Lucene クエリ文字列の構文のクエリ", - "timelion.help.functions.es.args.splitHelpText": "分割する Elasticsearch フィールドと制限です。例:「{hostnameSplitArg}」は上位 10 のホスト名を取得します", - "timelion.help.functions.es.args.timefieldHelpText": "X 軸にフィールドタイプ「date」を使用", - "timelion.help.functions.esHelpText": "Elasticsearch インスタンスからデータを取得します", - "timelion.help.functions.firstHelpText": "これは単純に input seriesList を返す内部機能です。この機能は使わないでください", - "timelion.help.functions.fit.args.modeHelpText": "数列をターゲットに合わせるためのアルゴリズムです。次のいずれかです。{fitFunctions}", - "timelion.help.functions.fitHelpText": "定義された fit 関数を使用して空値を入力します", - "timelion.help.functions.graphite.args.metricHelpText": "取得する Graphite メトリック、例:{metricExample}", - "timelion.help.functions.graphiteHelpText": "[実験的] Graphite からデータを取得します。Kibana の高度な設定で Graphite サーバーを構成します", - "timelion.help.functions.hide.args.hideHelpText": "数列の表示と非表示を切り替えます", - "timelion.help.functions.hideHelpText": "デフォルトで数列を非表示にします", - "timelion.help.functions.holt.args.alphaHelpText": "\n 0 から 1 の平滑化加重です。\n アルファを上げると新しい数列がオリジナルにさらに近くなります。\n 下げると数列がスムーズになります", - "timelion.help.functions.holt.args.betaHelpText": "\n 0 から 1 の傾向加重です。\n ベータを上げると線の上下の動きが長くなります。\n 下げると新しい傾向をより早く反映するようになります", - "timelion.help.functions.holt.args.gammaHelpText": "0 から 1 のシーズン加重です。データが波のようになっていますか?\n この数字を上げると、最近のシーズンの重要性が高まり、波形の動きを速くします。\n 下げると新しいシーズンの重要性が下がり、過去がより重要視されます。", - "timelion.help.functions.holt.args.sampleHelpText": "\n シーズン数列の「予測」を開始する前にサンプリングするシーズンの数です。\n (gamma でのみ有効、デフォルト:all) ", - "timelion.help.functions.holt.args.seasonHelpText": "シーズンの長さです、例:パターンが毎週繰り返される場合は 1w。 (gamma でのみ有効) ", - "timelion.help.functions.holtHelpText": "\n 数列の始めをサンプリングし、\n いくつかのオプションパラメーターを使用して何が起こるか予測します。基本的に、この機能は未来を予測するのではなく、\n 過去のデータに基づき現在何が起きているべきかを予測します。\n この情報は異常検知に役立ちます。null には予測値が入力されます。", - "timelion.help.functions.label.args.labelHelpText": "数列の凡例値です。文字列で $1、$2 などを使用して、正規表現の捕捉グループに合わせることができます。", - "timelion.help.functions.label.args.regexHelpText": "捕捉グループをサポートする正規表現です", - "timelion.help.functions.labelHelpText": "数列のラベルを変更します。%s で既存のラベルを参照します", - "timelion.help.functions.legend.args.columnsHelpText": "凡例を分ける列の数です", - "timelion.help.functions.legend.args.position.suggestions.falseHelpText": "凡例を無効にします", - "timelion.help.functions.legend.args.position.suggestions.neHelpText": "北東の角に凡例を配置します", - "timelion.help.functions.legend.args.position.suggestions.nwHelpText": "北西の角に凡例を配置します", - "timelion.help.functions.legend.args.position.suggestions.seHelpText": "南東の角に凡例を配置します", - "timelion.help.functions.legend.args.position.suggestions.swHelpText": "南西の角に凡例を配置します", - "timelion.help.functions.legend.args.positionHelpText": "凡例を配置する角:nw、ne、se、または sw。false で凡例を無効にすることもできます", - "timelion.help.functions.legend.args.showTimeHelpText": "グラフにカーソルを合わせた時、凡例の時間値を表示します。デフォルト:true", - "timelion.help.functions.legend.args.timeFormatHelpText": "moment.js フォーマットパターンです。デフォルト:{defaultTimeFormat}", - "timelion.help.functions.legendHelpText": "プロットの凡例の位置とスタイルを設定します", - "timelion.help.functions.lines.args.fillHelpText": "0 と 10 の間の数字です。エリアチャートの作成に使用します。", - "timelion.help.functions.lines.args.showHelpText": "線の表示と非表示を切り替えます", - "timelion.help.functions.lines.args.stackHelpText": "線をスタックします。よく誤解を招きます。この機能を使用する際は塗りつぶしを使うようにしましょう。", - "timelion.help.functions.lines.args.stepsHelpText": "線をステップとして表示します。つまり、点の間に中間値を挿入しません。", - "timelion.help.functions.lines.args.widthHelpText": "線の太さです", - "timelion.help.functions.linesHelpText": "seriesList を線として表示します", - "timelion.help.functions.log.args.baseHelpText": "対数のベースを設定します、デフォルトは 10 です", - "timelion.help.functions.logHelpText": "数列リストの各値の対数値を返します (デフォルトのベース:10) ", - "timelion.help.functions.max.args.valueHelpText": "点を既存の値と引き渡された値のどちらか高い方に設定します。seriesList を引き渡す場合、数列がちょうど 1 つでなければなりません。", - "timelion.help.functions.maxHelpText": "インプット seriesList の各数列のそれぞれの配置の seriesList の 1 つまたは複数の数列の最高値です", - "timelion.help.functions.min.args.valueHelpText": "点を既存の値と引き渡された値のどちらか低い方に設定します。seriesList を引き渡す場合、数列がちょうど 1 つでなければなりません。", - "timelion.help.functions.minHelpText": "インプット seriesList の各数列のそれぞれの配置の seriesList の 1 つまたは複数の数列の最低値です", - "timelion.help.functions.movingaverage.args.positionHelpText": "結果時間に相対的な平均点の位置です。次のいずれかです。{validPositions}", - "timelion.help.functions.movingaverage.args.windowHelpText": "平均を出す点の数、または日付計算式 (例:1d、1M) です。日付計算式が指定された場合、この機能は現在選択された間隔でできるだけ近づけます。日付計算式が間隔で均等に分けられない場合、結果に異常が出る場合があります。", - "timelion.help.functions.movingaverageHelpText": "特定期間の移動平均を計算します。ばらばらの数列を滑らかにするのに有効です。", - "timelion.help.functions.movingstd.args.positionHelpText": "結果時間に相対的な期間スライスの配置です。オプションは {positions} です。デフォルト:{defaultPosition}", - "timelion.help.functions.movingstd.args.windowHelpText": "標準偏差を計算する点の数です。", - "timelion.help.functions.movingstdHelpText": "特定期間の移動標準偏差を計算します。ネイティブ two-pass アルゴリズムを使用します。非常に長い数列や、非常に大きな数字を含む数列では、四捨五入による誤差がより明らかになる可能性があります。", - "timelion.help.functions.multiply.args.multiplierHelpText": "掛ける数字または数列です。複数数列を含む seriesList はラベルに適用されます。", - "timelion.help.functions.multiplyHelpText": "seriesList の 1 つまたは複数の数列の値をインプット seriesList の各数列のそれぞれの配置に掛けます。", - "timelion.help.functions.notAllowedGraphiteUrl": "この Graphite URL は kibana.yml ファイルで構成されていません。\n 「timelion.graphiteUrls」で kibana.yml ファイルの Graphite サーバーリストを構成し、\n Kibana の高度な設定でいずれかを選択してください", - "timelion.help.functions.points.args.fillColorHelpText": "点を塗りつぶす色です。", - "timelion.help.functions.points.args.fillHelpText": "塗りつぶしの透明度を表す 0 から 10 までの数字です", - "timelion.help.functions.points.args.radiusHelpText": "点のサイズです", - "timelion.help.functions.points.args.showHelpText": "点の表示・非表示です", - "timelion.help.functions.points.args.symbolHelpText": "点のシンボルです。次のいずれかです。{validSymbols}", - "timelion.help.functions.points.args.weightHelpText": "点の周りの太さです", - "timelion.help.functions.pointsHelpText": "数列を点として表示します", - "timelion.help.functions.precision.args.precisionHelpText": "各値を切り捨てる桁数です", - "timelion.help.functions.precisionHelpText": "値の小数点以下を切り捨てる桁数です", - "timelion.help.functions.props.args.globalHelpText": "各数列に対し、seriesList にプロップを設定します", - "timelion.help.functions.propsHelpText": "数列に任意のプロパティを設定するため、自己責任で行ってください。例:{example}。", - "timelion.help.functions.quandl.args.codeHelpText": "プロットする Quandl コードです。これらは quandl.com に掲載されています。", - "timelion.help.functions.quandl.args.positionHelpText": "Quandl ソースによっては、複数数列を返すものがあります。どれを使用しますか?1 ベースインデックス", - "timelion.help.functions.quandlHelpText": "\n [実験的]\n Quandl コードで quandl.com からデータを取得します。Kibana で {quandlKeyField} を空き API キーに設定\n 高度な設定API は、キーなしでは非常に低いレート制限があります。", - "timelion.help.functions.range.args.maxHelpText": "新しい最高値です", - "timelion.help.functions.range.args.minHelpText": "新しい最低値です", - "timelion.help.functions.rangeHelpText": "同じシェイプを維持しつつ数列の最高値と最低値を変更します", - "timelion.help.functions.scaleInterval.args.intervalHelpText": "新しい間隔の日付計算表記です。例:1 秒 = 1s。1m、5m、1M、1w、1y など。", - "timelion.help.functions.scaleIntervalHelpText": "変更すると、値 (通常合計またはカウント) が新しい間隔にスケーリングされます。例:毎秒のレート", - "timelion.help.functions.static.args.labelHelpText": "数列のラベルを簡単に設定する方法です。.label () 関数を使用することもできます。", - "timelion.help.functions.static.args.valueHelpText": "表示する単一の値です。複数の値が渡された場合、指定された時間範囲に均等に挿入されます。", - "timelion.help.functions.staticHelpText": "チャートに 1 つの値を挿入します", - "timelion.help.functions.subtract.args.termHelpText": "インプットから引く数字または数列です。複数数列を含む seriesList はラベルに適用されます。", - "timelion.help.functions.subtractHelpText": "seriesList の 1 つまたは複数の数列の値をインプット seriesList の各数列のそれぞれの配置から引きます。", - "timelion.help.functions.sum.args.termHelpText": "インプット数列に足す数字または数列です。複数数列を含む seriesList はラベルに適用されます。", - "timelion.help.functions.sumHelpText": "seriesList の 1 つまたは複数の数列の値をインプット seriesList の各数列のそれぞれの配置に足します。", - "timelion.help.functions.title.args.titleHelpText": "プロットのタイトルです。", - "timelion.help.functions.titleHelpText": "プロットの上部にタイトルを追加します。複数の seriesList がコールされた場合、最後のコールが使用されます。", - "timelion.help.functions.trend.args.endHelpText": "始めまたは終わりからの計算を修了する場所です。たとえば、-10 の場合終わりから 10 点目で計算が終了し、+15 の場合始めから 15 点目で終了します。デフォルト:0", - "timelion.help.functions.trend.args.modeHelpText": "傾向線の生成に使用するアルゴリズムです。次のいずれかです。{validRegressions}", - "timelion.help.functions.trend.args.startHelpText": "始めまたは終わりからの計算を開始する場所です。たとえば、-10 の場合終わりから 10 点目から計算を開始し、+15 の場合始めから 15 点目から開始します。デフォルト:0", - "timelion.help.functions.trendHelpText": "指定された回帰アルゴリズムで傾向線を描きます", - "timelion.help.functions.trim.args.endHelpText": "数列の終わりから切り取るバケットです。デフォルト:1", - "timelion.help.functions.trim.args.startHelpText": "数列の始めから切り取るバケットです。デフォルト:1", - "timelion.help.functions.trimHelpText": "「部分的バケットの問題」に合わせて、数列の始めか終わりの N 個のバケットを無効化するように設定します。", - "timelion.help.functions.worldbank.args.codeHelpText": "Worldbank API パスです。これは通常ドメインの後ろからクエリ文字列までのすべてです。例:{apiPathExample}。", - "timelion.help.functions.worldbankHelpText": "\n [実験的]\n 数列へのパスを使用して {worldbankUrl} からデータを取得します。\n Worldbank は主に年間データを提供し、現在の年のデータがないことがよくあります。\n 最近の期間範囲のデータが取得できない場合は、{offsetQuery} をお試しください。", - "timelion.help.functions.worldbankIndicators.args.countryHelpText": "Worldbank の国 ID です。通常は国の 2 文字のコートです", - "timelion.help.functions.worldbankIndicators.args.indicatorHelpText": "使用するインジケーターコードです。{worldbankUrl} で調べる必要があります。多くが分かりづらいものです。例:{indicatorExample} は人口です", - "timelion.help.functions.worldbankIndicatorsHelpText": "\n [実験的]\n 国名とインジケーターを使って {worldbankUrl} からデータを取得します。Worldbank は\n 主に年間データを提供し、現在の年のデータがないことがよくあります。最近の期間範囲のデータが取得できない場合は、{offsetQuery} をお試しください。\n 時間範囲", - "timelion.help.functions.yaxis.args.colorHelpText": "軸ラベルの色です", - "timelion.help.functions.yaxis.args.labelHelpText": "軸のラベルです", - "timelion.help.functions.yaxis.args.maxHelpText": "最高値", - "timelion.help.functions.yaxis.args.minHelpText": "最低値", - "timelion.help.functions.yaxis.args.positionHelpText": "左から右", - "timelion.help.functions.yaxis.args.tickDecimalsHelpText": "y 軸とティックラベルの小数点以下の桁数です。", - "timelion.help.functions.yaxis.args.unitsHelpText": "Y 軸のラベルのフォーマットに使用する機能です。次のいずれかです。{formatters}", - "timelion.help.functions.yaxis.args.yaxisHelpText": "この数列をプロットする数字の Y 軸です。例:2 本目の Y 軸は .yaxis (2) になります。", - "timelion.help.functions.yaxisHelpText": "さまざまな Y 軸のオプションを構成します。おそらく最も重要なのは、N 本目 (例:2 本目) の Y 軸を追加する機能です。", - "timelion.help.mainPage.functionReference.detailsTable.acceptedTypesColumnLabel": "対応タイプ", - "timelion.help.mainPage.functionReference.detailsTable.argumentNameColumnLabel": "引数名", - "timelion.help.mainPage.functionReference.detailsTable.informationColumnLabel": "情報", - "timelion.help.mainPage.functionReference.gettingStartedText": "関数をクリックすると詳細が表示されます。初心者の方ですか?", - "timelion.help.mainPage.functionReference.noArgumentsFunctionErrorMessage": "この関数には引数を使用できません。簡単でしょう?", - "timelion.help.mainPage.functionReference.welcomePageLinkText": "チュートリアルをご覧ください", - "timelion.help.mainPage.functionReferenceTitle": "機能リファレンス", - "timelion.help.mainPage.keyboardTips.autoComplete.downArrowDescription": "自動入力メニューに焦点を切り替えます。矢印を使用してさらに用語を選択します", - "timelion.help.mainPage.keyboardTips.autoComplete.downArrowLabel": "下矢印", - "timelion.help.mainPage.keyboardTips.autoComplete.enterTabDescription": "現在の選択項目または自動入力メニューで最も使用されている用語を選択します", - "timelion.help.mainPage.keyboardTips.autoComplete.escDescription": "自動入力メニューを閉じます", - "timelion.help.mainPage.keyboardTips.autoCompleteTitle": "自動入力が有効な場合", - "timelion.help.mainPage.keyboardTips.generalEditing.submitRequestText": "リクエストを送信します", - "timelion.help.mainPage.keyboardTips.generalEditingTitle": "一般編集", - "timelion.help.mainPage.keyboardTipsTitle": "キーボードのヒント", - "timelion.help.mainPageTitle": "ヘルプ", - "timelion.help.nextPageButtonLabel": "次へ", - "timelion.help.previousPageButtonLabel": "前へ", - "timelion.help.querying.countMetricAggregationLinkText": "Elasticsearch メトリック集約", - "timelion.help.querying.countTextPart1": "イベントをカウントするのも良いですが、Elasticsearch のデータソースは単独の値を返す", - "timelion.help.querying.countTextPart2": "もサポートしています。最も便利なものには、{min}、{max}、{avg}、{sum}、{cardinality} があります。{srcIp} フィールドのユニークカウントを求めたいとしましょう。{cardinality} メトリック {esCardinalityQuery} を使用します。{bytes} フィールドの平均を取得するには、{avg} metric:メトリック {esAvgQuery} を使用できます。", - "timelion.help.querying.countTitle": "カウントを超えて", - "timelion.help.querying.esAsteriskQueryDescriptionText": "Elasticsearch、デフォルトインデックスのすべてを計算", - "timelion.help.querying.esIndexQueryDescriptionText": "* を logstash-* インデックスの q (クエリ) として使用します", - "timelion.help.querying.luceneQueryLinkText": "Lucene クエリ文字列", - "timelion.help.querying.paragraph1": "Elasticsearch データソースが利用可能であることを確認済みなので、クエリの送信ができます。手始めに、インプットバーに {esPattern} と入力し Enter を押してみましょう。", - "timelion.help.querying.paragraph2Part1": "これは{esAsteriskQueryDescription}となります。サブセットを把握したい場合は、{htmlQuery} で {html} に一致するイベントをカウントしたり、{bobQuery} で {user} フィールドに {bob} を含み、{bytes} フィールドが 100 より大きな値のイベントを検索したりできます。このクエリはシングルクォートで囲まれています。スペースを含むためです。いずれかの", - "timelion.help.querying.paragraph2Part2": "を {esQuery} 関数の初めの引数として入力することができます。", - "timelion.help.querying.passingArgumentsText": "Timelion には一般的な操作を簡単に行えるよう、いくつものショートカットがあります。スペースや特殊文字を含まないシンプルな引数用のものがその一つで、クォートを使う必要はありません。また、多くの関数にデフォルトがあります。たとえば、{esEmptyQuery} と {esStarQuery} で実行される処理は同じです。引数には名前も付いているため、特定の順序で指定する必要はありません。たとえば、{esLogstashQuery} を入力して、Elasticsearch データソース {esIndexQueryDescription} に命令することができます。", - "timelion.help.querying.passingArgumentsTitle": "引数の受け渡し", - "timelion.help.queryingTitle": "Elasticsearch データソースにクエリを実行中", - "timelion.help.unknownErrorMessage": "不明なエラー", - "timelion.help.welcome.content.emphasizedEverythingText": "すべて", - "timelion.help.welcome.content.functionReferenceLinkText": "関数リファレンスに移動", - "timelion.help.welcome.content.paragraph1": "Timelion は時系列に関する {emphasizedEverything} を司る、全知全能のツールです。データストアから提供された時系列データは、Timelion にお任せください。Timelion は複数データソースのデータセットを、覚えやすい式構文で比較、結合、整理できます。このチュートリアルは Elasticsearch が中心となりますが、ここで学んだことは Timelion がサポートするすべてのデータソースに適用できます。", - "timelion.help.welcome.content.paragraph2": "はじめてみる{strongNext} をクリックします。チュートリアルをスキップしてドキュメントを表示しますか?", - "timelion.help.welcome.content.strongNextText": "次へ", - "timelion.help.welcomeTitle": "{strongTimelionLabel} へようこそ!", - "timelion.intervals.customIntervalAriaLabel": "カスタム間隔", - "timelion.intervals.selectIntervalAriaLabel": "間隔を選択", - "timelion.noFunctionErrorMessage": "そのような関数はありません:{name}", - "timelion.panels.noRenderFunctionErrorMessage": "パネルにはレンダリング関数が必要です", - "timelion.panels.timechart.unknownIntervalErrorMessage": "不明な間隔", - "timelion.requestHandlerErrorTitle": "Timelion リクエストエラー", - "timelion.savedObjectFinder.addNewItemButtonLabel": "新規{item}を追加", - "timelion.savedObjectFinder.manageItemsButtonLabel": "{items}の管理", - "timelion.savedObjectFinder.noMatchesFoundDescription": "一致する{items}が見つかりません。", - "timelion.savedObjectFinder.pageItemsFromHitCountDescription": "{hitCount} 件中 {pageFirstItem}-{pageLastItem} 件目", - "timelion.savedObjectFinder.sortByButtonLabeAscendingScreenReaderOnly": "昇順", - "timelion.savedObjectFinder.sortByButtonLabeDescendingScreenReaderOnly": "降順", - "timelion.savedObjectFinder.sortByButtonLabel": "名前", - "timelion.savedObjectFinder.sortByButtonLabelScreenReaderOnly": "並べ替え基準", - "timelion.savedObjects.howToSaveAsNewDescription": "以前のバージョンの Kibana では、{savedObjectName} の名前を変更すると新しい名前でコピーが作成されました。現在のバージョンで同じように保存するには、[新規 {savedObjectName} として保存]チェックボックスを使用します。", - "timelion.savedObjects.saveAsNewLabel": "新規 {savedObjectName} として保存", - "timelion.saveExpression.successNotificationText": "保存された式「{title}」", - "timelion.saveSheet.successNotificationText": "保存されたシート「{title}」", - "timelion.search.submitAriaLabel": "検索", - "timelion.searchErrorTitle": "Timelion リクエストエラー", - "timelion.serverSideErrors.argumentsOverflowErrorMessage": "{functionName} に引き渡された引数が多すぎます", - "timelion.serverSideErrors.bucketsOverflowErrorMessage": "最大バケットを超えました:{bucketCount}/{maxBuckets} が許可されています。より広い間隔または短い期間を選択してください", - "timelion.serverSideErrors.colorFunction.colorNotProvidedErrorMessage": "色が指定されていません", - "timelion.serverSideErrors.conditionFunction.unknownOperatorErrorMessage": "不明な演算子", - "timelion.serverSideErrors.conditionFunction.wrongArgTypeErrorMessage": "数字または seriesList でなければなりません", - "timelion.serverSideErrors.esFunction.indexNotFoundErrorMessage": "Elasticsearch インデックス {index} が見つかりません", - "timelion.serverSideErrors.holtFunction.missingParamsErrorMessage": "シーズンの長さとサンプルサイズ >= 2 を指定する必要があります", - "timelion.serverSideErrors.holtFunction.notEnoughPointsErrorMessage": "二重指数平滑化を使用するには最低 2 つの点が必要です", - "timelion.serverSideErrors.movingaverageFunction.notValidPositionErrorMessage": "有効な配置:{validPositions}", - "timelion.serverSideErrors.movingstdFunction.notValidPositionErrorMessage": "有効な配置:{validPositions}", - "timelion.serverSideErrors.pointsFunction.notValidSymbolErrorMessage": "有効なシンボル:{validSymbols}", - "timelion.serverSideErrors.quandlFunction.unsupportedIntervalErrorMessage": "quandl () でサポートされていない間隔:{interval}. quandl () でサポートされている間隔:{intervals}", - "timelion.serverSideErrors.sheetParseErrorMessage": "予想:文字 {column} で {expectedDescription}", - "timelion.serverSideErrors.unknownArgumentErrorMessage": "{functionName} への不明な引数:{argumentName}", - "timelion.serverSideErrors.unknownArgumentTypeErrorMessage": "引数タイプがサポートされていません:{argument}", - "timelion.serverSideErrors.worldbankFunction.noDataErrorMessage": "Worldbank へのリクエストは成功しましたが、{code} のデータがありませんでした", - "timelion.serverSideErrors.wrongFunctionArgumentTypeErrorMessage": "{functionName} ({argumentName}) は {requiredTypes} の内の 1 つでなければなりません。{actualType} を入手", - "timelion.serverSideErrors.yaxisFunction.notSupportedUnitTypeErrorMessage": "{units} はサポートされているユニットタイプではありません。", - "timelion.serverSideErrors.yaxisFunction.notValidCurrencyFormatErrorMessage": "通貨は 3 文字のコードでなければなりません", - "timelion.timelionDescription": "グラフに時系列データを表示します。", - "timelion.topNavMenu.addChartButtonAriaLabel": "チャートを追加", - "timelion.topNavMenu.addChartButtonLabel": "追加", - "timelion.topNavMenu.delete.modal.confirmButtonLabel": "削除", - "timelion.topNavMenu.delete.modal.successNotificationText": "「{title}」が削除されました", - "timelion.topNavMenu.delete.modal.warningText": "削除されたシートは復元できません。", - "timelion.topNavMenu.delete.modalTitle": "Timelion シート「{title}」を削除しますか?", - "timelion.topNavMenu.deleteSheetButtonAriaLabel": "現在のシートを削除", - "timelion.topNavMenu.deleteSheetButtonLabel": "削除", - "timelion.topNavMenu.helpButtonAriaLabel": "ヘルプ", - "timelion.topNavMenu.helpButtonLabel": "ヘルプ", - "timelion.topNavMenu.newSheetButtonAriaLabel": "新規シート", - "timelion.topNavMenu.newSheetButtonLabel": "新規", - "timelion.topNavMenu.openSheetButtonAriaLabel": "シートを開く", - "timelion.topNavMenu.openSheetButtonLabel": "開く", - "timelion.topNavMenu.openSheetTitle": "シートを開く", - "timelion.topNavMenu.options.columnsCountLabel": "列 (列カウントは 12 できっかりと割れる必要があります) ", - "timelion.topNavMenu.options.rowsCountLabel": "行 (これは現在のウィンドウの縦の長さに基づく目標値です) 。", - "timelion.topNavMenu.optionsButtonAriaLabel": "オプション", - "timelion.topNavMenu.optionsButtonLabel": "オプション", - "timelion.topNavMenu.save.saveAsDashboardPanel.inputPlaceholder": "このパネルに名前を付ける", - "timelion.topNavMenu.save.saveAsDashboardPanel.selectedExpressionLabel": "現在選択されている式", - "timelion.topNavMenu.save.saveAsDashboardPanel.submitButtonLabel": "保存", - "timelion.topNavMenu.save.saveAsDashboardPanelDescription": "Kibana ダッシュボードにチャートの追加が必要ですか?できます!このオプションは、現在選択されている式を、他のオブジェクトの追加と同じように Kibana ダッシュボードに追加可能なパネルとして保存します。他のパネルへのリファレンスが使用されている場合、リファレンスの表現を直接保存する表現にコピーして、リファレンスを削除する必要があります。他の表現式を保存するよう選択するには、チャートをクリックします。", - "timelion.topNavMenu.save.saveAsDashboardPanelLabel": "式に名前を付けて保存", - "timelion.topNavMenu.save.saveAsDashboardPanelTitle": "現在の式を Kibana ダッシュボードのパネルとして保存", - "timelion.topNavMenu.save.saveEntireSheet.inputAriaLabel": "名前", - "timelion.topNavMenu.save.saveEntireSheet.inputPlaceholder": "このシートに名前を付ける...", - "timelion.topNavMenu.save.saveEntireSheet.submitButtonLabel": "保存", - "timelion.topNavMenu.save.saveEntireSheetDescription": "Timelion 式を主に Timelion アプリで使用し、Kibana のダッシュボードに Timelion のチャートを追加する必要がない場合は、このオプションを使用します。他のパネルへのリファレンスを使用する場合もこのオプションを使用します。", - "timelion.topNavMenu.save.saveEntireSheetLabel": "シートに名前を付けて保存", - "timelion.topNavMenu.save.saveEntireSheetTitle": "Timelion シート全体の保存", - "timelion.topNavMenu.saveSheetButtonAriaLabel": "シートを保存", - "timelion.topNavMenu.saveSheetButtonLabel": "保存", - "timelion.topNavMenu.sheetOptionsTitle": "シートオプション", - "timelion.topNavMenu.statsDescription": "クエリ時間 {queryTime}ms / 処理時間 {processingTime}ms", - "timelion.uiSettings.defaultColumnsDescription": "デフォルトの Timelion シートの列数です", - "timelion.uiSettings.defaultColumnsLabel": "デフォルトの列", - "timelion.uiSettings.defaultIndexDescription": "{esParam} で検索するデフォルトの Elasticsearch インデックスです", - "timelion.uiSettings.defaultIndexLabel": "デフォルトのインデックス", - "timelion.uiSettings.defaultRowsDescription": "デフォルトの Timelion シートの行数です", - "timelion.uiSettings.defaultRowsLabel": "デフォルトの行", - "timelion.uiSettings.experimentalLabel": "実験的", - "timelion.uiSettings.graphiteURLDescription": "{experimentalLabel} Graphite ホストの URL", - "timelion.uiSettings.graphiteURLLabel": "Graphite URL", - "timelion.uiSettings.maximumBucketsDescription": "1つのデータソースが返せるバケットの最大数です", - "timelion.uiSettings.maximumBucketsLabel": "バケットの最大数", - "timelion.uiSettings.minimumIntervalDescription": "「auto」を使用時に計算される最小の間隔です", - "timelion.uiSettings.minimumIntervalLabel": "最低間隔", - "timelion.uiSettings.quandlKeyDescription": "{experimentalLabel} www.quandl.com からの API キーです", - "timelion.uiSettings.quandlKeyLabel": "Quandl キー", - "timelion.uiSettings.showTutorialDescription": "Timelion アプリの起動時にデフォルトでチュートリアルを表示しますか?", - "timelion.uiSettings.showTutorialLabel": "チュートリアルを表示", - "timelion.uiSettings.targetBucketsDescription": "自動間隔の使用時に目標となるバケット数です。", - "timelion.uiSettings.targetBucketsLabel": "目標バケット数", - "timelion.uiSettings.timeFieldDescription": "{esParam} の使用時にタイムスタンプを含むデフォルトのフィールドです", - "timelion.uiSettings.timeFieldLabel": "時間フィールド", - "timelion.vis.expressionLabel": "Timelion 式", - "timelion.vis.interval.auto": "自動", - "timelion.vis.interval.day": "1日", - "timelion.vis.interval.hour": "1時間", - "timelion.vis.interval.minute": "1分", - "timelion.vis.interval.month": "1か月", - "timelion.vis.interval.second": "1秒", - "timelion.vis.interval.week": "1週間", - "timelion.vis.interval.year": "1年", - "timelion.vis.intervalLabel": "間隔", - "timelion.vis.invalidIntervalErrorMessage": "無効な間隔フォーマット。", - "timelion.vis.selectIntervalHelpText": "オプションを選択するかカスタム値を作成します。例:30s、20m、24h、2d、1w、1M", - "timelion.vis.selectIntervalPlaceholder": "間隔を選択", - "uiActions.actionPanel.more": "詳細", - "uiActions.actionPanel.title": "オプション", - "uiActions.errors.incompatibleAction": "操作に互換性がありません", - "uiActions.triggers.rowClickkDescription": "テーブル行をクリック", - "uiActions.triggers.rowClickTitle": "テーブル行クリック", - "usageCollection.stats.notReadyMessage": "まだ統計が準備できていません。しばらくたってから再試行してください。", - "visDefaultEditor.advancedToggle.advancedLinkLabel": "高度な設定", - "visDefaultEditor.agg.disableAggButtonTooltip": "{schemaTitle} {aggTitle} アグリゲーションを無効にする", - "visDefaultEditor.agg.enableAggButtonTooltip": "{schemaTitle} {aggTitle} アグリゲーションを有効にする", - "visDefaultEditor.agg.errorsAriaLabel": "{schemaTitle} {aggTitle} アグリゲーションにエラーがあります", - "visDefaultEditor.agg.modifyPriorityButtonTooltip": "ドラッグして {schemaTitle} {aggTitle} の優先度を変更する", - "visDefaultEditor.agg.removeDimensionButtonTooltip": "{schemaTitle} {aggTitle} アグリゲーションを削除する", - "visDefaultEditor.agg.toggleEditorButtonAriaLabel": "{schema} エディターを切り替える", - "visDefaultEditor.aggAdd.addButtonLabel": "追加", - "visDefaultEditor.aggAdd.addGroupButtonLabel": "{groupNameLabel} を追加", - "visDefaultEditor.aggAdd.addSubGroupButtonLabel": "サブ {groupNameLabel} を追加", - "visDefaultEditor.aggAdd.bucketLabel": "バケット", - "visDefaultEditor.aggAdd.maxBuckets": "最大{groupNameLabel}数に達しました", - "visDefaultEditor.aggAdd.metricLabel": "メトリック", - "visDefaultEditor.aggParams.errors.aggWrongRunOrderErrorMessage": "「{schema}」集約は他のバケットの前に実行する必要があります!", - "visDefaultEditor.aggSelect.aggregationLabel": "集約", - "visDefaultEditor.aggSelect.helpLinkLabel": "{aggTitle}のヘルプ", - "visDefaultEditor.aggSelect.noCompatibleAggsDescription": "インデックスパターン{indexPatternTitle}には集約可能なフィールドが含まれていません。", - "visDefaultEditor.aggSelect.selectAggPlaceholder": "集約を選択してください", - "visDefaultEditor.aggSelect.subAggregationLabel": "サブ集約", - "visDefaultEditor.buckets.mustHaveBucketErrorMessage": "「日付ヒストグラム」または「ヒストグラム」集約のバケットを追加します。", - "visDefaultEditor.controls.aggNotValidLabel": "- 無効な集約 -", - "visDefaultEditor.controls.aggregateWith.noAggsErrorTooltip": "選択されたフィールドには互換性のある集約がありません。", - "visDefaultEditor.controls.aggregateWithLabel": "集約:", - "visDefaultEditor.controls.aggregateWithTooltip": "複数ヒットまたは複数値のフィールドを 1 つのメトリックにまとめる方法を選択します。", - "visDefaultEditor.controls.changePrecisionLabel": "マップズームの精度を変更", - "visDefaultEditor.controls.columnsLabel": "列", - "visDefaultEditor.controls.customMetricLabel": "カスタムメトリック", - "visDefaultEditor.controls.dateRanges.acceptedDateFormatsLinkText": "許容可能な日付形式", - "visDefaultEditor.controls.dateRanges.addRangeButtonLabel": "範囲を追加", - "visDefaultEditor.controls.dateRanges.errorMessage": "各範囲は1つ以上の有効な日付にしてください。", - "visDefaultEditor.controls.dateRanges.fromColumnLabel": "開始:", - "visDefaultEditor.controls.dateRanges.removeRangeButtonAriaLabel": "{from}から{to}の範囲を削除", - "visDefaultEditor.controls.dateRanges.toColumnLabel": "終了:", - "visDefaultEditor.controls.definiteMetricLabel": "メトリック:{metric}", - "visDefaultEditor.controls.dotSizeRatioHelpText": "最小の点から最大の点までの半径の比率を変更します。", - "visDefaultEditor.controls.dotSizeRatioLabel": "点サイズ率", - "visDefaultEditor.controls.dropPartialBucketsLabel": "不完全なバケットをドロップ", - "visDefaultEditor.controls.dropPartialBucketsTooltip": "時間範囲外にわたるバケットを削除してヒストグラムが不完全なバケットで開始・終了しないようにします。", - "visDefaultEditor.controls.extendedBounds.errorMessage": "最低値は最大値以下でなければなりません。", - "visDefaultEditor.controls.extendedBounds.maxLabel": "最高", - "visDefaultEditor.controls.extendedBounds.minLabel": "最低", - "visDefaultEditor.controls.extendedBoundsLabel": "拡張された境界", - "visDefaultEditor.controls.extendedBoundsTooltip": "最低値と最高値は結果を絞るのではなく、結果セットのバウンドを拡張します。", - "visDefaultEditor.controls.field.fieldIsNotExists": "このオブジェクトに関連付けられたフィールド\"{fieldParameter}\"は、インデックスパターンに存在しません。別のフィールドを使用してください。", - "visDefaultEditor.controls.field.fieldLabel": "フィールド", - "visDefaultEditor.controls.field.invalidFieldForAggregation": "このアグリゲーションで使用するには、インデックスパターン\"{indexPatternTitle}\"の保存されたフィールド\"{fieldParameter}\"が無効です。新しいフィールドを選択してください。", - "visDefaultEditor.controls.field.noCompatibleFieldsDescription": "インデックスパターン` {indexPatternTitle} に次の互換性のあるフィールドタイプが 1 つも含まれていません:{fieldTypes}", - "visDefaultEditor.controls.field.selectFieldPlaceholder": "フィールドの選択", - "visDefaultEditor.controls.filters.addFilterButtonLabel": "フィルターを追加します", - "visDefaultEditor.controls.filters.definiteFilterLabel": "{index} ラベルでフィルタリング", - "visDefaultEditor.controls.filters.filterLabel": "{index} でフィルタリング", - "visDefaultEditor.controls.filters.labelPlaceholder": "ラベル", - "visDefaultEditor.controls.filters.removeFilterButtonAriaLabel": "このフィルターを削除", - "visDefaultEditor.controls.filters.toggleFilterButtonAriaLabel": "フィルターラベルを切り替える", - "visDefaultEditor.controls.includeExclude.addUnitButtonLabel": "値を追加", - "visDefaultEditor.controls.ipRanges.addRangeButtonLabel": "範囲を追加", - "visDefaultEditor.controls.ipRanges.cidrMaskAriaLabel": "CIDR マスク:{mask}", - "visDefaultEditor.controls.ipRanges.cidrMasksButtonLabel": "CIDR マスク", - "visDefaultEditor.controls.ipRanges.fromToButtonLabel": "開始/終了", - "visDefaultEditor.controls.ipRanges.ipRangeFromAriaLabel": "IP 範囲の開始値:{value}", - "visDefaultEditor.controls.ipRanges.ipRangeToAriaLabel": "IP 範囲の終了値:{value}", - "visDefaultEditor.controls.ipRanges.removeCidrMaskButtonAriaLabel": "{mask} の CIDR マスクの値を削除", - "visDefaultEditor.controls.ipRanges.removeEmptyCidrMaskButtonAriaLabel": "CIDR マスクのデフォルトの値を削除", - "visDefaultEditor.controls.ipRanges.removeRangeAriaLabel": "{from}から{to}の範囲を削除", - "visDefaultEditor.controls.ipRangesAriaLabel": "IP 範囲", - "visDefaultEditor.controls.jsonInputLabel": "JSON インプット", - "visDefaultEditor.controls.jsonInputTooltip": "ここに追加された JSON 形式のプロパティは、すべてこのセクションの Elasticsearch 集約定義に融合されます。用語集約における「shard_size」がその例です。", - "visDefaultEditor.controls.maxBars.autoPlaceholder": "自動", - "visDefaultEditor.controls.maxBars.maxBarsHelpText": "間隔は、使用可能なデータに基づいて、自動的に選択されます。棒の最大数は、詳細設定の{histogramMaxBars}以下でなければなりません。", - "visDefaultEditor.controls.maxBars.maxBarsLabel": "棒の最大数", - "visDefaultEditor.controls.metricLabel": "メトリック", - "visDefaultEditor.controls.metrics.bucketTitle": "バケット", - "visDefaultEditor.controls.metrics.metricTitle": "メトリック", - "visDefaultEditor.controls.numberInterval.autoInteralIsUsed": "自動間隔が使用されます", - "visDefaultEditor.controls.numberInterval.minimumIntervalLabel": "最低間隔", - "visDefaultEditor.controls.numberInterval.minimumIntervalTooltip": "入力された値により高度な設定の {histogramMaxBars} で指定されたよりも多くのバケットが作成される場合、間隔は自動的にスケーリングされます。", - "visDefaultEditor.controls.numberInterval.selectIntervalPlaceholder": "間隔を入力", - "visDefaultEditor.controls.numberList.addUnitButtonLabel": "{unitName} を追加", - "visDefaultEditor.controls.numberList.duplicateValueErrorMessage": "重複値。", - "visDefaultEditor.controls.numberList.enterValuePlaceholder": "値を入力", - "visDefaultEditor.controls.numberList.invalidAscOrderErrorMessage": "値は昇順になっていません。", - "visDefaultEditor.controls.numberList.invalidRangeErrorMessage": "値は {min} から {max} の範囲でなければなりません。", - "visDefaultEditor.controls.numberList.removeUnitButtonAriaLabel": "{value} のランク値を削除", - "visDefaultEditor.controls.onlyRequestDataAroundMapExtentLabel": "マップ範囲のデータのみリクエストしてください", - "visDefaultEditor.controls.onlyRequestDataAroundMapExtentTooltip": "geo_bounding_box フィルター集約を適用して、襟付きのマップビューボックスにサブジェクトエリアを絞ります", - "visDefaultEditor.controls.orderAgg.alphabeticalLabel": "アルファベット順", - "visDefaultEditor.controls.orderAgg.orderByLabel": "並び順", - "visDefaultEditor.controls.orderLabel": "順序", - "visDefaultEditor.controls.otherBucket.groupValuesLabel": "他の値を別のバケットにまとめる", - "visDefaultEditor.controls.otherBucket.groupValuesTooltip": "トップ N 以外の値はこのバケットにまとめられます。欠測値があるドキュメントを含めるには、「欠測値を表示」を有効にしてください。", - "visDefaultEditor.controls.otherBucket.showMissingValuesLabel": "欠測値を表示", - "visDefaultEditor.controls.otherBucket.showMissingValuesTooltip": "「文字列」タイプのフィールドにのみ使用できます。有効にすると、欠測値があるドキュメントが検索に含まれます。バケットがトップ N の場合、チャートに表示されます。トップ N ではなく、「他の値を別のバケットにまとえる」が有効な場合、Elasticsearch は欠測値を「他」のバケットに追加します。", - "visDefaultEditor.controls.percentileRanks.percentUnitNameText": "パーセント", - "visDefaultEditor.controls.percentileRanks.valuesLabel": "値", - "visDefaultEditor.controls.percentileRanks.valueUnitNameText": "値", - "visDefaultEditor.controls.percentiles.percentsLabel": "パーセント", - "visDefaultEditor.controls.placeMarkersOffGridLabel": "グリッド外にマーカーを配置 (ジオセントロイドを使用) ", - "visDefaultEditor.controls.precisionLabel": "精度", - "visDefaultEditor.controls.ranges.addRangeButtonLabel": "範囲を追加", - "visDefaultEditor.controls.ranges.fromLabel": "開始:", - "visDefaultEditor.controls.ranges.greaterThanOrEqualPrepend": "≧", - "visDefaultEditor.controls.ranges.greaterThanOrEqualTooltip": "よりも大きいまたは等しい", - "visDefaultEditor.controls.ranges.lessThanPrepend": "<", - "visDefaultEditor.controls.ranges.lessThanTooltip": "より小さい", - "visDefaultEditor.controls.ranges.removeRangeButtonAriaLabel": "{from}から{to}の範囲を削除", - "visDefaultEditor.controls.ranges.toLabel": "終了:", - "visDefaultEditor.controls.rowsLabel": "行", - "visDefaultEditor.controls.scaleMetricsLabel": "メトリック値のスケーリング (非推奨) ", - "visDefaultEditor.controls.scaleMetricsTooltip": "これを有効にすると、手動最低間隔を選択し、広い間隔が使用された場合、カウントと合計メトリックが手動で選択された間隔にスケーリングされます。", - "visDefaultEditor.controls.showEmptyBucketsLabel": "空のバケットを表示", - "visDefaultEditor.controls.showEmptyBucketsTooltip": "結果のあるバケットだけでなくすべてのバケットを表示します", - "visDefaultEditor.controls.sizeLabel": "サイズ", - "visDefaultEditor.controls.sizeTooltip": "トップ K のヒットをリクエスト。複数ヒットは「集約基準」でまとめられます。", - "visDefaultEditor.controls.sortOnLabel": "並べ替えオン", - "visDefaultEditor.controls.splitByLegend": "行または列でチャートを分割します。", - "visDefaultEditor.controls.timeInterval.createsTooLargeBucketsTooltip": "この間隔は、選択された時間範囲に表示するには大きすぎるバケットが作成されるため、にスケーリングされています。", - "visDefaultEditor.controls.timeInterval.createsTooManyBucketsTooltip": "この間隔は選択された時間範囲に表示しきれない数のバケットが作成されるため、にスケーリングされています。", - "visDefaultEditor.controls.timeInterval.invalidFormatErrorMessage": "無効な間隔フォーマット。", - "visDefaultEditor.controls.timeInterval.minimumIntervalLabel": "最低間隔", - "visDefaultEditor.controls.timeInterval.scaledHelpText": "現在 {bucketDescription} にスケーリングされています", - "visDefaultEditor.controls.timeInterval.selectIntervalPlaceholder": "間隔を選択", - "visDefaultEditor.controls.timeInterval.selectOptionHelpText": "オプションを選択するかカスタム値を作成します。例:30s、20m、24h、2d、1w、1M", - "visDefaultEditor.controls.useAutoInterval": "自動間隔を使用", - "visDefaultEditor.editorConfig.dateHistogram.customInterval.helpText": "構成間隔の倍数でなければなりません:{interval}", - "visDefaultEditor.editorConfig.histogram.interval.helpText": "構成間隔の倍数でなければなりません:{interval}", - "visDefaultEditor.metrics.wrongLastBucketTypeErrorMessage": "「{type}」メトリック集約を使用する場合、最後のバケット集約は「Date Histogram」または「Histogram」でなければなりません。", - "visDefaultEditor.options.colorRanges.errorText": "各範囲は前の範囲よりも大きくなければなりません。", - "visDefaultEditor.options.colorSchema.colorSchemaLabel": "配色", - "visDefaultEditor.options.colorSchema.howToChangeColorsDescription": "それぞれの色は凡例で変更できます。", - "visDefaultEditor.options.colorSchema.resetColorsButtonLabel": "色をリセット", - "visDefaultEditor.options.colorSchema.reverseColorSchemaLabel": "図表を反転", - "visDefaultEditor.options.percentageMode.documentationLabel": "Numeral.jsドキュメント", - "visDefaultEditor.options.percentageMode.numeralLabel": "形式パターン", - "visDefaultEditor.options.percentageMode.percentageModeLabel": "百分率モード", - "visDefaultEditor.options.rangeErrorMessage": "値は{min}と{max}の間でなければなりません", - "visDefaultEditor.options.vislibBasicOptions.legendPositionLabel": "凡例位置", - "visDefaultEditor.options.vislibBasicOptions.showTooltipLabel": "ツールヒントを表示", - "visDefaultEditor.palettePicker.label": "カラーパレット", - "visDefaultEditor.sidebar.autoApplyChangesLabelOff": "自動適用がオフです", - "visDefaultEditor.sidebar.autoApplyChangesLabelOn": "自動適用がオンです", - "visDefaultEditor.sidebar.autoApplyChangesOff": "オフ", - "visDefaultEditor.sidebar.autoApplyChangesOffLabel": "自動適用がオフです", - "visDefaultEditor.sidebar.autoApplyChangesOn": "オン", - "visDefaultEditor.sidebar.autoApplyChangesOnLabel": "自動適用がオンです", - "visDefaultEditor.sidebar.autoApplyChangesTooltip": "変更されるごとにビジュアライゼーションを自動的に更新します。", - "visDefaultEditor.sidebar.collapseButtonAriaLabel": "サイドバーを切り替える", - "visDefaultEditor.sidebar.discardChangesButtonLabel": "破棄", - "visDefaultEditor.sidebar.errorButtonTooltip": "ハイライトされたフィールドのエラーを解決する必要があります。", - "visDefaultEditor.sidebar.indexPatternAriaLabel": "インデックスパターン:{title}", - "visDefaultEditor.sidebar.savedSearch.goToDiscoverButtonText": "Discover にこの検索を表示", - "visDefaultEditor.sidebar.savedSearch.linkButtonAriaLabel": "保存された検索へのリンク。クリックして詳細を確認するかリンクを解除します。", - "visDefaultEditor.sidebar.savedSearch.popoverHelpText": "保存したこの検索に今後加える修正は、ビジュアライゼーションに反映されます。自動更新を無効にするには、リンクを削除します。", - "visDefaultEditor.sidebar.savedSearch.popoverTitle": "保存された検索にリンクされています", - "visDefaultEditor.sidebar.savedSearch.titleAriaLabel": "保存された検索:{title}", - "visDefaultEditor.sidebar.savedSearch.unlinkSavedSearchButtonText": "保存された検索へのリンクを削除", - "visDefaultEditor.sidebar.tabs.dataLabel": "データ", - "visDefaultEditor.sidebar.tabs.optionsLabel": "オプション", - "visDefaultEditor.sidebar.updateChartButtonLabel": "更新", - "visDefaultEditor.sidebar.updateInfoTooltip": "CTRL + Enterは更新のショートカットです。", - "visTypeMarkdown.function.font.help": "フォント設定です。", - "visTypeMarkdown.function.help": "マークダウンビジュアライゼーション", - "visTypeMarkdown.function.markdown.help": "レンダリングするマークダウン", - "visTypeMarkdown.function.openLinksInNewTab.help": "新規タブでリンクを開きます", - "visTypeMarkdown.markdownDescription": "テキストと画像をダッシュボードに追加します。", - "visTypeMarkdown.markdownTitleInWizard": "テキスト", - "visTypeMarkdown.params.fontSizeLabel": "ポイント単位のベースフォントサイズです。", - "visTypeMarkdown.params.helpLinkLabel": "ヘルプ", - "visTypeMarkdown.params.openLinksLabel": "新規タブでリンクを開く", - "visTypeMarkdown.tabs.dataText": "データ", - "visTypeMarkdown.tabs.optionsText": "オプション", - "visTypeMetric.colorModes.backgroundOptionLabel": "背景", - "visTypeMetric.colorModes.labelsOptionLabel": "ラベル", - "visTypeMetric.colorModes.noneOptionLabel": "なし", - "visTypeMetric.function.bgFill.help": "html 16 進数コード (#123456) 、html 色 (red、blue) 、または rgba 値 (rgba (255,255,255,1) ) 。", - "visTypeMetric.function.bucket.help": "バケットディメンションの構成です。", - "visTypeMetric.function.colorMode.help": "色を変更するメトリックの部分", - "visTypeMetric.function.colorRange.help": "別の色が適用される値のグループを指定する範囲オブジェクト。", - "visTypeMetric.function.colorSchema.help": "使用する配色", - "visTypeMetric.function.font.help": "フォント設定です。", - "visTypeMetric.function.help": "メトリックビジュアライゼーション", - "visTypeMetric.function.invertColors.help": "色範囲を反転します", - "visTypeMetric.function.metric.help": "メトリックディメンションの構成です。", - "visTypeMetric.function.percentageMode.help": "百分率モードでメトリックを表示します。colorRange を設定する必要があります。", - "visTypeMetric.function.showLabels.help": "メトリック値の下にラベルを表示します。", - "visTypeMetric.function.subText.help": "メトリックの下に表示するカスタムテキスト", - "visTypeMetric.function.useRanges.help": "有効な色範囲です。", - "visTypeMetric.metricDescription": "計算結果を単独の数字として表示します。", - "visTypeMetric.metricTitle": "メトリック", - "visTypeMetric.params.color.useForLabel": "使用する色", - "visTypeMetric.params.rangesTitle": "範囲", - "visTypeMetric.params.settingsTitle": "設定", - "visTypeMetric.params.showTitleLabel": "タイトルを表示", - "visTypeMetric.params.style.fontSizeLabel": "ポイント単位のメトリックフォントサイズ", - "visTypeMetric.params.style.styleTitle": "スタイル", - "visTypeMetric.schemas.metricTitle": "メトリック", - "visTypeMetric.schemas.splitGroupTitle": "グループを分割", - "visTypePie.advancedSettings.visualization.legacyPieChartsLibrary.deprecation": "Visualizeの円グラフのレガシーグラフライブラリは廃止予定であり、8.0以降ではサポートされません。", - "visTypePie.advancedSettings.visualization.legacyPieChartsLibrary.description": "Visualizeで円グラフのレガシーグラフライブラリを有効にします。", - "visTypePie.advancedSettings.visualization.legacyPieChartsLibrary.name": "円グラフのレガシーグラフライブラリ", - "visTypePie.controls.truncateLabel": "切り捨て", - "visTypePie.editors.pie.addLegendLabel": "凡例を表示", - "visTypePie.editors.pie.decimalSliderLabel": "割合の最大小数点桁数", - "visTypePie.editors.pie.distinctColorsLabel": "スライスごとに異なる色を使用", - "visTypePie.editors.pie.donutLabel": "ドーナッツ", - "visTypePie.editors.pie.labelPositionLabel": "ラベル位置", - "visTypePie.editors.pie.labelsSettingsTitle": "ラベル設定", - "visTypePie.editors.pie.nestedLegendLabel": "ネスト凡例", - "visTypePie.editors.pie.pieSettingsTitle": "パイ設定", - "visTypePie.editors.pie.showLabelsLabel": "ラベルを表示", - "visTypePie.editors.pie.showTopLevelOnlyLabel": "トップレベルのみ表示", - "visTypePie.editors.pie.showValuesLabel": "値を表示", - "visTypePie.editors.pie.valueFormatsLabel": "値", - "visTypePie.function.args.addLegendHelpText": "グラフ凡例を表示", - "visTypePie.function.args.addTooltipHelpText": "スライスにカーソルを置いたときにツールチップを表示", - "visTypePie.function.args.bucketsHelpText": "バケットディメンション構成", - "visTypePie.function.args.distinctColorsHelpText": "スライスごとに異なる色をマッピングします。同じ値のスライスは同じ色になります", - "visTypePie.function.args.isDonutHelpText": "円グラフをドーナツグラフとして表示します", - "visTypePie.function.args.labelsHelpText": "円グラフラベル構成", - "visTypePie.function.args.legendPositionHelpText": "グラフの上、下、左、右に凡例を配置", - "visTypePie.function.args.metricHelpText": "メトリックディメンション構成", - "visTypePie.function.args.nestedLegendHelpText": "詳細凡例を表示", - "visTypePie.function.args.paletteHelpText": "グラフパレット名を定義します", - "visTypePie.function.args.splitColumnHelpText": "列ディメンション構成で分割", - "visTypePie.function.args.splitRowHelpText": "行ディメンション構成で分割", - "visTypePie.function.pieLabels.help": "円グラフラベルオブジェクトを生成します", - "visTypePie.function.pieLabels.lastLevel.help": "最上位のラベルのみを表示", - "visTypePie.function.pieLabels.percentDecimals.help": "割合として値に表示される10進数を定義します", - "visTypePie.function.pieLabels.position.help": "ラベル位置を定義します", - "visTypePie.function.pieLabels.show.help": "円グラフのラベルを表示します", - "visTypePie.function.pieLabels.truncate.help": "スライス値が表示される文字数を定義します", - "visTypePie.function.pieLabels.values.help": "スライス内の値を定義します", - "visTypePie.function.pieLabels.valuesFormat.help": "値の形式を定義します", - "visTypePie.functions.help": "パイビジュアライゼーション", - "visTypePie.labelPositions.insideOrOutsideText": "内部または外部", - "visTypePie.labelPositions.insideText": "内部", - "visTypePie.legend.filterForValueButtonAriaLabel": "値でフィルター", - "visTypePie.legend.filterOptionsLegend": "{legendDataLabel}、フィルターオプション", - "visTypePie.legend.filterOutValueButtonAriaLabel": "値を除外", - "visTypePie.legendPositions.bottomText": "一番下", - "visTypePie.legendPositions.leftText": "左", - "visTypePie.legendPositions.rightText": "右", - "visTypePie.legendPositions.topText": "トップ", - "visTypePie.pie.metricTitle": "スライスサイズ", - "visTypePie.pie.pieDescription": "全体に対する比率でデータを比較します。", - "visTypePie.pie.pieTitle": "円", - "visTypePie.pie.segmentTitle": "スライスの分割", - "visTypePie.pie.splitTitle": "チャートを分割", - "visTypePie.valuesFormats.percent": "割合を表示", - "visTypePie.valuesFormats.value": "値を表示", - "visTypeTable.aggTable.exportLabel": "エクスポート:", - "visTypeTable.aggTable.formattedLabel": "フォーマット済み", - "visTypeTable.aggTable.rawLabel": "未加工", - "visTypeTable.defaultAriaLabel": "データ表ビジュアライゼーション", - "visTypeTable.directives.tableCellFilter.filterForValueTooltip": "値でフィルター", - "visTypeTable.directives.tableCellFilter.filterOutValueTooltip": "値を除外", - "visTypeTable.function.args.bucketsHelpText": "バケットディメンション構成", - "visTypeTable.function.args.metricsHelpText": "メトリックディメンション構成", - "visTypeTable.function.args.percentageColHelpText": "割合を表示する列の名前", - "visTypeTable.function.args.perPageHelpText": "表ページの行数はページネーションで使用されます", - "visTypeTable.function.args.rowHelpText": "行値は分割表モードで使用されます。「true」に設定すると、行で分割します", - "visTypeTable.function.args.showToolbarHelpText": "「true」に設定すると、グリッドツールバーと[エクスポート]ボタンを表示します", - "visTypeTable.function.args.showTotalHelpText": "「true」に設定すると、合計行を表示します", - "visTypeTable.function.args.splitColumnHelpText": "列ディメンション構成で分割", - "visTypeTable.function.args.splitRowHelpText": "行ディメンション構成で分割", - "visTypeTable.function.args.titleHelpText": "ビジュアライゼーションタイトル。タイトルはデフォルトファイル名としてCSVエクスポートで使用されます", - "visTypeTable.function.args.totalFuncHelpText": "合計行の集計関数を指定します。使用可能なオプション:", - "visTypeTable.function.help": "表ビジュアライゼーション", - "visTypeTable.params.defaultPercentageCol": "非表示", - "visTypeTable.params.PercentageColLabel": "パーセンテージ列", - "visTypeTable.params.percentageTableColumnName": "{title} パーセント", - "visTypeTable.params.perPageLabel": "ページごとの最大行数", - "visTypeTable.params.showMetricsLabel": "すべてのバケット/レベルのメトリックを表示", - "visTypeTable.params.showPartialRowsLabel": "部分的な行を表示", - "visTypeTable.params.showPartialRowsTip": "部分データのある行を表示。表示されていなくてもすべてのバケット/レベルのメトリックが計算されます。", - "visTypeTable.params.showToolbarLabel": "ツールバーを表示", - "visTypeTable.params.showTotalLabel": "合計を表示", - "visTypeTable.params.totalFunctionLabel": "合計機能", - "visTypeTable.sort.ascLabel": "昇順で並べ替え", - "visTypeTable.sort.descLabel": "降順で並べ替え", - "visTypeTable.tableCellFilter.filterForValueAriaLabel": "値のフィルター:{cellContent}", - "visTypeTable.tableCellFilter.filterForValueText": "値でフィルター", - "visTypeTable.tableCellFilter.filterOutValueAriaLabel": "値の除外:{cellContent}", - "visTypeTable.tableCellFilter.filterOutValueText": "値を除外", - "visTypeTable.tableVisDescription": "行と列にデータを表示します。", - "visTypeTable.tableVisEditorConfig.schemas.bucketTitle": "行を分割", - "visTypeTable.tableVisEditorConfig.schemas.metricTitle": "メトリック", - "visTypeTable.tableVisEditorConfig.schemas.splitTitle": "テーブルを分割", - "visTypeTable.tableVisTitle": "データテーブル", - "visTypeTable.totalAggregations.averageText": "平均", - "visTypeTable.totalAggregations.countText": "カウント", - "visTypeTable.totalAggregations.maxText": "最高", - "visTypeTable.totalAggregations.minText": "最低", - "visTypeTable.totalAggregations.sumText": "合計", - "visTypeTable.vis.controls.exportButtonAriaLabel": "{dataGridAriaLabel} を CSV としてエクスポート", - "visTypeTable.vis.controls.exportButtonLabel": "エクスポート", - "visTypeTable.vis.controls.formattedCSVButtonLabel": "フォーマット済み", - "visTypeTable.vis.controls.rawCSVButtonLabel": "未加工", - "visTypeTable.vis.noResultsFoundTitle": "結果が見つかりませんでした", - "expressionTagcloud.feedbackMessage.tooSmallContainerDescription": "コンテナーが小さすぎてクラウド全体を表示できません。タグが切り取られたか省略されている可能性があります。", - "expressionTagcloud.feedbackMessage.truncatedTagsDescription": "描写時間が長くなるのを防ぐため、タグの数が切り捨てられています。", - "expressionTagcloud.functions.tagcloud.args.bucketHelpText": "バケットディメンションの構成です。", - "expressionTagcloud.functions.tagcloudHelpText": "タグクラウドのビジュアライゼーションです。", - "expressionTagcloud.functions.tagcloud.args.metricHelpText": "メトリックディメンションの構成です。", - "expressionTagcloud.functions.tagcloud.args.orientationHelpText": "タグクラウド内の単語の方向です。", - "expressionTagcloud.functions.tagcloud.args.paletteHelpText": "グラフパレット名を定義します", - "expressionTagcloud.functions.tagcloud.args.scaleHelpText": "単語のフォントサイズを決定するスケールです", - "visTypeTagCloud.orientations.multipleText": "複数", - "visTypeTagCloud.orientations.rightAngledText": "直角", - "visTypeTagCloud.orientations.singleText": "単一", - "visTypeTagCloud.scales.linearText": "線形", - "visTypeTagCloud.scales.logText": "ログ", - "visTypeTagCloud.scales.squareRootText": "平方根", - "visTypeTagCloud.vis.schemas.metricTitle": "タグサイズ", - "visTypeTagCloud.vis.schemas.segmentTitle": "タグ", - "visTypeTagCloud.vis.tagCloudDescription": "単語の頻度とフォントサイズを表示します。", - "visTypeTagCloud.vis.tagCloudTitle": "タグクラウド", - "visTypeTagCloud.visParams.fontSizeLabel": "フォントサイズ範囲 (ピクセル) ", - "visTypeTagCloud.visParams.orientationsLabel": "方向", - "visTypeTagCloud.visParams.showLabelToggleLabel": "ラベルを表示", - "visTypeTagCloud.visParams.textScaleLabel": "テキストスケール", - "visTypeTimeseries.addDeleteButtons.addButtonDefaultTooltip": "追加", - "visTypeTimeseries.addDeleteButtons.cloneButtonDefaultTooltip": "クローンを作成", - "visTypeTimeseries.addDeleteButtons.deleteButtonDefaultTooltip": "削除", - "visTypeTimeseries.addDeleteButtons.reEnableTooltip": "再度有効にする", - "visTypeTimeseries.addDeleteButtons.temporarilyDisableTooltip": "一時的に無効にする", - "visTypeTimeseries.advancedSettings.maxBucketsText": "TSVBヒストグラム密度に影響します。「histogram:maxBars」よりも大きく設定する必要があります。", - "visTypeTimeseries.advancedSettings.maxBucketsTitle": "TSVBバケット制限", - "visTypeTimeseries.aggUtils.averageLabel": "平均", - "visTypeTimeseries.aggUtils.bucketScriptLabel": "バケットスクリプト", - "visTypeTimeseries.aggUtils.cardinalityLabel": "基数", - "visTypeTimeseries.aggUtils.countLabel": "カウント", - "visTypeTimeseries.aggUtils.cumulativeSumLabel": "累積和", - "visTypeTimeseries.aggUtils.derivativeLabel": "派生", - "visTypeTimeseries.aggUtils.deviationLabel": "標準偏差", - "visTypeTimeseries.aggUtils.filterRatioLabel": "フィルターレート", - "visTypeTimeseries.aggUtils.mathLabel": "数学処理", - "visTypeTimeseries.aggUtils.maxLabel": "最高", - "visTypeTimeseries.aggUtils.minLabel": "最低", - "visTypeTimeseries.aggUtils.movingAverageLabel": "移動平均", - "visTypeTimeseries.aggUtils.overallAverageLabel": "全体平均", - "visTypeTimeseries.aggUtils.overallMaxLabel": "全体最高", - "visTypeTimeseries.aggUtils.overallMinLabel": "全体最低", - "visTypeTimeseries.aggUtils.overallStdDeviationLabel": "全体標準偏差", - "visTypeTimeseries.aggUtils.overallSumLabel": "全体合計", - "visTypeTimeseries.aggUtils.overallSumOfSquaresLabel": "全体平方和", - "visTypeTimeseries.aggUtils.overallVarianceLabel": "全体の相異", - "visTypeTimeseries.aggUtils.percentileLabel": "パーセンタイル", - "visTypeTimeseries.aggUtils.percentileRankLabel": "パーセンタイルランク", - "visTypeTimeseries.aggUtils.positiveOnlyLabel": "プラスのみ", - "visTypeTimeseries.aggUtils.positiveRateLabel": "カウンターレート", - "visTypeTimeseries.aggUtils.serialDifferenceLabel": "連続差", - "visTypeTimeseries.aggUtils.seriesAggLabel": "数列集約", - "visTypeTimeseries.aggUtils.staticValueLabel": "不動値", - "visTypeTimeseries.aggUtils.sumLabel": "合計", - "visTypeTimeseries.aggUtils.sumOfSquaresLabel": "平方和", - "visTypeTimeseries.aggUtils.topHitLabel": "トップヒット", - "visTypeTimeseries.aggUtils.valueCountLabel": "値カウント", - "visTypeTimeseries.aggUtils.varianceLabel": "相異", - "visTypeTimeseries.aggRow.addMetricButtonTooltip": "メトリックを追加", - "visTypeTimeseries.aggRow.deleteMetricButtonTooltip": "メトリックを削除", - "visTypeTimeseries.aggSelect.aggGroups.metricAggLabel": "メトリック集約", - "visTypeTimeseries.aggSelect.aggGroups.parentPipelineAggLabel": "親パイプライン集約", - "visTypeTimeseries.aggSelect.aggGroups.siblingPipelineAggLabel": "シブリングパイプライン集約", - "visTypeTimeseries.aggSelect.aggGroups.specialAggLabel": "特殊集約", - "visTypeTimeseries.aggSelect.selectAggPlaceholder": "集約を選択", - "visTypeTimeseries.annotationsEditor.addDataSourceButtonLabel": "データソースを追加", - "visTypeTimeseries.annotationsEditor.dataSourcesLabel": "データソース", - "visTypeTimeseries.annotationsEditor.fieldsLabel": "フィールド (必須 - コンマ区切りのパス) ", - "visTypeTimeseries.annotationsEditor.howToCreateAnnotationDataSourceDescription": "下のボタンをクリックして注釈データソースを作成します。", - "visTypeTimeseries.annotationsEditor.iconLabel": "アイコン (必須) ", - "visTypeTimeseries.annotationsEditor.ignoreGlobalFiltersLabel": "グローバルフィルターを無視しますか?", - "visTypeTimeseries.annotationsEditor.ignorePanelFiltersLabel": "パネルフィルターを無視しますか?", - "visTypeTimeseries.annotationsEditor.queryStringLabel": "クエリ文字列", - "visTypeTimeseries.annotationsEditor.rowTemplateHelpText": "eg.{rowTemplateExample}", - "visTypeTimeseries.annotationsEditor.rowTemplateLabel": "行テンプレート (必須)", - "visTypeTimeseries.annotationsEditor.timeFieldLabel": "時間フィールド (必須)", - "visTypeTimeseries.axisLabelOptions.axisLabel": "per {unitValue} {unitString}", - "visTypeTimeseries.calculateLabel.bucketScriptsLabel": "バケットスクリプト", - "visTypeTimeseries.calculateLabel.countLabel": "カウント", - "visTypeTimeseries.calculateLabel.filterRatioLabel": "フィルターレート", - "visTypeTimeseries.calculateLabel.mathLabel": "数学処理", - "visTypeTimeseries.calculateLabel.metricTypeOfMetricFieldRankLabel": "{metricTypeLabel} of {metricField}", - "visTypeTimeseries.calculateLabel.metricTypeOfTargetLabel": "{metricTypeLabel} of {targetLabel}", - "visTypeTimeseries.calculateLabel.metricTypeOfTargetWithAdditionalLabel": "{metricTypeLabel} of {targetLabel} ({additionalLabel}) ", - "visTypeTimeseries.calculateLabel.positiveRateLabel": "{field} のカウンターレート", - "visTypeTimeseries.calculateLabel.seriesAggLabel": "数列アグリゲーション ({metricFunction}) ", - "visTypeTimeseries.calculateLabel.staticValueLabel": "{metricValue} の静的値", - "visTypeTimeseries.calculateLabel.unknownLabel": "不明", - "visTypeTimeseries.calculation.aggregationLabel": "アグリゲーション", - "visTypeTimeseries.calculation.painlessScriptDescription": "変数は {params}オブジェクトのキーです (例:{paramsName}) 。バケット間隔 (ミリ秒単位) にアクセスするには {paramsInterval} を使用します。", - "visTypeTimeseries.calculation.painlessScriptLabel": "Painless スクリプト", - "visTypeTimeseries.calculation.variablesLabel": "変数", - "visTypeTimeseries.colorPicker.clearIconLabel": "クリア", - "visTypeTimeseries.colorPicker.notAccessibleAriaLabel": "カラーピッカー、アクセス不可", - "visTypeTimeseries.colorPicker.notAccessibleWithValueAriaLabel": "カラーピッカー ({value}) 、アクセス不可", - "visTypeTimeseries.colorRules.adjustChartSizeAriaLabel": "上下の矢印を押してチャートサイズを調整します", - "visTypeTimeseries.colorRules.defaultPrimaryNameLabel": "背景", - "visTypeTimeseries.colorRules.defaultSecondaryNameLabel": "テキスト", - "visTypeTimeseries.colorRules.emptyLabel": "空", - "visTypeTimeseries.colorRules.greaterThanLabel": "> greater than", - "visTypeTimeseries.colorRules.greaterThanOrEqualLabel": ">= greater than or equal", - "visTypeTimeseries.colorRules.ifMetricIsLabel": "メトリックが", - "visTypeTimeseries.colorRules.lessThanLabel": "< less than", - "visTypeTimeseries.colorRules.lessThanOrEqualLabel": "<= less than or equal", - "visTypeTimeseries.colorRules.setPrimaryColorLabel": "{primaryName} を設定", - "visTypeTimeseries.colorRules.setSecondaryColorLabel": "{secondaryName} を設定", - "visTypeTimeseries.colorRules.valueAriaLabel": "値", - "visTypeTimeseries.cumulativeSum.aggregationLabel": "アグリゲーション", - "visTypeTimeseries.cumulativeSum.metricLabel": "メトリック", - "visTypeTimeseries.dataFormatPicker.bytesLabel": "バイト", - "visTypeTimeseries.dataFormatPicker.customLabel": "カスタム", - "visTypeTimeseries.dataFormatPicker.decimalPlacesLabel": "小数部分の桁数", - "visTypeTimeseries.dataFormatPicker.durationLabel": "期間", - "visTypeTimeseries.dataFormatPicker.formatStringHelpText": "{numeralJsLink}を参照", - "visTypeTimeseries.dataFormatPicker.formatStringLabel": "フォーマット文字列", - "visTypeTimeseries.dataFormatPicker.fromLabel": "開始:", - "visTypeTimeseries.dataFormatPicker.numberLabel": "数字", - "visTypeTimeseries.dataFormatPicker.percentLabel": "パーセント", - "visTypeTimeseries.dataFormatPicker.toLabel": "終了:", - "visTypeTimeseries.defaultDataFormatterLabel": "データフォーマッター", - "visTypeTimeseries.derivative.aggregationLabel": "アグリゲーション", - "visTypeTimeseries.derivative.metricLabel": "メトリック", - "visTypeTimeseries.derivative.unitsLabel": "単位 (1s、1m など) ", - "visTypeTimeseries.durationOptions.daysLabel": "日", - "visTypeTimeseries.durationOptions.hoursLabel": "時間", - "visTypeTimeseries.durationOptions.humanize": "人間に読解可能", - "visTypeTimeseries.durationOptions.microsecondsLabel": "マイクロ秒", - "visTypeTimeseries.durationOptions.millisecondsLabel": "ミリ秒", - "visTypeTimeseries.durationOptions.minutesLabel": "分", - "visTypeTimeseries.durationOptions.monthsLabel": "か月", - "visTypeTimeseries.durationOptions.nanosecondsLabel": "ナノ秒", - "visTypeTimeseries.durationOptions.picosecondsLabel": "ピコ秒", - "visTypeTimeseries.durationOptions.secondsLabel": "秒", - "visTypeTimeseries.durationOptions.weeksLabel": "週間", - "visTypeTimeseries.durationOptions.yearsLabel": "年", - "visTypeTimeseries.emptyTextValue": " (空) ", - "visTypeTimeseries.error.requestForPanelFailedErrorMessage": "このパネルのリクエストに失敗しました", - "visTypeTimeseries.fetchFields.loadIndexPatternFieldsErrorMessage": "index_pattern フィールドを読み込めません", - "visTypeTimeseries.fields.fieldNotFound": "フィールド\"{field}\"が見つかりません", - "visTypeTimeseries.fieldSelect.fieldIsNotValid": "\"{fieldParameter}\"フィールドは無効であり、現在のインデックスで使用できません。新しいフィールドを選択してください。", - "visTypeTimeseries.fieldSelect.selectFieldPlaceholder": "フィールドを選択してください...", - "visTypeTimeseries.filterRatio.aggregationLabel": "アグリゲーション", - "visTypeTimeseries.filterRatio.denominatorLabel": "分母", - "visTypeTimeseries.filterRatio.fieldLabel": "フィールド", - "visTypeTimeseries.filterRatio.metricAggregationLabel": "メトリック集約", - "visTypeTimeseries.filterRatio.numeratorLabel": "分子", - "visTypeTimeseries.function.help": "TSVB ビジュアライゼーション", - "visTypeTimeseries.gauge.dataTab.dataButtonLabel": "データ", - "visTypeTimeseries.gauge.dataTab.metricsButtonLabel": "メトリック", - "visTypeTimeseries.gauge.editor.addSeriesTooltip": "数列を追加", - "visTypeTimeseries.gauge.editor.cloneSeriesTooltip": "数列のクローンを作成", - "visTypeTimeseries.gauge.editor.deleteSeriesTooltip": "数列を削除", - "visTypeTimeseries.gauge.editor.labelPlaceholder": "ラベル", - "visTypeTimeseries.gauge.editor.toggleEditorAriaLabel": "数列エディターを切り替える", - "visTypeTimeseries.gauge.optionsTab.backgroundColorLabel": "背景色:", - "visTypeTimeseries.gauge.optionsTab.colorRulesLabel": "カラールール", - "visTypeTimeseries.gauge.optionsTab.dataLabel": "データ", - "visTypeTimeseries.gauge.optionsTab.gaugeLineWidthLabel": "ゲージ線の幅", - "visTypeTimeseries.gauge.optionsTab.gaugeMaxLabel": "ゲージ最大値 (自動は未入力) ", - "visTypeTimeseries.gauge.optionsTab.gaugeStyleLabel": "ゲージスタイル", - "visTypeTimeseries.gauge.optionsTab.ignoreGlobalFilterLabel": "グローバルフィルターを無視しますか?", - "visTypeTimeseries.gauge.optionsTab.innerColorLabel": "内側の色:", - "visTypeTimeseries.gauge.optionsTab.innerLineWidthLabel": "内側の線の幅", - "visTypeTimeseries.gauge.optionsTab.optionsButtonLabel": "オプション", - "visTypeTimeseries.gauge.optionsTab.panelFilterLabel": "パネルフィルター", - "visTypeTimeseries.gauge.optionsTab.panelOptionsButtonLabel": "パネルオプション", - "visTypeTimeseries.gauge.optionsTab.styleLabel": "スタイル", - "visTypeTimeseries.gauge.styleOptions.circleLabel": "円", - "visTypeTimeseries.gauge.styleOptions.halfCircleLabel": "半円", - "visTypeTimeseries.getInterval.daysLabel": "日", - "visTypeTimeseries.getInterval.hoursLabel": "時間", - "visTypeTimeseries.getInterval.minutesLabel": "分", - "visTypeTimeseries.getInterval.monthsLabel": "か月", - "visTypeTimeseries.getInterval.secondsLabel": "秒", - "visTypeTimeseries.getInterval.weeksLabel": "週間", - "visTypeTimeseries.getInterval.yearsLabel": "年", - "visTypeTimeseries.handleErrorResponse.unexpectedError": "予期しないエラー", - "visTypeTimeseries.iconSelect.asteriskLabel": "アスタリスク", - "visTypeTimeseries.iconSelect.bellLabel": "ベル", - "visTypeTimeseries.iconSelect.boltLabel": "ボルト", - "visTypeTimeseries.iconSelect.bombLabel": "ボム", - "visTypeTimeseries.iconSelect.bugLabel": "バグ", - "visTypeTimeseries.iconSelect.commentLabel": "コメント", - "visTypeTimeseries.iconSelect.exclamationCircleLabel": "マル感嘆符", - "visTypeTimeseries.iconSelect.exclamationTriangleLabel": "注意三角マーク", - "visTypeTimeseries.iconSelect.fireLabel": "炎", - "visTypeTimeseries.iconSelect.flagLabel": "旗", - "visTypeTimeseries.iconSelect.heartLabel": "ハート", - "visTypeTimeseries.iconSelect.mapMarkerLabel": "マップマーカー", - "visTypeTimeseries.iconSelect.mapPinLabel": "マップピン", - "visTypeTimeseries.iconSelect.starLabel": "星", - "visTypeTimeseries.iconSelect.tagLabel": "タグ", - "visTypeTimeseries.indexPattern.detailLevel": "詳細レベル", - "visTypeTimeseries.indexPattern.detailLevelAriaLabel": "詳細レベル", - "visTypeTimeseries.indexPattern.detailLevelHelpText": "時間範囲に基づき自動間隔を制御します。デフォルトの間隔は詳細設定の{histogramTargetBars}と{histogramMaxBars}の影響を受けます。", - "visTypeTimeseries.indexPattern.dropLastBucketLabel": "最後のバケットをドロップしますか?", - "visTypeTimeseries.indexPattern.finest": "最も細かい", - "visTypeTimeseries.indexPattern.intervalHelpText": "例:auto、1m、1d、7d、1y、>=1m", - "visTypeTimeseries.indexPattern.intervalLabel": "間隔", - "visTypeTimeseries.indexPattern.timeFieldLabel": "時間フィールド", - "visTypeTimeseries.indexPattern.timeRange.entireTimeRange": "時間範囲全体", - "visTypeTimeseries.indexPattern.timeRange.error": "現在のインデックスタイプでは\"{mode}\"を使用できません。", - "visTypeTimeseries.indexPattern.timeRange.hint": "この設定は、一致するドキュメントに使用される期間をコントロールします。「時間範囲全体」は、タイムピッカーで選択されたすべてのドキュメントと照会します。「最終値」は、期間の終了時から指定期間のドキュメントのみと照会します。", - "visTypeTimeseries.indexPattern.timeRange.label": "データ期間モード", - "visTypeTimeseries.indexPattern.timeRange.lastValue": "最終値", - "visTypeTimeseries.indexPattern.timeRange.selectTimeRange": "選択してください", - "visTypeTimeseries.indexPattern.сoarse": "粗い", - "visTypeTimeseries.indexPatternSelect.createIndexPatternText": "インデックスパターンを作成", - "visTypeTimeseries.indexPatternSelect.defaultIndexPatternText": "デフォルトのインデックスパターンが使用されています。", - "visTypeTimeseries.indexPatternSelect.label": "インデックスパターン", - "visTypeTimeseries.indexPatternSelect.queryAllIndexesText": "すべてのインデックスにクエリを実行するには * を使用します", - "visTypeTimeseries.indexPatternSelect.switchModePopover.areaLabel": "インデックスパターン選択モードを構成", - "visTypeTimeseries.indexPatternSelect.switchModePopover.text": "インデックスパターンは、データ探索で対象とする1つ以上のElasticsearchインデックスを定義します。ElasticsearchインデックスまたはKibanaインデックスパターン (推奨) を使用できます。", - "visTypeTimeseries.indexPatternSelect.switchModePopover.title": "インデックスパターン選択モード", - "visTypeTimeseries.indexPatternSelect.switchModePopover.useKibanaIndices": "Kibanaインデックスパターンのみを使用", - "visTypeTimeseries.kbnVisTypes.metricsDescription": "時系列データの高度な分析を実行します。", - "visTypeTimeseries.kbnVisTypes.metricsTitle": "TSVB", - "visTypeTimeseries.lastValueModeIndicator.lastBucketDate": "バケット:{lastBucketDate}", - "visTypeTimeseries.lastValueModeIndicator.lastValue": "最終値", - "visTypeTimeseries.lastValueModeIndicator.lastValueModeBadgeAriaLabel": "最後の値の詳細を表示", - "visTypeTimeseries.lastValueModeIndicator.panelInterval": "間隔:{formattedPanelInterval}", - "visTypeTimeseries.lastValueModePopover.gearButton": "最終値のインジケーター表示オプションを変更", - "visTypeTimeseries.lastValueModePopover.switch": "最終値モードを使用するときにラベルを表示", - "visTypeTimeseries.lastValueModePopover.title": "最終値オプション", - "visTypeTimeseries.markdown.alignOptions.bottomLabel": "一番下", - "visTypeTimeseries.markdown.alignOptions.middleLabel": "真ん中", - "visTypeTimeseries.markdown.alignOptions.topLabel": "一番上", - "visTypeTimeseries.markdown.dataTab.dataButtonLabel": "データ", - "visTypeTimeseries.markdown.dataTab.metricsButtonLabel": "メトリック", - "visTypeTimeseries.markdown.editor.addSeriesTooltip": "数列を追加", - "visTypeTimeseries.markdown.editor.cloneSeriesTooltip": "数列のクローンを作成", - "visTypeTimeseries.markdown.editor.deleteSeriesTooltip": "数列を削除", - "visTypeTimeseries.markdown.editor.labelPlaceholder": "ラベル", - "visTypeTimeseries.markdown.editor.toggleEditorAriaLabel": "数列エディターを切り替える", - "visTypeTimeseries.markdown.editor.variableNamePlaceholder": "変数名", - "visTypeTimeseries.markdown.optionsTab.backgroundColorLabel": "背景色:", - "visTypeTimeseries.markdown.optionsTab.customCSSLabel": "カスタム CSS (Less をサポート) ", - "visTypeTimeseries.markdown.optionsTab.dataLabel": "データ", - "visTypeTimeseries.markdown.optionsTab.ignoreGlobalFilterLabel": "グローバルフィルターを無視しますか?", - "visTypeTimeseries.markdown.optionsTab.openLinksInNewTab": "新規タブでリンクを開きますか?", - "visTypeTimeseries.markdown.optionsTab.optionsButtonLabel": "オプション", - "visTypeTimeseries.markdown.optionsTab.panelFilterLabel": "パネルフィルター", - "visTypeTimeseries.markdown.optionsTab.panelOptionsButtonLabel": "パネルオプション", - "visTypeTimeseries.markdown.optionsTab.showScrollbarsLabel": "スクロールバーを表示しますか?", - "visTypeTimeseries.markdown.optionsTab.styleLabel": "スタイル", - "visTypeTimeseries.markdown.optionsTab.verticalAlignmentLabel": "縦の配列:", - "visTypeTimeseries.markdownEditor.howToAccessEntireTreeDescription": "{all} という特殊な変数もあり、ツリー全体へのアクセスに使用できます。これは group by からデータのリストを作成する際に便利です:", - "visTypeTimeseries.markdownEditor.howToUseVariablesInMarkdownDescription": "次の変数は Markdown で Handlebar (mustache) 構文を使用して使用できます。利用可能な表現は {handlebarLink} をご覧ください。", - "visTypeTimeseries.markdownEditor.howUseVariablesInMarkdownDescription.documentationLinkText": "ドキュメンテーションはここをクリックしてください", - "visTypeTimeseries.markdownEditor.nameLabel": "名前", - "visTypeTimeseries.markdownEditor.noVariablesAvailableDescription": "選択されたデータメトリックに利用可能な変数はありません。", - "visTypeTimeseries.markdownEditor.valueLabel": "値", - "visTypeTimeseries.math.aggregationLabel": "アグリゲーション", - "visTypeTimeseries.math.expressionDescription.tinyMathLinkText": "TinyMath", - "visTypeTimeseries.math.expressionLabel": "表現", - "visTypeTimeseries.math.variablesLabel": "変数", - "visTypeTimeseries.metric.dataTab.dataButtonLabel": "データ", - "visTypeTimeseries.metric.dataTab.metricsButtonLabel": "メトリック", - "visTypeTimeseries.metric.editor.addSeriesTooltip": "数列を追加", - "visTypeTimeseries.metric.editor.cloneSeriesTooltip": "数列のクローンを作成", - "visTypeTimeseries.metric.editor.deleteSeriesTooltip": "数列を削除", - "visTypeTimeseries.metric.editor.labelPlaceholder": "ラベル", - "visTypeTimeseries.metric.editor.toggleEditorAriaLabel": "数列エディターを切り替える", - "visTypeTimeseries.metric.optionsTab.colorRulesLabel": "カラールール", - "visTypeTimeseries.metric.optionsTab.dataLabel": "データ", - "visTypeTimeseries.metric.optionsTab.ignoreGlobalFilterLabel": "グローバルフィルターを無視しますか?", - "visTypeTimeseries.metric.optionsTab.optionsButtonLabel": "オプション", - "visTypeTimeseries.metric.optionsTab.panelFilterLabel": "パネルフィルター", - "visTypeTimeseries.metric.optionsTab.panelOptionsButtonLabel": "パネルオプション", - "visTypeTimeseries.metricMissingErrorMessage": "メトリックに {field} がありません", - "visTypeTimeseries.metricSelect.selectMetricPlaceholder": "メトリックを選択してください…", - "visTypeTimeseries.missingPanelConfigDescription": "「{modelType}」にパネル構成が欠けています", - "visTypeTimeseries.movingAverage.aggregationLabel": "アグリゲーション", - "visTypeTimeseries.movingAverage.alpha": "アルファ", - "visTypeTimeseries.movingAverage.beta": "ベータ", - "visTypeTimeseries.movingAverage.gamma": "ガンマ", - "visTypeTimeseries.movingAverage.metricLabel": "メトリック", - "visTypeTimeseries.movingAverage.model.selectPlaceholder": "選択してください", - "visTypeTimeseries.movingAverage.modelLabel": "モデル", - "visTypeTimeseries.movingAverage.modelOptions.exponentiallyWeightedLabel": "指数加重", - "visTypeTimeseries.movingAverage.modelOptions.holtLinearLabel": "Holt-Linear", - "visTypeTimeseries.movingAverage.modelOptions.holtWintersLabel": "Holt-Winters", - "visTypeTimeseries.movingAverage.modelOptions.linearLabel": "線形", - "visTypeTimeseries.movingAverage.modelOptions.simpleLabel": "シンプル", - "visTypeTimeseries.movingAverage.multiplicative": "マルチキャプティブ", - "visTypeTimeseries.movingAverage.multiplicative.selectPlaceholder": "選択してください", - "visTypeTimeseries.movingAverage.multiplicativeOptions.false": "False", - "visTypeTimeseries.movingAverage.multiplicativeOptions.true": "True", - "visTypeTimeseries.movingAverage.period": "期間", - "visTypeTimeseries.movingAverage.windowSizeHint": "ウィンドウは、必ず、期間のサイズの 2 倍以上でなければなりません", - "visTypeTimeseries.movingAverage.windowSizeLabel": "ウィンドウサイズ", - "visTypeTimeseries.noButtonLabel": "いいえ", - "visTypeTimeseries.percentile.aggregationLabel": "アグリゲーション", - "visTypeTimeseries.percentile.fieldLabel": "フィールド", - "visTypeTimeseries.percentile.fillToLabel": "次の基準に合わせる:", - "visTypeTimeseries.percentile.modeLabel": "モード:", - "visTypeTimeseries.percentile.modeOptions.bandLabel": "帯", - "visTypeTimeseries.percentile.modeOptions.lineLabel": "折れ線", - "visTypeTimeseries.percentile.percentile": "パーセンタイル", - "visTypeTimeseries.percentile.percentileAriaLabel": "パーセンタイル", - "visTypeTimeseries.percentile.percents": "パーセント", - "visTypeTimeseries.percentile.shadeLabel": "シェイド (0 から 1) :", - "visTypeTimeseries.percentileHdr.numberOfSignificantValueDigits": "大きい値の桁数 (HDR ヒストグラム) ", - "visTypeTimeseries.percentileHdr.numberOfSignificantValueDigits.hint": "HDR ヒストグラム (ハイダイナミックレンジヒストグラム) は、レイテンシ測定のパーセンタイルランクを計算するときに役立つ別の実装方法です。メモリ消費量が多いというトレードオフがある t-digest 実装よりも高速になります。大きい値の桁数パラメーターは、大きい桁数のヒストグラムで値の解像度を指定します。", - "visTypeTimeseries.percentileRank.aggregationLabel": "アグリゲーション", - "visTypeTimeseries.percentileRank.fieldLabel": "フィールド", - "visTypeTimeseries.percentileRank.values": "値", - "visTypeTimeseries.positiveOnly.aggregationLabel": "アグリゲーション", - "visTypeTimeseries.positiveOnly.metricLabel": "メトリック", - "visTypeTimeseries.positiveRate.aggregationLabel": "アグリゲーション", - "visTypeTimeseries.positiveRate.helpText": "このアグリゲーションは、{link}にのみ適用してください。これは、最大値、微分、正の値のみを適用するショートカットです。", - "visTypeTimeseries.positiveRate.helpTextLink": "単調に数値を増加しています", - "visTypeTimeseries.positiveRate.unitSelectPlaceholder": "スケールを選択...", - "visTypeTimeseries.positiveRate.unitsLabel": "スケール", - "visTypeTimeseries.postiveRate.fieldLabel": "フィールド", - "visTypeTimeseries.replaceVars.errors.markdownErrorDescription": "Markdown、既知の変数、ビルトイン Handlebars 表現のみが使用されていることを確認してください。", - "visTypeTimeseries.replaceVars.errors.markdownErrorTitle": "Markdown の処理中にエラーが発生", - "visTypeTimeseries.replaceVars.errors.unknownVarDescription": "{badVar} は不明な変数です", - "visTypeTimeseries.replaceVars.errors.unknownVarTitle": "Markdown の処理中にエラーが発生", - "visTypeTimeseries.searchStrategyUndefinedErrorMessage": "検索ストラテジが定義されていませんでした", - "visTypeTimeseries.serialDiff.aggregationLabel": "アグリゲーション", - "visTypeTimeseries.serialDiff.lagLabel": "ラグ", - "visTypeTimeseries.serialDiff.metricLabel": "メトリック", - "visTypeTimeseries.series.missingAggregationKeyErrorMessage": "返答から集約キーが欠けています。このリクエストのパーミッションを確認してください。", - "visTypeTimeseries.series.shouldOneSeriesPerRequestErrorMessage": "1 つのリクエストに複数の数列を含めることはできません。", - "visTypeTimeseries.seriesAgg.aggregationLabel": "アグリゲーション", - "visTypeTimeseries.seriesAgg.functionLabel": "関数", - "visTypeTimeseries.seriesAgg.functionOptions.avgLabel": "平均", - "visTypeTimeseries.seriesAgg.functionOptions.countLabel": "系列数", - "visTypeTimeseries.seriesAgg.functionOptions.cumulativeSumLabel": "累積和", - "visTypeTimeseries.seriesAgg.functionOptions.maxLabel": "最高", - "visTypeTimeseries.seriesAgg.functionOptions.minLabel": "最低", - "visTypeTimeseries.seriesAgg.functionOptions.overallAvgLabel": "全体平均", - "visTypeTimeseries.seriesAgg.functionOptions.overallMaxLabel": "全体最高", - "visTypeTimeseries.seriesAgg.functionOptions.overallMinLabel": "全体最低", - "visTypeTimeseries.seriesAgg.functionOptions.overallSumLabel": "全体合計", - "visTypeTimeseries.seriesAgg.functionOptions.sumLabel": "合計", - "visTypeTimeseries.seriesAgg.seriesAggIsNotCompatibleLabel": "数列集約は表の可視化に対応していません。", - "visTypeTimeseries.seriesConfig.filterLabel": "フィルター", - "visTypeTimeseries.seriesConfig.ignoreGlobalFilterDisabledTooltip": "グローバルフィルターはパネルオプションで無視されるため、これは無効です。", - "visTypeTimeseries.seriesConfig.ignoreGlobalFilterLabel": "グローバルフィルターを無視しますか?", - "visTypeTimeseries.seriesConfig.missingSeriesComponentDescription": "パネルタイプ {panelType} の数列コンポーネントが欠けています", - "visTypeTimeseries.seriesConfig.offsetSeriesTimeLabel": "数列の時間を (1m, 1h, 1w, 1d) でオフセット", - "visTypeTimeseries.seriesConfig.overrideIndexPatternLabel": "インデックスパターンを上書きしますか?", - "visTypeTimeseries.seriesConfig.templateHelpText": "例:{templateExample}", - "visTypeTimeseries.seriesConfig.templateLabel": "テンプレート", - "visTypeTimeseries.sort.dragToSortAriaLabel": "ドラッグして並べ替えます", - "visTypeTimeseries.sort.dragToSortTooltip": "ドラッグして並べ替えます", - "visTypeTimeseries.splits.everything.groupByLabel": "グループ分けの条件", - "visTypeTimeseries.splits.filter.groupByLabel": "グループ分けの条件", - "visTypeTimeseries.splits.filter.queryStringLabel": "クエリ文字列", - "visTypeTimeseries.splits.filterItems.labelAriaLabel": "ラベル", - "visTypeTimeseries.splits.filterItems.labelPlaceholder": "ラベル", - "visTypeTimeseries.splits.filters.groupByLabel": "グループ分けの条件", - "visTypeTimeseries.splits.groupBySelect.modeOptions.everythingLabel": "すべて", - "visTypeTimeseries.splits.groupBySelect.modeOptions.filterLabel": "フィルター", - "visTypeTimeseries.splits.groupBySelect.modeOptions.filtersLabel": "フィルター", - "visTypeTimeseries.splits.groupBySelect.modeOptions.termsLabel": "用語", - "visTypeTimeseries.splits.terms.byLabel": "グループ基準", - "visTypeTimeseries.splits.terms.defaultCountLabel": "ドキュメントカウント (デフォルト) ", - "visTypeTimeseries.splits.terms.directionLabel": "方向", - "visTypeTimeseries.splits.terms.dirOptions.ascendingLabel": "昇順", - "visTypeTimeseries.splits.terms.dirOptions.descendingLabel": "降順", - "visTypeTimeseries.splits.terms.excludeLabel": "除外", - "visTypeTimeseries.splits.terms.groupByLabel": "グループ分けの条件", - "visTypeTimeseries.splits.terms.includeLabel": "含める", - "visTypeTimeseries.splits.terms.orderByLabel": "並び順", - "visTypeTimeseries.splits.terms.sizePlaceholder": "サイズ", - "visTypeTimeseries.splits.terms.termsLabel": "用語", - "visTypeTimeseries.splits.terms.topLabel": "一番上", - "visTypeTimeseries.static.aggregationLabel": "アグリゲーション", - "visTypeTimeseries.static.staticValuesLabel": "固定値", - "visTypeTimeseries.stdAgg.aggregationLabel": "アグリゲーション", - "visTypeTimeseries.stdAgg.fieldLabel": "フィールド", - "visTypeTimeseries.stdDeviation.aggregationLabel": "アグリゲーション", - "visTypeTimeseries.stdDeviation.fieldLabel": "フィールド", - "visTypeTimeseries.stdDeviation.modeLabel": "モード", - "visTypeTimeseries.stdDeviation.modeOptions.boundsBandLabel": "境界バンド", - "visTypeTimeseries.stdDeviation.modeOptions.lowerBoundLabel": "下の境界", - "visTypeTimeseries.stdDeviation.modeOptions.rawLabel": "未加工", - "visTypeTimeseries.stdDeviation.modeOptions.upperBoundLabel": "上の境界", - "visTypeTimeseries.stdDeviation.sigmaLabel": "シグマ", - "visTypeTimeseries.stdSibling.aggregationLabel": "アグリゲーション", - "visTypeTimeseries.stdSibling.metricLabel": "メトリック", - "visTypeTimeseries.stdSibling.modeLabel": "モード", - "visTypeTimeseries.stdSibling.modeOptions.boundsBandLabel": "境界バンド", - "visTypeTimeseries.stdSibling.modeOptions.lowerBoundLabel": "下の境界", - "visTypeTimeseries.stdSibling.modeOptions.rawLabel": "未加工", - "visTypeTimeseries.stdSibling.modeOptions.upperBoundLabel": "上の境界", - "visTypeTimeseries.stdSibling.sigmaLabel": "シグマ", - "visTypeTimeseries.table.addSeriesTooltip": "数列を追加", - "visTypeTimeseries.table.aggregateFunctionLabel": "集約関数", - "visTypeTimeseries.table.avgLabel": "平均", - "visTypeTimeseries.table.cloneSeriesTooltip": "数列のクローンを作成", - "visTypeTimeseries.table.colorRulesLabel": "カラールール", - "visTypeTimeseries.table.columnNotSortableTooltip": "この列は並べ替えできません", - "visTypeTimeseries.table.cumulativeSumLabel": "累積和", - "visTypeTimeseries.table.dataTab.columnLabel": "列ラベル", - "visTypeTimeseries.table.dataTab.columnsButtonLabel": "列", - "visTypeTimeseries.table.dataTab.defineFieldDescription": "表の可視化は、用語集約でグループ分けの基準となるフィールドを定義する必要があります。", - "visTypeTimeseries.table.dataTab.groupByFieldLabel": "フィールドでグループ分け", - "visTypeTimeseries.table.dataTab.rowsLabel": "行", - "visTypeTimeseries.table.deleteSeriesTooltip": "数列を削除", - "visTypeTimeseries.table.fieldLabel": "フィールド", - "visTypeTimeseries.table.filterLabel": "フィルター", - "visTypeTimeseries.table.labelAriaLabel": "ラベル", - "visTypeTimeseries.table.labelPlaceholder": "ラベル", - "visTypeTimeseries.table.maxLabel": "最高", - "visTypeTimeseries.table.minLabel": "最低", - "visTypeTimeseries.table.noResultsAvailableMessage": "結果がありません。", - "visTypeTimeseries.table.noResultsAvailableWithDescriptionMessage": "結果がありません。このビジュアライゼーションは、フィールドでグループを選択する必要があります。", - "visTypeTimeseries.table.optionsTab.dataLabel": "データ", - "visTypeTimeseries.table.optionsTab.ignoreGlobalFilterLabel": "グローバルフィルターを無視しますか?", - "visTypeTimeseries.table.optionsTab.itemUrlHelpText": "これは mustache テンプレートをサポートしています。{key} が用語に設定されています。", - "visTypeTimeseries.table.optionsTab.itemUrlLabel": "アイテム URL", - "visTypeTimeseries.table.optionsTab.panelFilterLabel": "パネルフィルター", - "visTypeTimeseries.table.optionsTab.panelOptionsButtonLabel": "パネルオプション", - "visTypeTimeseries.table.overallAvgLabel": "全体平均", - "visTypeTimeseries.table.overallMaxLabel": "全体最高", - "visTypeTimeseries.table.overallMinLabel": "全体最低", - "visTypeTimeseries.table.overallSumLabel": "全体合計", - "visTypeTimeseries.table.showTrendArrowsLabel": "傾向矢印を表示しますか?", - "visTypeTimeseries.table.sumLabel": "合計", - "visTypeTimeseries.table.tab.metricsLabel": "メトリック", - "visTypeTimeseries.table.tab.optionsLabel": "オプション", - "visTypeTimeseries.table.templateHelpText": "eg.{templateExample}", - "visTypeTimeseries.table.templateLabel": "テンプレート", - "visTypeTimeseries.table.toggleSeriesEditorAriaLabel": "数列エディターを切り替える", - "visTypeTimeseries.timeSeries.addSeriesTooltip": "数列を追加", - "visTypeTimeseries.timeseries.annotationsTab.annotationsButtonLabel": "注釈", - "visTypeTimeseries.timeSeries.axisMaxLabel": "軸最大値", - "visTypeTimeseries.timeSeries.axisMinLabel": "軸最小値", - "visTypeTimeseries.timeSeries.axisPositionLabel": "軸の配置", - "visTypeTimeseries.timeSeries.barLabel": "バー", - "visTypeTimeseries.timeSeries.chartBar.chartTypeLabel": "チャートタイプ", - "visTypeTimeseries.timeSeries.chartBar.fillLabel": "塗りつぶし (0 から 1) ", - "visTypeTimeseries.timeSeries.chartBar.lineWidthLabel": "線の幅", - "visTypeTimeseries.timeSeries.chartBar.stackedLabel": "スタック", - "visTypeTimeseries.timeSeries.chartLine.chartTypeLabel": "チャートタイプ", - "visTypeTimeseries.timeSeries.chartLine.fillLabel": "塗りつぶし (0 から 1) ", - "visTypeTimeseries.timeSeries.chartLine.lineWidthLabel": "線の幅", - "visTypeTimeseries.timeSeries.chartLine.pointSizeLabel": "点のサイズ", - "visTypeTimeseries.timeSeries.chartLine.stackedLabel": "スタック", - "visTypeTimeseries.timeSeries.chartLine.stepsLabel": "ステップ", - "visTypeTimeseries.timeSeries.cloneSeriesTooltip": "数列のクローンを作成", - "visTypeTimeseries.timeseries.dataTab.dataButtonLabel": "データ", - "visTypeTimeseries.timeSeries.deleteSeriesTooltip": "数列を削除", - "visTypeTimeseries.timeSeries.gradientLabel": "グラデーション", - "visTypeTimeseries.timeSeries.hideInLegendLabel": "凡例で非表示", - "visTypeTimeseries.timeSeries.labelPlaceholder": "ラベル", - "visTypeTimeseries.timeSeries.leftLabel": "左", - "visTypeTimeseries.timeseries.legendPositionOptions.bottomLabel": "一番下", - "visTypeTimeseries.timeseries.legendPositionOptions.leftLabel": "左", - "visTypeTimeseries.timeseries.legendPositionOptions.rightLabel": "右", - "visTypeTimeseries.timeSeries.lineLabel": "折れ線", - "visTypeTimeseries.timeSeries.noneLabel": "なし", - "visTypeTimeseries.timeSeries.offsetSeriesTimeLabel": "数列の時間を (1m, 1h, 1w, 1d) でオフセット", - "visTypeTimeseries.timeseries.optionsTab.axisMaxLabel": "軸最大値", - "visTypeTimeseries.timeseries.optionsTab.axisMinLabel": "軸最小値", - "visTypeTimeseries.timeseries.optionsTab.axisPositionLabel": "軸の配置", - "visTypeTimeseries.timeseries.optionsTab.axisScaleLabel": "軸のスケール", - "visTypeTimeseries.timeseries.optionsTab.backgroundColorLabel": "背景色:", - "visTypeTimeseries.timeseries.optionsTab.dataLabel": "データ", - "visTypeTimeseries.timeseries.optionsTab.displayGridLabel": "グリッドを表示", - "visTypeTimeseries.timeseries.optionsTab.ignoreDaylightTimeLabel": "夏時間を無視しますか?", - "visTypeTimeseries.timeseries.optionsTab.ignoreGlobalFilterLabel": "グローバルフィルターを無視しますか?", - "visTypeTimeseries.timeseries.optionsTab.legendPositionLabel": "凡例の配置", - "visTypeTimeseries.timeseries.optionsTab.panelFilterLabel": "パネルフィルター", - "visTypeTimeseries.timeseries.optionsTab.panelOptionsButtonLabel": "パネルオプション", - "visTypeTimeseries.timeseries.optionsTab.showLegendLabel": "凡例を表示しますか?", - "visTypeTimeseries.timeseries.optionsTab.styleLabel": "スタイル", - "visTypeTimeseries.timeseries.optionsTab.tooltipMode": "ツールチップ", - "visTypeTimeseries.timeSeries.overrideIndexPatternLabel": "インデックスパターンを上書きしますか?", - "visTypeTimeseries.timeSeries.percentLabel": "パーセント", - "visTypeTimeseries.timeseries.positionOptions.leftLabel": "左", - "visTypeTimeseries.timeseries.positionOptions.rightLabel": "右", - "visTypeTimeseries.timeSeries.rainbowLabel": "虹", - "visTypeTimeseries.timeSeries.rightLabel": "右", - "visTypeTimeseries.timeseries.scaleOptions.logLabel": "ログ", - "visTypeTimeseries.timeseries.scaleOptions.normalLabel": "標準", - "visTypeTimeseries.timeSeries.separateAxisLabel": "軸を分けますか?", - "visTypeTimeseries.timeSeries.splitColorThemeLabel": "カラーテーマを分割", - "visTypeTimeseries.timeSeries.stackedLabel": "スタック", - "visTypeTimeseries.timeSeries.stackedWithinSeriesLabel": "数列内でスタック", - "visTypeTimeseries.timeSeries.tab.metricsLabel": "メトリック", - "visTypeTimeseries.timeSeries.tab.optionsLabel": "オプション", - "visTypeTimeseries.timeSeries.templateHelpText": "eg.{templateExample}", - "visTypeTimeseries.timeSeries.templateLabel": "テンプレート", - "visTypeTimeseries.timeSeries.toggleSeriesEditorAriaLabel": "数列エディターを切り替える", - "visTypeTimeseries.timeseries.tooltipOptions.showAll": "すべての値を表示", - "visTypeTimeseries.timeseries.tooltipOptions.showFocused": "フォーカスされた値を表示", - "visTypeTimeseries.topHit.aggregateWith.selectPlaceholder": "選択してください...", - "visTypeTimeseries.topHit.aggregateWithLabel": "集約:", - "visTypeTimeseries.topHit.aggregationLabel": "アグリゲーション", - "visTypeTimeseries.topHit.aggWithOptions.averageLabel": "平均", - "visTypeTimeseries.topHit.aggWithOptions.concatenate": "連結", - "visTypeTimeseries.topHit.aggWithOptions.maxLabel": "最高", - "visTypeTimeseries.topHit.aggWithOptions.minLabel": "最低", - "visTypeTimeseries.topHit.aggWithOptions.sumLabel": "合計", - "visTypeTimeseries.topHit.fieldLabel": "フィールド", - "visTypeTimeseries.topHit.order.selectPlaceholder": "選択してください...", - "visTypeTimeseries.topHit.orderByLabel": "並び順", - "visTypeTimeseries.topHit.orderLabel": "順序", - "visTypeTimeseries.topHit.orderOptions.ascLabel": "昇順", - "visTypeTimeseries.topHit.orderOptions.descLabel": "降順", - "visTypeTimeseries.topHit.sizeLabel": "サイズ", - "visTypeTimeseries.topN.addSeriesTooltip": "数列を追加", - "visTypeTimeseries.topN.cloneSeriesTooltip": "数列のクローンを作成", - "visTypeTimeseries.topN.dataTab.dataButtonLabel": "データ", - "visTypeTimeseries.topN.deleteSeriesTooltip": "数列を削除", - "visTypeTimeseries.topN.labelPlaceholder": "ラベル", - "visTypeTimeseries.topN.optionsTab.backgroundColorLabel": "背景色:", - "visTypeTimeseries.topN.optionsTab.colorRulesLabel": "カラールール", - "visTypeTimeseries.topN.optionsTab.dataLabel": "データ", - "visTypeTimeseries.topN.optionsTab.ignoreGlobalFilterLabel": "グローバルフィルターを無視しますか?", - "visTypeTimeseries.topN.optionsTab.itemUrlDescription": "これは mustache テンプレートをサポートしています。{key} が用語に設定されています。", - "visTypeTimeseries.topN.optionsTab.itemUrlLabel": "アイテム URL", - "visTypeTimeseries.topN.optionsTab.panelFilterLabel": "パネルフィルター", - "visTypeTimeseries.topN.optionsTab.panelOptionsButtonLabel": "パネルオプション", - "visTypeTimeseries.topN.optionsTab.styleLabel": "スタイル", - "visTypeTimeseries.topN.tab.metricsLabel": "メトリック", - "visTypeTimeseries.topN.tab.optionsLabel": "オプション", - "visTypeTimeseries.topN.toggleSeriesEditorAriaLabel": "数列エディターを切り替える", - "visTypeTimeseries.units.auto": "自動", - "visTypeTimeseries.units.perDay": "日単位", - "visTypeTimeseries.units.perHour": "時間単位", - "visTypeTimeseries.units.perMillisecond": "ミリ秒単位", - "visTypeTimeseries.units.perMinute": "分単位", - "visTypeTimeseries.units.perSecond": "秒単位", - "visTypeTimeseries.unsupportedAgg.aggIsNotSupportedDescription": "{modelType} 集約はサポートされなくなりました。", - "visTypeTimeseries.unsupportedAgg.aggIsTemporaryUnsupportedDescription": "{modelType} 集約は現在サポートされていません。", - "visTypeTimeseries.unsupportedSplit.splitIsUnsupportedDescription": "{modelType} での分割はサポートされていません。", - "visTypeTimeseries.validateInterval.notifier.maxBucketsExceededErrorMessage": "クエリが取得を試みたデータが多すぎます。通常、時間範囲を狭くするか、使用される間隔を変更すると、問題が解決します。", - "visTypeTimeseries.vars.variableNameAriaLabel": "変数名", - "visTypeTimeseries.vars.variableNamePlaceholder": "変数名", - "visTypeTimeseries.visEditorVisualization.applyChangesLabel": "変更を適用", - "visTypeTimeseries.visEditorVisualization.autoApplyLabel": "自動適用", - "visTypeTimeseries.visEditorVisualization.changesHaveNotBeenAppliedMessage": "ビジュアライゼーションへの変更が適用されました。", - "visTypeTimeseries.visEditorVisualization.changesSuccessfullyAppliedMessage": "最新の変更が適用されました。", - "visTypeTimeseries.visEditorVisualization.changesWillBeAutomaticallyAppliedMessage": "変更が自動的に適用されます。", - "visTypeTimeseries.visEditorVisualization.indexPatternMode.dismissNoticeButtonText": "閉じる", - "visTypeTimeseries.visEditorVisualization.indexPatternMode.link": "確認してください。", - "visTypeTimeseries.visEditorVisualization.indexPatternMode.notificationMessage": "お知らせElasticsearchインデックスまたはKibanaインデックスパターンからデータを可視化できるようになりました。{indexPatternModeLink}。", - "visTypeTimeseries.visEditorVisualization.indexPatternMode.notificationTitle": "TSVBはインデックスパターンをサポートします", - "visTypeTimeseries.visPicker.gaugeLabel": "ゲージ", - "visTypeTimeseries.visPicker.metricLabel": "メトリック", - "visTypeTimeseries.visPicker.tableLabel": "表", - "visTypeTimeseries.visPicker.timeSeriesLabel": "時系列", - "visTypeTimeseries.visPicker.topNLabel": "トップ N", - "visTypeTimeseries.yesButtonLabel": "はい", - "visTypeVega.editor.formatError": "仕様のフォーマット中にエラーが発生", - "visTypeVega.editor.reformatAsHJSONButtonLabel": "HJSON に変換", - "visTypeVega.editor.reformatAsJSONButtonLabel": "JSON に変換しコメントを削除", - "visTypeVega.editor.vegaDocumentationLinkText": "Vega ドキュメント", - "visTypeVega.editor.vegaEditorOptionsButtonAriaLabel": "Vega エディターオプション", - "visTypeVega.editor.vegaHelpButtonAriaLabel": "Vega ヘルプ", - "visTypeVega.editor.vegaHelpLinkText": "Kibana Vega ヘルプ", - "visTypeVega.editor.vegaLiteDocumentationLinkText": "Vega-Lite ドキュメンテーション", - "visTypeVega.emsFileParser.emsFileNameDoesNotExistErrorMessage": "{emsfile} {emsfileName} が存在しません", - "visTypeVega.emsFileParser.missingNameOfFileErrorMessage": "{dataUrlParamValue} の {dataUrlParam} には {nameParam} パラメーター (ファイル名) が必要です", - "visTypeVega.esQueryParser.autointervalValueTypeErrorMessage": "{autointerval} は文字 {trueValue} または数字である必要があります", - "visTypeVega.esQueryParser.dataUrlMustNotHaveLegacyAndBodyQueryValuesAtTheSameTimeErrorMessage": "{dataUrlParam} はレガシー {legacyContext} と {bodyQueryConfigName} の値を同時に含めることができません。", - "visTypeVega.esQueryParser.dataUrlMustNotHaveLegacyContextTogetherWithContextOrTimefieldErrorMessage": "{dataUrlParam} は {legacyContext} と同時に {context} または {timefield} を含めることができません", - "visTypeVega.esQueryParser.legacyContextCanBeTrueErrorMessage": "レガシー {legacyContext} は {trueValue} (時間範囲ピッカーを無視) 、または時間フィールドの名前のどちらかです。例:{timestampParam}", - "visTypeVega.esQueryParser.legacyUrlShouldChangeToWarningMessage": "レガシー {urlParam}: {legacyUrl} を {result} に変更する必要があります", - "visTypeVega.esQueryParser.shiftMustValueTypeErrorMessage": "{shiftParam} は数値でなければなりません", - "visTypeVega.esQueryParser.timefilterValueErrorMessage": "{timefilter} のプロパティは {trueValue}、{minValue}、または {maxValue} に設定する必要があります", - "visTypeVega.esQueryParser.unknownUnitValueErrorMessage": "不明な {unitParamName} 値。次のいずれかでなければなりません。[{unitParamValues}]", - "visTypeVega.esQueryParser.unnamedRequest": "無題のリクエスト#{index}", - "visTypeVega.esQueryParser.urlBodyValueTypeErrorMessage": "{configName} はオブジェクトでなければなりません", - "visTypeVega.esQueryParser.urlContextAndUrlTimefieldMustNotBeUsedErrorMessage": "{urlContext} と {timefield} は {queryParam} が設定されている場合使用できません", - "visTypeVega.function.help": "Vega ビジュアライゼーション", - "visTypeVega.inspector.dataSetsLabel": "データセット", - "visTypeVega.inspector.dataViewer.dataSetAriaLabel": "データセット", - "visTypeVega.inspector.dataViewer.gridAriaLabel": "{name}データグリッド", - "visTypeVega.inspector.signalValuesLabel": "単一の値", - "visTypeVega.inspector.signalViewer.gridAriaLabel": "単一の値のデータグリッド", - "visTypeVega.inspector.specLabel": "仕様", - "visTypeVega.inspector.specViewer.copyToClipboardLabel": "クリップボードにコピー", - "visTypeVega.inspector.vegaAdapter.signal": "信号", - "visTypeVega.inspector.vegaAdapter.value": "値", - "visTypeVega.inspector.vegaDebugLabel": "Vegaデバッグ", - "visTypeVega.mapView.experimentalMapLayerInfo": "マップレイヤーはまだ実験段階であり、オフィシャルGA機能のサポートSLAが適用されません。フィードバックがある場合は、{githubLink}で問題を報告してください。", - "visTypeVega.mapView.mapStyleNotFoundWarningMessage": "{mapStyleParam} が見つかりませんでした", - "visTypeVega.mapView.minZoomAndMaxZoomHaveBeenSwappedWarningMessage": "{minZoomPropertyName} と {maxZoomPropertyName} が交換されました", - "visTypeVega.mapView.resettingPropertyToMaxValueWarningMessage": "{name} を {max} にリセットしています", - "visTypeVega.mapView.resettingPropertyToMinValueWarningMessage": "{name} を {min} にリセットしています", - "visTypeVega.type.vegaDescription": "Vega を使用して、新しいタイプのビジュアライゼーションを作成します。", - "visTypeVega.type.vegaNote": "Vega 構文の知識が必要です。", - "visTypeVega.type.vegaTitleInWizard": "カスタムビジュアライゼーション", - "visTypeVega.urlParser.dataUrlRequiresUrlParameterInFormErrorMessage": "{dataUrlParam} には「{formLink}」の形で {urlParam} パラメーターが必要です", - "visTypeVega.urlParser.urlShouldHaveQuerySubObjectWarningMessage": "{urlObject} を使用するには {subObjectName} サブオブジェクトが必要です", - "visTypeVega.vegaParser.autoSizeDoesNotAllowFalse": "{autoSizeParam}が有効です。無効にするには、{autoSizeParam}を{noneParam}に設定してください", - "visTypeVega.vegaParser.baseView.externalUrlsAreNotEnabledErrorMessage": "外部 URL が無効です。{enableExternalUrls} を {kibanaConfigFileName} に追加", - "visTypeVega.vegaParser.baseView.functionIsNotDefinedForGraphErrorMessage": "このグラフには {funcName} が定義されていません", - "visTypeVega.vegaParser.baseView.indexNotFoundErrorMessage": "インデックス {index} が見つかりません", - "visTypeVega.vegaParser.baseView.timeValuesTypeErrorMessage": "時間フィルターの設定エラー:両方の時間の値は相対的または絶対的な日付である必要があります。 {start}、{end}", - "visTypeVega.vegaParser.baseView.unableToFindDefaultIndexErrorMessage": "デフォルトのインデックスが見つかりません", - "visTypeVega.vegaParser.centerOnMarkConfigValueTypeErrorMessage": "{configName} は {trueValue}、{falseValue}、または数字でなければなりません", - "visTypeVega.vegaParser.dataExceedsSomeParamsUseTimesLimitErrorMessage": "データには {urlParam}、{valuesParam}、 {sourceParam} の内複数を含めることができません", - "visTypeVega.vegaParser.hostConfigIsDeprecatedWarningMessage": "{deprecatedConfigName} は廃止されました。代わりに {newConfigName} を使用します。", - "visTypeVega.vegaParser.hostConfigValueTypeErrorMessage": "{configName} が含まれている場合、オブジェクトでなければなりません", - "visTypeVega.vegaParser.inputSpecDoesNotSpecifySchemaErrorMessage": "仕様に基づき、{schemaParam}フィールドには、\nVega ({vegaSchemaUrl}を参照) または\nVega-Lite ({vegaLiteSchemaUrl}を参照) の有効なURLを入力する必要があります。\nURLは識別子にすぎません。Kibanaやご使用のブラウザーがこのURLにアクセスすることはありません。", - "visTypeVega.vegaParser.invalidVegaSpecErrorMessage": "無効な Vega 仕様", - "visTypeVega.vegaParser.kibanaConfigValueTypeErrorMessage": "{configName} が含まれている場合、オブジェクトでなければなりません", - "visTypeVega.vegaParser.maxBoundsValueTypeWarningMessage": "{maxBoundsConfigName} は 4 つの数字の配列でなければなりません", - "visTypeVega.vegaParser.notSupportedUrlTypeErrorMessage": "{urlObject} はサポートされていません", - "visTypeVega.vegaParser.notValidLibraryVersionForInputSpecWarningMessage": "インプット仕様に {schemaLibrary} {schemaVersion} が使用されていますが、現在のバージョンの {schemaLibrary} は {libraryVersion} です。", - "visTypeVega.vegaParser.paddingConfigValueTypeErrorMessage": "{configName} は数字でなければなりません", - "visTypeVega.vegaParser.someKibanaConfigurationIsNoValidWarningMessage": "{configName} は有効ではありません", - "visTypeVega.vegaParser.someKibanaParamValueTypeWarningMessage": "{configName} はブール値でなければなりません", - "visTypeVega.vegaParser.textTruncateConfigValueTypeErrorMessage": "{configName} はブール値でなければなりません", - "visTypeVega.vegaParser.unexpectedValueForPositionConfigurationErrorMessage": "{configurationName} 構成に予期せぬ値が使用されています", - "visTypeVega.vegaParser.unrecognizedControlsLocationValueErrorMessage": "認識されていない {controlsLocationParam} 値。[{locToDirMap}] のいずれかが想定されます。", - "visTypeVega.vegaParser.unrecognizedDirValueErrorMessage": "認識されていない {dirParam} 値。[{expectedValues}] のいずれかが想定されます。", - "visTypeVega.vegaParser.VLCompilerShouldHaveGeneratedSingleProtectionObjectErrorMessage": "内部エラー:Vega-Lite コンパイラーがシングルプロジェクションオブジェクトを生成したはずです", - "visTypeVega.vegaParser.widthAndHeightParamsAreIgnored": "{autoSizeParam}が有効であるため、{widthParam}および{heightParam}パラメーターは無視されます。無効にする{autoSizeParam}: {noneParam}を設定", - "visTypeVega.vegaParser.widthAndHeightParamsAreRequired": "{autoSizeParam}が{noneParam}に設定されているときには、カットまたは繰り返された{vegaLiteParam}仕様を使用している間に何も表示されません。修正するには、{autoSizeParam}を削除するか、{vegaParam}を使用してください。", - "visTypeVega.visualization.renderErrorTitle": "Vega エラー", - "visTypeVega.visualization.unableToRenderWithoutDataWarningMessage": "データなしにはレンダリングできません", - "visTypeVislib.advancedSettings.visualization.dimmingOpacityText": "チャートの別のエレメントが選択された時に暗くなるチャート項目の透明度です。この数字が小さければ小さいほど、ハイライトされたエレメントが目立ちます。0と1の間の数字で設定します。", - "visTypeVislib.advancedSettings.visualization.dimmingOpacityTitle": "減光透明度", - "visTypeVislib.advancedSettings.visualization.heatmap.maxBucketsText": "1つのデータソースが返せるバケットの最大数です。値が大きいとブラウザのレンダリング速度が下がる可能性があります。", - "visTypeVislib.advancedSettings.visualization.heatmap.maxBucketsTitle": "ヒートマップの最大バケット数", - "visTypeVislib.aggResponse.allDocsTitle": "すべてのドキュメント", - "visTypeVislib.controls.gaugeOptions.alignmentLabel": "アラインメント", - "visTypeVislib.controls.gaugeOptions.autoExtendRangeLabel": "範囲を自動拡張", - "visTypeVislib.controls.gaugeOptions.displayWarningsLabel": "警告を表示", - "visTypeVislib.controls.gaugeOptions.extendRangeTooltip": "範囲をデータの最高値に広げます。", - "visTypeVislib.controls.gaugeOptions.gaugeTypeLabel": "ゲージタイプ", - "visTypeVislib.controls.gaugeOptions.labelsTitle": "ラベル", - "visTypeVislib.controls.gaugeOptions.rangesTitle": "範囲", - "visTypeVislib.controls.gaugeOptions.showLabelsLabel": "ラベルを表示", - "visTypeVislib.controls.gaugeOptions.showLegendLabel": "凡例を表示", - "visTypeVislib.controls.gaugeOptions.showOutline": "アウトラインを表示", - "visTypeVislib.controls.gaugeOptions.showScaleLabel": "縮尺を表示", - "visTypeVislib.controls.gaugeOptions.styleTitle": "スタイル", - "visTypeVislib.controls.gaugeOptions.subTextLabel": "サブラベル", - "visTypeVislib.controls.gaugeOptions.switchWarningsTooltip": "警告のオン/オフを切り替えます。オンにすると、すべてのラベルを表示できない際に警告が表示されます。", - "visTypeVislib.controls.heatmapOptions.colorLabel": "色", - "visTypeVislib.controls.heatmapOptions.colorScaleLabel": "カラースケール", - "visTypeVislib.controls.heatmapOptions.colorsNumberLabel": "色の数", - "visTypeVislib.controls.heatmapOptions.labelsTitle": "ラベル", - "visTypeVislib.controls.heatmapOptions.overwriteAutomaticColorLabel": "自動カラーを上書きする", - "visTypeVislib.controls.heatmapOptions.rotateLabel": "回転", - "visTypeVislib.controls.heatmapOptions.scaleToDataBoundsLabel": "データバウンドに合わせる", - "visTypeVislib.controls.heatmapOptions.showLabelsTitle": "ラベルを表示", - "visTypeVislib.controls.heatmapOptions.useCustomRangesLabel": "カスタム範囲を使用", - "visTypeVislib.editors.heatmap.basicSettingsTitle": "基本設定", - "visTypeVislib.editors.heatmap.heatmapSettingsTitle": "ヒートマップ設定", - "visTypeVislib.editors.heatmap.highlightLabel": "ハイライト範囲", - "visTypeVislib.editors.heatmap.highlightLabelTooltip": "チャートのカーソルを当てた部分と凡例の対応するラベルをハイライトします。", - "visTypeVislib.functions.pie.help": "パイビジュアライゼーション", - "visTypeVislib.functions.vislib.help": "Vislib ビジュアライゼーション", - "visTypeVislib.gauge.alignmentAutomaticTitle": "自動", - "visTypeVislib.gauge.alignmentHorizontalTitle": "横", - "visTypeVislib.gauge.alignmentVerticalTitle": "縦", - "visTypeVislib.gauge.gaugeDescription": "メトリックのステータスを示します。", - "visTypeVislib.gauge.gaugeTitle": "ゲージ", - "visTypeVislib.gauge.gaugeTypes.arcText": "弧形", - "visTypeVislib.gauge.gaugeTypes.circleText": "円", - "visTypeVislib.gauge.groupTitle": "グループを分割", - "visTypeVislib.gauge.metricTitle": "メトリック", - "visTypeVislib.goal.goalDescription": "メトリックがどのように目標まで進むのかを追跡します。", - "visTypeVislib.goal.goalTitle": "ゴール", - "visTypeVislib.goal.groupTitle": "グループを分割", - "visTypeVislib.goal.metricTitle": "メトリック", - "visTypeVislib.heatmap.groupTitle": "Y 軸", - "visTypeVislib.heatmap.heatmapDescription": "マトリックスのセルのデータを網掛けにします。", - "visTypeVislib.heatmap.heatmapTitle": "ヒートマップ", - "visTypeVislib.heatmap.metricTitle": "値", - "visTypeVislib.heatmap.segmentTitle": "X 軸", - "visTypeVislib.heatmap.splitTitle": "チャートを分割", - "visTypeVislib.vislib.errors.noResultsFoundTitle": "結果が見つかりませんでした", - "visTypeVislib.vislib.heatmap.maxBucketsText": "定義された数列が多すぎます ({nr}) 。構成されている最大値は {max} です。", - "visTypeVislib.vislib.legend.filterForValueButtonAriaLabel": "値 {legendDataLabel} でフィルタリング", - "visTypeVislib.vislib.legend.filterOptionsLegend": "{legendDataLabel}、フィルターオプション", - "visTypeVislib.vislib.legend.filterOutValueButtonAriaLabel": "値 {legendDataLabel} を除外", - "visTypeVislib.vislib.legend.loadingLabel": "読み込み中…", - "visTypeVislib.vislib.legend.toggleLegendButtonAriaLabel": "凡例を切り替える", - "visTypeVislib.vislib.legend.toggleLegendButtonTitle": "凡例を切り替える", - "visTypeVislib.vislib.legend.toggleOptionsButtonAriaLabel": "{legendDataLabel}、トグルオプション", - "visTypeVislib.vislib.tooltip.fieldLabel": "フィールド", - "visTypeVislib.vislib.tooltip.valueLabel": "値", - "visTypeXy.advancedSettings.visualization.legacyChartsLibrary.deprecation": "Visualizeのエリアグラフ、折れ線グラフ、棒グラフのレガシーグラフライブラリは廃止予定であり、8.0以降ではサポートされません。", - "visTypeXy.advancedSettings.visualization.legacyChartsLibrary.description": "Visualizeでエリア、折れ線、棒グラフのレガシーグラフライブラリを有効にします。", - "visTypeXy.advancedSettings.visualization.legacyChartsLibrary.name": "XY軸レガシーグラフライブラリ", - "visTypeXy.aggResponse.allDocsTitle": "すべてのドキュメント", - "visTypeXy.area.areaDescription": "軸と線の間のデータを強調します。", - "visTypeXy.area.areaTitle": "エリア", - "visTypeXy.area.groupTitle": "系列を分割", - "visTypeXy.area.metricsTitle": "Y 軸", - "visTypeXy.area.radiusTitle": "点のサイズ", - "visTypeXy.area.segmentTitle": "X 軸", - "visTypeXy.area.splitTitle": "チャートを分割", - "visTypeXy.area.tabs.metricsAxesTitle": "メトリックと軸", - "visTypeXy.area.tabs.panelSettingsTitle": "パネル設定", - "visTypeXy.axisModes.normalText": "標準", - "visTypeXy.axisModes.percentageText": "割合 (%) ", - "visTypeXy.axisModes.silhouetteText": "シルエット", - "visTypeXy.axisModes.wiggleText": "振動", - "visTypeXy.categoryAxis.rotate.angledText": "傾斜", - "visTypeXy.categoryAxis.rotate.horizontalText": "横", - "visTypeXy.categoryAxis.rotate.verticalText": "縦", - "visTypeXy.chartModes.normalText": "標準", - "visTypeXy.chartModes.stackedText": "スタック", - "visTypeXy.chartTypes.areaText": "エリア", - "visTypeXy.chartTypes.barText": "バー", - "visTypeXy.chartTypes.lineText": "折れ線", - "visTypeXy.controls.pointSeries.categoryAxis.alignLabel": "配置", - "visTypeXy.controls.pointSeries.categoryAxis.filterLabelsLabel": "フィルターラベル", - "visTypeXy.controls.pointSeries.categoryAxis.labelsTitle": "ラベル", - "visTypeXy.controls.pointSeries.categoryAxis.positionLabel": "位置", - "visTypeXy.controls.pointSeries.categoryAxis.showLabel": "軸線とラベルを表示", - "visTypeXy.controls.pointSeries.categoryAxis.showLabelsLabel": "ラベルを表示", - "visTypeXy.controls.pointSeries.categoryAxis.xAxisTitle": "X 軸", - "visTypeXy.controls.pointSeries.gridAxis.dontShowLabel": "非表示", - "visTypeXy.controls.pointSeries.gridAxis.gridText": "グリッド", - "visTypeXy.controls.pointSeries.gridAxis.xAxisLinesLabel": "X 軸線を表示", - "visTypeXy.controls.pointSeries.gridAxis.yAxisLinesDisabledTooltip": "ヒストグラムに X 軸線は表示できません。", - "visTypeXy.controls.pointSeries.gridAxis.yAxisLinesLabel": "Y 軸線を表示", - "visTypeXy.controls.pointSeries.series.chartTypeLabel": "チャートタイプ", - "visTypeXy.controls.pointSeries.series.circlesRadius": "点のサイズ", - "visTypeXy.controls.pointSeries.series.lineModeLabel": "線のモード", - "visTypeXy.controls.pointSeries.series.lineWidthLabel": "線の幅", - "visTypeXy.controls.pointSeries.series.metricsTitle": "メトリック", - "visTypeXy.controls.pointSeries.series.modeLabel": "モード", - "visTypeXy.controls.pointSeries.series.newAxisLabel": "新規軸…", - "visTypeXy.controls.pointSeries.series.showDotsLabel": "点を表示", - "visTypeXy.controls.pointSeries.series.showLineLabel": "線を表示", - "visTypeXy.controls.pointSeries.series.valueAxisLabel": "値軸", - "visTypeXy.controls.pointSeries.seriesAccordionAriaLabel": "{agg} オプションを切り替える", - "visTypeXy.controls.pointSeries.valueAxes.addButtonTooltip": "Y 軸を追加します", - "visTypeXy.controls.pointSeries.valueAxes.customExtentsLabel": "カスタム範囲", - "visTypeXy.controls.pointSeries.valueAxes.maxLabel": "最高", - "visTypeXy.controls.pointSeries.valueAxes.minErrorMessage": "最低値は最高値よりも低く設定する必要があります。", - "visTypeXy.controls.pointSeries.valueAxes.minLabel": "最低", - "visTypeXy.controls.pointSeries.valueAxes.minNeededScaleText": "ログスケールが選択されている場合、最低値は 0 よりも大きいものである必要があります。", - "visTypeXy.controls.pointSeries.valueAxes.modeLabel": "モード", - "visTypeXy.controls.pointSeries.valueAxes.positionLabel": "位置", - "visTypeXy.controls.pointSeries.valueAxes.removeButtonTooltip": "Y 軸を削除します", - "visTypeXy.controls.pointSeries.valueAxes.scaleToDataBounds.boundsMargin": "境界マージン", - "visTypeXy.controls.pointSeries.valueAxes.scaleToDataBounds.minNeededBoundsMargin": "境界マージンは 0 以上でなければなりません。", - "visTypeXy.controls.pointSeries.valueAxes.scaleToDataBoundsLabel": "データバウンドに合わせる", - "visTypeXy.controls.pointSeries.valueAxes.scaleTypeLabel": "スケールタイプ", - "visTypeXy.controls.pointSeries.valueAxes.setAxisExtentsLabel": "軸範囲を設定", - "visTypeXy.controls.pointSeries.valueAxes.showLabel": "軸線とラベルを表示", - "visTypeXy.controls.pointSeries.valueAxes.titleLabel": "タイトル", - "visTypeXy.controls.pointSeries.valueAxes.toggleCustomExtendsAriaLabel": "カスタム範囲を切り替える", - "visTypeXy.controls.pointSeries.valueAxes.toggleOptionsAriaLabel": "{axisName} オプションを切り替える", - "visTypeXy.controls.pointSeries.valueAxes.yAxisTitle": "Y 軸", - "visTypeXy.controls.truncateLabel": "切り捨て", - "visTypeXy.editors.elasticChartsOptions.detailedTooltip.label": "詳細ツールチップを表示", - "visTypeXy.editors.elasticChartsOptions.detailedTooltip.tooltip": "単一の値を表示するためのレガシー詳細ツールチップを有効にします。無効にすると、新しい概要のツールチップに複数の値が表示されます。", - "visTypeXy.editors.elasticChartsOptions.fillOpacity": "塗りつぶしの透明度", - "visTypeXy.editors.elasticChartsOptions.missingValuesLabel": "欠測値を埋める", - "visTypeXy.editors.pointSeries.currentTimeMarkerLabel": "現在時刻マーカー", - "visTypeXy.editors.pointSeries.orderBucketsBySumLabel": "バケットを合計で並べ替え", - "visTypeXy.editors.pointSeries.settingsTitle": "設定", - "visTypeXy.editors.pointSeries.showLabels": "チャートに値を表示", - "visTypeXy.editors.pointSeries.thresholdLine.colorLabel": "線の色", - "visTypeXy.editors.pointSeries.thresholdLine.showLabel": "しきい線を表示", - "visTypeXy.editors.pointSeries.thresholdLine.styleLabel": "ラインスタイル", - "visTypeXy.editors.pointSeries.thresholdLine.valueLabel": "しきい値", - "visTypeXy.editors.pointSeries.thresholdLine.widthLabel": "線の幅", - "visTypeXy.editors.pointSeries.thresholdLineSettingsTitle": "しきい線", - "visTypeXy.fittingFunctionsTitle.carry": "最後 (ギャップを最後の値で埋める) ", - "visTypeXy.fittingFunctionsTitle.linear": "線形 (ギャップを線で埋める) ", - "visTypeXy.fittingFunctionsTitle.lookahead": "次 (ギャップを次の値で埋める) ", - "visTypeXy.fittingFunctionsTitle.none": "非表示 (ギャップを埋めない) ", - "visTypeXy.fittingFunctionsTitle.zero": "ゼロ (ギャップをゼロで埋める) ", - "visTypeXy.function.args.addLegend.help": "グラフ凡例を表示", - "visTypeXy.function.args.addTimeMarker.help": "時刻マーカーを表示", - "visTypeXy.function.args.addTooltip.help": "カーソルを置いたときにツールチップを表示", - "visTypeXy.function.args.args.chartType.help": "グラフの種類。折れ線、エリア、ヒストグラムを選択できます", - "visTypeXy.function.args.categoryAxes.help": "カテゴリ軸構成", - "visTypeXy.function.args.detailedTooltip.help": "詳細ツールチップを表示", - "visTypeXy.function.args.fillOpacity.help": "エリアグラフの塗りつぶしの透明度を定義します", - "visTypeXy.function.args.fittingFunction.help": "適合関数の名前", - "visTypeXy.function.args.gridCategoryLines.help": "グラフにグリッドカテゴリ線を表示", - "visTypeXy.function.args.gridValueAxis.help": "グリッドを表示する値軸の名前", - "visTypeXy.function.args.isVislibVis.help": "古いvislib可視化を示すフラグ。色を含む後方互換性のために使用されます", - "visTypeXy.function.args.labels.help": "グラフラベル構成", - "visTypeXy.function.args.legendPosition.help": "グラフの上、下、左、右に凡例を配置", - "visTypeXy.function.args.orderBucketsBySum.help": "バケットを合計で並べ替え", - "visTypeXy.function.args.palette.help": "グラフパレット名を定義します", - "visTypeXy.function.args.radiusRatio.help": "点サイズ率", - "visTypeXy.function.args.seriesDimension.help": "系列ディメンション構成", - "visTypeXy.function.args.seriesParams.help": "系列パラメーター構成", - "visTypeXy.function.args.splitColumnDimension.help": "列ディメンション構成で分割", - "visTypeXy.function.args.splitRowDimension.help": "行ディメンション構成で分割", - "visTypeXy.function.args.thresholdLine.help": "しきい値線構成", - "visTypeXy.function.args.times.help": "時刻マーカー構成", - "visTypeXy.function.args.valueAxes.help": "値軸構成", - "visTypeXy.function.args.widthDimension.help": "幅ディメンション構成", - "visTypeXy.function.args.xDimension.help": "X軸ディメンション構成", - "visTypeXy.function.args.yDimension.help": "Y軸ディメンション構成", - "visTypeXy.function.args.zDimension.help": "Z軸ディメンション構成", - "visTypeXy.function.categoryAxis.help": "カテゴリ軸オブジェクトを生成します", - "visTypeXy.function.categoryAxis.id.help": "カテゴリ軸のID", - "visTypeXy.function.categoryAxis.labels.help": "軸ラベル構成", - "visTypeXy.function.categoryAxis.position.help": "カテゴリ軸の位置", - "visTypeXy.function.categoryAxis.scale.help": "スケール構成", - "visTypeXy.function.categoryAxis.show.help": "カテゴリ軸を表示", - "visTypeXy.function.categoryAxis.title.help": "カテゴリ軸のタイトル", - "visTypeXy.function.categoryAxis.type.help": "カテゴリ軸の種類。カテゴリまたは値を選択できます", - "visTypeXy.function.label.color.help": "ラベルの色", - "visTypeXy.function.label.filter.help": "軸の重なるラベルと重複を非表示にします", - "visTypeXy.function.label.help": "ラベルオブジェクトを生成します", - "visTypeXy.function.label.overwriteColor.help": "色を上書き", - "visTypeXy.function.label.rotate.help": "角度を回転", - "visTypeXy.function.label.show.help": "ラベルを表示", - "visTypeXy.function.label.truncate.help": "切り捨てる前の記号の数", - "visTypeXy.function.scale.boundsMargin.help": "境界のマージン", - "visTypeXy.function.scale.defaultYExtents.help": "データ境界にスケールできるフラグ", - "visTypeXy.function.scale.help": "スケールオブジェクトを生成します", - "visTypeXy.function.scale.max.help": "最高値", - "visTypeXy.function.scale.min.help": "最低値", - "visTypeXy.function.scale.mode.help": "スケールモード。標準、割合、小刻み、シルエットを選択できます", - "visTypeXy.function.scale.setYExtents.help": "独自の範囲を設定できるフラグ", - "visTypeXy.function.scale.type.help": "スケールタイプ。線形、対数、平方根を選択できます", - "visTypeXy.function.seriesParam.circlesRadius.help": "円のサイズ (半径) を定義します", - "visTypeXy.function.seriesParam.drawLinesBetweenPoints.help": "点の間に線を描画", - "visTypeXy.function.seriesparam.help": "系列パラメーターオブジェクトを生成します", - "visTypeXy.function.seriesParam.id.help": "系列パラメーターのID", - "visTypeXy.function.seriesParam.interpolate.help": "補間モード。線形、カーディナル、階段状を選択できます", - "visTypeXy.function.seriesParam.label.help": "系列パラメーターの名前", - "visTypeXy.function.seriesParam.lineWidth.help": "線の幅", - "visTypeXy.function.seriesParam.mode.help": "グラフモード。積み上げまたは割合を選択できます", - "visTypeXy.function.seriesParam.show.help": "パラメーターを表示", - "visTypeXy.function.seriesParam.showCircles.help": "円を表示", - "visTypeXy.function.seriesParam.type.help": "グラフの種類。折れ線、エリア、ヒストグラムを選択できます", - "visTypeXy.function.seriesParam.valueAxis.help": "値軸の名前", - "visTypeXy.function.thresholdLine.color.help": "しきい線の色", - "visTypeXy.function.thresholdLine.help": "しきい値線オブジェクトを生成します", - "visTypeXy.function.thresholdLine.show.help": "しきい線を表示", - "visTypeXy.function.thresholdLine.style.help": "しきい線のスタイル。実線、点線、一点鎖線を選択できます", - "visTypeXy.function.thresholdLine.value.help": "しきい値", - "visTypeXy.function.thresholdLine.width.help": "しきい値線の幅", - "visTypeXy.function.timeMarker.class.help": "CSSクラス名", - "visTypeXy.function.timeMarker.color.help": "時刻マーカーの色", - "visTypeXy.function.timemarker.help": "時刻マーカーオブジェクトを生成します", - "visTypeXy.function.timeMarker.opacity.help": "時刻マーカーの透明度", - "visTypeXy.function.timeMarker.time.help": "正確な時刻", - "visTypeXy.function.timeMarker.width.help": "時刻マーカーの幅", - "visTypeXy.function.valueAxis.axisParams.help": "値軸パラメーター", - "visTypeXy.function.valueaxis.help": "値軸オブジェクトを生成します", - "visTypeXy.function.valueAxis.name.help": "値軸の名前", - "visTypeXy.functions.help": "XYビジュアライゼーション", - "visTypeXy.histogram.groupTitle": "系列を分割", - "visTypeXy.histogram.histogramDescription": "軸の縦棒にデータを表示します。", - "visTypeXy.histogram.histogramTitle": "縦棒", - "visTypeXy.histogram.metricTitle": "Y 軸", - "visTypeXy.histogram.radiusTitle": "点のサイズ", - "visTypeXy.histogram.segmentTitle": "X 軸", - "visTypeXy.histogram.splitTitle": "チャートを分割", - "visTypeXy.horizontalBar.groupTitle": "系列を分割", - "visTypeXy.horizontalBar.horizontalBarDescription": "軸の横棒にデータを表示します。", - "visTypeXy.horizontalBar.horizontalBarTitle": "横棒", - "visTypeXy.horizontalBar.metricTitle": "Y 軸", - "visTypeXy.horizontalBar.radiusTitle": "点のサイズ", - "visTypeXy.horizontalBar.segmentTitle": "X 軸", - "visTypeXy.horizontalBar.splitTitle": "チャートを分割", - "visTypeXy.interpolationModes.smoothedText": "スムーズ", - "visTypeXy.interpolationModes.steppedText": "ステップ", - "visTypeXy.interpolationModes.straightText": "直線", - "visTypeXy.legend.filterForValueButtonAriaLabel": "値でフィルター", - "visTypeXy.legend.filterOptionsLegend": "{legendDataLabel}、フィルターオプション", - "visTypeXy.legend.filterOutValueButtonAriaLabel": "値を除外", - "visTypeXy.legendPositions.bottomText": "一番下", - "visTypeXy.legendPositions.leftText": "左", - "visTypeXy.legendPositions.rightText": "右", - "visTypeXy.legendPositions.topText": "トップ", - "visTypeXy.line.groupTitle": "系列を分割", - "visTypeXy.line.lineDescription": "データを系列点として表示します。", - "visTypeXy.line.lineTitle": "折れ線", - "visTypeXy.line.metricTitle": "Y 軸", - "visTypeXy.line.radiusTitle": "点のサイズ", - "visTypeXy.line.segmentTitle": "X 軸", - "visTypeXy.line.splitTitle": "チャートを分割", - "visTypeXy.scaleTypes.linearText": "線形", - "visTypeXy.scaleTypes.logText": "ログ", - "visTypeXy.scaleTypes.squareRootText": "平方根", - "visTypeXy.thresholdLine.style.dashedText": "鎖線", - "visTypeXy.thresholdLine.style.dotdashedText": "点線", - "visTypeXy.thresholdLine.style.fullText": "完全", - "visualizations.function.xyDimension.aggType.help": "集約タイプ", - "visualizations.function.xydimension.help": "XYディメンションオブジェクトを生成します", - "visualizations.function.xyDimension.label.help": "ラベル", - "visualizations.function.xyDimension.params.help": "パラメーター", - "visualizations.function.xyDimension.visDimension.help": "ディメンションオブジェクト構成", - "visualizations.advancedSettings.visualizeEnableLabsText": "ユーザーが実験的なビジュアライゼーションを作成、表示、編集できるようになります。無効の場合、\n ユーザーは本番準備が整ったビジュアライゼーションのみを利用できます。", - "visualizations.advancedSettings.visualizeEnableLabsTitle": "実験的なビジュアライゼーションを有効にする", - "visualizations.disabledLabVisualizationLink": "ドキュメンテーションを表示", - "visualizations.disabledLabVisualizationMessage": "ラボビジュアライゼーションを表示するには、高度な設定でラボモードをオンにしてください。", - "visualizations.disabledLabVisualizationTitle": "{title} はラボビジュアライゼーションです。", - "visualizations.displayName": "ビジュアライゼーション", - "visualizations.embeddable.placeholderTitle": "プレースホルダータイトル", - "visualizations.function.range.from.help": "範囲の開始", - "visualizations.function.range.help": "範囲オブジェクトを生成します", - "visualizations.function.range.to.help": "範囲の終了", - "visualizations.function.visDimension.accessor.help": "使用するデータセット内の列 (列インデックスまたは列名) ", - "visualizations.function.visDimension.format.help": "フォーマット", - "visualizations.function.visDimension.formatParams.help": "フォーマットパラメーター", - "visualizations.function.visDimension.help": "visConfig ディメンションオブジェクトを生成します", - "visualizations.initializeWithoutIndexPatternErrorMessage": "インデックスパターンなしで集約を初期化しようとしています", - "visualizations.newVisWizard.aggBasedGroupDescription": "クラシック Visualize ライブラリを使用して、アグリゲーションに基づいてグラフを作成します。", - "visualizations.newVisWizard.aggBasedGroupTitle": "アグリゲーションに基づく", - "visualizations.newVisWizard.chooseSourceTitle": "ソースの選択", - "visualizations.newVisWizard.experimentalTitle": "実験的", - "visualizations.newVisWizard.experimentalTooltip": "このビジュアライゼーションは今後のリリースで変更または削除される可能性があり、SLA のサポート対象になりません。", - "visualizations.newVisWizard.exploreOptionLinkText": "探索オプション", - "visualizations.newVisWizard.filterVisTypeAriaLabel": "ビジュアライゼーションのタイプでフィルタリング", - "visualizations.newVisWizard.goBackLink": "別のビジュアライゼーションを選択", - "visualizations.newVisWizard.helpTextAriaLabel": "タイプを選択してビジュアライゼーションの作成を始めましょう。ESC を押してこのモーダルを閉じます。Tab キーを押して次に進みます。", - "visualizations.newVisWizard.learnMoreText": "詳細について", - "visualizations.newVisWizard.newVisTypeTitle": "新規 {visTypeName}", - "visualizations.newVisWizard.readDocumentationLink": "ドキュメンテーションを表示", - "visualizations.newVisWizard.searchSelection.notFoundLabel": "一致インデックスまたは保存した検索が見つかりません。", - "visualizations.newVisWizard.searchSelection.savedObjectType.indexPattern": "インデックスパターン", - "visualizations.newVisWizard.searchSelection.savedObjectType.search": "保存検索", - "visualizations.newVisWizard.title": "新規ビジュアライゼーション", - "visualizations.newVisWizard.toolsGroupTitle": "ツール", - "visualizations.noResultsFoundTitle": "結果が見つかりませんでした", - "visualizations.savedObjectName": "ビジュアライゼーション", - "visualizations.savingVisualizationFailed.errorMsg": "ビジュアライゼーションの保存が失敗しました", - "visualizations.visualizationTypeInvalidMessage": "無効なビジュアライゼーションタイプ \"{visType}\"", - "visualize.badge.readOnly.text": "読み取り専用", - "visualize.badge.readOnly.tooltip": "ビジュアライゼーションをライブラリに保存できません", - "visualize.byValue_pageHeading": "{originatingApp}アプリに埋め込まれた{chartType}タイプのビジュアライゼーション", - "visualize.confirmModal.confirmTextDescription": "変更を保存せずにVisualizeエディターから移動しますか?", - "visualize.confirmModal.title": "保存されていない変更", - "visualize.createVisualization.failedToLoadErrorMessage": "ビジュアライゼーションを読み込めませんでした", - "visualize.createVisualization.noIndexPatternOrSavedSearchIdErrorMessage": "indexPatternまたはsavedSearchIdが必要です", - "visualize.createVisualization.noVisTypeErrorMessage": "有効なビジュアライゼーションタイプを指定してください", - "visualize.editor.createBreadcrumb": "作成", - "visualize.editor.defaultEditBreadcrumbText": "ビジュアライゼーションを編集", - "visualize.experimentalVisInfoText": "このビジュアライゼーションはまだ実験段階であり、オフィシャルGA機能のサポートSLAが適用されません。フィードバックがある場合は、{githubLink}で問題を報告してください。", - "visualize.helpMenu.appName": "Visualizeライブラリ", - "visualize.linkedToSearch.unlinkSuccessNotificationText": "保存された検索「{searchTitle}」からリンクが解除されました", - "visualize.listing.betaTitle": "ベータ", - "visualize.listing.betaTooltip": "このビジュアライゼーションはベータ段階で、変更される可能性があります。デザインとコードはオフィシャルGA機能よりも完成度が低く、現状のまま保証なしで提供されています。ベータ機能にはオフィシャルGA機能のSLAが適用されません", - "visualize.listing.breadcrumb": "Visualizeライブラリ", - "visualize.listing.createNew.createButtonLabel": "新規ビジュアライゼーションを追加", - "visualize.listing.createNew.description": "データに基づき異なるビジュアライゼーションを作成できます。", - "visualize.listing.createNew.title": "最初のビジュアライゼーションの作成", - "visualize.listing.experimentalTitle": "実験的", - "visualize.listing.experimentalTooltip": "このビジュアライゼーションは今後のリリースで変更または削除される可能性があり、SLA のサポート対象になりません。", - "visualize.listing.table.descriptionColumnName": "説明", - "visualize.listing.table.entityName": "ビジュアライゼーション", - "visualize.listing.table.entityNamePlural": "ビジュアライゼーション", - "visualize.listing.table.listTitle": "Visualizeライブラリ", - "visualize.listing.table.titleColumnName": "タイトル", - "visualize.listing.table.typeColumnName": "型", - "visualize.listingPageTitle": "Visualizeライブラリ", - "visualize.noMatchRoute.bannerText": "Visualizeアプリケーションはこのルートを認識できません。{route}", - "visualize.noMatchRoute.bannerTitleText": "ページが見つかりません", - "visualize.pageHeading": "{chartName} {chartType}可視化", - "visualize.topNavMenu.cancelAndReturnButtonTooltip": "完了する前に変更を破棄", - "visualize.topNavMenu.cancelButtonAriaLabel": "変更を保存せずに最後に使用していたアプリに戻る", - "visualize.topNavMenu.cancelButtonLabel": "キャンセル", - "visualize.topNavMenu.openInspectorButtonAriaLabel": "ビジュアライゼーションのインスペクターを開く", - "visualize.topNavMenu.openInspectorButtonLabel": "検査", - "visualize.topNavMenu.openInspectorDisabledButtonTooltip": "このビジュアライゼーションはインスペクターをサポートしていません。", - "visualize.topNavMenu.saveAndReturnVisualizationButtonAriaLabel": "可視化の編集が完了し、前回使用していたアプリに戻ります", - "visualize.topNavMenu.saveAndReturnVisualizationButtonLabel": "保存して戻る", - "visualize.topNavMenu.saveAndReturnVisualizationDisabledButtonTooltip": "完了する前に変更を適用または破棄", - "visualize.topNavMenu.saveVisualization.failureNotificationText": "「{visTitle}」の保存中にエラーが発生しました", - "visualize.topNavMenu.saveVisualization.successNotificationText": "「{visTitle}」が保存されました", - "visualize.topNavMenu.saveVisualizationAsButtonLabel": "名前を付けて保存", - "visualize.topNavMenu.saveVisualizationButtonAriaLabel": "ビジュアライゼーションを保存", - "visualize.topNavMenu.saveVisualizationButtonLabel": "保存", - "visualize.topNavMenu.saveVisualizationDisabledButtonTooltip": "保存する前に変更を適用または破棄", - "visualize.topNavMenu.saveVisualizationToLibraryButtonLabel": "ライブラリに保存", - "visualize.topNavMenu.shareVisualizationButtonAriaLabel": "ビジュアライゼーションを共有", - "visualize.topNavMenu.shareVisualizationButtonLabel": "共有", - "visualize.topNavMenu.updatePanel": "{originatingAppName}でパネルを更新", - "visualize.visualizationLoadingFailedErrorMessage": "ビジュアライゼーションを読み込めませんでした", - "visualize.visualizeDescription": "ビジュアライゼーションを作成してElasticsearchインデックスに保存されたデータをアグリゲーションします。", - "visualize.visualizeListingBreadcrumbsTitle": "Visualizeライブラリ", - "visualize.visualizeListingDashboardAppName": "ダッシュボードアプリケーション", - "visualize.visualizeListingDashboardFlowDescription": "ダッシュボードを作成しますか?新しい統合ワークフローを使用して、{dashboardApp} から直接コンテンツを作成します。", - "visualize.visualizeListingDeleteErrorTitle": "ビジュアライゼーションの削除中にエラーが発生", - "xpack.actions.actionTypeRegistry.get.missingActionTypeErrorMessage": "アクションタイプ「{id}」は登録されていません。", - "xpack.actions.actionTypeRegistry.register.duplicateActionTypeErrorMessage": "アクションタイプ「{id}」はすでに登録されています。", - "xpack.actions.alertHistoryEsIndexConnector.name": "アラート履歴Elasticsearchインデックス", - "xpack.actions.appName": "アクション", - "xpack.actions.builtin.case.swimlaneTitle": "スイムレーン", - "xpack.actions.builtin.cases.jiraTitle": "Jira", - "xpack.actions.builtin.cases.resilientTitle": "IBM Resilient", - "xpack.actions.builtin.configuration.apiAllowedHostsError": "コネクターアクションの構成エラー:{message}", - "xpack.actions.builtin.email.customViewInKibanaMessage": "このメッセージは Kibana によって送信されました。[{kibanaFooterLinkText}] ({link}) 。", - "xpack.actions.builtin.email.errorSendingErrorMessage": "エラー送信メールアドレス", - "xpack.actions.builtin.email.kibanaFooterLinkText": "Kibana を開く", - "xpack.actions.builtin.email.sentByKibanaMessage": "このメッセージは Kibana によって送信されました。", - "xpack.actions.builtin.emailTitle": "メール", - "xpack.actions.builtin.esIndex.errorIndexingErrorMessage": "エラーインデックス作成ドキュメント", - "xpack.actions.builtin.esIndexTitle": "インデックス", - "xpack.actions.builtin.jira.configuration.apiAllowedHostsError": "コネクターアクションの構成エラー:{message}", - "xpack.actions.builtin.pagerduty.invalidTimestampErrorMessage": "タイムスタンプ\"{timestamp}\"の解析エラー", - "xpack.actions.builtin.pagerduty.missingDedupkeyErrorMessage": "eventActionが「{eventAction}」のときにはDedupKeyが必要です", - "xpack.actions.builtin.pagerduty.pagerdutyConfigurationError": "pagerduty アクションの設定エラー:{message}", - "xpack.actions.builtin.pagerduty.postingErrorMessage": "pagerduty イベントの投稿エラー", - "xpack.actions.builtin.pagerduty.postingRetryErrorMessage": "pagerduty イベントの投稿エラー:http status {status}、後ほど再試行", - "xpack.actions.builtin.pagerduty.postingUnexpectedErrorMessage": "pagerduty イベントの投稿エラー:予期せぬステータス {status}", - "xpack.actions.builtin.pagerduty.timestampParsingFailedErrorMessage": "タイムスタンプの解析エラー \"{timestamp}\":{message}", - "xpack.actions.builtin.pagerdutyTitle": "PagerDuty", - "xpack.actions.builtin.serverLog.errorLoggingErrorMessage": "メッセージのロギングエラー", - "xpack.actions.builtin.serverLogTitle": "サーバーログ", - "xpack.actions.builtin.serviceNowITSMTitle": "ServiceNow ITSM", - "xpack.actions.builtin.serviceNowSIRTitle": "ServiceNow SecOps", - "xpack.actions.builtin.serviceNowTitle": "ServiceNow", - "xpack.actions.builtin.slack.errorPostingErrorMessage": "slack メッセージの投稿エラー", - "xpack.actions.builtin.slack.errorPostingRetryDateErrorMessage": "slack メッセージの投稿エラー、 {retryString} で再試行", - "xpack.actions.builtin.slack.errorPostingRetryLaterErrorMessage": "slack メッセージの投稿エラー、後ほど再試行", - "xpack.actions.builtin.slack.slackConfigurationError": "slack アクションの設定エラー:{message}", - "xpack.actions.builtin.slack.slackConfigurationErrorNoHostname": "slack アクションの構成エラー:Web フック URL からホスト名をパースできません", - "xpack.actions.builtin.slack.unexpectedHttpResponseErrorMessage": "slack からの予期せぬ http 応答:{httpStatus} {httpStatusText}", - "xpack.actions.builtin.slack.unexpectedNullResponseErrorMessage": "Slack から予期せぬ null 応答", - "xpack.actions.builtin.slackTitle": "Slack", - "xpack.actions.builtin.swimlane.configuration.apiAllowedHostsError": "コネクターアクションの構成エラー:{message}", - "xpack.actions.builtin.swimlaneTitle": "スイムレーン", - "xpack.actions.builtin.teams.errorPostingRetryDateErrorMessage": "Microsoft Teams メッセージの投稿エラーです。{retryString} に再試行します", - "xpack.actions.builtin.teams.errorPostingRetryLaterErrorMessage": "Microsoft Teams メッセージの投稿エラーです。しばらくたってから再試行します", - "xpack.actions.builtin.teams.invalidResponseErrorMessage": "Microsoft Teams への投稿エラーです。無効な応答です", - "xpack.actions.builtin.teams.teamsConfigurationError": "Teams アクションの設定エラー:{message}", - "xpack.actions.builtin.teams.teamsConfigurationErrorNoHostname": "Teams アクションの構成エラー:Web フック URL からホスト名をパースできません", - "xpack.actions.builtin.teams.unreachableErrorMessage": "Microsoft Teams への投稿エラーです。予期しないエラーです", - "xpack.actions.builtin.teamsTitle": "Microsoft Teams", - "xpack.actions.builtin.webhook.invalidResponseErrorMessage": "Webフックの呼び出しエラー、無効な応答", - "xpack.actions.builtin.webhook.invalidResponseRetryDateErrorMessage": "Webフックの呼び出しエラー、{retryString} に再試行", - "xpack.actions.builtin.webhook.invalidResponseRetryLaterErrorMessage": "Webフックの呼び出しエラー、後ほど再試行", - "xpack.actions.builtin.webhook.invalidUsernamePassword": "ユーザーとパスワードの両方を指定する必要があります", - "xpack.actions.builtin.webhook.requestFailedErrorMessage": "Webフックの呼び出しエラー。要求が失敗しました", - "xpack.actions.builtin.webhook.unreachableErrorMessage": "webhookの呼び出しエラー、予期せぬエラー", - "xpack.actions.builtin.webhook.webhookConfigurationError": "Web フックアクションの構成中にエラーが発生:{message}", - "xpack.actions.builtin.webhook.webhookConfigurationErrorNoHostname": "Webフックアクションの構成エラーです。URLを解析できません。{err}", - "xpack.actions.builtin.webhookTitle": "Web フック", - "xpack.actions.disabledActionTypeError": "アクションタイプ \"{actionType}\" は、Kibana 構成 xpack.actions.enabledActionTypes では有効化されません", - "xpack.actions.featureRegistry.actionsFeatureName": "アクションとコネクター", - "xpack.actions.savedObjects.goToConnectorsButtonText": "コネクターに移動", - "xpack.actions.serverSideErrors.expirerdLicenseErrorMessage": "{licenseType} ライセンスの期限が切れたのでアクションタイプ {actionTypeId} は無効です。", - "xpack.actions.serverSideErrors.invalidLicenseErrorMessage": "{licenseType} ライセンスでサポートされないのでアクションタイプ {actionTypeId} は無効です。ライセンスをアップグレードしてください。", - "xpack.actions.serverSideErrors.predefinedActionDeleteDisabled": "あらかじめ構成されたアクション{id}は削除できません。", - "xpack.actions.serverSideErrors.predefinedActionUpdateDisabled": "あらかじめ構成されたアクション{id}は更新できません。", - "xpack.actions.serverSideErrors.unavailableLicenseErrorMessage": "現時点でライセンス情報を入手できないため、アクションタイプ {actionTypeId} は無効です。", - "xpack.actions.serverSideErrors.unavailableLicenseInformationErrorMessage": "グラフを利用できません。現在ライセンス情報が利用できません。", - "xpack.actions.urlAllowedHostsConfigurationError": "ターゲット{field}「{value}」はKibana構成xpack.actions.allowedHostsに追加されていません", - "xpack.alerting.alertNavigationRegistry.get.missingNavigationError": "「{consumer}」内のアラートタイプ「{alertType}」のナビゲーションは登録されていません。", - "xpack.alerting.alertNavigationRegistry.register.duplicateDefaultError": "「{consumer}」内のデフォルトナビゲーションはすでに登録されています。", - "xpack.alerting.alertNavigationRegistry.register.duplicateNavigationError": "「{consumer}」内のアラートタイプ「{alertType}」のナビゲーションはすでに登録されています。", - "xpack.alerting.rulesClient.invalidDate": "パラメーター{field}の無効な日付:「{dateValue}」", - "xpack.alerting.rulesClient.validateActions.invalidGroups": "無効なアクショングループ:{groups}", - "xpack.alerting.ruleTypeRegistry.get.missingAlertTypeError": "アラートタイプ「{id}」は登録されていません。", - "xpack.alerting.ruleTypeRegistry.register.customRecoveryActionGroupUsageError": "アラートタイプ [id=\"{id}\"] を登録できません。アクショングループ [{actionGroup}] は、復元とアクティブなアクショングループの両方として使用できません。", - "xpack.alerting.ruleTypeRegistry.register.duplicateAlertTypeError": "アラートタイプ\"{id}\"はすでに登録されています。", - "xpack.alerting.api.error.disabledApiKeys": "アラートは API キーに依存しますがキーが無効になっているようです", - "xpack.alerting.appName": "アラート", - "xpack.alerting.builtinActionGroups.recovered": "回復済み", - "xpack.alerting.injectActionParams.email.kibanaFooterLinkText": "Kibanaでルールを表示", - "xpack.alerting.savedObjects.goToRulesButtonText": "ルールに移動", - "xpack.alerting.server.healthStatus.available": "アラートフレームワークを使用できます", - "xpack.alerting.server.healthStatus.degraded": "アラートフレームワークは劣化しました", - "xpack.alerting.server.healthStatus.unavailable": "アラートフレームワークを使用できません", - "xpack.alerting.serverSideErrors.expirerdLicenseErrorMessage": "{licenseType} ライセンスの期限が切れたのでアラートタイプ {alertTypeId} は無効です。", - "xpack.alerting.serverSideErrors.invalidLicenseErrorMessage": "アラート{alertTypeId}は無効です。{licenseType}ライセンスが必要です。アップグレードオプションを表示するには、[ライセンス管理]に移動してください。", - "xpack.alerting.serverSideErrors.unavailableLicenseErrorMessage": "現時点でライセンス情報を入手できないため、アラートタイプ {alertTypeId} は無効です。", - "xpack.alerting.serverSideErrors.unavailableLicenseInformationErrorMessage": "アラートを利用できません。現在ライセンス情報が利用できません。", - "xpack.apm.a.thresholdMet": "しきい値一致", - "xpack.apm.addDataButtonLabel": "データの追加", - "xpack.apm.agentConfig.allOptionLabel": "すべて", - "xpack.apm.agentConfig.apiRequestSize.description": "チャンクエンコーディング (HTTPストリーミング) を経由してAPM ServerインテークAPIに送信されるリクエスト本文の最大合計圧縮サイズ。\nわずかなオーバーシュートの可能性があることに注意してください。\n\n使用できるバイト単位は、「b」、「kb」、「mb」です。「1kb」は「1024b」と等価です。", - "xpack.apm.agentConfig.apiRequestSize.label": "API リクエストサイズ", - "xpack.apm.agentConfig.apiRequestTime.description": "APM Server への HTTP リクエストを開いておく最大時間。\n\n注:この値は、APM Server の「read_timeout」設定よりも低くする必要があります。", - "xpack.apm.agentConfig.apiRequestTime.label": "API リクエスト時間", - "xpack.apm.agentConfig.captureBody.description": "HTTPリクエストのトランザクションの場合、エージェントはオプションとしてリクエスト本文 (POST変数など) をキャプチャすることができます。\nメッセージブローカーからメッセージを受信すると開始するトランザクションでは、エージェントがテキストメッセージの本文を取り込むことができます。", - "xpack.apm.agentConfig.captureBody.label": "本文をキャプチャ", - "xpack.apm.agentConfig.captureHeaders.description": "「true」に設定すると、メッセージングフレームワーク (Kafkaなど) を使用するときに、エージェントはHTTP要求と応答ヘッダー (Cookieを含む) 、およびメッセージヘッダー/プロパティを取り込みます。\n\n注:これを「false」に設定すると、ネットワーク帯域幅、ディスク容量、およびオブジェクト割り当てが減少します。", - "xpack.apm.agentConfig.captureHeaders.label": "ヘッダーのキャプチャ", - "xpack.apm.agentConfig.chooseService.editButton": "編集", - "xpack.apm.agentConfig.chooseService.service.environment.label": "環境", - "xpack.apm.agentConfig.chooseService.service.name.label": "サービス名", - "xpack.apm.agentConfig.circuitBreakerEnabled.description": "Circuit Breakerを有効にすべきかどうかを指定するブール値。 有効にすると、エージェントは定期的にストレス監視をポーリングして、システム/プロセス/JVMのストレス状態を検出します。監視のいずれかがストレスの兆候を検出した場合、`recording`構成オプションの設定が「false」であるかのようにエージェントは一時停止し、リソース消費を最小限に抑えられます。一時停止した場合、エージェントはストレス状態が緩和されたかどうかを検出するために同じ監視のポーリングを継続します。すべての監視でシステム/プロセス/JVMにストレスがないことが認められると、エージェントは再開して完全に機能します。", - "xpack.apm.agentConfig.circuitBreakerEnabled.label": "Cirtcuit Breaker が有効", - "xpack.apm.agentConfig.configTable.appliedTooltipMessage": "1 つ以上のエージェントにより適用されました", - "xpack.apm.agentConfig.configTable.configTable.failurePromptText": "エージェントの構成一覧を取得できませんでした。ユーザーに十分なパーミッションがない可能性があります。", - "xpack.apm.agentConfig.configTable.createConfigButtonLabel": "構成の作成", - "xpack.apm.agentConfig.configTable.emptyPromptTitle": "構成が見つかりません。", - "xpack.apm.agentConfig.configTable.environmentColumnLabel": "サービス環境", - "xpack.apm.agentConfig.configTable.lastUpdatedColumnLabel": "最終更新", - "xpack.apm.agentConfig.configTable.notAppliedTooltipMessage": "まだエージェントにより適用されていません", - "xpack.apm.agentConfig.configTable.serviceNameColumnLabel": "サービス名", - "xpack.apm.agentConfig.configurationsPanelTitle": "構成", - "xpack.apm.agentConfig.configurationsPanelTitle.noPermissionTooltipLabel": "ユーザーロールには、エージェント構成を作成する権限がありません", - "xpack.apm.agentConfig.createConfigButtonLabel": "構成の作成", - "xpack.apm.agentConfig.createConfigTitle": "構成の作成", - "xpack.apm.agentConfig.deleteModal.cancel": "キャンセル", - "xpack.apm.agentConfig.deleteModal.confirm": "削除", - "xpack.apm.agentConfig.deleteModal.text": "サービス「{serviceName}」と環境「{environment}」の構成を削除しようとしています。", - "xpack.apm.agentConfig.deleteModal.title": "構成を削除", - "xpack.apm.agentConfig.deleteSection.deleteConfigFailedText": "「{serviceName}」の構成を削除中に問題が発生しました。エラー:「{errorMessage}」", - "xpack.apm.agentConfig.deleteSection.deleteConfigFailedTitle": "構成を削除できませんでした", - "xpack.apm.agentConfig.deleteSection.deleteConfigSucceededText": "「{serviceName}」の構成が正常に削除されました。エージェントに反映されるまでに少し時間がかかります。", - "xpack.apm.agentConfig.deleteSection.deleteConfigSucceededTitle": "構成が削除されました", - "xpack.apm.agentConfig.editConfigTitle": "構成の編集", - "xpack.apm.agentConfig.enableLogCorrelation.description": "エージェントがSLF4JのMDCと融合してトレースログ相関を有効にすべきかどうかを指定するブール値。「true」に設定した場合、エージェントは現在アクティブなスパンとトランザクションの「trace.id」と「transaction.id」をMDCに設定します。Javaエージェントバージョン1.16.0以降では、エージェントは、エラーメッセージが記録される前に、取り込まれたエラーの「error.id」もMDCに追加します。注:実行時にこの設定を有効にできますが、再起動しないと無効にはできません。", - "xpack.apm.agentConfig.enableLogCorrelation.label": "ログ相関を有効にする", - "xpack.apm.agentConfig.logLevel.description": "エージェントのログ記録レベルを設定します", - "xpack.apm.agentConfig.logLevel.label": "ログレベル", - "xpack.apm.agentConfig.newConfig.description": "APMアプリ内からエージェント構成を微調整してください。変更はAPMエージェントに自動的に伝達されるので、再デプロイする必要はありません。", - "xpack.apm.agentConfig.profilingInferredSpansEnabled.description": "「true」に設定すると、エージェントは、別名統計プロファイラーと呼ばれるサンプリングプロファイラーであるasync-profilerに基づいてメソッド実行用のスパンを作成します。サンプリングプロファイラーのしくみの性質上、推定スパンの期間は厳密ではなく見込みのみです。「profiling_inferred_spans_sampling_interval」では、正確度とオーバーヘッドの間のトレードオフを微調整できます。推定スパンは、プロファイルセッションの終了後に作成されます。つまり、通常のスパンと推定スパンの間にはUIに表示されるタイミングに遅延があります。注:この機能はWindowsで使用できません。", - "xpack.apm.agentConfig.profilingInferredSpansEnabled.label": "プロファイル推定スパンが有効です", - "xpack.apm.agentConfig.profilingInferredSpansExcludedClasses.description": "プロファイラー推定スパンを作成する必要がないクラスを除外します。このオプションは、0文字以上に一致するワイルドカード「*」をサポートします。デフォルトでは、照合時に大文字と小文字の区別はありません。要素の前に「 (?-i) 」を付けると、照合時に大文字と小文字が区別されます。", - "xpack.apm.agentConfig.profilingInferredSpansExcludedClasses.label": "プロファイル推定スパンでクラスを除外しました", - "xpack.apm.agentConfig.profilingInferredSpansIncludedClasses.description": "設定した場合、エージェントは、このリストに一致するメソッドの推定スパンのみを作成します。値を設定すると、わずかに負荷が低減することがあり、対象となるクラスのスパンのみを作成することによって煩雑になるのを防止できます。このオプションは、0文字以上に一致するワイルドカード「*」をサポートします。例:「org.example.myapp.*」デフォルトでは、照合時に大文字と小文字の区別はありません。要素の前に「 (?-i) 」を付けると、照合時に大文字と小文字が区別されます。", - "xpack.apm.agentConfig.profilingInferredSpansIncludedClasses.label": "プロファイル推定スパンでクラスを包含しました", - "xpack.apm.agentConfig.profilingInferredSpansMinDuration.description": "推定スパンの最小期間。最小期間もサンプリング間隔によって暗黙的に設定されることに注意してください。ただし、サンプリング間隔を大きくすると、推定スパンの期間の精度も低下します。", - "xpack.apm.agentConfig.profilingInferredSpansMinDuration.label": "プロファイル推定スパン最小期間", - "xpack.apm.agentConfig.profilingInferredSpansSamplingInterval.description": "プロファイルセッション内でスタックトレースを収集する頻度。低い値に設定するほど継続時間の精度が上がります。その代わり、オーバーヘッドが増し、潜在的に無関係なオペレーションのスパンが増えるという犠牲が伴います。プロファイル推定スパンの最小期間は、この設定値と同じです。", - "xpack.apm.agentConfig.profilingInferredSpansSamplingInterval.label": "プロファイル推定サンプリング間隔", - "xpack.apm.agentConfig.range.errorText": "{rangeType, select,\n between {{min}と{max}の間でなければなりません}\n gt {値は{min}よりも大きい値でなければなりません}\n lt {{max}よりも低く設定する必要があります}\n other {整数でなければなりません}\n }", - "xpack.apm.agentConfig.recording.description": "記録中の場合、エージェントは着信HTTPリクエストを計測し、エラーを追跡し、メトリックを収集して送信します。記録なしに設定すると、エージェントはnoopとして動作し、更新された更新のポーリングを除き、データの収集や APM Server との通信を行いません。これは可逆スイッチなので、記録なしに設定されていてもエージェントスレッドは強制終了されませんが、この状態ではほとんどアイドル状態なのでオーバーヘッドは無視できます。この設定を使用すると、Elastic APMが有効か無効かを動的に制御できます。", - "xpack.apm.agentConfig.recording.label": "記録中", - "xpack.apm.agentConfig.sanitizeFiledNames.description": "場合によっては、サニタイズが必要です。つまり、Elastic APM に送信される機密データを削除する必要があります。この構成では、サニタイズされるフィールド名のワイルドカードパターンのリストを使用できます。これらは HTTP ヘッダー (Cookie を含む) と「application/x-www-form-urlencoded」データ (POST フォームフィールド) に適用されます。クエリ文字列と取り込まれた要求本文 (「application/json」データなど) はサニタイズされません。", - "xpack.apm.agentConfig.sanitizeFiledNames.label": "フィールド名のサニタイズ", - "xpack.apm.agentConfig.saveConfig.failed.text": "「{serviceName}」の構成の保存中に問題が発生しました。エラー:「{errorMessage}」", - "xpack.apm.agentConfig.saveConfig.failed.title": "構成を保存できませんでした", - "xpack.apm.agentConfig.saveConfig.succeeded.text": "「{serviceName}」の構成を保存しました。エージェントに反映されるまでに少し時間がかかります。", - "xpack.apm.agentConfig.saveConfig.succeeded.title": "構成が保存されました", - "xpack.apm.agentConfig.saveConfigurationButtonLabel": "次のステップ", - "xpack.apm.agentConfig.serverTimeout.description": "APM Server への要求で構成されたタイムアウトより時間がかかる場合、\n要求がキャンセルされ、イベント (例外またはトランザクション) が破棄されます。\n0に設定するとタイムアウトが無効になります。\n\n警告:タイムアウトが無効か高い値に設定されている場合、APM Serverがタイムアウトになると、アプリでメモリの問題が発生する可能性があります。", - "xpack.apm.agentConfig.serverTimeout.label": "サーバータイムアウト", - "xpack.apm.agentConfig.servicePage.alreadyConfiguredOption": "すでに構成済み", - "xpack.apm.agentConfig.servicePage.cancelButton": "キャンセル", - "xpack.apm.agentConfig.servicePage.environment.description": "構成ごとに 1 つの環境のみがサポートされます。", - "xpack.apm.agentConfig.servicePage.environment.fieldLabel": "サービス環境", - "xpack.apm.agentConfig.servicePage.environment.title": "環境", - "xpack.apm.agentConfig.servicePage.service.description": "構成するサービスを選択してください。", - "xpack.apm.agentConfig.servicePage.service.fieldLabel": "サービス名", - "xpack.apm.agentConfig.servicePage.service.title": "サービス", - "xpack.apm.agentConfig.settingsPage.discardChangesButton": "変更を破棄", - "xpack.apm.agentConfig.settingsPage.notFound.message": "リクエストされた構成が存在しません", - "xpack.apm.agentConfig.settingsPage.notFound.title": "申し訳ございません、エラーが発生しました", - "xpack.apm.agentConfig.settingsPage.saveButton": "構成を保存", - "xpack.apm.agentConfig.spanFramesMinDuration.description": "デフォルト設定では、APM エージェントは記録されたすべてのスパンでスタックトレースを収集します。\nこれはコード内でスパンの原因になる厳密な場所を見つけるうえで非常に役立ちますが、このスタックトレースを収集するとオーバーヘッドが生じます。\nこのオプションを負の値 (「-1ms」など) に設定すると、すべてのスパンのスタックトレースが収集されます。正の値 (たとえば、「5 ms」) に設定すると、スタックトレース収集を、指定値 (たとえば、5ミリ秒) 以上の期間にわたるスパンに制限されます。\n\nスパンのスタックトレース収集を完全に無効にするには、値を「0ms」に設定します。", - "xpack.apm.agentConfig.spanFramesMinDuration.label": "スパンフレーム最小期間", - "xpack.apm.agentConfig.stackTraceLimit.description": "0 に設定するとスタックトレース収集が無効になります。収集するフレームの最大数として正の整数値が使用されます。-1 に設定すると、すべてのフレームが収集されます。", - "xpack.apm.agentConfig.stackTraceLimit.label": "スタックトレース制限", - "xpack.apm.agentConfig.stressMonitorCpuDurationThreshold.description": "システムに現在ストレスがかかっているか、それとも以前に検出したストレスが緩和されたかを判断するために必要な最小時間。この時期のすべての測定は、関連しきい値と比較してストレス状態の変化を検出できるように一貫性が必要です。「1m」以上にする必要があります。", - "xpack.apm.agentConfig.stressMonitorCpuDurationThreshold.label": "ストレス監視 CPU 期間しきい値", - "xpack.apm.agentConfig.stressMonitorGcReliefThreshold.description": "ヒープにストレスがかからない時期を特定するためにGC監視で使用するしきい値。「stress_monitor_gc_stress_threshold」を超えた場合、エージェントはそれをヒープストレス状態と見なします。ストレス状態が収まったことを確認するには、すべてのヒーププールで占有メモリの割合がこのしきい値よりも低いことを確認します。GC監視は、直近のGCの後で測定したメモリ消費のみに依存します。", - "xpack.apm.agentConfig.stressMonitorGcReliefThreshold.label": "ストレス監視システム GC 緩和しきい値", - "xpack.apm.agentConfig.stressMonitorGcStressThreshold.description": "ヒープストレスを特定するためにGC監視で使用するしきい値。すべてのヒーププールに同じしきい値が使用され、いずれかの使用率がその値を超える場合、エージェントはそれをヒープストレスと見なします。GC監視は、直近のGCの後で測定したメモリ消費のみに依存します。", - "xpack.apm.agentConfig.stressMonitorGcStressThreshold.label": "ストレス監視システム GC ストレスしきい値", - "xpack.apm.agentConfig.stressMonitorSystemCpuReliefThreshold.description": "システムにCPUストレスがかかっていないことを判断するためにシステムCPU監視で使用するしきい値。監視機能でCPUストレスを検出した場合にCPUストレスが緩和されたと判断するには、測定されたシステムCPUが「stress_monitor_cpu_duration_threshold」と同じ長さ以上の期間にわたってこのしきい値を下回る必要があります。", - "xpack.apm.agentConfig.stressMonitorSystemCpuReliefThreshold.label": "ストレス監視システム CPU 緩和しきい値", - "xpack.apm.agentConfig.stressMonitorSystemCpuStressThreshold.description": "システムCPU監視でシステムCPUストレスの検出に使用するしきい値。システムCPUが少なくとも「stress_monitor_cpu_duration_threshold」と同じ長さ以上の期間にわたってこのしきい値を超えると、監視機能はこれをストレス状態と見なします。", - "xpack.apm.agentConfig.stressMonitorSystemCpuStressThreshold.label": "ストレス監視システム CPU ストレスしきい値", - "xpack.apm.agentConfig.transactionIgnoreUrl.description": "特定の URL への要求が命令されないように制限するために使用します。この構成では、無視される URL パスのワイルドカードパターンのカンマ区切りのリストを使用できます。受信 HTTP 要求が検出されると、要求パスが、リストの各要素に対してテストされます。たとえば、このリストに「/home/index」を追加すると、一致して、「http://localhost/home/index」と「http://whatever.com/home/index?value1=123」から命令が削除されます。", - "xpack.apm.agentConfig.transactionIgnoreUrl.label": "URL に基づくトランザクションを無視", - "xpack.apm.agentConfig.transactionMaxSpans.description": "トランザクションごとに記録される範囲を制限します。", - "xpack.apm.agentConfig.transactionMaxSpans.label": "トランザクションの最大範囲", - "xpack.apm.agentConfig.transactionSampleRate.description": "デフォルトでは、エージェントはすべてのトランザクション (たとえば、サービスへのリクエストなど) をサンプリングします。オーバーヘッドやストレージ要件を減らすには、サンプルレートの値を0.0〜1.0に設定します。全体的な時間とサンプリングされないトランザクションの結果は記録されますが、コンテキスト情報、ラベル、スパンは記録されません。", - "xpack.apm.agentConfig.transactionSampleRate.label": "トランザクションのサンプルレート", - "xpack.apm.agentConfig.unsavedSetting.tooltip": "未保存", - "xpack.apm.agentMetrics.java.gcRate": "GC レート", - "xpack.apm.agentMetrics.java.gcRateChartTitle": "1 分ごとのガベージコレクション", - "xpack.apm.agentMetrics.java.gcTime": "GC 時間", - "xpack.apm.agentMetrics.java.gcTimeChartTitle": "1 分ごとのごみ収集の時間", - "xpack.apm.agentMetrics.java.heapMemoryChartTitle": "ヒープ領域", - "xpack.apm.agentMetrics.java.heapMemorySeriesCommitted": "平均実行割当", - "xpack.apm.agentMetrics.java.heapMemorySeriesMax": "平均制限", - "xpack.apm.agentMetrics.java.heapMemorySeriesUsed": "平均使用", - "xpack.apm.agentMetrics.java.nonHeapMemoryChartTitle": "ヒープ領域以外", - "xpack.apm.agentMetrics.java.nonHeapMemorySeriesCommitted": "平均実行割当", - "xpack.apm.agentMetrics.java.nonHeapMemorySeriesUsed": "平均使用", - "xpack.apm.agentMetrics.java.threadCount": "平均カウント", - "xpack.apm.agentMetrics.java.threadCountChartTitle": "スレッド数", - "xpack.apm.agentMetrics.java.threadCountMax": "最高カウント", - "xpack.apm.alertAnnotationButtonAriaLabel": "アラート詳細を表示", - "xpack.apm.alertAnnotationCriticalTitle": "重大アラート", - "xpack.apm.alertAnnotationNoSeverityTitle": "アラート", - "xpack.apm.alertAnnotationWarningTitle": "警告アラート", - "xpack.apm.alerting.fields.all_option": "すべて", - "xpack.apm.alerting.fields.environment": "環境", - "xpack.apm.alerting.fields.service": "サービス", - "xpack.apm.alerting.fields.type": "型", - "xpack.apm.alerts.action_variables.environment": "アラートが作成されるトランザクションタイプ", - "xpack.apm.alerts.action_variables.intervalSize": "アラート条件が満たされた期間の長さと単位", - "xpack.apm.alerts.action_variables.serviceName": "アラートが作成されるサービス", - "xpack.apm.alerts.action_variables.threshold": "この値を超えるすべてのトリガーによりアラートが実行されます", - "xpack.apm.alerts.action_variables.transactionType": "アラートが作成されるトランザクションタイプ", - "xpack.apm.alerts.action_variables.triggerValue": "しきい値に達し、アラートをトリガーした値", - "xpack.apm.alerts.anomalySeverity.criticalLabel": "致命的", - "xpack.apm.alerts.anomalySeverity.majorLabel": "メジャー", - "xpack.apm.alerts.anomalySeverity.minor": "マイナー", - "xpack.apm.alerts.anomalySeverity.scoreDetailsDescription": "スコア {value} {value, select, critical {} other {以上}}", - "xpack.apm.alerts.anomalySeverity.warningLabel": "警告", - "xpack.apm.alertTypes.errorCount.defaultActionMessage": "次の条件のため、\\{\\{alertName\\}\\}アラートが実行されています。\n\n- サービス名:\\{\\{context.serviceName\\}\\}\n- 環境:\\{\\{context.environment\\}\\}\n- しきい値\\{\\{context.threshold\\}\\}エラー\n- トリガーされた値:過去\\{\\{context.interval\\}\\}に\\{\\{context.triggerValue\\}\\}件のエラー", - "xpack.apm.alertTypes.errorCount.description": "サービスのエラー数が定義されたしきい値を超過したときにアラートを発行します。", - "xpack.apm.alertTypes.errorCount.reason": "エラー数が{serviceName}の{threshold}を超えています (現在の値は{measured}) ", - "xpack.apm.alertTypes.transactionDuration.defaultActionMessage": "次の条件のため、\\{\\{alertName\\}\\}アラートが実行されています。\n\n- サービス名:\\{\\{context.serviceName\\}\\}\n- タイプ:\\{\\{context.transactionType\\}\\}\n- 環境:\\{\\{context.environment\\}\\}\n- レイテンシしきい値:\\{\\{context.threshold\\}\\}ミリ秒\n- 観察されたレイテンシ:直前の\\{\\{context.interval\\}\\}に\\{\\{context.triggerValue\\}\\}", - "xpack.apm.alertTypes.transactionDuration.description": "サービスの特定のトランザクションタイプのレイテンシが定義されたしきい値を超えたときにアラートを発行します。", - "xpack.apm.alertTypes.transactionDuration.reason": "レイテンシが{serviceName}の{threshold}を超えています (現在の値は{measured}) ", - "xpack.apm.alertTypes.transactionDurationAnomaly.defaultActionMessage": "次の条件のため、\\{\\{alertName\\}\\}アラートが実行されています。\n\n- サービス名:\\{\\{context.serviceName\\}\\}\n- タイプ:\\{\\{context.transactionType\\}\\}\n- 環境:\\{\\{context.environment\\}\\}\n- 重要度しきい値:\\{\\{context.threshold\\}\\}%\n- 重要度値:\\{\\{context.triggerValue\\}\\}\n", - "xpack.apm.alertTypes.transactionDurationAnomaly.description": "サービスのレイテンシが異常であるときにアラートを表示します。", - "xpack.apm.alertTypes.transactionDurationAnomaly.reason": "{serviceName}の{severityLevel}異常が検知されました (スコアは{measured}) ", - "xpack.apm.alertTypes.transactionErrorRate.defaultActionMessage": "次の条件のため、\\{\\{alertName\\}\\}アラートが実行されています。\n\n- サービス名:\\{\\{context.serviceName\\}\\}\n- タイプ:\\{\\{context.transactionType\\}\\}\n- 環境:\\{\\{context.environment\\}\\}\n- しきい値:\\{\\{context.threshold\\}\\}%\n- トリガーされた値:過去\\{\\{context.interval\\}\\}にエラーの\\{\\{context.triggerValue\\}\\}%", - "xpack.apm.alertTypes.transactionErrorRate.description": "サービスのトランザクションエラー率が定義されたしきい値を超過したときにアラートを発行します。", - "xpack.apm.alertTypes.transactionErrorRate.reason": "トランザクションエラー率が{serviceName}の{threshold}を超えています (現在の値は{measured}) ", - "xpack.apm.analyzeDataButton.label": "データを分析", - "xpack.apm.analyzeDataButton.tooltip": "実験 - データの分析では、任意のディメンションの結果データを選択してフィルタリングし、パフォーマンスの問題の原因または影響を調査することができます", - "xpack.apm.analyzeDataButtonLabel": "データを分析", - "xpack.apm.analyzeDataButtonLabel.message": "実験 - データの分析では、任意のディメンションの結果データを選択してフィルタリングし、パフォーマンスの問題の原因または影響を調査することができます。", - "xpack.apm.anomaly_detection.error.invalid_license": "異常検知を使用するには、Elastic Platinumライセンスのサブスクリプションが必要です。このライセンスがあれば、機械学習を活用して、サービスを監視できます。", - "xpack.apm.anomaly_detection.error.missing_read_privileges": "異常検知ジョブを表示するには、機械学習およびAPMの「読み取り」権限が必要です", - "xpack.apm.anomaly_detection.error.missing_write_privileges": "異常検知ジョブを作成するには、機械学習およびAPMの「書き込み」権限が必要です", - "xpack.apm.anomaly_detection.error.not_available": "機械学習を利用できません", - "xpack.apm.anomaly_detection.error.not_available_in_space": "選択したスペースでは、機械学習を利用できません", - "xpack.apm.anomalyDetection.createJobs.failed.text": "APMサービス環境用に[{environments}]1つ以上の異常検知ジョブを作成しているときに問題が発生しました。エラー:「{errorMessage}」", - "xpack.apm.anomalyDetection.createJobs.failed.title": "異常検知ジョブを作成できませんでした", - "xpack.apm.anomalyDetection.createJobs.succeeded.text": "APMサービス環境[{environments}]の異常検知ジョブが正常に作成されました。機械学習がトラフィック異常値の分析を開始するには、少し時間がかかります。", - "xpack.apm.anomalyDetection.createJobs.succeeded.title": "異常検知ジョブが作成されました", - "xpack.apm.anomalyDetectionSetup.linkLabel": "異常検知", - "xpack.apm.anomalyDetectionSetup.notEnabledForEnvironmentText": "「{currentEnvironment}」環境では、まだ異常検知が有効ではありません。クリックすると、セットアップを続行します。", - "xpack.apm.anomalyDetectionSetup.notEnabledText": "異常検知はまだ有効ではありません。クリックすると、セットアップを続行します。", - "xpack.apm.api.fleet.cloud_apm_package_policy.requiredRoleOnCloud": "スーパーユーザーロールが付与されたElastic Cloudユーザーのみが操作できます。", - "xpack.apm.api.fleet.fleetSecurityRequired": "FleetおよびSecurityプラグインが必要です", - "xpack.apm.apmDescription": "アプリケーション内から自動的に詳細なパフォーマンスメトリックやエラーを集めます。", - "xpack.apm.apmSchema.index": "APMサーバースキーマ - インデックス", - "xpack.apm.apmSettings.index": "APM 設定 - インデックス", - "xpack.apm.apply.label": "適用", - "xpack.apm.chart.annotation.version": "バージョン", - "xpack.apm.chart.cpuSeries.processAverageLabel": "プロセス平均", - "xpack.apm.chart.cpuSeries.processMaxLabel": "プロセス最大", - "xpack.apm.chart.cpuSeries.systemAverageLabel": "システム平均", - "xpack.apm.chart.cpuSeries.systemMaxLabel": "システム最大", - "xpack.apm.chart.error": "データの取得時にエラーが発生しました。再試行してください", - "xpack.apm.chart.memorySeries.systemAverageLabel": "平均", - "xpack.apm.chart.memorySeries.systemMaxLabel": "最高", - "xpack.apm.clearFilters": "フィルターを消去", - "xpack.apm.correlations.correlationsTable.actionsLabel": "フィルター", - "xpack.apm.correlations.correlationsTable.excludeDescription": "値を除外", - "xpack.apm.correlations.correlationsTable.excludeLabel": "除外", - "xpack.apm.correlations.correlationsTable.filterDescription": "値でフィルタリング", - "xpack.apm.correlations.correlationsTable.filterLabel": "フィルター", - "xpack.apm.correlations.correlationsTable.loadingText": "読み込み中", - "xpack.apm.correlations.correlationsTable.noDataText": "データなし", - "xpack.apm.correlations.customize.buttonLabel": "フィールドのカスタマイズ", - "xpack.apm.correlations.customize.fieldHelpText": "相関関係を分析するフィールドをカスタマイズまたは{reset}します。{docsLink}", - "xpack.apm.correlations.customize.fieldHelpTextDocsLink": "デフォルトフィールドの詳細。", - "xpack.apm.correlations.customize.fieldHelpTextReset": "リセット", - "xpack.apm.correlations.customize.fieldLabel": "フィールド", - "xpack.apm.correlations.customize.fieldPlaceholder": "オプションを選択または作成", - "xpack.apm.correlations.customize.thresholdLabel": "しきい値", - "xpack.apm.correlations.customize.thresholdPercentile": "{percentile}パーセンタイル", - "xpack.apm.correlations.latencyCorrelations.correlationsTable.actionsLabel": "フィルター", - "xpack.apm.correlations.latencyCorrelations.correlationsTable.correlationColumnDescription": "サービスの遅延に対するフィールドの影響。0~1の範囲。", - "xpack.apm.correlations.latencyCorrelations.correlationsTable.correlationLabel": "相関関係", - "xpack.apm.correlations.latencyCorrelations.correlationsTable.excludeDescription": "値を除外", - "xpack.apm.correlations.latencyCorrelations.correlationsTable.excludeLabel": "除外", - "xpack.apm.correlations.latencyCorrelations.correlationsTable.fieldNameLabel": "フィールド名", - "xpack.apm.correlations.latencyCorrelations.correlationsTable.fieldValueLabel": "フィールド値", - "xpack.apm.correlations.latencyCorrelations.correlationsTable.filterDescription": "値でフィルタリング", - "xpack.apm.correlations.latencyCorrelations.correlationsTable.filterLabel": "フィルター", - "xpack.apm.correlations.latencyCorrelations.errorTitle": "相関関係の取得中にエラーが発生しました", - "xpack.apm.csm.breakdownFilter.browser": "ブラウザー", - "xpack.apm.csm.breakdownFilter.device": "デバイス", - "xpack.apm.csm.breakdownFilter.location": "場所", - "xpack.apm.csm.breakDownFilter.noBreakdown": "内訳なし", - "xpack.apm.csm.breakdownFilter.os": "OS", - "xpack.apm.csm.pageViews.analyze": "分析", - "xpack.apm.csm.search.url.close": "閉じる", - "xpack.apm.customLink.buttom.create": "カスタムリンクを作成", - "xpack.apm.customLink.buttom.create.title": "作成", - "xpack.apm.customLink.buttom.manage": "カスタムリンクを管理", - "xpack.apm.customLink.empty": "カスタムリンクが見つかりません。独自のカスタムリンク、たとえば特定のダッシュボードまたは外部リンクへのリンクをセットアップします。", - "xpack.apm.emptyMessage.noDataFoundDescription": "別の時間範囲を試すか検索フィルターをリセットしてください。", - "xpack.apm.emptyMessage.noDataFoundLabel": "データが見つかりません。", - "xpack.apm.error.prompt.body": "詳細はブラウザの開発者コンソールをご確認ください。", - "xpack.apm.error.prompt.title": "申し訳ございませんが、エラーが発生しました : (", - "xpack.apm.errorCountAlert.name": "エラー数しきい値", - "xpack.apm.errorCountAlertTrigger.errors": " エラー", - "xpack.apm.errorGroupDetails.culpritLabel": "原因", - "xpack.apm.errorGroupDetails.errorGroupTitle": "エラーグループ {errorGroupId}", - "xpack.apm.errorGroupDetails.errorOccurrenceTitle": "エラーのオカレンス", - "xpack.apm.errorGroupDetails.exceptionMessageLabel": "例外メッセージ", - "xpack.apm.errorGroupDetails.logMessageLabel": "ログメッセージ", - "xpack.apm.errorGroupDetails.occurrencesChartLabel": "オカレンス", - "xpack.apm.errorGroupDetails.relatedTransactionSample": "関連トランザクションサンプル", - "xpack.apm.errorGroupDetails.unhandledLabel": "未対応", - "xpack.apm.errorRate": "エラー率", - "xpack.apm.errorRate.chart.errorRate": "エラー率 (平均) ", - "xpack.apm.errorRate.chart.errorRate.previousPeriodLabel": "前の期間", - "xpack.apm.errorsTable.errorMessageAndCulpritColumnLabel": "エラーメッセージと原因", - "xpack.apm.errorsTable.groupIdColumnDescription": "スタックトレースのハッシュ。動的パラメータのため、エラーメッセージが異なる場合でも、類似したエラーをグループ化します。", - "xpack.apm.errorsTable.groupIdColumnLabel": "グループ ID", - "xpack.apm.errorsTable.latestOccurrenceColumnLabel": "最近のオカレンス", - "xpack.apm.errorsTable.noErrorsLabel": "エラーが見つかりませんでした", - "xpack.apm.errorsTable.occurrencesColumnLabel": "オカレンス", - "xpack.apm.errorsTable.typeColumnLabel": "型", - "xpack.apm.errorsTable.unhandledLabel": "未対応", - "xpack.apm.featureRegistry.apmFeatureName": "APMおよびユーザーエクスペリエンス", - "xpack.apm.feedbackMenu.appName": "APM", - "xpack.apm.fetcher.error.status": "エラー", - "xpack.apm.fetcher.error.title": "リソースの取得中にエラーが発生しました", - "xpack.apm.fetcher.error.url": "URL", - "xpack.apm.filter.environment.allLabel": "すべて", - "xpack.apm.filter.environment.label": "環境", - "xpack.apm.filter.environment.notDefinedLabel": "未定義", - "xpack.apm.filter.environment.selectEnvironmentLabel": "環境を選択", - "xpack.apm.formatters.hoursTimeUnitLabel": "h", - "xpack.apm.formatters.microsTimeUnitLabel": "マイクロ秒", - "xpack.apm.formatters.millisTimeUnitLabel": "ms", - "xpack.apm.formatters.minutesTimeUnitLabel": "分", - "xpack.apm.formatters.secondsTimeUnitLabel": "s", - "xpack.apm.header.badge.readOnly.text": "読み取り専用", - "xpack.apm.header.badge.readOnly.tooltip": "を保存できませんでした", - "xpack.apm.helpMenu.upgradeAssistantLink": "アップグレードアシスタント", - "xpack.apm.home.alertsMenu.alerts": "アラートとルール", - "xpack.apm.home.alertsMenu.createAnomalyAlert": "異常ルールを作成", - "xpack.apm.home.alertsMenu.createThresholdAlert": "しきい値ルールを作成", - "xpack.apm.home.alertsMenu.errorCount": "エラー数", - "xpack.apm.home.alertsMenu.transactionDuration": "レイテンシ", - "xpack.apm.home.alertsMenu.transactionErrorRate": "トランザクションエラー率", - "xpack.apm.home.alertsMenu.viewActiveAlerts": "ルールの管理", - "xpack.apm.home.serviceMapTabLabel": "サービスマップ", - "xpack.apm.instancesLatencyDistributionChartLegend": "インスタンス", - "xpack.apm.instancesLatencyDistributionChartLegend.previousPeriod": "前の期間", - "xpack.apm.instancesLatencyDistributionChartTitle": "インスタンスのレイテンシ分布", - "xpack.apm.instancesLatencyDistributionChartTooltipClickToFilterDescription": "クリックすると、インスタンスでフィルタリングします", - "xpack.apm.instancesLatencyDistributionChartTooltipLatencyLabel": "レイテンシ", - "xpack.apm.instancesLatencyDistributionChartTooltipThroughputLabel": "スループット", - "xpack.apm.invalidLicense.licenseManagementLink": "ライセンスを更新", - "xpack.apm.invalidLicense.message": "現在ご使用のライセンスが期限切れか有効でなくなったため、APM UI を利用できません。", - "xpack.apm.invalidLicense.title": "無効なライセンス", - "xpack.apm.jvmsTable.cpuColumnLabel": "CPU 平均", - "xpack.apm.jvmsTable.explainServiceNodeNameMissing": "これらのメトリックが所属する JVM を特定できませんでした。7.5 よりも古い APM Server を実行していることが原因である可能性が高いです。この問題は APM Server 7.5 以降にアップグレードすることで解決されます。", - "xpack.apm.jvmsTable.heapMemoryColumnLabel": "ヒープ領域の平均", - "xpack.apm.jvmsTable.nameColumnLabel": "名前", - "xpack.apm.jvmsTable.nameExplanation": "JVM 名はデフォルトでコンピューター ID (該当する場合) またはホスト名ですが、エージェントの「'service_node_name」で手動で構成することもできます。", - "xpack.apm.jvmsTable.noJvmsLabel": "JVM が見つかりませんでした", - "xpack.apm.jvmsTable.nonHeapMemoryColumnLabel": "非ヒープ領域の平均", - "xpack.apm.jvmsTable.threadCountColumnLabel": "最大スレッド数", - "xpack.apm.keyValueFilterList.actionFilterLabel": "値でフィルタリング", - "xpack.apm.license.betaBadge": "ベータ", - "xpack.apm.license.betaTooltipMessage": "現在、この機能はベータです。不具合を見つけた場合やご意見がある場合、サポートに問い合わせるか、またはディスカッションフォーラムにご報告ください。", - "xpack.apm.license.button": "トライアルを開始", - "xpack.apm.license.title": "無料の 30 日トライアルを開始", - "xpack.apm.localFilters.titles.browser": "ブラウザー", - "xpack.apm.localFilters.titles.device": "デバイス", - "xpack.apm.localFilters.titles.location": "場所", - "xpack.apm.localFilters.titles.os": "OS", - "xpack.apm.localFilters.titles.serviceName": "サービス名", - "xpack.apm.localFilters.titles.transactionUrl": "URL", - "xpack.apm.localFiltersTitle": "フィルター", - "xpack.apm.metadataTable.section.agentLabel": "エージェント", - "xpack.apm.metadataTable.section.clientLabel": "クライアント", - "xpack.apm.metadataTable.section.containerLabel": "コンテナー", - "xpack.apm.metadataTable.section.customLabel": "カスタム", - "xpack.apm.metadataTable.section.errorLabel": "エラー", - "xpack.apm.metadataTable.section.hostLabel": "ホスト", - "xpack.apm.metadataTable.section.httpLabel": "HTTP", - "xpack.apm.metadataTable.section.labelsLabel": "ラベル", - "xpack.apm.metadataTable.section.messageLabel": "メッセージ", - "xpack.apm.metadataTable.section.pageLabel": "ページ", - "xpack.apm.metadataTable.section.processLabel": "プロセス", - "xpack.apm.metadataTable.section.serviceLabel": "サービス", - "xpack.apm.metadataTable.section.spanLabel": "スパン", - "xpack.apm.metadataTable.section.traceLabel": "トレース", - "xpack.apm.metadataTable.section.transactionLabel": "トランザクション", - "xpack.apm.metadataTable.section.urlLabel": "URL", - "xpack.apm.metadataTable.section.userAgentLabel": "ユーザーエージェント", - "xpack.apm.metadataTable.section.userLabel": "ユーザー", - "xpack.apm.metrics.transactionChart.machineLearningLabel": "機械学習:", - "xpack.apm.metrics.transactionChart.machineLearningTooltip": "ストリームには、平均レイテンシの想定境界が表示されます。赤色の垂直の注釈は、異常スコアが75以上の異常値を示します。", - "xpack.apm.metrics.transactionChart.machineLearningTooltip.withKuery": "フィルタリングで検索バーを使用しているときには、機械学習結果が表示されません", - "xpack.apm.metrics.transactionChart.viewJob": "ジョブを表示", - "xpack.apm.navigation.serviceMapTitle": "サービスマップ", - "xpack.apm.navigation.servicesTitle": "サービス", - "xpack.apm.navigation.tracesTitle": "トレース", - "xpack.apm.notAvailableLabel": "N/A", - "xpack.apm.profiling.collapseSimilarFrames": "類似した項目を折りたたむ", - "xpack.apm.profiling.highlightFrames": "検索", - "xpack.apm.profiling.table.name": "名前", - "xpack.apm.profiling.table.value": "自己", - "xpack.apm.propertiesTable.agentFeature.noDataAvailableLabel": "利用可能なデータがありません", - "xpack.apm.propertiesTable.agentFeature.noResultFound": "\"{value}\"に対する結果が見つかりませんでした。", - "xpack.apm.propertiesTable.tabs.exceptionStacktraceLabel": "例外のスタックトレース", - "xpack.apm.propertiesTable.tabs.logs.serviceName": "サービス名", - "xpack.apm.propertiesTable.tabs.logsLabel": "ログ", - "xpack.apm.propertiesTable.tabs.logStacktraceLabel": "スタックトレース", - "xpack.apm.propertiesTable.tabs.metadataLabel": "メタデータ", - "xpack.apm.propertiesTable.tabs.timelineLabel": "Timeline", - "xpack.apm.rum.coreVitals.dataUndefined": "N/A", - "xpack.apm.rum.coreVitals.fcp": "初回コンテンツの描画", - "xpack.apm.rum.coreVitals.fcpTooltip": "初回コンテンツの描画 (FCP) は初期のレンダリングに集中し、ページの読み込みが開始してから、ページのコンテンツのいずれかの部分が画面に表示されるときまでの時間を測定します。", - "xpack.apm.rum.coreVitals.tbt": "合計ブロック時間", - "xpack.apm.rum.coreVitals.tbtTooltip": "合計ブロック時間 (TBT) は、初回コンテンツの描画からトランザクションが完了したときまでに発生する、各長いタスクのブロック時間 (50 ミリ秒超) の合計です。", - "xpack.apm.rum.dashboard.backend": "バックエンド", - "xpack.apm.rum.dashboard.dataMissing": "N/A", - "xpack.apm.rum.dashboard.frontend": "フロントエンド", - "xpack.apm.rum.dashboard.impactfulMetrics.highTrafficPages": "高トラフィックページ", - "xpack.apm.rum.dashboard.impactfulMetrics.jsErrors": "JavaScript エラー", - "xpack.apm.rum.dashboard.overall.label": "全体", - "xpack.apm.rum.dashboard.pageLoad.label": "ページの読み込み", - "xpack.apm.rum.dashboard.pageLoadDistribution.label": "ページ読み込み分布", - "xpack.apm.rum.dashboard.pageLoadDuration.label": "ページ読み込み時間", - "xpack.apm.rum.dashboard.pageLoadTime.label": "ページ読み込み時間 (秒) ", - "xpack.apm.rum.dashboard.pageLoadTimes.label": "ページ読み込み時間", - "xpack.apm.rum.dashboard.pagesLoaded.label": "ページが読み込まれました", - "xpack.apm.rum.dashboard.pageViews": "合計ページビュー", - "xpack.apm.rum.dashboard.resetZoom.label": "ズームをリセット", - "xpack.apm.rum.dashboard.tooltips.backEnd": "バックエンド時間は、最初の 1 バイトを受信するまでの時間 (TTFB) です。これは、要求が実行された後、最初の応答パケットが受信された時点です。", - "xpack.apm.rum.dashboard.tooltips.frontEnd": "フロントエンド時間は、合計ページ読み込み時間からバックエンド時間を減算した時間です。", - "xpack.apm.rum.dashboard.tooltips.totalPageLoad": "合計はすべてのページ読み込み時間です。", - "xpack.apm.rum.dashboard.totalPageLoad": "合計", - "xpack.apm.rum.filterGroup.breakdown": "内訳", - "xpack.apm.rum.filterGroup.coreWebVitals": "コアWebバイタル", - "xpack.apm.rum.filterGroup.seconds": "秒", - "xpack.apm.rum.filterGroup.selectBreakdown": "内訳を選択", - "xpack.apm.rum.filters.filterByUrl": "IDでフィルタリング", - "xpack.apm.rum.filters.searchResults": "{total}件の検索結果", - "xpack.apm.rum.filters.select": "選択してください", - "xpack.apm.rum.filters.topPages": "上位のページ", - "xpack.apm.rum.filters.url": "Url", - "xpack.apm.rum.filters.url.loadingResults": "結果を読み込み中", - "xpack.apm.rum.filters.url.noResults": "結果がありません", - "xpack.apm.rum.jsErrors.errorMessage": "エラーメッセージ", - "xpack.apm.rum.jsErrors.errorRate": "エラー率", - "xpack.apm.rum.jsErrors.impactedPageLoads": "影響を受けるページ読み込み数", - "xpack.apm.rum.jsErrors.totalErrors": "合計エラー数", - "xpack.apm.rum.uxMetrics.longestLongTasks": "最長タスク時間", - "xpack.apm.rum.uxMetrics.longestLongTasksTooltip": "最も長いタスクの時間。長いタスクは、UI スレッドを長時間 (50 ミリ秒以上) 独占し、他の重要なタスク (フレームレートや入力レイテンシ) の実行を妨害するユーザーアクティビティまたはブラウザータスクとして定義されます。", - "xpack.apm.rum.uxMetrics.noOfLongTasks": "時間がかかるタスク数", - "xpack.apm.rum.uxMetrics.noOfLongTasksTooltip": "長いタスクの数。長いタスクは、UI スレッドを長時間 (50 ミリ秒以上) 独占し、他の重要なタスク (フレームレートや入力レイテンシ) の実行を妨害するユーザーアクティビティまたはブラウザータスクとして定義されます。", - "xpack.apm.rum.uxMetrics.sumLongTasks": "時間がかかるタスクの合計時間", - "xpack.apm.rum.uxMetrics.sumLongTasksTooltip": "長いタスクの合計時間。長いタスクは、UI スレッドを長時間 (50 ミリ秒以上) 独占し、他の重要なタスク (フレームレートや入力レイテンシ) の実行を妨害するユーザーアクティビティまたはブラウザータスクとして定義されます。", - "xpack.apm.rum.visitorBreakdown": "アクセスユーザー内訳", - "xpack.apm.rum.visitorBreakdown.browser": "ブラウザー", - "xpack.apm.rum.visitorBreakdown.operatingSystem": "オペレーティングシステム", - "xpack.apm.rum.visitorBreakdownMap.avgPageLoadDuration": "平均ページ読み込み時間", - "xpack.apm.rum.visitorBreakdownMap.pageLoadDurationByRegion": "地域別ページ読み込み時間 (平均) ", - "xpack.apm.searchInput.filter": "フィルター...", - "xpack.apm.selectPlaceholder": "オプションを選択:", - "xpack.apm.serviceDetails.errorsTabLabel": "エラー", - "xpack.apm.serviceDetails.metrics.cpuUsageChartTitle": "CPU 使用状況", - "xpack.apm.serviceDetails.metrics.errorOccurrencesChart.title": "エラーのオカレンス", - "xpack.apm.serviceDetails.metrics.errorsList.title": "エラー", - "xpack.apm.serviceDetails.metrics.memoryUsageChartTitle": "システムメモリー使用状況", - "xpack.apm.serviceDetails.metricsTabLabel": "メトリック", - "xpack.apm.serviceDetails.nodesTabLabel": "JVM", - "xpack.apm.serviceDetails.overviewTabLabel": "概要", - "xpack.apm.serviceDetails.profilingTabExperimentalDescription": "プロファイリングは実験的機能であり、内部利用専用です。", - "xpack.apm.serviceDetails.profilingTabExperimentalLabel": "実験的", - "xpack.apm.serviceDetails.profilingTabLabel": "プロファイリング", - "xpack.apm.serviceDetails.transactionsTabLabel": "トランザクション", - "xpack.apm.serviceHealthStatus.critical": "重大", - "xpack.apm.serviceHealthStatus.healthy": "正常", - "xpack.apm.serviceHealthStatus.unknown": "不明", - "xpack.apm.serviceHealthStatus.warning": "警告", - "xpack.apm.serviceIcons.cloud": "クラウド", - "xpack.apm.serviceIcons.container": "コンテナー", - "xpack.apm.serviceIcons.service": "サービス", - "xpack.apm.serviceIcons.serviceDetails.cloud.availabilityZoneLabel": "{zones, plural, =other {可用性ゾーン}} ", - "xpack.apm.serviceIcons.serviceDetails.cloud.machineTypesLabel": "{machineTypes, plural, =other {コンピュータータイプ}} ", - "xpack.apm.serviceIcons.serviceDetails.cloud.projectIdLabel": "プロジェクト ID", - "xpack.apm.serviceIcons.serviceDetails.cloud.providerLabel": "クラウドプロバイダー", - "xpack.apm.serviceIcons.serviceDetails.container.containerizedLabel": "コンテナー化", - "xpack.apm.serviceIcons.serviceDetails.container.noLabel": "いいえ", - "xpack.apm.serviceIcons.serviceDetails.container.orchestrationLabel": "オーケストレーション", - "xpack.apm.serviceIcons.serviceDetails.container.osLabel": "OS", - "xpack.apm.serviceIcons.serviceDetails.container.totalNumberInstancesLabel": "インスタンスの合計数", - "xpack.apm.serviceIcons.serviceDetails.container.yesLabel": "はい", - "xpack.apm.serviceIcons.serviceDetails.service.agentLabel": "エージェント名・バージョン", - "xpack.apm.serviceIcons.serviceDetails.service.frameworkLabel": "フレームワーク名", - "xpack.apm.serviceIcons.serviceDetails.service.runtimeLabel": "ランタイム名・バージョン", - "xpack.apm.serviceIcons.serviceDetails.service.versionLabel": "サービスバージョン", - "xpack.apm.serviceInventory.mlNudgeMessageTitle": "異常検知を有効にして、正常性ステータスインジケーターをサービスに追加します", - "xpack.apm.serviceInventory.toastText": "現在 Elastic Stack 7.0+ を実行中で、以前のバージョン 6.x からの互換性のないデータを検知しました。このデータを APM で表示するには、移行が必要です。詳細 ", - "xpack.apm.serviceInventory.toastTitle": "選択された時間範囲内にレガシーデータが検知されました。", - "xpack.apm.serviceInventory.upgradeAssistantLinkText": "アップグレードアシスタント", - "xpack.apm.serviceMap.anomalyDetectionPopoverDisabled": "APM 設定で異常検知を有効にすると、サービス正常性インジケーターが表示されます。", - "xpack.apm.serviceMap.anomalyDetectionPopoverLink": "異常を表示", - "xpack.apm.serviceMap.anomalyDetectionPopoverNoData": "選択した時間範囲で、異常スコアを検出できませんでした。異常エクスプローラーで詳細を確認してください。", - "xpack.apm.serviceMap.anomalyDetectionPopoverScoreMetric": "スコア (最大) ", - "xpack.apm.serviceMap.anomalyDetectionPopoverTitle": "異常検知", - "xpack.apm.serviceMap.anomalyDetectionPopoverTooltip": "サービス正常性インジケーターは、機械学習の異常検知に基づいています。", - "xpack.apm.serviceMap.avgCpuUsagePopoverStat": "CPU使用状況 (平均) ", - "xpack.apm.serviceMap.avgMemoryUsagePopoverStat": "メモリー使用状況 (平均) ", - "xpack.apm.serviceMap.avgReqPerMinutePopoverMetric": "スループット (平均) ", - "xpack.apm.serviceMap.avgTransDurationPopoverStat": "レイテンシ (平均) ", - "xpack.apm.serviceMap.center": "中央", - "xpack.apm.serviceMap.download": "ダウンロード", - "xpack.apm.serviceMap.emptyBanner.docsLink": "詳細はドキュメントをご覧ください", - "xpack.apm.serviceMap.emptyBanner.message": "接続されているサービスや外部リクエストを検出できる場合、システムはそれらをマップします。最新版の APM エージェントが動作していることを確認してください。", - "xpack.apm.serviceMap.emptyBanner.title": "単一のサービスしかないようです。", - "xpack.apm.serviceMap.errorRatePopoverStat": "トランザクションエラー率 (平均) ", - "xpack.apm.serviceMap.focusMapButtonText": "焦点マップ", - "xpack.apm.serviceMap.invalidLicenseMessage": "サービスマップを利用するには、Elastic Platinum ライセンスが必要です。これにより、APM データとともにアプリケーションスタックすべてを可視化することができるようになります。", - "xpack.apm.serviceMap.noServicesPromptDescription": "現在選択されている時間範囲と環境内では、マッピングするサービスが見つかりません。別の範囲を試すか、選択した環境を確認してください。サービスがない場合は、セットアップ手順に従って開始してください。", - "xpack.apm.serviceMap.noServicesPromptTitle": "サービスが利用できません", - "xpack.apm.serviceMap.resourceCountLabel": "{count}個のリソース", - "xpack.apm.serviceMap.serviceDetailsButtonText": "サービス詳細", - "xpack.apm.serviceMap.subtypePopoverStat": "サブタイプ", - "xpack.apm.serviceMap.timeoutPrompt.docsLink": "APM 設定の詳細については、ドキュメントを参照してください", - "xpack.apm.serviceMap.timeoutPromptDescription": "サービスマップのデータの取得中にタイムアウトしました。時間範囲を狭めて範囲を制限するか、小さい値で構成設定「{configName}」を使用してください。", - "xpack.apm.serviceMap.timeoutPromptTitle": "サービスマップタイムアウト", - "xpack.apm.serviceMap.typePopoverStat": "型", - "xpack.apm.serviceMap.viewFullMap": "サービスの全体マップを表示", - "xpack.apm.serviceMap.zoomIn": "ズームイン", - "xpack.apm.serviceMap.zoomOut": "ズームアウト", - "xpack.apm.serviceNodeMetrics.containerId": "コンテナー ID", - "xpack.apm.serviceNodeMetrics.host": "ホスト", - "xpack.apm.serviceNodeMetrics.serviceName": "サービス名", - "xpack.apm.serviceNodeMetrics.unidentifiedServiceNodesWarningDocumentationLink": "APM Server のドキュメンテーション", - "xpack.apm.serviceNodeMetrics.unidentifiedServiceNodesWarningText": "これらのメトリックが所属する JVM を特定できませんでした。7.5 よりも古い APM Server を実行していることが原因である可能性が高いです。この問題は APM Server 7.5 以降にアップグレードすることで解決されます。アップグレードに関する詳細は、{link} をご覧ください。代わりに Kibana クエリバーを使ってホスト名、コンテナー ID、またはその他フィールドでフィルタリングすることもできます。", - "xpack.apm.serviceNodeMetrics.unidentifiedServiceNodesWarningTitle": "JVM を特定できませんでした", - "xpack.apm.serviceNodeNameMissing": " (空) ", - "xpack.apm.serviceOveriew.errorsTableOccurrences": "{occurrencesCount} occ.", - "xpack.apm.serviceOverview.dependenciesTableTitle": "依存関係", - "xpack.apm.serviceOverview.errorsTableColumnLastSeen": "前回の認識", - "xpack.apm.serviceOverview.errorsTableColumnName": "名前", - "xpack.apm.serviceOverview.errorsTableColumnOccurrences": "オカレンス", - "xpack.apm.serviceOverview.errorsTableLinkText": "エラーを表示", - "xpack.apm.serviceOverview.errorsTableTitle": "エラー", - "xpack.apm.serviceOverview.instancesTable.actionMenus.container.subtitle": "このコンテナーのログとインデックスを表示し、さらに詳細を確認できます。", - "xpack.apm.serviceOverview.instancesTable.actionMenus.container.title": "コンテナーの詳細", - "xpack.apm.serviceOverview.instancesTable.actionMenus.containerLogs": "コンテナーログ", - "xpack.apm.serviceOverview.instancesTable.actionMenus.containerMetrics": "コンテナーメトリック", - "xpack.apm.serviceOverview.instancesTable.actionMenus.filterByInstance": "インスタンスで概要をフィルタリング", - "xpack.apm.serviceOverview.instancesTable.actionMenus.metrics": "メトリック", - "xpack.apm.serviceOverview.instancesTable.actionMenus.pod.subtitle": "このポッドのログとメトリックを表示し、さらに詳細を確認できます。", - "xpack.apm.serviceOverview.instancesTable.actionMenus.pod.title": "ポッドの詳細", - "xpack.apm.serviceOverview.instancesTable.actionMenus.podLogs": "ポッドログ", - "xpack.apm.serviceOverview.instancesTable.actionMenus.podMetrics": "ポッドメトリック", - "xpack.apm.serviceOverview.instancesTableColumnCpuUsage": "CPU使用状況 (平均) ", - "xpack.apm.serviceOverview.instancesTableColumnErrorRate": "エラー率", - "xpack.apm.serviceOverview.instancesTableColumnMemoryUsage": "メモリー使用状況 (平均) ", - "xpack.apm.serviceOverview.instancesTableColumnNodeName": "ノード名", - "xpack.apm.serviceOverview.instancesTableColumnThroughput": "スループット", - "xpack.apm.serviceOverview.instancesTableTitle": "インスタンス", - "xpack.apm.serviceOverview.instanceTable.details.cloudTitle": "クラウド", - "xpack.apm.serviceOverview.instanceTable.details.containerTitle": "コンテナー", - "xpack.apm.serviceOverview.instanceTable.details.serviceTitle": "サービス", - "xpack.apm.serviceOverview.latencyChartTitle": "レイテンシ", - "xpack.apm.serviceOverview.latencyChartTitle.prepend": "メトリック", - "xpack.apm.serviceOverview.latencyChartTitle.previousPeriodLabel": "前の期間", - "xpack.apm.serviceOverview.latencyColumnAvgLabel": "レイテンシ (平均) ", - "xpack.apm.serviceOverview.latencyColumnDefaultLabel": "レイテンシ", - "xpack.apm.serviceOverview.latencyColumnP95Label": "レイテンシ (95 番目) ", - "xpack.apm.serviceOverview.latencyColumnP99Label": "レイテンシ (99 番目) ", - "xpack.apm.serviceOverview.mlNudgeMessage.content": "APM の異常検知統合で、異常なトランザクションを特定し、アップストリームおよびダウンストリームサービスの正常性を確認します。わずか数分で開始できます。", - "xpack.apm.serviceOverview.mlNudgeMessage.dismissButton": "閉じる", - "xpack.apm.serviceOverview.mlNudgeMessage.learnMoreButton": "使ってみる", - "xpack.apm.serviceOverview.throughtputChart.previousPeriodLabel": "前の期間", - "xpack.apm.serviceOverview.throughtputChartTitle": "スループット", - "xpack.apm.serviceOverview.transactionsTableColumnErrorRate": "エラー率", - "xpack.apm.serviceOverview.transactionsTableColumnImpact": "インパクト", - "xpack.apm.serviceOverview.transactionsTableColumnName": "名前", - "xpack.apm.serviceOverview.transactionsTableColumnThroughput": "スループット", - "xpack.apm.serviceProfiling.valueTypeLabel.allocObjects": "Alloc. objects", - "xpack.apm.serviceProfiling.valueTypeLabel.allocSpace": "Alloc. space", - "xpack.apm.serviceProfiling.valueTypeLabel.cpuTime": "On-CPU", - "xpack.apm.serviceProfiling.valueTypeLabel.inuseObjects": "使用中のオブジェクト", - "xpack.apm.serviceProfiling.valueTypeLabel.inuseSpace": "使用中のスペース", - "xpack.apm.serviceProfiling.valueTypeLabel.samples": "サンプル", - "xpack.apm.serviceProfiling.valueTypeLabel.unknown": "その他", - "xpack.apm.serviceProfiling.valueTypeLabel.wallTime": "Wall", - "xpack.apm.servicesTable.7xOldDataMessage": "また、移行が必要な古いデータがある可能性もあります。", - "xpack.apm.servicesTable.7xUpgradeServerMessage": "バージョン7.xより前からのアップグレードですか?また、\n APM Server インスタンスを7.0以降にアップグレードしていることも確認してください。", - "xpack.apm.servicesTable.environmentColumnLabel": "環境", - "xpack.apm.servicesTable.healthColumnLabel": "ヘルス", - "xpack.apm.servicesTable.latencyAvgColumnLabel": "レイテンシ (平均) ", - "xpack.apm.servicesTable.metricsExplanationLabel": "これらのメトリックは何か。", - "xpack.apm.servicesTable.nameColumnLabel": "名前", - "xpack.apm.servicesTable.noServicesLabel": "APM サービスがインストールされていないようです。追加しましょう!", - "xpack.apm.servicesTable.notFoundLabel": "サービスが見つかりません", - "xpack.apm.servicesTable.throughputColumnLabel": "スループット", - "xpack.apm.servicesTable.tooltip.metricsExplanation": "サービスメトリックは、トランザクションタイプ「要求」、「ページ読み込み」、または上位の使用可能なトランザクションタイプのいずれかで集計されます。", - "xpack.apm.servicesTable.transactionColumnLabel": "トランザクションタイプ", - "xpack.apm.servicesTable.transactionErrorRate": "エラー率%", - "xpack.apm.servicesTable.UpgradeAssistantLink": "Kibana アップグレードアシスタントで詳細をご覧ください", - "xpack.apm.settings.agentConfig": "エージェントの編集", - "xpack.apm.settings.agentConfig.createConfigButton.tooltip": "エージェント構成を作成する権限がありません", - "xpack.apm.settings.agentConfig.descriptionText": "APMアプリ内からエージェント構成を微調整してください。変更はAPMエージェントに自動的に伝達されるので、再デプロイする必要はありません。", - "xpack.apm.settings.anomaly_detection.legacy_jobs.body": "以前の統合のレガシー機械学習ジョブが見つかりました。これは、APMアプリでは使用されていません。", - "xpack.apm.settings.anomaly_detection.legacy_jobs.button": "ジョブの確認", - "xpack.apm.settings.anomaly_detection.legacy_jobs.title": "レガシーMLジョブはAPMアプリで使用されていません。", - "xpack.apm.settings.anomalyDetection": "異常検知", - "xpack.apm.settings.anomalyDetection.addEnvironments.cancelButtonText": "キャンセル", - "xpack.apm.settings.anomalyDetection.addEnvironments.createJobsButtonText": "ジョブの作成", - "xpack.apm.settings.anomalyDetection.addEnvironments.descriptionText": "異常検知を有効にするサービス環境を選択してください。異常は選択した環境内のすべてのサービスとトランザクションタイプで表面化します。", - "xpack.apm.settings.anomalyDetection.addEnvironments.selectorLabel": "環境", - "xpack.apm.settings.anomalyDetection.addEnvironments.selectorPlaceholder": "環境を選択または追加", - "xpack.apm.settings.anomalyDetection.addEnvironments.titleText": "環境を選択", - "xpack.apm.settings.anomalyDetection.jobList.actionColumnLabel": "アクション", - "xpack.apm.settings.anomalyDetection.jobList.addEnvironments": "MLジョブを作成", - "xpack.apm.settings.anomalyDetection.jobList.emptyListText": "異常検知ジョブがありません。", - "xpack.apm.settings.anomalyDetection.jobList.environmentColumnLabel": "環境", - "xpack.apm.settings.anomalyDetection.jobList.environments": "環境", - "xpack.apm.settings.anomalyDetection.jobList.failedFetchText": "異常検知ジョブを取得できません。", - "xpack.apm.settings.anomalyDetection.jobList.mlDescriptionText": "異常検知を新しい環境に追加するには、機械学習ジョブを作成します。既存の機械学習ジョブは、{mlJobsLink}で管理できます。", - "xpack.apm.settings.anomalyDetection.jobList.mlDescriptionText.mlJobsLinkText": "機械学習", - "xpack.apm.settings.anomalyDetection.jobList.mlJobLinkText": "MLでジョブを表示", - "xpack.apm.settings.apmIndices.applyButton": "変更を適用", - "xpack.apm.settings.apmIndices.applyChanges.failed.text": "インデックスの適用時に何か問題が発生しました。エラー:{errorMessage}", - "xpack.apm.settings.apmIndices.applyChanges.failed.title": "インデックスが適用できませんでした。", - "xpack.apm.settings.apmIndices.applyChanges.succeeded.text": "インデックスの変更の適用に成功しました。これらの変更は、APM UIで直ちに反映されます。", - "xpack.apm.settings.apmIndices.applyChanges.succeeded.title": "適用されるインデックス", - "xpack.apm.settings.apmIndices.cancelButton": "キャンセル", - "xpack.apm.settings.apmIndices.description": "APM UI は、APM インデックスをクエリするためにインデックスパターンを使用しています。APM Server がイベントを書き込むインデックス名をカスタマイズした場合、APM UI が機能するにはこれらパターンをアップデートする必要がある場合があります。ここの設定は、 kibana.yml で設定されたものよりも優先します。", - "xpack.apm.settings.apmIndices.errorIndicesLabel": "エラーインデックス", - "xpack.apm.settings.apmIndices.helpText": "上書き {configurationName}: {defaultValue}", - "xpack.apm.settings.apmIndices.metricsIndicesLabel": "メトリックインデックス", - "xpack.apm.settings.apmIndices.noPermissionTooltipLabel": "ユーザーロールには、APMインデックスを変更する権限がありません", - "xpack.apm.settings.apmIndices.onboardingIndicesLabel": "オンボーディングインデックス", - "xpack.apm.settings.apmIndices.sourcemapIndicesLabel": "ソースマップインデックス", - "xpack.apm.settings.apmIndices.spanIndicesLabel": "スパンインデックス", - "xpack.apm.settings.apmIndices.title": "インデックス", - "xpack.apm.settings.apmIndices.transactionIndicesLabel": "トランザクションインデックス", - "xpack.apm.settings.createApmPackagePolicy.errorToast.title": "クラウドエージェントポリシーでAPMパッケージポリシーを作成できません", - "xpack.apm.settings.customizeApp": "アプリをカスタマイズ", - "xpack.apm.settings.customizeUI.customLink": "カスタムリンク", - "xpack.apm.settings.customizeUI.customLink.create.failed": "リンクを保存できませんでした!", - "xpack.apm.settings.customizeUI.customLink.create.failed.message": "リンクを保存するときに問題が発生しました。エラー:「{errorMessage}」", - "xpack.apm.settings.customizeUI.customLink.create.successed": "リンクを保存しました。", - "xpack.apm.settings.customizeUI.customLink.createCustomLink": "カスタムリンクを作成", - "xpack.apm.settings.customizeUI.customLink.default.label": "Elastic.co", - "xpack.apm.settings.customizeUI.customLink.default.url": "https://www.elastic.co", - "xpack.apm.settings.customizeUI.customLink.delete": "削除", - "xpack.apm.settings.customizeUI.customLink.delete.failed": "カスタムリンクを削除できませんでした", - "xpack.apm.settings.customizeUI.customLink.delete.successed": "カスタムリンクを削除しました。", - "xpack.apm.settings.customizeUI.customLink.emptyPromptText": "変更しましょう。サービスごとのトランザクションの詳細でアクションコンテキストメニューにカスタムリンクを追加できます。自社のサポートポータルへの役立つリンクを作成するか、新しい不具合レポートを発行します。詳細はドキュメントをご覧ください。", - "xpack.apm.settings.customizeUI.customLink.emptyPromptTitle": "リンクが見つかりません。", - "xpack.apm.settings.customizeUI.customLink.flyout.action.title": "リンク", - "xpack.apm.settings.customizeUI.customLink.flyout.close": "閉じる", - "xpack.apm.settings.customizeUI.customLink.flyout.filters.addAnotherFilter": "別のフィルターを追加", - "xpack.apm.settings.customizeUI.customLink.flyOut.filters.defaultOption": "フィールドを選択してください...", - "xpack.apm.settings.customizeUI.customLink.flyOut.filters.defaultOption.value": "値", - "xpack.apm.settings.customizeUI.customLink.flyout.filters.prepend": "フィールド", - "xpack.apm.settings.customizeUI.customLink.flyout.filters.subtitle": "フィルターオプションを使用すると、特定のサービスについてのみ表示されるようにスコープを設定できます。", - "xpack.apm.settings.customizeUI.customLink.flyout.filters.title": "フィルター", - "xpack.apm.settings.customizeUI.customLink.flyout.label": "リンクは APM アプリ全体にわたるトランザクション詳細のコンテキストで利用できるようになります。作成できるリンクの数は無制限です。トランザクションメタデータのいずれかを使用することで、動的変数を参照して URL を入力できます。さらなる詳細および例がドキュメンテーションに記載されています", - "xpack.apm.settings.customizeUI.customLink.flyout.label.doc": "ドキュメンテーション", - "xpack.apm.settings.customizeUI.customLink.flyout.link.label": "ラベル", - "xpack.apm.settings.customizeUI.customLink.flyout.link.label.helpText": "これはアクションコンテキストメニューに表示されるラベルです。できるだけ短くしてください。", - "xpack.apm.settings.customizeUI.customLink.flyout.link.label.placeholder": "例:サポートチケット", - "xpack.apm.settings.customizeUI.customLink.flyout.link.url": "URL", - "xpack.apm.settings.customizeUI.customLink.flyout.link.url.doc": "詳細はドキュメントをご覧ください。", - "xpack.apm.settings.customizeUI.customLink.flyout.link.url.helpText": "URL にフィールド名変数 (例:{sample}) を追加すると値を適用できます。", - "xpack.apm.settings.customizeUI.customLink.flyout.link.url.placeholder": "例:https://www.elastic.co/", - "xpack.apm.settings.customizeUI.customLink.flyout.required": "必須", - "xpack.apm.settings.customizeUI.customLink.flyout.save": "保存", - "xpack.apm.settings.customizeUI.customLink.flyout.title": "リンクを作成", - "xpack.apm.settings.customizeUI.customLink.info": "これらのリンクは、トランザクション詳細などによって、アプリの選択した領域にあるアクションコンテキストメニューに表示されます。", - "xpack.apm.settings.customizeUI.customLink.license.text": "カスタムリンクを作成するには、Elastic Gold 以上のライセンスが必要です。適切なライセンスがあれば、カスタムリンクを作成してサービスを分析する際にワークフローを改良できます。", - "xpack.apm.settings.customizeUI.customLink.linkPreview.descrition": "上記のフィルターに基づき、サンプルトランザクションドキュメントの値でリンクをテストしてください。", - "xpack.apm.settings.customizeUI.customLink.noPermissionTooltipLabel": "ユーザーロールには、カスタムリンクを作成する権限がありません", - "xpack.apm.settings.customizeUI.customLink.preview.contextVariable.invalid": "無効な変数が定義されているため、サンプルトランザクションドキュメントが見つかりませんでした。", - "xpack.apm.settings.customizeUI.customLink.preview.contextVariable.noMatch": "{variables} に一致する値がサンプルトランザクションドキュメント内にありませんでした。", - "xpack.apm.settings.customizeUI.customLink.preview.transaction.notFound": "定義されたフィルターに基づき、一致するトランザクションドキュメントが見つかりませんでした。", - "xpack.apm.settings.customizeUI.customLink.previewSectionTitle": "プレビュー", - "xpack.apm.settings.customizeUI.customLink.searchInput.filter": "名前と URL でリンクをフィルタリング...", - "xpack.apm.settings.customizeUI.customLink.table.editButtonDescription": "このカスタムリンクを編集", - "xpack.apm.settings.customizeUI.customLink.table.editButtonLabel": "編集", - "xpack.apm.settings.customizeUI.customLink.table.lastUpdated": "最終更新", - "xpack.apm.settings.customizeUI.customLink.table.name": "名前", - "xpack.apm.settings.customizeUI.customLink.table.noResultFound": "\"{value}\"に対する結果が見つかりませんでした。", - "xpack.apm.settings.customizeUI.customLink.table.url": "URL", - "xpack.apm.settings.indices": "インデックス", - "xpack.apm.settings.schema": "スキーマ", - "xpack.apm.settings.schema.confirm.apmServerSettingsCloudLinkText": "クラウドでAPMサーバー設定に移動", - "xpack.apm.settings.schema.confirm.cancelText": "キャンセル", - "xpack.apm.settings.schema.confirm.checkboxLabel": "データストリームに切り替えることを確認する", - "xpack.apm.settings.schema.confirm.descriptionText": "現在、スタック監視はFleetで管理されたAPMではサポートされていません。", - "xpack.apm.settings.schema.confirm.irreversibleWarning.message": "移行中には一時的にAPMデータ収集に影響する可能性があります。移行プロセスは数分で完了します。", - "xpack.apm.settings.schema.confirm.irreversibleWarning.title": "データストリームへの切り替えは元に戻せません。", - "xpack.apm.settings.schema.confirm.switchButtonText": "データストリームに切り替える", - "xpack.apm.settings.schema.confirm.title": "選択内容を確認してください", - "xpack.apm.settings.schema.confirm.unsupportedConfigs.descriptionText": "互換性のあるカスタムapm-server.ymlユーザー設定がFleetサーバー設定に移動されます。削除する前に互換性のない設定について通知されます。", - "xpack.apm.settings.schema.confirm.unsupportedConfigs.title": "次のapm-server.ymlユーザー設定は互換性がないため削除されます", - "xpack.apm.settings.schema.descriptionText": "クラシックAPMインデックスから切り替え、新しいデータストリーム機能をすぐに活用するためのシンプルでシームレスなプロセスを構築しました。このアクションは{irreversibleEmphasis}。また、Fleetへのアクセス権が付与された{superuserEmphasis}のみが実行できます。{dataStreamsDocLink}の詳細を参照してください。", - "xpack.apm.settings.schema.descriptionText.dataStreamsDocLinkText": "データストリーム", - "xpack.apm.settings.schema.descriptionText.irreversibleEmphasisText": "元に戻せません", - "xpack.apm.settings.schema.descriptionText.superuserEmphasisText": "スーパーユーザー", - "xpack.apm.settings.schema.disabledReason": "データストリームへの切り替えを使用できません: {reasons}", - "xpack.apm.settings.schema.disabledReason.cloudApmMigrationEnabled": "クラウド移行が有効ではありません", - "xpack.apm.settings.schema.disabledReason.hasCloudAgentPolicy": "クラウドエージェントポリシーが存在しません", - "xpack.apm.settings.schema.disabledReason.hasRequiredRole": "ユーザーにはスーパーユーザーロールがありません", - "xpack.apm.settings.schema.migrate.classicIndices.currentSetup": "現在の設定", - "xpack.apm.settings.schema.migrate.classicIndices.description": "現在、データのクラシックAPMインデックスを使用しています。このデータスキーマは廃止予定であり、Elastic Stackバージョン8.0でデータストリームに置換されます。", - "xpack.apm.settings.schema.migrate.classicIndices.title": "クラシックAPMインデックス", - "xpack.apm.settings.schema.migrate.dataStreams.betaBadge.description": "データストリームへの切り替えはGAではありません。不具合が発生したら報告してください。", - "xpack.apm.settings.schema.migrate.dataStreams.betaBadge.label": "ベータ", - "xpack.apm.settings.schema.migrate.dataStreams.betaBadge.title": "データストリーム", - "xpack.apm.settings.schema.migrate.dataStreams.buttonText": "データストリームに切り替える", - "xpack.apm.settings.schema.migrate.dataStreams.description": "今後、新しく取り込まれたデータはすべてデータストリームに格納されます。以前に取り込まれたデータはクラシックAPMインデックスに残ります。APMおよびUXアプリは引き続き両方のインデックスをサポートします。", - "xpack.apm.settings.schema.migrate.dataStreams.title": "データストリーム", - "xpack.apm.settings.schema.success.description": "APM統合が設定されました。現在導入されているエージェントからデータを受信できます。統合に適用されたポリシーは自由に確認できます。", - "xpack.apm.settings.schema.success.returnText": "あるいは、{serviceInventoryLink}に戻ることができます。", - "xpack.apm.settings.schema.success.returnText.serviceInventoryLink": "サービスインベントリ", - "xpack.apm.settings.schema.success.title": "データストリームが正常に設定されました。", - "xpack.apm.settings.schema.success.viewIntegrationInFleet.buttonText": "FleetでAPM統合を表示", - "xpack.apm.settings.title": "設定", - "xpack.apm.settings.unsupportedConfigs.errorToast.title": "APMサーバー設定を取り込めません", - "xpack.apm.settingsLinkLabel": "設定", - "xpack.apm.setupInstructionsButtonLabel": "セットアップの手順", - "xpack.apm.significanTerms.license.text": "相関関係APIを使用するには、Elastic Platinumライセンスのサブスクリプションが必要です。", - "xpack.apm.stacktraceTab.causedByFramesToogleButtonLabel": "作成元", - "xpack.apm.stacktraceTab.localVariablesToogleButtonLabel": "ローカル変数", - "xpack.apm.stacktraceTab.noStacktraceAvailableLabel": "利用可能なスタックトレースがありません。", - "xpack.apm.timeComparison.label": "比較", - "xpack.apm.timeComparison.select.dayBefore": "前の日", - "xpack.apm.timeComparison.select.weekBefore": "前の週", - "xpack.apm.toggleHeight.showLessButtonLabel": "表示する行数を減らす", - "xpack.apm.toggleHeight.showMoreButtonLabel": "表示する行数を増やす", - "xpack.apm.tracesTable.avgResponseTimeColumnLabel": "レイテンシ (平均) ", - "xpack.apm.tracesTable.impactColumnDescription": "ご利用のサービスで最も頻繁に使用されていて、最も遅いエンドポイントです。レイテンシとスループットを乗算した結果です", - "xpack.apm.tracesTable.impactColumnLabel": "インパクト", - "xpack.apm.tracesTable.nameColumnLabel": "名前", - "xpack.apm.tracesTable.notFoundLabel": "このクエリのトレースが見つかりません", - "xpack.apm.tracesTable.originatingServiceColumnLabel": "発生元サービス", - "xpack.apm.tracesTable.tracesPerMinuteColumnLabel": "1 分あたりのトレース", - "xpack.apm.transactionActionMenu.actionsButtonLabel": "調査", - "xpack.apm.transactionActionMenu.container.subtitle": "このコンテナーのログとインデックスを表示し、さらに詳細を確認できます。", - "xpack.apm.transactionActionMenu.container.title": "コンテナーの詳細", - "xpack.apm.transactionActionMenu.customLink.section": "カスタムリンク", - "xpack.apm.transactionActionMenu.customLink.showAll": "すべて表示", - "xpack.apm.transactionActionMenu.customLink.showFewer": "簡易表示", - "xpack.apm.transactionActionMenu.customLink.subtitle": "リンクは新しいウィンドウで開きます。", - "xpack.apm.transactionActionMenu.host.subtitle": "ホストログとメトリックを表示し、さらに詳細を確認できます。", - "xpack.apm.transactionActionMenu.host.title": "ホストの詳細", - "xpack.apm.transactionActionMenu.pod.subtitle": "このポッドのログとメトリックを表示し、さらに詳細を確認できます。", - "xpack.apm.transactionActionMenu.pod.title": "ポッドの詳細", - "xpack.apm.transactionActionMenu.showContainerLogsLinkLabel": "コンテナーログ", - "xpack.apm.transactionActionMenu.showContainerMetricsLinkLabel": "コンテナーメトリック", - "xpack.apm.transactionActionMenu.showHostLogsLinkLabel": "ホストログ", - "xpack.apm.transactionActionMenu.showHostMetricsLinkLabel": "ホストメトリック", - "xpack.apm.transactionActionMenu.showPodLogsLinkLabel": "ポッドログ", - "xpack.apm.transactionActionMenu.showPodMetricsLinkLabel": "ポッドメトリック", - "xpack.apm.transactionActionMenu.showTraceLogsLinkLabel": "トレースログ", - "xpack.apm.transactionActionMenu.status.subtitle": "ステータスを表示し、さらに詳細を確認できます。", - "xpack.apm.transactionActionMenu.status.title": "ステータスの詳細", - "xpack.apm.transactionActionMenu.trace.subtitle": "トレースログを表示し、さらに詳細を確認できます。", - "xpack.apm.transactionActionMenu.trace.title": "トレースの詳細", - "xpack.apm.transactionActionMenu.viewInUptime": "ステータス", - "xpack.apm.transactionActionMenu.viewSampleDocumentLinkLabel": "サンプルドキュメントを表示", - "xpack.apm.transactionBreakdown.chartTitle": "スパンタイプ別時間", - "xpack.apm.transactionDetails.noTraceParentButtonTooltip": "トレースの親が見つかりませんでした", - "xpack.apm.transactionDetails.percentOfTraceLabelExplanation": "{parentType, select, transaction {トランザクション} trace {トレース} }の割合が100%を超えています。これは、この{childType, select, span {スパン} transaction {トランザクション} }がルートトランザクションよりも時間がかかるためです。", - "xpack.apm.transactionDetails.requestMethodLabel": "リクエストメソッド", - "xpack.apm.transactionDetails.resultLabel": "結果", - "xpack.apm.transactionDetails.serviceLabel": "サービス", - "xpack.apm.transactionDetails.servicesTitle": "サービス", - "xpack.apm.transactionDetails.spanFlyout.databaseStatementTitle": "データベースステートメント", - "xpack.apm.transactionDetails.spanFlyout.nameLabel": "名前", - "xpack.apm.transactionDetails.spanFlyout.spanAction": "アクション", - "xpack.apm.transactionDetails.spanFlyout.spanDetailsTitle": "スパン詳細", - "xpack.apm.transactionDetails.spanFlyout.spanSubtype": "サブタイプ", - "xpack.apm.transactionDetails.spanFlyout.spanType": "型", - "xpack.apm.transactionDetails.spanFlyout.spanType.navigationTimingLabel": "ナビゲーションタイミング", - "xpack.apm.transactionDetails.spanFlyout.stackTraceTabLabel": "スタックトレース", - "xpack.apm.transactionDetails.spanFlyout.viewSpanInDiscoverButtonLabel": "Discover でスパンを表示", - "xpack.apm.transactionDetails.spanTypeLegendTitle": "型", - "xpack.apm.transactionDetails.statusCode": "ステータスコード", - "xpack.apm.transactionDetails.syncBadgeAsync": "非同期", - "xpack.apm.transactionDetails.syncBadgeBlocking": "ブロック", - "xpack.apm.transactionDetails.traceNotFound": "選択されたトレースが見つかりません", - "xpack.apm.transactionDetails.traceSampleTitle": "トレースのサンプル", - "xpack.apm.transactionDetails.transactionLabel": "トランザクション", - "xpack.apm.transactionDetails.transFlyout.callout.agentDroppedSpansMessage": "このトランザクションを報告した APM エージェントが、構成に基づき {dropped} 個以上のスパンをドロップしました。", - "xpack.apm.transactionDetails.transFlyout.callout.learnMoreAboutDroppedSpansLinkText": "ドロップされたスパンの詳細。", - "xpack.apm.transactionDetails.transFlyout.transactionDetailsTitle": "トランザクションの詳細", - "xpack.apm.transactionDetails.userAgentAndVersionLabel": "ユーザーエージェントとバージョン", - "xpack.apm.transactionDetails.viewFullTraceButtonLabel": "完全なトレースを表示", - "xpack.apm.transactionDetails.viewingFullTraceButtonTooltip": "現在完全なトレースが表示されています", - "xpack.apm.transactionDurationAlert.aggregationType.95th": "95 パーセンタイル", - "xpack.apm.transactionDurationAlert.aggregationType.99th": "99 パーセンタイル", - "xpack.apm.transactionDurationAlert.aggregationType.avg": "平均", - "xpack.apm.transactionDurationAlert.name": "レイテンシしきい値", - "xpack.apm.transactionDurationAlertTrigger.ms": "ms", - "xpack.apm.transactionDurationAlertTrigger.when": "タイミング", - "xpack.apm.transactionDurationAnomalyAlert.name": "レイテンシ異常値", - "xpack.apm.transactionDurationAnomalyAlertTrigger.anomalySeverity": "異常と重要度があります", - "xpack.apm.transactionDurationLabel": "期間", - "xpack.apm.transactionErrorRateAlert.name": "トランザクションエラー率しきい値", - "xpack.apm.transactionErrorRateAlertTrigger.isAbove": "より大きい", - "xpack.apm.transactions.latency.chart.95thPercentileLabel": "95 パーセンタイル", - "xpack.apm.transactions.latency.chart.99thPercentileLabel": "99 パーセンタイル", - "xpack.apm.transactions.latency.chart.averageLabel": "平均", - "xpack.apm.tutorial.agent_config.choosePolicy.helper": "選択したポリシー構成を下のスニペットに追加します。", - "xpack.apm.tutorial.agent_config.choosePolicyLabel": "ポリシーを選択", - "xpack.apm.tutorial.agent_config.defaultStandaloneConfig": "デフォルトのダッシュボード構成", - "xpack.apm.tutorial.agent_config.fleetPoliciesLabel": "Fleetポリシー", - "xpack.apm.tutorial.agent_config.getStartedWithFleet": "Fleetの基本", - "xpack.apm.tutorial.agent_config.manageFleetPolicies": "Fleetポリシーの管理", - "xpack.apm.tutorial.apmAgents.statusCheck.btnLabel": "エージェントステータスを確認", - "xpack.apm.tutorial.apmAgents.statusCheck.errorMessage": "エージェントからまだデータを受け取っていません", - "xpack.apm.tutorial.apmAgents.statusCheck.successMessage": "1 つまたは複数のエージェントからデータを受け取りました", - "xpack.apm.tutorial.apmAgents.statusCheck.text": "アプリケーションが実行されていてエージェントがデータを送信していることを確認してください。", - "xpack.apm.tutorial.apmAgents.statusCheck.title": "エージェントステータス", - "xpack.apm.tutorial.apmAgents.title": "APM エージェント", - "xpack.apm.tutorial.apmServer.callOut.message": "ご使用の APM Server を 7.0 以上に更新してあることを確認してください。 Kibana の管理セクションにある移行アシスタントで 6.x データを移行することもできます。", - "xpack.apm.tutorial.apmServer.callOut.title": "重要:7.0 以上に更新中", - "xpack.apm.tutorial.apmServer.fleet.apmIntegration.button": "APM統合", - "xpack.apm.tutorial.apmServer.fleet.manageApmIntegration.button": "FleetでAPM統合を管理", - "xpack.apm.tutorial.apmServer.fleet.message": "APMA統合は、APMデータ用にElasticsearchテンプレートとIngest Nodeパイプラインをインストールします。", - "xpack.apm.tutorial.apmServer.fleet.title": "Elastic APM (ベータ版) がFleetで提供されました。", - "xpack.apm.tutorial.apmServer.statusCheck.btnLabel": "APM Server ステータスを確認", - "xpack.apm.tutorial.apmServer.statusCheck.errorMessage": "APM Server が検出されました。7.0 以上に更新され、動作中であることを確認してください。", - "xpack.apm.tutorial.apmServer.statusCheck.successMessage": "APM Server が正しくセットアップされました", - "xpack.apm.tutorial.apmServer.statusCheck.text": "APM エージェントの導入を開始する前に、APM Server が動作していることを確認してください。", - "xpack.apm.tutorial.apmServer.statusCheck.title": "APM Server ステータス", - "xpack.apm.tutorial.apmServer.title": "APM Server", - "xpack.apm.tutorial.copySnippet": "スニペットをコピー", - "xpack.apm.tutorial.djangoClient.configure.commands.addAgentComment": "インストールされたアプリにエージェントを追加します", - "xpack.apm.tutorial.djangoClient.configure.commands.addTracingMiddlewareComment": "パフォーマンスメトリックを送信するには、追跡ミドルウェアを追加します。", - "xpack.apm.tutorial.djangoClient.configure.commands.allowedCharactersComment": "a-z、A-Z、0-9、-、_、スペース", - "xpack.apm.tutorial.djangoClient.configure.commands.setCustomApmServerUrlComment": "カスタム APM Server URL (デフォルト:{defaultApmServerUrl}) を設定します", - "xpack.apm.tutorial.djangoClient.configure.commands.setRequiredServiceNameComment": "任意のサービス名を設定します。使用できる文字:", - "xpack.apm.tutorial.djangoClient.configure.commands.setServiceEnvironmentComment": "サービス環境を設定します", - "xpack.apm.tutorial.djangoClient.configure.commands.useIfApmServerRequiresTokenComment": "APM Server でシークレットトークンが必要な場合に使います", - "xpack.apm.tutorial.djangoClient.configure.textPost": "高度な用途に関しては [ドキュメンテーション] ({documentationLink}) をご覧ください。", - "xpack.apm.tutorial.djangoClient.configure.textPre": "エージェントとは、アプリケーションプロセス内で実行されるライブラリです。APM サービスは「SERVICE_NAME」に基づいてプログラムで作成されます。", - "xpack.apm.tutorial.djangoClient.configure.title": "エージェントの構成", - "xpack.apm.tutorial.djangoClient.install.textPre": "Python 用の APM エージェントを依存関係としてインストールします。", - "xpack.apm.tutorial.djangoClient.install.title": "APM エージェントのインストール", - "xpack.apm.tutorial.dotNetClient.configureAgent.textPost": "エージェントに「IConfiguration」インスタンスが渡されていない場合、 (例:非 ASP.NET Core アプリケーションの場合) 、エージェントを環境変数で構成することもできます。\n 高度な用途に関しては [ドキュメンテーション] ({documentationLink}) をご覧ください。", - "xpack.apm.tutorial.dotNetClient.configureAgent.title": "appsettings.json ファイルの例:", - "xpack.apm.tutorial.dotNetClient.configureApplication.textPost": "「IConfiguration」インスタンスを渡すのは任意であり、これにより、エージェントはこの「IConfiguration」インスタンス (例:「appsettings.json」ファイル) から構成を読み込みます。", - "xpack.apm.tutorial.dotNetClient.configureApplication.textPre": "「Elastic.Apm.NetCoreAll」パッケージの ASP.NET Core の場合、「Startup.cs」ファイル内の「Configure」メソドの「UseElasticApm」メソドを呼び出します。", - "xpack.apm.tutorial.dotNetClient.configureApplication.title": "エージェントをアプリケーションに追加", - "xpack.apm.tutorial.dotNetClient.download.textPre": "[NuGet] ({allNuGetPackagesLink}) から .NET アプリケーションにエージェントパッケージを追加してください。用途の異なる複数の NuGet パッケージがあります。\n\nEntity Framework Core の ASP.NET Core アプリケーションの場合は、[Elastic.Apm.NetCoreAll] ({netCoreAllApmPackageLink}) パッケージをダウンロードしてください。このパッケージは、自動的にすべてのエージェントコンポーネントをアプリケーションに追加します。\n\n 依存性を最低限に抑えたい場合、ASP.NET Coreの監視のみに[Elastic.Apm.AspNetCore] ({aspNetCorePackageLink}) パッケージ、またはEntity Framework Coreの監視のみに[Elastic.Apm.EfCore] ({efCorePackageLink}) パッケージを使用することができます。\n\n 手動インストルメンテーションのみにパブリック Agent API を使用する場合は、[Elastic.Apm] ({elasticApmPackageLink}) パッケージを使用してください。", - "xpack.apm.tutorial.dotNetClient.download.title": "APM エージェントのダウンロード", - "xpack.apm.tutorial.downloadServer.title": "APM Server をダウンロードして展開します", - "xpack.apm.tutorial.downloadServerRpm": "32 ビットパッケージをお探しですか?[ダウンロードページ] ({downloadPageLink}) をご覧ください。", - "xpack.apm.tutorial.downloadServerTitle": "32 ビットパッケージをお探しですか?[ダウンロードページ] ({downloadPageLink}) をご覧ください。", - "xpack.apm.tutorial.editConfig.textPre": "Elastic Stack の X-Pack セキュアバージョンをご使用の場合、「apm-server.yml」構成ファイルで認証情報を指定する必要があります。", - "xpack.apm.tutorial.editConfig.title": "構成を編集する", - "xpack.apm.tutorial.elasticCloudInstructions.title": "APM エージェント", - "xpack.apm.tutorial.flaskClient.configure.commands.allowedCharactersComment": "a-z、A-Z、0-9、-、_、スペース", - "xpack.apm.tutorial.flaskClient.configure.commands.configureElasticApmComment": "またはアプリケーションの設定で ELASTIC_APM を使用するよう構成します。", - "xpack.apm.tutorial.flaskClient.configure.commands.initializeUsingEnvironmentVariablesComment": "環境変数を使用して初期化します", - "xpack.apm.tutorial.flaskClient.configure.commands.setCustomApmServerUrlComment": "カスタム APM Server URL (デフォルト:{defaultApmServerUrl}) を設定します", - "xpack.apm.tutorial.flaskClient.configure.commands.setRequiredServiceNameComment": "任意のサービス名を設定します。使用できる文字:", - "xpack.apm.tutorial.flaskClient.configure.commands.setServiceEnvironmentComment": "サービス環境を設定します", - "xpack.apm.tutorial.flaskClient.configure.commands.useIfApmServerRequiresTokenComment": "APM Server でシークレットトークンが必要な場合に使います", - "xpack.apm.tutorial.flaskClient.configure.textPost": "高度な用途に関しては [ドキュメンテーション] ({documentationLink}) をご覧ください。", - "xpack.apm.tutorial.flaskClient.configure.textPre": "エージェントとは、アプリケーションプロセス内で実行されるライブラリです。APM サービスは「SERVICE_NAME」に基づいてプログラムで作成されます。", - "xpack.apm.tutorial.flaskClient.configure.title": "エージェントの構成", - "xpack.apm.tutorial.flaskClient.install.textPre": "Python 用の APM エージェントを依存関係としてインストールします。", - "xpack.apm.tutorial.flaskClient.install.title": "APM エージェントのインストール", - "xpack.apm.tutorial.goClient.configure.commands.initializeUsingEnvironmentVariablesComment": "環境変数を使用して初期化します:", - "xpack.apm.tutorial.goClient.configure.commands.setCustomApmServerUrlComment": "カスタム APM Server URL (デフォルト:{defaultApmServerUrl}) を設定します", - "xpack.apm.tutorial.goClient.configure.commands.setServiceEnvironment": "サービス環境を設定します", - "xpack.apm.tutorial.goClient.configure.commands.setServiceNameComment": "サービス名を設定します。使用できる文字は # a-z、A-Z、0-9、-、_、スペースです。", - "xpack.apm.tutorial.goClient.configure.commands.usedExecutableNameComment": "ELASTIC_APM_SERVICE_NAME が指定されていない場合、実行ファイルの名前が使用されます。", - "xpack.apm.tutorial.goClient.configure.commands.useIfApmRequiresTokenComment": "APM Server でシークレットトークンが必要な場合に使います", - "xpack.apm.tutorial.goClient.configure.textPost": "高度な構成に関しては [ドキュメンテーション] ({documentationLink}) をご覧ください。", - "xpack.apm.tutorial.goClient.configure.textPre": "エージェントとは、アプリケーションプロセス内で実行されるライブラリです。APM サービスは実行ファイル名または「ELASTIC_APM_SERVICE_NAME」環境変数に基づいてプログラムで作成されます。", - "xpack.apm.tutorial.goClient.configure.title": "エージェントの構成", - "xpack.apm.tutorial.goClient.install.textPre": "Go の APM エージェントパッケージをインストールします。", - "xpack.apm.tutorial.goClient.install.title": "APM エージェントのインストール", - "xpack.apm.tutorial.goClient.instrument.textPost": "Go のソースコードのインストルメンテーションの詳細ガイドは、[ドキュメンテーション] ({documentationLink}) をご覧ください。", - "xpack.apm.tutorial.goClient.instrument.textPre": "提供されたインストルメンテーションモジュールの 1 つ、またはトレーサー API を直接使用して、Go アプリケーションにインストルメンテーションを設定します。", - "xpack.apm.tutorial.goClient.instrument.title": "アプリケーションのインストルメンテーション", - "xpack.apm.tutorial.introduction": "アプリケーション内から詳細なパフォーマンスメトリックやエラーを収集します。", - "xpack.apm.tutorial.javaClient.download.textPre": "[Maven Central] ({mavenCentralLink}) からエージェントをダウンロードします。アプリケーションにエージェントを依存関係として「追加しない」でください。", - "xpack.apm.tutorial.javaClient.download.title": "APM エージェントのダウンロード", - "xpack.apm.tutorial.javaClient.startApplication.textPost": "構成オプションと高度な用途に関しては、[ドキュメンテーション] ({documentationLink}) をご覧ください。", - "xpack.apm.tutorial.javaClient.startApplication.textPre": "「-javaagent」フラグを追加し、システムプロパティを使用してエージェントを構成します。\n\n * 任意のサービス名を設定します (使用可能な文字は a-z、A-Z、0-9、-、_、スペースです) \n * カスタム APM Server URL (デフォルト:{customApmServerUrl}) を設定します\n * APM Server シークレットトークンを設定します\n * サービス環境を設定します\n * アプリケーションのベースパッケージを設定します", - "xpack.apm.tutorial.javaClient.startApplication.title": "javaagent フラグでアプリケーションを起動", - "xpack.apm.tutorial.jsClient.enableRealUserMonitoring.textPre": "デフォルトでは、APM Server を実行すると RUM サポートは無効になります。RUM サポートを有効にする手順については、[ドキュメンテーション] ({documentationLink}) をご覧ください。", - "xpack.apm.tutorial.jsClient.enableRealUserMonitoring.title": "APM Server のリアルユーザー監視サポートを有効にする", - "xpack.apm.tutorial.jsClient.installDependency.commands.setCustomApmServerUrlComment": "カスタム APM Server URL (デフォルト:{defaultApmServerUrl}) を設定します", - "xpack.apm.tutorial.jsClient.installDependency.commands.setRequiredServiceNameComment": "任意のサービス名を設定します (使用可能な文字は a-z、A-Z、0-9、-、_、スペースです) ", - "xpack.apm.tutorial.jsClient.installDependency.commands.setServiceEnvironmentComment": "サービス環境を設定します", - "xpack.apm.tutorial.jsClient.installDependency.commands.setServiceVersionComment": "サービスバージョンを設定します (ソースマップ機能に必要) ", - "xpack.apm.tutorial.jsClient.installDependency.textPost": "React や Angular などのフレームワーク統合には、カスタム依存関係があります。詳細は [統合ドキュメント] ({docLink}) をご覧ください。", - "xpack.apm.tutorial.jsClient.installDependency.textPre": "「npm install @elastic/apm-rum --save」でエージェントをアプリケーションへの依存関係としてインストールできます。\n\nその後で以下のようにアプリケーションでエージェントを初期化して構成できます。", - "xpack.apm.tutorial.jsClient.installDependency.title": "エージェントを依存関係としてセットアップ", - "xpack.apm.tutorial.jsClient.scriptTags.textPre": "または、スクリプトタグを使用してエージェントのセットアップと構成ができます。` を追加