Commit graph

19270 commits

Author SHA1 Message Date
dave.snider@gmail.com
594a32ec47
EUI 5.6.0 (#26839) (#26938)
* eui 5.6.0

* Import IconType in infra/types/eui.d.ts
2018-12-10 19:59:23 -08:00
Tiago Costa
c969c07064
chore(NA): merge and solve conflicts with last 6.x (#26932) 2018-12-11 03:57:54 +00:00
Court Ewing
5ae28da66d
Fail out of auth flow on first provider failure (#26648) (#26934)
In practical terms, the flexibility afforded by providers being able to
recover from the failures of previously configured providers isn't
compelling, but the ambiguity is not ideal.
2018-12-10 21:44:40 -05:00
Thomas Neirynck
8e3f22d5d1
fix ems hotlink (#26868) (#26927) 2018-12-10 18:07:40 -05:00
Bhavya RM
dd8e16a70b
fixing a11y errors so we can add a11y rules for tslint (#26902) (#26921) 2018-12-10 17:10:01 -05:00
Bill McConaghy
6232b1963d
Index lifecycle (#25553) (#26918)
* [WIP] Index lifecycle (#25071)

* Index lifecycle management wizard

* Adding index lifecycle management files

* Updates

* Fix errors and add flyout for node details

* New diff tool

* Scroll to change for review diff

* Some feedback on copy

* Updating copy, moving components around and fixing bugs with the diff view

* Add logic to auto enable a phase when something is set

* redesign ilm

* Adding server api tests

* Removing debug and some tweaks from dave's work

* Conditionally show this message

* Policy selection cleanup

* Updates for better UX

* [COPYEDIT | ILM] Copyedit of text in index lifecycle management UI

* Use better default text

* Remove debug

* Adding readme and comments

* Update readme

* Do not need this anymore

* Remove debug or commented out code

* Remove these - they are in the tests PR

* Toggle system indices

* Aliases are not defined here anymore

* Handle rollover better in warm phase and remove from cold,delete

* adding learn more link component and switching over to using that

* fixing UI issue when no policies exist

* various fixes

* some cleanup

* moving number_of_replicas due to API change

* modifying some messaging

* fixing typo

* fixing some diff issues and not adding sattr_name if none chosen

* making write alias required for template step and making necessary API changes

* removing alias definition from template patching as it needs to be per index

* some copy edits for clarity

* fixing issue with editing existing policy when rollover starts the warm phase

* addressing PR feedback on server side code

* addressing PR feedback

* removing additional spaces from findMatchingNodes call

* changing template to index template in one more place

* fixing issue with error message showing when bootstrap is successful

* fixing node options for warm and cold phase

* adding seconds to duration fields to match what ES supports

* changing icon for enabled steps so it does not look like an error indicator

* adjusting icon color for enabled lifecycle steps

* fixing issue with editing an existing policy with warm phase on rollover enabled

* fixing issue with default unit for age dropdowns

* fixing issues with shrink action serialization and deserialization

* fixing issue with deserialization of ES policy for shrink

* removing shrink option from UI when primary shard count is not greater than 1 for hot phase

* going straight to create policy when no policies exist

* improving lifecycle policy selection

* adding active badge instead of checkmark for active lifecycle policy phases

* some cleanup of unneeded properties and only showing save as new when it is appropriate

* removing stray fullWidth attribute

* adding missing minimum for replica count for warm phase

* adding scroll to top for review step

* fixing issue with start warm phase after rollover introduced by time representaiton change from ES

* making shrink options not show for primary shard count of 1 as you can't shrink in that situation

* fixing issue with editing existing policy and saveAsNew

* bare bones policy table implementation

* implementing delete policy behavior

* fixing sorting and paging

* fixing policy table title

* rudimentary navigation flow

* fixing delete

* Index lifecycle management wizard (#21925)

* Index lifecycle management wizard

* Adding index lifecycle management files

* Updates

* Fix errors and add flyout for node details

* New diff tool

* Scroll to change for review diff

* Some feedback on copy

* Updating copy, moving components around and fixing bugs with the diff view

* Add logic to auto enable a phase when something is set

* redesign ilm

* Adding server api tests

* Removing debug and some tweaks from dave's work

* Conditionally show this message

* Policy selection cleanup

* Updates for better UX

* [COPYEDIT | ILM] Copyedit of text in index lifecycle management UI

* Use better default text

* Remove debug

* Adding readme and comments

* Update readme

* Do not need this anymore

* Remove debug or commented out code

* Remove these - they are in the tests PR

* Toggle system indices

* Aliases are not defined here anymore

* Handle rollover better in warm phase and remove from cold,delete

* adding learn more link component and switching over to using that

* fixing UI issue when no policies exist

* various fixes

* some cleanup

* moving number_of_replicas due to API change

* modifying some messaging

* fixing typo

* fixing some diff issues and not adding sattr_name if none chosen

* making write alias required for template step and making necessary API changes

* removing alias definition from template patching as it needs to be per index

* some copy edits for clarity

* fixing issue with editing existing policy when rollover starts the warm phase

* addressing PR feedback on server side code

* addressing PR feedback

* removing additional spaces from findMatchingNodes call

* changing template to index template in one more place

* fixing issue with error message showing when bootstrap is successful

* fixing node options for warm and cold phase

* adding seconds to duration fields to match what ES supports

* changing icon for enabled steps so it does not look like an error indicator

* adjusting icon color for enabled lifecycle steps

* fixing issue with editing an existing policy with warm phase on rollover enabled

* fixing issue with default unit for age dropdowns

* fixing issues with shrink action serialization and deserialization

* fixing issue with deserialization of ES policy for shrink

* removing shrink option from UI when primary shard count is not greater than 1 for hot phase

* going straight to create policy when no policies exist

* improving lifecycle policy selection

* adding active badge instead of checkmark for active lifecycle policy phases

* some cleanup of unneeded properties and only showing save as new when it is appropriate

* removing stray fullWidth attribute

* adding missing minimum for replica count for warm phase

* adding scroll to top for review step

* fixing issue with start warm phase after rollover introduced by time representaiton change from ES

* making shrink options not show for primary shard count of 1 as you can't shrink in that situation

* fixing issue with editing existing policy and saveAsNew

* adjusting to changes in ES API

* adding version and modified date to policies table

* implementing new CRUD approach

* simplified delete

* cleanup edit_policy

* removed wizard code

* fixing issue with edit policy

* fixing issue with closing delete confirmation modal

* making max age and max size not mutually exclusive

* removing names of covered indices from policy table

* changing minimum_age to min_age

* first pass at index lifecycle extensions

* adding retry button for ilm covered index that is in error

* first pass at index lifecycle banner

* i18n work

* more i18n

* fixing issue with node attributes

* removing console.log statements

* fixing issue with deserializing number_of_shards for edit policy

* defaulting shrink to false and fixing ui spacing issue

* removing hot phase shard count from warm phase

* scrolling to first error when user submits form for edit policy

* disabling UI for index management when enabled is false in kibana.yml

* disabling index lifecycle management when enabled is false in kibana.yml

* extending index management filter to allow for searching fields

* add support for filtering to indices with errors for index lifecycle management banner

* i18n work

* fixing error wrappers

* fixing tests

* adding view JSON for index lifecycle policy on edit screen

* fixing label for i18n on policy JSON flyout

* removing console.log statements

* fixing tests

* removing console.log statements

* adding key for banner extensions

* fixing bad import for FormattedMessage

* add link to edit index lifecycle policy from index management index summary

* adding key for map of summary extensions

* adding proper icon for retry lifecycle action

* factoring out common min age component

* factoring out common NodeAllocation component

* add copy to clipboard for json policy flyout

* adding validation rules for policy names to match ES rules

* fixing issues with policy names with non-alphabetic characters like & ^ % ?

* moving create policy button to top right and adding fill

* adding better empty state for policy list

* moving shrink and force merge titles and descriptions to the left

* moving show JSON button to right and limiting width of JSON flyout

* fixing warning about lifecycle prop type for JSON flyout

* fixing issue with warning on prop isShowingErrors

* removing outdated README

* simplifying constants

* moving components to more logical places

* moving lib and api files to services

* renaming provider to enricher

* factoring out common data enricher behavior

* consolidating index management extension code

* removing unnecessary colon

* Revert "removing unnecessary colon"

This reverts commit 19712807bb.

* removing unnecessary colon

* adding callout to ilm summary for errors

* better formatting for banner extensions

* Revert "disabling UI for index management when enabled is false in kibana.yml"

This reverts commit 45d4e8c51d.

* removing unnecessary code for detecting disabled plugin

* adding config prefix of xpack.index_lifecycle_management

* making policy link use href and consolidating link encoding logic

* removed outdated comment

* removed outdated comment

* better solution for policy name in URI

* fixing issue with index management being disabled and index_lifecycle_management not

* adding link to index management list filtered to policy name from index_lifecycle_management policy list

* fixing tests

* adding popover for stack trace for ilm errors

* adding stack trace and phase definition popovers to ilm summary in index management

* adding to blacklist for node attributes and not showing node allocation section when there are not any node attributes to choose from

* not showing create policy button in upper right for empty state

* moving policy name form field to right to be consistent with the rest of the form layout

* moving save button to left and using secondary color

* added copied to clipboard toast message

* moving activate/deactivate buttons to left on edit policy page

* deleting unnecessary less file

* using spacer instead of style

* translating success message for edit policy save

* fixing missing props warnings for EuiDescribedFormGroup usages

* better error handling borrowed from rollups

* disabling delete when a policy is attached to indices

* adding remove lifecycle policy action

* fixing issue with remove ilm policy showing for non-managed indices`

* adding add lifecycle policy action to index management extensions in index lifecycle management

* adding confirm modal for remove lifecycle policy

* fixing validation

* fixing issue with back button and edit policy retaining old policy

* removing console.log

* making no policy modal for add lifecycle policy make more sense (no add button)

* Calling reloadIndices when a lifecycle policy gets added or removed

* fixing logic issue with spinner showing

* refactoring confirm modal on policy list page

* adding an add to index template button on policy list page

* fixing console warning about select value being null

* fixing issue with modal not opening from index management table manage menu

* changing app title and adding i18n for it

* more naming changes and adding beta badge

* adding filter extension to index management and using it to add filters for index lifecycle management

* fixing broken jest test

* fixing issue with banners appearing/disappearing based on filters

* adding xpack.ilm.ui.enabled to allow cloud to disable the ui

* add ability to configure list of node attributes to ignore in kibana.yml for cloud

* filtering out reserved system templates from fetch route list

* adding warning when user tries to add a policy to a template that already has a policy

* fixing a11y issues on edit policy form

* incorporating docs team feedback on copy

* adding learn more link to add policy to index template modal

* fixing app order for management

* fixing breadcrumb issue by adding redirect for BASE_PATH (and adding memory leak fix)

* making version and covered indices column smaller and adding horizontal scroll and min width

* right align actions and better width solution for columns

* bigger spacer under callout for no node attributes

* restricting width of edit page

* fixing typo

* removing unnecessary store code for index templates

* fixing react warning about boolean type

* moving beta badge in line with title on policies screen

* better UI for show JSON for edit policy

* commenting on the memory leak fix for React Router redirects

* fixing fatal error with node allocation flyout

* fixing issue with banner not showing

* moving unmanaged/managed filter to filter group to make it clearer what they mean

* removing unused code

* copy changes

* adding context menu for policy table instead of icon buttons

* adding fix errors badge for phases

* removing unnecessary close button in flyout footer

* adding spinner when nodeOptions are not present

* moving view a list button below input

* adding more explanation to add policy to index template modal

* adding documentation link for main ILM docs in ES

* only showing view nodes link when node attributes are selected

* removing colon from flyout title

* fixing layout for view nodes button for attributes

* making loading spinner larger for node attributes select

* fixing issue with button going off end of table

* removing title from empty prompt for policy table

* fixing max width for edit policy page

* copy edits

* don't show pager when number of policies is less than minimum page size

* making number of replicas optional and adding optional label

* fixing sort for policy table

* fixing flicker for node allocation

* removing redundant message for index policies defined

* fixing spacing/alignment issues on error display for summary

* fixing issues with pager not showing and controls disappearing when filters applied

* adding tests for policy table

* more test additions

* making search bar incremental for index management

* making JSON policy flyout show ES request JSON not internal representation

* adding error message when user tries to submit add policy to index without selecting policy

* adding validation for missing template on add policy to index template modal

* adding tests for ilm index management extensions

* adding tests for edit policy

* removing learn about node attributes link until docs come

* fixing prop type warning

* adding missing translations

* better tests for edit policy

* adding tests for node attribute inputs

* better tests for node attributes

* fixing policy table test

* fixing bad i18n id

* updating snapshot
2018-12-10 15:59:04 -05:00
gchaps
fb13df59ba [DOCS] Edits wording of visualiation issue in 6.5.3 RN (#26919) 2018-12-10 12:42:10 -08:00
Tim Sullivan
897aa9415d
[Telemetry] Pull local Kibana usage stats (#26496) (#26913)
* add kibana stats

* fix tests

* format the stats for telemetry

* fix the os/platform stats

* add version to locally-source kibana telemetry stats

* use callWithInternalUser

* better get_kibana module unit test verification

* separate handleKibanaStats

* variable rename

* fix comment

* fix functional test

* keep the return object literal from handleLocalStats

* validate the payload fields

* add warning log if no kibana stats returned
2018-12-10 13:34:18 -07:00
Bill McConaghy
ec145129b0
Show aliases in index details (#24048) (#26912)
* Adds aliases to details for indicies.

* Lists aliases when there is more than one.

Fixes reload call using duplicate code atm.
Removes unintentional formatting change.

* Silly line ending removed by accident.

* Simplifies fetching aliases to single method/file.

* Adds superfluous logs statement.

* Uses the correct i18n translation variable for the header.

* Sets the translation variable to the correctly spelled variable.

* Simplifies building an array of aliases.

* Does not export fetchAliases as default.

* Makes the code more readable by destructing results.

* Adds test for expected results and no results.
2018-12-10 15:06:09 -05:00
Tiago Costa
1d3fcaac0a
[6.x] Upgrade to NodeJS 10 (#25157) (#26909)
* chore(NA): merge and solve conflicts backporting to 6.x

* chore(NA): merge and solve conflicts backporting to 6.x
2018-12-10 18:50:30 +00:00
gchaps
cb8ad058f2 [DOCS] Adds 6.5.3 Release Notes] 2018-12-10 10:41:19 -08:00
Peter Pisljar
2167c5b161
allow disabling gpu in tests (#26684) (#26869) 2018-12-10 09:14:30 +01:00
pavel06081991
aa9a5e1dcd
Feature/translate ml-jobs-jobs_list(part_1) (#25466) (#26796)
Translate ml -> jobsList(part_1)
2018-12-10 10:38:55 +03:00
Oliver Gupte
9d0433bef9
[APM] fixes #26784 by updateing import from a default to a named import (#26785) (#26849) 2018-12-08 00:56:54 -08:00
Oliver Gupte
e5926ddab6
[APM] Transaction group agg size config (#26683) (#26848)
* [APM] Fixes #24204 by adding default configs to kibana.yml

* [APM] fixes #25940 by adding APM config to control top transation group agg size

* Revert the default configs added to kibana.yml and define joi validations for `xpack.apm.ui.transactionGroupBucketSize`

* fix broken test for incorrect config

* [APM] add docs entry for `xpack.apm.ui.transactionGroupBucketSize`
2018-12-07 23:51:54 -08:00
DeDe Morton
d6c920d14f
[Docs] Add beta flag to central management docs (#26558) (#26830) 2018-12-07 16:16:52 -08:00
Brandon Kobel
2920970f88
Upgrading sshpk (#26834) (#26836)
sshpk is an implicit dependency of request@2.88.0
2018-12-07 16:10:14 -08:00
Nathan Reese
520f6372b8
Map inspector requests by id so single requests can be reset at a time (#26770) (#26810) 2018-12-07 13:56:46 -07:00
Tim Sullivan
b4036ae64e
[6.x] [Reporting] Re-enabled Chromium API tests (#26789) (#26813)
* [Reporting] Re-enabled Chromium API tests (#26789)

* [Reporting] Test logging

* chromium api tests fixed

* whitespace

* back out accidental removals
2018-12-07 13:37:13 -07:00
Andrew Cholakian
52bb10511b
Enable heartbeat telemetry (#25886) (#26824)
This commit allows heartbeat telemetry data to be sent through kibana.

The change to beats was introduced in https://github.com/elastic/beats/pull/8621
2018-12-07 13:51:11 -06:00
Justin Kambic
3ae84bbd19 Change 'Disenroll' text to be consistent with menu option 'Unenroll'. (#26816) 2018-12-07 14:31:59 -05:00
Chris Koehnke
84de0b0865 Fix Elasticsearch typo on connection error screen (#26815)
`Elastiscearch` -> `Elasticsearch`.
2018-12-07 12:54:04 -05:00
Mike Côté
7f9cde7612
Fix saved objects client _processBatchQueue function to handle errors (#26763) (#26808)
* Fix saved objects client _processBatchQueue function to handle errors

* Fix error thrown in try/catch
2018-12-07 12:48:05 -05:00
gchaps
404247526a
[DOCS] Removes visualization PR from release notes (#26820) 2018-12-07 09:11:21 -08:00
Tim Roes
30de693d84
Corrected wrong calls from .on to .off (#24575) (#26805)
Closing memory leak
2018-12-07 14:30:02 +01:00
Søren Louv-Jansen
bb79d69a53
[APM] Add rest_total_hits_as_int to all ES requests (#26462) (#26758) 2018-12-07 00:59:08 +01:00
Søren Louv-Jansen
0cab638ef0
[6.x] [APM] Discover buttons (#26622) (#26768)
* [APM] Discover buttons (#26622)

* Fix order of imports
2018-12-06 23:46:26 +01:00
DeDe Morton
8939f68b97
[Docs] Adds Beats central management docs (#26061) (#26502) 2018-12-06 12:45:03 -08:00
Aleh Zasypkin
40f0a846f7
[6.x] Re-enable "src/cli/serve/integration_tests/reload_logging_config.test.js" tests. (#26778) 2018-12-06 21:24:35 +01:00
Ryan Keairns
712dea729a
make selection border 1px (#26739) (#26775) 2018-12-06 13:26:36 -06:00
Spencer
b51987b9eb
[6.x] Wrap leadfoot elements (#26406) (#26748)
* Wrap leadfoot elements (#26406)

* [ftr] wrap all elements so we can swap out leadfoot without disturbing tests

* save

* [visualize/pie_chart] fix chart legend locator

* [services/leadfoot_element_wrapper] add getTagName function

* [services/browser] adjust moveMouseTo function

* [leadfoot/element] remove old args, document new ones

* [leadfootElementWrapper] add getSpecAttribute() method
2018-12-06 10:58:48 -08:00
Stacey Gammon
b045151e3b
Plugin test readme’s (#26632) (#26658)
* Plugin test readme’s

* clarify

* Update scripts/README.md

Co-Authored-By: Stacey-Gammon <gammon@elastic.co>
2018-12-06 13:54:41 -05:00
Court Ewing
d0c0959843
Update token API calls in elaticsearch.js (#26650) (#26773) 2018-12-06 12:58:23 -05:00
Joel Griffith
52f79b94d2
Backport/6.x/pr 26205 (#26727)
* Removes event-stream package (backport) (#26727)
2018-12-06 09:56:34 -08:00
Bill McConaghy
32685c2587
adding autocomplete rules for lifecycle management APIs (#22768) (#26764)
* adding autocomplete rules for lifecycle management APIs

* updating ILM policy specs

* fixing broken documentation link for remove policy

* adding templates for phases for put ilm request

* adding _name and _ip to all allocate blocks and templates

* adding correct params for rollover action
2018-12-06 12:05:58 -05:00
Walter Rafelsberger
7a274d38bc
[ML] Fixes population chart marker positions, swimlane race condition. (#26716) (#26767)
* [ML] Fixes the skipping rule for metricData.
* [ML] Adds a test to check against correct filtering of null/0.
* [ML] Gets rid of _.has() and fixed a rare error with field values containing a trailing dot.
* [ML] Fixes rare/event_distribution chart filtering.
* [ML] Fixes race condition related to view by swimlane initialization.
* [ML] Updated comment to clarify metricData filtering.
2018-12-06 17:27:12 +01:00
Nathan Reese
fec0f1cd31
home - k7 breadcrumbs (#26605) (#26745)
* home - k7 breadcrumbs

* update i18n paths to avoid conflicts

* lower case data, put EuiSpace back and remove EuiText
2018-12-06 08:18:31 -07:00
Sarah Hersh
5246301729
[DOCS] Adds Kibana docs for Canvas functions (#26467) (#26733)
* [DOCS] Migrates Canvas function docs to Kibana docs

* [DOCS] Add docs for TinyMath Canvas functions
2018-12-06 08:06:02 -05:00
Maryia Lapata
776eacd91c [i18n] Translate Query_bar (#26264) (#26756)
* Translate ui -> query_bar

* Fix id names

* Update snapshots

* Fix tests

* Add intl to props interface

* Fix test

* Fix tests

* Fix tests

* Fix test

* Fix tests
2018-12-06 12:51:13 +03:00
Stacey Gammon
b82bf8272a
Typescript visualize_embeddable file (#26660) (#26708)
* Typescript visualize_embeddable file

* Remove left over comment
2018-12-05 19:59:58 -05:00
Spencer
eda90761c8
Fix watcher routes broken by Hapi upgrade (#26713) (#26718) 2018-12-05 15:35:21 -08:00
Tiago Costa
42102bad0e
[6.x] Create vendor dll for the client modules (#22618) (#26707)
* chore(NA): merge and solve conflicts with 6.x when backporting.

* chore(NA): updated kbn pm file.
2018-12-05 19:48:33 +00:00
Felix Stürmer
7ed713e4b7
[6.x] [Infra UI] pass flag in request to force BWC hit count (#26517) (#26717)
Backports the following commits to 6.x:
 - [Infra UI] pass flag in request to force BWC hit count  (#26517)
2018-12-05 20:00:39 +01:00
gchaps
9f4717dac4
[DOCS] Adds Release Notes for 6.5.2 (#26726) 2018-12-05 10:18:40 -08:00
Aleh Zasypkin
9dd606b2e2
[6.x] Allows SIGHUP to recreate log file handler (#26703)
Co-authored-by: spalger <email@spalger.com>
Co-authored-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-12-05 18:01:43 +01:00
Ron Cohen
67232752c9
[APM] update index pattern for elastic/apm-server#1618 (#26643) (#26698) 2018-12-05 17:51:19 +01:00
Chris Koehnke
d3b88c28f6 Docs: Add note about oss repositories for deb/rpm (#26475)
* Docs: Add note about oss repositories for deb/rpm

Add documentation on the `oss-*` yum and apt repositories.

* Specify kibana-oss package name
2018-12-05 10:05:18 -05:00
Josh Dover
4cd2360db4
[6.x] Remove duplicate dep, x-pack/yarn.lock (#26642) (#26645)
* Remove duplicate dep, x-pack/yarn.lock (#26642)

* [npm] prepare @kbn/datemath for publishing (#26559)

We need to share `@kbn/datemath` with `@elastic/eui`, and rather than making them rely on Kibana for their dependencies we've decided to republish `@kbn/datemath` as `@elastic/datemath`. This isn't something we want to do often, so please check with the platform team if you'd like to do this for another module.
2018-12-05 08:58:05 -06:00
Leanid Shutau
576943f189
[I18n] Add README for i18n_check tool (#26616) (#26694) 2018-12-05 17:22:57 +03:00
Aleh Zasypkin
7b4666ccbb
[6.x] Do not skip config properties with values equal to empty array\object. (#26696) 2018-12-05 14:55:12 +01:00