Go to file
Spencer 7e94eccc2e
Upgrade to Jest 23.5.0 (#22791)
I'd really like to upgrade to Typescript 3 for its `unknown` type, but we need to upgrade to `jest@23` to support a recent version of `ts-jest@23`. 

The [jest changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md) breaks down the breaking changes in 23.x, but I found it to be slightly incomplete so I've broken down the changes that actually caused breaks for us here, and addressed each in individual commits to make review a little easier:

- the `testURL` config default was changed from `about:blank` to `http://localhost`
    - this cause some XHR requests powered by JSdom to start failing. It seems these requests just do nothing in master but start to fail when JSdom is initialized with an actual URL... I think we would ideally stop sending meaningless XHR requests in the tests, but it was a lot easier to just set the config to `about:blank` for now, and we can worry about cleanup later if necessary
- `expect(...).toThrow()` only passes if an actual error was thrown.
     - In two places in the index pattern code we were throwing strings, which broke the assertions. Fortunately/Unfortunately the errors are not being consumed by anything, so I was able to wrap them in `new Error()` without causing any issues.
- snapshots of mock functions now include a `results` array, detailing the return values of the function
- React fragments are now serialized as `<React.Fragment>` instead of `<UNDEFINED>`
- undefined props in React components are now stripped from snapshots
- minor changes to the ordering of mocks, imports resolution, and before hooks caused the uiSettings API tests to start breaking, but I'm replacing them with totally new tests in #22694 so I just deleted them here
- mocks created with `jest.spyOn()` that are restored now have their `mock.calls` reset, so some of the kbn-pm tests stated failing. This was fixed by restoring them with `jest.restoreAllMocks()` rather than trying to do it before the assertions
2018-09-07 18:36:13 -07:00
.github No markdown in "question" issue template 2018-05-07 18:59:04 -04:00
bin [bin/windows] Remove title (#21567) 2018-08-03 06:53:54 -05:00
config Set kibana locale in kibana.yml config (#21201) 2018-08-02 14:43:22 +03:00
data [folder structure] plugins/.data -> data 2016-07-05 14:06:16 -05:00
docs docs: dashboard import/export API (#22835) 2018-09-07 15:52:08 -04:00
licenses Migrate x-pack-kibana source to kibana 2018-04-24 13:48:10 -07:00
packages Upgrade to Jest 23.5.0 (#22791) 2018-09-07 18:36:13 -07:00
plugins [folder structure] plugins/.data -> data 2016-07-05 14:06:16 -05:00
scripts Integrate main i18n tool into build pipeline (#22254) 2018-08-29 11:55:34 +03:00
src Upgrade to Jest 23.5.0 (#22791) 2018-09-07 18:36:13 -07:00
style_guides Update JS style guide with rule for prefixing private class methods with an underscore. (#20851) 2018-07-17 08:44:51 -07:00
tasks [ci] Run ES snapshot when possible (#22663) 2018-09-06 16:31:47 -07:00
test Generalize dashboard panel actions to not be dashboard specific (#22775) 2018-09-07 13:16:40 -04:00
utilities Apache 2.0 license headers (#19383) 2018-05-28 20:06:30 -07:00
webpackShims add polyfill for ChildNode remove (#21797) 2018-08-10 15:21:11 -06:00
x-pack Upgrade to Jest 23.5.0 (#22791) 2018-09-07 18:36:13 -07:00
.backportrc.json Adds 6.4 branch to backports config (#21217) 2018-07-25 11:02:58 -07:00
.browserslistrc Convert all Less files to Sass in Dashboard, using EUI variable scope (#21374) 2018-08-14 19:05:33 -04:00
.editorconfig Apply the same editorconfig rules to both markdown and asciidoc files 2016-09-07 11:41:41 -04:00
.eslintignore Integrate new platform (core) server side into Kibana (#18951) 2018-07-11 11:19:35 +03:00
.eslintrc.js Chore: Reorg the x-pack gulp tasks (#22785) 2018-09-07 09:43:17 -07:00
.gitignore update gitignore and remove monitoring css file (#21962) 2018-08-14 10:56:40 -07:00
.i18nrc.json [I18n] Update i18n config (#22799) 2018-09-07 15:35:02 +03:00
.node-version Bump node to 8.11.4 (#22048) 2018-08-16 13:05:17 -05:00
.nvmrc Bump node to 8.11.4 (#22048) 2018-08-16 13:05:17 -05:00
.prettierrc Increase prettier line width to 100 (#20535) 2018-07-09 22:50:37 +02:00
CONTRIBUTING.md Add tip about iTerm 2 settings (#22502) 2018-08-30 12:33:28 -05:00
FAQ.md propose language changes (#10709) 2017-03-05 12:10:32 -05:00
Gruntfile.js Apache 2.0 license headers (#19383) 2018-05-28 20:06:30 -07:00
LICENSE.txt Migrate x-pack-kibana source to kibana 2018-04-24 13:48:10 -07:00
NOTICE.txt add polyfill for ChildNode remove (#21797) 2018-08-10 15:21:11 -06:00
package.json Upgrade to Jest 23.5.0 (#22791) 2018-09-07 18:36:13 -07:00
preinstall_check.js Apache 2.0 license headers (#19383) 2018-05-28 20:06:30 -07:00
README.md Revert "Point issue links to new choose page (#19042)" (#21519) 2018-08-01 11:05:36 +02:00
STYLEGUIDE.md Fix typo in accessibility styleguide link (#14718) 2017-11-02 12:28:22 +01:00
tsconfig.browser.json [typescript] continue to use the default config in development (#21966) 2018-08-14 15:27:07 -07:00
tsconfig.json [typescript] continue to use the default config in development (#21966) 2018-08-14 15:27:07 -07:00
tslint.yaml [tslint] enable no-default-export rule (#20952) 2018-07-18 19:22:19 -07:00
yarn.lock Upgrade to Jest 23.5.0 (#22791) 2018-09-07 18:36:13 -07:00

Kibana 7.0.0-alpha1

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:

Snapshot Builds

For the daring, snapshot builds are available. These builds are created nightly and have undergone no formal QA, so they should never be run in production. All builds are 64 bit.

platform default OSS
OSX tar tar
Linux tar deb rpm tar deb rpm
Windows zip zip

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.