Torch Log Service
Field name | Field type | Required | Field description |
Field name | Field type | Required | Field description |
DashboardId | string | Yes | The dashboard’s unique identifier. It is used to identify a specific dashboard. |
DashboardName | string | Yes | The name of the dashboard. It displayed as the dashboard title in the interface. |
Description | string | No | Custom dashboard description. It is used to explain the purpose or content of the dashboard. |
Filters | Yes | Filter configuration array. It includes filters such as dashboard-level conditions. | |
ChartPanels | Yes | Chart panel array. It includes configuration details for all chart components in the dashboard. | |
MetaInfo | Yes | Dashboard metadata. It includes version and layout configurations. |
Field name | Field type | Required | Field description |
Field name | Field type | Required | Field description |
DynamicSearch | No | Dynamic search configuration. It used for fetching filter options dynamically. | |
FilterKey | string | No | Key name of the filter field, specifies the log field to filter. |
FilterKeyAlias | string | No | Alias for the filter field. It is used as the display name on the interface. |
FilterLogic | FilterLogic | No | Filtering logic.
|
FilterName | string | Yes | Display name of the filter. |
FilterType | FilterType | Yes | Type of filter.
|
MultiChoice | boolean | No | Supports multiple selection. |
StaticSearch | No | Optional configuration for static search; a predefined list of options. | |
TopicFilter | No | Topic filter configuration. It is used as a parameter for the data source filter. |
Field name | Field type | Yes | Field description |
Field name | Field type | Yes | Field description |
EndTime | string | Yes | Specify the query end time. |
Query | string | Yes | Query statement. |
SearchOnTime | boolean | No | Query based on time. |
StartTime | string | Yes | Query start time. |
TopicId | string | Yes | Topic ID. |
Field name | Field type | Required | Field description |
Field name | Field type | Required | Field description |
ChartId | string | Yes | The unique identifier of the chart. |
ChartName | string | Yes | The name of the chart. |
ChartType | string | Yes | Chart types, such as bar charts, line charts, and others. |
Description | string | No | Chart description information. |
SearchInfo | No | Search configuration information for charts. | |
Display | Yes | Chart display configuration. It includes version, layout, settings, and other information. |
Field name | Field type | Required | Field description |
Field name | Field type | Required | Field description |
version | number | Yes | Displays configuration version number. |
layout | Yes | Layout configuration | |
setup | Record<string, any> | No | Configuration settings of chart; specified configuration parameters of storage charts. |
fieldConfig | Record<string, any> | No | Field settings. It defines how chart fields are displayed. |
actions | Record<string, any> | No | Action settings. It defines chart drill-down event. |
hideInRow | boolean | No | Hide in row group. It used to control the display status of charts when the group collapsed. |
transformations | No | Data conversion configuration. It defines processing and transformation rules for raw data. |
Field name | Field type | Required | Field description |
Field name | Field type | Required | Field description |
version | number | Yes | Conversion configuration version number. The current version is version 1. |
transformations | Yes | Transformation rule array. The conversion operations are performed in order. |
Field name | Field type | Required | Field description |
Field name | Field type | Required | Field description |
type | string | Yes | Conversion type, such as "GroupingToMatrix" or "Fallback". |
disabled | boolean | Yes | Disable this conversion rule? |
Field name | Field type | Required | Field description |
Field name | Field type | Required | Field description |
w | number | Yes | Layout width. It is calculated in grid units. |
h | number | Yes | Layout height. It is measured in grid units. |
x | number | Yes | Layout horizontal position. It is the grid units from the left. |
y | number | Yes | Vertical grid position. It is the grid units from the top. |
Field name | Field type | Required | Field description |
Field name | Field type | Required | Field description |
GridVersion | number | Yes | Grid version number. It used for layout system version control and compatibility. |
Field name | Field type | Required | Field description |
Field name | Field type | Required | Field description |
EndTime | string | Yes | Query end time. Supports relative time format (such as now) and absolute time. |
Query | string | No | Query statement. It is SQL or query statement. |
SearchOnTime | boolean | No | Specifies query based on time. It determines the time range for query. |
SearchTopicInfos | No | Array of topic information for searching; supports queries across multiple data sources. | |
StartTime | string | Yes | Query start time. Both relative time and absolute time formats are supported. |
TopicId | string | No | Log topic ID. |
Field name | Field type | Required | Field description |
Field name | Field type | Required | Field description |
DataSourceName | string | No | Data source name. It is used to distinguish different data sources. |
Query | string | Yes | Query statement. It is the query statement for a specific topic. |
TopicId | string | Yes | Log topic ID. |
Field name | Field type | Required | Field description |
Field name | Field type | Required | Field description |
Alias | string | No | Option alias. The name displayed in the interface. |
Name | string | Yes | The name of option; the actual value. |
Selected | boolean | Yes | Indicates whether the option is selected by default. |
Field name | Field type | Required | Field description |
Field name | Field type | Required | Field description |
Regex | string | No | The topic pattern of regex matches. It is employed when TopicType is REGEX. |
Selected | string | No | Default selected topic ID. If no ID is entered, it is left empty. |
TopicType | TopicType | Yes | Log topic type. It determines how to select log topics.
|
Topics | string | No | Specified topic ID list. It is used when TopicType is TOPICS. |
Field value | Field description |
Field value | Field description |
SingleValue | Single value chart |
Pie | Pie chart |
Table | Table |
Line | Line chart |
Histogram | Bar chart |
ChinaMap | The map of China. |
WorldMap | World map |
Row | Row layout |
CrossTable | Crosstab |
Statistical | Statistical charts |
Timeline | Timeline chart |
HistogramV2 | Bar chart (V2) |
HeatMap | Heat map |
Progress | Progress chart |
TreeMap | Tree chart |
Gauge | Dashboard |
Flow | Flowchart |
Radar | Radar chart |
Text | Text |
Funnel | Funnel chart |
Scatter | Scatter diagram |
Sankey | Sankey diagram |
Topology | Topology map |
Fallback | Fallback chart (for exceptions) |
WordCloud | Word cloud chart |