Commit graph

31260 commits

Author SHA1 Message Date
gchaps
8ded7f91c8
[DOCS] Updates intro doc (#58161)
* [DOCS] Updates intro doc

* [DOCS] Incorporates review comments

* [DOCS] Added image of a solution and other tweaks

* [DOCS] Updates image and content in get data section

* [DOCS] Incorporates review comments into docs intro

* Updated Lens and Visualize

* [DOCS] Adds note about Lens

* [DOCS] Added link to es docs

Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
2020-03-05 08:55:54 -08:00
Yuliia Naumenko
4883d4bb2a
Fixed ci type check errors for alerting and actions properties for SIEM RouteHandlerContext (#59400)
* Fixed ci type check errors for alerting and actions optional properties on RouteHandlerContext

* Reverted git revert b83f81458c
2020-03-05 07:52:24 -08:00
Melissa Alvarez
d55524c338
[ML] NP Server: make security and spaces plugins optional (#59156)
* make security and spaces plugins optional

* update spacesPlugin name. update current user check
2020-03-05 10:06:36 -05:00
James Gowdy
4371b1ca7d
[ML] Fix advanced wizard datafeed form labels (#59413) 2020-03-05 14:59:58 +00:00
Walter Rafelsberger
ce9e887644
[ML] Transforms: Fixed custom KibanaContext deprecation. (#59410)
- Deprecates the custom KibanaContext.
- Where applicable dependencies provided via KibanaContext are now passed on via AppDependencies.
- The main feature of KibanaContext was to populate index pattern and saved search information for the transform wizard. This is now provided via the useSearchItems() custom hook.
2020-03-05 14:52:44 +01:00
Dmitry Lemeshko
c42bd33e1e
Convert discover_page to ts, remove redundunt methods (#59312)
* convert discover_page to ts

* remove deuplicated methods, improve tests
2020-03-05 15:56:25 +03:00
Maryia Lapata
61a8b78184
[Fix for Vis Editor] Revert setting time field to empty string when it's undefined (#58873)
* Revert setting time field to empty string when it's undefined

* Add unit test

* Mock timeFields

* Update step_time_field.test.tsx

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-05 14:15:22 +03:00
Liza Katz
d7d35f72b1
Delete legacy search endpoint (#59341)
* Delete legacy search endpoint

* Fix example

* fix jest

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-05 11:49:28 +02:00
Shahzad
edfbe03ffa
[Uptime] Improve duration chart (#58404)
* use differential colors for duration chart

* remove duration chart gql

* update type

* type fix

* fix tyoe

* update translation

* update test

* update conflicts

* type checking

* update snaps

* PR feedback

* PR feedback

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-05 10:43:55 +01:00
Sébastien Loix
a05c3211b9
[Snapshot & Restore] NP migration (#59109) 2020-03-05 15:07:23 +05:30
Pete Harverson
b104980b88
[ML] Add support for date_nanos time field in anomaly job wizard (#59017)
* [ML] Add support for date_nanos time field in anomaly job wizard

* [ML] Edits following review

* [ML] Add functional test for creating job off date_nanos data
2020-03-05 09:28:31 +00:00
spalger
b83f81458c Revert "Makes alerting and actions optional properties for interface RequestH… (#59264)"
This reverts commit 755439d5e7.
2020-03-04 22:13:11 -07:00
CJ Cenizal
bb86bf2ebb
Change remote_clusters ID to remoteClusters (#59246) 2020-03-04 19:53:15 -08:00
Yuliia Naumenko
755439d5e7
Makes alerting and actions optional properties for interface RequestH… (#59264)
* Makes alerting and actions optional properties for interface RequestHandlerContext

* Added an error response result if context for actions and alerting is not registered
2020-03-04 17:30:15 -08:00
Luke Elmers
ba5784ac57
Clean up date histogram agg type. (#58805) 2020-03-04 17:03:23 -07:00
Melissa Alvarez
44921e6110
[ML] Management: fix license unsubscribe (#59365)
* check for undefined before unsubscribe.remove skip from test

* use take for observable
2020-03-04 19:00:34 -05:00
Josh Dover
ab1439cb1a
Remove documentation for server.cors settings (#59096)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-04 14:35:54 -07:00
Yuliia Naumenko
daf622687e
Edit alert flyout (#58964)
* Implemented edit alert functionality

* Added unit tests

* Added functional test for edit alert

* Fixed failed tests

* Fixed edit api

* Fixed due to comments

* Fixed functional test

* Fixed tests

* Fixed add alert

* Small type fix

* Fixed jest test

* Fixed type check

* Fixed bugs with interval and throttle + index threshold expression
2020-03-04 12:56:34 -08:00
patrykkopycinski
ac4f8f4ef5
[SIEM] Fix rule delete/duplicate actions (#59306) 2020-03-04 21:31:43 +01:00
Lee Drengenberg
754e6f1e77
move mouse to close obstructing tooltip (#59214)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-04 14:03:57 -06:00
Liza Katz
3649798539
Reset page after deleting (#59310)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-04 22:03:35 +02:00
Liza Katz
20d1c553ab
Make sure phrases input filter triggers autosuggestons (#59299)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-04 22:03:02 +02:00
Josh Dover
3ec71c3361
Add loading count source for http requests (#59245) 2020-03-04 12:56:18 -07:00
spalger
ef38287551 Revert "[ML] Transforms: Deprecate custom KibanaContext. (#59133)"
This reverts commit 29975fa614.
2020-03-04 12:50:04 -07:00
Pierre Gayvallet
b1cb92f822
Expose metrics service to public API (#59294)
* expose metrics service to public API

* update generated doc
2020-03-04 20:15:35 +01:00
Lee Drengenberg
07edafdfa7
fixes 'management scripted fields preview should display additional fields' when run with a HEAD (#59213)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-04 12:23:58 -06:00
Stacey Gammon
543481ba53
Add direct access link registry and dashboard impl and use in ML (#57496)
* Add direct access link registry and dashboard impl and use in ML

* Add example plugin with migration example

* address code review comments

* Fixes, more code review updates

* Readme clean up

* add tests

* remove else

* Rename everything from DirectAccessLinkGenerator to the much short UrlGenerator. also fix the ml # thing and return a relative link from dashboard genrator

* add important text in bold

* Move url generators into share plugin

* add correct i18n prefix

* Fix timeRange url name

* make share plugin optional for dashboard

* fix code owners

* Use base UrlGeneratorState type, add comments

* Fix hash bug and add test that would have caught it
2020-03-04 12:43:09 -05:00
Lee Drengenberg
455b2f5047
Have to click save after resetting advanced setting to default (#59216)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-04 11:28:59 -06:00
James Gowdy
a6d2b57777
[ML] Fixing records and buckets results endpoints (#59313) 2020-03-04 17:04:47 +00:00
Candace Park
c58b49c0bf
task/management-details (#58308)
Adds basic details flyout for host management page
2020-03-04 12:02:19 -05:00
Aaron Caldwell
76e3f82754
[Maps] Add missing license to requests in maps embeddables (#59207)
* Pull core service init out into separate function

* Call bind function from embeddable factory constructor

* Move inspector init back to start method. Remove old license check file

* Add TS types
2020-03-04 10:00:01 -07:00
Liza Katz
c769b6313b
[Bug fix] Can't modify a custom filter without label (#59296)
* Show filter value if nothing else is available for label value

* Add label max width

* Revert "Add label max width"

This reverts commit 9537968110.
2020-03-04 16:00:42 +00:00
Walter Rafelsberger
29975fa614
[ML] Transforms: Deprecate custom KibanaContext. (#59133)
- Deprecates the custom KibanaContext.
- Where applicable dependencies provided via KibanaContext are now passed on via AppDependencies.
- The main feature of KibanaContext was to populate index pattern and saved search information for the transform wizard. This is now provided via the useSearchItems() custom hook.
2020-03-04 16:56:01 +01:00
Matthias Wilhelm
b2616df34c
[TSVB] Fixes color rules operate variable automatically set to undefinded (#58719)
* Fixes operate variable (string) automatically set to undefinded

* Add test
2020-03-04 16:40:39 +01:00
Stacey Gammon
d2cbc59ad4
Further improve type checking for actions and triggers (#58765)
* wip

* review follow up

* make ACTION a prefix, not SUFFIX

* fix path

* add warnings about casting to ActionType

* Make context  an object in examples, not a string

* require object context, which seems to fix the partial requirement in type and thus the type issue

* mistake

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-04 10:27:14 -05:00
Christos Nasikas
aea4811750
[SIEM][CASE] Configure cases: Closure Options & Field Mappings UI (#59062)
* Create closure options radio group

* Create closure options component

* Refactor structure

* Create field mapping row

* Create field component

* Show closure options

* Show field mapping

* Translate editUpdate options

* Add more siem fields

* Remove unnecessary export

* Leave spaces between sections

* Fix callbacks

* Better return

* Fix callback

* Move thirdPartyFields to parent component

* Rename constant

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-04 17:06:33 +02:00
Bhavya RM
2361fe62cd
calling exitFullScreenMode in test (#59238)
exitFullScreenMode in fullscreen dashboard test
2020-03-04 09:41:32 -05:00
Chris Roberson
9a1b4b9a6b
[Monitoring] Ensure we use the monitoring cluster for retrieving xpack info (#59075)
* Ensure we use the monitoring cluster for retrieving xpack info

* Remove unnecessary code
2020-03-04 09:27:23 -05:00
Pierre Gayvallet
82032b65fe
use observables instead of delay when possible (#59283) 2020-03-04 14:53:26 +01:00
Aaron Caldwell
c4458ca1b4
[File upload] Move File Upload to New Platform (#58550)
* Move file upload to np. Some additional mods & removals

* Consume file upload from NP in maps and pass to kibana services

* Register telemetry mappings

* Init indexPatternService in start method

* Fix type check issues. Add missing prop to telemetry

* Update i18n path

* Review feedback
2020-03-04 06:44:44 -07:00
Walter Rafelsberger
7e25301698
[ML] Updated ML and transform CODEOWNERS for NP. (#59286)
Updates CODEOWNERS to include NP plugin paths for the ML and transform plugin.
2020-03-04 13:02:42 +01:00
patrykkopycinski
7ad083f332
Restores [SIEM] Fix Timeline registerProvider to be called only when it's needed (#59003)
* [SIEM] Fix Timeline registerProvider to be called only when it's needed

* cleanup

* add unit tests

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-04 03:31:10 -08:00
Pierre Gayvallet
7130a0405f
Expose savedObject import / export utility methods (#58882)
* add getImportExportObjectLimit to so setup

* expose static method for so import / export

* improve functions naming

* fix mocked reference
2020-03-04 12:10:29 +01:00
Maryia Lapata
80db96b823
Fix TS for vis_type_vislib (#58345)
* Fix TS for vislib

* Fix TS

* Revert table changes

* Update unit test

* Refactor updateAxisTitle

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-04 13:57:16 +03:00
Liza Katz
01e4b96492
Use new search strategy service for search requests (#58990)
* Use new search strategy

* Update jest test

* fix painless error

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-04 10:46:12 +00:00
Anton Dosov
be43518ee3
visualizations plugin np_ready (#59149) 2020-03-04 11:30:45 +01:00
Dario Gieselaar
114c4cb85e
[APM] Make typescript optimization process compatible with NP (#58984)
* [APM] Make typescript optimization process compatible with NP

Rather than creating an extra tsconfig.json file in the APM folder, simply change the one in x-pack root, and include APM files from both legacy + NP.

* Update dev_docs/typescript.md

* Use spread op instead of assign

* Use console.error instead of console.log
2020-03-04 11:25:39 +01:00
James Gowdy
eb40046b93
[ML] Fixing licensing after server NP cutover (#59275) 2020-03-04 10:14:11 +00:00
Dima Arnautov
4ce66c6893
[ML] Validate manual model memory input (#59056)
* [ML] validate mml based on estimated value

* [ML] better memoize

* [ML] memoryInputValidator unit tests

* [ML] cache mml errors

* [ML] prevent override

* [ML] fix validators, add unit tests

* [ML] ignore typing issue with numeral

* [ML] fix validateMinMML

* [ML] fix useCreateAnalyticsForm test

* [ML] setEstimatedModelMemoryLimit to the fallback value in case of an error
2020-03-04 11:02:49 +01:00
MadameSheema
3d4d03d2d1
activates SIEM Cypress tests in Jenkins (#59181)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-03-04 10:35:05 +01:00