stack kb synthetics get-synthetic-monitors cli command
elastic stack kb synthetics get-synthetic-monitors [options]
Search monitors
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--querystring- A free-text query string.
--filterstring- Additional KQL filtering criteria.
-
Tags to filter monitors. Accepts a string or an array of strings.
Repeatable: pass
--tagsmultiple times to supply more than one value --monitor-typesstring[]-
The monitor types to filter by, such as
http. Accepts a string or an array of strings.Repeatable: pass
--monitor-typesmultiple times to supply more than one value --locationsstring[]-
The location IDs to filter by. Accepts a string or an array of strings.
Repeatable: pass
--locationsmultiple times to supply more than one value --projectsstring[]-
The projects to filter by. Accepts a string or an array of strings.
Repeatable: pass
--projectsmultiple times to supply more than one value --schedulesstring[]-
The schedules to filter by. Accepts a string or an array of strings.
Repeatable: pass
--schedulesmultiple times to supply more than one value --remote-namesstring[]-
A string or an array of strings.
Repeatable: pass
--remote-namesmultiple times to supply more than one value --statusstring[]-
The monitor statuses to filter by. Accepts a string or an array of strings.
Repeatable: pass
--statusmultiple times to supply more than one value --monitor-query-idsstring[]-
The monitor query IDs to filter by. Accepts a string or an array of strings.
Repeatable: pass
--monitor-query-idsmultiple times to supply more than one value --config-idsstring[]-
The monitor config IDs to filter by. Accepts a string or an array of strings.
Repeatable: pass
--config-idsmultiple times to supply more than one value --show-from-all-spacesenum-
If
true, return monitors from all spaces the user can access.Values: true, false
--use-logical-and-forstring[]-
Apply logical AND for
tagsand/orlocations. Accepts a string or an array.Repeatable: pass
--use-logical-and-formultiple times to supply more than one value --date-range-startstring- The start of the status window, as datemath (
now-15m) or an ISO-8601 timestamp. --date-range-endstring- The end of the status window, as datemath (
now) or an ISO-8601 timestamp. --pagenumber- The page number for paginated results.
--per-pagenumber- The number of items to return per page.
--sort-fieldenum-
The field to sort the results by.
Values: enabled, status, updated_at, created_at, urls, name, tags, project_id, type, schedule, journey_id
--sort-orderenum-
The sort order.
Values: desc, asc
--search-afterstring[]-
A JSON array of sort values from the previous page, for cursor-based paging.
Repeatable: pass
--search-aftermultiple times to supply more than one value --input-filestring- path to a JSON file to use as command input
--dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--no-validate- skip input validation and send the request as-is
--output-fieldsstring- comma-separated list of fields to include in output (dot-notation supported)
--output-templatestring- Mustache-like template for custom text output (e.g. "{{id}}: {{name}}")
--json-
output as JSON