Skip to content

Commit 38fcbab

Browse files
committed
fix tabs
1 parent 8332f14 commit 38fcbab

File tree

2 files changed

+44
-84
lines changed

2 files changed

+44
-84
lines changed

solutions/observability/apps/applications-ui-central-config-user.md

Lines changed: 30 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -16,26 +16,12 @@ Central configuration users need to be able to view, create, update, and delete
1616

1717
1. Create a new role, named something like `central-config-manager`, and assign the following privileges:
1818

19-
<div class="tabs" data-tab-group="central-config-manager">
20-
<div role="tablist" aria-label="Central config manager">
21-
<button role="tab"
22-
aria-selected="true"
23-
aria-controls="data-streams-tab"
24-
id="data-streams">
25-
Data streams
26-
</button>
27-
<button role="tab"
28-
aria-selected="false"
29-
aria-controls="classic-indices-tab"
30-
id="classic-indices"
31-
tabindex="-1">
32-
Classic APM indices
33-
</button>
34-
</div>
35-
<div tabindex="0"
36-
role="tabpanel"
37-
id="data-streams-tab"
38-
aria-labelledby="data-streams">
19+
::::{tab-set}
20+
:group: datastreams-classic
21+
22+
:::{tab-item} Data streams
23+
:sync: datastreams
24+
3925
| Type | Privilege | Purpose |
4026
| --- | --- | --- |
4127
| Index | `read` on `apm-agent-configuration` | Read-only access to `apm-agent-configuration` data |
@@ -47,19 +33,20 @@ Central configuration users need to be able to view, create, update, and delete
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+
::::
49+
6350
::::{tip}
6451
Using the deprecated APM Server binaries? Add the privileges under the **Classic APM indices** tab above.
6552
::::
@@ -78,26 +65,12 @@ In some instances, you may wish to create a user that can only read central conf
7865

7966
1. Create a new role, named something like `central-config-reader`, and assign the following privileges:
8067

81-
<div class="tabs" data-tab-group="central-config-manager">
82-
<div role="tablist" aria-label="Central config manager">
83-
<button role="tab"
84-
aria-selected="true"
85-
aria-controls="data-streams-tab"
86-
id="data-streams">
87-
Data streams
88-
</button>
89-
<button role="tab"
90-
aria-selected="false"
91-
aria-controls="classic-indices-tab"
92-
id="classic-indices"
93-
tabindex="-1">
94-
Classic APM indices
95-
</button>
96-
</div>
97-
<div tabindex="0"
98-
role="tabpanel"
99-
id="data-streams-tab"
100-
aria-labelledby="data-streams">
68+
::::{tab-set}
69+
:group: datastreams-classic
70+
71+
:::{tab-item} Data streams
72+
:sync: datastreams
73+
10174
| Type | Privilege | Purpose |
10275
| --- | --- | --- |
10376
| Index | `read` on `apm-agent-configuration` | Read-only access to `apm-agent-configuration` data |
@@ -109,19 +82,20 @@ In some instances, you may wish to create a user that can only read central conf
10982
| Index | `read` on `traces-apm*` | Read-only access to `traces-apm*` data |
11083
| Index | `view_index_metadata` on `traces-apm*` | Read-only access to `traces-apm*` index metadata |
11184

112-
</div>
113-
<div tabindex="0"
114-
role="tabpanel"
115-
id="classic-indices-tab"
116-
aria-labelledby="classic-indices"
117-
hidden="">
85+
:::
86+
87+
:::{tab-item} Classic APM indices
88+
:sync: classic
89+
11890
| Type | Privilege | Purpose |
11991
| --- | --- | --- |
12092
| Index | `read` on `apm-*` | Read-only access to `apm-*` data |
12193
| Index | `view_index_metadata` on `apm-*` | Read-only access to `apm-*` index metadata |
12294

123-
</div>
124-
</div>
95+
:::
96+
97+
::::
98+
12599
::::{tip}
126100
Using the deprecated APM Server binaries? Add the privileges under the **Classic APM indices** tab above.
127101
::::

solutions/observability/apps/applications-ui-storage-explorer-user.md

Lines changed: 14 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -16,45 +16,31 @@ View the **Storage Explorer** in the Applications UI.
1616

1717
1. Create a new role, named something like `storage-explorer_user`, and assign the following privileges:
1818

19-
<div class="tabs" data-tab-group="apm-app-storage-explorer-reader">
20-
<div role="tablist" aria-label="Applications UI storage explorer-reader">
21-
<button role="tab"
22-
aria-selected="true"
23-
aria-controls="data-streams-tab"
24-
id="data-streams">
25-
Data streams
26-
</button>
27-
<button role="tab"
28-
aria-selected="false"
29-
aria-controls="classic-indices-tab"
30-
id="classic-indices"
31-
tabindex="-1">
32-
Classic APM indices
33-
</button>
34-
</div>
35-
<div tabindex="0"
36-
role="tabpanel"
37-
id="data-streams-tab"
38-
aria-labelledby="data-streams">
19+
::::{tab-set}
20+
:group: datastreams-classic
21+
22+
:::{tab-item} Data streams
23+
:sync: datastreams
24+
3925
| Type | Privilege | Purpose |
4026
| --- | --- | --- |
4127
| Cluster | `monitor` | Monitor the disk space used by APM data streams |
4228
| Index | `monitor` on `logs-apm*` | Monitor access to `logs-apm*` for storage explorer |
4329
| Index | `monitor` on `metrics-apm*` | Monitor access to `metrics-apm*` for storage explorer |
4430
| Index | `monitor` on `traces-apm*` | Monitor access to `traces-apm*` for storage explorer |
4531

46-
</div>
47-
<div tabindex="0"
48-
role="tabpanel"
49-
id="classic-indices-tab"
50-
aria-labelledby="classic-indices"
51-
hidden="">
32+
:::
33+
34+
:::{tab-item} Classic APM indices
35+
:sync: classic
36+
5237
| Type | Privilege | Purpose |
5338
| --- | --- | --- |
5439
| Cluster | `monitor` | Monitor the disk space used by APM indices |
5540
| Index | `monitor` on `apm-*` | Monitor access to `apm-*` for storage explorer |
5641

57-
</div>
58-
</div>
42+
:::
43+
44+
::::
5945

6046
2. Assign the `storage-explorer_user` created previously, and the roles and privileges necessary to create a [full](apm-reader-user.md#apm-app-reader-full) or [partial](apm-reader-user.md#apm-app-reader-partial) APM reader to any users that need to view **Storage Explorer** in the Applications UI.

0 commit comments

Comments
 (0)