Skip to content

Instantly share code, notes, and snippets.

@chrisronline
Last active August 4, 2020 15:28
Show Gist options
  • Save chrisronline/23922534b97b3a001d227d3e772cdb16 to your computer and use it in GitHub Desktop.
Save chrisronline/23922534b97b3a001d227d3e772cdb16 to your computer and use it in GitHub Desktop.
{
"properties": {
"type": {
"type": "keyword"
},
"cluster_uuid": {
"type": "keyword"
},
"logstash_stats": {
"properties": {
"timestamp": {
"type": "date"
},
"jvm": {
"properties": {
"mem": {
"properties": {
"heap_used_in_bytes": {
"type": "long"
},
"heap_max_in_bytes": {
"type": "long"
}
}
},
"uptime_in_millis": {
"type": "long"
}
}
},
"events": {
"properties": {
"in": {
"type": "long"
},
"out": {
"type": "long"
},
"duration_in_millis": {
"type": "long"
}
}
},
"logstash": {
"properties": {
"uuid": {
"type": "keyword"
},
"version": {
"type": "keyword"
}
}
},
"pipelines": {
"type": "nested",
"properties": {
"id": {
"type": "keyword"
},
"queue": {
"properties": {
"type": {
"type": "keyword"
},
"queue_size_in_bytes": {
"type": "long"
},
"max_queue_size_in_bytes": {
"type": "long"
}
}
},
"events": {
"properties": {
"out": {
"type": "long"
},
"duration_in_millis": {
"type": "long"
}
}
},
"vertices": {
"type": "nested",
"properties": {
"duration_in_millis": {
"type": "long"
},
"events_in": {
"type": "long"
},
"pipeline_ephemeral_id": {
"type": "keyword"
},
"events_out": {
"type": "long"
},
"id": {
"type": "keyword"
},
"queue_push_duration_in_millis": {
"type": "float"
}
}
},
"hash": {
"type": "keyword"
}
}
},
"os": {
"properties": {
"cpu": {
"properties": {
"load_average": {
"properties": {
"15m": {
"type": "half_float"
},
"1m": {
"type": "half_float"
},
"5m": {
"type": "half_float"
}
}
}
}
},
"cgroup": {
"properties": {
"cpuacct": {
"properties": {
"usage_nanos": {
"type": "long"
}
}
},
"cpu": {
"properties": {
"stat": {
"properties": {
"number_of_elapsed_periods": {
"type": "long"
},
"time_throttled_nanos": {
"type": "long"
},
"number_of_times_throttled": {
"type": "long"
}
}
}
}
}
}
}
}
},
"process": {
"properties": {
"cpu": {
"properties": {
"percent": {
"type": "long"
}
}
}
}
},
"queue": {
"properties": {
"events_count": {
"type": "long"
}
}
}
}
},
"metricset": {
"properties": {
"name": {
"type": "text",
"fields": {
"keyword": {
"type": "keyword",
"ignore_above": 256
}
}
}
}
},
"timestamp": {
"type": "date",
"format": "date_time"
},
"logstash_state": {
"properties": {
"pipeline": {
"properties": {
"id": {
"type": "keyword"
},
"hash": {
"type": "keyword"
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment