No description
Find a file
Devin W. Hurley a75909eecb
[Security Solution] [Detections] Fixes messaging for when an index is missing a timestamp field to sort on (#87489)
* partial failure if unmapped timestamp override field or unmapped @timestamp field

* fixes unit tests

* fix threat match rules integration tests

* unskip integration test for partial failure when not all indices have timestamp override field

* replace ts-expect-error in test with a partial type

* use destructured param and != null for ternary

* fix typo in utils.test.ts

* remove unnecessary optional chaining

* replace logger.debug with logger.error and update test case for threat match integration test to search auditbeat-* instead of empty index causing it to search wrong indicies like .kibana, etc..

* adds unit test to write a success when all shard failure messages are no mapping found for a timestamp field, moves privilege check and timestamp field cap check into utility functions and updates code to be more functional

* need to write an error, not a partial failure, if the rule cannot read ANY of the indices provided

* use isEmpty for checking timestamp override field param and remove let from hasReadIndexPrivileges util function

* replace references to helpers/toPromise | toError to use common/fp_utils, remove unnecessary flow wrappers, no need for checking if timestampField is null since it is typed as string and we do the checking beforehand, add a const bool to clean up logic for getting timestampFieldOverride

* replace usage of flow with pipe to make arguments explicit
2021-01-19 15:54:05 -05:00
.ci chore(NA): remove mocha junit ci integrations (#88129) 2021-01-15 21:17:25 +00:00
.github Revert "Adding newline to the CODEOWNERS (#88705)" (#88708) 2021-01-19 09:35:14 -08:00
.teamcity [CI] Fix trailing comma in TeamCity job DSL (#88533) 2021-01-19 11:32:10 -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 [SavedObjects] Allow migrations to be a function (#88594) 2021-01-19 18:37:48 +02:00
examples [Core] Remove public context (#88448) 2021-01-18 21:47:53 +01:00
licenses
packages chore(NA): remove mocha junit ci integrations (#88129) 2021-01-15 21:17:25 +00:00
plugins
rfcs [Search Sessions] Replace search session constants with kibana.yml configs (#88023) 2021-01-15 01:14:02 +02:00
scripts chore(NA): remove mocha junit ci integrations (#88129) 2021-01-15 21:17:25 +00:00
src Remove circular depencency between maps_legacy and region_map and tile_map plugins (#88265) 2021-01-19 13:40:24 -07:00
tasks/config [build] Migrate grunt license:csv_report to script (#86001) 2021-01-13 09:50:51 -06:00
test [SavedObjects] Allow migrations to be a function (#88594) 2021-01-19 18:37:48 +02:00
typings
utilities
vars [CI] Gate TeamCity PR commit statuses (#88526) 2021-01-19 11:31:57 -05:00
x-pack [Security Solution] [Detections] Fixes messaging for when an index is missing a timestamp field to sort on (#87489) 2021-01-19 15:54:05 -05:00
.backportrc.json [backportrc] Adds 7.11 branch and bumps 7.x (#86131) 2020-12-16 10:10:39 -08:00
.browserslistrc
.editorconfig
.eslintignore [@kbn/ui-framework] Removes all but dist files (#85347) 2020-12-10 08:23:33 -08:00
.eslintrc.js chore(NA): remove mocha junit ci integrations (#88129) 2021-01-15 21:17:25 +00:00
.fossa.yml
.gitattributes
.gitignore [@kbn/ui-framework] Removes all but dist files (#85347) 2020-12-10 08:23:33 -08:00
.i18nrc.json
.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
.prettierignore [dev] Replace sass-lint with stylelint (#86177) 2021-01-15 11:52:29 -06:00
.prettierrc Increase prettier line width to 100 (#20535) 2018-07-09 22:50:37 +02:00
.stylelintignore [dev] Replace sass-lint with stylelint (#86177) 2021-01-15 11:52:29 -06:00
.stylelintrc [dev] Replace sass-lint with stylelint (#86177) 2021-01-15 11:52:29 -06:00
.telemetryrc.json
.yarnrc
api-documenter.json
CONTRIBUTING.md
FAQ.md
github_checks_reporter.json
Gruntfile.js
Jenkinsfile
jest.config.integration.js
jest.config.js
jest.config.oss.js [coverage] re-enable jest (#85946) 2020-12-16 20:20:55 +01:00
kibana.d.ts
LICENSE.txt
NOTICE.txt 🍾 update notice text for 2021 2021-01-01 01:26:53 -07:00
package.json chore(NA): upgrade node archiver (#88636) 2021-01-19 18:11:16 +00:00
preinstall_check.js
README.md Fix "Getting started" link in README (#84153) 2020-11-23 15:33:02 -05:00
renovate.json5
SECURITY.md Add security policy to the Kibana repository (#85407) 2020-12-10 09:26:00 -05:00
STYLEGUIDE.md
tsconfig.base.json
tsconfig.browser.json
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
TYPESCRIPT.md
yarn.lock chore(NA): upgrade node archiver (#88636) 2021-01-19 18:11:16 +00: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.