Go to file
Ryland Herrick e60cfa09ae
[Security Solution][Detections] Convert EQL validation to use search strategy (#79538)
* Rename types from the top-level plugin

These are the same types with a different name. However, the benefit is
that they exist in a non-restricted path (the top level of the plugin).

* Convert our validation function to use the EQL search strategy

Rather than calling our custom EQL validation endpoint, we can instead
leverage the EQL search strategy. The downside is that we have to move
our response parsing logic to the frontend, but the benefit is that
there's no backend to maintain.

* Remove server code related to our EQL validation endpoint

We're keeping our io-ts schemas for now since they're still being used
to type the I/O of our client function.

* Add the data contract to our KibanaServices

I'm not aware of a way to pass react context to the form lib validator
functions, so for now we have to pass this the ugly way :(

* Remove io-ts types corresponding to our defunct validation endpoint

We were keeping these around for the types, but they're so simple that
it's really not worth the overhead. The tests are similarly for
functionality that is no longer used, so no hard feelings there.

* Ensure that our validation does not bother generating hits

We only care about the query's validity, so we can tell the response
handler to do less work here.

* Pass transport options when retrieving an existing search

Without passing transport options to .get, a query with an `ignore`
would succeed if it completed in the `waitForCompletionTimeout` window,
but fail (with the ignored error) on the subsequent request if it became
async.

* Use constant for our strategy key

* Export search strategy constants for client consumption

Common values cannot be consumed directly by client code (compilation
error), so we need to re-export them from data_enhanced's public module.
2020-10-06 20:45:57 -05:00
.ci [QA][Code Coverage] Upload the coverage static site before ingestion (#78695) 2020-09-29 08:29:22 -06:00
.github Renames "Built-In Alerts" feature to "Stack Alerts" and "Actions" feature to "Actions and Connectors" (#79513) 2020-10-06 17:51:05 +01:00
common/graphql
config Remove unused elasticsearch.preserverHost setting (#78608) 2020-09-30 10:39:08 +02:00
data
docs [Docs] Update developer docs for create/bulkCreate initialNamespaces (#79769) 2020-10-06 18:00:23 -04:00
examples [data.ui] Lazy load UI components in data plugin. (#78889) 2020-10-06 07:23:58 -06:00
licenses
packages [ML] Replace swim lane implementation with elastic-charts Heatmap (#79315) 2020-10-06 20:51:23 +02:00
plugins [dev/cli] ensure plugins/ and all watch source dirs exist (#78973) 2020-09-30 10:20:44 -07:00
rfcs [RFC][Search] Background sessions RFC (#73281) 2020-10-05 19:18:30 +03:00
scripts Warn users when security is not configured (#78545) 2020-10-05 19:47:17 -04:00
src unset doc title (#79692) 2020-10-06 20:39:09 -05:00
tasks Warn users when security is not configured (#78545) 2020-10-05 19:47:17 -04:00
test Give user the option to log out if they encounter a 403 (#75538) 2020-10-06 20:40:28 +02:00
typings [ts] enable "resolveJsonModule" and disable existing failures (#78855) 2020-09-30 15:44:43 -07:00
utilities apply prettier styles 2020-05-22 09:08:58 +02:00
vars chore(NA): assures a single version for the same dependency across the entire project (#78825) 2020-10-02 00:46:00 +01:00
x-pack [Security Solution][Detections] Convert EQL validation to use search strategy (#79538) 2020-10-06 20:45:57 -05:00
.backportrc.json chore(NA): setup backport tool for 7.9 and the new 7.x (#71861) 2020-07-15 09:32:13 -07:00
.browserslistrc Aligns BrowserList config with Support Matrix (#71876) 2020-07-16 10:56:07 -07:00
.editorconfig [editorconfig] disable insert_final_newline for package.json 2019-04-18 09:44:17 -07:00
.eslintignore chore(NA): add elastic prefix to eslint-config-kibana (#76059) 2020-08-31 20:13:06 +01:00
.eslintrc.js Renames "Built-In Alerts" feature to "Stack Alerts" and "Actions" feature to "Actions and Connectors" (#79513) 2020-10-06 17:51:05 +01:00
.fossa.yml Adds FOSSA CLI configuration file (#70137) 2020-07-02 08:37:37 -07:00
.gitattributes [canvas] Color fixes + Storybook 5 (#34075) 2019-04-02 11:21:51 -05:00
.gitignore Introduce TS incremental builds & move src/test_utils to TS project (#76082) 2020-09-03 14:20:04 +02:00
.i18nrc.json [Core UI] Kibana Overview Page (#75827) 2020-10-06 09:13:31 -07:00
.node-version Update Node.js to version 10.22.1 (#77619) 2020-09-16 18:51:50 +02:00
.nvmrc Update Node.js to version 10.22.1 (#77619) 2020-09-16 18:51:50 +02:00
.prettierrc
.sass-lint.yml Empty index patterns page re-design (#68819) 2020-08-12 15:58:16 -05:00
.telemetryrc.json [Usage Collection] [schema] ui_metric (#78827) 2020-10-01 08:22:51 +01:00
.yarnrc
api-documenter.json Normalize EOL symbol in platform docs (#56021) 2020-01-27 18:42:45 +01:00
CONTRIBUTING.md Improvements to our developer guide (#67764) 2020-07-13 10:47:01 -04:00
FAQ.md
github_checks_reporter.json implementing github checks - second attempt (#35757) 2019-05-01 16:02:33 -05:00
Gruntfile.js apply prettier styles 2020-05-22 09:08:58 +02:00
Jenkinsfile [CI] Add pipeline task queue framework and merge workers into one (#71268) 2020-08-04 13:13:51 -04:00
kibana.d.ts Remove legacy plugins support (#77599) 2020-09-23 09:52:51 +02:00
LICENSE.txt
NOTICE.txt [kbn/optimizer] implement more efficient auto transpilation for node (#79052) 2020-10-02 18:36:25 -07:00
package.json [ML] Replace swim lane implementation with elastic-charts Heatmap (#79315) 2020-10-06 20:51:23 +02:00
preinstall_check.js
README.md Remove legacy optimizer (#73154) 2020-08-13 09:08:44 -07:00
renovate.json5 [renovate] looks like team slug might just be kibana-app 2020-09-24 10:10:17 -07:00
STYLEGUIDE.md Remove legacy optimizer (#73154) 2020-08-13 09:08:44 -07:00
tsconfig.base.json [ts] enable "resolveJsonModule" and disable existing failures (#78855) 2020-09-30 15:44:43 -07: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 build all ts refs in single kbn:bootstrap (#79438) 2020-10-06 08:33:24 +02:00
tsconfig.refs.json Add TS projects for src/plugins & x-pack/plugins (#78440) 2020-09-30 15:02:41 +02: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 [ML] Replace swim lane implementation with elastic-charts Heatmap (#79315) 2020-10-06 20:51:23 +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.