-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
NO-ENDPOINT: Updated OpenSearch Schema (#139)
Updated OpenSearch schema to correct data stream name for the new format and added schema definition of error indexes. Without the error index definition, OpenSearch defaults to using 10 shards for the error index which is very wasteful, with 5 primary and 5 replicas.
- Loading branch information
1 parent
07173eb
commit 3c18ec4
Showing
2 changed files
with
24 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
"index_patterns": [ | ||
"*_error" | ||
], | ||
"template": { | ||
"settings": { | ||
"number_of_shards": 1, | ||
"number_of_replicas": 0 | ||
}, | ||
"mappings": { | ||
"dynamic": false, | ||
"properties": { | ||
"client_id": { | ||
"type": "keyword" | ||
}, | ||
"data": { | ||
"type": "text" | ||
} | ||
} | ||
} | ||
} | ||
} |