Commit graph

1113 commits

Author SHA1 Message Date
Dmitry Lemeshko ee79dacbd4
[DOCS] Update functional test runner doc (#41806)
* [ftr/docs] replace leadfoot with webdriver

* [ftr/docs] more details about running tests in Firefox

* [ftr/docs] update references to ftr services

* [ftr/docs] fix links and update description

* [ftr/docs] update services information

* [ftr/docs] fix more links

* small fix

* [ftr/docs] Firefox run example

* revert link changes

* review fix

* review fixes

* add details on how to start x-pack tests

* lost fix for tags description

* Update docs/development/core/development-functional-tests.asciidoc

Co-Authored-By: Spencer <email@spalger.com>

* Update docs/development/core/development-functional-tests.asciidoc

Co-Authored-By: Spencer <email@spalger.com>
2019-07-30 16:38:30 +02:00
István Zoltán Szabó a878835330
[DOCS] Updates ML/anomaly detection terms in the Kibana guide (#41965) 2019-07-30 09:59:56 +02:00
Mengwei Ding ab5a848226
[Code] remove the disableIndexScheduler flag (#42179) 2019-07-29 19:27:15 -07:00
Josh Dover eb03fd8c5f
[new-platform] Add legacy property to NavLinks registered by… (#41301) 2019-07-29 17:51:45 -05:00
Andrew Cholakian c5e57e8848
[Uptime][Docs] Fix ref to index aliases in docs (#42094) 2019-07-29 09:09:04 -05:00
Mikhail Shustov 8b7164225d
Export public http interfaces (#42001)
* re-export http types

* update docs
2019-07-26 17:54:23 +02:00
gchaps a6b8036283
Updates getting started guide (#41778)
* [DOCS] Updates images in Getting Started

* [DOCS] Updates getting started

* [DOCS] Updated gs based on review comments

* [DOCS] Updates links to sample data

* [DOCS] Fixes broken links

* [DOCS] Minor edits to GS
2019-07-25 13:46:23 -07:00
Mike Côté 2cd3094ed7
Task manager enhancements for error handling in alerting and actions (#39829)
* Allow mtask definitions to overwrite default setting maxAttemps

* Leverage scheduledAt from task manager

* Treat maxAttempts like attempts and not retries

* Add support for second intervals

* Min 1 attempt

* Reverse relying on scheduledAt

* Add new startedAt attribute in task manager that keeps track when task started running

* Don't extend runAt when claiming a task

* Remove startedAt from state

* Attempt trying to define custom getBackpressureDelay function

* Pass error object to getBackpressureDelay

* Cleanup processResultForRecurringTask code

* Add backpressure to timed out tasks

* Change default timeout backpressure calculation

* getBackpressureDelay to return seconds instead of milliseconds

* Add comment for task store query

* Compress query

* Revert alert / actions specific code

* Add more interval tests

* Fix failing jest tests

* Fix test

* Add more unit tests

* Fix integration tests

* Fix sorting of tasks to process

* WIP

* Always provide error when getBackpressureDelay is called

* Rename getBackpressureDelay to getRetryDelay

* retryAt to be calculated from timeout time by default

* Remove invalid test

* Add unit tests

* Consider timeout before scheduling a retryAt

* Remove backpressure terminology

* Remove support for 0 based intervals and timeouts

* Apply PR feedback

* Fix last place using Math.abs

* Modify migrations to allow running a script when converting an index to an alias

* Convert task manager to use saved objects

* Fix broken test

* Fix broken tests pt1

* Remove index from task manager config schema

* Accept platform changes

* PR feedback

* Apply PR feedback

* Apply PR feedback pt2

* Apply PR feedback pt3

* Apply PR feedback pt4

* Fix feedback pt3

* Rename RawSavedObjectDoc to SavedObjectsRawDoc
2019-07-25 12:36:36 -04:00
Mikhail Shustov 3f728334d0
AuthResultData configures response headers (#41775)
* extend AuthResultData with response headers

* add tests

* update docs

* rename headers --> requestHeaders to clarify intention

* update docs

* address comments
2019-07-25 07:40:59 +02:00
Lisa Cawley 1058eaf562
[DOCS] Clarifies xpack.security.enabled setting (#41904) 2019-07-24 09:29:11 -07:00
gchaps f1ca9b50e6
[DOCS] Updates images and adds example to rollup jobs doc (#41839)
* [DOCS] Updates images and adds example to rollup jobs doc

* [DOCS] Edits to rollup text
2019-07-24 08:16:03 -07:00
Court Ewing 9950b39cf9
[csp] reject legacy browsers by default (#41700)
* [csp] reject legacy browsers by default

The csp.strict config is now enabled by default, so legacy browsers like
IE11 will not be able to access Kibana unless the deployment has
explicitly enabled it.

* docs: csp.strict breaking change
2019-07-24 09:16:52 -04:00
gchaps 751f2ee2e6
[DOCS] Updates Console doc (#41371)
* [DOCS] Updates Console doc

* [DOCS] Incorporates comments on Console docs

* [DOCS] Updated Console images
2019-07-23 10:58:45 -07:00
gchaps 1ba93c0936
[DOCS] Puts Spaces content on single page (#41536)
* [DOCS] Puts Spaces content on single page

* [DOCS] Incorporates review comments

* [DOCS] Incorporated review comments
2019-07-23 10:25:17 -07:00
Tim Roes e1bc154478
GoodBye Notifier (#41663)
* Begin notifier removal

* Remove remaining notifier traces

* Remove dead translations

* Remove Angular from config listener

* Import angular-sanitize explicitly in map
2019-07-23 18:26:50 +02:00
Flexmonster Pivot Table ac141ea1fd Added Flexmonster Pivot Table to known plugins list (#41655)
* Add Flexmonster Pivot Table to known plugins list

* Update docs/plugins/known-plugins.asciidoc

Co-Authored-By: Larry Gregory <lgregorydev@gmail.com>
2019-07-23 11:49:45 -04:00
Mikhail Shustov 4e73b1865a
Narrow type of PluginDeps to an object (#40846)
* Narrow type of PluginDeps to an object

* re-generate docs
2019-07-23 10:48:32 +02:00
Mikhail Shustov 3467c45e04
core doesn't use Record<string, unknown> for public API (#41448)
* core contracts don't use unknown to support type assignment

limitations of https://github.com/Microsoft/TypeScript/wiki/Breaking-Changes#-k-string-unknown--is-no-longer-a-wildcard-assignment-target

* regenereate docs

* remove type over-write
2019-07-23 10:12:17 +02:00
Kaarina Tungseth 099f434542
[DOCS] Adds missing Timelion link (#41709) 2019-07-22 16:28:55 -05:00
Kaarina Tungseth 94a9b91c8f
[DOCS] Changed Visual Builder to TSVB (#39539)
* [DOCS] Changed Visual Builder to TSVB

* Reorg of interface changes

* Content reorg

* Updated image

* Added task content

* Content conslidation

* Final clean up

* Comments from Gail
2019-07-22 16:00:15 -05:00
Catherine Liu a90ba21fea
[Canvas] Removes doc links from backticks. (#41601) 2019-07-22 10:15:32 -07:00
Kaarina Tungseth f5350f073a
[DOCS] Timelion cleanup (#41381) 2019-07-22 10:07:11 -05:00
Zacqary Adam Xeper 82dfb8db7d
[Docs] Add simple phrase highlighting to Logs UI (#41610)
* [Docs] Add simple phrase highlighting to Logs UI

* Fix heading level
2019-07-22 09:50:41 -05:00
Catherine Liu e356de8cd6
[Canvas] Updates esdocs default count to 1000 (#41604) 2019-07-19 16:52:10 -07:00
Brandon Morelli 600bcb6304
docs: lowercase app (#41612) 2019-07-19 13:41:10 -07:00
James Rodewig 6d7ccbe2a0
[DOCS] Update anchors and links for Elasticserach API relocation. (#41372) 2019-07-19 15:16:57 -04:00
Tim Sullivan b2cd01e1be
[Docs/Reporting] More information about HTTP / script stuff (#41200)
* [Docs/Reporting] More information about HTTP / script stuff

* "post url" formatting consistency

* consistent wording from 1 paragraph to another

* Update docs/reporting/response-codes.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* pr feedback

* subs=attributes, version in command example

* "Retry-After" content

* another feedback
2019-07-18 14:41:43 -07:00
gchaps a4252143ac
[DOCS] Fixes bulleted list in snapshot doc (#41475) 2019-07-18 09:12:43 -07:00
Brandon Morelli 6105367f8c
[docs][APM] Breakdown graph and screenshots (#41175) 2019-07-18 08:15:32 -07:00
liza-mae 48e007aa07
Update functional test doc (#41276) 2019-07-18 08:55:33 -06:00
gchaps fe23275067
[DOCS] Puts all watcher content on one page (#41390) 2019-07-17 10:48:05 -07:00
Kaarina Tungseth ead04c02ce
[DOCS] Overhaul of Timelion content (#40203)
* [DOCS] Moved Timelion content under Visualize section

* TOC fix

* Removed the dashboard content

* Added images and reorganized content

* Changes to conditional content

* More content reorganization and updated images

* Final clean up

* Comments from Gail
2019-07-16 10:53:51 -05:00
Mikhail Shustov 51374d6a91
decouple sessiontStorageFactory creation from registerAuth (#40852)
* decouple sessiontStorageFactory creation from registerAuth

* expose to plugins

* re-generate docs

* fix mocks
2019-07-16 16:39:14 +02:00
Lisa Cawley 6acb461645
[DOCS] Fixes broken reporting links (#41195) 2019-07-15 14:14:45 -07:00
James Rodewig 0ce7edc0a1
[DOCS] Fix broken snapshot anchor links (#41184) 2019-07-15 16:30:17 -04:00
Michail Yasonik add1c05743
update table vis options tab docs to include total and percentage settings (#40504) 2019-07-15 13:03:38 -07:00
Tim Sullivan e24440e8e7
[Docs/Reporting] Improve docs on automating Reporting (#40931)
* [Docs/Reporting] Improve docs on automating Reporting

* Update docs/reporting/automating-report-generation.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/reporting/script-example.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/reporting/script-example.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* --wip-- [skip ci]

* word change
2019-07-15 12:52:42 -07:00
Lisa Cawley 58a319dab0
[DOCS] Fixes experimental annotations (#40376) 2019-07-15 10:16:38 -07:00
Brandon Morelli 7731e5ba94
docs: fix link (#41126) 2019-07-15 08:10:13 -07:00
Brandon Morelli 171f8a2698
[docs][uptime] Add links from kibana to uptime (#41024)
* docs: add links from kib -> uptime

* fix DTD error
2019-07-15 07:43:53 -07:00
James Rodewig 8571d56839
Revert "[DOCS] Fix broken links for ES API docs move (#41001)" (#41056)
This reverts commit dd34150467.
2019-07-12 17:40:59 -04:00
Nathan Reese 1f09b16715
[skip ci][Maps] rework terms join documentation (#40005)
* [Maps] revamp terms join docs

* clean up

* clarify how join adds properties to left source features

* move configuration to relavent area

* add sentence explaining that features without join properties are not visible

* paired with gchaps for edits

* cleanup

* suggested changes from gchaps
2019-07-12 13:05:42 -06:00
gchaps 8c22f0883e
[DOCS] Updates Snapshot and Restore docs (#40894) 2019-07-12 11:29:57 -07:00
Brandon Morelli 7c90d9d6ff
docs: fix uptime link (#41016) 2019-07-12 09:27:02 -07:00
James Rodewig dd34150467
[DOCS] Fix broken links for ES API docs move (#41001) 2019-07-12 12:15:40 -04:00
Brandon Morelli 9903d2e772
[docs][uptime] Add Uptime Monitoring Guide (#40566)
* docs: uptime guide first draft

* docs: uptime guide updates

* docs: clean up duplication

* docs: nits

* temporarily remove link from kib to uptime

* reviewer feedback

* change from getting started to install
2019-07-12 09:02:58 -07:00
Lisa Cawley 19abe936d2
[DOCS] Removes links to out-dated ML tutorials (#40943) 2019-07-12 08:36:19 -07:00
Catherine Liu b87cc7d27b
[Canvas][Docs]Fixes multi arg annotation (#40934) 2019-07-11 17:31:16 -07:00
Nathan Reese f961b8b10b
[skip ci][maps] clarify data driving styling behavior when there is no range (#40884)
* [skip ci][maps] clarify data driving styling behavior when there is no range

* remove extra words

* feedback
2019-07-11 17:16:19 -06:00
Nathan Reese 92d7dbe3e5
[skip ci][maps] troubleshooting documentation (#40539)
* trouble shooting docs

* more details

* gchaps feedback
2019-07-11 17:15:06 -06:00
Catherine Liu 5103e5bee0
Fixes Canvas doc headers (#40921) 2019-07-11 15:36:28 -07:00
Catherine Liu 0166246fb8
[Canvas][Docs] Merge Canvas function references (#38300)
* Synced up docs with function defs

* Updated docs with changes from PR #37305

* Merged canvas function ref into a single doc

* Fixed arg order

* Fixed typo

* Added alphabet links

* Added alphabet headers

* Removed B header

* Added missing args from

* Added edits from PR #37614

* Updated containerStyle

* Removed metafields. ESSQL doesn't support retrieving metafields

* Edits to function copy

* More edits

* More edits

* Final round of edits

* Fixed i18n errors

* Addressing feedback

* Fixed jest test

* Fixed missing import

* Fixed i18n error

* Restored metaFields arg in esdocs

* Extracted i18n string constants

* Fixed i18n errors

* Updated translation files
2019-07-11 14:47:56 -07:00
Mikhail Shustov ed6696251c
expose ES createClient to plugins (#40717) 2019-07-11 09:32:35 +02:00
Lisa Cawley 0a78b428b9
[DOCS] Fixes typo (#40668) 2019-07-10 15:16:30 -07:00
Brandon Morelli e91d9a040a
[docs][APM] Agent config docs (#40084) 2019-07-10 14:29:29 -07:00
Spencer 415e3bca27
[ts] upgrade to 3.5.3 (#40228)
* [ts] upgrade to 3.5.2

* [ts] run from cwd so that relative paths are correct

* move eslint-disable-line comment into jsx attribute

* autofix eslint violations

* avoid generic type, it's not necessary and problematic

* make elasticsearch.cluster optional, many instances don't have them

* remove invalid prop

* expand AllowUnknownProperties to cleanly handle arrays

* esfilter values can sometimes be an array of strings

* allow exception objects to have unknown properties

* define accumulator as a boolean

* fix return type

* return a 404 if beat isn't found after update

* use Object.values for better types

* define return type of get() call

* define value type for Set

* define return value of get()

* define State property type

* use less get(), so ts can infer types

* define Set item type

* map state type

* make default_operator optional, since it's not always defined

* remove seemingly unused prop

* define return type of get() fn

* define inner type for state

* don't define base types are objects with index signatues

* regenerate public api docs

* make indices privileges optional too

* remove unnecessary index-signature from Exception interface

* use variadic _arg instead

* [core/plugin] use Record<string, any> rather than {}

* replace a couple more instances of {}

* revert some unnecessary changes

* remove unused types

* [reporting] output, payload, and meta are required properties

* bump to latest patch version
2019-07-10 12:26:23 -07:00
Melori Arellano f037ed1621
[DOCS] Fixes typo in discover tutorial (#40785) 2019-07-10 11:47:49 -06:00
Marco Vettorello 762665029f
Configure GraphiteURLs whitelist from kibana.kml (#39480) 2019-07-10 15:04:19 +02:00
gchaps 504dfbab89
[DOCS] Updates Watcher docs to match updated UI (#40106)
* [DOCS] Updates Watcher docs to match updated UI

* [DOCS] Incoporates watcher review comments and adds badge

* [DOCS] Updated watcher security doc based on feedback

* Update docs/management/watcher-ui/index.asciidoc

Co-Authored-By: Lisa Cawley <lcawley@elastic.co>
2019-07-09 12:04:40 -07:00
Mikhail Shustov 9920c87100
createCluster requires a partial elasticsearch config (#40405)
* createCluster created with partial config

* add tests

* re-genereate docs
2019-07-09 20:49:03 +02:00
Kaarina Tungseth b306c5b8f4
[DOCS] Create Canvas workpads (#38616)
* Create workpads (in Canvas)

* Continuing work on intro

* Share your workpad content

* Reorganization

* Added GIFs

* Final clean up

* Comments from reviewers

* Comments from Gail
2019-07-09 12:59:42 -05:00
Mikhail Shustov ff5b7a8df4
Expose "is TLS enabled" flag for Kibana HTTP Server (#40336)
* expose it TLS enabled on Http server

* setup contract is under one section in tests

* regenerate docs

* isTLSEnabled --> isTlsEnabled
2019-07-09 19:18:25 +02:00
Liza Katz db0bed4ac2
Removed docs of deleted directive (#40597) 2019-07-09 17:58:46 +03:00
Mikhail Shustov cc56d05962
Fake request interface compatible with Kibana Request (#40363)
* make FakeRequest compatible with http request

* FakeRequest compatible with Http Request
2019-07-05 12:49:38 +02:00
Thirugnanam 482cb4f603 curl related doc changes in load dataset tutorial (#16040)
* curl related doc changes in load dataset tutorial

* Correcting typo and incorporating review comments

* Fixing new line issues and corrected example commands

* Removing '#' as it seem to combine multiple lines

* Update tutorial-load-dataset.asciidoc

* Removing the template command

* Remove `doc` path
2019-07-05 09:49:30 +02:00
Mikhail Shustov 8a97392a91
Expose elasticsearch error wrapper (#40242)
* expose elasticsearch error wrapper

* generate docs

* Update src/core/server/elasticsearch/errors.ts

Co-Authored-By: Rudolf Meijering <skaapgif@gmail.com>

* address Oleg comments
2019-07-04 15:41:17 +02:00
spalger bbec883435 update core api docs that should have been updated with prettier pr 2019-07-03 15:04:16 -07:00
Kaarina Tungseth 8de5806d6f
[DOCS] Minor edits (#40266) 2019-07-03 14:54:57 -05:00
Jonathan Budzenski e08f92b0f0
configurable global socket timeouts (#31603)
* configurable global socket timeouts

* update snapshots

* update tests

* add test

* add test

* add test

* happy path

* test happy path

* docs

* stop server after
2019-07-03 12:22:26 -05:00
Tim Roes 1eebc40208
Add new TSVB screenshots in docs (#40273) 2019-07-03 18:29:32 +02:00
Brandon Morelli 81842cd976
docs: add nodejs apm environment link (#40199) 2019-07-02 19:20:20 -07:00
Vadim Dalecky f18e7439d9
「AppArch」Interpreter 👉 New Platform (#39329)
* feat: 🎸 set-up NP data plugin

* refactor: 💡 move interpreter functions registry to NP

* refactor: 💡 move interpreter renderer registry to NP plugin

* refactor: 💡 move interpreter typesRegistry to NP

* refactor: 💡 move interpreter types to NP

* chore: 🤖 import typeRegistry from NP and change TS type folder

* refactor: 💡 move interpreter expression types to NP

* refactor: 💡 move rest of interpreter common folder to NP plugin

* fix: 🐛 fix TypeScript errors

* test: 💍 improve typings and test mocks

* refactor: 💡 make Interpreter internal registry impl private

* test: 💍 inline NP backdoor mock creation in test suites

* chore: 🤖 change @kbn/interpreter import paths to try fix errors

* fix: 🐛 improve core Plugin interfaces

* feat: 🎸 add stop() lifecycle to NP data plugins

* refactor: 💡 move interpreter into expressions service data NP

* refactor: 💡 inline Registry @kbn/interpreter class

* refactor: 💡 remove dependency on @kbn/interpreter in data pub

* refactor: 💡 move interpreter common dir into expressions dir

* fix: 🐛 use TS types in kibana_context

* feat: 🎸 add types suggested in PR review

* feat: 🎸 add semantic interpreter registration functions

* refactor: 💡 use require for all @kbn/interpreter imports

* test: 💍 add Karma test mocks, thx @spalger 🙏

* docs: ✏️ update Core docs

* test: 💍 add Sinon stubs for registries

* chore: 🤖 change import syntax in hopes CI will work

* chore: 🤖 set App Architecture as owners of data plugin

* docs: ✏️ add README

* chore: 🤖 change import in hopes to fix optimizer

* fix: 🐛 make stop() plugin life-cycle optional

* docs: ✏️ update Core API docs

* test: 💍 remove unnecessary Jest mock

* chore: 🤖 don't import from deeply inside a plugin

* refactor: 💡 try different interpreter import

* fix: 🐛 fix Karma mocking

* fix: 🐛 fix TypeScript type imports

* test: 💍 fix broken test
2019-07-02 09:07:07 +02:00
Nathan Reese 7f4c07b3c0
[Maps] remove beta labeling from application and docs (#39871)
* [Maps] remove beta labeling from application and docs

* clean up i18n
2019-07-01 12:48:29 -06:00
Lisa Cawley b519f36333
[DOCS] Updates title for Stack Monitoring app (#39814) 2019-06-28 10:31:10 -07:00
tshoeb f8065a9500 new known plugin (#25795) 2019-06-28 16:24:39 +02:00
Rudolf Meijering da09a11858
Mocks for CoreStart, CoreSetup and PluginInitializerContext (#39351)
* Mocks for CoreStart, CoreSetup and PluginInitializerContext

* Public CoreStart, CoreSetup mocks

* Update api signature/docs

* Convert embaddable_api tests to new core mocks

* CR Feedback

* Introduce ui_new_platform.test.mocks and refactor embedabble tests

* Hack to get TS warnings for Core mocks

* Core mocks types cleanup & hack to get TS warnings for Server Core mocks

* Use __mocks__ new_platform

* Remove accidently commited auto-mock

* Introduce MockedKeys type for Core mocks

* Better typing/docs for UiSettings

* Revert "Use __mocks__ new_platform"

This reverts commit 2d666facc8.

* Add missing mock to test

* Cleanup UiSettings types
2019-06-28 13:34:41 +02:00
chongzhe 346baf96d2
[Code] update doc about index scheduler (#39869) 2019-06-27 22:45:36 -07:00
bryankouwen 4b49db591d single quotes missing (#30096)
(cherry picked from commit 738a08fc4a)
2019-06-27 17:00:56 -07:00
Holger Brandl d4551058e7 Removed invalid/unneeded comma in json query (#31797)
(cherry picked from commit 276dcc7f72)

# Conflicts:
#	docs/api/url_shortening/shorten_url.asciidoc
(cherry picked from commit 0a316000e3)
2019-06-27 16:51:13 -07:00
Dan Kreiger e6c019c22b Update tutorial-define-index.asciidoc (#39666)
(cherry picked from commit 5bb6dbff38)
2019-06-27 16:41:40 -07:00
Nathan Reese 690532aa2f
[Maps] increase document limit from 2048 to 10000 (#39697)
* [Maps] increase document limit from 2048 to 10000

* [Maps] increase document limit from 2048 to 10000

* rename DEFAULT_ES_DOC_LIMIT to ES_SIZE_LIMIT
2019-06-27 15:55:12 -06:00
Zacqary Adam Xeper 6359905b21
[Logs UI] Add View in APM link to log flyout actions menu (#39540)
* Add View in APM link to log flyout actions menu

* Change icon from apmTrace to apmApp

* Add tests for View in APM action

* Add docs for actions menu

* Update link to go to traces list

* Add rangeFrom and rangeTo to trace links

* Use 20 minute from/to range instead of 1 minute
2019-06-27 13:55:33 -05:00
rmacd 8f018b397a Update documentation: xpack.code.gitHostWhitelist && xpack.code.gitProtocolWhitelist should sit under xpack.code.security (#39687) 2019-06-27 06:37:01 -07:00
Josh Dover 684b4d961d
Move Chrome UI to Core (#39300) 2019-06-26 18:15:18 -05:00
Lisa Cawley e650a8aad5
[DOCS] Moves anchors in list inline (#39710) 2019-06-26 10:19:10 -07:00
Lisa Cawley 28482e65ab
[DOCS] Refreshes Kibana monitoring screenshots (#39146) 2019-06-26 09:14:35 -07:00
Nathan Reese 51ae0f45af
[Maps] add Where clause to terms joins (#39593)
* [Maps] add Where clause to terms joins

* add functional test

* rename layerQuery to sourceQuery
2019-06-26 09:56:23 -06:00
gchaps ebd656cb23
[DOCS] Fixes broken link (#39692) 2019-06-26 08:48:22 -07:00
Nathan Reese 1682d165ac
[Maps] add documenation for "most recent entities" (#39478)
* agg docs

* add docs for most recent entities

* Update docs/maps/maps-aggregations.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/maps-aggregations.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/maps-aggregations.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/maps-aggregations.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/maps-aggregations.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/maps-aggregations.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/maps-aggregations.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/maps-aggregations.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* use bold instead of code case

* clean up wording of how to enable most recent entities
2019-06-26 09:28:03 -06:00
gchaps 8680dfe478
[DOCS] Updates index patterns doc (#39591)
* [DOCS] Updates index patterns doc

* [DOCS] Incorporates review comments in index patterns doc

* [DOCS] More review comments on index patterns doc

* [DOCS] Fixed section on managing index patterns
2019-06-26 07:14:48 -07:00
Mikhail Shustov 484351bdac
KibanaRequest provides headers as a property. (#39506)
* use property instead of method. not all header names are known

* fix tag name and re-generate docs
2019-06-26 10:04:34 +02:00
Nathan Reese 7c7599ab84
[Maps] move symbol style property to top of UI (#39534)
* [Maps] move symbol style property to top of UI

* fix jest tests
2019-06-24 18:35:48 -06:00
Josh Dover 91a5a54c78
Move ui/documentation_links to Core (#39411) 2019-06-24 13:57:21 -05:00
Kaarina Tungseth c4d2200ec2
[DOCS] Canvas getting started (#38324)
* [DOCS] Canvas Getting Started

* Area chart content

* Time filter content

* Intro, image, and clean up

* Removed extra spaces

* Comments from Rashmi and Bhavya

* Comments from Tim

* Comments from Gail and Ryan
2019-06-24 13:06:28 -05:00
Jonathan Budzenski 4a583cec4f
[docs/production] multiple es nodes (#30276)
* [docs/production] multiple es nodes

* note console limitation

* mention related configuration
2019-06-24 12:58:46 -05:00
Joe Reuter 4d88aaa274
Add configs for terminate_after (#37643) 2019-06-24 15:27:18 +02:00
Zacqary Adam Xeper 6b92aa0e7b
[DOCS] Add documecumentation for the log entry flyout (#39403) 2019-06-21 10:07:45 -05:00
Josh Dover 5941436e1b
Remove final legacy dependencies from Header UI (#38175)
* Remove final legacy dependencies from Header UI

* Address @eliperelman comments

* Move files for x-pack move
2019-06-20 15:57:02 -05:00
Court Ewing 2d171c92f5 Fix path references into and out of x-pack/legacy 2019-06-20 13:34:48 -04:00
Lisa Cawley c065b3b41a
[DOCS] Adds screenshots for sample data and metricbeat ML job wizards (#39225) 2019-06-20 06:57:01 -07:00
Kaarina Tungseth 8df31cb755
[DOCS] Add brew install instructions. (#38417)
* [DOCS] Add brew install instructions. Closes #38220

* Link fix

* Removed inline notes from index

* Fixed table format

* Updated with tap changes

* Comments from Deb
2019-06-20 08:51:51 -05:00
Brandon Morelli 9ade19f22c
[docs] Fix broken doc link (#39320) 2019-06-19 17:38:25 -07:00
Brandon Morelli 30e5f9b79b
[docs] Fix broken doc build (#39319) 2019-06-19 16:40:03 -07:00
Chris Cowan 487ab80725
[Infra UI] Metrics Explorer Documentation (#37040)
* First pass at the Metrics Explorer tutorial, it's rough

* docs: fix build errors and formatting

* docs: content changes

* Making filter step a little more accurate

* An attempt to answer the why

* Update docs/infrastructure/metrics-explorer.asciidoc

Co-Authored-By: Brandon Morelli <bmorelli25@gmail.com>
2019-06-19 17:49:11 -05:00
Lisa Cawley 0f68492e38
[DOCS] Refreshes screenshot for monitoring ML (#39222) 2019-06-19 10:51:24 -07:00
Mikhail Shustov a75d777bea
New Platform and Legacy platform servers integration (#39047)
* New and Legacy platforms share http server instance.

Required to use a common security interceptor for incoming http requests

* generate docs

* remove excessive contract method

* add test for New platform compatibility

* address comments part #1

* log server running only for http server

* fix test. mutate hapi request headers for BWC with legacy

* return 503 on start

* address @eli comments

* address @joshdover comments
2019-06-19 16:32:37 +02:00
Larry Gregory 7e4e8fee54
Spaces - New Platform Migration, Step 1 (#35429)
* crude test updates

* remove custom server typedef

* allow spaces to aquire security plugin after init

* split CoreSetup into CoreSetup and PluginsSetup

* move interfaces to new plugin

* init interceptors in legacy plugin

* fix import

* add placeholder kibana.json

* use NP Elasticsearch service instead of legacy ES Plugin

* cleanup imports

* don't destructure the es client

* introduce request facade

* document reason for getSecurity

* prefer relative imports from src/core

* fix typo in filename: inteceptors --> interceptors

* fix imports; remove stray ts-ignore

* improve typings for spaces client

* rename InterfaceExcept --> Omit

* don't use legacy config in NP

* additional comment

* shim NP config service

* fix merge from master

* revert relative imports into src/core and src/legacy

* shim capabilities modifier into new platform

* removing placeholder kibana.json

* fix prettier problem

* temporary: patch NP 'setUrl'

* migrate onRequest interceptor to NP, without tests

* fix ts error

* testing and deps cleanup for onRequestInterceptor

* replace spaces's usages of request.getBasePath with http.getBasePathFor

* add explicit timeouts for jest interceptor tests

* attempt to fix imports

* use NP logging instead of faked implementation

* revert stray yarn.lock change

* attempt to stablize and fix tests

* update jest config to include src/core/server/mocks

* fix plugin config typings

* add service tests

* fix merge

* allow spaces service to also work with legacy requests

* update interfaces to confirm to new internal/external API convention

* re-enable some post auth interceptor tests

* add explicit timeouts for tests

* prefer modifyUrl instead of manual url modification

* update logger shim to conform to PluginInitializerContext

* remove spaces ConfigClass

* don't weaken type declaration for scoped cluster client calls

* remove legacy server from SpacesCoreSetup

* remove spaces service cache

* remove legacy server as an interceptor dependency

* use modifyUrl on the raw request too

* remove unused import

* cleanup typings

* replace onRequest interceptor with new onPreAuth interceptor

* fix onPostAuth tests

* temporarily copy modifyUrl into spaces plugin

* fix mock export

* fix merge from master

* spaces scopedClient always uses updated ES client and config

* improve typings for usage collector

* rename isLegacyRequest -> isFakeRequest

* use updated NP base path API

* remove commented code

* only expose scoped spaces client

* use OptionalPlugin instead of getSecurity

* update imports of Saved Objects Service to use new src/core/server location

* update core docs
2019-06-19 10:08:54 -04:00
Nathan Reese 81c15adf34
[Maps] Update Vector Style docs to define vector styles per feature type (#39214)
* [Maps] Update Vector Style docs to define vector styles per feature type

* remove intro to point, polygon, and line sections

* Update docs/maps/vector-style-properties.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/vector-style-properties.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/vector-style-properties.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/vector-style-properties.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
2019-06-19 06:13:55 -06:00
Filip Rydzi d75ec76780 Visualization - Scale to Data Bounds with a value (#38774)
Checking the Scale to Data Bound option may cause that the bar, which value equals to the lower bounds is hidden. To avoid that, you can define bottom margin. Via bottom margin you specify a value, which lowers the lower bounds when displaying the plot.

close #38536
2019-06-19 12:40:21 +02:00
Todd Kennedy 519eef17b1
[feat] restore headers property (#39206)
* [feat] restore headers property

* add tests

* patch: add headers
2019-06-18 16:12:24 -07:00
Lisa Cawley e25ec907cb
[DOCS] Removes out-dated tags from monitoring page (#39181) 2019-06-18 09:17:55 -07:00
Lisa Cawley 6df15b86e1
[DOCS] Add details about monitoring logs (#39139) 2019-06-18 08:37:39 -07:00
Vadim Dalecky 67478ccc75
uiSettings in #start() life-cycle (#39054)
* feat: 🎸 add uiSettings service in "start" Core

* test: 💍 add test for uiSettings#start() lifecycle

* fix: 🐛 add uiSettings to plugin context

* docs: ✏️ update Core API docs

* fix: 🐛 fix TypeScript type check errors
2019-06-18 17:27:46 +02:00
Rudolf Meijering 260d907f90
[Core] Move Saved objects files to core (#38771)
* Move src/legacy/server/saved_objects -> src/core/server/saved_objects

* Fix SavedObject import references after moving files to core

* First pass at SavedObjects api docs

* Expose and import all saved object types through core/server

* Don't expose SavedObjectsManagement from core and fix imports

* Improve typings for SavedObject error helpers

* Fix type errors after master merge

* Fix SavedObjectErrorHelpers tests
2019-06-18 13:10:23 +02:00
Mikhail Shustov 9e044c5ac9
Restrict access to hapi Request in registerAuth (#38763)
* Prevent exposing Hapi.Request to registerAuth.

Prevent exposing headers.authorization in KibanaRequest.
Introduce a mechanism to associate authorization headers with an
incoming request and retrieve its value to perform a request to
elasticsearch cluster.

* fix tests

* address @joshdover comments
2019-06-18 10:21:01 +02:00
Justin Kambic 393a4ba16f
[Uptime] Add doc entry for observability solution integrations. (#38963)
* Add doc entry for observability solution integrations.

* Update docs/uptime/overview.asciidoc

Commit PR recommendation.

Co-Authored-By: Brandon Morelli <bmorelli25@gmail.com>

* Update docs/uptime/overview.asciidoc

Commit PR recommendation.

Co-Authored-By: Brandon Morelli <bmorelli25@gmail.com>

* Replace screenshot.
2019-06-17 21:47:22 -04:00
Nathan Reese a3a1e0c18d
[Maps] use coalesce to ensure number always passed to interpolate for data driven size styling (#38427)
* [Maps] use coalesce to ensure number always passed to interpolate for data driven size styling

* update docs with behavior when feature property is not defined

* Update docs/maps/vector-style.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update docs/maps/vector-style.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* move first note into description paragraph

* add coalesce wrapper around icon-size extraction expression
2019-06-17 15:14:53 -06:00
Karen Metts 4322346d28
[Doc]Add docs for siem app (#39030)
* Add docs for siem app

* Incorporate more review comments

* Fix punctuation
2019-06-17 14:28:52 -04:00
Justin Kambic ab97f1fe97
Update uptime docs screenshots. (#38896) 2019-06-17 11:13:46 -04:00
Mikhail Shustov de5c452f14
Unify base path in HttpService (#38237)
* unify modifyUrl on client and server

* create BasePath as a separate entity on server

* use BasePath class in http server

* use BasePath a separate entity on client

* use BasePath class on Http service on the client

* switch client code to the new api

* improve setver http service mocks

* address comments #1

* address comments #2

* update docs

* add comment why we define own typings
2019-06-16 16:36:02 +02:00
chongzhe bb19f9497c
[Code] update enable config in doc and screenshots to reflect new UI change (#39034) 2019-06-14 15:28:37 -07:00
Lisa Cawley b12c1eb9ca
[DOCS] Adds data frame link (#39019) 2019-06-14 13:16:59 -07:00
Davey Holler b05b0ea35b
[Code] Updates to copy in the Code docs (#39003) 2019-06-14 12:31:20 -07:00
Brandon Morelli 05d802ff5f
[APM][Docs] 7.2 documentation updates (#38577) 2019-06-14 12:25:46 -07:00
Lisa Cawley c1a88c6d85
[DOCS] Updates data frame security details (#39009) 2019-06-14 11:33:45 -07:00
István Zoltán Szabó c04abb7c59
[DOCS] Adds Data frame transforms subsection to the ML section (#38899)
This PR adds creating-df-kib.asciidoc and two screenshots to the repository and changes docs/ml/index.asciidoc.
2019-06-14 11:31:46 +02:00
chongzhe 26bd60107a
[Code] change default Code page title (#38956) 2019-06-13 17:13:33 -07:00
chongzhe 56e0c00c7b
[Code] fix title level error in Code setting page (#38913) 2019-06-13 10:56:40 -07:00
Aleh Zasypkin ffb0b06fa3
Make xpack.security.authc.saml.realm mandatory and completely remove xpack.security.authProviders and xpack.security.public. (#38657) 2019-06-13 17:43:18 +02:00
Felix Stürmer 12b82548d8
[Logs UI][skip ci] Document the customizable columns feature (#37021)
This PR adds documentation about the new log column feature. To keep the docs Logs UI readable as new features are added, they are now restructured into four pages:

* a landing page with a full screenshot linking to the subsequent section
* a "getting started" page to link to the tutorials on ingesting log data
* a "using" page to explain the main features of the Logs UI
* a "configuring" page to explain the configuration UI

closes elastic/kibana#36025
2019-06-13 05:14:40 -04:00
Lukas Olson 9e472e66fb
Allow passing in a signal to abort a cluster client request (#37563)
* Allow passing in a signal to abort an Elasticsearch request using the cluster client

* Go back to using promises (which still return abort method) and update test

* Update docs

* Explicitly return Promise<any> instead of {}
2019-06-12 15:43:22 -07:00
Josh Dover 51d47cae39
Move Chrome and I18n to CoreStart (#37915) 2019-06-12 10:04:45 -05:00
Ahmad Bamieh c308048f04
[Telemetry] move from xpack main (#35403)
* enabling xpack in new plugins

* move telemetry into separate new platform plugin

* remap constants

* resolved hacks issue

* remove extra dir

* js -> ts

* run linter

* fix tests

* reset kibana.yml

* reset kibana.yml

* ts types

* add telemetry translations to i18n

* use deprecated configs

* checkout config.yml

* fix test

* move telemetry from xpack_main in api_integration

* add telemetry apis

* hide banner

* remove routes/get_stats in favor of collectors/get_stats

* code review fixes
2019-06-12 13:53:48 +03:00
Aleh Zasypkin 590862ec63
Make SAML realm name configurable (#37346) 2019-06-11 19:05:20 +03:00
chongzhe 4d755722ab
[Code] initial commit for Code doc (#38521) 2019-06-10 16:14:18 -07:00
gchaps 82d82d9d4c
[DOCS] Adds docs for snapshot repositories UI (#38159)
* [DOCS] Adds docs for snapshot repositories UI

* [DOCS] Incorporates review comments into snapshot docs
2019-06-07 11:28:01 -07:00
Mikhail Shustov f753474423
Session storage refactoring (#37992)
* Kibana request keep a reference to raw request. used to bind hapi-cookie

* CookieSessionStorage should work with KibanaRequest

as soon as registerAuth refactored to restrict access to hapi Request, CookieSessionStorage won't work with hapi request directly

* change registerAuth public api

* adopt auth lifecycle tests

* move lifecycle auth tests from integration to unit and adopt to new api.

* mark toRawRequest as internal to prevent exposure

* generate docs

* reword test cases

* mark Request internals in tsdoc
2019-06-07 10:18:17 +02:00
Brandon Kobel 41b326ece3
[docs][skip ci] Read only access for @elastic/kibana-app applications (#35560)
* Adding read-only mode section to Discover

* No more "mode" or "badge" terminology

* Putting newline back

* Adding "Saving" section for visualize

* Adding dashboard read only access section

* Timelion gets read-only documentation

* Adding read only access section to index patterns and advanced settings

* Adding graph read only access section
2019-06-06 08:08:18 -07:00
Mikhail Shustov 53b133dd50
Route tags (#37344)
* expose route info in KibanaRequest

* update mocks in test

* make tags readonly, getRouteInfo is private method

* add mocks for hapi internals

* mode deepFreeze to core utils level as it env agnostic

* freeze route props

* fix typo

* add tests for route options

* fix integration tests. deep_freeze was moved under core utils

* add comments, expose public types and regenerate docs

* address comment. remove unnecessary async in route handlers

* make routeSchema optional instead of union with undefined

* @skaapgif improvements

* update docs
2019-06-06 15:49:37 +02:00
Mike Côté a537aaed6b
Update import saved objects API docs to use curl examples (#37997)
* Remove copy as curl

* Update import docs to use curl examples
2019-06-05 07:49:47 -04:00
Mike Côté 9772ab5cd8
Fix export saved objects API docs (#37991) 2019-06-05 07:47:21 -04:00
Ioannis Kakavas 1a06b0ac6b
Add section about OpenID Connect in docs (#37525) 2019-06-04 15:03:05 +03:00
Ahmad Bamieh 55e36a04aa
[i18n] [docs] Update docs to encourage static i18n import (#37858)
* update documentation

* Update docs/development/plugin/development-plugin-localization.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update packages/kbn-i18n/GUIDELINE.md

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update packages/kbn-i18n/GUIDELINE.md

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update packages/kbn-i18n/GUIDELINE.md

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update packages/kbn-i18n/GUIDELINE.md

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update packages/kbn-i18n/GUIDELINE.md

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update packages/kbn-i18n/GUIDELINE.md

* Update packages/kbn-i18n/GUIDELINE.md

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update packages/kbn-i18n/README.md

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>

* Update packages/kbn-i18n/README.md

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
2019-06-04 15:01:11 +03:00
Brandon Kobel de0e410d8f
[docs][skip ci] Using consistent terminology when referring to the spaces selection control (#37901)
* Using consistent terminology when referring to the spaces dropdown menu

* Switching to spaces selection control
2019-06-03 11:00:42 -07:00
Lisa Cawley 3b8ed40365
[DOCS] Clarify Data Visualizer limitation (#37143) 2019-06-03 08:41:33 -07:00
Eli Perelman 1b096f3b73
Allow interception of http requests from browser http service (#36939)
* Allow interception of http requests from browser http service

* Update documentation and browser http types

* Remove async marker from fetch function

* Fix failing tests

* Attempting to fix kuery_autocomplete test

* Allow halting of http fetches from interception

* Re-use HttpInterceptHaltError

* Expose HttpInterceptor types and update docs

* Only mock calls to capabilities during browser testing
2019-05-31 12:56:47 -05:00
Ahmad Bamieh b0fbb95ca9
[Docs] Remove conflict code (#37672) 2019-05-31 20:28:05 +03:00
Shaunak Kashyap 9417c16e14
Documenting missing cluster alerts (#37495)
* Documenting missing cluster alerts.

Currently, the Cluster Alerts docs only list four cluster alerts. There are, in fact, six cluster alerts in all. This adds the remaining two.

* [DOCS] Fixes formatting
2019-05-31 05:59:21 -07:00
Lisa Cawley c50b6aba70
[DOCS] Disable Metricbeat system module (#37198) 2019-05-30 12:47:10 -07:00
Todd Kennedy 461a6c0f93
[feat] create additional http servers (#36804)
* [feat] create additional http servers

allow for additional http servers to be created, tracked and returned

* respond to pr feedback

* tweak test

* update documentation

* destructure port, remove unnecessary imports

* [fix] export correct type

* [feat] expose createNewServer to plugins

* [fix] respond to pr feedback

* todo: add schema validation & integration test

* use reach

* [fix] use validateKey to validate partial

* [fix] change config shadowing

* check kibana port & prevent shadowing

* centralize start/stop for servers, add integration test

* remove unnecessary property

* never forget your await

* remove option to pass config into start

* fix pr feedback

* fix documentation

* fix test failures
2019-05-29 13:00:56 -07:00