Go to file
Frank Hassanabad 33352d6911
Fix unstyled content to favor when we have data for now and remove errors from overview page (#38732)
## Summary

  * Changed types to allow null since we can return null and this makes GraphQL happy
  * Changed the indexes to try and query when they are undefined
  * Tested this with bad indexes and good indexes

Fixes this issue below:
![no-indicies](https://user-images.githubusercontent.com/1151048/59315902-08ea1200-8c79-11e9-8074-19b1085dbba2.gif)

Fixes this as well from the GraphQL
<img width="952" alt="Screen Shot 2019-06-11 at 6 04 21 PM" src="https://user-images.githubusercontent.com/1151048/59315911-11dae380-8c79-11e9-8cc4-8a48cf52e970.png">

This DOES show an initial loading when you have no indexes or data as a flash of unstyled content but that is a good trade off to me.

### 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~~

- [x] [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)~~
2019-06-11 20:15:26 -06:00
.ci Split ciGroup3 and ciGroup5 (#36928) 2019-05-24 14:20:43 -05:00
.github Implement renovate config generator (#38369) 2019-06-07 13:30:59 -07:00
bin Bump node to 10.15.1 (#27918) 2019-02-05 16:06:59 -06:00
common/graphql [Uptime] Implement EuiSuperDatePicker (#28217) 2019-01-18 13:44:58 -05:00
config Add language codes in comment (#37635) 2019-06-06 16:41:01 -07:00
data
docs Make SAML realm name configurable (#37346) 2019-06-11 19:05:20 +03:00
licenses
packages Update dependency yo to v2.0.6 (#38705) 2019-06-11 16:18:14 -07:00
plugins
rfcs [rfc] Adds RFC for saved objects encrypted attributes. (#33740) 2019-04-30 08:31:02 +02:00
scripts Implement renovate config generator (#38369) 2019-06-07 13:30:59 -07:00
src Make SAML realm name configurable (#37346) 2019-06-11 19:05:20 +03:00
style_guides Point to EUI for SASS/CSS guidelines (#27415) 2018-12-18 14:39:38 -05:00
tasks [jest] don't be crazy, run with caching enabled (#38332) 2019-06-06 16:56:52 -07:00
test Support for date_nanos type timestamps in context view (#38023) 2019-06-11 15:04:54 +02:00
typings Migrate from tslint (#33826) 2019-04-05 17:45:23 +01:00
utilities Only using known handlers with handlebars (#27061) 2018-12-17 08:29:37 -08:00
webpackShims Improve dll plugin relation with webpackshims (#30129) 2019-02-22 01:45:42 +00:00
x-pack Fix unstyled content to favor when we have data for now and remove errors from overview page (#38732) 2019-06-11 20:15:26 -06:00
.backportrc.json Updates backport branches (#36957) 2019-05-22 20:51:06 -07:00
.browserslistrc
.editorconfig [editorconfig] disable insert_final_newline for package.json 2019-04-18 09:44:17 -07:00
.eslintignore Pin dependencies (#37404) 2019-05-29 20:34:52 -07:00
.eslintrc.js [TSVB] Turn Prettier on (#38106) 2019-06-11 16:14:22 +03:00
.gitattributes [canvas] Color fixes + Storybook 5 (#34075) 2019-04-02 11:21:51 -05:00
.gitignore [dev/license_checker][dev/npm] reactor, ts-ify, de-grunt (#37807) 2019-06-06 10:16:19 -07:00
.i18nrc.json [Canvas] Fixes i18n errors (#37565) 2019-05-30 17:32:11 -07:00
.node-version Bump node to 10.15.2 (#32200) 2019-02-28 10:48:42 -06:00
.nvmrc Bump node to 10.15.2 (#32200) 2019-02-28 10:48:42 -06:00
.prettierrc
.sass-lint.yml Dark mode fixes for Visualize charts, TSVB, and Timelion (#30478) 2019-02-14 11:46:56 -05:00
.yarnrc [kbn-pm] Use yarn workspaces for dependencies (#24095) 2018-11-12 12:38:11 -06:00
CONTRIBUTING.md [DOCS] Update dev env instructions in CONTRIBUTING.md (#38580) 2019-06-10 23:28:29 -04:00
FAQ.md
github_checks_reporter.json implementing github checks - second attempt (#35757) 2019-05-01 16:02:33 -05:00
Gruntfile.js
kibana.d.ts Migrate from tslint (#33826) 2019-04-05 17:45:23 +01:00
LICENSE.txt
NOTICE.txt [ML] Job Selector - remove old job selector directory (#36697) 2019-05-21 12:30:24 -04:00
package.json Update dependency yauzl to v2.10.0 (#38704) 2019-06-11 16:17:50 -07:00
preinstall_check.js
README.md Update paths to ui, server, deprecation, plugin_discovery in src/legacy 2019-02-11 10:41:37 -05:00
renovate.json5 Implement renovate config generator (#38369) 2019-06-07 13:30:59 -07:00
STYLEGUIDE.md Point to EUI for SASS/CSS guidelines (#27415) 2018-12-18 14:39:38 -05:00
tsconfig.browser.json
tsconfig.json Warn in Typescript when using Array.flat() or .flatMap() without polyfill (#37558) 2019-06-03 13:52:38 -04:00
tsconfig.types.json Generate core API docs from TSDoc comments (#32148) 2019-04-03 12:26:00 +02:00
TYPESCRIPT.md Migrate from tslint (#33826) 2019-04-05 17:45:23 +01:00
yarn.lock Update dependency yo to v2.0.6 (#38705) 2019-06-11 16:18:14 -07: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.