Skip to content

Commit 1fac263

Browse files
Merge branch 'master' into refactor-containers
2 parents f39feee + b909742 commit 1fac263

File tree

2,533 files changed

+61346
-28633
lines changed

Some content is hidden

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

2,533 files changed

+61346
-28633
lines changed

.github/CODEOWNERS

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@
7474
# Observability UIs
7575
/x-pack/legacy/plugins/infra/ @elastic/logs-metrics-ui
7676
/x-pack/plugins/infra/ @elastic/logs-metrics-ui
77-
/x-pack/plugins/ingest_manager/ @elastic/ingest
78-
/x-pack/legacy/plugins/ingest_manager/ @elastic/ingest
79-
/x-pack/plugins/observability/ @elastic/logs-metrics-ui @elastic/apm-ui @elastic/uptime @elastic/ingest
77+
/x-pack/plugins/ingest_manager/ @elastic/ingest-management
78+
/x-pack/legacy/plugins/ingest_manager/ @elastic/ingest-management
79+
/x-pack/plugins/observability/ @elastic/logs-metrics-ui @elastic/apm-ui @elastic/uptime @elastic/ingest-management
8080
/x-pack/legacy/plugins/monitoring/ @elastic/stack-monitoring-ui
8181

8282
# Machine Learning

.github/workflows/pr-project-assigner.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ jobs:
88
name: Assign a PR to project based on label
99
steps:
1010
- name: Assign to project
11-
uses: elastic/github-actions/project-assigner@v1.0.3
11+
uses: elastic/github-actions/project-assigner@v2.0.0
1212
id: project_assigner
1313
with:
1414
issue-mappings: |
1515
[
1616
]
1717
ghToken: ${{ secrets.PROJECT_ASSIGNER_TOKEN }}
1818

19-
# { "label": "Team:AppArch", "projectName": "kibana-app-arch", "columnId": 6173897 },
20-
# { "label": "Feature:Lens", "projectName": "Lens", "columnId": 6219362 },
21-
# { "label": "Team:Canvas", "projectName": "canvas", "columnId": 6187580 }
19+
# { "label": "Team:AppArch", "projectNumber": 37, "columnName": "Review in progress" },
20+
# { "label": "Feature:Lens", "projectNumber": 32, "columnName": "In progress" },
21+
# { "label": "Team:Canvas", "projectNumber": 38, "columnName": "Review in progress" }

.github/workflows/project-assigner.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88
name: Assign issue or PR to project based on label
99
steps:
1010
- name: Assign to project
11-
uses: elastic/github-actions/project-assigner@v1.0.3
11+
uses: elastic/github-actions/project-assigner@v2.0.0
1212
id: project_assigner
1313
with:
14-
issue-mappings: '[{"label": "Team:AppArch", "projectName": "kibana-app-arch", "columnId": 6173895}, {"label": "Feature:Lens", "projectName": "Lens", "columnId": 6219363}, {"label": "Team:Canvas", "projectName": "canvas", "columnId": 6187593}]'
14+
issue-mappings: '[{"label": "Team:AppArch", "projectNumber": 37, "columnName": "To triage"}, {"label": "Feature:Lens", "projectNumber": 32, "columnName": "Long-term goals"}, {"label": "Team:Canvas", "projectNumber": 38, "columnName": "Inbox"}]'
1515
ghToken: ${{ secrets.PROJECT_ASSIGNER_TOKEN }}
1616

1717

.sass-lint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ files:
77
- 'x-pack/legacy/plugins/rollup/**/*.s+(a|c)ss'
88
- 'x-pack/legacy/plugins/security/**/*.s+(a|c)ss'
99
- 'x-pack/legacy/plugins/canvas/**/*.s+(a|c)ss'
10+
- 'x-pack/plugins/triggers_actions_ui/**/*.s+(a|c)ss'
1011
ignore:
1112
- 'x-pack/legacy/plugins/canvas/shareable_runtime/**/*.s+(a|c)ss'
1213
- 'x-pack/legacy/plugins/lens/**/*.s+(a|c)ss'

docs/api/dashboard/export-dashboard.asciidoc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ experimental[] Export dashboards and corresponding saved objects.
99
[[dashboard-api-export-request]]
1010
==== Request
1111

12-
`GET /api/kibana/dashboards/export`
12+
`GET <kibana host>:<port>/api/kibana/dashboards/export`
1313

1414
[[dashboard-api-export-params]]
1515
==== Query parameters
@@ -20,9 +20,9 @@ experimental[] Export dashboards and corresponding saved objects.
2020
[[dashboard-api-export-response-body]]
2121
==== Response body
2222

23-
`objects`::
23+
`objects`::
2424
(array) A top level property that includes the saved objects. The order of the objects is not guaranteed. Use the exact response body as the request body for the corresponding <<dashboard-import-api, Import dashboard API>>.
25-
25+
2626
[[dashboard-api-export-codes]]
2727
==== Response code
2828

@@ -33,10 +33,10 @@ experimental[] Export dashboards and corresponding saved objects.
3333
[[dashboard-api-export-example]]
3434
==== Example
3535

36-
[source,js]
36+
[source,sh]
3737
--------------------------------------------------
38-
GET api/kibana/dashboards/export?dashboard=942dcef0-b2cd-11e8-ad8e-85441f0c2e5c <1>
38+
$ curl -X GET "localhost:5601/api/kibana/dashboards/export?dashboard=942dcef0-b2cd-11e8-ad8e-85441f0c2e5c" <1>
3939
--------------------------------------------------
4040
// KIBANA
4141

42-
<1> The dashboard ID is `942dcef0-b2cd-11e8-ad8e-85441f0c2e5c`.
42+
<1> The dashboard ID is `942dcef0-b2cd-11e8-ad8e-85441f0c2e5c`.

docs/api/dashboard/import-dashboard.asciidoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ experimental[] Import dashboards and corresponding saved objects.
99
[[dashboard-api-import-request]]
1010
==== Request
1111

12-
`POST /api/kibana/dashboards/import`
12+
`POST <kibana host>:<port>/api/kibana/dashboards/import`
1313

1414
[[dashboard-api-import-params]]
1515
==== Query parameters
@@ -40,9 +40,9 @@ Use the complete response body from the <<dashboard-api-export, Export dashboard
4040
[[dashboard-api-import-example]]
4141
==== Example
4242

43-
[source,js]
43+
[source,sh]
4444
--------------------------------------------------
45-
POST api/kibana/dashboards/import?exclude=index-pattern
45+
$ curl -X POST "localhost:5601/api/kibana/dashboards/import?exclude=index-pattern"
4646
{
4747
"objects": [
4848
{

docs/api/features.asciidoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ experimental[] Retrieves all {kib} features. Features are used by spaces and sec
88
[[features-api-get-request]]
99
=== Request
1010

11-
`GET /api/features`
11+
`GET <kibana host>:<port>/api/features`
1212

1313
[float]
1414
[[features-api-get-codes]]
@@ -23,7 +23,7 @@ experimental[] Retrieves all {kib} features. Features are used by spaces and sec
2323

2424
The API returns the following:
2525

26-
[source,js]
26+
[source,sh]
2727
--------------------------------------------------
2828
{
2929
"id": "discover",

docs/api/logstash-configuration-management.asciidoc

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
[[logstash-configuration-management-api]]
33
== Logstash configuration management APIs
44

5-
Programmatically integrate with the Logstash configuration management feature.
5+
Programmatically integrate with Logstash configuration management.
66

7-
WARNING: Do not directly access the `.logstash` index. The structure of the `.logstash` index is subject to change, which could cause your integration to break. Instead, use the Logstash configuration management APIs.
7+
WARNING: Do not directly access the `.logstash` index. The structure of the `.logstash` index is subject to change, which could cause your integration to break. Instead, use the Logstash configuration management APIs.
88

99
The following Logstash configuration management APIs are available:
1010

@@ -20,5 +20,3 @@ include::logstash-configuration-management/delete-pipeline.asciidoc[]
2020
include::logstash-configuration-management/list-pipeline.asciidoc[]
2121
include::logstash-configuration-management/create-logstash.asciidoc[]
2222
include::logstash-configuration-management/retrieve-pipeline.asciidoc[]
23-
24-

docs/api/logstash-configuration-management/create-logstash.asciidoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ experimental[] Create a centrally-managed Logstash pipeline, or update an existi
99
[[logstash-configuration-management-api-create-request]]
1010
==== Request
1111

12-
`PUT /api/logstash/pipeline/<id>`
12+
`PUT <kibana host>:<port>/api/logstash/pipeline/<id>`
1313

1414
[[logstash-configuration-management-api-create-params]]
1515
==== Path parameters
@@ -39,9 +39,9 @@ experimental[] Create a centrally-managed Logstash pipeline, or update an existi
3939
[[logstash-configuration-management-api-create-example]]
4040
==== Example
4141

42-
[source,js]
42+
[source,sh]
4343
--------------------------------------------------
44-
PUT api/logstash/pipeline/hello-world
44+
$ curl -X PUT "localhost:5601/api/logstash/pipeline/hello-world"
4545
{
4646
"pipeline": "input { stdin {} } output { stdout {} }",
4747
"settings": {

docs/api/logstash-configuration-management/delete-pipeline.asciidoc

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ experimental[] Delete a centrally-managed Logstash pipeline.
99
[[logstash-configuration-management-api-delete-request]]
1010
==== Request
1111

12-
`DELETE /api/logstash/pipeline/<id>`
12+
`DELETE <kibana host>:<port>/api/logstash/pipeline/<id>`
1313

1414
[[logstash-configuration-management-api-delete-params]]
1515
==== Path parameters
@@ -26,9 +26,8 @@ experimental[] Delete a centrally-managed Logstash pipeline.
2626
[[logstash-configuration-management-api-delete-example]]
2727
==== Example
2828

29-
[source,js]
29+
[source,sh]
3030
--------------------------------------------------
31-
DELETE api/logstash/pipeline/hello-world
31+
$ curl -X DELETE "localhost:5601/api/logstash/pipeline/hello-world"
3232
--------------------------------------------------
3333
// KIBANA
34-

0 commit comments

Comments
 (0)