Your window into the Elastic Stack
Find a file
Gidi Meir Morris 5460ad741c
[Task Manager] Cleans up legacy plugin structure (#80381)
This PR addresses a list of legacy code debt the plugin has incurred over the past year due to extensive changes in its internals and the adoption of the Kibana Platform.

It includes:
1. The `TaskManager` class has been split into several independent components: `TaskTypeDictionary`,  `TaskPollingLifecycle`,  `TaskScheduling`,  `Middleware`. This has made it easier to understand the roles of the different parts and makes it easier to plug them into the observability work.
2. The exposed `mocks` have been corrected to correctly express the Kibana Platform api
3. The lifecycle has been corrected to remove the need for  intermediary streames/promises which we're needed when we first introduced the `setup`/`start` lifecycle to support legacy.
4. The Logger mocks have been replaced with the platform's `coreMocks` implementation
5. The integration tests now test the plugin's actual public api (instead of the internals).
6. The Legacy Elasticsearch client has been replaced with the typed client in response to the deprecation notice.
7. Typing has been narrowed to prevent the `type` field from conflicting with the key in the `TaskDictionary`. This could have caused the displayed `type` on a task to differ from the `type` used in the Dictionary itself (this broke a test during refactoring and could have caused a bug in production code if left).
2020-10-20 13:00:13 +01:00
.ci [QA][Code Coverage] Upload the coverage static site before ingestion (#78695) 2020-09-29 08:29:22 -06:00
.github Fix security solution template label (#80754) 2020-10-16 09:37:18 -06:00
common/graphql [Uptime] Implement EuiSuperDatePicker (#28217) 2019-01-18 13:44:58 -05:00
config Remove unused elasticsearch.preserverHost setting (#78608) 2020-09-30 10:39:08 +02:00
data [folder structure] plugins/.data -> data 2016-07-05 14:06:16 -05:00
docs Support unsigned_long fields (#81115) 2020-10-20 13:58:48 +02:00
examples feat: 🎸 add separator for different context menu groups (#80498) 2020-10-16 11:07:50 +02:00
licenses Migrate x-pack-kibana source to kibana 2018-04-24 13:48:10 -07:00
packages [Security Solution] reduce optimizer limits (#80997) 2020-10-19 18:04:21 -04:00
plugins [dev/cli] ensure plugins/ and all watch source dirs exist (#78973) 2020-09-30 10:20:44 -07:00
rfcs [RFC][Search] Background sessions RFC (#73281) 2020-10-05 19:18:30 +03:00
scripts Add script to identify plugin dependencies for TS project references migration (#80463) 2020-10-16 11:55:46 +02:00
src Support unsigned_long fields (#81115) 2020-10-20 13:58:48 +02:00
tasks Warn users when security is not configured (#78545) 2020-10-05 19:47:17 -04:00
test Upgrade EUI to v29.5.0 (#80753) 2020-10-19 14:48:33 -06:00
typings [ts] enable "resolveJsonModule" and disable existing failures (#78855) 2020-09-30 15:44:43 -07:00
utilities apply prettier styles 2020-05-22 09:08:58 +02:00
vars [kbn/optimizer] report limits with ci metrics (#78205) 2020-10-07 15:43:14 -07:00
x-pack [Task Manager] Cleans up legacy plugin structure (#80381) 2020-10-20 13:00:13 +01:00
.backportrc.json chore(NA): add missing branches into backportrc configuration file (#79848) 2020-10-07 19:51:44 +01:00
.browserslistrc Aligns BrowserList config with Support Matrix (#71876) 2020-07-16 10:56:07 -07:00
.editorconfig [editorconfig] disable insert_final_newline for package.json 2019-04-18 09:44:17 -07:00
.eslintignore Timelion y-axis label not displayed (#80007) 2020-10-14 16:58:35 +03:00
.eslintrc.js Timelion y-axis label not displayed (#80007) 2020-10-14 16:58:35 +03:00
.fossa.yml Adds FOSSA CLI configuration file (#70137) 2020-07-02 08:37:37 -07:00
.gitattributes [canvas] Color fixes + Storybook 5 (#34075) 2019-04-02 11:21:51 -05:00
.gitignore Introduce TS incremental builds & move src/test_utils to TS project (#76082) 2020-09-03 14:20:04 +02:00
.i18nrc.json Timelion y-axis label not displayed (#80007) 2020-10-14 16:58:35 +03:00
.node-version Update Node.js to version 10.22.1 (#77619) 2020-09-16 18:51:50 +02:00
.nvmrc Update Node.js to version 10.22.1 (#77619) 2020-09-16 18:51:50 +02:00
.prettierrc Increase prettier line width to 100 (#20535) 2018-07-09 22:50:37 +02:00
.sass-lint.yml Empty index patterns page re-design (#68819) 2020-08-12 15:58:16 -05:00
.telemetryrc.json [Usage Collection] [schema] ui_metric (#78827) 2020-10-01 08:22:51 +01:00
.yarnrc [kbn-pm] Use yarn workspaces for dependencies (#24095) 2018-11-12 12:38:11 -06:00
api-documenter.json Normalize EOL symbol in platform docs (#56021) 2020-01-27 18:42:45 +01:00
CONTRIBUTING.md Improvements to our developer guide (#67764) 2020-07-13 10:47:01 -04:00
FAQ.md propose language changes (#10709) 2017-03-05 12:10:32 -05:00
github_checks_reporter.json implementing github checks - second attempt (#35757) 2019-05-01 16:02:33 -05:00
Gruntfile.js apply prettier styles 2020-05-22 09:08:58 +02:00
Jenkinsfile [CI] Add pipeline task queue framework and merge workers into one (#71268) 2020-08-04 13:13:51 -04:00
kibana.d.ts Remove legacy plugins support (#77599) 2020-09-23 09:52:51 +02:00
LICENSE.txt Migrate x-pack-kibana source to kibana 2018-04-24 13:48:10 -07:00
NOTICE.txt [kbn/std] update rxjs helpers to use simple operators (#80416) 2020-10-14 07:11:10 -07:00
package.json Upgrade EUI to v29.5.0 (#80753) 2020-10-19 14:48:33 -06:00
preinstall_check.js Apache 2.0 license headers (#19383) 2018-05-28 20:06:30 -07:00
README.md Remove legacy optimizer (#73154) 2020-08-13 09:08:44 -07:00
renovate.json5 limit renovate to npm packages 2020-10-19 19:40:27 -07:00
STYLEGUIDE.md Remove legacy optimizer (#73154) 2020-08-13 09:08:44 -07:00
tsconfig.base.json [ts] enable "resolveJsonModule" and disable existing failures (#78855) 2020-09-30 15:44:43 -07:00
tsconfig.browser.json Introduce TS incremental builds & move src/test_utils to TS project (#76082) 2020-09-03 14:20:04 +02:00
tsconfig.json build all ts refs in single kbn:bootstrap (#79438) 2020-10-06 08:33:24 +02:00
tsconfig.refs.json Add TS projects for src/plugins & x-pack/plugins (#78440) 2020-09-30 15:02:41 +02:00
tsconfig.types.json ui_actions service initial docs (#78902) 2020-09-30 16:44:29 +02:00
TYPESCRIPT.md Fixed grammar (#74725) 2020-08-11 06:40:22 -04:00
yarn.lock Upgrade EUI to v29.5.0 (#80753) 2020-10-19 14:48:33 -06: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.