You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/user-guide/dashboards/variables/variables-in-openobserve.md
+14-8Lines changed: 14 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -70,7 +70,10 @@ To apply the variable to a panle:
70
70
The panel is now dynamically filtered using the **Pod** variable. When users select a value from the **Pod** dropdown on the dashboard, the panel updates to display data for that pod only.
71
71

72
72
73
-
## Default Max Record Size
73
+
## Advanced Configuration
74
+
After creating and applying a variable, you can further refine its behavior using advanced settings.
75
+
76
+
### Default Max Record Size
74
77
75
78
The **Default max record size** limits how many records appear in the dropdown list.
76
79
@@ -83,10 +86,10 @@ This allows users to select valid values that may not be included in the default
83
86
84
87
Default max record size is 10.
85
88
86
-
## Filters
89
+
###Filters
87
90
You can optionally configure [variable dependencies](variable-dependencies.md) using the **Filters** option.
88
91
89
-
## Default Select
92
+
###Default Select
90
93
91
94
**Default Select** controls what values are selected automatically when the dashboard loads.
92
95
@@ -99,11 +102,11 @@ Available options:
99
102
To configure this select one of the options under **By Default Select** when adding or editing a variable.
100
103
101
104
102
-
## Hide on Dashboard
105
+
###Hide on Dashboard
103
106
104
107
If enabled, the variable dropdown will not be shown in the dashboard interface. This is useful for variables that are meant to work in the background or should not be modified by users.
105
108
106
-
## Escape Single Quotes
109
+
###Escape Single Quotes
107
110
108
111
If enabled, single quotes in user input will be escaped automatically.
109
112
@@ -114,7 +117,7 @@ If enabled, single quotes in user input will be escaped automatically.
114
117
115
118
This prevents syntax errors in SQL queries that include user inputs with special characters.
116
119
117
-
## Single-Select and Multi-Select
120
+
###Single-Select and Multi-Select
118
121
119
122
When creating variables, you can enable support for multiple selections.
120
123
@@ -123,7 +126,10 @@ When creating variables, you can enable support for multiple selections.
123
126
124
127
To enable multi-select, toggle the **Allow multiple selection** switch when configuring the variable.
125
128
126
-
## Custom Values
129
+
130
+
## Variable Input Behavior
131
+
132
+
### Custom Values
127
133
128
134
You can enter custom values manually when the desired option is not available in the variable dropdown. These values work if they exist in the underlying data.
129
135
@@ -133,7 +139,7 @@ You can enter custom values manually when the desired option is not available in
133
139
!!! Note
134
140
If a custom value is entered that does not exist in the data, dashboard panels will display no results.
135
141
136
-
## Type-Ahead
142
+
###Type-Ahead
137
143
138
144
The type-ahead input feature allows users to search for a value by typing in the dropdown.
0 commit comments