Commit graph

38445 commits

Author SHA1 Message Date
Pierre Gayvallet b99abe301a
increase stdout max listeners for legacy logging (#84497)
* increase stdout max listeners for legacy logging

* add missing packages to CODEOWNERS
2020-11-30 15:32:59 +01:00
Søren Louv-Jansen a2b71f8bf9
[APM] Service overview: Add throughput chart (#84439) 2020-11-30 14:20:41 +01:00
Matthias Wilhelm 923a525923
[Discover] Unskip main functional tests (#84300) 2020-11-30 14:13:53 +01:00
Shahzad 2e6dca62f1
Uptime overview overhaul (#83406)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-30 13:51:11 +01:00
Cauê Marcondes 668ec44e3c
[APM] Adjust time formats based on the difference between start and end (#84470) 2020-11-30 13:25:28 +01:00
James Gowdy 090359ca5a
[ML] Renaming saved object repair to sync (#84311)
* [ML] Remaiming saved object repair to sync

* removing 0 from sync lists

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-30 12:24:03 +00:00
Alejandro Fernández Haro cb55898c98
[UsageCollection] Remove formatBulkUpload and other unused APIs (#84313)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-30 11:30:47 +00:00
Fabien Baligand d11ca6c1da
[Visualizations] Adds visConfig.title and uiState to build pipeline function (#84456)
* add visConfig.title to pipeline visualization function

- To be consistent with visualizations built with "buildPipelineVisFunction".
- To provide "title" information for visualizations.

* add uiState to pipeline visualization function

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-30 13:30:30 +02:00
Alejandro Fernández Haro 4c59629fdc
[Elasticsearch Migration] Update docs re UsageCollection (#84322) 2020-11-30 11:29:47 +00:00
Diana Derevyankina 06da0e77b5
TSVB field list performance issue on using annotations (#84407)
* TSVB field list performance issue on using annotations

* Add AbortController to fetchFields and change translation id in annotations_editor

* Rename fetchFields to debouncedFetchFields

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-30 14:08:50 +03:00
MadameSheema 454635228e
[Security Solution] Exceptions Cypress tests (#81759)
* improves 'Creates and activates a new custom rule' test

* fixes constant problem

* improves 'Creates and activates a new custom rule with override option' test

* improves 'Creates and activates a new threshold rule' test

* refactor

* fixes type check issue

* improves assertions

* removes unused code

* changes variables for constants

* improves 'waitForTheRuleToBeExecuted' test

* improves readability

* fixes jenkins error

* refactor

* blah

* more things

* finishes 'Creates an exception from rule details and deletes the excpetion' implementation

* implements 'Creates an exception from an alert and deletes the exception'

* updates VALUES_INPUT locator

* updates archiver

* refactor

* improves the code

* fixes CI error

* renames exceptions archive

* refactor

* fixes merge issue

* fixes CI issue

* debug

* refactor

* improves test data

* removes signals index after the execution

* removes unused line

* removes unused variable

* refactors 'numberOfauditbeatExceptionsAlerts' constant to camel case

* simplifies the archive

* waits for the rule to be executed after navigating to opened alerts tab

* cleaning data

* fixes tests flakiness

* cleans test data

* refactors code

* removes unsused archives

* cleans data

* simplifies data

* fixes CI issue

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-30 10:37:42 +01:00
James Gowdy 767286e2da
[ML] Fix spaces job ID check (#84404)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-30 09:34:33 +00:00
Madison Caldwell bdf7b88b45
[Security Solution][Detections] Handle dupes when processing threshold rules (#83062)
* Fix threshold rule synthetic signal generation

* Use top_hits aggregation

* Find signals and aggregate over search terms

* Exclude dupes

* Fixes to algorithm

* Sync timestamps with events/signals

* Add timestampOverride

* Revert changes in signal creation

* Simplify query, return 10k buckets

* Account for when threshold.field is not supplied

* Ensure we're getting the last event when threshold.field is not provided

* Add missing import

* Handle case where threshold field not supplied

* Fix type errors

* Handle non-ECS fields

* Regorganize

* Address comments

* Fix type error

* Add unit test for buildBulkBody on threshold results

* Add threshold_count back to mapping (and deprecate)

* Timestamp fixes

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-29 22:10:23 -05:00
Tiago Costa d21e4f5af4
skip flaky suite (#84440) 2020-11-28 03:49:04 +00:00
Tiago Costa 31c1ca0026
skip flaky suite (#84445) 2020-11-27 15:14:42 +00:00
Søren Louv-Jansen f99766e7ab
[APM] Fix missing service.node.name (#84269) 2020-11-27 10:19:11 +01:00
Rudolf Meijering ee5c9bceeb
Upgrade fp-ts to 2.8.6 (#83866)
* Upgrade fp-ts to 2.8.6

* reduce import size from io-ts

* removed unused imports

* remove usage of fpts from alerts

Co-authored-by: Gidi Meir Morris <github@gidi.io>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-26 20:34:06 +01:00
Yulia Čech 51f75a5655
Added data streams privileges to better control delete actions in UI (#83573)
* Added data streams privileges to better control delete actions in UI

* Fix type check issues

* Change data streams privileges request

* Fixed type check issue

* Fixed api integration test

* Cleaned up not needed code

* Renamed some data streams and added a default value for stats find

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-26 17:04:24 +01:00
Joe Portner 4d8b7f9084
Improve short-url redirect validation (#84366) 2020-11-26 10:51:10 -05:00
Alexey Antonov 93b0273ccd
TSVB offsets (#83051)
Closes: #40299

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-26 18:04:27 +03:00
Matthias Wilhelm f0192c1c03
[Discover] Fix navigating back when changing index pattern (#84061) 2020-11-26 15:45:21 +01:00
Alejandro Fernández Gómez b246701d39
[Logs UI] Polish the UI for the log entry examples in the anomaly table (#82139)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-26 14:18:42 +01:00
Alejandro Fernández Gómez 36ab99e546
[Logs UI] Limit the height of the "view in context" container (#83178)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-26 14:01:53 +01:00
Alejandro Fernández Haro 4004dd4012
[Application Usage] Update schema with new fleet rename (#84327) 2020-11-26 11:25:05 +00:00
Mikhail Shustov d2552c426d
fix identation in list (#84301) 2020-11-26 12:08:47 +01:00
Shahzad a4c8dca021
[Uptime] Fix headers io-ts type (#84089) 2020-11-26 10:08:45 +01:00
Silvia Mitter fac792778e
[fleet] Add config options to accepted docker env vars (#84338) 2020-11-26 09:32:04 +01:00
Jen Huang 459263fd59
[Fleet] Support URL query state in agent logs UI (#84298)
* Initial attempt at URL state

* Break into smaller files

* Handle invalid date range expressions
2020-11-25 13:29:57 -08:00
Spencer 5c57f3db36
[basePathProxy] include query in redirect (#84356)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-11-25 13:34:59 -07:00
Dan Panzarella 71f77862e7
[Security Solution] Add Endpoint policy feature checks (#83972) 2020-11-25 15:29:23 -05:00
Chris Roberson dfa9c75021
Fix issues with show_license_expiration (#84361) 2020-11-25 15:15:46 -05:00
Jonathan Buttner 5fda30001f
[Security Solution][Resolver] Add support for predefined schemas for endpoint and winlogbeat (#84103)
* Refactoring entity route to return schema

* Refactoring frontend middleware to pick off id field from entity route

* Refactoring schema and adding name and comments

* Adding name to schema mocks

* Fixing type issue
2020-11-25 14:47:11 -05:00
Spencer 4975112723
[cli/dev] log a warning when --no-base-path is used with --dev (#84354)
Co-authored-by: spalger <spalger@users.noreply.github.com>
2020-11-25 12:12:28 -07:00
Jen Huang 284b1046df
[Fleet] Support input-level vars & templates (#83878)
* Fix bug creating new policy on the fly

* Adjust UI for input with vars but no streams

* Revert "Fix bug creating new policy on the fly"

This reverts commit 34f7014d69.

* Add `compiled_input` field and compile input template, if any. Make compilation method names more generic (instead of only for streams). Add testts

* Add compiled input to generated agent yaml

* Don't return empty streams in agent yaml when there aren't any

* Update missed assertion

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-25 10:13:36 -08:00
Cauê Marcondes 8804b504a0
[APM] Elastic chart issues (#84238)
* fixing charts

* addressing pr comments
2020-11-25 17:08:15 +01:00
Devon Thomson 351cd6d19d
[Time to Visualize] Fix Unlink Action via Rollback of ReplacePanel (#83873)
* Fixed unlink action via rollback of replacePanel changes
2020-11-25 11:03:00 -05:00
Devon Thomson 9bef42b2a8
redirect to visualize listing page when by value visualization editor doesn't have a value input (#84287) 2020-11-25 10:59:52 -05:00
Joe Reuter 5b2e119356
add live region for field search (#84310) 2020-11-25 16:57:03 +01:00
Dima Arnautov 280ce7e5fa
[ML] Persisted URL state for Anomalies table (#84314)
* [ML] Persisted URL state for Anomalies table

* [ML] adjust cell selection according to the time range
2020-11-25 16:49:45 +01:00
Spencer ea8ea4e4e0
[dev/cli] detect worker type using env, not cluster module (#83977)
* [dev/cli] detect worker type using env, not cluster module

* remove unused property

* assume that if process.send is undefined we are not a child

* update comment

Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-25 08:03:47 -07:00
Scotty Bollinger 0fe8a65a23
[Workplace Search] Migrate DisplaySettings tree (#84283)
* Initial copy/paste of components

Changes for pre-commit hooks were:

- Linting
- Lodash imports
- Fixed warnings for `jsx-a11y/mouse-events-have-key-events` with stubbed onFocus and onBlue events with FIXME comments

* Add server routes

* Remove reference to shared lib

This one-liner appears only once in ent-search so adding it here in the logic file`

* Fix paths

* Add types and fix TypeScript issues

* Replace FlashMessages with global component

* More explicit Result type

* Remove routes/http in favor of HttpLogic

* Fix server routes

`urlFieldIsLinkable` was missing and `detailFields` can either be an object or an array of objects

* Add base styles

These were ported from ent-search. Decided to use spacers where some global styles were missing.

* Kibana prefers underscores in URLs

Was only going to do display-settings and result-details but decided to YOLO all of them
2020-11-25 09:00:10 -06:00
Brandon Kobel 58297fa131
Deprecate xpack.task_manager.index setting (#84155)
* Deprecate `xpack.task_manager.index` setting

* Updating developer docs about configuring task manager settings
2020-11-25 06:36:24 -08:00
Liza Katz b3430e3f09
[Search] Search batching using bfetch (again) (#84043)
Re-merging after cypress fixes
2020-11-25 16:32:05 +02:00
Rudolf Meijering 5ee0104fe1
Use .kibana instead of .kibana_current to mark migration completion (#83373) 2020-11-25 15:20:56 +01:00
Chris Roberson ced1dadb8a
[Monitoring] Only look at ES for the missing data alert for now (#83839)
* Only look at ES for the missing data alert for now

* PR feedback

* Fix tests
2020-11-25 08:50:03 -05:00
Chris Roberson 0f780229b5
Put the cluster_uuid in quotes (#83987)
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2020-11-25 08:49:17 -05:00
Søren Louv-Jansen 4367a10d1b
[APM] Rename ChartsSyncContext to PointerEventContext (#84272) 2020-11-25 12:44:02 +01:00
Pete Harverson c1b807eda3
[ML] Fix Anomaly Explorer population charts when multiple causes in anomaly (#84254) 2020-11-25 11:36:31 +00:00
Joe Reuter 09e326e136
[Lens] Fix label input debouncing (#84121) 2020-11-25 12:12:43 +01:00
Matthias Wilhelm f294a9e2ab
[Discover] Refactor discover.js controller topnav code (#79062)
* Move discover.js functions to helper functions in separate files

* Convert to TypeScript

* Add unit tests

* Add removeField function to SearchSource
2020-11-25 11:07:08 +01:00