1.查询索引

[root@ecs-- elasticsearch]# curl -XGET http://localhost:9200/*
{"zipkin:span-2019-05-15":{"aliases":{},"mappings":{"_default_":{"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}]},"span":{"_source":{"excludes":["_q"]},"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}],"properties":{"_q":{"type":"keyword"},"annotations":{"type":"object","enabled":false},"duration":{"type":"long"},"id":{"type":"keyword","ignore_above":},"kind":{"type":"keyword","ignore_above":},"localEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"name":{"type":"keyword"},"parentId":{"type":"keyword","ignore_above":},"remoteEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"shared":{"type":"boolean"},"tags":{"type":"object","enabled":false},"timestamp":{"type":"long"},"timestamp_millis":{"type":"date","format":"epoch_millis"},"traceId":{"type":"keyword"}}}},"settings":{"index":{"number_of_shards":"","provided_name":"zipkin:span-2019-05-15","mapper":{"dynamic":"false"},"creation_date":"","requests":{"cache":{"enable":"true"}},"analysis":{"filter":{"traceId_filter":{"type":"pattern_capture","preserve_original":"true","patterns":["([0-9a-f]{1,16})$"]}},"analyzer":{"traceId_analyzer":{"filter":"traceId_filter","type":"custom","tokenizer":"keyword"}}},"number_of_replicas":"","uuid":"vqVhABYrRhSuJi-7trCVNA","version":{"created":""}}}},"zipkin:span-2019-05-20":{"aliases":{},"mappings":{"_default_":{"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}]},"span":{"_source":{"excludes":["_q"]},"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}],"properties":{"_q":{"type":"keyword"},"annotations":{"type":"object","enabled":false},"duration":{"type":"long"},"id":{"type":"keyword","ignore_above":},"kind":{"type":"keyword","ignore_above":},"localEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"name":{"type":"keyword"},"parentId":{"type":"keyword","ignore_above":},"remoteEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"shared":{"type":"boolean"},"tags":{"type":"object","enabled":false},"timestamp":{"type":"long"},"timestamp_millis":{"type":"date","format":"epoch_millis"},"traceId":{"type":"keyword"}}}},"settings":{"index":{"number_of_shards":"","provided_name":"zipkin:span-2019-05-20","mapper":{"dynamic":"false"},"creation_date":"","requests":{"cache":{"enable":"true"}},"analysis":{"filter":{"traceId_filter":{"type":"pattern_capture","preserve_original":"true","patterns":["([0-9a-f]{1,16})$"]}},"analyzer":{"traceId_analyzer":{"filter":"traceId_filter","type":"custom","tokenizer":"keyword"}}},"number_of_replicas":"","uuid":"aSxRFQT2RLiNnmiN5sEeuw","version":{"created":""}}}},"zipkin:span-2019-05-10":{"aliases":{},"mappings":{"_default_":{"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}]},"span":{"_source":{"excludes":["_q"]},"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}],"properties":{"_q":{"type":"keyword"},"annotations":{"type":"object","enabled":false},"duration":{"type":"long"},"id":{"type":"keyword","ignore_above":},"kind":{"type":"keyword","ignore_above":},"localEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"name":{"type":"keyword"},"parentId":{"type":"keyword","ignore_above":},"remoteEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"shared":{"type":"boolean"},"tags":{"type":"object","enabled":false},"timestamp":{"type":"long"},"timestamp_millis":{"type":"date","format":"epoch_millis"},"traceId":{"type":"keyword"}}}},"settings":{"index":{"number_of_shards":"","provided_name":"zipkin:span-2019-05-10","mapper":{"dynamic":"false"},"creation_date":"","requests":{"cache":{"enable":"true"}},"analysis":{"filter":{"traceId_filter":{"type":"pattern_capture","preserve_original":"true","patterns":["([0-9a-f]{1,16})$"]}},"analyzer":{"traceId_analyzer":{"filter":"traceId_filter","type":"custom","tokenizer":"keyword"}}},"number_of_replicas":"","uuid":"DA4EumVSQLuMKHJASc8FAg","version":{"created":""}}}},"zipkin:span-2019-05-18":{"aliases":{},"mappings":{"_default_":{"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}]},"span":{"_source":{"excludes":["_q"]},"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}],"properties":{"_q":{"type":"keyword"},"annotations":{"type":"object","enabled":false},"duration":{"type":"long"},"id":{"type":"keyword","ignore_above":},"kind":{"type":"keyword","ignore_above":},"localEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"name":{"type":"keyword"},"parentId":{"type":"keyword","ignore_above":},"remoteEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"shared":{"type":"boolean"},"tags":{"type":"object","enabled":false},"timestamp":{"type":"long"},"timestamp_millis":{"type":"date","format":"epoch_millis"},"traceId":{"type":"keyword"}}}},"settings":{"index":{"number_of_shards":"","provided_name":"zipkin:span-2019-05-18","mapper":{"dynamic":"false"},"creation_date":"","requests":{"cache":{"enable":"true"}},"analysis":{"filter":{"traceId_filter":{"type":"pattern_capture","preserve_original":"true","patterns":["([0-9a-f]{1,16})$"]}},"analyzer":{"traceId_analyzer":{"filter":"traceId_filter","type":"custom","tokenizer":"keyword"}}},"number_of_replicas":"","uuid":"nTt8mxBBREGZSLYaAgDHdg","version":{"created":""}}}},"zipkin:span-2019-05-30":{"aliases":{},"mappings":{"_default_":{"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}]},"span":{"_source":{"excludes":["_q"]},"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}],"properties":{"_q":{"type":"keyword"},"annotations":{"type":"object","enabled":false},"duration":{"type":"long"},"id":{"type":"keyword","ignore_above":},"kind":{"type":"keyword","ignore_above":},"localEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"name":{"type":"keyword"},"parentId":{"type":"keyword","ignore_above":},"remoteEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"shared":{"type":"boolean"},"tags":{"type":"object","enabled":false},"timestamp":{"type":"long"},"timestamp_millis":{"type":"date","format":"epoch_millis"},"traceId":{"type":"keyword"}}}},"settings":{"index":{"number_of_shards":"","provided_name":"zipkin:span-2019-05-30","mapper":{"dynamic":"false"},"creation_date":"","requests":{"cache":{"enable":"true"}},"analysis":{"filter":{"traceId_filter":{"type":"pattern_capture","preserve_original":"true","patterns":["([0-9a-f]{1,16})$"]}},"analyzer":{"traceId_analyzer":{"filter":"traceId_filter","type":"custom","tokenizer":"keyword"}}},"number_of_replicas":"","uuid":"GIKXH6-KRn6PwC9PLiajow","version":{"created":""}}}},"zipkin:span-2019-05-24":{"aliases":{},"mappings":{"_default_":{"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}]},"span":{"_source":{"excludes":["_q"]},"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}],"properties":{"_q":{"type":"keyword"},"annotations":{"type":"object","enabled":false},"duration":{"type":"long"},"id":{"type":"keyword","ignore_above":},"kind":{"type":"keyword","ignore_above":},"localEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"name":{"type":"keyword"},"parentId":{"type":"keyword","ignore_above":},"remoteEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"shared":{"type":"boolean"},"tags":{"type":"object","enabled":false},"timestamp":{"type":"long"},"timestamp_millis":{"type":"date","format":"epoch_millis"},"traceId":{"type":"keyword"}}}},"settings":{"index":{"number_of_shards":"","provided_name":"zipkin:span-2019-05-24","mapper":{"dynamic":"false"},"creation_date":"","requests":{"cache":{"enable":"true"}},"analysis":{"filter":{"traceId_filter":{"type":"pattern_capture","preserve_original":"true","patterns":["([0-9a-f]{1,16})$"]}},"analyzer":{"traceId_analyzer":{"filter":"traceId_filter","type":"custom","tokenizer":"keyword"}}},"number_of_replicas":"","uuid":"HkktUXqPQKS8v02HoUUK6A","version":{"created":""}}}},"zipkin:span-2019-05-26":{"aliases":{},"mappings":{"_default_":{"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}]},"span":{"_source":{"excludes":["_q"]},"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}],"properties":{"_q":{"type":"keyword"},"annotations":{"type":"object","enabled":false},"duration":{"type":"long"},"id":{"type":"keyword","ignore_above":},"kind":{"type":"keyword","ignore_above":},"localEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"name":{"type":"keyword"},"parentId":{"type":"keyword","ignore_above":},"remoteEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"shared":{"type":"boolean"},"tags":{"type":"object","enabled":false},"timestamp":{"type":"long"},"timestamp_millis":{"type":"date","format":"epoch_millis"},"traceId":{"type":"keyword"}}}},"settings":{"index":{"number_of_shards":"","provided_name":"zipkin:span-2019-05-26","mapper":{"dynamic":"false"},"creation_date":"","requests":{"cache":{"enable":"true"}},"analysis":{"filter":{"traceId_filter":{"type":"pattern_capture","preserve_original":"true","patterns":["([0-9a-f]{1,16})$"]}},"analyzer":{"traceId_analyzer":{"filter":"traceId_filter","type":"custom","tokenizer":"keyword"}}},"number_of_replicas":"","uuid":"S0rpYwWjQf2t0gzcnBVZsQ","version":{"created":""}}}},"zipkin:span-2019-05-12":{"aliases":{},"mappings":{"_default_":{"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}]},"span":{"_source":{"excludes":["_q"]},"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}],"properties":{"_q":{"type":"keyword"},"annotations":{"type":"object","enabled":false},"duration":{"type":"long"},"id":{"type":"keyword","ignore_above":},"kind":{"type":"keyword","ignore_above":},"localEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"name":{"type":"keyword"},"parentId":{"type":"keyword","ignore_above":},"remoteEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"shared":{"type":"boolean"},"tags":{"type":"object","enabled":false},"timestamp":{"type":"long"},"timestamp_millis":{"type":"date","format":"epoch_millis"},"traceId":{"type":"keyword"}}}},"settings":{"index":{"number_of_shards":"","provided_name":"zipkin:span-2019-05-12","mapper":{"dynamic":"false"},"creation_date":"","requests":{"cache":{"enable":"true"}},"analysis":{"filter":{"traceId_filter":{"type":"pattern_capture","preserve_original":"true","patterns":["([0-9a-f]{1,16})$"]}},"analyzer":{"traceId_analyzer":{"filter":"traceId_filter","type":"custom","tokenizer":"keyword"}}},"number_of_replicas":"","uuid":"3I2mwfhjQ9un2x3qPzZ8Eg","version":{"created":""}}}},"zipkin:span-2019-05-29":{"aliases":{},"mappings":{"_default_":{"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}]},"span":{"_source":{"excludes":["_q"]},"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}],"properties":{"_q":{"type":"keyword"},"annotations":{"type":"object","enabled":false},"duration":{"type":"long"},"id":{"type":"keyword","ignore_above":},"kind":{"type":"keyword","ignore_above":},"localEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"name":{"type":"keyword"},"parentId":{"type":"keyword","ignore_above":},"remoteEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"shared":{"type":"boolean"},"tags":{"type":"object","enabled":false},"timestamp":{"type":"long"},"timestamp_millis":{"type":"date","format":"epoch_millis"},"traceId":{"type":"keyword"}}}},"settings":{"index":{"number_of_shards":"","provided_name":"zipkin:span-2019-05-29","mapper":{"dynamic":"false"},"creation_date":"","requests":{"cache":{"enable":"true"}},"analysis":{"filter":{"traceId_filter":{"type":"pattern_capture","preserve_original":"true","patterns":["([0-9a-f]{1,16})$"]}},"analyzer":{"traceId_analyzer":{"filter":"traceId_filter","type":"custom","tokenizer":"keyword"}}},"number_of_replicas":"","uuid":"5ghqkP85Sim1wOaQASou5Q","version":{"created":""}}}},"zipkin:span-2019-05-08":{"aliases":{},"mappings":{"_default_":{"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}]},"span":{"_source":{"excludes":["_q"]},"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}],"properties":{"_q":{"type":"keyword"},"annotations":{"type":"object","enabled":false},"duration":{"type":"long"},"id":{"type":"keyword","ignore_above":},"kind":{"type":"keyword","ignore_above":},"localEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"name":{"type":"keyword"},"parentId":{"type":"keyword","ignore_above":},"remoteEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"shared":{"type":"boolean"},"tags":{"type":"object","enabled":false},"timestamp":{"type":"long"},"timestamp_millis":{"type":"date","format":"epoch_millis"},"traceId":{"type":"keyword"}}}},"settings":{"index":{"number_of_shards":"","provided_name":"zipkin:span-2019-05-08","mapper":{"dynamic":"false"},"creation_date":"","requests":{"cache":{"enable":"true"}},"analysis":{"filter":{"traceId_filter":{"type":"pattern_capture","preserve_original":"true","patterns":["([0-9a-f]{1,16})$"]}},"analyzer":{"traceId_analyzer":{"filter":"traceId_filter","type":"custom","tokenizer":"keyword"}}},"number_of_replicas":"","uuid":"0Uw0KlpaRGGe-NUbwieMOg","version":{"created":""}}}},"zipkin:span-2019-05-07":{"aliases":{},"mappings":{"_default_":{"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}]},"span":{"_source":{"excludes":["_q"]},"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}],"properties":{"_q":{"type":"keyword"},"annotations":{"type":"object","enabled":false},"duration":{"type":"long"},"id":{"type":"keyword","ignore_above":},"kind":{"type":"keyword","ignore_above":},"localEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"name":{"type":"keyword"},"parentId":{"type":"keyword","ignore_above":},"remoteEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"shared":{"type":"boolean"},"tags":{"type":"object","enabled":false},"timestamp":{"type":"long"},"timestamp_millis":{"type":"date","format":"epoch_millis"},"traceId":{"type":"keyword"}}}},"settings":{"index":{"number_of_shards":"","provided_name":"zipkin:span-2019-05-07","mapper":{"dynamic":"false"},"creation_date":"","requests":{"cache":{"enable":"true"}},"analysis":{"filter":{"traceId_filter":{"type":"pattern_capture","preserve_original":"true","patterns":["([0-9a-f]{1,16})$"]}},"analyzer":{"traceId_analyzer":{"filter":"traceId_filter","type":"custom","tokenizer":"keyword"}}},"number_of_replicas":"","uuid":"s4kI-4-yTgOdSI04lG1sig","version":{"created":""}}}},"zipkin:span-2019-05-21":{"aliases":{},"mappings":{"_default_":{"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}]},"span":{"_source":{"excludes":["_q"]},"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}],"properties":{"_q":{"type":"keyword"},"annotations":{"type":"object","enabled":false},"duration":{"type":"long"},"id":{"type":"keyword","ignore_above":},"kind":{"type":"keyword","ignore_above":},"localEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"name":{"type":"keyword"},"parentId":{"type":"keyword","ignore_above":},"remoteEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"shared":{"type":"boolean"},"tags":{"type":"object","enabled":false},"timestamp":{"type":"long"},"timestamp_millis":{"type":"date","format":"epoch_millis"},"traceId":{"type":"keyword"}}}},"settings":{"index":{"number_of_shards":"","provided_name":"zipkin:span-2019-05-21","mapper":{"dynamic":"false"},"creation_date":"","requests":{"cache":{"enable":"true"}},"analysis":{"filter":{"traceId_filter":{"type":"pattern_capture","preserve_original":"true","patterns":["([0-9a-f]{1,16})$"]}},"analyzer":{"traceId_analyzer":{"filter":"traceId_filter","type":"custom","tokenizer":"keyword"}}},"number_of_replicas":"","uuid":"POPeTob8ROS42tRjZYbIWA","version":{"created":""}}}},"zipkin:span-2019-05-27":{"aliases":{},"mappings":{"_default_":{"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}]},"span":{"_source":{"excludes":["_q"]},"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}],"properties":{"_q":{"type":"keyword"},"annotations":{"type":"object","enabled":false},"duration":{"type":"long"},"id":{"type":"keyword","ignore_above":},"kind":{"type":"keyword","ignore_above":},"localEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"name":{"type":"keyword"},"parentId":{"type":"keyword","ignore_above":},"remoteEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"shared":{"type":"boolean"},"tags":{"type":"object","enabled":false},"timestamp":{"type":"long"},"timestamp_millis":{"type":"date","format":"epoch_millis"},"traceId":{"type":"keyword"}}}},"settings":{"index":{"number_of_shards":"","provided_name":"zipkin:span-2019-05-27","mapper":{"dynamic":"false"},"creation_date":"","requests":{"cache":{"enable":"true"}},"analysis":{"filter":{"traceId_filter":{"type":"pattern_capture","preserve_original":"true","patterns":["([0-9a-f]{1,16})$"]}},"analyzer":{"traceId_analyzer":{"filter":"traceId_filter","type":"custom","tokenizer":"keyword"}}},"number_of_replicas":"","uuid":"MtjUx-IyT62N6R9lIxMvLg","version":{"created":""}}}},"zipkin:span-2019-05-11":{"aliases":{},"mappings":{"_default_":{"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}]},"span":{"_source":{"excludes":["_q"]},"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}],"properties":{"_q":{"type":"keyword"},"annotations":{"type":"object","enabled":false},"duration":{"type":"long"},"id":{"type":"keyword","ignore_above":},"kind":{"type":"keyword","ignore_above":},"localEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"name":{"type":"keyword"},"parentId":{"type":"keyword","ignore_above":},"remoteEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"shared":{"type":"boolean"},"tags":{"type":"object","enabled":false},"timestamp":{"type":"long"},"timestamp_millis":{"type":"date","format":"epoch_millis"},"traceId":{"type":"keyword"}}}},"settings":{"index":{"number_of_shards":"","provided_name":"zipkin:span-2019-05-11","mapper":{"dynamic":"false"},"creation_date":"","requests":{"cache":{"enable":"true"}},"analysis":{"filter":{"traceId_filter":{"type":"pattern_capture","preserve_original":"true","patterns":["([0-9a-f]{1,16})$"]}},"analyzer":{"traceId_analyzer":{"filter":"traceId_filter","type":"custom","tokenizer":"keyword"}}},"number_of_replicas":"","uuid":"YwQJk4D8QR2ytYRtKwjIFw","version":{"created":""}}}},"zipkin:span-2019-05-04":{"aliases":{},"mappings":{"_default_":{"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}]},"span":{"_source":{"excludes":["_q"]},"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}],"properties":{"_q":{"type":"keyword"},"annotations":{"type":"object","enabled":false},"duration":{"type":"long"},"id":{"type":"keyword","ignore_above":},"kind":{"type":"keyword","ignore_above":},"localEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"name":{"type":"keyword"},"parentId":{"type":"keyword","ignore_above":},"remoteEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"shared":{"type":"boolean"},"tags":{"type":"object","enabled":false},"timestamp":{"type":"long"},"timestamp_millis":{"type":"date","format":"epoch_millis"},"traceId":{"type":"keyword"}}}},"settings":{"index":{"number_of_shards":"","provided_name":"zipkin:span-2019-05-04","mapper":{"dynamic":"false"},"creation_date":"","requests":{"cache":{"enable":"true"}},"analysis":{"filter":{"traceId_filter":{"type":"pattern_capture","preserve_original":"true","patterns":["([0-9a-f]{1,16})$"]}},"analyzer":{"traceId_analyzer":{"filter":"traceId_filter","type":"custom","tokenizer":"keyword"}}},"number_of_replicas":"","uuid":"DXWGYZtSTn-fh9zn-76UOQ","version":{"created":""}}}},"zipkin:span-2019-05-01":{"aliases":{},"mappings":{"_default_":{"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}]},"span":{"_source":{"excludes":["_q"]},"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}],"properties":{"_q":{"type":"keyword"},"annotations":{"type":"object","enabled":false},"duration":{"type":"long"},"id":{"type":"keyword","ignore_above":},"kind":{"type":"keyword","ignore_above":},"localEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"name":{"type":"keyword"},"parentId":{"type":"keyword","ignore_above":},"remoteEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"shared":{"type":"boolean"},"tags":{"type":"object","enabled":false},"timestamp":{"type":"long"},"timestamp_millis":{"type":"date","format":"epoch_millis"},"traceId":{"type":"keyword"}}}},"settings":{"index":{"number_of_shards":"","provided_name":"zipkin:span-2019-05-01","mapper":{"dynamic":"false"},"creation_date":"","requests":{"cache":{"enable":"true"}},"analysis":{"filter":{"traceId_filter":{"type":"pattern_capture","preserve_original":"true","patterns":["([0-9a-f]{1,16})$"]}},"analyzer":{"traceId_analyzer":{"filter":"traceId_filter","type":"custom","tokenizer":"keyword"}}},"number_of_replicas":"","uuid":"Mv-WZb0IQYeCk1QMw5dMqQ","version":{"created":""}}}},"zipkin:span-2019-05-14":{"aliases":{},"mappings":{"_default_":{"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}]},"span":{"_source":{"excludes":["_q"]},"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}],"properties":{"_q":{"type":"keyword"},"annotations":{"type":"object","enabled":false},"duration":{"type":"long"},"id":{"type":"keyword","ignore_above":},"kind":{"type":"keyword","ignore_above":},"localEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"name":{"type":"keyword"},"parentId":{"type":"keyword","ignore_above":},"remoteEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"shared":{"type":"boolean"},"tags":{"type":"object","enabled":false},"timestamp":{"type":"long"},"timestamp_millis":{"type":"date","format":"epoch_millis"},"traceId":{"type":"keyword"}}}},"settings":{"index":{"number_of_shards":"","provided_name":"zipkin:span-2019-05-14","mapper":{"dynamic":"false"},"creation_date":"","requests":{"cache":{"enable":"true"}},"analysis":{"filter":{"traceId_filter":{"type":"pattern_capture","preserve_original":"true","patterns":["([0-9a-f]{1,16})$"]}},"analyzer":{"traceId_analyzer":{"filter":"traceId_filter","type":"custom","tokenizer":"keyword"}}},"number_of_replicas":"","uuid":"s2lEueh5QbuXjydlsYr_xQ","version":{"created":""}}}},"zipkin:span-2019-05-02":{"aliases":{},"mappings":{"_default_":{"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}]},"span":{"_source":{"excludes":["_q"]},"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}],"properties":{"_q":{"type":"keyword"},"annotations":{"type":"object","enabled":false},"duration":{"type":"long"},"id":{"type":"keyword","ignore_above":},"kind":{"type":"keyword","ignore_above":},"localEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"name":{"type":"keyword"},"parentId":{"type":"keyword","ignore_above":},"remoteEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"shared":{"type":"boolean"},"tags":{"type":"object","enabled":false},"timestamp":{"type":"long"},"timestamp_millis":{"type":"date","format":"epoch_millis"},"traceId":{"type":"keyword"}}}},"settings":{"index":{"number_of_shards":"","provided_name":"zipkin:span-2019-05-02","mapper":{"dynamic":"false"},"creation_date":"","requests":{"cache":{"enable":"true"}},"analysis":{"filter":{"traceId_filter":{"type":"pattern_capture","preserve_original":"true","patterns":["([0-9a-f]{1,16})$"]}},"analyzer":{"traceId_analyzer":{"filter":"traceId_filter","type":"custom","tokenizer":"keyword"}}},"number_of_replicas":"","uuid":"vZ6LHawvTxiZuNkAEiN1LA","version":{"created":""}}}},"zipkin:span-2019-05-31":{"aliases":{},"mappings":{"_default_":{"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}]},"span":{"_source":{"excludes":["_q"]},"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}],"properties":{"_q":{"type":"keyword"},"annotations":{"type":"object","enabled":false},"duration":{"type":"long"},"id":{"type":"keyword","ignore_above":},"kind":{"type":"keyword","ignore_above":},"localEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"name":{"type":"keyword"},"parentId":{"type":"keyword","ignore_above":},"remoteEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"shared":{"type":"boolean"},"tags":{"type":"object","enabled":false},"timestamp":{"type":"long"},"timestamp_millis":{"type":"date","format":"epoch_millis"},"traceId":{"type":"keyword"}}}},"settings":{"index":{"number_of_shards":"","provided_name":"zipkin:span-2019-05-31","mapper":{"dynamic":"false"},"creation_date":"","requests":{"cache":{"enable":"true"}},"analysis":{"filter":{"traceId_filter":{"type":"pattern_capture","preserve_original":"true","patterns":["([0-9a-f]{1,16})$"]}},"analyzer":{"traceId_analyzer":{"filter":"traceId_filter","type":"custom","tokenizer":"keyword"}}},"number_of_replicas":"","uuid":"fCDTcTUHQ-Sk5mgjla53cQ","version":{"created":""}}}},"zipkin:span-2019-05-25":{"aliases":{},"mappings":{"_default_":{"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}]},"span":{"_source":{"excludes":["_q"]},"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}],"properties":{"_q":{"type":"keyword"},"annotations":{"type":"object","enabled":false},"duration":{"type":"long"},"id":{"type":"keyword","ignore_above":},"kind":{"type":"keyword","ignore_above":},"localEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"name":{"type":"keyword"},"parentId":{"type":"keyword","ignore_above":},"remoteEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"shared":{"type":"boolean"},"tags":{"type":"object","enabled":false},"timestamp":{"type":"long"},"timestamp_millis":{"type":"date","format":"epoch_millis"},"traceId":{"type":"keyword"}}}},"settings":{"index":{"number_of_shards":"","provided_name":"zipkin:span-2019-05-25","mapper":{"dynamic":"false"},"creation_date":"","requests":{"cache":{"enable":"true"}},"analysis":{"filter":{"traceId_filter":{"type":"pattern_capture","preserve_original":"true","patterns":["([0-9a-f]{1,16})$"]}},"analyzer":{"traceId_analyzer":{"filter":"traceId_filter","type":"custom","tokenizer":"keyword"}}},"number_of_replicas":"","uuid":"AeaMAKALTKOKNVlVwTFyBw","version":{"created":""}}}},"zipkin:span-2019-05-13":{"aliases":{},"mappings":{"_default_":{"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}]},"span":{"_source":{"excludes":["_q"]},"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}],"properties":{"_q":{"type":"keyword"},"annotations":{"type":"object","enabled":false},"duration":{"type":"long"},"id":{"type":"keyword","ignore_above":},"kind":{"type":"keyword","ignore_above":},"localEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"name":{"type":"keyword"},"parentId":{"type":"keyword","ignore_above":},"remoteEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"shared":{"type":"boolean"},"tags":{"type":"object","enabled":false},"timestamp":{"type":"long"},"timestamp_millis":{"type":"date","format":"epoch_millis"},"traceId":{"type":"keyword"}}}},"settings":{"index":{"number_of_shards":"","provided_name":"zipkin:span-2019-05-13","mapper":{"dynamic":"false"},"creation_date":"","requests":{"cache":{"enable":"true"}},"analysis":{"filter":{"traceId_filter":{"type":"pattern_capture","preserve_original":"true","patterns":["([0-9a-f]{1,16})$"]}},"analyzer":{"traceId_analyzer":{"filter":"traceId_filter","type":"custom","tokenizer":"keyword"}}},"number_of_replicas":"","uuid":"Og2H4NdCTHu7SJ0Fhn0aUg","version":{"created":""}}}},"zipkin:span-2019-05-09":{"aliases":{},"mappings":{"_default_":{"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}]},"span":{"_source":{"excludes":["_q"]},"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}],"properties":{"_q":{"type":"keyword"},"annotations":{"type":"object","enabled":false},"duration":{"type":"long"},"id":{"type":"keyword","ignore_above":},"kind":{"type":"keyword","ignore_above":},"localEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"name":{"type":"keyword"},"parentId":{"type":"keyword","ignore_above":},"remoteEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"shared":{"type":"boolean"},"tags":{"type":"object","enabled":false},"timestamp":{"type":"long"},"timestamp_millis":{"type":"date","format":"epoch_millis"},"traceId":{"type":"keyword"}}}},"settings":{"index":{"number_of_shards":"","provided_name":"zipkin:span-2019-05-09","mapper":{"dynamic":"false"},"creation_date":"","requests":{"cache":{"enable":"true"}},"analysis":{"filter":{"traceId_filter":{"type":"pattern_capture","preserve_original":"true","patterns":["([0-9a-f]{1,16})$"]}},"analyzer":{"traceId_analyzer":{"filter":"traceId_filter","type":"custom","tokenizer":"keyword"}}},"number_of_replicas":"","uuid":"UE7pzuPlSzexUKeqwIWe3A","version":{"created":""}}}},"zipkin:span-2019-05-19":{"aliases":{},"mappings":{"_default_":{"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}]},"span":{"_source":{"excludes":["_q"]},"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}],"properties":{"_q":{"type":"keyword"},"annotations":{"type":"object","enabled":false},"duration":{"type":"long"},"id":{"type":"keyword","ignore_above":},"kind":{"type":"keyword","ignore_above":},"localEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"name":{"type":"keyword"},"parentId":{"type":"keyword","ignore_above":},"remoteEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"shared":{"type":"boolean"},"tags":{"type":"object","enabled":false},"timestamp":{"type":"long"},"timestamp_millis":{"type":"date","format":"epoch_millis"},"traceId":{"type":"keyword"}}}},"settings":{"index":{"number_of_shards":"","provided_name":"zipkin:span-2019-05-19","mapper":{"dynamic":"false"},"creation_date":"","requests":{"cache":{"enable":"true"}},"analysis":{"filter":{"traceId_filter":{"type":"pattern_capture","preserve_original":"true","patterns":["([0-9a-f]{1,16})$"]}},"analyzer":{"traceId_analyzer":{"filter":"traceId_filter","type":"custom","tokenizer":"keyword"}}},"number_of_replicas":"","uuid":"mnuxi-pCRWOCmaSAarcv9A","version":{"created":""}}}},"zipkin:span-2019-05-22":{"aliases":{},"mappings":{"_default_":{"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}]},"span":{"_source":{"excludes":["_q"]},"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}],"properties":{"_q":{"type":"keyword"},"annotations":{"type":"object","enabled":false},"duration":{"type":"long"},"id":{"type":"keyword","ignore_above":},"kind":{"type":"keyword","ignore_above":},"localEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"name":{"type":"keyword"},"parentId":{"type":"keyword","ignore_above":},"remoteEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"shared":{"type":"boolean"},"tags":{"type":"object","enabled":false},"timestamp":{"type":"long"},"timestamp_millis":{"type":"date","format":"epoch_millis"},"traceId":{"type":"keyword"}}}},"settings":{"index":{"number_of_shards":"","provided_name":"zipkin:span-2019-05-22","mapper":{"dynamic":"false"},"creation_date":"","requests":{"cache":{"enable":"true"}},"analysis":{"filter":{"traceId_filter":{"type":"pattern_capture","preserve_original":"true","patterns":["([0-9a-f]{1,16})$"]}},"analyzer":{"traceId_analyzer":{"filter":"traceId_filter","type":"custom","tokenizer":"keyword"}}},"number_of_replicas":"","uuid":"Y_U9A0GlRiGTrrutCktTjQ","version":{"created":""}}}},"zipkin:span-2019-05-06":{"aliases":{},"mappings":{"_default_":{"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}]},"span":{"_source":{"excludes":["_q"]},"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}],"properties":{"_q":{"type":"keyword"},"annotations":{"type":"object","enabled":false},"duration":{"type":"long"},"id":{"type":"keyword","ignore_above":},"kind":{"type":"keyword","ignore_above":},"localEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"name":{"type":"keyword"},"parentId":{"type":"keyword","ignore_above":},"remoteEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"shared":{"type":"boolean"},"tags":{"type":"object","enabled":false},"timestamp":{"type":"long"},"timestamp_millis":{"type":"date","format":"epoch_millis"},"traceId":{"type":"keyword"}}}},"settings":{"index":{"number_of_shards":"","provided_name":"zipkin:span-2019-05-06","mapper":{"dynamic":"false"},"creation_date":"","requests":{"cache":{"enable":"true"}},"analysis":{"filter":{"traceId_filter":{"type":"pattern_capture","preserve_original":"true","patterns":["([0-9a-f]{1,16})$"]}},"analyzer":{"traceId_analyzer":{"filter":"traceId_filter","type":"custom","tokenizer":"keyword"}}},"number_of_replicas":"","uuid":"Zmc4lS3TSBSsC0FWPwgfZQ","version":{"created":""}}}},"zipkin:span-2019-05-17":{"aliases":{},"mappings":{"_default_":{"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}]},"span":{"_source":{"excludes":["_q"]},"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}],"properties":{"_q":{"type":"keyword"},"annotations":{"type":"object","enabled":false},"duration":{"type":"long"},"id":{"type":"keyword","ignore_above":},"kind":{"type":"keyword","ignore_above":},"localEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"name":{"type":"keyword"},"parentId":{"type":"keyword","ignore_above":},"remoteEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"shared":{"type":"boolean"},"tags":{"type":"object","enabled":false},"timestamp":{"type":"long"},"timestamp_millis":{"type":"date","format":"epoch_millis"},"traceId":{"type":"keyword"}}}},"settings":{"index":{"number_of_shards":"","provided_name":"zipkin:span-2019-05-17","mapper":{"dynamic":"false"},"creation_date":"","requests":{"cache":{"enable":"true"}},"analysis":{"filter":{"traceId_filter":{"type":"pattern_capture","preserve_original":"true","patterns":["([0-9a-f]{1,16})$"]}},"analyzer":{"traceId_analyzer":{"filter":"traceId_filter","type":"custom","tokenizer":"keyword"}}},"number_of_replicas":"","uuid":"ouXLBLzcRzaQMntB-4-6HA","version":{"created":""}}}},"zipkin:span-2019-05-05":{"aliases":{},"mappings":{"_default_":{"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}]},"span":{"_source":{"excludes":["_q"]},"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}],"properties":{"_q":{"type":"keyword"},"annotations":{"type":"object","enabled":false},"duration":{"type":"long"},"id":{"type":"keyword","ignore_above":},"kind":{"type":"keyword","ignore_above":},"localEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"name":{"type":"keyword"},"parentId":{"type":"keyword","ignore_above":},"remoteEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"shared":{"type":"boolean"},"tags":{"type":"object","enabled":false},"timestamp":{"type":"long"},"timestamp_millis":{"type":"date","format":"epoch_millis"},"traceId":{"type":"keyword"}}}},"settings":{"index":{"number_of_shards":"","provided_name":"zipkin:span-2019-05-05","mapper":{"dynamic":"false"},"creation_date":"","requests":{"cache":{"enable":"true"}},"analysis":{"filter":{"traceId_filter":{"type":"pattern_capture","preserve_original":"true","patterns":["([0-9a-f]{1,16})$"]}},"analyzer":{"traceId_analyzer":{"filter":"traceId_filter","type":"custom","tokenizer":"keyword"}}},"number_of_replicas":"","uuid":"53jChpIaSEGayhNqkifBhQ","version":{"created":""}}}},"zipkin:span-2019-05-23":{"aliases":{},"mappings":{"_default_":{"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}]},"span":{"_source":{"excludes":["_q"]},"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}],"properties":{"_q":{"type":"keyword"},"annotations":{"type":"object","enabled":false},"duration":{"type":"long"},"id":{"type":"keyword","ignore_above":},"kind":{"type":"keyword","ignore_above":},"localEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"name":{"type":"keyword"},"parentId":{"type":"keyword","ignore_above":},"remoteEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"shared":{"type":"boolean"},"tags":{"type":"object","enabled":false},"timestamp":{"type":"long"},"timestamp_millis":{"type":"date","format":"epoch_millis"},"traceId":{"type":"keyword"}}}},"settings":{"index":{"number_of_shards":"","provided_name":"zipkin:span-2019-05-23","mapper":{"dynamic":"false"},"creation_date":"","requests":{"cache":{"enable":"true"}},"analysis":{"filter":{"traceId_filter":{"type":"pattern_capture","preserve_original":"true","patterns":["([0-9a-f]{1,16})$"]}},"analyzer":{"traceId_analyzer":{"filter":"traceId_filter","type":"custom","tokenizer":"keyword"}}},"number_of_replicas":"","uuid":"TnHi92bKS62xWaanb1CNXw","version":{"created":""}}}},"zipkin:span-2019-05-03":{"aliases":{},"mappings":{"_default_":{"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}]},"span":{"_source":{"excludes":["_q"]},"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}],"properties":{"_q":{"type":"keyword"},"annotations":{"type":"object","enabled":false},"duration":{"type":"long"},"id":{"type":"keyword","ignore_above":},"kind":{"type":"keyword","ignore_above":},"localEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"name":{"type":"keyword"},"parentId":{"type":"keyword","ignore_above":},"remoteEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"shared":{"type":"boolean"},"tags":{"type":"object","enabled":false},"timestamp":{"type":"long"},"timestamp_millis":{"type":"date","format":"epoch_millis"},"traceId":{"type":"keyword"}}}},"settings":{"index":{"number_of_shards":"","provided_name":"zipkin:span-2019-05-03","mapper":{"dynamic":"false"},"creation_date":"","requests":{"cache":{"enable":"true"}},"analysis":{"filter":{"traceId_filter":{"type":"pattern_capture","preserve_original":"true","patterns":["([0-9a-f]{1,16})$"]}},"analyzer":{"traceId_analyzer":{"filter":"traceId_filter","type":"custom","tokenizer":"keyword"}}},"number_of_replicas":"","uuid":"-1kqkTeIS5KvlC9xE0Pvsw","version":{"created":""}}}},"zipkin:span-2019-05-16":{"aliases":{},"mappings":{"_default_":{"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}]},"span":{"_source":{"excludes":["_q"]},"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}],"properties":{"_q":{"type":"keyword"},"annotations":{"type":"object","enabled":false},"duration":{"type":"long"},"id":{"type":"keyword","ignore_above":},"kind":{"type":"keyword","ignore_above":},"localEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"name":{"type":"keyword"},"parentId":{"type":"keyword","ignore_above":},"remoteEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"shared":{"type":"boolean"},"tags":{"type":"object","enabled":false},"timestamp":{"type":"long"},"timestamp_millis":{"type":"date","format":"epoch_millis"},"traceId":{"type":"keyword"}}}},"settings":{"index":{"number_of_shards":"","provided_name":"zipkin:span-2019-05-16","mapper":{"dynamic":"false"},"creation_date":"","requests":{"cache":{"enable":"true"}},"analysis":{"filter":{"traceId_filter":{"type":"pattern_capture","preserve_original":"true","patterns":["([0-9a-f]{1,16})$"]}},"analyzer":{"traceId_analyzer":{"filter":"traceId_filter","type":"custom","tokenizer":"keyword"}}},"number_of_replicas":"","uuid":"VXNwgDd5QAOz9rGLRU3KOQ","version":{"created":""}}}}}

//查看到有很多 zipkin日志索引

获取当前索引

[root@ecs-- ~]$ curl localhost:/_cat/indices?v
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size
yellow open zipkin:span--- fCDTcTUHQ-Sk5mgjla53cQ .9mb .9mb
yellow open zipkin:span--- GIKXH6-KRn6PwC9PLiajow .7mb .7mb

查看具体一个

[root@ecs-- elasticsearch]# curl -XGET http://localhost:9200/[root@ecs-1559-0326389 elasticsearch]# curl -XGET http://localhost:9200/zipkin:span-2019-05-15
curl: () [globbing] error: bad range specification after pos
curl: () [globbing] unmatched close brace/bracket at pos
curl: () Could not resolve host: curl; Unknown error
{"zipkin:span-2019-05-15":{"aliases":{},"mappings":{"_default_":{"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}]},"span":{"_source":{"excludes":["_q"]},"dynamic_templates":[{"strings":{"match":"*","match_mapping_type":"string","mapping":{"ignore_above":,"norms":false,"type":"keyword"}}}],"properties":{"_q":{"type":"keyword"},"annotations":{"type":"object","enabled":false},"duration":{"type":"long"},"id":{"type":"keyword","ignore_above":},"kind":{"type":"keyword","ignore_above":},"localEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"name":{"type":"keyword"},"parentId":{"type":"keyword","ignore_above":},"remoteEndpoint":{"dynamic":"false","properties":{"serviceName":{"type":"keyword"}}},"shared":{"type":"boolean"},"tags":{"type":"object","enabled":false},"timestamp":{"type":"long"},"timestamp_millis":{"type":"date","format":"epoch_millis"},"traceId":{"type":"keyword"}}}},"settings":{"index":{"number_of_shards":"","provided_name":"zipkin:span-2019-05-15","mapper":{"dynamic":"false"},"creation_date":"","requests":{"cache":{"enable":"true"}},"analysis":{"filter":{"traceId_filter":{"type":"pattern_capture","preserve_original":"true","patterns":["([0-9a-f]{1,16})$"]}},"analyzer":{"traceId_analyzer":{"filter":"traceId_filter","type":"custom","tokenizer":"keyword"}}},"number_of_replicas":"","uuid":"vqVhABYrRhSuJi-7trCVNA","version":{"created":""}}}}}

2.删除索引

[root@ecs-- elasticsearch]# curl -XDELETE http://localhost:9200/zipkin:span-2019-01*
{"acknowledged":true}
[root@ecs-- elasticsearch]# curl -XDELETE http://localhost:9200/zipkin:span-2019-02*
{"acknowledged":true}
[root@ecs-- elasticsearch]# curl -XDELETE http://localhost:9200/zipkin:span-2019-03*
{"acknowledged":true}
[root@ecs-- elasticsearch]# curl -XDELETE http://localhost:9200/zipkin:span-2019-04*
{"acknowledged":true}
[root@ecs-- elasticsearch]# curl -XDELETE http://localhost:9200/zipkin:span-2019-05-1*
{"acknowledged":true}
[root@ecs-- elasticsearch]# curl -XDELETE http://localhost:9200/zipkin:span-2019-05-2*
{"acknowledged":true}

使用通配符,删除所有的索引

[root@ecs-- elasticsearch]# curl -XDELETE http://localhost:9200/_all

[root@ecs-- elasticsearch]# curl -XDELETE http://localhost:9200/*
// _all ,* 通配所有的索引
// 通常不建议使用通配符,误删了后果就很严重了,所有的index都被删除了
// 禁止通配符为了安全起见,可以在elasticsearch.yml配置文件中设置禁用_all和*通配符
// action.destructive_requires_name = true
// 这样就不能使用_all和*了

3.设置定时删除,下面是保留5天的日志

30 2 * * * /usr/bin/curl -XDELETE -u elastic:lin http://localhost:9200/*-$(date -d '-5days' +'%Y-%m-%d') >/dev/null 2>&1

30 2 * * * /usr/bin/curl -XDELETE http://localhost:9200/*-$(date -d '-5days' +'%Y-%m-%d') >/dev/null 2>&1

[root@ecs-- ~]$ vim del-elasticsearch.sh
#!/bin/bash
time=$(date -d '-5days' +'%Y-%m-%d')
curl -XDELETE -u elastic:lin http://localhost:9200/*-${time}

Elasticsearch日志之删除索引的更多相关文章

  1. Elasticsearch之curl删除索引库

    关于curl创建索引库的介绍,请移步 Elasticsearch之curl创建索引库 [hadoop@djt002 elasticsearch-2.4.3]$ curl -XPUT 'http://1 ...

  2. elasticsearch 常用查询 + 删除索引 + 集群状态诊断

    1.多条件查询 curl -X POST \ http://10.0.0.42:9200/addressbook_user/_search \ -H 'cache-control: no-cache' ...

  3. Elasticsearch之curl删除

    扩展下, Elasticsearch之curl删除索引库 [hadoop@djt002 elasticsearch-2.4.3]$ curl -XDELETE 'http://192.168.80.2 ...

  4. liunx 使用crontab定时任务+shell脚本删除tomcat日志elasticsearch日志索引

    由于过多的日志很占用磁盘空间,今天经理让我写一个脚本删除多余的日志.和es索引 定时删除试根据crontab+shell脚本实现的 crontab配置目录 /var/spool/cron/ 该目录下存 ...

  5. ElasticSearch.net NEST批量创建修改删除索引完整示例

    本示例采用Elasticsearch+Nest 网上查了很多资料,发现用C#调用Elasticsearch搜索引擎的功能代码很分散,功能不完整,多半是非常简单的操作,没有成型的应用示例.比如新增或修改 ...

  6. elasticsearch删除索引报错【原】

    如果elasticsearch删除索引报错 curl -X DELETE 'http://10.73.26.66:9200/httpd-34-2017.08.15' {"error" ...

  7. ELK之elasticsearch删除索引

    参考文档:https://www.cnblogs.com/Dev0ps/p/9493576.html elasticsearch使用时间久了会产生大量索引占用磁盘空间,可以删除索引来释放 查看当前所有 ...

  8. Elasticsearch 使用集群 - 删除索引

    章节 Elasticsearch 基本概念 Elasticsearch 安装 Elasticsearch 使用集群 Elasticsearch 健康检查 Elasticsearch 列出索引 Elas ...

  9. Elasticsearch之增加和删除索引

    增加索引 利用postMan工具发送restfulAPI添加索引库 请求方式为put代表添加 创建索引index时映射mapping 请求URL: 使用put发送http://localhost:92 ...

随机推荐

  1. HTML5和CSS3工具资源汇总

    HTML5 & CSS3 准备就绪 该网站通过扇形图表的形式展现了从08年到10年以来各大浏览器对HTML5和CSS3的支持情况.发展势头还是很可观的. HTML5安全手册 CSS3按钮生成器 ...

  2. Spring案例1出纯注解开机

    配置QueryRunner对象:注解说明 package cn.mepu.config; import org.apache.commons.dbutils.QueryRunner; import o ...

  3. Java new和getInstance

    下面是一个例子,为什么要把这个类实例化?有什么好处? //实例化 public static DBConnect instance; public static DBConnect getInstan ...

  4. spring mvc hibernate spring 整合的增删改查+后台校验+bootstrap

    整合之前先知道大概的思路,首先要知道每个框架的重点要点. 1.首先我们从数据库开始 --创建数据库 create database gs --创建表 create table food ( id ,) ...

  5. Python查看对象属性的方法

    帮助https://docs.python.org/2/library/functions.html dir() 函数 D:\pythontest>python Python (v3. , :: ...

  6. 显示所有用户,mysql的基本操作

    可以实现显示数据库中所有用户. select user from mysql.user; select user,host,password from mysql.user;   给表创建用户,授权: ...

  7. IIS反向代理解决Web前端跨域

    1.1 IIS7反向代理解决跨域问题IIS的版本必须是IIS7及其以上,否则没有反向代理功能:按照以下步骤来配置IIS,以实现反向代理: 1.2 配置步骤1. 下载安装ARR(Application ...

  8. easyUI tabs 显示与隐藏 tab 页

    隐藏: tab_option = $('#tabs').tabs('getTab'," 单位信息 ").panel('options').tab; tab_option.hide( ...

  9. java时间工具类,时间相互转换

    /* * @author XueWeiWei * @date 2019/8/26 16:22 */ package com.nps.utils; import java.text.ParseExcep ...

  10. EasyMock添加行为

    EasyMock使用expect()方法或expectLassCall()方法添加一个功能,一个模拟对象.请看下面的代码片段. 1 //add the behavior of calc service ...