Commit graph

1075 commits

Author SHA1 Message Date
Kaarina Tungseth
925dfab588
[DOCS] New template for APIs (#39298)
* Clean up

* Dashboard export API

* More changes

* role-management and saved-objects

* Clean up

* Final clean up

* Clean up

* Moved labels to appropriate places

* Fixed rogue commits
2019-09-06 11:09:57 -05:00
Lisa Cawley
9ff21891ae
[DOCS] Change title of Kibana book (#44957) 2019-09-06 09:03:42 -07:00
Nathan Reese
3e752944e3
[skip-ci][Maps] Improve Maps intro page (#44721)
* [skip-ci][Maps] Improve Maps intro page

* review feedback

* trim list to 7 items, add link to getting started guide, change all references to app to Elastic Maps

* review feedback

* bold Elastic Maps in intro page
2019-09-05 20:45:23 -06:00
Nathan Reese
e40359958f
[Maps] Update titles and descriptions for data sources (#44833)
* [Maps] Update titles and descriptions for data sources

* update kibana tilemap source description

* Update x-pack/legacy/plugins/maps/public/layers/sources/es_pew_pew_source/es_pew_pew_source.js

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

* update functional test dataTestSubj click handles based on source name changes

* update TMS source descriptions to be more consistent
2019-09-05 20:38:01 -06:00
Tim Sullivan
264ac76f77
[Reporting] add capture.maxAttempts setting (#44011)
* [Reporting] add capture.maxAttempts setting

* restore default in code, so tests will pass

* --wip-- [skip ci]

* write test

* fix test

* update error message with value
2019-09-04 23:10:49 -07:00
Zacqary Adam Xeper
ecd9f335cb
[Logs UI] Change 'View monitor status' to 'View status in Uptime' (#44518)
* [Logs UI] Change 'View monitor status' to 'View status in Uptime'

* Update docs with text change

* Remove docs comment
2019-09-04 10:38:15 -05:00
Marjorie Jones
6483315d7c
[DOCS] Remove unused Infrastructure and Logs graphics files (#44649)
* Removing unnecessary graphics from Infra and Logs app descriptions, tidying up a couple of graphics to make them consistent

* Another tiny change
2019-09-04 13:14:36 +01:00
Josh Dover
b352f67bdb
Add ApplicationService Mounting (#41007)
* Add core-only bundle

* Add ApplicationService mounting

* Add LegacyCore{Setup,Start}

* Fix PR comments

* Add functional tests

* Fix PR comments

* Fix PR comments

* Remove other usages of rootRoute

* Use state field notation

* Add support for open in new tab

* Fix PR comments

* Fix pesky await from the dead

* Update docs

* Bump @types/history
2019-09-03 13:03:05 -05:00
Christiane (Tina) Heiligers
8b4971ba75
Saved queries docs (#43731)
* Adds saved query docs to search section

* Adds Saved Queries docs to Discover search

* Makes changes requested by PR review

* Changes 'visualizations and dashboards' to 'Visualize and Dashboard', adds x-pack label back to Read only access section

* Changes some text

* Changes Saving searches section

* Rewords saved queries section

* Changes 'Saved search' to 'saved search', tweeks a few words

* Removes second sentence from intro to saved queries

* Changes save button text reference

* Updates screen shots

* Moves images around, adds a hover instruction to delete a query and adds a screen shot of the delete button

* Makes changes as requested
2019-09-03 10:41:17 -07:00
Aleh Zasypkin
7fa4860e37
Document PKI authentication provider. (#43572) 2019-08-30 19:33:23 +02:00
Joe Reuter
6fad639f25
[Graph] Listing page and folder restructuring (#44068) 2019-08-29 17:19:56 +02:00
Marjorie Jones
80a92a61ed
[DOCS] Spellcheck and minor tidying-up/consistency of Logs app content (#43388)
* Preliminary changes

* More changes

* Updating Logs app content.

* Few final tweaks after reading through

* Review comments, adding a redirect for a removed bookmark, just in case.
2019-08-28 16:52:39 +01:00
Jonathan Budzenski
bad947d7d1
move optimize into data folder (#25944)
* move optimize into data folder

* path

* replace optimize with data in notice glob

* update docs

* more updates

* update snapshots

* re-add folder references

* prettier

* save changes

* rm optimize from .eslintignore

* rm extra file

* fix merge
2019-08-28 10:09:58 -05:00
Brandon Kobel
769bb657fa
Moving Saved Object APIs from Experimental to Beta (#44140)
* Saved Object APIs, now beta!

* Using Gail's word-choice, thanks Gail!!!
2019-08-28 06:58:12 -07:00
Andrew Cholakian
efbe29ff75
[Uptime][Docs] Add deployment architecture section (#43028)
This commit better documents recommended deployment architecture for Uptime.
2019-08-26 11:05:50 -05:00
Mikhail Shustov
9a732014cb Response factory parameters as named arguments (#43248)
* pass body as response parameter. use attributes for error responses

* update core

* update tests

* update x-pack code

* update x-pack tests

* regen docs

* update comment

* Review feedback and fixes after master merge

* Eslint fixes
2019-08-23 19:31:17 +02:00
Nik Everett
21cc988bd8
Docs: Fix asciidoctor compatibility (#43473)
This modifies the asciidoc files so they can be built by asciidoctor.
The biggest change is removing callouts that aren't at the end of the
line. To do that I break the examples from one giant line into many
shorter lines.
2019-08-22 14:55:41 -04:00
Kaarina Tungseth
9b23ce3cfb
[DOCS] Fixes workpad and element links (#43727)
* [DOCS] Canvas elements content

* Data source build out

* Display options and actions

* Reorganization, cycle interval, and organization actions

* Reorganized content

* Reorganization and clean up

* Added images

* Review comments pt 1

* Review comments pt 2

* Review comments pt 2

* Review comments pt 3

* Change on to in

* xpack

* Comments from Catherine

* [DOCS] Fixes workpad and element links
2019-08-21 18:40:42 -05:00
Kaarina Tungseth
06b37dbad3
[DOCS] Fixes element link (#43725)
* [DOCS] Canvas elements content

* Data source build out

* Display options and actions

* Reorganization, cycle interval, and organization actions

* Reorganized content

* Reorganization and clean up

* Added images

* Review comments pt 1

* Review comments pt 2

* Review comments pt 2

* Review comments pt 3

* Change on to in

* xpack

* Comments from Catherine

* Fixed link issue
2019-08-21 17:46:48 -05:00
Larry Gregory
608e2391d0
Copy Saved Objects to Spaces API (#38014) 2019-08-21 17:27:55 -04:00
Kaarina Tungseth
5fe9d0e780
[DOCS] Canvas elements (#42473)
* [DOCS] Canvas elements content

* Data source build out

* Display options and actions

* Reorganization, cycle interval, and organization actions

* Reorganized content

* Reorganization and clean up

* Added images

* Review comments pt 1

* Review comments pt 2

* Review comments pt 2

* Review comments pt 3

* Change on to in

* xpack

* Comments from Catherine

* Export image

* Final clean up
2019-08-21 16:12:22 -05:00
Josh Dover
5071c74945
Replace CSP 'nonce-<base64>' directive with 'self' directive (#43553) 2019-08-21 14:11:38 -05:00
Mikhail Shustov
00a0203584 Extend request handler with request scoped core capabilities (#43103) 2019-08-19 13:34:48 -05:00
Nate Archer
df7b073789
[DOCS] Fix beta message in Code docs (#43330) 2019-08-15 12:37:55 -05:00
Aleh Zasypkin
6be8b321d5
Add TLS client authentication support. (#43090) 2019-08-14 22:57:54 +02:00
Brandon Morelli
8c134f6c58
docs: add tip on agent config in a dt (#43301) 2019-08-14 12:30:09 -07:00
Larry Gregory
0647baaecd
Feature Controls docs - removing magic quotes (#43194) 2019-08-13 13:29:48 -04:00
Karen Metts
f3650d9505
Remove coming tag (#43200) 2019-08-13 13:00:46 -04:00
Marjorie Jones
6aad727320
[DOCS] Enhance Infrastructure UI section of Kibana docs (#42937)
* Update index.asciidoc

More tidying up

* Partial commit, still very much work in progress

* Work in progress

* More partial changes

* More partial changes

* Yet more changes

* More changes to infrastructure section

* Some more tidying up of topics.

* More changes, adjusting links, proof-reading etc.

* Some review comments from @bmorelli25 and @gchaps

* Another review change

* Adding redirect for deleted bookmark

* More review changes

“application” is “app” apparently in this context

* Review comments from Brandon
2019-08-13 15:26:46 +01:00
Josh Dover
d205f1e456
Export missing Context types (#43051) 2019-08-12 14:07:17 -05:00
Nick Peihl
3503aa16ad
[Maps] Enable borders for icon symbols (#43066)
* [Maps] Enable borders on icons

* [Maps] Enable borders on icons

* Review feedback

* Remove unnecessary Fragment
2019-08-12 10:51:07 -07:00
Tyler Smalley
372b79e816
Disables response logging as a default (#42353)
Previously, if any of the following were true, we would log HTTP responses.
- `logging.json` was set
- `logging.dest` was set
- `TTY` was detected

The logging format should not dictate what is logged

Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2019-08-12 08:29:00 -07:00
Rudolf Meijering
f7a71f2035
[Core] Make type option required for SavedObjects.find (#42236)
* Make type option required for SavedObjects.find

* getSortedObjectsForExport test for type or objects
2019-08-12 16:33:35 +02:00
Nathan Reese
95807a2d55
[skip-ci][Maps] add maki icon sheet to docs (#43063)
* [Maps] add maki icon sheet to docs

* use 8 columns instead of 16 so icons are legible

* add + to indent label to be inline with image
2019-08-09 16:51:27 -06:00
Mikhail Shustov
c9220c5863
Expose createRouter from HttpService, prepare handlers for context introduction (#42686)
* expose createRouter, prepare route handler for context introduction.

* fix tests

* update examples in docs

* update tests

* re-genereated docs

* remove registerRouter from http service contract

createRouter registers a router under the hood. that reduces API surface
for consumers

* address comments

* update docs
2019-08-09 21:08:34 +02:00
Mikhail Shustov
c30df8d136
add socket.getPeerCertificate to KibanaRequest (#42929)
* add socket.getPeerCertificate to KibanaRequest

* update request mocks

* update docs
2019-08-09 10:42:33 +02:00
Kaarina Tungseth
887cee40ed
[DOCS] TSVB and Timelion clean up (#42953) 2019-08-08 16:17:01 -05:00
laraMorenoIgle
ef8072da2b
Update settings.asciidoc (#42820)
vega.enableExternalUrls setting missing but it still supported, so needed to be added
2019-08-08 18:44:16 +02:00
Mikhail Shustov
06adc737d9
Unify response interface in handler and request interceptors (#42442)
* add response factory to the interceptors

* adopt x-pack code to the changes

* Add a separate response factory for lifecycles.

Only route handler can respond with 2xx response.
Interceptors may redirect or reject an incoming request.

* re-generate docs

* response.internal --> response.internalError

* use internalError for exceptions in authenticator

* before Security plugin proxied ES error status code. now sets explicitly.

* provide error via message field of error response for BWC

* update docs

* add customError response

* restore integration test and update unit tests

* update docs

* support Hapi error format for BWC

* add a couple of tests
2019-08-08 12:07:43 +02:00
Nicole
405293a7ae Added an inclusion of, "This setting is off by default..." (#42501)
* Added an inclusion of, "This setting is off by default..."

* Update docs/management/advanced-options.asciidoc

Co-Authored-By: gchaps <33642766+gchaps@users.noreply.github.com>
2019-08-08 01:18:41 +00:00
gchaps
2b6e9128a6
[DOCS] Updates dashboard-only mode (#42847) 2019-08-07 14:23:38 -07:00
Josh Dover
53abbcdc9c
Add PluginManfiest to generated docs (#42795) 2019-08-07 13:50:10 -05:00
Oliver Gupte
8b57570b26
[APM] Always get the root transaction when fetching trace items (#42508)
* [APM] Always get the root transaction when fetching trace items
Fixes #33210

* code tweaks

* displays message notifying user that trace items exceeds maximum displayed

* remove getTraceRoot query by adjusting the score and order of trace
items with no parent.id

* add `apm_oss.maxTraceItems` config options to control the number of displayed trace items

* changed config `apm_oss.maxTraceItems` to `xpack.apm.ui.maxTraceItems`

* added missing configs to apm settings doc and docker template

* minor code tweak
2019-08-07 00:17:57 -07:00
Catherine Liu
1b477672c2
[Canvas] Format argument for the metric element (#42007)
* Added numberFormat arg type and metricFormat arg to metric function

    Updated function reference doc

    Fixed default arg value

* Added stories for NumberFormatArgInput

* Added arg alias

* Added stories for metric renderer

* Fixed ts errors and added comments

* Updated comments

* Removed extra test

* Added snapshots

* Addressing feedback

* Fixed typo

* Updated metricFormat help text

* Removed redundant help prop
2019-08-06 14:47:45 -07:00
Rudolf Meijering
e137477b5a
[Core] Public saved objects client (#39891)
* Move SavedObjectClient files to core/public

* Initial SavedObjectsService in public Core

* Public SavedObjectsClient tests

* Import SimpleSavedObject from src/core/public

* Use types from source files for kibana.d.ts

* Add html raw loader to x-pack/jest

* Cleanup

* Drop case utilities and improve test coverage

* Update types and documentation

* Fix build breaking when importing directly from /server in /public

* Ensure that all option paramaters are picked and renamed

* Fix option mapping and introduce stronger types

* Eslint: allow imports from src/core/*/types

* Add compatibility layer for kfetch vs http.fetch error responses

* Improve documentation

* Expose SavedObjectsMigrationLogger

* Documentation and type tweaks

* Revert type changes from 73e601f and update api docs

* Refactor request into savedObjectFetch + test

* Make legacy SavedObject compatible with http.fetch exceptions

* Fix types and tests

* simple_saved_object import from src/core/server

* server imports from root instead of server/types

* Make SavedObjectsService a class

* Don't pick unkown keys from server response

* Rename SavedObjectsFindResponse to SavedObjectsFindResponsePublic

* Remove err.response from SavedObjects fetch errors

* Revert "Remove err.response from SavedObjects fetch errors"

This reverts commit 61705ca361.

* Don't introduce err.response until we deprecate err.res
2019-08-06 20:53:05 +02:00
Josh Dover
5192dac0b6
Add ContextService to server (#42395) 2019-08-06 12:24:49 -05:00
Mike Côté
ef02bf9e0e
Make task manager index configurable again (#42394)
* Initial work

* Fix type check

* Accept core API changes

* Fix broken tests

* Destructure index pattern
2019-08-06 11:22:59 -04:00
gchaps
3d4b3e9bd8
[DOCS] Removes outdated image (#42624) 2019-08-05 12:25:58 -07:00
Mikhail Shustov
d394ded2ac
Document HTTP service (#42331)
* improving naming, add TSDoc

* re-genereate docs

* use response name in migration guide

* Apply suggestions from code review

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

* place docs near the related code

* re-generate docs

* mark code as example to reduce noise in http-service.md
2019-08-03 09:58:35 +02:00
Brandon Kobel
9fbb95f659
[docs][skip ci] Maps read only access (#35561)
* Adding read only access to the maps docs

* Removing redundant x-pack label, maps is already x-pack only

* Apply suggestions from code review

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

* Switching to using a Note
2019-08-02 15:52:08 -07:00