Henry Wong
cd968d2e0b
[code] Append go env variable 'GOCACHE' to go lsp spawn command. ( #44864 )
...
'GOCACHE' is set to '$HOME/.cache' by default. It is not portable
because it relies on the users who run the kibana. Customize
'GOCACHE' to $GOPATH/.cache to make the go lsp more portable.
FYI: The build cache is now required as a step toward eliminating
$GOPATH/pkg.
2019-09-05 23:47:19 +08:00
James Gowdy
a6db3ef695
[ML] Adjust job wizard results polling based on progress ( #44786 )
...
* [ML] Adjust job wizard results polling based on progress
* setting minimum limit
* flooring interval ms
2019-09-05 16:28:30 +01:00
Zacqary Adam Xeper
41383a2609
[Infra UI] Use URL /infrastructure/metrics instead of /metrics ( #44532 )
...
* [Infra UI] Use URL /infrastructure/metrics instead of /metrics
* Fix redirect to preserve query params
* Fix all redirects to preserve query params
* Remove unused import
* Use render instead of component
* InfraRedirect => RedirectWithQueryParams
* Use rest spread to pass in query params
* Fix broken import
* Fix rest proptype
2019-09-05 10:23:48 -05:00
Steph Milovic
dd43026611
[SIEM] capitalize SIEM in kibana advanced settings ( #44886 )
2019-09-05 09:15:03 -06:00
Felix Stürmer
135a8f5fe3
[Logs UI] Preserve relative dates of Logs Analysis datepicker ( #44706 )
...
This changes the type of the state used to store the dates selected via the datepicker in the URL to string. That means it preserves the occurrences of now, now-2w and similar date math expressions without eagerly converting them to a specific timestamp. In combination with the fact that the analysis results page now keeps the selected date range as strings and the query date range as separate numeric timestamps, this fixes the usage of the relative time ranges in the datepicker in combination with the auto-reload functionality of the datepicker.
Additionally the page now makes use of the fixed auto-reloading by enabling it by default with a 30 second interval to make the onboarding smoother. The "no data" message on the results page will now be replaced by the chart as soon as the log rate analysis job has started producing results.
It further fixes the rounding of the end date to round up. That means that the quick select intervals like "This year" or "This week" actually work and result in a non-empty interval.
2019-09-05 17:02:51 +02:00
Alex Mufatti
fe2831ff38
[Uptime] app page title ( #44818 )
...
* more meaningful title for uptime plugin
* missing space
2019-09-05 07:29:13 -07:00
Stacey Gammon
81d06d5378
Decouple actions from embeddables: step 1 ( #44503 )
...
* Decouple actions from embeddables: step 1
* prefer as any instead of is-ignore
* Remove unneccessary test, no more triggerContext to be null.
* Fix bug and fix the test that should have caught it. Be more strict about checking isCompatible.
2019-09-05 10:17:42 -04:00
Larry Gregory
1a15d5ba2c
Prevent space identifier url example from overflowing panel ( #44871 )
...
* ensure example url wraps properly when the space identifier is long
* restrict space identifier length to 500 characters
* Revert "restrict space identifier length to 500 characters"
This reverts commit a34f324374
.
* update snapshot
2019-09-05 10:06:37 -04:00
Pete Harverson
c7b84db500
[ML] Fixes messages in data frame action request notifications ( #44872 )
2019-09-05 14:54:14 +01:00
Stacey Gammon
d730298d2b
update assumption that panelIndex may be missing ( #44793 )
2019-09-05 08:38:02 -04:00
Sébastien Loix
69e8168dc6
Disable CCR app if license does not allow it ( #44672 )
2019-09-05 12:58:40 +02:00
Felix Stürmer
2fe184a4a7
Fix the anomaly info label for singular number ( #44813 )
...
This fixes the label grammar for singular anomalies on the logs analysis results page.
2019-09-05 10:40:43 +02:00
Robert Oskamp
43b08b3ab1
[ML] Add enhanced job list validations to create single metric job
test ( #44651 )
...
This PR adds enhanced job list validations to the existing create single metric job test.
2019-09-05 10:14:38 +02:00
Alexey Antonov
b5d59c2c96
Convert to TypeScript ui/field_formats ( #44370 )
...
* Convert to TypeScript ui/field_formats
* Fix PR comments
* Fix PR comments
2019-09-05 10:40:18 +03:00
Tim Sullivan
264ac76f77
[Reporting] add capture.maxAttempts setting ( #44011 )
...
* [Reporting] add capture.maxAttempts setting
* restore default in code, so tests will pass
* --wip-- [skip ci]
* write test
* fix test
* update error message with value
2019-09-04 23:10:49 -07:00
Byoung Hoon, Yoon
06ee760e09
Add url-param-decode to scripted string field transforms ( #25694 )
2019-09-04 22:57:21 -06:00
Matthias Wilhelm
58a1522e4d
Fix Discover Context console warnings due to missing uiSettings ( #44767 )
...
* Catch undefined uisettings in render func
2019-09-05 05:49:51 +02:00
Matt Bargar
e195279918
Attempts to make saving of the current query more robust ( #44797 )
2019-09-04 18:49:31 -04:00
Clint Andrew Hall
bbe0e70324
i18n: Organize files; convert outlying i18n calls ( #44801 )
...
* i18n: Organize files; convert outlying i18n calls
* Addressing feedback; adding README
* Tweak README
* Addressing feedback
* Removing unused translations
* Correcting translations
2019-09-04 16:04:53 -05:00
renovate[bot]
f8dcc4c143
Update dependency opn to ^5.5.0 ( #44809 )
2019-09-04 13:21:51 -07:00
renovate[bot]
7646ef223c
Update dependency is-path-inside to ^2.1.0 ( #44808 )
2019-09-04 13:21:41 -07:00
renovate[bot]
7ce51a4e87
Update dependency https-proxy-agent to ^2.2.2 ( #44807 )
2019-09-04 13:17:34 -07:00
renovate[bot]
0001c74370
Update dependency del to ^4.1.1 ( #44806 )
2019-09-04 13:15:59 -07:00
renovate[bot]
a910a7ce3f
Update dependency @types/mocha to ^5.2.7 ( #44805 )
2019-09-04 13:15:41 -07:00
renovate[bot]
7aa91537cc
Update dependency @types/chroma-js to ^1.4.2 ( #44804 )
2019-09-04 13:15:14 -07:00
Nathan Reese
a0272cad27
[Maps] name space dynamic property style names to avoid collisions ( #44676 )
...
* [Maps] name space dynamic property style names to avoid collisions
* update expect for functional test
* another update to expected map styles
2019-09-04 14:01:23 -06:00
Frank Hassanabad
f99d59b109
[SIEM] Fixes infinite loop when you do not have any jobs installed ( #44792 )
2019-09-04 13:05:06 -06:00
Liza Katz
7049983fd4
Move timefilter code ⇒ data plugin ( #44607 )
...
* import TimeRange from NP
* Update imports
* Update RefreshInterval imports to NP
* Some more imports
* Moved timefilter to data plugin
(didn't rewire service!)
* Fixed eslint error
* remove virtual mock
* kibana context import
* Fix 'Monitoring is turned off' test
* fix import
2019-09-04 21:14:10 +03:00
Nathan Reese
ea33dd2e53
[Maps] fix side panel scrolling in safari ( #44700 )
...
* [Maps] fix side panel scrolling in safari
* review feedback
2019-09-04 10:47:56 -06:00
Spencer
cdec526f7e
[build] rewrite tests to not rely on network ( #44778 )
2019-09-04 09:23:10 -07:00
spalger
08f9435c9a
skip flaky suite ( #37859 )
2019-09-04 08:43:51 -07:00
Zacqary Adam Xeper
ecd9f335cb
[Logs UI] Change 'View monitor status' to 'View status in Uptime' ( #44518 )
...
* [Logs UI] Change 'View monitor status' to 'View status in Uptime'
* Update docs with text change
* Remove docs comment
2019-09-04 10:38:15 -05:00
Walter Rafelsberger
cf8dfbf7b7
[ML] Single metric viewer: Fix detector/entity selection ( #44772 )
...
This fixes switching to another detector on single metric viewer. There is no longer a Refresh button next to the dropdowns, instead the charts will reload when one of the dropdowns (detector or entity selection) changes.
2019-09-04 08:31:25 -07:00
sainthkh
b14d17de15
Visualizations Plugin -> New Platform Ready ( #44644 )
...
* Created np_ready/public and moved files into it.
* Added kibana.json
* Added plugin.ts and moved plugin class into it.
* Added legacy.ts and moved ui imports to legacy.ts.
* Added mock.ts
* Created registerVisualization() and removed VisTypesRegistryProvider from setup().
* Fixed imports from plugins/visualizations.
* Removed visualizations from index.ts and call setup directly from legacy.ts
2019-09-04 09:50:41 -05:00
Walter Rafelsberger
49fdd24f80
[ML] Data frame analytics: Split comma-separated Kibana index patterns to array of indices. ( #44757 )
...
Kibana index patterns can be comma-separated whereas the create analytics API takes an array of indices. This fixes the analytics creation UI to convert Kibana index patterns to ES index patterns.
2019-09-04 06:54:33 -07:00
Melissa Alvarez
9155bfdc5b
[ML] Data Frame transform: Ensure preview table displays scripted fields and timestamps are formatted correctly. ( #44701 )
...
* ensure scripted fields are included in preview
* ensure expanded tab preview table has correct date formatting
* use ColumnType
* update to correct column type
2019-09-04 09:28:52 -04:00
Marjorie Jones
6483315d7c
[DOCS] Remove unused Infrastructure and Logs graphics files ( #44649 )
...
* Removing unnecessary graphics from Infra and Logs app descriptions, tidying up a couple of graphics to make them consistent
* Another tiny change
2019-09-04 13:14:36 +01:00
Peter Pisljar
2f5306ea42
expression service ( #42337 )
2019-09-04 14:09:38 +02:00
Walter Rafelsberger
1dfa972b64
[ML] Data frame analytics: Create job form fixes ( #44640 )
...
- The advanced editor allows you to create any type to analytics job, so this PR fixes button names and form headings from Create outlier detection job to Create analytics job.
- With the button/headings change, the basic form to create a job would miss information that it only allows you to create an outlier detection job. Therefore an explanatory header including the link to switch to the advanced editor was added
2019-09-04 04:51:24 -07:00
Larry Gregory
4f09de749a
Fixing flaky copy-to-space test ( #44656 )
...
* wait for context menu to appear
* run x-pack-ciGroup4 40 times
* actually enable the flaky test...
* Revert "run x-pack-ciGroup4 40 times"
This reverts commit 71ac8e167e
.
2019-09-04 07:33:50 -04:00
Pete Harverson
076d487bea
[ML] Enable data visualizer link on job types page for non-time index ( #44667 )
2019-09-04 11:31:31 +01:00
James Gowdy
8abb00bfa8
[ML] Adding index pattern title to wizard summary step ( #44662 )
...
* [ML] Adding index pattern title to wizard summary step
* fixing types
* fixing translation ids
2019-09-04 09:19:36 +01:00
Alexey Antonov
5901b58336
Convert remaining data.indexPatterns items to use TS ( #44654 )
2019-09-04 10:51:17 +03:00
Dmitry Lemeshko
96cd619380
[visualize/_tsvb_time_series] fix flaky test ( #44505 )
2019-09-04 08:05:58 +02:00
Garrett Spong
7994a2c359
[SIEM] Updates fields in map tooltip and fixes filtering on undefined values ( #44718 )
...
## Summary
Updates the fields within the source/destination feature tooltips to show the following (https://github.com/elastic/kibana/issues/44493 ):
* `host.name`
* `source/destination.ip`
* `source/destination.domain`
* `source/destination.as.organization.name`
![image](https://user-images.githubusercontent.com/2946766/64210040-6bf5da00-ce5f-11e9-9331-0ab98aaefd35.png )
Fixes filtering on undefined field values (https://github.com/elastic/kibana/issues/44711 )
![maps_filtering_fix](https://user-images.githubusercontent.com/2946766/64210200-dc9cf680-ce5f-11e9-8e51-5b87588569be.gif )
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-09-03 22:03:50 -06:00
Frank Hassanabad
9b13432b60
[SIEM] Remove deprecation warning from momentJS test ( #44732 )
...
## Summary
Removes a deprecation warning from a unit test when it passed invalid values to momentJS
### 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 )
- [x] [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
- [x] 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-09-03 20:45:40 -06:00
Frank Hassanabad
7c06e3f785
[SIEM] Fixes the rendering order and adds unit tests to prevent rendering to get out of order ( #44728 )
...
## Summary
Fixes the rendering order so that if you have a Suricata Row Renderer it will be activated instead of just the netflow. This also adds more unit tests and rearranges the netflow renderer to be next to the plain row renderer so it takes less of a precedence and we should be less likely to break again in the future.
* https://github.com/elastic/kibana/issues/44408
Before:
<img width="1105" alt="before" src="https://user-images.githubusercontent.com/1151048/64216277-6a371100-ce75-11e9-99e6-f5120b591cc7.png ">
After:
<img width="1097" alt="after" src="https://user-images.githubusercontent.com/1151048/64216282-6efbc500-ce75-11e9-8a45-d29fcd527a43.png ">
### 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 )
- [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 )
- [x] [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-09-03 19:36:40 -06:00
Spencer
ac687464f8
[optimizer] use more precise cache-busting strategy ( #44724 )
2019-09-03 18:28:35 -07:00
Aaron Caldwell
4cbe9ffcc2
[Maps] Reverse the attribution order so left-to-right order matches top-to-bottom ( #44415 )
...
* Reverse the attribution order so left-to-right order matches top-to-bottom layer order
* Update snapshot to reflect new attribution order
2019-09-03 17:16:38 -06:00
renovate[bot]
739cb22e26
Update sinon related packages ( #43952 )
...
* Update sinon related packages
* fix stub types to be compatible
2019-09-03 16:09:24 -07:00