Commit graph

586 commits

Author SHA1 Message Date
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
Peter Pisljar
1e6ce8513f adding docs for goal and gauge (#13140)
* adding docs for goal and gauge
2017-07-28 14:41:39 +02:00
Lukas Olson
e3aeb0bdfa Update filter editor docs with addition of advanced option (#13084) 2017-07-26 16:33:16 -07:00
Tim Roes
008cf03d51 Plugin installer proxy support (#12753)
Proxy support for plugin installer
2017-07-26 09:35:00 +02:00
jimgoodwin
e676668967 Branching for 6.0: bump version to 7.0.0-alpha1 2017-07-24 15:24:56 -04:00
Court Ewing
7a918f17d2 Configurable custom response headers for server (#13045)
* Configurable custom response headers for server

The server.customResponseHeaders configuration allows users to configure
custom headers to send on all responses to the client from anywhere in
the Kibana server.

This can be useful for setting headers like x-frame-options when you
don't want people embedding even Kibana dashboards in an iframe.

* Consistent header overriding and explicit unknown
2017-07-21 18:35:02 -04:00
Matt Bargar
d379e9a35b Implement new Kibana query language (#12624)
Initial version of an experimental new query language for Kibana.
2017-07-21 11:55:15 -04:00
Toby McLaughlin
11cc609aaa [docs] Generalize docs for Docker env vars (#11581)
The documentation for setting Kibana options with environment variables under
Docker was brittle and difficult to maintain. Rather than list every option,
this change describes the method by which they are defined, thus avoiding the
need to edit the docs in multiple places when a new option is introduced.
2017-07-19 09:35:13 -05:00
Deb Adair
aae537915a [DOCS] Changed xrefs to cross doc links to enable GS mini-book builds. 2017-07-18 14:43:38 -07:00
Deb Adair
b7d9310c69 [DOCS] Added index file to build GS mini-book. 2017-07-18 14:06:18 -07:00
Yuri Astrakhan
bae2ad6c2b Add Vega-vis, sort (#12923) 2017-07-17 16:51:43 -04:00
Kim Joar Bekkelund
2af99de42c Add docs about 'redirectHttpFromPort' setting (#12708) 2017-07-16 22:40:18 +02:00
Thomas Neirynck
58ef02c908 Display regionmap attribution (#12647)
This adds the attribution strings of vector data files to the map. It also enables the map to allow for individual attribution strings from each individual layer, so attribution gets updated correctly when adding/removing layers.
2017-07-13 18:15:56 -04:00
Court Ewing
748d604fd4 docs: removal of "expand indices" feature in breaking changes (#12830)
* docs: removal of "expand indices" feature in breaking changes

* docs: remove "expand indices" from index pattern

This feature no longer exists.
2017-07-13 09:46:29 -04:00
Lukas Olson
055080521c Make filter editor suggestions opt-in (#12710)
* Add shard_size to the suggestions terms agg request

* Make filter editor suggestions opt-in

* Add size parameter
2017-07-11 10:46:55 -07:00
Marius Dragomir
a388dddc41 Changed Console Docs images to Kibana master (#11545)
* Changed images to Kibana 5.x ones

* Update to images to make them smaller in width
2017-07-11 20:19:00 +03:00
Kim Joar Bekkelund
04c8812629 [optimizer] remove support for .less extension (#12722) 2017-07-10 19:40:04 +02:00
Spencer
1f5a9dcc83 [optimizer] remove support for .jsx extension (#12712) 2017-07-07 16:12:05 -07:00
Jonathan Budzenski
c79e22386c Revert same port http -> https redirect (#10930)
- httpolyglot is removed, we no longer automatically redirect from http to https
- server.ssl.redirectHttpFromPort option added to allow for http -> https redirect from one port to another
- We no longer start the dev server with tls by default, it can be turned on with the --ssl flag, npm start -- --ssl, or ./bin/kibana --dev --ssl
- There will currently be error log messages if you connect over the wrong protocol, we have #11209 for downgrading these
2017-07-07 17:15:56 +02:00
Thomas Neirynck
5a20d44a08 Tidy up tile-service url in test code (#12690) 2017-07-07 10:13:32 -04:00
Court Ewing
580e0d2964 docs: setting up cross cluster search (#12599)
There isn't a whole lot to say about cross cluster search support in
Kibana other than how to set it up, which is by design.
2017-07-05 17:18:55 -04:00
Clinton Gormley
4d481a2ef8 Include shared/attributes.asciidoc directly from docs master 2017-07-03 18:27:50 +02:00
Thomas Neirynck
bcd9e7dc22 Add region map documentation and rename references from tile map to coordinate map (#12370) 2017-06-29 23:49:26 -04:00
Thomas Neirynck
b183996b71 remove wrong statement from doc (#12579) 2017-06-29 21:40:52 -04:00
Lisa Cawley
db4ba51f26 [DOCS] Add link to shared attributes (#12574) 2017-06-29 15:28:39 -07:00
Lukas Olson
d49291a386 Fix docs wording for invert filter (#12481) 2017-06-27 10:38:27 -07:00
Lisa Cawley
e21a133e00 [DOCS] Update Kibana Guide to use shared attributes (#12505)
* [DOCS] Update Kibana Guide to use shared attributes

* [DOCS] Add docs repository path
2017-06-27 10:13:42 -07:00
Deb Adair
6c7ec91e92 [DOCS] Fixed broken cross doc links. 2017-06-26 17:57:42 -07:00
Deb Adair
f75452754d [DOCS] Added ref attribute. 2017-06-26 17:22:45 -07:00
Deb Adair
d88227eafc [DOCS] Fixed xref to JS client doc. 2017-06-26 17:16:28 -07:00
spalger
5ca30018c5 [docs] remove metions of time-pattern index patterns 2017-06-23 13:42:24 -07:00
lcawley
198ed65e57 [DOCS] Add Logstash Reference URL as attribute 2017-06-22 10:56:37 -07:00
Lukas Olson
0e5ee35667 Update docs with the addition of filter editors (#12321)
* Update docs with the addition of filter editors

* Move operators into a table
2017-06-21 18:33:21 -07:00
Lisa Cawley
6cd36bbc9c [DOCS] Add XPack Reporting to Kibana Guide (#12062)
* [DOCS] Add XPack Reporting to Kibana Guide

* [DOCS] Add attributes for private vs open repo builds

* [DOCS] Add index-shared.asciidoc

* [DOCS] Address feedback on index-shared.asciidoc

* [DOCS] Add X-Pack introduction to Kibana Guide

* [DOCS] Add X-Pack installion to Kibana Guide

* [DOCS] Fix duplicate security attribute in index-shared.asciidoc

* [DOCS] Further fix duplicate security attribute in index-shared.asciidoc

* [DOCS] Revert changes to intro and setup

* [DOCS] Split index-shared.asciidoc

* [DOCS] Add index-shared5.asciidoc
2017-06-21 16:38:49 -07:00
Lisa Cawley
c33aee3df8 [DOCS] Add Dev Tools to Kibana Guide (#12438) 2017-06-21 16:07:12 -07:00
Felix Stürmer
383be943ff [docs] Add tiebreaker field configuration to context docs (#12270) 2017-06-15 11:53:21 +02:00
Felix Stürmer
9912b04f4b [docs] Add filtering capabilities to context documentation (#12271) 2017-06-14 14:46:07 +02:00
Spencer
1119414b49 [indexPatterns] remove support for time patterns (#12158)
* [indexPatterns] remove support for time patterns

* Revert "[indexPatterns] remove support for time patterns"

This reverts commit 4263e37c66.

* [indexPatterns] remove ability to create time-based patterns

* [indexPattern/routes] fix export of routes for stub

* [Storage] export Storage class for testing

* [indexPatterns/unsupportedTimePatterns] add tests

* [indexPatterns] focus warning check module

* [indexPatterns/tests] fix method name

* add metion of this change to migration docs

* disable warnings by default until we have a migration tool

* prevent the warning from disapearing

* fix grammar

* enabled warnings in the tests
2017-06-13 17:22:41 -07:00
Felix Stürmer
a2727ececf [context view] Use _doc for tie-breaking instead of _uid (#12096)
Using fields with docvalues (like `_doc`) for tie-breaking yields
significantly better performance than using `_uid`, which lacks
docvalues at the moment. The downside is that sorting by `_doc` by
default is not stable under all conditions, but better than no
tie-breaking at all.

The new setting `context:tieBreakingFields` enables the user to
customize the list of fields Kibana attempts to use for tie-breaking.
The first field from that list, that is sortable in the current index
pattern, will be used. It defaults to `_doc`, which should change to
`_seq_no` from version 6.0 on.

In addition to just showing a notification, errors that occur while
loading documents from the database will be stored as part of the
`loadingStatus` along with a reason code (if known). This is used to
display more nuanced and helpful error messages to the user.

The first such error message indicates a missing or invalid tiebreaker
field required for sorting the context.
2017-06-08 12:21:52 +02:00
spalger
1bec910f7f bump to 6.0.0-alpha2 2017-06-06 08:04:30 -07:00
Court Ewing
0d048c5f10 docs: 6.0.0-alpha2 release notes 2017-06-06 07:56:58 -07:00
Thomas Neirynck
2270a6c24f Add Region Map Visualization
- Users can now create choropleth maps. This requires configuring an inner join between the results of a term-aggregation and a reference vector layer. This vector layer needs to be in the GeoJson format. By default, Kibana uses vector layers serverd by a data service hosted by Elastic. Users can also bring in their own layers by adding configuration entries in the kibana.yml. These need to point to a CORS-enabled data service that accepts requests from the Kibana application.
- For clarity, the tilemap is renamed to Coordinate Map.
- A new manifest is published by Elastic. this includes metadata for the available tilemap services, as well as metadata for the available vector data layers.
2017-05-31 16:56:02 -04:00
David Moreno Lumbreras
d6c91975aa Update Known-plugin list adding "Search-Tables" (#12068) 2017-05-31 07:22:31 +02:00
Court Ewing
0384110089 config: remove legacy pre-4.2 configurations (#12013)
Prior to version 4.2.0, kibana.yml configurations used underscore as a
separator. In 4.2.0, this changed to dot instead, though the old
configuration names continued to work. In 5.0 we started logging
deprecation notices whenever the underscore-separated configurations
were encountered. Now we remove support for them entirely.
2017-05-29 09:53:32 -04:00
Court Ewing
2876f1fdf6 Revert "Switch to Yarn (#11637)"
This reverts commit 71a9b8b6bc.

Until we get all the relevant infra configured with yarn as well.
2017-05-27 08:51:19 -04:00
Spencer
71a9b8b6bc Switch to Yarn (#11637) 2017-05-26 19:32:03 -07:00
Gilly Barr
3849712d85 Remove node resolve algorithm reference (#12023) 2017-05-26 13:02:18 -07:00
Court Ewing
04e829d457 Always set NODE_ENV to production (#12010)
Using the --dev flag is the only support way to change the internal
Kibana environment to something else. Allowing NODE_ENV to be set at all
can have unexpected results with our dependencies, so we now always set
it to production.
2017-05-26 11:27:16 -04:00
Court Ewing
c57a775060 build: remove 32 bit builds (#11941)
All builds are now 64 bit, which is what we want to support from 6.0
onward.
2017-05-25 16:15:25 -04:00
Thomas Neirynck
c1e09d5b0e Add aggregation size to Advanced Settings (#11818)
The discover:aggs:terms:size config value was never added to the default values, so when the trash-button is clicked it removes the config completely and causes discover to send an empty size param to visualize.
2017-05-16 16:50:32 -04:00
Bhavya RM
a3a642cef1 Changing shakespeare bulk upload command for 6.0 (#11795)
* Changing shakespeare bulk upload command for 6.0

* file path and mapping change

changing the file path for shakespeare and the mapping type from default to doc

* removing underscore for doc and changing file name

* removing extra spaces in the map shakespeare command

* removing  spaces before the colon

* removing extra spaces
2017-05-16 13:49:54 -04:00
Bhavya RM
d7ce1038e7 Update tutorial-load-dataset.asciidoc (#11703)
Changing the tutorial to update it according to the new ES mappings and adding console tested commands.
2017-05-12 08:44:46 -04:00