Get your first fully functional dashboard up and running in minutes with this quick guided tour. We'll show you how to add queries, external data, markdown, and variables—without long explanations or tutorials.
With Dashboards, you can:
Query, visualize, and observe all your data stored in Grail.
Write custom JavaScript with ad-hoc functions to fetch external data.
Annotate all your visualizations with markdown to enrich them with context.
Add variables to filter your results and make your dashboard dynamic.
Tasks to complete this step
Open the Dashboards app from the Left Menu
Select + Dashboard
Select + to add dashboard element
Select Query Grail.
In the tile editor for Query, enter the following DQL
Select Run Query. For logs, your results will be generated in a table by default.
Select Select visualization tab to display the results differently.
With Notebooks, you can:
Query, analyze, and visualize all your observability data, including logs, metrics, and events powered by Grail.
Create and collaborate on interactive, data-driven, and persistent documents.
Fetch and incorporate external data with ad-hoc functions.
Add markdown to provide context and bring colleagues along.
In each notebook, you can add sections of Query, Code, and Markdown. On this page, we show you how to work with each one.
Tasks to complete this step
Open the Notebooks app from the Left Menu
Select + Notebook
Add a query
Select + to open the sections menu.
Select Query Grail.
Type fetch logs for this example.
Adjust the timeframe, if you want. The default is the last 2 hours.
Then, select Run query.
Use filters to refine your query
You can refine query results in lots of ways. Let's try refining your query result with a simple host filter.
In the table, select the cell with the relevant host.
Select Filter.
You just filtered your query results by the host. Nicely done. The filter only applies to the current section of your notebook
Now, let's say you want summarize number of records by process group. - In the dt.entity.process_group column, click on column header.
Visualize your data in different ways
When you're working with complex data, you'll find it useful to see a record list, which is a simple list of records that contains all the fields.
Simply select the record list tab and you're done. At other times, a chart or graph may be more effective for communicating a trend, event, or insight. Dynatrace gives you a variety of options. Let's try creating a bar chart.
Select Visualizations.
Select Change visualization.
Choose the Bar chart.
Add Code
Code sections are useful when you want to add external data to your notebook. Code sections run as a serverless function. To learn more, visit Dynatrace functions. Let's add code using a snippet to fetch external data: Select + to open the sections menu.
Under Code, select Fetch external data.
Give the different templates a try. They'll save you time and effort.
Tasks to complete this step
Download this sample notebook we will use to analyze logs