- Observability: other versions:
- What is Elastic Observability?
- What’s new in 8.15
- Get started
- Observability AI Assistant
- Application performance monitoring (APM)
- Self manage APM Server
- Data Model
- Features
- Navigate the APM UI
- Perform common tasks in the APM UI
- Configure APM agents with central config
- Control access to APM data
- Create an alert
- Create and upload source maps (RUM)
- Create custom links
- Filter data
- Find transaction latency and failure correlations
- Identify deployment details for APM agents
- Integrate with machine learning
- Explore mobile sessions with Discover
- Observe Lambda functions
- Query your data
- Storage Explorer
- Track deployments with annotations
- Use OpenTelemetry
- Manage storage
- Configure
- Advanced setup
- Secure communication
- Monitor
- APM Server API
- APM UI API
- Troubleshoot
- Upgrade
- Release notes
- Known issues
- Log monitoring
- Infrastructure monitoring
- AWS monitoring
- Azure monitoring
- Synthetic monitoring
- Get started
- Scripting browser monitors
- Configure lightweight monitors
- Manage monitors
- Work with params and secrets
- Analyze monitor data
- Monitor resources on private networks
- Use the CLI
- Configure projects
- Multi-factor Authentication
- Configure Synthetics settings
- Grant users access to secured resources
- Manage data retention
- Use Synthetics with traffic filters
- Migrate from the Elastic Synthetics integration
- Scale and architect a deployment
- Synthetics support matrix
- Synthetics Encryption and Security
- Troubleshooting
- Uptime monitoring
- Real user monitoring
- Universal Profiling
- Alerting
- Service-level objectives (SLOs)
- Cases
- CI/CD observability
- Troubleshooting
- Fields reference
- Tutorials
Filtering monitors
editFiltering monitors
editWhen running the npx @elastic/synthetics push
command, you can filter the monitors that are pushed to Kibana using the following flags:
-
--tags Array<string>
- Push monitors with the given tags that match the glob pattern.
-
--match <string>
- Push monitors with a name or tags that match the glob pattern.
-
--pattern <string>
-
RegExp pattern to match the journey files in the current working directory.
Defaults to
/*.journey.(ts|js)$/
, for browser monitors and/.(yml|yaml)$/
for lightweight monitors.
You can combine these techniques and push the monitors to different Kibana clusters/space based on the tags by using multiple configuration files.
npx @elastic/synthetics push --config synthetics.qa.config.ts --tags env:qa npx @elastic/synthetics push --config synthetics.prod.config.ts --tags env:prod
@elastic/synthetics locations
editList all available locations for running synthetics monitors.
npx @elastic/synthetics locations --url <kibana-host> --auth <api-key>
Run npx @elastic/synthetics locations
with no flags to list all the available global locations managed by Elastic for running synthetics monitors.
To list both locations on Elastic’s global managed infrastructure and Private Locations, include:
-
--url <string>
- The Kibana URL for the deployment from which to fetch all available public and Private Locations.
-
--auth <string>
- API key used for Kibana authentication.
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.
@elastic/synthetics totp <secret>
editGenerate a Time-based One-Time Password (TOTP) for multifactor authentication (MFA) in Synthetics.
npx @elastic/synthetics totp <secret> npx @elastic/synthetics totp <secret> --issuer <string> --label <string>
-
<secret>
- The encoded secret key used to generate the TOTP.
-
--issuer <string>
- Name of the provider or service that is assocaited with the account.
-
--label <string>
-
Identifier for the account. Defaults to
SyntheticsTOTP