1、_cat列入所有有效命令

  1. GET /_cat
  2.  
  3. 返回:有个猫...所以不难想象为啥是cat api
  4. =^.^=
  5. /_cat/allocation
  6. /_cat/shards
  7. /_cat/shards/{index}
  8. /_cat/master
  9. /_cat/nodes
  10. /_cat/tasks
  11. /_cat/indices
  12. /_cat/indices/{index}
  13. /_cat/segments
  14. /_cat/segments/{index}
  15. /_cat/count
  16. /_cat/count/{index}
  17. /_cat/recovery
  18. /_cat/recovery/{index}
  19. /_cat/health
  20. /_cat/pending_tasks
  21. /_cat/aliases
  22. /_cat/aliases/{alias}
  23. /_cat/thread_pool
  24. /_cat/thread_pool/{thread_pools}
  25. /_cat/plugins
  26. /_cat/fielddata
  27. /_cat/fielddata/{fields}
  28. /_cat/nodeattrs
  29. /_cat/repositories
  30. /_cat/snapshots/{repository}
  31. /_cat/templates

2、通用参数

2.1 verbose参数,显示命令详细信息

  1. GET /_cat/master?v
  2.  
  3. result:
  4. id host ip node
  5. Sa5md_zERDebxloO004ffQ 192.168.31.10 192.168.31.10 vmstation.es.1
  6.  
  7. 没有加?v的情况,result
  8. Sa5md_zERDebxloO004ffQ 192.168.31.10 192.168.31.10 vmstation.es.1

2.2 help参数,显示有效列的详细说明

  1. GET /_cat/master?help
  2.  
  3. result:
  4. id | | node id
  5. host | h | host name
  6. ip | | ip address
  7. node | n | node name

2.3 header参数,选择显示的列

  1. GET /_cat/nodes?h=ip,port,heapPercent,name
  2.  
  3. result:
  4. 192.168.31.10 9300 43 vmstation.es.1

2.4、响应体返回格式,支持json,yaml,text(default),smile,cbor

  1. json格式
    GET /_cat/indices?format=json&pretty
  2.  
  3. result:
  4. [
  5. {
  6. "health" : "green",
  7. "status" : "open",
  8. "index" : ".monitoring-kibana-6-2018.12.24",
  9. "uuid" : "vkJltBs1T8qEfdUDdyDYzA",
  10. "pri" : "1",
  11. "rep" : "0",
  12. "docs.count" : "1345",
  13. "docs.deleted" : "0",
  14. "store.size" : "453.3kb",
  15. "pri.store.size" : "453.3kb"
  16. },
  17. {
  18. "health" : "green",
  19. "status" : "open",
  20. "index" : "user2",
  21. "uuid" : "xo9Zb2OkRWeqV5bRKNDKGg",
  22. "pri" : "1",
  23. "rep" : "0",
  24. "docs.count" : "12",
  25. "docs.deleted" : "0",
  26. "store.size" : "7.9kb",
  27. "pri.store.size" : "7.9kb"
  28. },
  29. .....
  30. ]

2.5、多个参数混合使用,一个问号,参数用&连接

  1. GET /_cat/nodes?v&h=ip,port,heapPercent,name
  2.  
  3. result:
  4. ip port heapPercent name
  5. 192.168.31.10 9300 59 vmstation.es.1

2.6、排序sort,缺省是asc排序

  1. GET /_cat/indices?v&h=health,index,store.size&s=store.size:desc
  2.  
  3. result:
  4. health index store.size
  5. green .monitoring-es-6-2018.12.24 10mb
  6. green .monitoring-es-6-2018.12.20 5mb
  7. green .monitoring-es-6-2018.12.25 4.4mb
  8. green .monitoring-kibana-6-2018.12.24 453.3kb
  9. green .monitoring-kibana-6-2018.12.20 318kb
  10. green .monitoring-kibana-6-2018.12.25 195.2kb
  11. yellow bus 86kb
  12. yellow blog 34.3kb
  13. green shirts 25kb
  14. yellow home 16.8kb
  15. green user 13.7kb
  16. green .kibana_1 12kb
  17. green bus2 11.6kb
  18. green user2 7.9kb
  19. green user3 261b
  1. 多个字段排序:
  2. GET /_cat/indices?v&h=health,index,store.size,pri.store.size&s=store.size:desc,pri.store.size:desc
  3.  
  4. result
  5. health index store.size pri.store.size
  6. green .monitoring-es-6-2018.12.24 10mb 10mb
  7. green .monitoring-es-6-2018.12.20 5mb 5mb
  8. green .monitoring-es-6-2018.12.25 4.6mb 4.6mb
  9. green .monitoring-kibana-6-2018.12.24 453.3kb 453.3kb
  10. green .monitoring-kibana-6-2018.12.20 318kb 318kb
  11. green .monitoring-kibana-6-2018.12.25 202.4kb 202.4kb
  12. yellow bus 86kb 86kb
  13. yellow blog 34.3kb 34.3kb
  14. green shirts 25kb 25kb
  15. yellow home 16.8kb 16.8kb
  16. green user 13.7kb 13.7kb
  17. green .kibana_1 12kb 12kb
  18. green bus2 11.6kb 11.6kb
  19. green user2 7.9kb 7.9kb
  20. green user3 261b 261b

3、aliases显示别名、过滤器、路由信息

  1. GET /_cat/aliases?v
  2.  
  3. result:
  4. alias index filter routing.index routing.search
  5. .kibana .kibana_1 - - -

4、allocation显示每个数据节点分配多少碎片以及它们使用多少磁盘空间的快照

  1. GET /_cat/allocation?v&format=json
  2.  
  3. result
  4. [
  5. {
  6. "shards" : "20",
  7. "disk.indices" : "21.4mb",
  8. "disk.used" : "4gb",
  9. "disk.avail" : "12.9gb",
  10. "disk.total" : "16.9gb",
  11. "disk.percent" : "23",
  12. "host" : "192.168.31.10",
  13. "ip" : "192.168.31.10",
  14. "node" : "vmstation.es.1"
  15. },
  16. {
  17. "shards" : "7",
  18. "disk.indices" : null,
  19. "disk.used" : null,
  20. "disk.avail" : null,
  21. "disk.total" : null,
  22. "disk.percent" : null,
  23. "host" : null,
  24. "ip" : null,
  25. "node" : "UNASSIGNED"
  26. }
  27. ]
  28. #7个碎片是曾经属于一个集群,现在只有单节点,但是索引建立的时候使用它作为副本,所以信息都是未知的。

5、count显示所有索引或者某个索引的文档数量

  1. GET /_cat/count?v
  2.  
  3. result:
  4. epoch timestamp count
  5. 1545709338 03:42:18 47638

或者单个索引

  1. GET /_cat/count/bus?v
  2.  
  3. result:
  4. epoch timestamp count
  5. 1545709383 03:43:03 27

6、fielddata

  1. GET /_cat/fielddata?v
  2.  
  3. result:
  4. id host ip node field size
  5. Sa5md_zERDebxloO004ffQ 192.168.31.10 192.168.31.10 vmstation.es.1 type 552b

7、indices显示每个索引的横截面。此信息跨越节点。

  1. GET /_cat/indices?v
  2.  
  3. result:
  4. health status index uuid pri rep docs.count docs.deleted store.size pri.store.size
  5. green open .monitoring-kibana-6-2018.12.24 vkJltBs1T8qEfdUDdyDYzA 1 0 1345 0 453.3kb 453.3kb
  6. green open user2 xo9Zb2OkRWeqV5bRKNDKGg 1 0 12 0 7.9kb 7.9kb
  7. yellow open bus G4DrNdPhRWK_rBuEaluwsA 3 1 27 3 86kb 86kb
  8. green open .monitoring-es-6-2018.12.25 Gl01crYyQImkxCTGvB3Xkg 1 0 16845 189 15.6mb 15.6mb
  9. green open shirts NLF5tjIuSz-JbUQcc_VbiQ 1 0 7 0 25kb 25kb
  10. green open .monitoring-kibana-6-2018.12.20 GRwFygbPRw62Qeoyg-68Mg 1 0 719 0 318kb 318kb
  11. green open .monitoring-kibana-6-2018.12.25 TmCzVC4wQrmmElX8Bbmjdg 1 0 866 0 710.2kb 710.2kb
  12. green open .monitoring-es-6-2018.12.20 IH3moZNyQfCHp8ZUjelmWA 1 0 9548 215 5mb 5mb
  13. yellow open home CSyKu2FJTZGtSIg0jOltcw 2 1 7 0 16.8kb 16.8kb
  14. green open .monitoring-es-6-2018.12.24 jCgptARpQ8S-B3Gn8adYSQ 1 0 23936 25 10mb 10mb
  15. yellow open blog G7leckf1RQGHNCZKROpBCg 2 1 33 6 34.3kb 34.3kb
  16. green open .kibana_1 olE1g78PTl-FxApa5LXhtg 1 0 3 0 12kb 12kb
  17. green open user3 -ArWuP3ZRsGsoiLwMxRyKQ 1 0 0 0 261b 261b
  18. green open bus2 j2ckAmxCRjuH6xVCU1aATA 1 0 27 0 11.6kb 11.6kb
  19. green open user WdRH_r9DSDOtySMxlRYe_g 2 0 12 0 13.7kb 13.7kb

单个索引(支持通配符):

  1. GET /_cat/indices/bus*?v&h=index,status,pri,rep,docs.count
  2.  
  3. result:
  4. index status pri rep docs.count
  5. bus2 open 1 0 27
  6. bus open 3 1 27

或者

  1. GET /_cat/indices?v&index=bus*

8、master显示master节点

  1. GET /_cat/master?v
  2.  
  3. result:
  4. id host ip node
  5. Sa5md_zERDebxloO004ffQ 192.168.31.10 192.168.31.10 vmstation.es.1

9、nodeattrs显示节点属性

  1. GET /_cat/nodeattrs?v&h=node,id,pid,host,port,attr,value
  2.  
  3. result:
  4. node id pid host port attr value
  5. vmstation.es.1 Sa5m 1763 192.168.31.10 9300 ml.machine_memory 1911832576
  6. vmstation.es.1 Sa5m 1763 192.168.31.10 9300 xpack.installed true
  7. vmstation.es.1 Sa5m 1763 192.168.31.10 9300 ml.max_open_jobs 20
  8. vmstation.es.1 Sa5m 1763 192.168.31.10 9300 ml.enabled true

10、nodes显示集群拓扑

  1. GET /_cat/nodes?v&format=json
  2.  
  3. result:
  4. [
  5. {
  6. "ip" : "192.168.31.10",
  7. "heap.percent" : "40",
  8. "ram.percent" : "95",
  9. "cpu" : "7",
  10. "load_1m" : "0.25",
  11. "load_5m" : "0.19",
  12. "load_15m" : "0.13",
  13. "node.role" : "mdi",
  14. "master" : "*",
  15. "name" : "vmstation.es.1"
  16. }
  17. ]

列内容包括:

  1. id | id,nodeId | unique node id
  2. pid | p | process id
  3. ip | i | ip address
  4. port | po | bound transport port
  5. http_address | http | bound http address
  6. version | v | es version
  7. flavor | f | es distribution flavor
  8. type | t | es distribution type
  9. build | b | es build hash
  10. jdk | j | jdk version
  11. disk.total | dt,diskTotal | total disk space
  12. disk.used | du,diskUsed | used disk space
  13. disk.avail | d,da,disk,diskAvail | available disk space
  14. disk.used_percent | dup,diskUsedPercent | used disk space percentage
  15. heap.current | hc,heapCurrent | used heap
  16. heap.percent | hp,heapPercent | used heap ratio
  17. heap.max | hm,heapMax | max configured heap
  18. ram.current | rc,ramCurrent | used machine memory
  19. ram.percent | rp,ramPercent | used machine memory ratio
  20. ram.max | rm,ramMax | total machine memory
  21. file_desc.current | fdc,fileDescriptorCurrent | used file descriptors
  22. file_desc.percent | fdp,fileDescriptorPercent | used file descriptor ratio
  23. file_desc.max | fdm,fileDescriptorMax | max file descriptors
  24. cpu | cpu | recent cpu usage
  25. load_1m | l | 1m load avg
  26. load_5m | l | 5m load avg
  27. load_15m | l | 15m load avg
  28. uptime | u | node uptime
  29. node.role | r,role,nodeRole | m:master eligible node, d:data node, i:ingest node, -:coordinating node only
  30. master | m | *:current master
  31. name | n | node name
  32. completion.size | cs,completionSize | size of completion
  33. fielddata.memory_size | fm,fielddataMemory | used fielddata cache
  34. fielddata.evictions | fe,fielddataEvictions | fielddata evictions
  35. query_cache.memory_size | qcm,queryCacheMemory | used query cache
  36. query_cache.evictions | qce,queryCacheEvictions | query cache evictions
  37. request_cache.memory_size | rcm,requestCacheMemory | used request cache
  38. request_cache.evictions | rce,requestCacheEvictions | request cache evictions
  39. request_cache.hit_count | rchc,requestCacheHitCount | request cache hit counts
  40. request_cache.miss_count | rcmc,requestCacheMissCount | request cache miss counts
  41. flush.total | ft,flushTotal | number of flushes
  42. flush.total_time | ftt,flushTotalTime | time spent in flush
  43. get.current | gc,getCurrent | number of current get ops
  44. get.time | gti,getTime | time spent in get
  45. get.total | gto,getTotal | number of get ops
  46. get.exists_time | geti,getExistsTime | time spent in successful gets
  47. get.exists_total | geto,getExistsTotal | number of successful gets
  48. get.missing_time | gmti,getMissingTime | time spent in failed gets
  49. get.missing_total | gmto,getMissingTotal | number of failed gets
  50. indexing.delete_current | idc,indexingDeleteCurrent | number of current deletions
  51. indexing.delete_time | idti,indexingDeleteTime | time spent in deletions
  52. indexing.delete_total | idto,indexingDeleteTotal | number of delete ops
  53. indexing.index_current | iic,indexingIndexCurrent | number of current indexing ops
  54. indexing.index_time | iiti,indexingIndexTime | time spent in indexing
  55. indexing.index_total | iito,indexingIndexTotal | number of indexing ops
  56. indexing.index_failed | iif,indexingIndexFailed | number of failed indexing ops
  57. merges.current | mc,mergesCurrent | number of current merges
  58. merges.current_docs | mcd,mergesCurrentDocs | number of current merging docs
  59. merges.current_size | mcs,mergesCurrentSize | size of current merges
  60. merges.total | mt,mergesTotal | number of completed merge ops
  61. merges.total_docs | mtd,mergesTotalDocs | docs merged
  62. merges.total_size | mts,mergesTotalSize | size merged
  63. merges.total_time | mtt,mergesTotalTime | time spent in merges
  64. refresh.total | rto,refreshTotal | total refreshes
  65. refresh.time | rti,refreshTime | time spent in refreshes
  66. refresh.listeners | rli,refreshListeners | number of pending refresh listeners
  67. script.compilations | scrcc,scriptCompilations | script compilations
  68. script.cache_evictions | scrce,scriptCacheEvictions | script cache evictions
  69. search.fetch_current | sfc,searchFetchCurrent | current fetch phase ops
  70. search.fetch_time | sfti,searchFetchTime | time spent in fetch phase
  71. search.fetch_total | sfto,searchFetchTotal | total fetch ops
  72. search.open_contexts | so,searchOpenContexts | open search contexts
  73. search.query_current | sqc,searchQueryCurrent | current query phase ops
  74. search.query_time | sqti,searchQueryTime | time spent in query phase
  75. search.query_total | sqto,searchQueryTotal | total query phase ops
  76. search.scroll_current | scc,searchScrollCurrent | open scroll contexts
  77. search.scroll_time | scti,searchScrollTime | time scroll contexts held open
  78. search.scroll_total | scto,searchScrollTotal | completed scroll contexts
  79. segments.count | sc,segmentsCount | number of segments
  80. segments.memory | sm,segmentsMemory | memory used by segments
  81. segments.index_writer_memory | siwm,segmentsIndexWriterMemory | memory used by index writer
  82. segments.version_map_memory | svmm,segmentsVersionMapMemory | memory used by version map
  83. segments.fixed_bitset_memory | sfbm,fixedBitsetMemory | memory used by fixed bit sets for nested object field types and type filters for types referred in _parent fields
  84. suggest.current | suc,suggestCurrent | number of current suggest ops
  85. suggest.time | suti,suggestTime | time spend in suggest
  86. suggest.total | suto,suggestTotal | number of suggest ops

选择显示内容:

  1. GET /_cat/nodes?v&format=json&h=id,i,p,http,v,j,dt,du,hc,hp,hx,rc,rp,rm
  2.  
  3. result:
  4. [
  5. {
  6. "id" : "Sa5m",
  7. "i" : "192.168.31.10",
  8. "p" : "1763",
  9. "http" : "192.168.31.10:9200",
  10. "v" : "6.5.1",
  11. "j" : "1.8.0_172",
  12. "dt" : "16.9gb",
  13. "du" : "4.1gb",
  14. "hc" : "461mb",
  15. "hp" : "45",
  16. "rc" : "1.6gb",
  17. "rp" : "94",
  18. "rm" : "1.7gb"
  19. }
  20. ]

11、显示正在等待的任务

  1. GET /_cat/pending_tasks?v
  2.  
  3. result:
  4. insertOrder timeInQueue priority source
  5. 1685 855ms HIGH update-mapping [foo][t]
  6. 1686 843ms HIGH update-mapping [foo][t]
  7. 1693 753ms HIGH refresh-mapping [foo][[t]]
  8. 1688 816ms HIGH update-mapping [foo][t]
  9. 1689 802ms HIGH update-mapping [foo][t]
  10. 1690 787ms HIGH update-mapping [foo][t]
  11. 1691 773ms HIGH update-mapping [foo][t]

12、plugins显示每个运行插件节点的视图,该信息跨节点。

  1. GET /_cat/plugins?v&s=component&h=name,component,version,description
  2.  
  3. result:
  4. name component version description
  5. vmstation.es.1 analysis-ik 6.5.1 IK Analyzer for Elasticsearch

13、recovery是正在进行的和先前完成的索引碎片恢复的视图。

只要索引碎片移动到集群中的不同节点,就会发生恢复事件。这可以在快照恢复、复制级别更改、节点失败或节点启动时发生。最后一种类型称为本地存储恢复,是当节点启动时从磁盘加载碎片的正常方式。

  1. GET /_cat/recovery?v&format=json
  2.  
  3. result
  4. [
  5. {
  6. "index" : "user2",
  7. "shard" : "0",
  8. "time" : "333ms",
  9. "type" : "existing_store",
  10. "stage" : "done",
  11. "source_host" : "n/a",
  12. "source_node" : "n/a",
  13. "target_host" : "192.168.31.10",
  14. "target_node" : "vmstation.es.1",
  15. "repository" : "n/a",
  16. "snapshot" : "n/a",
  17. "files" : "0",
  18. "files_recovered" : "0",
  19. "files_percent" : "100.0%",
  20. "files_total" : "4",
  21. "bytes" : "0",
  22. "bytes_recovered" : "0",
  23. "bytes_percent" : "100.0%",
  24. "bytes_total" : "8105",
  25. "translog_ops" : "0",
  26. "translog_ops_recovered" : "0",
  27. "translog_ops_percent" : "100.0%"
  28. },
  29. {
  30. "index" : "bus",
  31. "shard" : "0",
  32. "time" : "388ms",
  33. "type" : "existing_store",
  34. "stage" : "done",
  35. "source_host" : "n/a",
  36. "source_node" : "n/a",
  37. "target_host" : "192.168.31.10",
  38. "target_node" : "vmstation.es.1",
  39. "repository" : "n/a",
  40. "snapshot" : "n/a",
  41. "files" : "0",
  42. "files_recovered" : "0",
  43. "files_percent" : "100.0%",
  44. "files_total" : "28",
  45. "bytes" : "0",
  46. "bytes_recovered" : "0",
  47. "bytes_percent" : "100.0%",
  48. "bytes_total" : "21695",
  49. "translog_ops" : "0",
  50. "translog_ops_recovered" : "0",
  51. "translog_ops_percent" : "100.0%"
  52. },
  53. ... ...
  54. ]

14、thread_pool显示线程池信息

  1. GET /_cat/thread_pool?v
  2.  
  3. result:
  4. node_name name active queue rejected
  5. vmstation.es.1 analyze 0 0 0
  6. vmstation.es.1 ccr 0 0 0
  7. vmstation.es.1 fetch_shard_started 0 0 0
  8. vmstation.es.1 fetch_shard_store 0 0 0
  9. vmstation.es.1 flush 0 0 0
  10. vmstation.es.1 force_merge 0 0 0
  11. vmstation.es.1 generic 0 0 0
  12. vmstation.es.1 get 0 0 0
  13. vmstation.es.1 index 0 0 0
  14. vmstation.es.1 listener 0 0 0
  15. vmstation.es.1 management 1 0 0
  16. vmstation.es.1 ml_autodetect 0 0 0
  17. vmstation.es.1 ml_datafeed 0 0 0
  18. vmstation.es.1 ml_utility 0 0 0
  19. vmstation.es.1 refresh 0 0 0
  20. vmstation.es.1 rollup_indexing 0 0 0
  21. vmstation.es.1 search 0 0 0
  22. vmstation.es.1 search_throttled 0 0 0
  23. vmstation.es.1 security-token-key 0 0 0
  24. vmstation.es.1 snapshot 0 0 0
  25. vmstation.es.1 warmer 0 0 0
  26. vmstation.es.1 watcher 0 0 0
  27. vmstation.es.1 write 0 0 0

15、shards显示碎片视图

  1. GET /_cat/shards?v&format=json
  2.  
  3. result:
  4. [
  5. {
  6. "index" : "bus2",
  7. "shard" : "0",
  8. "prirep" : "p",
  9. "state" : "STARTED",
  10. "docs" : "27",
  11. "store" : "11.6kb",
  12. "ip" : "192.168.31.10",
  13. "node" : "vmstation.es.1"
  14. },
  15. {
  16. "index" : ".kibana_1",
  17. "shard" : "0",
  18. "prirep" : "p",
  19. "state" : "STARTED",
  20. "docs" : "3",
  21. "store" : "12kb",
  22. "ip" : "192.168.31.10",
  23. "node" : "vmstation.es.1"
  24. },
  25. ... ...
  26. ]

按索引显示:

  1. GET /_cat/shards/bus?v
  2.  
  3. result:
  4. index shard prirep state docs store ip node
  5. bus 1 p STARTED 7 27.8kb 192.168.31.10 vmstation.es.1
  6. bus 1 r UNASSIGNED
  7. bus 2 p STARTED 9 37kb 192.168.31.10 vmstation.es.1
  8. bus 2 r UNASSIGNED
  9. bus 0 p STARTED 11 21.1kb 192.168.31.10 vmstation.es.1
  10. bus 0 r UNASSIGNED

16、segments显示碎片中的分段信息

  1. GET /_cat/segments?v&format=json
  2.  
  3. result:
  4. index                           shard prirep ip            segment generation docs.count docs.deleted    size size.memory committed searchable version compound
    user2                           0     p      192.168.31.10 _0               0         12            0   7.5kb        2726 true      true       7.5.0   true
    bus                             0     p      192.168.31.10 _q              26          7            3   5.3kb        1982 true      true       7.5.0   false
    bus                             0     p      192.168.31.10 _r              27          1            0   3.7kb        1827 true      true       7.5.0   true
    bus                             0     p      192.168.31.10 _s              28          1            0   3.7kb        1827 true      true       7.5.0   true
    bus                             0     p      192.168.31.10 _t              29          1            0   3.7kb        1827 true      true       7.5.0   true
    bus                             0     p      192.168.31.10 _u              30          1            0   3.9kb        1965 true      true       7.5.0   true
    bus                             1     p      192.168.31.10 _7               7          1            0   3.9kb        1829 true      true       7.5.0   true
    bus                             1     p      192.168.31.10 _8               8          1            0   3.9kb        1829 true      true       7.5.0   true
    bus                             1     p      192.168.31.10 _9               9          1            0   3.9kb        1829 true      true       7.5.0   true
    bus                             1     p      192.168.31.10 _a              10          1            0   3.9kb        1829 true      true       7.5.0   true
    bus                             1     p      192.168.31.10 _b              11          1            0   3.9kb        1829 true      true       7.5.0   true
    bus                             1     p      192.168.31.10 _c              12          1            0   3.8kb        1829 true      true       7.5.0   true
    bus                             1     p      192.168.31.10 _f              15          1            0   3.5kb        1538 true      true       7.5.0   true
    ... ...

Elasticsearch cat Apis的更多相关文章

  1. Elasticsearch Search APIs

    Elasticsearch Search APIs By:授客 QQ:1033553122 1. 搜索 1 在单个索引的所有类型中搜索 1 在单个索引的指定类型中搜索 1 在多个指定的索引中搜索 1 ...

  2. Elasticsearch cat api的用法

    文章转自:https://blog.csdn.net/wangpei1949/article/details/82287444

  3. elasticsearch中常用的API

    elasticsearch中常用的API分类如下: 文档API: 提供对文档的增删改查操作 搜索API: 提供对文档进行某个字段的查询 索引API: 提供对索引进行操作,查看索引信息等 查看API: ...

  4. Elasticsearch 学习总结 - 相关配置补充说明

    一.   Elasticsearch的基本概念 term索引词,在elasticsearch中索引词(term)是一个能够被索引的精确值.foo,Foo Foo几个单词是不相同的索引词.索引词(ter ...

  5. 写给大忙人的Elasticsearch架构与概念(未完待续)

    最新版本官方文档https://www.elastic.co/guide/en/elasticsearch/reference/current/index.html文档增删改参考https://www ...

  6. Elasticsearch必知必会的干货知识一:ES索引文档的CRUD

    ​ 若在传统DBMS 关系型数据库中查询海量数据,特别是模糊查询,一般我们都是使用like %查询的值%,但这样会导致无法应用索引,从而形成全表扫描效率低下,即使是在有索引的字段精确值查找,面对海量数 ...

  7. ElasticSearch + xpack 使用.md

    ElasticSearch 是一个高可用开源全文检索和分析组件.提供存储服务,搜索服务,大数据准实时分析等.一般用于提供一些提供复杂搜索的应.我们为什么要选择 ElasticSearch ?因为它是一 ...

  8. elasticsearch+logstash_jdbc 实现mysql数据实时同步至es

    jdk安装1.8版本,es.ls.ik.kibana版本一致我这里使用的6.6.2版本 安装es tar xf elasticsearch-6.6.2.tar.gz mv elasticsearch- ...

  9. Elasticsearch学习总结 (Centos7下Elasticsearch集群部署记录)

    一.  ElasticSearch简单介绍 ElasticSearch是一个基于Lucene的搜索服务器.它提供了一个分布式多用户能力的全文搜索引擎,基于RESTful web接口.Elasticse ...

随机推荐

  1. Spring框架之Filter应用

    在web.xml中进行配置,对所有的URL请求进行过滤,就像"击鼓传花"一样,链式处理. 配置分为两种A和B. 在web.xml中增加如下内容: <filter> &l ...

  2. spark history server

    参考:http://blog.csdn.net/lsshlsw/article/details/44786575 为什么需要historyServer? 在运行Spark Application的时候 ...

  3. 无法嵌入互操作类型“ADOX.CatalogClass”。请改用适用的接口。

    编译环境:vs2013 系统报错:无法嵌入互操作类型"ADOX.CatalogClass".请改用适用的接口. 解决方法:选中项目中引入的dll(本例中为Microsoft ADO ...

  4. 汽车后市场:数据入口在哪里?不看你就OUT啦!

    当前中国汽车后服务市场基本可分七个大类:包括养护.维修.改装.二手车.汽车配件.相关电商及金融保险等,汽车后市场整个产业链对数据服务都有刚性需求. 数据能为行业服务提高效率,提升商家对于客户以及业务的 ...

  5. Python学习笔记(一)一一一环境安装错误总结

    第三方库安装 1   windows存在多个版本的python,pip安装Python库失败 解决方案:进入对应官网下载安装包,步骤:1 下载安装包到C:\Python36\Lib\site-pack ...

  6. SecureCRT 注册

    http://download.csdn.net/download/xia2011214228/9952983 1.下载后解压到安装目录 2.输入自己要注册的:name company 后genera ...

  7. Python基础 之 list类-列表

    list类-列表 一.list类的基本属性 1. 列表格式 li = [1, 12, 9, ", 10], "even"], "root", True ...

  8. Memcache的客户端连接系列(四) PHP

    关键词: Memcached   PHP 客户端 声明:本文并非原创,转自华为云帮助中心的分布式缓存服务(Memcached)的用户指南.客户端连接方法通用,故摘抄过来分享给大家. PHP客户端 Re ...

  9. Period :KMP

    I - Period Problem Description For each prefix of a given string S with N characters (each character ...

  10. WCF服务库创建-20140919

    1. 创建wcf服务库 2. 宿主到web程序上 // 宿主wcf服务库 RouteTable.Routes.Add(new ServiceRoute("ctserver.dll" ...