No description
Find a file
Ryland Herrick 164ed8497d
[Security Solution] kbn package for generic hook utils (#101976) (#102539)
* Adds boilerplate for new hook-utils package

* Move existing, identified utils into our hook-utils package

Updates references, and fixes a few missing config that were preventing
packages from building.

* Extracts a common type and adds a little more JSdoc for clarity

* Adds new useObservable hook

Similar to useAsync (a nearly identical interface), this is meant to
wrap a thunk returning an observable, allowing conditional invocation
and progressive updates as the observable continues to emit.

* Remove orphaned test

This function (and its tests) were moved to the hook-utils package; this
was simply missed.

* Remove optional chaining from kbn package

The build system does not currently support these typescript features.
While a valid fix would also have been to build separate browser and
node targets a la #99390, the use here was very minimal and so changing
to a supported syntax was the most pragmatic fix.

* Update old reference in test file

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
#	package.json
2021-06-17 15:21:40 -04:00
.buildkite [CI] Buildkite support with Baseline pipeline (#100492) (#101108) 2021-06-03 12:00:25 -04:00
.ci [FTSR] Add pluginFunctional to test suites (#102113) (#102120) 2021-06-14 12:04:05 -07:00
.github [User Experience] Move ux app to new nav (#101005) (#101575) 2021-06-08 09:15:48 -04:00
api_docs Add comments to some alerting plugin public API items (#101551) (#102130) 2021-06-14 17:51:30 -04:00
config Add config properties for HTTP security headers (#97158) (#97503) 2021-04-19 16:10:13 -04:00
dev_docs Update security best practices document (#100814) (#102432) 2021-06-17 00:29:56 +00:00
docs [Security Solution] kbn package for generic hook utils (#101976) (#102539) 2021-06-17 15:21:40 -04:00
examples move the example app to be mounted in the developerExamples plugin instead of visible in navbar (#101464) (#102052) 2021-06-14 10:53:25 -04:00
licenses [7.x] Elastic License 2.0 (#90192) 2021-02-03 18:39:13 -08:00
packages [Security Solution] kbn package for generic hook utils (#101976) (#102539) 2021-06-17 15:21:40 -04:00
plugins
rfcs RFC: URL Service (TTL: expired) (#95416) (#97432) 2021-04-19 06:09:18 -04:00
scripts Remove the no longer used release-notes script (#97806) (#97882) 2021-04-21 17:01:18 -04:00
src Converts Saved Object Management to the new management layout (#102281) (#102536) 2021-06-17 15:10:36 -04:00
tasks/config [KQL] Use cache and other performance improvements (#93319) (#93972) 2021-03-08 14:36:14 -05:00
test Display Kibana overall status in the logs and have FTR wait for green status before running tests (#102108) (#102511) 2021-06-17 12:28:01 -04:00
typings [7.x] Update @elastic/elasticsearch to 8.0.0-canary13 (#98266) (#101595) 2021-06-08 12:21:59 -04:00
utilities [7.x] Elastic License 2.0 (#90192) 2021-02-03 18:39:13 -08:00
vars Revert: [7.x] [FTR][CI] Use default distribution for all tests (#102019) 2021-06-13 23:29:03 -07:00
x-pack [Security Solution] kbn package for generic hook utils (#101976) (#102539) 2021-06-17 15:21:40 -04:00
.backportrc.json chore(NA): adds 7.13 branch and bumps 7.x on backportrc (#97804) (#97868) 2021-04-21 14:18:40 -04:00
.bazelignore chore(NA): stop grouping bazel out symlink folders (#96066) (#96085) 2021-04-01 17:34:54 -04:00
.bazeliskversion chore(NA): bump bazelisk to v1.7.5 (#92905) (#92946) 2021-02-25 22:06:16 -05:00
.bazelrc chore(NA): manage npm dependencies within bazel (#92864) (#93474) 2021-03-03 15:21:20 -05:00
.bazelrc.common chore(NA): @kbn/pm new commands to support development on Bazel packages (#96465) (#96911) 2021-04-12 22:30:36 -04:00
.bazelversion chore(NA): bazel machinery installation on kbn bootstrap (#89469) (#89521) 2021-01-28 02:42:44 +00:00
.browserslistrc [7.x] [browserslist] remove unnecessary browsers (#89186) (#89250) 2021-01-25 18:22:34 -07:00
.editorconfig .editorconfig MDX files should follow the same rules as MD (#96942) (#97079) 2021-04-14 05:34:57 -04:00
.eslintignore Remove the no longer used release-notes script (#97806) (#97882) 2021-04-21 17:01:18 -04:00
.eslintrc.js [Security Solution] [Cases] Various Cases cleanups (#102103) (#102534) 2021-06-17 15:01:42 -04:00
.fossa.yml
.gitattributes
.gitignore [gitignore] only ignore snapshot.js at the root (#100840) (#101516) 2021-06-07 19:41:09 +00:00
.i18nrc.json [7.x] [Pie] New implementation of the vislib pie chart with es-charts (#83929) (#101292) 2021-06-04 11:15:27 -04:00
.node-version Bump Node.js from version 14.16.1 to 14.17.0 (#100314) (#100336) 2021-05-24 16:38:02 +00:00
.npmrc chore(NA): assure puppeteer_skip_chromium_download is applied across every yarn install situation (#88346) (#88379) 2021-01-14 20:32:48 +00:00
.nvmrc Bump Node.js from version 14.16.1 to 14.17.0 (#100314) (#100336) 2021-05-24 16:38:02 +00:00
.prettierignore [7.x] [dev] Replace sass-lint with stylelint (#86177) (#88498) 2021-01-15 14:36:34 -06:00
.prettierrc
.stylelintignore chore(NA): stop grouping bazel out symlink folders (#96066) (#96085) 2021-04-01 17:34:54 -04:00
.stylelintrc Amsterdam helpers (#93701) (#94323) 2021-03-10 13:36:11 -05:00
.telemetryrc.json [Usage collection] Collect non-default kibana configs (#97368) (#97653) 2021-04-20 13:04:54 -04:00
.yarnrc chore(NA): manage npm dependencies within bazel (#92864) (#93474) 2021-03-03 15:21:20 -05:00
api-documenter.json
BUILD.bazel chore(NA): moving @kbn/analytics into bazel (#98917) (#99134) 2021-05-03 19:44:07 -04:00
CONTRIBUTING.md
FAQ.md
github_checks_reporter.json
Gruntfile.js [7.x] Elastic License 2.0 (#90192) 2021-02-03 18:39:13 -08:00
Jenkinsfile [CI] Don't do CI stats reporting/failures for feature branch PRs (#99668) (#99690) 2021-05-10 18:31:48 -04:00
jest.config.integration.js [7.x] [CI] Combines Jest unit tests (#89948) (#90828) 2021-02-09 17:52:27 -05:00
jest.config.js [7.x] Remove /src/legacy (#95510) (#96283) 2021-04-06 06:08:31 -04:00
kibana.d.ts [7.x] Remove /src/legacy (#95510) (#96283) 2021-04-06 06:08:31 -04:00
LICENSE.txt [7.x] Elastic License 2.0 (#90192) 2021-02-03 18:39:13 -08:00
NOTICE.txt [kbn-ui-shared-deps] Remove outdated polyfills (#96339) 2021-04-12 09:27:52 -05:00
package.json [Security Solution] kbn package for generic hook utils (#101976) (#102539) 2021-06-17 15:21:40 -04:00
preinstall_check.js [7.x] Elastic License 2.0 (#90192) 2021-02-03 18:39:13 -08:00
README.md
renovate.json5 fix brushing on small multiples (#94505) (#94611) 2021-03-15 15:47:18 -04:00
STYLEGUIDE.mdx Syntax in styleguide.mdx is breaking docs build (#99840) (#99859) 2021-05-11 20:12:01 -04:00
tsconfig.base.json fix(NA): windows ts_project outside sandbox compilation (#100947) (#101305) 2021-06-03 14:53:36 -04:00
tsconfig.browser.json
tsconfig.json [7.x] [Pie] New implementation of the vislib pie chart with es-charts (#83929) (#101292) 2021-06-04 11:15:27 -04:00
tsconfig.refs.json [ts] migrate x-pack/test to composite ts project (#101441) (#101651) 2021-06-08 15:04:53 -04:00
tsconfig.types.json
TYPESCRIPT.md
WORKSPACE.bazel chore(NA): upgrade bazel rules nodejs to v3.5.1 (#101412) (#101424) 2021-06-04 16:55:40 -04:00
yarn.lock [Security Solution] kbn package for generic hook utils (#101976) (#102539) 2021-06-17 15:21:40 -04: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.