This is an earlier version of the OpenSearch documentation. For the latest version, see the current documentation. For information about OpenSearch version maintenance, see Release Schedule and Maintenance Policy.
You can use application analytics to create custom observability applications to view the availability status of your systems, where you can combine log events with trace and metric data into a single view of overall system health. This lets you quickly pivot between logs, traces, and metrics to dig into the source of any issues.
Get started with application analytics
To get started, choose Observability in OpenSearch Dashboards, and then choose Application analytics.
Create an application
- Choose Create application.
- Enter a name for your application and optionally add a description.
- Do at least one of the following:
- Use PPL to specify the base query.
You can’t change the base query after the application is created.
- Select services & entities from the dropdown or the service map.
- Select trace groups from the dropdown or the table.
4. Choose Create.
Create a visualization
- Choose the Log Events tab.
- Use PPL to build upon your base query.
- Choose the Visualizations tab to see your visualizations.
- Expand the Save dropdown menu, enter a name for your visualization, then choose Save.
To see your visualizations, choose the Panel tab.
Availability is the status of your application determined by availability levels set on a time series metric.
To create an availability level, you must configure the following:
- color: The color of the availability badge on the home page.
- name: The text in the availability badge on the home page.
- expression: Comparison operator to determine the availability.
- value: Value to use when calculating availability.
By default, application analytics shows results from the last 24 hours of your data. To see data from a different time frame, use the date and time selector.
Time series metric
A time series metric is any visualization that has a query that spans over a timestamp and is a line chart. You can then use PPL to define arbitrary conditions on your logs to create a visualization over time.
source = <index_name> | ... | ... | stats ... by span(<timestamp_field>, 1h)
Choose Line in visualization configurations to create a time series metric.