Commit graph

14430 commits

Author SHA1 Message Date
markwalkom
24fc8e9384 Update migrate_5_0.asciidoc (#8826)
Added a breaking change note around the repo URL updates we have made.
2016-10-25 09:15:49 -04:00
debadair
6199ec0d0a Updated to work with new doc structure 2016-10-24 23:10:53 -04:00
debadair
d962d9b140 Docs: Added Timelion topic 2016-10-24 23:10:45 -04:00
Court Ewing
6b80d1efa2 docs: Overhaul of doc structure for 5.0+ (#8821)
This overhaul of the docs structure puts Kibana's documentation more
inline with the structure that is used in Elasticsearch. This will help
us better organize the docs going forward as more docs are added.

This also includes a few necessary content changes for 5.0.
2016-10-24 22:00:32 -04:00
Court Ewing
e5f5263339 docs: Note deprecated ES features in breaking changes
Since we introduced the ability for users to manually manipulate some of
the JSON used in Elasticsearch requests in the form of of the filter
editor in 4.3, it's possible that saved objects are taking advantage of
then-deprecated and now-removed Elasticsearch functionality.

This calls out that possibility and links to the Elasticsearch breaking
changes documentation for more information. Even though this is
technically not a Kibana BC break, it manifests as if it were an issue
with Kibana since it results in broken
searches/visualizations/dashboards.

Fixes #8511
2016-10-23 17:17:04 -04:00
Court Ewing
897b296762 docs: Tilemaps support 10 zoom instead of 18
Fixes #8801
2016-10-23 16:51:27 -04:00
Court Ewing
3fb98dc045 docs: Document need to save pre-5.0 dashboards
Fixes #8783
2016-10-23 16:43:03 -04:00
Court Ewing
df92280ef4 docs: merge "Controlling Access" with X-Pack config
When setting Kibana up for production, the "Controlling Access" section
was redundant, so it is merged with the X-Pack security section.

Fixes #8724
2016-10-23 16:30:57 -04:00
Court Ewing
0fc37d1175 docs: Fix X-Pack security link for prod docs 2016-10-23 16:19:03 -04:00
Court Ewing
056db43051 Sync docs with master
The 5.0 docs have become out of sync with master, so this updates them.
2016-10-23 15:49:30 -04:00
Matt Bargar
e39cd4571f Merge pull request #8798 from elastic/jasper/backport/8753/5.0
[backport] PR #8753 to 5.0
2016-10-21 10:36:32 -04:00
Elastic Jasper
a4efa8ada3 Backport PR #8753
---------

**Commit 1:**
Align better with ES doc structure

* Original sha: 48c3da71b9
* Authored by Matthew Bargar <mbargar@gmail.com> on 2016-10-18T22:22:53Z

**Commit 2:**
Improve formatting and details of breaking changes docs

* Original sha: 4a59a7c93c
* Authored by Matthew Bargar <mbargar@gmail.com> on 2016-10-19T16:55:06Z
2016-10-21 10:30:42 -04:00
spalger
3a5095bd6e [fieldFormats/colors] escape style values 2016-10-20 15:39:13 -07:00
Court Ewing
a69ab2df1b Merge pull request #8786 from elastic/jasper/backport/8785/5.0
[backport] PR #8785 to 5.0 - [server/logging] intercept ECONNRESET messages and downgrade them
2016-10-20 17:28:51 -04:00
Elastic Jasper
ba2febfa45 Backport PR #8785
---------

**Commit 1:**
[server/logging] intercept ECONNRESET messages and downgrade them

* Original sha: 38bcad9a05
* Authored by spalger <email@spalger.com> on 2016-10-20T19:24:16Z

**Commit 2:**
[server/logging] remove doTagsMatch() helper

* Original sha: a8eea585d5
* Authored by spalger <email@spalger.com> on 2016-10-20T20:19:33Z

**Commit 3:**
[server/logging] add tests for log interceptor

* Original sha: 866abcc820
* Authored by spalger <email@spalger.com> on 2016-10-20T20:35:35Z

**Commit 4:**
[server/logging] only match tags that are in the right order

* Original sha: 1973ed8a91
* Authored by spalger <email@spalger.com> on 2016-10-20T20:50:26Z

**Commit 5:**
[server/logging] remove unused dependency

* Original sha: dbe5f6fb72
* Authored by spalger <email@spalger.com> on 2016-10-20T20:58:59Z

**Commit 6:**
[server/logging] fix the order we expect tags to be in

* Original sha: 76e09e6740
* Authored by spalger <email@spalger.com> on 2016-10-20T21:04:58Z
2016-10-20 17:13:03 -04:00
Court Ewing
f59762e440 Merge pull request #8779 from elastic/jasper/backport/8778/5.0
[backport] PR #8778 to 5.0 - [timelion] Remove saved sheets link
2016-10-20 11:35:51 -04:00
Elastic Jasper
3cd2b63fdb Backport PR #8778
---------

**Commit 1:**
[timelion] Remove saved sheets link
Currently saved timelion sheets are not showing up in the saved objects page, so the link errors and loads a blank page

* Original sha: 19e5af9f6e
* Authored by Jonathan Budzenski <jon@jbudz.me> on 2016-10-20T14:29:15Z
2016-10-20 11:13:53 -04:00
Court Ewing
aec3056278 Merge pull request #8777 from elastic/jasper/backport/8775/5.0
[backport] PR #8775 to 5.0 - Disabling the uiSettings for the cli_plugin install
2016-10-20 10:39:33 -04:00
Elastic Jasper
647a84a0b4 Backport PR #8775
---------

**Commit 1:**
Disabling the uiSettings for the cli_plugin install

* Original sha: 81ff2eb639
* Authored by = <brandon.kobel@elastic.co> on 2016-10-20T14:18:17Z
2016-10-20 10:32:12 -04:00
Spencer
342bf5c9ad Merge pull request #8769 from elastic/jasper/backport/8764/5.0
[backport] PR #8764 to 5.0 - UI Settings should be disabled when elasticsearch is not available
2016-10-19 17:18:23 -07:00
spalger
e720a0faaa [server/uiSettings] remove trailing space
(cherry picked from commit 6865281a59)
2016-10-19 17:00:52 -07:00
Elastic Jasper
d4f4381f33 Backport PR #8764
---------

**Commit 1:**
UI Settings disabled when plugins.initialize is false

* Original sha: c6f90e2fd3
* Authored by = <brandon.kobel@elastic.co> on 2016-10-19T20:47:05Z

**Commit 2:**
Moving where we're disabling the ui settings

* Original sha: e66c7e79f9
* Authored by = <brandon.kobel@elastic.co> on 2016-10-19T21:22:52Z

**Commit 3:**
[server/uiSettings] add enabled config

in response to matt's comment that relying on `plugins.initialize` is kinda dirty (with which we all agree) we're adding an undocumented config value that the dev cli can use to put prevent the optimizr server from logging meaningless warnings

* Original sha: 40ffd12238
* Authored by spalger <email@spalger.com> on 2016-10-19T23:24:55Z

**Commit 4:**
[server/uiSettings] react to missing elasticsearch plugin

* Original sha: 7feacf6a70
* Authored by spalger <email@spalger.com> on 2016-10-19T23:26:44Z

**Commit 5:**
[server/uiSettings] fix da tests

* Original sha: c2d7d0136a
* Authored by spalger <email@spalger.com> on 2016-10-19T23:36:11Z

**Commit 6:**
[server/uiSettings] document enabled config

* Original sha: f9bd154fcd
* Authored by Spencer <spalger@users.noreply.github.com> on 2016-10-19T23:52:28Z
* Committed by GitHub <noreply@github.com> on 2016-10-19T23:52:28Z
2016-10-19 19:52:59 -04:00
Matt Bargar
5e1ac9d66e Merge pull request #8760 from elastic/jasper/backport/8740/5.0
[backport] PR #8740 to 5.0
2016-10-19 16:49:00 -04:00
Spencer
3bb1224178 Merge pull request #8762 from elastic/jasper/backport/8758/5.0
[backport] PR #8758 to 5.0 - Internal server error when saving a widget with German characters in name
2016-10-19 13:37:05 -07:00
Elastic Jasper
9c93aa6177 Backport PR #8758
---------

**Commit 1:**
URI-encode forwarded location header in proxy

Right now there are situations in which ElasticSearch puts characters in
the character code range between 128 and 255 into the `Location` header.
This leads to an exception when trying to pass on that header through
the hapi proxy in versions before 15.0.0, because it validates that only
US-ASCII characters are used in headers.

To work around that situation, the `Location` header is encoded using
`encodeURI()` for now.

Closes #8705

* Original sha: 18c23c17d9
* Authored by Felix Stürmer <stuermer@weltenwort.de> on 2016-10-18T17:55:31Z

**Commit 2:**
Add test to verify umlaut in vis name

Relates to #8705

* Original sha: e100e1f5c9
* Authored by Felix Stürmer <stuermer@weltenwort.de> on 2016-10-19T09:01:46Z

**Commit 3:**
[elasticsearch/proxy] use different code path with erorr

* Original sha: fec5e1a2dc
* Authored by spalger <email@spalger.com> on 2016-10-19T19:06:39Z
2016-10-19 15:25:12 -04:00
spalger
5f33808d1a Backport PR #8740
---------

**Commit 1:**
Generate key for ip range from/to agg

Elasticsearch 5.0 no longer returns a `key` prop with ip range buckets
when from/to is used in the request. Looking at the [2.x docs][1] it
appears to be a mistake that it was ever included in the first place.
So now we'll generate the key ourselves.

[1]: https://www.elastic.co/guide/en/elasticsearch/reference/2.4/search-aggregations-bucket-iprange-aggregation.html

Fixes: https://github.com/elastic/kibana/issues/8736

* Original sha: f344a4b262
* Authored by Matthew Bargar <mbargar@gmail.com> on 2016-10-18T22:51:56Z

**Commit 2:**
Stop sending null in ip range from/to props

The IP range agg supports open ended ranges. Elasticsearch 2.x was
lenient and accepted null as a value for the from/to props, but the
correct way to do an open ended range was always to omit the from/to
key entirely. ES 5.0 appears to be more strict and barfs when null is
passed. This commit removes the null values.

Fixes https://github.com/elastic/kibana/issues/8741

* Original sha: 3ca45ba546
* Authored by Matthew Bargar <mbargar@gmail.com> on 2016-10-18T23:18:14Z

**Commit 3:**
ip range label and filter improvements

* updated the filter labels to match the range labels
* fixed the filter creation to work for unbound ranges

* Original sha: b153ea0da3
* Authored by Spencer <spalger@users.noreply.github.com> on 2016-10-19T17:57:58Z
* Committed by Matthew Bargar <mbargar@gmail.com> on 2016-10-19T18:36:22Z
2016-10-19 12:14:58 -07:00
Brandon Kobel
4f2ba78a11 Merge pull request #8755 from elastic/jasper/backport/8746/5.0
[backport] PR #8746 to 5.0
2016-10-19 15:10:21 -04:00
Elastic Jasper
11249b4678 Backport PR #8746
---------

**Commit 1:**
Printing process warning's via the appropriate logger

* Original sha: 96ef75b980
* Authored by = <brandon.kobel@elastic.co> on 2016-10-19T10:41:45Z
2016-10-19 14:50:33 -04:00
Court Ewing
381cd82a35 Merge pull request #8743 from elastic/jasper/backport/8733/5.0
[backport] PR #8733 to 5.0 - Bump node to 6.9.0
2016-10-18 20:15:31 -04:00
Elastic Jasper
32f3663dc0 Backport PR #8733
---------

**Commit 1:**
Bump node to 6.9.0

* Original sha: 26a0be8caa
* Authored by Jonathan Budzenski <jon@jbudz.me> on 2016-10-18T18:40:06Z
2016-10-18 20:06:12 -04:00
Matt Bargar
2e0a83366f Merge pull request #8719 from elastic/jasper/backport/8694/5.0
[backport] PR #8694 to 5.0
2016-10-17 17:41:17 -04:00
Elastic Jasper
e2b87a0c6a Backport PR #8694
---------

**Commit 1:**
Conditionally show Visualize button based on aggregatable status

* Original sha: 76c2687e86
* Authored by Matthew Bargar <mbargar@gmail.com> on 2016-10-14T22:23:37Z

**Commit 2:**
Switch to ng-show so controller can maintain reference to Visualize button and remove it upon toggle

* Original sha: 9da6ddfd16
* Authored by Matthew Bargar <mbargar@gmail.com> on 2016-10-17T17:21:11Z

**Commit 3:**
Add visualizable flag to field object

* Original sha: 75a2f2356d
* Authored by Matthew Bargar <mbargar@gmail.com> on 2016-10-17T17:39:13Z
2016-10-17 17:03:22 -04:00
Lukas Olson
4b1a5ae7c5 [console] Fix copy as curl button 2016-10-17 13:56:51 -07:00
Stacey Gammon
d981b231e9 Merge pull request #8714 from elastic/jasper/backport/8691/5.0
[backport] PR #8691 to 5.0
2016-10-17 15:39:00 -04:00
Elastic Jasper
20053f4e68 Backport PR #8691
---------

**Commit 1:**
Ensure boolean scripted field values are of boolean type

they come back from the server as ‘true’ currently.  Hopefully that
will be fixed in the future, so to future-proof this I am only
converting when the value is not of type boolean.

Fixes #8677

Need to convert both number and bool strings to their respective types.

Throw an error for unexpected types/values.

* Original sha: 7b8ff74513
* Authored by Stacey Gammon <gammon@elastic.co> on 2016-10-14T19:50:23Z
2016-10-17 15:21:57 -04:00
Clinton Gormley
c60a481602 Fixed Shield links to point to X-Pack instead 2016-10-17 14:01:59 +02:00
Clinton Gormley
c28a0c4626 Fixed hard coded doc links 2016-10-17 13:38:44 +02:00
Spencer
6df4240c5f Merge pull request #8697 from elastic/jasper/backport/8693/5.0
[backport] PR #8693 to 5.0 - [npm] update chromedriver
2016-10-15 00:07:53 -07:00
Elastic Jasper
3e815ab219 Backport PR #8693
---------

**Commit 1:**
[npm] update chromedriver

The latest macOS version of Chrome is incompatible with the version of chromedriver we currently depend on, so this updates it.

* Original sha: 29eeed22e2
* Authored by spalger <email@spalger.com> on 2016-10-14T21:03:23Z
2016-10-14 21:23:01 -04:00
Spencer
6df4b68c6d Merge pull request #8669 from elastic/jasper/backport/8538/5.0
[backport] PR #8538 to 5.0 - [agg_response/point_series] always assign series labels to points
2016-10-13 16:43:30 -07:00
Spencer
44d2a4c153 Merge pull request #8674 from elastic/jasper/backport/8505/5.0
[backport] PR #8505 to 5.0 - [ingest/register_fields_capabilities] prevent calling reply() twice
2016-10-13 16:43:20 -07:00
Stacey Gammon
0b519aabe3 Merge pull request #8676 from elastic/jasper/backport/8642/5.0
[backport] PR #8642 to 5.0
2016-10-13 19:37:47 -04:00
Elastic Jasper
668bd10132 Backport PR #8642
---------

**Commit 1:**
Fix our request to ES for filtering on scripted fields

Need to use params.value instead of value.

Fixes #8404

Add params prefix in another spot for painless scripted fields

Fix date histogram with scripted fields

Remove format: epoch_millis so the script compiles.  I am not 100%
confident of the side affect from this (it’s used for non-scripted
fields, but I’m not sure where I would put it for scripted fields, or
if it’s needed).  At any rate, it appears that formatting settings for
scripted fields is still being honored, even after removing it from
params.

* Original sha: 7cdb74d6c9
* Authored by Stacey Gammon <gammon@elastic.co> on 2016-10-12T14:54:23Z
2016-10-13 17:43:35 -04:00
Elastic Jasper
da19bc1683 Backport PR #8505
---------

**Commit 1:**
[ingest/register_fields_capabilities] prevent calling reply() twice

* Original sha: e06e659035
* Authored by spalger <email@spalger.com> on 2016-09-30T12:29:46Z
2016-10-13 17:33:37 -04:00
Elastic Jasper
6a05615b8c Backport PR #8538
---------

**Commit 1:**
[agg_response/point_series] always assign series labels to points

Since forever, the vislib has been compensating for a behavior/bug in the agg_response module where "series" labels were not assigned to points if there wasn't a "series" aggregation or multiple y-axis. To compensate for this, the vislib was assigning the yAxisLabel to the series, which had the same effect, but now that the legend is rendered in it's own tick, followed by the visualization, and that behavior was being executed during the vislib render, the legend has been flashing an empty row for a while (this was worsened by the fact that vislib rendering did not trigger a digest cycle).

These changes remove the workaround code from the vislib, and update the agg_response to always send the y-axis label as the series label when there is no series aggregation. Behavior with multiple-y-axis and multiple series aggs should be preserved.

* Original sha: 7460c0ac2d
* Authored by spalger <email@spalger.com> on 2016-10-04T18:40:41Z

**Commit 2:**
[agg_response/point_series] update tests to reflect changes in 19773a6

* Original sha: f681d6cf86
* Authored by spalger <email@spalger.com> on 2016-10-04T19:22:55Z

**Commit 3:**
[agg_response/point_series] apply PR feedback

* Original sha: a119577af8
* Authored by spalger <email@spalger.com> on 2016-10-04T20:41:29Z

**Commit 4:**
[agg_response/point_series] use no-digest promises in tests

* Original sha: 8d370826c4
* Authored by spalger <email@spalger.com> on 2016-10-04T20:45:02Z
2016-10-13 14:28:39 -07:00
Spencer
aad5e9a5fe Merge pull request #8671 from elastic/jasper/backport/8670/5.0
[backport] PR #8670 to 5.0
2016-10-13 14:27:18 -07:00
Elastic Jasper
71d210d3ab Backport PR #8670
---------

**Commit 1:**
[hotfix] force gulp-sourcemaps to 1.7.x https://github.com/floridoo/gulp-sourcemaps/issues/238#issuecomment-253634399

* Original sha: 89a243f605
* Authored by spalger <email@spalger.com> on 2016-10-13T21:09:12Z
2016-10-13 17:27:06 -04:00
Court Ewing
ddb5a0843a Bump to 5.0.0
It doesn't look like we're going to need another public release
candidate, so we'll work on shoring up the last odds and ends for GA.
2016-10-13 17:05:09 -04:00
Jonathan Budzenski
d5db223ff7 Merge pull request #8657 from elastic/jasper/backport/8651/5.0
[backport] PR #8651 to 5.0 - typo fix for advanced-settings.asciidoc
2016-10-13 08:46:06 -05:00
Elastic Jasper
744fdc9926 Backport PR #8651
---------

**Commit 1:**
typo fix for advanced-settings.asciidoc

* Original sha: 45a1e5b8f8
* Authored by fanfan <yu.qifan@zte.com.cn> on 2016-10-13T02:08:25Z
2016-10-13 09:19:58 -04:00