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
Copy file name to clipboardExpand all lines: solutions/observability/synthetics/cli.md
+41Lines changed: 41 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -186,6 +186,26 @@ If the journey contains external NPM packages other than the `@elastic/synthetic
186
186
* If you `push` a Synthetics project that used to contain one or more monitors but no longer contains any monitors, all monitors associated with the Synthetics project ID being pushed will be deleted.
187
187
* If you `push` a Synthetics project that’s already been pushed using one Synthetics project ID and then try to `push` it using a *different* ID, it will create duplicates of all monitors in the Synthetics project.
188
188
189
+
`--proxy-uri`
190
+
: The proxy URL to be used when connecting to Kibana on your deployment or Observability Serverless project.
191
+
192
+
This can also be set in the configuration file using [`proxy.uri` in the configuration file](/solutions/observability/synthetics/configure-projects.md#synthetics-configuration-proxy). The value defined via the CLI will take precedence.
193
+
194
+
`--proxy-token`
195
+
: (Optional) The authentication token to be used when connecting to the proxy URL. Based on auth header format `Basic Asaaas==`
196
+
197
+
This can also be set in the configuration file using [`proxy.token` in the configuration file](/solutions/observability/synthetics/configure-projects.md#synthetics-configuration-proxy). The value defined via the CLI will take precedence.
198
+
199
+
`--proxy-ca`
200
+
: (Optional) Override the trusted CA certificates for the proxy connection.
201
+
202
+
This can also be set in the configuration file using [`proxy.ca` in the configuration file](/solutions/observability/synthetics/configure-projects.md#synthetics-configuration-proxy). The value defined via the CLI will take precedence.
203
+
204
+
`--proxy-no-verify`
205
+
: (Optional) Disable TLS verification for the proxy connection.
206
+
207
+
This can also be set in the configuration file using [`proxy.noVerify` in the configuration file](/solutions/observability/synthetics/configure-projects.md#synthetics-configuration-proxy). The value defined via the CLI will take precedence.
208
+
189
209
## Tag monitors [tagging-and-filtering]
190
210
191
211
Synthetics journeys can be tagged with one or more tags. Use tags to filter journeys when running tests locally or pushing them to Elastic.
@@ -251,6 +271,27 @@ To list both locations on Elastic’s global managed infrastructure and {{privat
251
271
`--auth <string>`
252
272
: API key used for [authentication](/deploy-manage/api-keys/elasticsearch-api-keys.md).
253
273
274
+
`--proxy-uri`
275
+
: The proxy URL to be used when connecting to Kibana on your deployment or Observability Serverless project.
276
+
277
+
This can also be set in the configuration file using [`proxy.uri` in the configuration file](/solutions/observability/synthetics/configure-projects.md#synthetics-configuration-proxy). The value defined via the CLI will take precedence.
278
+
279
+
`--proxy-token`
280
+
: (Optional) The authentication token to be used when connecting to the proxy URL. Based on auth header format `Basic Asaaas==`
281
+
282
+
This can also be set in the configuration file using [`proxy.token` in the configuration file](/solutions/observability/synthetics/configure-projects.md#synthetics-configuration-proxy). The value defined via the CLI will take precedence.
283
+
284
+
`--proxy-ca`
285
+
: (Optional) Override the trusted CA certificates for the proxy connection.
286
+
287
+
This can also be set in the configuration file using [`proxy.ca` in the configuration file](/solutions/observability/synthetics/configure-projects.md#synthetics-configuration-proxy). The value defined via the CLI will take precedence.
288
+
289
+
`--proxy-no-verify`
290
+
: (Optional) Disable TLS verification for the proxy connection.
291
+
292
+
This can also be set in the configuration file using [`proxy.noVerify` in the configuration file](/solutions/observability/synthetics/configure-projects.md#synthetics-configuration-proxy). The value defined via the CLI will take precedence.
293
+
294
+
254
295
::::{note}
255
296
If an administrator has disabled Elastic managed locations for the role you are assigned and you do *not* include `--url` and `--auth`, all global locations managed by Elastic will be listed. However, you will not be able to push to these locations with your API key and will see an error: *You don’t have permission to use Elastic managed global locations*. For more details, refer to the [troubleshooting docs](/troubleshoot/observability/troubleshooting-synthetics.md#synthetics-troubleshooting-public-locations-disabled).
0 commit comments