summaryrefslogtreecommitdiff
path: root/src/es5/sfive-mapping.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/es5/sfive-mapping.json')
-rw-r--r--src/es5/sfive-mapping.json56
1 files changed, 56 insertions, 0 deletions
diff --git a/src/es5/sfive-mapping.json b/src/es5/sfive-mapping.json
new file mode 100644
index 0000000..6ed1772
--- /dev/null
+++ b/src/es5/sfive-mapping.json
@@ -0,0 +1,56 @@
+{
+ "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"
+ }
+ }
+ }
+ }
+}