Commit graph

1009 commits

Author SHA1 Message Date
Rudolf Meijering 2e13faf8af
Overlay core service (#34261)
* Move ui/flyout to overlay core service

* Remove onClose in parameter (use FlyoutSession instead)

* Fix tests

* Remove old inspector tests

* Proper TODO message

* Convert flyout service to class

* Use correct i18n

* Resolving weird merge conflicts

* Fix panel plugin test

* Change new platform access

* Add more tests

* Remove commented tests

* Revert test fix (core is actually not fixed yet)

* Fix tests

* Expose onClose as Observable

* Use jest.doMock

* Fix typos

* Core start() -> setup()

* Remove @extends EventEmitter docs

* Refactor and test flyoutservice

* Fix comments: promise -> observable

* Fix tests

* Explicitly define OverlaySetup

* Fix OverlaySetup type signature

* Update Core API review file and docs

* Remove redudant if case

* Change FlyoutRef.onClose into a promise

* Remove redundante cleanup

* Use promise.finally

* Remove targetDomElement from openFlyout()

There's no need to support multiple targetDomElements per FlyoutService
and the current implementation handled this use case incorrectly.

Instead of adding complexity to try to support it, remove this from the
function signature.

* Fix + test to ensure child components are unmounted when a new flyover is displayed

* Wrap flyover in i18n Context component

* TSlint -> ESlint + test improvements
2019-04-08 15:17:59 +02:00
Lisa Cawley a0f8107b90
[DOCS] Updates data recognizer screenshots for ECS (#34596) 2019-04-05 11:29:48 -07:00
gchaps b3f7435ad2
[DOCS] Fixes formatting in plugin and l10 docs (#34594) 2019-04-05 07:01:16 -07:00
Sarah Hersh 4bca194d35
resolve merge conflict between master and 6.7 (#34570)
[DOCS] Adds i18n docs to master
2019-04-04 14:15:14 -04:00
Mike Côté 51e6a009ee
Modify saved object import APIs to handle special use cases from the previous import process (#34161)
* Modify import APIs to handle special use cases from the previous import process

* Cleanup

* Add more examples to the docs

* Make title come from data inside file

* Fix some broken tests

* Fix docs

* Fix docs wording

* Apply PR feedback pt1

* Apply PR feedback pt2
2019-04-04 09:10:54 -04:00
Nathan Reese 30950519f2
[Maps] search bar docs (#34315)
* [Maps] search bar docs

* rename indexes to indicies and other text refinement feedback

* add example queries

* remove unused image

* Update docs/maps/search.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>

* Update docs/maps/search.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>

* Update docs/maps/search.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>

* Update docs/maps/search.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>

* Update docs/maps/search.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>

* Update docs/maps/search.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>

* Update docs/maps/search.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>
2019-04-03 15:15:33 -06:00
Mike Côté 1e56a48fc7
Modify saved object export API to support exporting nested dependencies (#34225)
* Modify saved object export API to be able to export nested dependencies

* Apply verbal feedback

* Apply PR feedback
2019-04-03 15:51:07 -04:00
Brandon Morelli 357dc6610c
docs: update tutorial (#34295) 2019-04-03 11:53:43 -07:00
Sarah Hersh 73c68b8e0b
[DOCS] Updates 7.0 upgrade guide (#34121) (#34346) 2019-04-03 14:50:47 -04:00
Josh Dover d33e6892da
Introduce UI PluginsService (#32672)
This commit introduces two changes:
- Adds new platform plugins as a new bundles to the optimizer
- A PluginsService in the UI that loads plugin bundles, initializes plugins, and manages the lifecycle of plugins.
2019-04-03 12:02:10 -05:00
Rudolf Meijering 5c457972d4
Generate core API docs from TSDoc comments (#32148)
* Generate core API docs from TSDoc comments

Uses api-extractor and api-documenter to generate documentation for
the Kibana core API from TSDoc comments in the source code.

Documentation can be generated using `npm run docs:api`.

I used --no-verify to ignore the following pre-commit hook errors:
1. Filenames MUST use snake_case - api-extractor.json
   It's possible to specify a different config file, but I prefer to keep the "standard" config file name.
2. UNHANDLED ERROR: Unable to find tsconfig.json file selecting "common/core_api_review/kibana.api.ts". Ensure one exists and it is listed in "src/dev/typescript/projects.ts"
   This is not a source file, so safe to ignore.

* Flesh out API docs a little bit

* Ignore snake_case check for api-extractor.json

* Ignore api-extractor's review file from pre-commit check

* Try to fix build failing by using masters yarn.lock

* I'm being stupid

* Found a better home for ignoring common/core_api_review/kibana.api.ts

* Node script for detecting core API changes

I initially wanted to include this as a precommit hook, but it takes
quite long to execute (~12s) so might be better suited as a test or
as part of the release process.

The script currently fails because api-extractor uses an older version
of typescript.

* Fix tslint precommit hook ignore condition

* Write tsdoc-metadata.json into ./build

* Add LogMeta and ElasticSearch to exported types & docs

* Suppress logging when running api-extractor from script

* Improve check_core_api_changes script and run as test

* Inline api-extractor.json config

* Fix check_core_api_changes --help flag

* LogMeta TSDoc comments

* check_core_api_changes: fail if api-extractor produces warnings or errors

And print more useful messages to the console

* Move ignored ts files list into dev/file

* Add back build:types since api-exporter cannot operate on source files

* Upgrade api-exporter/documenter

* api-extractor: independantly analyze core/public and core/server

Becasue of https://github.com/Microsoft/web-build-tools/issues/1029
api-extractor can't use core/index.ts as a single entry point for
analyzing the public and server API's as isolated namespaces.

Instead we analyze these projects separately. This introduces other
problems like the api review files and documentation always being
called "kibana." from the package.json filename.

* Build types as part of build task

* Include types in typescript browser compilation

* Force inclusion of core/public for building types

* Fix api review filename in api-exporter errors

* Update docs and API review files

* Fix api-extractor warnings

* Remove ts file ignored list since it's no longer necessary

* Rename exported api package name

* Review comments

* Export other missing types

* Upgrade api-documenter to latest beta

* Export more missing types

* Fix warnings and add api-exporter to Jenkins tests

* Correctly handle runBuildTypes() exceptions

* Fix another swallowed exception

* Fix api-extractor warnings after master merge
2019-04-03 12:26:00 +02:00
gchaps 8290b56f70
[DOCS] Updates Create Pipeline doc (#34359) 2019-04-02 11:47:42 -07:00
Lisa Cawley d13af852ed
[DOCS] Adds settings section to breaking changes (#34328) 2019-04-02 07:48:04 -07:00
Lisa Cawley 7198a1ffcd
[DOCS] Work around for titleabbrev errors (#34201) 2019-04-01 13:23:59 -07:00
Lisa Cawley 2af3f7a430
[DOCS] Adds X-Pack icon for Canvas (#34173) 2019-04-01 11:26:32 -07:00
Lisa Cawley 7e25b78a6b
[DOCS] Adds X-Pack icon for index management (#34175) 2019-04-01 09:56:46 -07:00
Lisa Cawley bbf4fbc983
[DOCS] Adds X-Pack icon for ILM (#34178) 2019-04-01 09:32:39 -07:00
Lisa Cawley fe40210357
[DOCS] Adds X-Pack icon for rollup management (#34182) 2019-04-01 08:58:59 -07:00
Lisa Cawley 8f66a1e6f4
[DOCS] Adds X-Pack icon for maps (#34170) 2019-04-01 08:32:11 -07:00
Peter Pisljar 61e5300391
adding yml switch for using interpreter in expressions (#33832) 2019-04-01 15:35:12 +02:00
CJ Cenizal 4e51ab863a
Fix docs typo sniffOnConectionFault -> sniffOnConnectionFault. (#34189) 2019-03-29 12:50:06 -07:00
Jonathan Budzenski 28f4bfabf8
remove useUTC deprecation, set default timezone to local (#22696)
* remove useUTC deprecation, set default timezone to local

* no-unused-vars

* rm set, unset import
2019-03-29 10:29:07 -05:00
Lisa Cawley 1d2fbf827c
[DOCS] Fixes anchor in ordered list (#34092) 2019-03-28 10:17:35 -07:00
Sarah Hersh edbc3d49a7
[DOCS]Update UI names in Reporting doc (#34073) 2019-03-28 13:16:28 -04:00
Lukas Olson a848840501
Remove segmented fetch (#33453)
* Remove segmented fetch

* Fix namespace

* Remove unused translations
2019-03-27 14:14:01 -07:00
Lisa Cawley d3e8ee317d
[DOCS] Removes abbrevtitles from parts (#34002) 2019-03-27 13:23:32 -07:00
Lisa Cawley b7fcc7b0e6
[DOCS] Remove out-dated link (#33980) 2019-03-27 10:36:47 -07:00
Tiago Costa 3b020f055b
docs(NA): missing header for unit testing. (#33895) 2019-03-27 00:41:24 +00:00
Sarah Hersh 41fb553ee3
edits to page headers (#33887) 2019-03-26 17:53:35 -04:00
Tiago Costa 20bdf7d4a9
Migration to Babel7 and @babel/preset-typescript (#33093)
* chore(NA): first changes on every package.json order to support new babel 7. chore(NA): build for kbn-pm with babel 7.

* chore(NA): patch babel register to load typescrit

* chore(NA): first working version with babel 7 replacing typescript compiler.

* fix(NA): common preset declaration in order to make it work with babel-loader.

* chore(na): organizing babel preset env package json.

* chore(NA): mocha tests enabled.

* fix(NA): typo on importing

* test(NA): majority of x-pack tests ported to use babel-jest

* fix(NA): report info button test with babel-jest.

* fix(NA): polling service tests.

* test(na): fix server plugins plugin tests.

* test(NA): batch of test fixs for jest tests under babel-jest hoisting.

* chore(NA): add babel plugin to hoist mock prefixed vars on jest tests.

* chore(NA): update yarn.lock file.

* chore(NA): tests passing.

* chore(NA): remove wrong dep

* chore(NA): fix tsconfig

* chore(NA): skip babel for ts-jest.

* chore(NA): selectively apply the plugin to strip off namespace from ts files.

* chore(NA): remove not needed changes from ts tests

* chore(NA): removed ts-jest dependency. chore(NA): migrate ts tests on x-pack to use babel-jest with the new pattern.

* chore(NA): migrate kibana default distribution typescript tests to run with babel-jest and the new test mock pattern.

* chore(NA): merge and solve conflicts with master.

* chore(NA): fix problems reported by eslint

* chore(NA): fix license ovveride for babel-plugin-mock-imports

* chore(NA): update jest integration tests for kbn pm

* chore(NA): update babel jest integration tests for kbn pm.

* test(NA): update jest integration snapshot for kbn pm.

* chore(NA): apply changes according to the pull request reviews.

* chore(NA): apply changes according to the pull request reviews.

* refact(NA): migrate jest tests to the new pattern.

* fix(NA): babel 7 polyfill in the tests bundle.

* chore(NA): restore needed step in order to compile x-pack with typescript.

* chore(NA): change build to compile typescript with babel for the oss code. chore(NA): change transpile typescript task to only transpile types for x-pack. refact(NA): common preset for babel 7

* Revert "chore(NA): change build to compile typescript with babel for the oss code. chore(NA): change transpile typescript task to only transpile types for x-pack. refact(NA): common preset for babel 7"

This reverts commit 2707d538f5.

* fix(NA): import paths for tabConfigConst

* chore(NA): fix transpiling error on browser tests

* chore(NA): simplify kbn babel preset package.

* chore(NA): migrate build to use babel transpiler for typescript excluding xpack.

* fix(NA): introduced error on test quick task.

* fix(NA): fix preset for client side code on build.

* fix(NA): build with babel

* fix(NA): negated patterns in the end.

* fix(NA): kbn_tp_sample_panel_action creation.

* fix(NA): babel typescript transform plugin workaround when exporting interface name.

* refact(NA): remove not needed type cast to any on jest test.

* docs(NA): add developement documentation about jest mocks test pattern.

* chore(NA): missing unmerged path.

* chore(NA): fix jest tests for template.

* [CCR] Client integration tests (table lists) (#33525)

* Force user to re-authenticate if token refresh fails with `400` status code. (#33774)

* Improve performance of the Logstash Pipeline Viewer (#33793)

Resolves #27513.

_This PR is a combination of #31293 (the code changes) + #33570 (test updates). These two PRs were individually reviewed and merged into a feature branch. This combo PR here simply sets up the merge from the feature branch to `master`._

Summary of changes, taken from #31293:

## Before this PR
The Logstash Pipeline Viewer UI would make a single Kibana API call to fetch all the information necessary to render the Logstash pipeline. This included information necessary to render the detail drawer that opens up when a user clicks on an individual vertex in the pipeline.

Naturally, this single API call fetched _a lot_ of data, not just from the Kibana server but also, in turn, from Elasticsearch as well. The "pro" of this approach was that the user would see instantaneous results if they clicked on a vertex in a pipeline and opened the detail drawer for that vertex. The "cons" were the amount of computation Elasticsearch had to perform and the amount of data being transferred over the wire between Elasticsearch and the Kibana server as well as between the Kibana server and the browser.

## With this PR
This PR makes the Kibana API call to fetch data necessary for **initially** rendering the pipeline — that is, with the detail drawer closed — much lighter. When the user clicks on a vertex in a pipeline, a second API call is then made to fetch data necessary for the detail drawer.

## Gains, by the numbers

Based on a simple, 1-input, 1-filter, and 1-output pipeline.

* Before this PR, the Elasticsearch `logstash_stats` API responses (multiple calls were made using the `composite` aggregation over the `date_histogram` aggregation) generated a total of 1228 aggregation buckets (before any `filter_path`s were applied but across all `composite` "pages"). With this PR, the single `logstash_stats` API response (note that this is just for the initial rendering of the pipeline, with the detail drawer closed) generated 12 buckets (also before any `filter_path`s were applied). That's a **99.02% reduction** in number of buckets.

* Before this PR, the Elasticsearch `logstash_stats` API responses added up to 70319 bytes. With this PR, the single `logstash_stats` API response for the same pipeline is 746 bytes. That's a **98.93% reduction** in size.

* Before this PR, the Elasticsearch `logstash_state` API response was 7718 bytes. With this PR, the API response for the same pipeline is 2328 bytes. That's a **69.83% reduction** in size.

* Before this PR the Kibana API response was 51777 bytes. With this PR, the API response for the same pipeline is 2567 bytes (again, note that this is just for the initial rendering of the pipeline, with the detail drawer closed). That's a **95.04% reduction** in size.

* [Maps] split settings into layer and source panels (#33788)

* [Maps] split settings into layer and source panels

* fix SCSS import

* [env] exit if starting as root (#21563)

* [env] exit if starting as root

* fix windows

* s/--allow-root

* Typescript sample panel action (#33602)

* Typescript sample panel action

* Update EUI version to match main cabana version

* update yarn.lock

* add back typings include

* use correct relative path

* Home page "recent links" should communicate saved object type #21896 (#33694)

* adds object type for screen order
* adds object type for pointer hovering
* Update src/legacy/ui/public/chrome/directives/header_global_nav/components/header.tsx

Co-Authored-By: rockfield <philipp.b@ya.ru>
2019-03-26 20:44:03 +00:00
Jonathan Budzenski e24cef3f78
Docs/gettingstarted (#32145) (#32218)
* Docs/gettingstarted (#32145)

* [docs/getting started] remove types

* update urls

* one primary shard

* Update docs/getting-started/tutorial-load-dataset.asciidoc

Co-Authored-By: jbudz <jbudz@users.noreply.github.com>

* dedupe

* Update tutorial-load-dataset.asciidoc
2019-03-26 14:45:35 -05:00
Spencer 2e232c2e31
[@kbn/expect] "fork" expect.js into repo (#33761)
* [@kbn/expect] "fork" expect.js into repo

* [eslint] autofix references to expect.js

* [tslint] autofix all expect.js imports

* now that expect.js is in strict mode, avoid reassigning fn.length
2019-03-25 09:56:48 -07:00
Lisa Cawley ce96df1e70
[DOCS] Adds notable highlights tags (#33675) 2019-03-22 15:04:15 -07:00
Justin Kambic 45d2c84826
[Uptime] Add first draft of uptime docs (#31814)
* Add first draft of uptime docs.

* Add first draft of uptime docs.

* Implement PR feedback.

* Add role info to uptime docs

* Impelement some more PR feedback.

* Attempt to add more copy focusing on the 'why' of each piece of the docs.

* uptime docs: grammar, formatting, order

* move location of uptime docs

* Implement more PR feedback.

* Add screenshots.
2019-03-22 12:59:53 -04:00
Felix Stürmer cee5f7536d
[Infra + Logs UI] Add source configuration ui to the docs (#33535)
This adds the new source configuration ui to the documentation of both the Infrastructure UI and the Logs UI. It also removes the `BETA` badge to reflect the status change.

fixes elastic/kibana#31124

Co-authored-by: Brandon Morelli <bmorelli25@gmail.com>
2019-03-22 12:25:08 +01:00
gchaps c52ca4c8b1
[DOCS] Removes beta tag from Canvas docs (#33630) 2019-03-21 07:53:14 -07:00
gchaps a8c919afc8
[DOCS] Adds information about enabling/disabling rollover (#33600) 2019-03-20 13:28:46 -07:00
Sarah Hersh 6e02912e69
[DOCS]Replaces deprecated timezone (#33330) 2019-03-19 13:09:38 -04:00
Sarah Hersh f64fde7353
[DOCS]Adds info on index naming conventions (#33321) 2019-03-18 09:33:46 -04:00
Tim Sullivan 7a407d0c0b
Reporting: register a single ESQueue worker, simultaneous poll for all export types (#32839)
* Reporting: register a single ESQueue worker, simultaneous poll for all export types

* more typescript

* PLUGIN_ID constant

* move down log / internal state

* fix tests

* jest test for createWorker

* assert arguments to queue.registerWorker

* logic move

* make ts ignore specific

* minor reversion to fix some esqueue worker tests
2019-03-15 12:27:02 -07:00
Mike Côté 34c7e52a87
Return import errors for saved objects referencing a missing index pattern or search (#33005)
* cherry-pick fd2bc9b

* Return errors when objects are missing references

* Fix import tslint

* Fix failing jest tests

* Fix x-pack integration tests

* Rename ensureReferencesExist to validateReferences

* Fix test naming to use validateReferences

* Update resolve_import_errors API to reflect new type attribute

* Validate references for search type as well

* Clarify comment

* Apply PR feedback

* Modify saved object bulkGet to be able to filter fields

* Apply PR feedback
2019-03-14 19:22:30 -04:00
Lisa Cawley 0ebb126560
[DOCS] Add security consideration for Upgrade Assistant (#33215) 2019-03-14 09:48:07 -07:00
Brandon Morelli b5207ecd00
[APM][Docs] Update documentation for 7.0 (#31940) 2019-03-14 09:00:37 -07:00
Sarah Hersh 2da80816fd
adds x-pack logo to ccr (#33195) 2019-03-14 09:05:57 -04:00
Sarah Hersh 20c704dcc3
[DOCS]Replace CCR and CCS with attributes (#33143) 2019-03-13 14:14:08 -04:00
Mike Côté 772d0d71c8
Rename resolve import conflicts API to resolve import errors (#33024) 2019-03-13 09:17:18 -04:00
Nathan Reese 990a72886f
Add link to Maps docs in Kibana getting started with sample data (#32848)
* Add link to Maps docs in Kibana getting started with sample data

* Update docs/getting-started/add-sample-data.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>
2019-03-11 16:53:54 -06:00
gchaps ab4a6b2980
[Maps][Docs] Updates for Maps Getting Started (#32809)
* [Maps] getting started documentation

* [DOCS] Edits for Maps Getting Started

* [DOCS] Incorporates review comments

* [DOCS] Rewrite section on sample data

* [DOCS] Adds link to add sample data page
2019-03-11 15:40:22 -07:00
Nathan Reese d324072acc
Remove Dashboard dark theme setion from docs (#32863) 2019-03-11 14:07:34 -06:00
Peter Goldthorp 2df42f5829 Add a docker run example to Kibana Install doc2 (#32702)
* Add a docker run example to Kibana Install doc2 

See PR #29911

* Update docs/setup/docker.asciidoc

Co-Authored-By: pgoldtho <peter@goldthorp.com>
2019-03-11 20:00:45 +00:00
Mike Côté 7cf91316ca
Basic server side import API for saved objects (#32158)
* Initial work

* Add overwrite and skip support

* Cleanup and add tests

* Move code into separate files

* Remove reduce

* New API parameters

* Add support to replace references

* Add better error handling

* Add spaces tests

* Fix return type in collectSavedObjects

* Apply PR feedback

* Update jest tests due to jest version upgrade

* Add docs

* WIP

* Split import routes pt1

* Add tests

* Fix broken tests

* Update docs and fix broken test

* Add successCount to _import endpoint

* Make skip by default in resolution API

* Update tests for removal of skips

* Add back support for skips

* Add success count

* Add back resolve import conflicts x-pack tests

* Remove writev from filter stream

* Delete _mock_server.d.ts file

* Rename lib/import_saved_objects to lib/import

* Filter records at stream level for conflict resolution

* Update docs

* Add tests to validate documentation

* Return 200 instead of other code for errors, include errors array

* Change [] to {}

* Apply PR feedback

* Fix import object limit to not return 500

* Change some wording in the docs

* Fix status code

* Apply PR feedback pt2

* Lower maxImportPayloadBytes to 10MB

* Add unknown type tests for import

* Add unknown type tests for resolve_import_conflicts

* Fix tslint issues
2019-03-08 13:18:36 -05:00
Eli Perelman 78cbe42982
Prefer third-party plugin development in ./plugins instead of ../kibana-extra (#31748)
* Prefer third-party plugin development in plugins instead of kibana-extra

* Fix failing recursive directory creation and removal

* Add new built version of kbn-pm
2019-03-07 17:04:29 -06:00
gchaps 1d31c2768b
[DOCS] Updates doc for 8.0 Upgrade Assistant (#32528) 2019-03-07 08:13:34 -08:00
Lisa Cawley 5eb24799cb
[DOCS] Adds tagged region for notable breaking changes (#30155) 2019-03-06 09:41:33 -08:00
Mike Côté 399067a491
Basic server side export API for saved objects (#30326)
* Initial work for new server side export API

* Revert UI changes, API only in this PR

* Remove whitespace at top of export.asciidoc

* Add tests around limitations

* Add comment

* Convert some files to typescript

* Move Boom.boomify to where the errors are created

* Use Boom.badRequest for now

* Fix lint issue

* Move files

* Update tests

* Add functional test

* Export all documents by default

* Update test assertions

* Use ~10000 saved objects in export api integration test

* Convert route to typescript, add content-type response header

* Move some tests to api_integration

* Use new sort and rename functions/variables

* Move tests to API integration

* Cleanup and finalize api integration tests

* Make type or objects required but not both in the same call

* Add spaces / security tests

* Add noTypeOrObjects to security / spaces tests

* Use json-stable-stringify and add tests for export ordering

* Address self feedback, add without kibana index test

* Only allow export API to export index-pattern, dashboard, visualization and search type objects

* Make import export size configurable and fix broken tests

* Fix broken tests

* Move test config to mock server

* Add more typescript types instead of using any

* Convert request from GET to POST

* Fix saved objects mixin test

* Update src/legacy/server/saved_objects/lib/export.ts

Co-Authored-By: mikecote <mikecote@users.noreply.github.com>

* Apply PR feedback

* Fix lint error

* Update test snapshots due to jest upgrade

* Add error handling for bulkGet

* Split export API into two endpoints

* Update src/legacy/server/saved_objects/routes/export_by_type.test.ts

Co-Authored-By: mikecote <mikecote@users.noreply.github.com>

* Update docs/api/saved-objects/export_by_type.asciidoc

Co-Authored-By: mikecote <mikecote@users.noreply.github.com>

* Update docs/api/saved-objects/export_by_type.asciidoc

Co-Authored-By: mikecote <mikecote@users.noreply.github.com>

* Update src/legacy/server/saved_objects/routes/export_objects.test.ts

Co-Authored-By: mikecote <mikecote@users.noreply.github.com>

* Apply PR feedback

* MockServer -> createMockServer

* Revert back to single API

* Re-apply PR feedback
2019-03-05 15:42:02 -05:00
Sarah Hersh d0ffd86488
[DOCS]Add sample data (#32244)
* add screenshot to add sample sets

* add sample data overview

* new screenshot

* add next steps

* feedback from Gail
2019-03-05 13:27:30 -05:00
Nathan Reese 4098f3f99b
[Maps] docs (#32130)
* [Maps] docs

* unique ids

* use hyphen instead of underscore in file names

* get everything working

* add screen shots of layer types

* add sources to layer documentation

* terms join example

* vector styling

* clean up

* link to geo_point for grid agg source

* minor clean up

* review feedback

* Update docs/maps/index.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>

* Update docs/maps/heatmap-layer.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>

* Update docs/maps/heatmap-layer.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>

* Update docs/maps/heatmap-layer.asciidoc

Co-Authored-By: nreese <reese.nathan@gmail.com>

* rest of changes suggested by gchaps

* update terms join intro
2019-03-04 12:18:20 -07:00
Lukas Olson 598fee3bb4
Add docs for savedObjects:listingLimit advanced setting (#31593) 2019-02-21 08:17:21 -07:00
Tim Sullivan 5197a0a380
[Docs/Reporting] Fix Troubleshooting page issues, Add section in Getting Started (#31539)
* [Docs/Reporting] Fix Troubleshooting page issues, Add section in Get Started

Close https://github.com/elastic/kibana/issues/31518

* update some gs headings

* Kibana doesn't download Chromium!

* Note about verbose logging

* sections

* full path

* has been
2019-02-20 16:25:56 -07:00
Tim Sullivan e2b3cd52da
[DOC] Missing font packages for Chromium (post 6.5) leading to "Caught error spawning Chromium" (#29940) (#31509)
It might occur that users hit the `Caught error spawning Chromium` error.
This is usually linked to missing font packages on the system.

This sub-list has been extracted from [the puppeteer troubleshooting page](https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md) and as a follow up of the issue https://github.com/elastic/kibana/issues/28123

Let me know if I should review the package list or the text.
I might also add directions on how to check Chromium debug logs if necessary.
2019-02-19 14:10:56 -07:00
Brandon Kobel 4224895cda
Adding note about sessions always being bound to browser's lifetime. (#31472)
* Adding note about sessions always being bound to browser's lifetime.

* Update docs/settings/security-settings.asciidoc

Co-Authored-By: kobelb <brandon.kobel@gmail.com>
2019-02-19 10:43:37 -08:00
Sarah Hersh e1c072db78
[Docs]Fixes links in Vega docs (#31283)
* fixes broken links and styles

* reformat getting started
2019-02-19 10:31:37 -05:00
Tim Roes 91a3361975
Renamed the kuery setting to KQL (#29587)
* Allow select settings to specify labels for their values

* Rename kuery setting to KQL

* Change docs for KQL setting

* Add warnings for unused options

* Address review

* Remove chinese translation for modified string

* Fix translations again (... should have pulled first)

* Remove old chinese translation
2019-02-19 11:58:29 +01:00
Chris Cowan cb3dad1317
[Infra UI] Clean up Docker and Kubernetes fields for ECS (#31175)
* [Infra UI] Clean up Docker and Kubernetes fields for ECS

* updating tests with latest ecs fields

* Fixing documentation
2019-02-15 11:19:46 -07:00
Joe Reuter 562edd6578
Downgrade vega to 4.3 (#31274) 2019-02-15 17:50:09 +01:00
Joe Reuter 2ede2e330e
Update vega to version 4 (#30628) 2019-02-14 11:35:05 +01:00
gchaps 26db3855af
[DOCS] Updates index management doc for 6.7 (#30906)
* [DOCS] Updates index management doc for 6.7

* [DOCS] Incorporates review changes into managing indices doc
2019-02-13 13:51:36 -08:00
Josh Dover 7c49336a8d
[docs] Add docs for Upgrade Assistant APIs (#30330)
* [docs] Add docs for Upgrade Assistant APIs

* Apply suggestions from code review

Co-Authored-By: joshdover <me@joshdover.com>

* Link to code tables
2019-02-13 14:12:19 -06:00
gchaps fee05b5da0
[DOCS] Adds information about freeze action and index priority to docs (#30865)
* [DOCS] Adds information about freeze action and index priority to ILM docs

* [DOCS] Incorporates review changes for create policy doc
2019-02-13 05:58:02 -08:00
Lisa Cawley e513c6e96c
[DOCS] Sorts the list of Kibana settings (#30551) 2019-02-11 09:20:19 -08:00
Lisa Cawley f05f0e18d4
[DOCS] Removes X-Pack settings section (#30554) 2019-02-11 08:17:25 -08:00
Court Ewing 2ce51a5be5 Update paths to ui, server, deprecation, plugin_discovery in src/legacy
This commit accompanies the four that precede it. Rather than squash
them altogether, the four previous commits all do nothing except move
files to help avoid conflicts.
2019-02-11 10:41:37 -05:00
Lisa Cawley afdb0509e4
[DOCS] Adds placeholders for release notes, breaking changes, highlights (#30545) 2019-02-08 12:56:52 -08:00
Shaunak Kashyap 753da9370d
Adding breaking changes docs for removed setting (#30505) 2019-02-08 11:42:32 -08:00
Tim Sullivan a9edf2dec2
Fix/reporting vis preserve (#30456)
* add state field for isPreserveLayoutSupported

* doc updates
2019-02-08 11:56:29 -07:00
Matt Bargar af2da97974
Makes KQL the default query language for new searches (#27092)
Changes the default query language to KQL in all apps that respect the `search:queryLanguage` advanced setting.
2019-02-06 17:18:25 -05:00
CJ Cenizal 1c5c175e8d
Update settings docs with new xpack.rollup and xpack.license_management settings. (#30259) 2019-02-06 12:48:07 -08:00
Mike Côté 9bee5b1838
Add breaking changes documentation for references PR (#29963)
* Initial draft of breaking changes

* Add object structure change

* Make id attribute match

* Fix attribute name

* Remove relationships API notes
2019-02-06 10:41:44 -05:00
Sarah Hersh 43c031a2ad
[DOCS] Removes empty image link (#30125) 2019-02-06 10:35:55 -05:00
gchaps 890b2c00ec
[DOCS] Adds descriptions and examples to spaces security doc (#30113) 2019-02-05 15:59:37 -08:00
Court Ewing 7094548bca
Warn legacy browsers that do not support Content Security Policy (#29957)
* csp: warn legacy browsers that do not support CSP

The new csp.warnLegacyBrowsers configuration is enabled by default, and
it shows a warning message to any legacy browser when they access Kibana
to indicate that they are not enforcing the basic security protections
of the current install.

The protections check is the same as csp.strict, so this feature is
designed to be used as an alternative to aid in BWC. When csp.strict is
enabled, warnLegacyBrowsers is effectively ignored.

* fix ChromeService tests

* more test fixes

* csp injectvars in legacy test bundle

* update warning text and make it translatable

* no need to warn in legacy browser unit tests

* tests for chrome legacy browser warning

* document legacy browser warning breaking change

* update csp warning toast message

* add period, remove dev code
2019-02-05 12:27:56 -05:00
Nathan Reese 52e12c7cda
add removal of deprecated tilemap and regionmap kibana.yml settings to breaking changes log (#30083) 2019-02-05 09:48:34 -07:00
Shaunak Kashyap 7b68b89ef1
Removing deprecated xpack.monitoring.report_stats setting (#30017)
* Removing deprecated xpack.monitoring.report_stats setting

* Remove from docs

* Update check in xpack_main plugin to not look at monitoring settings any more
2019-02-04 19:37:32 -08:00
Sarah Hersh bf866030c7
fix broken image link of time filter page (#29961) 2019-02-04 11:14:40 -05:00
Sarah Hersh 3cd087663b
[Docs]Updates to Discover docs (#29868) 2019-02-04 10:20:24 -05:00
Court Ewing 475dd5651b
Content security policy strict mode (#29856)
A content security policy is a great addition to the protections built
into Kibana, but it's not effective in older browsers (like IE11) that
do not enforce the policy.

When CSP strict mode is enabled, right before the Kibana app is
bootstrapped, a basic safety check is performed to see if "naked" inline
scripts are rejected. If inline scripting is allowed by the browser,
then an error message is presented to the user and Kibana never attempts
to bootstrap.
2019-02-04 09:09:40 -05:00
Lisa Cawley b71b815658
[DOCS] Removes problematic float (#29875) 2019-02-01 15:27:09 -08:00
Court Ewing 7a87f03ec7
Introduce content security policy (CSP) (#29545)
* csp: nonce and unsafe-eval for scripts

To kick things off, a rudimentary CSP implementation only allows
dynamically loading new JavaScript if it includes an associated nonce
that is generated on every load of the app.

A more sophisticated content security policy is necessary, particularly
one that bans eval for scripts, but one step at a time.

* img-src is not necessary if the goal is not to restrict

* configurable CSP owned by security team

* smoke test

* remove x-content-security-policy

* document csp.rules

* fix tsconfig for test

* switch integration test back to regular js

* stop looking for tsconfig in test

* grrr, linting errors not caught by precommit

* docs: people -> you for consistency sake

Co-Authored-By: epixa <court@epixa.com>
2019-02-01 17:11:38 -05:00
DeDe Morton f7de675be2
[Docs] Add list of supported config blocks for central management (#27275)
* [Docs] Add list of supported config blocks for central management

* Add Redis to list of supported outputs
2019-01-31 20:03:09 -05:00
Mike Côté 1b0f595f01
Add new "references" attribute to saved objects for relationships (#28199)
* Add new references attribute to saved objects

* Add dual support for dashboard export API

* Use new relationships API supporting legacy relationships extraction

* Code cleanup

* Fix style and CI error

* Add missing spaces test for findRelationships

* Convert collect_references_deep to typescript

* Add missing trailing commas

* Fix broken test by making saved object API consistently return references

* Fix broken api integration tests

* Add comment about the two TS types for saved object

* Only return title from the attributes returned in findRelationships

* Fix broken test

* Add missing security tests

* Drop filterTypes support

* Implement references to search, dashboard, visualization, graph

* Add index pattern migration to dashboards

* Add references mapping to dashboard mppings.json

* Remove findRelationships from repository and into it's own function / file

* Apply PR feedback pt1

* Fix some failing tests

* Remove error throwing in migrations

* Add references to edit saved object screen

* Pass types to findRelationships

* [ftr] restore snapshots from master, rely on migrations to add references

* [security] remove `find_relationships` action

* remove data set modifications

* [security/savedObjectsClient] remove _getAuthorizedTypes method

* fix security & spaces tests to consider references and migrationVersion

* Add space id prefixes to es_archiver/saved_objects/spaces/data.json

* Rename referenced attributes to have a suffix of RefName

* Fix length check in scenario references doesn't exist

* Add test for inject references to not be called when references array is empty or missing

* some code cleanup

* Make migrations run on machine learning data files, fix rollup filterPath for savedSearchRefName

* fix broken test

* Fix collector.js to include references in elasticsearch response

* code cleanup pt2

* add some more tests

* fix broken tests

* updated documentation on referencedBy option for saved object client find function

* Move visualization migrations into kibana plugin

* Update docs with better description on references

* Apply PR feedback

* Fix merge

* fix tests I broke adressing PR feedback

* PR feedback pt2
2019-01-30 15:53:03 -05:00
Brandon Morelli 93faa5fbc3
[APM][docs][WIP] Update APM UI documentation (#28621)
* docs: initial APM UI updates

* docs: using-the-apm-ui updates

* more docs updates

* quick edits

* docs: apply feedback and fix screenshots

* docs: incorporate feedback, bold page names

* finishing touches and clean up

* docs: incorporate feedback from sarah

* docs: add feedback

* docs: incorporate feedback from gchaps
2019-01-30 09:08:11 -08:00
Mike Côté 9eef63f783
Allow passing a default operator to use on saved object client find operations (#29339)
* Allow passing a default operator to use on find operations

* Default operator to OR like elasticsearch to avoid passing null

* Add dashboard search tests

* Make search_operator optional

* Fix query_params.test.js

* Include searchOperator in saved_object_finder

* Apply PR feedback

* Rename searchOperator to defaultSearchOperator
2019-01-30 11:33:44 -05:00
Aleh Zasypkin 86a17bfeea
Remove previously deprecated elasticsearch.* and xpack.monitoring.elasticsearch.* settings. (#29496) 2019-01-30 16:21:06 +01:00
Jonathan Budzenski 166c192c7f
[plugin cli] defer optimization (#26983)
* [plugin cli] defer optimization

* include pr in docs

* update migration docs

* fix merge
2019-01-29 10:35:55 -06:00
Aleh Zasypkin a8e4be0c3b
Removing deprecated i18n.defaultLocale setting. (#29325) 2019-01-29 10:41:08 +01:00
Lisa Cawley 55ad328c93
[DOCS] Overview of automated annotations (#29456) 2019-01-28 13:18:22 -08:00
Bill McConaghy b5bb7c7a31
[DOC] Settings to disable the Rollup and License Management UI (#29278)
Add the settings to disable the Rollup and License Management UI in the Dcoumentation
2019-01-24 13:37:54 -05:00
Lisa Cawley 09f275c761
[DOCS] Remove beta tag from metricbeat monitoring (#29231) 2019-01-24 09:22:55 -08:00
Spencer c052613962
[dashboard+gis] remove dark mode options (#29017)
* [dashboard+gis] remove dark mode options

* [reporting/extract] restore fixtures

* remove mentions of old `.theme-dark` class

* import panel styles from panel/_index.scss
2019-01-23 14:29:35 -08:00
Brandon Kobel 0e00c3ffef
Remove legacy fallback (#29107)
* Remove mode.initialize and change useRbacForRequest to useRbac

* Updating saved object api tests

* Fixing spaces api integration tests

* Removing unused "expect legacy forbidden" declarations and imports

* Updating docs

* Update docs/migration/migrate_7_0.asciidoc

Co-Authored-By: kobelb <brandon.kobel@gmail.com>

* Update docs/migration/migrate_7_0.asciidoc

Co-Authored-By: kobelb <brandon.kobel@gmail.com>

* Updating comment that mentions the scenario when we aren't using RBAC

* Adding back the authorization section of the config

When a config setting is marked as unused using the deprecations, it's
still required to show up in the config declarations so an error isn't
thrown on startup.

* Adding note about watcher jobs

* Update docs/migration/migrate_7_0.asciidoc

Co-Authored-By: kobelb <brandon.kobel@gmail.com>
2019-01-22 12:08:45 -08:00
Lisa Cawley 395560a2dc
[DOCS] Adds info for ML auditbeat module (#28969) 2019-01-21 08:42:30 -08:00
Tim Roes 6c47f10a3c
Remove legacyIcon from visualizations (#28981) 2019-01-21 09:07:17 +01:00
Sarah Hersh e2ab1b0f78
[DOCS] Adds documentation for remote cluster and CCR UIs (#28944)
* [DOCS]Adds docs for new remote cluster UIs
2019-01-18 09:32:24 -05:00
gchaps 996f433467
[DOCS] Removes experimental tag (#28780) 2019-01-16 10:48:06 -08:00
Lisa Cawley 31cd2bc370
[DOCS] User annotations (#28711) 2019-01-16 08:36:54 -08:00
gchaps 9162855775
[DOCS] Adds documentation for index lifecycle policies (#28705)
* [DOCS] Adds documentation for index lifecycle policies

* [DOCS] Updated image for policy options to show all menu items

* Update create-policy.asciidoc

* [DOCS] Incorporated review comments on hot and warm phase

* [DOCS] Additional changes to warm phase

* [DOCS] Removed the word open in the warm phase
2019-01-15 14:11:19 -08:00
Brandon Kobel fe5a083509
Removing deprecated SSL settings (#28622)
* Removing deprecated SSL settings

* Updating breaking changes doc

* Fixing documentation typo

* Fixing LegacyObjectToConfigAdapter tests

* Fixing transformDeprecations tests

* Updating docs

Co-Authored-By: kobelb <brandon.kobel@gmail.com>
2019-01-14 12:37:58 -08:00
Fabien Baligand 9254c829fb Add setting to hide the 'Time' column in discover and saved searches. 2019-01-09 16:23:21 -07:00
Sarah Hersh 76f3816dd1
DOCS/update to reflect new UI text (#28088) 2019-01-09 15:18:53 -05:00
Chris Cowan 4c36db8c2c
[InfraOps] Update docs with data source configuration (#26579)
* Updating docs

- Configure data sources via config/kibana.yml
- Fix typo

* Adding timestamp override

* Documenting all settings

* Removing changes from a different PR

* Add settings docs

* Adding all the settings

* Updating docs based on feed back from PR

* Adding periods to lines; changing disabled to present tense

* Updates to docs per PR

* Updates per PR

* Fixes per PR
2019-01-09 10:50:35 -07:00
Lisa Cawley 6ac4dcbe0b
[DOCS] Use search profiler attribute (#28209) 2019-01-08 10:28:02 -08:00
Lisa Cawley 61fcf98b6e
[DOCS] Updates X-Pack terminology (#28208) 2019-01-08 08:48:36 -08:00
gchaps 61eed842e5
[DOCS] Add docs for 8.0 Upgrade Assistant (#28138) 2019-01-07 08:06:00 -08:00
Sarah Hersh 5654f608eb
DOCS/add detail to managing rollup jobs (#28000) 2019-01-04 10:42:35 -05:00
Nathan Reese faa5bd7288
update docs for reporting move to share menu (#27683) 2019-01-03 15:06:12 -07:00
Tim Sullivan 237e446ba3
[Reporting] Remove Phantom (#27142)
* remove some phantom stuff and tests

* remove phantom

* remove phantom

* remove phantom

* todo comments

* remove from yarn.lock

* edit fix

* use constant in init

* readme edit

* update migration guide

* remove refs to non-existing docs
2019-01-03 14:35:15 -07:00
Nathan Reese fd8c36e372
fix console documenation (#27862) 2018-12-31 11:29:42 -07:00
Sarah Hersh c048fa74ab
remove 7.0alpha2 coming tag (#27634) 2018-12-20 17:26:39 -05:00
Sarah Hersh c8247dcdb0
[DOCS]Fixes broken link in release highlights (#27533)
* fixes broken link in release highlights
2018-12-19 14:51:04 -05:00
Sarah Hersh aad71f026b
Adds release notes for 7.0.0-alpha2 (#27237)
* adding release notes for 7.0.0alpha2

* adding PRs through 12/15 BC
2018-12-19 12:10:23 -05:00
Lisa Cawley e65ad31de7
[DOCS] Fix links to search profiling (#27501) 2018-12-19 07:56:13 -08:00
Brandon Morelli fcb0a6d1ab
docs: add sentence on where to change apm settings (#27069) 2018-12-18 15:05:29 -08:00
Brandon Kobel a3793ecac5
Disabling TLSv1 from being enabled by default (#26415)
* Disabling TLSv1 from being enabled by default

* Adding breaking change docs

* Update docs/migration/migrate_7_0.asciidoc

Co-Authored-By: kobelb <brandon.kobel@gmail.com>

* Using the schema defaults

* Fixing type definitions

* Adjusting logic for no supported protocols

* Adding minSize: 1 to the supported protocols
2018-12-18 12:38:26 -08:00
Jonathan Budzenski b5b64f4706
Support for multiple Elasticsearch nodes and sniffing (#21928)
* Node sniffing

* update monitoring

* cleaning

* remove tests

* rewrite tests using the proxy

* fix monitoring mocha tests

* fix payload

* return full error

* default interval false

* add sniff settings to monitoring

* add docs for sniff settings

* re-add index search integration test

* catch parse error

* capital

* fix merge

* hapi upgrade

* return

* pass by prefix

* rm empty test fille

* split error handling

* fix merge

* update recent elasticsearch.url references

* prettier vs eslint

* transport.request, include query params

* mega comment

* revert elasticsearchUrl

* safe hosts

* more docs es.url references

* remove unused ml/esServerUrl

* log if both set
2018-12-18 13:22:43 -06:00
Tim Roes 8964523f41
Add setting to enable frozen index search (#27297)
* Add setting to enable frozen index search

* Add description to docs

* Fix method calls
2018-12-17 22:21:34 +01:00
Lisa Cawley 49e863ba2c
[DOCS] Deprecate /_xpack/security in favor of /_security (#26897) 2018-12-10 12:42:56 -08:00
Lisa Cawley b2246f9dfb
[DOCS] Deprecate X-Pack-centric watcher endpoints (#26899) 2018-12-10 10:09:27 -08:00
Oliver Gupte 0cd6eaea44
[APM] Transaction group agg size config (#26683)
* [APM] Fixes #24204 by adding default configs to kibana.yml

* [APM] fixes #25940 by adding APM config to control top transation group agg size

* Revert the default configs added to kibana.yml and define joi validations for `xpack.apm.ui.transactionGroupBucketSize`

* fix broken test for incorrect config

* [APM] add docs entry for `xpack.apm.ui.transactionGroupBucketSize`
2018-12-07 22:57:53 -08:00
DeDe Morton 23effa5a22
[Docs] Add beta flag to central management docs (#26558) 2018-12-06 12:50:44 -08:00
Sarah Hersh 5c1615dd96
[DOCS] Kibana APIs not accessible via Console (#26221) 2018-12-05 16:20:58 -05:00
Sarah Hersh 8b304217b5
[DOCS] Adds Kibana docs for Canvas functions (#26467)
* [DOCS] Migrates Canvas function docs to Kibana docs

* [DOCS] Add docs for TinyMath Canvas functions
2018-12-05 16:02:44 -05:00
Chris Koehnke da34c80d75
Docs: Add note about oss repositories for deb/rpm (#26475)
* Docs: Add note about oss repositories for deb/rpm

Add documentation on the `oss-*` yum and apt repositories.

* Specify kibana-oss package name
2018-12-05 10:03:54 -05:00
Lisa Cawley 98fbca6230
[DOCS] Fixes link title (#26599) 2018-12-04 08:49:37 -08:00
Tim Sullivan 97928b38be
[Reporting] clarify what phantom deprecation means (#26434) 2018-12-04 09:43:59 -07:00
Lisa Cawley d8a70b5c26
[DOCS] Adds links to more limitations (#26099) 2018-12-03 17:03:08 -08:00
Aleh Zasypkin 3427a08108 [docs] fix typos in the i18n and development docs. 2018-12-03 13:03:14 +01:00
Aleh Zasypkin db3d727fdb [common] fix paths. 2018-12-03 13:03:14 +01:00
DeDe Morton fd4bb7845b
[Docs] Adds Beats central management docs (#26061) 2018-11-30 10:25:06 -08:00
Lisa Cawley 02a1db2ad6
[DOCS] Clarify monitoring dependencies (#26229) 2018-11-27 11:15:06 -08:00
lcawl 6ae391e362 [DOCS] Fix monitoring links 2018-11-26 13:57:48 -08:00
Lisa Cawley a3414c98f0
[DOCS] Adds screenshots for CCR monitoring (#25979) 2018-11-26 07:28:09 -08:00
Tim Roes 8c14c256b7
New visualization type selection (#23833)
* First version of new visualization selection

* Extract some components

* Remove visualization category

* Remove old wizard code

* Fix i18n ids

* Fix tests

* Fix tag cloud tests

* Fix broken test method

* Fix wrong method call

* Fix TSVB navigation in tests

* Restructure components

* Fix for lab removal

* Add tests

* Timroes/eui vis type selection (#4)

* Added background graphic from welcome screen to modal

* Fixed up responsiveness

* Change wording

* Fix test snapshot

* Create VisTypeIcon

* Implement suggestions

* Change experimental wording

* Use regular quotes for i18n engine
2018-11-22 12:52:05 +01:00
Lisa Cawley f56579d553
[DOCS] Adds screenshot for monitoring jobs (#25904) 2018-11-21 09:35:11 -08:00
Sarah Hersh 7fbac45ec7
[DOCS]fix typo in link to source code (#25968) 2018-11-20 15:49:51 -05:00
Tim Roes a5e096ecf6
Remove lab stage for visualizations (#25702)
* Remove lab stage for visualizations

* Fix typo

Co-Authored-By: timroes <mail@timroes.de>

* Remove dead code
2018-11-19 16:28:01 +01:00
Shaunak Kashyap 0c6e619237
[Monitoring] Adding security note about first-time setup (#25823)
* Adding security note

* Mention the built-in superuser role

* Making edits per review feedback
2018-11-19 05:14:38 -08:00
Tim Sullivan dd5d245dcd
[Docs/Reporting] Include working config example for multiple kibana.index (#25410)
* [Docs] Include working config example for multiple kibana.index in the cluster

* updates
2018-11-16 10:08:58 -07:00
debadair c21cf21e89
[DOCS] Removed coming tags for 7.0.0-alpha1 (#25750) 2018-11-15 11:36:48 -08:00
Karen Metts 393fa6a0b9
Add infrastructure and logs doc (#25407) 2018-11-15 14:05:04 -05:00
gchaps 22a4fed51d
[DOCS] Adds Release Notes for 7.0.0-alpha1 (#25583)
* [DOCS] Adds Release Notes for 7.0.0-alpha1

* [DOCS] Incorporated review comments into 7.0.0-alpha1 release notes

* [DOCS] Updated text about K7 design
2018-11-14 13:34:14 -08:00
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 &#42; 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