Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel,
n'hésitez pas à nous contacter.
The list widget displays a list of events and issues, which can come from a variety of sources such as Logs, RUM, or Events. Search and query across sources to narrow down the events you want the widget to highlight and display.
List widget displaying error tracking issues
Setup
Configuration
Choose the type of data to graph. You can create a list widget from Issues, Logs, Audit Trail, Watchdog Alerts, or Events depending on which products are available for your organization.
Set display preferences. On screenboards and notebooks, choose whether your widget has a custom timeframe or uses the global timeframe.
Optional: Give your graph a title (or leave blank for suggested title).
Options
Each type of list widget has its own configuration.
Issues
Sorting by
For issues, you can sort by:
- Number of errors (default)
- First seen
- Impacted sessions
Note: Changing the “Sorting by” selection does not change the columns displayed. If you change your list to sort by impacted sessions, and want to see this on your widget, you must also select or add “Impacted Sessions” to the graph editor.
Logs
Grouping by
For logs, you can group by:
RUM event list options
Sorting by
For RUM, you can sort by:
- Session type
- Time spent
- View count
- Error count
- Action count
- Session frustration count
- Initial view name
- Last view name
Ascending or descending
Events
For Events, you can choose how they’re displayed in the widget:
- Small (title only)
- Large (full event)
Incidents
Sorting by
For incidents, you can sort by:
- Created time
- Severity
- Status
Ascending or descending
API
This widget can be used with the Dashboards API. See the following table for the widget JSON schema definition:
Expand All
Available legend sizes for a widget. Should be one of "0", "2", "4", "8", "16", or "auto".
Request payload used to query items.
Widget column width.
Allowed enum values: auto,compact,full
Updated list stream widget.
clustering_pattern_field_path
Specifies the field for logs pattern clustering. Usable only with logs_pattern_stream.
Compute configuration for the List Stream Widget. Compute can be used only with the logs_transaction_stream (from 1 to 5 items) list stream source.
Aggregation value.
Allowed enum values: count,cardinality,median,pc75,pc90,pc95,pc98,pc99,sum,min,max,avg,earliest,latest,most_frequent
Source from which to query items to display in the stream.
Allowed enum values: logs_stream,audit_stream,ci_pipeline_stream,ci_test_stream,rum_issue_stream,apm_issue_stream,trace_stream,logs_issue_stream,logs_pattern_stream,logs_transaction_stream,event_stream,rum_stream,llm_observability_stream
default: apm_issue_stream
Size to use to display an event.
Allowed enum values: s,l
Group by configuration for the List Stream Widget. Group by can be used only with logs_pattern_stream (up to 4 items) or logs_transaction_stream (one group by item is required) list stream source.
Which column and order to sort by
Facet path for the column
Widget sorting methods.
Allowed enum values: asc,desc
Option for storage location. Feature in Private Beta.
response_format [required]
Widget response format.
Allowed enum values: event_list
Whether or not to display the legend on this widget.
Time setting for the widget.
The available timeframes depend on the widget you are using.
Allowed enum values: 1m,5m,10m,15m,30m,1h,4h,1d,2d,1w,1mo,3mo,6mo,week_to_date,month_to_date,1y,alert
Used for arbitrary live span times, such as 17 minutes or 6 hours.
Type "live" denotes a live span in the new format.
Allowed enum values: live
Unit of the time span.
Allowed enum values: minute,hour,day,week,month,year
Used for fixed span times, such as 'March 1 to March 7'.
Start time in seconds since epoch.
End time in seconds since epoch.
Type "fixed" denotes a fixed span.
Allowed enum values: fixed
How to align the text on the widget.
Allowed enum values: center,left,right
Type of the list stream widget.
Allowed enum values: list_stream
default: list_stream
{
"legend_size": "string",
"requests": [
{
"columns": [
{
"field": "content",
"width": "compact"
}
],
"query": {
"clustering_pattern_field_path": "message",
"compute": [
{
"aggregation": "count",
"facet": "resource_name"
}
],
"data_source": "apm_issue_stream",
"event_size": "string",
"group_by": [
{
"facet": "resource_name"
}
],
"indexes": [],
"query_string": "@service:app",
"sort": {
"column": "",
"order": "desc"
},
"storage": "indexes"
},
"response_format": "event_list"
}
],
"show_legend": false,
"time": {
"live_span": "5m"
},
"title": "string",
"title_align": "string",
"title_size": "string",
"type": "list_stream"
}
Further Reading
Documentation, liens et articles supplémentaires utiles: