* [APM] fixes#26525
- simplified the stackframe grouping algorithm
- add support for `stackframe.exclude_from_grouping`
- made the rendering more tolerant of edge cases
* Made improvements to code readability and added more meaningful test cases
* refact(NA): deleteAll function in order to allow it to not log anything out.
* fix(NA): add missing no op debug and verbose functions.
* refact(NA): wrap log calls into if calls.
Node 10 uses `null` to denote the non-existence of a querystring
parameter when `url.parse(urlString, true)` is used, the following
changes fix our usages within the security plugin.
Closes https://github.com/elastic/kibana/issues/26405
Upgrades tinymath so that columns with dots now work correctly.
---
To test, follow the details in #26405.
1. Get some data that has fields with dots in them. Beats data would work, or you can create a test index with just 2 documents as follows:
```
POST test/test
{
"string":"abc",
"with.dot":"abc"
}
POST test/test
{
"string":"abcd",
"with.dot":"abcd"
}
```
2. Create a pie chart, splitting labels on one of the available fields.
Previously, given the POST info above, only `string` would work correctly. Now both (and both of their `.keyword` variants) work correctly.
![dec-04-2018 13-35-47](https://user-images.githubusercontent.com/404731/49473970-b2cf7a00-f7d0-11e8-995b-e1a5e2a2acba.gif)
* Added workpad manager which contains workpad_loader and workpad_templates
* Fixed term filter in workpad_templates
* design changes
* Removed console logs
Closes workpad manager modal after cloning template
Fixed filtering workpad templates
Removed console log
Added sample templates
Added more templates to test with
Removed cloneDeep
* case insensitive template search
* Case insensitive tag order in popover
* added descriptions and tags to sample data workpads
* refine list of initial templates
* remove sample data templates, make buttons bigger
* Added template and tag registries
* Fixed workpad loader resizing issue on home page
* Moved tags to ui folder
* Fixed template class
* Fixed properties in templates to match workpad
* do not pass 'sortOrder' to EuiContextMenuItem in share context menu
* add unit test for sortOrder
* avoid using lodash
* fix merge conflicts with internationization PR
Adds isRequired to timeseries_chart props to match the minimum required props necessary to render the component without errors reflected in the Minimal initialization test.
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.
* 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
* [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
* feat(NA): upgrade node js version on file configs.
* chore(NA): migrate configs and 3rd party dependencies to work on node js 10.x
* fix(NA): add missing async function declaration.
* chore(NA): updated elastic/good package to work with node10
* chore(NA): update lockfiles.
* fix(NA): add missing dep.
* fix(NA): types for node 10.
* test(NA): fix error return type for node10.
* fix(NA): kbn-pm webpack config to unlazy a require using lazy-cache. fix(NA): build to work with node 10.
* test(NA): jest integration test for kbn-pluin-helpers.
* test(NA): fix jest tests for kbn-es.
* fix(NA): use ostmpdir instead of a tmp folder inside the fixtures.
* fix(NA): change afterEach on kbn es decompress test.
* fix(NA): change afterEach on kbn es decompress test.
* fix(NA): readd mock-fs for the tests that still use it on kbn-es and that works on node10.
* fix(NA): readd mock-fs for the tests that still use it on kbn-es and that works on node10.
* refact(NA): rewrite tests using mock-fs and completely remove this dependency.
* fix(NA): failing test implementation using jest mock in order to replace mock-fs.
* fix(NA): update jest snapshots to match new ones generated one node 10.
* fix(NA): cli/cluster mock to spyOn off method instead off spyOn removeListener as this was changed on Node 10.
* fix(NA): tests for cluster_manager to also spyOn off and on instead of addListener and removeListener
* test(NA): fix management advance settings image field test flow.
* fix(NA): apply missing types for src/core/server/plugins/discovery/plugins_discovery.ts.
* test(NA): updated 2 missing snapshots for KuiCodeEditor on kbn-ui-framework.
* refact(NA): fix eslint errors.
* refact(NA): fix ts code with tslint fix. chore(NA): update jest snapshots.
* chore(NA): migrate kbn config schema peer dependency to last used joi version to avoid warning on bootstrap.
* fix(NA): tslint errors.
* chore(NA): upgrade types node to the last version.
* fix(NA): missing utf8 input format encoding when reading a file.
* chore(NA): upgrade to node 10.14.1
* fix(NA): Buffer api usage to avoid deprecation warnings.
* [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`
* Refactor BeatsCM
* update deps
* update more deps
* update for new EUI definitions
* update import
* Revert "update deps"
This reverts commit 759a14561d.
* use _source_includes
* remove _source_includes
* work-around due to watcher UI tests
* Keep all xpack checks safe because we cant trust its there in tests for some reason
* VALIDATION. This commit is to ensure the errors in CI are coming from beats
* remove validation that this is a beats CM issue
* More try/catch to try and find where this error is
* testing another call
* revert back to dangerouslyGetActiveInjector
* ensure expire always is a number
* fix swallowed error
* Update x-pack/plugins/beats_management/public/lib/compose/kibana.ts
Co-Authored-By: mattapperson <me@mattapperson.com>
* Update x-pack/plugins/beats_management/public/utils/page_loader.test.ts
Co-Authored-By: mattapperson <me@mattapperson.com>
* Update x-pack/plugins/beats_management/public/utils/page_loader.ts
Co-Authored-By: mattapperson <me@mattapperson.com>
* fix for new webpack import
* Fix translation map
* fix URL path
* fix other link
* removing tag from beats via tag details screen now uses container
* remove debug text
* added comment/readme about routing on the client side
* enrolled beat UI now works on overview screen
* newly enrolled beat now reloads the beats table
* fix TS errors