Skip to content

Commit

Permalink
Merge branch 'master' of github.com:elastic/kibana into monitoring_eui
Browse files Browse the repository at this point in the history
  • Loading branch information
mattapperson committed Dec 6, 2018
2 parents 6374271 + cf8da06 commit 48a425c
Show file tree
Hide file tree
Showing 2,572 changed files with 31,860 additions and 21,151 deletions.
1 change: 1 addition & 0 deletions .ci/packer_cache.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ tar -cf "$HOME/.kibana/bootstrap_cache/master.tar" \
x-pack/plugins/*/node_modules \
x-pack/plugins/reporting/.chromium \
x-pack/plugins/reporting/.phantom \
test/plugin_functional/plugins/*/node_modules \
.es;
7 changes: 4 additions & 3 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@ bower_components
/.es
/plugins
/optimize
/dlls
/src/fixtures/vislib/mock_data
/src/ui/public/angular-bootstrap
/src/ui/public/flot-charts
/test/fixtures/scenarios
/src/core_plugins/console/public/webpackShims
/src/core_plugins/console/public/tests/webpackShims
/src/legacy/core_plugins/console/public/webpackShims
/src/legacy/core_plugins/console/public/tests/webpackShims
/src/ui/public/utils/decode_geo_hash.js
/src/core_plugins/timelion/public/webpackShims/jquery.flot.*
/src/legacy/core_plugins/timelion/public/webpackShims/jquery.flot.*
/src/core/lib/kbn_internal_native_observable
/packages/*/target
/packages/eslint-config-kibana
Expand Down
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ module.exports = {
'packages/kbn-config-schema/**/*',
'packages/kbn-pm/**/*',
'packages/kbn-es/**/*',
'packages/kbn-datemath/**/*',
'packages/elastic-datemath/**/*',
'packages/kbn-i18n/**/*',
'packages/kbn-dev-utils/**/*',
'packages/kbn-plugin-helpers/**/*',
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ node_modules
!/src/dev/notice/__fixtures__/node_modules
trash
/optimize
/dlls
target
/build
.jruby
Expand Down
30 changes: 16 additions & 14 deletions .i18nrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,29 @@
"paths": {
"common.ui": "src/ui",
"server": "src/server",
"console": "src/core_plugins/console",
"inputControl": "src/core_plugins/input_control_vis",
"kbn": "src/core_plugins/kibana",
"kbnVislibVisTypes": "src/core_plugins/kbn_vislib_vis_types",
"markdownVis": "src/core_plugins/markdown_vis",
"metricVis": "src/core_plugins/metric_vis",
"vega": "src/core_plugins/vega",
"tableVis": "src/core_plugins/table_vis",
"regionMap": "src/core_plugins/region_map",
"statusPage": "src/core_plugins/status_page",
"tileMap": "src/core_plugins/tile_map",
"timelion": "src/core_plugins/timelion",
"tagCloud": "src/core_plugins/tagcloud",
"tsvb": "src/core_plugins/metrics",
"console": "src/legacy/core_plugins/console",
"inputControl": "src/legacy/core_plugins/input_control_vis",
"kbn": "src/legacy/core_plugins/kibana",
"kbnVislibVisTypes": "src/legacy/core_plugins/kbn_vislib_vis_types",
"markdownVis": "src/legacy/core_plugins/markdown_vis",
"metricVis": "src/legacy/core_plugins/metric_vis",
"vega": "src/legacy/core_plugins/vega",
"tableVis": "src/legacy/core_plugins/table_vis",
"regionMap": "src/legacy/core_plugins/region_map",
"statusPage": "src/legacy/core_plugins/status_page",
"tileMap": "src/legacy/core_plugins/tile_map",
"timelion": "src/legacy/core_plugins/timelion",
"tagCloud": "src/legacy/core_plugins/tagcloud",
"tsvb": "src/legacy/core_plugins/metrics",
"xpack.beatsManagement": "x-pack/plugins/beats_management",
"xpack.graph": "x-pack/plugins/graph",
"xpack.grokDebugger": "x-pack/plugins/grokdebugger",
"xpack.idxMgmt": "x-pack/plugins/index_management",
"xpack.infra": "x-pack/plugins/infra",
"xpack.licenseMgmt": "x-pack/plugins/license_management",
"xpack.logstash": "x-pack/plugins/logstash",
"xpack.monitoring": "x-pack/plugins/monitoring",
"xpack.reporting": "x-pack/plugins/reporting",
"xpack.rollupJobs": "x-pack/plugins/rollup",
"xpack.searchProfiler": "x-pack/plugins/searchprofiler",
"xpack.security": "x-pack/plugins/security",
Expand Down
2 changes: 0 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,6 @@ The `config/kibana.yml` file stores user configuration directives. Since this fi

#### Potential Optimization Pitfalls

In development mode, Kibana runs a customized version of [Webpack](http://webpack.github.io/) with some optimizations enabled to make building the browser bundles as fast as possible. These optimizations make the build process about 2x as fast for initial builds, and about 7x faster for rebuilds, but are labeled "unsafe" by Webpack because they can sometimes cause changes to go unnoticed by the compiler. If you experience any of the scenarios below either restart the dev server, or add `optimize.unsafeCache: false` to your `config/kibana.dev.yml` file to disable these optimizations completely.

- Webpack is trying to include a file in the bundle that I deleted and is now complaining about it is missing
- A module id that used to resolve to a single file now resolves to a directory, but webpack isn't adapting
- (if you discover other scenarios, please send a PR!)
Expand Down
3 changes: 3 additions & 0 deletions NOTICE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Kibana source code with Kibana X-Pack source code
Copyright 2012-2018 Elasticsearch B.V.

---
This product has relied on ASTExplorer that is licensed under MIT.

---
This product includes code that was extracted from [email protected]
which is available under an "MIT" license
Expand Down
2 changes: 2 additions & 0 deletions docs/api.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ wherever possible.
have breaking changes in any version of Kibana, or it might even be removed
entirely.

NOTE: You cannot access these APIs via the Console in Kibana.

[float]
== APIs
* <<spaces-api>>
Expand Down
2 changes: 2 additions & 0 deletions docs/api/dashboard-import.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ documents directly to the `.kibana` index. *Do not do this!* Writing directly
to the `.kibana` index is not safe and it _will_ result in corrupted data that
permanently breaks Kibana in a future version.

NOTE: You cannot access these endpoints via the Console in Kibana.

* <<dashboard-import-api-import>>
* <<dashboard-import-api-export>>

Expand Down
2 changes: 2 additions & 0 deletions docs/api/dashboard-import/export.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ The dashboard export API allows people to export dashboards along with all of
their corresponding saved objects such as visualizations, saved searches, and
index patterns.

Note: You cannot access this endpoint via the Console in Kibana.

==== Request

`GET /api/kibana/dashboards/export`
Expand Down
2 changes: 2 additions & 0 deletions docs/api/dashboard-import/import.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ The dashboard import API allows people to import dashboards along with all of
their corresponding saved objects such as visualizations, saved searches, and
index patterns.

Note: You cannot access this endpoint via the Console in Kibana.

==== Request

`POST /api/kibana/dashboards/import`
Expand Down
2 changes: 2 additions & 0 deletions docs/api/logstash-configuration-management.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ Traditionally users would perform this integration by accessing the the `.logsta
directly. *Do not do this!* The structure of this index is subject to change, which could
cause your integration to break. Instead, use the following API.

NOTE: You cannot access these endpoints via the Console in Kibana.

* <<logstash-configuration-management-api-create>>
* <<logstash-configuration-management-api-retrieve>>
* <<logstash-configuration-management-api-delete>>
Expand Down
2 changes: 2 additions & 0 deletions docs/api/logstash-configuration-management/create.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ experimental[This functionality is *experimental* and may be changed or removed
The Create Pipeline API enables you to create a centrally-managed Logstash pipeline. You can also use
it to update an existing pipeline.

Note: You cannot access this endpoint via the Console in Kibana.

[float]
==== Request

Expand Down
2 changes: 2 additions & 0 deletions docs/api/logstash-configuration-management/delete.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ experimental[This functionality is *experimental* and may be changed or removed

The Delete Pipeline API enables you to delete a centrally-managed Logstash pipeline.

Note: You cannot access this endpoint via the Console in Kibana.

[float]
==== Request

Expand Down
2 changes: 2 additions & 0 deletions docs/api/logstash-configuration-management/list.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ experimental[This functionality is *experimental* and may be changed or removed

The List Pipelines API enables you to list all centrally-managed Logstash pipelines.

Note: You cannot access this endpoint via the Console in Kibana.

[float]
==== Request

Expand Down
2 changes: 2 additions & 0 deletions docs/api/logstash-configuration-management/retrieve.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ experimental[This functionality is *experimental* and may be changed or removed

The Retrieve Pipeline API enables you to retrieve a centrally-managed Logstash pipeline.

Note: You cannot access this endpoint via the Console in Kibana.

[float]
==== Request

Expand Down
2 changes: 2 additions & 0 deletions docs/api/role-management.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ It is *not* supported to do so using the
{ref}/security-api.html#security-role-apis[{es} role management APIs], and doing
so will likely cause {kib}'s authorization to behave unexpectedly.

NOTE: You cannot access these endpoints via the Console in Kibana.

* <<role-management-api-put>>
* <<role-management-api-get>>
* <<role-management-api-delete>>
Expand Down
2 changes: 2 additions & 0 deletions docs/api/role-management/delete.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

experimental[This API is experimental and may be changed or removed completely in a future release. Although the underlying mechanism of enforcing role-based access control is stable, the APIs for managing the roles are currently experimental.]

Note: You cannot access this endpoint via the Console in Kibana.

==== Authorization

To use this API, you must have at least the `manage_security` cluster privilege.
Expand Down
2 changes: 2 additions & 0 deletions docs/api/role-management/get.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ experimental[This API is experimental and may be changed or removed completely i

Retrieves all {kib} roles, or a specific role.

Note: You cannot access this endpoint via the Console in Kibana.

==== Authorization

To use this API, you must have at least the `manage_security` cluster privilege.
Expand Down
2 changes: 2 additions & 0 deletions docs/api/role-management/put.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ experimental[This API is experimental and may be changed or removed completely i
Creates a new {kib} role or updates the attributes of an existing role. {kib} roles are stored in the
{es} native realm.

Note: You cannot access this endpoint via the Console in Kibana.

==== Authorization

To use this API, you must have at least the `manage_security` cluster privilege.
Expand Down
2 changes: 2 additions & 0 deletions docs/api/saved-objects.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ documents directly to the `.kibana` index. *Do not do this!* Writing directly
to the `.kibana` index is not safe and it _will_ result in corrupted data that
permanently breaks Kibana in a future version.

NOTE: You cannot access these endpoints via the Console in Kibana.

* <<saved-objects-api-get>>
* <<saved-objects-api-bulk-get>>
* <<saved-objects-api-find>>
Expand Down
2 changes: 2 additions & 0 deletions docs/api/saved-objects/bulk_create.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ experimental[This functionality is *experimental* and may be changed or removed
The bulk-create saved object API enables you to persist multiple Kibana saved
objects.

Note: You cannot access this endpoint via the Console in Kibana.

==== Request

`POST /api/saved_objects/_bulk_create`
Expand Down
2 changes: 2 additions & 0 deletions docs/api/saved-objects/bulk_get.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ experimental[This functionality is *experimental* and may be changed or removed
The bulk-get saved object API enables you to retrieve multiple Kibana saved
objects by id.

Note: You cannot access this endpoint via the Console in Kibana.

==== Request

`POST /api/saved_objects/_bulk_get`
Expand Down
2 changes: 2 additions & 0 deletions docs/api/saved-objects/create.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ experimental[This functionality is *experimental* and may be changed or removed

The create saved object API enables you to persist a Kibana saved object.

Note: You cannot access this endpoint via the Console in Kibana.

==== Request

`POST /api/saved_objects/<type>` +
Expand Down
2 changes: 2 additions & 0 deletions docs/api/saved-objects/delete.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ experimental[This functionality is *experimental* and may be changed or removed
The delete saved object API permanently removes a Kibana saved object. Once a
saved object has been deleted, _it cannot be recovered_.

Note: You cannot access this endpoint via the Console in Kibana.

==== Request

`DELETE /api/saved_objects/<type>/<id>`
Expand Down
2 changes: 2 additions & 0 deletions docs/api/saved-objects/find.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ experimental[This functionality is *experimental* and may be changed or removed
The find saved object API enables you to retrieve a paginated set of Kibana
saved objects by various conditions.

Note: You cannot access this endpoint via the Console in Kibana.

==== Request

`GET /api/saved_objects/_find`
Expand Down
2 changes: 2 additions & 0 deletions docs/api/saved-objects/get.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ experimental[This functionality is *experimental* and may be changed or removed
The get saved object API enables you to retrieve a single Kibana saved object
by id.

Note: You cannot access this endpoint via the Console in Kibana.

==== Request

`GET /api/saved_objects/<type>/<id>`
Expand Down
2 changes: 2 additions & 0 deletions docs/api/saved-objects/update.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ experimental[This functionality is *experimental* and may be changed or removed
The update saved object API enables you to update the attributes for an
existing Kibana saved object.

Note: You cannot access this endpoint via the Console in Kibana.

==== Request

`PUT /api/saved_objects/<type>/<id>`
Expand Down
2 changes: 2 additions & 0 deletions docs/api/spaces-management.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ experimental[This API is *experimental* and may be changed or removed completely

The spaces API allows people to manage their spaces within {kib}.

NOTE: You cannot access these endpoints via the Console in Kibana.

* <<spaces-api-post>>
* <<spaces-api-put>>
* <<spaces-api-get>>
Expand Down
2 changes: 2 additions & 0 deletions docs/api/spaces-management/delete.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ experimental[This API is *experimental* and may be changed or removed completely
Deleting a space will automatically delete all saved objects that belong to that space. This operation cannot be undone!
==================================================

Note: You cannot access this endpoint via the Console in Kibana.

==== Request

To delete a space, submit a DELETE request to the `/api/spaces/space/<space_id>`
Expand Down
2 changes: 2 additions & 0 deletions docs/api/spaces-management/get.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ experimental[This API is *experimental* and may be changed or removed completely

Retrieves all {kib} spaces, or a specific space.

Note: You cannot access this endpoint via the Console in Kibana.

==== Get all {kib} spaces

===== Request
Expand Down
2 changes: 2 additions & 0 deletions docs/api/spaces-management/post.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ experimental[This API is *experimental* and may be changed or removed completely

Creates a new {kib} space. To update an existing space, use the PUT command.

Note: You cannot access this endpoint via the Console in Kibana.

==== Request

To create a space, issue a POST request to the
Expand Down
2 changes: 2 additions & 0 deletions docs/api/spaces-management/put.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ experimental[This API is *experimental* and may be changed or removed completely

Updates an existing {kib} space. To create a new space, use the POST command.

Note: You cannot access this endpoint via the Console in Kibana.

==== Request

To update a space, issue a PUT request to the
Expand Down
2 changes: 2 additions & 0 deletions docs/api/url-shortening.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Internet Explorer has URL length restrictions, and some wiki and markup parsers

The short URLs enabled by this API are designed to make sharing Kibana URLs easier.

NOTE: You cannot access these endpoints via the Console in Kibana.

* <<url-shortening-api-api-shorten-url>>

include::url_shortening/shorten_url.asciidoc[]
2 changes: 2 additions & 0 deletions docs/api/url_shortening/shorten_url.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

The Shorten URL API allows for converting a Kibana URL into a token.

Note: You cannot access this endpoint via the Console in Kibana.

==== Request

`POST /api/shorten_url`
Expand Down
21 changes: 19 additions & 2 deletions docs/canvas.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,29 @@ you make neat stuff and you want to show that neat stuff to others. Canvas is
for makers who are a little bit creative, a little bit technical, and whole lot
of curious.

We've put together <<canvas-getting-started, this Getting Started>> to teach you
how to get the most out of Canvas.
[role="screenshot"]
image::images/canvas_workpad_weblog.png[]


We've put together <<canvas-getting-started, this Getting Started>> to get you
up and running with Canvas.

If you want to dig into the expression language and the functions that drive
Canvas, see the <<canvas-common-functions>> and
<<canvas-tinymath-functions>>.

--

include::canvas/canvas-getting-started.asciidoc[]

include::canvas/canvas-workpad.asciidoc[]

include::canvas/canvas-function-reference.asciidoc[]

include::canvas/canvas-common-functions.asciidoc[]

include::canvas/canvas-server-functions.asciidoc[]

include::canvas/canvas-client-functions.asciidoc[]

include::canvas/canvas-tinymath-functions.asciidoc[]
Loading

0 comments on commit 48a425c

Please sign in to comment.