Commit graph

1009 commits

Author SHA1 Message Date
Court Ewing
c48cea9265
[DOCS] Saved object migrations (#25558)
* Add a note about index migrations to the kibana setup docs

* Tewak the migrations asciidocs for clarity

* docs: refine saved object migration details

Breaking down the migration process into sections helps people find
and link to relevant information more easily.

The focus is on ongoing maintenance of Kibana, whereas the initial new
experience in 6.5.0 is treated as a note of clarification.

Error handling should be expanded in the future to include details about
specific known error cases.
2018-11-13 18:38:10 -05:00
gchaps
f183363361
[DOCS] Adds known limitation for exporting a data table (#25561) 2018-11-13 09:07:22 -08:00
gchaps
83369770c6
[DOCS] Adds docs for managing, creating, and visualizing rollups (#25450)
* [DOCS] Adds docs for managing, creating, and visualizing rollups

* [DOCS] Fixed broken link]

* [DOCS] Updates docs based on review feedback
2018-11-09 12:57:59 -08:00
Lisa Cawley
588d6a3622
[DOCS] Refreshes ML job creation screenshots (#25417) 2018-11-09 12:13:02 -08:00
Sarah Hersh
bd85286d0a
Docs/canvas get started (#25476)
* edits to canvas getting started docs

* edit to canvas workpad docs
2018-11-09 14:31:01 -05:00
gchaps
9eda63f719
[DOCS] Updates information regarding usage of sample data indices (#25424) 2018-11-08 13:18:16 -08:00
Lisa Cawley
72ac1a9b8b
[DOCS] Clarify security requirements for monitoring (#24881) 2018-11-08 12:03:48 -08:00
gchaps
eb923430ae
[DOCS] Adds early draft of Canvas docs (#25395)
* [DOCS] Adds early draft of Canvas docs

* [DOCS] Added images and beta label to Canvas docs
2018-11-08 11:50:51 -08:00
Lisa Cawley
a0db3c4ca8
[DOCS] Adds data visualizer restriction (#25399) 2018-11-08 09:26:50 -08:00
Lisa Cawley
1c86dbdd9d
[DOCS] Fixes typo in Kibana create role example (#25345) 2018-11-08 08:54:35 -08:00
Lisa Cawley
ac8ee26f77
[DOCS] Fixes typo in create role API (#25314) 2018-11-07 13:13:25 -08:00
Lisa Cawley
6c7d14a4dc
[DOCS] Adds screenshot for Data Visualizer (#25182) 2018-11-07 08:11:39 -08:00
Lisa Cawley
feae892dcc
[DOCS] Updates Elasticsearch and Kibana monitoring screenshots (#25035) 2018-11-06 14:21:34 -08:00
Tim Roes
b74f286961
Fix dashboard export documentation (#24701) 2018-11-06 09:59:59 +01:00
Matt Bargar
c21b2ee73f
Add more accurate details on scripted field querying 2018-11-01 09:13:37 -04:00
Lisa Cawley
b06b177eaa
[DOCS] Updates monitoring diagram (#24851) 2018-10-31 09:42:58 -07:00
Aaron Caldwell
ad10c758c0
Default scroll wheel zoom to false on vega maps. Update docs (#21169)
* Default scroll wheel zoom to false on vega maps. Update docs

* Update scroll wheel to false in tests
2018-10-29 15:31:16 -06:00
Casper Hübertz
9850f1150c
[Docs] Remove beta notes for ML and Query bar (#24718) 2018-10-29 14:04:59 +01:00
Josh Dover
27e5406d7a
Upgrade Hapi in legacy platform to v17 (#21707)
* Disable even-better monitoring

* Upgrade to Hapi v15

* Upgrade to Hapi v16

* Handle optional req params correctly

* Update http and kbnServer

* Get mocha tests passing

* Convert `reply` usages [wip]

* Fix Joi and Plugin incompatibilities

* Get server up and running

* Get basic logging working

* Fix optimizer

* Fix recent route handlers

* Various fixes

* Fix recent routes

* Upgrade wreck for async/await

* Fix mocha tests

* Fix joi issues

* Fix xpack jest tests

* Fix recent routes

* Fix tests

* Fix index setup

* Decouple monitoring stats collection from good plugin

* Update reload logging test to work

* Reimplement logging with updated good plugin

* Fix unit tests

* Fix getConnections back

* Make LegacyLoggingServer compatible with Hapi v17

* Update joi types

* Fix x-pack unit tests

* Remove stray debugger

* Remove hapi-compat

* Fix API integrations

* Upgrade boom

* Fix security plugin

* Misc fixes

* bump

* Fix licensePreRoutingFactory

* Fix failing integration tests

* Remove unnecessary test change

* Remove hapi-latest package

* fx

* Various cleanup

* Fix race condition in oppsy events

* Use elastic/good fork

* Fix boom.wrap and hapi-latest changes

* Simplify LegacyLoggingServer updates

* package.json cleanup + test fix

* yarn.lock cleanup

* Change good tag

* Fixes

* Change return err -> throw err in routes

* Fix await returns

* Fix new load_data test

* Make cookie security flags consistent

* tmp doc

* Fix types

* Fix tests

* Upgrade canvas plugin

* Move good package to published @elastic/good one

* Fix SO test

* Fix logging reloading

* Update APM apis

* Fix error logging

* Fix logging test

* Convert spaces plugin

* Add validation error shim

* Remove 7.0 release notes

* Await renderApp

* Fix ccr routes

* Prevent header popovers from scrolling with page content (#23850)

* Fix spaces test

* new yarn.lock-s

* Fix spaces tests

* Remove h2o2-latest

* Fix @types/hapi

* Upgrade InfraOps plugin

* Fix package.json

* Add back isSameSite: false

* Upgrade beats_management plugin

* Update snapshot

* Fix InfraOps

* Upgrade kql_telemetry

* Merge upstream/master

* Upgrade apm and ml

* Put snapshot test back

* Fx beats

* Upgrade rollups

* Update boom usages in new plugins
2018-10-25 16:01:12 -05:00
Lisa Cawley
62e92a223e
[DOCS] Fixes broken links to Stack Overview (#24592) 2018-10-25 09:16:40 -07:00
Lisa Cawley
055aa0a73e
[DOCS] Adds security for monitoring steps (#24052) 2018-10-25 08:12:03 -07:00
Tim Sullivan
6084acc8b6
[Reporting] queue.pollEnabled setting adds ability to disable polling for idle jobs (#24295)
* [Reporting] New queue.pollEnabled setting adds ability to disable polling for idle jobs

* add an info log line

* note in docs
2018-10-24 08:03:54 -07:00
Lisa Cawley
831d1581fa
[DOCS] Clarify description of xpack.reporting.roles.allow (#23974) 2018-10-24 07:48:22 -07:00
Brandon Kobel
9e86a04f21
Adding option to always present the certificate when connecting to ES (#24304)
* Adding option to always present the certificate when connecting to ES

* Updating docs

* Adding some more tests

* Adding alwaysPresentCertificate option to monitoring
2018-10-23 07:12:27 -07:00
Tim Sullivan
bd3f840b82
[docs/reporting] note about data table pdf (#23921) 2018-10-19 15:00:38 -07:00
Tim Roes
9bab09a0e0
Remove queryManager from vis docs (#23923) 2018-10-17 09:51:18 +02:00
lcawl
85c62afc2f [DOCS] Fixes broken link in monitoring page 2018-10-04 13:13:34 -07:00
Lisa Cawley
3a9deb0850
[DOCS] Update Kibana monitoring tasks (#23736) 2018-10-04 11:31:15 -07:00
Brandon Kobel
937e07c5f1
Limiting maximum number of Spaces (#23673)
* Limiting the number of spaces

* Adding docs

* Adding forgotten fixture

* Fixing tslint error

* Adjusting docs

* Changing test descriptions from Boom.badRequest to bad request

* Updating error snapshots
2018-10-03 09:09:12 -07:00
Court Ewing
fd050fbcd3
docs: note about permissions for grok debugger (#23664) 2018-10-03 11:35:46 -04:00
Larry Gregory
1f38026731
Spaces Phase 1 (#21408)
### Review notes
This is generally ready for review. We are awaiting https://github.com/elastic/elasticsearch/issues/32777 to improve handling when users do not have any access to Kibana, but this should not hold up the overall review for this PR.

This PR is massive, there's no denying that. Here's what to focus on:
1) `x-pack/plugins/spaces`: This is, well, the Spaces plugin. Everything in here is brand new. The server code is arguably more important, but feel free to review whatever you see fit.
2) `x-pack/plugins/security`: There are large and significant changes here to allow Spaces to be securable. To save a bit of time, you are free to ignore changes in `x-pack/plugins/security/public`: These are the UI changes for the role management screen, which were previously reviewed by both us and the design team.
3) `x-pack/test/saved_object_api_integration` and `x-pack/test/spaces_api_integration`: These are the API test suites which verify functionality for:
     a) Both security and spaces enabled
     b) Only security enabled
     c) Only spaces enabled

What to ignore:
1) As mentioned above, you are free to ignore changes in `x-pack/plugins/security/public`
2) Changes to `kibana/src/server/*`: These changes are part of a [different PR that we're targeting against master](https://github.com/elastic/kibana/pull/23378) for easier review.

## Saved Objects Client Extensions
A bulk of the changes to the saved objects service are in the namespaces PR, but we have a couple of important changes included here.

### Priority Queue for wrappers
We have implemented a priority queue which allows plugins to specify the order in which their SOC wrapper should be applied: `kibana/src/server/saved_objects/service/lib/priority_collection.ts`. We are leveraging this to ensure that both the security SOC wrapper and the spaces SOC wrapper are applied in the correct order (more details below).

### Spaces SOC Wrapper
This wrapper is very simple, and it is only responsible for two things:
1) Prevent users from interacting with any `space` objects (use the Spaces client instead, described below)
2) Provide a `namespace` to the underlying Saved Objects Client, and ensure that no other wrappers/callers have provided a namespace. In order to accomplish this, the Spaces wrapper uses the priority queue to ensure that it is the last wrapper invoked before calling the underlying client.

### Security SOC Wrapper
This wrapper is responsible for performing authorization checks. It uses the priority queue to ensure that it is the first wrapper invoked. To say another way, if the authorization checks fail, then no other wrappers will be called, and the base client will not be called either. This wrapper authorizes users in one of two ways: RBAC or Legacy. More details on this are below.


### Examples:
`GET /s/marketing/api/saved_objects/index-pattern/foo`

**When both Security and Spaces are enabled:**
1) Saved objects API retrieves an instance of the SOC via `savedObjects.getScopedClient()`, and invokes its `get` function
2) The Security wrapper is invoked.
    a) Authorization checks are performed to ensure user can access this particular saved object at this space.
3) The Spaces wrapper is invoked.
   a) Spaces applies a `namespace` to be used by the underlying client
4) The underlying client/repository are invoked to retrieve the object from ES.

**When only Spaces are enabled:**
1) Saved objects API retrieves an instance of the SOC via `savedObjects.getScopedClient()`, and invokes its `get` function
2) The Spaces wrapper is invoked.
   a) Spaces applies a `namespace` to be used by the underlying client
3) The underlying client/repository are invoked to retrieve the object from ES.

**When only Security is enabled:**
(assume `/s/marketing` is no longer part of the request)
1) Saved objects API retrieves an instance of the SOC via `savedObjects.getScopedClient()`, and invokes its `get` function
2) The Security wrapper is invoked.
   a) Authorization checks are performed to ensure user can access this particular saved object globally.
3) The underlying client/repository are invoked to retrieve the object from ES.

## Authorization
Authorization changes for this project are centered around Saved Objects, and builds on the work introduced in RBAC Phase 1.

### Saved objects client
#### Security without spaces
When security is enabled, but spaces is disabled, then the authorization model behaves the same way as before: If the user is taking advantage of Kibana Privileges, then we check their privileges "globally" before proceeding. A "global" privilege check specifies `resources: ['*']` when calling the [ES _has_privileges api.](https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-has-privileges.html). Legacy users (non-rbac) will continue to use the underlying index privileges for authorization.

#### Security with spaces
When both plugins are enabled, then the authorization model becomes more fine-tuned. Rather than checking privileges globally, the privileges are checked against a specific resource that matches the user's active space. In order to accomplish this, the Security plugin needs to know if Spaces is enabled, and if so, it needs to ask Spaces for the user's active space. The subsequent call to the `ES _has_privileges api` would use `resources: ['space:marketing']` to verify that the user is authorized at the `marketing` space. Legacy users (non-rbac) will continue to use the underlying index privileges for authorization. **NOTE** The legacy behavior implies that those users will have access to all spaces. The read/write restrictions are still enforced, but there is no way to restrict access to a specific space for legacy auth users.

#### Spaces without security
No authorization performed. Everyone can access everything.

### Spaces client
Spaces, when enabled, prevents saved objects of type `space` from being CRUD'd via the Saved Objects Client. Instead, the only "approved" way to work with these objects is through the new Spaces client (`kibana/x-pack/plugins/spaces/lib/spaces_client.ts`).

When security is enabled, the Spaces client performs its own set of authorization checks before allowing the request to proceed. The Spaces client knows which authorization checks need to happen for a particular request, but it doesn't know _how_ to check privileges. To accomplish this, the spaces client will delegate the check security's authorization service.

#### FAQ: Why oh why can't you used the Saved Objects Client instead!?
That's a great question! We did this primarily to simplify the authorization model (at least for our initial release). Accessing regular saved objects follows a predictible authorization pattern (described above). Spaces themselves inform the authorization model, and this interplay would have greatly increased the complexity. We are brainstorming ideas to obselete the Spaces client in favor of using the Saved Objects Client everywhere, but that's certainly out of scope for this release.



## Test Coverage
### Saved Objects API
A bulk of the changes to enable spaces are centered around saved objects, so we have spent a majority of our time automating tests against the saved objects api.

**`x-pack/test/saved_object_api_integration/`** contains the test suites for the saved objects api. There is a `common/suites` subfolder which contains a bulk of the test logic. The suites defined here are used in the following test configurations:
1) Spaces only: `./spaces_only`
2) Security and spaces: `./security_and_spaces`
3) Security only: `./security_only`

Each of these test configurations will start up ES/Kibana with the appropriate license and plugin set. Each set runs through the entire test suite described in `common/suites`. Each test with in each suite is run multiple times with different inputs, to test the various permutations of authentication, authorization type (legacy vs RBAC), space-level privileges, and the user's active space.  

### Spaces API
Spaces provides an experimental public API.

**`x-pack/test/spaces_api_integration`** contains the test suites for the Spaces API. Similar to the Saved Objects API tests described above, there is a `common/suites` folder which contains a bulk of the test logic. The suites defined here are used in the following test configurations:
1) Spaces only: `./spaces_only`
2) Security and spaces: `./security_and_spaces`


### Role Management UI
We did not provide any new functional UI tests for role management, but the existing suite was updated to accomidate the screen rewrite.

We do have a decent suite of jest unit tests for the various components that make up the new role management screen. They're nested within `kibana/x-pack/plugins/security/public/views/management/edit_role`

### Spaces Management UI
We did not provide any new functional UI tests for spaces management, but the components that make up the screens are well-tested, and can be found within `kibana/x-pack/plugins/spaces/public/views/management/edit_space`

### Spaces Functional UI Tests
There are a couple of UI tests that verify _basic_ functionality. They assert that a user can login, select a space, and then choose a different space once inside: `kibana/x-pack/test/functional/apps/spaces`



## Reference

Notable child PRs are listed below for easier digesting. Note that some of these PRs are built on other PRs, so the deltas in the links below may be outdated. Cross reference with this PR when in doubt.

### UI
- Reactify Role Management Screen: https://github.com/elastic/kibana/pull/19035
- Space Aware Privileges UI: https://github.com/elastic/kibana/pull/21049
- Space Selector (in Kibana Nav): https://github.com/elastic/kibana/pull/19497
- Recently viewed Widget: https://github.com/elastic/kibana/pull/22492
- Support Space rename/delete: https://github.com/elastic/kibana/pull/22586

### Saved Objects Client
- ~~Space Aware Saved Objects: https://github.com/elastic/kibana/pull/18862~~
- ~~Add Space ID to document id: https://github.com/elastic/kibana/pull/21372~~
- Saved object namespaces (supercedes #18862 and #21372):  https://github.com/elastic/kibana/pull/22357
- Securing saved objects: https://github.com/elastic/kibana/pull/21995
- Dedicated Spaces client (w/ security): https://github.com/elastic/kibana/pull/21995

### Other
- Public Spaces API (experimental): https://github.com/elastic/kibana/pull/22501
- Telemetry: https://github.com/elastic/kibana/pull/20581
- Reporting: https://github.com/elastic/kibana/pull/21457
- Spencer's original Spaces work: https://github.com/elastic/kibana/pull/18664
- Expose `spaceId` to "Add Data" tutorials: https://github.com/elastic/kibana/pull/22760

Closes #18948 

"Release Note: Create spaces within Kibana to organize dashboards, visualizations, and other saved objects. Secure access to each space when X-Pack Security is enabled"
2018-10-01 07:09:33 -04:00
Martijn Rondeel
7f1ee07405 Add ElastAlert Kibana Plugin to known plugins list (#23598)
* Add ElastAlert Kibana Plugin to known plugins list

* Add author of ElastAlert plugin
2018-09-28 10:47:27 +02:00
Lisa Cawley
186cea2d74
[DOCS] Adds TLS info to licensing page (#20638) 2018-09-27 10:09:14 -07:00
Tim Roes
832b896877
Remove last mentions of spy panels (#23527) 2018-09-26 16:53:23 +02:00
Matt Bargar
fceddf8610
Mention license change for autocomplete 2018-09-25 12:45:22 -04:00
Larry Gregory
33acd60f9f
Remove ability to implicitly find across all types (#23198) 2018-09-19 07:22:43 -04:00
Lisa Cawley
428ee421ee
[DOCS] Adds troubleshooting info for monitoring (#21005) 2018-09-17 18:27:36 -07:00
Jonathan Budzenski
f5d44f6d9f
Add optimize and --no-optimize flags (#16302)
* Add optimize flags

* update docs to --no-optimize

* docs

* extra newline

* lint

* update mocks

* update default config

* update snapshots
2018-09-17 12:45:51 -05:00
Jonathan Budzenski
cc10fc02f6
[es] set default port based on protocol (#21564)
* [es] set default port based on protocol

* explicit https/http check

* url parses port as string

* breaking changes docs

* remove 9200 fallback
2018-09-17 09:54:05 -05:00
Caroline Horn
9c83f81f08
Visualize LESS to SASS (#22679) 2018-09-14 13:25:03 -04:00
Lisa Cawley
8ed6084db9
[DOCS] Synchronize location of Breaking Changes (#22939) 2018-09-12 09:19:38 -07:00
Stacey Gammon
ac03ffb42c
Default to chromium and add deprecation warning for phantom. (#21505)
* Default to chromium and add deprecation warning for phantom.

* use int, not float
2018-09-11 13:37:57 -04:00
Matt Bargar
15322e7256
Expose max_concurrent_shard_requests for _msearch requests (#22379)
Allows Kibana users to configure the max_concurrent_shard_requests param used by Kibana when sending _msearch requests. Exposes the config as an advanced setting. By default we won't send the param at all, relying on the ES default instead.
2018-09-11 11:23:18 -04:00
truman.p.du
6d682155e5 List "Cleaner" plugin for setting index TTL (#22616) 2018-09-10 07:03:35 -07:00
Court Ewing
54ab5a7374
docs: dashboard import/export API (#22835)
* docs: dashboard import/export API

* docs: clarify response handling of errors in import api
2018-09-07 15:52:08 -04:00
Larry Gregory
5f96c903f3
Deprecate xpack:defaultAdminEmail for monitoring alerts (#22195) 2018-09-06 10:26:05 -04:00
Tim Roes
9c01863c0a
Fix react vis type documentation (#22573) 2018-09-05 09:35:18 +02:00
Jonathan Budzenski
a64738d277
[docs] fix missing float 2018-09-04 17:09:16 -05:00
Jonathan Budzenski
e89abb3a39
[config] logging.useUTC -> logging.timezone (#21561)
* [config] logging.useUTC -> logging.timezone

* docs

* [env] exit if starting as root

* fix import path

* add link and timezone example

* Revert "[env] exit if starting as root"

This reverts commit f6e9090833a5180fe360a9ff54543c37c0ca3a58.
2018-09-04 16:52:51 -05:00
Tim Roes
8c3f4af8ed
Fix link in embed visualize docs (#22557) 2018-08-31 08:49:31 +02:00
Brandon Kobel
7ecd1357d8
Changing doc link from ES to Stack docs (#22497) 2018-08-29 11:06:27 -04:00
Brandon Kobel
50facf42e9
Fixing a few typos and some links that were updated (#22470) 2018-08-29 07:33:09 -04:00
Søren Louv-Jansen
879a8b158d
[Docs] Use literal asterix in APM docs (#22460) 2018-08-28 21:48:19 +02:00
Søren Louv-Jansen
11488d5055
[APM] Revert to using apm-* as default indices (#22445)
* [APM] Revert to using apm-* as default indices

* Update docs
2018-08-28 17:17:53 +02:00
Søren Louv-Jansen
22d3bcf334
[docs] Import APM dashboards in 6.4+ (#22439) 2018-08-28 13:33:08 +02:00
Aaron Zhao
02a56b39b1 doc: add calendar vis plugin link to docs (#22366) 2018-08-27 02:49:15 -04:00
Lisa Cawley
0ff0832281
[DOCS] Updates links to user management APIs (#22161) 2018-08-24 08:34:10 -07:00
Brandon Kobel
77597d6288
Move note about needing access to additional indices above the fold (#22248) 2018-08-23 06:40:26 -04:00
Jason Rhodes
c7c3654a2a
Updates * characters to an escaped * (#22269)
GitHub's asciidoc parser handles `*` characters fine but markdown thinks its italicizing unless you escape the first asterisk. Subsequent asterisks on the same line can stay unescaped and should work fine.
2018-08-22 15:19:58 -04:00
Marius Dragomir
a5f74131c2
Add clarification for server.ssl.supportedProtocols setting (#22244)
* Add clarification for server.ssl.supportedProtocols setting

Added clarification that the setting has to be an array. With the current wording you can assume that you can just add it as a simple string.

* Update settings.asciidoc

* Update settings.asciidoc

extra dot
2018-08-22 19:57:51 +03:00
lcawl
068d82d116 [DOCS] Updates links to user APIs 2018-08-17 23:27:19 -07:00
lcawl
7b921ca2b9 [DOCS] Fixes links to role management APIs 2018-08-17 21:53:17 -07:00
lcawl
34b140b2ba [DOCS] Fixes links to role management APIs 2018-08-17 10:45:48 -07:00
Spencer
0afca8ed95
[docs/vis] document Top Hit metric agg (#20433) 2018-08-16 15:08:40 -07:00
gchaps
91335df93a
[DOCS] New tutorial for exploring Kibana with sample data set (#21699)
* [DOCS] New tutorial for exploring Kibana with sample data set

* [DOCS] Incorporated review comments into sample tutorial

* [DOCS] GS: Edits for consistency
2018-08-16 05:52:38 -07:00
Deb Adair
0dcb8ac430 [DOCS] Fixing cross doc links to stack overview security topic 2018-08-15 15:14:41 -07:00
debadair
0c9657c43b
Fix bad cross doc link to auditing topic (#21938) 2018-08-13 11:17:08 -07:00
Brandon Kobel
add876281b
Adding RBAC Phase 1 Docs (#21178)
* Beginning to work on the role management APIs. Added docs for GET

* Adding PUT docs

* Adding PUT details

* Adding delete docs

* Fixing linking

* Adding Kibana privileges section

* Fixing dashboard only mode docs

* Fixing a few more references to managing roles

* Beginning to work on authorization docs, might be moving some to
stack-docs

* Collapsing authorization description in the kibana privileges page

* Adding audit logging section

* Revising the language on the Kibana role management section

* Splitting back out the auth/privileges and adding legacy fallback
details

* Revising language around impact of disabling security

* Changing Kibana to {kib} and Elasticsearch to {es}

* Beginning to work on developer centric docs

* Fixing some formatting, adding some diagrams

* Adding note about the role management APIs

* Adding overview, fixing small syntax issues

* Fixing chunk name for transitioning to application privileges

* Adjusting tone for the authorization introduction

* Changing the tone and structure of the RBAC docs

* Deleting blog stuff after refactoring

* Addressing first round of peer review comments

* Fixing endpoints links

* Peer review suggested edits

* Addressing other PR feedback
2018-08-13 12:06:25 -04:00
Nathan Reese
a0dd3e6089
remove deprectated /shorten API (#21861)
* remove deprectated /shorten API

* breaking change log
2018-08-13 07:27:20 -06:00
Nathan Reese
78e1c8b147
add section about running API tests in functional test documentation (#21738)
* add section about running API tests in functional test documentation

* list valid configs under more section
2018-08-09 15:54:24 -06:00
Nathan Reese
803a3f1c2d
Move /shorten to /api/shorten_url (#21808)
* Move /shorten to /api/shorten_url

* better API test assertions

* add API documenation

* use async await

* import dependencies instead of pass in
2018-08-09 15:05:16 -06:00
Casper Hübertz
92026c3db8
[DOCS] APM UI docs for ML and query bar features (#21727)
Adding content for Machine Learning integration and query bar UI in the Using the APM UI docs.
2018-08-08 11:54:17 +02:00
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
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
debadair
2587c859da [DOCS] Changed settings table formatting to vertical to fix overlap. 2017-05-09 11:12:04 -07:00
jimgoodwin
d5ee251dbd docs: remove deprecation section 2017-05-09 12:49:10 -04:00
Nathan Reese
ddfd85ed15 move visualization spy page to visualization chapter (#11623) 2017-05-09 10:44:03 -06:00
jimgoodwin
d81e7c67cb docs: set release state to prerelease 2017-05-09 08:22:04 -04:00
jimgoodwin
192fc10b70 docs: Kibana 6.0.0-alpha1 release notes 2017-05-09 08:22:04 -04:00
Peter Pisljar
055e99eaf6 timelion breaking change doc (#11582) 2017-05-05 07:12:25 +00:00
Thomas Neirynck
e227ec7828 link timelion doc (#11559) 2017-05-01 23:49:35 -04:00
Chris Cowan
216386d5c6 Time Series Visual Builder Documentation (#11411)
* Closes #11215 - Documentation for Time Series Visual Builder

* changing from third person to first

* Adding link to TSVB docs
2017-05-01 20:34:15 -05:00
Lukas Olson
8ef383e923 Update timepicker docs (#11458)
* Update timepicker docs

* Update docs

* Update image
2017-05-01 10:33:04 -07:00
Thomas Neirynck
d4c5372267 Visualization doc updates (#11426) 2017-04-28 15:49:48 -04:00
Joe Fleming
fcb3707e9f Update tutorial-define-index.asciidoc (#11498)
The steps to add a new index were referring to <5.X KB.

Reported here - https://discuss.elastic.co/t/kibana-5-2-1-documentation-mismatch/73112
2017-04-28 10:31:58 -07:00
debadair
fcf1f5089a [DOCS] Fixed cross doc link issues. 2017-04-26 21:45:31 -07:00
Alex F
c30d8ea38c [DOCS] Timelion Getting Started Guide (#11065)
* timelion docs rough draft 1

* timelion docs rough draft updates

* timelion docs rough draft typo

* timelion docs rough draft typo

* tanya feedback

* nbsp after images, made getting started a chapter with sections, removed inclusive we

* minor updates

* feedback from Bohyun
2017-04-26 16:11:03 -07:00
Peter Pisljar
b79cb08a28 updating visualize aggregations docs (#11034)
* updating visualize aggregations docs

* fixing based on review
2017-04-25 08:01:02 +02:00
Matt Bargar
b5269cff10 Fix jpg encoding issue causing weird colors in Chrome (#11367) 2017-04-24 16:22:11 -04:00
Felix Stürmer
9317574a3e [docs] Add documentation for the context view (#11222)
Add documentation for the context view

fixes #11216
2017-04-24 12:22:57 +02:00
Thomas Neirynck
bb40d5084f Add geocentroid doc (#11368) 2017-04-22 15:23:31 -04:00
Chris Cowan
c092c4d288 Fixes #11231 - Adds check for max_bucket size for Time Series Visual Builder (#11245)
* Fixes #11231 - Adds check for max_bucket size for Time Series Visual Builder

* Added Math.floor() to bucket calculation; changed error message; changed option description
2017-04-20 05:45:12 -07:00
Shaunak Kashyap
e879c86731 Adding limitations section to Kibana docs (#11296)
* Adding limitations section to Kibana docs

* Language fixes

* Remove workaround

* Wording change

* Also mention `copy_to` along with `include_in_parent`

* Adding note about searching on nested objects
2017-04-19 08:57:51 -07:00
CJ Cenizal
c3fc467a14 Update docs for new vis landing page (#11262)
* Update 'Visualizing your Data' doc with copy and screenshots.

* Update 'Creating a Visualization' doc with copy.
2017-04-17 09:35:33 -07:00
spalger
b79334b964 [functional_test_runner] tweak doc styling 2017-04-11 15:26:28 -07:00
Spencer
90434765c0 [functionalTestRunner] replace intern (#10910)
* [functional_test_runner] replace functional testing tools with custom/pluggable solution

* [functional_test_runner] Convert unit tests to commonjs format

* [functional_test_runner] Fix dashboard test in wrong mode

* [functional_test_runner] Add dashboardLandingPage test subject

* [functional_test_runner] Get Visualize page object

* [functional_test_runner] Fix outdated references

* [functional_test_runner] Fix more outdated refs

* [functional_test_runner] Remove duplicate tests

* [functional_test_runner] Improve test readability

* [functional_test_runner] 😞 So many duplicate methods

* [functional_test_runner] Move mgmt `before` outside toplevel describe

* [functional_test_runner] Settings page obj missing methods

* [functional_test_runner] Add improvements from @gammon

* [functional_test_runner] Fix return statements in async funcs

* [functional_test_runner] Move before() to correct scope

* [functional_test_runner] Add after() hooks to remove index patterns

* [functional_test_runner] Attempt to fix vertical bar chart tests

* [functional_test_runner] Clean up

* [functional_test_runner] Reinstate unit tests

* [functional_test_runner] Set default loglevel back to info

* [functional_test_runner] Replace `context`s with `describe`s

* [functional_test_runner] Better error handling

* [functional_test_runner] Add in new Tile Map tests

* Incorporate changes from master

* [functional_test_runner] validate that every test file has a single top-level suite

* Update contributing doc with link to full doc

* [docs] Spelling and grammar fixes

* docs: writing and running functional tests

* [docs] Move plugin doc to plugin area

* [docs] Housekeeping. Doc in wrong place

* [docs] Remove dup doc file

* [grunt] Only run mocha_setup when running tests, not every grunt task
2017-04-11 17:01:06 -05:00
Tyler Smalley
006fae00f7 Fetches control group resource information (#10402)
Adds control group data to status API and kbnServer.metrics
2017-04-11 10:20:30 -07:00
Court Ewing
a2053b3731 docs: curl content-type for getting-started (#11154) 2017-04-11 11:36:42 -04:00
Brandon Kobel
f398dd2368 Fixing docs reference from elasticsearch.ssl.cert to certificate (#11037)
* Fixing docs reference from elasticsearch.ssl.cert to certificate

* Fixing elasticsearch.tribe.ssl doc sections
2017-04-07 07:59:10 -04:00
Jay Greenberg
ed2a0085b5 Would like to add Transform Vis to known plugins (#11018)
Add Transform Vis to known plugins
2017-04-07 11:51:54 +02:00
Stacey Gammon
bb444e6792 Update dashboard docs for view/edit mode and landing page (#10965) 2017-03-31 14:54:19 -04:00
Peter Pisljar
df19c44ceb removing unused image (#10828) 2017-03-21 14:37:12 +01:00
Martin Hickey
3aa5938daa Kibana Globalization - Phase 2 (#8766)
* Integrate angular-translate globalization framework with i18n engine
* Provide template for enabling translations in an AngularJS view by translating a view
* Verification tool for translation keys used in angular-translate
* Documentation
2017-03-20 14:09:06 -04:00
yershalom
a1252f11d8 Update known-plugins.asciidoc (#10738)
Added the Funnel Visualization plugin
2017-03-12 13:08:45 -04:00
Peter Pisljar
d1b505676c fixing console documentation (#10751) 2017-03-11 15:33:41 -08:00
Chris Cowan
4f3e625d7f Time Series Metric Visualizations (#9725)
* Initial import

* updating the editor width to match the new specs

* Adding tribe node support

* Adding tests for server libs

* removing bluebird

* removing extra cruft

* Fixing the font sizes

* Fixed the updating code

* Adding brushing

* Fixing linting issues

* Adding global filters

* Adding missing packages

* Default gauge style to half circle

* Fixing the markdown css bug

* Adding tests for the get_vis_data api

* Adding time offset

* Adding time offset to each type

* fixing bugs from time offset

* adding index pattern option to series

* Adding index pattern overrides

* Adding index pattern overrides

* Fixing tests

* Fixing brushing in the vis editor

* Changing the label

* Change the behavior of selecting a pipeline agg when only one exists.

* Refactoring series a bit

* Changing series options to just options

* Making sure we honor the toaster container height

* Adding first tests

* renaming vis_config to panel_config

* renaming vis_config to panel_config

* Adding more tests

* adding more tests

* removing api subdirectory

* refactoring get_vis_data (breaking it up and removing unused imports)

* reorganizing the visualization directory

* Re-organizing directory layouts and moving things to more logical places

* Refactoring React compontents to use ES6 syntax and adding propTypes for each. Also refactored out splats as much as possible.

* Adding serial differencing

* Refactored gauge to use 2 components instead of 4

* Finishing react refactor on visualizations. Consolidated legned funtionality

* Refactoring series config and removing a bunch of duplicate code

* fixing series config name

* Fixing numbers and strings (doesnt matter which it is); Fixing classname

* Changing the way the dark theme works

* Adding new vis into list for test

* Adding empty bucket check

* Fixing the index patterns in the aggs

* Fixing typo

* Refactoring vis_data

* Fixing std_metric

* Fixing refresh-hack

* Adding tests for get_splits, get_last_metric, map_bucket

* Fixing the error handing

* removing restrictions

* Sometimes values are strings or numbers... it doesn't matter

* Adding new color options for splits

* Fixing colors

* fixing size

* Adding support for fitlers agg

* Fixing tests

* Fixing splits for filters

* Fixing Top N to work better with fitlers

* Adding annotation editor

* initial work for annotations

* Finalizing annotations

* Fixing label

* making it expandable

* Fixing hacks fixed by #10175

* Fixing bars to use the same stacking options as lines

* Getting rid of align by colons

* removing unused depends

* removing unused depends

* Changing to readable lodash function

* Adding missing parens

* refactoring custom color picker

* Removing string refs and converting uncontrolled components

* Fixing the controlled components where value maybe null; converting error to css

* refactoring styles from components

* fixing the refresh behavoir borked by fullEditor

* Adding the executor service

* Fixing the test directories

* fixing save

* Adding filter ratios

* Fixing controlled components

* Trying to fix the weird typing

* Fixing offset bug with days

* Adding percentile rank

* Fixing yaxis updates; fixing percentile rank layout; adding steps to line chart

* removing unused depends

* Fixed a bug with the index patterns updating; fixed bug with charts rendering too much

* Fixing tests

* Commenting out React tests because the ENV must have change and they are no longer working

* Moving bucket transform

* moving calculate auto

* Moving calculate_indices

* moving extended_stats_types && get_agg_value

* moving get_buckets_path

* moving get_sibling_agg_value

* moving parse_settings

* moving series_agg

* Moving unit_to_seconds

* Fixing tests

* Fixing per PR

* Renaming vars to make it more clear what's happening

* Changing the way testible functions are exported

* fixing tests

* removing unused imports; fixing typos; fixing package name

* Name has to match the plugin path

* Fixing typos; removing unused imports

* fixing tests

* rearanging and removing unused imports

* Fixing a bug with unque names for radio buttons on the same form

* Fixing filter ratio to use a metric instead of just count

* fixing a bug with the new filter ratios

* Fixing the file path from the #8

* Fixing renderComplete trigger; Fixing embedded mode; Changing names for Timelion and Time Series Visual Builder

* Fixing name

* Fixing docs

* Fixing a typo for the field select for terms splits

* Fixing tests
2017-03-02 13:07:28 -07:00
Toby McLaughlin
e32656777e [docs] XPACK_SECURTY_ENABLED env var for Docker (#10608) 2017-03-01 09:12:08 -05:00
Toby McLaughlin
3df84ee3e9 Document xpack.monitoring.ui.container.elasticsearch.enabled for Docker (#10498) 2017-02-24 10:32:01 -05:00
Toby McLaughlin
92d9e470bb Document Monitoring settings under Docker (#10497) 2017-02-23 20:52:47 -05:00
jasper
a8989cc2ee docs: Fixes key for Tribe's requestTimeout (#10525)
Backports PR #10503

**Commit 1:**
Update doc

Include elasticsearch.tribe.requestTimeout setting

* Original sha: 5a01e24695
* Authored by Nikhil Patel <niks999@gmail.com> on 2017-02-22T11:17:01Z
* Committed by GitHub <noreply@github.com> on 2017-02-22T11:17:01Z
2017-02-22 20:08:30 -08:00
Felix Stürmer
85facdd04d Show event context (#9198)
This adds a link to the detail view of discover rows to switch to a view of the documents immediately before and after the selected document. Since that view uses the timestamp field of the index pattern, it is only available for time-based indices.

See #9198 for detailed screenshots.
2017-02-22 18:27:49 +01:00
Thomas Neirynck
5f58cd58a9 Update known-plugins.asciidoc (#9693) (#10496)
This is a cherry-pick of e4dca4f. This was originally committed on 5.1. This is a forward port.
2017-02-21 17:22:23 -05:00
Thomas Neirynck
47ca135e7c Update known-plugins.asciidoc (#10301) (#10493)
manual cherry-pick of dd6cb4a34e, which was originally committed on 5.2. This is the forward port.
2017-02-21 16:56:44 -05:00
Mike Dias
1be84bb15d Add Cohort analysis plugin in the known plugins (#9697) 2017-02-21 15:28:24 -05:00
Thomas Neirynck
623c0d3551 Add shard allocation plugin (#10482) 2017-02-21 15:19:28 -05:00
Jonathan Budzenski
9bc4d9158b Updates to status API, re-align status page (#10180)
* [status] Only provide latest metrics

* [status] Snake case requests object

* [status] Add build snapshot flag, last updated time

* [status] Re-add requests per second

* [status] Add uptime

* [status] collection_time -> collection_interval, add memory object

* [status] Add api tests

* [status] Add breaking changes docs

* [status] Remove metrics config

* [status] nest load under cpu, shorten memory and average

* [status] collection_time -> collection_interval

* [status api] Unnest heap, rename load to load average
2017-02-16 10:30:36 -06:00
Peter Pisljar
4c85fd4954 Vislib Point Series Charts (#9642)
* adding vislib chart grid

* updating vislib to correctly render all new features

* adding new options to kibana visualizations

* update vis icon on save

* updating documentation

* fixing unit tests

* cleaning up

* updating based on UI review

* adding visualize editor unit tests

* selenium tests

* additional option tabs

* some more changes to the tabs/options [thanks CJ]

* going back from Category/Value axis to X/Y axis

* fixing unselected dropdown options

* updating based on last UI review

* updating based on last review

* updating based on last review

* fixing issue with axis titles

* allowing to specify only upper or only lower data bound

* updating based on brandons review

* fixing horizontal bar chart labels

* fixing test

* adding backward compatibility

* updating based on last review

* fixing selenium tests
2017-02-15 17:54:42 +01:00
Lukas Ciszewski
f41be52b3f Update documentation on coordinator node usage (#9960)
* Update production.asciidoc

* Update production.asciidoc

Reorder configuration guide and mention config files.

* Update production.asciidoc

Fix typo.
2017-02-13 17:18:13 -05:00
markwalkom
042088085d Update tutorial-load-dataset.asciidoc (#10298)
Clarified that curl stuff needs to be run in a terminal.

Inspired by https://discuss.elastic.co/t/newbie-stuck-in-1st-tutorial/74660
2017-02-11 09:24:39 -05:00
Brandon Kobel
4662635087 Removing the server.ssl.clientAuthentication setting (#10253)
Removes the server.ssl.clientAuthentication setting, and we'll reevaluate adding this back in when addressing PKI.
2017-02-09 07:09:43 -05:00
Lukas Olson
909b8c7a0e Improve highlighting by using highlight_query with all_fields enabled (#9671)
* Add all_fields to highlight query to improve highlighting

* Refactor highlighting and move out of _flatten

* Make changes as per @bargs' requests

* Add documentation about highlightAll setting

* Fix docs typo

* Remove unused function

* Remove unused code
2017-02-03 10:44:00 -07:00
Wataru Takase
5421e2f9f8 Add a new plugin link (#9955) 2017-01-27 19:41:02 -05:00
Brandon Kobel
5a4263835d Modifying SSL settings to be consistent with the stack (#9823)
This introduces the following new settings:
- server.ssl.enabled
- server.ssl.keyPassphrase
- server.ssl.certificateAuthorities
- server.ssl.clientAuthentication
- server.ssl.supportedProtocols
- elasticsearch.ssl.keyPassphrase


and deprecates the following:
- server.ssl.cert -> server.ssl.certificate
- elasticsearch.ssl.ca -> elasticsearch.ssl.certificateAuthorities
- elasticsearch.ssl.cert -> elasticsearch.ssl.certificate
- elasticsearch.ssl.verify -> elasticsearch.ssl.verificationMode
- console.proxyConfig
2017-01-25 10:58:56 -05:00
Thomas Neirynck
2ed90d9a8b Update manifest endpoint to new staging server (#9972)
points to staging version of v2 tile server
2017-01-20 13:29:01 -05:00
Tanya Bragin
5946f8788f Update managing-fields.asciidoc (#9739)
* Update managing-fields.asciidoc

* Remove references to Groovy
* Add information about Painless
* Link to blog for additional examples

* Update managing-fields.asciidoc

Make editorial changes per @debadair's feedback.
2017-01-13 07:54:06 -08:00
Jonathan Budzenski
840df9a231 Tribe docs (#9690)
* [tribe] Init docs

* [docs] Init es client section

* [docs] Link to client api, move client library docs to core development section

* [docs] Add tribe server settings

* [tribe] Link to elasticsearch tribe docs

* [tribe] Document which nodes server configuration points towards

* [docs] Add index link to elasticsearch clients section
2017-01-12 16:34:01 -06:00
Joe Fleming
259767e8cb Add missing settings to Advanced Settings docs (#9691)
* add missing settings to advanced settings docs

* add indexPattern:placeholder

* consistency tweaks
2017-01-11 12:55:09 -07:00
Thomas Neirynck
9695000a12 Update date pattern in tutorial-define-index (#9806)
In `tutorial-define.text.asciidoc`, it is stated that the typical index name contains the date as `MM-DD-YYYY`, and then proceeds to give an example of how a log index from May, 2015 would look like: `logstash-2015.05*`, which doesn't match the typical pattern for dates stated above.

This PR changes the date pattern, as to me `YYYY.MM.DD` is more accurate on a world-wide scale.
2017-01-09 19:35:20 -05:00
Viorel Rusu
5e0ae4c360 docs: new plugin (#9645)
New plugin developed for Kibana 5.0.0. It shows some 3D charts visualizations
2016-12-29 13:18:40 -05:00
Peter Pisljar
ae150f5835 Vislib heatmap visualization (#9403)
* adding UI styles (should extract)

* adding heatmap vislib type

* adding heatmap visualization

* adding documentation

* renaming heatmap options

* fixing options issues

* fixing color selection

* fixing / adding tests

* adding more color schemas

* adding more options

* adding cell labels

* fixing selenium test

* only allow to rotate labels by 90 degrees

* converting color number slider to number input

* hide labels if they don't fit

* fixing small issues

* improved range options

* fixing based on Thomas' review

* rebasing on master and fixing linting issues

* adding selenium tests

* fixing alerts

* fixing padding

* fixing based on review

* fixing math

* fixing custom range options

* removing $timeout

* notification in case labels were hidden

* fixing tests

* fixing based on last review

* fixing based on thomas' review
2016-12-26 19:15:50 +01:00
Peter Pisljar
29935c3c0c adding stepped line to line and area charts (#9425)
* adding stepped line to line and area charts

* fixing based on Thomas' review

* updating docs

* fixing based on Brandons review
2016-12-23 16:29:51 +01:00
Toby McLaughlin
d5b46184aa docs: X-Pack settings via ENV under Docker (#9518) 2016-12-21 14:06:41 -05:00
Court Ewing
bff1533503 docs: branch is now a variable
This makes our docs less brittle and fixes a broken link for pull
requests against known plugins.
2016-12-14 10:34:36 -05:00
Court Ewing
dd493066a0 docs: reorder release-specific variables
Now changing versions, branches, and release status can all be done in
the same place in the index rather than being scattered throughout.
2016-12-14 10:18:33 -05:00
Court Ewing
68baabe72f docs: kibana developer and known plugin docs (#9477)
* docs: kibana developer docs

This is the beginning of developer-focussed docs for Kibana. The content
is mostly pulled directly from the old wiki in the github repo.

* docs: known plugins for 5.x
2016-12-13 22:37:55 -05:00
Matt Bargar
8eed97b69f Limit scripted fields to painless and expression langs (#9172)
We made a mistake in opening up Kibana scripted fields to any and all
langs enabled in Elasticsearch. Kibana needs to do some magic to get
certain scripted field features to work
(https://github.com/elastic/kibana/pull/9171) and we can't commit to
supporting anything beyond expression and painless scripts. On top of
that, the other languages are being removed in ES 6.0 anyway. This commit
makes that stance explicit by disallowing anything other than those two
choices.
2016-12-12 16:32:22 -05:00
Steven Chen
7a5f34a044 Correct typo in 'Sharing a Dashboard' section (#9366)
Change 'You can can..' to 'You can either...'
2016-12-06 08:07:49 -05:00
Arthur
e14c3fcf20 Update connect-to-elasticsearch.asciidoc (#9361)
Update documentation to show how to select an index as default.
2016-12-06 08:01:23 -05:00
Thomas Neirynck
ac6c4cd3ef improve tag cloud doc (#9356) 2016-12-02 18:56:22 -05:00
Matt Bargar
4ef3b68409 Add docs on all available console server config options (#9288) 2016-11-30 17:56:05 -05:00
Pablo Sanchez
4cc4ddf22e Update client node for Coordinating only node (#9178)
Since client node doesn't exist anymore, this should be replace by the coordinating only node.
2016-11-29 13:17:31 -05:00
Thomas Neirynck
31a6cbab6d Add Tag Cloud Visualization
A tag cloud visualization is a visual representation of text data, typically used to visualize free form text. Tags are usually single words. The font size of word corresponds  with its importance.
2016-11-21 17:03:25 -05:00
Kevin Kluge
d539acf59a Update plugins doc to give compatibility warning (#9109) 2016-11-16 14:42:55 -08:00
a22d236d91 docs: Remove "v" from version in Docker docs 2016-11-16 13:53:56 +11:00
Court Ewing
1955f7f3a0 docs: add commit and security base links 2016-11-15 16:24:55 -05:00
Jonathan Budzenski
b0e0b6a5bf [docs] Add console.enabled to server settings. Closes #9031 (#9036) 2016-11-15 15:32:14 -05:00
Gabriel Moskovicz
cfd81a3084 Added server.defaultRoute (#9075)
* Added server.defaultRoute

* Update settings.asciidoc
2016-11-15 13:41:55 -05:00
Toby McLaughlin
431e803492 Docs: Fix bad link to {es-ref/docker.html} 2016-11-14 15:50:07 +11:00
Toby McLaughlin
da0506e4ae Docs: Using the Docker image (#9060) 2016-11-14 13:43:03 +11:00
Jonathan Budzenski
d91c4c0cfe [docs] Add plugin install instructions for packages. Closes #8845 (#8934) 2016-11-10 14:34:25 -06:00
Peter Pisljar
60e62c7ad2 sorting chart xValues by metric sum (#8397)
* sorting chart xValues by metric sum

* fixing tests

* adding order buckets by value option to point series charts

* fixing tests

* fixing tests

* Updating based on CJs comments and adding documentation
2016-11-09 12:54:59 +01:00