Advanced Linkage Configuration¶
On the Explorer page, you can configure jump links for individual fields, allowing you to directly open the target page from the current field, and pass parameters through variables for linkage analysis.
Configuration Entry¶
Start Configuration¶
Enter the Advanced Linkage Configuration window > Field List > Add a field, such as host
, and click ✅ after successful input.
For fields that have already been created, you can continue to configure links for them:
- Define the link name;
-
Select the jump opening method for the subsequent link, including:
- New page
- Current page
- Slide page
-
Add link address;
- Confirm.
Link Address¶
The link address generally consists of two parts:
- Main link path
- Additional variables
Link Path¶
The system provides some preset link paths, and you can directly select the data type you want to associate.
Associated Data Type | Preset Link |
---|---|
Logs | /logIndi/log/all |
Tracing | /tracing/link/all |
Error Tracking | /tracing/errorTrack |
Profile | /tracing/profile |
Containers | /objectadmin/docker_containers?routerTabActive=ObjectadminDocker |
Pod | /objectadmin/kubelet_pod?routerTabActive=ObjectadminDocker |
Processes | /objectadmin/host_processes?routerTabActive=ObjectadminProcesses |
Dashboards | /scene/dashboard/dashboardDetail |
Based on the selected preset link path, the system provides corresponding parameters.
Parameter |
Description |
---|---|
time |
Time filter, can be used in Explorer, Dashboards Link format: &time=#{TR} &time=15m &time=1675247688602,1676457288602 |
variable |
View variable query, generally used in dashboard views Link format: &variable={"host":"guance","service":"kodo"} |
dashboard_id |
Dashboard ID, can be used to specify a dashboard/built-in view Link format: &dashboard_id=dsbd_069b2b90f562123456789123456789 |
name |
Name, can be used to specify dashboard name/note name/custom Explorer name, etc. Link format: &name=Linux Host Monitoring View |
query |
Tag filter or text search, generally used for data filtering in Explorer. Supports combining tag filters and text searches through space , AND , OR |
cols |
Explorer display columns, generally used to specify the display columns of the Explorer. Displays system default when not specified Link format: &cols=time,host,service,message |
w |
Workspace ID, needs to be specified when jumping across workspaces Link format: &w=wksp_40a73c6c2b024301a0b1d139e1234567 |
Template Variables¶
Field-level link configuration includes two types of variables:
- Time variables
Variable |
Description |
---|---|
#{TR} |
The current Explorer query time range. For example, if the query time is last 1 hour , then the template variable &time=#{TR} is equivalent to &time=1h |
#{startTime} |
When the time is not locked, it is the start time of the time widget in the upper right corner of the Explorer; when locked, it is the start time of the locked time |
#{endTime} |
When the time is not locked, it is the end time of the time widget in the upper right corner of the Explorer; when locked, it is the end time of the locked time |
- Tag variables
#{field_name}
: Used to replace the target field value of the query. For example, #{host}
: Get the host
field value of the selected data.
Apply Configuration¶
After completing the jump link configuration for the field, return to the Explorer list, and click under the host
field to achieve the jump. The target page after the jump will display all the information you configured in the link address.