No description
Find a file
Matt Bargar d6a9de54f5
Fix stale state in filter field ComboBox (#34494) (#34597)
The FilterEditor component was not updating derived state when the filter prop changed. This issue was exposed by a race condition in the dashboard app. When there are no panels with an index pattern the dashboard will fetch the default index pattern and pass it into the FilterBar. As a result, if a user managed to click the "Add Filter" button before the default index pattern finished loading the editor would first render with a filter containing no index pattern, which would cause the Field ComboBox to render in a disabled state. The FilterEditor props would update after the default index pattern finished loading, but state variables such as selectedIndexPattern would remain unchanged.

The root issue is that the source of truth about which index pattern should be used is stored in both the filter prop and the selectedIndexPattern state variable. To fix this I added a key prop to the FilterEditor that will be unique to each filter so that the component will be recreated on each filter change, while the draft state can remain fully uncontrolled in the FilterEditor component.
2019-04-05 13:37:21 -04:00
.ci [packer_cache] make packer_cache idempotent (#34241) 2019-03-31 18:23:23 -07:00
.github
bin
common/graphql
config
data
docs [DOCS] Fixes formatting in plugin and l10 docs (#34594) 2019-04-05 08:26:41 -07:00
licenses
packages renaming 'api/canvas' endpoint to 'api/interpreter' (#34410) (#34423) 2019-04-03 16:10:26 +02:00
plugins
scripts [7.x] Generate core API docs from TSDoc comments (#32148) (#34421) 2019-04-04 20:59:09 +02:00
src Fix stale state in filter field ComboBox (#34494) (#34597) 2019-04-05 13:37:21 -04:00
style_guides
tasks [7.x] Generate core API docs from TSDoc comments (#32148) (#34421) 2019-04-04 20:59:09 +02:00
test Use enter to submit save modals (#34417) (#34611) 2019-04-05 12:43:19 +02:00
typings [7.x] EUI catchup to 9.7.1 (#34124) 2019-03-28 16:26:57 -07:00
utilities
webpackShims
x-pack [ML] Only update forecasting progress bar if value increases (#34614) (#34641) 2019-04-05 17:50:27 +01:00
.backportrc.json
.browserslistrc
.editorconfig
.eslintignore [7.x] [eslint] merge custom rules into a single plugin (#33733) (#33758) 2019-03-22 18:53:45 -07:00
.eslintrc.js use eslint-import-plugin/no-export-default instead of custom rule (#34285) (#34332) 2019-04-02 09:38:07 +02:00
.gitattributes [7.x] [canvas] Color fixes + Storybook 5 (#34075) (#34369) 2019-04-02 16:35:28 -05:00
.gitignore
.i18nrc.json [Maps] Localization (#30881) (#32601) 2019-03-06 20:06:06 -05:00
.node-version Bump node to 10.15.2 (#32200) 2019-02-28 10:49:28 -06:00
.nvmrc Bump node to 10.15.2 (#32200) 2019-02-28 10:49:28 -06:00
.prettierrc
.sass-lint.yml
.yarnrc
CONTRIBUTING.md [docs] Corrects breaking change issue label (#33252) 2019-03-14 09:19:52 -07:00
FAQ.md
Gruntfile.js
kibana.d.ts [7.x] Generate core API docs from TSDoc comments (#32148) (#34421) 2019-04-04 20:59:09 +02:00
LICENSE.txt
NOTICE.txt Deleted unused directives from angular-boostrap (#33564) (#33763) 2019-03-24 14:28:52 +02:00
package.json [7.x] Generate core API docs from TSDoc comments (#32148) (#34421) 2019-04-04 20:59:09 +02:00
preinstall_check.js
README.md
STYLEGUIDE.md
tsconfig.browser.json
tsconfig.json [7.x] Generate core API docs from TSDoc comments (#32148) (#34421) 2019-04-04 20:59:09 +02:00
tsconfig.types.json [7.x] Generate core API docs from TSDoc comments (#32148) (#34421) 2019-04-04 20:59:09 +02:00
tslint.yaml [linting] Enforce relative paths for X-Pack modules (#34349) (#34370) 2019-04-02 11:23:44 -07:00
TYPESCRIPT.md [@kbn/expect] "fork" expect.js into repo (#33761) (#33794) 2019-03-25 13:13:21 -07:00
yarn.lock [7.x] Generate core API docs from TSDoc comments (#32148) (#34421) 2019-04-04 20:59:09 +02: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.