Commit graph

2065 commits

Author SHA1 Message Date
Spencer
e80d433bf5
[esArchiver] stable archives (#30477) (#30706)
* [esArchiver/save] serialize with stable json stringify

* [esArchives] rebuild all archives
2019-02-13 19:00:27 -08:00
Thomas Neirynck
244eed7c88
[Maps] ensure url has been resolved before syncing (#30750) (#30995) 2019-02-13 16:35:39 -05:00
Robert Monfera
ccc2818cd3
Feat: selection box for ad-hoc group elements (#30632) (#30986) 2019-02-13 21:21:58 +01:00
Thomas Neirynck
3ba5cca911
[Maps] Revert layer-state correctly on cancel (#30451) (#30991) 2019-02-13 15:10:14 -05:00
Spencer
5820318371 [7.0] [kuery] support matching field names with newlines (#29539) (#30769)
* [kuery] support matching field names with newlines (#29539)

* [kuery] support matching field names with newlines

* Add support for newlines in KQL grammar

* Add test for newlines in wildcards

* Fix test

* Use 's' instead of 'm' to match newlines instead of doing multi-line

* Fix autocomplete suggestions to handle newlines and tabs in field names

* Add line feed to escaped whitespace

* Fix broken test
2019-02-13 12:50:19 -07:00
Bill McConaghy
7606f37b40
fixing watch delete (#30989) (#31005) 2019-02-13 14:35:42 -05:00
Ryan Keairns
04056634dc
[Canvas] K7 design related fixes (#30833) (#30969)
* K7 design related fixes

* remove compressed from table for consistency

* remove fullscreen styles related to K6 nav elements
2019-02-13 12:39:55 -06:00
Catherine Liu
f5cf523799
Added isFirstLoad to transient state. (#30150) (#30704) 2019-02-13 10:40:34 -07:00
Melissa Alvarez
e2abe0262d
only trigger cellClick if selection defined (#30855) (#30958) 2019-02-13 11:58:02 -05:00
Jen Huang
0736d4364e
Fix ordering of CCR plugin (#30596) (#30666) 2019-02-13 08:24:07 -08:00
Justin Kambic
d7e4cf9b82
[Uptime] Fix snapshot query to handle large numbers of monitors (#30441) (#30754)
* Refactor snapshot histogram ES query and subsequent processing.

* Fix issues on client, remove obsolete code, update tests.

* Get type check passing and update Snapshot component's unit tests to work with new schema data.
2019-02-13 10:35:34 -05:00
Chris Cowan
aac81f0b50
Fixing font size for icon div (#30744) (#30856) 2019-02-13 08:13:55 -07:00
Robert Monfera
ccbc60b653
[Canvas][Layout Engine] TypeScript conversion - Stage I (#29390) (#30926)
* Perf: avoid matrix transpose in canvas layout that served only initial docu purpose, don't cons extra arrays
* Chore: switch to ES2015 import/export and direct function access
* Chore: TS conversion for some of the layout engine files
* Chore: rework TS linting for all files under `aeroelastic` (even the `.js` ones)
2019-02-13 14:12:37 +01:00
Walter Rafelsberger
f98ba0d697 [ML] Removes deprecated $scope.indexPatterns. (#30494) (#30519)
This was missed during the recent migrations to React of Anomaly Explorer in #28750. It removes the now unnecessary `$scope.indexPatterns`.
2019-02-13 11:16:23 +00:00
nicknak
e62b50badf
Handle warnings from task manager without stack traces. (#30692) (#30870)
* Handle warnings from task manager without stack traces.

* Fix typescript errors.

* Catch no living connection errors.

Swallow stack traces and do not throw errors.

* Should use string substitution instead of concatenation.
2019-02-13 05:49:13 -05:00
Shaunak Kashyap
ae7d3e4c6f
Remove type filter helper (#30887) (#30908)
* Remove type filter helper.

This is no longer required in ES 7.0 onwards.

* Remove more usages of filter helper
2019-02-12 19:59:17 -08:00
Nathan Reese
712142c33f
[Maps] display documents when location field name contains a dot (#30774) (#30903) 2019-02-12 19:47:38 -07:00
Joe Fleming
6633091a8b fix: switch fonts to 48px (#30747)
they still look good and fit in their containers better
2019-02-12 15:08:37 -07:00
Søren Louv-Jansen
34dad98067 [APM] Filter out 6.x data (#30828)
* [APM] Filter out 6.x data

Add test

Fix snapshots

Fix lint issues

* Fix tests
2019-02-12 13:14:50 -05:00
James Gowdy
0ae70ee2bf
[ML] General ML style tweaks for K7 compatibility (#30536) (#30794)
* [ML] [WIP] General ML style tweaks for K7 compatibility

* file data viz clean up
2019-02-12 15:30:27 +00:00
CJ Cenizal
d2f3da8186
Fix width of Watcher table. (#30311) (#30756) 2019-02-12 07:28:55 -08:00
Nathan Reese
395f134ddd
merge with master (#30781) 2019-02-12 06:27:09 -07:00
Pete Harverson
4485c99615
[ML] Removes non ECS apache, nginx and auditbeat data recognizer modules (#30537) (#30676) 2019-02-12 10:49:19 +00:00
Gil Raphaelli
00ed5eb5b5 update APM reindex script (#30761) 2019-02-12 10:48:19 +01:00
Nathan Reese
4125c0f991
[Maps] remove toasts for layer add and layer load error (#30584) (#30777)
* [Maps] remove toasts for layer add and layer load error

* remove side-effects of LAYER_DATA_LOAD_ERROR action

* more cleanup
2019-02-11 21:40:18 -07:00
Spencer
09d2511c28
[ftr/uiSettingDefaults] disable telemetry by default (#30473) (#30671) 2019-02-11 18:50:45 -08:00
Tim Sullivan
6153fc4970
Fix/reporting vis preserve (#30456) (#30553)
* add state field for isPreserveLayoutSupported

* doc updates
2019-02-11 16:48:56 -07:00
James Gowdy
ddd6e50405
[ML] Fixing detector help link in advanced wizard (#30641) (#30694)
* [ML] Fixing detector help link in advanced wizard

* tiny refactor
2019-02-11 22:09:30 +00:00
Mike Côté
ced35a0c5e
Clone saved object document before migrating to prevent accidental mutations (#30475) (#30731)
* Clone saved object document before migrating to prevent accidental mutations

* Add tests

* Add example comment

* Use latest version of lodash cloneDeep

* Revise spaces functional tests to use same sample data.

* Fix broken test
2019-02-11 16:53:19 -05:00
Thomas Neirynck
4772bd588a
[Maps] Fix and improve error messaging when adding TMS from kibana.yml (#30529) (#30697) 2019-02-11 14:42:35 -05:00
Aleh Zasypkin
5c2c116601
[7.0] Add zh-CN.json translations and respective compatibility checks via i18n tools (#30639) 2019-02-11 18:34:20 +01:00
Court Ewing
bafd159136 Update paths to ui, server, deprecation, plugin_discovery in src/legacy
This commit accompanies the four that precede it. Rather than squash
them altogether, the four previous commits all do nothing except move
files to help avoid conflicts.
2019-02-11 11:39:47 -05:00
Bill McConaghy
98ea3e286a
Fix ILM dependency upon xpack.index_management.enabled setting. (#30592) (#30661) 2019-02-11 11:24:23 -05:00
Lukas Olson
9e3a320dc5 Fix buildEsQuery to ignore filters if not in index (#29880)
* Fix buildEsQuery to ignore filters if not in index

* Fix tests and move getEsQueryConfig to package

* Revert changes to TSVB

* Remove console log

* Review feedback
2019-02-11 08:38:58 -07:00
Chris Davies
9f6f9a0b59
Remove custom WebPack bundles from Canvas (#30123) (#30630)
This removes the custom build process for Canvas plugins. Canvas plugins are now regular
Kibana plugins. They can register server-side functions like so:

```js
server.plugins.interpreter.register({
  serverFunctions: [yourFunctionsHere],
});
```

And client-side functions need to be included in `uiExports.canvas`, then they need to
register themselves like so:

```js
// kbnInterpreter is a global, sadly, but it makes registration simple
kbnInterpreter.register({
  elements: [yourElementsHere],
  browserFunctions: [yourFnsHere],
});
```
2019-02-11 08:30:45 -05:00
James Gowdy
670f92cda3
[ML] Removing old angular based start datafeed modal (#30392) (#30512)
* [ML] Removing old and broken start datafeed modal

* fixing typos

* removing need to load job from server

* small refactor

* adding comments

* removing unnecessary async/await
2019-02-11 10:27:17 +00:00
James Gowdy
f9038bd3f1
[ML] Fixing job deletion slow refresh delay (#30371) (#30485) 2019-02-11 10:27:04 +00:00
Sébastien Loix
3560146727
[CCR] Put back API integration test for follower indices (#30260) (#30619) 2019-02-11 11:18:01 +01:00
Casper Hübertz
e8a5cca240
[APM] Fix Stackframe fontsize (#30489) (#30616)
Decreased the font size in the code box to improve legibility.
2019-02-11 10:10:58 +01:00
Caroline Horn
b0da4eb9bb
Homepage style updates (#30341) (#30612)
* Better responsive handling of home grids

* Update sample data images to match UI updates

* Hide non-existent MSSQL logo so it doesn’t throw errors

* Dark mode images for sample data

* Som layout fixes to tutorials

* remove unused file

* convert synopsis to use EuiCard

* Snaps

* IE fix

* Remove unnecessary inline margin for flex group spacing

* More snaps cuz of the IE fix
2019-02-10 19:54:36 -05:00
Søren Louv-Jansen
1066801bb8
[APM] Show metric-only services in service overview (#30397) (#30434) 2019-02-10 16:22:00 +01:00
Nathan Reese
b7e2e5093d
[Maps] do not display mapbox style inspector view unless turned on in kibana.yml (#30428) (#30540)
* [Maps] do not display mapbox style inspector view unless turned on by kibana.yml

* use better name for config name
2019-02-08 19:57:01 -07:00
Matt Bargar
c0cc5a319a
Enable query bar datepicker in core apps where appropriate (#30171) (#30590)
Updates discover, visualize, and dashboard to use the date picker added to the query bar in #29130. There are still some areas where we use the top nav date picker, like Timelion and TSVB which don't have a query bar.
2019-02-08 19:10:34 -05:00
Rashmi Kulkarni
90820a5cc7
Rollup job Functional UI test (#30280) (#30571) 2019-02-08 14:09:47 -08:00
Thomas Neirynck
e82c94f577
[Maps] Correctly handle single-feature joins (#30409) (#30470) 2019-02-08 16:49:58 -05:00
Tyler Smalley
b3e9a17151
APM upgrade: Don't base version check on Kibana version (#30342) (#30399)
We want to migrate all indices less than 7.0.0, regardless of the version which
Kibana is on.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-02-08 11:05:53 -08:00
Oliver Gupte
8e80cc78ec
[APM] Render related errors link in transaction flyout (#29807) (#30481)
* [APM] closes #29563 by rendering related errors link with error count in transaction flyout

* [APM] improved get_trace query by  narrowing indices and parallelizing queries, improved code org/readability

* [APM] code improvements, split get_trace queries into separate source files

* [APM] remove initial transaction details request in favor of looking up the
current transaction data within the trace (waterfall) data

* Add test for `getWaterfall`

* Revert change to `getWaterfallItems` test

* simplified aggregation, waterfall helpers code, and moved get_trace_errors_per_transaction.ts under 'errors'

* improved naming and readbility of waterfall properties

* removed unused routes and queries and fixed some invisible bugs in the waterfall helpers

* added trace.id in addition to the transaction.id filter in the kuery bar for related errors
2019-02-08 09:43:14 -08:00
Chandler Prall
c24cd76ec3
Upgrade EUI to 6.10.1 (#30404) (#30439) 2019-02-08 09:05:44 -07:00
Pete Harverson
b24ff8b038
[ML] Fixes filtering on the metric cards in the data visualizer (#30493) (#30507) 2019-02-08 14:30:04 +00:00
James Gowdy
f0c976aece
[ML] Fixing metric select double caret (#30357) (#30411) 2019-02-08 10:21:42 +00:00