Spencer
7314177c85
[7.3] Use custom GECKODRIVER_CDNURL ( #41513 ) ( #41549 )
2019-07-18 23:01:03 -07:00
WangQianliang
e52444b608
fix(code/frontend): fix sort file tree node function ( #41218 ) ( #41544 )
2019-07-19 12:23:46 +08:00
Greg Thompson
efc447a25a
bump eui to 12.2.1 ( #41510 )
2019-07-18 20:21:49 -05:00
Justin Kambic
1cdf20b19a
[Uptime] Speed up monitor states query ( #41395 ) ( #41508 )
...
* WIP trying some things.
* Improve query functions, page working.
* Remove procedural code.
* Remove redundant size value.
* Extract bare ints to named constant.
* Add a comment.
* Extract max bucket size to a constant.
* Remove hardcoded value.
* Delete obsolete code.
* Add `missing_bucket` param to composite agg.
* Remove hardcoded value.
2019-07-18 19:58:48 -04:00
Spencer
4d5764fbb0
[7.3] [jest] disallow invalid describe calls ( #41378 ) ( #41486 )
...
* [jest] disallow invalid describe calls (#41378 )
* [jest] disallow invalid describe calls
* correct other describe calls
* remove unnecessary glob
* cast decribe names to strings
* remove new async describe function
# Conflicts:
# test/functional/apps/dashboard/dashboard_filtering.js
# x-pack/legacy/plugins/index_management/__jest__/client_integration/home.test.ts
# x-pack/legacy/plugins/reporting/server/usage/get_reporting_usage_collector.test.js
# x-pack/test/functional/apps/uptime/monitor.ts
# x-pack/test_utils/jest/integration_tests/example_integration.test.ts
* fix eslint violation
2019-07-18 16:35:07 -07:00
Spencer
c23de2ba14
[7.3] [Kibana Plugin Generator]target branch → version (#3020… ( #41517 )
...
A version error will occur each time the following procedure is executed.
Changing「6.6」 from 「6.6.1」 will succeed.
So I changed branch (6.6) to version(6.6.1).
1.Execute「node scripts/generate_plugin my_plugin_name」with [Kibana Plugin Generator][Quick Start]
2.Answer「6.6」to the question 「What Kibana version are you targeting?(6.x)」
3.Execute「yarn start」
2019-07-18 15:30:35 -07:00
Tim Sullivan
0d3415ac25
[Docs/Reporting] More information about HTTP / script stuff ( #41200 ) ( #41524 )
...
* [Docs/Reporting] More information about HTTP / script stuff
* "post url" formatting consistency
* consistent wording from 1 paragraph to another
* Update docs/reporting/response-codes.asciidoc
Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
* pr feedback
* subs=attributes, version in command example
* "Retry-After" content
* another feedback
2019-07-18 15:01:49 -07:00
Luke Elmers
f1d6c05ec0
Fix visualization error generated by using "other bucket" in terms aggregations. ( #40855 ) ( #41501 )
2019-07-18 14:23:02 -06:00
Brandon Kobel
49209781fb
Deleting SIEM's yarn.lock. As far as I can tell, this isn't used. ( #41188 ) ( #41484 )
...
When updating lodash everywhere, I noticed that SIEM has a local
yarn.lock file which appears entirely unused.
2019-07-18 11:24:01 -07:00
Andrew Cholakian
c384d60504
[7.3] [Uptime] Handle mode: all
in uptime snapshot calculation ( #41335 ) ( #41423 )
...
* [Uptime] Handle `mode: all` in uptime snapshot calculation (#41335 )
Patching this function in #41210 fixed performance but was missing this filter clause. We depend on only processing summary info. This fixes errors around missing destructured data where we expect summary fields to be present.
* Update snapshot to use heartbeat7.0.0 index for backport
2019-07-18 12:55:09 -05:00
gchaps
a79f418e4b
[DOCS] Fixes bulleted list in snapshot doc ( #41475 )
2019-07-18 10:01:09 -07:00
Justin Kambic
25ea38d02c
[Uptime] Add explicit alignments to table columns ( #40680 ) ( #41414 )
...
* Add explicit alignments to table columns.
* Fix broken prop and snapshots.
* Fix pagination item count and update snapshot to match changes.
2019-07-18 12:28:09 -04:00
liza-mae
3da6c2c88c
Update functional test doc ( #41276 ) ( #41463 )
2019-07-18 10:27:16 -06:00
WangQianliang
90d3596641
fix(code/frontend): should not attach href to the last breadcrumb ( #41332 ) ( #41433 )
2019-07-18 21:56:08 +08:00
Justin Kambic
cec670aa05
Update README to have additional test instructions. ( #41283 ) ( #41411 )
2019-07-18 09:42:47 -04:00
Dmitry Lemeshko
a0840d723f
Fix/re enable skipped functional tests ( #41238 ) ( #41443 )
...
* [home/_sample_data] unskip tests
* [visualize/_tsvb_chart] unskip switch index pattern test
* unskip nodes filter test
* run specific groups 10x times
* Revert "run specific groups 10x times"
This reverts commit ad7302f33f
.
2019-07-18 14:28:51 +02:00
WangQianliang
b8fa2c7cba
fix(code/frontend): fix show folding icon and blame border ( #41326 ) ( #41426 )
2019-07-18 13:42:59 +08:00
WangQianliang
a0f0f38ea6
fix(code/frontend): should disable structure tree in directory history ( #41327 ) ( #41428 )
2019-07-18 13:42:20 +08:00
WangQianliang
ee77606a4a
fix(code/frontend): not show button group during clone ( #41220 ) ( #41430 )
2019-07-18 13:41:37 +08:00
Frank Hassanabad
48a2bd2eff
[SIEM] Add toaster logic for Machine Learning ( #41401 ) ( #41421 )
...
## Summary
Fixes two blockers:
1) Anomaly table would spin forever if you zero jobs configured on a fresh install.
2) If you get Network or ML errors this will report the error to the user in the form of the global toaster.
Two examples of Error Toaster before the "See the full error(s)" is clicked:

<img width="348" alt="Screen Shot 2019-07-17 at 4 04 30 PM" src="https://user-images.githubusercontent.com/1151048/61414971-ac4bc980-a8ac-11e9-9d15-28ab1229922f.png ">
Example Error Toasters from start job expanded and collapsed:
<img width="800" alt="Screen Shot 2019-07-17 at 12 15 04 PM" src="https://user-images.githubusercontent.com/1151048/61414610-9e497900-a8ab-11e9-97cd-ec68e77a555c.png ">
<img width="808" alt="Screen Shot 2019-07-17 at 12 14 58 PM" src="https://user-images.githubusercontent.com/1151048/61414628-aacdd180-a8ab-11e9-8ad8-edc67deb8874.png ">
Example Network Error Toaster:
<img width="437" alt="Screen Shot 2019-07-17 at 12 21 10 PM" src="https://user-images.githubusercontent.com/1151048/61414635-b3260c80-a8ab-11e9-8e50-a35a05fc6d2b.png ">
Example API Error if you send in something bad such as a bad payload:
<img width="442" alt="Screen Shot 2019-07-17 at 12 34 04 PM" src="https://user-images.githubusercontent.com/1151048/61414658-c0db9200-a8ab-11e9-88ed-e6634f17103a.png ">
Example Anomalies Table Error if you have a network issue:
<img width="464" alt="Screen Shot 2019-07-17 at 12 39 57 PM" src="https://user-images.githubusercontent.com/1151048/61414691-cf29ae00-a8ab-11e9-882c-3cc770776f2f.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 )
- [x] 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-17 19:00:58 -06:00
Xavier Mouligneau
919c22a5c6
[SIEM] Fix KQL filter query with data provider ( #41250 ) ( #41409 )
...
* fix KQL filter query with data provider
* fix eslint
2019-07-18 00:39:39 +02:00
Oliver Gupte
dba937592d
[APM] Agent Configuration bug fixes & enhancements ( #41074 ) ( #41355 )
...
* [APM] bug fixes for agent configuration:
- fix inconsistent number input from localized input
- fix dropdown initial empty selection cross browser issue
- rename settings.sample_rate to settings.transaction_sample_rate
- set 'index.auto_expand_replicas': '0-1'
- create .apm-agent-configuration index on settings page load if it doesn't already exist
* removed commented code
* [APM] add api validation for creating/updating configurations
- store transaction_sample_rate as a number rather than a string
- improved ui validation for transaction_sample_rate precision
* create index lazily when the apm-server queries for configs & code cleanup from feedback
2019-07-17 15:25:54 -07:00
Mengwei Ding
504963284b
[Code] Use seq_no and primary_term to do ES concurrency control for EsQueue and reenable code tests ( #41377 ) ( #41399 )
...
* Revert "disable all code tests (#41363 )"
This reverts commit 771d70c334
.
* Revert "[code] disable failing tests (#41336 ) (#41338 ) (#41337 )"
This reverts commit 62fedccad5
.
* [Code] Use seq_no and primary_term to do ES concurrency control for queue
2019-07-17 14:00:28 -07:00
James Gowdy
4645529eec
[ML] Fixing multi-job action button when jobs are deleting ( #41350 ) ( #41397 )
2019-07-17 21:16:10 +01:00
gchaps
bdbd2c70a0
[DOCS] Puts all watcher content on one page ( #41390 )
2019-07-17 12:52:10 -07:00
Thomas Neirynck
0522d5befd
[Maps] Remove data on error ( #41358 ) ( #41392 )
2019-07-17 14:59:12 -04:00
Justin Kambic
c06f74d007
Update label on SnapshotHistogram y-axis to better reflect new visualization. ( #41012 ) ( #41345 )
2019-07-17 14:33:31 -04:00
Fuyao Zhao
584f5a8f53
[Code] Disable xpack.code.ui.enabled instead of xpack.code.enabled ( #38919 ) ( #41320 )
...
* [Code] Disable xpack.code.ui.enabled instead of xpack.code.enabled
* Revert "[Code]: disable code by default in 7.2 (#38757 ) (#38801 )"
2019-07-18 02:31:54 +08:00
Catherine Liu
c04cf23fe8
[7.3] [Canvas] Fixes fit to window scale calculation ( #41294 ) ( #41385 )
...
* Fixed calculation for fit to window zoom scale
* Fixed ts errors
2019-07-17 11:11:38 -07:00
Catherine Liu
90a0c0ce41
[7.3] [Canvas] Apply global CSS to export workpad view ( #41298 ) ( #41314 )
2019-07-17 10:56:49 -07:00
John Dorlus
dc1e750daf
Added app load test for Remote Clusters. ( #40932 ) ( #41261 )
2019-07-17 17:06:50 +00:00
Garrett Spong
c089139f55
[SIEM] Fix for embedded jobs failing to install ( #41308 ) ( #41376 )
...
## Summary
This PR fixes a bug where the `initialValue` of the `jobSummaryData` hook would not differ after querying for jobs which would result in the embedded SIEM Jobs not being installed.
See: https://github.com/elastic/ingest-dev/issues/600
### 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 )
- [ ] ~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~
- [ ] ~[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-07-17 10:58:57 -06:00
Catherine Liu
26cd792924
[7.3] [Canvas] Fixes toggle between edit mode/read only mode (… ( #41312 )
...
* Fixed mergeProps in workpad_header/index.js
* set header height
2019-07-17 09:57:15 -07:00
KOTungseth
d073981843
Comments from Gail
2019-07-17 11:10:18 -05:00
KOTungseth
6c58e68b57
Final clean up
2019-07-17 11:10:01 -05:00
KOTungseth
e29ba8709e
More content reorganization and updated images
2019-07-17 11:09:47 -05:00
KOTungseth
341518827a
Changes to conditional content
2019-07-17 11:09:33 -05:00
KOTungseth
544cac9f23
Added images and reorganized content
2019-07-17 11:09:18 -05:00
KOTungseth
5834868997
Removed the dashboard content
2019-07-17 11:09:02 -05:00
KOTungseth
7c07a4ecbe
TOC fix
2019-07-17 11:08:48 -05:00
KOTungseth
3954d1e072
[DOCS] Moved Timelion content under Visualize section
2019-07-17 11:08:34 -05:00
Walter Rafelsberger
bf56629c1c
[ML] Fixes getting the currently selected jobs from globalState. ( #41255 ) ( #41364 )
...
Fixes a race condition where the anomaly explorer wouldn't pick up the most recently selected jobs.
2019-07-17 17:53:46 +02:00
Dario Gieselaar
0018ec19c6
[7.3] [APM] Breakdown: use transaction type from URL instead o… ( #41329 )
...
* [APM] Breakdown: use transaction type from URL instead of hardcoded 'request'
* Address review feedback
2019-07-17 16:06:22 +02:00
Justin Kambic
7307ff24e7
[Uptime] Add link to Uptime documentation from header help menu ( #40645 ) ( #40992 )
...
* Add link to Uptime documentation from header help menu.
* Use parameterized docs URL generation.
2019-07-17 10:05:53 -04:00
Justin Kambic
12a6d2f12c
[Uptime] Fix Snapshot component loading state header ( #41023 ) ( #41347 )
...
* Pull the loading state for Snapshot out of the panel to match the regular component.
* Improve layout of loading component to reflect normal component.
2019-07-17 10:04:47 -04:00
Pengcheng Xu
67ad359576
[Code] Upgrade ctags langserver version ( #41230 ) ( #41341 )
2019-07-17 20:41:11 +08:00
Andrew Cholakian
722ce1af60
Move to modified version of original status count for speed ( #41210 ) ( #41325 )
...
This attempts to speed up the now slow snapshot count @justinkambic noticed. It uses a different approach form #41203 , it's actually a modified version of the old formula. It should be faster. It achieves this executing a query that's very friendly to composite aggs, even if it returns more data than strictly necessary.
This also fixes a bug in the original implementation, where the total would be equivalent to the filtered value, rather than the pre-filtered value. This made little sense since you'd just see the total twice.
2019-07-17 04:08:22 -05:00
Walter Rafelsberger
18479b0a68
[ML] Data frames: Fix source table for cells of type object. ( #41234 ) ( #41319 )
...
- Fixes a possible crash of the data frames source index table.
- While the source document field structure was already flattened to avoid displaying nested objects in table cells, this failed to catch if a field itself was of type object, for example geo fields.
- Similar to how complex arrays were already handled, this adds a check to display a object badge with a tooltip if the cell value is of type object and not suitable to display the raw value.
- This fixes an issue reported when the full raw object structure of tweets was used as a source index to create a data frame.
2019-07-17 09:37:48 +02:00
Yulong
081b3940ad
[Code] test colorize before actually loading file, trying to catch a exception throws when loading incomplete ruby code ( #41093 ) ( #41243 )
2019-07-17 09:23:44 +08:00
Frank Hassanabad
3b7fc4b357
clear unique key prop err for tab nav ( #40686 ) ( #41270 )
...
## Summary
Move key up to new wrapper on tab nav in order to clear the unique prop console err.
to test: load and check the console, no more error. yay!
### 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~~
~~- [ ] [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-07-16 15:32:48 -06:00