Created
September 23, 2016 20:27
-
-
Save AlmogBaku/8fe24fd9c61df5a72402a4d25992cb36 to your computer and use it in GitHub Desktop.
New ElasticSearch Sink schema
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "heapster-2016.09.23": { | |
| "aliases": { | |
| "heapster-cpu-2016.09.23": { }, | |
| "heapster-events-2016.09.23": { }, | |
| "heapster-filesystem-2016.09.23": { }, | |
| "heapster-general-2016.09.23": { }, | |
| "heapster-memory-2016.09.23": { }, | |
| "heapster-network-2016.09.23": { } | |
| }, | |
| "mappings": { | |
| "general": { | |
| "properties": { | |
| "GeneralMetricsTimestamp": { | |
| "type": "date", | |
| "format": "strict_date_optional_time||epoch_millis" | |
| }, | |
| "MetricsName": { | |
| "type": "string", | |
| "fields": { | |
| "raw": { | |
| "type": "string", | |
| "index": "not_analyzed" | |
| } | |
| } | |
| }, | |
| "MetricsTags": { | |
| "properties": { | |
| "container_base_image": { | |
| "type": "string", | |
| "fields": { | |
| "raw": { | |
| "type": "string", | |
| "index": "not_analyzed" | |
| } | |
| } | |
| }, | |
| "container_name": { | |
| "type": "string", | |
| "fields": { | |
| "raw": { | |
| "type": "string", | |
| "index": "not_analyzed" | |
| } | |
| } | |
| }, | |
| "host_id": { | |
| "type": "string", | |
| "index": "not_analyzed" | |
| }, | |
| "hostname": { | |
| "type": "string", | |
| "fields": { | |
| "raw": { | |
| "type": "string", | |
| "index": "not_analyzed" | |
| } | |
| } | |
| }, | |
| "labels": { | |
| "type": "string", | |
| "fields": { | |
| "raw": { | |
| "type": "string", | |
| "index": "not_analyzed" | |
| } | |
| } | |
| }, | |
| "namespace_id": { | |
| "type": "string", | |
| "index": "not_analyzed" | |
| }, | |
| "namespace_name": { | |
| "type": "string", | |
| "index": "not_analyzed" | |
| }, | |
| "nodename": { | |
| "type": "string", | |
| "fields": { | |
| "raw": { | |
| "type": "string", | |
| "index": "not_analyzed" | |
| } | |
| } | |
| }, | |
| "pod_id": { | |
| "type": "string", | |
| "index": "not_analyzed" | |
| }, | |
| "pod_name": { | |
| "type": "string", | |
| "fields": { | |
| "raw": { | |
| "type": "string", | |
| "index": "not_analyzed" | |
| } | |
| } | |
| }, | |
| "pod_namespace": { | |
| "type": "string", | |
| "index": "not_analyzed" | |
| }, | |
| "resource_id": { | |
| "type": "string", | |
| "index": "not_analyzed" | |
| }, | |
| "type": { | |
| "type": "string", | |
| "index": "not_analyzed" | |
| } | |
| } | |
| }, | |
| "MetricsValue": { | |
| "properties": { | |
| "value": { | |
| "type": "long" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "network": { | |
| "properties": { | |
| "Metrics": { | |
| "properties": { | |
| "network/rx": { | |
| "properties": { | |
| "value": { | |
| "type": "long" | |
| } | |
| } | |
| }, | |
| "network/rx_errors": { | |
| "properties": { | |
| "value": { | |
| "type": "long" | |
| } | |
| } | |
| }, | |
| "network/rx_errors_rate": { | |
| "properties": { | |
| "value": { | |
| "type": "long" | |
| } | |
| } | |
| }, | |
| "network/rx_rate": { | |
| "properties": { | |
| "value": { | |
| "type": "long" | |
| } | |
| } | |
| }, | |
| "network/tx": { | |
| "properties": { | |
| "value": { | |
| "type": "long" | |
| } | |
| } | |
| }, | |
| "network/tx_errors": { | |
| "properties": { | |
| "value": { | |
| "type": "long" | |
| } | |
| } | |
| }, | |
| "network/tx_errors_rate": { | |
| "properties": { | |
| "value": { | |
| "type": "long" | |
| } | |
| } | |
| }, | |
| "network/tx_rate": { | |
| "properties": { | |
| "value": { | |
| "type": "long" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "MetricsTags": { | |
| "properties": { | |
| "container_base_image": { | |
| "type": "string", | |
| "fields": { | |
| "raw": { | |
| "type": "string", | |
| "index": "not_analyzed" | |
| } | |
| } | |
| }, | |
| "container_name": { | |
| "type": "string", | |
| "fields": { | |
| "raw": { | |
| "type": "string", | |
| "index": "not_analyzed" | |
| } | |
| } | |
| }, | |
| "host_id": { | |
| "type": "string", | |
| "index": "not_analyzed" | |
| }, | |
| "hostname": { | |
| "type": "string", | |
| "fields": { | |
| "raw": { | |
| "type": "string", | |
| "index": "not_analyzed" | |
| } | |
| } | |
| }, | |
| "labels": { | |
| "type": "string", | |
| "fields": { | |
| "raw": { | |
| "type": "string", | |
| "index": "not_analyzed" | |
| } | |
| } | |
| }, | |
| "namespace_id": { | |
| "type": "string", | |
| "index": "not_analyzed" | |
| }, | |
| "namespace_name": { | |
| "type": "string", | |
| "index": "not_analyzed" | |
| }, | |
| "nodename": { | |
| "type": "string", | |
| "fields": { | |
| "raw": { | |
| "type": "string", | |
| "index": "not_analyzed" | |
| } | |
| } | |
| }, | |
| "pod_id": { | |
| "type": "string", | |
| "index": "not_analyzed" | |
| }, | |
| "pod_name": { | |
| "type": "string", | |
| "fields": { | |
| "raw": { | |
| "type": "string", | |
| "index": "not_analyzed" | |
| } | |
| } | |
| }, | |
| "pod_namespace": { | |
| "type": "string", | |
| "index": "not_analyzed" | |
| }, | |
| "resource_id": { | |
| "type": "string", | |
| "index": "not_analyzed" | |
| }, | |
| "type": { | |
| "type": "string", | |
| "index": "not_analyzed" | |
| } | |
| } | |
| }, | |
| "NetworkMetricsTimestamp": { | |
| "type": "date", | |
| "format": "strict_date_optional_time||epoch_millis" | |
| } | |
| } | |
| }, | |
| "cpu": { | |
| "properties": { | |
| "CpuMetricsTimestamp": { | |
| "type": "date", | |
| "format": "strict_date_optional_time||epoch_millis" | |
| }, | |
| "Metrics": { | |
| "properties": { | |
| "cpu/limit": { | |
| "properties": { | |
| "value": { | |
| "type": "long" | |
| } | |
| } | |
| }, | |
| "cpu/node_allocatable": { | |
| "properties": { | |
| "value": { | |
| "type": "long" | |
| } | |
| } | |
| }, | |
| "cpu/node_capacity": { | |
| "properties": { | |
| "value": { | |
| "type": "long" | |
| } | |
| } | |
| }, | |
| "cpu/node_reservation": { | |
| "properties": { | |
| "value": { | |
| "type": "long" | |
| } | |
| } | |
| }, | |
| "cpu/node_utilization": { | |
| "properties": { | |
| "value": { | |
| "type": "long" | |
| } | |
| } | |
| }, | |
| "cpu/request": { | |
| "properties": { | |
| "value": { | |
| "type": "long" | |
| } | |
| } | |
| }, | |
| "cpu/usage": { | |
| "properties": { | |
| "value": { | |
| "type": "long" | |
| } | |
| } | |
| }, | |
| "cpu/usage_rate": { | |
| "properties": { | |
| "value": { | |
| "type": "long" | |
| } | |
| } | |
| } | |
| } | |
| }, | |
| "MetricsTags": { | |
| "properties": { | |
| "container_base_image": { | |
| "type": "string", | |
| "fields": { | |
| "raw": { | |
| "type": "string", | |
| "index": "not_analyzed" | |
| } | |
| } | |
| }, | |
| "container_name": { | |
| "type": "string", | |
| "fields": { | |
| "raw": { | |
| "type": "string", | |
| "index": "not_analyzed" | |
| } | |
| } | |
| }, | |
| "host_id": { | |
| "type": "string", | |
| "index": "not_analyzed" | |
| }, | |
| "hostname": { | |
| "type": "string", | |
| "fields": { | |
| "raw": { | |
| "type": "string", | |
| "index": "not_analyzed" | |
| } | |
| } | |
| }, | |
| "labels": { | |
| "type": "string", | |
| "fields": { | |
| "raw": { | |
| "type": "string", | |
| "index": "not_analyzed" | |
| } | |
| } | |
| }, | |
| "namespace_id": { | |
| "type": "string", | |
| "index": "not_analyzed" | |
| }, | |
| "namespace_name": { | |
| "type": "string", | |
| "index": "not_analyzed" | |
| }, | |
| "nodename": { | |
| "type": "string", | |
| "fields": { | |
| "raw": { | |
| "type": "string", | |
| "index": "not_analyzed" | |
| } | |
| } | |
| }, | |
| "pod_id": { | |
| "type": "string", | |
| "index": "not_analyzed" | |
| }, | |
| "pod_name": { | |
| "type": "string", | |
| "fields": { | |
| "raw": { | |
| "type": "string", | |
| "index": "not_analyzed" | |
| } | |
| } | |
| }, | |
| "pod_namespace": { | |
| "type": "string", | |
| "index": "not_analyzed" | |
| }, | |
| "resource_id": { | |
| "type": "string", | |
| "index": "not_analyzed" | |
| }, | |
| "t |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment