Commit graph

17240 commits

Author SHA1 Message Date
James Gowdy
dc21cf29b9
[ML] Increasing calculated model memory limit (#18723)
* [ML] Increasing calculated model memory limit

* updating comment

* updating tests
2018-05-02 18:12:45 +01:00
Bill McConaghy
411b2455d6
fixing issue with cancel button on revert to basic license modal (#18718) 2018-05-02 12:53:08 -04:00
James Gowdy
d77cc5676b
[ML] Fixing MS Edge GET request error (#18713) 2018-05-02 14:25:17 +01:00
Pete Harverson
34cc14f445
[ML] Display typical values for lat_long anomalies (#18715) 2018-05-02 13:21:49 +01:00
James Gowdy
af1a9b6a13
[ML] Adding ace editor for JSON (#18692)
* [ML] Adding ace editor for JSON

* removing unnecessary require-keys setting
2018-05-02 11:48:48 +01:00
Walter Rafelsberger
7f48d6e5b6
[ML] Adds an mml check to trigger an error when mml value is invalid. (#18678)
This adds an additional check and corresponding error message to the validation of the model memory limit. If the parsing of the memory model limit results in 0 bytes the message will be triggered. This behaviour catches both correctly formatted but invalid strings (like 0mb) and invalid strings (like asdf).
2018-05-02 12:42:13 +02:00
Pete Harverson
a565761b94
[ML] Convert Angular filters to formatter functions (#18681)
* [ML] Convert Angular filters to formatter functions

* [ML] Clean up Angular filter wrappers
2018-05-02 09:47:27 +01:00
Walter Rafelsberger
92f05ee9b3
[ML] Omit mml success message when mml checks are not run. (#18659)
Updates the behaviour of the job validation's model memory limit checks: The success messages success_mml gets only returned if the checks were actually run. This omits the success message for example in the single metric and population wizard.
2018-05-02 10:35:12 +02:00
Walter Rafelsberger
d6e2464ff0
[ML] Fixes sync issue where a manipulated AppState wouldn't contain the original attribute anymore. (#18653)
Inconcistencies between AppState and derived custom states for UI components like mlSelectLimit and mlSelectInterval could trigger errors because the parent of a nested object attribute could become undefined. This PR adds additional checks to state_factory.js's get/set/reset methods to reinitialize itself with AppState and fall back to its default state should it not be present within AppState anymore. The original issues were hard to reproduce consistently using the UI only. However the error could be triggered when creating a malformed URL, like replacing the mlSelectInterval:(interval:(display:Auto,val:auto)) part of the URL to something like mlSelectInterval:(undefined). This PR includes additional unit tests which simulate this behaviour and fail without the additional checks provided by this PR.
2018-05-02 08:18:31 +02:00
Lisa Cawley
85759b7797
[DOCS] Removes X-Pack release notes (#18702) 2018-05-01 16:59:27 -07:00
Jonathan Budzenski
2eb70cfef0
Bump http-proxy-agent (#17840) 2018-05-01 15:52:55 -05:00
Nathan Reese
bb7e0b2598
replace KuiCard with EuiCard in kibana home (#17771)
* replace KuiCard with EuiCard in kibana home

* fix button styling

* update snapshots caused by new EUI version from rebase

* allow flex group to wrap
2018-05-01 13:19:55 -06:00
Jonathan Budzenski
1eef04551d
[console_extensions] disable when console is disabled (#18673)
* [console_extensions] disable when console is disabled

* [console extensions] has console and enabled

* [console_extensions] fix console_extensions.enabled
2018-05-01 10:54:43 -05:00
Shaunak Kashyap
5de204212e
[Logstash Centralized Management] Hide recently-deleted pipelines (follow up PR) (#18683)
* Renaming constant to be more descriptive

* Less kludgy language for better readabilility

* Removing extraneous newlines
2018-05-01 07:16:39 -07:00
Stacey Gammon
3c8c23c9ef
Expand coverage of dashboard tests (#17703)
* Expand coverage of dashboard tests and decrease time

* Fix timing error when sub urls fail to save from too fast app link clicking

* discover doesn't have breadcrumbs

* Check top nav text so it works on both listing and saved object edit/view pages

* need to do the add panel operations one at a time

* Need both types of input in filter

* Give test data a title

* Remove incorrect and unnecessary comment

* Move data around and get rid of 6_3 specific naming as we will end up migrating the data as we progress

* Remove code accidentally checked in
2018-05-01 09:12:36 -04:00
Tim Sullivan
c10dc7560a
[Stats] Add metrics collector and stats API (#17773)
* [Stats] Add metrics collector and stats API

* uptime_ms in the process namespace

* make uptime_in_millis always equal process.uptime_ms

* fix api integration test

* fix api integration test better

* fix false positive with last change

* change object detection, add fallbacks to return undefined
2018-04-30 20:46:10 -07:00
lcawley
2992cd2569 [DOCS] Removes X-Pack plugin info 2018-04-30 14:00:18 -07:00
Shaunak Kashyap
bf97342356
[Grok Debugger] Adding syntax highlighting for grok expressions (#18572)
* Adding basic syntax highlighting for grok expressions

* Use EUI color palette

* Handle regex tokens, escaped and unescaped

* Return token for escaped content

* Add functional test

* Using higher-contrast colors

* Removing comment I used for developing the highlight rules

* Using object destructuring

* Removing unnecessary method
2018-04-30 12:31:23 -07:00
Shaunak Kashyap
5cf042bfde
[Logstash Centralized Management] Hide recently-deleted pipelines (#18644)
* Extracting constant for reuse

* Keep track of recently-deleted pipelines until Monitoring stops reporting them

* Adding explanatory comment for constant
2018-04-30 12:04:39 -07:00
Bill McConaghy
117e4337c5
passing acknowledge=true with start_trial (#18655) 2018-04-30 12:59:00 -04:00
Tim Sullivan
9e4d4952b6
[Monitoring] add get_clusters_summary to shrink cluster api response (#18596)
This reduces the output from the clusters API in the data processing stage.

Mainly, it throws away a lot of unused fields in `elasticsearch.cluster_stats` and `elasticsearch.cluster_state`

cc @rasroh
2018-04-30 09:11:01 -07:00
gchaps
e11c7dac17
[UI Text: Security] Edited text in User, Add user, and Edit user pages (#18618) 2018-04-30 08:58:27 -07:00
Hilko
a2dae73efa HTTP for standard development URL in documentation (#17834)
The documentation states, that after using `yarn start` one should navigate to https://localhost:5601. For me it did not work, since kibana only seems to listen to https if one provides the "--ssl" flag as option (just as described in #### Setting Up SSL).
Thus, I changed the documentation to reflect this fact.
2018-04-30 10:41:29 -05:00
truman.p.du
af31d62e5c add bmap visualization plugin (#18599)
* add Indices View plugin

add Indices View plugin

* add bmap plugin

add bmap plugin

* add bmap plugin

add bmap plugin
2018-04-30 10:37:26 -05:00
Hanqing Zhao
81862d1d58 Add filter bar show/hide button (#17161) 2018-04-30 10:01:32 -04:00
Yuri Astrakhan
b300818612
[vega] support HTML tooltips (#17632)
Implement support for the richer style Vega tooltips, per https://github.com/elastic/kibana/issues/17215 request. Uses [Vega tooltip plugin](https://github.com/vega/vega-tooltip) for formatting.  Always enabled unless user sets `tooltips=false` flag in the `config.kibana` section of the spec.
![image](https://user-images.githubusercontent.com/1641515/39344487-7abc9eb0-49eb-11e8-89dd-bf562563ae1c.png)

## Test code
```js
{
  $schema: https://vega.github.io/schema/vega/v3.json
  config: {
    kibana: {
      tooltips: {
        // always center on the mark, not mouse x,y
        centerOnMark: true
        position: top
        padding: 20
      }
    }
  }
  data: [
    {
      name: table
      values: [
        {
          title: This is a long title
          fieldA: value of fld1
          fld2: 42
        }
      ]
    }
  ]
  marks: [
    {
      from: {data: "table"}
      type: rect
      encode: {
        enter: {
          fill: {value: "#060"}
          x: {signal: "40"}
          y: {signal: "40"}
          width: {signal: "40"}
          height: {signal: "40"}
          tooltip: {signal: "datum || null"}
        }
      }
    }
  ]
}
```
2018-04-27 21:02:55 +03:00
Nathan Reese
5a4263ad2d
update to eui 0.0.44 (#18606)
* update to eui 0.0.44

* keep eui dependency in x-pack

* wrap EuiBasic table column in span to avoid className prop from getting overridden

* remove brittle functional tests that are no longer needed with EUI components

* filter field list instead of chaning table size

* update x-pack snapshots
2018-04-27 11:07:15 -06:00
Søren Louv-Jansen
fdc24f5b3f
[APM] Minor watcher improvements (#18602)
* [APM] Improve watcher tests

* Update tests
2018-04-26 17:44:31 +02:00
Nathan Reese
bed97a27b0
Eui dashboard listing (#16967)
* convert dashboard listing page to react and EUI

* add jest test for DashboardListing component

* add data-test-subj attributes

* clean up jest test

* hideWriteControls and call to action when no dashboards exist

* pass initial filter to dashboard listing, get functional tests to work

* fix dashboard queries functional tests

* upgraded to EUI 0.0.29 to get defaultFocusedButton fix

* move dashboardListing directive to index

* spacing in if statement

* switch to EuiBasicTable

* pagination

* add sorting

* fix jest test

* handle out of order fetchs

* remove info.gif

* re-instate search functional test

* replace EuiSearchBar with EuiFieldSearch

* fix functional tests

* update snapshot - when code rebased - new EUI version add another prop

* add Edit link to actions column
2018-04-26 08:16:56 -06:00
Tim Roes
b95b3f4fc1
Fix map not refetching correctly (#18600) 2018-04-26 15:58:02 +02:00
Tim Sullivan
4630548d2c
[Monitoring/React] Render ES Nodes Listing with Base Controller (#18585)
* [Monitoring/React] Render ES Nodes Listing with Base Controller

Refactors the ES Nodes Listing to use Base Controller and a React component instead of an Angular directive

* remove another obsolete file
2018-04-25 17:38:30 -07:00
Tim Sullivan
86d3786d34
[Monitoring/License] copy license LESS instead of reference it (#18591) 2018-04-25 17:29:56 -07:00
Yuri Astrakhan
4e938590f5
Bumped Vega lib version to 3.3.1 (#17829)
Turns out there is a significant problem with how Vega library manages its dependencies. Instead of using a fairly common "^1.2.3" form, it used "1" (major only) almost everywhere. While this works fine if node_modules and yarn.lock are deleted and rebuilt, bumping Vega lib's primary version in our package.json and using yarn install would not touch other subcomponents. This resulted in several 6.2 and 6.3 shipping with the outdated vega dependencies while we thought that we included the latest vega versions The problem has been reported vega/vega#1259 and will hopefully be solved with the next version.

In the mean time, this patch updates all vega-related dependencies in the yarn.lock file.
2018-04-26 01:31:16 +03:00
Fabien Baligand
c170388847 add doc for environment variable injection (#17833) 2018-04-25 17:18:06 -05:00
Thomas Neirynck
dde52f0607
Add multiple colorramps to coordinate maps (#17403) 2018-04-25 17:45:41 -04:00
Tyler Smalley
5d8cf56532
[kbn-es] Use basic license as default (#18577)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-04-25 14:00:24 -07:00
Tim Sullivan
706f0f2916
[Status] Organize metrics stuff into metrics_collector, tests into __test__ directories, remove mock-fs for the cgroup test (#17788)
* [Status] Organize tests into __test__ directories

* custom mock for fs in cgroups test

* work around unhandled rejection errors

* simplify fserror construct

* put fs readFile mockImpl in beforeAll for pretty

* undo hacking the code to suppress unhandled promise rejections

* test files back to sibling of the module
2018-04-25 10:37:25 -07:00
Tim Roes
ef8657067a
Add significant terms in tag cloud visualization (#17770)
* Allow significant terms for tag cloud

* Fix request before terms aggregation has configured

* Check if at least one agg is in array
2018-04-25 14:34:41 +02:00
Tim Roes
7625c3fcd4
Fix forwarding of modifyAggConfigOnSearchRequestStart (#17740)
* Fix forwarding of modifyAggConfigOnSearchRequestStart

* Add unit tests
2018-04-25 10:08:11 +02:00
Tim Roes
264786d8e1
Fix pagination styling due to EUI changes (#17823) 2018-04-25 09:54:11 +02:00
Lisa Cawley
ce039a4da9
[DOCS] Adds new installation package details (#17781) 2018-04-24 23:14:33 -07:00
archana
ebb651c321
Temporarily ignore kebab casing in some parts of x-pack (#18505) 2018-04-24 20:08:06 -05:00
Chris Earle
015e94b5fe
[Monitoring] Recognize Write Threadpool (#18147)
This changes the Advanced Node page for Elasticsearch to recognize the
"write" threadpool, while also incorporating the deprecated "index"
threadpool and renamed "bulk" usage (renamed to "write").

This sums the three writing threadpools together and displays it as a
unified view.
2018-04-24 19:26:50 -04:00
Tyler Smalley
5cb9cd7d33
[kbn-es] Fixes ES snapshot path for OSS builds (#17860)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-04-24 15:42:49 -07:00
Jenkins CI
fe4609647d Migrate x-pack-kibana source to kibana 2018-04-24 13:48:10 -07:00
Larry Gregory
d9d9fb22fb
Disallow use of "dangerouslySetInnerHTML" on React components (#17759)
Disallows use of "dangerouslySetInnerHTML" on React components, except where explicitly whitelisted
2018-04-20 14:22:10 -04:00
Peter Pisljar
6068dcea82
making sure type is defined and has postFlightRequest function (#17809) 2018-04-20 12:23:52 -05:00
Peter Pisljar
98f1220b79
remove other bucket UI from significant terms (#17810) 2018-04-20 12:23:41 -05:00
markwalkom
e0decf6d0b
Update tutorial-define-index.asciidoc (#16028)
* Update tutorial-define-index.asciidoc

Added a note on how to check for current indices in Elasticsearch, to make it clearer for people that haven't used the previous chapters.

* Update tutorial-define-index.asciidoc
2018-04-20 10:33:57 -05:00
Kim Joar Bekkelund
ef900fd42d
Enable Prettier for more packages (#17763) 2018-04-20 17:13:34 +02:00