Created
February 21, 2019 13:41
-
-
Save cmcornejocrespo/b0c8b0c7fa31e78e3a1ce1d1dc2f9abe to your computer and use it in GitHub Desktop.
This file contains 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
{ | |
"apm-6.6.0" : { | |
"order" : 1, | |
"index_patterns" : [ | |
"apm-6.6.0-*" | |
], | |
"settings" : { | |
"index" : { | |
"number_of_routing_shards" : "30", | |
"mapping" : { | |
"total_fields" : { | |
"limit" : "10000" | |
} | |
}, | |
"refresh_interval" : "5s" | |
} | |
}, | |
"mappings" : { | |
"doc" : { | |
"_meta" : { | |
"version" : "6.6.0" | |
}, | |
"date_detection" : false, | |
"dynamic_templates" : [ | |
{ | |
"context.tags" : { | |
"mapping" : { | |
"type" : "keyword" | |
}, | |
"match_mapping_type" : "string", | |
"path_match" : "context.tags.*" | |
} | |
}, | |
{ | |
"fields" : { | |
"mapping" : { | |
"type" : "keyword" | |
}, | |
"match_mapping_type" : "string", | |
"path_match" : "fields.*" | |
} | |
}, | |
{ | |
"docker.container.labels" : { | |
"mapping" : { | |
"type" : "keyword" | |
}, | |
"match_mapping_type" : "string", | |
"path_match" : "docker.container.labels.*" | |
} | |
}, | |
{ | |
"transaction.marks" : { | |
"mapping" : { | |
"type" : "keyword" | |
}, | |
"match_mapping_type" : "string", | |
"path_match" : "transaction.marks.*" | |
} | |
}, | |
{ | |
"transaction.marks.*.*" : { | |
"mapping" : { | |
"type" : "scaled_float", | |
"scaling_factor" : 1000000 | |
}, | |
"match_mapping_type" : "*", | |
"path_match" : "transaction.marks.*.*" | |
} | |
}, | |
{ | |
"strings_as_keyword" : { | |
"mapping" : { | |
"ignore_above" : 1024, | |
"type" : "keyword" | |
}, | |
"match_mapping_type" : "string" | |
} | |
} | |
], | |
"properties" : { | |
"kubernetes" : { | |
"properties" : { | |
"container" : { | |
"properties" : { | |
"name" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"image" : { | |
"ignore_above" : 1024, | |
"type" : "keyword" | |
} | |
} | |
}, | |
"pod" : { | |
"properties" : { | |
"name" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"uid" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
} | |
} | |
}, | |
"namespace" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"node" : { | |
"properties" : { | |
"name" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
} | |
} | |
}, | |
"labels" : { | |
"type" : "object" | |
}, | |
"annotations" : { | |
"type" : "object" | |
} | |
} | |
}, | |
"span" : { | |
"dynamic" : false, | |
"properties" : { | |
"id" : { | |
"type" : "long" | |
}, | |
"name" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"action" : { | |
"ignore_above" : 1024, | |
"type" : "keyword" | |
}, | |
"start" : { | |
"properties" : { | |
"us" : { | |
"type" : "long" | |
} | |
} | |
}, | |
"duration" : { | |
"properties" : { | |
"us" : { | |
"type" : "long" | |
} | |
} | |
}, | |
"sync" : { | |
"type" : "boolean" | |
}, | |
"hex_id" : { | |
"ignore_above" : 1024, | |
"type" : "keyword" | |
}, | |
"type" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"subtype" : { | |
"ignore_above" : 1024, | |
"type" : "keyword" | |
}, | |
"parent" : { | |
"type" : "long" | |
} | |
} | |
}, | |
"transaction" : { | |
"dynamic" : false, | |
"properties" : { | |
"duration" : { | |
"properties" : { | |
"us" : { | |
"type" : "long" | |
} | |
} | |
}, | |
"result" : { | |
"ignore_above" : 1024, | |
"type" : "keyword" | |
}, | |
"marks" : { | |
"type" : "object", | |
"dynamic" : true, | |
"properties" : { | |
"*" : { | |
"properties" : { | |
"*" : { | |
"type" : "object", | |
"dynamic" : true | |
} | |
} | |
} | |
} | |
}, | |
"span_count" : { | |
"properties" : { | |
"dropped" : { | |
"properties" : { | |
"total" : { | |
"type" : "long" | |
} | |
} | |
} | |
} | |
}, | |
"id" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"sampled" : { | |
"type" : "boolean" | |
}, | |
"name" : { | |
"type" : "text", | |
"norms" : false, | |
"fields" : { | |
"keyword" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
} | |
} | |
}, | |
"type" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
} | |
} | |
}, | |
"trace" : { | |
"dynamic" : false, | |
"properties" : { | |
"id" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
} | |
} | |
}, | |
"beat" : { | |
"properties" : { | |
"name" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"hostname" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"timezone" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"version" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
} | |
} | |
}, | |
"container" : { | |
"properties" : { | |
"name" : { | |
"type" : "alias", | |
"path" : "docker.container.name" | |
}, | |
"image" : { | |
"properties" : { | |
"name" : { | |
"type" : "alias", | |
"path" : "docker.container.image" | |
} | |
} | |
}, | |
"id" : { | |
"type" : "alias", | |
"path" : "docker.container.id" | |
} | |
} | |
}, | |
"meta" : { | |
"properties" : { | |
"cloud" : { | |
"properties" : { | |
"project_id" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"region" : { | |
"ignore_above" : 1024, | |
"type" : "keyword" | |
}, | |
"provider" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"instance_id" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"instance_name" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"machine_type" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"availability_zone" : { | |
"ignore_above" : 1024, | |
"type" : "keyword" | |
} | |
} | |
} | |
} | |
}, | |
"docker" : { | |
"properties" : { | |
"container" : { | |
"properties" : { | |
"labels" : { | |
"type" : "object" | |
}, | |
"id" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"image" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"name" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
} | |
} | |
} | |
} | |
}, | |
"view errors" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"sourcemap" : { | |
"dynamic" : false, | |
"properties" : { | |
"service" : { | |
"properties" : { | |
"name" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"version" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
} | |
} | |
}, | |
"bundle_filepath" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
} | |
} | |
}, | |
"processor" : { | |
"properties" : { | |
"name" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"event" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
} | |
} | |
}, | |
"tags" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"fields" : { | |
"type" : "object" | |
}, | |
"listening" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"error" : { | |
"dynamic" : false, | |
"properties" : { | |
"code" : { | |
"type" : "long" | |
}, | |
"type" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"id" : { | |
"ignore_above" : 1024, | |
"type" : "keyword" | |
}, | |
"culprit" : { | |
"type" : "text", | |
"norms" : false | |
}, | |
"grouping_key" : { | |
"ignore_above" : 1024, | |
"type" : "keyword" | |
}, | |
"exception" : { | |
"properties" : { | |
"code" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"message" : { | |
"type" : "text", | |
"norms" : false | |
}, | |
"module" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"type" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"handled" : { | |
"type" : "boolean" | |
} | |
} | |
}, | |
"log" : { | |
"properties" : { | |
"level" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"logger_name" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"message" : { | |
"type" : "text", | |
"norms" : false | |
}, | |
"param_message" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
} | |
} | |
}, | |
"message" : { | |
"norms" : false, | |
"type" : "text" | |
} | |
} | |
}, | |
"view spans" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"@timestamp" : { | |
"type" : "date" | |
}, | |
"event" : { | |
"properties" : { | |
"timezone" : { | |
"type" : "alias", | |
"path" : "beat.timezone" | |
} | |
} | |
}, | |
"cloud" : { | |
"properties" : { | |
"machine" : { | |
"properties" : { | |
"type" : { | |
"type" : "alias", | |
"path" : "meta.cloud.machine_type" | |
} | |
} | |
}, | |
"availability_zone" : { | |
"type" : "alias", | |
"path" : "meta.cloud.availability_zone" | |
}, | |
"project" : { | |
"properties" : { | |
"id" : { | |
"type" : "alias", | |
"path" : "meta.cloud.project_id" | |
} | |
} | |
}, | |
"region" : { | |
"type" : "alias", | |
"path" : "meta.cloud.region" | |
}, | |
"provider" : { | |
"type" : "alias", | |
"path" : "meta.cloud.provider" | |
}, | |
"instance" : { | |
"properties" : { | |
"id" : { | |
"type" : "alias", | |
"path" : "meta.cloud.instance_id" | |
}, | |
"name" : { | |
"type" : "alias", | |
"path" : "meta.cloud.instance_name" | |
} | |
} | |
} | |
} | |
}, | |
"host" : { | |
"properties" : { | |
"name" : { | |
"ignore_above" : 1024, | |
"type" : "keyword" | |
}, | |
"id" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"os" : { | |
"properties" : { | |
"version" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"family" : { | |
"ignore_above" : 1024, | |
"type" : "keyword" | |
} | |
} | |
}, | |
"mac" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
} | |
} | |
}, | |
"error id icon" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"timestamp" : { | |
"properties" : { | |
"us" : { | |
"type" : "long" | |
} | |
} | |
}, | |
"context" : { | |
"dynamic" : false, | |
"properties" : { | |
"user" : { | |
"properties" : { | |
"ip" : { | |
"type" : "ip" | |
}, | |
"user-agent" : { | |
"type" : "text", | |
"norms" : false | |
}, | |
"username" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"id" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"email" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
} | |
} | |
}, | |
"response" : { | |
"properties" : { | |
"headers" : { | |
"type" : "object", | |
"enabled" : false | |
}, | |
"headers_sent" : { | |
"index" : false, | |
"type" : "boolean" | |
}, | |
"status_code" : { | |
"type" : "long" | |
}, | |
"finished" : { | |
"type" : "boolean" | |
} | |
} | |
}, | |
"process" : { | |
"properties" : { | |
"argv" : { | |
"enabled" : false, | |
"type" : "object" | |
}, | |
"pid" : { | |
"type" : "long" | |
}, | |
"ppid" : { | |
"type" : "long" | |
}, | |
"title" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
} | |
} | |
}, | |
"service" : { | |
"properties" : { | |
"name" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"version" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"environment" : { | |
"ignore_above" : 1024, | |
"type" : "keyword" | |
}, | |
"language" : { | |
"properties" : { | |
"name" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"version" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
} | |
} | |
}, | |
"runtime" : { | |
"properties" : { | |
"name" : { | |
"ignore_above" : 1024, | |
"type" : "keyword" | |
}, | |
"version" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
} | |
} | |
}, | |
"framework" : { | |
"properties" : { | |
"name" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"version" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
} | |
} | |
}, | |
"agent" : { | |
"properties" : { | |
"name" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"version" : { | |
"ignore_above" : 1024, | |
"type" : "keyword" | |
} | |
} | |
} | |
} | |
}, | |
"custom" : { | |
"type" : "object", | |
"enabled" : false | |
}, | |
"db" : { | |
"properties" : { | |
"type" : { | |
"index" : false, | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"user" : { | |
"ignore_above" : 1024, | |
"index" : false, | |
"type" : "keyword" | |
}, | |
"instance" : { | |
"ignore_above" : 1024, | |
"index" : false, | |
"type" : "keyword" | |
}, | |
"statement" : { | |
"index" : false, | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
} | |
} | |
}, | |
"request" : { | |
"properties" : { | |
"socket" : { | |
"type" : "object", | |
"enabled" : false | |
}, | |
"url" : { | |
"properties" : { | |
"port" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"pathname" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"search" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"hash" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"raw" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"protocol" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"full" : { | |
"ignore_above" : 1024, | |
"type" : "keyword" | |
}, | |
"hostname" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
} | |
} | |
}, | |
"http_version" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"method" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"body" : { | |
"type" : "object", | |
"enabled" : false | |
}, | |
"cookies" : { | |
"type" : "object", | |
"enabled" : false | |
}, | |
"headers" : { | |
"type" : "object", | |
"enabled" : false | |
}, | |
"env" : { | |
"type" : "object", | |
"enabled" : false | |
} | |
} | |
}, | |
"system" : { | |
"properties" : { | |
"hostname" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"architecture" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"platform" : { | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"ip" : { | |
"type" : "ip" | |
} | |
} | |
}, | |
"http" : { | |
"dynamic" : false, | |
"properties" : { | |
"method" : { | |
"index" : false, | |
"doc_values" : false, | |
"type" : "keyword", | |
"ignore_above" : 1024 | |
}, | |
"status_code" : { | |
"type" : "long" | |
}, | |
"url" : { | |
"doc_values" : false, | |
"type" : "keyword", | |
"ignore_above" : 1024, | |
"index" : false | |
} | |
} | |
}, | |
"tags" : { | |
"type" : "object", | |
"dynamic" : true | |
} | |
} | |
}, | |
"parent" : { | |
"dynamic" : false, | |
"properties" : { | |
"id" : { | |
"ignore_above" : 1024, | |
"type" : "keyword" | |
} | |
} | |
}, | |
"system" : { | |
"properties" : { | |
"cpu" : { | |
"properties" : { | |
"total" : { | |
"properties" : { | |
"norm" : { | |
"properties" : { | |
"pct" : { | |
"type" : "scaled_float", | |
"scaling_factor" : 1000 | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"memory" : { | |
"properties" : { | |
"total" : { | |
"type" : "long" | |
}, | |
"actual" : { | |
"properties" : { | |
"free" : { | |
"type" : "long" | |
} | |
} | |
} | |
} | |
}, | |
"process" : { | |
"properties" : { | |
"cpu" : { | |
"properties" : { | |
"total" : { | |
"properties" : { | |
"norm" : { | |
"properties" : { | |
"pct" : { | |
"type" : "scaled_float", | |
"scaling_factor" : 1000 | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"memory" : { | |
"properties" : { | |
"size" : { | |
"type" : "long" | |
}, | |
"rss" : { | |
"properties" : { | |
"bytes" : { | |
"type" : "long" | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
} | |
}, | |
"aliases" : { } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment