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: _tuning-your-cluster/availability-and-recovery/workload-management/autotagging.md
+32-31Lines changed: 32 additions & 31 deletions
Original file line number
Diff line number
Diff line change
@@ -6,28 +6,30 @@ parent: Workload management
6
6
grand_parent: Availability and recovery
7
7
---
8
8
9
-
# Rule-based Auto-tagging in OpenSearch
9
+
# Rule-based auto-tagging in OpenSearch
10
+
In this guide we will walk you through how to use the rule based auto-tagging. Auto-tagging enriches the request with the target label which a consuming feature (such as workload-management) consumes.
11
+
## What is rule-based auto-tagging?
10
12
11
-
## What is Rule-based Auto-tagging?
13
+
Rule-based Auto-tagging automatically assigns workload groups to incoming search requests in OpenSearch. This feature helps you implement automated feature policies without manual intervention.
14
+
throughout this guide I will take a sample feature which uses rule framework for auto-tagging i,e; workload-management
12
15
13
-
Rule-based Auto-tagging automatically assigns workload groups to incoming search requests in OpenSearch. This feature helps you implement automated workload management policies without manual intervention.
14
-
15
-
## Key Concepts
16
+
## Key concepts
16
17
17
18
-**Rule**: Defines criteria for tagging search requests
18
-
-**Index Pattern**: Prefix-based pattern matching target indices (e.g., "logs-*")
19
-
-**Workload Group**: Label assigned to requests for workload management
19
+
-**Attributes**: Prefix-based pattern matching for the given attribute value (e.g., attribute could be index pattern, security context values such as username, role, group etc.)
20
+
-**Label**: Label assigned to requests for the client feature (e,g; workload management feature will use 'workload_group' as label)
20
21
-**Auto-tagging**: Process of assigning workload groups based on rules
21
22
-**Pattern Specificity**: More specific patterns take precedence e,g; `logs-prod-2025` will match `logs-prod-*` pattern over `logs-*`
22
23
23
-
## How to Set Up Rule-based Auto-tagging
24
+
## How to set up rule-based auto-tagging
25
+
Now we will learn about how can we set up the auto-tagging in opensearch.
24
26
25
-
### Before You Begin
27
+
### Before you begin
26
28
27
-
- Ensure you have an OpenSearch cluster with the workload-management plugin installed
29
+
- Ensure you have an OpenSearch cluster with the feature (e,g; workload-management uses this framework for autotagging) plugin installed
28
30
- Verify you have administrative access to the cluster
0 commit comments