Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] [Monitoring] APM UI specifics #22508

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
202 commits
Select commit Hold shift + click to select a range
5a8519c
Basic APM present in monitoring UI
chrisronline Aug 2, 2018
edc040b
Merge remote-tracking branch 'elastic/master' into monitoring/apm
chrisronline Aug 7, 2018
2a800e0
Enhance APM monitoring UI with some beat graphs
chrisronline Aug 7, 2018
dc7720e
Updates for APM Monitoring UI
chrisronline Aug 9, 2018
bb99660
Add memory metrics
chrisronline Aug 9, 2018
8d50015
Merge remote-tracking branch 'elastic/master' into monitoring/apm
chrisronline Aug 10, 2018
c2c8fdb
Add events rate per minute
chrisronline Aug 14, 2018
ccc04fd
Adding requests and time since last event
chrisronline Aug 15, 2018
6d8cad2
More metrics for instance page
chrisronline Aug 15, 2018
328a020
Merge remote-tracking branch 'elastic/master' into monitoring/apm
chrisronline Aug 17, 2018
cf99943
Merge remote-tracking branch 'elastic/master' into monitoring/apm
chrisronline Aug 20, 2018
ff037d5
Avoid using an unnecessary agg
chrisronline Aug 20, 2018
e9ac231
Adding more metrics
chrisronline Aug 20, 2018
14c83c0
Merge remote-tracking branch 'elastic/master' into monitoring/apm
chrisronline Aug 21, 2018
6c4f804
Merge remote-tracking branch 'elastic/master' into monitoring/apm
chrisronline Aug 22, 2018
83d7d81
Show response success/failure in a single graph
chrisronline Aug 22, 2018
6a3c0ec
Merge remote-tracking branch 'elastic/master' into monitoring/apm
chrisronline Aug 23, 2018
019703c
When an index is deleted, and it's selected in the table, then it's r…
cjcenizal Aug 23, 2018
cc8222e
Convert usage of notify.error to toastNotifications.addDanger for str…
cjcenizal Aug 23, 2018
9f8372e
Skipping Visualize "data table with index without time filter" (#22323)
kobelb Aug 23, 2018
35abc06
added log info for clarity while running the test with additional par…
rashmivkulkarni Aug 23, 2018
60ae2f5
Revamp core environment class to support upcoming core<-->legacy boot…
azasypkin Aug 23, 2018
31ac0d9
Skipping vertical bar chart with index without time filter (#22337)
markov00 Aug 23, 2018
9b80961
Speed up dashboard add panel (#22278)
Aug 23, 2018
f1a4d6c
[DOCS] Updates links to role management APIs (#22150)
lcawl Aug 24, 2018
a1372dc
translate tutorials(osquery_logs, php_fpm_metrics, postgresql_logs, p…
pavel06081991 Aug 24, 2018
a445e2d
translate tutorials(kafka_logs, kafka_metrics, kibana_metrics, kubern…
pavel06081991 Aug 24, 2018
74d8dbd
translate tutorials(elasticsearch_metrics, etcd_metrics, golang_metri…
pavel06081991 Aug 24, 2018
1cf1fb7
Bump EUI to 3.7.0 (#22287)
legrego Aug 24, 2018
0ff0832
[DOCS] Updates links to user management APIs (#22161)
lcawl Aug 24, 2018
9df9572
[DOCS] Updates links to token APIs (#22155)
lcawl Aug 24, 2018
bfd3523
[DOCS] Updates links to role mapping APIs (#22167)
lcawl Aug 24, 2018
ec87f47
let _claimPendingJobs have a valid job when updating leads to version…
tsullivan Aug 24, 2018
e701a3f
Removes ui-framework/TableInfo component, uses div instead (#22310)
jasonrhodes Aug 24, 2018
1b76134
Introduce component registry for advanced ui settings screen (#22315)
legrego Aug 25, 2018
f9c902f
[build] Include X-Pack plugins and use aliases (#22325)
tylersmalley Aug 26, 2018
02a56b3
doc: add calendar vis plugin link to docs (#22366)
aaronoah Aug 27, 2018
cd4d53f
fixing flaky vsualize data_table_nontimeindex test (#22288)
ppisljar Aug 27, 2018
2e68bc1
Uses polished (lib) to generate rgba values from existing hex color v…
jasonrhodes Aug 27, 2018
4653c7f
[Telemetry] Add beats architecture stats to telemetry (#21227)
chrisronline Aug 27, 2018
336be32
Fix "visualize app linked saved searched should allow adding filters …
Aug 27, 2018
8ccd456
Refactor Sample Data Home section which also fixes flaky sample data …
nreese Aug 27, 2018
0cca485
Add more to the instance view
chrisronline Aug 27, 2018
caa9530
Remove all specific APM code
chrisronline Aug 27, 2018
73d5909
Saved Objects Client handle RequestEntityTooLarge error from Elastics…
tsullivan Aug 27, 2018
c7d451c
[ftr] capture test output and only log on failure (#21903)
Aug 28, 2018
2700654
[dev-utils/withProcRunner] fix test that swallows promise rejection (…
Aug 28, 2018
8cb473e
Wrap consts in kibana tutorials (#22181)
LeanidShutau Aug 28, 2018
22d3bcf
[docs] Import APM dashboards in 6.4+ (#22439)
sorenlouv Aug 28, 2018
6034cc7
Make `core` responsible for reading and merging of config files. Simp…
azasypkin Aug 28, 2018
11488d5
[APM] Revert to using apm-* as default indices (#22445)
sorenlouv Aug 28, 2018
76f5d87
Some more boilerplate
chrisronline Aug 28, 2018
1b78e13
Add instance code
chrisronline Aug 28, 2018
9d24c00
Eui sharing top nav (#21997)
nreese Aug 28, 2018
7acb1b2
Remove more specific code
chrisronline Aug 28, 2018
f821be0
Add classes and metrics
chrisronline Aug 28, 2018
879a8b1
[Docs] Use literal asterix in APM docs (#22460)
sorenlouv Aug 28, 2018
b25fd07
Overview page
chrisronline Aug 28, 2018
75afb9c
Remove this custom format
chrisronline Aug 28, 2018
2fcc46c
Merge branch 'monitoring/apm-boilerplate' into monitoring/apm-specifics
chrisronline Aug 28, 2018
766c15e
Add time of last event
chrisronline Aug 28, 2018
4d8b859
Use existing utility instead
chrisronline Aug 28, 2018
7a679e0
Fix gauge test (#22472)
liza-mae Aug 28, 2018
36a922e
Bump backport to 4.4.1 (#22456)
sorenlouv Aug 28, 2018
925e13f
[chrome/urlOverflowCheck] use `modifyUrl` helper (#22435)
Aug 28, 2018
1e5d82c
Integrate main i18n tool into build pipeline (#22254)
LeanidShutau Aug 29, 2018
3c8d8c6
Update redux, ,react-redux and corresponding types (#22442)
weltenwort Aug 29, 2018
50facf4
Fixing a few typos and some links that were updated (#22470)
kobelb Aug 29, 2018
18586e7
Remove debug
chrisronline Aug 29, 2018
3cf2ff0
Instances page
chrisronline Aug 29, 2018
5c92bf1
Add translations for Netflow tutorial (#22138)
LeanidShutau Aug 29, 2018
5709f78
Instance page
chrisronline Aug 29, 2018
169fdf9
Update snapshots
chrisronline Aug 29, 2018
60769aa
Merge branch 'monitoring/apm-boilerplate' into monitoring/apm-specifics
chrisronline Aug 29, 2018
7ecd135
Changing doc link from ES to Stack docs (#22497)
kobelb Aug 29, 2018
2d839cc
This is now apms
chrisronline Aug 29, 2018
5c136a1
Fix tests
chrisronline Aug 29, 2018
f2e7837
Merge branch 'monitoring/apm-boilerplate' into monitoring/apm-specifics
chrisronline Aug 29, 2018
57940f1
add aria-label to search input on dashboard listing view (#22467)
nreese Aug 29, 2018
5fd01d9
Implement inspector for Saved Searches (#22376)
nreese Aug 29, 2018
10e88ab
[Monitoring] Fix logging when Monitoring reinitializes with HUP signa…
tsullivan Aug 29, 2018
3e52847
[WIP] Logs Sample Data (#22276)
Aug 29, 2018
dfaff7c
[Fix] Fix bug with missing license data (#22485)
sorenlouv Aug 29, 2018
fa78b75
Rely on RFC1123 when validating `server.host`. (#22469)
azasypkin Aug 29, 2018
22aa6ca
Convert Chromium reports to puppeteer (#21788)
chrisdavies Aug 30, 2018
c65078e
Created separate pr to handle keybinding for mac and other os. (#22521)
Aug 30, 2018
fc7e7b4
Functional test to surface index version conflicts (#22509)
bhavyarm Aug 30, 2018
57e9930
fixing bug discovered by bahvya (#22481)
ppisljar Aug 30, 2018
34b5f22
Translations for Home page (#22249)
maryia-lapata Aug 30, 2018
25761fb
Add option to drop partial buckets from date_histogram visuals (#19979)
blfrantz Aug 30, 2018
f6a3f90
Fix issue with heatmap showing black tiles (#20753)
guanghaofan Aug 30, 2018
e5a94e7
simplified tabify (#19061)
ppisljar Aug 30, 2018
7d8296f
Add the new chromium windows path to the CI "CleanExtraBrowsersTask" …
chrisdavies Aug 30, 2018
de84611
Fix flaky dashboard color legend (#22341)
Aug 30, 2018
853d321
Fix possible flakiness of saveVisualization action (#22356)
markov00 Aug 30, 2018
11d6e53
updated panel_state to ts gridData i vs id (#22515)
rshen91 Aug 30, 2018
2351223
Add tip about iTerm 2 settings (#22502)
joshdover Aug 30, 2018
759e0af
Make the instances page more like beats and update the graphs
chrisronline Aug 30, 2018
c7720b5
Remove debug
chrisronline Aug 30, 2018
89bb8dc
Add windows support to ci_setup/setup script. (#22259)
liza-mae Aug 31, 2018
0394375
Fix regression in CallClient, which caused request errors like timeou…
cjcenizal Aug 31, 2018
1faaad9
Fix save and cancel buttons mis-aligned in settings (#21898)
aaronoah Aug 31, 2018
8c3f4af
Fix link in embed visualize docs (#22557)
timroes Aug 31, 2018
1daa265
[kfetch] Add support for interceptors (#22128)
sorenlouv Aug 31, 2018
5f3c79e
Consolodate Kibana and Elasticsearch launch logic in tests (#22328)
chrisdavies Aug 31, 2018
8a930f2
Fix #22579 (#22580)
chrisdavies Aug 31, 2018
f2e4282
[ESLint] Turn off `no-multi-str` rule in eslint config (#22525)
tsullivan Aug 31, 2018
e28eb6c
Improve test coverage for CallClient error cases. (#22599)
cjcenizal Aug 31, 2018
5a65e38
Delete option[value=url] (#22585)
marius-dr Sep 1, 2018
83c2695
skip flaky test (#22494)
thomasneirynck Sep 1, 2018
e5d33cc
[kbn-pm] fix arg syntax
spalger Sep 3, 2018
f95b008
Refactors properties table, implements typescript (#22402)
jasonrhodes Sep 3, 2018
d5ea684
[ML] Adding string type check to jobs list search (#22627)
jgowdyelastic Sep 3, 2018
3667040
[ML] Migrate Explorer Charts to React. (#22622)
walterra Sep 3, 2018
58dbd0b
Update Guideline (#22450)
maryia-lapata Sep 4, 2018
6fa2b04
Add functional tests for visualize loader API (#22595)
timroes Sep 4, 2018
dcb65ba
[ML] Migrates Anomaly Explorer Swimlanes to React (#22641)
walterra Sep 4, 2018
785a1a9
Fix missing email address on account screen (#22652)
legrego Sep 4, 2018
1464741
TypeScript Reporting Layouts (#22454)
bgaddis56 Sep 4, 2018
005be47
[ML] Fixing links to results for obs with no results (#22650)
jgowdyelastic Sep 4, 2018
85bee36
[ML] Adding milliseconds to watch start and end times (#22659)
jgowdyelastic Sep 4, 2018
6c89613
[ML] Removing calendars from job when cloning (#22667)
jgowdyelastic Sep 4, 2018
bcb7938
Extract index pattern validation rules into ui/public (#22606)
cjcenizal Sep 4, 2018
d874c21
added assertion for the email field.
rashmivkulkarni Sep 4, 2018
e89abb3
[config] logging.useUTC -> logging.timezone (#21561)
jbudz Sep 4, 2018
a64738d
[docs] fix missing float
jbudz Sep 4, 2018
5baa6d5
[ftr/asyncInstance] fix error thrown for undefined provider instances…
Sep 4, 2018
cd83db7
Fix #22510, dashboard-only mode doesn't display saved searches (#22685)
chrisdavies Sep 5, 2018
5f4a1c5
Move timezone settings into autoload file (#22623)
timroes Sep 5, 2018
9c01863
Fix react vis type documentation (#22573)
timroes Sep 5, 2018
4cf727a
Add logging to messages validation (#22296)
LeanidShutau Sep 5, 2018
d8f907b
Fix broken visualize CSS (#22707)
timroes Sep 5, 2018
ccf455e
Fix #22581 by introducing an artificial delay (#22601)
chrisdavies Sep 5, 2018
b791869
align staging urls with new endpoints (#22691)
thomasneirynck Sep 5, 2018
23ed213
[ML] Fixing issue with incorrect timezones in jobs list (#22714)
jgowdyelastic Sep 5, 2018
865a51d
Add instructions for running reporting functional tests to x-pack REA…
nreese Sep 5, 2018
f647d6c
[ML] Makefield type icon component keyboard accessible (#22708)
peteharverson Sep 5, 2018
f7fbed3
[APM] Update Node.js onboarding instructions (#22562)
watson Sep 5, 2018
2938d94
Mgmt saved object test (#22564)
rashmivkulkarni Sep 5, 2018
b26e2b4
Pass scoped context to tutorial providers when building tutorials (#2…
nreese Sep 5, 2018
97fccac
Fix IE scrollbar issue on TSVB gauges in dashboard (#22740)
cchaos Sep 5, 2018
eeee0d8
x-pack tests should use servers from other config files already loade…
Sep 6, 2018
8d8513c
Translations for tutorial common (#22071)
Sep 6, 2018
e6ebcf2
translate tutorials(apm) (#22217)
pavel06081991 Sep 6, 2018
5f02f3e
[APM] Fix broken links (#22592)
sorenlouv Sep 6, 2018
5f96c90
Deprecate xpack:defaultAdminEmail for monitoring alerts (#22195)
legrego Sep 6, 2018
3d6de7c
Implement `LegacyService`. Use `core` to start legacy Kibana. (#22190)
azasypkin Sep 6, 2018
4d83cfd
[Tools] Fix line breaks in default JSON serializer (#22653)
LeanidShutau Sep 6, 2018
778bbc6
PR feedback
chrisronline Sep 6, 2018
03553de
[ci] Run ES snapshot when possible (#22663)
jbudz Sep 6, 2018
bdd1d53
Get rid of `__tests__` folders in the core. (#22662)
azasypkin Sep 7, 2018
76408be
[ML] Anomaly Explorer Charts jest tests. (#22759)
walterra Sep 7, 2018
35226b5
[I18n] Update i18n config (#22799)
LeanidShutau Sep 7, 2018
d021f71
Only log deprecation warning if xpack:defaultAdminEmail is actually s…
legrego Sep 7, 2018
12d15f6
[ML] Disabling single metric viewer links for non-applicable jobs (#2…
jgowdyelastic Sep 7, 2018
20963e3
Investigate flaky override colors dashboard test (#22726)
stacey-gammon Sep 7, 2018
b5c8cbe
Force date format in context query (#22684)
Bargs Sep 7, 2018
ef4b694
Chore: Reorg the x-pack gulp tasks (#22785)
w33ble Sep 7, 2018
12699d1
Generalize dashboard panel actions to not be dashboard specific (#22775)
stacey-gammon Sep 7, 2018
4447523
Add explicit format parameter to docvalue_fields requests (#22771)
Bargs Sep 7, 2018
0ed2623
Introduce date histogram time base configuration to EditorConfig (#22…
jen-huang Sep 7, 2018
54ab5a7
docs: dashboard import/export API (#22835)
epixa Sep 7, 2018
c9b1d7a
Typings for chromium driver (#22688)
stacey-gammon Sep 7, 2018
7e94ecc
Upgrade to Jest 23.5.0 (#22791)
Sep 8, 2018
52060b8
Migrate base path APIs and UiSettings client to new platform (#22694)
Sep 8, 2018
412c430
api/export: calculate content length (#22154) (#22847)
epixa Sep 8, 2018
6efab01
[APM] Fix ML links (#22820)
sorenlouv Sep 8, 2018
012c601
[APM] Minor cleanup (#22827)
sorenlouv Sep 8, 2018
ea25480
Remove mem_total from graph
chrisronline Sep 9, 2018
45e4791
Fix _source formatting (#22800)
markov00 Sep 10, 2018
0a870b2
Manage telemetry opt-in via a dedicated document (#22268)
legrego Sep 10, 2018
0c8f7a6
fix stale snapshot (#22880)
legrego Sep 10, 2018
6d68215
List "Cleaner" plugin for setting index TTL (#22616)
TrumanDu Sep 10, 2018
5b2bacf
Merge remote-tracking branch 'elastic/master' into monitoring/apm-boi…
chrisronline Sep 10, 2018
2969ee8
Merge branch 'monitoring/apm-boilerplate' into monitoring/apm-specifics
chrisronline Sep 10, 2018
3ecf66d
Replace theme CSS instead of appending it to DOM. (#21709)
cjcenizal Sep 10, 2018
16ec03e
Ensure tab works on the banner (#22664)
chrisronline Sep 10, 2018
cd5eb59
attempt to fix flaky tests (#22852)
legrego Sep 10, 2018
1a2e897
Translate Input Control component (#22400)
maryia-lapata Sep 10, 2018
faaf1b4
[ui/url] TypeScript-ify (#22849)
Sep 10, 2018
47cd173
[ci] use es snapshots on non pull requests (#22834)
jbudz Sep 10, 2018
9555b8f
Controls vis - safely handle case where value can not be extracted fr…
nreese Sep 10, 2018
521a20a
Instance page matches overview page
chrisronline Sep 10, 2018
4e7d529
Add padding to instance view
chrisronline Sep 10, 2018
6ded193
Upgrade to TypeScript 3 (#22792)
Sep 11, 2018
0ab1369
decouple agg configs from vis (#21827)
ppisljar Sep 11, 2018
6246c58
changing the way aggconfig field filter works (#22756)
ppisljar Sep 11, 2018
7de9f69
[ML] Fixes Anomaly Explorer Swimlane race condition, adds tests. (#22…
walterra Sep 11, 2018
9b88951
fixing sorting of terms bucket (#22919)
ppisljar Sep 11, 2018
15322e7
Expose `max_concurrent_shard_requests` for `_msearch` requests (#22379)
Bargs Sep 11, 2018
6ce4752
[core/public/deepFreeze] fix recursive type for better array support …
Sep 11, 2018
4f26340
Fix rbac test (#22912)
Sep 11, 2018
ac03ffb
Default to chromium and add deprecation warning for phantom. (#21505)
stacey-gammon Sep 11, 2018
7b8995f
translate tutorials(aerospike_metrics, apache_logs, apache_metrics) (…
pavel06081991 Sep 11, 2018
284e029
[core/public] stop loadingCount, improve stop() tests (#22937)
Sep 11, 2018
1b6dcab
Migrate reporting top nav to sharing context menu (#22596)
nreese Sep 11, 2018
2b03a43
[ML] Explorer Chart Tweaks (#22955)
walterra Sep 12, 2018
1878420
fixed editor state updates for parent pipeline aggs (#22874)
ppisljar Sep 12, 2018
6b64f07
Merge remote-tracking branch 'elastic/master' into monitoring/apm-boi…
chrisronline Sep 12, 2018
249ea0f
Remove need for angular directives
chrisronline Sep 12, 2018
7c67fff
Merge in monitoring/apm-boilerplate
chrisronline Sep 12, 2018
67f328c
Use relative instead of absolute linking here
chrisronline Sep 12, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
9 changes: 8 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ const { resolve } = require('path');
const { readdirSync } = require('fs');
const dedent = require('dedent');

const restrictedModules = { paths: ['gulp-util'] };

module.exports = {
extends: ['@elastic/eslint-config-kibana', '@elastic/eslint-config-kibana/jest'],

Expand All @@ -17,6 +19,11 @@ module.exports = {
},
},

rules: {
'no-restricted-imports': [2, restrictedModules],
'no-restricted-modules': [2, restrictedModules],
},

overrides: [
/**
* Prettier
Expand Down Expand Up @@ -116,7 +123,7 @@ module.exports = {
'packages/kbn-ui-framework/generator-kui/**/*',
'packages/kbn-ui-framework/Gruntfile.js',
'packages/kbn-es/src/**/*',
'x-pack/{dev-tools,gulp_helpers,scripts,test,build_chromium}/**/*',
'x-pack/{dev-tools,tasks,scripts,test,build_chromium}/**/*',
'x-pack/**/{__tests__,__test__,__jest__,__fixtures__,__mocks__}/**/*',
'x-pack/**/*.test.js',
'x-pack/gulpfile.js',
Expand Down
7 changes: 4 additions & 3 deletions .i18nrc.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
{
"paths": {
"kbn": "src/core_plugins/kibana",
"common.server": "src/server",
"common.ui": "src/ui",
"xpack.idxMgmt": "xpack/plugins/index_management"
"inputControl":"src/core_plugins/input_control_vis",
"kbn": "src/core_plugins/kibana",
"statusPage": "src/core_plugins/status_page",
"xpack.idxMgmt": "x-pack/plugins/index_management"
},
"exclude": [
"src/ui/ui_render/bootstrap/app_bootstrap.js",
Expand Down
7 changes: 7 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,13 @@ You can get all build options using the following command:
yarn build --help
```

macOS users on a machine with a discrete graphics card may see significant speedups (up to 2x) when running tests by changing your terminal emulator's GPU settings. In iTerm2:
- Open Preferences (Command + ,)
- In the General tab, under the "Magic" section, ensure "GPU rendering" is checked
- Open "Advanced GPU Settings..."
- Uncheck the "Prefer integrated to discrete GPU" option
- Restart iTerm

### Debugging Server Code
`yarn debug` will start the server with Node's inspect flag. Kibana's development mode will start three processes. Chrome's developer tools can be configured to connect to all three under the connection tab.

Expand Down
2 changes: 2 additions & 0 deletions docs/api.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,14 @@ entirely.

* <<role-management-api>>
* <<saved-objects-api>>
* <<dashboard-import-api>>
* <<logstash-configuration-management-api>>
* <<url-shortening-api>>
--

include::api/role-management.asciidoc[]
include::api/saved-objects.asciidoc[]
include::api/dashboard-import.asciidoc[]
include::api/logstash-configuration-management.asciidoc[]
include::api/url-shortening.asciidoc[]

17 changes: 17 additions & 0 deletions docs/api/dashboard-import.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[[dashboard-import-api]]
== Dashboard Import API

The dashboard import/export APIs allow people to import dashboards along with
all of their corresponding saved objects such as visualizations, saved
searches, and index patterns.

Traditionally, developers would perform this level of integration by writing
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.

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

include::dashboard-import/import.asciidoc[]
include::dashboard-import/export.asciidoc[]
38 changes: 38 additions & 0 deletions docs/api/dashboard-import/export.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
[[dashboard-import-api-export]]
=== Export Dashboard

experimental[This functionality is *experimental* and may be changed or removed completely in a future release.]

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.

==== Request

`GET /api/kibana/dashboards/export`

==== Query Parameters

`dashboard` (optional)::
(array|string) The id(s) of the dashboard(s) to export

==== Response body

The response body will have a top level `objects` property that contains an
array of saved objects. The order of these objects is not guaranteed. You
should use this exact response body as the request body for the corresponding
<<dashboard-import-api-import, Import Dashboard API>>.

==== Examples

The following example exports all saved objects associated with and including
the dashboard with id `942dcef0-b2cd-11e8-ad8e-85441f0c2e5c`.

[source,js]
--------------------------------------------------
GET api/kibana/dashboards/export?dashboard=942dcef0-b2cd-11e8-ad8e-85441f0c2e5c
--------------------------------------------------
// KIBANA

A successful call returns a response code of `200` along with the exported
objects as the response body.
96 changes: 96 additions & 0 deletions docs/api/dashboard-import/import.asciidoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,96 @@
[[dashboard-import-api-import]]
=== Import Dashboard

experimental[This functionality is *experimental* and may be changed or removed completely in a future release.]

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.

==== Request

`POST /api/kibana/dashboards/import`

==== Query Parameters

`force` (optional)::
(boolean) Overwrite any existing objects on id conflict
`exclude` (optional)::
(array) Saved object types that should not be imported

==== Request Body

The request body is JSON, but you should not manually construct a payload to
this endpoint. Instead, use the complete response body from the
<<dashboard-import-api-export, Export Dashboard API>> as the request body to
this import API.

==== Response body

The response body will have a top level `objects` property that contains an
array of the saved objects that were created.

==== Examples

The following example imports saved objects associated with and including the
dashboard with id `942dcef0-b2cd-11e8-ad8e-85441f0c2e5c`.

[source,js]
--------------------------------------------------
POST api/kibana/dashboards/import?exclude=index-pattern
{
"objects": [
{
"id": "80b956f0-b2cd-11e8-ad8e-85441f0c2e5c",
"type": "visualization",
"updated_at": "2018-09-07T18:40:33.247Z",
"version": 1,
"attributes": {
"title": "Count Example",
"visState": "{\"title\":\"Count Example\",\"type\":\"metric\",\"params\":{\"addTooltip\":true,\"addLegend\":false,\"type\":\"metric\",\"metric\":{\"percentageMode\":false,\"useRanges\":false,\"colorSchema\":\"Green to Red\",\"metricColorMode\":\"None\",\"colorsRange\":[{\"from\":0,\"to\":10000}],\"labels\":{\"show\":true},\"invertColors\":false,\"style\":{\"bgFill\":\"#000\",\"bgColor\":false,\"labelColor\":false,\"subText\":\"\",\"fontSize\":60}}},\"aggs\":[{\"id\":\"1\",\"enabled\":true,\"type\":\"count\",\"schema\":\"metric\",\"params\":{}}]}",
"uiStateJSON": "{}",
"description": "",
"version": 1,
"kibanaSavedObjectMeta": {
"searchSourceJSON": "{\"index\":\"90943e30-9a47-11e8-b64d-95841ca0b247\",\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"filter\":[]}"
}
}
},
{
"id": "90943e30-9a47-11e8-b64d-95841ca0b247",
"type": "index-pattern",
"updated_at": "2018-09-07T18:39:47.683Z",
"version": 1,
"attributes": {
"title": "kibana_sample_data_logs",
"timeFieldName": "timestamp",
"fields": "<truncated for example>",
"fieldFormatMap": "{\"hour_of_day\":{}}"
}
},
{
"id": "942dcef0-b2cd-11e8-ad8e-85441f0c2e5c",
"type": "dashboard",
"updated_at": "2018-09-07T18:41:05.887Z",
"version": 1,
"attributes": {
"title": "Example Dashboard",
"hits": 0,
"description": "",
"panelsJSON": "[{\"gridData\":{\"w\":24,\"h\":15,\"x\":0,\"y\":0,\"i\":\"1\"},\"version\":\"7.0.0-alpha1\",\"panelIndex\":\"1\",\"type\":\"visualization\",\"id\":\"80b956f0-b2cd-11e8-ad8e-85441f0c2e5c\",\"embeddableConfig\":{}}]",
"optionsJSON": "{\"darkTheme\":false,\"useMargins\":true,\"hidePanelTitles\":false}",
"version": 1,
"timeRestore": false,
"kibanaSavedObjectMeta": {
"searchSourceJSON": "{\"query\":{\"query\":\"\",\"language\":\"lucene\"},\"filter\":[]}"
}
}
}
]
}
--------------------------------------------------
// KIBANA

A response code of `200` will be returned even if there are errors importing
individual saved objects. In that case, error information will be returned in
the response body on an object-by-object basis.
7 changes: 1 addition & 6 deletions docs/apm/getting-started.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,7 @@ configuration is required.
If you also use Elastic Stack for logging and server-level metrics, you can
optionally import the APM dashboards that come with the APM Server. You can use
these APM-specific visualizations to correlate APM data with other data sources.
To get the dashboards, run the following command on the APM server:

[source,shell]
----------------------------------------------------------
./apm-server setup
----------------------------------------------------------
To get the dashboards, click the "Load Kibana objects" button at the bottom of the Getting Started guides for APM in Kibana.

For more setup information, see
{apm-get-started-ref}/index.html[Getting Started with APM].
6 changes: 3 additions & 3 deletions docs/development/security/rbac.asciidoc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[[development-security-rbac]]
=== Role-based access control

Role-based access control (RBAC) in {kib} relies upon the {ref}/security-api-privileges.html[privilege APIs] that Elasticsearch exposes. This {kib} to define the privileges that {kib} wishes to grant to users, assign them to the relevant users using roles, and then authorize the user to perform a specific action. This is handled within a secured instance of the `SavedObjectsClient` and available transparently to consumers when using `request.getSavedObjectsClient()` or `savedObjects.getScopedSavedObjectsClient()`.
Role-based access control (RBAC) in {kib} relies upon the {xpack-ref}/security-privileges.html#application-privileges[application privileges] that Elasticsearch exposes. This allows {kib} to define the privileges that {kib} wishes to grant to users, assign them to the relevant users using roles, and then authorize the user to perform a specific action. This is handled within a secured instance of the `SavedObjectsClient` and available transparently to consumers when using `request.getSavedObjectsClient()` or `savedObjects.getScopedSavedObjectsClient()`.

[[development-rbac-privileges]]
==== {kib} Privileges
Expand Down Expand Up @@ -76,7 +76,7 @@ Roles that grant <<kibana-privileges>> should be managed using the <<role-manage
[[development-rbac-authorization]]
==== Authorization

The {es} {ref}/security-api-privileges.html#security-api-privileges[has privileges API]determines whether the user is authorized to perform a specific action:
The {es} {ref}/security-api-has-privileges.html[has privileges API] determines whether the user is authorized to perform a specific action:

[source,js]
----------------------------------
Expand Down Expand Up @@ -104,7 +104,7 @@ Once we have authorized the user to perform a specific action, we can execute th
[[development-rbac-legacy-fallback]]
==== Legacy Fallback

Users have existign roles that rely on index privileges to the `.kibana` index. The legacy fallback uses the `callWithRequest` method when the user doesn't have and application privileges. This relies on the user have index privileges on `.kibana`. The legacy fallback will be available until 7.0.
Users have existing roles that rely on index privileges to the `.kibana` index. The legacy fallback uses the `callWithRequest` method when the user doesn't have any application privileges. This relies on the user having index privileges on `.kibana`. The legacy fallback will be available until 7.0.

Within the secured instance of the `SavedObjectsClient` the `_has_privileges` check determines if the user has any index privileges on the `.kibana` index:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ VisTypesRegistryProvider.register(MyNewVisType);
[[development-react-visualization-type]]
==== React Visualization Type
React visualization type assumes you are using React as your rendering technology.
Just pass in a React component to `visConfig.template`.
Just pass in a React component to `visConfig.component`.

The visualization will receive `vis`, `appState`, `updateStatus` and `visData` as props.
It also has a `renderComplete` property, which needs to be called once the rendering has completed.
Expand All @@ -197,7 +197,7 @@ const MyNewVisType = (Private) => {
icon: 'my_icon',
description: 'Cool new chart',
visConfig: {
template: ReactComponent
component: ReactComponent
}
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ For a more complex use-case you usually want to use that method.
`params` is a parameter object specifying several parameters, that influence rendering.

You will find a detailed description of all the parameters in the inline docs
in the {repo}blob/{branch}/src/ui/public/visualize/loader/loader.js[loader source code].
in the {repo}blob/{branch}/src/ui/public/visualize/loader/types.ts[loader source code].

Both methods return an `EmbeddedVisualizeHandler`, that gives you some access
to the visualization. The `embedVisualizationWithSavedObject` method will return
Expand Down
1 change: 1 addition & 0 deletions docs/management/advanced-options.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ working on big documents. Set this property to `false` to disable highlighting.
the Elasticsearch cluster. This setting constrains the length of the segment list. Long segment lists can significantly
increase request processing time.
`courier:ignoreFilterIfFieldNotInIndex`:: Set this property to `true` to skip filters that apply to fields that don't exist in a visualization's index. Useful when dashboards consist of visualizations from multiple index patterns.
`courier:maxConcurrentShardRequests`:: Controls the {ref}/search-multi-search.html[max_concurrent_shard_requests] setting used for _msearch requests sent by Kibana. Set to 0 to disable this config and use the Elasticsearch default.
`fields:popularLimit`:: This setting governs how many of the top most popular fields are shown.
`histogram:barTarget`:: When date histograms use the `auto` interval, Kibana attempts to generate this number of bars.
`histogram:maxBars`:: Date histograms are not generated with more bars than the value of this property, scaling values
Expand Down
6 changes: 6 additions & 0 deletions docs/migration/migrate_7_0.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,9 @@ considered unique based on its persistent UUID, which is written to the path.dat
*Details:* The `/shorten` API has been deprecated since 6.5, when it was replaced by the `/api/shorten_url` API.

*Impact:* The '/shorten' API has been removed. Use the '/api/shorten_url' API instead.

[float]
=== Deprecated kibana.yml setting logging.useUTC has been replaced with logging.timezone
*Details:* Any timezone can now be specified by canonical id.

*Impact:* The logging.useUTC flag will have to be replaced with a timezone id. If set to true the id is `UTC`.
4 changes: 1 addition & 3 deletions docs/monitoring/cluster-alerts.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ To receive email notifications for the Cluster Alerts:

1. Configure an email account as described in
{xpack-ref}/actions-email.html#configuring-email[Configuring Email Accounts].
2. Navigate to the *Management* page in {kib}.
3. Go to the *Advanced Settings* page, find the `xpack:defaultAdminEmail`
setting, and enter your email address.
2. Configure the `xpack.monitoring.cluster_alerts.email_notifications.email_address` setting in `kibana.yml` with your email address.

Email notifications are sent only when Cluster Alerts are triggered and resolved.
2 changes: 2 additions & 0 deletions docs/plugins/known-plugins.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ This list of plugins is not guaranteed to work on your version of Kibana. Instea
* https://github.com/samtecspg/conveyor[Conveyor] - Simple (GUI) interface for importing data into Elasticsearch.
* https://github.com/TrumanDu/indices_view[Indices View] - View indices related information.
* https://github.com/johtani/analyze-api-ui-plugin[Analyze UI] (johtani) - UI for elasticsearch _analyze API
* https://github.com/TrumanDu/cleaner[Cleaner] (TrumanDu)- Setting index ttl.

[float]
=== Timelion Extensions
Expand All @@ -28,6 +29,7 @@ This list of plugins is not guaranteed to work on your version of Kibana. Instea
* https://github.com/JuanCarniglia/area3d_vis[3D Graph] (JuanCarniglia)
* https://github.com/TrumanDu/bmap[Bmap](TrumanDu) - integrated echarts for map visualization
* https://github.com/mstoyano/kbn_c3js_vis[C3JS Visualizations] (mstoyano)
* https://github.com/aaronoah/kibana_calendar_vis[Calendar Visualization] (aaronoah)
* https://github.com/elo7/cohort[Cohort analysis] (elo7)
* https://github.com/DeanF/health_metric_vis[Colored Metric Visualization] (deanf)
* https://github.com/JuanCarniglia/dendrogram_vis[Dendrogram] (JuanCarniglia)
Expand Down
5 changes: 3 additions & 2 deletions docs/security/securing-kibana.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,9 @@ You can manage privileges on the *Management / Security / Roles* page in {kib}.

If you're using the native realm with Basic Authentication, you can assign roles
using the *Management / Security / Users* page in {kib} or the
{ref}/security-api.html#security-user-apis[user management APIs]. For example, the following
creates a user named `jacknich` and assigns it the `kibana_user` role:
{ref}/security-api.html#security-user-apis[user management APIs]. For example,
the following creates a user named `jacknich` and assigns it the `kibana_user`
role:

[source,js]
--------------------------------------------------------------------------------
Expand Down
8 changes: 4 additions & 4 deletions docs/settings/apm-settings.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ xpack.apm.ui.enabled:: Set to `false` to hide the APM plugin {kib} from the menu

apm_oss.indexPattern:: Index pattern is used for integrations with Machine Learning and Kuery Bar. It must match all apm indices. Defaults to `apm-*`.

apm_oss.errorIndices:: Matcher for indices containing error documents. Defaults to `apm-\*-error-*`.
apm_oss.errorIndices:: Matcher for indices containing error documents. Defaults to `apm-*`.

apm_oss.onboardingIndices:: Matcher for indices containing onboarding documents. Defaults to `apm-\*-onboarding-*`.
apm_oss.onboardingIndices:: Matcher for indices containing onboarding documents. Defaults to `apm-*`.

apm_oss.spanIndices:: Matcher for indices containing span documents. Defaults to `apm-\*-span-*`.
apm_oss.spanIndices:: Matcher for indices containing span documents. Defaults to `apm-*`.

apm_oss.transactionIndices:: Matcher for indices containing transaction documents. Defaults to `apm-\*-transaction-*`.
apm_oss.transactionIndices:: Matcher for indices containing transaction documents. Defaults to `apm-*`.
5 changes: 3 additions & 2 deletions docs/settings/reporting-settings.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,9 @@ Defaults to `3000` (3 seconds).
[[xpack-reporting-browser]]`xpack.reporting.capture.browser.type`::
Specifies the browser to use to capture screenshots. Valid options are `phantom`
and `chromium`. When `chromium` is set, the settings specified in the <<reporting-chromium-settings, Chromium settings>>
are respected.
Defaults to `phantom`.
are respected. This setting will be deprecated in 7.0, when Phantom support is removed.
Defaults to `chromium`.


[float]
[[reporting-chromium-settings]]
Expand Down
2 changes: 1 addition & 1 deletion docs/setup/settings.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ error messages.

[[logging-verbose]]`logging.verbose:`:: *Default: false* Set the value of this setting to `true` to log all events, including system usage information and all requests. Supported on Elastic Cloud Enterprise.

`logging.useUTC`:: *Default: true* Set the value of this setting to `false` to log events using the timezone of the server, rather than UTC.
`logging.timezone`:: *Default: UTC* Set to the canonical timezone id (e.g. `US/Pacific`) to log events using that timezone. A list of timezones can be referenced at https://en.wikipedia.org/wiki/List_of_tz_database_time_zones.

`map.includeElasticMapsService:`:: *Default: true* Turns on or off whether layers from the Elastic Maps Service should be included in the vector and tile layer option list.
By turning this off, only the layers that are configured here will be included.
Expand Down
Loading