Update hostrisk mappings (#138139)

* update dev tool scripts

* update dev tool scripts
This commit is contained in:
Angela Chuang 2022-08-04 17:41:19 +01:00 committed by GitHub
parent a18603d33a
commit 8193b14e82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 4 deletions

View file

@ -83,7 +83,12 @@ PUT ml_host_risk_score_{{space_name}}
"type": "date"
},
"risk": {
"type": "keyword"
"type": "text",
"fields": {
"keyword": {
"type": "keyword"
}
}
},
"risk_stats": {
"properties": {
@ -205,7 +210,12 @@ PUT ml_host_risk_score_latest_{{space_name}}
"type": "date"
},
"risk": {
"type": "keyword"
"type": "text",
"fields": {
"keyword": {
"type": "keyword"
}
}
},
"risk_stats": {
"properties": {

View file

@ -86,7 +86,12 @@ PUT ml_host_risk_score_default
\\"type\\": \\"date\\"
},
\\"risk\\": {
\\"type\\": \\"keyword\\"
\\"type\\": \\"text\\",
\\"fields\\": {
\\"keyword\\": {
\\"type\\": \\"keyword\\"
}
}
},
\\"risk_stats\\": {
\\"properties\\": {
@ -208,7 +213,12 @@ PUT ml_host_risk_score_latest_default
\\"type\\": \\"date\\"
},
\\"risk\\": {
\\"type\\": \\"keyword\\"
\\"type\\": \\"text\\",
\\"fields\\": {
\\"keyword\\": {
\\"type\\": \\"keyword\\"
}
}
},
\\"risk_stats\\": {
\\"properties\\": {