Commit graph

17492 commits

Author SHA1 Message Date
Jen Huang
863707edf8
Fix filtering of source filters table (#19522) 2018-05-30 11:51:19 -07:00
Bill McConaghy
7dd14fa480
fixing basic license revert on Firefox (#19566) 2018-05-30 14:37:09 -04:00
lcawl
2cf9a88dc5 [DOCS] Remove xkb-repo-dir attribute 2018-05-30 10:21:51 -07:00
Lisa Cawley
4b5eefeb4d
[DOCS] Moves monitoring folder to docs (#19516) 2018-05-30 09:43:38 -07:00
Court Ewing
5abc2dc738
Documentation for Saved Objects API (#19513)
* Adds documentation for Saved Objects API

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>

* [DOCS] Moved Rest APIs in navigation

* docs: revise rest api intro

* docs: revise create object api details

* docs: revise saved object api intro

* docs: revise delete saved object api details

* docs: remove newline character from api response

* docs: get saved object api details

* docs: update saved object api details

* docs: fix title attribute in saved object api examples

* docs: bulk-get saved object api details

* docs: find saved object api details

* docs: add index-pattern to valid types in api

* docs: clarify sending multiple values in api

* docs: note that savedObjects.find is not safe for export
2018-05-30 12:27:48 -04:00
Chris Davies
77c03ecb80
Add support for aliases to es_archiver (#19350) 2018-05-30 11:37:58 -04:00
Chris Davies
ab6dfe7043
Tweak repl to be a bit more useful (#19395)
* Tweak repl to be a bit more useful:

- Start it earlier so it can be used to diagnose server boot bugs
- Retain kbnServer, etc when repl is cleared (`.clear`)
- Change default print depth so it doesn't bomb when printing kbnServer
- Allow print depth to be changed as previous bullet may be annoying
2018-05-30 11:37:01 -04:00
Chris Davies
9d08ab7f49
Modify es_archiver to allow saving of raw archives (#19348) 2018-05-30 11:36:13 -04:00
Nathan Reese
8de20f23fd
Remove react-select from kibana (#18876)
* remove react-select from AggSelect

* update field_select to use EuiComboBox

* metric_select

* moving_average

* percentile

* series_agg

* std_deviation

* removing some more react-select instances

* icon_select and group_by_select

* gauge type

* markdown

* set isClearable prop

* remove react-select from timeseries config

* remove react-select from timeseries panel options

* remove react select from terms

* remove react-select from table config

* remove react-select from data_format_picker

* fix create_select_handler mocha test

* remove react-select from kibana

* update tsvb functional tests

* set isDisabled prop on EuiComboBox where disabld prop was set for Select

* use durationOutputOptions for duration 'to' options
2018-05-30 09:21:38 -06:00
Fabien Baligand
751b0c173d contrib docs : add a link to list all "build" options (#19464)
* contrib docs : add a link to list all "build" options

* list build options using "yarn build --help" command

* add bash code block

* remove space before ":"
2018-05-30 10:12:56 -05:00
Lisa Cawley
8a2cdaedcd
[DOCS] Moves security folder to docs folder (#19514) 2018-05-30 07:37:20 -07:00
Brandon Kobel
f4f894a972
Introducing base audit logger (#19442)
* 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 08:26:09 -04:00
Lisa Cawley
4e95a8a162
[DOCS] Moves upgrade-assistant folder to docs (#19523) 2018-05-29 22:58:54 -07:00
Lisa Cawley
d6040dc5b0
[DOCS] Moves setup folder to docs (#19525) 2018-05-29 22:45:19 -07:00
Lisa Cawley
a13377034a
[DOCS] Creates dev-tools folder (#19528) 2018-05-29 22:37:51 -07:00
Lisa Cawley
1a70477ca8
[DOCS] Move watcher-ui folder to docs (#19529) 2018-05-29 22:29:49 -07:00
Lisa Cawley
fee60ecbd4
[DOCS] Moves graph folder to docs (#19530) 2018-05-29 22:21:01 -07:00
Bill McConaghy
e1791b457c
bringing console in line with Kibana eslint rules (#19438) 2018-05-29 20:47:30 -04:00
Lisa Cawley
31c5065156
[DOCS] Moves settings folder to docs (#19521) 2018-05-29 17:27:25 -07:00
Lisa Cawley
4c2b432ba6
[DOCS] Moves reporting folder to docs (#19517) 2018-05-29 17:26:09 -07:00
Lisa Cawley
c3954b47d0
[DOCS] Moves dashboard_only_mode folder to docs (#19532) 2018-05-29 17:18:56 -07:00
Tim Sullivan
1b6c5b1c6c
[Monitoring] use defaulValue instead of filter to make pre-filled text input editable (#19462) 2018-05-29 16:30:43 -07:00
dave.snider@gmail.com
b9675ccbca
Visual cleanup of saved objects page (#19434)
* clean up the design of saved objects
* minor responsive fixes
* up the saved object per page setting to something reasonable
2018-05-29 16:22:24 -07:00
Lisa Cawley
93cf017b62
[DOCS] Move ml folder to docs (#19512) 2018-05-29 15:46:35 -07:00
Thomas Neirynck
cbcc1e284b
Avoid shard failures when performing bbox filter on coordinate maps 2018-05-29 17:40:52 -04:00
Tim Sullivan
6760a64c3d
[Monitoring/React] Logstash cluster status bars in react (#19433)
* [Monitoring/React] Logstash cluster status bars in react

* not have a prop named children

* simplify conditional metric

* fix functional tests
2018-05-29 14:36:32 -07:00
Lisa Cawley
c8d53bcf76
[DOCS] Moves apm folder to docs (#19518) 2018-05-29 13:48:50 -07:00
gchaps
45bb7cdd41
Docs/input controls (#19397)
* controls docs

* images and configuration option explainations

* minor changes

* link to index-patterns page

* practice commit

* [DOCS] Edited Visualize -> Controls documentation

* [DOCS|Input Controls] Incorporated review comments
2018-05-29 11:31:19 -07:00
Court Ewing
735bda343d
fix docs cli command (#19501)
When we merged X-Pack into the Kibana repo and started the multi-phase
process of merging the docs together, it became necessary to specify a
resource argument to the docs build script that indicates where to find
the x-pack docs. This requirement will go away once we complete the docs
merge, but for now it needs to be specified by our docs CLI.
2018-05-29 13:08:05 -04:00
Stacey Gammon
803d0a61f3
Update dashboard snapshot tests (#19420)
* 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-29 12:58:36 -04:00
Nathan Reese
20dcfb10af
add logQueries to docs (#19456)
* add logQueries to docs

* remove extra space

* logQuerie => logQueries

* better working

* use code font for logging.verbose and true, remove x-pack in front of monitoring
2018-05-29 10:44:51 -06:00
Nathan Reese
f83a844c1a
skip flaky sample data tests (#19503) 2018-05-29 09:59:30 -06:00
Chris Davies
7ecd638d75
Change check_file_casing to require setup_node_env (#19499) 2018-05-29 11:48:43 -04:00
Brandon Kobel
31b6903fd5
Allow config consumers to get the default value for a key (#19392)
* Allow config consumers to get the default value for a key

* Adding support for array notation

* Adding more tests, making default values immutable

* Changing the way we're ensure it's cloned to be more similar

* Addressing peer review feedback from Aleh
2018-05-29 11:35:41 -04:00
Stacey Gammon
e44564a60a
Instead of adding a margin of error, just wait for render complete. (#19406)
* Instead of adding a margin of error, just wait for render complete. Hopefully should fix

* actually because of page margins, we still nee a margin of error.

* go back to a single run
2018-05-29 08:55:01 -04:00
Spencer
f0cc432faf
Apache 2.0 license headers (#19383)
In order to make the license that applies to each file as clear as possible, and to be consistent with elasticsearch, we are adding Apache 2.0 license headers to the top of each file.

Existence of this header is enforced by eslint and tslint and missing headers were automatically added in the last commit by running:

```
node scripts/eslint --fix && node scripts/tslint --fix
```
2018-05-28 20:06:30 -07:00
Tim Roes
4a1e8346c2
Update markdown-it to 8.4.1 (#19470) 2018-05-28 16:52:04 +02:00
Maxim Tolochko
7dfb615d1f Add technical-level explanation for i18n (#18725) 2018-05-28 09:25:40 +02:00
Chris Davies
b98eefd9f3
Fix check_file_casing babel_register reference (#19457) 2018-05-25 17:18:15 -04:00
Justin Kambic
aec1904685
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:26:02 -04:00
Tyler Smalley
b57aed821a [plugins] Ensures X-Pack is available during plugin install (#19426)
For the default distribution, we were not including X-Pack during plugin installation. This broke plugin installation which relied on X-Pack interfaces.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2018-05-25 12:00:53 -07:00
Tiago Costa
194aba149f
Validate current node version (#19154)
* feat(12976): node version validation at runtime.

* refact(12976): move the code into a static utilities class.

* test(12976): added first test case using jest.

* test(12976): added test cases for node_version.

* feat(12976): create setup env node to bootstrap babel, ts-node and node version validator.

* refact(12976): migrated node version code from es6 to es5.

* feat(12976): node version validation at runtime.

* refact(12976): move the code into a static utilities class.

* test(12976): added first test case using jest.

* test(12976): added test cases for node_version.

* feat(12976): create setup env node to bootstrap babel, ts-node and node version validator.

* refact(12976): migrated node version code from es6 to es5.

* fix(12976): remove one level from ts node register cache directory link.

* chore(12976): added caret to semver dependecy in order to support minor versions.

* refact(12976): small change from named import to default import on node version validator.

* refact(12976): removed ts_node_register and add the code to babel_register.

* feat(12976): split eslint config in order to properly support files built to run before and after node version validator. refact(12976): convert script files to es5 code. refact(12976): delete inline eslint configs from node version check related files.

* refact(12976): remove ts node register file.

* refact(12976): completely port setup_node_env to es5.

* refact(12976): remove babel_register invokation from external dependencies in scripts.

* refact(12976): move node_version code directly into node_version_validator inside setup_node_env folder.

* refact(12976): only node version validator for kbn script.
2018-05-25 18:43:01 +01:00
Justin Kambic
ee041de216
Update yarn.lock file to handle non-automated updated package.json (#19441) 2018-05-25 12:23:20 -04:00
Søren Louv-Jansen
b0f71308fb
[APM] Add kuery to APM (#18881) 2018-05-25 17:39:22 +02:00
Pete Harverson
ae5a34f4f9
[ML] Clear Anomaly Explorer if swimlane selection is empty (#19403)
* [ML] Clear Anomaly Explorer if swimlane selection is empty

* [ML] Remove unnecessary variable
2018-05-25 11:03:04 +01:00
Tim Sullivan
6eea4eae0f
[Monitoring] use react components for Kibana directives (#19379)
* kibana cluster status directive use react component

* fix some functional test failures
2018-05-24 18:05:51 -07:00
Bill McConaghy
8fd613ffdb
[console] autocomplete query dsl gaps (#19318)
* adding wrapper query DSL support

* adding span_multi query DSL support for autocomplete

* adding field_masking_span query DSL support to autocomplete

* adding percolator query DSL support to autcomplete

* fixing templates with nested query types

* adding missing percolate params
2018-05-24 17:57:14 -04:00
Nathan Reese
e1399d751f
Sample data (#17807)
* register list, install, and uninstall endpoints

* decorate server with methods needed to register data sets

* implement list endpoint, add flights sample data set

* stream data file

* create sample data index with mappings

* bulk insert into elsaticsearch

* more loadBulk work

* advance time stamp

* change http method back to post

* delete index on uninstall

* last 15 minutes example

* add option to preserver day of week and time of day

* import saved objects on install and delete saved objects on delete

* update uiSetting defaultIndex on install and uninstall

* use correct format for saved object json

* Adding example sample data, mappings and dashboards

* add sample data tab to Add Data page

* add launch button

* add sample data link to empy index pattern create state

* fix jest tests

* add toast nofication on success and fail install/uninstall

* move uiSettings of defaultIndex to client, clear index patterns get id cache

* put link to sample data sets on home page

* updated saved objects and data set

* add card for sample data

* add preview image

* updated dashboards and data set

* update button text

* woops, forgot vega

* compress data json file

* move flights data file to same folder as saved objects file

* add functional tests

* updates from chrisdavies review

* fix install API call - broken on last commit

* fix mistake in create_index_pattern

* updates from Stacey-Gammon review

* remove delete from install API

* add more tests to ensure dashboard renders as expected

* better error message on install and uninstall failure

* remove checks that may change from run to run to keep functional tests stable

* update scripted field to reflect changes in ES

* change saved object install/uninstall error code from 500 to 403

* add more logic to check if dataset is installed and display a disabled add button when there is a problem checking status

* make add data links be side-by-side on home page

* propery handle savedObjectClient bulkCreate errors. Ensure launch dashboard exists in test if dataset is installed

* ignore saved object delete 404s since users could have deleted some of the saved objects via the UI

* show response error in toast, delete index before trying to create, log create index error
2018-05-24 14:39:07 -06:00
gchaps
bfb002c54b
[DOCS | Management] Add documentation for index management (#19374)
* [DOCS | Management] Add documentation for index management

* [DOCS | Management] Incorporated review comments in index management doc
2018-05-24 11:59:34 -07:00
Stacey Gammon
e3ea1a8726
Pluggable panel actions (#18877)
* Allow pluggable panel actions

* Need to register it as being used in kibana

* Some cleanup

* update snapshots to match new EUI versions, set time range

* Use newer panelActions service

* add missing await

* More clean up and fixes

* bring back window reload

* Show actions in view mode too

* delete now unused files

* Use toggle action to determin if context menu is open

* Fix tests that assume the toggle is hidden in view mode.

* Add some debug logs

* Fix up assumptions

* Previous failing test was legit - we don't want to show remove option when panel is expanded

* Embeddable can be empty before the panel is loaded

* Should look for either visualize or discover page

* Address code comments

* address code review comments

* whoops, get rid of childPanelToOpenOnClick entirely
2018-05-24 14:53:42 -04:00