Commit graph

17898 commits

Author SHA1 Message Date
Chris Roberson
ade24f2104
[Monitoring] Remove kibana_stats.requests.status_codes from bulk uploader (#20855)
* Remove `status_codes` from bulk uploader

* Remove more references to `status_codes`
2018-07-24 10:15:26 -04:00
Nathan Reese
6132cd92cc
add autoRefreshFetch event to timefilter (#20863)
* add autoRefreshFetch event to timefilter

* replace fetchAndRender with reloadVis remove listener from editor

* unsubscribe correct handler
2018-07-24 08:11:13 -06:00
Brandon Kobel
395fce7b69
Skip the Server logging configuration integration tests, they're flaky (#21141) 2018-07-24 09:32:52 -04:00
Pete Harverson
49db091fdd
[ML] Adds icon to the Anomalies Table if detector has rules (#21135)
* [ML] Adds icon to the Anomalies Table if detector has rules

* [ML] Edit to tooltip message on anomalies table detetor rule icon
2018-07-24 14:22:28 +01:00
James Gowdy
5cb22806da
[ML] Adding missing default privilege values (#21131) 2018-07-24 13:02:51 +01:00
James Gowdy
33bad59e1c
[ML] Create watch from new jobs list (#21112)
* [ML] [WIP] Create watch from new jobs list

* removing comments

* adding interval calculation

* adding checkbox to start datafeed modal

* adding proptypes check to SelectSeverity

* fixing typo

* changes based on review

* correcting input labels
2018-07-24 11:54:22 +01:00
James Gowdy
770ff205cd
[ML] Adding rules and filters permission checks (#21097)
* [ML] Adding rules and filters permission checks

* fixing disabled link check
2018-07-24 10:38:37 +01:00
Pete Harverson
8464caf2a6
[ML] Converts the custom URL editor to EUI / React (#21094) 2018-07-24 10:14:10 +01:00
Maxim Tolochko
1e7ce26303 I18n tests (#20306)
* Add unit-tests for i18n engine

* tests for angular wrappers under i18n engine

* split to packages in accordance to specific library

* split to packages depending on tech and environment

* make env modules names consistent

* remove intl polyfilling

* move laoder to root, i18n folder to core

* Add unit-tests for i18n engine

* tests for angular wrappers under i18n engine

* rebase on split package, injectIntl component

* eslint fixes

* use method names for checking, test i18n-values in directive

* use real html content while testing directive

* add test for angular directive without values
2018-07-24 12:06:26 +03:00
Walter Rafelsberger
86a9e46b4a [ML] Fixes an issue with failing job validation when fieldCaps object is malformed. (#21116) 2018-07-23 19:46:19 -07:00
liza-mae
94ac3c5c2a
Shell script to run kibana tests on cloud via Jenkins (#21107)
* Shell script to run kibana tests on cloud via Jenkins

* Add comment explaining cloud setup
2018-07-23 17:54:45 -06:00
Tim Sullivan
fc5d329819
Stats API: do not convert arrays to objects (#21053)
* Stats API: do not convert arrays to objects

* handle nested arrays in toApiFieldNames

* add early return
2018-07-23 15:36:17 -07:00
Walter Rafelsberger
e05b668f43
[ML] More helpful job validation success messages. (#21079)
This provides more helpful texts for job validation success messages. Previously only a list of checks was shown to the user without any further explanation. This PR addresses this issue in the following way:
- At the bottom of the modal an introductory brief text about job validation including a link to documentation is inserted.
- The success messages in the list now provide a more helpful text including (where applicable) a deep link to documentation
- The messages now support a richer Callout layout including a header and additional text.
2018-07-23 23:28:38 +02:00
Søren Louv-Jansen
7f57bf3e9e
[APM] Add apm_core plugin and query errors, spans, transactions from separate indices (#21022)
* [APM] Change index pattern

* WIP: change how indicies are queried in APM

* Create apm_core plugin

* Update config keys from `xpack.apm` to `apm_core`

* Revert tutorial formatting changes

* Rename to apm_oss
2018-07-23 22:20:05 +02:00
archana
d1cb0a44f5
Deprecate test:ui commands (#21092)
* Deprecate test:ui commands
2018-07-23 14:48:27 -05:00
gchaps
a9e79716d3 [DOCS] GS: Added note about hosted Kibana (#21037) 2018-07-23 12:38:23 -07:00
Walter Rafelsberger
3dc5b30f7e
[ML] Job validation uses fieldCaps to check aggregatable fields to avoid triggering Elasticsearch errors. (#21087)
While the output in the UI was fine, certain job configurations containing non-aggregatable fields could trigger errors on the Elasticsearch side.
This PR fixes it by adding an additional query for fieldCaps to check first which fields are actually aggregatable.
2018-07-23 20:35:10 +02:00
Bill McConaghy
9e71f5cb5c
fixing accessibility issue with include system indices checkbox in index creation wizard (#21034)
* fixing accessibility issue with include system indices checkbox in index creation wizard

* updating snapshots
2018-07-23 11:13:45 -04:00
Søren Louv-Jansen
9a13bb0924
Bump backport to 4.2.0 (#21083) 2018-07-23 16:30:19 +02:00
Tim Roes
d171aa8f12
TypeScriptify visualization components (#20940)
* Refactor vis components to TypeScript

* Fix issue with ResizeChecker

* Fix calling onInit for no data

* Explicit named export

* Add title to vistype

* Fix error in test file

* Move onInit to no VisualizationNoResults

* Make listenOnChange changeable

* Add memoize util

* Use memoize for no results check

* Address issue with uiState

* Optimize memoize function
2018-07-23 16:21:45 +02:00
Walter Rafelsberger
e503b87eb2
[ML] Job validation no longer reports an error when categorization job is properly setup. (#21075)
For categorization jobs, job validation would report that mlcategory isn't an aggregatable field. This fix checks the job configuration and only reports the error if the job config isn't using categorization_field_name and the detector field isn't set to mlcategory.
2018-07-23 14:37:16 +02:00
Søren Louv-Jansen
7266349e33
[APM] Performance marks for RUM agent (#20931)
* [APM] Performance marks for agent

* Fixed formatting and design

* Update snapshot

* Fixed tooltip id
2018-07-23 14:15:59 +02:00
James Gowdy
bf6cc70d24
[ML] Adding validation to the edit job flyout (#21041)
* [ML] Adding validation to the edit job flyout

* removing a bit of lodash

* tiny code clean up

* fixing validation check
2018-07-23 12:39:47 +01:00
Walter Rafelsberger
d6453fa3ba
[ML] Migrates ml-form-label to EUI/React. (#21059)
- Migrates the ml-form-label directive to use EUI/React.
- Exposes both FormLabel and JsonTooltip as React components from individual files so they can be used in a React context when the wrapping element also has been already ported to React.
- Adds jests based tests for the FormLabel and JsonTooltip components. They try where possible to make the same assertions like the mocha based tests. The mocha based tests are kept in the code for now so the code gets still tested in a angular based context and as a reference to have the same mocha/jest based tests side by side as a reference for migration.
- The FormLabel component is done in a way so it supports transclusion in both cases when used with React alone (using the children prop) and angularjs (using a ref callback and angular's transclude()).
2018-07-23 11:42:36 +02:00
Nathan Reese
b319b5a676
avoid day long gaps in sample data (#20897)
* avoid day long gaps in sample data

* avoid using toISOString to avoid an timezone problems

* unskip sample test now that problem is fixed

* use much better cj algorithm for translating time

* cjcenizal review updates

* update funtion name in install.js

* push source reference date back a week
2018-07-22 17:28:59 -06:00
Pete Harverson
465ab78ef7
[ML] Adds editor for configuring detector rules (#20989)
* [ML] Adds editor for configuring detector rules

* [ML] Edits to Rule Editor flyout following review
2018-07-22 14:01:45 +01:00
dave.snider@gmail.com
6ecc990274
Upgrade xpack to eui@3.0.0 (#20930)
* upgrade to eui@3.0.1
2018-07-21 08:02:50 -07:00
James Gowdy
cdafa2f092
[ML] Adding filters privileges (#21021) 2018-07-21 11:49:41 +01:00
CJ Cenizal
ab0e2badb7
Convert notify.warning calls to use toastNotifications (#20767)
* Replace notify.warning with toastNotifications in region map, vega, index_pattern, redirect_when_missing, graph, monitoring, and ML
* Link to index patterns from Graph toast.
* Delete RouteBasedNotifier.
* Remove courierNotifier and SearchTimeout and ShardFailure errors.
* Remove warning and custom notifier types.
2018-07-20 15:10:02 -07:00
Tim Roes
0dbaf65363 Change painless scripted field (#21026)
* Change painless scripted field

* Remove wrong char

* Remove invalid escape chars
2018-07-20 12:42:13 -06:00
CJ Cenizal
97593b409b
Make 'Change password' button on account page keyboard-accessible. (#20958) 2018-07-20 11:29:16 -07:00
Peter Hampton
92cc522e02 [pjh] Add prometheus exporter to the list of plugins (#21009)
(cherry picked from commit 73198e3d12)
2018-07-20 11:04:29 -07:00
Carlos Pérez-Aradros Herce
d787ffbe08
Add vSphere Metricbeat module tutorial (#20572)
* Add vSphere Metricbeat module tutorial
2018-07-20 15:10:51 +02:00
Nicolas Ruflin
47e784c434
Add more tutorials to add data UI (#21020)
* Golang
* Logstash
* Prometheus
* Zookeeper
2018-07-20 15:00:32 +02:00
Tudor Golubenco
f3fe9c6c83
Add new filebeat tutorials (#20997)
* PostgreSQL module
* Added Logstash logs module
* Added Elasticsearch logs module
* Added IIS logs module
* Traefik logs tutorial
2018-07-20 14:21:24 +03:00
Hamid
41eb59a357
[APM] use RUM in instructions (#20934) 2018-07-20 09:49:19 +02:00
CJ Cenizal
ff52c76a22
Fix bug in which Discover showed shard failures message as part of the 'No results' feedback, when there were no failures. (#21003) 2018-07-19 15:05:37 -07:00
Tim Sullivan
2216b226d6
Monitoring Angular directives to use React components (#19183)
* remove some webpack aliases for jest

* remove status icon angular directive

* fix some component import problems
2018-07-19 14:29:25 -07:00
Tim Sullivan
80833cde95
Remove /api/_xpack/usage and /api/_kibana/v1/stats (#20800)
/api/_xpack/usage was added as a target for 6.4.0 but it will not be
used. Instead, the /api/stats response will include usage info on
everything that gets registered with the usage service in
/src/server/usage

/api/_kibana/v1/stats is a GET API that was added in 6.2, during a point
where we thought providing usage stats through a public API would be OK
for capturing internally, with the benefit of having it be visible.

However, we've pivoted away from that idea because it doesn't line up
too well with the existing flow of data, where usage stats are combined
with the "Kibana stats" such as process uptime and number of requests.
We want to shift how we collect stats from Kibana, but it will be
gradual. It might be a while before we have an architecture that makes
sense for a standalone public API for the usage stats

This endpoint was never documented, and isn't used anywhere in the code.
It does incur a maintenance cost though.

Therefore, instead of waiting for a next major version to remove this
API, I'm removing it for 6.4. It will be marked in the release notes as
a breaking change. Since it was never documented, it should not provide
a problem.
2018-07-19 13:46:52 -07:00
Tim Sullivan
f8bdc7d22a
[Test/Cleanup] Remove console.log (#21002) 2018-07-19 13:42:47 -07:00
Bill McConaghy
35dade2d3c
Reactify users roles (#20739)
* partial progress on reactifying users

* progress on EUIfication of users screen

* removing Angular stuff

* adding data-test-subj="passwordConfirmationInput"

* removing data-test-subj="userFormEmailInput" refs from tests

* fixing selector for role assignment

* some functional test fixes

* fixing some functional tests

* fixing last functional test

* removing stray console log

* fixing warnings

* attempting to fix flaky test

* trying again to fix flaky test

* PR feedback

* PR feedback

* fixing issue where form tried to submit

* adding sleep to allow user to load

* Design edits

Mainly adding wrapper EUI page elements, but also shifted around form elements.

* Fixed console error and added responsive prop to table

* addressing PR feedback

* A few more PR feedback

- Fixed alignment of table
- Removed the tooltip from the lock icon and placed the description inline.
- Changed delete button to an empty button

* addressing more PR feedback

* adding email field back in

* adding back username validation

* restoring original error message

* fixing dumb null error
2018-07-19 16:40:12 -04:00
Alex F
218dfa2953
Update Cloud tutorial instructions to work with UCv2 (#20950)
Updated some of the text in the manifest file for on-prem cloud
2018-07-19 14:24:51 -04:00
liza-mae
e02485684d
skip test (#20986) 2018-07-19 10:07:19 -06:00
James Gowdy
d1b667512c
[ML] Better handling of job request timeouts (#20985) 2018-07-19 16:39:54 +01:00
James Gowdy
3d06046295
[ML] Removing _feature and _ignored from detector modal (#20984) 2018-07-19 16:39:42 +01:00
Nicolas Ruflin
469c00592f
Remove beta label from tutorial overview page (#20977)
Many modules are still in beta which made the beta label not very useful in the overview page. This disables the beta label for now.

The label is still shown when clicking on module.
2018-07-19 17:09:03 +02:00
Spencer
b434652452
[kfetch] TypeScript-ify (#20914)
In order to make the awesome new kfetch api easier to consume in purely TypeScript projects, and since it's a pretty small module with very few dependencies, I converted it to TypeScript.

Along with kfetch I also started a type definition file for `ui/chrome` that we can extend as we go, but will likely be unnecessary after #19992
2018-07-19 06:31:44 -07:00
Leanid Shutau
a091cf0bdb
Fix i18n default formats injection into en.json (#20929)
* Fix i18n default formats injection into en.json

* Use snapshots for tests
2018-07-19 14:48:43 +03:00
Tudor Golubenco
c4436652ee
Add new tutorials: Osquery, RabbitMQ, and uWSGI (#20944)
* Osquery tutorial, under Security

* Rabbitmq tutorial

* uWSGI metrics tutorial

* Marked another two tutorials as Beta
2018-07-19 14:27:28 +03:00
James Gowdy
7a84e7871e
[ML] Changing edit job icon (#20935) 2018-07-19 08:21:10 +01:00