1. Home
  2. Documentation
  3. Analytics
  4. General trace

General trace

Search large volumes of data, explore traces in detail, and save results for visualizations in Analytics.
IMPORTANT
  • Data generated prior to the migration to the new Analytics will remain available for up to 90 days starting from their generation. You can access the previous interface from the Analytics main screen.

  • Basic call information (traces index) is kept for up to 90 days. Complete information such as headers, body and trace steps (Calls index) is kept for up to 7 days or according to your contracted plan.

TIP

With General trace, you can explore large amounts of data and examine them closely. You can choose the time intervals for your queries and save your searches. The results can be used to create visualizations for more clear comprehension.

Looking at the graphs and document details, you may find answers to questions like: what were the most recent events? Which process is taking longer?

The General trace screen has four main parts:

  • A The horizontal bar, located at the top of the screen, hosts the area destined to perform searches;
  • B The vertical bar, located on the left side of the screen, displays a field list and a drop-down menu with the index pattern used;
  • C The central area is intended for the display of search results.
  • D The menu located in the upper right corner of the screen is specific to this General trace screen.

Split the General trace screen into four parts A, B, C and D

NOTE

The index patterns Metrics and Calls, from previous versions, have been replaced and updated, respectively. See the fields mapping for the Calls and Traces indexes.

See how to access General Trace in the video below:

Query

You can retrieve a saved search expression by clicking the floppy disk icon. The same icon is used to save the current expression.

The search can be performed using Lucene or DQL (OpenSearch Dashboard Query Language). Click Lucene or DQL to select which syntax you prefer to use.

Illustration of the two possibilities of windows that open to choose between Lucene and DQL

As examples of accepted search terms: keywords, key values, conjunctions AND, OR, NOT, etc.

For example, the query below retrieves all status codes between 400 and 499 with php extension:

NOTE

Select Lucene or DQL and use the corresponding syntax. For a query written in Lucene to be interpreted correctly, Lucene must be selected. The same is true for DQL.

Time range

To set a time range, click the calendar icon. The default is set at 15 minutes.

Select one of the options:

  • Quick select: set a time range by determining a numerical value and selecting which range (last or next) and time unit (seconds, minutes, hours, days, weeks, months or years).

    Scheme showing two menu options for quick selection

  • Commonly used: select from commonly used options such as Today, Last 15 minutes, etc.

  • Recently used: use recently selected ranges.

  • Refresh every: specify the refresh frequency in seconds, minutes, or hours.

IMPORTANT

The minimum recommended time for refreshing (refresh every) Dashboards is 30 seconds.

Another option is to determine specific start and end values. To do this, click Show dates. Then select Absolute, Relative or Now and provide the corresponding information.

Animation showing Absolute, Relative and Now options

See more details about the search bar and filter creation in the video below:

NOTE

For field values to be displayed in search autocomplete, they must reach a minimum volume of requests. If a value is changed, the new value will only start appearing in autocomplete after reaching this minimum volume again.

For example, if an API name is changed, the new name will only be suggested in autocomplete after a sufficient number of searches using this new value.

Example of autocomplete in the search bar

[B] Sidebar

Index pattern

The index pattern defines which indexes you want to analyze, that is, from which indexes the data will be retrieved.

It is common to store data in different indexes. In General Trace, the data is stored in two indexes:

Trace Index

It provides basic call information, which is kept for up to 90 days.

Calls Index

In addition to basic call information, it also contains data from trace headers and payload (request and response body, if any). This information is kept for a maximum of 7 days or as per the contracted storage plan.

TIP

To create queries or charts using information from the trace's headers or its payload, use the Calls Index. Please note that the data retention period is shorter in the Calls index. See the table below.

Data Retention

Index Pattern
Retention Period
Calls7 days or according to the contracted storage plan (up to 100 GB by default)
Traces90 days

[C] Search Result

At the top of the search result display area there is a histogram, which displays data ingestion over time. The histogram visually summarizes the data, making it easy to compare results. You can explore the chart to see more details.

Just below the histogram you will find the documents. By default, they are ordered from newest to oldest. You can change this ordering by clicking the column header.

To see more details, click the arrow to the left of the date. All the fields and values will be displayed.

Animation showing how to expand document details

Table tab

With the document expanded, go to the Table tab and hover the cursor over any field. The following options will be displayed:

Search result and options that appear when positioning the cursor over a field

  • Filter for value Filter for value: adds the value of that field as search filter;
  • Filter out value Filter out value: removes the value from the search filter;
  • Toggle column in a table Toggle column in a table: toggles the column of results, including that field as a column;
  • Filter for field present Filter for field present: adds the field to the search filter.

Similarly, you can add or remove a date from the search result by clicking the options that appear when hovering the cursor on the desired date:

Options to add or remove date from search

See more details about the organization and filters for your query results in the following video.

List of fields

This list displays all fields that appear in your search result.

You may search for a specific field by typing its name in Search field names.

By clicking the field name in the list, you can see the most common values for that field.

To add a field to the search result, click the plus icon that you see when positioning the cursor over the field.

See more details about the sidebar fields in the following video.

NOTE

For users who have upgraded from version 4.12.x.x or earlier to the current version: see the mapping of the fields that have changed.

Updating the Fields (Refresh index pattern)

For new dynamic fields created by the Additional Info interceptor, if they haven't been added to your index pattern, you can update the fields right in the General trace interface.

Follow the steps below to refresh the index pattern via the interface:

Step 1

Click Refresh index pattern.

Refresh index pattern button on the General trace interface

Step 2

Confirm the action by clicking REFRESH FIELDS.

Confirmation window to update the index pattern fields

Step 3

Wait a few seconds while the browser page is updated.

Step 4

Check the new fields in the list on the left; they become available immediately for filters, aggregations, and visualizations.

NOTE
  • After the refresh, it is not necessary to reconfigure existing queries; just update the page to see the new fields.
  • Only the index pattern of the current account is updated. If you have more than one account, you will need to repeat the process for each of them.

Trace Tab

AI Error Summary

General Trace now features artificial intelligence to support failure analysis. With automatic summaries of errors found in the trace, it's easier to understand what happened and much faster to resolve the issue.

Follow the steps below to automatically generate, with Artificial Intelligence, a summary of the errors found.

Step 1

On the Analytics home screen, click the General trace card.

Step 2

In the search results, click one of the documents to expand it and click the Trace tab.

Step 3

Click the Summarize with AI button.

Trace tab with emphasis on the Summarize with AI button

Step 4

Wait a few seconds while the response is generated and check the summary for the reason the trace failed. You can leave feedback by clicking the thumbs up or thumbs down buttons.

Trace tab with emphasis on the AI-generated summary and feedback buttons

IMPORTANT

To access this feature, ensure the user is associated with a role that has the following permissions:

  • Read Quotas
  • Generate Trace Summary
NOTE
  • The summary is only generated for traces with errors (status code between 400 and 599).

[D] Actions menu

In the upper right corner of the screen, the following actions are available:

  • New: performs a new search;
  • Save: saves the search;
  • Open: manages saved searches. Here you can delete or export searches. See details below;
  • Share: shares a search result;
  • Inspect: displays details of the search performed, such as the elapsed time to run the search.
NOTE

To share the search result as an object, first save that search. You must have access to view the shared result.

By clicking on Open in the actions menu, you have access to the Manage searches button. This option allows you to manage searches that you have saved in General Trace, Visualize and Dashboards.

Follow the steps below to delete a saved search:

Step 1

Click Open, in the actions menu, located in the upper right corner of the screen.

Step 2

Click the Manage searches button in the lower right corner of the screen.

Step 3

Find the search you want to delete. Find the name in the list or use the search bar.

Step 4

Select the search. Once the search is selected, the Delete button is enabled and you can delete the search.

Step 5

Click the Delete button to confirm.

Follow the steps below to export a saved search:

Step 1

Click Open, in the actions menu, located in the upper right corner of the screen.

Step 2

Click the Manage searches button in the lower right corner of the screen.

Step 3

Find the search you want to export. Find the name in the list or use the search bar.

Step 4

Select the search. Once the search is selected, the Export button is enabled so you can export the search.

Step 5

To include related objects, select the "Include related objects" option.

Step 6

Click the Export button, select the folder where you want to store the search and click to save.

See more details about the menu in the following video:

How happy are you with this page?

We use cookies to enhance your experience on our site. By continuing to browse, you agree to our use of cookies.Learn more