Code Review
/
salt-formulas
/
elasticsearch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add Grafana dashboard with prometheus datasource
[salt-formulas/elasticsearch.git]
/
elasticsearch
/
files
/
es_template_notification.json
diff --git
a/elasticsearch/files/es_template_notification.json
b/elasticsearch/files/es_template_notification.json
index e19c9077899d946e4b2284980d6ccf660e5bb1c2..1a74f3e89718dc29945373f2da1ceea89f9c5c2c 100644
(file)
--- a/
elasticsearch/files/es_template_notification.json
+++ b/
elasticsearch/files/es_template_notification.json
@@
-13,10
+13,6
@@
"index": "not_analyzed",
"type": "string"
},
"index": "not_analyzed",
"type": "string"
},
- "programname": {
- "index": "not_analyzed",
- "type": "string"
- },
"Hostname": {
"index": "not_analyzed",
"type": "string"
"Hostname": {
"index": "not_analyzed",
"type": "string"
@@
-33,10
+29,6
@@
"index": "not_analyzed",
"type": "long"
},
"index": "not_analyzed",
"type": "long"
},
- "syslogfacility": {
- "index": "not_analyzed",
- "type": "long"
- },
"Type": {
"index": "not_analyzed",
"type": "string"
"Type": {
"index": "not_analyzed",
"type": "string"
@@
-49,19
+41,7
@@
"index": "not_analyzed",
"type": "string"
},
"index": "not_analyzed",
"type": "string"
},
- "openstack_role": {
- "type": "string",
- "analyzer": "ost_roles"
- },
- "openstack_region": {
- "index": "not_analyzed",
- "type": "string"
- },
- "openstack_release": {
- "index": "not_analyzed",
- "type": "string"
- },
- "deployment_id": {
+ "region": {
"index": "not_analyzed",
"type": "string"
},
"index": "not_analyzed",
"type": "string"
},
@@
-84,26
+64,13
@@
"created_at": {
"type": "date",
"format": "dateOptionalTime"
"created_at": {
"type": "date",
"format": "dateOptionalTime"
+ },
+ "publisher": {
+ "index": "not_analyzed",
+ "type": "string"
}
}
}
},
}
}
}
},
- "settings": {
- "analysis": {
- "tokenizer": {
- "comma" : {
- "type": "pattern",
- "pattern": ","
- }
- },
- "analyzer": {
- "ost_roles": {
- "type": "custom",
- "tokenizer": "comma",
- "filter": ["lowercase"]
- }
- }
- }
- },
"template": "notification-*"
}
"template": "notification-*"
}