Commit graph

61 commits

Author SHA1 Message Date
Spencer
9ed7e81b62 Backport eslint updates to 5.x (#10139)
* [eslint] update eslint config to 0.3.0

* [eslint] autofix

* [fixtures/hits] reformat to comply with max-len lint rule

* [eslint] enable no-var and autofix

* [eslint] enable prefer-const and autofix

* [eslint] fix autofix-incompatible no-var and prefer-const violations

* [eslint] enable quotes+no-extra-semi and autofix
2017-02-06 21:27:07 -07:00
jasper
b3e0138d66 Exclusion of source fields (#8920)
Backports PR #7402

**Commit 1:**
added source filtering

* Original sha: e7204bef63
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-01-12T10:08:35Z

**Commit 2:**
ditched the new 'retrieved fields' tab and added checkbox to exclude a field in the field control

* Original sha: b228c66c01
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-01-13T14:44:38Z

**Commit 3:**
disable field exclusion checkbox if field is a metafield

* Original sha: 0d062209fb
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-01-15T15:39:47Z

**Commit 4:**
[indexPattern] copy excluded field property when refreshing fields

* Original sha: c3c1d4823b
* Authored by spalger <spalger@users.noreply.github.com> on 2016-01-21T16:01:48Z
* Committed by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-02T20:40:15Z

**Commit 5:**
[indexPattern/field] move isMetaField consideration into Field

* Original sha: 5b0b00adfb
* Authored by spalger <spalger@users.noreply.github.com> on 2016-01-21T16:22:52Z
* Committed by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-02T20:44:37Z

**Commit 6:**
[indexPattern/edit] invert the "retreived" column, for accuracy

* Original sha: 1dee6f173f
* Authored by spalger <spalger@users.noreply.github.com> on 2016-01-21T16:24:44Z
* Committed by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-02T20:47:21Z

**Commit 7:**
[indexPattern/field] touchup the field.exclude message

* Original sha: ec0c3341d1
* Authored by spalger <spalger@users.noreply.github.com> on 2016-01-21T16:25:24Z
* Committed by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-02T20:47:23Z

**Commit 8:**
Fix typo

* Original sha: 062931a3f4
* Authored by Spencer <spalger@users.noreply.github.com> on 2016-01-21T19:33:14Z
* Committed by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-02T20:48:53Z

**Commit 9:**
[indexPattern] handle index patterns without fields

* Original sha: 9d70208f56
* Authored by spalger <spalger@users.noreply.github.com> on 2016-01-22T18:27:45Z
* Committed by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-02T20:51:11Z

**Commit 10:**
[courier/searchSource] auto add source filter for index pattern

* Original sha: 5a97b6b668
* Authored by spalger <spalger@users.noreply.github.com> on 2016-01-23T01:08:52Z
* Committed by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-02T21:04:09Z

**Commit 11:**
[docTable] remove irrelevant test about source filtering

* Original sha: 8211990a01
* Authored by spalger <spalger@users.noreply.github.com> on 2016-02-12T08:17:56Z
* Committed by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-02T21:04:11Z

**Commit 12:**
[settings/indices] cleanup imports

* Original sha: fa5b22d9ab
* Authored by spalger <spalger@users.noreply.github.com> on 2016-04-05T00:29:36Z
* Committed by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-02T21:06:11Z

**Commit 13:**
[settings/indexPattern/fields] add "field filters" tab

* Original sha: 7819fa984d
* Authored by spalger <spalger@users.noreply.github.com> on 2016-04-05T06:07:31Z
* Committed by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-02T21:11:20Z

**Commit 14:**
[imports] fix old testUtils import

* Original sha: d4b9c116a6
* Authored by spalger <spalger@users.noreply.github.com> on 2016-04-05T06:08:46Z
* Committed by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-02T21:11:24Z

**Commit 15:**
[ui/fieldWildcard] add lib to match names based on field-style wildcards

* Original sha: d75a63fa34
* Authored by spalger <spalger@users.noreply.github.com> on 2016-04-05T08:02:01Z
* Committed by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-02T21:11:24Z

**Commit 16:**
[settings/fieldFilters] list filter matches, remove excluded fields from fieldata_fields

* Original sha: 08f8fd7e0d
* Authored by spalger <spalger@users.noreply.github.com> on 2016-04-05T08:59:39Z
* Committed by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-02T21:11:24Z

**Commit 17:**
[fieldWildcard] properly escape regexp control chars

* Original sha: 385a0620c0
* Authored by spalger <spalger@users.noreply.github.com> on 2016-04-05T09:13:21Z
* Committed by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-02T21:11:25Z

**Commit 18:**
[settings/indexPatterns] mark fields excluded if they match an exclude pattern

* Original sha: da62b2a761
* Authored by spalger <spalger@users.noreply.github.com> on 2016-04-05T09:29:03Z
* Committed by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-02T21:11:25Z

**Commit 19:**
[fieldWildcard] properly bind the regexp to the ends

* Original sha: e89ceeabdc
* Authored by spalger <spalger@users.noreply.github.com> on 2016-04-05T23:59:06Z
* Committed by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-02T21:11:25Z

**Commit 20:**
[indexPattern] remove unneeded lodash chain

* Original sha: 14d5458bb7
* Authored by spalger <spalger@users.noreply.github.com> on 2016-04-06T00:00:28Z
* Committed by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-02T21:11:25Z

**Commit 21:**
[settings/indices] use settings-indices- prefix for tab direcives

* Original sha: dc53a103bc
* Authored by spalger <spalger@users.noreply.github.com> on 2016-04-06T00:03:45Z
* Committed by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-02T21:12:19Z

**Commit 22:**
corrected rebase on master

* Original sha: 4be31b2878
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-02T21:29:19Z

**Commit 23:**
Do not match exclusion on meta/scripted fields. Disable filter bar when on 'Filter fields' tab. Removed exclusion checkbox in the field controls page. Corrected typos. Improved documentation phrasing.

* Original sha: 79e87ca3ae
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-09T08:14:12Z

**Commit 24:**
Merge branch 'master' into issue4366

* Original sha: 984d3349ba
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-09T08:29:38Z

**Commit 25:**
corrected error in merge with _index_pattern

* Original sha: 3375fd1f02
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-09T08:35:25Z

**Commit 26:**
removed unused code

* Original sha: 6a0b331297
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-09T08:56:56Z

**Commit 27:**
Merge branch 'master' into issue4366

* Original sha: 81a56f9f05
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-09T21:24:12Z

**Commit 28:**
added missing fieldFilters to test dumps

* Original sha: c209ce3165
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-11T09:14:10Z

**Commit 29:**
Merge branch 'master' into issue4366

* Original sha: 95114865b9
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-13T08:57:50Z

**Commit 30:**
added the management section refactoring from master

* Original sha: 9e32bbc2cf
* Authored by Stéphane Campinas <stephane.campinas@gmail.com> on 2016-06-30T09:14:19Z
2016-11-01 10:56:28 -07:00
Tyler Smalley
2cf97d6c24 Specify API version for Elasticsearch client in ScenarioManager
This change specifically comes after the deprecation of POST for creating an index

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2016-08-25 06:54:54 -07:00
Jonathan Budzenski
36a88bc165 [tests] Remove _timestamp mapping from fixtures 2016-06-24 11:37:14 -05:00
LeeDr
b36f1e02a6 Remove logging from scenario_manager 2016-06-03 08:53:32 -05:00
LeeDr
1c43bf7e50 Remove logging from scenario_manager 2016-06-02 21:16:19 -05:00
LeeDr
61f975c843 Comment-out common and debug statements in scenario_manager 2016-06-02 18:10:29 -05:00
LeeDr
1c0cbe23dc Wait for loading of logstash to finish. 2016-06-02 17:10:22 -05:00
LeeDr
c45f937a35 Add data files for visualize tests. 2016-06-01 13:36:40 -05:00
LeeDr
4ebe29e14e Moved elasticdump methods from common to support/elastic_dump.js 2016-05-27 15:49:57 -05:00
LeeDr
ac4a0ed748 Move updateConfigDoc method out of scenario_manager and into its own support/es_client. 2016-05-27 09:52:30 -05:00
LeeDr
988be91266 New dashboard tests using elasticdump 2016-05-26 16:32:53 -05:00
Court Ewing
de20762889 [internal] Remove all variable redeclarations
Redeclaring variables causes ambiguity and serves no purpose. It
actually causes a runtime error when you do it with `let`, and we can
enforce not doing it via a linter rule.
2016-04-01 14:21:55 -04:00
spalger
4fe8bbaeb8 [scenarioManager] snake_case baseDirs for scenarios 2016-03-07 15:11:11 -07:00
spalger
00bf02ab29 Merge branch 'master' of github.com:elastic/kibana into renameAllFiles 2016-03-07 14:09:39 -07:00
Matthew Bargar
2faa3ee2f5 Remove outdated mapping options that were copied over from logstash template 2016-03-04 15:48:14 -05:00
spalger
af9ebba958 [rename] hunt down remaining non-snake path refs 2016-02-24 14:18:21 -08:00
spalger
2422a988e5 [rename] rename all files to snake_case 2016-02-24 12:14:05 -08:00
spalger
9a4bb32385 [scenarioManager] use index:true rather than removal from 8d0d581577 2016-02-08 15:54:23 -07:00
spalger
728fbdbc71 [scenarioManager] do not mix index:analyzed and doc_values:true 2016-02-08 14:06:50 -07:00
spalger
10e97a4d75 Merge branch 'fix/failTestOnBadBulk' into upgrade/elasticsearch/master 2016-02-08 14:05:52 -07:00
spalger
d248af5702 [scenarioManager] when bulk fails, report errors 2016-02-08 14:04:10 -07:00
spalger
8d0d581577 [scenarios] number types are not analyzable 2016-02-08 12:38:03 -07:00
spalger
b605b66be7 [fixtures] fix syntax error 2016-02-05 18:23:12 -07:00
spalger
410029d271 [ScenarioManager] use new multi-field syntax 2016-02-05 10:27:39 -07:00
spalger
1e507a90b3 [elasticsearch/client] use bluebird for promises for better backward compat 2016-02-05 10:24:02 -07:00
LeeDr
a4088bbacc snake_case test files. 2016-01-28 16:17:23 -06:00
LeeDr
290974770d Reduce elasticsearch client timeout back down to 5 minutes. Use fieldName variable consistently in _index_pattern_popularity. 2015-12-23 11:09:07 -06:00
LeeDr
6a0966ab0a Merge branch 'master' into testVisualize 2015-12-22 15:28:07 -06:00
Eric Herot
8479a38e12 Don't bother setting the number of index replicas when creating kibana-int (relates to #3877) 2015-12-14 11:06:41 -05:00
LeeDr
e7edd79536 Increase elasticsearch client timeout from 5 to 50 minutes! 2015-12-02 10:51:13 -06:00
LeeDr
44718237b2 Merge master 2015-12-02 10:26:58 -06:00
LeeDr
7a8e39d5da Increase ElasticSearch client timeout from 30s to 5m (probably a bit overkill). 2015-12-01 14:52:45 -06:00
LeeDr
5d36e8749e Remove a console.log from scenarioManager. Add 1s delay before setting saved query name so we don't end up with concatenated name. 2015-12-01 10:20:59 -06:00
LeeDr
c4b60c9c88 Increase elasticsearch client timeout from 30s to 5m. 2015-12-01 09:00:07 -06:00
LeeDr
32cf7762f2 Merge master. 2015-11-30 15:15:22 -06:00
LeeDr
d6ff27be29 Added UTC Timezone to the initial kibana data load. Change HeaderPage.setAbsoluteTime to click the Timepicker and collapse the pane when done. Update data in most visualize tests for UTC time. 2015-11-25 13:34:23 -06:00
LeeDr
db95e52886 Merge remote-tracking branch 'jbudz/lint-ignore' into testDiscover 2015-11-13 10:46:33 -06:00
LeeDr
7a2a4d9498 Add /*eslint-disable*/ to one data load file which was missing it. 2015-11-13 10:02:09 -06:00
Jonathan Budzenski
6e48ccc443 Prevent linting fixtures 2015-11-12 17:09:46 -06:00
LeeDr
ff44fd3ee5 Merge with master. 2015-11-12 15:42:05 -06:00
LeeDr
e4e1e66b52 Catch and ignore index_not_found_exception when deleting kibana index if not found. 2015-11-12 12:05:22 -06:00
Joe Fleming
e86da76d86 a sea of missing semicolons 2015-11-11 15:47:02 -07:00
LeeDr
a2a31c22a4 Adding logstashFunctional scenario data. 2015-11-11 11:26:56 -06:00
Joe Fleming
4cfe3e4c78 include missing Promise deps 2015-11-09 16:51:22 -07:00
Joe Fleming
e05e91bcd4 fix scenarioManager and getUrl tests 2015-11-05 17:36:15 -07:00
Joe Fleming
7f75f65b5d add config to swollow index creation errors 2015-11-05 16:37:32 -07:00
Joe Fleming
32e9201ba5 propertly return promises, properly catch Promise.all failure 2015-11-05 16:15:20 -07:00
Joe Fleming
221063e62b add indexDefinition to emptyKibana scenario
fixes potential issue where server doesn't recreate it in time
2015-11-05 14:44:49 -07:00
Joe Fleming
c9579d5da3 ScenarioManager load/unload always return promises 2015-11-05 14:36:45 -07:00