Your window into the Elastic Stack
Find a file
Stéphane Campinas bc61824fd8 add top_hit metric (#9809)
Backports PR #7302

**Commit 1:**
add top_hits aggregation

* Original sha: 22bab6246e
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-05-26T22:02:08Z

**Commit 2:**
support nested fields

* Original sha: 8aef2b8f42
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-11T14:57:35Z

**Commit 3:**
added choice of the order and select by default the index pattern associated time field

* Original sha: 9791ac50e4
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-14T21:08:00Z

**Commit 4:**
improved parameters name and changed aggregation from latest to top to better reflect what this aggregation may accomplish

* Original sha: 692f41cc6f
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-22T20:32:12Z

**Commit 5:**
made variable a constant

* Original sha: 39cddab05c
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-07-01T22:42:13Z

**Commit 6:**
use shorter name for variable

* Original sha: c6494ccc9c
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-07-27T08:50:44Z

**Commit 7:**
prevent to sort terms on top_hits

* Original sha: b365ddc797
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-08-28T09:47:47Z

**Commit 8:**
Added the top_hits agg to line/pie/tile vis. Added support for function in prop_filter to allow more flexibility when filtering the list of values. The _term order is now the default ordering instead of _custom.

* Original sha: be44e905af
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-09-19T14:53:48Z

**Commit 9:**
simplified tests

* Original sha: 43767f0929
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-10-11T09:29:11Z

**Commit 10:**
changed as per code review

* Original sha: 53469d51a6
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-10-11T21:49:36Z

**Commit 11:**
Top Hit should support all field types on the metric vis

* Original sha: 20be95006f
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-10-17T21:18:31Z

**Commit 12:**
renamed metric to top hit

* Original sha: 20cbb12e67
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-10-17T21:28:30Z

**Commit 13:**
check if there is any result from buckets

* Original sha: b99d6c76dd
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-10-18T09:13:19Z

**Commit 14:**
support scripted fields

* Original sha: f79cdc1531
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-10-23T20:58:55Z

**Commit 15:**
Merge branch 'master' of github.com:elastic/kibana into latest-value

* Original sha: 82060ce91f
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-11-01T09:47:19Z

**Commit 16:**
Merge branch 'master' of github.com:elastic/kibana into latest-value

* Original sha: 257729868c
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-11-12T11:30:42Z

**Commit 17:**
- added logic for trying to get the field value from the source or from a
  doc_values field.
- added onlyAggregatable option for a field agg param to decide whether
  or not to retain only aggregatable fields.

* Original sha: 6a2bc0188c
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-11-13T12:34:10Z

**Commit 18:**
improved loops in getValuesAtPath method

* Original sha: 991864cdd3
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-11-16T10:10:28Z

**Commit 19:**
Merge branch 'master' of github.com:elastic/kibana into latest-value

* Original sha: bc1c90ac06
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-11-17T23:51:13Z

**Commit 20:**
do not try to get the doc_values field of an IP field

* Original sha: d697f11ca1
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-11-18T00:49:34Z

**Commit 21:**
improved field tests on the onlyAggregatable option

* Original sha: c2249e525f
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-11-18T01:08:34Z

**Commit 22:**
use indexPattern.formatField to get all the values at a given path

* Original sha: f4200e1bc0
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-11-19T23:02:18Z

**Commit 23:**
do not show the analyzed warning

* Original sha: 2dda53dfb7
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-11-19T23:30:59Z

**Commit 24:**
support to sort on scripted field

* Original sha: eda9610fa2
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-11-19T23:52:15Z

**Commit 25:**
corrected tests and rely on the field's formatter instead of trying to return a nice string

* Original sha: b465438176
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-11-20T14:40:43Z

**Commit 26:**
do not rely on init_default_field_props to set the doc_values property

* Original sha: 19e2104745
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-11-21T23:11:29Z

**Commit 27:**
added test for the doc_values property

* Original sha: fd323f3c2a
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-11-23T10:04:16Z

**Commit 28:**
Merge branch 'master' of github.com:elastic/kibana into latest-value

* Original sha: cfed72ec95
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-12-05T15:47:45Z

**Commit 29:**
- corrected source formatter
- add option to show/hide analyzed warning of a field

* Original sha: 30901820de
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-12-05T22:40:14Z

**Commit 30:**
set the default value of the showAnalyzedWarning in fieldparam

* Original sha: 0d924fc73d
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-12-08T16:29:46Z

**Commit 31:**
added description of the showAnalyzedWarning option

* Original sha: 7f85803f73
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-12-08T16:39:07Z

**Commit 32:**
use aggParam object to access the options of the field parameter

* Original sha: ef95cebf3f
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-12-09T10:54:51Z

**Commit 33:**
flattenHit: support object in array

* Original sha: b64f92a90e
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-12-10T23:36:45Z

**Commit 34:**
added aggregation option to support multivalued fields and top_hits aggregation with a size different than 1

* Original sha: e18a30d292
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-12-17T13:49:17Z

**Commit 35:**
disable concatenate aggregation type for visualizations other than table and metric

* Original sha: 2a2fa67d2a
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-12-17T15:00:08Z

**Commit 36:**
corrected display of arrays in the metric vis

* Original sha: eb70e84a56
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-12-17T15:27:36Z

**Commit 37:**
removed condition on the IP field type when retrieving doc values

* Original sha: d19ba5698c
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-12-17T21:30:47Z

**Commit 38:**
- do not set a default value for the aggregate with property since it is

* Original sha: 66d3b31778
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-12-21T23:04:12Z

**Commit 39:**
filter out incompatble aggregate options and auto select the option if there is only one

* Original sha: 1bd472755d
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-12-28T17:14:21Z

**Commit 40:**
simplified condition

* Original sha: 5babf9a512
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-12-28T23:49:46Z

**Commit 41:**
lint

* Original sha: 7372fced4b
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-12-30T19:43:08Z

**Commit 42:**
fix min/max/sum/average aggregate of elements having only null/undefined values

* Original sha: 0791be7914
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2017-01-03T10:40:16Z

**Commit 43:**
added top_hits metric to heatmap visualization

* Original sha: c967a2344d
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2017-01-03T11:16:56Z
2017-01-11 13:55:09 +01:00
.github Add elasticsearch version to issue template 2016-07-25 11:00:27 -05:00
bin [plugin cli] Wrap arguments in quotes to preserve whitespace (#9124) 2016-11-17 10:48:58 -06:00
config replace non-US-ASCII characters in kibana.yml (#9240) 2016-11-29 09:44:58 -05:00
data [folder structure] plugins/.data -> data 2016-07-05 14:06:16 -05:00
docs Update date pattern in tutorial-define-index (#9808) 2017-01-09 19:41:39 -05:00
maps Point kibana map config at tiles.elastic.co AWS. 2016-07-25 16:20:54 -07:00
optimize [optimize] ensure the optimize directory exists with a .empty file 2015-11-02 10:36:20 -06:00
plugins [folder structure] plugins/.data -> data 2016-07-05 14:06:16 -05:00
src add top_hit metric (#9809) 2017-01-11 13:55:09 +01:00
style_guides Explain rationale of HTML bracket formatting in HTML style guide. (#9631) 2016-12-23 12:18:01 -08:00
tasks Remove libsass as a dependency (#9803) (#9812) 2017-01-09 21:11:26 -08:00
test Close timepicker when a filter/interval is selected (#9618) 2017-01-10 14:57:41 -07:00
ui_framework Remove libsass as a dependency (#9803) (#9812) 2017-01-09 21:11:26 -08:00
utilities Update visualRegression task to use Handlebars instead of DoT templates. 2016-06-21 10:42:49 -07:00
webpackShims [webpack] upgrade to @elastic/webpack-directory-name-as-main v2 (#9601) (#9540) 2016-12-22 09:39:55 -07:00
.editorconfig Apply the same editorconfig rules to both markdown and asciidoc files 2016-09-07 11:41:41 -04:00
.eslintignore [webpack] fix loader query string usage (#9515) 2016-12-16 15:13:53 -07:00
.eslintrc Upgrade eslint (#9449) 2016-12-12 15:49:09 -07:00
.gitignore Remove libsass as a dependency (#9803) (#9812) 2017-01-09 21:11:26 -08:00
.node-version Backport PR #8733 2016-10-18 20:06:12 -04:00
.npmrc Removes "global-style" setting for npm (#9258) 2016-11-29 15:46:27 -05:00
.travis.yml add travis config 2016-03-10 23:13:02 -07:00
CONTRIBUTING.md Add a notice about the port to access Kibana. (#9626) 2016-12-23 14:13:35 -05:00
FAQ.md Fix broken links in FAQ.md 2016-02-11 22:42:53 +01:00
Gruntfile.js Upgrade eslint (#9449) 2016-12-12 15:49:09 -07:00
LICENSE.md updating licence.md year to 2016 2016-08-02 13:31:02 +02:00
package.json Remove libsass as a dependency (#9803) (#9812) 2017-01-09 21:11:26 -08:00
README.md Bump to 5.3.0 2017-01-04 16:35:40 -05:00
STYLEGUIDE.md Current styleguide conventions with modern JS (#8929) 2016-11-01 21:23:39 -04:00

Kibana 5.3.0

Kibana is your window into the Elastic Stack. Specifically, it's an open source (Apache Licensed), 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 may want to build Kibana locally to contribute some code, test out the latest features, or try out an open PR:

Snapshot Builds

For the daring, snapshot builds are available. These builds are created after each commit to the master branch, and therefore are not something you should run in production.

platform
OSX tar
Linux x64 tar deb rpm
Linux x86 tar deb rpm
Windows zip

Documentation

Visit Elastic.co for the full Kibana documentation.

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.