Commit graph

17334 commits

Author SHA1 Message Date
Pius b3b2ff5865
Fixed ccs syntax (#17050)
cluster_one,cluster_two:logstash-* should be cluster_one:logstash-*,cluster_two:logstash-*
2018-03-30 12:47:01 -05:00
Spencer b78714e8d8
[server/config/deprecationWarnings] fix deprecation logging warnings (#17439)
* [server/config/deprecationWarnings] fix deprecation logging warnings

* typos

* explain kbn_server_worker a bit with better naming and comment

* Address review feedback
2018-03-30 09:35:26 -07:00
gchaps b64c092944
[DOCS] Added experimental tag (#17461) 2018-03-29 13:20:46 -07:00
Chris Nelson 106b769f71 Add audio type to Url field formatter (#17422) 2018-03-29 15:42:50 -04:00
CJ Cenizal 8ae730b0b2
Fix bug caused by getBucketIntervalToolTipText method when there was no bucket interval. (#17450) 2018-03-29 11:47:27 -07:00
Matt Bargar 811d21148b
Don't apply query:queryString:options to query_string filters (#15640)
Lukas and I chatted over Slack and we both agreed it didn't really make sense to apply query:queryString:options to query_string filters. If someone is using the advanced query DSL editor to create a query_string filter they probably want full control over it.

This is a breaking change so it will only go in 7.0. In 6.x users should use one of the workarounds.
2018-03-29 13:57:16 -04:00
Bhavya RM 52ff625709
Test for ensuring that options *hide all panel titles" work on dashboards. (#17440)
Test for making sure option hide all panel titles work
2018-03-29 12:54:01 -04:00
spalger caca7755cc [yarn] update lockfile 2018-03-28 16:54:36 -07:00
archana b88a4fa040
Bump makelogs to not use _default_ mapping (#17451) 2018-03-28 17:38:25 -05:00
Jonathan Budzenski 42168afca0
Bump node to 8.11.0 (#17437) 2018-03-28 16:53:37 -05:00
Tyler Smalley 46a5ef1316
[kbn-es] Wait for close event (#17448)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-03-28 14:22:53 -07:00
Nathan Reese 3fecd2de8f
advanced setting to control search request preference (#17271)
* advanced setting to control search request preference

* add header tests

* add sentince about caching to description

* change courier:setRequestPreference to list and add courier:customRequestPreference

* update setting text
2018-03-28 14:02:41 -06:00
Matt Bargar a89027b267
Add debug code to flaky field_data test (#15535)
* Add debug code to flaky field_data test

* update helper to match new UI
2018-03-28 15:55:03 -04:00
Spencer 26b28dcbf2
[pluginDiscovery] fail early if multiple plugins have conflicting ids (#17311) 2018-03-28 12:47:01 -07:00
Spencer 3ba7781149
[npm] upgrade react-anything-sortable (#17217)
Now that https://github.com/jasonslyvia/react-anything-sortable/pull/93 is merged and released we can upgrade our version and get rid of the incompatibility warning
2018-03-28 12:33:17 -07:00
Spencer 56041ca1d0
More attempts to fix procRunner hangs in CI (#17325)
* [kbn-dev-utils/procRunner] try using execa to avoid never-exitting procs

* [kbn-dev-utils/procRunner] don't listen for close event, rely on stdio streams ending
2018-03-28 12:26:11 -07:00
Thomas Neirynck 40cd48831e
mapType option change should show on map (#17405) 2018-03-28 14:53:39 -04:00
Jen Huang ef4d26294b
Add aria-label attributes to indexed fields table, and use EuiIconTip (#17427)
* Add aria-label attributes to indexed fields table, and use EuiIconTip
* Use EUI 0.0.35
* Add `Apache License, Version 2.0` to list
2018-03-28 10:37:37 -07:00
Stacey Gammon cd6fa73431
Expose an esSupertest for directly querying elasticsearch in tests (#17306)
* Expose an esSupertest for directly querying elasticsearch in tests

* oops, fix bad capitalization
2018-03-28 10:29:11 -04:00
Anh Le 293fee9a59 Added Effective issue reporting in Kibana heading (#17424)
Added missing heading.
2018-03-28 14:27:02 +02:00
Hamid b43fd06d0f
[Home] Update APM JS instructions for 6.3 (#17413) 2018-03-28 10:12:27 +02:00
spalger 3e97378730 [ui_framework] remove accidentally committed bundle file 2018-03-27 23:27:47 -07:00
Thomas Neirynck ca70fb74db
fix map zoom settings (#17367) 2018-03-27 10:52:27 -04:00
Søren Louv-Jansen 8392823b37
[Home] Update APM instructions for 6.3 (#17363) 2018-03-27 10:04:53 +08:00
Stacey Gammon fa30ef3348
De-couple redux panels object with app state (url) panels (#17361)
* separate implicit connection between app state panels and redux tree panels.

They are now two different objects.  This will help pave the way to
removing so much apostate in view mode where it isn’t necessary

* remove console output

* fix tests and propagate dashboard title & description

* Clean up with review comments

* use reduce instead of map so the array becomes an object
2018-03-26 14:01:56 -04:00
Jen Huang e285627ea6
Specify widths on table columns to support long field names (#17344)
* Specify widths on table columns to support long field names
2018-03-26 09:46:55 -07:00
Thomas Neirynck ac0a496c70
Add missing EMS-param to docs (#17372) 2018-03-26 12:15:00 -04:00
Aleh Zasypkin 346a99865a
[kbn-pm] Implement kbn watch. (#16892) 2018-03-26 17:54:40 +02:00
truman.p.du fa62ad0913 add Indices View plugin (#16858)
add Indices View plugin
2018-03-26 11:39:41 -04:00
Chris Davies f63be5ff3f
Increase z-index of focused dashboard grid item (#17349)
Increase z-index of focused dashboard grid item so that
its overflowing elements display above sibling elements.

Fixes #17333
2018-03-26 11:04:57 -04:00
Tim Roes 1117a73166
Fix error when submiting top hits without field (#17368) 2018-03-25 20:29:22 +02:00
Tim Roes a2fd080bf4
Fix visualization individual timeranges (#17123)
* Fix visualization individual timeranges

* Make Vega request handler use passed in timeRange

* Remove unneeded private variable

* Use timeRange for courier caching check

* Fix developer documentation

* Fix date_histogram

* Fix issue

* Fix broken tests

* Fix issue in discover visualization

* Fix vega tests

* Fix issue with saved search visualizations

* Update timeRange correctly in editor
2018-03-25 20:27:08 +02:00
Stacey Gammon 82901c8408
Remove child/parent state concept in persistedStateProvider (#15737)
* Remove child/parent state concept in persistedStateProvider

Looks like the only time it was used was when dashboard created child
ui states for visualize and saved searches.  We’re now all handling
this state passing via the embeddable layer.

* Remove more parent/child tests

* Remove extra spot that referenced the two removed parameters
2018-03-24 17:07:18 -04:00
Tim Roes 1968a1b1cf
Add tooltips to filter bar pill actions (#17364)
* Add tooltips to filter bar pills

* Fix invert button label
2018-03-24 19:36:31 +01:00
Stacey Gammon ae8c05e77e
appState no longer needed for visualize embeddable (#17330) 2018-03-24 08:05:58 -04:00
Nathan Reese 1fd0558bd3
Make toastNotifications use Portal to ensure they are always visible (#17375)
* make global toasts use portal

* remove extra div element
2018-03-23 15:04:19 -06:00
Rashmi Kulkarni 5ef60e09fd
adding large_string_test (#17312)
* adding large_string_test

* removed a failing test, modified the existing one

* new line at the end of mappings.json

* removed the data.json file and also removed the navigateTo() and clickKibanaIndices() as createIndexPattern() takes care of it

* more modifications
2018-03-23 10:48:51 -07:00
Bhavya RM 64ea452a0c
Functional tests to add index alias reference (#17343)
Test to make sure Kibana handles index alias reference.
2018-03-23 13:01:50 -04:00
archana 0f49d67db3
Replace tooling-log instances with @kbn/dev-utils (#17324) 2018-03-23 10:54:38 -05:00
Matt Bargar abd9ee9848
Avoid mutating global moment object (#17341)
* Clone the moment object before using it to generate reporting data
so that calling .utc() doesn't mutate global state.

* fix tests

* do less work on each digest cycle
2018-03-23 11:25:44 -04:00
Tyler Smalley e5e025d732
[kbn-es] Allows error to bubble up (#17358)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-03-23 07:28:45 -07:00
Deb Adair cdfe716f0d [DOCS] Fixed rendering of video link to vega intro. 2018-03-22 20:19:27 -07:00
CJ Cenizal 6567f35660
Fix bug with discover time interval IconTip not interpolating values. (#17359) 2018-03-22 16:59:02 -07:00
CJ Cenizal a7147f2ca7
Improve feedback in Discover (#16771)
* Add Painless scripted field error callout to Discover. Remove recursive beginSegmentedFetch call.
* Add getDocLink service. EUIfy Discover 'no results' state.
* Rename initSegmentedFetch to handleSegmentedFetch to differentiate it from beginSegmentedFetch.
2018-03-22 12:48:19 -07:00
Matt Bargar aeaf57dd97
Add query enhancements opt-in switch to query bar (#17232)
Makes our language updates more visible to users and removes mentions of Kuery as a separate language. Users still get the old lucene experience by default, but have the option to opt-in to "experimental query features" directly in the query bar. Goal is to get more feedback by making these new features more prominent and less of a jump from lucene.
2018-03-22 15:47:52 -04:00
Spencer d20b047481
[ftr/tests] update fixture to avoid race condition in tests (#17295) 2018-03-22 12:01:39 -07:00
Nathan Reese 01f3cb0ea5
change elastic cloud link in add data (#17345) 2018-03-22 12:28:37 -06:00
CJ Cenizal e3f4868b3a
Remove kbn-info directive. Replace with icon-tip directive wrapper around EuiInfoTip. (#17227)
* Remove kbn-info directive. Replace with info-tip directive wrapper around EuiInfoTip.
* Add CSS shim to prevent flicker.
* Refine wms options tooltips copy.
* Fix uneven layout of Top Hit options.
2018-03-22 11:06:32 -07:00
Lukas Olson 0f00c23a68
Kibana query language autocomplete (#15945)
* First stab at refactoring typeahead

* Don't double submit on enter

* Add item templating

* Introduce simple kuery language

* Rename to kql and add modules

* Update KQL syntax

* Automatically insert matching pairs

* Don't match quotes after alphanumeric chars

* Get field and value suggestions

* Remove accidental changes

* Remove unnecessary test

* Don't submit on enter

* Fix typeahead

* Suggest matching recent searches

* Suggest operators

* Suggest conjunctions

* Use template, separate suggestions into separate modules

* Whoops, add this module back

* Add clarifying comment

* Fix history log key

* Don't update suggestions on every key press

* Fix key handling

* Update terminology to be clearer

* Fix typo

* Simplify building of nodes

* Don't always hide on submit

* Check items exists

* Add icon directive which wraps EuiIcon.

* kql design start

* remove comment bits

* Simplify select next/prev and reset selected on hide/backspace

* Add test

* Put persistedLog on scope so it can be tested

* Fix typos

* Build up AST for sublist by returning functions that take a field name

* Remove single quoted strings and add double quote to special characters

* Build nodes with arg nodes instead of args themselves

* Add support for exact phrase search for quoted values

* Update typeahead items when language changes

* Finish that work I didn't do in the last commit

* This commit makes Bargs very happy cuz it does a lot

* Add wildcard field support to range query

* Remove range support for wildcard values

* Remove KQL as a separate language

Updates kuery to use KQL's grammar. This will lead to a smoother
transition for both us and Kuery users. We mainly added KQL as a
separate language so that we could notify Kuery users that the syntax
had changed. I realized we could do the same by trying to parse their
query strings with the old grammar if the new grammar fails, and if the
old grammar parses successfully we can display an error message with a
link to the docs describing the syntax changes. Since Kuery now uses the
more simple KQL syntax, I've also re-enabled the filter bar when Kuery
is selected.

* Fix typeahead behavior

* Update conjunctions

* Use scope apply

* Suggest conjunctions after ranges

* Support strings in wildcard node constructor and add tests for wildcard node

* test updates

* Removing unused serializeStyle and toKueryExpression, updating tests

* Fix functional test

* Fix typo

* Show fields that match in any part of the name

* Alter order of operators

* Preserve focus after selecting by click

* Ports tests for `fromKueryExpression` to `fromKqlExpression`

* More KQL syntax tests

* Suggest conjunctions after ranges

* Fix suggestions inside parens

* fromLiteralExpression tests

* remove serializeStyle arguments which no longer exist in the function definition

* tests for getFields

* Case insensitive search for field names

* update tests for is.js

* add wildcard fieldname test for range.js

* Fix removed div

* Fix line spacing for autocomplete suggestions

* Fix conjunction suggestions with escaped preceding literals

* Escape special characters in fields and values

* Don't suggest the value that's already selected

* Update icons

* Sort prefix first

* Simplify cursor detection and suggest booleans

* Use quotes for suggested values

* get rid of references to KQL

* Don't show errors from parsing

* That didn't even exist

* Use config to determine if values are suggested

* Update suggestions on home/end

* remove hack

* Update reference to kql

* Suggestions for quoted values

* Clean up grammar

* Better support for cursor inside spaces

* Create grunt task to generate parsers from peg files

* Simplify wildcard handling

* Don't filter out the exact fields/values

* Update parsing modules

* Fix peg task

* Make operator syntax more visible

* Update OR verbiage

* Simplify and improve match pairs

* Revert "Simplify wildcard handling"

This reverts commit 915861beab.

* Support escaped backslashes inside quoted strings

* Support escaped keywords

* Remove lodash dependency cuz w33ble

* Escape user input and fix conjunction description

* Clear suggestions after submitting

* Fix insertion of suggestion to account for selection

* Remove unnecessary?

* Remove extraneous file

* Better name for method

* Move functions out of event handler

* Don't wrap result in promise

* Don't show kuery suggestions for lucene

* some cleanup and polish for kql autocomplete

* Omit description completely for values

* Don't suggest and/or for quoted strings that end in spaces

* Submit recent search suggestions on select

* Scroll selected suggestion into view

* Better handling of key events and hiding typeahead

* Update suggestions to work in other apps with multiple index patterns

* Only update suggestions if not submitting

* Hide suggestions on focus

* Simplify wildcard (again)

* Fix console error

* Remove references to kql

* Fix match pairs so that suggestions occur with cursor in correct place

* Memoize value suggestions

* Debounce model updates

* Add tests for suggestion providers

* Add setting and docs

* Add custom error, helper for detecting leading wildcards, and check for
leading wildcards in the Value rule of the grammar.

* Better handling of suggestion clicks

* Dedup suggestions

* Sort keywords first

* Fix value suggestions memoizing

* Check if query exists

* Reduce size of dialog and fix ranges

* Create grunt task to generate parsers from peg files

* Lazy load typeahead items

* Fix wildcard tests

* Fix value suggestion tests

* Fix typeahead tests

* Fix value suggestion memoize resolver

* Leave comment

* Add a ttl for the value suggestion resolver

* Move grunt config to config/

* Bargs can suck it

* Fix more tests that bargs broke (and one I did too)

* Fix tests
2018-03-22 08:51:35 -07:00
Tim Roes 9d78eda48e
Add feedback link to experimental banner in Vega (#17334) 2018-03-22 16:36:20 +01:00