Dynatrace USQL is a powerful query language that allows you to analyze your Dynatrace data in depth. It is a SQL-like language that can be used to query data from all of the different Dynatrace tables, including Real User Monitoring (RUM) data, synthetic monitoring data, and infrastructure monitoring data.
Here are some basic tutorials for Dynatrace USQL:
Getting started
To get started with USQL, you will need to create a USQL script. You can do this in the Dynatrace UI or in a text editor.
To create a USQL script in the Dynatrace UI:
- Go to Settings > Monitoring > USQL > Create new script.
- Enter a name for your script and click Create.
- Paste your USQL code into the script editor.
- Click Run to execute your script.
To create a USQL script in a text editor:
- Create a new text file and save it with a .usql extension.
- Paste your USQL code into the text file.
- Save the text file.
Once you have created your USQL script, you can run it using the Dynatrace UI or the Dynatrace CLI.
Running USQL scripts
To run a USQL script in the Dynatrace UI:
- Go to Settings > Monitoring > USQL > My scripts.
- Click the name of the script that you want to run.
- Click Run.
To run a USQL script using the Dynatrace CLI:
- Open a terminal window.
- Navigate to the directory where your USQL script is located.
- Run the following command:
dt usql <script_name.usql>Code language: HTML, XML (xml)
I’m Rajesh Kumar, a DevOps, SRE, DevSecOps, Cloud, and Platform Engineering expert passionate about sharing practical knowledge, real-world experiences, and industry best practices. I have worked at Cotocus and regularly write about technology, travel, investing, health, product reviews, and digital marketing through my various platforms.
I publish technical articles at DevOps School, travel stories at Holiday Landmark, stock market insights at Stocks Mantra, health and fitness guidance at My Medic Plus, product reviews at TrueReviewNow, and SEO and digital marketing strategies at Wizbrand.
Find Trusted Cardiac Hospitals
Compare heart hospitals by city and services — all in one place.
Explore Hospitals