From a4447f97e23f0c98c114c67339525a928691955f Mon Sep 17 00:00:00 2001 From: Rich Megginson Date: Tue, 28 Feb 2017 17:09:16 -0700 Subject: [PATCH] Consider removing generated files from the repo #24 https://github.com/ViaQ/elasticsearch-templates/issues/24 instead, add generated files to a release created using tagged scripts/templates --- .../ci_model/com.redhat.viaq-ci.template.json | 457 --------------- .../com.redhat.viaq-openshift.template.json | 554 ------------------ 2 files changed, 1011 deletions(-) delete mode 100644 templates/ci_model/com.redhat.viaq-ci.template.json delete mode 100644 templates/openshift/com.redhat.viaq-openshift.template.json diff --git a/templates/ci_model/com.redhat.viaq-ci.template.json b/templates/ci_model/com.redhat.viaq-ci.template.json deleted file mode 100644 index c10065b..0000000 --- a/templates/ci_model/com.redhat.viaq-ci.template.json +++ /dev/null @@ -1,457 +0,0 @@ -{ - "aliases": {}, - "mappings": { - "_default_": { - "_meta": { - "version": "2016.10.12.0" - }, - "date_detection": false, - "dynamic_templates": [ - { - "message_field": { - "mapping": { - "index": "analyzed", - "omit_norms": true, - "type": "string" - }, - "match": "message", - "match_mapping_type": "string" - } - }, - { - "string_fields": { - "mapping": { - "fields": { - "raw": { - "ignore_above": 256, - "index": "not_analyzed", - "type": "string" - } - }, - "index": "analyzed", - "omit_norms": true, - "type": "string" - }, - "match": "*", - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "doc_values": true, - "fields": { - "raw": { - "doc_values": true, - "ignore_above": 256, - "index": "not_analyzed", - "type": "string" - } - }, - "format": "yyyy-MM-dd'T'HH:mm:ss.SSSSSSZ||yyyy-MM-dd'T'HH:mm:ssZ||dateOptionalTime", - "index": "not_analyzed", - "type": "date" - }, - "ci_job": { - "properties": { - "artifacts": { - "properties": { - "name": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "original_url": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "url": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - } - } - }, - "build_id": { - "doc_values": true, - "index": "not_analyzed", - "type": "integer" - }, - "build_timestamp": { - "doc_values": true, - "format": "yyyy-MM-dd'T'HH:mm:ss.SSSSSSZ||yyyy-MM-dd'T'HH:mm:ssZ||dateOptionalTime", - "index": "not_analyzed", - "type": "date" - }, - "duration": { - "doc_values": "true", - "type": "float" - }, - "master": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "name": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "phase": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "result": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "url": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - } - } - }, - "file": { - "doc_values": false, - "fields": { - "raw": { - "doc_values": true, - "ignore_above": 256, - "index": "not_analyzed", - "type": "string" - } - }, - "index": "analyzed", - "norms": { - "enabled": true - }, - "type": "string" - }, - "geoip": { - "dynamic": true, - "properties": { - "location": { - "type": "geo_point" - } - }, - "type": "object" - }, - "hostname": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "ipaddr4": { - "doc_values": true, - "fields": { - "raw": { - "doc_values": true, - "ignore_above": 256, - "index": "not_analyzed", - "type": "string" - } - }, - "index": "not_analyzed", - "norms": { - "enabled": false - }, - "type": "ip" - }, - "ipaddr6": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "level": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "message": { - "doc_values": false, - "index": "analyzed", - "norms": { - "enabled": false - }, - "type": "string" - }, - "offset": { - "doc_values": true, - "index": "not_analyzed", - "type": "long" - }, - "pid": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "pipeline_metadata": { - "properties": { - "@version": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "collector": { - "properties": { - "hostname": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "inputname": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "ipaddr4": { - "doc_values": true, - "fields": { - "raw": { - "doc_values": true, - "ignore_above": 256, - "index": "not_analyzed", - "type": "string" - } - }, - "index": "not_analyzed", - "norms": { - "enabled": false - }, - "type": "ip" - }, - "ipaddr6": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "name": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "original_raw_message": { - "doc_values": false, - "fields": { - "raw": { - "doc_values": true, - "ignore_above": 256, - "index": "not_analyzed", - "type": "string" - } - }, - "index": "analyzed", - "type": "string" - }, - "received_at": { - "doc_values": true, - "format": "yyyy-MM-dd'T'HH:mm:ss.SSSSSSZ||yyyy-MM-dd'T'HH:mm:ssZ||dateOptionalTime", - "index": "not_analyzed", - "type": "date" - }, - "version": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - } - } - }, - "normalizer": { - "properties": { - "hostname": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "inputname": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "ipaddr4": { - "doc_values": true, - "fields": { - "raw": { - "doc_values": true, - "ignore_above": 256, - "index": "not_analyzed", - "type": "string" - } - }, - "index": "not_analyzed", - "norms": { - "enabled": false - }, - "type": "ip" - }, - "ipaddr6": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "name": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "original_raw_message": { - "doc_values": false, - "fields": { - "raw": { - "doc_values": true, - "ignore_above": 256, - "index": "not_analyzed", - "type": "string" - } - }, - "index": "analyzed", - "type": "string" - }, - "received_at": { - "doc_values": true, - "format": "yyyy-MM-dd'T'HH:mm:ss.SSSSSSZ||yyyy-MM-dd'T'HH:mm:ssZ||dateOptionalTime", - "index": "not_analyzed", - "type": "date" - }, - "version": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - } - } - }, - "trace": { - "analyzer": "whitespace", - "doc_values": false, - "index": "analyzed", - "type": "string" - } - } - }, - "service": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "tags": { - "analyzer": "whitespace", - "doc_values": false, - "index": "analyzed", - "type": "string" - }, - "testcase": { - "properties": { - "classname": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "details": { - "doc_values": false, - "index": "analyzed", - "norms": { - "enabled": true - }, - "type": "string" - }, - "file": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "id": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "line": { - "doc_values": true, - "index": "not_analyzed", - "type": "integer" - }, - "name": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "status": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "system-out": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "testsuite": { - "properties": { - "errors": { - "doc_values": true, - "index": "not_analyzed", - "type": "integer" - }, - "failures": { - "doc_values": true, - "index": "not_analyzed", - "type": "integer" - }, - "id": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "name": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "properties": { - "properties": { - "name": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - } - } - }, - "skips": { - "doc_values": true, - "index": "not_analyzed", - "type": "integer" - }, - "tests": { - "doc_values": true, - "index": "not_analyzed", - "type": "integer" - }, - "time": { - "doc_values": "true", - "type": "float" - } - } - }, - "time": { - "doc_values": "true", - "type": "float" - }, - "type": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - } - } - } - } - } - }, - "order": 10, - "settings": { - "index.refresh_interval": "5s" - }, - "template": "viaq-ci-*" -} \ No newline at end of file diff --git a/templates/openshift/com.redhat.viaq-openshift.template.json b/templates/openshift/com.redhat.viaq-openshift.template.json deleted file mode 100644 index ef55eae..0000000 --- a/templates/openshift/com.redhat.viaq-openshift.template.json +++ /dev/null @@ -1,554 +0,0 @@ -{ - "aliases": {}, - "mappings": { - "_default_": { - "_meta": { - "version": "2016.10.12.0" - }, - "date_detection": false, - "dynamic_templates": [ - { - "message_field": { - "mapping": { - "index": "analyzed", - "omit_norms": true, - "type": "string" - }, - "match": "message", - "match_mapping_type": "string" - } - }, - { - "string_fields": { - "mapping": { - "fields": { - "raw": { - "ignore_above": 256, - "index": "not_analyzed", - "type": "string" - } - }, - "index": "analyzed", - "omit_norms": true, - "type": "string" - }, - "match": "*", - "match_mapping_type": "string" - } - } - ], - "properties": { - "@timestamp": { - "doc_values": true, - "fields": { - "raw": { - "doc_values": true, - "ignore_above": 256, - "index": "not_analyzed", - "type": "string" - } - }, - "format": "yyyy-MM-dd'T'HH:mm:ss.SSSSSSZ||yyyy-MM-dd'T'HH:mm:ssZ||dateOptionalTime", - "index": "not_analyzed", - "type": "date" - }, - "docker": { - "properties": { - "container_id": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - } - } - }, - "file": { - "doc_values": false, - "fields": { - "raw": { - "doc_values": true, - "ignore_above": 256, - "index": "not_analyzed", - "type": "string" - } - }, - "index": "analyzed", - "norms": { - "enabled": true - }, - "type": "string" - }, - "geoip": { - "dynamic": true, - "properties": { - "location": { - "type": "geo_point" - } - }, - "type": "object" - }, - "hostname": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "ipaddr4": { - "doc_values": true, - "fields": { - "raw": { - "doc_values": true, - "ignore_above": 256, - "index": "not_analyzed", - "type": "string" - } - }, - "index": "not_analyzed", - "norms": { - "enabled": false - }, - "type": "ip" - }, - "ipaddr6": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "kubernetes": { - "properties": { - "host": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "namespace_id": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "namespace_name": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "pod_id": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "pod_name": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - } - } - }, - "level": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "message": { - "doc_values": false, - "index": "analyzed", - "norms": { - "enabled": false - }, - "type": "string" - }, - "offset": { - "doc_values": true, - "index": "not_analyzed", - "type": "long" - }, - "pid": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "pipeline_metadata": { - "properties": { - "@version": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "collector": { - "properties": { - "hostname": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "inputname": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "ipaddr4": { - "doc_values": true, - "fields": { - "raw": { - "doc_values": true, - "ignore_above": 256, - "index": "not_analyzed", - "type": "string" - } - }, - "index": "not_analyzed", - "norms": { - "enabled": false - }, - "type": "ip" - }, - "ipaddr6": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "name": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "original_raw_message": { - "doc_values": false, - "fields": { - "raw": { - "doc_values": true, - "ignore_above": 256, - "index": "not_analyzed", - "type": "string" - } - }, - "index": "analyzed", - "type": "string" - }, - "received_at": { - "doc_values": true, - "format": "yyyy-MM-dd'T'HH:mm:ss.SSSSSSZ||yyyy-MM-dd'T'HH:mm:ssZ||dateOptionalTime", - "index": "not_analyzed", - "type": "date" - }, - "version": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - } - } - }, - "normalizer": { - "properties": { - "hostname": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "inputname": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "ipaddr4": { - "doc_values": true, - "fields": { - "raw": { - "doc_values": true, - "ignore_above": 256, - "index": "not_analyzed", - "type": "string" - } - }, - "index": "not_analyzed", - "norms": { - "enabled": false - }, - "type": "ip" - }, - "ipaddr6": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "name": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "original_raw_message": { - "doc_values": false, - "fields": { - "raw": { - "doc_values": true, - "ignore_above": 256, - "index": "not_analyzed", - "type": "string" - } - }, - "index": "analyzed", - "type": "string" - }, - "received_at": { - "doc_values": true, - "format": "yyyy-MM-dd'T'HH:mm:ss.SSSSSSZ||yyyy-MM-dd'T'HH:mm:ssZ||dateOptionalTime", - "index": "not_analyzed", - "type": "date" - }, - "version": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - } - } - }, - "trace": { - "analyzer": "whitespace", - "doc_values": false, - "index": "analyzed", - "type": "string" - } - } - }, - "rsyslog": { - "properties": { - "appname": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "facility": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "msgid": { - "doc_values": true, - "index": "not_analyzed", - "type": "long" - }, - "protocol-version": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "structured-data": { - "doc_values": true, - "index": "not_analyzed", - "norms": { - "enabled": false - }, - "type": "string" - } - } - }, - "service": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "systemd": { - "properties": { - "k": { - "properties": { - "KERNEL_DEVICE": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "KERNEL_SUBSYSTEM": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "UDEV_DEVLINK": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "UDEV_DEVNODE": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "UDEV_SYSNAME": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - } - } - }, - "t": { - "properties": { - "AUDIT_LOGINUID": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "AUDIT_SESSION": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "BOOT_ID": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "CAP_EFFECTIVE": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "CMDLINE": { - "doc_values": true, - "index": "not_analyzed", - "norms": { - "enabled": false - }, - "type": "string" - }, - "COMM": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "EXE": { - "doc_values": true, - "index": "not_analyzed", - "norms": { - "enabled": false - }, - "type": "string" - }, - "GID": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "HOSTNAME": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "MACHINE_ID": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "PID": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "SELINUX_CONTEXT": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "SOURCE_REALTIME_TIMESTAMP": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "SYSTEMD_CGROUP": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "SYSTEMD_OWNER_UID": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "SYSTEMD_SESSION": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "SYSTEMD_SLICE": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "SYSTEMD_UNIT": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "SYSTEMD_USER_UNIT": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "TRANSPORT": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "UID": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - } - } - }, - "u": { - "properties": { - "CODE_FILE": { - "doc_values": true, - "index": "not_analyzed", - "norms": { - "enabled": false - }, - "type": "string" - }, - "CODE_FUNCTION": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "CODE_LINE": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "ERRNO": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "MESSAGE_ID": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - }, - "RESULT": { - "doc_values": true, - "index": "not_analyzed", - "norms": { - "enabled": false - }, - "type": "string" - }, - "UNIT": { - "doc_values": true, - "index": "not_analyzed", - "type": "string" - } - } - } - } - }, - "tags": { - "analyzer": "whitespace", - "doc_values": false, - "index": "analyzed", - "type": "string" - } - } - } - }, - "order": 10, - "settings": { - "index.refresh_interval": "5s" - }, - "template": "*" -} \ No newline at end of file