summaryrefslogtreecommitdiff
path: root/src/es5/sfive-init.json
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2014-11-27 21:50:13 +0100
committerChristian Pointner <equinox@spreadspace.org>2014-11-27 21:50:13 +0100
commitdc8bc8200bb7382abdaea06551d36386c7996ee0 (patch)
treeb12b6d3e3b9cc8c05d38bab2c4ecd4842bab66b6 /src/es5/sfive-init.json
parentfixed usage output (diff)
creating index with keyword tokenizer
Diffstat (limited to 'src/es5/sfive-init.json')
-rw-r--r--src/es5/sfive-init.json67
1 files changed, 67 insertions, 0 deletions
diff --git a/src/es5/sfive-init.json b/src/es5/sfive-init.json
new file mode 100644
index 0000000..75e284e
--- /dev/null
+++ b/src/es5/sfive-init.json
@@ -0,0 +1,67 @@
+{
+ "settings": {
+ "index" : {
+ "analysis" : {
+ "analyzer" : {
+ "default" : {
+ "type" : "keyword"
+ }
+ }
+ }
+ }
+ },
+ "mappings" : {
+ "dataupdate" : {
+ "properties" : {
+ "source-id": { "type": "string" },
+ "SourceHubDataUpdateId" : {
+ "type" : "long"
+ },
+ "SourceHubUuid" : {
+ "type" : "string"
+ },
+ "data" : {
+ "properties" : {
+ "bytes-received" : {
+ "type" : "long"
+ },
+ "bytes-sent" : {
+ "type" : "long"
+ },
+ "client-count" : {
+ "type" : "long"
+ }
+ }
+ },
+ "duration-ms" : {
+ "type" : "long"
+ },
+ "hostname" : {
+ "type" : "string",
+ "copy_to": "source-id"
+ },
+ "start-time" : {
+ "type" : "date",
+ "format" : "dateOptionalTime"
+ },
+ "streamer-id" : {
+ "properties" : {
+ "content-id" : {
+ "type" : "string",
+ "copy_to": "source-id"
+ },
+ "format" : {
+ "type" : "string"
+ },
+ "quality" : {
+ "type" : "string"
+ }
+ }
+ },
+ "version" : {
+ "type" : "long"
+ }
+ }
+ }
+ }
+}