Commit graph

19636 commits

Author SHA1 Message Date
Sarah Hersh
050ee39d7d
[DOCS] Adds documentation for remote cluster and CCR UIs (#28944) (#29003)
* [DOCS]Adds docs for new remote cluster UIs
2019-01-18 13:13:09 -05:00
Oliver Gupte
e14a2e6ae8
[APM] fix object path for request url in sample transaction (#28901) (#28966)
* fixes #28899 by using the correct object path to the url `transaction.context.request.url.full`

* [APM] fixed IStickeyProperty.val to be stricter to prevent this bug from happening again
2019-01-18 08:24:46 -08:00
Oliver Gupte
1252dd5a9d
[APM] fixes the margin spaces in Span flyout (#28639) (#28965)
* fixes #28071 by updating the margin spaces in the Span flyout

* [APM] improved code readability and removed redundancies
2019-01-18 08:24:34 -08:00
Brandon Kobel
bdf0ef6a67
Only using known handlers with handlebars (#27061) (#27313) 2019-01-18 06:43:28 -08:00
Tudor Golubenco
16b6eafcc9
[BeatsCM] To prevent risk of startup errors, put template index before any ES write operation (#28955) (#28983)
* To prevent risk of startup errors, put template index before any write operation

* await the put template

* remove no-longer-needed promises

* remove CRUFT test
2019-01-18 12:51:14 +01:00
Peter Pisljar
1f1b2e6177
fixes (#28834) (#28976) 2019-01-18 03:27:25 -08:00
Nox911
e7410f3184
[i18n] Dashboard Revert redundant translation (#28925) (#28980)
* Revert translation

* Fix snapshot
2019-01-18 13:29:33 +03:00
Maryia Lapata
1cde4bb9e8
[i18n] APM translate missing labels (#28677) (#28974)
* Translate missing labels

* Put "not available" label into constants
2019-01-18 08:44:47 +03:00
Maryia Lapata
82b3f4699b
[i18n] Extend types for values (#28907) (#28950)
* [i18n] Extend types for values

* Make "defaultMessage" mandatory param
2019-01-18 07:57:28 +03:00
dave.snider@gmail.com
64e6ee808a
eui 6.5.1 (#28970) (#28972) 2019-01-17 20:22:49 -08:00
Spencer
15e65ef729
[6.x] [ftr/pageObjects/security] try simplified logout check to avoid flakiness (#28893) (#28967)
Backports the following commits to 6.x:
 - [ftr/pageObjects/security] try simplified logout check to avoid flakiness  (#28893)
2019-01-17 17:20:20 -08:00
Caroline Horn
a8593fc112
[Maps] Design/SASS cleanup (#28716) (#28961) 2019-01-17 17:43:22 -05:00
Nathan Reese
9227c6735a
[Maps] Handle extent filters that cross dateline (#28775) (#28952)
* [Maps] handle extent filtering when extent crosses dateline

* ensure lat within range

* use geo_bounding_box instead of geo_polygon since it supports dateline

* add geo_shape functional test

* get functional tests running

* update convertMapExtentToPolygon so its not recursive

* clean up comment
2019-01-17 15:23:38 -07:00
Justin Kambic
f9d730687d
Add README.md. (#28948) (#28957) 2019-01-17 17:17:57 -05:00
Joe Fleming
c6d9781b37
Feat: Cast datatable to pointseries (#28872) (#28959)
* feat: allow casting datatable to pointseries

* fix: use correct column type for pointseries

columns are an object, not an array
2019-01-17 15:16:53 -07:00
Justin Kambic
1eff39ea06
[Uptime] Fix index count issue (#28799) (#28951)
* Prefer count over search for counting docs in HB index.

* Write test for updated adapter function.

* Remove unused body from request to avoid breaking ES change.
2019-01-17 17:11:38 -05:00
Spencer
d5b3984e5a
Implement config for disabling welcome screen (#28888) (#28947)
As suggested by @legrego in #28792, this PR adds a config flag to completely disable the welcome screen, which is enabled by the functional test runner to ensure that the welcome screen doesn't pop up.
2019-01-17 13:38:01 -08:00
Søren Louv-Jansen
d0db449622
[APM] Refactor url and linking handling (#28586) (#28914) 2019-01-17 21:56:32 +01:00
Justin Kambic
052c653092
[Uptime] Set min/max on search size for pings. (#28113) (#28758)
You obviously can't show fewer than 0 and 10k is the ES max.
2019-01-17 15:39:39 -05:00
CJ Cenizal
2c9bfd3739
Remove unused ilmHrule classname from ILM. (#28890) (#28943) 2019-01-17 11:29:22 -08:00
Mike Côté
5aa4b96da6
Fix confirm overwrite modal of saved objects to handle large titles (#28590) (#28927) 2019-01-17 10:44:12 -08:00
gchaps
f460bce118 [DOCS] Adds content for Kibana 6.6.0 Highlights doc (#28895)
* [DOCS] Adds content for Kibana 6.6.0 Highlights doc

* [DOCS] Minor edits to highlights doc
2019-01-17 10:32:42 -08:00
Chris Roberson
e8f59516d3
[Monitoring] Move os info into OSS collection (#28605) (#28937)
* Move os info into OSS collection so the stats api can access it

* Fix tests

* copy this back for now

* Use server decorate to share from OSS to x-pack/plugins
2019-01-17 13:10:10 -05:00
Brandon Kobel
4a2e471b89
Adding sever.logWithMetadata (#28767) (#28934)
* Allowing first-class support of structured log messages

* Renaming to logWithMetadata and changing log statement structure

* Fixing unit tests
2019-01-17 09:50:29 -08:00
Casper Hübertz
cd05fce997
[APM] Fix icon for View trace button (#28908) (#28918) 2019-01-17 15:26:28 +01:00
Søren Louv-Jansen
82750af41d
[APM] Fix Memory Chart Percentages (#28905) (#28910) 2019-01-17 13:25:06 +01:00
James Gowdy
83a14e33c7
[ML] Removing extra angle bracket in job groups select (#28829) (#28844) 2019-01-17 12:10:31 +00:00
Chris Davies
6c3e1fbf62
Fix 27761: saved dashboards should not require saving before reports run (#28617) (#28867) 2019-01-17 07:10:11 -05:00
Nox911
126894c3bd
[i18n] Translate ML - components - anomaly controls (#28674) (#28912)
* Translate ml -> components -> controls

* Fix id name

* Resolve review comments

* Resolve review comments
2019-01-17 15:03:51 +03:00
Nox911
d9a92ea4fa
[i18n] Translate ML - components - rule editor (#28262) (#28903)
* Translate rule editor

* Fix 'then' -> 'than'

* Update snapshots

* Fix rule description

* Resolve issues from review comments

* Remove extra space

* Update snapshots

* Resolve review comments

* Update snapshots
2019-01-17 13:07:05 +03:00
Peter Pisljar
66632e228e
moving state out of kbn-interpreter (#27317) (#28897)
# Conflicts:
#	packages/kbn-interpreter/src/public/index.js
#	packages/kbn-interpreter/src/public/interpreter.js
#	packages/kbn-interpreter/src/server/server_registries.js
#	src/legacy/core_plugins/interpreter/public/functions_registry.js
#	src/ui/public/visualize/loader/pipeline_helpers/run_pipeline.ts
#	x-pack/plugins/canvas/public/components/app/index.js
2019-01-17 11:04:05 +01:00
Nox911
7564c2f13b
[ML] Localize ml components ( part 5 - JSON tooltips) (#27966) (#28900)
* localize json_tooltip ml component

* Resolve part of review comments
2019-01-17 11:40:04 +03:00
Spencer
16eba390a7
[ui/persistedLog] typescript-ify core components (#28880) (#28892)
In preparation for a updates to the nav bar I'd like to consume the `recentlyAccessed` service from Typescript, which would be easier if more of the ui/persisted_log module was written in TypeScript.
2019-01-16 17:56:52 -08:00
Spencer
15e7b8e0d4
[6.x] [pageObjects/welcome] automatically disable on navigation (#28792) (#28859)
Backports the following commits to 6.x:
 - [pageObjects/welcome] automatically disable on navigation  (#28792)
2019-01-16 17:25:16 -08:00
Justin Kambic
4be203c415
[Uptime] Localization (#28183) (#28879)
* Add localization tokens.

* Fix import errors.

* Rename a translation key/message. Fix copy/paste mistake.

* Make i18n provider root element of application.

* Add xpack.uptime to .i18nrc.json.

* Remove icon.

* Update x-pack/plugins/uptime/public/components/functional/snapshot_histogram.tsx

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Update x-pack/plugins/uptime/public/components/functional/snapshot_histogram.tsx

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Update x-pack/plugins/uptime/public/components/queries/empty_state/empty_state.tsx

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Replace ... with ….

* Update x-pack/plugins/uptime/public/components/queries/empty_state/empty_state.tsx

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Update x-pack/plugins/uptime/public/components/queries/empty_state/empty_state.tsx

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Update x-pack/plugins/uptime/public/components/queries/empty_state/empty_state.tsx

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Move a link to formatted message value prop.

* Update x-pack/plugins/uptime/public/components/queries/error_list/error_list.tsx

Reformat naming of column localization keys.

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Update error list table column localization keys.

* Update x-pack/plugins/uptime/public/components/queries/filter_bar/filter_bar.tsx

Update label key.

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Update label localization keys for filter bar.

* Update x-pack/plugins/uptime/public/components/queries/filter_bar/filter_bar.tsx

Update localization key for filter bar tooltip title.

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Update x-pack/plugins/uptime/public/components/queries/filter_bar/filter_bar.tsx

Update localization key for filter bar tooltip text.

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Update x-pack/plugins/uptime/public/components/queries/monitor_charts/monitor_charts.tsx

Improve RTT Breakdown title localization key.

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Add description and update a localization key.

* Update x-pack/plugins/uptime/public/components/queries/monitor_charts/monitor_charts.tsx

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Update x-pack/plugins/uptime/public/components/queries/monitor_list/monitor_list.tsx

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Update monitor charts localization keys.

* Extract conditional message values into separate translate calls.

* Update x-pack/plugins/uptime/public/components/queries/monitor_list/monitor_list.tsx

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Update monitor list column header localization keys.

* Update x-pack/plugins/uptime/public/components/queries/monitor_list/monitor_list.tsx

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Monitor list update localization key of series label.

* Update x-pack/plugins/uptime/public/components/queries/monitor_list/monitor_list.tsx

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Update x-pack/plugins/uptime/public/components/queries/monitor_status_bar/monitor_status_bar.tsx

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Improve destructuring in monitor status bar, extract conditional values to separate translations.

* Update x-pack/plugins/uptime/public/components/queries/monitor_status_bar/monitor_status_bar.tsx

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Update x-pack/plugins/uptime/public/components/queries/monitor_status_bar/monitor_status_bar.tsx

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Apply suggestions from code review

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Update localization keys for ping list.

* Apply suggestions from code review

Implement PR suggestions for PingList component.

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Apply suggestions from code review

Add PR suggestions for Snapshot component.

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Update localization keys for Snapshot component.

* Remove unneeded translation.

* Update x-pack/plugins/uptime/public/register_feature.ts

Implement PR suggestion for register_feature.ts

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Apply suggestions from code review

Implement PR suggestions for uptime app.

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Update localization, add translations for UptimeApp.

* Run prettier to fix style problem.

* Fix duplicate localization keys.

* Update x-pack/plugins/uptime/public/uptime_app.tsx

Implement PR feedback.

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Update x-pack/plugins/uptime/public/components/queries/snapshot/snapshot.tsx

Implement a PR suggestion.

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Update x-pack/plugins/uptime/public/components/queries/snapshot/snapshot.tsx

Implement a PR change.

Co-Authored-By: justinkambic <justin.kambic@elastic.co>

* Implement PR feedback.
2019-01-16 18:02:24 -05:00
Spencer
e09bf43374
[ftr/element] custom scrollIntoView to support fixed header (#28727) (#28871)
With https://github.com/elastic/kibana/pull/28503 we will be enabling the k7design by default, which adds a fixed header to the top of the page. This causes issues with the default "scroll into view" logic, as elements which are in the top overflow will be scrolled into view but then covered by the header.

My first attempt to solve this was adjusting the layout to only scroll the content below the header. This allowed the [standard scroll into view algorithm](https://drafts.csswg.org/cssom-view/#element-scrolling-members) to function as intended, but had a slightly worse UX on OSes like macOS, and @elastic/kibana-design ultimately pushed back because not allowing the body to scroll has other implications.

Instead I have implemented a `LeadfootElementWrapper#scrollIntoViewIfNecessary()` method which is automatically called before each `#click()` and `#moveMouseTo()` call. This new method scrolls the element into view when necessary, and then additionally adjusts the scroll position of the root scroll element by the necessary pixels if the top of the element is within `layout.fixedHeaderHeight` pixels.
2019-01-16 14:37:31 -08:00
Søren Louv-Jansen
1eb55f7d31 [APM] Fix asPercent (#28826) (#28869) 2019-01-16 14:15:57 -08:00
gchaps
9ddd600368 [DOCS] Removes experimental tag (#28780) 2019-01-16 13:01:47 -08:00
Jason Rhodes
d3db5c4c0a
Filters transaction and error queries by processor.event (#28853) (#28860)
* Fixes incorrect data bug, adds tests

* Another TS fix for optional groupId
2019-01-16 13:56:25 -05:00
gchaps
5a3fcbd5be
[DOCS] Adds documentation for index lifecycle policies (#28705) (#28802)
* [DOCS] Adds documentation for index lifecycle policies

* [DOCS] Updated image for policy options to show all menu items

* Update create-policy.asciidoc

* [DOCS] Incorporated review comments on hot and warm phase

* [DOCS] Additional changes to warm phase

* [DOCS] Removed the word open in the warm phase
2019-01-16 10:47:05 -08:00
John Dorlus
5fd3742f5f
[6.x] Fixed omission that caused the test to still be flaky. Need to make sure the element is displayed. (#28517) (#28856)
* Made change to cluster overview service to more reliably check if the page has loaded.

* Made change to cluster overview service to more reliably check if the page has loaded.
2019-01-16 12:46:28 -05:00
Nathan Reese
818ea88e79
[Maps] add empty state for 'Custom Tile Map Service' (#28766) (#28848)
* [Maps] add empty state for 'Custom Tile Map Service'

* add unit test for getInitialLayers
2019-01-16 10:24:08 -07:00
Jason Rhodes
1126d4ccbe
Finalize memory charts (#28625) (#28835)
* Adds available memory stats (in percent) to metrics server response

* Updates UI memory charts for new data

* Updates memory chart metrics to be usage (average and max), removes other unused metrics

* Review feedback addressed, small refactors

* Updates memory chart tests
2019-01-16 11:46:49 -05:00
Lisa Cawley
f9f8c9bc4f [DOCS] User annotations (#28711) 2019-01-16 08:38:53 -08:00
Stacey Gammon
d6f4def03a
[6.x] Refactor, clean up, new inspector, pie chart services (#28509) (#28786)
* Merge

* Replacing missing new inspector code
2019-01-16 11:34:16 -05:00
Lisa Cawley
3bce579637 [DOCS] Adds highlight for machine learning annotations (#28800) 2019-01-16 08:32:06 -08:00
Bill McConaghy
7f249c364f
add rollup toggle to index management (#28721) (#28839)
* add rollup toggle to index management

* adjusting i18n labels

* addressing PR feedback

* fixing tests

* exiting early when there are no toggles configured

* swallow exception and return original indicesList from rollupDataEnricher
2019-01-16 11:03:53 -05:00
Marco Vettorello
afa85699d2
Fix inspector adapters view on narrow screens (#27669) (#28832)
* Disable responsiveness of table in small screens

Disabling the resposiveness of cells and table will avoid showing
empty areas around elements of the inspector table.

* Fix responsive table in requests view stats

* Remove tableLayout inline style
2019-01-16 15:25:31 +01:00
Felix Stürmer
0cd47aad48
[Infra UI] Explicitly set format in date range queries and aggs (#28094) (#28821)
Previously, the Logs UI assumes that the index mapping of the logs indices has a default date format including `epoch_millis` configured for the timestamp field. If that is not the case queries can fail, leaving parsing exceptions in the Elasticsearch logs.

This PR fixes the Elasticsearch queries related to the Logs UI to explicitly specify the `epoch_millis` format for date range queries and aggregations.

fixes elastic/kibana#27554
2019-01-16 14:45:57 +01:00
Marco Vettorello
e6cbf54a5f
Use date_time for date docvalue_fields (#28499) (#28822)
Date field is the only field that can have a format specified in  mappings.
The result of a top_hit aggregation, shown through visualize,
is formatted with the kibana formatter for the specific field type.
Setting data_time instead of use_field_mapping for date keeps the
visualization output consistent between es 6.3 and newer versions.
2019-01-16 14:31:08 +01:00