add ss field for linux, that can be used in auto build pkg
Signed-off-by: Wang Yong <wangyong0117(a)qq.com>
---
sbin/es-jobs-mapping.sh | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/sbin/es-jobs-mapping.sh b/sbin/es-jobs-mapping.sh
index 8e19662..52517b9 100755
--- a/sbin/es-jobs-mapping.sh
+++ b/sbin/es-jobs-mapping.sh
@@ -49,6 +49,15 @@ else
}
}
},
+ {
+ "ss": {
+ "path_match": "ss.*",
+ "mapping": {
+ "type": "keyword",
+ "enabled": true
+ }
+ }
+ },
{
"default": {
"match": "*",
@@ -62,6 +71,10 @@ else
}
],
"properties": {
+ "ss": {
+ "dynamic": true,
+ "properties": {}
+ },
"pp": {
"dynamic": true,
"properties": {}
--
2.23.0