Skip to content

Commit c014238

Browse files
Merge branch 'master' into feature/slm_execute_retention
2 parents b54ecc3 + 69e7ee0 commit c014238

File tree

462 files changed

+55336
-7749
lines changed

Some content is hidden

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

462 files changed

+55336
-7749
lines changed

docs/apm/troubleshooting.asciidoc

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
[[troubleshooting]]
2+
=== Troubleshooting common problems
3+
4+
If you have something to add to this section, please consider creating a pull request with
5+
your proposed changes at https://github.com/elastic/kibana.
6+
7+
Also check out the https://discuss.elastic.co/c/apm[APM discussion forum].
8+
9+
==== No APM data found
10+
11+
This section can help with any of the following:
12+
13+
* Data isn't displaying in the APM app
14+
* You're seeing a message like "No Services Found",
15+
* You're seeing errors like "Fielddata is disabled on text fields by default..."
16+
17+
There are a number of factors that could be at play here.
18+
One important thing to double-check first is your index template.
19+
20+
An APM index template must exist for the APM app to work correctly.
21+
By default, this index template is created by APM Server on startup.
22+
However, this only happens if `setup.template.enabled` is `true` in `apm-server.yml`.
23+
You can create the index template manually by running `apm-server setup`.
24+
Take note that index templates *cannot* be applied retroactively -- they are only applied at index creation time.
25+
More information is available in {apm-server-ref}/apm-server-configuration.html[Set up and configure].
26+
27+
You can check for the existence of an APM index template using the
28+
{ref}/indices-get-template.html[Get index template API].
29+
If you're using the default index naming pattern, that request would be:
30+
31+
[source,js]
32+
--------------------------------------------------
33+
GET /_template/apm-{version}
34+
--------------------------------------------------
35+
// CONSOLE
36+
37+
If you're not outputting data directly from APM Server to Elasticsearch (perhaps you're using Logstash or Kafka),
38+
then the index template will not be set up automatically. Instead, you'll need to
39+
{apm-server-ref}/_manually_loading_template_configuration.html#load-template-manually-alternate[load the template manually].
40+
41+
Finally, this problem can also occur if you've changed the index name that you write APM data to.
42+
The default index pattern can be found {apm-server-ref}/elasticsearch-output.html#index-option-es[here].
43+
If you change this setting, you must also configure the `setup.template.name` and `setup.template.pattern` options.
44+
See {apm-server-ref}/configuration-template.html[Load the Elasticsearch index template].

docs/apm/using-the-apm-ui.asciidoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,5 @@ include::metrics.asciidoc[]
3535
include::agent-configuration.asciidoc[]
3636

3737
include::advanced-queries.asciidoc[]
38+
39+
include::troubleshooting.asciidoc[]

docs/developer/visualize/development-create-visualization.asciidoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ The list of common parameters:
6464
- *responseHandler*: <string> one of the available response handlers or a <function> for a custom response handler
6565
- *editor*: <string> one of the available editors or Editor class for custom one
6666
- *editorConfig*: object holding editor parameters
67-
- *options.showTimePicker*: <bool> show or hide time picker (defaults to true)
67+
- *options.showTimePicker*: <bool> show or hide time filter (defaults to true)
6868
- *options.showQueryBar*: <bool> show or hide query bar (defaults to true)
6969
- *options.showFilterBar*: <bool> show or hide filter bar (defaults to true)
7070
- *options.showIndexSelection*: <bool> show or hide index selection (defaults to true)
@@ -275,7 +275,7 @@ VisTypesRegistryProvider.register(MyNewVisType);
275275
[[development-visualization-request-handlers]]
276276
=== Visualization Request Handlers
277277
Request handler gets called when one of the following keys on AppState change:
278-
`vis`, `query`, `filters` or `uiState` and when timepicker is updated. On top
278+
`vis`, `query`, `filters` or `uiState` and when the time filter is updated. On top
279279
of that it will also get called on force refresh.
280280

281281
By default visualizations will use the `courier` request handler. They can also choose to use any of the other provided
@@ -417,7 +417,7 @@ The `vis` object holds the visualization state and is the window into kibana:
417417
- *vis.getUiState()*: gets UI state of visualization
418418
- *vis.uiStateVal(name, val)*: updates a property in UI state
419419
- *vis.isEditorMode()*: returns true if in editor mode
420-
- *vis.API.timeFilter*: allows you to access time picker
420+
- *vis.API.timeFilter*: allows you to access time filter
421421
- *vis.API.queryFilter*: gives you access to queryFilter
422422
- *vis.API.events.click*: default click handler
423423
- *vis.API.events.brush*: default brush handler
@@ -430,12 +430,12 @@ visualization's render method.
430430
For the parameters that should not be saved with the visualization you should use the UI state.
431431
These hold viewer-specific state, such as popup open/closed, custom colors applied to the series etc.
432432

433-
You can access filter bar and time picker through the objects defined on `vis.API`
433+
You can access the filter bar and time filter through the objects defined on `vis.API`
434434

435435
[[development-vis-timefilter]]
436436
==== timeFilter
437437

438-
Update the timefilter time values and call update() method on it to update time picker
438+
Update the timefilter time values and call update() method on it to update the time filter
439439

440440
["source","js"]
441441
-----------

docs/development/core/server/kibana-plugin-server.apicaller.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22

33
[Home](./index.md) &gt; [kibana-plugin-server](./kibana-plugin-server.md) &gt; [APICaller](./kibana-plugin-server.apicaller.md)
44

5-
## APICaller type
5+
## APICaller interface
66

77

88
<b>Signature:</b>
99

1010
```typescript
11-
export declare type APICaller = (endpoint: string, clientParams: Record<string, any>, options?: CallAPIOptions) => Promise<unknown>;
11+
export interface APICaller
1212
```
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [kibana-plugin-server](./kibana-plugin-server.md) &gt; [AssistanceAPIResponse](./kibana-plugin-server.assistanceapiresponse.md) &gt; [indices](./kibana-plugin-server.assistanceapiresponse.indices.md)
4+
5+
## AssistanceAPIResponse.indices property
6+
7+
<b>Signature:</b>
8+
9+
```typescript
10+
indices: {
11+
[indexName: string]: {
12+
action_required: MIGRATION_ASSISTANCE_INDEX_ACTION;
13+
};
14+
};
15+
```
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [kibana-plugin-server](./kibana-plugin-server.md) &gt; [AssistanceAPIResponse](./kibana-plugin-server.assistanceapiresponse.md)
4+
5+
## AssistanceAPIResponse interface
6+
7+
<b>Signature:</b>
8+
9+
```typescript
10+
export interface AssistanceAPIResponse
11+
```
12+
13+
## Properties
14+
15+
| Property | Type | Description |
16+
| --- | --- | --- |
17+
| [indices](./kibana-plugin-server.assistanceapiresponse.indices.md) | <code>{</code><br/><code> [indexName: string]: {</code><br/><code> action_required: MIGRATION_ASSISTANCE_INDEX_ACTION;</code><br/><code> };</code><br/><code> }</code> | |
18+
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [kibana-plugin-server](./kibana-plugin-server.md) &gt; [AssistantAPIClientParams](./kibana-plugin-server.assistantapiclientparams.md)
4+
5+
## AssistantAPIClientParams interface
6+
7+
<b>Signature:</b>
8+
9+
```typescript
10+
export interface AssistantAPIClientParams extends GenericParams
11+
```
12+
13+
## Properties
14+
15+
| Property | Type | Description |
16+
| --- | --- | --- |
17+
| [method](./kibana-plugin-server.assistantapiclientparams.method.md) | <code>'GET'</code> | |
18+
| [path](./kibana-plugin-server.assistantapiclientparams.path.md) | <code>'/_migration/assistance'</code> | |
19+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [kibana-plugin-server](./kibana-plugin-server.md) &gt; [AssistantAPIClientParams](./kibana-plugin-server.assistantapiclientparams.md) &gt; [method](./kibana-plugin-server.assistantapiclientparams.method.md)
4+
5+
## AssistantAPIClientParams.method property
6+
7+
<b>Signature:</b>
8+
9+
```typescript
10+
method: 'GET';
11+
```
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2+
3+
[Home](./index.md) &gt; [kibana-plugin-server](./kibana-plugin-server.md) &gt; [AssistantAPIClientParams](./kibana-plugin-server.assistantapiclientparams.md) &gt; [path](./kibana-plugin-server.assistantapiclientparams.path.md)
4+
5+
## AssistantAPIClientParams.path property
6+
7+
<b>Signature:</b>
8+
9+
```typescript
10+
path: '/_migration/assistance';
11+
```

docs/development/core/server/kibana-plugin-server.clusterclient.asscoped.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Creates an instance of `ScopedClusterClient` based on the configuration the curr
99
<b>Signature:</b>
1010

1111
```typescript
12-
asScoped(request?: KibanaRequest | LegacyRequest | FakeRequest): ScopedClusterClient;
12+
asScoped(request?: KibanaRequest | LegacyRequest | FakeRequest): IScopedClusterClient;
1313
```
1414

1515
## Parameters
@@ -20,5 +20,5 @@ asScoped(request?: KibanaRequest | LegacyRequest | FakeRequest): ScopedClusterCl
2020

2121
<b>Returns:</b>
2222

23-
`ScopedClusterClient`
23+
`IScopedClusterClient`
2424

0 commit comments

Comments
 (0)