Skip to content

Instantly share code, notes, and snippets.

@sharry007
Created November 7, 2019 08:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sharry007/099118cdb8b9c52ab773011ed8160d42 to your computer and use it in GitHub Desktop.
Save sharry007/099118cdb8b9c52ab773011ed8160d42 to your computer and use it in GitHub Desktop.
{
".monitoring-logstash" : {
"order" : 0,
"version" : 6050399,
"index_patterns" : [
".monitoring-logstash-6-*"
],
"settings" : {
"index" : {
"format" : "6",
"codec" : "best_compression",
"number_of_shards" : "1",
"auto_expand_replicas" : "0-1",
"number_of_replicas" : "0"
}
},
"mappings" : {
"doc" : {
"dynamic" : false,
"properties" : {
"cluster_uuid" : {
"type" : "keyword"
},
"timestamp" : {
"type" : "date",
"format" : "date_time"
},
"interval_ms" : {
"type" : "long"
},
"type" : {
"type" : "keyword"
},
"source_node" : {
"properties" : {
"uuid" : {
"type" : "keyword"
},
"host" : {
"type" : "keyword"
},
"transport_address" : {
"type" : "keyword"
},
"ip" : {
"type" : "keyword"
},
"name" : {
"type" : "keyword"
},
"timestamp" : {
"type" : "date",
"format" : "date_time"
}
}
},
"logstash_stats" : {
"type" : "object",
"properties" : {
"logstash" : {
"properties" : {
"uuid" : {
"type" : "keyword"
},
"name" : {
"type" : "keyword"
},
"ephemeral_id" : {
"type" : "keyword"
},
"host" : {
"type" : "keyword"
},
"http_address" : {
"type" : "keyword"
},
"version" : {
"type" : "keyword"
},
"snapshot" : {
"type" : "boolean"
},
"status" : {
"type" : "keyword"
},
"pipeline" : {
"properties" : {
"workers" : {
"type" : "short"
},
"batch_size" : {
"type" : "long"
}
}
}
}
},
"events" : {
"properties" : {
"filtered" : {
"type" : "long"
},
"in" : {
"type" : "long"
},
"out" : {
"type" : "long"
},
"duration_in_millis" : {
"type" : "long"
}
}
},
"timestamp" : {
"type" : "date"
},
"jvm" : {
"properties" : {
"uptime_in_millis" : {
"type" : "long"
},
"gc" : {
"properties" : {
"collectors" : {
"properties" : {
"old" : {
"properties" : {
"collection_count" : {
"type" : "long"
},
"collection_time_in_millis" : {
"type" : "long"
}
}
},
"young" : {
"properties" : {
"collection_count" : {
"type" : "long"
},
"collection_time_in_millis" : {
"type" : "long"
}
}
}
}
}
}
},
"mem" : {
"properties" : {
"heap_max_in_bytes" : {
"type" : "long"
},
"heap_used_in_bytes" : {
"type" : "long"
},
"heap_used_percent" : {
"type" : "long"
}
}
}
}
},
"os" : {
"properties" : {
"cpu" : {
"properties" : {
"load_average" : {
"properties" : {
"1m" : {
"type" : "half_float"
},
"5m" : {
"type" : "half_float"
},
"15m" : {
"type" : "half_float"
}
}
}
}
},
"cgroup" : {
"properties" : {
"cpuacct" : {
"properties" : {
"control_group" : {
"type" : "keyword"
},
"usage_nanos" : {
"type" : "long"
}
}
},
"cpu" : {
"properties" : {
"control_group" : {
"type" : "keyword"
},
"stat" : {
"properties" : {
"number_of_elapsed_periods" : {
"type" : "long"
},
"number_of_times_throttled" : {
"type" : "long"
},
"time_throttled_nanos" : {
"type" : "long"
}
}
}
}
}
}
}
}
},
"process" : {
"properties" : {
"cpu" : {
"properties" : {
"percent" : {
"type" : "long"
}
}
},
"max_file_descriptors" : {
"type" : "long"
},
"open_file_descriptors" : {
"type" : "long"
}
}
},
"reloads" : {
"properties" : {
"failures" : {
"type" : "long"
},
"successes" : {
"type" : "long"
}
}
},
"queue" : {
"properties" : {
"events_count" : {
"type" : "long"
},
"type" : {
"type" : "keyword"
}
}
},
"pipelines" : {
"type" : "nested",
"properties" : {
"id" : {
"type" : "keyword"
},
"hash" : {
"type" : "keyword"
},
"ephemeral_id" : {
"type" : "keyword"
},
"events" : {
"properties" : {
"in" : {
"type" : "long"
},
"filtered" : {
"type" : "long"
},
"out" : {
"type" : "long"
},
"duration_in_millis" : {
"type" : "long"
},
"queue_push_duration_in_millis" : {
"type" : "long"
}
}
},
"queue" : {
"properties" : {
"events_count" : {
"type" : "long"
},
"type" : {
"type" : "keyword"
},
"max_queue_size_in_bytes" : {
"type" : "long"
},
"queue_size_in_bytes" : {
"type" : "long"
}
}
},
"vertices" : {
"type" : "nested",
"properties" : {
"id" : {
"type" : "keyword"
},
"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"
},
"long_counters" : {
"type" : "nested",
"properties" : {
"name" : {
"type" : "keyword"
},
"value" : {
"type" : "long"
}
}
},
"double_gauges" : {
"type" : "nested",
"properties" : {
"name" : {
"type" : "keyword"
},
"value" : {
"type" : "double"
}
}
}
}
},
"reloads" : {
"properties" : {
"failures" : {
"type" : "long"
},
"successes" : {
"type" : "long"
}
}
}
}
},
"workers" : {
"type" : "short"
},
"batch_size" : {
"type" : "integer"
}
}
},
"logstash_state" : {
"properties" : {
"uuid" : {
"type" : "keyword"
},
"name" : {
"type" : "keyword"
},
"host" : {
"type" : "keyword"
},
"http_address" : {
"type" : "keyword"
},
"ephemeral_id" : {
"type" : "keyword"
},
"version" : {
"type" : "keyword"
},
"snapshot" : {
"type" : "boolean"
},
"status" : {
"type" : "keyword"
},
"pipeline" : {
"properties" : {
"id" : {
"type" : "keyword"
},
"hash" : {
"type" : "keyword"
},
"ephemeral_id" : {
"type" : "keyword"
},
"workers" : {
"type" : "short"
},
"batch_size" : {
"type" : "integer"
},
"format" : {
"type" : "keyword"
},
"version" : {
"type" : "keyword"
},
"representation" : {
"enabled" : false
}
}
}
}
}
}
}
},
"aliases" : { }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment