No description
Find a file
Jean-Louis Leysens 651d0a9739
[Upgrade Assistant] Server-side batch reindexing (#58598)
* Added server side logic for handling batch reindex

* Remove literal string interpolation from translation

* Refactor return value of batch endpoint

"sucesses" does not communicate accurately what has happened.
"started" more closely reflects what has happened.

* First iteration of batch queues

* Single queue

Changed the batchqueues implementation to only using a single queue
 - since there is only one ES that it is interacting with.

Before continuing with this work, just making sure that these pre-
cautions are necessary!

* Clean up old batch queue implementation

* Slight refactor

* Revert batch queues implementation

* Introduction of QueueSettings

Queue settings can be set on a reindex operation and set a
timemstamp value on the reindex operation for the scheduler
to use down the line for ordering operations and running them
in series

* Updated worker logic to handle items in queue in series

* Refactor /batch endpoint response to "enqueued" not "started"

* Fixed jest tests

* Refactor worker refresh operations for readability

Created a new file op_utils where logic repsonsible for sorting
and ordering reindex operation saved objects is.

* Add batch API integration test

Also assert that reindexing is happening in the expected order

* Added a new endpoint: GET batch/queue

This allows users of the API to see what the current queue state
is for visibility. Using the queue endpoint int he API integration
tests for batch too.

* Reset the queuedAt timestamp on resume

If a reindexOperation is being resumed and put in a queue we
also need to reset the queuedAt timestamp to respect the new
batch queue ordering.

* Fix jest test

Added 'undefined' as the second optional param to
resumeIndexOperation call.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-06 10:18:21 +01:00
.ci Fix visual baseline job (#59348) 2020-03-05 13:01:42 -07:00
.github Revert "Temporarily disabling PR project mappings (#59485)" (#59491) 2020-03-05 17:23:48 -05:00
bin
common/graphql
config
data
docs [Reporting/Screenshots] Handle page setup errors and capture the page, don't fail the job (#58683) 2020-03-05 22:26:36 -07:00
examples Delete legacy search endpoint (#59341) 2020-03-05 11:49:28 +02:00
licenses
packages Upgrade EUI to v20.0.2 (#59199) 2020-03-05 12:27:52 -07:00
rfcs
scripts build immutable bundles for new platform plugins (#53976) 2020-02-12 19:42:42 -07:00
src [Search service] Add enhanced ES search strategy (#59224) 2020-03-05 16:47:45 -07:00
tasks run jest with --detectOpenHandles on CI to figure out what i… (#58543) 2020-02-27 14:19:24 -07:00
test expand max-old-space-size for xpack jest tests (#59455) 2020-03-05 15:59:33 -07:00
typings Upgrade EUI to v20.0.2 (#59199) 2020-03-05 12:27:52 -07:00
utilities
vars [CI] Pipeline refactoring (#56447) 2020-03-02 15:04:27 -05:00
webpackShims build immutable bundles for new platform plugins (#53976) 2020-02-12 19:42:42 -07:00
x-pack [Upgrade Assistant] Server-side batch reindexing (#58598) 2020-03-06 10:18:21 +01:00
.backportrc.json
.browserslistrc build immutable bundles for new platform plugins (#53976) 2020-02-12 19:42:42 -07:00
.editorconfig
.eslintignore Migrate existing Cypress tests to Cypress + Cucumber (#57299) 2020-02-26 11:00:54 -08:00
.eslintrc.js Fix TS for vis_type_vislib (#58345) 2020-03-04 13:57:16 +03:00
.gitattributes
.gitignore [APM] Make typescript optimization process compatible with NP (#58984) 2020-03-04 11:25:39 +01:00
.i18nrc.json [Telemetry] Migrate public to NP (#56285) 2020-02-13 09:44:01 +02:00
.node-version
.nvmrc
.prettierrc
.sass-lint.yml
.yarnrc
api-documenter.json
CONTRIBUTING.md Refactor test entry by runner (#44679) 2020-02-18 16:21:36 -06:00
FAQ.md
github_checks_reporter.json
Gruntfile.js
Jenkinsfile activates SIEM Cypress tests in Jenkins (#59181) 2020-03-04 10:35:05 +01:00
kibana.d.ts
LICENSE.txt
NOTICE.txt
package.json Upgrade EUI to v20.0.2 (#59199) 2020-03-05 12:27:52 -07:00
preinstall_check.js
README.md
renovate.json5 [kbn/optimizer] fix ui/* url rewrites in dist (#58627) 2020-03-02 15:15:44 -07:00
STYLEGUIDE.md
tsconfig.browser.json
tsconfig.json
tsconfig.types.json
TYPESCRIPT.md
yarn.lock Upgrade EUI to v20.0.2 (#59199) 2020-03-05 12:27:52 -07:00

Kibana

Kibana is your window into the Elastic Stack. Specifically, it's a browser-based analytics and search dashboard for Elasticsearch.

Getting Started

If you just want to try Kibana out, check out the Elastic Stack Getting Started Page to give it a whirl.

If you're interested in diving a bit deeper and getting a taste of Kibana's capabilities, head over to the Kibana Getting Started Page.

Using a Kibana Release

If you want to use a Kibana release in production, give it a test run, or just play around:

Building and Running Kibana, and/or Contributing Code

You might want to build Kibana locally to contribute some code, test out the latest features, or try out an open PR:

Documentation

Visit Elastic.co for the full Kibana documentation.

For information about building the documentation, see the README in elastic/docs.

Version Compatibility with Elasticsearch

Ideally, you should be running Elasticsearch and Kibana with matching version numbers. If your Elasticsearch has an older version number or a newer major number than Kibana, then Kibana will fail to run. If Elasticsearch has a newer minor or patch number than Kibana, then the Kibana Server will log a warning.

Note: The version numbers below are only examples, meant to illustrate the relationships between different types of version numbers.

Situation Example Kibana version Example ES version Outcome
Versions are the same. 5.1.2 5.1.2 💚 OK
ES patch number is newer. 5.1.2 5.1.5 ⚠️ Logged warning
ES minor number is newer. 5.1.2 5.5.0 ⚠️ Logged warning
ES major number is newer. 5.1.2 6.0.0 🚫 Fatal error
ES patch number is older. 5.1.2 5.1.0 ⚠️ Logged warning
ES minor number is older. 5.1.2 5.0.0 🚫 Fatal error
ES major number is older. 5.1.2 4.0.0 🚫 Fatal error

Questions? Problems? Suggestions?

  • If you've found a bug or want to request a feature, please create a GitHub Issue. Please check to make sure someone else hasn't already created an issue for the same topic.
  • Need help using Kibana? Ask away on our Kibana Discuss Forum and a fellow community member or Elastic engineer will be glad to help you out.