Commit graph

17374 commits

Author SHA1 Message Date
Spencer
78b6cd419d [esArchiver] fix esArchiver.loadIfNeeded (#18621)
* [utils/jsonParseStream] ensure only callback once

* [utils/streams] add util for piping many streams in series

* [esArchiver/load] combine record streams to fix skipExisting functionality

(cherry picked from commit 21d6dd2cba)
2018-05-02 12:56:54 -07:00
Søren Louv-Jansen
4301728453
Update .backportrc.json (#18724) (#18735)
# Conflicts:
#	.backportrc.json
2018-05-02 21:00:29 +02:00
Bill McConaghy
b4d1d43b1e
fixing issue with cancel button on revert to basic license modal (#18718) (#18728) 2018-05-02 12:57:37 -04:00
Walter Rafelsberger
d8681a779b
[ML] Adds an mml check to trigger an error when mml value is invalid. (#18678) (#18712)
This adds an additional check and corresponding error message to the validation of the model memory limit. If the parsing of the memory model limit results in 0 bytes the message will be triggered. This behaviour catches both correctly formatted but invalid strings (like 0mb) and invalid strings (like asdf).
2018-05-02 14:22:39 +02:00
Walter Rafelsberger
644023b0f7
[ML] Omit mml success message when mml checks are not run. (#18659) (#18709)
Updates the behaviour of the job validation's model memory limit checks: The success messages success_mml gets only returned if the checks were actually run. This omits the success message for example in the single metric and population wizard.
2018-05-02 11:37:30 +02:00
Walter Rafelsberger
4c44cbd40b
[ML] Fixes sync issue where a manipulated AppState wouldn't contain the original attribute anymore. (#18653) (#18706)
Inconcistencies between AppState and derived custom states for UI components like mlSelectLimit and mlSelectInterval could trigger errors because the parent of a nested object attribute could become undefined. This PR adds additional checks to state_factory.js's get/set/reset methods to reinitialize itself with AppState and fall back to its default state should it not be present within AppState anymore. The original issues were hard to reproduce consistently using the UI only. However the error could be triggered when creating a malformed URL, like replacing the mlSelectInterval:(interval:(display:Auto,val:auto)) part of the URL to something like mlSelectInterval:(undefined). This PR includes additional unit tests which simulate this behaviour and fail without the additional checks provided by this PR.
2018-05-02 10:10:46 +02:00
Jonathan Budzenski
492f6dcb45
[console_extensions] disable when console is disabled (#18673)
* [console_extensions] disable when console is disabled

* [console extensions] has console and enabled

* [console_extensions] fix console_extensions.enabled
2018-05-01 10:55:24 -05:00
Shaunak Kashyap
2832af914e [Logstash Centralized Management] Hide recently-deleted pipelines (follow up PR) (#18683)
* Renaming constant to be more descriptive

* Less kludgy language for better readabilility

* Removing extraneous newlines
2018-05-01 07:17:18 -07:00
lcawley
ea23411dce [DOCS] Removes X-Pack plugin info 2018-04-30 14:02:06 -07:00
Shaunak Kashyap
73b1a2dadb [Logstash Centralized Management] Hide recently-deleted pipelines (#18644)
* Extracting constant for reuse

* Keep track of recently-deleted pipelines until Monitoring stops reporting them

* Adding explanatory comment for constant
2018-04-30 12:05:43 -07:00
Bill McConaghy
0a448af3e0
passing acknowledge=true with start_trial (#18655) (#18667) 2018-04-30 13:03:04 -04:00
truman.p.du
d76bf811e0
add bmap visualization plugin (#18599)
* add Indices View plugin

add Indices View plugin

* add bmap plugin

add bmap plugin

* add bmap plugin

add bmap plugin
2018-04-30 10:39:23 -05:00
Gil Raphaelli
269c0e4fec
update stack version to fix apm docs links (#18648)
* update stack version to fix docs links

* set 6.3 branch

* manually update snapshot
2018-04-28 07:33:15 -04:00
Stacey Gammon
2f52a8e52c
Fix issue with this.embeddableConfigChangeListeners being undefined (#18611) 2018-04-26 14:06:23 -04:00
Tim Roes
608cd39d25
Fix map not refetching correctly (#18600) (#18604) 2018-04-26 17:02:50 +02:00
Yuri Astrakhan
338bc1bf72
Bumped Vega lib version to 3.3.1 (#17829) (#18592)
Turns out there is a significant problem with how Vega library manages its dependencies. Instead of using a fairly common "^1.2.3" form, it used "1" (major only) almost everywhere. While this works fine if node_modules and yarn.lock are deleted and rebuilt, bumping Vega lib's primary version in our package.json and using yarn install would not touch other subcomponents. This resulted in several 6.2 and 6.3 shipping with the outdated vega dependencies while we thought that we included the latest vega versions The problem has been reported vega/vega#1259 and will hopefully be solved with the next version.

In the mean time, this patch updates all vega-related dependencies in the yarn.lock file.
2018-04-26 04:10:54 +03:00
Tim Sullivan
41bcc8201d [Monitoring/License] copy license LESS instead of reference it (#18591) 2018-04-25 17:33:33 -07:00
Fabien Baligand
393b1a066f
add doc for environment variable injection (#17833) 2018-04-25 17:23:09 -05:00
Tyler Smalley
c0301cd18e [kbn-es] Use basic license as default (#18577)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-04-25 14:02:43 -07:00
Tim Roes
2868776aaa
Fix forwarding of modifyAggConfigOnSearchRequestStart (#17740) (#18558)
* Fix forwarding of modifyAggConfigOnSearchRequestStart

* Add unit tests
2018-04-25 17:53:35 +02:00
Tim Roes
19a5def7f7
Fix pagination styling due to EUI changes (#17823) (#18555) 2018-04-25 17:52:57 +02:00
Lisa Cawley
74be884eb2 [DOCS] Adds new installation package details (#17781) 2018-04-25 01:05:20 -07:00
Chris Earle
81c9274e17 [Monitoring] Recognize Write Threadpool (#18147)
This changes the Advanced Node page for Elasticsearch to recognize the
"write" threadpool, while also incorporating the deprecated "index"
threadpool and renamed "bulk" usage (renamed to "write").

This sums the three writing threadpools together and displays it as a
unified view.
2018-04-24 19:30:50 -04:00
Tyler Smalley
9f111a5fb8 [kbn-es] Fixes ES snapshot path for OSS builds (#17860)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-04-24 15:44:06 -07:00
spalger
546d92b5b1 [x-pack/plugin-helpers] remove kibanaRoot
(cherry picked from commit d0ac222b4a)
2018-04-24 15:23:12 -07:00
Jenkins CI
bc5b51554d Migrate x-pack-kibana source to kibana 2018-04-24 13:49:26 -07:00
Peter Pisljar
e8ac7d8d32
making sure type is defined and has postFlightRequest function (#17809) (#17825) 2018-04-20 13:32:47 -05:00
markwalkom
113994232e
Update tutorial-define-index.asciidoc (#16028)
* Update tutorial-define-index.asciidoc

Added a note on how to check for current indices in Elasticsearch, to make it clearer for people that haven't used the previous chapters.

* Update tutorial-define-index.asciidoc
2018-04-20 10:33:29 -05:00
Tim Roes
e75f1dcde5
Add tern file and remove htpasswd (#17792) (#17813) 2018-04-20 13:57:19 +02:00
Kim Joar Bekkelund
62d96637d6
Upgrade to Prettier 1.12.1 (#17791) (#17817)
* Upgrade to Prettier 1.12.1

* Add back dev dep
2018-04-20 13:15:57 +02:00
Thomas Neirynck
9adbff879e
Improve map-data handling (#17263) (#17812)
- Improve performance by avoiding unnecessary ES-response conversion. 
- Prepare the code-internals visualization to use intermediate tabular representation. This sets this up for a possible refactor to use the Canvas data pipeline.
- Do not clone ES-responses when not necessary.
2018-04-20 06:02:57 -04:00
Spencer
383d590cb3
[grunt] remove .rej file check (#17805) (#17806)
The old backport tool we used, Jasper, would create PRs with .rej files
when it couldn't merge a backport cleanly. That lead to this task which
would skip the tests if .rej files were found. Now we don't use Jasper
and this check takes about 1 minute to run on CI, so we can remove it
and save some time.
2018-04-20 02:26:25 -07:00
Spencer
6a7c04737f
[kbn-es] add basic integration tests for exit code/promise handling (#17600) (#17783) 2018-04-19 13:37:01 -07:00
Brandon Kobel
05206963ea
Revert "Support PKCS#12 encoded certificates (#17261)" (#17801) (#17802)
* Revert "Support PKCS#12 encoded certificates (#17261)"

This reverts commit de91bd0f09.

* Fixing tests
2018-04-19 14:41:49 -04:00
gchaps
f32206f3bf
[DOCS] Minor changes to Advanced Settings and Featured Visualizations (#17778) (#17796) 2018-04-19 09:51:06 -07:00
Court Ewing
f7d0db12ed docs: pull request review guidelines (#17101)
Outlines the general goals/philosophy behind our pull request review
process.
2018-04-19 12:37:30 -04:00
Kim Joar Bekkelund
cc0dd81cfa
Stop using 'ui/' when importing within the ui folder (#17768) (#17790) 2018-04-19 11:54:32 +02:00
Bill McConaghy
c9c67d1b7a
using server.expose instead of modifying core server (#17785) (#17787) 2018-04-18 19:12:32 -04:00
Lukas Olson
f6f5e691f0 Fix date math parser to not use hardcoded length (#17751)
* Fix date math parser to not use hardcoded length

* Add test
2018-04-18 14:09:51 -07:00
Kim Joar Bekkelund
c41b9dd73b
Introduce @kbn/system-loader (#17595) (#17782)
* Introduce @kbn/plugin-system

* Throw if plugin exposes a promise from 'start'

* TS updates

* rename

* Better error if missing plugin

* Api to add multiple specs at the same time

* isPromise prettier-ified

* Rename 'plugin' to 'system'

* Metadata + some cleanups

* Make it possible to type system metadata

* Throw if stop is async

* Add tests for System class
2018-04-18 22:53:41 +02:00
Fabien Baligand
f0d1c010c4
fix plugin.js link (#17710) 2018-04-18 15:06:20 -05:00
Spencer
8afcec1d9b
[6.x] [yarn] upgrade jest and related packages (#17780) 2018-04-18 12:50:41 -07:00
Bill McConaghy
b9599a7177
adding extension point for adding endpoint defs to console autocomplete (#17769) (#17774) 2018-04-18 14:06:07 -04:00
Brandon Kobel
acd99a13c5
Preserving boom error headers for index pattern exceptions (#17725) (#17775) 2018-04-18 13:48:29 -04:00
Kim Joar Bekkelund
6748c6abbd
Stop using 'plugins/...' import when within current plugin (#17760) (#17767) 2018-04-18 17:00:49 +02:00
Peter Pisljar
2045c93438
remove angular from AggConfig (#17668) (#17765) 2018-04-18 08:03:41 -05:00
Tim Roes
01e97b87ed
Use proper labeling for single metric no bucket pie charts (#17739) (#17766) 2018-04-18 13:47:12 +02:00
Kim Joar Bekkelund
a77293f210
Get rid of Lodash mixins (#17737) (#17762)
* Get rid of _.class mixin

* Get rid of _.flattenWith

* Get rid of _.isNumeric

* Get rid of _.toggleInOut

* Get rid of _.onceWithCb

* Get rid of _.callEach

* Get rid of _.organizeBy, _.pushAll, _.move

* Delete Lodash webpackShim
2018-04-18 08:18:38 +02:00
Bill McConaghy
9ebb487f93
fixing issues with autocomplete and bucket aggs (#17695) (#17755) 2018-04-17 16:19:03 -04:00
Bill McConaghy
948aee34f4
removing unsupported type from autocomplete (#17694) (#17754) 2018-04-17 16:18:47 -04:00