Home

ELK-X-Pack

  • Category: 電腦相關
  • Last Updated: Wednesday, 18 January 2017 23:11
  • Published: Wednesday, 18 January 2017 15:26
  • Written by sam

先前用的Kibana 插件 Monitoring 功能

現在都整合成了 X-Pack

安裝方式還非常方便

參考

此畫面是Monitor

kibana-x-pack

Read more: ELK-X-Pack

Elashticsearch Erase All Documents

  • Category: 電腦相關
  • Last Updated: Friday, 20 January 2017 13:53
  • Published: Friday, 13 January 2017 10:49
  • Written by sam

Quickly Erase All Documents from an ElasticSearch Index

root@wantgooA:/# curator_cli show_indices
root@wantgooA:/# curl -GET http://localhost:9200/_cat/indices
GET /_cat/indices?v
yellow open   logstash-2016.05.07 UfBUsAKdR7CbYKj3Luxvkw   5   1       1530            0      702kb          702kb
yellow open   logstash-2016.12.05 EfG_fl9fTauE9bBdTlNOFA   5   1   18292843            0      8.1gb          8.1gb
yellow open   logstash-2016.10.23 tbvtpEpBTxKLTOPEeh1ftw   5   1      15940            0      4.3mb          4.3mb
yellow open   logstash-2016.03.29 1yGuXTh1QXabRx5xIftVbg   5   1        260            0      274kb          274kb
yellow open   logstash-2016.09.16 AzzX7nRtQ0Gr8SgyflTM0Q   5   1       3925            0      1.7mb          1.7mb
yellow open   logstash-2016.12.06 NU53zD8kR7O4tmBDnI4iCQ   5   1   11222311            0        5gb            5gb
yellow open   logstash-2016.10.27 Mk2dm4t-T0SpTZG0sUx-DA   5   1       5365            0      2.1mb          2.1mb
yellow open   logstash-2016.12.18 PovV_lijQJS93Ho7CiJv5Q   5   1   14439195            0        4gb            4gb
yellow open   index               zwHfPW0lQHuNd9vL9Fxw4Q   5   1          0            0       800b           800b

If you want erase 2016.03.29 index

Read more: Elashticsearch Erase All Documents

azure mount disk - lvm

  • Category: 電腦相關
  • Last Updated: Thursday, 12 January 2017 16:26
  • Published: Thursday, 12 January 2017 11:42
  • Written by sam

Azure (Debian) mount disk and use LVM

這次沒有太多的文字

測試目的: 降低系統wa等待時間(希望…)

b 和 wa 其實都算是偏高 vmstat 5 5 (5秒內取樣5次) 基本的top也是要看一下,再想更及時看可以使用iotop

 photo 2017-01-12_100817_zpsmxo9ovdc.jpg

Read more: azure mount disk - lvm