Your window into the Elastic Stack
Find a file
Tiago Costa d53a9a295f
Optimize with thread loader and terser (#27014) (#27426)
* multi thread expensive loaders

* revert styles

* feat(NA): added thread-loader and cache-loader to base optimizer and dll compiler.

* feat(NA): added cache-loader and thread-loader to the optimizer and dll compiler.

* feat(NA): use new terser plugin instead of old unmaintained uglifyjs webpack plugin.

* refact(NA): remove unused configs from base optimizer and dll compiler.

* fix(NA): available cpu calculated number.

* docs(NA): fix comment about what we are doing in prod on base_optimizer config.

* docs(NA): explain why we are setting memory into each thread loader worker.

* fix(NA): add dev only loaders to the thread-loader warmup config.

* refact(NA): change name from babelCacheDir to babelLoaderCacheDir.

* fix(NA): logic for calculating available cpus.

* feat(NA): pass NODE_OPTIONS along for the optimizer forked process and also for the optimizer workers.

* feat(NA): remove terser webpack plugin compression from base_optimizer and only run it on dll compiler.

* chore(NA): update function to calculate available cpus for works.

* fix(NA): apply upperbound to the number of workers we can have on thread-loader.

* fix(NA): decrease the max number of thread pool workers. refact(NA): use the same calculated number of cpus to use on parallel tasks on thread loader pool config for terser parallel. refact(NA): lower down the poolTimeout on non dev mode. refact(NA): change devOnlyModules to nonDistributableOnlyModules on warmupThreadLoader config.

* chore(NA): update yarn lock deps after merging with master.
2018-12-18 20:06:43 +00:00
.ci [6.x] Create vendor dll for the client modules (#22618) (#26707) 2018-12-05 19:48:33 +00:00
.github [6.x] Switch to Yarn (#15485) (#15955) 2018-01-10 16:54:20 +01:00
bin [bin/windows] Remove title (#21567) 2018-08-03 06:55:28 -05:00
config Set kibana locale in kibana.yml config (#21201) (#21777) 2018-08-08 13:51:31 +03:00
data [folder structure] plugins/.data -> data 2016-07-05 14:06:16 -05:00
docs [DOCS] Adds Release Notes for 6.5.4 (#27419) 2018-12-18 10:51:52 -08:00
licenses Migrate x-pack-kibana source to kibana 2018-04-24 13:49:26 -07:00
maps Point kibana map config at tiles.elastic.co AWS. 2016-07-25 16:20:54 -07:00
packages [6.x] fix(NA): update strong-log-transformer version. (#27263) (#27403) 2018-12-18 18:11:49 +00:00
plugins [folder structure] plugins/.data -> data 2016-07-05 14:06:16 -05:00
scripts Plugin test readme’s (#26632) (#26658) 2018-12-06 13:54:41 -05:00
src Optimize with thread loader and terser (#27014) (#27426) 2018-12-18 20:06:43 +00:00
style_guides Update JS style guide with rule for prefixing private class methods with an underscore. (#20851) (#20891) 2018-07-17 10:00:32 -07:00
tasks [6.x] Create vendor dll for the client modules (#22618) (#26707) 2018-12-05 19:48:33 +00:00
test Update to new version of EMS (#26511) (#27417) 2018-12-18 13:59:09 -05:00
typings Typescript search embeddable (#26863) (#27052) 2018-12-12 14:46:09 -05:00
utilities Backport/19383/6.x (#19487) 2018-05-28 20:24:23 -07:00
webpackShims add polyfill for ChildNode remove (#21797) (#21894) 2018-08-10 17:20:16 -06:00
x-pack [ML] Use EuiSuperSelect for the 'Create Watch' severity control in Job wizard (#27272) (#27420) 2018-12-18 11:57:31 -07:00
.backportrc.json Increment version number from 6.5.0 to 6.6.0 (#24634) 2018-10-26 07:44:49 -04:00
.browserslistrc Dashboard LESS to SASS (#22017) 2018-08-15 16:48:27 -04:00
.editorconfig Apply the same editorconfig rules to both markdown and asciidoc files 2016-09-07 11:41:41 -04:00
.eslintignore [6.x] Create vendor dll for the client modules (#22618) (#26707) 2018-12-05 19:48:33 +00:00
.eslintrc.js Adding label-has-associated-control to jsx-a11y lint rules and associated UI fixes (#27039) 2018-12-12 11:42:58 -05:00
.gitignore [6.x] Create vendor dll for the client modules (#22618) (#26707) 2018-12-05 19:48:33 +00:00
.i18nrc.json [Infra UI] Fix graphql type generation after package upgrades (#26991) (#27340) 2018-12-17 14:12:45 -07:00
.node-version [6.x] Upgrade to NodeJS 10 (#25157) (#26909) 2018-12-10 18:50:30 +00:00
.nvmrc [6.x] Upgrade to NodeJS 10 (#25157) (#26909) 2018-12-10 18:50:30 +00:00
.prettierrc Increase prettier line width to 100 (#20535) (#20596) 2018-07-11 00:41:00 +02:00
.yarnrc [6.x] [kbn-pm] Use yarn workspaces for dependencies (#24095) (#25549) 2018-11-12 17:21:42 -06:00
CONTRIBUTING.md [6.x] Create vendor dll for the client modules (#22618) (#26707) 2018-12-05 19:48:33 +00:00
FAQ.md propose language changes (#10709) 2017-03-05 12:10:32 -05:00
Gruntfile.js [6.x] Validate current node version (#19154) (#19452) 2018-05-29 21:59:42 +01:00
kibana.d.ts Establish pattern for typing legacy plugins (#26045) (#27325) 2018-12-17 13:56:06 -06:00
LICENSE.txt Migrate x-pack-kibana source to kibana 2018-04-24 13:49:26 -07:00
NOTICE.txt [6.x] Create vendor dll for the client modules (#22618) (#26707) 2018-12-05 19:48:33 +00:00
package.json Optimize with thread loader and terser (#27014) (#27426) 2018-12-18 20:06:43 +00:00
preinstall_check.js Backport/19383/6.x (#19487) 2018-05-28 20:24:23 -07:00
README.md readme: remove erroneous snapshot builds link (#26147) 2018-11-25 15:13:12 -05:00
STYLEGUIDE.md Add a typescript readme (#23841) (#24128) 2018-10-17 10:03:27 -04:00
tsconfig.browser.json [typescript] continue to use the default config in development (#21966) (#21973) 2018-08-15 16:22:35 -07:00
tsconfig.json Establish pattern for typing legacy plugins (#26045) (#27325) 2018-12-17 13:56:06 -06:00
tsconfig.types.json [6.x] Add Kibana bootstrap step to generate types exposed by the core and its plugins. (#23888) 2018-10-16 12:14:56 +02:00
tslint.yaml Adding a11y rules from tslint-microsoft-contrib to tslint (#26888) (#27379) 2018-12-18 07:13:20 -05:00
TYPESCRIPT.md Add a typescript readme (#23841) (#24128) 2018-10-17 10:03:27 -04:00
yarn.lock Optimize with thread loader and terser (#27014) (#27426) 2018-12-18 20:06:43 +00: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 may 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.