ES操作整理

摘要:
http://43.254.1.21:31074/resource_index/_mapping?pretty=truehttp://43.254.1.21:31074/resource_index/_searchhttp://43.254.1.21:31074/EShttp默认端口号为9200,ES为K8s有状态应用程序映射的端口号为31130

http://43.254.1.21:31074/resource_index/_mapping?pretty=true
http://43.254.1.21:31074/resource_index/_search
http://43.254.1.21:31074/

ES http端口号默认为9200,k8s有状态应用ES映射的端口号为31130

使用elasticsearch-head方便网页界面浏览

1.根据条件查询es
POST http://117.78.43.65:31130/resource_index/_search
param:
{"query":{"bool":{"must":[],"must_not":[],"should":[{"term":{"globalThirdLevel.keyword":"CEC-CSR-ECS-HW"}}]}},"from":0,"size":10,"sort":[],"aggs":{}}
result:
{"took":1,"timed_out":false,"_shards":{"total":1,"successful":1,"skipped":0,"failed":0},"hits":{"total":{"value":1,"relation":"eq"},"max_score":1.3862944,"hits":[{"_index":"resource_index","_type":"_doc","_id":"59998448837320704","_score":1.3862944,"_source":{"IS_DELETED":0,"globalSubordinateAccount":"cost-test","globalThirdLevel":"CEC-CSR-ECS-HW","ecsRam":"2G","globalSubordinateProject":"-1","templateId":"57449504168984576","globalConfigurationDesc":"ecs-域控","globalCloudServerType":"hws.service.type.ec2","globalSubordinateArea":"华北","ecsOperatingSystem":"Windows","globalStatus":"ACTIVE","ecsSecurityGroup":"知识社区 sg-zabbix监","ecsCpu":"2vcpus","ecsImage":"Windows Server Standard 2008 R2 64bit","globalSubordinateTenant":"49138375780925440","id":"59998448837320704","globalChargingMode":"包周期","globalSubordinateOrder":"CS20041710262YDUL","globalSecondLevel":57447078053527552,"ecsAgentVersion":"-1","globalCreateTime":"1516982400000","globalHealthStatus":"5","globalSubordinateDepartment":"-1","resource_code":"002a1575-6d09-4504-bf60-c738c639c114","ecsNetworkCard":"192.168.1.38 117.78.38.21","globalResourceType":"hws.resource.type.vm","globalConfigurationCode":"002a1575-6d09-4504-bf60-c738c639c114","globalEndTime":"1590508799000","ecsSpec":"c1.large|2vcpus|2G","globalConfigurationName":"ecs-知识社区域控-CSIT38","ecsUsableArea":"-1","ecsStartTime":"1492388094000","ecsIntranetIp":"192.168.1.3","globalFirstLevel":57446491085848576}}]}}

2.查询所有数据,分页第一页
POST http://117.78.43.65:31130/resource_index/_search
param:
{"query":{"bool":{"must":[{"match_all":{}}],"must_not":[],"should":[]}},"from":0,"size":10,"sort":[],"aggs":{}}
result:
{"took":1,"timed_out":false,"_shards":{"total":1,"successful":1,"skipped":0,"failed":0},"hits":{"total":{"value":5,"relation":"eq"},"max_score":1.0,"hits":[{"_index":"resource_index","_type":"_doc","_id":"59998448837320704","_score":1.0,"_source":{"IS_DELETED":0,"globalSubordinateAccount":"cost-test","globalThirdLevel":"CEC-CSR-ECS-HW","ecsRam":"2G","globalSubordinateProject":"-1","templateId":"57449504168984576","globalConfigurationDesc":"ecs-域控","globalCloudServerType":"hws.service.type.ec2","globalSubordinateArea":"华北","ecsOperatingSystem":"Windows","globalStatus":"ACTIVE","ecsSecurityGroup":"知识社区 sg-zabbix监","ecsCpu":"2vcpus","ecsImage":"Windows Server Standard 2008 R2 64bit","globalSubordinateTenant":"49138375780925440","id":"59998448837320704","globalChargingMode":"包周期","globalSubordinateOrder":"CS20041710262YDUL","globalSecondLevel":57447078053527552,"ecsAgentVersion":"-1","globalCreateTime":"1516982400000","globalHealthStatus":"5","globalSubordinateDepartment":"-1","resource_code":"002a1575-6d09-4504-bf60-c738c639c114","ecsNetworkCard":"192.168.1.38 117.78.38.21","globalResourceType":"hws.resource.type.vm","globalConfigurationCode":"002a1575-6d09-4504-bf60-c738c639c114","globalEndTime":"1590508799000","ecsSpec":"c1.large|2vcpus|2G","globalConfigurationName":"ecs-知识社区域控-CSIT38","ecsUsableArea":"-1","ecsStartTime":"1492388094000","ecsIntranetIp":"192.168.1.3","globalFirstLevel":57446491085848576}},{"_index":"resource_index","_type":"_doc","_id":"59998449915256832","_score":1.0,"_source":{"IS_DELETED":0,"globalSubordinateAccount":"cost-test","evsShareDisk":"false","globalThirdLevel":"CST-CHR-EVS-HW","globalSubordinateProject":"-1","templateId":"57449642228695040","globalConfigurationDesc":"-1","globalCloudServerType":"hws.service.type.ec2","globalSubordinateArea":"华北","evsMountPoint":"002a1575-6d09-4504-bf60-c738c639c114-sda","globalStatus":"in-use","globalSubordinateTenant":"49138375780925440","evsDiskAttribute":"系统盘","evsVolume":"40","id":"59998449915256832","globalChargingMode":"包周期","globalSubordinateOrder":"-1","globalSecondLevel":57447273931718656,"evsDiskType":"SATA","globalCreateTime":"1516982400000","globalHealthStatus":"5","globalSubordinateDepartment":"-1","resource_code":"e0ff554d-5c50-437d-a78e-32e717063331","globalResourceType":"hws.resource.type.volume","globalConfigurationCode":"e0ff554d-5c50-437d-a78e-32e717063331","globalEndTime":"1590508799000","evsUsableZone":"-1","evsImage":"Windows Server Standard 2008 R2 64bit","globalConfigurationName":"ecs-域控-volume-0000","evsSourceSnapshotId":"-1","evsEncryption":"不加密","globalFirstLevel":57446574011432960,"evsDIskModel":"VBD"}},{"_index":"resource_index","_type":"_doc","_id":"59998450456322048","_score":1.0,"_source":{"IS_DELETED":0,"globalSubordinateAccount":"cost-test","evsShareDisk":"false","globalThirdLevel":"CST-CHR-EVS-HW","globalSubordinateProject":"-1","templateId":"57449642228695040","globalConfigurationDesc":"-1","globalCloudServerType":"hws.service.type.ec2","globalSubordinateArea":"华北","evsMountPoint":"002a1575-6d09-4504-bf60-c738c639c114-sde","globalStatus":"in-use","globalSubordinateTenant":"49138375780925440","evsDiskAttribute":"系统盘","evsVolume":"100","id":"59998450456322048","globalChargingMode":"包周期","globalSubordinateOrder":"-1","globalSecondLevel":57447273931718656,"evsDiskType":"SATA","globalCreateTime":"1516982400000","globalHealthStatus":"5","globalSubordinateDepartment":"-1","resource_code":"eedc99cb-9ff4-4e5f-9b16-ff29d32f0b27","globalResourceType":"hws.resource.type.volume","globalConfigurationCode":"eedc99cb-9ff4-4e5f-9b16-ff29d32f0b27","globalEndTime":"1590508799000","evsUsableZone":"-1","evsImage":"-1","globalConfigurationName":"ecs-域控-volume-0001","evsSourceSnapshotId":"-1","evsEncryption":"不加密","globalFirstLevel":57446574011432960,"evsDIskModel":"VBD"}},{"_index":"resource_index","_type":"_doc","_id":"59998450607316992","_score":1.0,"_source":{"IS_DELETED":0,"globalSubordinateAccount":"cost-test","vpcNumber":"4","globalThirdLevel":"CNT-VPC-VPC-HW","globalSubordinateProject":"-1","templateId":"57451416226349056","globalConfigurationDesc":"-1","globalCloudServerType":"hws.service.type.vpc","globalSubordinateArea":"华北","globalStatus":"OK","globalSubordinateTenant":"49138375780925440","id":"59998450607316992","globalChargingMode":"按需","globalSubordinateOrder":"-1","globalSecondLevel":57447970702082048,"globalCreateTime":"1587607120000","globalHealthStatus":"5","vpcRoutingTable":"0.0.0.0/0|192.168.1.1","globalSubordinateDepartment":"-1","resource_code":"4a881866-36bc-4f96-9789-463140f274d7","globalResourceType":"hws.resource.type.vpc","globalConfigurationCode":"4a881866-36bc-4f96-9789-463140f274d7","globalEndTime":"-1","vpcList":"subnet-外部安全区|192.168.0.0/24 subnet-华为共有云|192.168.100.0/24 subnet-yfyjfgl|192.168.3.0/24 subnet-9881|192.168.1.0/2","globalConfigurationName":"vpc-9881","vpcNetworkSegment":"192.168.0.0/16","globalFirstLevel":57446828777652224}},{"_index":"resource_index","_type":"_doc","_id":"59998450913501184","_score":1.0,"_source":{"globalSecondLevel":57448030202478592,"globalCreateTime":"1476665018000","globalHealthStatus":"5","IS_DELETED":0,"globalSubordinateAccount":"cost-test","globalSubordinateDepartment":"-1","resource_code":"d5326fe3-dc56-477b-9c85-9e94b50c8621","globalResourceType":"hws.resource.type.ip","globalConfigurationCode":"d5326fe3-dc56-477b-9c85-9e94b50c8621","globalThirdLevel":"CNT-EIP-EIP-HW","globalSubordinateProject":"-1","globalEndTime":"-1","templateId":"57451534753185792","globalConfigurationDesc":"-1","globalCloudServerType":"hws.service.type.vpc","globalSubordinateArea":"华北","globalStatus":"ACTIVE","globalConfigurationName":"117.78.38.216","globalSubordinateTenant":"49138375780925440","id":"59998450913501184","globalChargingMode":"按需","ipType":"5_bgp","globalFirstLevel":57446828777652224,"globalSubordinateOrder":"-1"}}]}}


3.GET http://117.78.43.65:31130/_cluster/health
{"cluster_name":"es","status":"yellow","timed_out":false,"number_of_nodes":1,"number_of_data_nodes":1,"active_primary_shards":3,"active_shards":3,"relocating_shards":0,"initializing_shards":0,"unassigned_shards":3,"delayed_unassigned_shards":0,"number_of_pending_tasks":0,"number_of_in_flight_fetch":0,"task_max_waiting_in_queue_millis":0,"active_shards_percent_as_number":50.0}

4.GET http://117.78.43.65:31130/_nodes
{"_nodes":{"total":1,"successful":1,"failed":0},"cluster_name":"es","nodes":{"37osvvOCQSSsusw-uC2hTg":{"name":"node-1","transport_address":"127.0.0.1:9300","host":"127.0.0.1","ip":"127.0.0.1","version":"7.5.2","build_flavor":"default","build_type":"docker","build_hash":"8bec50e1e0ad29dad5653712cf3bb580cd1afcdf","total_indexing_buffer":105630924,"roles":["ingest","master","data","ml"],"attributes":{"ml.machine_memory":"2147483648","xpack.installed":"true","ml.max_open_jobs":"20"},"settings":{"cluster":{"initial_master_nodes":["node-1"],"name":"es","election":{"strategy":"supports_voting_only"}},"node":{"attr":{"xpack":{"installed":"true"},"ml":{"machine_memory":"2147483648","max_open_jobs":"20"}},"name":"node-1"},"path":{"logs":"/usr/share/elasticsearch/logs","home":"/usr/share/elasticsearch"},"client":{"type":"node"},"http":{"type":"security4","cors":{"allow-origin":"*","enabled":"true"},"type.default":"netty4"},"transport":{"type":"security4","features":{"x-pack":"true"},"type.default":"netty4"},"network":{"bind_host":"0.0.0.0"}},"os":{"refresh_interval_in_millis":1000,"name":"Linux","pretty_name":"CentOS Linux 7 (Core)","arch":"amd64","version":"3.10.0-693.11.1.el7.x86_64","available_processors":2,"allocated_processors":2},"process":{"refresh_interval_in_millis":1000,"id":1,"mlockall":false},"jvm":{"pid":1,"version":"13.0.1","vm_name":"OpenJDK 64-Bit Server VM","vm_version":"13.0.1+9","vm_vendor":"AdoptOpenJDK","bundled_jdk":true,"using_bundled_jdk":true,"start_time_in_millis":1587607261077,"mem":{"heap_init_in_bytes":1073741824,"heap_max_in_bytes":1056309248,"non_heap_init_in_bytes":7667712,"non_heap_max_in_bytes":0,"direct_max_in_bytes":0},"gc_collectors":["ParNew","ConcurrentMarkSweep"],"memory_pools":["CodeHeap 'non-nmethods'","Metaspace","CodeHeap 'profiled nmethods'","Compressed Class Space","Par Eden Space","Par Survivor Space","CodeHeap 'non-profiled nmethods'","CMS Old Gen"],"using_compressed_ordinary_object_pointers":"true","input_arguments":["-Des.networkaddress.cache.ttl=60","-Des.networkaddress.cache.negative.ttl=10","-XX:+AlwaysPreTouch","-Xss1m","-Djava.awt.headless=true","-Dfile.encoding=UTF-8","-Djna.nosys=true","-XX:-OmitStackTraceInFastThrow","-Dio.netty.noUnsafe=true","-Dio.netty.noKeySetOptimization=true","-Dio.netty.recycler.maxCapacityPerThread=0","-Dio.netty.allocator.numDirectArenas=0","-Dlog4j.shutdownHookEnabled=false","-Dlog4j2.disable.jmx=true","-Djava.locale.providers=COMPAT","-Xms1g","-Xmx1g","-XX:+UseConcMarkSweepGC","-XX:CMSInitiatingOccupancyFraction=75","-XX:+UseCMSInitiatingOccupancyOnly","-Djava.io.tmpdir=/tmp/elasticsearch-17402397512386738811","-XX:+HeapDumpOnOutOfMemoryError","-XX:HeapDumpPath=data","-XX:ErrorFile=logs/hs_err_pid%p.log","-Xlog:gc*,gc+age=trace,safepoint:file=logs/gc.log:utctime,pid,tags:filecount=32,filesize=64m","-Des.cgroups.hierarchy.override=/","-XX:MaxDirectMemorySize=536870912","-Des.path.home=/usr/share/elasticsearch","-Des.path.conf=/usr/share/elasticsearch/config","-Des.distribution.flavor=default","-Des.distribution.type=docker","-Des.bundled_jdk=true"]},"thread_pool":{"watcher":{"type":"fixed","size":10,"queue_size":1000},"force_merge":{"type":"fixed","size":1,"queue_size":-1},"security-token-key":{"type":"fixed","size":1,"queue_size":1000},"ml_datafeed":{"type":"scaling","core":1,"max":512,"keep_alive":"1m","queue_size":-1},"fetch_shard_started":{"type":"scaling","core":1,"max":4,"keep_alive":"5m","queue_size":-1},"listener":{"type":"fixed","size":1,"queue_size":-1},"refresh":{"type":"scaling","core":1,"max":1,"keep_alive":"5m","queue_size":-1},"generic":{"type":"scaling","core":4,"max":128,"keep_alive":"30s","queue_size":-1},"rollup_indexing":{"type":"fixed","size":4,"queue_size":4},"warmer":{"type":"scaling","core":1,"max":1,"keep_alive":"5m","queue_size":-1},"search":{"type":"fixed_auto_queue_size","size":4,"queue_size":1000},"ccr":{"type":"fixed","size":32,"queue_size":100},"flush":{"type":"scaling","core":1,"max":1,"keep_alive":"5m","queue_size":-1},"fetch_shard_store":{"type":"scaling","core":1,"max":4,"keep_alive":"5m","queue_size":-1},"management":{"type":"scaling","core":1,"max":5,"keep_alive":"5m","queue_size":-1},"ml_utility":{"type":"scaling","core":1,"max":2048,"keep_alive":"10m","queue_size":-1},"get":{"type":"fixed","size":2,"queue_size":1000},"analyze":{"type":"fixed","size":1,"queue_size":16},"ml_job_comms":{"type":"scaling","core":4,"max":2048,"keep_alive":"1m","queue_size":-1},"transform_indexing":{"type":"fixed","size":4,"queue_size":4},"write":{"type":"fixed","size":2,"queue_size":200},"snapshot":{"type":"scaling","core":1,"max":1,"keep_alive":"5m","queue_size":-1},"search_throttled":{"type":"fixed_auto_queue_size","size":1,"queue_size":100}},"transport":{"bound_address":["0.0.0.0:9300"],"publish_address":"127.0.0.1:9300","profiles":{}},"http":{"bound_address":["0.0.0.0:9200"],"publish_address":"127.0.0.1:9200","max_content_length_in_bytes":104857600},"plugins":[{"name":"analysis-ik","version":"7.5.1","elasticsearch_version":"7.5.2","java_version":"1.8","description":"IK Analyzer for Elasticsearch","classname":"org.elasticsearch.plugin.analysis.ik.AnalysisIkPlugin","extended_plugins":[],"has_native_controller":false}],"modules":[{"name":"aggs-matrix-stats","version":"7.5.2","elasticsearch_version":"7.5.2","java_version":"1.8","description":"Adds aggregations whose input are a list of numeric fields and output includes a matrix.","classname":"org.elasticsearch.search.aggregations.matrix.MatrixAggregationPlugin","extended_plugins":[],"has_native_controller":false},{"name":"analysis-common","version":"7.5.2","elasticsearch_version":"7.5.2","java_version":"1.8","description":"Adds "built in" analyzers to Elasticsearch.","classname":"org.elasticsearch.analysis.common.CommonAnalysisPlugin","extended_plugins":["lang-painless"],"has_native_controller":false},{"name":"flattened","version":"7.5.2","elasticsearch_version":"7.5.2","java_version":"1.8","description":"Module for the flattened field type, which allows JSON objects to be flattened into a single field.","classname":"org.elasticsearch.xpack.flattened.FlattenedMapperPlugin","extended_plugins":["x-pack-core"],"has_native_controller":false},{"name":"frozen-indices","version":"7.5.2","elasticsearch_version":"7.5.2","java_version":"1.8","description":"A plugin for the frozen indices functionality","classname":"org.elasticsearch.xpack.frozen.FrozenIndices","extended_plugins":["x-pack-core"],"has_native_controller":false},{"name":"ingest-common","version":"7.5.2","elasticsearch_version":"7.5.2","java_version":"1.8","description":"Module for ingest processors that do not require additional security permissions or have large dependencies and resources","classname":"org.elasticsearch.ingest.common.IngestCommonPlugin","extended_plugins":["lang-painless"],"has_native_controller":false},{"name":"ingest-geoip","version":"7.5.2","elasticsearch_version":"7.5.2","java_version":"1.8","description":"Ingest processor that uses looksup geo data based on ip adresses using the Maxmind geo database","classname":"org.elasticsearch.ingest.geoip.IngestGeoIpPlugin","extended_plugins":[],"has_native_controller":false},{"name":"ingest-user-agent","version":"7.5.2","elasticsearch_version":"7.5.2","java_version":"1.8","description":"Ingest processor that extracts information from a user agent","classname":"org.elasticsearch.ingest.useragent.IngestUserAgentPlugin","extended_plugins":[],"has_native_controller":false},{"name":"lang-expression","version":"7.5.2","elasticsearch_version":"7.5.2","java_version":"1.8","description":"Lucene expressions integration for Elasticsearch","classname":"org.elasticsearch.script.expression.ExpressionPlugin","extended_plugins":[],"has_native_controller":false},{"name":"lang-mustache","version":"7.5.2","elasticsearch_version":"7.5.2","java_version":"1.8","description":"Mustache scripting integration for Elasticsearch","classname":"org.elasticsearch.script.mustache.MustachePlugin","extended_plugins":[],"has_native_controller":false},{"name":"lang-painless","version":"7.5.2","elasticsearch_version":"7.5.2","java_version":"1.8","description":"An easy, safe and fast scripting language for Elasticsearch","classname":"org.elasticsearch.painless.PainlessPlugin","extended_plugins":[],"has_native_controller":false},{"name":"mapper-extras","version":"7.5.2","elasticsearch_version":"7.5.2","java_version":"1.8","description":"Adds advanced field mappers","classname":"org.elasticsearch.index.mapper.MapperExtrasPlugin","extended_plugins":[],"has_native_controller":false},{"name":"parent-join","version":"7.5.2","elasticsearch_version":"7.5.2","java_version":"1.8","description":"This module adds the support parent-child queries and aggregations","classname":"org.elasticsearch.join.ParentJoinPlugin","extended_plugins":[],"has_native_controller":false},{"name":"percolator","version":"7.5.2","elasticsearch_version":"7.5.2","java_version":"1.8","description":"Percolator module adds capability to index queries and query these queries by specifying documents","classname":"org.elasticsearch.percolator.PercolatorPlugin","extended_plugins":[],"has_native_controller":false},{"name":"rank-eval","version":"7.5.2","elasticsearch_version":"7.5.2","java_version":"1.8","description":"The Rank Eval module adds APIs to evaluate ranking quality.","classname":"org.elasticsearch.index.rankeval.RankEvalPlugin","extended_plugins":[],"has_native_controller":false},{"name":"reindex","version":"7.5.2","elasticsearch_version":"7.5.2","java_version":"1.8","description":"The Reindex module adds APIs to reindex from one index to another or update documents in place.","classname":"org.elasticsearch.index.reindex.ReindexPlugin","extended_plugins":[],"has_native_controller":false},{"name":"repository-url","version":"7.5.2","elasticsearch_version":"7.5.2","java_version":"1.8","description":"Module for URL repository","classname":"org.elasticsearch.plugin.repository.url.URLRepositoryPlugin","extended_plugins":[],"has_native_controller":false},{"name":"search-business-rules","version":"7.5.2","elasticsearch_version":"7.5.2","java_version":"1.8","description":"A plugin for applying business rules to search result rankings","classname":"org.elasticsearch.xpack.searchbusinessrules.SearchBusinessRules","extended_plugins":["x-pack-core"],"has_native_controller":false},{"name":"spatial","version":"7.5.2","elasticsearch_version":"7.5.2","java_version":"1.8","description":"A plugin for Basic Spatial features","classname":"org.elasticsearch.xpack.spatial.SpatialPlugin","extended_plugins":["x-pack-core"],"has_native_controller":false},{"name":"transform","version":"7.5.2","elasticsearch_version":"7.5.2","java_version":"1.8","description":"A plugin to transform data","classname":"org.elasticsearch.xpack.transform.Transform","extended_plugins":["x-pack-core"],"has_native_controller":false},{"name":"transport-netty4","version":"7.5.2","elasticsearch_version":"7.5.2","java_version":"1.8","description":"Netty 4 based transport implementation","classname":"org.elasticsearch.transport.Netty4Plugin","extended_plugins":[],"has_native_controller":false},{"name":"vectors","version":"7.5.2","elasticsearch_version":"7.5.2","java_version":"1.8","description":"A plugin for working with vectors","classname":"org.elasticsearch.xpack.vectors.Vectors","extended_plugins":["x-pack-core","lang-painless"],"has_native_controller":false},{"name":"x-pack-analytics","version":"7.5.2","elasticsearch_version":"7.5.2","java_version":"1.8","description":"Elasticsearch Expanded Pack Plugin - Analytics","classname":"org.elasticsearch.xpack.analytics.AnalyticsPlugin","extended_plugins":["x-pack-core"],"has_native_controller":false},{"name":"x-pack-ccr","version":"7.5.2","elasticsearch_version":"7.5.2","java_version":"1.8","description":"Elasticsearch Expanded Pack Plugin - CCR","classname":"org.elasticsearch.xpack.ccr.Ccr","extended_plugins":["x-pack-core"],"has_native_controller":false},{"name":"x-pack-core","version":"7.5.2","elasticsearch_version":"7.5.2","java_version":"1.8","description":"Elasticsearch Expanded Pack Plugin - Core","classname":"org.elasticsearch.xpack.core.XPackPlugin","extended_plugins":[],"has_native_controller":false},{"name":"x-pack-deprecation","version":"7.5.2","elasticsearch_version":"7.5.2","java_version":"1.8","description":"Elasticsearch Expanded Pack Plugin - Deprecation","classname":"org.elasticsearch.xpack.deprecation.Deprecation","extended_plugins":["x-pack-core"],"has_native_controller":false},{"name":"x-pack-enrich","version":"7.5.2","elasticsearch_version":"7.5.2","java_version":"1.8","description":"Elasticsearch Expanded Pack Plugin - Enrich","classname":"org.elasticsearch.xpack.enrich.EnrichPlugin","extended_plugins":["x-pack-core"],"has_native_controller":false},{"name":"x-pack-graph","version":"7.5.2","elasticsearch_version":"7.5.2","java_version":"1.8","description":"Elasticsearch Expanded Pack Plugin - Graph","classname":"org.elasticsearch.xpack.graph.Graph","extended_plugins":["x-pack-core"],"has_native_controller":false},{"name":"x-pack-ilm","version":"7.5.2","elasticsearch_version":"7.5.2","java_version":"1.8","description":"Elasticsearch Expanded Pack Plugin - Index Lifecycle Management","classname":"org.elasticsearch.xpack.ilm.IndexLifecycle","extended_plugins":["x-pack-core"],"has_native_controller":false},{"name":"x-pack-logstash","version":"7.5.2","elasticsearch_version":"7.5.2","java_version":"1.8","description":"Elasticsearch Expanded Pack Plugin - Logstash","classname":"org.elasticsearch.xpack.logstash.Logstash","extended_plugins":["x-pack-core"],"has_native_controller":false},{"name":"x-pack-ml","version":"7.5.2","elasticsearch_version":"7.5.2","java_version":"1.8","description":"Elasticsearch Expanded Pack Plugin - Machine Learning","classname":"org.elasticsearch.xpack.ml.MachineLearning","extended_plugins":["x-pack-core","lang-painless"],"has_native_controller":true},{"name":"x-pack-monitoring","version":"7.5.2","elasticsearch_version":"7.5.2","java_version":"1.8","description":"Elasticsearch Expanded Pack Plugin - Monitoring","classname":"org.elasticsearch.xpack.monitoring.Monitoring","extended_plugins":["x-pack-core"],"has_native_controller":false},{"name":"x-pack-rollup","version":"7.5.2","elasticsearch_version":"7.5.2","java_version":"1.8","description":"Elasticsearch Expanded Pack Plugin - Rollup","classname":"org.elasticsearch.xpack.rollup.Rollup","extended_plugins":["x-pack-core"],"has_native_controller":false},{"name":"x-pack-security","version":"7.5.2","elasticsearch_version":"7.5.2","java_version":"1.8","description":"Elasticsearch Expanded Pack Plugin - Security","classname":"org.elasticsearch.xpack.security.Security","extended_plugins":["x-pack-core"],"has_native_controller":false},{"name":"x-pack-sql","version":"7.5.2","elasticsearch_version":"7.5.2","java_version":"1.8","description":"The Elasticsearch plugin that powers SQL for Elasticsearch","classname":"org.elasticsearch.xpack.sql.plugin.SqlPlugin","extended_plugins":["x-pack-core","lang-painless"],"has_native_controller":false},{"name":"x-pack-voting-only-node","version":"7.5.2","elasticsearch_version":"7.5.2","java_version":"1.8","description":"Elasticsearch Expanded Pack Plugin - Voting-only node","classname":"org.elasticsearch.cluster.coordination.VotingOnlyNodePlugin","extended_plugins":["x-pack-core"],"has_native_controller":false},{"name":"x-pack-watcher","version":"7.5.2","elasticsearch_version":"7.5.2","java_version":"1.8","description":"Elasticsearch Expanded Pack Plugin - Watcher","classname":"org.elasticsearch.xpack.watcher.Watcher","extended_plugins":["x-pack-core"],"has_native_controller":false}],"ingest":{"processors":[{"type":"append"},{"type":"bytes"},{"type":"circle"},{"type":"convert"},{"type":"date"},{"type":"date_index_name"},{"type":"dissect"},{"type":"dot_expander"},{"type":"drop"},{"type":"enrich"},{"type":"fail"},{"type":"foreach"},{"type":"geoip"},{"type":"grok"},{"type":"gsub"},{"type":"html_strip"},{"type":"join"},{"type":"json"},{"type":"kv"},{"type":"lowercase"},{"type":"pipeline"},{"type":"remove"},{"type":"rename"},{"type":"script"},{"type":"set"},{"type":"set_security_user"},{"type":"sort"},{"type":"split"},{"type":"trim"},{"type":"uppercase"},{"type":"urldecode"},{"type":"user_agent"}]}}}}

5.GET http://117.78.43.65:31130/_nodes/stats
{"_nodes":{"total":1,"successful":1,"failed":0},"cluster_name":"es","nodes":{"37osvvOCQSSsusw-uC2hTg":{"timestamp":1587612000910,"name":"node-1","transport_address":"127.0.0.1:9300","host":"127.0.0.1","ip":"127.0.0.1:9300","roles":["ingest","master","data","ml"],"attributes":{"ml.machine_memory":"2147483648","xpack.installed":"true","ml.max_open_jobs":"20"},"indices":{"docs":{"count":5,"deleted":0},"store":{"size_in_bytes":57436},"indexing":{"index_total":5,"index_time_in_millis":66,"index_current":0,"index_failed":0,"delete_total":0,"delete_time_in_millis":0,"delete_current":0,"noop_update_total":0,"is_throttled":false,"throttle_time_in_millis":0},"get":{"total":0,"time_in_millis":0,"exists_total":0,"exists_time_in_millis":0,"missing_total":0,"missing_time_in_millis":0,"current":0},"search":{"open_contexts":1,"query_total":522,"query_time_in_millis":237,"query_current":0,"fetch_total":486,"fetch_time_in_millis":52,"fetch_current":0,"scroll_total":221,"scroll_time_in_millis":19689045,"scroll_current":1,"suggest_total":0,"suggest_time_in_millis":0,"suggest_current":0},"merges":{"current":0,"current_docs":0,"current_size_in_bytes":0,"total":0,"total_time_in_millis":0,"total_docs":0,"total_size_in_bytes":0,"total_stopped_time_in_millis":0,"total_throttled_time_in_millis":0,"total_auto_throttle_in_bytes":62914560},"refresh":{"total":17,"total_time_in_millis":165,"external_total":12,"external_total_time_in_millis":166,"listeners":0},"flush":{"total":4,"periodic":0,"total_time_in_millis":42},"warmer":{"current":0,"total":9,"total_time_in_millis":0},"query_cache":{"memory_size_in_bytes":0,"total_count":0,"hit_count":0,"miss_count":0,"cache_size":0,"cache_count":0,"evictions":0},"fielddata":{"memory_size_in_bytes":0,"evictions":0},"completion":{"size_in_bytes":0},"segments":{"count":2,"memory_in_bytes":39454,"terms_memory_in_bytes":34418,"stored_fields_memory_in_bytes":624,"term_vectors_memory_in_bytes":0,"norms_memory_in_bytes":4224,"points_memory_in_bytes":12,"doc_values_memory_in_bytes":176,"index_writer_memory_in_bytes":0,"version_map_memory_in_bytes":0,"fixed_bit_set_memory_in_bytes":0,"max_unsafe_auto_id_timestamp":-1,"file_sizes":{}},"translog":{"operations":0,"size_in_bytes":165,"uncommitted_operations":0,"uncommitted_size_in_bytes":165,"earliest_last_modified_age":0},"request_cache":{"memory_size_in_bytes":0,"evictions":0,"hit_count":0,"miss_count":0},"recovery":{"current_as_source":0,"current_as_target":0,"throttle_time_in_millis":0}},"os":{"timestamp":1587612000861,"cpu":{"percent":2,"load_average":{"1m":0.43,"5m":0.19,"15m":0.16}},"mem":{"total_in_bytes":16657215488,"free_in_bytes":4023898112,"used_in_bytes":12633317376,"free_percent":24,"used_percent":76},"swap":{"total_in_bytes":0,"free_in_bytes":0,"used_in_bytes":0},"cgroup":{"cpuacct":{"control_group":"/","usage_nanos":53648882070},"cpu":{"control_group":"/","cfs_period_micros":100000,"cfs_quota_micros":200000,"stat":{"number_of_elapsed_periods":16107,"number_of_times_throttled":70,"time_throttled_nanos":948744083}},"memory":{"control_group":"/","limit_in_bytes":"2147483648","usage_in_bytes":"1520463872"}}},"process":{"timestamp":1587612000861,"open_file_descriptors":234,"max_file_descriptors":1048576,"cpu":{"percent":0,"total_in_millis":52940},"mem":{"total_virtual_in_bytes":6445662208}},"jvm":{"timestamp":1587612000862,"uptime_in_millis":4740046,"mem":{"heap_used_in_bytes":180406824,"heap_used_percent":17,"heap_committed_in_bytes":1056309248,"heap_max_in_bytes":1056309248,"non_heap_used_in_bytes":128121392,"non_heap_committed_in_bytes":139079680,"pools":{"young":{"used_in_bytes":81017016,"max_in_bytes":139591680,"peak_used_in_bytes":139591680,"peak_max_in_bytes":139591680},"survivor":{"used_in_bytes":276384,"max_in_bytes":17432576,"peak_used_in_bytes":17432576,"peak_max_in_bytes":17432576},"old":{"used_in_bytes":99135936,"max_in_bytes":899284992,"peak_used_in_bytes":99135936,"peak_max_in_bytes":899284992}}},"threads":{"count":45,"peak_count":45},"gc":{"collectors":{"young":{"collection_count":29,"collection_time_in_millis":539},"old":{"collection_count":3,"collection_time_in_millis":74}}},"buffer_pools":{"mapped":{"count":2,"used_in_bytes":54892,"total_capacity_in_bytes":54892},"direct":{"count":25,"used_in_bytes":8473330,"total_capacity_in_bytes":8473329}},"classes":{"current_loaded_count":18432,"total_loaded_count":18432,"total_unloaded_count":0}},"thread_pool":{"analyze":{"threads":0,"queue":0,"active":0,"rejected":0,"largest":0,"completed":0},"ccr":{"threads":0,"queue":0,"active":0,"rejected":0,"largest":0,"completed":0},"fetch_shard_started":{"threads":0,"queue":0,"active":0,"rejected":0,"largest":0,"completed":0},"fetch_shard_store":{"threads":0,"queue":0,"active":0,"rejected":0,"largest":0,"completed":0},"flush":{"threads":1,"queue":0,"active":0,"rejected":0,"largest":1,"completed":8},"force_merge":{"threads":0,"queue":0,"active":0,"rejected":0,"largest":0,"completed":0},"generic":{"threads":6,"queue":0,"active":0,"rejected":0,"largest":6,"completed":5838},"get":{"threads":0,"queue":0,"active":0,"rejected":0,"largest":0,"completed":0},"listener":{"threads":0,"queue":0,"active":0,"rejected":0,"largest":0,"completed":0},"management":{"threads":3,"queue":0,"active":1,"rejected":0,"largest":3,"completed":1557},"ml_datafeed":{"threads":0,"queue":0,"active":0,"rejected":0,"largest":0,"completed":0},"ml_job_comms":{"threads":0,"queue":0,"active":0,"rejected":0,"largest":0,"completed":0},"ml_utility":{"threads":1,"queue":0,"active":0,"rejected":0,"largest":1,"completed":1},"refresh":{"threads":1,"queue":0,"active":0,"rejected":0,"largest":1,"completed":13266},"rollup_indexing":{"threads":0,"queue":0,"active":0,"rejected":0,"largest":0,"completed":0},"search":{"threads":4,"queue":0,"active":0,"rejected":0,"largest":4,"completed":1026},"search_throttled":{"threads":0,"queue":0,"active":0,"rejected":0,"largest":0,"completed":0},"security-token-key":{"threads":0,"queue":0,"active":0,"rejected":0,"largest":0,"completed":0},"snapshot":{"threads":1,"queue":0,"active":0,"rejected":0,"largest":1,"completed":2},"transform_indexing":{"threads":0,"queue":0,"active":0,"rejected":0,"largest":0,"completed":0},"warmer":{"threads":0,"queue":0,"active":0,"rejected":0,"largest":0,"completed":0},"watcher":{"threads":0,"queue":0,"active":0,"rejected":0,"largest":0,"completed":0},"write":{"threads":2,"queue":0,"active":0,"rejected":0,"largest":2,"completed":9}},"fs":{"timestamp":1587612000862,"total":{"total_in_bytes":10718543872,"free_in_bytes":9952849920,"available_in_bytes":9952849920},"least_usage_estimate":{"path":"/usr/share/elasticsearch/data/nodes/0","total_in_bytes":10718543872,"available_in_bytes":9952849920,"used_disk_percent":7.143637803267467},"most_usage_estimate":{"path":"/usr/share/elasticsearch/data/nodes/0","total_in_bytes":10718543872,"available_in_bytes":9952849920,"used_disk_percent":7.143637803267467},"data":[{"path":"/usr/share/elasticsearch/data/nodes/0","mount":"/ (rootfs)","type":"rootfs","total_in_bytes":10718543872,"free_in_bytes":9952849920,"available_in_bytes":9952849920}],"io_stats":{"devices":[{"device_name":"dm-11","operations":1725,"read_operations":441,"write_operations":1284,"read_kilobytes":8303,"write_kilobytes":18560}],"total":{"operations":1725,"read_operations":441,"write_operations":1284,"read_kilobytes":8303,"write_kilobytes":18560}}},"transport":{"server_open":0,"rx_count":0,"rx_size_in_bytes":0,"tx_count":69,"tx_size_in_bytes":1656},"http":{"current_open":14,"total_opened":73},"breakers":{"request":{"limit_size_in_bytes":633785548,"limit_size":"604.4mb","estimated_size_in_bytes":16440,"estimated_size":"16kb","overhead":1.0,"tripped":0},"fielddata":{"limit_size_in_bytes":422523699,"limit_size":"402.9mb","estimated_size_in_bytes":0,"estimated_size":"0b","overhead":1.03,"tripped":0},"in_flight_requests":{"limit_size_in_bytes":1056309248,"limit_size":"1007.3mb","estimated_size_in_bytes":0,"estimated_size":"0b","overhead":2.0,"tripped":0},"accounting":{"limit_size_in_bytes":1056309248,"limit_size":"1007.3mb","estimated_size_in_bytes":39454,"estimated_size":"38.5kb","overhead":1.0,"tripped":0},"parent":{"limit_size_in_bytes":1003493785,"limit_size":"957mb","estimated_size_in_bytes":182949968,"estimated_size":"174.4mb","overhead":1.0,"tripped":0}},"script":{"compilations":1,"cache_evictions":0,"compilation_limit_triggered":0},"discovery":{"cluster_state_queue":{"total":0,"pending":0,"committed":0},"published_cluster_states":{"full_states":2,"incompatible_diffs":0,"compatible_diffs":25}},"ingest":{"total":{"count":0,"time_in_millis":0,"current":0,"failed":0},"pipelines":{"xpack_monitoring_6":{"count":0,"time_in_millis":0,"current":0,"failed":0,"processors":[{"script":{"count":0,"time_in_millis":0,"current":0,"failed":0}},{"gsub":{"count":0,"time_in_millis":0,"current":0,"failed":0}}]},"xpack_monitoring_7":{"count":0,"time_in_millis":0,"current":0,"failed":0,"processors":[]}}},"adaptive_selection":{"37osvvOCQSSsusw-uC2hTg":{"outgoing_searches":0,"avg_queue_size":0,"avg_service_time_ns":478802,"avg_response_time_ns":947914,"rank":"0.9"}}}}}


6.GET http://117.78.43.65:31130/_stats
{"_shards":{"total":6,"successful":3,"failed":0},"_all":{"primaries":{"docs":{"count":5,"deleted":0},"store":{"size_in_bytes":57436},"indexing":{"index_total":5,"index_time_in_millis":66,"index_current":0,"index_failed":0,"delete_total":0,"delete_time_in_millis":0,"delete_current":0,"noop_update_total":0,"is_throttled":false,"throttle_time_in_millis":0},"get":{"total":0,"time_in_millis":0,"exists_total":0,"exists_time_in_millis":0,"missing_total":0,"missing_time_in_millis":0,"current":0},"search":{"open_contexts":1,"query_total":522,"query_time_in_millis":237,"query_current":0,"fetch_total":486,"fetch_time_in_millis":52,"fetch_current":0,"scroll_total":221,"scroll_time_in_millis":19689045,"scroll_current":1,"suggest_total":0,"suggest_time_in_millis":0,"suggest_current":0},"merges":{"current":0,"current_docs":0,"current_size_in_bytes":0,"total":0,"total_time_in_millis":0,"total_docs":0,"total_size_in_bytes":0,"total_stopped_time_in_millis":0,"total_throttled_time_in_millis":0,"total_auto_throttle_in_bytes":62914560},"refresh":{"total":17,"total_time_in_millis":165,"external_total":12,"external_total_time_in_millis":166,"listeners":0},"flush":{"total":4,"periodic":0,"total_time_in_millis":42},"warmer":{"current":0,"total":9,"total_time_in_millis":0},"query_cache":{"memory_size_in_bytes":0,"total_count":0,"hit_count":0,"miss_count":0,"cache_size":0,"cache_count":0,"evictions":0},"fielddata":{"memory_size_in_bytes":0,"evictions":0},"completion":{"size_in_bytes":0},"segments":{"count":2,"memory_in_bytes":39454,"terms_memory_in_bytes":34418,"stored_fields_memory_in_bytes":624,"term_vectors_memory_in_bytes":0,"norms_memory_in_bytes":4224,"points_memory_in_bytes":12,"doc_values_memory_in_bytes":176,"index_writer_memory_in_bytes":0,"version_map_memory_in_bytes":0,"fixed_bit_set_memory_in_bytes":0,"max_unsafe_auto_id_timestamp":-1,"file_sizes":{}},"translog":{"operations":0,"size_in_bytes":165,"uncommitted_operations":0,"uncommitted_size_in_bytes":165,"earliest_last_modified_age":0},"request_cache":{"memory_size_in_bytes":0,"evictions":0,"hit_count":0,"miss_count":0},"recovery":{"current_as_source":0,"current_as_target":0,"throttle_time_in_millis":0}},"total":{"docs":{"count":5,"deleted":0},"store":{"size_in_bytes":57436},"indexing":{"index_total":5,"index_time_in_millis":66,"index_current":0,"index_failed":0,"delete_total":0,"delete_time_in_millis":0,"delete_current":0,"noop_update_total":0,"is_throttled":false,"throttle_time_in_millis":0},"get":{"total":0,"time_in_millis":0,"exists_total":0,"exists_time_in_millis":0,"missing_total":0,"missing_time_in_millis":0,"current":0},"search":{"open_contexts":1,"query_total":522,"query_time_in_millis":237,"query_current":0,"fetch_total":486,"fetch_time_in_millis":52,"fetch_current":0,"scroll_total":221,"scroll_time_in_millis":19689045,"scroll_current":1,"suggest_total":0,"suggest_time_in_millis":0,"suggest_current":0},"merges":{"current":0,"current_docs":0,"current_size_in_bytes":0,"total":0,"total_time_in_millis":0,"total_docs":0,"total_size_in_bytes":0,"total_stopped_time_in_millis":0,"total_throttled_time_in_millis":0,"total_auto_throttle_in_bytes":62914560},"refresh":{"total":17,"total_time_in_millis":165,"external_total":12,"external_total_time_in_millis":166,"listeners":0},"flush":{"total":4,"periodic":0,"total_time_in_millis":42},"warmer":{"current":0,"total":9,"total_time_in_millis":0},"query_cache":{"memory_size_in_bytes":0,"total_count":0,"hit_count":0,"miss_count":0,"cache_size":0,"cache_count":0,"evictions":0},"fielddata":{"memory_size_in_bytes":0,"evictions":0},"completion":{"size_in_bytes":0},"segments":{"count":2,"memory_in_bytes":39454,"terms_memory_in_bytes":34418,"stored_fields_memory_in_bytes":624,"term_vectors_memory_in_bytes":0,"norms_memory_in_bytes":4224,"points_memory_in_bytes":12,"doc_values_memory_in_bytes":176,"index_writer_memory_in_bytes":0,"version_map_memory_in_bytes":0,"fixed_bit_set_memory_in_bytes":0,"max_unsafe_auto_id_timestamp":-1,"file_sizes":{}},"translog":{"operations":0,"size_in_bytes":165,"uncommitted_operations":0,"uncommitted_size_in_bytes":165,"earliest_last_modified_age":0},"request_cache":{"memory_size_in_bytes":0,"evictions":0,"hit_count":0,"miss_count":0},"recovery":{"current_as_source":0,"current_as_target":0,"throttle_time_in_millis":0}}},"indices":{"resource_log_index":{"uuid":"FQdTxnlITfWxWZbmQBrQqw","primaries":{"docs":{"count":0,"deleted":0},"store":{"size_in_bytes":283},"indexing":{"index_total":0,"index_time_in_millis":0,"index_current":0,"index_failed":0,"delete_total":0,"delete_time_in_millis":0,"delete_current":0,"noop_update_total":0,"is_throttled":false,"throttle_time_in_millis":0},"get":{"total":0,"time_in_millis":0,"exists_total":0,"exists_time_in_millis":0,"missing_total":0,"missing_time_in_millis":0,"current":0},"search":{"open_contexts":0,"query_total":24,"query_time_in_millis":4,"query_current":0,"fetch_total":7,"fetch_time_in_millis":0,"fetch_current":0,"scroll_total":2,"scroll_time_in_millis":153861,"scroll_current":0,"suggest_total":0,"suggest_time_in_millis":0,"suggest_current":0},"merges":{"current":0,"current_docs":0,"current_size_in_bytes":0,"total":0,"total_time_in_millis":0,"total_docs":0,"total_size_in_bytes":0,"total_stopped_time_in_millis":0,"total_throttled_time_in_millis":0,"total_auto_throttle_in_bytes":20971520},"refresh":{"total":4,"total_time_in_millis":0,"external_total":3,"external_total_time_in_millis":0,"listeners":0},"flush":{"total":1,"periodic":0,"total_time_in_millis":0},"warmer":{"current":0,"total":2,"total_time_in_millis":0},"query_cache":{"memory_size_in_bytes":0,"total_count":0,"hit_count":0,"miss_count":0,"cache_size":0,"cache_count":0,"evictions":0},"fielddata":{"memory_size_in_bytes":0,"evictions":0},"completion":{"size_in_bytes":0},"segments":{"count":0,"memory_in_bytes":0,"terms_memory_in_bytes":0,"stored_fields_memory_in_bytes":0,"term_vectors_memory_in_bytes":0,"norms_memory_in_bytes":0,"points_memory_in_bytes":0,"doc_values_memory_in_bytes":0,"index_writer_memory_in_bytes":0,"version_map_memory_in_bytes":0,"fixed_bit_set_memory_in_bytes":0,"max_unsafe_auto_id_timestamp":-1,"file_sizes":{}},"translog":{"operations":0,"size_in_bytes":55,"uncommitted_operations":0,"uncommitted_size_in_bytes":55,"earliest_last_modified_age":0},"request_cache":{"memory_size_in_bytes":0,"evictions":0,"hit_count":0,"miss_count":0},"recovery":{"current_as_source":0,"current_as_target":0,"throttle_time_in_millis":0}},"total":{"docs":{"count":0,"deleted":0},"store":{"size_in_bytes":283},"indexing":{"index_total":0,"index_time_in_millis":0,"index_current":0,"index_failed":0,"delete_total":0,"delete_time_in_millis":0,"delete_current":0,"noop_update_total":0,"is_throttled":false,"throttle_time_in_millis":0},"get":{"total":0,"time_in_millis":0,"exists_total":0,"exists_time_in_millis":0,"missing_total":0,"missing_time_in_millis":0,"current":0},"search":{"open_contexts":0,"query_total":24,"query_time_in_millis":4,"query_current":0,"fetch_total":7,"fetch_time_in_millis":0,"fetch_current":0,"scroll_total":2,"scroll_time_in_millis":153861,"scroll_current":0,"suggest_total":0,"suggest_time_in_millis":0,"suggest_current":0},"merges":{"current":0,"current_docs":0,"current_size_in_bytes":0,"total":0,"total_time_in_millis":0,"total_docs":0,"total_size_in_bytes":0,"total_stopped_time_in_millis":0,"total_throttled_time_in_millis":0,"total_auto_throttle_in_bytes":20971520},"refresh":{"total":4,"total_time_in_millis":0,"external_total":3,"external_total_time_in_millis":0,"listeners":0},"flush":{"total":1,"periodic":0,"total_time_in_millis":0},"warmer":{"current":0,"total":2,"total_time_in_millis":0},"query_cache":{"memory_size_in_bytes":0,"total_count":0,"hit_count":0,"miss_count":0,"cache_size":0,"cache_count":0,"evictions":0},"fielddata":{"memory_size_in_bytes":0,"evictions":0},"completion":{"size_in_bytes":0},"segments":{"count":0,"memory_in_bytes":0,"terms_memory_in_bytes":0,"stored_fields_memory_in_bytes":0,"term_vectors_memory_in_bytes":0,"norms_memory_in_bytes":0,"points_memory_in_bytes":0,"doc_values_memory_in_bytes":0,"index_writer_memory_in_bytes":0,"version_map_memory_in_bytes":0,"fixed_bit_set_memory_in_bytes":0,"max_unsafe_auto_id_timestamp":-1,"file_sizes":{}},"translog":{"operations":0,"size_in_bytes":55,"uncommitted_operations":0,"uncommitted_size_in_bytes":55,"earliest_last_modified_age":0},"request_cache":{"memory_size_in_bytes":0,"evictions":0,"hit_count":0,"miss_count":0},"recovery":{"current_as_source":0,"current_as_target":0,"throttle_time_in_millis":0}}},"resource_index":{"uuid":"DmIO64RARS6OInCD25KWvw","primaries":{"docs":{"count":5,"deleted":0},"store":{"size_in_bytes":56870},"indexing":{"index_total":5,"index_time_in_millis":66,"index_current":0,"index_failed":0,"delete_total":0,"delete_time_in_millis":0,"delete_current":0,"noop_update_total":0,"is_throttled":false,"throttle_time_in_millis":0},"get":{"total":0,"time_in_millis":0,"exists_total":0,"exists_time_in_millis":0,"missing_total":0,"missing_time_in_millis":0,"current":0},"search":{"open_contexts":1,"query_total":476,"query_time_in_millis":230,"query_current":0,"fetch_total":473,"fetch_time_in_millis":52,"fetch_current":0,"scroll_total":217,"scroll_time_in_millis":19380733,"scroll_current":1,"suggest_total":0,"suggest_time_in_millis":0,"suggest_current":0},"merges":{"current":0,"current_docs":0,"current_size_in_bytes":0,"total":0,"total_time_in_millis":0,"total_docs":0,"total_size_in_bytes":0,"total_stopped_time_in_millis":0,"total_throttled_time_in_millis":0,"total_auto_throttle_in_bytes":20971520},"refresh":{"total":9,"total_time_in_millis":165,"external_total":6,"external_total_time_in_millis":166,"listeners":0},"flush":{"total":2,"periodic":0,"total_time_in_millis":42},"warmer":{"current":0,"total":5,"total_time_in_millis":0},"query_cache":{"memory_size_in_bytes":0,"total_count":0,"hit_count":0,"miss_count":0,"cache_size":0,"cache_count":0,"evictions":0},"fielddata":{"memory_size_in_bytes":0,"evictions":0},"completion":{"size_in_bytes":0},"segments":{"count":2,"memory_in_bytes":39454,"terms_memory_in_bytes":34418,"stored_fields_memory_in_bytes":624,"term_vectors_memory_in_bytes":0,"norms_memory_in_bytes":4224,"points_memory_in_bytes":12,"doc_values_memory_in_bytes":176,"index_writer_memory_in_bytes":0,"version_map_memory_in_bytes":0,"fixed_bit_set_memory_in_bytes":0,"max_unsafe_auto_id_timestamp":-1,"file_sizes":{}},"translog":{"operations":0,"size_in_bytes":55,"uncommitted_operations":0,"uncommitted_size_in_bytes":55,"earliest_last_modified_age":0},"request_cache":{"memory_size_in_bytes":0,"evictions":0,"hit_count":0,"miss_count":0},"recovery":{"current_as_source":0,"current_as_target":0,"throttle_time_in_millis":0}},"total":{"docs":{"count":5,"deleted":0},"store":{"size_in_bytes":56870},"indexing":{"index_total":5,"index_time_in_millis":66,"index_current":0,"index_failed":0,"delete_total":0,"delete_time_in_millis":0,"delete_current":0,"noop_update_total":0,"is_throttled":false,"throttle_time_in_millis":0},"get":{"total":0,"time_in_millis":0,"exists_total":0,"exists_time_in_millis":0,"missing_total":0,"missing_time_in_millis":0,"current":0},"search":{"open_contexts":1,"query_total":476,"query_time_in_millis":230,"query_current":0,"fetch_total":473,"fetch_time_in_millis":52,"fetch_current":0,"scroll_total":217,"scroll_time_in_millis":19380733,"scroll_current":1,"suggest_total":0,"suggest_time_in_millis":0,"suggest_current":0},"merges":{"current":0,"current_docs":0,"current_size_in_bytes":0,"total":0,"total_time_in_millis":0,"total_docs":0,"total_size_in_bytes":0,"total_stopped_time_in_millis":0,"total_throttled_time_in_millis":0,"total_auto_throttle_in_bytes":20971520},"refresh":{"total":9,"total_time_in_millis":165,"external_total":6,"external_total_time_in_millis":166,"listeners":0},"flush":{"total":2,"periodic":0,"total_time_in_millis":42},"warmer":{"current":0,"total":5,"total_time_in_millis":0},"query_cache":{"memory_size_in_bytes":0,"total_count":0,"hit_count":0,"miss_count":0,"cache_size":0,"cache_count":0,"evictions":0},"fielddata":{"memory_size_in_bytes":0,"evictions":0},"completion":{"size_in_bytes":0},"segments":{"count":2,"memory_in_bytes":39454,"terms_memory_in_bytes":34418,"stored_fields_memory_in_bytes":624,"term_vectors_memory_in_bytes":0,"norms_memory_in_bytes":4224,"points_memory_in_bytes":12,"doc_values_memory_in_bytes":176,"index_writer_memory_in_bytes":0,"version_map_memory_in_bytes":0,"fixed_bit_set_memory_in_bytes":0,"max_unsafe_auto_id_timestamp":-1,"file_sizes":{}},"translog":{"operations":0,"size_in_bytes":55,"uncommitted_operations":0,"uncommitted_size_in_bytes":55,"earliest_last_modified_age":0},"request_cache":{"memory_size_in_bytes":0,"evictions":0,"hit_count":0,"miss_count":0},"recovery":{"current_as_source":0,"current_as_target":0,"throttle_time_in_millis":0}}},"resource_relation_index":{"uuid":"fsexP8riSCWH0-cOjCM1kg","primaries":{"docs":{"count":0,"deleted":0},"store":{"size_in_bytes":283},"indexing":{"index_total":0,"index_time_in_millis":0,"index_current":0,"index_failed":0,"delete_total":0,"delete_time_in_millis":0,"delete_current":0,"noop_update_total":0,"is_throttled":false,"throttle_time_in_millis":0},"get":{"total":0,"time_in_millis":0,"exists_total":0,"exists_time_in_millis":0,"missing_total":0,"missing_time_in_millis":0,"current":0},"search":{"open_contexts":0,"query_total":22,"query_time_in_millis":3,"query_current":0,"fetch_total":6,"fetch_time_in_millis":0,"fetch_current":0,"scroll_total":2,"scroll_time_in_millis":154451,"scroll_current":0,"suggest_total":0,"suggest_time_in_millis":0,"suggest_current":0},"merges":{"current":0,"current_docs":0,"current_size_in_bytes":0,"total":0,"total_time_in_millis":0,"total_docs":0,"total_size_in_bytes":0,"total_stopped_time_in_millis":0,"total_throttled_time_in_millis":0,"total_auto_throttle_in_bytes":20971520},"refresh":{"total":4,"total_time_in_millis":0,"external_total":3,"external_total_time_in_millis":0,"listeners":0},"flush":{"total":1,"periodic":0,"total_time_in_millis":0},"warmer":{"current":0,"total":2,"total_time_in_millis":0},"query_cache":{"memory_size_in_bytes":0,"total_count":0,"hit_count":0,"miss_count":0,"cache_size":0,"cache_count":0,"evictions":0},"fielddata":{"memory_size_in_bytes":0,"evictions":0},"completion":{"size_in_bytes":0},"segments":{"count":0,"memory_in_bytes":0,"terms_memory_in_bytes":0,"stored_fields_memory_in_bytes":0,"term_vectors_memory_in_bytes":0,"norms_memory_in_bytes":0,"points_memory_in_bytes":0,"doc_values_memory_in_bytes":0,"index_writer_memory_in_bytes":0,"version_map_memory_in_bytes":0,"fixed_bit_set_memory_in_bytes":0,"max_unsafe_auto_id_timestamp":-1,"file_sizes":{}},"translog":{"operations":0,"size_in_bytes":55,"uncommitted_operations":0,"uncommitted_size_in_bytes":55,"earliest_last_modified_age":0},"request_cache":{"memory_size_in_bytes":0,"evictions":0,"hit_count":0,"miss_count":0},"recovery":{"current_as_source":0,"current_as_target":0,"throttle_time_in_millis":0}},"total":{"docs":{"count":0,"deleted":0},"store":{"size_in_bytes":283},"indexing":{"index_total":0,"index_time_in_millis":0,"index_current":0,"index_failed":0,"delete_total":0,"delete_time_in_millis":0,"delete_current":0,"noop_update_total":0,"is_throttled":false,"throttle_time_in_millis":0},"get":{"total":0,"time_in_millis":0,"exists_total":0,"exists_time_in_millis":0,"missing_total":0,"missing_time_in_millis":0,"current":0},"search":{"open_contexts":0,"query_total":22,"query_time_in_millis":3,"query_current":0,"fetch_total":6,"fetch_time_in_millis":0,"fetch_current":0,"scroll_total":2,"scroll_time_in_millis":154451,"scroll_current":0,"suggest_total":0,"suggest_time_in_millis":0,"suggest_current":0},"merges":{"current":0,"current_docs":0,"current_size_in_bytes":0,"total":0,"total_time_in_millis":0,"total_docs":0,"total_size_in_bytes":0,"total_stopped_time_in_millis":0,"total_throttled_time_in_millis":0,"total_auto_throttle_in_bytes":20971520},"refresh":{"total":4,"total_time_in_millis":0,"external_total":3,"external_total_time_in_millis":0,"listeners":0},"flush":{"total":1,"periodic":0,"total_time_in_millis":0},"warmer":{"current":0,"total":2,"total_time_in_millis":0},"query_cache":{"memory_size_in_bytes":0,"total_count":0,"hit_count":0,"miss_count":0,"cache_size":0,"cache_count":0,"evictions":0},"fielddata":{"memory_size_in_bytes":0,"evictions":0},"completion":{"size_in_bytes":0},"segments":{"count":0,"memory_in_bytes":0,"terms_memory_in_bytes":0,"stored_fields_memory_in_bytes":0,"term_vectors_memory_in_bytes":0,"norms_memory_in_bytes":0,"points_memory_in_bytes":0,"doc_values_memory_in_bytes":0,"index_writer_memory_in_bytes":0,"version_map_memory_in_bytes":0,"fixed_bit_set_memory_in_bytes":0,"max_unsafe_auto_id_timestamp":-1,"file_sizes":{}},"translog":{"operations":0,"size_in_bytes":55,"uncommitted_operations":0,"uncommitted_size_in_bytes":55,"earliest_last_modified_age":0},"request_cache":{"memory_size_in_bytes":0,"evictions":0,"hit_count":0,"miss_count":0},"recovery":{"current_as_source":0,"current_as_target":0,"throttle_time_in_millis":0}}}}}


7.GET http://117.78.43.65:31130/_cluster/state
{"cluster_name":"es","cluster_uuid":"pWXUaj7KTKG-8LHvYGvJCw","version":27,"state_uuid":"n5bA_7EPTBWepFQG7k8SuQ","master_node":"37osvvOCQSSsusw-uC2hTg","blocks":{},"nodes":{"37osvvOCQSSsusw-uC2hTg":{"name":"node-1","ephemeral_id":"qVlr58pMTdyegL4_ngqTIA","transport_address":"127.0.0.1:9300","attributes":{"ml.machine_memory":"2147483648","xpack.installed":"true","ml.max_open_jobs":"20"}}},"metadata":{"cluster_uuid":"pWXUaj7KTKG-8LHvYGvJCw","cluster_coordination":{"term":1,"last_committed_config":["37osvvOCQSSsusw-uC2hTg"],"last_accepted_config":["37osvvOCQSSsusw-uC2hTg"],"voting_config_exclusions":[]},"templates":{".ml-meta":{"index_patterns":[".ml-meta"],"order":0,"settings":{"index":{"number_of_shards":"1","auto_expand_replicas":"0-1","unassigned":{"node_left":{"delayed_timeout":"1m"}}}},"mappings":{"_doc":{"_meta":{"version":"7.5.2"},"dynamic_templates":[{"strings_as_keywords":{"mapping":{"type":"keyword"},"match":"*"}}],"properties":{"start_time":{"type":"date"},"calendar_id":{"type":"keyword"},"job_ids":{"type":"keyword"},"end_time":{"type":"date"},"description":{"type":"keyword"}}}}},".monitoring-logstash":{"index_patterns":[".monitoring-logstash-7-*"],"order":0,"settings":{"index":{"format":"7","codec":"best_compression","number_of_shards":"1","auto_expand_replicas":"0-1","number_of_replicas":"0"}},"mappings":{"_doc":{"dynamic":false,"properties":{"interval_ms":{"type":"long"},"logstash_state":{"properties":{"pipeline":{"properties":{"batch_size":{"type":"integer"},"format":{"type":"keyword"},"id":{"type":"keyword"},"ephemeral_id":{"type":"keyword"},"workers":{"type":"short"},"version":{"type":"keyword"},"representation":{"enabled":false},"hash":{"type":"keyword"}}},"http_address":{"type":"keyword"},"name":{"type":"keyword"},"host":{"type":"keyword"},"ephemeral_id":{"type":"keyword"},"uuid":{"type":"keyword"},"version":{"type":"keyword"},"snapshot":{"type":"boolean"},"status":{"type":"keyword"}}},"logstash_stats":{"type":"object","properties":{"jvm":{"properties":{"mem":{"properties":{"heap_used_percent":{"type":"long"},"heap_max_in_bytes":{"type":"long"},"heap_used_in_bytes":{"type":"long"}}},"uptime_in_millis":{"type":"long"},"gc":{"properties":{"collectors":{"properties":{"young":{"properties":{"collection_count":{"type":"long"},"collection_time_in_millis":{"type":"long"}}},"old":{"properties":{"collection_count":{"type":"long"},"collection_time_in_millis":{"type":"long"}}}}}}}}},"logstash":{"properties":{"pipeline":{"properties":{"batch_size":{"type":"long"},"workers":{"type":"short"}}},"http_address":{"type":"keyword"},"name":{"type":"keyword"},"host":{"type":"keyword"},"ephemeral_id":{"type":"keyword"},"uuid":{"type":"keyword"},"version":{"type":"keyword"},"snapshot":{"type":"boolean"},"status":{"type":"keyword"}}},"process":{"properties":{"open_file_descriptors":{"type":"long"},"max_file_descriptors":{"type":"long"},"cpu":{"properties":{"percent":{"type":"long"}}}}},"pipelines":{"type":"nested","properties":{"vertices":{"type":"nested","properties":{"events_out":{"type":"long"},"pipeline_ephemeral_id":{"type":"keyword"},"events_in":{"type":"long"},"double_gauges":{"type":"nested","properties":{"name":{"type":"keyword"},"value":{"type":"double"}}},"queue_push_duration_in_millis":{"type":"long"},"duration_in_millis":{"type":"long"},"id":{"type":"keyword"},"long_counters":{"type":"nested","properties":{"name":{"type":"keyword"},"value":{"type":"long"}}}}},"id":{"type":"keyword"},"ephemeral_id":{"type":"keyword"},"hash":{"type":"keyword"},"events":{"properties":{"filtered":{"type":"long"},"in":{"type":"long"},"queue_push_duration_in_millis":{"type":"long"},"duration_in_millis":{"type":"long"},"out":{"type":"long"}}},"queue":{"properties":{"events_count":{"type":"long"},"max_queue_size_in_bytes":{"type":"long"},"queue_size_in_bytes":{"type":"long"},"type":{"type":"keyword"}}},"reloads":{"properties":{"failures":{"type":"long"},"successes":{"type":"long"}}}}},"batch_size":{"type":"integer"},"os":{"properties":{"cpu":{"properties":{"load_average":{"properties":{"5m":{"type":"half_float"},"15m":{"type":"half_float"},"1m":{"type":"half_float"}}}}},"cgroup":{"properties":{"cpu":{"properties":{"stat":{"properties":{"number_of_elapsed_periods":{"type":"long"},"number_of_times_throttled":{"type":"long"},"time_throttled_nanos":{"type":"long"}}},"control_group":{"type":"keyword"}}},"cpuacct":{"properties":{"control_group":{"type":"keyword"},"usage_nanos":{"type":"long"}}}}}}},"workers":{"type":"short"},"events":{"properties":{"filtered":{"type":"long"},"in":{"type":"long"},"duration_in_millis":{"type":"long"},"out":{"type":"long"}}},"queue":{"properties":{"events_count":{"type":"long"},"type":{"type":"keyword"}}},"timestamp":{"type":"date"},"reloads":{"properties":{"failures":{"type":"long"},"successes":{"type":"long"}}}}},"cluster_uuid":{"type":"keyword"},"source_node":{"properties":{"transport_address":{"type":"keyword"},"ip":{"type":"keyword"},"host":{"type":"keyword"},"name":{"type":"keyword"},"uuid":{"type":"keyword"},"timestamp":{"format":"date_time","type":"date"}}},"type":{"type":"keyword"},"timestamp":{"format":"date_time","type":"date"}}}}},".ml-anomalies-":{"index_patterns":[".ml-anomalies-*"],"order":0,"settings":{"index":{"unassigned":{"node_left":{"delayed_timeout":"1m"}},"translog":{"durability":"async"},"auto_expand_replicas":"0-1","query":{"default_field":"all_field_values"}}},"mappings":{"_doc":{"_meta":{"version":"7.5.2"},"dynamic_templates":[{"strings_as_keywords":{"mapping":{"type":"keyword"},"match":"*"}}],"properties":{"min_version":{"type":"keyword"},"raw_anomaly_score":{"type":"double"},"exponential_average_bucket_processing_time_ms":{"type":"double"},"invalid_date_count":{"type":"long"},"snapshot_id":{"type":"keyword"},"model_size_stats":{"properties":{"model_bytes":{"type":"long"},"result_type":{"type":"keyword"},"job_id":{"type":"keyword"},"total_over_field_count":{"type":"long"},"total_partition_field_count":{"type":"long"},"total_by_field_count":{"type":"long"},"bucket_allocation_failures_count":{"type":"long"},"memory_status":{"type":"keyword"},"log_time":{"type":"date"},"timestamp":{"type":"date"}}},"total_search_time_ms":{"type":"double"},"search_count":{"type":"long"},"bucket_count":{"type":"long"},"latest_empty_bucket_timestamp":{"type":"date"},"anomaly_score":{"type":"double"},"over_field_name":{"type":"keyword"},"scheduled_events":{"type":"keyword"},"earliest_record_timestamp":{"type":"date"},"bucket_span":{"type":"long"},"terms":{"type":"text"},"maximum_bucket_processing_time_ms":{"type":"double"},"function":{"type":"keyword"},"exponential_average_calculation_context":{"properties":{"incremental_metric_value_ms":{"type":"double"},"previous_exponential_average_ms":{"type":"double"},"latest_timestamp":{"type":"date"}}},"influencers":{"type":"nested","properties":{"influencer_field_name":{"type":"keyword"},"influencer_field_values":{"copy_to":"all_field_values","type":"keyword"}}},"record_score":{"type":"double"},"input_record_count":{"type":"long"},"forecast_expiry_timestamp":{"type":"date"},"over_field_value":{"copy_to":"all_field_values","type":"keyword"},"latest_result_time_stamp":{"type":"date"},"model_upper":{"type":"double"},"actual":{"type":"double"},"forecast_memory_bytes":{"type":"long"},"forecast_create_timestamp":{"type":"date"},"empty_bucket_count":{"type":"long"},"probability":{"type":"double"},"missing_field_count":{"type":"long"},"forecast_lower":{"type":"double"},"multi_bucket_impact":{"type":"double"},"influencer_field_value":{"copy_to":"all_field_values","type":"keyword"},"total_by_field_count":{"type":"long"},"forecast_progress":{"type":"double"},"detector_index":{"type":"integer"},"max_matching_length":{"type":"long"},"latest_record_time_stamp":{"type":"date"},"regex":{"type":"keyword"},"by_field_value":{"copy_to":"all_field_values","type":"keyword"},"examples":{"type":"text"},"processed_record_count":{"type":"long"},"snapshot_doc_count":{"type":"integer"},"total_partition_field_count":{"type":"long"},"average_bucket_processing_time_ms":{"type":"double"},"forecast_end_timestamp":{"type":"date"},"forecast_id":{"type":"keyword"},"initial_anomaly_score":{"type":"double"},"partition_field_name":{"type":"keyword"},"partition_field_value":{"copy_to":"all_field_values","type":"keyword"},"initial_influencer_score":{"type":"double"},"by_field_name":{"type":"keyword"},"event_count":{"type":"long"},"model_lower":{"type":"double"},"total_over_field_count":{"type":"long"},"retain":{"type":"boolean"},"is_interim":{"type":"boolean"},"description":{"type":"text"},"model_median":{"type":"double"},"forecast_upper":{"type":"double"},"latest_sparse_bucket_timestamp":{"type":"date"},"bucket_allocation_failures_count":{"type":"long"},"memory_status":{"type":"keyword"},"model_feature":{"type":"keyword"},"category_id":{"type":"long"},"causes":{"type":"nested","properties":{"actual":{"type":"double"},"partition_field_name":{"type":"keyword"},"partition_field_value":{"copy_to":"all_field_values","type":"keyword"},"by_field_name":{"type":"keyword"},"probability":{"type":"double"},"field_name":{"type":"keyword"},"by_field_value":{"copy_to":"all_field_values","type":"keyword"},"over_field_name":{"type":"keyword"},"function":{"type":"keyword"},"correlated_by_field_value":{"copy_to":"all_field_values","type":"keyword"},"typical":{"type":"double"},"over_field_value":{"copy_to":"all_field_values","type":"keyword"},"function_description":{"type":"keyword"}}},"all_field_values":{"analyzer":"whitespace","type":"text"},"influencer_score":{"type":"double"},"timestamp":{"type":"date"},"result_type":{"type":"keyword"},"out_of_order_timestamp_count":{"type":"long"},"last_data_time":{"type":"date"},"input_field_count":{"type":"long"},"latest_record_timestamp":{"type":"date"},"influencer_field_name":{"type":"keyword"},"forecast_messages":{"type":"keyword"},"sparse_bucket_count":{"type":"long"},"log_time":{"type":"date"},"field_name":{"type":"keyword"},"model_bytes":{"type":"long"},"quantiles":{"enabled":false},"minimum_bucket_processing_time_ms":{"type":"double"},"processing_time_ms":{"type":"long"},"bucket_influencers":{"type":"nested","properties":{"result_type":{"type":"keyword"},"initial_anomaly_score":{"type":"double"},"anomaly_score":{"type":"double"},"raw_anomaly_score":{"type":"double"},"bucket_span":{"type":"long"},"job_id":{"type":"keyword"},"probability":{"type":"double"},"influencer_field_name":{"type":"keyword"},"is_interim":{"type":"boolean"},"timestamp":{"type":"date"}}},"input_bytes":{"type":"long"},"initial_record_score":{"type":"double"},"job_id":{"copy_to":"all_field_values","type":"keyword"},"processed_field_count":{"type":"long"},"forecast_status":{"type":"keyword"},"typical":{"type":"double"},"forecast_prediction":{"type":"double"},"forecast_start_timestamp":{"type":"date"},"function_description":{"type":"keyword"}}}}},".monitoring-es":{"index_patterns":[".monitoring-es-7-*"],"order":0,"settings":{"index":{"format":"7","codec":"best_compression","number_of_shards":"1","auto_expand_replicas":"0-1","number_of_replicas":"0"}},"mappings":{"_doc":{"dynamic":false,"date_detection":false,"properties":{"interval_ms":{"type":"long"},"enrich_coordinator_stats":{"properties":{"executed_searches_total":{"type":"long"},"queue_size":{"type":"integer"},"remote_requests_current":{"type":"long"},"remote_requests_total":{"type":"long"},"node_id":{"type":"keyword"}}},"ccr_auto_follow_stats":{"properties":{"number_of_failed_remote_cluster_state_requests":{"type":"long"},"recent_auto_follow_errors":{"type":"nested","properties":{"auto_follow_exception":{"type":"object","properties":{"reason":{"type":"text"},"type":{"type":"keyword"}}},"leader_index":{"type":"keyword"},"timestamp":{"type":"long"}}},"number_of_failed_follow_indices":{"type":"long"},"number_of_successful_follow_indices":{"type":"long"},"auto_followed_clusters":{"type":"nested","properties":{"cluster_name":{"type":"keyword"},"last_seen_metadata_version":{"type":"long"},"time_since_last_check_millis":{"type":"long"}}}}},"ccr_stats":{"properties":{"write_buffer_size_in_bytes":{"type":"long"},"leader_global_checkpoint":{"type":"long"},"read_exceptions":{"type":"nested","properties":{"exception":{"type":"object","properties":{"reason":{"type":"text"},"type":{"type":"keyword"}}},"retries":{"type":"integer"},"from_seq_no":{"type":"long"}}},"follower_index":{"type":"keyword"},"leader_max_seq_no":{"type":"long"},"last_requested_seq_no":{"type":"long"},"follower_settings_version":{"type":"long"},"successful_write_requests":{"type":"long"},"remote_cluster":{"type":"keyword"},"outstanding_write_requests":{"type":"long"},"total_read_time_millis":{"type":"long"},"outstanding_read_requests":{"type":"long"},"total_write_time_millis":{"type":"long"},"failed_write_requests":{"type":"long"},"failed_read_requests":{"type":"long"},"fatal_exception":{"type":"object","properties":{"reason":{"type":"text"},"type":{"type":"keyword"}}},"bytes_read":{"type":"long"},"leader_index":{"type":"keyword"},"follower_max_seq_no":{"type":"long"},"operations_written":{"type":"long"},"write_buffer_operation_count":{"type":"long"},"successful_read_requests":{"type":"long"},"shard_id":{"type":"integer"},"follower_mapping_version":{"type":"long"},"follower_aliases_version":{"type":"long"},"follower_global_checkpoint":{"type":"long"},"total_read_remote_exec_time_millis":{"type":"long"},"operations_read":{"type":"long"},"time_since_last_read_millis":{"type":"long"}}},"cluster_state":{"properties":{"shards":{"type":"object"},"nodes_hash":{"type":"integer"},"nodes":{"type":"object"},"master_node":{"type":"keyword"},"state_uuid":{"type":"keyword"},"version":{"type":"long"},"status":{"type":"keyword"}}},"type":{"type":"keyword"},"indices_stats":{"properties":{"_all":{"properties":{"primaries":{"properties":{"search":{"properties":{"query_total":{"type":"long"},"query_time_in_millis":{"type":"long"}}},"docs":{"properties":{"count":{"type":"long"}}},"indexing":{"properties":{"index_time_in_millis":{"type":"long"},"index_total":{"type":"long"}}}}},"total":{"properties":{"search":{"properties":{"query_total":{"type":"long"},"query_time_in_millis":{"type":"long"}}},"docs":{"properties":{"count":{"type":"long"}}},"indexing":{"properties":{"index_time_in_millis":{"type":"long"},"index_total":{"type":"long"}}}}}}}}},"node_stats":{"properties":{"jvm":{"properties":{"mem":{"properties":{"heap_used_percent":{"type":"half_float"},"heap_max_in_bytes":{"type":"long"},"heap_used_in_bytes":{"type":"long"}}},"gc":{"properties":{"collectors":{"properties":{"young":{"properties":{"collection_count":{"type":"long"},"collection_time_in_millis":{"type":"long"}}},"old":{"properties":{"collection_count":{"type":"long"},"collection_time_in_millis":{"type":"long"}}}}}}}}},"indices":{"properties":{"search":{"properties":{"query_total":{"type":"long"},"query_time_in_millis":{"type":"long"}}},"query_cache":{"properties":{"miss_count":{"type":"long"},"memory_size_in_bytes":{"type":"long"},"evictions":{"type":"long"},"hit_count":{"type":"long"}}},"docs":{"properties":{"count":{"type":"long"}}},"fielddata":{"properties":{"memory_size_in_bytes":{"type":"long"},"evictions":{"type":"long"}}},"indexing":{"properties":{"throttle_time_in_millis":{"type":"long"},"index_time_in_millis":{"type":"long"},"index_total":{"type":"long"}}},"request_cache":{"properties":{"miss_count":{"type":"long"},"memory_size_in_bytes":{"type":"long"},"evictions":{"type":"long"},"hit_count":{"type":"long"}}},"store":{"properties":{"size_in_bytes":{"type":"long"}}},"segments":{"properties":{"version_map_memory_in_bytes":{"type":"long"},"norms_memory_in_bytes":{"type":"long"},"count":{"type":"integer"},"term_vectors_memory_in_bytes":{"type":"long"},"points_memory_in_bytes":{"type":"long"},"index_writer_memory_in_bytes":{"type":"long"},"memory_in_bytes":{"type":"long"},"terms_memory_in_bytes":{"type":"long"},"doc_values_memory_in_bytes":{"type":"long"},"stored_fields_memory_in_bytes":{"type":"long"},"fixed_bit_set_memory_in_bytes":{"type":"long"}}}}},"process":{"properties":{"open_file_descriptors":{"type":"long"},"max_file_descriptors":{"type":"long"},"cpu":{"properties":{"percent":{"type":"half_float"}}}}},"node_master":{"type":"boolean"},"os":{"properties":{"cpu":{"properties":{"load_average":{"properties":{"5m":{"type":"half_float"},"15m":{"type":"half_float"},"1m":{"type":"half_float"}}}}},"cgroup":{"properties":{"memory":{"properties":{"usage_in_bytes":{"type":"keyword"},"control_group":{"type":"keyword"},"limit_in_bytes":{"type":"keyword"}}},"cpu":{"properties":{"stat":{"properties":{"number_of_elapsed_periods":{"type":"long"},"number_of_times_throttled":{"type":"long"},"time_throttled_nanos":{"type":"long"}}},"control_group":{"type":"keyword"},"cfs_quota_micros":{"type":"long"}}},"cpuacct":{"properties":{"control_group":{"type":"keyword"},"usage_nanos":{"type":"long"}}}}}}},"thread_pool":{"properties":{"watcher":{"properties":{"rejected":{"type":"long"},"threads":{"type":"integer"},"queue":{"type":"integer"}}},"search":{"properties":{"rejected":{"type":"long"},"threads":{"type":"integer"},"queue":{"type":"integer"}}},"management":{"properties":{"rejected":{"type":"long"},"threads":{"type":"integer"},"queue":{"type":"integer"}}},"get":{"properties":{"rejected":{"type":"long"},"threads":{"type":"integer"},"queue":{"type":"integer"}}},"index":{"properties":{"rejected":{"type":"long"},"threads":{"type":"integer"},"queue":{"type":"integer"}}},"bulk":{"properties":{"rejected":{"type":"long"},"threads":{"type":"integer"},"queue":{"type":"integer"}}},"write":{"properties":{"rejected":{"type":"long"},"queue":{"type":"integer"}}},"generic":{"properties":{"rejected":{"type":"long"},"threads":{"type":"integer"},"queue":{"type":"integer"}}}}},"mlockall":{"type":"boolean"},"fs":{"properties":{"io_stats":{"properties":{"total":{"properties":{"write_operations":{"type":"long"},"write_kilobytes":{"type":"long"},"operations":{"type":"long"},"read_operations":{"type":"long"},"read_kilobytes":{"type":"long"}}}}},"total":{"properties":{"total_in_bytes":{"type":"long"},"free_in_bytes":{"type":"long"},"available_in_bytes":{"type":"long"}}},"data":{"properties":{"spins":{"type":"boolean"}}}}},"node_id":{"type":"keyword"}}},"enrich_executing_policy_stats":{"properties":{"task":{"type":"object","properties":{"node":{"type":"keyword"},"running_time_in_nanos":{"type":"long"},"action":{"type":"keyword"},"description":{"type":"keyword"},"start_time_in_millis":{"format":"epoch_millis","type":"date"},"id":{"type":"long"},"type":{"type":"keyword"},"cancellable":{"type":"boolean"}}},"name":{"type":"keyword"}}},"index_stats":{"properties":{"primaries":{"properties":{"search":{"properties":{"query_total":{"type":"long"},"query_time_in_millis":{"type":"long"}}},"query_cache":{"properties":{"miss_count":{"type":"long"},"memory_size_in_bytes":{"type":"long"},"evictions":{"type":"long"},"hit_count":{"type":"long"}}},"docs":{"properties":{"count":{"type":"long"}}},"fielddata":{"properties":{"memory_size_in_bytes":{"type":"long"},"evictions":{"type":"long"}}},"indexing":{"properties":{"throttle_time_in_millis":{"type":"long"},"index_time_in_millis":{"type":"long"},"index_total":{"type":"long"}}},"refresh":{"properties":{"total_time_in_millis":{"type":"long"}}},"store":{"properties":{"size_in_bytes":{"type":"long"}}},"request_cache":{"properties":{"miss_count":{"type":"long"},"memory_size_in_bytes":{"type":"long"},"evictions":{"type":"long"},"hit_count":{"type":"long"}}},"merges":{"properties":{"total_size_in_bytes":{"type":"long"}}},"segments":{"properties":{"version_map_memory_in_bytes":{"type":"long"},"norms_memory_in_bytes":{"type":"long"},"count":{"type":"integer"},"term_vectors_memory_in_bytes":{"type":"long"},"points_memory_in_bytes":{"type":"long"},"index_writer_memory_in_bytes":{"type":"long"},"memory_in_bytes":{"type":"long"},"terms_memory_in_bytes":{"type":"long"},"doc_values_memory_in_bytes":{"type":"long"},"stored_fields_memory_in_bytes":{"type":"long"},"fixed_bit_set_memory_in_bytes":{"type":"long"}}}}},"total":{"properties":{"search":{"properties":{"query_total":{"type":"long"},"query_time_in_millis":{"type":"long"}}},"query_cache":{"properties":{"miss_count":{"type":"long"},"memory_size_in_bytes":{"type":"long"},"evictions":{"type":"long"},"hit_count":{"type":"long"}}},"docs":{"properties":{"count":{"type":"long"}}},"fielddata":{"properties":{"memory_size_in_bytes":{"type":"long"},"evictions":{"type":"long"}}},"indexing":{"properties":{"throttle_time_in_millis":{"type":"long"},"index_time_in_millis":{"type":"long"},"index_total":{"type":"long"}}},"refresh":{"properties":{"total_time_in_millis":{"type":"long"}}},"store":{"properties":{"size_in_bytes":{"type":"long"}}},"request_cache":{"properties":{"miss_count":{"type":"long"},"memory_size_in_bytes":{"type":"long"},"evictions":{"type":"long"},"hit_count":{"type":"long"}}},"merges":{"properties":{"total_size_in_bytes":{"type":"long"}}},"segments":{"properties":{"version_map_memory_in_bytes":{"type":"long"},"norms_memory_in_bytes":{"type":"long"},"count":{"type":"integer"},"term_vectors_memory_in_bytes":{"type":"long"},"points_memory_in_bytes":{"type":"long"},"index_writer_memory_in_bytes":{"type":"long"},"memory_in_bytes":{"type":"long"},"terms_memory_in_bytes":{"type":"long"},"doc_values_memory_in_bytes":{"type":"long"},"stored_fields_memory_in_bytes":{"type":"long"},"fixed_bit_set_memory_in_bytes":{"type":"long"}}}}},"index":{"type":"keyword"}}},"cluster_uuid":{"type":"keyword"},"index_recovery":{"type":"object"},"source_node":{"properties":{"transport_address":{"type":"keyword"},"ip":{"type":"keyword"},"host":{"type":"keyword"},"name":{"type":"keyword"},"uuid":{"type":"keyword"},"timestamp":{"format":"date_time","type":"date"}}},"state_uuid":{"type":"keyword"},"shard":{"properties":{"node":{"type":"keyword"},"index":{"type":"keyword"},"relocating_node":{"type":"keyword"},"state":{"type":"keyword"},"shard":{"type":"long"},"primary":{"type":"boolean"}}},"cluster_stats":{"properties":{"indices":{"type":"object"},"nodes":{"type":"object"}}},"timestamp":{"format":"date_time","type":"date"},"job_stats":{"properties":{"node":{"properties":{"id":{"type":"keyword"}}},"job_id":{"type":"keyword"},"data_counts":{"properties":{"input_bytes":{"type":"long"},"empty_bucket_count":{"type":"long"},"earliest_record_timestamp":{"type":"date"},"processed_record_count":{"type":"long"},"latest_record_timestamp":{"type":"date"},"sparse_bucket_count":{"type":"long"},"bucket_count":{"type":"long"}}},"model_size_stats":{"properties":{"model_bytes":{"type":"long"},"bucket_allocation_failures_count":{"type":"long"}}},"state":{"type":"keyword"}}}}}}},".transform-notifications-000002":{"index_patterns":[".transform-notifications-*"],"order":0,"settings":{"index":{"number_of_shards":"1","auto_expand_replicas":"0-1"}},"mappings":{"_doc":{"_meta":{"version":"7.5.2"},"dynamic":"false","properties":{"level":{"type":"keyword"},"transform_id":{"type":"keyword"},"node_name":{"type":"keyword"},"message":{"type":"text","fields":{"raw":{"type":"keyword"}}},"timestamp":{"type":"date"}}}}},".watches":{"index_patterns":[".watches*"],"order":2147483647,"settings":{"index":{"format":"6","number_of_shards":"1","priority":"800","auto_expand_replicas":"0-1","number_of_replicas":"0"}},"mappings":{"_doc":{"dynamic":"strict","properties":{"throttle_period":{"index":false,"type":"keyword","doc_values":false},"input":{"dynamic":true,"type":"object","enabled":false},"condition":{"dynamic":true,"type":"object","enabled":false},"transform":{"dynamic":true,"type":"object","enabled":false},"metadata":{"dynamic":true,"type":"object"},"throttle_period_in_millis":{"index":false,"type":"long","doc_values":false},"trigger":{"dynamic":true,"type":"object","enabled":false},"actions":{"dynamic":true,"type":"object","enabled":false},"status":{"dynamic":true,"type":"object","enabled":false}}}}},".triggered_watches":{"index_patterns":[".triggered_watches*"],"order":2147483647,"settings":{"index":{"format":"6","refresh_interval":"-1","number_of_shards":"1","priority":"900","auto_expand_replicas":"0-1"}},"mappings":{"_doc":{"dynamic":"strict","properties":{"state":{"type":"keyword"},"trigger_event":{"dynamic":true,"type":"object","enabled":false,"properties":{"schedule":{"dynamic":true,"type":"object","properties":{"triggered_time":{"type":"date"},"scheduled_time":{"type":"date"}}}}}}}}},".ml-config":{"index_patterns":[".ml-config"],"order":0,"settings":{"index":{"max_result_window":"10000","unassigned":{"node_left":{"delayed_timeout":"1m"}},"number_of_shards":"1","auto_expand_replicas":"0-1"}},"mappings":{"_doc":{"_meta":{"version":"7.5.2"},"dynamic_templates":[{"strings_as_keywords":{"mapping":{"type":"keyword"},"match":"*"}}],"properties":{"job_type":{"type":"keyword"},"analysis_config":{"properties":{"categorization_analyzer":{"enabled":false},"multivariate_by_fields":{"type":"boolean"},"bucket_span":{"type":"keyword"},"latency":{"type":"keyword"},"influencers":{"type":"keyword"},"summary_count_field_name":{"type":"keyword"},"categorization_field_name":{"type":"keyword"},"detectors":{"properties":{"use_null":{"type":"boolean"},"over_field_name":{"type":"keyword"},"partition_field_name":{"type":"keyword"},"by_field_name":{"type":"keyword"},"custom_rules":{"type":"nested","properties":{"scope":{"enabled":false},"conditions":{"type":"nested","properties":{"applies_to":{"type":"keyword"},"value":{"type":"double"},"operator":{"type":"keyword"}}},"actions":{"type":"keyword"}}},"function":{"type":"keyword"},"detector_description":{"type":"text"},"exclude_frequent":{"type":"keyword"},"detector_index":{"type":"integer"},"field_name":{"type":"keyword"}}},"categorization_filters":{"type":"keyword"}}},"background_persist_interval":{"type":"keyword"},"data_description":{"properties":{"time_field":{"type":"keyword"},"time_format":{"type":"keyword"},"format":{"type":"keyword"},"quote_character":{"type":"keyword"},"field_delimiter":{"type":"keyword"}}},"description":{"type":"text"},"delayed_data_check_config":{"properties":{"check_window":{"type":"keyword"},"enabled":{"type":"boolean"}}},"analyzed_fields":{"enabled":false},"source":{"properties":{"query":{"enabled":false},"index":{"type":"keyword"}}},"dest":{"properties":{"index":{"type":"keyword"},"results_field":{"type":"keyword"}}},"model_snapshot_id":{"type":"keyword"},"frequency":{"type":"keyword"},"model_snapshot_retention_days":{"type":"long"},"job_version":{"type":"keyword"},"analysis_limits":{"properties":{"model_memory_limit":{"type":"keyword"},"categorization_examples_limit":{"type":"long"}}},"custom_settings":{"enabled":false},"script_fields":{"enabled":false},"id":{"type":"keyword"},"config_type":{"type":"keyword"},"headers":{"enabled":false},"finished_time":{"type":"date"},"model_plot_config":{"properties":{"terms":{"type":"keyword"},"enabled":{"type":"boolean"}}},"datafeed_id":{"type":"keyword"},"create_time":{"type":"date"},"query_delay":{"type":"keyword"},"model_snapshot_min_version":{"type":"keyword"},"query":{"enabled":false},"scroll_size":{"type":"long"},"groups":{"type":"keyword"},"results_index_name":{"type":"keyword"},"analysis":{"properties":{"regression":{"properties":{"lambda":{"type":"double"},"eta":{"type":"double"},"maximum_number_trees":{"type":"integer"},"dependent_variable":{"type":"keyword"},"training_percent":{"type":"double"},"feature_bag_fraction":{"type":"double"},"prediction_field_name":{"type":"keyword"},"gamma":{"type":"double"}}},"classification":{"properties":{"lambda":{"type":"double"},"eta":{"type":"double"},"maximum_number_trees":{"type":"integer"},"dependent_variable":{"type":"keyword"},"num_top_classes":{"type":"integer"},"training_percent":{"type":"double"},"feature_bag_fraction":{"type":"double"},"prediction_field_name":{"type":"keyword"},"gamma":{"type":"double"}}},"outlier_detection":{"properties":{"feature_influence_threshold":{"type":"double"},"method":{"type":"keyword"},"n_neighbors":{"type":"integer"}}}}},"version":{"type":"keyword"},"renormalization_window_days":{"type":"long"},"indices":{"type":"keyword"},"job_id":{"type":"keyword"},"results_retention_days":{"type":"long"},"aggregations":{"enabled":false},"chunking_config":{"properties":{"mode":{"type":"keyword"},"time_span":{"type":"keyword"}}}}}}},".ml-state":{"index_patterns":[".ml-state*"],"order":0,"settings":{"index":{"auto_expand_replicas":"0-1","unassigned":{"node_left":{"delayed_timeout":"1m"}}}},"mappings":{"_doc":{"_meta":{"version":"7.5.2"},"enabled":false}}},".logstash-management":{"index_patterns":[".logstash"],"order":0,"settings":{"index":{"number_of_shards":"1","auto_expand_replicas":"0-1","codec":"best_compression"}},"mappings":{"_doc":{"_meta":{"logstash-version":"7.5.2"},"dynamic":"strict","properties":{"pipeline":{"type":"text"},"metadata":{"dynamic":false,"type":"object"},"pipeline_metadata":{"properties":{"type":{"type":"keyword"},"version":{"type":"short"}}},"description":{"type":"text"},"last_modified":{"type":"date"},"pipeline_settings":{"dynamic":false,"type":"object"},"username":{"type":"keyword"}}}}},".watch-history-10":{"index_patterns":[".watcher-history-10*"],"order":2147483647,"settings":{"index":{"format":"6","lifecycle":{"name":"watch-history-ilm-policy"},"number_of_shards":"1","auto_expand_replicas":"0-1","number_of_replicas":"0"}},"mappings":{"_doc":{"_meta":{"watcher-history-version":"10"},"dynamic":false,"dynamic_templates":[{"disabled_payload_fields":{"match_pattern":"regex","path_match":"result\.(input(\..+)*|(transform(\..+)*)|(actions\.transform(\..+)*))\.payload","mapping":{"type":"object","enabled":false}}},{"disabled_search_request_body_fields":{"match_pattern":"regex","path_match":"result\.(input(\..+)*|(transform(\..+)*)|(actions\.transform(\..+)*))\.search\.request\.(body|template)","mapping":{"type":"object","enabled":false}}},{"disabled_exception_fields":{"match_pattern":"regex","path_match":"result\.(input(\..+)*|(transform(\..+)*)|(actions\.transform(\..+)*)|actions)\.error","mapping":{"type":"object","enabled":false}}},{"disabled_jira_custom_fields":{"path_match":"result.actions.jira.fields.customfield_*","mapping":{"type":"object","enabled":false}}}],"properties":{"exception":{"type":"object","enabled":false},"metadata":{"dynamic":true,"type":"object"},"trigger_event":{"dynamic":true,"type":"object","properties":{"schedule":{"dynamic":true,"type":"object","properties":{"scheduled_time":{"type":"date"}}},"triggered_time":{"type":"date"},"type":{"type":"keyword"},"manual":{"dynamic":true,"type":"object","properties":{"schedule":{"dynamic":true,"type":"object","properties":{"scheduled_time":{"type":"date"}}}}}}},"result":{"dynamic":true,"type":"object","properties":{"input":{"dynamic":true,"type":"object","properties":{"search":{"dynamic":true,"type":"object","properties":{"request":{"dynamic":true,"type":"object","properties":{"indices":{"type":"keyword"},"types":{"type":"keyword"},"search_type":{"type":"keyword"}}}}},"payload":{"type":"object","enabled":false},"http":{"dynamic":true,"type":"object","properties":{"request":{"dynamic":true,"type":"object","properties":{"path":{"type":"keyword"},"host":{"type":"keyword"}}}}},"type":{"type":"keyword"},"status":{"type":"keyword"}}},"condition":{"dynamic":true,"type":"object","properties":{"compare":{"type":"object","enabled":false},"array_compare":{"type":"object","enabled":false},"type":{"type":"keyword"},"met":{"type":"boolean"},"script":{"type":"object","enabled":false},"status":{"type":"keyword"}}},"transform":{"dynamic":true,"type":"object","properties":{"search":{"dynamic":true,"type":"object","properties":{"request":{"dynamic":true,"type":"object","properties":{"indices":{"type":"keyword"},"types":{"type":"keyword"}}}}},"type":{"type":"keyword"}}},"execution_duration":{"type":"long"},"actions":{"include_in_parent":true,"dynamic":true,"type":"nested","properties":{"reason":{"type":"keyword"},"foreach":{"type":"object","enabled":false},"webhook":{"dynamic":true,"type":"object","properties":{"request":{"dynamic":true,"type":"object","properties":{"path":{"type":"keyword"},"host":{"type":"keyword"}}}}},"number_of_actions_executed":{"type":"integer"},"slack":{"dynamic":true,"type":"object","properties":{"sent_messages":{"include_in_parent":true,"dynamic":true,"type":"nested","properties":{"reason":{"type":"text"},"request":{"type":"object","enabled":false},"response":{"type":"object","enabled":false},"to":{"type":"keyword"},"message":{"dynamic":true,"type":"object","properties":{"attachments":{"include_in_parent":true,"dynamic":true,"type":"nested","properties":{"color":{"type":"keyword"},"fields":{"properties":{"value":{"type":"text"}}}}},"icon":{"type":"keyword"},"from":{"type":"text"},"text":{"type":"text"}}},"status":{"type":"keyword"}}},"account":{"type":"keyword"}}},"index":{"dynamic":true,"type":"object","properties":{"response":{"dynamic":true,"type":"object","properties":{"index":{"type":"keyword"},"id":{"type":"keyword"},"type":{"type":"keyword"}}}}},"pagerduty":{"dynamic":true,"type":"object","properties":{"sent_event":{"include_in_parent":true,"dynamic":true,"type":"nested","properties":{"reason":{"type":"text"},"request":{"type":"object","enabled":false},"response":{"type":"object","enabled":false},"event":{"dynamic":true,"type":"object","properties":{"client_url":{"type":"keyword"},"context":{"include_in_parent":true,"dynamic":true,"type":"nested","properties":{"src":{"type":"keyword"},"alt":{"type":"text"},"href":{"type":"keyword"},"type":{"type":"keyword"}}},"client":{"type":"text"},"description":{"type":"text"},"attach_payload":{"type":"boolean"},"incident_key":{"type":"keyword"},"type":{"type":"keyword"},"account":{"type":"keyword"}}}}},"account":{"type":"keyword"}}},"id":{"type":"keyword"},"type":{"type":"keyword"},"email":{"dynamic":true,"type":"object","properties":{"message":{"dynamic":true,"type":"object","properties":{"cc":{"type":"keyword"},"bcc":{"type":"keyword"},"reply_to":{"type":"keyword"},"from":{"type":"keyword"},"id":{"type":"keyword"},"to":{"type":"keyword"}}}}},"status":{"type":"keyword"},"jira":{"dynamic":true,"type":"object","properties":{"result":{"dynamic":true,"type":"object","properties":{"self":{"type":"keyword"},"id":{"type":"keyword"},"key":{"type":"keyword"}}},"reason":{"type":"text"},"request":{"type":"object","enabled":false},"response":{"type":"object","enabled":false},"fields":{"dynamic":true,"type":"object","properties":{"summary":{"type":"text"},"issuetype":{"dynamic":true,"type":"object","properties":{"name":{"type":"keyword"},"id":{"type":"keyword"}}},"description":{"type":"text"},"project":{"dynamic":true,"type":"object","properties":{"id":{"type":"keyword"},"key":{"type":"keyword"}}},"labels":{"type":"text"}}},"account":{"type":"keyword"}}}}},"execution_time":{"type":"date"}}},"node":{"type":"keyword"},"input":{"type":"object","enabled":false},"condition":{"type":"object","enabled":false},"watch_id":{"type":"keyword"},"messages":{"type":"text"},"vars":{"type":"object","enabled":false},"state":{"type":"keyword"},"user":{"type":"text"},"status":{"dynamic":true,"type":"object","enabled":false}}}}},".monitoring-alerts-7":{"index_patterns":[".monitoring-alerts-7"],"order":0,"settings":{"index":{"format":"7","codec":"best_compression","number_of_shards":"1","auto_expand_replicas":"0-1","number_of_replicas":"0"}},"mappings":{"_doc":{"dynamic":false,"properties":{"metadata":{"properties":{"severity":{"type":"short"},"cluster_uuid":{"type":"keyword"},"watch":{"type":"keyword"},"link":{"type":"keyword"},"type":{"type":"keyword"},"version":{"type":"keyword"}}},"update_timestamp":{"type":"date"},"prefix":{"type":"text"},"message":{"type":"text"},"suffix":{"type":"text"},"resolved_timestamp":{"type":"date"},"timestamp":{"type":"date"}}}}},".transform-internal-003":{"index_patterns":[".transform-internal-003"],"order":0,"settings":{"index":{"number_of_shards":"1","auto_expand_replicas":"0-1"}},"mappings":{"_doc":{"_meta":{"version":"7.5.2"},"dynamic":"false","properties":{"create_time":{"type":"date"},"timestamp_millis":{"type":"date"},"stats":{"properties":{"pages_processed":{"type":"long"},"index_time_in_ms":{"type":"long"},"search_failures":{"type":"long"},"search_total":{"type":"long"},"index_failures":{"type":"long"},"documents_indexed":{"type":"long"},"trigger_count":{"type":"long"},"documents_processed":{"type":"long"},"search_time_in_ms":{"type":"long"},"index_total":{"type":"long"},"exponential_avg_checkpoint_duration_ms":{"type":"double"},"exponential_avg_documents_processed":{"type":"double"},"exponential_avg_documents_indexed":{"type":"double"}}},"description":{"type":"text"},"doc_type":{"type":"keyword"},"id":{"type":"keyword"},"source":{"properties":{"query":{"enabled":"false"},"index":{"type":"keyword"}}},"state":{"properties":{"checkpoint":{"type":"long"},"reason":{"type":"keyword"},"current_position":{"enabled":false},"task_state":{"type":"keyword"},"progress":{"properties":{"docs_processed":{"type":"long"},"docs_remaining":{"type":"long"},"total_docs":{"type":"long"},"docs_indexed":{"type":"long"},"percent_complete":{"type":"float"}}},"indexer_state":{"type":"keyword"}}},"time_upper_bound_millis":{"type":"date"},"dest":{"properties":{"index":{"type":"keyword"}}},"version":{"type":"keyword"}}}}},".slm-history":{"index_patterns":[".slm-history-1*"],"order":2147483647,"settings":{"index":{"format":"1","lifecycle":{"name":"slm-history-ilm-policy","rollover_alias":".slm-history-1"},"number_of_shards":"1","auto_expand_replicas":"0-1","number_of_replicas":"0"}},"mappings":{"_doc":{"dynamic":false,"properties":{"snapshot_name":{"type":"keyword"},"@timestamp":{"format":"epoch_millis","type":"date"},"configuration":{"dynamic":false,"type":"object","properties":{"indices":{"type":"keyword"},"include_global_state":{"type":"boolean"},"partial":{"type":"boolean"}}},"error_details":{"index":false,"type":"text"},"success":{"type":"boolean"},"repository":{"type":"keyword"},"operation":{"type":"keyword"},"policy":{"type":"keyword"}}}}},".monitoring-beats":{"index_patterns":[".monitoring-beats-7-*"],"order":0,"settings":{"index":{"format":"7","codec":"best_compression","number_of_shards":"1","auto_expand_replicas":"0-1","number_of_replicas":"0"}},"mappings":{"_doc":{"dynamic":false,"properties":{"interval_ms":{"type":"long"},"cluster_uuid":{"type":"keyword"},"source_node":{"properties":{"ip":{"type":"keyword"},"transport_address":{"type":"keyword"},"host":{"type":"keyword"},"name":{"type":"keyword"},"uuid":{"type":"keyword"}}},"type":{"type":"keyword"},"beats_stats":{"properties":{"beat":{"properties":{"host":{"type":"keyword"},"name":{"type":"keyword"},"type":{"type":"keyword"},"uuid":{"type":"keyword"},"version":{"type":"keyword"}}},"metrics":{"properties":{"system":{"properties":{"load":{"properties":{"1":{"type":"double"},"15":{"type":"double"},"5":{"type":"double"},"norm":{"properties":{"1":{"type":"double"},"15":{"type":"double"},"5":{"type":"double"}}}}}}},"beat":{"properties":{"handles":{"properties":{"limit":{"properties":{"hard":{"type":"long"},"soft":{"type":"long"}}},"open":{"type":"long"}}},"cpu":{"properties":{"total":{"properties":{"ticks":{"type":"long"},"time":{"properties":{"ms":{"type":"long"}}},"value":{"type":"long"}}},"system":{"properties":{"ticks":{"type":"long"},"time":{"properties":{"ms":{"type":"long"}}}}},"user":{"properties":{"ticks":{"type":"long"},"time":{"properties":{"ms":{"type":"long"}}}}}}},"memstats":{"properties":{"rss":{"type":"long"},"gc_next":{"type":"long"},"memory_alloc":{"type":"long"},"memory_total":{"type":"long"}}},"info":{"properties":{"ephemeral_id":{"type":"keyword"},"uptime":{"properties":{"ms":{"type":"long"}}}}}}},"libbeat":{"properties":{"output":{"properties":{"read":{"properties":{"bytes":{"type":"long"},"errors":{"type":"long"}}},"type":{"type":"keyword"},"write":{"properties":{"bytes":{"type":"long"},"errors":{"type":"long"}}},"events":{"properties":{"batches":{"type":"long"},"duplicates":{"type":"long"},"total":{"type":"long"},"dropped":{"type":"long"},"toomany":{"type":"long"},"active":{"type":"long"},"failed":{"type":"long"},"acked":{"type":"long"}}}}},"pipeline":{"properties":{"clients":{"type":"long"},"events":{"properties":{"total":{"type":"long"},"filtered":{"type":"long"},"dropped":{"type":"long"},"active":{"type":"long"},"failed":{"type":"long"},"published":{"type":"long"},"retry":{"type":"long"}}},"queue":{"properties":{"acked":{"type":"long"}}}}},"config":{"properties":{"module":{"properties":{"running":{"type":"long"},"stops":{"type":"long"},"starts":{"type":"long"}}},"reloads":{"type":"long"}}}}},"apm-server":{"properties":{"server":{"properties":{"request":{"properties":{"count":{"type":"long"}}},"response":{"properties":{"valid":{"properties":{"count":{"type":"long"},"accepted":{"type":"long"},"ok":{"type":"long"}}},"count":{"type":"long"},"errors":{"properties":{"ratelimit":{"type":"long"},"toolarge":{"type":"long"},"internal":{"type":"long"},"method":{"type":"long"},"unauthorized":{"type":"long"},"forbidden":{"type":"long"},"count":{"type":"long"},"closed":{"type":"long"},"decode":{"type":"long"},"queue":{"type":"long"},"validate":{"type":"long"},"concurrency":{"type":"long"}}}}},"concurrent":{"properties":{"wait":{"properties":{"ms":{"type":"long"}}}}}}},"decoder":{"properties":{"deflate":{"properties":{"content-length":{"type":"long"},"count":{"type":"long"}}},"reader":{"properties":{"size":{"type":"long"},"count":{"type":"long"}}},"gzip":{"properties":{"content-length":{"type":"long"},"count":{"type":"long"}}},"uncompressed":{"properties":{"content-length":{"type":"long"},"count":{"type":"long"}}},"missing-content-length":{"properties":{"count":{"type":"long"}}}}},"processor":{"properties":{"metric":{"properties":{"transformations":{"type":"long"},"decoding":{"properties":{"count":{"type":"long"},"errors":{"type":"long"}}},"validation":{"properties":{"count":{"type":"long"},"errors":{"type":"long"}}}}},"sourcemap":{"properties":{"counter":{"type":"long"},"decoding":{"properties":{"count":{"type":"long"},"errors":{"type":"long"}}},"validation":{"properties":{"count":{"type":"long"},"errors":{"type":"long"}}}}},"error":{"properties":{"stacktraces":{"type":"long"},"frames":{"type":"long"},"transformations":{"type":"long"},"decoding":{"properties":{"count":{"type":"long"},"errors":{"type":"long"}}},"validation":{"properties":{"count":{"type":"long"},"errors":{"type":"long"}}},"errors":{"type":"long"}}},"transaction":{"properties":{"stacktraces":{"type":"long"},"spans":{"type":"long"},"frames":{"type":"long"},"transformations":{"type":"long"},"transactions":{"type":"long"},"decoding":{"properties":{"count":{"type":"long"},"errors":{"type":"long"}}},"validation":{"properties":{"count":{"type":"long"},"errors":{"type":"long"}}}}},"span":{"properties":{"transformations":{"type":"long"}}}}}}}}},"tags":{"type":"keyword"},"timestamp":{"format":"date_time","type":"date"}}},"beats_state":{"properties":{"beat":{"properties":{"host":{"type":"keyword"},"name":{"type":"keyword"},"type":{"type":"keyword"},"uuid":{"type":"keyword"},"version":{"type":"keyword"}}},"state":{"properties":{"output":{"properties":{"name":{"type":"keyword"}}},"input":{"properties":{"names":{"type":"keyword"},"count":{"type":"long"}}},"service":{"properties":{"name":{"type":"keyword"},"id":{"type":"keyword"},"version":{"type":"keyword"}}},"module":{"properties":{"names":{"type":"keyword"},"count":{"type":"long"}}},"beat":{"properties":{"name":{"type":"keyword"}}},"host":{"properties":{"hostname":{"type":"keyword"},"os":{"properties":{"build":{"type":"keyword"},"family":{"type":"keyword"},"version":{"type":"keyword"},"platform":{"type":"keyword"}}},"name":{"type":"keyword"},"architecture":{"type":"keyword"}}}}},"timestamp":{"format":"date_time","type":"date"}}},"timestamp":{"format":"date_time","type":"date"}}}}},".ml-notifications-000001":{"index_patterns":[".ml-notifications-000001"],"order":0,"settings":{"index":{"number_of_shards":"1","auto_expand_replicas":"0-1","unassigned":{"node_left":{"delayed_timeout":"1m"}}}},"mappings":{"_doc":{"_meta":{"version":"7.5.2"},"dynamic":"false","properties":{"job_type":{"type":"keyword"},"level":{"type":"keyword"},"job_id":{"type":"keyword"},"node_name":{"type":"keyword"},"message":{"type":"text","fields":{"raw":{"type":"keyword"}}},"timestamp":{"type":"date"}}}}},".monitoring-kibana":{"index_patterns":[".monitoring-kibana-7-*"],"order":0,"settings":{"index":{"format":"7","codec":"best_compression","number_of_shards":"1","auto_expand_replicas":"0-1","number_of_replicas":"0"}},"mappings":{"_doc":{"dynamic":false,"properties":{"interval_ms":{"type":"long"},"cluster_uuid":{"type":"keyword"},"source_node":{"properties":{"transport_address":{"type":"keyword"},"ip":{"type":"keyword"},"host":{"type":"keyword"},"name":{"type":"keyword"},"uuid":{"type":"keyword"},"timestamp":{"format":"date_time","type":"date"}}},"type":{"type":"keyword"},"kibana_stats":{"properties":{"cloud":{"properties":{"vm_type":{"type":"keyword"},"metadata":{"type":"object"},"zone":{"type":"keyword"},"name":{"type":"keyword"},"id":{"type":"keyword"},"region":{"type":"keyword"}}},"process":{"properties":{"memory":{"properties":{"resident_set_size_in_bytes":{"type":"float"},"heap":{"properties":{"used_in_bytes":{"type":"float"},"total_in_bytes":{"type":"float"},"size_limit":{"type":"float"}}}}},"event_loop_delay":{"type":"float"},"uptime_in_millis":{"type":"long"}}},"os":{"properties":{"memory":{"properties":{"used_in_bytes":{"type":"float"},"total_in_bytes":{"type":"float"},"free_in_bytes":{"type":"float"}}},"load":{"properties":{"5m":{"type":"half_float"},"15m":{"type":"half_float"},"1m":{"type":"half_float"}}},"uptime_in_millis":{"type":"long"}}},"response_times":{"properties":{"average":{"type":"float"},"max":{"type":"float"}}},"usage":{"properties":{"index":{"type":"keyword"}}},"sockets":{"properties":{"http":{"properties":{"total":{"type":"long"}}},"https":{"properties":{"total":{"type":"long"}}}}},"requests":{"properties":{"total":{"type":"long"},"status_codes":{"type":"object"},"disconnects":{"type":"long"}}},"kibana":{"properties":{"transport_address":{"type":"keyword"},"name":{"type":"keyword"},"host":{"type":"keyword"},"statuses":{"properties":{"name":{"type":"keyword"},"state":{"type":"keyword"}}},"uuid":{"type":"keyword"},"version":{"type":"keyword"},"snapshot":{"type":"boolean"},"status":{"type":"keyword"}}},"concurrent_connections":{"type":"long"},"timestamp":{"type":"date"}}},"timestamp":{"format":"date_time","type":"date"}}}}}},"indices":{"resource_log_index":{"state":"open","settings":{"index":{"creation_date":"1587607624478","number_of_shards":"1","number_of_replicas":"1","uuid":"FQdTxnlITfWxWZbmQBrQqw","version":{"created":"7050299"},"provided_name":"resource_log_index"}},"mappings":{},"aliases":[],"primary_terms":{"0":1},"in_sync_allocations":{"0":["QI9GsnXxQQKODDiiaN2qIQ"]}},"resource_relation_index":{"state":"open","settings":{"index":{"creation_date":"1587607626318","number_of_shards":"1","number_of_replicas":"1","uuid":"fsexP8riSCWH0-cOjCM1kg","version":{"created":"7050299"},"provided_name":"resource_relation_index"}},"mappings":{},"aliases":[],"primary_terms":{"0":1},"in_sync_allocations":{"0":["qcUjYDUsRSWI8dUPvO5XbQ"]}},"resource_index":{"state":"open","settings":{"index":{"creation_date":"1587607480920","number_of_shards":"1","number_of_replicas":"1","uuid":"DmIO64RARS6OInCD25KWvw","version":{"created":"7050299"},"provided_name":"resource_index"}},"mappings":{"_doc":{"properties":{"IS_DELETED":{"type":"long"},"globalSubordinateProject":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"templateId":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"evsMountPoint":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"globalSubordinateArea":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"ecsImage":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"globalSubordinateTenant":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"evsDiskAttribute":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"id":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"ecsAgentVersion":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"evsDiskType":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"globalCreateTime":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"globalHealthStatus":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"resource_code":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"ecsNetworkCard":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"globalConfigurationCode":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"evsUsableZone":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"ecsSpec":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"globalConfigurationName":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"ecsUsableArea":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"ecsStartTime":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"ecsIntranetIp":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"vpcNetworkSegment":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"evsSourceSnapshotId":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"evsDIskModel":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"globalFirstLevel":{"type":"long"},"globalSubordinateAccount":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"evsShareDisk":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"vpcNumber":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"globalThirdLevel":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"ecsRam":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"globalConfigurationDesc":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"ecsOperatingSystem":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"globalCloudServerType":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"globalStatus":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"ecsSecurityGroup":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"ecsCpu":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"evsVolume":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"globalChargingMode":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"globalSubordinateOrder":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"globalSecondLevel":{"type":"long"},"vpcRoutingTable":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"globalSubordinateDepartment":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"globalResourceType":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"globalEndTime":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"evsImage":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"vpcList":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"evsEncryption":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}},"ipType":{"type":"text","fields":{"keyword":{"ignore_above":256,"type":"keyword"}}}}}},"aliases":[],"primary_terms":{"0":1},"in_sync_allocations":{"0":["IW9bBVg7Rh6560w9b11ylQ"]}}},"index-graveyard":{"tombstones":[]},"index_lifecycle":{"policies":{"slm-history-ilm-policy":{"policy":{"phases":{"hot":{"min_age":"0ms","actions":{"rollover":{"max_size":"50gb","max_age":"30d"}}},"delete":{"min_age":"90d","actions":{"delete":{}}}}},"headers":{},"version":1,"modified_date":1587607275789,"modified_date_string":"2020-04-23T02:01:15.789Z"},"watch-history-ilm-policy":{"policy":{"phases":{"delete":{"min_age":"7d","actions":{"delete":{}}}}},"headers":{},"version":1,"modified_date":1587607275760,"modified_date_string":"2020-04-23T02:01:15.760Z"}},"operation_mode":"RUNNING"},"ingest":{"pipeline":[{"id":"xpack_monitoring_6","config":{"description":"This pipeline upgrades documents from the older version of the Monitoring API to the newer version (7) by fixing breaking changes in those older documents before they are indexed from the older version (6).","version":7000199,"processors":[{"script":{"source":"ctx._type = null"}},{"gsub":{"field":"_index","pattern":"(.monitoring-\w+-)6(-.+)","replacement":"$17$2"}}]}},{"id":"xpack_monitoring_7","config":{"description":"This is a placeholder pipeline for Monitoring API version 7 so that future versions may fix breaking changes.","version":7000199,"processors":[]}}]}},"routing_table":{"indices":{"resource_log_index":{"shards":{"0":[{"state":"STARTED","primary":true,"node":"37osvvOCQSSsusw-uC2hTg","relocating_node":null,"shard":0,"index":"resource_log_index","allocation_id":{"id":"QI9GsnXxQQKODDiiaN2qIQ"}},{"state":"UNASSIGNED","primary":false,"node":null,"relocating_node":null,"shard":0,"index":"resource_log_index","recovery_source":{"type":"PEER"},"unassigned_info":{"reason":"INDEX_CREATED","at":"2020-04-23T02:07:04.486Z","delayed":false,"allocation_status":"no_attempt"}}]}},"resource_relation_index":{"shards":{"0":[{"state":"STARTED","primary":true,"node":"37osvvOCQSSsusw-uC2hTg","relocating_node":null,"shard":0,"index":"resource_relation_index","allocation_id":{"id":"qcUjYDUsRSWI8dUPvO5XbQ"}},{"state":"UNASSIGNED","primary":false,"node":null,"relocating_node":null,"shard":0,"index":"resource_relation_index","recovery_source":{"type":"PEER"},"unassigned_info":{"reason":"INDEX_CREATED","at":"2020-04-23T02:07:06.322Z","delayed":false,"allocation_status":"no_attempt"}}]}},"resource_index":{"shards":{"0":[{"state":"STARTED","primary":true,"node":"37osvvOCQSSsusw-uC2hTg","relocating_node":null,"shard":0,"index":"resource_index","allocation_id":{"id":"IW9bBVg7Rh6560w9b11ylQ"}},{"state":"UNASSIGNED","primary":false,"node":null,"relocating_node":null,"shard":0,"index":"resource_index","recovery_source":{"type":"PEER"},"unassigned_info":{"reason":"INDEX_CREATED","at":"2020-04-23T02:04:40.929Z","delayed":false,"allocation_status":"no_attempt"}}]}}}},"routing_nodes":{"unassigned":[{"state":"UNASSIGNED","primary":false,"node":null,"relocating_node":null,"shard":0,"index":"resource_log_index","recovery_source":{"type":"PEER"},"unassigned_info":{"reason":"INDEX_CREATED","at":"2020-04-23T02:07:04.486Z","delayed":false,"allocation_status":"no_attempt"}},{"state":"UNASSIGNED","primary":false,"node":null,"relocating_node":null,"shard":0,"index":"resource_relation_index","recovery_source":{"type":"PEER"},"unassigned_info":{"reason":"INDEX_CREATED","at":"2020-04-23T02:07:06.322Z","delayed":false,"allocation_status":"no_attempt"}},{"state":"UNASSIGNED","primary":false,"node":null,"relocating_node":null,"shard":0,"index":"resource_index","recovery_source":{"type":"PEER"},"unassigned_info":{"reason":"INDEX_CREATED","at":"2020-04-23T02:04:40.929Z","delayed":false,"allocation_status":"no_attempt"}}],"nodes":{"37osvvOCQSSsusw-uC2hTg":[{"state":"STARTED","primary":true,"node":"37osvvOCQSSsusw-uC2hTg","relocating_node":null,"shard":0,"index":"resource_log_index","allocation_id":{"id":"QI9GsnXxQQKODDiiaN2qIQ"}},{"state":"STARTED","primary":true,"node":"37osvvOCQSSsusw-uC2hTg","relocating_node":null,"shard":0,"index":"resource_relation_index","allocation_id":{"id":"qcUjYDUsRSWI8dUPvO5XbQ"}},{"state":"STARTED","primary":true,"node":"37osvvOCQSSsusw-uC2hTg","relocating_node":null,"shard":0,"index":"resource_index","allocation_id":{"id":"IW9bBVg7Rh6560w9b11ylQ"}}]}}}

8.GET http://117.78.43.65:31130/
{
"name" : "node-1",
"cluster_name" : "es",
"cluster_uuid" : "pWXUaj7KTKG-8LHvYGvJCw",
"version" : {
"number" : "7.5.2",
"build_flavor" : "default",
"build_type" : "docker",
"build_hash" : "8bec50e1e0ad29dad5653712cf3bb580cd1afcdf",
"build_date" : "2020-01-15T12:11:52.313576Z",
"build_snapshot" : false,
"lucene_version" : "8.3.0",
"minimum_wire_compatibility_version" : "6.8.0",
"minimum_index_compatibility_version" : "6.0.0-beta1"
},
"tagline" : "You Know, for Search"
}

9.精确查询
POST http://117.78.43.65:31130/resource_index/_search
{"query":{"bool":{"must":[{"term":{"globalConfigurationCode.keyword":"e0ff554d-5c50-437d-a78e-32e717063331"}}],"must_not":[],"should":[]}},"from":0,"size":10,"sort":[],"aggs":{}}
{"took":0,"timed_out":false,"_shards":{"total":1,"successful":1,"skipped":0,"failed":0},"hits":{"total":{"value":1,"relation":"eq"},"max_score":1.3862944,"hits":[{"_index":"resource_index","_type":"_doc","_id":"59998449915256832","_score":1.3862944,"_source":{"IS_DELETED":0,"globalSubordinateAccount":"cost-test","evsShareDisk":"false","globalThirdLevel":"CST-CHR-EVS-HW","globalSubordinateProject":"-1","templateId":"57449642228695040","globalConfigurationDesc":"-1","globalCloudServerType":"hws.service.type.ec2","globalSubordinateArea":"华北","evsMountPoint":"002a1575-6d09-4504-bf60-c738c639c114-sda","globalStatus":"in-use","globalSubordinateTenant":"49138375780925440","evsDiskAttribute":"系统盘","evsVolume":"40","id":"59998449915256832","globalChargingMode":"包周期","globalSubordinateOrder":"-1","globalSecondLevel":57447273931718656,"evsDiskType":"SATA","globalCreateTime":"1516982400000","globalHealthStatus":"5","globalSubordinateDepartment":"-1","resource_code":"e0ff554d-5c50-437d-a78e-32e717063331","globalResourceType":"hws.resource.type.volume","globalConfigurationCode":"e0ff554d-5c50-437d-a78e-32e717063331","globalEndTime":"1590508799000","evsUsableZone":"-1","evsImage":"Windows Server Standard 2008 R2 64bit","globalConfigurationName":"ecs-域控-volume-0000","evsSourceSnapshotId":"-1","evsEncryption":"不加密","globalFirstLevel":57446574011432960,"evsDIskModel":"VBD"}}]}}

10.模糊查询,使用keyword,不分词 "index":"not_analyzed"
POST http://117.78.43.65:31130/resource_index/_search
{"query":{"bool":{"must":[{"wildcard":{"globalConfigurationCode.keyword":"*e0ff554d*"}}],"must_not":[],"should":[]}},"from":0,"size":10,"sort":[],"aggs":{}}
{"took":16,"timed_out":false,"_shards":{"total":1,"successful":1,"skipped":0,"failed":0},"hits":{"total":{"value":1,"relation":"eq"},"max_score":1.0,"hits":[{"_index":"resource_index","_type":"_doc","_id":"59998449915256832","_score":1.0,"_source":{"IS_DELETED":0,"globalSubordinateAccount":"cost-test","evsShareDisk":"false","globalThirdLevel":"CST-CHR-EVS-HW","globalSubordinateProject":"-1","templateId":"57449642228695040","globalConfigurationDesc":"-1","globalCloudServerType":"hws.service.type.ec2","globalSubordinateArea":"华北","evsMountPoint":"002a1575-6d09-4504-bf60-c738c639c114-sda","globalStatus":"in-use","globalSubordinateTenant":"49138375780925440","evsDiskAttribute":"系统盘","evsVolume":"40","id":"59998449915256832","globalChargingMode":"包周期","globalSubordinateOrder":"-1","globalSecondLevel":57447273931718656,"evsDiskType":"SATA","globalCreateTime":"1516982400000","globalHealthStatus":"5","globalSubordinateDepartment":"-1","resource_code":"e0ff554d-5c50-437d-a78e-32e717063331","globalResourceType":"hws.resource.type.volume","globalConfigurationCode":"e0ff554d-5c50-437d-a78e-32e717063331","globalEndTime":"1590508799000","evsUsableZone":"-1","evsImage":"Windows Server Standard 2008 R2 64bit","globalConfigurationName":"ecs-域控-volume-0000","evsSourceSnapshotId":"-1","evsEncryption":"不加密","globalFirstLevel":57446574011432960,"evsDIskModel":"VBD"}}]}}

11.创建索引
PUT indexTest001
索引设置

      ES 默认提供了好多索引配置选项,参考https://www.elastic.co/guide/en/elasticsearch/reference/5.6/index-modules.html,这些配置选项都有经过优化的默认配置值,除非你非常清楚这些配置的作用以及知道为什么去修改它,不然使用其默认值即可。

    a、分片设置

        number_of_shards
        每个索引的主分片数,默认值是 5 。这个配置在索引创建后不能修改。
        number_of_replicas

        每个主分片的副本数,默认值是 1 。对于活动的索引库,这个配置可以随时修改。

        例如,我们可以创建只有 一个主分片,没有副本的小索引:
        PUT /my_test_index_004
        {
            "settings": {
            "number_of_shards" :   1,
            "number_of_replicas" : 0
            }

        }

        更改副本数量:

        PUT /my_test_index_004/_settings
        {
            "number_of_replicas": 2

        }

     每次更改分片之后可以使用:GET my_test_index_004/_search_shards 来查询索引信息.

12.插入数据

POST indextest001/product
{
  "title": "test title 001",
  "description": "this is a random desc ",
  "price": 22.6,
  "onSale": "true",
  "type": 2,
  "createDate": "2018-01-12"

}

 然后查询一下所有数据,默认为match_all

 GET indextest001/product/

根据id查询

 GET indextest001/product/UNBdGWIBI2NcsxokJ0lQ

13.指定分词器后,全文检索

免责声明:文章转载自《ES操作整理》仅用于学习参考。如对内容有疑问,请及时联系本站处理。

上篇glog 入门简介 foreveryl 博客园Jxl操作Excel设置背景、字体颜色、对齐方式、列的宽度(转)下篇

宿迁高防,2C2G15M,22元/月;香港BGP,2C5G5M,25元/月 雨云优惠码:MjYwNzM=

随便看看

VMP加壳(二):VMP的虚拟化原理

由于CPU只能识别和执行二进制文件,并直接让硬件CPU执行虚拟机的二进制代码,因此只能考虑通过纯软件模拟虚拟机执行代码指令。为了在软件级别模拟CPU执行二进制代码指令,一般的虚拟机指令要么是操作寄存器,虚拟机指令的处理程序必须模拟这些函数。它用于指示虚拟CPU当前执行的代码。为了满足上述要点,2。VMP虚拟机的执行过程(1)考虑启动VT。...

基于 WebRTC 的 RTSP 视频实时预览

该方案采用基于WebRTC的视频即时消息,其原生支持RTP协议的解码,因此延迟可以非常低,约为0.2-0.4秒。其他方案的延迟大于1秒。WebRTC需要浏览器。您可以在以下地址查看支持的浏览器。WebRTC实现基于web的视频会议。标准是WHATWG协议。其目的是通过浏览器提供简单的javascript来实现实时通信功能。Github中有很多WebRTC的实...

TabWidget修改tab颜色,自定义样式

您可以通过tabWidget-˃setStyleSheet方法设置样式,包括选项卡样式。...

Notepad++正则表达式查找替换文本中文字符

测试需求测试工具中xml配置文件中的注释字段包含中文字符。Win10系统中使用的工具中偶尔会出现中文乱码,导致配置文件无效。解决方案是将配置文件中的中文注释替换为英文注释,或者直接替换和删除。如何查找和删除配置文件中的汉字?“记事本”中使用正则表达式[^x00 xff]来匹配汉字。替换完成如下3。所有汉字已被替换。...

libffi

Thisislibffi.info,由libffi.texi生产的bymakeinfo版本5.1。本手册适用于libffi,一个可移植的外国函数接口库。版权所有(C)200820102011redhat,股份有限公司。许可授予复制、分发...

SQL 2008维护计划不执行的问题

平台环境;首先,安装了WINDOWS 2008,但没有升级到AD。安装了sql2008之后,AD被升级。无法确定所有者WWW-4410C397505Administrator是否具有服务器访问权限(原因:无法获取有关WindowsNT组/用户“WWW-440C397505Administrator”的信息,错误代码为0x534。[SQLSTATE42000]...