Commit graph

26169 commits

Author SHA1 Message Date
Kaarina Tungseth b306c5b8f4
[DOCS] Create Canvas workpads (#38616)
* Create workpads (in Canvas)

* Continuing work on intro

* Share your workpad content

* Reorganization

* Added GIFs

* Final clean up

* Comments from reviewers

* Comments from Gail
2019-07-09 12:59:42 -05:00
Mike Côté f55e786d6c
Prevent alert intervals from being 0 (#40634)
* Prevent intervals from being 0

* Add integration test
2019-07-09 13:47:24 -04:00
Mikhail Shustov ff5b7a8df4
Expose "is TLS enabled" flag for Kibana HTTP Server (#40336)
* expose it TLS enabled on Http server

* setup contract is under one section in tests

* regenerate docs

* isTLSEnabled --> isTlsEnabled
2019-07-09 19:18:25 +02:00
Chris Cowan 0ff97af37f
[Infra UI] Fixes #39809 - Sync state with localStorage for Metrics Explorer (#40099)
* Sync state with localStorage for Metrics Explorer

* Fixing typing issues for useStateWithLocalStorage

* Adding localStorage support

* Adding tests

* ESLint Fixes
2019-07-09 10:04:50 -07:00
Xavier Mouligneau 662b4b4cd7
[SIEM] Enhance inspect modal (#40530)
* Enhance inspect modal to have a statistic tab and only show the body of the request to allow user to use it in dev tools

* review I

* review II
2019-07-09 12:30:07 -04:00
Mengwei Ding 3629cea3a9
[Code] always read file content from the original bare repo in indexer (#40176)
* [Code] reenable code mocha tests

* skip multi node test

* [Code] read file content from the original bare repo if fails to open workspace in indexr

* More refactoring

* Add more unit tests

* Add unit tests

* always read file content from the original bare repo

* remove catching the workspace prepartion errors in indexer
2019-07-09 08:40:24 -07:00
Fuyao Zhao 17e605a0e3
[Code]: fix mocha, jest test file path (#40574) 2019-07-09 23:20:56 +08:00
Dario Gieselaar b81866bc23
[APM]: Fix transaction breakdown layout on IE11 (#40615)
Closes #40354.
2019-07-09 17:12:23 +02:00
Liza Katz db0bed4ac2
Removed docs of deleted directive (#40597) 2019-07-09 17:58:46 +03:00
Walter Rafelsberger 994e379ec3
[ML] Data Frames: Fixes search triggering onChange on every keystroke. (#40607)
- Replaces EuiFieldSearch with EuiSearchBar for the data frames transform wizard. EuiSearchBar has an incremental prop, when set to false, onChange will only trigger on enter instead on every keystroke.
- Fixes a bug where no search results would trigger an error callout for the source data table.
2019-07-09 16:56:00 +02:00
Henry 826a590e89
[APM] fixed header offset to prevent scrollbar from showing (#40147)
* fixed header offset to prevent scrollbar from showing

* remove topNavHeight variable (not needed)
2019-07-09 10:37:09 -04:00
Nathan Reese 9c6efbf785
[maps] fix symbol anchor position (#40524) 2019-07-09 08:27:07 -06:00
Walter Rafelsberger 69724839ab
[ML] Data Frames: Fixes start/stop/delete for failed transforms. (#40532)
- Fixes handling of failed transforms according to #40298 (comment). This adapts the API endpoints to allow force/wait_for_completion flags where applicable.
- Renamed DATA_FRAME_RUNNING_STATE to DATA_FRAME_TASK_STATE to better reflect the API naming.
- #40129 introduced an observable to refresh the transform list. The transform list actions now make use of this too and no longer require getJobs() to get passed around as a deeply nested prop.
- The state handling for overall loading and errors for the transform list is fixed/improved by this PR.
- On initial load, the list no longer shows No data frame transforms found, only the loading indicator.
- If loading the transform list data fails, the list gets replaced by an error-callout to avoid displaying out-of-date data and access to actions which might not work anymore.
- Fixes a bug where the transform list would no longer pick up refresh triggers after the request returned an error.
- Failed state in in the transform list uses now the danger color for the badge and adds a tooltip with the text provided in the reason field of the transform's stats.
- Fixes a regression where the messages pane would no longer load.
2019-07-09 16:24:28 +02:00
Pete Harverson 4924bf9a1c
[ML] Fixes anomalies table sort behavior when sorting on severity (#40600) 2019-07-09 15:21:12 +01:00
Justin Kambic ece704b3fb
[Uptime] Fix unsigned integer parsing error and add tests (#40526)
* Fix unsigned integer parsing error and add tests.

* Fix new defect, improve serialization function and add another test.

* Fix redundant code.

* Remove redundant function call.
2019-07-09 09:58:04 -04:00
Melissa Alvarez 96fdb72654
[ML] Data frame - ensure pivot preview works with comma-separated index patterns (#40282)
* split comma-sep indexPatterns into array for request

* always check for comma-separated index pattern

* fix type error

* types cleanup
2019-07-09 15:57:49 +02:00
Dario Gieselaar 7bb01ec56c
[APM]: use correct interval field key for histogram aggregation (#40598)
Fixes an issue with distribution aggs failing because #39886 inadvertently changed the `interval` key for a histogram agg to `fixed_interval`, which only works on date_histogram aggs.
2019-07-09 12:45:28 +02:00
Pete Harverson d3c7956605
[ML] Fixes results time range if anomalies occur after data stops (#40503)
* [ML] Fixes results time range if anomalies occur after data stops

* [ML] Edits following review
2019-07-09 10:53:11 +01:00
Pengcheng Xu f5a695703f
[Code] update ctags lsp version and remove unsupported langs (#40572) 2019-07-09 17:26:39 +08:00
andrewpatroni 0ac2d59e7c Update documentation_links.ts (#40333)
https://www.elastic.co/guide/en/kibana/7.2/code-install-language-server.html provides 404, the correct link is https://www.elastic.co/guide/en/kibana/7.2/code-install-lang-server.html
2019-07-09 16:29:41 +08:00
Yulong b638466d3a
[Code] fix index hang when proxy is marked unusable (#40485) 2019-07-09 15:59:16 +08:00
Yulong 5d121cf4e2
[Code] don't crash frontend if language server returns a empty value. (#40570) 2019-07-09 15:00:42 +08:00
Yulong 21afb886e3
[Code] enable multinode test (#40563) 2019-07-09 12:40:29 +08:00
Frank Hassanabad 73bdc80d4e
[SIEM] Anomaly UI table changes (#40440)
## Summary

- [x] Changed "Score" to "Anomaly Score"
- [x] Changed "Detector" to be "Job Name"
- [x] Added Link from "Job Name" to Anomaly Explorer page
- [x] Aligned text of the tables to be at the top
- [x] Removed the Information I from the table rows but kept it on the Host Details and Network Details
- [x] Added Timestamp to the end of the table
- [x] Moved "Job Name" to be after "Anomaly Score"
- [x] Removed Host Name from Anomalies table when on the Host Details page as it is redundant
- [x] Removed Network Name from Anomalies table when on the Network Details page as it is redundant
- [x] Added anomaly score Default threshold of 50 for the advanced settings page

Advanced setting for default Anomaly Score:
<img width="1225" alt="Screen Shot 2019-07-05 at 6 15 31 PM" src="https://user-images.githubusercontent.com/1151048/60749093-5abd4980-9f52-11e9-9340-08ef8e462c8f.png">

Before Host Overview:
<img width="2192" alt="before-overview-hosts" src="https://user-images.githubusercontent.com/1151048/60746932-23916d00-9f3f-11e9-81fb-e3dba98af160.png">

After Host Overview:
<img width="2186" alt="after-overview-hosts" src="https://user-images.githubusercontent.com/1151048/60746938-2f7d2f00-9f3f-11e9-9a4c-37f5bbc19771.png">

Before Host Details:
<img width="2201" alt="before-host-details" src="https://user-images.githubusercontent.com/1151048/60746961-4f145780-9f3f-11e9-9086-2709b7957221.png">

After Host Details:
<img width="2202" alt="after-host-details" src="https://user-images.githubusercontent.com/1151048/60746969-56d3fc00-9f3f-11e9-9110-5fb46fb398c9.png">


Before Network Overview:
<img width="2199" alt="before-network-overivew" src="https://user-images.githubusercontent.com/1151048/60746954-41f76880-9f3f-11e9-8c75-cc7e6dbde276.png">

After Network Overview:
<img width="2196" alt="after-network-overview" src="https://user-images.githubusercontent.com/1151048/60746957-47ed4980-9f3f-11e9-843a-a2b210347649.png">

Before Network Details:
<img width="2200" alt="before-network-details" src="https://user-images.githubusercontent.com/1151048/60746972-5d627380-9f3f-11e9-8dcb-cc1e1d73c0f9.png">

After Network Details:
<img width="2189" alt="after-network-details" src="https://user-images.githubusercontent.com/1151048/60746974-63585480-9f3f-11e9-9847-4645a7b1ab1d.png">

### Checklist

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

- [x] This was checked for cross-browser compatibility, [including a check against IE11](https://github.com/elastic/kibana/blob/master/CONTRIBUTING.md#cross-browser-compatibility)
- [x] 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

- [x] 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-07-08 21:39:29 -06:00
WangQianliang 692dbadfe3
fix(code/frontend): fix top bar layout (#40342) 2019-07-09 10:36:51 +08:00
Nathan Reese 78d90f84ec
[Maps] use custom labels in legend details (#40308)
* [Maps] use custom labels in legend details

* use dynamic label in vector style field select

* review feedback
2019-07-08 18:24:23 -06:00
Steph Milovic 1422fc49e5
Siem query review (#40279) 2019-07-08 16:10:39 -06:00
Nathan Reese 551fdc6e5e
[Maps] fix react typing for styles (#40518) 2019-07-08 16:02:40 -06:00
Angela Chuang de70a76bcf
fix style for persistent kql bar (#40487) 2019-07-09 02:56:18 +08:00
Xavier Mouligneau 8971930dac
fix style of the draggable in siem app (#40454) 2019-07-08 12:10:45 -04:00
Mike Côté 3d2cf69565
Use duration syntax for alert intervals (#40193)
* Use duration syntax for alert intervals

* Add tests to ensure route validates regex

* Add missing test
2019-07-08 11:05:10 -04:00
Dario Gieselaar 2d70c01b79
[APM] Migrate deprecated date_histogram parameter (#39886)
* [APM] Migrate deprecated date_histogram parameter

Closes #39584.

Replaces 'interval' with 'fixed_interval'

* Update snapshot
2019-07-08 16:52:10 +02:00
Philipp B a22349a8bf Replaced not-working search settings live update with EuiDelayRender component (#39987) 2019-07-08 17:23:13 +03:00
Dario Gieselaar db18c581a6
[APM] Persist table parameters to URL (#39912)
If the user changes the table options (page index, size, sort), they are reflected in the URL. This means that the user can navigate back and forth without losing the table state.

Closes #39340.
2019-07-08 15:54:40 +02:00
Walter Rafelsberger f32a20ca20
[ML] Data Frames: Fix form validation (#40427)
Fixes the form validation of transform id and destination index name.

- In addition to checking against existing transform ids, the input is now validated according to the data frame API docs
- The destination index input field is now validated against the index name limitations found in Elasticsearch's documentation. Since these rules are too much to be added as a helper text, a link to the docs is part of the helper text.
- If the destination index name matches an existing index, the Next button is no longer disabled, but the helper text for the input field states that creating this transform will modify the existing destination index.
2019-07-08 14:42:17 +02:00
Liza Katz 3c7702227d
Bugfix: Improve filter sorting logic to be more stable (#40246)
* Improve filter sorting logic to be more stable

* Improve filter sorting logic to be more stable

* test

* Code review improvement (use shorthand non-null assertion)

* code review
2019-07-08 13:26:27 +03:00
Maryia Lapata 42006de8db
[Vis Editor] Agg params compressed (#40137)
* Apply compressed for EUIFormRow controls
2019-07-08 11:55:13 +03:00
Pengcheng Xu 181e65abb4
[Code] Register definition handler for languages supported by ctags (#40472)
* [Code] Register definition handler for languages supported by ctags

* Refactor catgs support langugae
2019-07-08 14:44:00 +08:00
John Dorlus fc87b088cd
Added index management app loading test. (#40219) 2019-07-06 16:49:26 +00:00
Yulong 6e53a4ad3a
[Code] cleanup repo object (#40356)
[Code] workspace repo clean up
2019-07-06 19:45:54 +08:00
Ahmad Bamieh f9e45f37cd
[Core] Remove lock file from packages/kbn-spec-to-console and… (#40395)
* remove lock file from packages/kbn-spec-to-console and update jest

* update handlebars to 4.1.0

* update jest-cli
2019-07-06 10:55:03 +03:00
Robert Monfera 03dbc40f3d
Fix: restore special case check dropped in refactoring (#40369) 2019-07-06 09:11:09 +02:00
John Dorlus a965a068f2
Added snapshot restore smoke test to ensure the app has loaded. (#39812)
* Added snapshot restore smoke test to ensure the app has loaded.

* Fixed linting issues.

* Updated test to reflect changes to Snapshot and Restore's name.

* Fixed merge update.
2019-07-06 07:10:06 +00:00
John Dorlus 28566b3e0a
Added ILM smoke test to ensure the app has loaded and a data test subject for the section header. (#39859) 2019-07-06 05:06:56 +00:00
Xavier Mouligneau 30fe044cdb
Remove warning euiBasicTable on host tab (#40447)
* remove warning euiBasicTable on host tab

* fix types
2019-07-05 23:55:03 -04:00
Spencer 62127f18eb
[kbn/es] add command to build es snapshots for each license an… (#40331) 2019-07-05 16:12:41 -07:00
Thomas Neirynck 7d0d78c4af
[Maps] Use default locale as fallback for EMS tile layers (#40433) 2019-07-05 16:25:05 -04:00
Tim Roes b7de2acc65
Fix issue with long values in TSVB static metric (#40256)
* Fix issue with long values in TSVB static metric

* Handle numeric values with decimal zeros

* Work properly with exponential values

* Wrap into boolean
2019-07-05 16:59:51 +02:00
Aleh Zasypkin 01f6efac02
Include new platform x-pack plugin paths to Jest roots. (#40422) 2019-07-05 16:07:10 +02:00
Mikhail Shustov 9e147f5b17
Env contains distributable flag (#40361)
* env contains distributable flag

* make sure flag is always boolean
2019-07-05 13:47:03 +02:00