Skip to content

Commit 5c9738f

Browse files
Merge branch 'master' into fix-has-data-for-7.9-release
2 parents 8bed4b4 + 2a77307 commit 5c9738f

951 files changed

Lines changed: 20766 additions & 12095 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintrc.js

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -771,19 +771,22 @@ module.exports = {
771771
},
772772

773773
/**
774-
* APM overrides
774+
* APM and Observability overrides
775775
*/
776776
{
777-
files: ['x-pack/plugins/apm/**/*.js'],
777+
files: [
778+
'x-pack/plugins/apm/**/*.{js,mjs,ts,tsx}',
779+
'x-pack/plugins/observability/**/*.{js,mjs,ts,tsx}',
780+
],
778781
rules: {
779-
'no-unused-vars': ['error', { ignoreRestSiblings: true }],
780782
'no-console': ['warn', { allow: ['error'] }],
781-
},
782-
},
783-
{
784-
plugins: ['react-hooks'],
785-
files: ['x-pack/plugins/apm/**/*.{ts,tsx}'],
786-
rules: {
783+
'react/function-component-definition': [
784+
'warn',
785+
{
786+
namedComponents: 'function-declaration',
787+
unnamedComponents: 'arrow-function',
788+
},
789+
],
787790
'react-hooks/rules-of-hooks': 'error', // Checks rules of Hooks
788791
'react-hooks/exhaustive-deps': ['error', { additionalHooks: '^useFetcher$' }],
789792
},

docs/developer/advanced/running-elasticsearch.asciidoc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ This will run a snapshot of {es} that is usually built nightly. Read more about
1313
----
1414
yarn es snapshot
1515
----
16+
By default, two users are added to Elasticsearch:
17+
18+
- A superuser with username: `elastic` and password: `changeme`, which can be used to log into Kibana with.
19+
- A user with username: `kibana_system` and password `changeme`. This account is used by the Kibana server to authenticate itself to Elasticsearch, and to perform certain actions on behalf of the end user. These credentials should be specified in your kibana.yml as described in <<using-kibana-with-security>>
1620

1721
See all available options, like how to specify a specific license, with the `--help` flag.
1822

@@ -115,4 +119,4 @@ PUT _cluster/settings
115119
}
116120
----
117121

118-
Follow the cross-cluster search instructions for setting up index patterns to search across clusters (<<management-cross-cluster-search>>).
122+
Follow the cross-cluster search instructions for setting up index patterns to search across clusters (<<management-cross-cluster-search>>).

docs/developer/architecture/code-exploration.asciidoc

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -186,11 +186,6 @@ WARNING: Missing README.
186186
Replaces the legacy ui/share module for registering share context menus.
187187
188188
189-
- {kib-repo}blob/{branch}/src/plugins/status_page[statusPage]
190-
191-
WARNING: Missing README.
192-
193-
194189
- {kib-repo}blob/{branch}/src/plugins/telemetry/README.md[telemetry]
195190
196191
Telemetry allows Kibana features to have usage tracked in the wild. The general term "telemetry" refers to multiple things:

docs/maps/trouble-shooting.asciidoc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,20 @@ image::maps/images/inspector.png[]
2020
[float]
2121
=== Solutions to common problems
2222

23+
[float]
24+
==== Index not listed when adding layer
25+
26+
* Verify your geospatial data is correctly mapped as {ref}/geo-point.html[geo_point] or {ref}/geo-shape.html[geo_shape].
27+
** Run `GET myIndexPatternTitle/_field_caps?fields=myGeoFieldName` in <<console-kibana, Console>>, replacing `myIndexPatternTitle` and `myGeoFieldName` with your index pattern title and geospatial field name.
28+
** Ensure response specifies `type` as `geo_point` or `geo_shape`.
29+
* Verify your geospatial data is correctly mapped in your <<managing-fields, Kibana index pattern>>.
30+
** Open your index pattern in <<management, Stack Management>>.
31+
** Ensure your geospatial field type is `geo_point` or `geo_shape`.
32+
** Ensure your geospatial field is searchable and aggregatable.
33+
** If your geospatial field type does not match your Elasticsearch mapping, click the *Refresh* button to refresh the field list from Elasticsearch.
34+
* Index patterns with thousands of fields can exceed the default maximum payload size.
35+
Increase <<settings, `server.maxPayloadBytes`>> for large index patterns.
36+
2337
[float]
2438
==== Features are not displayed
2539

docs/user/introduction.asciidoc

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
<titleabbrev>What is Kibana?</titleabbrev>
55
++++
66

7-
**_Explore and visualize your data and manage all things Elastic Stack._**
7+
**_Visualize and analyze your data and manage all things Elastic Stack._**
88

9-
Whether you’re a user or admin, {kib} makes your data actionable by providing
9+
Whether you’re an analyst or an admin, {kib} makes your data actionable by providing
1010
three key functions. Kibana is:
1111

1212
* **An open-source analytics and visualization platform.**
@@ -24,20 +24,20 @@ image::images/intro-kibana.png[]
2424

2525
[float]
2626
[[get-data-into-kibana]]
27-
=== Getting data into {kib}
27+
=== Add data
2828

2929
{kib} is designed to use {es} as a data source. Think of Elasticsearch as the engine that stores
3030
and processes the data, with {kib} sitting on top.
3131

32-
From the home page, {kib} provides these options for getting data in:
32+
From the home page, {kib} provides these options for adding data:
3333

34+
* Import data using the
35+
https://www.elastic.co/blog/importing-csv-and-log-data-into-elasticsearch-with-file-data-visualizer[File Data visualizer].
3436
* Set up a data flow to Elasticsearch using our built-in tutorials.
35-
(If a tutorial doesn’t exist for your data, go to the
37+
If a tutorial doesn’t exist for your data, go to the
3638
{beats-ref}/beats-reference.html[Beats overview] to learn about other data shippers
37-
in the {beats} family.)
39+
in the {beats} family.
3840
* <<add-sample-data, Add a sample data set>> and take {kib} for a test drive without loading data yourself.
39-
* Import static data using the
40-
https://www.elastic.co/blog/importing-csv-and-log-data-into-elasticsearch-with-file-data-visualizer[file upload feature].
4141
* Index your data into Elasticsearch with {ref}/getting-started-index.html[REST APIs]
4242
or https://www.elastic.co/guide/en/elasticsearch/client/index.html[client libraries].
4343
+
@@ -47,9 +47,9 @@ image::images/intro-data-tutorial.png[Ways to get data in from the home page]
4747

4848
{kib} uses an
4949
<<index-patterns, index pattern>> to tell it which {es} indices to explore.
50-
If you add sample data or run a built-in tutorial, you get an index pattern for free,
50+
If you add upload a file, run a built-in tutorial, or add sample data, you get an index pattern for free,
5151
and are good to start exploring. If you load your own data, you can create
52-
an index pattern in <<management, Management>>.
52+
an index pattern in <<management, Stack Management>>.
5353

5454
[float]
5555
[[explore-and-query]]
@@ -84,22 +84,22 @@ image::images/intro-dashboard.png[]
8484
{kib} also offers these visualization features:
8585

8686
* <<visualize, Visualize>> allows you to display your data in
87-
line charts, bar graphs, pie charts, histograms, and tables
88-
(just to name a few). It's also home to Lens, the drag-and-drop interface.
87+
charts, graphs, and tables
88+
(just to name a few). It's also home to Lens.
8989
Visualize supports the ability to add interactive
90-
controls to your dashboard, and filter dashboard content in real time.
90+
controls to your dashboard, filter dashboard content in real time, and add your own images and logos for your brand.
9191

9292
* <<canvas, Canvas>> gives you the ability to present your data in a
9393
visually compelling, pixel-perfect report. Give your data the “wow” factor
94-
needed to impress your CEO or to captivate people with a big-screen display.
94+
needed to impress your CEO or to captivate coworkers with a big-screen display.
9595

9696
* <<maps, Maps>> enables you to ask (and answer) meaningful
9797
questions of your location-based data. Maps supports multiple
9898
layers and data sources, mapping of individual geo points and shapes,
9999
and dynamic client-side styling.
100100

101101
* <<TSVB, TSVB>> allows you to combine
102-
an infinite number of aggregations to display complex data in a meaningful way.
102+
an infinite number of aggregations to display complex data.
103103
With TSVB, you can analyze multiple index patterns and customize
104104
every aspect of your visualization. Choose your own date format and color
105105
gradients, and easily switch your data view between time series, metric,
@@ -129,7 +129,7 @@ dashboards in one space, but full access to all of Kibana’s features in anothe
129129
[[manage-all-things-stack]]
130130
=== Manage all things Elastic Stack
131131

132-
<<management, Management>> provides guided processes for managing all
132+
<<management, Stack Management>> provides guided processes for managing all
133133
things Elastic Stack &mdash; indices, clusters, licenses, UI settings, index patterns,
134134
and more. Want to update your {es} indices? Set user roles and privileges?
135135
Turn on dark mode? Kibana has UIs for all that.
@@ -162,4 +162,5 @@ You can also <<install, install {kib} on your own>> &mdash; no code, no addi
162162
infrastructure required.
163163

164164
Our <<tutorial-build-dashboard, Getting Started>> and in-product guidance can
165-
help you get up and running, faster. Use our Help menu if you have questions or feedback.
165+
help you get up and running, faster. Click the help icon image:images/intro-help-icon.png[]
166+
in the top navigation bar for help with questions or to provide feedback.
-33.8 KB
Loading
772 Bytes
Loading
224 KB
Loading
393 Bytes
Loading

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,7 @@
317317
"@types/accept": "3.1.1",
318318
"@types/angular": "^1.6.56",
319319
"@types/angular-mocks": "^1.7.0",
320+
"@types/archiver": "^3.1.0",
320321
"@types/babel__core": "^7.1.2",
321322
"@types/bluebird": "^3.1.1",
322323
"@types/boom": "^7.2.0",
@@ -398,6 +399,7 @@
398399
"@types/testing-library__react-hooks": "^3.1.0",
399400
"@types/type-detect": "^4.0.1",
400401
"@types/uuid": "^3.4.4",
402+
"@types/vinyl": "^2.0.4",
401403
"@types/vinyl-fs": "^2.4.11",
402404
"@types/zen-observable": "^0.8.0",
403405
"@typescript-eslint/eslint-plugin": "^2.34.0",
@@ -433,7 +435,7 @@
433435
"eslint-plugin-node": "^11.0.0",
434436
"eslint-plugin-prefer-object-spread": "^1.2.1",
435437
"eslint-plugin-prettier": "^3.1.3",
436-
"eslint-plugin-react": "^7.17.0",
438+
"eslint-plugin-react": "^7.20.3",
437439
"eslint-plugin-react-hooks": "^4.0.4",
438440
"eslint-plugin-react-perf": "^3.2.3",
439441
"exit-hook": "^2.2.0",
@@ -474,6 +476,7 @@
474476
"license-checker": "^16.0.0",
475477
"listr": "^0.14.1",
476478
"load-grunt-config": "^3.0.1",
479+
"load-json-file": "^6.2.0",
477480
"mocha": "^7.1.1",
478481
"mock-fs": "^4.12.0",
479482
"mock-http-server": "1.3.0",

0 commit comments

Comments
 (0)