No description
Find a file
Constance 4dbc30bc08
[Enterprise Search] Move externalUrl helper out of React Context (#78368)
* Add new/simpler externalUrl helper and initialize it on renderApp

- This uses a simple JS obj to store the enterpriseSearchUrl reference (once on plugin init)
  - This is vs. a class, which needs to be instantiated and passed around - the new obj can be imported flatly at any time
  - I also opted to not convert this into a Kea logic file - after some deliberation I decided against it because it felt really weird as one. It's not storing "state" per se that ever needs to be updated, it's simply a one-time set obj that contains helper functions.
  - There's also some hope that we might eventually not need this helper after the full migration, so the simpler it is to delete the better
- Uses a getter & setter to ensure that we don't accidentally mutate said obj after initialization

* Update all components using get*SearchUrl helpers

* Update tests for updated components

- Mostly just consists of mocking externalUrl and importing that mock

* Remove old ExternalUrl class/context

TODO in next commit: Address kibana_header_actions

* Update Workplace Search Header Actions to use new externalUrl helper

NOTE: this requires a temporary workaround of initializing externalUrl.enterpriseSearch in plugin.ts rather than in renderApp, because renderApp loads *after* the header app does.

I plan on fixing this in a future PR so that setHeaderActionMenu is called AFTER renderApp has done loading (to ensure all the state in headerActions we need is available).
2020-09-24 14:22:11 -07:00
.ci
.github [ES UI Shared] Remove 'brace' from es_ui_shared public (#78033) 2020-09-24 16:02:14 +02:00
common/graphql
config
data
docs [DOCS] Updates create.asciidoc (#73481) 2020-09-24 12:25:51 -05:00
examples [Search] Generic search request and response types (#78268) 2020-09-24 18:59:27 +03:00
licenses
packages [shared-ui-deps] use a single global version of lodash (#78100) 2020-09-24 09:45:01 -07:00
rfcs
scripts
src [Maps] lazy load maps_legacy, tile_map, and region_map bundle (#78027) 2020-09-24 12:45:43 -06:00
tasks
test [KQL] Rename "telemetry" to "stats" (#78040) 2020-09-24 17:27:21 +01:00
typings bump query-string version to remove manual type definitions (#78143) 2020-09-24 17:15:15 +02:00
utilities
vars
x-pack [Enterprise Search] Move externalUrl helper out of React Context (#78368) 2020-09-24 14:22:11 -07:00
.backportrc.json
.browserslistrc
.editorconfig
.eslintignore
.eslintrc.js Adding comment about importing lodash library (#78156) 2020-09-24 11:38:11 -05:00
.fossa.yml
.gitattributes
.gitignore
.i18nrc.json
.node-version
.nvmrc
.prettierrc
.sass-lint.yml
.telemetryrc.json [Usage Collection] Add schema to stack_management (#77897) 2020-09-24 14:05:19 +01:00
.yarnrc
api-documenter.json
CONTRIBUTING.md
FAQ.md
github_checks_reporter.json
Gruntfile.js
Jenkinsfile
kibana.d.ts Remove legacy plugins support (#77599) 2020-09-23 09:52:51 +02:00
LICENSE.txt
NOTICE.txt
package.json Upgrade @elastic/apm-rum to 5.6.0 (#78345) 2020-09-24 11:25:30 -06:00
preinstall_check.js
README.md
renovate.json5 [renovate] looks like team slug might just be kibana-app 2020-09-24 10:10:17 -07:00
STYLEGUIDE.md
tsconfig.base.json
tsconfig.browser.json
tsconfig.json
tsconfig.refs.json
tsconfig.types.json
TYPESCRIPT.md
yarn.lock Upgrade @elastic/apm-rum to 5.6.0 (#78345) 2020-09-24 11:25:30 -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.