Skip to content

Commit 8332f14

Browse files
committed
fix tabs
1 parent 9e7a2e7 commit 8332f14

File tree

2 files changed

+34
-60
lines changed

2 files changed

+34
-60
lines changed

solutions/observability/apps/apm-reader-user.md

Lines changed: 31 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -12,32 +12,18 @@ mapped_pages:
1212
APM reader users typically need to view the Applications UI and dashboards and visualizations that use APM data. These users might also need to create and edit dashboards, visualizations, and machine learning jobs.
1313

1414

15-
## APM reader [apm-app-reader-full]
15+
## APM reader [apm-app-reader-full]
1616

1717
To create an APM reader user:
1818

1919
1. Create a new role, named something like `read-apm`, and assign the following privileges:
2020

21-
<div class="tabs" data-tab-group="apm-app-reader">
22-
<div role="tablist" aria-label="Applications UI reader">
23-
<button role="tab"
24-
aria-selected="true"
25-
aria-controls="data-streams-tab"
26-
id="data-streams">
27-
Data streams
28-
</button>
29-
<button role="tab"
30-
aria-selected="false"
31-
aria-controls="classic-indices-tab"
32-
id="classic-indices"
33-
tabindex="-1">
34-
Classic APM indices
35-
</button>
36-
</div>
37-
<div tabindex="0"
38-
role="tabpanel"
39-
id="data-streams-tab"
40-
aria-labelledby="data-streams">
21+
::::{tab-set}
22+
:group: datastreams-classic
23+
24+
:::{tab-item} Data streams
25+
:sync: datastreams
26+
4127
| Type | Privilege | Purpose |
4228
| --- | --- | --- |
4329
| Index | `read` on `logs-apm*` | Read-only access to `logs-apm*` data |
@@ -47,19 +33,19 @@ To create an APM reader user:
4733
| Index | `read` on `traces-apm*` | Read-only access to `traces-apm*` data |
4834
| Index | `view_index_metadata` on `traces-apm*` | Read-only access to `traces-apm*` index metadata |
4935

50-
</div>
51-
<div tabindex="0"
52-
role="tabpanel"
53-
id="classic-indices-tab"
54-
aria-labelledby="classic-indices"
55-
hidden="">
36+
:::
37+
38+
:::{tab-item} Classic APM indices
39+
:sync: classic
40+
5641
| Type | Privilege | Purpose |
5742
| --- | --- | --- |
5843
| Index | `read` on `apm-*` | Read-only access to `apm-*` data |
5944
| Index | `view_index_metadata` on `apm-*` | Read-only access to `apm-*` index metadata |
6045

61-
</div>
62-
</div>
46+
:::
47+
48+
::::
6349

6450
2. Assign the `read-apm` role created in the previous step, and the following built-in roles to any APM reader users:
6551

@@ -70,32 +56,18 @@ To create an APM reader user:
7056

7157

7258

73-
## Partial APM reader [apm-app-reader-partial]
59+
## Partial APM reader [apm-app-reader-partial]
7460

7561
In some instances, you may wish to restrict certain Kibana apps that a user has access to.
7662

7763
1. Create a new role, named something like `read-apm-partial`, and assign the following privileges:
7864

79-
<div class="tabs" data-tab-group="apm-app-reader">
80-
<div role="tablist" aria-label="Applications UI reader">
81-
<button role="tab"
82-
aria-selected="true"
83-
aria-controls="data-streams-tab"
84-
id="data-streams">
85-
Data streams
86-
</button>
87-
<button role="tab"
88-
aria-selected="false"
89-
aria-controls="classic-indices-tab"
90-
id="classic-indices"
91-
tabindex="-1">
92-
Classic APM indices
93-
</button>
94-
</div>
95-
<div tabindex="0"
96-
role="tabpanel"
97-
id="data-streams-tab"
98-
aria-labelledby="data-streams">
65+
::::{tab-set}
66+
:group: datastreams-classic
67+
68+
:::{tab-item} Data streams
69+
:sync: datastreams
70+
9971
| Type | Privilege | Purpose |
10072
| --- | --- | --- |
10173
| Index | `read` on `logs-apm*` | Read-only access to `logs-apm*` data |
@@ -105,19 +77,20 @@ In some instances, you may wish to restrict certain Kibana apps that a user has
10577
| Index | `read` on `traces-apm*` | Read-only access to `traces-apm*` data |
10678
| Index | `view_index_metadata` on `traces-apm*` | Read-only access to `traces-apm*` index metadata |
10779

108-
</div>
109-
<div tabindex="0"
110-
role="tabpanel"
111-
id="classic-indices-tab"
112-
aria-labelledby="classic-indices"
113-
hidden="">
80+
:::
81+
82+
:::{tab-item} Classic APM indices
83+
:sync: classic
84+
11485
| Type | Privilege | Purpose |
11586
| --- | --- | --- |
11687
| Index | `read` on `apm-*` | Read-only access to `apm-*` data |
11788
| Index | `view_index_metadata` on `apm-*` | Read-only access to `apm-*` index metadata |
11889

119-
</div>
120-
</div>
90+
:::
91+
92+
::::
93+
12194

12295
2. Assign feature privileges to any Kibana feature that the user needs access to. Here are two examples:
12396

solutions/observability/apps/create-apm-rules-alerts.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,10 @@ For a complete walkthrough of the **Create rule** flyout panel, including detail
2828

2929
::::
3030

31-
% Stateful only after this?
32-
3331
## Rules and alerts in the Applications UI [_rules_and_alerts_in_the_applications_ui]
32+
```{applies_to}
33+
stack: all
34+
```
3435

3536
View and manage rules and alerts in the Applications UI.
3637

0 commit comments

Comments
 (0)