Commit graph

744 commits

Author SHA1 Message Date
Lisa Cawley 3a0b5a9ca4 [DOCS] Fixes license expiration info (#20316) 2018-06-28 15:29:51 -07:00
CJ Cenizal 830e0806db
Revert "Feature/align map config settings (#19450) (#20283)" (#20286)
This reverts commit c3afa57fa4.
2018-06-28 06:10:34 -07:00
CJ Cenizal c6be289f21
Fix misspellings (#19981) (#20284) 2018-06-27 20:50:06 -07:00
CJ Cenizal c3afa57fa4
Feature/align map config settings (#19450) (#20283)
* Update config schema to allow map.tilemap & map.regionmap

* Inject map.regionmap & map.tilemap. Fall back to top-level config declarations if needed

* Warn user on use of legacy map config vals

* Don't create default map objects for deprecated entries. Add notes indicating top-level objects are deprecated

* Update map references in docs

* Shuffle map configurations in docs to be grouped together
2018-06-27 20:39:50 -07:00
Lisa Cawley e75423e020 [DOCS] Clarified X-Pack features in trial (#20271) 2018-06-27 12:00:04 -07:00
Tiago Costa 1bb5dd1c11
[6.x][DOCS] Steps to get kibana running after upgrading to 6.3.0 with an old x-pack installation (#20100)
* docs(kbn-20086): steps to get kibana running after upgrading to 6.3.0 with an old x-pack installation.

* docs(kbn-20086): updated text for docs related with 6.3.0 upgrade.

* docs(kbn-20086): change wording from docs text.
2018-06-21 17:16:50 +01:00
Tim Roes 9ba0689dcd
[6.x] Replace spy panels by Inspector (#16387) | Fix one inspector test (#20072) (#20076)
* Replace spy panels by Inspector (#16387)

* Add Inspector feature

* So long, and thanks for all the fish, spy panel

* Fix several functional tests

* Fix unit tests

* Fix spy panel button tests

* Replace old spy panel documentation

* Disable test temporarily until we have dashboard triggers

* Enter edit mode for dark theme test

* Fix some more functional tests

* Fix more functional tests

* More test fixing

* Fix more functional tests

* Allow opening the inspector via loader handler

* Refactor InspectorViewChooser, remove unused CSS

* Remove dead code

* Fix data download button style

* Remove redundant code

* Load inspectorViews for dashboard_viewer

* Extract inspector views to custom core_plugin

* Switch API to TypeScript 🎉

* Design changes

* Remove icons from views

* Design changes

* Improve typings of API

* Add typing to all adapters

* Show loading spinner in request selector

* Rewrite InspectorView to TypeScript

* Fix help text for data view

* Remove deprecated React lifecycle methods

* Embed inspector into dashboard panel actions

* Remove temporary inspector trigger

* Remove old CSS

* Fix dashboard trigger for new panel action

* Add tests for InspectorPanel and DataAdapter

* Produce a hierarchical table if the vis is hierarchical

* Remove allowJs option again

* Add missing Apache license headers

* Close inspector on dashboard when navigating away

* Use proper title for dashboard panels

* Fix functional tests

* Skip broken test for now

* Flush view chooser button

* Add request adapter tests

* Skip more tests, broken due to typescript

* Add Request Time description

* Add description for courier request

* Fix tests

* Replace icon by new (not yet released) icon

* Finalize design of inspector

* Remove discover test, that relied on spy panels

* Change API to be properly mockable in tests

* Add aria-live region for request status

* Replace old method in functional tests

* Replace abitrary magic number

* Use object destructuring in vis

* Fix issue with crashing requests view

* Add request time tooltip

* Get request body of correct search source

* Make filter buttons properly keyboard accessible

* Follow Dave's design suggestions

* Remove redundant request from name

* Remove unneeded comments

* WIP raw-formatted values

* Fix filtering issue

* Fix tests and more license headers

* Add data view tests

* Remove search from table

* Fix typos

* Implement review suggestion

* Remove artificial delays for testing

* Fix new panel action structure

* Minor design adjustments

* Fix failing functional test

* Update failing snapshot test

* Implement final wording

* Apply new EUI styling

* Fix closing inspector in tests

* Fix sorting of table

* Align punctuation between tooltips

* Fix test that doesn't exist on master

* Fix one inspector test (#20072)

* Remove file that came accidentally back due to merging

* Fix accidental merge paste

* Fix 6.4 test failures
2018-06-21 11:45:13 +02:00
Lisa Cawley 2516f9ecc3
[DOCS] Adds missing breaking change (#20057) 2018-06-19 17:17:08 -07:00
Larry Gregory e8cc31a9c0
Add plugin disclaimer (#19989) (#19997)
Adds a disclaimer to the Known Plugins section of our documentation, which notes that we do not evaluate them.
2018-06-18 13:53:15 -04:00
wispxjtu e10379ed9b Code example miss single quotes (#19783) 2018-06-18 11:11:53 -05:00
lcawl ec15213b97 [DOCS] Adds links in breaking changes 2018-06-15 12:15:35 -07:00
lcawl eda005c4b5 [DOCS] Adds 6.3.0 release highlights 2018-06-12 11:52:57 -07:00
gchaps eb6c5b4efd [DOCS] 6.3 Release Notes (#19636)
* [DOCS] 6.3 Release Notes

* [DOCS] Incorporated review comments

* [DOC] Updated note about regression because it also affects pipeline creation

* [DOCS] Minor updates to release notes
2018-06-12 11:04:47 -07:00
gchaps d3fe2bc85f [DOCS] 6.3.0 release highlights doc (#19634)
* [DOCS] 6.3.0 release highlights doc

* [DOCS] Fixed typo

* [DOCS] Updated images in highlights doc

* [DOCS] Incorporated review comments

* [DOCS] Updated text on autocomplete as per review comments

* [DOCS] Adds ML items to Kibana 6.3.0 highlights

* [DOCS] Clarifies custom URL highlight

* [DOCS] Improved text for autocomplete
2018-06-12 10:52:34 -07:00
Shaunak Kashyap 68ae44c3e8 Document Logstash Centralized Configuration Management HTTP APIs (#17706)
* Starting to document Logstash config management APIS

* Removing copy pasta

* Adding delete pipeline API doc

* Mention updates in Create Pipeline API doc

* Capitalization fix

* Adding Retrieve Pipeline API doc

* Adding List Pipelines API doc

* Fixing typos

* Fixing DELETE pipeline API response code

* Add description field to GET pipeline response

* Update PUT pipeline API response to match implementation

* Fixing and annotating GET pipelines response

* Add AIP doc reference to index

* Adding xpack role

* Adding floats

* Missed list item

* Fixing rebase auto-merge

* Adding intro section to Logstash Configuration Management API page

* Bolding "experimental"

* Fixing typo
2018-06-08 19:08:39 +05:30
Toby McLaughlin 3661ea9601 [DOCS] Update Docker config steps for open X-Pack (#19486) 2018-06-04 10:38:25 +10:00
gchaps 6b992627c8
[DOCS|Monitoring] Added text about first time opening Kibana Monitoring (#19460) (#19597)
* [DOCS|Monitoring] Added text about first time opening Kibana Monitoring

* [DOCS | Monitoring] Incorporated review comments on startup experience doc

* [DOCS] Fixes typo
2018-05-31 11:42:51 -07:00
lcawl cc943e31b6 [DOCS] Fixes link to X-Pack settings 2018-05-31 11:17:55 -07:00
lcawl bc80248fc0 [DOCS] Remove xkb-repo-dir attribute 2018-05-30 10:22:37 -07:00
Lisa Cawley c3c98b682e [DOCS] Moves monitoring folder to docs (#19516) 2018-05-30 09:45:30 -07:00
Court Ewing f8521c09a4 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:28:29 -04:00
Lisa Cawley 6e16d9c006 [DOCS] Moves security folder to docs folder (#19514) 2018-05-30 07:40:43 -07:00
gchaps e93a73c495
Docs/input controls (#19397) (#19526)
* 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-30 07:03:01 -07:00
Lisa Cawley 29cb018771 [DOCS] Moves upgrade-assistant folder to docs (#19523) 2018-05-29 23:00:47 -07:00
Lisa Cawley 88eed510c1 [DOCS] Moves setup folder to docs (#19525) 2018-05-29 22:52:34 -07:00
Lisa Cawley 84fbb30cdf [DOCS] Creates dev-tools folder (#19528) 2018-05-29 22:39:20 -07:00
Lisa Cawley f76712fe9f [DOCS] Move watcher-ui folder to docs (#19529) 2018-05-29 22:31:32 -07:00
Lisa Cawley 8ea62191ad [DOCS] Moves graph folder to docs (#19530) 2018-05-29 22:23:26 -07:00
Lisa Cawley ea45d44611 [DOCS] Moves reporting folder to docs (#19517) 2018-05-29 17:34:07 -07:00
Lisa Cawley d04b2dda67 [DOCS] Moves settings folder to docs (#19521) 2018-05-29 17:29:14 -07:00
Lisa Cawley bff706f805 [DOCS] Moves dashboard_only_mode folder to docs (#19532) 2018-05-29 17:19:59 -07:00
Lisa Cawley fd5b62a145 [DOCS] Move ml folder to docs (#19512) 2018-05-29 15:48:38 -07:00
Nathan Reese fbcc6962fe
merge conflict (#19519) 2018-05-29 16:24:36 -06:00
Lisa Cawley 9440bfbd40 [DOCS] Moves apm folder to docs (#19518) 2018-05-29 13:51:28 -07:00
gchaps 8247aa5eb0
[DOCS | Management] Add documentation for index management (#19374) (#19421)
* [DOCS | Management] Add documentation for index management

* [DOCS | Management] Incorporated review comments in index management doc
2018-05-25 05:42:05 -07:00
lcawl 832b5b212f [DOCS Adds 6.4.0 release highlights page] 2018-05-23 09:08:02 -07:00
Lisa Cawley ec07ecde92 [DOCS] Adds release highlight pages (#19333) 2018-05-23 09:01:35 -07:00
Deb Adair e89c3bb564 [DOCS] Fixed broken xref. 2018-05-22 13:57:59 -07:00
debadair 01f9080742 [DOCS] Added float/anchor tags to explicitly define page names (#19288) 2018-05-22 13:57:30 -07:00
Lisa Cawley f3f6d1d910 [DOCS] Clarifies encrypting communications in Kibana (#19155) 2018-05-22 10:55:05 -07:00
gchaps 742f9b58c6
[DOCS|Dashboard] Updated images and text to match UI (#19149) (#19301)
* [DOCS|Dashboard] Updated images and text to match UI

* [DOCS | Dashboard] Incorporated review comments

* [DOCS | DASHBOARD] Incorporated more review comments.
2018-05-22 09:39:56 -07:00
gchaps 26b0c8731e
[DOCS|Management] Added page for License Management] (#19220) (#19277)
* [DOCS|Management] Added page for License Management]

* [DOCS|Management] Updated license management docs per review comments

* [DOCS|Management] More review comments on license management doc
2018-05-21 14:46:21 -07:00
Spencer 07f4e5ad77
[6.x] [typescript] add typescript support for the server and browser (#19104) (#19223)
Backports the following commits to 6.x:
 - [typescript] add typescript support for the server and browser  (#19104)
2018-05-21 10:42:59 -07:00
Lisa Cawley 7913f07f5f [DOCS] Removes redundant index.asciidoc files (#19192) 2018-05-18 11:58:11 -07:00
Matt Bargar 9fcb1ec9d8
Update viewing-field-stats.asciidoc 2018-05-18 12:53:20 -04:00
Lisa Cawley 63e168c1da [DOCS] Cleans up X-Pack references in Kibana User Guide (#19150) 2018-05-17 09:33:32 -07:00
Tim Roes 25a8402423
Add entry for datasweet formula plugin (#16868) (#19166) 2018-05-17 14:25:50 +02:00
Tim Roes dcfcc229a7
Add TSVB table to docs (#17835) (#19162)
* Add TSVB table to docs

* Change according to review
2018-05-17 12:16:18 +02:00
gchaps 053ecf6599
Fixed merge conflicts in load-dataset and define-index (#19057) 2018-05-15 08:06:53 -07:00
Nathan Reese 4e16bca3e5
enhance index pattern delete documenation (#19007) (#19040)
* enhance index pattern delete documenation

* add line about breaking saved objects that still reference index pattern

* indices spelling

* better wording from gchaps
2018-05-14 10:08:11 -06:00
Varun Sharma ddad3a02ff
Adds Navigation Plugin (#18971)
This visualization is used to dynamically show dashboard links within dashboards to facilitate better navigation.
2018-05-10 15:59:56 -05:00
Lee Drengenberg 5603706023
Support 1 Kibana and 1 Elasticsearch URL as input params (#9760) (#17808)
* Support 1 Kibana and 1 Elasticsearch URL as input params

* Revert a previous change to test char substitution

* Allow setting TEST_KIBANA_URL and TEST_ES_URL for Cloud testing

* cleanup comment

* Update docs

* Refactor after PR review

* Changes from review

* fix default Kibana port to 5620

* Change es_test_config.js similar to kibana_test_server_url_parts.js
2018-05-08 17:42:26 -05:00
Jen Huang 8079bec770
Advanced Settings to React/EUI (#18878) 2018-05-07 16:20:56 -07:00
Lisa Cawley dda84d7570
[DOCS] Added X-Pack release items to changelog (#18832) 2018-05-04 14:57:35 -07:00
Lisa Cawley 255085f37d
[DOCS] Removes X-Pack Breaking Changes page (#18755) 2018-05-04 12:27:42 -07:00
lcawley 45cf6a0c78 [DOCS] Adds 6.x items to changelog 2018-05-04 11:13:45 -07:00
Lisa Cawley 4828e9206e [DOCS] Adds changelog to Kibana User Guide (#18698) 2018-05-04 11:05:10 -07:00
Kelly Murphy c3e41894f9
[Docs] Kibana settings anchors for ECE (6.x) (#17376)
* Reference anchors for links

* Cloud phrasing

* Reviewer feedback
2018-05-02 12:23:15 -05:00
lcawley 6df4f46742 [DOCS] Removes X-Pack plugin info 2018-04-30 14:00:49 -07:00
truman.p.du 9267eb53ed
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:38:37 -05:00
Fabien Baligand 0a4f4f664d
add doc for environment variable injection (#17833) 2018-04-25 17:20:23 -05:00
Lisa Cawley cb4567e776 [DOCS] Adds new installation package details (#17781) 2018-04-25 01:05:01 -07:00
Lisa Cawley ddc66c816a
[DOCS] Updates versions file (#17862) 2018-04-24 21:43:12 -07:00
Jenkins CI bc5b51554d Migrate x-pack-kibana source to kibana 2018-04-24 13:49:26 -07:00
markwalkom 113994232e
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:29 -05:00
Brandon Kobel 05206963ea
Revert "Support PKCS#12 encoded certificates (#17261)" (#17801) (#17802)
* Revert "Support PKCS#12 encoded certificates (#17261)"

This reverts commit de91bd0f09.

* Fixing tests
2018-04-19 14:41:49 -04:00
gchaps f32206f3bf
[DOCS] Minor changes to Advanced Settings and Featured Visualizations (#17778) (#17796) 2018-04-19 09:51:06 -07:00
Court Ewing f7d0db12ed docs: pull request review guidelines (#17101)
Outlines the general goals/philosophy behind our pull request review
process.
2018-04-19 12:37:30 -04:00
Fabien Baligand f0d1c010c4
fix plugin.js link (#17710) 2018-04-18 15:06:20 -05:00
gchaps 2b5c0fc6e4 Merge remote-tracking branch 'upstream/6.x' into 6.x 2018-04-17 10:57:41 -07:00
gchaps b29a65c155 [DOCS] 6.2.4 Release Notes 2018-04-17 10:49:34 -07:00
Tim Roes 1a2fc68fee
Remove filterManager and kuery from vis.API (#17659) (#17714) 2018-04-16 15:21:03 +02:00
gchaps d1e4073f98
Fixed hierarchy for Vega documentation (#17691) (#17697) 2018-04-13 10:21:56 -07:00
gchaps 8c10e9d1e0
[DOCS] In Vega, fixes broken links and adds vega.enableExternalUrls (#17646) (#17661) 2018-04-11 11:10:41 -07:00
Yuri Astrakhan 4fc38bc8fa
Added Vega interactive map support (#16512) (#17599)
Implements https://github.com/elastic/kibana/issues/15842

* Added Vega interactive map support
* Support vega-lite maps
* handle VL-injected width/height/padding/autosize
* clarified min/max zoom limits
* moved kibana_map to ui/vis/map, doc fixes
* bumped leaflet-vega dep
2018-04-07 00:45:27 +03:00
Larry Gregory e2aa793729
[6.x] Support PKCS#12 encoded certificates (#17261) (#17546)
* [6.x] Backport Support PKCS#12 Certificates
2018-04-05 19:48:20 -04:00
Tim Sullivan 40bfe83317
Add /api/status endpoint to docs, fixes #16690 (#16798) (#17560)
* Add /api/status endpoint to docs, fixes #16690

* Remove period from note
2018-04-04 16:55:12 -07:00
Matt Bargar 9ff0f70953
Bring back shard timeout (#17420) (#17529)
It is not very useful to have:

* shardTimeout disabled if requestTimeout is enabled (means infinite es overruns)
* shardTimeout > requestTimeout if both enabled (means finite es overruns)
* shardTimeout < requestTimeout if both enabled (means partial results from es?)

The only option that really makes sense is to have shardTimeout === requestTimeout, so that's what I've done here.
2018-04-04 13:05:47 -04:00
Jonathan Budzenski e2d8541eb5
[docs] sha1 -> sha512 (#17478) 2018-04-03 10:15:03 -05:00
Pius bbfd72b8cd
Fixed ccs syntax (#17050)
cluster_one,cluster_two:logstash-* should be cluster_one:logstash-*,cluster_two:logstash-*
2018-03-30 12:47:35 -05:00
gchaps d9f1c8c172 [DOCS] Added experimental tag (#17461) 2018-03-29 16:55:52 -07:00
Chris Roberson 557f5e3ec9
Add audio type to Url field formatter (#17422) (#17463) 2018-03-29 16:39:09 -04:00
Tyler Smalley 1d01980ddb Fixes issue with Keystore's stdin option (#15221)
Fixes issue preventing stdin option from being used
Using create to overwrite should reset keystore
2018-03-29 08:05:56 -07:00
Thomas Neirynck 9f803a6590
Add missing EMS-param to docs (#17372) (#17398) 2018-03-26 14:19:42 -04:00
Matt Bargar 5328b7227c
Update known-plugins.asciidoc 2018-03-26 11:41:43 -04:00
Tim Roes 5b22bbb007
Fix visualization individual timeranges (#17123) (#17383)
* 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-26 09:00:29 +02:00
Deb Adair bdbf565c43 [DOCS] Fixed rendering of video link to vega intro. 2018-03-22 20:18:57 -07:00
Matt Bargar 4f2fbe7fb6
[6.x] Add query enhancements opt-in switch to query bar (#17232) (#17353)
* 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.

* fix test
2018-03-22 18:00:25 -04:00
Lukas Olson b665a30c26 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:52:30 -07:00
CJ Cenizal 7ec8cbe65d
Add link to the EUI docs to Kibana docs (#11835) (#17316)
* Add 'Developing Plugins' section to the docs, with a link to the EUI Framework docs.
2018-03-21 14:18:45 -07:00
jimgoodwin 9da4f3b862 Release notes for version 6.2.3 2018-03-20 13:27:24 -04:00
Lee Drengenberg 9afc7511a9
Getting Started - Shakespeare (#16827) (#17164)
* WIP - add shakespeare data for getting started guide

* Refactor of getLineChartData, getBarChartData, getAreaChartData

* Added changing extents and test

* Fix opening axis options

* Change precision from 8 to 7

* lower precision to 6

* Fix index pattern creation

* update from review, remove comments, add others
2018-03-14 17:01:40 -05:00
Lisa Cawley f908027350 [DOCS] Added monitoring upgrade details (#17138) 2018-03-14 13:21:14 -07:00
Glen Smith 8ebcb3c65d
Clarify how settings are applied once in keystore (#16902) 2018-03-12 16:41:55 -05:00
lcawley bac3209ae5 [DOCS] Added section header 2018-03-09 08:59:01 -08:00
Maxime Veber efb5db0e08
Fix wrong link to kibana docker repository (#16570) 2018-03-08 10:50:59 -06:00
David Moreno Lumbreras c9543b7456
[DOCS] Add new plugins "Polar" and "Radar" to known-plugins (#16952)
* Update known-plugins.asciidoc

* Update known-plugins page adding Radar plugin
2018-03-08 07:38:12 -06:00
Matt Bargar 5317c733a4
Update Kuery Syntax (#15857) (#17005)
This PR evolves Kuery into a simplified, more lucene-like language. In a follow up PR we plan on getting rid of the language switcher dropdown and instead add a checkbox that will allow users to opt-in to this syntax, which will feel less like a separate language and more like a set of enhancements to the existing lucene query syntax.

This PR also updates the simple grammar to solve the following:

* Wildcards in field names
* "is one of" shorthand (e.g. foo:(bar OR baz OR qux))
* Don't split on whitespace (require explicit AND/ORs, case insensitive)
* "exists" query (e.g. foo:*)
* Improved range query shorthands (e.g. foo <= 1)
* Wildcard queries

Since this new syntax is simpler and does not support every filter type like old Kuery did, this PR also brings back the filter bar when kuery is selected in the language picker.

See the documentation updates in this PR if you need an overview of the new syntax (and let us know if the documentation is lacking).
2018-03-07 10:13:45 -08:00
Jun Ohtani 23c5a35eec Add _analyze UI link (#16331) 2018-03-07 16:03:59 +09:00
Tim Roes 030b5ba577
Fix update status documentation (#16885) (#16886) 2018-02-23 12:21:25 +01:00
Anshita Vishwakarma 867b34d505 Beta tag removed from Kibana-CCS Integration in master branch (#16847) 2018-02-21 17:29:34 -07:00
jimgoodwin 384fedec23 Release notes 6.2.2 2018-02-20 08:53:02 -05:00
Spencer ae0358a17a
[server/rewriteBasePath] Support rewriting basePath requests (#16724) (#16814)
* [server/rewriteBasePath] add option to enable basePath rewriting

* [server/rewriteBasePath/docs] end sentences with periods

* [server/rewriteBasePath] simplify Joi schema a smidge

* [server/rewriteBasePath] rename test file to match source

* [server/rewriteBasePath] initialize server in before/after hooks

* [server/rewriteBasePath] rephrase deprecation warning

* [server/config/schema] verify that non-strings are not accepted for basePath

* [server/config/schema] toss a trailing comma in there
2018-02-19 14:43:40 -07:00
Matt Bargar b3b0a5d7ce
fix command 2018-02-16 11:21:13 -05:00
Matt Bargar 345a96d494
Fix ambiguous wording 2018-02-14 16:46:11 -05:00
Spencer d141b33e12
[kbn-plugin-generator] add plugin generator to the repo (#16655) (#16686)
* [kbn-plugin-generator] add plugin generator to the repo

* [plugin-generator] use snake_case plugin name for directory name

* [plugin-generator] fix typo

* [plugin-generator] remove translation support until we resume i18n efforts

* [yarn] update lockfile

* [mocha] remove plugin-generator selector from mocha tests

* [plugin-generator] update generated readme to recommend yarn

* [plugin-generator] add readme to generator pacakge

* [plugin-generator] link from plugin-resource docs

* [plugin-generator] mention very important `kbn bootstrap` script

* [plugin-generator] rework some parts of the README

* [plugin-generator] log actual directory name with system separators

* [plugin-generator] include bootstrap/yarn preinstall check script
2018-02-12 17:46:46 -07:00
spalger 0247b33878 [plugin-helpers] replace last few uses of old package name 2018-02-08 14:36:49 -07:00
spalger 5759140039 Revert "Move kibana-plugin-helpers to kbn-plugin-helpers package (#16565) (#16617)"
This reverts commit 4dcee04197.
2018-02-08 14:32:16 -07:00
Spencer 4dcee04197
Move kibana-plugin-helpers to kbn-plugin-helpers package (#16565) (#16617)
* initial commit

Original commit: elastic/kibana-plugin-helpers@06c603d0d9

* simplify bin scripts and get them working

Original commit: elastic/kibana-plugin-helpers@1455f09194

* [npm] finish package.json

Original commit: elastic/kibana-plugin-helpers@c7b0e9d522

* [readme] inception

Original commit: elastic/kibana-plugin-helpers@5caa197ea7

* [npm] rename

Original commit: elastic/kibana-plugin-helpers@9fb16dd1c3

* [package.json] fix typo

Original commit: elastic/kibana-plugin-helpers@f135485c1a

* [npm] do not commit npm logs

Original commit: elastic/kibana-plugin-helpers@a1bf7505a7

* version 5.0.0-beta1

Original commit: elastic/kibana-plugin-helpers@5abf8ee2ac

* Fix start cmd on Windows

Original commit: elastic/kibana-plugin-helpers@7718cefd8a

* 5.0.0-beta2

Original commit: elastic/kibana-plugin-helpers@4e70c3e4d8

* added license files for better visiblity

Original commit: elastic/kibana-plugin-helpers@a3297e2728

* group task related files

Original commit: elastic/kibana-plugin-helpers@4a8ccce1ec

* [build] place the plugin contents under the kibana directory

Original commit: elastic/kibana-plugin-helpers@0a0f5fea0a

* [start] send extra args to the kibana process

Original commit: elastic/kibana-plugin-helpers@ce943ca67c

* 5.0.0

Original commit: elastic/kibana-plugin-helpers@42163ce240

* Correctly bundle dependencies if there is only one

Fixes elastic/kibana-plugin-helpers#8

Original commit: elastic/kibana-plugin-helpers@c46b2ca07c

* [test:server] include Kibana node_modules/.bin in path when running server tests

Original commit: elastic/kibana-plugin-helpers@bbda801351

* 5.0.1-pre

Original commit: elastic/kibana-plugin-helpers@2d26645117

* Pass pluginId and plugin-path values through correctly (elastic/kibana-plugin-helpers#11)

Fixes elastic/kibana-plugin-helpers#10

Original commit: elastic/kibana-plugin-helpers@74defe4206

* 5.0.1-pre2

Original commit: elastic/kibana-plugin-helpers@0fd7d07558

* [build] ask for kibana version when set to "kibana"

Original commit: elastic/kibana-plugin-helpers@5fe34c47ae

* 5.0.1-pre3

Original commit: elastic/kibana-plugin-helpers@2e0e10106b

* Running main, corrected build, checking for no dependencies (elastic/kibana-plugin-helpers#15)

* Updated if check if there are no dependencies

* Now running main()

* Build now uses the correct parameter.

Original commit: elastic/kibana-plugin-helpers@7cf31d26d2

* fix lint error

Original commit: elastic/kibana-plugin-helpers@06af5c3dd4

* support defining an alternate plugin root

Original commit: elastic/kibana-plugin-helpers@0e4d4fa501

* add an optional callback to the build action

Original commit: elastic/kibana-plugin-helpers@6a1012f96b

* run vinyl.src in the plugin.root directory

Original commit: elastic/kibana-plugin-helpers@8f3081b029

* add basic test for the build action

Original commit: elastic/kibana-plugin-helpers@52230f6c3b

* include nvmrc file for development

Original commit: elastic/kibana-plugin-helpers@f51115de11

* add circle-ci config file

Original commit: elastic/kibana-plugin-helpers@80505e1b0d

* 5.0.1

Original commit: elastic/kibana-plugin-helpers@e42d134e4c

* use a promise instead of a callback to track task completion

Original commit: elastic/kibana-plugin-helpers@c6dacf3507

* 5.0.1-patch1

Original commit: elastic/kibana-plugin-helpers@d49bb6ea73

* do not pass stdin to sub tasks, fixes elastic/kibana-plugin-helpers#19

Original commit: elastic/kibana-plugin-helpers@f872954888

* 5.0.1-patch2

Original commit: elastic/kibana-plugin-helpers@a754ef5b50

* Use json files to override default config values (elastic/kibana-plugin-helpers#21)

* read json overrides, mix into defaults

* rename plugin config helper

* use the plugin config in start

Original commit: elastic/kibana-plugin-helpers@4cfbe28128

* allow browser tests to be runOnce

Original commit: elastic/kibana-plugin-helpers@ede52ece0e

* add a test/all task

Original commit: elastic/kibana-plugin-helpers@9b7c15cf32

* add test command to execute test/all

Original commit: elastic/kibana-plugin-helpers@e096ac55f3

* remove use of spread and default assignment

Original commit: elastic/kibana-plugin-helpers@17532f0fdd

* pass run method into tasks

don't reach into lib for it

Original commit: elastic/kibana-plugin-helpers@d92d2e979a

* use --dev flag for browser dev mode

Original commit: elastic/kibana-plugin-helpers@a790fdd338

* fix default command, no more use of call

Original commit: elastic/kibana-plugin-helpers@fe13b987c9

* Move require calls outside of task functions (elastic/kibana-plugin-helpers#23)

* move require calls outside of task functions

* fix default command value

Original commit: elastic/kibana-plugin-helpers@846855e960

* add --include options to test:server

Original commit: elastic/kibana-plugin-helpers@d3b5e24207

* split and concat and included server test paths

Original commit: elastic/kibana-plugin-helpers@e7dffb6ffe

* add plugins option to browser tests

used to pass your own testsBundle.pluginIds to the test runner

Original commit: elastic/kibana-plugin-helpers@d370d74bd4

* if plugins are specified, use the option value instead of the default

Original commit: elastic/kibana-plugin-helpers@d610c9c9d6

* assign args in argument passing code

minor syntax change

Original commit: elastic/kibana-plugin-helpers@ce77d071d1

* make server test files an argument

Original commit: elastic/kibana-plugin-helpers@b043b423ef

* add not about custom tests executiong to the readme/help

Original commit: elastic/kibana-plugin-helpers@139221e5a6

* Separate the task runner and the command line parser (elastic/kibana-plugin-helpers#25)

* remove conditionl require in runner

add tasks module to load all tasks, throw if task does not exist

* change task signatures and action handlers

- tasks get plugin, run, and an options object
- action handler controls what goes into each task
- taskRunner wrapper moves the command object to the first argument

* change test command signature

allow files to be passed in, and pass all options to test:server and test:browser

* simplify the task runner

* fix typo in unknownOptions

* expose the task runner as the module's main

this way tasks can be run programatically without going through a cli parser

* add tests for task runner

* remove file passing for testAll

* add serverTestPaths to the plugin config

useful for overriding the value via a config file

* [config] plugin.serverTestPaths -> plugin.serverTestPatterns

Original commit: elastic/kibana-plugin-helpers@82af4df64e

* 5.1.0

Original commit: elastic/kibana-plugin-helpers@6dd1407e81

* update the readme

Original commit: elastic/kibana-plugin-helpers@c650c4527e

* append build info to package.json

Original commit: elastic/kibana-plugin-helpers@504fd07f3c

* format the package.json file

Original commit: elastic/kibana-plugin-helpers@c474820bb5

* node4 support: const -> var

Original commit: elastic/kibana-plugin-helpers@19b607d954

* fix cli parsing of --dev flag

Original commit: elastic/kibana-plugin-helpers@3aa37c2dfc

* 5.1.1

Original commit: elastic/kibana-plugin-helpers@ad9a8e85b8

* Enable custom builds (elastic/kibana-plugin-helpers#27)

* only modify root package.json file

previously this was modifying every package.json from node_modules as well

* refactor the build task

export the build, define helpers outside of the task

* allow custom kibana and build versions

both can be passed via flags

* allow custom build globs to be specified

* move build into its own module

* add simple option parsing tests

* update readme

* move dependency file appending into the action

* put source and target into variables

* move config file loading into a module

* refactor test_server_action slightly

be more explicit about the files option overwriting the plugin settings

* move default build patterns to plugin config

allows the setting to be overridden via the config file

* fix dirname on relative includes

trim any leading '../' off the path when moving it into the build target

* move node_module dirs into plugin_config module, use existing promises

* rename file_config => config_file

Original commit: elastic/kibana-plugin-helpers@743e4a37c2

* return the result of running the action

Original commit: elastic/kibana-plugin-helpers@9b819eeeb3

* Allow custom build target via --build-destination flag (elastic/kibana-plugin-helpers#30)

* pass buildTarget into createBuild

allow override from options

* add cli option to override build destination

--build-destination

* fix tests

* resolve build destination from plugin.root

this allows both relative and absolute paths to be used

* add short option

* update the help

Original commit: elastic/kibana-plugin-helpers@6c9fb3464e

* 5.2.0

Original commit: elastic/kibana-plugin-helpers@8c2a547d9d

* Use npm/yarn to install build dependencies (elastic/kibana-plugin-helpers#28)

* remove scripts and devDependencies from package

these are only useful in development, and serve no purpose in the build

* refactor the package rewriter

* clean up the buildTarget before building

* run npm install after build creation

* break apart the create_build module

* add create_package modules

call it from within the build_action

* add flag to skip package zip creation

* rename skip-package flag to skip-archive

* rename rewritePackage to rewritePackageJson

* include lock and shrinkwrap files if they exist

* add test for skipping zip creation

* add some tests to build creation

Original commit: elastic/kibana-plugin-helpers@ef6b9c6332

* 6.0.0

Original commit: elastic/kibana-plugin-helpers@9ee7b62e75

* Update URLs in package.json (elastic/kibana-plugin-helpers#31)

The package.json URLs are still referencing @spalger's version, whilst development and collaboration happens on @elastic's version

Original commit: elastic/kibana-plugin-helpers@1f322c1cb1

* 6.0.1

Original commit: elastic/kibana-plugin-helpers@8eae537f9f

* [tasks/test/browser] fix --kbnServer.tests_bundle flag

Original commit: elastic/kibana-plugin-helpers@12e7552adb

* 6.0.2

Original commit: elastic/kibana-plugin-helpers@ff9d402245

* change let to var (elastic/kibana-plugin-helpers#35)

allow helpers to run on pre-6.0 node

Original commit: elastic/kibana-plugin-helpers@91de9a84d3

* Fix running tasks on Windows (elastic/kibana-plugin-helpers#37)

* create windows cmd wrapper

* use windows cmd wrapper on browser tests

* be explicit about the mocha command location

* use windows cmd wrapper on server tests

* use windows cmd wrapper on build

default to using npm as well

Original commit: elastic/kibana-plugin-helpers@35f80a08ce

* 6.0.3

Original commit: elastic/kibana-plugin-helpers@b4da11f899

* fix `build` task when yarn is not installed

Original commit: elastic/kibana-plugin-helpers@d48808f8d8

* 6.0.4

Original commit: elastic/kibana-plugin-helpers@0c0ee17a54

* Added helpers, KIBANA_ROOT environment override (elastic/kibana-plugin-helpers#41)

* run is now a named export, added helpers for interacting with the kibana repo

* [config] override the kibana root config with KIBANA_ROOT envvar

Original commit: elastic/kibana-plugin-helpers@54a38cd9a2

* bump to version 7 snapshot

Original commit: elastic/kibana-plugin-helpers@0c1b2c1670

* [utils] use actual plugin config (with defaults)

Original commit: elastic/kibana-plugin-helpers@f3bfdb2689

* require node 6 (elastic/kibana-plugin-helpers#42)

* switch to .node-version file

* require and validate node version 6+

Original commit: elastic/kibana-plugin-helpers@85655f230e

* Bump eslint rules, update code to match rules (elastic/kibana-plugin-helpers#43)

* bump @elastic/eslint-config-kibana and deps

* eslint --fix

* fix unused vars

some exceptions for tests

* move eslint-config-kibana to dev

* rename create_package function

* make .node-version looser, match internal checks

Original commit: elastic/kibana-plugin-helpers@6fac14bd51

* 7.0.0

Original commit: elastic/kibana-plugin-helpers@2ff10e0a45

* commit yarn.lock file

Original commit: elastic/kibana-plugin-helpers@22bc67e613

* [utils/babelRegister] add support for changes in elastic/kibana#13973

Original commit: elastic/kibana-plugin-helpers@13f30fb4d5

* 7.0.1

Original commit: elastic/kibana-plugin-helpers@abb99896ad

* Feat: add translations to default build source paths (elastic/kibana-plugin-helpers#48)

* feat: add translations path to build

included by default, to better match what's in the elastic products and even the plugin template

also add a translations path to the mock plugin for tests

* chore: add script to run tests with linting

Original commit: elastic/kibana-plugin-helpers@9871a4b11d

* chore: add yarn.lock file to repo

Original commit: elastic/kibana-plugin-helpers@4108fe6597

* v7.0.2

Original commit: elastic/kibana-plugin-helpers@dba9da1b3c

* Feat: add includePlugins setting (elastic/kibana-plugin-helpers#49)

* observe includePlugins setting

* fix: move resolve up to config parser

this ensures that the path is resolved relative to the plugin root

Original commit: elastic/kibana-plugin-helpers@fd07d617a4

* Fix: readme include docs (elastic/kibana-plugin-helpers#50)

* chore: add a simple version compat chart

* chore: document the settings and how to use them

* chore: use icon for license info

* chore: use matching badge for circleci status

Original commit: elastic/kibana-plugin-helpers@1f39e488a3

* v7.1.0

Original commit: elastic/kibana-plugin-helpers@11238b2697

* fix: read package file instead of using require

require uses a cache, so if the package.json file was changed before running build, the changes won't exist in the build runtime. using fs.readFileSync instead ensures that the information read from package.json is current.

Original commit: elastic/kibana-plugin-helpers@f78e891838

* v7.1.1

Original commit: elastic/kibana-plugin-helpers@b489c76b26

* Fix: Package use build target (elastic/kibana-plugin-helpers#52)

* fix: pass build target into package task

use the build target for the zip output

* chore: change up the npm scripts

* chore: add create package tests

* chore: update eslint deps

* chore: fix linting issues, add engines

Original commit: elastic/kibana-plugin-helpers@51058fb7fc

* v7.1.2

Original commit: elastic/kibana-plugin-helpers@e314c21bf3

* Use scripts/kibana instead of bin if available (elastic/kibana-plugin-helpers#53)

* Use scripts/kibana instead of bin if available

* semicolons

* Don't fallback to legacy bin/kibana start method

* chore: add 8.x version to compat chart

Original commit: elastic/kibana-plugin-helpers@fc72de53bd

* v8.0.0

Original commit: elastic/kibana-plugin-helpers@d538b32bc3

* chore: add kibanaRoot setting to readme

Original commit: elastic/kibana-plugin-helpers@3769efdb26

* [createToolingLog] update require path for toolingLog (elastic/kibana-plugin-helpers#54)

Original commit: elastic/kibana-plugin-helpers@d968819d09

* v8.0.1

Original commit: elastic/kibana-plugin-helpers@2663befdc4

* Add support for passing in node options via environment variable (elastic/kibana-plugin-helpers#56)

* Add support for passing in node options via environment variable

* Split node options

* semicolon

Original commit: elastic/kibana-plugin-helpers@3fc4ec0e87

* Update yarn.lock

Original commit: elastic/kibana-plugin-helpers@b3d62e5925

* v8.1.0

Original commit: elastic/kibana-plugin-helpers@fb979ff679

* Deprecate specifying kibana root location (elastic/kibana-plugin-helpers#59)

Original commit: elastic/kibana-plugin-helpers@385fdede72

* Remove kibanaRoot option, require kibana-extra (elastic/kibana-plugin-helpers#58)

* Remove kibanaRoot option, require kibana-extra

* Check location of Kibana on postinstall

* Fix eslint

* Remove 'process.env.KIBANA_ROOT'

Original commit: elastic/kibana-plugin-helpers@3511054dfb

* v9.0.0

Original commit: elastic/kibana-plugin-helpers@8d5af744bb

* [npm] upgrade gulp-zip (elastic/kibana-plugin-helpers#61)

Original commit: elastic/kibana-plugin-helpers@94e7530e76

* chore: ignore yarn.lock file

Original commit: elastic/kibana-plugin-helpers@9cad57cd97

* [npm] upgraded eslint-related deps (elastic/kibana-plugin-helpers#62)

* [npm] upgraded eslint-related deps

* [npm] reflect peer deps from @elastic/eslint-config-kibana

Original commit: elastic/kibana-plugin-helpers@1add265641

* v9.0.1

Original commit: elastic/kibana-plugin-helpers@140024adac

* [config] throw if config file has a syntax error (elastic/kibana-plugin-helpers#65)

Original commit: elastic/kibana-plugin-helpers@487dd70bdb

* v9.0.2

Original commit: elastic/kibana-plugin-helpers@3bd57fbe5e

* [kbn-plugin-helpers] remove redundant configs

* [kbn-plugin-helpers/yarn] add yarn.lock file

* run kbn-plugin-helpers tests on ci

* [plugin-helpers] remove keywords from package.json

* [plugin-helpers] rely on kibana eslint

* [plugin-helpers/eslint] remove unused vars

* [eslint] allow kebab-case in any bin directory

* [plugin-helpers] replace last few uses of old package name
2018-02-08 13:56:00 -07:00
jimgoodwin 0d1026c855 Release notes for 6.2.1 2018-02-08 08:41:22 -05:00
jimgoodwin 5eb11150a8 Release notes for 6.2.1 2018-02-08 06:51:38 -05:00
jimgoodwin e03469d684 Release notes for 6.2.0 2018-02-06 08:39:26 -05:00
Tim Roes 30cab80669
Remove Angular and vislib vis type docs (#16522) (#16532) 2018-02-06 13:44:21 +01:00
Thomas Neirynck 1748893ecd
Add enableLabs to docs (#16301) (#16401) 2018-02-05 12:57:00 -05:00
Lisa Cawley d990f26e50 [DOCS] Build Kibana Guide from kibana repo (#16450) 2018-02-01 10:42:50 -08:00
Court Ewing 2a927f2a4c docs: release notes for 6.1.3 2018-01-30 11:23:34 -05:00
Thomas Neirynck f056e3c26a
Add 'Enhanced Table' visualization plugin (#16181) (#16239) 2018-01-29 16:06:45 -05:00
Nathan Reese d8b3988140
add more details to range option (#16286) (#16352) 2018-01-29 10:01:51 -07:00
Court Ewing 9f76635fdf
Remove angular-translate (#13066) (#16015)
* remove angular translate

* remove angular-translate deps from yarn.lock
2018-01-27 10:47:35 -08:00
Nathan Reese febcb397da
documentation on how to create new Add Data tutorials. (#16257) (#16326)
* tutorial docs

* fixes from ycombinator review

* ElasticSearch -> Elasticsearch

* move out of style guide and into README under server/tutorials

* move to asciidocs

* add new line so list is rendered correctly

* changes from gchaps review
2018-01-26 16:00:23 -07:00
archana 12a7dc4143 [Docs] Append more explanation to Configuring Kibana (#15615)
* [docs] uniform colons

* [docs] Add more text about elasticsearch.ssl settings

* [docs] Add more text about elasticsearch.ssl.verificationMode setting

* [docs] spelling error

* [docs] clarify wording
2018-01-23 10:53:39 -06:00
lcawley 6b542fd717 [DOCS] Updated versions file used 2018-01-19 13:26:20 -08:00
jimgoodwin 22999fa883 Release notes 6.1.2 2018-01-15 19:24:55 -05:00
Yuri Astrakhan e9ff24872f
Migrating vega_vis from plugin (#15014) (#16035)
Large PR to migrate Vega plugin into the core.
https://github.com/nyurik/kibana-vega-vis

The code underwent a large number of changes and
reviews discussed in the PR thread:
https://github.com/elastic/kibana/pull/15014
2018-01-13 16:26:07 -05:00
Lukas Olson 9578180414 Merge remote-tracking branch 'upstream/6.x' into 6.x 2018-01-12 14:13:44 -07:00
Lukas Olson aaa5f569e6 Add advanced setting to control quick ranges (#15975)
* Add advanced setting to control quick ranges

* Fix test

* Add docs for quick ranges

* Remove comment
2018-01-12 14:13:17 -07:00
Spencer c2a611b956
[6.x] [docs/logging] document useUTC flag (#16018) (#16019) 2018-01-12 10:40:24 -07:00
Kim Joar Bekkelund 49d2ffd038
Updates for kibana-extra folder (#15471) (#15985)
* Update docs to handle kibana-extra

* Add info about plugin directory structure to docs
2018-01-11 21:18:30 +01:00
Kim Joar Bekkelund a817517574
[6.x] Switch to Yarn (#15485) (#15955)
* Switch to Yarn (#15485)

* switch to yarn

* cleanup misc references to npm

* [yarn] loosen dependency ranges so yarn will merge more deps

* fix linting error now that moment uses ESM

* [licenses] font-awesome changed the format of its license id

* Use local yarn

* Misc fixes

* eslintignore built yarn file

* Remove mkdir which doesn't do what it should do

* Check build without upgrading lots of versions

* Fix license check

* too many moments

* Better description

* Review fixes

* Lock to angular@1.6.5

* More specific version locks

* Revert "More specific version locks"

This reverts commit 11ef81102e.

* Revert "Lock to angular@1.6.5"

This reverts commit 3ade68c14c.

* rm yarn.lock; yarn

* Forcing a specific version of React, Angular, Moment

* Using vendored version of yarn in ci

* Use --frozen-lockfile

* fixes

* Update lockfile
2018-01-10 16:54:20 +01:00
Nathan Reese 45ce09c05c
add time to visualization status (#15856) (#15894)
* add time to visualization status

* account for custom time on visualization

* update docs
2018-01-08 10:55:00 -07:00
Walter Rafelsberger 6eee132f19
[DOCS] Add Kibana Milestones Visualization plugin to list of known plugins. (#15841) (#15858)
This PR adds a link to the Milestones Visualization plugin (https://github.com/walterra/kibana-milestones-vis) to the list of known Kibana plugins.
2018-01-05 12:31:53 +01:00
Matt Bargar 318fe724ae
Update known-plugins.asciidoc (#14370) (#15805)
Add my new plugin 'Markdown Doc View'. And add sign to my plugin 'Notification Center'.
2018-01-02 09:51:55 -05:00
Thomas Neirynck 0898e258de
Adding SPG Conveyor as a known Kibana plugin (#15772) (#15791) 2017-12-29 14:38:03 -05:00
Yuri Astrakhan 3edd4a87db
Doc fix: editorController -> editor (#15607) (#15705)
There is no `editorController` param in createBaseVisualization.
I think `editor` was meant instead.
2017-12-19 21:14:54 -05:00
Court Ewing 444b2b5dc6 docs: 6.1.1 release notes 2017-12-19 08:58:35 -05:00
Thomas Neirynck a03f0de88a
fixed param order (#15518) (#15596) 2017-12-13 16:14:32 -05:00
Matt Bargar 756df36f77
minor indent fix (#15520) (#15584) 2017-12-13 11:33:22 -05:00
jimgoodwin 046f616b3b Release notes 6.1.0 2017-12-13 09:24:27 -05:00
Thomas Neirynck b58beede63
Use async keyword instead of Promises (#15526) 2017-12-11 15:47:17 -05:00
jimgoodwin 2268054953 6.0.1 release notes 2017-12-06 11:42:53 -05:00
jimgoodwin ae724c886f Release notes for 6.0.1 2017-12-06 11:42:53 -05:00
Thomas Neirynck 1e2a8300f3
Region map settings clarifications (#14893) (#15421) (#15428)
* Region map settings clarifications (#14893)

Improve documentation.

This also includes some additions to clarify the new includeElasticMapsService setting.

It also fully qualify all parameter names.
2017-12-05 16:08:34 -05:00
Tim Roes b24ac9c814
Refactor and improve Visualize Loader (#15157) (#15362)
* Simplify promise setup logic

* Import template from own file

* Use angular.element instead of jquery

* Add documentation for loader methods

* Add params.append

* Remove params.editorMode

* Clarify when returned promise resolves

* Add element to handler

* Allow setting CSS class via loader

* Use render-counter on visualize

* Use Angular run method to get access to Private service

* Allow adding data-attributes to the vis element

* Refactor loader to return an EmbeddedVisualizeHandler instance

* Use this.destroy for previous API

* Remove fallback then method, due to bugs

* Reject promise from withId when id not found

* Add tests

* Change developer documentation

* Revert "Use Angular run method to get access to Private service"

This reverts commit 160e47d7709484c0478415436b3c2e8a8fc8aed3.

* Rename parameter for more clarity

* Add more documentation about appState

* Fix broken test utils

* Use chrome to get access to Angular

* Move loader to its own folder

* Use a method instead of getter for element

* Add listeners for renderComplete events

* Use typedef to document params

* Fix documentation
2017-12-05 12:56:19 +01:00
Kim Joar Bekkelund da5b9ef0f8
Deprecate --plugin-dir option in plugin installer (#15371) (#15378) 2017-12-04 20:42:34 +01:00
Kim Joar Bekkelund 60fd3d417b
No longer recommend manual plugin installs (#15366) (#15373) 2017-12-04 18:40:00 +01:00
Court Ewing fa3c2d5e83 Revert "Refactor and improve Visualize Loader (#15157) (#15359)"
This reverts commit bead35811f.

This backport was botched, so a bunch of inline diffs were committed.
2017-12-02 14:13:41 -05:00
Tim Roes bead35811f
Refactor and improve Visualize Loader (#15157) (#15359)
* Simplify promise setup logic

* Import template from own file

* Use angular.element instead of jquery

* Add documentation for loader methods

* Add params.append

* Remove params.editorMode

* Clarify when returned promise resolves

* Add element to handler

* Allow setting CSS class via loader

* Use render-counter on visualize

* Use Angular run method to get access to Private service

* Allow adding data-attributes to the vis element

* Refactor loader to return an EmbeddedVisualizeHandler instance

* Use this.destroy for previous API

* Remove fallback then method, due to bugs

* Reject promise from withId when id not found

* Add tests

* Change developer documentation

* Revert "Use Angular run method to get access to Private service"

This reverts commit 160e47d7709484c0478415436b3c2e8a8fc8aed3.

* Rename parameter for more clarity

* Add more documentation about appState

* Fix broken test utils

* Use chrome to get access to Angular

* Move loader to its own folder

* Use a method instead of getter for element

* Add listeners for renderComplete events

* Use typedef to document params

* Fix documentation
2017-12-02 11:36:01 +01:00
Tyler Smalley 4ae2610765
Uses inline script for re-index (#14982)
While still working in 6.0, this has improved backwards compatibility with ES 5.x.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2017-12-01 12:59:09 -08:00
lcawley 8ac2661b67 [DOCS] Updated version to 6.2 2017-11-22 09:13:00 -08:00
Peter Pisljar d68bc2aedb
Introduce lab mode for visualizations (#15050) (#15092)
* apply patch

add styling

remove cruft

split up concept of experimental and labs

adjust wording

* improve wording

* improve wording & punctuation. remove concept of feedback-url

* remove duplicate labeling between labs/experimental; resolve some typos

* merging isExperimental and isLabs flags to a stage setting

* adding the option to override feedback message back (and improving it)

* updating the docs

* change text labs to lab

* visualize:enableLabsVisualizations to visualize:enableLabs

* fixing github link
2017-11-21 22:11:22 +01:00
Peter Pisljar 9c1f955a35 extending and updating documentation for visualize (#14441)
* extending and updating documentation for visualize

* updating based on review
2017-11-21 20:57:27 +01:00
Peter Pisljar 39b14bed02 adding documentation for visualization development (#14252)
* adding documentation for  visualization development
2017-11-21 20:54:54 +01:00
Peter Pisljar 37682b7074
Improve Region Maps for use without network connection (#15056) (#15074)
* enable turning on/off of warnings

* add tooltip

* add server setting so users can opt out of connecting to the EMS service

* replace WMS options with custom directive, so we can reuse it in region maps

* add wms settings form to Region Map

* no need to recreate map after leaflet upgrade

* add WMS map to region map

* linting issues

* fix rebase

* improve wording

* add global config

* fix typo
2017-11-21 09:08:03 +01:00
lcawley a2976008a2 [DOCS] Moved X-Pack Breaking Changes section 2017-11-15 16:16:04 -08:00
Lisa Cawley cb91c1ab99 [DOCS] Remove X-Pack release note reference (#14983) 2017-11-15 16:01:33 -08:00
Tyler Smalley 9ba63d1b1a
Revert "[docs] Enforce a single type for migrated Kibana index (#14884) (#14962)
index.mapping.single_type is only available in 5.6
2017-11-15 13:28:58 -08:00
lcawley 939d08c7bc [DOCS] Fixed broken link in tilemap.asciidoc 2017-11-13 19:47:45 -08:00
Court Ewing f5ea01d97d
docs: list breaking change sections (#14932) 2017-11-13 20:59:17 -05:00
Court Ewing 628d0cd194 docs: fix erroneous references to es-ref 2017-11-13 20:26:32 -05:00
Court Ewing 116ed38a14
docs: 6.0.0 release notes (#14927) 2017-11-13 20:13:25 -05:00
Tyler Smalley 6355b12a46
[docs] Enforce a single type for migrated Kibana index (#14884)
This prevents users from using tools which insert dashboards/visualizations directly into the index, which would cause Kibana to stop functioning.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2017-11-13 14:39:44 -08:00
Alex F a6fe72efb6
Details in Kibana types 2017-11-13 16:00:22 -05:00
Tyler Smalley 3dff020add Adds keystore for securely storing settings (#14714)
Introduces bin/kibana-keystore providing create, list, add, and remove actions.

Settings stored within the keystore will be loaded at runtime.

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2017-11-13 10:25:33 -08:00
Tyler Smalley 9b1ae201b6
Notice regarding index.format in manual re-index steps (#14828)
This setting is not available until 5.6. Users are technically able to re-index against a previous version. If a user manually migrates their index without this setting and visits the Upgrade Assistant in 5.6, Kibana will still be shown as needing to be re-indexed, however it will fail with "Index .kibana-6 already exists. There may be an unfinished task reindexing to this index, or this index may have not been cleaned up previously."

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2017-11-09 10:26:24 -08:00
Alex F 929e671e6c
Update migrate_6_0.asciidoc (#14854) 2017-11-08 11:54:55 -05:00
Alex F ff02816fea
Update migrate_6_0.asciidoc (#14843) 2017-11-08 08:07:49 -05:00
Toby McLaughlin ee65a42e11 [docs] Dehyphenate "open-source" in Docker docs (#14835) 2017-11-08 16:33:24 +11:00
Spencer 4a5ba237df
[6.x] Upgrade to webpack 3 (#14315) (#14824)
* [timelion] remove last remaining amd modules

* [eslint-config-kibana] remove env.amd

* [webpack] use absolute loader names

* [webpack] remove absolute node_modules/ imports

* [webpack] upgrade to webpack 3

* [uiFramework] make webpack build compatible with v3

* [eslint-import-resolver] use https://github.com/elastic/eslint-import-resolver-kibana/pull/21

* [baseOptimizer] don't break when pkg has no dependencies

* [optimize] remove unnecessary json-loader

* [optimize] remove local references to webpack vars

* [eslint] upgrade to eslint-import-resolver-kibana 0.9.0

* [baseOptimizer] comment tweaks

* [baseOptimizer] remove loader pinning

In webpack 1 the loaders defined here were resolved relative to the file they were going to load, which meant that plugins in other projects could accidentally overwrite the loaders Kibana was trying to use, which is why the aliases were used to enforce proper resolution.

In webpack 2 loaders are now resolved relative to the webpackConfig.context, which is set to the root of the Kibana repo. See https://webpack.js.org/configuration/module/#useentry

* [webpack] rely on kibana webpack shims before checking node_modules

(cherry picked from commit f60639fccb)
2017-11-07 15:54:48 -07:00
Toby McLaughlin f2cd26ae73 Docker docs v6 (#14683)
Update Docker docs for 6.0.0 and image flavours

* Use Compose v2 in Docker examples

* Use US spelling in Docker docs

* Link to www.docker.elastic.co in docs
2017-11-02 15:41:27 +11:00
jimgoodwin b9ac291681 Kibana Release Notes for 6.0.0-rc2 2017-10-31 09:43:45 -04:00
Thomas Neirynck 13fbbcf410 Improve docs on spatial reference requirements (#14422) 2017-10-11 15:35:20 -04:00
Court Ewing f0b280b70d docs: 6.0.0-rc1 release notes 2017-09-28 11:35:48 -04:00
Court Ewing 970c577684 docs: 6.0.0-beta1 and 6.0.0-beta2 release notes 2017-09-28 11:35:33 -04:00
Tyler Smalley 3987888988 [docs] Updates Connect to ES to reflect Index Pattern wizzard (#13918) 2017-09-25 20:19:32 -07:00
Yuri Astrakhan 1d1ae9c37b Adds Vega-based visualizations to Known Plugins list (#14062) 2017-09-20 13:01:05 -07:00
lcawley 562bac4794 [DOCS] Added index-shared6.asciidoc 2017-09-19 10:42:55 -07:00
Lisa Cawley b015ed7dd6 Add links to X-Pack release notes (#13630)
* [DOCS] Add links to X-Pack release notes

* [DOCS] Added breaking changes for X-Pack
2017-09-19 10:14:39 -07:00
Court Ewing 652ba28d91 docs: add dendogram to known-plugins 2017-09-19 10:15:43 -04:00
sw-jung 77aeedc8fa Update known-plugins.asciidoc (#13701) 2017-09-18 14:39:45 -04:00
Tyler Smalley 40d95e4ee8 Sets index.mapper.dynamic: false for new migrated index (#14006)
We must ensure errors produced when multiple types are used in order to fall back tothe v6 format of a single type

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2017-09-14 17:32:58 -07:00
David Moreno Lumbreras c288e54ae0 Add new plugin "Dotplot" to known plugins 2017-09-13 12:11:09 -04:00
Jonathan Budzenski 4890a68eec
[docs] Sort settings page (#13514)
* [docs] Sort settings page

* Fix path.data
2017-09-12 13:03:45 -05:00
archana 4f86b1fe95 Updates to Upgrade Kibana docs for 6.x+ (#13897) 2017-09-11 10:40:36 -05:00
Court Ewing 96a25b6aea Revert "Links Upgrade Assistant (#13893)"
This reverts commit 572917b908.

Docs links in the reverted commit are invalid and were breaking docs
builds.
2017-09-07 21:51:12 -04:00
Tyler Smalley 572917b908 Links Upgrade Assistant (#13893)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2017-09-07 15:15:41 -07:00
Court Ewing f29abf1eaf docs: remove reference to ES host input in console
There is no feature in console to input a generic URL for Elasticsearch
cluster access. This was an accidental carryover from sense.
2017-09-01 08:19:37 -04:00
Jonathan Budzenski d68383578e
[docs] Add path.data to setup instructions (#13513)
* [docs] Add path.data to setup instructions

* [docs] Add path.data to rpm and deb table
2017-08-31 10:18:18 -05:00
Jonathan Budzenski cc0cef43b6
[docs] Remove .kibana dynamic mappings section (#13671) 2017-08-31 10:08:08 -05:00
Tyler Smalley 220b39f7ec [docs] Manually migrating Kibana index (#13696)
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2017-08-30 20:52:30 -07:00
Johnny Lim 15ca7312c1 Fix extracted Kibana directory names in doc (#13658) 2017-08-30 15:02:23 -07:00
jerenmb 2799a3fbcb Spelling corrections (#11908) 2017-08-30 10:53:35 -04:00
archana e672b3f49c Complete doc on running functional tests (#13035)
* Complete doc on running functional tests

* Update development-functional-tests.asciidoc

* Fix section title
2017-08-29 16:51:50 -05:00
Matt Bargar b942987fed Check sort:options for Discover default sort order (#13708) (#13763)
* Check sort:options for Discover default sort order

I went back and forth on a lot of different solutions for this.

Initially I thought it would make sense to just allow users to set a
default saved search in Discover. There were some problems with that
approach though. It would change the default workflow in Discover.
Instead of starting with an unsaved search, users would be editing a
saved search by default. I could see this leading to a lot of
unintentional changes to the default. The settings from the default
saved search also wouldn't carry over to new searches, which I think
would be desirable most of the time.

I also considered adding a new advanced setting for specifying a default
sort field/direction. This kind of setting would make more sense at the
index pattern level though. One field may not be valid across all index
patterns.

So I ended up going with the simplest solution. It solves the issue
identified by the author of the linked issue and nothing more. If a sort
order is specified in the existing sort:options advanced setting, we'll
use that direction when sorting on the index pattern's timestamp field
by default.

Fixes https://github.com/elastic/kibana/issues/5164

* Create a new advanced setting instead of re-using sort:options

* Just pass a default order
2017-08-29 17:07:12 -04:00
Lukas Olson 1625f64013 Re-enable filter editor suggestions (#13376)
* Re-enable filter editor suggestions

* Use search instead of include

* Escape query

* Show spinner

* Use include rather than search

* Add additional regex and explanation for parameters

* Add suggestions API test

* Make sure test actually runs

* Use send instead of query

* Fix suggestions API test
2017-08-25 16:43:45 -07:00
Nathan Reese f8f25d999b Upgrade kibana to leaflet 1.x (#12367) (#13688)
* upgrade leaflet modules to 1.x latest

* fix css for leaflet controls

* update draw options so it is easier to see polygon when drawing

* fix chrome touch issues with closing polygon in leaflet draw

* use canvas renderer

* use leaflet-responsive-popup to avoid tooltip cutoff

* remove radius configuration from leaflet heatmap

* make blur a factor of radius. Set maxZoom to map zoom since new values are calculated per precision

* use _.get to avoid error, cannot read property of undefined

* add cluster size slider

* experiments with image differences

* onload not onLoad

* use canvas dimensions

* compare map canvas to stored PNG of map canvas

* remove pixelmatch from project dependecies

* fix broken test - rounding error

* add expected image tests for geohash layers shaded circles and geohash grids

* bump z-index of vis-spy

* update functional test expected data

* update to leaflet 1.2.0

* revert to leaflet 1.0.3 and update expected data set for map functional tests

* test geohash_layer heatmap in unit test

* update region_map functional test since it can not longer pluck map vectors from DOM

* update documentation
2017-08-24 11:47:39 -06:00
Nathan Reese 37a63e5462 Replace "marked" with "markdown-it" (#13623) (#13667)
* add markdown functional test

* update markdown vis to use markdown-it

* migrate markdown angular filter to markdown-it

* place other uses of marked and remove dependency

* update breaking changes documenation and set linkify to true
2017-08-24 07:45:59 -06:00
Thomas Neirynck 1eb07a925f Add interval doc (#13629) 2017-08-22 23:53:01 -04:00
Johnny Lim c50cf24bad Use "curl -O" for Darwin (#13602) 2017-08-22 17:48:24 -07:00
Matt Bargar 9350243dc0 Emphasize important difference between Kuery and Lucene query syntax (#13592) (#13594)
Fixes #13563

Brings additional attention to the fact that Kuery uses implicit ANDs whereas Lucene query syntax uses implicit ORs, which could confuse users if they're not aware of the difference.
2017-08-18 16:47:28 -04:00
Lisa Cawley 5f1ed9f825 [DOCS] Use shared versions file for doc builds (#13277)
* [DOCS] Use shared versions file for doc builds

* [DOCS] Address feedback in index-shared1.asciidoc
2017-08-11 14:02:35 -07:00