Skip to content

Commit

Permalink
Fix stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexRuiz7 committed Sep 13, 2024
1 parent f07f0b9 commit dc2395f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 122 deletions.
114 changes: 0 additions & 114 deletions ecs/alerts/event-generator/event_generator.py

This file was deleted.

8 changes: 0 additions & 8 deletions ecs/generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,14 +57,6 @@ generate_mappings() {
echo "Removing scaling_factor lines"
find "$OUT_DIR" -type f -exec sed -i '/scaling_factor/d' {} \;

# Replace "constant_keyword" type (not supported by OpenSearch) with "keyword"
echo "Replacing \"constant_keyword\" type with \"keyword\""
find "$OUT_DIR" -type f -exec sed -i 's/constant_keyword/keyword/g' {} \;

# Replace "flattened" type (not supported by OpenSearch) with "flat_object"
echo "Replacing \"flattened\" type with \"flat_object\""
find "$OUT_DIR" -type f -exec sed -i 's/flattened/flat_object/g' {} \;

local IN_FILE="$OUT_DIR/generated/elasticsearch/legacy/template.json"
local OUT_FILE="$OUT_DIR/generated/elasticsearch/legacy/template-tmp.json"

Expand Down

0 comments on commit dc2395f

Please sign in to comment.