[Logstash] new pipeline viewer schema (elastic/x-pack-elasticsearch#1845)

New metric types for logstash pipeline viewer.

Original commit: elastic/x-pack-elasticsearch@8e44b1fa5a
This commit is contained in:
Andrew Cholakian 2017-07-18 11:28:01 -05:00 committed by GitHub
parent 139513fdd3
commit ebc37feaeb
1 changed files with 22 additions and 12 deletions

View File

@ -265,6 +265,9 @@
}, },
"duration_in_millis":{ "duration_in_millis":{
"type": "long" "type": "long"
},
"queue_push_duration_in_millis": {
"type": "long"
} }
} }
}, },
@ -278,13 +281,18 @@
} }
} }
}, },
"components": { "vertices": {
"type": "nested", "type": "nested",
"properties": { "properties": {
"id": { "id": {
"type": "keyword" "type": "keyword"
}, },
"long_stat": { "pipeline_ephemeral_id": { "type": "keyword" },
"events_in": { "type": "long" },
"events_out": { "type": "long" },
"duration_in_millis": { "type": "long" },
"queue_push_duration_in_millis": { "type": "long" },
"counters": {
"type": "nested", "type": "nested",
"properties": { "properties": {
"name": { "name": {
@ -292,13 +300,10 @@
}, },
"value": { "value": {
"type": "long" "type": "long"
},
"metric_type": {
"type": "keyword"
} }
} }
}, },
"double_stat": { "double_gauges": {
"type": "nested", "type": "nested",
"properties": { "properties": {
"name": { "name": {
@ -306,13 +311,10 @@
}, },
"value": { "value": {
"type": "double" "type": "double"
},
"metric_type": {
"type": "keyword"
} }
} }
}, },
"string_stat": { "text_gauges": {
"type": "nested", "type": "nested",
"properties": { "properties": {
"name": { "name": {
@ -320,9 +322,17 @@
}, },
"value": { "value": {
"type": "keyword" "type": "keyword"
}, }
"metric_type": { }
},
"boolean_gauges": {
"type": "nested",
"properties": {
"name": {
"type": "keyword" "type": "keyword"
},
"value": {
"type": "boolean"
} }
} }
} }