You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Get started[observability-synthetics-get-started]
8
8
9
-
% What needs to be done: Align serverless/stateful
9
+
To set up a synthetic monitor, you need to configure the monitor, run it, and send data back to Elastic. After setup is complete, the data will be available in your serverless Observability project or in {{kib}} to view, analyze, and alert on.
10
10
11
-
% Use migrated content from existing pages that map to this page:
With a Synthetics project, you write tests in an external version-controlled Node.js project using YAML for lightweight monitors and JavaScript or TypeScript for browser monitors. Then, you use the `@elastic/synthetics` NPM library’s `push` command to create monitors.
22
+
23
+
This approach works well if you want to create both browser monitors and lightweight monitors. It also allows you to configure and update monitors using a GitOps workflow.
24
+
25
+
Get started in [Create monitors in a Synthetics project](../../../solutions/observability/apps/create-monitors-with-project-monitors.md).
:alt: Diagram showing which pieces of software are used to configure monitors
40
+
:::
41
+
42
+
::::{note}
43
+
The Elastic Synthetics integration is a method for creating synthetic monitors that is no longer recommended. **Do not use the Elastic Synthetics integration to set up new monitors.**
44
+
45
+
For details on how to migrate from Elastic Synthetics integration to {{project-monitors}} or the {{synthetics-app}}, refer to [Migrate from the Elastic Synthetics integration](../../../solutions/observability/apps/migrate-from-elastic-synthetics-integration.md).
46
+
47
+
If you’ve used the Elastic Synthetics integration to create monitors in the past and need to reference documentation about the integration, go to the [8.3 documentation](https://www.elastic.co/guide/en/observability/8.3/uptime-set-up.html#uptime-set-up-choose-agent).
Copy file name to clipboardExpand all lines: solutions/observability/apps/writer-role.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ mapped_pages:
5
5
6
6
# Writer role [synthetics-role-write]
7
7
8
-
::::{important}
8
+
::::{important}
9
9
To minimize the privileges required by the writer role, use the [setup role](setup-role.md) to enable Monitor Management. This section assumes another user has already enabled Monitor Management.
10
10
::::
11
11
@@ -16,13 +16,13 @@ For users who need to create, modify, and delete monitors, provide write access.
16
16
***Limited write access**: If you want to limit write access to the {{synthetics-app}} only, you can use [Limited write access](#synthetics-write-privileges-limited), which requires additional configuration.
17
17
18
18
19
-
## General write access [synthetics-write-privileges-general]
19
+
## General write access [synthetics-write-privileges-general]
20
20
21
21
Create a **writer role**, called something like `synthetics_writer`:
22
22
23
23
1. Start with the `editor`[built-in role](../../../deploy-manage/users-roles/cluster-or-deployment-auth/built-in-roles.md). This role grants full access to all features in {{kib}} (including the {{observability}} solution) and read-only access to data indices.
24
24
25
-
::::{note}
25
+
::::{note}
26
26
The `editor`[built-in role](../../../deploy-manage/users-roles/cluster-or-deployment-auth/built-in-roles.md) will grant write access to *all* {{kib}} apps. If you want to limit write access to the {{synthetics-app}} only, refer to [Limited write access](#synthetics-write-privileges-limited).
27
27
::::
28
28
@@ -36,7 +36,7 @@ Create a **writer role**, called something like `synthetics_writer`:
If you want to limit write access to the {{synthetics-app}} only, do *not* use the `editor`[built-in role](../../../deploy-manage/users-roles/cluster-or-deployment-auth/built-in-roles.md).
42
42
@@ -51,7 +51,7 @@ Instead to you can create a writer role, called something like `synthetics_write
51
51
Additional privileges will depend on the factors below.
52
52
53
53
54
-
### To restrict using Elastic’s global managed infrastructure [disable-managed-locations]
54
+
### To restrict using Elastic’s global managed infrastructure [disable-managed-locations]
55
55
56
56
To restrict users assigned this role from using monitors hosted on Elastic’s global managed infrastructure:
57
57
@@ -60,7 +60,7 @@ To restrict users assigned this role from using monitors hosted on Elastic’s g
60
60
3. Uncheck *Elastic managed locations enabled*.
61
61
62
62
63
-
### If using Private Locations [synthetics-role-write-private-locations]
63
+
### If using Private Locations [synthetics-role-write-private-locations]
64
64
65
65
The user who initially sets up a new Private Location needs additional privileges. Users who create or update monitors hosted on that Private Location do not need any additional permissions.
66
66
@@ -72,9 +72,9 @@ The user who is setting up a new Private Location will need the following privil
72
72
|[Kibana](../../../deploy-manage/users-roles/cluster-or-deployment-auth/kibana-privileges.md)|`Integrations`: `read`| Access to Integrations in {{kib}}. |
73
73
74
74
75
-
### If using projects [_if_using_projects]
75
+
### If using projects [_if_using_projects]
76
76
77
-
If the user should be able to create and update monitors using [projects](get-started.md#choose-projects), add *at least one* of following privileges:
77
+
If the user should be able to create and update monitors using [projects](get-started.md#observability-synthetics-get-started-synthetics-project), add *at least one* of following privileges:
0 commit comments