Commit graph

737 commits

Author SHA1 Message Date
Tim Roes cb8fcdca16
Update destroy documentation of vis loader (#21649) 2018-08-06 12:02:23 +02:00
DeDe Morton 0939151c38
[Docs] Light edit to docker content (#21240) 2018-08-02 15:53:22 -07:00
Søren Louv-Jansen 2ad265b73f
[APM] Document APM config settings (#21492)
* [APM] Document APM config settings

* Don’t discern between OSS and xpack config options

* Change to apm_oss

* Reword docs
2018-08-01 15:24:34 +02:00
Chris Earle 30d4e70507
[Monitoring] Remove node_resolver Setting (#21181)
This is a breaking change that removes the
`xpack.monitoring.node_resolver` setting. This setting was deprecated in
5.6, and in 6.1 the setting was limited to `uuid` explicitly. Beginning in
7.0, after this is merged, the setting will no longer exist.
2018-07-27 17:42:21 -04:00
Lisa Cawley ed40c349a9
[DOCS] Augments job validation tips (#21184) 2018-07-27 08:46:32 -07:00
Stacey Gammon f471aaadf5
bump reporting timeout (#20833) 2018-07-24 14:36:33 -04:00
archana d1cb0a44f5
Deprecate test:ui commands (#21092)
* Deprecate test:ui commands
2018-07-23 14:48:27 -05:00
gchaps a9e79716d3 [DOCS] GS: Added note about hosted Kibana (#21037) 2018-07-23 12:38:23 -07:00
Peter Hampton 92cc522e02 [pjh] Add prometheus exporter to the list of plugins (#21009)
(cherry picked from commit 73198e3d12)
2018-07-20 11:04:29 -07:00
Nick Peihl bea8bb4dda
Add link to maps.elastic.co to region maps docs (#20645) 2018-07-17 07:59:47 -07:00
debadair c488f7edc1
[DOCS] Tweaked Elasticsearch Service links for SEO 2018-07-16 13:19:05 -07:00
gchaps b872983811
[DOCS] Update Managing Indices w/ info about security (#20632)
* [DOCS] Update Managing Indices w/ info about security

* [DOCS] Incorporated review comments for indices management doc

* [DOCS] Incorporated review comment re: security enabled
2018-07-13 08:31:14 -07:00
Clinton Gormley d769f270fa Docs: Updated styling of cloud link in installation 2018-07-13 16:04:46 +02:00
gchaps 4ef3c5a9e0
[DOCS] Dashboard-only-mode: Update to match UI (#20734)
* [DOCS] Dashboard-only-mode: Update to match UI

* [DOCS] Incorporated review comments, added note about data access
2018-07-12 16:10:34 -07:00
Clinton Gormley 047e003e91 Docs: Added cloud link to install docs 2018-07-11 20:25:18 +02:00
gchaps c6828d6388
[DOCS] Visualize: Fix wording in Inpsector doc] (#20597) 2018-07-11 10:15:27 -07:00
Lisa Cawley 71b1dc67d3
[DOCS] Removes alternative docker pull example (#20624) 2018-07-11 09:05:15 -07:00
gchaps 676c0bdc9e
[DOCS] Dashboard: Includes Add Panel and Inspector (#20582)
* [DOCS] Dashboard: Includes Add Panel and Inspector

* [DOCS] Dashboard: Incorporated review comments
2018-07-10 15:08:29 -07:00
Nathan Reese 2084842e36
Add _bulk_create endpoint to /api/saved_objects (#20498)
* add _bulk_create rest endpoint

* document bulk_create api

* provide 409 status code when conflicts exist

* add overwrite and version to documenation

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

* properly stub bulkCreate return

* remove version of documenation example
2018-07-10 07:38:39 -06:00
Peter Pisljar dfeb947d20
update visualize development docs (#20507) 2018-07-09 22:37:55 +02:00
gchaps 405ddc0ba1
[DOCS] Management: Updated Saved Obects to include index patterns and reflect new UI (#20432) 2018-07-09 12:41:45 -07:00
gchaps be6b6ca713
[DOCS] Management: Updated Watcher docs to show new buttons (#20446) 2018-07-09 09:59:34 -07:00
Lisa Cawley 27a0ef3fb8
[DOCS] Adds config file location (#20421) 2018-07-03 13:32:49 -07:00
Lisa Cawley 5c32523cd9
[DOCS] Starting and stopping Kibana (#20354) 2018-07-03 11:30:08 -07:00
Nick Peihl d7af695564
Add distinct links and float tags to Region Map docs (#20361)
The float tags are required here to keep the subheadings on the same
page in the website. And, since link tags are global, we need to give them unique
names to avoid cross-linking errors.

These changes need to be backported to all 6.X releases.
2018-07-03 10:07:27 -07:00
Casper Hübertz 6e2de2e33d
[DOCS] Updating APM UI documentation (#19946)
Adding new documentation about the APM UI and definitions of terminology and more.

* Images added to docs

* Adding Using APM UI page contents

* Including new APM UI page

* Updated Watcher copy

* Copy feedback from @gchaps
2018-06-29 10:45:19 +02:00
Lisa Cawley 6b690d7d1c
[DOCS] Fixes license expiration info (#20316) 2018-06-28 15:26:09 -07:00
Lisa Cawley 49c175afe0
[DOCS] Clarified X-Pack features in trial (#20271) 2018-06-27 11:12:58 -07:00
Josh Soref 2b27fb1c5f Fix misspellings (#19981) 2018-06-26 20:17:41 -07:00
Tim Roes 2885e871e3
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
2018-06-20 11:07:44 +02:00
lcawl 92245ac688 [DOCS] Removes 6.0 breaking changes page 2018-06-19 15:16:51 -07:00
wispxjtu 0945154302
Code example miss single quotes (#19783) 2018-06-18 11:12:54 -05:00
Larry Gregory efc97a7ad0
Add plugin disclaimer (#19989)
Adds a disclaimer to the Known Plugins section of our documentation, which notes that we do not evaluate them.
2018-06-18 10:49:45 -04:00
lcawl f1d64593ca [DOCS] Adds links to release notes and highlights 2018-06-15 11:12:29 -07:00
Varun Sharma 9677b555c3 [Docs] Adds Dropdown Plugin (#19889) 2018-06-15 13:05:24 -04:00
Shaunak Kashyap 4dcb27df2b
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 17:29:39 +05:30
Toby McLaughlin 92c9ad7276
[DOCS] Update Docker config steps for open X-Pack (#19486) 2018-06-04 10:37:26 +10:00
Aaron Caldwell 8f206db2c5
Feature/align map config settings (#19450)
* 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-05-31 13:57:44 -06:00
lcawl f6944a7236 [DOCS] Fixes link to X-Pack settings 2018-05-31 11:14:59 -07:00
gchaps 94de950ddb
[DOCS|Monitoring] Added text about first time opening Kibana Monitoring (#19460)
* [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 08:16:31 -07: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
Lisa Cawley 8a2cdaedcd
[DOCS] Moves security folder to docs folder (#19514) 2018-05-30 07:37:20 -07: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
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
Lisa Cawley 93cf017b62
[DOCS] Move ml folder to docs (#19512) 2018-05-29 15:46:35 -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
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
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
Lisa Cawley e6adeae40c
[DOCS] Adds release highlight pages (#19333) 2018-05-23 08:59:44 -07:00
Deb Adair 0485ebb7c7 [DOCS] Fixed broken xref. 2018-05-22 13:59:21 -07:00
debadair 12e95f6b8f [DOCS] Added float/anchor tags to explicitly define page names (#19288) 2018-05-22 13:59:05 -07:00
Lisa Cawley c2e91e6d7b
[DOCS] Clarifies encrypting communications in Kibana (#19155) 2018-05-22 10:51:25 -07:00
gchaps cae8681a1c
[DOCS|Dashboard] Updated images and text to match UI (#19149)
* [DOCS|Dashboard] Updated images and text to match UI

* [DOCS | Dashboard] Incorporated review comments

* [DOCS | DASHBOARD] Incorporated more review comments.
2018-05-21 16:48:22 -07:00
gchaps a5c783cc59
[DOCS|Management] Added page for License Management] (#19220)
* [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 12:35:13 -07:00
Lisa Cawley d11b5aae9a
[DOCS] Removes redundant index.asciidoc files (#19192) 2018-05-18 11:50:51 -07:00
Spencer c6112067fc
[typescript] add typescript support for the server and browser (#19104)
* [typescript] add typescript support for the server and browser

* [ts-jest] upgrade to latest version

* [jest] support test.tsx files

* [jest/ts] modify `ts-jest.tsConfigFile` config based on filePath

* [types] use correct major version of minimatch types

* [jest] add ts support to x-pack jest config

* [ts/projects] fix tsconfig.json not found error message

* [optimizer/ts] use lowercase jsx option

* [tsconfig] remove ui/* alias

* [plguin-helpers] remove mention of `buildSourcePatterns`

* [plugin-helpers] expect typescript to be a devDep

* [dev/build] place transpile tasks next to each other

* [ts/x-pack] add common and server directories to ts project

* [dev/ts/project] use a limited set of globs to find tsconfig files
2018-05-18 10:54:57 -07:00
Deepansh Bhargava dcd03eaadc Data visualization is mentioned in the documentation of Viewing Field Stats in master branch (#16863) 2018-05-18 12:51:01 -04:00
Lisa Cawley 01bc401822
[DOCS] Cleans up X-Pack references in Kibana User Guide (#19150) 2018-05-17 09:31:23 -07:00
Tim Roes e46f0e8b65
Add TSVB table to docs (#17835)
* Add TSVB table to docs

* Change according to review
2018-05-17 11:03:49 +02:00
gchaps 2bcb0d2975
[DOCS: Getting Started] Edited text and updated screenshots] (#18699)
* [DOCS: Getting Started] Edited text and updated screenshots]

* [DOCS|Getting Started] Edited for consistency in addressing the user

* [DOCS|Getting Started] Incorporated review comments

* [DOCS|GS] Style changes for consistency
2018-05-14 13:54:23 -07:00
Nathan Reese 4a86a8042a
enhance index pattern delete documenation (#19007)
* 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 08:38:16 -06:00
Natalie 22aa46e850 Update Defining Your Index Patterns page (#14117)
* Update define index tutorial

* Rename Create->Next step
2018-05-10 16:35:53 -07:00
Matt Bargar abc2a5c4a3
Remove default_field from query:queryString:options (#18966) 2018-05-10 17:37:00 -04:00
Varun Sharma a6e404c034
Adds Navigation Plugin (#18971)
This visualization is used to dynamically show dashboard links within dashboards to facilitate better navigation.
2018-05-10 15:59:21 -05:00
Jen Huang 1259007745
Advanced Settings to React/EUI (#17465) 2018-05-07 12:48:27 -07:00
Lisa Cawley 6a8c31ab5f
[DOCS] Adds changelog to Kibana User Guide (#18698) 2018-05-04 09:44:16 -07:00
Kelly Murphy 36a1820037
[Docs] Kibana settings to ECE (master) (#17369)
* References

These references will allow the ECE documentation to link directly to the supported settings.

* Supported on ECE notes

* Self-edit
2018-05-02 12:23:36 -05:00
lcawley 2992cd2569 [DOCS] Removes X-Pack plugin info 2018-04-30 14:00:18 -07:00
truman.p.du af31d62e5c 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:37:26 -05:00
Fabien Baligand c170388847 add doc for environment variable injection (#17833) 2018-04-25 17:18:06 -05:00
Lisa Cawley ce039a4da9
[DOCS] Adds new installation package details (#17781) 2018-04-24 23:14:33 -07:00
Jenkins CI fe4609647d Migrate x-pack-kibana source to kibana 2018-04-24 13:48:10 -07:00
markwalkom e0decf6d0b
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:57 -05:00
Brandon Kobel 97df91f36f
Revert "Support PKCS#12 encoded certificates (#17261)" (#17801)
* Revert "Support PKCS#12 encoded certificates (#17261)"

This reverts commit de91bd0f09.

* Fixing tests
2018-04-19 14:35:06 -04:00
Court Ewing e0424608a6
docs: pull request review guidelines (#17101)
Outlines the general goals/philosophy behind our pull request review
process.
2018-04-19 12:36:37 -04:00
gchaps ca8fb2b065
[DOCS] Minor changes to Advanced Settings and Featured Visualizations (#17778) 2018-04-18 14:40:20 -07:00
Fabien Baligand aaf2f1113b
fix plugin.js link (#17710) 2018-04-18 15:08:57 -05:00
Lee Drengenberg 842ed488c5
Support 1 Kibana and 1 Elasticsearch URL as input params (#9760)
* 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-04-18 13:18:56 -05:00
Tim Roes 7db1252eca
Remove filterManager and kuery from vis.API (#17659) 2018-04-16 14:18:15 +02:00
gchaps 8009b98014
Fixed hierarchy for Vega documentation (#17691) 2018-04-13 08:32:49 -07:00
gchaps 6c1bf403e2
[DOCS] In Vega, fixes broken links and adds vega.enableExternalUrls (#17646) 2018-04-11 09:49:13 -07:00
Yuri Astrakhan 3a29e18504
Added Vega interactive map support (#16512)
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-06 23:09:41 +03:00
Jaspal Chauhan 5b94f73eb6 Add /api/status endpoint to docs, fixes #16690 (#16798)
* Add /api/status endpoint to docs, fixes #16690

* Remove period from note
2018-04-04 15:47:57 -07:00
Larry Gregory de91bd0f09
Support PKCS#12 encoded certificates (#17261)
Support for PKCS#12 encoded certificates
2018-04-04 10:29:31 -04:00
Matt Bargar 7c8f4d8c9b
Bring back shard timeout (#17420)
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-03 16:55:10 -04:00
Jonathan Budzenski b88ce065cd
[docs] sha1 -> sha512 (#17478) 2018-04-03 10:13:53 -05:00
Thomas Charlot caff766f1c Add entry for datasweet formula plugin (#16868) 2018-04-03 08:30:39 -04:00
Pius b3b2ff5865
Fixed ccs syntax (#17050)
cluster_one,cluster_two:logstash-* should be cluster_one:logstash-*,cluster_two:logstash-*
2018-03-30 12:47:01 -05:00
gchaps b64c092944
[DOCS] Added experimental tag (#17461) 2018-03-29 13:20:46 -07:00
Chris Nelson 106b769f71 Add audio type to Url field formatter (#17422) 2018-03-29 15:42:50 -04:00
Matt Bargar 811d21148b
Don't apply query:queryString:options to query_string filters (#15640)
Lukas and I chatted over Slack and we both agreed it didn't really make sense to apply query:queryString:options to query_string filters. If someone is using the advanced query DSL editor to create a query_string filter they probably want full control over it.

This is a breaking change so it will only go in 7.0. In 6.x users should use one of the workarounds.
2018-03-29 13:57:16 -04:00
Thomas Neirynck ac0a496c70
Add missing EMS-param to docs (#17372) 2018-03-26 12:15:00 -04:00
truman.p.du fa62ad0913 add Indices View plugin (#16858)
add Indices View plugin
2018-03-26 11:39:41 -04:00
Tim Roes a2fd080bf4
Fix visualization individual timeranges (#17123)
* Fix visualization individual timeranges

* Make Vega request handler use passed in timeRange

* Remove unneeded private variable

* Use timeRange for courier caching check

* Fix developer documentation

* Fix date_histogram

* Fix issue

* Fix broken tests

* Fix issue in discover visualization

* Fix vega tests

* Fix issue with saved search visualizations

* Update timeRange correctly in editor
2018-03-25 20:27:08 +02:00
Deb Adair cdfe716f0d [DOCS] Fixed rendering of video link to vega intro. 2018-03-22 20:19:27 -07:00
Matt Bargar aeaf57dd97
Add query enhancements opt-in switch to query bar (#17232)
Makes our language updates more visible to users and removes mentions of Kuery as a separate language. Users still get the old lucene experience by default, but have the option to opt-in to "experimental query features" directly in the query bar. Goal is to get more feedback by making these new features more prominent and less of a jump from lucene.
2018-03-22 15:47:52 -04:00
Lukas Olson 0f00c23a68
Kibana query language autocomplete (#15945)
* First stab at refactoring typeahead

* Don't double submit on enter

* Add item templating

* Introduce simple kuery language

* Rename to kql and add modules

* Update KQL syntax

* Automatically insert matching pairs

* Don't match quotes after alphanumeric chars

* Get field and value suggestions

* Remove accidental changes

* Remove unnecessary test

* Don't submit on enter

* Fix typeahead

* Suggest matching recent searches

* Suggest operators

* Suggest conjunctions

* Use template, separate suggestions into separate modules

* Whoops, add this module back

* Add clarifying comment

* Fix history log key

* Don't update suggestions on every key press

* Fix key handling

* Update terminology to be clearer

* Fix typo

* Simplify building of nodes

* Don't always hide on submit

* Check items exists

* Add icon directive which wraps EuiIcon.

* kql design start

* remove comment bits

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

* Add test

* Put persistedLog on scope so it can be tested

* Fix typos

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

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

* Build nodes with arg nodes instead of args themselves

* Add support for exact phrase search for quoted values

* Update typeahead items when language changes

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

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

* Add wildcard field support to range query

* Remove range support for wildcard values

* Remove KQL as a separate language

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

* Fix typeahead behavior

* Update conjunctions

* Use scope apply

* Suggest conjunctions after ranges

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

* test updates

* Removing unused serializeStyle and toKueryExpression, updating tests

* Fix functional test

* Fix typo

* Show fields that match in any part of the name

* Alter order of operators

* Preserve focus after selecting by click

* Ports tests for `fromKueryExpression` to `fromKqlExpression`

* More KQL syntax tests

* Suggest conjunctions after ranges

* Fix suggestions inside parens

* fromLiteralExpression tests

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

* tests for getFields

* Case insensitive search for field names

* update tests for is.js

* add wildcard fieldname test for range.js

* Fix removed div

* Fix line spacing for autocomplete suggestions

* Fix conjunction suggestions with escaped preceding literals

* Escape special characters in fields and values

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

* Update icons

* Sort prefix first

* Simplify cursor detection and suggest booleans

* Use quotes for suggested values

* get rid of references to KQL

* Don't show errors from parsing

* That didn't even exist

* Use config to determine if values are suggested

* Update suggestions on home/end

* remove hack

* Update reference to kql

* Suggestions for quoted values

* Clean up grammar

* Better support for cursor inside spaces

* Create grunt task to generate parsers from peg files

* Simplify wildcard handling

* Don't filter out the exact fields/values

* Update parsing modules

* Fix peg task

* Make operator syntax more visible

* Update OR verbiage

* Simplify and improve match pairs

* Revert "Simplify wildcard handling"

This reverts commit 915861beab.

* Support escaped backslashes inside quoted strings

* Support escaped keywords

* Remove lodash dependency cuz w33ble

* Escape user input and fix conjunction description

* Clear suggestions after submitting

* Fix insertion of suggestion to account for selection

* Remove unnecessary?

* Remove extraneous file

* Better name for method

* Move functions out of event handler

* Don't wrap result in promise

* Don't show kuery suggestions for lucene

* some cleanup and polish for kql autocomplete

* Omit description completely for values

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

* Submit recent search suggestions on select

* Scroll selected suggestion into view

* Better handling of key events and hiding typeahead

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

* Only update suggestions if not submitting

* Hide suggestions on focus

* Simplify wildcard (again)

* Fix console error

* Remove references to kql

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

* Memoize value suggestions

* Debounce model updates

* Add tests for suggestion providers

* Add setting and docs

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

* Better handling of suggestion clicks

* Dedup suggestions

* Sort keywords first

* Fix value suggestions memoizing

* Check if query exists

* Reduce size of dialog and fix ranges

* Create grunt task to generate parsers from peg files

* Lazy load typeahead items

* Fix wildcard tests

* Fix value suggestion tests

* Fix typeahead tests

* Fix value suggestion memoize resolver

* Leave comment

* Add a ttl for the value suggestion resolver

* Move grunt config to config/

* Bargs can suck it

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

* Fix tests
2018-03-22 08:51:35 -07:00
CJ Cenizal f6ac21a5f4
Add link to the EUI docs to Kibana docs (#11835)
* Add 'Developing Plugins' section to the docs, with a link to the EUI Framework docs.
2018-03-21 14:16:32 -07:00
Lee Drengenberg db84d62faf
Getting Started - Shakespeare (#16827)
* 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 15:42:48 -05:00
Lisa Cawley 42af0fcde9
[DOCS] Added monitoring upgrade details (#17138) 2018-03-14 13:18:53 -07:00
Glen Smith 66160e6447 Clarify how settings are applied once in keystore (#16902) 2018-03-12 16:39:30 -05:00
lcawley 17efd52255 [DOCS] Added section header 2018-03-09 08:57:38 -08:00
Maxime Veber 8d6f3e8e86
Fix wrong link to kibana docker repository (#16570) 2018-03-08 10:52:34 -06:00
David Moreno Lumbreras 6dd3a08146
[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:38 -06:00
Lukas Olson e9ff31f185 Update Kuery Syntax (#15857)
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 08:29:34 -08:00
Jun Ohtani d0a7a6c8cf
Add _analyze UI link (#16331) 2018-03-06 22:54:27 -08:00
Smeds ce2bb4be0c I added information about status light plugin. (#16571)
* I added information about status light plugin.

* Remove trailing ".git" from url.
2018-03-03 12:01:42 -08:00
Tim Roes 691d964d72
Fix update status documentation (#16885) 2018-02-23 10:40:07 +01:00
Anshita Vishwakarma 32e6cc3f3b Beta tag removed from Kibana-CCS Integration in master branch (#16847) 2018-02-21 17:26:59 -07:00
Spencer 1516e0703c
[server/rewriteBasePath] Support rewriting basePath requests (#16724)
* [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 12:36:19 -07:00
Matt Bargar 6caf0f6217
fix command 2018-02-16 11:20:50 -05:00
Spencer 2c7a1f34cb
[kbn-plugin-generator] add plugin generator to the repo (#16655)
* [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 12:23:23 -07:00
spalger 489e64ef7e [plugin-helpers] replace last few uses of old package name 2018-02-08 11:57:08 -07:00
Tim Roes 30acb3d1b6
Remove Angular and vislib vis type docs (#16522) 2018-02-05 21:15:36 +01:00
Lisa Cawley f3bbd76bf2
[DOCS] Build Kibana Guide from kibana repo (#16450) 2018-02-01 10:19:00 -08:00
Court Ewing 829985d96a
Remove tribe node support (#16397)
* Remove tribe node support

Tribe node is being removed from Elasticsearch since it has been
superseded by Cross-Cluster-Search.

* console: remove unnecessary isEnabled

The default behavior for the plugin is to be disabled when its `enabled`
configuration is set to false, so this custom isEnabled function is not
necessary any longer.
2018-01-30 14:36:38 -05:00
Thomas Neirynck 2e02b78a9a
Add enableLabs to docs (#16301) 2018-01-30 11:50:38 -05:00
Nathan Reese 51828870ea
add more details to range option (#16286) 2018-01-29 08:00:59 -07:00
Nathan Reese 924d61fc0a
documentation on how to create new Add Data tutorials. (#16257)
* 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 14:42:41 -07:00
Fabien Baligand 1cbeffb20b Add 'Enhanced Table' visualization plugin (#16181) 2018-01-23 16:02:45 -05:00
archana fc34f05caa
[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:41:10 -06:00
Yuri Astrakhan 1b70e7400a
Migrating vega_vis from plugin (#15014)
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 15:14:04 -05:00
Lukas Olson e6b65fc4c6
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:11:42 -07:00
Spencer 4b92c7481c
[docs/logging] document useUTC flag (#16018) 2018-01-12 10:39:24 -07:00
Court Ewing 61c7f21111
Remove angular-translate (#13066)
* remove angular translate

* remove angular-translate deps from yarn.lock
2018-01-12 09:13:42 -05:00
Kim Joar Bekkelund 07a67916c4
Updates for kibana-extra folder (#15471)
* Update docs to handle kibana-extra

* Add info about plugin directory structure to docs
2018-01-11 09:17:04 +01:00
Spencer 0fde087ca2 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
2018-01-10 13:23:43 +01:00
Nathan Reese 265c7b9fbe
add time to visualization status (#15856)
* add time to visualization status

* account for custom time on visualization

* update docs
2018-01-08 09:37:36 -07:00
Walter Rafelsberger b709ee989a
[DOCS] Add Kibana Milestones Visualization plugin to list of known plugins. (#15841)
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 10:08:59 +01:00
Matt Bargar 3134a69fcc
Update known-plugins.asciidoc (#14370) (#15806)
Add my new plugin 'Markdown Doc View'. And add sign to my plugin 'Notification Center'.
2018-01-02 09:52:15 -05:00
Mike Lutz df6db13875 Adding SPG Conveyor as a known Kibana plugin (#15772) 2017-12-29 11:09:33 -05:00
Yuri Astrakhan 1d92807a18
Doc fix: editorController -> editor (#15607)
There is no `editorController` param in createBaseVisualization.
I think `editor` was meant instead.
2017-12-19 21:04:35 -05:00
Yuri Astrakhan fb583bc460 minor indent fix (#15520) 2017-12-13 11:21:26 -05:00
Yuri Astrakhan 06ebbf4ac7 fixed param order (#15518) 2017-12-11 16:11:10 -05:00
Marius Dragomir 205371cdca
[DOCS] Add windows powershell commands to the tutorial (#15499)
* Added windows powershell commands to the tutorial

* Change to describe using Kibana Console

The instructions looked like Kibana Console format, not curl commands
2017-12-11 17:26:36 +02:00
Yuri Astrakhan 43e68c519a
Use async keyword instead of Promises 2017-12-08 19:09:11 -05:00
Thomas Neirynck 852fa9c6a9
Region map settings clarifications (#14893) (#15421)
* Region map settings clarifications (#14893)

Improve documentation.

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

It also fully qualify all names
2017-12-05 15:01:48 -05:00
Kim Joar Bekkelund 93eb5c1eca
Deprecate --plugin-dir option in plugin installer (#15371) 2017-12-04 18:38:50 +01:00
Kim Joar Bekkelund 48bcd7fc92
No longer recommend manual plugin installs (#15366) 2017-12-04 16:25:50 +01:00
Tim Roes e5d2ff8219
Refactor and improve Visualize Loader (#15157)
* 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 00:44:28 +01:00
Tyler Smalley 359ce96105
Fixes issue with Keystore's stdin option (#15221)
Fixes issue preventing stdin option from being used
Using create to overwrite should reset keystore
2017-11-29 15:59:17 -08:00
Jonathan Budzenski 218986c07e
Create separate startup scripts for development and production (#13806)
* Use separate startup scripts for development and production

* build kibana directly

* [build] Use downloaded node when pre-optimizing

* clearer variable name

* Add breaking changes docs
2017-11-22 12:49:37 -06:00
Peter Pisljar 4e982c0a6d
Introduce lab mode for visualizations (#15050)
* 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 20:49:24 +01:00
Peter Pisljar c56360b908
Improve Region Maps for use without network connection (#15056)
* 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 08:27:39 +01:00
Tim Roes be54f367e9
Remove ready:vis and application.load event (#14988)
* Remove ready:vis event

* Remove application.load event

* Remove commented code

* Fix comment

* Fix broken indentation
2017-11-17 10:46:02 +01:00
Lisa Cawley 39c02c75f9
[DOCS] Add placeholder for 7.0.0-alpha1 Release Notes (#14585)
* [DOCS] Added 7.0.0-alpha1 Release Notes

* [DOCS] Removed X-Pack text from Release Notes
2017-11-16 10:09:24 -08:00
Brandon Kobel 8d4d56a0b0
Sharing - Preserve Layout (#14707)
* Adding method to expose the dashboard app container size to reporting

* Adding a data-shared-items-container attribute to the viewport

* Making visualize tell us how large they are

* Removing the controller methods that returned the item size

* Moving the sharing attributes to be on the actual elements, so we can
figure out their dimensions

* Passing the savedObj to the Visualize elements adding the data- attrs

* Adding the title/description to the Dashboard

* Dispatching the initial title/description

* Reverting some accidental whitespace changes

* Fixing metadata selectors

* Adding newline at end of file...

* Putting the $emit('renderComplete') back

* Passing only the savedObj to the Visualize Editor Controller

* Setting the description on the $scope.vis so we don't have to pass the
SavedObj

* Reverting more TSVB title/description code

* Removing savedObj from scope

* Putting $scope.vis back to vis
2017-11-16 08:02:15 -05:00
Lisa Cawley 85293f9750
[DOCS] Remove X-Pack release note reference (#14983) 2017-11-15 15:22:03 -08:00
lcawley e41564c991 [DOCS] Fixed broken link in tilemap.asciidoc 2017-11-13 19:48:37 -08:00
Court Ewing 0bfeb8cdf9 docs: fix erroneous references to es-ref 2017-11-13 20:28:56 -05:00
Tyler Smalley fb4a381514
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:10 -08:00
Toby McLaughlin 8558a33fc2
[docs] Dehyphenate "open-source" in Docker docs (#14835) 2017-11-08 16:31:15 +11:00
Toby McLaughlin ee5301f156
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:32:46 +11:00
Spencer f60639fccb
Upgrade to webpack 3 (#14315)
* [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
2017-10-31 16:31:22 -07:00
Peter Pisljar fb406a271c extending and updating documentation for visualize (#14441)
* extending and updating documentation for visualize

* updating based on review
2017-10-27 09:30:04 +02:00
Thomas Neirynck 51b7b73e27 Improve docs on spatial reference requirements (#14422) 2017-10-11 15:33:21 -04:00
Peter Pisljar 4816079ed7 adding documentation for visualization development (#14252)
* adding documentation for  visualization development
2017-10-03 13:07:28 +02:00
Tyler Smalley 6f6d8be5fd [docs] Updates Connect to ES to reflect Index Pattern wizzard (#13918) 2017-09-25 20:19:08 -07:00
Yuri Astrakhan 153326ce03 Adds Vega-based visualizations to Known Plugins list (#14062) 2017-09-20 13:00:22 -07:00
lcawley 612385e927 [DOCS] Added index-shared6 Remove index-shared11 2017-09-19 10:38:49 -07:00
lcawley 5879c7ffcf [DOCS] Added index-shared6.asciidoc 2017-09-19 10:37:49 -07:00
Lisa Cawley 26bccb0b86 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:23:00 -07:00
Court Ewing bdcafa0c8c docs: add dendogram to known-plugins 2017-09-19 10:14:30 -04:00
sw-jung 93a565c2ab Update known-plugins.asciidoc (#13701) 2017-09-18 14:39:15 -04:00
David Moreno Lumbreras bc8b0369dc Add new plugin "Dotplot" to known plugins 2017-09-13 06:11:50 -04:00
Jonathan Budzenski 1e25cf656b [docs] Sort settings page (#13514)
* [docs] Sort settings page

* Fix path.data
2017-09-12 13:02:37 -05:00
archanid 5022d776df [DOCS] Upgrade doc update for 7.x 2017-09-11 12:41:57 -05:00
lcawley fd97db7cc5 [DOCS] Commented out broken link to Reindex transformation 2017-09-11 09:35:29 -07:00
archana 2089a28d45 Updates to Upgrade Kibana docs for 6.x+ (#13897) 2017-09-11 10:40:55 -05:00
Court Ewing eac6416a0f 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:17:44 -04:00
Jonathan Budzenski 3a50fd2efc [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:16:50 -05:00
Jonathan Budzenski eaf026b49b [docs] Remove .kibana dynamic mappings section (#13671) 2017-08-31 10:07:05 -05:00
jerenmb 6dfde4f793 Spelling corrections (#11908) 2017-08-30 10:52:13 -04:00
archana a01959451b 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:48:57 -05:00
Matt Bargar 3043ee78c8 Check sort:options for Discover default sort order (#13708)
* 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 15:42:36 -04:00
Johnny Lim b6153fa302 Fix extracted Kibana directory names in doc (#13658) 2017-08-29 09:28:22 -07:00
Lukas Olson 19ac99a388 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:38:49 -07:00
Thomas Neirynck 094587c884 Add interval doc (#13629) 2017-08-22 23:42:36 -04:00
Johnny Lim 8cceb73710 Use "curl -O" for Darwin (#13602) 2017-08-22 17:49:15 -07:00
Nathan Reese 599c8c4220 Upgrade kibana to leaflet 1.x (#12367)
* 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-22 17:26:30 -06:00
Nathan Reese 0d281a7566 Replace "marked" with "markdown-it" (#13623)
* 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-22 16:29:40 -06:00
Matt Bargar 9e48298844 Emphasize important difference between Kuery and Lucene query syntax (#13592)
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:45:28 -04:00
Lisa Cawley dfc6408c25 [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:06:04 -07:00
Lisa Cawley 3a07e5c8c0 [DOCS] Update links to Kibana security (#13456) 2017-08-10 14:14:34 -07:00
Matt Bargar 6193a7f318 Remove esAdmin mention from docs since it no longer exists (#13449)
The angular service was removed in #13000
2017-08-10 12:30:44 -04:00
Lukas Olson 54622755f8 Remove highlight query (#13231)
* Change use of all_fields in highlight_query to default_field

* Remove highlight query and option

* Fix tests

* Remove unused setting

* Remove lingering references to all_fields
2017-08-07 13:34:11 -07:00
Thomas Neirynck 8a1cdf1983 fix typo 2017-08-03 14:52:34 -04:00
Thomas Neirynck 5fe682dfc2 Improve region map documentation (#13319) 2017-08-03 14:46:16 -04:00
Matt Bargar f78bb5dc11 Add Kuery docs and break search page into subsections (#13074)
* Add Kuery docs and break search page into subsections
2017-08-02 15:16:00 -04:00
ytzlax 10280e8f9c Add Kibana API plugin (#13206) 2017-08-02 11:46:50 -04:00
Jonathan Budzenski 99a991b783 [docs] Add docker-compose version to example (#13006) 2017-08-01 15:47:21 +10:00