Go to file
Spencer f7832a514c
[ftr] add ability to get included/excluded test counts (#25760)
## Summary

This pr adds a `--test-stats` flag to the functional test runner that will allow extracting information from a specific config/tags combo about how many tests will run and how many are excluded. This is necessary as part of https://github.com/elastic/kibana/pull/22359 so we can effectively ignore specific configs (avoiding starting es and kibana) when there aren't any tests that will be run.

### Checklist

Use ~~strikethroughs~~ to remove checklist items you don't feel are applicable to this PR.

~~- [ ] This was checked for cross-browser compatibility, [including a check against IE11](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility)~~
~~- [ ] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/master/packages/kbn-i18n/README.md)~~
~~- [ ] [Documentation](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#writing-documentation) was added for features that require explanation or tutorials~~
~~- [ ] [Unit or functional tests](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility) were updated or added to match the most common scenarios~~
~~- [ ] This was checked for [keyboard-only and screenreader accessibility](https://developer.mozilla.org/en-US/docs/Learn/Tools_and_testing/Cross_browser_testing/Accessibility#Accessibility_testing_checklist)~~

### For maintainers

~~- [ ] This was checked for breaking API changes and was [labeled appropriately](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process)~~
~~- [ ] This includes a feature addition or change that requires a release note and was [labeled appropriately](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process)~~
2018-11-16 15:48:07 -08:00
.ci [ci] add basic packer_cache script to test it out 2018-11-15 22:40:15 -08:00
.github Add APM UI to codeowners (#25218) 2018-11-07 10:27:29 +01:00
bin [bin/windows] Remove title (#21567) 2018-08-03 06:53:54 -05:00
config Set kibana locale in kibana.yml config (#21201) 2018-08-02 14:43:22 +03:00
data
docs [Docs/Reporting] Include working config example for multiple kibana.index (#25410) 2018-11-16 10:08:58 -07:00
licenses
packages [kbn/es] add --download flag to snapshot command to warm the cache (#25830) 2018-11-16 15:11:43 -08:00
plugins
scripts Remove husky (#24887) 2018-11-15 01:34:45 +00:00
src [ftr] add ability to get included/excluded test counts (#25760) 2018-11-16 15:48:07 -08:00
style_guides Update js_style_guide.md 2018-10-25 16:27:36 -05:00
tasks [kbn-pm] Use yarn workspaces for dependencies (#24095) 2018-11-12 12:38:11 -06:00
test Timefilter should return strings instead of moments (#25625) 2018-11-15 17:12:37 -07:00
utilities Apache 2.0 license headers (#19383) 2018-05-28 20:06:30 -07:00
webpackShims add polyfill for ChildNode remove (#21797) 2018-08-10 15:21:11 -06:00
x-pack [ML] Add checkbox to enable model plot in Advanced job wizard (#25468) 2018-11-16 13:41:08 -08:00
.backportrc.json [backport] add back earlier 6.x minor versions 2018-10-26 11:05:30 -04:00
.browserslistrc Convert all Less files to Sass in Dashboard, using EUI variable scope (#21374) 2018-08-14 19:05:33 -04:00
.editorconfig
.eslintignore [canvas] move yarn scripts to node scripts (#25258) 2018-11-07 10:53:06 -08:00
.eslintrc.js [canvas] move yarn scripts to node scripts (#25258) 2018-11-07 10:53:06 -08:00
.gitignore update gitignore and remove monitoring css file (#21962) 2018-08-14 10:56:40 -07:00
.i18nrc.json [i18n] Translations for Monitoring: Cluster and Alerts (#24736) 2018-11-16 15:03:17 +03:00
.node-version Bump node to 8.11.4 (#22048) 2018-08-16 13:05:17 -05:00
.nvmrc Bump node to 8.11.4 (#22048) 2018-08-16 13:05:17 -05:00
.prettierrc Increase prettier line width to 100 (#20535) 2018-07-09 22:50:37 +02:00
.yarnrc [kbn-pm] Use yarn workspaces for dependencies (#24095) 2018-11-12 12:38:11 -06:00
CONTRIBUTING.md Update "Debugging server code" instructions in CONTRIBUTING.md (#25397) 2018-11-08 13:15:03 -07:00
FAQ.md
Gruntfile.js Apache 2.0 license headers (#19383) 2018-05-28 20:06:30 -07:00
LICENSE.txt
NOTICE.txt Graph LESS to SASS (#23348) 2018-09-20 09:35:22 -04:00
package.json Remove husky (#24887) 2018-11-15 01:34:45 +00:00
preinstall_check.js Apache 2.0 license headers (#19383) 2018-05-28 20:06:30 -07:00
README.md Remove version and snapshots from readme (#25747) 2018-11-15 17:49:36 -05:00
STYLEGUIDE.md Add a typescript readme (#23841) 2018-10-17 08:10:48 -04:00
tsconfig.browser.json [typescript] continue to use the default config in development (#21966) 2018-08-14 15:27:07 -07:00
tsconfig.json Spaces Phase 1 (#21408) 2018-10-01 07:09:33 -04:00
tsconfig.types.json Add Kibana bootstrap step to generate types exposed by the core and its plugins. (#23686) 2018-10-05 21:00:26 +02:00
tslint.yaml Upgrade to TypeScript 3 (#22792) 2018-09-11 08:38:41 +03:00
TYPESCRIPT.md Add a typescript readme (#23841) 2018-10-17 08:10:48 -04:00
yarn.lock [I18n] Inject Intl Polyfill to PhantomJS (#25465) 2018-11-16 11:06:26 +03: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.