Go to file
Maja Grubic 9b22789c3c
[Discover] Use fields API to retrieve fields (#83891)
* Add search source to example plugin.

* Add uiSetting for fields API.

* Update SearchSource to support fields API.

* [PoC] reading from the fields API in Discover

* Add N fields as a default column

* Make fields column non-removeable

* Do not add 'fields' to state

* Remove fields from app state and read from source when needed

* Remove fields column if a new column is added

* Add search source to example plugin.

* Add uiSetting for fields API.

* Update SearchSource to support fields API.

* Improve error handling in search examples plugin.

* Add unit tests for legacy behavior.

* Remove uiSettings feature flag; add fieldsFromSource config.

* Rewrite flatten() based on final API design.

* Update example app based on final API design.

* Update maps app to use legacy fieldsFromSource.

* Update Discover to use legacy fieldsFromSource.

* Rename source filters to field filters.

* Address feedback.

* Update generated docs.

* Update maps functional test.

* Formatting fields column similar to _source

* Moving logic for using search API to updating search source

* Fix small merge error

* Move useSource switch to Discover section of advanced settings

* Do not use fields and source at the same time

* Remove unmapped fields switch

* Add basic support for grouping multifields

* Remove output.txt

* Fix some merge leftovers

* Fix some merge leftovers

* Fix merge errors

* Fix typescript errors and update nested fields logic

* Add a unit test

* Fixing field formats

* Fix multifield selection logic

* Request all fields from source

* Fix eslint

* Fix default columns when switching between _source and fields

* More unit tests

* Update API changes

* Add unit test for discover field details footer

* Remove unused file

* Remove fields formatting from index pattern

* Remove unnecessary check

* Addressing design comments

* Fixing fields column display and renaming it to Document

* Adding more unit tests

* Adding a missing check for useNewFieldsAPI; minor fixes

* Fixing typescript error

* Remove unnecessary console statement

* Add missing prop

* Fixing import order

* Adding functional test to test fields API

* [Functional test] Clean up in after

* Fixing context app

* Addressing PR comments

* Updating failed snapshot

* Addressing PR comments

* Fixing i18n translations, updating type

* Addressing PR comments

* Updating a functional test

* Add a separate functional test for fields API

* Read fields from source in a functional test

* Skip buggy test

* Use default behavior in functional tests

* Fixing remaining failing tests

* Fixing date-nanos test

* Updating FLS test

* Fixing yet another functional test

* Skipping non-relevant tests

* Fixing more tests

* Update stub import in test

* Fix import

* Fix invalid import

Co-authored-by: Luke Elmers <luke.elmers@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-15 14:47:35 +00:00
.ci [CI] Prep TeamCity pipelines to run in parallel with Jenkins (#87589) 2021-01-14 11:10:02 -05:00
.github Added missing configuration options for the alerting related plugins to the kibana-docker. (#88297) 2021-01-14 13:55:36 -08:00
.teamcity [CI] Prep TeamCity pipelines to run in parallel with Jenkins (#87589) 2021-01-14 11:10:02 -05:00
common/graphql
config Add server.publicBaseUrl config (#85075) 2020-12-08 17:02:39 -07:00
dev_docs Split up plugin dev docs from team docs. Add some welcome landing pages. (#87353) 2021-01-06 08:18:51 -05:00
docs Use documentation links service provided by the core directly. (#88158) 2021-01-15 13:31:51 +01:00
examples [Search][Sessions] Rename Background Sessions to Search Sessions (#87500) 2021-01-07 17:28:27 +02:00
licenses
packages [kbn/es] start es with raised indices.query.bool.max_nested_depth 2021-01-13 22:06:27 -07:00
plugins [dev/cli] ensure plugins/ and all watch source dirs exist (#78973) 2020-09-30 10:20:44 -07:00
rfcs [Search Sessions] Replace search session constants with kibana.yml configs (#88023) 2021-01-15 01:14:02 +02:00
scripts [build] Migrate grunt license:csv_report to script (#86001) 2021-01-13 09:50:51 -06:00
src [Discover] Use fields API to retrieve fields (#83891) 2021-01-15 14:47:35 +00:00
tasks/config [build] Migrate grunt license:csv_report to script (#86001) 2021-01-13 09:50:51 -06:00
test [Discover] Use fields API to retrieve fields (#83891) 2021-01-15 14:47:35 +00:00
typings Get rid of global types (#81739) 2020-10-28 11:03:04 +01:00
utilities
vars [coverage] do not collect stats for mocha (#87859) 2021-01-11 21:00:00 +01:00
x-pack [Discover] Use fields API to retrieve fields (#83891) 2021-01-15 14:47:35 +00:00
.backportrc.json [backportrc] Adds 7.11 branch and bumps 7.x (#86131) 2020-12-16 10:10:39 -08:00
.browserslistrc [browserlist] Excludes browsers not supporting es6-class (#81431) 2020-10-28 16:38:59 -07:00
.editorconfig
.eslintignore [@kbn/ui-framework] Removes all but dist files (#85347) 2020-12-10 08:23:33 -08:00
.eslintrc.js [@kbn/ui-framework] Removes all but dist files (#85347) 2020-12-10 08:23:33 -08:00
.fossa.yml Adds FOSSA CLI configuration file (#70137) 2020-07-02 08:37:37 -07:00
.gitattributes
.gitignore [@kbn/ui-framework] Removes all but dist files (#85347) 2020-12-10 08:23:33 -08:00
.i18nrc.json [Time to Visualize] Add visualizations to dashboard from save modal (#83140) 2020-12-08 15:39:24 -06:00
.node-version Bump Node.js from version 14.15.3 to 14.15.4 (#87207) 2021-01-04 22:14:48 +01:00
.npmrc chore(NA): assure puppeteer_skip_chromium_download is applied across every yarn install situation (#88346) 2021-01-14 18:00:23 +00:00
.nvmrc Bump Node.js from version 14.15.3 to 14.15.4 (#87207) 2021-01-04 22:14:48 +01:00
.prettierrc
.sass-lint.yml [Visualize] New visualization wizard (#79627) 2020-11-06 18:03:44 +02:00
.telemetryrc.json [Usage collection] Make schema mandatory (#79999) 2020-10-26 12:57:15 +02:00
.yarnrc chore(NA): enable yarn prefer offline and local mirror for development (#84124) 2020-11-25 00:18:18 +00:00
api-documenter.json
CONTRIBUTING.md Improvements to our developer guide (#67764) 2020-07-13 10:47:01 -04:00
FAQ.md
github_checks_reporter.json
Gruntfile.js
Jenkinsfile chore(NA): remove usage of unverified es snapshots (#83589) 2020-11-18 00:18:31 +00:00
jest.config.integration.js Jest multi-project configuration (#77894) 2020-12-02 11:42:23 -08:00
jest.config.js Jest multi-project configuration (#77894) 2020-12-02 11:42:23 -08:00
jest.config.oss.js [coverage] re-enable jest (#85946) 2020-12-16 20:20:55 +01:00
kibana.d.ts Remove legacy plugins support (#77599) 2020-09-23 09:52:51 +02:00
LICENSE.txt
NOTICE.txt 🍾 update notice text for 2021 2021-01-01 01:26:53 -07:00
package.json Bump backport to 5.6.4 (#88428) 2021-01-15 13:39:31 +01:00
preinstall_check.js
README.md Fix "Getting started" link in README (#84153) 2020-11-23 15:33:02 -05:00
renovate.json5 [renovate] update label config 2020-12-04 12:23:47 -07:00
SECURITY.md Add security policy to the Kibana repository (#85407) 2020-12-10 09:26:00 -05:00
STYLEGUIDE.md chore(NA): tool to find plugins circular dependencies between plugins (#82867) 2020-11-30 22:19:32 +00:00
tsconfig.base.json Cleanup tsconfig files (#84396) 2020-11-30 19:12:00 +01: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 [DX] SavedObjectsManagement to TS project (#88240) 2021-01-13 22:23:06 +01:00
tsconfig.refs.json [DX] SavedObjectsManagement to TS project (#88240) 2021-01-13 22:23:06 +01: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 Bump backport to 5.6.4 (#88428) 2021-01-15 13:39:31 +01: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.