Commit graph

17661 commits

Author SHA1 Message Date
Nathan Reese 66a4122bd9
Add _bulk_create endpoint to /api/saved_objects (#20498) (#20615)
* add _bulk_create rest endpoint

* document bulk_create api

* provide 409 status code when conflicts exist

* add overwrite and version to documenation

* clean up assert statements and 2 places where bulkCreate is getting used with new output

* properly stub bulkCreate return

* remove version of documenation example
2018-07-10 12:13:20 -06:00
Lukas Olson 96f3f3415d fix: Use config pinnedByDefault for filters created with filter editor (#20359) 2018-07-10 10:45:01 -07:00
Nathan Reese 9e6c4bfba9
merge conflicts (#20522) 2018-07-10 11:37:42 -06:00
Marco Vettorello 8e69c0d79d
[kbn-plugin-generator] Fix eslint dependencies and template code linting (#20517) (#20612)
* Add missing peer dependency and upgraded to new import resolver kibana

* Fixed template code to follow eslint rules

* Fix lint script to lint all files in the generated dir

* More precise slurp :p
2018-07-10 15:56:49 +02:00
Nathan Reese a0bd039e2e
[input controls] update dropdown suggestions when filtered (#18985) (#20604)
* input controls - re-fetch options list user input

* fix jest tests

* add functional test case

* remove unneeded async and await

* use fetchAsRejectablePromise instead of fetch to avoid kill kibana session when fetching agg results

* only show options once field is selected

* clean up list control editor to only display options when field selected and only display dynamic checkbox when field is string

* do not use size when using dynamic options

* display disabled toggle when field is not string field, allow searching in middle of word

* no tooltip for disabled dyncamic options, just change help text

* fix functional test expects since search now includes more than terms that start with
2018-07-10 07:37:35 -06:00
archana 3c14ed0918 [Tests] Run es from snapshot locally in xpack (#20585) 2018-07-10 05:29:09 -05:00
James Gowdy a560883ad9
[ML] disabling time range selector on jobs list (#20563) (#20571) 2018-07-10 10:56:18 +01:00
Peter Pisljar 5753442209
update visualize development docs (#20507) (#20594) 2018-07-10 07:07:53 +02:00
CJ Cenizal 510915dbbb
Fix bug in propFilter logic when it's not passed any filters. (#20569) (#20606)
* Fix bug in propFilter logic when it's not passed any filters. Reduce lodash dependency.
* Default filters to empty array and add tests.
2018-07-09 21:47:04 -07:00
Tyler Smalley b5e80c33f3
[kbn-es] Resolves interdependencies for 6.x from #20503 (#20601)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-07-09 18:53:24 -07:00
CJ Cenizal 2e4d6f46fe
Declare SearchRequest state variables in constructor. (#20578) (#20595) 2018-07-09 13:50:35 -07:00
Peter Pisljar 83e2a05dbc
fixing dashboard state filters (#20480) (#20555) 2018-07-09 22:35:52 +02:00
CJ Cenizal a00d2b846e
Replace uses of Notifier with toastNotifications in Watcher. (#20538) (#20592) 2018-07-09 13:31:06 -07:00
Chris Davies 95275c2fee
Fix issue w/ running chromium headless over http (#20528) (#20564)
Remove the referrer header from report requests.
2018-07-09 13:59:33 -04:00
Peter Pisljar 383437d3df
adding indexPattern to agg so its not accessed from vis.indexPattern (#20491) (#20559) 2018-07-09 19:40:34 +02:00
Tyler Smalley 316ddaf53f [kbn-es] Windows uses zip snapshot, Linux uses tar. (#20503)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-07-09 09:39:46 -07:00
Justin Kambic da2448f4a2 [PipelineViewer] Test PipelineViewer sub-components (#20329)
* Rename config view to PipelineViewer.

* Decouple CollapsibleStatement from if/else using props.children.

* Add tests for PipelineViewer component.

* Test Metric component.

* Test CollapsibleStatement component.

* Test PluginStatement component.

* Test Queue component.

* Test StatementListHeading component.

* Test StatementSection component. Move StatementList component to dedicated file.

* Test StatementList component.

* Test Statement component.

* Run prettier on edited files.
2018-07-09 11:52:55 -04:00
Chris Roberson 3b3dc0ba02
Ensure we provide parsed url data from bucket aggs for relative urls to work (#20521) (#20556) 2018-07-09 11:29:13 -04:00
James Gowdy 42f251871e
[ML] Adding jobs stats bar to top of jobs list (#20527) (#20558)
* [ML] Adding jobs stats bar to top of jobs list

* unsetting update function

* changing node variable name

* small refactor

* using props copy of `updateJobStats`

* adding proptypes

* adding fixed height
2018-07-09 16:14:09 +01:00
Tudor Golubenco b61d509a2b
New Beats tutorials and improvements (#20514) (#20547)
This contains the following improvements:

* Adds a status check step, similar to the APM tutorial
* In order to support the above, we needed some refactoring that generates more
  of the manifest object. The result is less code duplication, most tutorials now
  become a single file with a few settings.
* A few new tutorials: Kafka logs, MongodDB metrics, PostgreSQL metrics, PHP-FPM metrics
2018-07-09 15:24:18 +02:00
Tim Roes a2c33a5b33
Typescriptify ResizeChecker and render complete (#20531) (#20550)
* Typescriptify ResizeChecker and render complete

* Simplify getSize method
2018-07-09 13:41:21 +02:00
Tim Roes 167b29b2b0
Reenable VEGA_DEBUG for Vega visualization (#20456) (#20536)
* Reenable vega debug

* Restore to simple VEGA_DEBUG implementation
2018-07-07 10:08:38 +02:00
CJ Cenizal e87f67eb3f
Remove markdown-to-jsx from yarn.lock. (#20537) (#20540) 2018-07-06 17:34:32 -07:00
Tim Roes aefaa4e085
Make aggTypeFilter registry static (#20523) (#20534) 2018-07-07 00:17:42 +02:00
Nathan Reese a0add1bf5b
Upgrade to EUI 1.1.0 (#20411) (#20529)
* Upgrade to EUI 1.0.1

* upgraded to eui 1.1.0

* fix setInspectorTablePageSize function in functional tests

* better comment about basic table pagination buttons
2018-07-06 13:33:27 -06:00
CJ Cenizal 55228fbd81
Convert various uses of notifier to toastNotifications. (#20420) (#20520)
* Add MarkdownSimple component.
* Replace Context use of notifier with toastNotifications.
* Replace field.js use of notifier with toastNotifications.
* Replace State use of notifier with toastNotifications.
* Replace reporting use of notifier with toastNotifications.
* Convert Logstash to use toastNotifications.
* Convert Security to use toastNotifications.
2018-07-06 11:09:26 -07:00
James Gowdy ef32b06296
[ML] Using kibana's auto-refresh for jobs list (#20496) (#20512)
* [ML] Using kibana's auto-refresh for jobs list

* better auto refresh management

* fixing typo

* increasing default interval

* variable rename

* kill interval on page change

* updating comment

* adding minimum refresh interval

* correctly clearing the interval
2018-07-06 15:13:03 +01:00
James Gowdy abbfb03ec4
[ML] Adding permission checks to jobs list (#20487) (#20511)
* [ML] Adding permission checks to jobs list

* adding comment

* removing horizontal line

* changes based on review
2018-07-06 10:12:10 +01:00
Peter Pisljar 92ed45719e
refactoring geohash agg to not use vis (#20298) (#20510) 2018-07-06 10:11:40 +02:00
Peter Pisljar cb907b564f
moving visualize legend into vislib legend (#20479) (#20484) 2018-07-06 08:41:19 +02:00
CJ Cenizal d5a95d1c27
Refactor courier by naming internal searchRequest variable consistently. (#20448) (#20501) 2018-07-05 14:10:17 -07:00
gchaps 41c8f935b3 [DOCS] Removes comming soon label from Release Notes (#20357) 2018-07-05 08:09:40 -07:00
Peter Pisljar 1924f63207
removing angular from render_complete (#20478) (#20485) 2018-07-05 16:29:05 +02:00
Tim Roes b6a2ec51e5
Fix flaky TSVB test (#20481) (#20483) 2018-07-05 14:31:58 +02:00
Pete Harverson d967c5d0eb
[ML] Add endpoints and service for ML filters (#20406) (#20462)
* [ML] Add endpoints and service for ML filters

* [ML] Replace getFilter(s) with single filters function
2018-07-05 12:08:42 +01:00
Tim Roes 9a974c9479
Fix editor sidebar with long field names (#20455) (#20475)
* Fix editor sidebar overflow

* Fix sidebar select overflow in Firefox

* Ellipsis too long field names in select
2018-07-05 12:31:37 +02:00
James Gowdy d62aa9c77e
[ML] Allow job cloning via wizards (#20227) (#20471)
* [ML] [WIP] Allow job cloning via wizards

* updating clone link

* removing-created-by-data-when-editing-job

* removing commented out code

* changes based on review
2018-07-05 10:30:18 +01:00
Tim Roes 4cc9fc30a8
Inspector enhancements (#20452) (#20474)
* Rename trigger button to Inspect

* Change default page size to 20

* Change request description layout

* Fix functional tests

* Fix functional test

* Fix more functional tests
2018-07-05 10:52:05 +02:00
Peter Pisljar 941533eb25
adding dissabled aggs functional tests (#20454) (#20458) 2018-07-05 08:27:14 +02:00
Tim Roes f85af486ee
Skip flaky vega test (#20127) (#20468)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-07-04 19:41:14 +02:00
Peter Pisljar 53d38799ac
Split editor state from saved state (#20323) (#20451) 2018-07-04 18:53:53 +02:00
Peter Pisljar b5fac1b9a6
[6.x] Move visualize editor out of visualize directive (#20263) (#20404) 2018-07-04 17:39:08 +02:00
James Gowdy 90b5b78897
[ML] Adding filter bar to jobs list (#20415) (#20463)
* [ML] Adding filter bar to jobs list

* fixing page index when filtering

* refreshing job selection after actions have happened

* adding job counts to groups

* catching multi-select start datafeed errors

* style tweaks

* more style tweaks

* changes based on review

* refactoring search logic
2018-07-04 15:26:04 +01:00
Peter Pisljar ac0eb944c6
removing angular dependency from base and react vis types (#20386) (#20464) 2018-07-04 16:15:04 +02:00
Felix Barnsteiner 1002aed3c3
[APM] Add Java agent tutorial (#20453) 2018-07-04 13:28:35 +02:00
James Gowdy 0dff5c9b90
[ML] Rewrite of jobs list using react and eui (#19758) (#20405)
* [ML] [WIP] New jobs list

* adding JSON tab

* adding datafeed and forecast tabs

* adding action menu functionality

* removing comments

* forcing change in file that is missing

* removing unnecessary change

* rolling back accidental change

* adding job group badges to main list

* adding multi-job action buttons

* adding start/stop actions

* showing start/end modal for multi-jobs

* adding multi-job delete

* changing delete warning

* initial edit job functionality

* adding space for custom url editing

* adding jobs summary endpoints

* fixing job loading for edit flyout

* adding calendars to jobs

* adding group loading endpoint for edit flyout

* adding audit message icons

* icon style change

* adding job messages in expanded job row

* removing log statements

* adding proptypes

* fixing expanded row table cell color

* removing log message

* renaming jobs endpoint provider

* changing case of button label

* renaming closeModal function

* adding missing proptypes

* changes based on review

* adding basic table sorting

* refactoring modal and flyout show/hide functions

* fixing sorting issues

* fixing overflow in groups
2018-07-04 07:03:43 +01:00
Nathan Reese 62deaa896b
Remove display from timefilter refreshInterval state (#20348) (#20445)
* Remove display from refresh state

* fix spelling error, ensure garbage cannot be added to timefilter state
2018-07-03 19:09:12 -06:00
Nathan Reese 47fa8abeac
disable flaky reporting tests (#20441) (#20444) 2018-07-03 19:08:55 -06:00
CJ Cenizal bd04df6c0a
Refactor SearchSource interface (#20334) (#20447)
* Removed the dynamically assigned type, query, filter, sort, highlight, highlightAll, aggs, from, searchAfter, size, source, version, and fields methods.
* The accessor interface now consists of getField and setField methods which throw errors if an unrecognized property name is provided, in addition to getFields, setFields, getOwnField, and getId methods.
* Linked-list interface now consists of setParent and getParent.
* Factory interface now consists of create, createCopy, and createChild.
* Removed the unused unused enable, disable, and addFilterPredicate, and the redundant toString (method only used internally) and extend method (superseded by createChild).
* Internally, renamed the _state property to _data and grouped methods by concern.
2018-07-03 16:57:10 -07:00
Nathan Reese 51c43ed385
disable flaky dashboard filtering test (#20425) (#20440) 2018-07-03 16:29:58 -06:00