로그 스트림은 정의된 쿼리와 일치하는 로그 흐름을 표시합니다.
구성
설정
- 검색 쿼리를 입력하여 로그 스트림을 필터링합니다.
- 열을 업데이트하여 패싯 및 측정 값을 표시하세요.
- 그래프에 타이틀을 지정하거나, 제안된 타이틀 상자를 공란으로 두세요.
API
이 위젯은 Dashboards API와 함께 사용할 수 있습니다. 자세한 내용은 대시보드 API를 참조하세요.
로그 스트림 위젯의 위젯 JSON 스키마 정의는 다음과 같습니다.
Expand All
Which columns to display on the widget.
An array of index names to query in the stream. Use [] to query all indexes at once.
DEPRECATED: ID of the log set to use.
Amount of log lines to display
Allowed enum values: inline,expanded-md,expanded-lg
Query to filter the log stream with.
Whether to show the date column or not
Whether to show the message column or not
Which column and order to sort by
Facet path for the column
Widget sorting methods.
Allowed enum values: asc,desc
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
How to align the text on the widget.
Allowed enum values: center,left,right
Type of the log stream widget.
Allowed enum values: log_stream
default: log_stream
{
"columns": [],
"indexes": [
"days-3",
"days-7"
],
"logset": "string",
"message_display": "string",
"query": "string",
"show_date_column": false,
"show_message_column": false,
"sort": {
"column": "",
"order": "desc"
},
"time": {
"live_span": "5m"
},
"title": "string",
"title_align": "string",
"title_size": "string",
"type": "log_stream"
}
참고 자료
Additional helpful documentation, links, and articles: