Skip to content

Commit 1f8f72f

Browse files
updated the variables doc
1 parent c1306c7 commit 1f8f72f

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

docs/user-guide/dashboards/variables/variables-in-openobserve.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,10 @@ To apply the variable to a panle:
7070
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.
7171
![Variable in Dashboard](../../../images/query-variable-results.png)
7272

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
7477

7578
The **Default max record size** limits how many records appear in the dropdown list.
7679

@@ -83,10 +86,10 @@ This allows users to select valid values that may not be included in the default
8386

8487
Default max record size is 10.
8588

86-
## Filters
89+
### Filters
8790
You can optionally configure [variable dependencies](variable-dependencies.md) using the **Filters** option.
8891

89-
## Default Select
92+
### Default Select
9093

9194
**Default Select** controls what values are selected automatically when the dashboard loads.
9295

@@ -99,11 +102,11 @@ Available options:
99102
To configure this select one of the options under **By Default Select** when adding or editing a variable.
100103

101104

102-
## Hide on Dashboard
105+
### Hide on Dashboard
103106

104107
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.
105108

106-
## Escape Single Quotes
109+
### Escape Single Quotes
107110

108111
If enabled, single quotes in user input will be escaped automatically.
109112

@@ -114,7 +117,7 @@ If enabled, single quotes in user input will be escaped automatically.
114117

115118
This prevents syntax errors in SQL queries that include user inputs with special characters.
116119

117-
## Single-Select and Multi-Select
120+
### Single-Select and Multi-Select
118121

119122
When creating variables, you can enable support for multiple selections.
120123

@@ -123,7 +126,10 @@ When creating variables, you can enable support for multiple selections.
123126

124127
To enable multi-select, toggle the **Allow multiple selection** switch when configuring the variable.
125128

126-
## Custom Values
129+
130+
## Variable Input Behavior
131+
132+
### Custom Values
127133

128134
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.
129135

@@ -133,7 +139,7 @@ You can enter custom values manually when the desired option is not available in
133139
!!! Note
134140
If a custom value is entered that does not exist in the data, dashboard panels will display no results.
135141

136-
## Type-Ahead
142+
### Type-Ahead
137143

138144
The type-ahead input feature allows users to search for a value by typing in the dropdown.
139145

0 commit comments

Comments
 (0)