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:

Tasks to complete this step

  1. Open the Dashboards app from the Left Menu
  2. Select + Dashboard
  3. Select + to add dashboard element
  4. Select Query Grail. image
  5. In the tile editor for Query, enter the following DQL
        fetch logs
        | filter cloud.provider == "azure"
        | summarize count(), by:{azure.resource.type}
        | sort `count()`, direction:"descending"
    
  6. Select Run Query. For logs, your results will be generated in a table by default.
  7. Select Select visualization tab to display the results differently. image

With Notebooks, you can:

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

  1. Open the Notebooks app from the Left Menu
  2. Select + Notebook
  3. Add a query
    • Select + to open the sections menu.
    • Select Query Grail. image
    • Type fetch logs for this example.
    • Adjust the timeframe, if you want. The default is the last 2 hours.
    • Then, select Run query. image
  4. 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. image
    • You just filtered your query results by the host. Nicely done. The filter only applies to the current section of your notebook
  5. Now, let's say you want summarize number of records by process group.
    - In the dt.entity.process_group column, click on column header. image
  6. 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. image
  7. 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. image

Tasks to complete this step

  1. Download this sample notebook we will use to analyze logs
    • Right click in browser, click Save As
    • Click on this link to download the file. image
    • Save it under default filename
  2. Go into Dynatrace UI, open the notebooks app from your left menu image
  3. Expand the Notebooks menu image
  4. Click on upload and browse to the notebook JSON file where you saved.
  5. Follow the instructions in the notebook to analyze log data from a Hipster shop sample app.

Tasks to complete this step

  1. Download this sample notebook we will use to analyze logs
    • Click on this link to download the file. image
    • Save it under default filename
  2. Go into Dynatrace UI, open the notebooks app from your left menu image
  3. Expand the Notebooks menu image
  4. Click on upload and browse to the notebook JSON file for Metrics where you saved.
  5. Follow the instructions in the notebook to analyze metrics for your hosts.

In this section, you should have completed the following:

✅ Reviewed how Notebooks can be used to colloborate and analyze any date in Grail.

✅ Reviewed a Notebooks on how to analyze log data from Grail and build graphs based on different datatypes.

✅ Reviewed a Notebooks on how to analyze metric and use the forecasting feature.