Go to file
Frank Hassanabad 2f45b6f311
[Security Solutions] end to end tests, adds more console logging, removes 200 expect statements (#116987) (#117147)
## Summary

e2e tests are still seeing flake with conflicts and it looks like it _might_ be with querying and not with inserting data. Hard to tell. This PR:

* Adds more console logging when the response is not a 200
* Removes the 200 expect statement and hopes for the best but should blow up if it's not 200 in a different way and we will get the console logging statements.
* Fixes one other flake with the matrix histogram having different counts. We have encountered this before and are applying the same fix which is to just have it check > 0.
* This does fix the timeouts seen where 1 in every 1k rule runs, a rule will not fire until _after_ the 5 minute mark. The timeouts were seen when running the flake runner.

Flake failures around `conflict`:
https://github.com/elastic/kibana/issues/116926
https://github.com/elastic/kibana/issues/116904
https://github.com/elastic/kibana/issues/116231

Not saying this is going to fix those yet, but it's the last 200 ok's we did an expect on, so it might if we are ignoring the conflict. If it fails again I am hopeful beyond hope that we get the body message and line number within the utilities to determine where/why we are getting these from time to time. It does look to fix the timeouts when a rule misfires and slows down the rate at which we continuously query for rule results.

Failure around matrix histogram (The error messages are slightly different on CI each time):
https://github.com/elastic/kibana/issues/97365

Ran this with the flake runner across groups 11 and 12 100 times each and did not see the conflict crop up:
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/128
https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/129

The 1 failure in each of those runs were due to something on startup that prevented it from running.

### Checklist

Delete any items that are not applicable to this PR.

- [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios

# Conflicts:
#	x-pack/test/detection_engine_api_integration/utils.ts

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-11-02 18:58:11 +00:00
.buildkite [buildkite] Add Docker CI Group to flaky test job (#116307) (#116340) 2021-11-01 22:38:04 +00:00
.ci [7.16] chore(NA): generic config changes for renaming 7.x into 7.16 (#115779) 2021-10-20 10:00:44 -07:00
.github/ISSUE_TEMPLATE Improve APM issue template (#109561) (#109778) 2021-08-24 04:03:21 -04:00
api_docs Updates Github link references from master to main (#116789) (#116792) 2021-10-29 10:08:30 -07:00
config [7.x] Bump node to 16.11.1 (#115298) 2021-10-16 16:22:17 -05:00
dev_docs Updates Github link references from master to main (#116789) (#116792) 2021-10-29 10:08:30 -07:00
docs [7.x] Remove any in embeddables (#110023) (#112544) 2021-11-02 15:28:51 +00:00
examples Updates Github link references from master to main (#116789) (#116792) 2021-10-29 10:08:30 -07:00
licenses [7.x] Elastic License 2.0 (#90192) 2021-02-03 18:39:13 -08:00
packages [7.16] [APM] Optimize synthtrace (#116091) (#116761) 2021-11-01 13:50:39 +00:00
plugins
rfcs Updates Github link references from master to main (#116789) (#116792) 2021-10-29 10:08:30 -07:00
scripts [kbn/optimizer] dll @babel/runtime modules used by entry bundles (#113453) (#116871) 2021-10-30 02:25:42 +01:00
src [TSVB] [Timelion] Brushing is broken for the string mode (#117106) (#117145) 2021-11-02 17:08:15 +00:00
test stabilize combo box selection (#116577) (#117165) 2021-11-02 18:36:23 +00:00
typings [Fix] Replace Osquery query parser lib (#113425) (#113467) 2021-09-29 16:34:45 -04:00
vars adds lists plugin to security solution cypress tests execution (#116442) (#116494) 2021-10-27 23:42:10 +01:00
x-pack [Security Solutions] end to end tests, adds more console logging, removes 200 expect statements (#116987) (#117147) 2021-11-02 18:58:11 +00:00
.backportrc.json chore(NA): adds backport config for 8.1.0 bump (#116431) (#116499) 2021-10-27 16:35:43 -04:00
.bazelignore chore(NA): stop grouping bazel out symlink folders (#96066) (#96085) 2021-04-01 17:34:54 -04:00
.bazeliskversion Development and build support for ARM based Apple devices (#114879) (#115663) 2021-10-19 20:34:47 -04:00
.bazelrc [bazel] Remove Bazel cache for now (#116351) (#116355) 2021-10-26 12:08:02 -07:00
.bazelrc.common [ci] Disable Bazel cache on CI (#115428) (#115660) 2021-10-20 02:53:07 +01:00
.bazelversion Development and build support for ARM based Apple devices (#114879) (#115663) 2021-10-19 20:34:47 -04: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 [kbn/ui-shared-deps] split into two packages (#110558) (#112475) 2021-09-16 18:02:17 -04:00
.eslintrc.js [kibanaUtils] Don't import full semver client side (#114986) (#115343) 2021-10-18 10:32:38 -04:00
.fossa.yml
.gitattributes
.gitignore [build] Add cloud docker images (#107949) (#111818) 2021-09-10 00:13:19 -04:00
.i18nrc.json [MetricVis] Move the expression function and renderer to a separate plugin. (#113427) (#114384) 2021-10-08 04:28:29 -04:00
.node-version [7.x] Bump node to 16.11.1 (#115298) 2021-10-16 16:22:17 -05:00
.npmrc
.nvmrc [7.x] Bump node to 16.11.1 (#115298) 2021-10-16 16:22:17 -05:00
.prettierignore
.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 [build_ts_refs] improve caches, allow building a subset of projects (#107981) (#108139) 2021-08-11 05:08:54 -04:00
CONTRIBUTING.md Update doc slugs to improve analytic tracking, move to appropriate folders (#113630) (#113862) 2021-10-04 20:43:23 -04:00
FAQ.md
github_checks_reporter.json
Jenkinsfile [CI] Disable tracked branch jobs in Jenkins, enable reporting in Buildkite (#112604) (#112684) 2021-09-21 13:57:58 -04:00
jest.config.integration.js chore(NA): introduce preset for jest-integration tests on @kbn/test (#105144) (#105667) 2021-07-14 22:05:07 +00:00
jest.config.js [Canvas] Expression tagcloud (#108036) (#109627) 2021-08-23 09:58:32 -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 [Detections] Adds automatic updating for Prebuilt Security Detection Rules package (#101846) (#103366) 2021-06-28 17:13:25 +00:00
package.json Upgrade cheerio dependency (1.0.0-rc.91.0.0-rc.10). (#116737) (#116827) 2021-10-29 21:51:03 +01:00
preinstall_check.js [7.x] Elastic License 2.0 (#90192) 2021-02-03 18:39:13 -08:00
README.md STYLEGUIDE reference .md => .mdx (#107440) (#107456) 2021-08-02 15:17:17 -04:00
STYLEGUIDE.mdx Updates Github link references from master to main (#116789) (#116792) 2021-10-29 10:08:30 -07:00
tsconfig.base.json Adds missing DOM.Iterable (#115218) (#115419) 2021-10-18 19:52:42 +00:00
tsconfig.bazel.json [build_ts_refs] improve caches, allow building a subset of projects (#107981) (#108139) 2021-08-11 05:08:54 -04:00
tsconfig.browser.json
tsconfig.browser_bazel.json [build_ts_refs] improve caches, allow building a subset of projects (#107981) (#108139) 2021-08-11 05:08:54 -04:00
tsconfig.json [build_ts_refs] improve caches, allow building a subset of projects (#107981) (#108139) 2021-08-11 05:08:54 -04:00
tsconfig.types.json [build_ts_refs] improve caches, allow building a subset of projects (#107981) (#108139) 2021-08-11 05:08:54 -04:00
TYPESCRIPT.md
WORKSPACE.bazel Development and build support for ARM based Apple devices (#114879) (#115663) 2021-10-19 20:34:47 -04:00
yarn.lock Upgrade cheerio dependency (1.0.0-rc.91.0.0-rc.10). (#116737) (#116827) 2021-10-29 21:51:03 +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.