Commit graph

1237 commits

Author SHA1 Message Date
CJ Cenizal
fd591acb90
Upgrade EUI to 0.0.52 (#19772) (#19833)
* Revert "Revert "upping eui to 0.0.52 and updating snapshots (#19761)" (#19770)"
This reverts commit c853072ca5, reintroducing EUI 0.0.52.
* Rename visualize page object selectors for manipulating combo box.
2018-06-12 12:05:15 -07:00
Walter Rafelsberger
5e4380e26b
[ML] Disable cell range selection. (#19795) (#19822) 2018-06-12 16:35:00 +02:00
Walter Rafelsberger
42b79a8cce
[ML] Deprecates jQuery in favour of d3's axis component for the swimlanes axes. Adds support to remove overlapping labels. (#19800) (#19821)
- Deprecates the use of jQuery to render the swimlanes axis labels and uses d3's axis component instead. We already used d3 features like d3.scale and others to calculate the label positions but the DOM rendering was still done using jQuery.
- Additionally, adds some logic to remove/fix overlapping labels.
2018-06-12 16:31:41 +02:00
Walter Rafelsberger
2a0bdbc1ca
[ML] Migrates advanced job wizard page wrapper to EUI. (#19815) (#19820) 2018-06-12 16:30:21 +02:00
Walter Rafelsberger
87b2117cb4
[ML] Fix cosmetic issues with cut off chart overflows. (#19794) (#19801)
1. Increases the top margin to 5 and the right margin to 1 to avoid cutting off the chart because overflow is hidden for the directives mlEventRateChart and mlMultiMetricJobChart. The top margin gives enough room to avoid cutting off y-axis labels. The right margin is a tweak to not cut off the gray border by 1 pixel to the right.
2. Fixes how the domain for mlEventRateChart is calculated. The domain gets now extended by 1 barsInterval, otherwise the last bar will start at the end of vizWidth and overflow the chart (the overflow is hidden so the visible chart missed one bar).
2018-06-12 12:48:52 +02:00
Pete Harverson
dd9e095f19
[ML] Single Metric Viewer multi week bucket span fix (#19792) 2018-06-11 11:29:25 +01:00
CJ Cenizal
f49dcc81ae
Revert "upping eui to 0.0.52 and updating snapshots (#19761)" (#19770) (#19771)
This reverts commit a6894c6f62.
2018-06-08 14:06:50 -07:00
Bill McConaghy
bf6e4e41fc
upping eui to 0.0.52 and updating snapshots (#19761) (#19766)
* upping eui to 0.0.52 and updating snapshots

* fixing yarn.lock
2018-06-08 15:40:58 -04:00
Bill McConaghy
5d77e2bb42
[console] Adding documentation to console (#19715) (#19760)
* adding documentation links when the endpoint is known

* making doc link reflect version user is using

* adding documentation links for xpack APIs

* fixing missing argument issue

* removing console log

* fixing issue with lingering documentation after text is deleted

* fixing issue with documentation and multiple commands in the editor

* adding $scope.$apply so documentation changes show up in UI

* removing dead code

* adding missing boost param for match_all

* fixing issue with parameterized endpoint completion

* adding keyboard shortcut for opening documentation for current request

* fixing issue with keyboard docs shortcut when you just move the cursor around
2018-06-08 12:52:04 -04:00
Jonathan Budzenski
d5940e005d
[package.json] Add missing dev dependencies (#19625) 2018-06-08 11:33:03 -05:00
Pete Harverson
7e80d8d404
[ML] Use EUI table getRowProps for anomalies table row mouseover (#19755) (#19757) 2018-06-08 14:54:23 +01:00
Tim Sullivan
77608f79b3
[Monitoring] Fix Node Advanced page (#19740) (#19749)
* [Monitoring] Fix Node Advanced page

* fix metrics snapshot
2018-06-07 18:22:13 -07:00
Bill McConaghy
8e7aee9eb3
Console cleanup (#19654) (#19702)
* refactoring to class style and moving components to own files

* making top level components fetch sensitive to HTTP verb

* fixing issue with _ endpoints getting mistaken as index names for autocomplete possibilities:wq:

* removing stray console log

* removing console log

* PR feedback

* accounting for _all in isNotAnIndexName
2018-06-06 12:01:26 -04:00
James Gowdy
4f3b3550e9
[ML] Removing unnecessary sr-only span (#19697) (#19698) 2018-06-06 15:03:31 +01:00
Stacey Gammon
9d02d88ced
Move all reporting tests into their own folder and add chromium tests (#19330) (#19690)
* Move all reporting tests into their own folder to allow for multiple kibana.yml configuration tests, including chromium

* Add debugging and try to skip other tests an jenkins to speed things up

* More debug output

* more logging (remove other line which failed on jenkins)

* Remove no sandbox flag, it doesn't help

* Add fix for socket hangup and clean up tests

* fix path to logstash_functional

* Extend timeout for chromium, add verbose logging, add better comment, conditionally output curl command

* fix path... again

* Ah, other functional tests still need access to reporting page object, put it back

* fix sp err

* Add debug logs for screenshot stitching for png.bitblt error

* Fix tests that don't pass logger to screenshotStitcher

* Fix logger being undefined

* Add more debug output

* png has data, too much info to spit out

* Add comment with link to issue for extra debug messages so they can be left in since so many passes

* Dont use spawnSync with curl, use http.request instead, more support for it

* Comment out chromium tests for now to avoid flakiness

* Wait... lets at least make sure the other fix worked (the http.request instead of spawnsync and curl)

* New http.request code doesn't seem to work on jenkins, timing out after 10 secs maybe

* go back to spawnsync to see if it's an issue with the rxjs code or the http.request code

* I think I figured it out...

* Comment out tests to avoid flaky png error in the screenshot stitcher

* Use a const for OSS archive path

* use path.resolve correctly.
2018-06-06 07:59:45 -04:00
Bill McConaghy
0d9a46c1e8
upping to EUI 0.0.51 and fixing tests that broke (#19653) (#19693)
* upping to EUI 0.0.51 and fixing tests that broke

* upping x-pack eui to 51 and refreshing snapshots

* adjusting onQueryChange API to match EUI

* adding lock files

* updating snapshots
2018-06-05 20:26:43 -04:00
Stacey Gammon
db5f66ee83
updateUrl is on scope, not this. (#19687) (#19689) 2018-06-05 20:00:34 -04:00
Tim Sullivan
2579283f4c
[X-Pack Usage API] use authentication from request headers (#19613) (#19682)
* [X-Pack Usage API] use authentication from request headers

* add test for usage api no-auth

* whitespace / syntax nits

* reduce loc changed

* remove a weird looking comment
2018-06-05 13:14:18 -07:00
Søren Louv-Jansen
8396b1b866
[APM] Fix debug param issue (#19676) (#19684)
* [APM] Fix debug param issue

* [APM] Fix _debug issue and add test
2018-06-05 21:55:15 +02:00
Chris Roberson
4d7229ba17
Disable the dirty prompt until #19594 is resolved (#19595) (#19615) 2018-06-05 13:28:02 -04:00
Justin Kambic
f64ed6f62a Remove dirty prompt from Logstash Pipeline Management (#19649)
* Remove dirty prompt from Logstash Pipeline management because of Angular routing issue.

* Remove test for removed feature.
2018-06-05 12:31:18 -04:00
Brandon Kobel
6595984cf9
SavedObjects service and client provider (#19349) (#19673)
* Renaming client to service

* Implementing the SavedObjects service and client provider

* Making saved objects service lazy instantiated so the test server works

* Fixing import

* Fixing another import

* Fixing reporting's usage of the savedObjectsClientFactory

* No longer passing the callCluster function to the kbnTestServer

* Passing empty request...

* Fixing reporting

* Exposing server.savedObjects without a getter

This required me to remove the kbnTestServer.createServer() method and
change all usages to createServerWithCorePlugins since we're reading the
kibana.index, which is part of the core plugins, when configuring the
saved objects service which is attached to the server.

* Don't need to set kibana.index

* Changing more usages of kbnTestServer.createServer

* Revert "Changing more usages of kbnTestServer.createServer"

This reverts commit 464f73abb2.

* Partially reverting 17d36b3e9a

* Fixing headers

* Improving tests

* Addressing some peer review feedback

* Addressing more peer review feedback

* Adding server.log warning when the saved objects can't initialize

* Getting rid of the savedObjectsClientFactory

* Branches are for trees

* Fixing comment to be proper english

* Fixing fat-fingering method call

* Fixing other usages of getScopedSavedObjectsClient
2018-06-05 07:24:44 -04:00
Søren Louv-Jansen
cbe6ba839a
[APM] Fix missing _debug validator (#19639) (#19640) 2018-06-04 14:34:08 +02:00
Søren Louv-Jansen
96a6bdd550
[APM] Add debug option (#19587) (#19612) 2018-06-01 08:34:26 +02:00
Tim Sullivan
6ef0f514f4
[Reporting/Usage] Check monitoring enabled before registering collector (#19581) (#19610) 2018-05-31 17:44:03 -07:00
Stacey Gammon
e02599f0aa
It's confusing to see the timestamp of started_at if the status says "completed" (#19551) (#19583)
fixes https://github.com/elastic/kibana/issues/17912
2018-05-31 07:42:36 -04:00
Stacey Gammon
40e24f0bbb
Update dashboard snapshot tests (#19420) (#19562)
* update snapshot tests

* Update time ranges

* Add sleeps, adjust time, update snapshots

* Skip TSVB until the issue with vertical line placement and x-axis timestamps is fixed

* fix expectations of time range with saved search creation

* remove debug line
2018-05-30 16:47:55 -04:00
Court Ewing
607d58615c
license: do not parse expiry date if it does not exist (#19565) (#19575)
Basic licenses never expire, so they do not have an expiration date at
all according to the Elasticsearch API. When this happens, we should not
attempt to parse the date nor show the expiry date in the log.
2018-05-30 16:43:49 -04:00
Bill McConaghy
17555f2a28
fixing basic license revert on Firefox (#19566) (#19568) 2018-05-30 14:38:15 -04:00
Lisa Cawley
c3c98b682e [DOCS] Moves monitoring folder to docs (#19516) 2018-05-30 09:45:30 -07:00
Tim Sullivan
51feafb43d
[Monitoring] use defaulValue instead of filter to make pre-filled text input editable (#19462) (#19536) 2018-05-30 09:31:24 -07:00
Lisa Cawley
6e16d9c006 [DOCS] Moves security folder to docs folder (#19514) 2018-05-30 07:40:43 -07:00
Brandon Kobel
280783809b
Introducing base audit logger (#19442) (#19546)
* Adding very basic audit logging for auth success/failure

* Extracting security specific audit logger from the AuditLogger

* Using short auditLogger in authenticate in one more place

* Logging some information from the request during success/failure

* Adding AuditLogger tests

* Removing the security audit logger, this is out of scope...

* Better asserts, thanks Aleh

* Adding `audit` to the default events

* Using `info` with the audit logger, emulating with ES does
2018-05-30 10:26:42 -04:00
Lisa Cawley
29cb018771 [DOCS] Moves upgrade-assistant folder to docs (#19523) 2018-05-29 23:00:47 -07:00
Lisa Cawley
88eed510c1 [DOCS] Moves setup folder to docs (#19525) 2018-05-29 22:52:34 -07:00
Lisa Cawley
84fbb30cdf [DOCS] Creates dev-tools folder (#19528) 2018-05-29 22:39:20 -07:00
Lisa Cawley
f76712fe9f [DOCS] Move watcher-ui folder to docs (#19529) 2018-05-29 22:31:32 -07:00
Lisa Cawley
8ea62191ad [DOCS] Moves graph folder to docs (#19530) 2018-05-29 22:23:26 -07:00
Lisa Cawley
ea45d44611 [DOCS] Moves reporting folder to docs (#19517) 2018-05-29 17:34:07 -07:00
Lisa Cawley
d04b2dda67 [DOCS] Moves settings folder to docs (#19521) 2018-05-29 17:29:14 -07:00
Lisa Cawley
bff706f805 [DOCS] Moves dashboard_only_mode folder to docs (#19532) 2018-05-29 17:19:59 -07:00
Lisa Cawley
fd5b62a145 [DOCS] Move ml folder to docs (#19512) 2018-05-29 15:48:38 -07:00
Lisa Cawley
9440bfbd40 [DOCS] Moves apm folder to docs (#19518) 2018-05-29 13:51:28 -07:00
James Gowdy
de11c30ed4
[ML] Start datafeed from the module setup endpoint (#19254) (#19493)
* [ML] Start datafeeds from the module setup endpoint

* changes based on review

* correcting use of filter
2018-05-29 12:55:30 +01:00
Spencer
4f29b323bf
Backport/19383/6.x (#19487)
* [eslint][tslint] require Apache 2.0 license headers

(cherry picked from commit 337fea30b9)

* [kbn-eslint-plugin-license-header] don't try to fix files with hashbangs

(cherry picked from commit db79f1501e)

* [eslint][tslint] autofix license headers
2018-05-28 20:24:23 -07:00
Søren Louv-Jansen
858b3e8345
[APM] Add kuery to APM (#18881) (#19444) 2018-05-26 00:29:59 +02:00
Justin Kambic
88c2b44a79 Provide events in & out per millisecond for Logstash pipelines (#19446)
* Port changes to dedicated branch to isolate PR.

* Rename variable in test to match function name.
2018-05-25 15:27:22 -04:00
Tim Sullivan
d6738d3959
[Monitoring] use react components for Kibana directives (#19379) (#19432)
* kibana cluster status directive use react component

* fix some functional test failures
2018-05-25 10:49:15 -07:00
Pete Harverson
24826fe321
[ML] Clear Anomaly Explorer if swimlane selection is empty (#19403) (#19437)
* [ML] Clear Anomaly Explorer if swimlane selection is empty

* [ML] Remove unnecessary variable
2018-05-25 12:24:51 +01:00
Pete Harverson
61c60f7d0b
[ML] Convert anomalies table to EUI / React (#19352) (#19400)
* [ML] Convert anomalies table to EUI / React

* [ML] Edits to EUI / React anomalies table after review
2018-05-25 11:01:35 +01:00