Update logstash mappings to use pipeline.id + correct metric types (elastic/x-pack-elasticsearch#2045)
In logstash parlance there really is no pipeline.name, its pipeline.id This also removes support for deprecated gauge types `text` and `boolean` we will be removing those soon in logstash This also renames `counters` to `long_counters` to be more explicit and for consistency with the gauge type. Also, if we ever decide to add other types of counters this will be more clear Original commit: elastic/x-pack-elasticsearch@8f44a94579
This commit is contained in:
parent
30f2b3f90e
commit
c8e42a0db6
|
@ -243,7 +243,7 @@
|
|||
"pipelines": {
|
||||
"type": "nested",
|
||||
"properties": {
|
||||
"name": {
|
||||
"id": {
|
||||
"type": "keyword"
|
||||
},
|
||||
"hash": {
|
||||
|
@ -292,7 +292,7 @@
|
|||
"events_out": { "type": "long" },
|
||||
"duration_in_millis": { "type": "long" },
|
||||
"queue_push_duration_in_millis": { "type": "long" },
|
||||
"counters": {
|
||||
"long_counters": {
|
||||
"type": "nested",
|
||||
"properties": {
|
||||
"name": {
|
||||
|
@ -313,28 +313,6 @@
|
|||
"type": "double"
|
||||
}
|
||||
}
|
||||
},
|
||||
"text_gauges": {
|
||||
"type": "nested",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "keyword"
|
||||
},
|
||||
"value": {
|
||||
"type": "keyword"
|
||||
}
|
||||
}
|
||||
},
|
||||
"boolean_gauges": {
|
||||
"type": "nested",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "keyword"
|
||||
},
|
||||
"value": {
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -386,7 +364,7 @@
|
|||
},
|
||||
"pipeline": {
|
||||
"properties": {
|
||||
"name": {
|
||||
"id": {
|
||||
"type": "keyword"
|
||||
},
|
||||
"hash": {
|
||||
|
|
Loading…
Reference in New Issue