Commit graph

40138 commits

Author SHA1 Message Date
Melissa Alvarez f53bc9825b
[ML] Data Frame Analytics creation: improve existing job check (#89627)
* use jobsExist endpoint instead of preloaded job list

* remove unused translation

* memoize jobCheck so cancel call works correctly
2021-01-29 14:48:55 -05:00
Constance 4f6de5a407
[App Search] Add final Analytics table components (#89233)
* Add new AnalyticsSection component

* Update views that use AnalyticsSection

* [Setup] Update types + final API logic data

- export query types so that new table components can use them
- reorganize type keys by their (upcoming) table column order, remove unused tags from document obj

* [Setup] Migrate InlineTagsList component

- used for tags columns in all tables

* Create basic AnalyticsTable component

- there's a lot of logic separated out into constants.tsx right now, I promise it will make more sense when the one-off tables get added

* Update all views that use AnalyticsTable

+ add 'view all' button links to overview tables

* Add RecentQueriesTable component

- Why is the API for this specific table so different? who knows, but it do be that way

* Update views with RecentQueryTable

* Add QueryClicksTable component to QueryDetails view

* Create AnalyticsSearch bar for queries subpages

* [Polish] Add some space to the bottom of analytics pages

* [Design feedback] Tweak header + search form layout

- Have analytics filter form be on its own row separate from page title
- Change AnalyticsSearch to stretch to full width + add placeholder text + match header gutter + remain one line on mobile

* [PR feedback] Type clarification

* [PR feedback] Clear mocks

* [PR suggestion] File rename

constants.tsx -> shared_columns.tsx

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-29 11:42:37 -08:00
Pier-Hugues Pellerin c5ad2ca5dd
Adjust Path labeller for Team:Fleet (#89769)
Move from Team:Ingest management to Team:Fleet
2021-01-29 13:39:28 -05:00
Corey Robertson 2055cb96ba
Adds find by value embeddables helper (#89629)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-29 13:38:18 -05:00
Brandon Kobel a6fe0a2de7
Fix error thrown when Kibana is sent a SIGHUP to reload logging config (#89218)
* Fix error thrown when Kibana is sent a SIGHUP to reload logging config

* Adding a simple unit test to catch a future regression

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-29 10:36:50 -08:00
Pier-Hugues Pellerin 7609fb9351
Update code owners for Fleet (#89715)
Rename ingest-management to fleet.
2021-01-29 13:21:53 -05:00
Alison Goryachev d6227fbb30
[Upgrade Assistant] Clean up i18n (#89661) 2021-01-29 13:18:06 -05:00
Jason Stoltzfus 8780a2de6e
Better async (#89636) 2021-01-29 12:55:06 -05:00
Scotty Bollinger 5feca52dea
[Enterprise Search] Migrate Kibana plugin to TS project references (#87683)
* [Enterprise Search] Migrate Kibana plugin to TS project references

Part of #80508

* Add charts and un-comment added ‘features’

Also alphabetize.

* Uncomment recently added security and spaces

* Add last remaining reference

* Add shared typings to cover svgs

* Include package.json for version.ts

* REvery adding package.json to include

This did not fix the issue

* Add correct references
2021-01-29 11:43:34 -06:00
Aaron Caldwell 32058f9998
Remove geo threshold alert type (#89632) 2021-01-29 10:36:52 -07:00
Constance 6a0f97fca7
[Enterprise Search] Minor Elastic Cloud setup guide instructions fixes (#89620)
* Fix Cloud instructions copy when cloudDeploymentLink is missing

* Fix missing i18n translations on copy nested within links

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-29 09:35:20 -08:00
Nathan Reese ad8a2fb920
[Maps] Implement searchSessionId in MapEmbeddable (#89342)
* [Maps] Implement searchSessionId in MapEmbeddable

* clean up

* update method name

* fix _unsubscribeFromStore subscription

* fix unit test

* add maps assertion to send_to_background_relative_time functional test

* fix functional assertion

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-29 10:28:48 -07:00
CJ Cenizal 9286b1352e
Rename PipelineProcessorsEditor to PipelineEditor to shorten import path to a length that Windows can handle, and to disambiguate with child component of the same name. (#89645)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-29 09:21:51 -08:00
Christos Nasikas 61d4d870e2
[Security Solution][Case] Allow users with Gold license to use Jira (#89406) 2021-01-29 19:19:19 +02:00
Lukas Olson d7b1cbbed5
[data.search.searchSource] Add fetch$ observable for partial results (#89211)
* [data.search.searchSource] Add fetch$ observable for partial results

* Fix mocks & add tests

* Update docs

* Update docs

* Review feedback
2021-01-29 10:01:35 -07:00
Christiane (Tina) Heiligers 98b80484b5
Converts painlessLab to a TS project reference (#89626) 2021-01-29 09:47:15 -07:00
Melissa Alvarez a08895dbfc
[ML] Anomaly Detection: add anomalies map to explorer for jobs with 'lat_long' function (#88416)
* wip: create embedded map component for explorer

* add embeddedMap component to explorer

* use geo_results

* remove charts callout when map is shown

* add translation, round geo coordinates

* create GEO_MAP chart type and move embedded map to charts area

* remove embedded map that is no longer used

* fix type and fail silently if plugin not available

* fix multiple type of jobs charts view

* fix tooltip function and remove single viewer link for latlong

* ensure diff types of jobs show correct charts. fix jest test

* show errorCallout if maps not enabled and is lat_long job

* use shared MlEmbeddedMapComponent in explorer

* ensure latLong jobs not viewable in single metric viewer

* update jest test
2021-01-29 10:42:35 -05:00
Alejandro Fernández Haro e7cbdd3050
@kbn/telemetry-tools: Better CI error message (#89688) 2021-01-29 15:00:39 +00:00
Rudolf Meijering f732b2c3c5
Fix rendering of Saved object indices and aliases per {kib} version table (#89700)
Collapsing rows and applying vertical alignment doesn't work well when published to the docs website. So I removed the last column.
2021-01-29 15:59:17 +01:00
Devon Thomson 1fc45a7c37
Fix Lens Save and Return Removing Tags (#89613)
* use last saved tag ids in save and return...
2021-01-29 09:59:05 -05:00
Christiane (Tina) Heiligers 5c45e7dfcf
Migrates watcher to a TS project ref (#89622)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-29 07:48:51 -07:00
Christiane (Tina) Heiligers a29d4d3b1b
Fix flights sample data dashboard visualization (#89460)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-29 07:10:12 -07:00
Uladzislau Lasitsa e8e8f78b39
[Vega] Use mapbox instead of leaflet (#88605)
* [WIP][Vega] Use mapbox instead of leaflet #78395

add MapServiceSettings class

some work

add tms_raster_layer

add LayerParameters type

clenup view.ts

some cleeanup

fix grammar

some refactoring and add attribution control

Some refactoring

Add some validation for zoom settings and destroy handler

Some refactoring

some work

fix bundle size

Move getZoomSettings to the separate file

update licence

some work

move logger to createViewConfig

add throttling for updating vega layer

* move EMSClient to a separate bundle

* [unit testing] add tests for validation_helper.ts

* [Bundle optimization] lazy loading of '@elastic/ems-client' only if user open map layer

* [Map] fix cursor: crosshair -> auto

* [unit testing] add tests for tms_raster_layer.test

* [unit testing] add tests for vega_layer.ts

* VSI related code was moved into a separate file / unit tests were added

* Add functional test for vega map

* [unit testing] add tests for map_service_setting.ts

* Add unload in function test and delete some unneeded code from test

* road_map -> road_map_desaturated

* [unit testing] add more tests for map_service_settings.test.ts

* Add unit tests for view.ts

* Fix some remarks

* Fix unit tests

* remove tms_tile_layers enum

* [unit testing] fix map_service_settings.test.ts

* Fix unit test for view.ts

* Fix some comments

* Fix type check

* Fix CI

Co-authored-by: Alexey Antonov <alexwizp@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-29 16:49:51 +03:00
Nicolas Chaulet da1a4e947a
[Fleet] Install the Fleet Server package during setup (#89224) 2021-01-29 08:41:36 -05:00
ymao1 049135192e
[Alerting] Search alert (#88528)
* Adding es query alert type to server with commented out executor

* Adding skeleton es query alert to client with JSON editor. Pulled out index popoover into component for reuse between index threshold and es query alert types

* Implementing alert executor that performs query and matches condition against doc count

* Added tests for server side alert type

* Updated alert executor to de-duplicate matches and create instance for every document if threshold is not defined

* Moving more index popover code out of index threshold and es query expression components

* Ability to remove threshold condition from es query alert

* Validation tests

* Adding ability to test out query. Need to add error handling and it looks ugly

* Fixing bug with creating alert with threshold and i18n

* wip

* Fixing tests

* Simplifying executor logic to only handle threshold and store hits in action context

* Adding functional test for es query alert

* Types

* Adding functional test for query testing

* Fixing unit test

* Adding link to ES docs. Cleaning up logger statements

* Adding docs

* Updating docs based on feedback

* PR fixes

* Using ES client typings

* Fixing unit test

* Fixing copy based on comments

* Fixing copy based on comments

* Fixing bug in index select popover

* Fixing unit tests

* Making track_total_hits configurable

* Fixing functional test

* PR fixes

* Added unit test

* Removing unused import

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-29 07:45:00 -05:00
Marco Liberati 9733d2fdaa
[Lens] Use datagrid with resizable columns for datatable (#88069)
Co-authored-by: Joe Reuter <johannes.reuter@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-29 12:09:26 +01:00
Joe Reuter 749c01d898
Add tsconfig ref to vis_type_vega (#89551) 2021-01-29 11:01:24 +01:00
Jean-Louis Leysens 5f8f21bce5
[ILM] Basic a11y tests (#88445)
* cleaning up unused types and legacy logic

* added new relative age logic with unit tests

* initial implementation of timeline

* added custom infinity icon to timeline component

* added comment

* move timeline color bar comment

* fix nanoseconds and microsecnds bug

* added policy timeline heading, removed "at least" copy for now

* a few minor changes

 - fix up copy
 - fix up responsive/mobile first view of timeline
 - adjust minimum size of a color bar

* minor refactor to css classnames and make trash can for delete more prominent

* added delete icon tooltip with rough first copy

* added smoke test for timeline and how it interacts with different policy states

* update test and copy

* added basic a11y tests for ILM policy list view and create/edit policy view

* remove unused import

* remove old svg file

* remove old _timeline.scss file

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-29 10:22:56 +01:00
Pete Harverson 827446bfcf
[ML] Stabilize accessibility tests for data frame analytics pages (#89423)
* [ML] Stabilize accessibility tests for data frame analytics pages

* [ML] Remove snapshot test after opening index pattern modal

* [ML] Remove snapshot test when index pattern modal opens

* [ML] Add back snapshot test at index pattern modal step
2021-01-29 09:15:45 +00:00
Yuliia Naumenko 9ba3ee32a7
[Alerting UI] Fixed a bad UX for xpack.actions.enabled is set as false. UI should show the proper message instead of the endless spinner. (#89043)
* [Alerts][Actions] Changed isESOUsingEphemeralEncryptionKey determination. Set ESO plugin as an optional dependancy for actions and alerts plugins.

* fixed faling typechecks

* fixed faling typechecks

* fixed health framework status message

* fixed due to comments

* fixed faling test

* changed approach

* fixed due to comments

* fixed due to comments

* fixed tests

* fixed tests

* fixed tests

* fixed wrong commit

* fixed lang issue

* Fixed to remove eso check

* Fixed tests

* Fixed due to comments.
2021-01-28 20:18:55 -08:00
Tim Sullivan 46c9e64278
Update README.md 2021-01-28 19:19:31 -07:00
Oliver Gupte 8e57b63deb
[APM] fixes incorrect values in service overview throughput chart (#89348)
* [APM] fixes incorrect values in service overview throughput chart
2021-01-28 18:17:09 -08:00
Spencer 7465976c25
[dev/build/version info] convert to integration tests (#89511)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2021-01-28 18:13:56 -07:00
Scotty Bollinger 67014a7970
[Enterprise Search] Update apps to use a service for docs links (#89425)
* Create DocLinksService

* Set docLinks on app start

* Update routes modules to use service

* Update component and test to use service

* Remove legacy files

* Add comment

Co-authored-by: Constance <constancecchen@users.noreply.github.com>

* Add new line

Co-authored-by: Constance <constancecchen@users.noreply.github.com>

* Refactor test

* Rename class and remove extra route segments

* Update test names

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Constance <constancecchen@users.noreply.github.com>
2021-01-28 18:14:04 -06:00
Tim Sullivan da6501973f
Update README.md 2021-01-28 16:33:21 -07:00
Clint Andrew Hall 55afba4a4d
Setting up and documenting Presentation Util (#88112) 2021-01-28 17:15:13 -06:00
Jonathan Budzenski 608efb0a3d
[build] Remove file architecture from docker tag (#89605)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-28 16:59:40 -06:00
spalger 1ab03d0cb0 label skipped suite with relevant issues 2021-01-28 14:56:04 -07:00
Jonathan Budzenski 9480e2f192 skip query string suite 2021-01-28 15:03:15 -06:00
Jonathan Budzenski 4d7941928d skip flaky test 2021-01-28 14:25:54 -06:00
gchaps b0f4c9831e
[DOCS] Updates intro doc (#88376)
* [DOCS] Updates intro doc

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* Update docs/user/introduction.asciidoc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>

* [DOCS] Incorporates review comments

* [DOCS] Add links to Security views

* [DOCS] Minor tweaks to improve the flow of the doc

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-28 11:36:04 -08:00
Alison Goryachev ee2c74da44
[Upgrade Assistant] Use core doc links service (#89363) 2021-01-28 14:30:45 -05:00
Yuliia Naumenko 4de729f3c3
[Event Log] Added KQL queries support for Event Log API. (#89394)
* [Event Log] Added KQL queries support for Event Log API.

* refactored to use core.elasticsearch.client

* Fixed tests

* removed get index pattern for event log

* Fixed tests

* Fixed due to comments.
2021-01-28 11:19:59 -08:00
Jonathan Budzenski 62a4266ab6 skip "Should pass the query language to the language switcher". #89603 2021-01-28 13:13:56 -06:00
Wylie Conlon ac39321fc5
Tinymath is now a Kibana package (#89383)
* Tinymath is now a Kibana package

* Rename to @kbn/tinymath

* Update import style

* Update README

* Use commonjs import syntax

* Fix to commonjs export

* More commonjs fixes
2021-01-28 13:58:37 -05:00
Scotty Bollinger af88e024fa
[Workplace Search] Add i18n sources components (#89571)
* Refactor Cancel button constant to shared

* Add i18n for DisplaySettings section

* Moves more shared constants to correct files

Also fixes duplicate text in ConnectInstance (was left alongside translated text below it)

* Add source overview i18n

* More refactoring of shared constants

* Add i18n to remaining shared sources components

* Fix failing test

* Fix duplicate i18n id

* Remove unused translations
2021-01-28 12:55:29 -06:00
Mike Côté da8ce374cf
Make xpack.actions.rejectUnauthorized setting work (#88690)
* Remove ActionsConfigType due to being a duplicate

* Fix rejectUnauthorized not being configured

* Move proxySettings to configurationUtilities

* Fix isAxiosError check to code

* Add functional test

* Remove comment

* Close webhook server

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-01-28 13:44:25 -05:00
Candace Park 074003d4b4
[Security Solution][Endpoint][Admin] Ransomware card (#87945)
* [Security Solution][Endpoint][Admin] Ransomware card, package policy 7.12 migration
2021-01-28 13:35:06 -05:00
Jonathan Budzenski 5c709bb6cc Revert "[CI] Combines Jest test jobs (#85850)"
This reverts commit 46ac4ed7a2.
2021-01-28 12:15:45 -06:00
Jonathan Budzenski 99d1760324 Revert "[CI] Decrease number of Jest workers (#89504)"
This reverts commit b2d4412146.
2021-01-28 12:14:52 -06:00