Commit graph

27674 commits

Author SHA1 Message Date
Joe Reuter
eaedb2731b Revert chromedriver update (#50324)
* deprecate include_type_name

* include_type_name

* remove doc from mappings

* Updated timelion mapping

* Updated spaces and uptime mapping

* monitoring apm mapping

* Updated more mappings

* 2 more mappings

* Updated reporting mappings after syncing with @gammon

* Revert "update chromedriver dependency to v78 (#49737)"

This reverts commit 4a696b939a.
2019-11-12 15:32:01 -06:00
patrykkopycinski
64cea3571a
Fix misuse of react-router and react-router-dom (#50120) (#50316) 2019-11-12 17:45:05 +01:00
Peter Pisljar
f4b918da11
remove visualize loader (#46910) (#50319)
# Conflicts:
#	src/legacy/core_plugins/expressions/public/np_ready/public/execute.ts
#	src/legacy/core_plugins/expressions/public/np_ready/public/loader.test.ts
2019-11-12 11:03:25 -05:00
Dima Arnautov
1dc8933b72
[ML] Stats bar for data frame analytics (#49464) (#50297)
* [ML] stats for analytics jobs

* [ML] alight stats position

* [ML] refactor getAnalyticFactory, remove analytics stats bar component

* [ML] align layout for anomaly detection

* [ML] align layout

* [ML] show failed jobs count

* [ML] Anomaly detection jobs header

* [ML] test

* [ML] fix action columns

* [ML] add type for createAnalyticsForm

* [ML] move page title, prettier formatting
2019-11-12 15:31:52 +01:00
Robert Oskamp
4d64a3f335
[ML] Make navigation in tests more stable (#50132) (#50291)
This PR fixes the ML navigation.
2019-11-12 09:29:01 -05:00
Maja Grubic
aa0c797f26
[Discover] Close filter popup on click outside (#49934) (#50299) 2019-11-12 14:09:28 +00:00
Justin Kambic
58dce23cc8
[Uptime] Add zero monitors down heading (#48257) (#49814)
* Add zero down heading.

* Create new heading component for snapshot.

* Add tests and cases for no monitors.
2019-11-12 09:04:53 -05:00
Aleh Zasypkin
00d4866e4d
[7.x] Migrate authorization subsystem to the new platform. (#46145) (#50289) 2019-11-12 14:02:08 +01:00
Maja Grubic
be23dbbb74
[Discover] EUI-fication of the filters (#48452) (#50180)
* New filter UI

* Prototype of functionality

* EUIFication of filters in Discover

* Adding tests for field_selector component

* Replacing FieldSelector with EuiForm components

* Adding more discover field search tests

* Removing console statement

* Fixing failing functional test

* Removing obsolete snapshot

* design tweaks for filter popover

* use compressed style inputs

* Changing selectors to be EuiButtonGroup

* Removing unnecessary if statement

* Getting rid of ts-ignore warning
2019-11-12 12:45:31 +00:00
Marco Vettorello
7fc7a7e930
Update dependency @elastic/charts to v14 (#49947) (#50283) 2019-11-12 06:48:18 -05:00
Anton Dosov
585f06b901
Bugfix: Interpreter conversion of string to number should throw on NaN #27788 (#50063) (#50287) 2019-11-12 12:32:12 +01:00
James Gowdy
12a3106aa6
[ML] Adding cloud specific ML node warning (#50139) (#50281)
* [ML] Adding cloud specific ML node warning

* fixing include

* adding callout and cloud checks

* fixing translations

* removing positive look behind in regex
2019-11-12 11:11:01 +00:00
Dima Arnautov
ebb090d00d
[ML] Indicate missing required privileges for import in File Data Viz (#50147) (#50221)
* [ML] show a tooltip which indicates missing required privileges for data import

* [ML] fix export

* [ML] PR comments
2019-11-12 09:37:53 +01:00
Justin Kambic
fa5d6bcaf3
Revert router base name for Uptime plugin to use hash in default path. (#50095) (#50238) 2019-11-11 21:20:00 -05:00
Nathan Reese
96e256a2c7
[skip-ci] Replace coordinate map in Kibana getting started docs with Maps (#50167) (#50225)
* [Maps] replace coordinate map with Elastic Maps in Kibana getting started docs

* update dashboard getting started page

* update screen shot

* Update docs/getting-started/tutorial-visualizing.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* review feedback

* update dashboard instructions to include step to set time fitler

* clean up more instances for vector style

* review feedback
2019-11-11 18:20:21 -07:00
Mike Côté
e2ff5186ae
Ability to have telemetry always opted in (#49798) (#50235)
* Initial work

* WIP changes

* Turn off banner when allowChangingOptInStatus is true

* Fix bugs

* Fix broken jest tests

* Add jest tests for TelemetryForm

* Add TelemetryOptIn jest tests

* Make some adjustments to allow always being opted in

* Disallow turning telemetry completely off

* Fix bug in Joi config

* Keep route there
2019-11-11 19:44:22 -05:00
Mike Côté
466b759b66
Add "Get Help" and "Kibana Feedback" links to the help popover (#49797) (#50233)
* Initial work

* Move links to constants

* Update UI based on design and copy

* Apply PR feedback

* Remove unused translations

* Apply requested changes

* Remove some icons
2019-11-11 19:44:07 -05:00
Chris Cowan
0115748682
[Metrics UI] Fixing Outbound Traffic metric for Inventory View (#49986) (#50091) 2019-11-11 17:00:24 -05:00
Frank Hassanabad
bf37b9db27
[SIEM][Detection Engine] Removes technical debt and minor bug fixes (#50111) (#50183)
## Summary

* Removes technical debt of name being in the params now that the regular alerting has name as a first class citizen.
* Only creates new signals on an update if it sees that saved objects return 404
* Changes the conversion script of saved searches to rules to be every 5 minutes for tests.
* Changes the logger levels to be mostly quiet by using debug instead of info.
* Small fixes for when we return false for errors on 0 found signals when that is not an error. 
* Added a delete all api keys for more cleanups when developing 

For testing things on the backend this is the `kibana.dev.yml` settings I use for this PR which enables the siem debug but filters out the others and enables additional request information for testing:

```yml
logging.verbose: true
logging.events:
  {
    log: ['siem', 'info', 'warning', 'error', 'fatal'],
    request: ['info', 'warning', 'error', 'fatal'],
    error: '*',
    ops: __no-ops__,
  }
```

### Checklist

Use ~~strikethroughs~~ to remove checklist items you don't feel are applicable to this PR.

~~- [ ] This was checked for cross-browser compatibility, [including a check against IE11](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility)~~

~~- [ ] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/master/packages/kbn-i18n/README.md)~~

~~- [ ] [Documentation](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#writing-documentation) was added for features that require explanation or tutorials~~

- [x] [Unit or functional tests](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility) were updated or added to match the most common scenarios

~~- [ ] This was checked for [keyboard-only and screenreader accessibility](https://developer.mozilla.org/en-US/docs/Learn/Tools_and_testing/Cross_browser_testing/Accessibility#Accessibility_testing_checklist)~~

### For maintainers

~~- [ ] This was checked for breaking API changes and was [labeled appropriately](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process)~~

~~- [ ] This includes a feature addition or change that requires a release note and was [labeled appropriately](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#release-notes-process)~~
2019-11-11 15:27:15 -05:00
Jean-Louis Leysens
37785f7872
[SearchProfiler] Fix console error message when umounting (#50105) (#50157)
* Safer access of input ref

* Remove unnecessary "!" [skip ci]
2019-11-11 12:03:51 -05:00
Joe Reuter
b960860ad8
[Graph] Remove inferred edges leftover code (#50006) (#50159) 2019-11-11 17:54:29 +01:00
Robert Oskamp
54578b694c
[ML] Skip advanced wizard categorization test (#50141) (#50155) 2019-11-11 10:55:28 -05:00
Dario Gieselaar
15758c7da2
[7.x] [APM] Script optimization of APM-specific tsconfig (#498… (#50151)
* [APM] Script optimization of APM-specific tsconfig

* Don't break bootstrap process

* Document TS optimizations
2019-11-11 15:56:16 +01:00
Liza Katz
5fa5ec597d
Move timefilter and PersistedLog ⇒ NP (#49491) (#50152)
* Move timefilter to NP

* Fixed editor import

* added karma mocks

* More karma mocks

* Change way timefilter is mocked

* Fix timefilter passing in timelion

* attempted revert of mock types
2019-11-11 16:54:20 +02:00
István Zoltán Szabó
2e4c109d21
[7.x][DOCS] Fixes typo in ML related privileges. (#50144) 2019-11-11 08:03:51 -05:00
Liza Katz
6c03dd227e
Fix disco filters #2 (#50061) (#50121)
* closes #44349, as well as SDH issue #64

* added tests to cover fix

* eslint

* Fixed test import
2019-11-10 23:46:48 +02:00
Tiago Costa
719b834648
fix(NA): correctly reference babel plugin into the node babel preset (#50090) (#50096) 2019-11-09 02:47:45 -05:00
spalger
1072c582e1 skip flaky suite (#50079) (#50074) (#48709) (#50078)
(cherry picked from commit 78e9d93268)
2019-11-08 10:05:10 -05:00
Alexey Antonov
2cdb800988
Move @kbn/es-query into data plugin - filters folder (#49843) (#50100)
Dismissing reviews from ml and canvas as this is only an import change. 


* Move @kbn/es-query into data plugin - filters folder

* fix PR comments
2019-11-08 16:32:22 +03:00
Joe Reuter
b137b92cfc
Shim home app (#48715) (#50088) 2019-11-07 13:17:51 -05:00
Liza Katz
19dfe26381
Move legacy/server/index_patterns -> src/plugins/data/server (#46537) (#50081)
Dismissed @elastic/kibana-app review of import changes.

ts-ignored @ts-ignore

* Moved files to plugins/data/server.

* Renamed IndexPatternsService to IndexPatternsFetcher and created new IndexPatternsService

* Set routerPath.

* Fixed type error.

* Changed beats_management _fields_for_wildcard request with data/public/legacy api.

* Fixed changed paths.

* Fixes crashes after merge.

* Updated path for clarity.

* Applied Plugin interface to service.

* Fixed test failure caused by non camel case local variable name.

* Fixed import to IndexPatternsService to IndexPatternsFetcher.
2019-11-07 10:32:59 -05:00
Brandon Kobel
e21a104dc0
Revert "No response compression when there is a referer (#47751)" (#49987) (#50064)
This reverts commit 85e5885ccf.
2019-11-07 06:01:19 -08:00
Dmitry Lemeshko
fb96556076
update chromedriver dependency to v78 (#49737) (#50067) 2019-11-07 01:56:08 -05:00
Phillip Burch
bec939d283
Make sure that filter query bar can be set to null (#50070) (#50072) 2019-11-06 17:35:11 -06:00
Liza Katz
fdf954aa83
Remove unneded ui/documentation_links import (#49886) (#50066) 2019-11-06 15:16:04 -05:00
Gidi Meir Morris
3281a6833e
Improves performance of task execution in Task manager (#50047)
This PR include three key changes:

1. Run tasks as soon as they have been marked as running, rather than wait for the whole batch to me marked
2. Use a custom refresh setting of refresh: false where possible, in place of wait_for, in order to speed up Task Manager's internal workflow
3. Instrumentation of Task Manager exposing Activity / Inactivity metrics in Performance test runs
2019-11-06 13:48:19 -05:00
dave.snider@gmail.com
92b540d163
remove pound symbol from saved queries (#50038) (#50040) 2019-11-06 03:44:59 -08:00
Maryia Lapata
94cbec8e5d
[Vis Editor] Fix issue with parent pipeline agg (#48756) (#50042)
* Add error when there is no histogram agg when using parent pipeline

* Update error message

* Update message

* Get rid of let
2019-11-06 11:20:31 +03:00
Chris Roberson
dd43b7d000
[Monitoring] Ensure cloud cannot see setup mode (#49223) (#50016)
* Ensure cloud cannot see setup mode

* Remove cloud check from collection status, as it's an injected var now

* Man these tests suck
2019-11-05 07:45:33 -05:00
Patrick Mueller
a44923f062
[Telemetry] Remind users about telemetry on each minor version (#49644) (#50025)
resolves #49519

If a user has previously opted out of telemetry, this PR will
cause them to be prompted again, when the major or minor version
of Kibana changes. Previously, once opted out, they would never
get prompted again.
2019-11-05 01:05:20 -05:00
Joe Reuter
1c64b931a8
[Graph] Switch to core http (#49487) (#50019) 2019-11-04 21:07:31 +01:00
spalger
3aa5e79aa2 disable failing suite (#50005)
(cherry picked from commit 601800c9aa)
2019-11-03 02:18:01 -07:00
dave.snider@gmail.com
4874000ffb
Improve dashboard filters display to use color as well as text for negated filters (#49939) (#49991)
* Better key out negative filters

* fragments not spans

* Alter filter bar colors

- Red border for excluded
- Match pinned color to border color

* Fix title by using `useInnerText`

* Fix alignment of add filter button

* Moving SASS variables to its own file
2019-11-02 11:20:08 -07:00
Spencer
f1bba139fc
Update dependency rxjs to ^6.5.3 (#49837) (#49985)
* Update dependency rxjs to ^6.5.3

* move argument type def up for better coverage

* adapt to possibly undefined helpExtension

* complete definition of deprecation$ type

* define types that bindNodeCallback can no longer infer

* define more types that bindNodeCallback can't infer

* be more explicit and accurate about the types for a subject/observable pair

* fix interface error, TS now identifies it

* ignore a return type flaw because types are not being managed properly

* avoid overspecifying types

* allow types to be inferred where possible

* remove unnecessary withLatestFrom()

* reduce number of rxjs versions installed

* update kbn/pm dist
2019-11-02 09:41:18 -07:00
Caroline Horn
81cc4d1e2a
Add specificity to EuiComboBox focus ring hack (#49981) (#49988) 2019-11-02 10:01:28 -04:00
Aleh Zasypkin
35615a3653
[7.x] Migrate Encrypted Saved Objects plugin to the new platform. (#49984) 2019-11-02 07:59:03 +01:00
Gidi Meir Morris
6ee9ce8653
[task-manager] Improves messaging on errors due to inline scripts being disabled (#49860) (#49951)
This PR detects when claiming tasks fails due to inline scripts being disabled in Elasticsearch and improves the message reported in the Kibana log.
2019-11-01 21:48:39 +00:00
Chris Davies
4f8aa1528a
Fix Lens auto date bug (#49967) (#49974) 2019-11-01 17:16:07 -04:00
Thomas Neirynck
6c12c761d5
[Maps] Ensure the query-object is populated (#49917) (#49935) 2019-11-01 17:11:52 -04:00
Mike Côté
baad55f464
Return referenced by count with each action on the find API (#49104) (#49970)
* Initial work

* .kibana index configurable, NP ready implementation

* Fix broken jest tests

* Fix broken functional tests

* Add functional test

* Cleanup actions_client.test.ts
2019-11-01 17:03:47 -04:00