Commit graph

30048 commits

Author SHA1 Message Date
Shahzad
334dff37d4
[Uptime] Added date range filter into expanded list query (#52609)
* added filters into expanded list query

* update filters

* update query

* update snap

* update tests

* update filters

* update test

* remove side effect

* ignore typcehck

* update to remove location filter from query

* update filter groups

* remove code

* update test
2020-01-07 18:47:00 +01:00
patrykkopycinski
23a0513469
[SIEM] Add react/display-name eslint rule (#53107) 2020-01-07 18:05:04 +01:00
patrykkopycinski
677670b929
[SIEM] Enable eslint prefer-template rule (#53983)
* [SIEM] Enable eslint prefer-template rule

* cleanup

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-07 18:02:32 +01:00
Brian Seeders
4b6c2f84e1
Elasticsearch snapshots automation (#53706) 2020-01-07 11:50:08 -05:00
patrykkopycinski
6e1328b9f0
[SIEM] Enable eslint react/no-children-prop (#53985) 2020-01-07 17:46:56 +01:00
gchaps
91173525c3
[DOCS][Reporting] Adds info about using a custom reporting index (#54052)
* [DOCS][Reporting] Adds info about using a custom reporting index

* [DOCS] Incorporates edits into reporting security doc
2020-01-07 08:37:58 -08:00
Maja Grubic
cca454f7aa
Changing background color to align with EUI color (#54060)
* Changing background color to align with EUI color

* Removing background-color from theme
2020-01-07 16:36:18 +00:00
Chris Roberson
28b6efa260
Fix linting issues (#54068)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-07 11:31:15 -05:00
Joe Reuter
c02531a494
NP Migration: Move doc views registry and existing doc views into discover plugin (#53465) 2020-01-07 16:53:16 +01:00
Melissa Alvarez
865462a259
[ML] DF Analytics job creation: Add 'excludes' input field to form (#53856)
* Add exclude fields input to df analytics creation form

* rename explain api endpoint to general explainDataFrameAnalytics

* wip: use explain api for exclude fields

* show error message if classification depVar has cardinality of > 2

* update types

* updates after conflict resolution

* prevent creation if more than 2 distinct classes for class job. create form field validation file
2020-01-07 10:46:32 -05:00
nnamdifrankie
6a2fb61ae5
EMT-issue-65: add endpoint list api (#53861)
add endpoint list api
2020-01-07 09:59:11 -05:00
patrykkopycinski
f46e8e2f0b
[SIEM] Fix doubled drag handles in Timeline (#52679) 2020-01-07 15:56:13 +01:00
Dmitry Lemeshko
a1176b0e4a
Functional tests: refactor visualize_page (#53845)
* add new POs and services

* split visualize_page

* refactor PO and tests

* lost changes

* more fixes

* fix tslint error

* refactor POs

* add vega_chart_page, refactor

* review fix

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-07 15:42:20 +01:00
Maja Grubic
ab76ee5a58
[Dashboard] Redesign empty screen in readonly mode (#54073)
* [Dashboard] Make empty screen nicer in readonly mode

* Adding contact-the-owner part

* Updating text
2020-01-07 14:41:02 +00:00
Dima Arnautov
8ac233f303
[ML] Support search for partitions on Single Metric Viewer (#53879)
* [ML] agg for partition field values

* [ML] change api

* [ML] load entity values

* [ML] check for partition field names

* [ML] wip

* [ML] refactor api

* [ML] debounce input

* [ML] remove Record, improve types, fix typo

* [ML] jobId as dedicated param, jsdoc comments

* [ML] result_type term based on model plot config

* [ML] remove redundant criteria for job id

* [ML] refactor getPartitionFieldsValues to TS

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-07 06:14:32 -08:00
Silvia Mitter
825748ea0c
update apm index pattern (#54095)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-07 14:57:43 +01:00
Chris Mark
3c50551392
Add data ui for envoyproxy Metricbeat Module (#53476) 2020-01-07 15:03:38 +02:00
Dima Arnautov
54b2f148e3
[ML] persist the brush when expanded to full width (#54020) 2020-01-07 04:55:44 -08:00
Alejandro Fernández
3953c9020e
Skip failing test (#54100)
ES behaves differently in master and in 7.x, causing the test to fail in
the latter.
2020-01-07 13:29:35 +01:00
Cauê Marcondes
58cb24a7e6
[APM] Show errors on the timeline instead of under the transaction (#53756)
* creating error marker and refactoring some stuff

* styling popover

* adding agent marks and errors to waterfall items

* adding agent marks and errors to waterfall items

* adding agent marks and errors to waterfall items

* fixing tests and typescript checking

* refactoring helper

* changing transaction error badge style

* adding unit test

* fixing agent marker position

* fixing offset when error is registered before its parent

* refactoring error marker

* refactoring error marker

* refactoring error marker

* refactoring error marker

* refactoring error marker

* refactoring waterfall helper

* refactoring waterfall helper

* refactoring waterfall helper api

* refactoring waterfall helper

* removing unused code

* refactoring waterfall helper

* changing unit test

* removing comment

* refactoring marker component and waterfall helper

* removing servicecolor from waterfall item and adding it to errormark

* fixing trace order
2020-01-07 11:56:23 +00:00
MadameSheema
7607c162fe
removes logout (#54098) 2020-01-07 12:53:58 +01:00
Jean-Louis Leysens
e687fc63df
[Console] Telemetry (part 1) (#52893)
* Saving anonymised data to SO

* Add new files

* Hook up usage collector

* Added app start up ui metric tracking

* Only use client side track metrics functionality

* Added comment regarding use of `patterns`, renamed trackMetric -> trackUiMetric

* Fix jest tests

* Slight refactor and fix for functional tests. More defensive tracking logic

* Fix types in test

* Minor refactor to get endpoint description - removed SenseEditor from autocomplete.
Fix bug where cursor at end of line does not get endpoint informaiton

* Send request to es: do not mutate args
Always move cursor to end of line when getting endpoint description

* Create an interface a simple interface to the metrics tracker
Use the new createUiStatsReporter function to create the tracker

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-07 11:01:21 +01:00
Cauê Marcondes
6398e22b4f
adding message to transaction and span metadata (#54017) 2020-01-07 08:33:49 +00:00
Melissa Alvarez
9aa23410d5
convert modelMemoryLimit nums to strings before validation check (#54011) 2020-01-06 19:50:55 -05:00
Tim Sullivan
fef8485f36
[Reporting/Legacy] Remove reporting legacy job params compatibility shim (#52539)
* [Reporting/Tests] consolidate functional test configs

* remove console.log

* trash

* Update

* add more to the comment

* restore historic archive for wip ui functional tests

* [Reporting/Legacy] Remove reporting legacy job params compatibility shimmy shim shim

* objectType: objectType

* fix jest test and get_urls logging

* simplify change

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-06 16:20:45 -07:00
Justin Kambic
9481cbf36e
[Uptime] Prefer Kibana core http services (#53726)
* Prefer Kibana core http service to other fetch functions, refactor helper functions to hooks.

* Reintroduce newline deleted in previous commit.

* Clean up obsolete import.

* Clean up effect code in new hook.

* Clean up enum usage in new hook.

* Implement PR feedback on new hook.

* Fix eslint error.

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-06 18:00:49 -05:00
Ahmad Bamieh
ecab2073ae
[Telemetry] fix bug where uiStatsMetrics is not getting report… (#54045)
* fix bug where uiStatsMetrics is not getting reported

* fix tests
2020-01-06 23:58:55 +02:00
Tim Sullivan
fa8da7c349
[Reporting/PDF] Refactor screenshot pipeline for multi-url by default (#48588)
* Multi-url pass to screenshotsObservable

* Restore "first" operator

* max attempt = 1 for testing

* cleanup debug

* restore more concatMap

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-06 14:34:27 -07:00
gchaps
8d37637c07
[DOCS][Reporting] Updates introduction and troubleshooting sections" (#54036)
* [Reporting/Docs] Various Documentation Additions

- Add ECONNREFUSED to troubleshooting page:
- System Requirements for Reporting
- Layout and Sizing

* [DOCS][Reporting] Updates index and troubleshooting pages

Co-authored-by: Tim Sullivan <tsullivan@users.noreply.github.com>
2020-01-06 12:44:42 -08:00
Tim Sullivan
c9c80845d0
Check license to typescript (#52955)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-06 13:29:13 -07:00
Aaron Caldwell
368a894bd2
[Maps] Fix regression preventing maps telemetry from populating & remove task manager logic (#52834)
* Remove task logic. Remove server refs and revise for np. Migrate a few files to ts

* Remove unused reference

* Update mappings

* Test usage collector register

* Update api integration tests to include maps now that telemetry is 'normal' (not using task mgr state)

* Update integration test to use stack stats

* Update integration test to look for 'maps-telemetry' instead of 'maps'

* Update jest test to reflect calls to register

* Follow the same pattern as other int tests and test reliable nested attribute

* Back out np-related changes for separate PR

* timeCaptured hasn't changed but for some reason stopped working. Getting iso string fixes issue

* Back out file shuffling for separate PR

* Remove mappings updates (handled in separate PR)

* Review feedback. Move telemetry type constant to constants file

* Consolidate imports

* Linting fix

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-06 13:05:07 -07:00
Chris Davies
f08fc201c8
Add support for scripted fields and (#53948)
default index pattern

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-06 14:55:51 -05:00
Nathan Reese
dbe0bfdf79
[Maps] Allow editing EMS basemap selection (#53631)
* [Maps] Allow editing EMS basemap selection

* resync source data when map changes

* remove old sources and layers

* update ownsMbLayerId and ownsMbSourceId so they return true for previous sources when source changes

* review feedback

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-06 14:55:12 -05:00
Chris Davies
ae8925c123
Select Records when count operation is chosen (#53911) 2020-01-06 14:54:49 -05:00
Maja Grubic
8751e7cf89
[Visualization] Add default filename when exporting if no filename provided (#54003) 2020-01-06 19:29:26 +00:00
Larry Gregory
194c97f4f6
Reorganizing spaces client-side plugin (#53644)
* reorganizing spaces client-side plugin

* additional testing and cleanup

* address PR feedback

* additional cleanup

* rename scss file

* one more index
2020-01-06 14:12:07 -05:00
Chris Cowan
eb5460fe66
[Metrics UI] Add AWS Cloudwatch dimensions to groups filter in Metrics Explorer (#53624)
* [Metrics UI] Adding aws.cloudwatch.* fields to group by for aws.metrics in Metrics Explorer

* Ensuring the correct module is used for the field.

* Adding a unique around the fields to prevent potential extra work

* Adding missing file

* Fixing possible missing event.dataset

* clean up for review
2020-01-06 10:31:29 -07:00
Nathan Reese
1e5135ec53
[Maps] Vector style UI redesign (#53946)
* [Maps] style editor update

* update label editor

* update size editor

* update orienation editor

* i18n cleanup

* deconstruct props

* review feedback

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-06 11:42:01 -05:00
Shahzad
e4ccf19f75
[Uptime] Fix/location map hide layer view control (#53568)
* hide layer control and added loc tags

* update test

* remove unused comment

* remove capitalization

* style fix

* update types

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-06 16:54:37 +01:00
Gidi Meir Morris
785b916917
allows Alerts to recover gracefully from Executor errors (#53688)
Prevents errors in Alert Executors from forcing their underlying tasks into a zombie state.
2020-01-06 14:52:06 +00:00
Jean-Louis Leysens
6ce2818f88
[Console] Fix OSS build (#53885)
* Move fp-ts and immer to "." package.json

* Revert "Move fp-ts and immer to "." package.json"

This reverts commit b876df0d54.

* Second attempt, fp-ts and immer -> root

* fp-ts -> 2.3.1

* Revert x-pack/package.json

* Update fp-ts in x-pack/package.json

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-06 15:21:44 +01:00
Pierre Gayvallet
205fbce657
migrate xsrf / version-check / custom-headers handlers to NP (#53684)
* migrate xsrf / version-check / custom-headers handlers to NP

* export lifecycleMock to be used by plugins

* move toolkit mock to http_server mock

* remove legacy config tests on xsrf

* fix integration_test http configuration

* remove direct HAPI usages from integration tests

* nits and comments

* add custom headers test in case of server returning error

* resolve merge conflicts

* restore `server.name` to legacy config
2020-01-06 15:21:21 +01:00
Mikhail Shustov
fd4bb8e8a4
use NP deprecations in uiSettings (#53755)
* use NP deprecation iunstead of manual one in uiSettings

* add ServiceConfigDescriptor type

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-06 15:26:51 +03:00
Gidi Meir Morris
8992a43c6e
adds strict types to Alerting Client (#53821)
The AlertsClient API currently returns mixed inferred types instead of a clear strict type, making it harder to work with the client's type signatures.
The root causes for this difficulty is that we have to support the SavedObjects API which allows partial updates of types, and the implementation of code that converts the SavedObject from a RawAlert to an Alert in a non type-strict manner.

To address this we've added concrete types on the AlertsClient APIs, using Partial on update due to the SavedObjects API, and a strict Alert on the other APIs.
2020-01-06 11:11:18 +00:00
Maja Grubic
5b2a188c43
[Dashboard] Empty screen redesign (#53681)
* Edit screen redesign

* Edit screen redesign

* Redesign view screen

* Redesign view screen

* Fixing type failure, and functional test

* Updating failing functional tests

* update dashboard empty styles

* i18n fix

* Updating failing snapshot

Co-authored-by: Ryan Keairns <rkeairns@chef.io>
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-06 10:55:15 +00:00
Aleh Zasypkin
aa38fb68a7
Migrate config deprecations and ShieldUser functionality to the New Platform (#53768) 2020-01-06 11:43:15 +01:00
Mikhail Shustov
d64c4cb5fe
increase delay to make sure license refetched (#53882)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-06 12:24:25 +03:00
Pierre Gayvallet
24542c3ad7
Allow custom NP plugin paths in production (#53562)
* allow NP plugins --plugin-path in production, logs a warning

* remove env.staticFilesDir (unused)

* only show warning in development

* update rendering tests snapshots

* fix typo
2020-01-06 09:24:15 +01:00
Thomas Neirynck
c19151d474
[Maps] show custom color ramps in legend (#53780) 2020-01-05 20:05:47 -05:00
Maja Grubic
58da936968
[Lens] Expression type on document can be null (#53883)
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
2020-01-05 09:16:07 +00:00