Commit graph

761 commits

Author SHA1 Message Date
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