Categories
- FFMpeg (5)
- Libav (1)
- Google (3)
- iBeacon (1)
- LDAP (3)
- Me (2)
- Network (11)
- OS (149)
- RTMP (4)
- SIP (1)
- Kamailio (1)
- SNMP (1)
- VMware (20)
- VCP考試 (1)
- 伺服器 網站服務 (105)
- 名詞解釋 (4)
- 專案管理 (1)
- 工具軟體 (51)
- Adobe (1)
- FMS (1)
- Cloudera (1)
- Docker (1)
- Eclipse (4)
- Intellij (2)
- OBS (2)
- Office (10)
- Excel (4)
- PowerPoint (5)
- Postman (2)
- Splunk (13)
- Virtualbox (2)
- Visual Studio (2)
- 文字編輯器 (10)
- Sublime Text 2 (6)
- Sublime Text 3 (3)
- Vim (3)
- 連線工具 (1)
- Xshell (1)
- Adobe (1)
- 程式語言 (80)
- CSS (2)
- HTML (2)
- iOS (1)
- Java (30)
- JavaScript (5)
- jQuery (4)
- jsTree (2)
- JSP (3)
- PHP (16)
- Python (8)
- Ruby (1)
- sed (1)
- Shell Script (8)
- Windows Bash Script (1)
- XML (1)
- 資料庫 (37)
- FFMpeg (5)
Category Archives: Elasticsearch
[Elasticsearch] The health status means…
When we list the indexes, we will get the status information. It shows the health of index in the elasticsearch cluster. green All shards are allocated. yellow The primary shard is allocated but replicas are not. red The specific shard … Continue reading
Posted in Elasticsearch
Leave a comment
[Elasticsearch] List all indexes and optimize it.
When we deleted the indexes, the data were just marked by deleted. We can list all indexes to show status. sudo curl ‘localhost:9200/_cat/indices?v’ It will show the health, index name, pri, rep, docs.count, docs.deleted, store.size, pri.store.size. health index pri rep … Continue reading
Posted in Elasticsearch
Leave a comment
[Elasticsearch] Delete index by search syntax
check the search syntax curl -XGET ‘http://{ElasticSearch_Server_IP}:{ElasticSearch_Server_Port}/{Index}/{Type}/_search?q={Search Syntax} ex: curl -XGET ‘http://localhost:9200/logstash-2015.01.26/syslog/_search?q=”Rhttpproxy”‘ Delete index by search syntax curl -XDELETE ‘http://{ElasticSearch_Server_IP}:{ElasticSearch_Server_Port}/{Index}/{Type}/_query?q={Search Syntax} ex: curl -XDELETE ‘http://localhost:9200/logstash-2015.01.26/syslog/_query?q=”Rhttpproxy”‘
Posted in Elasticsearch
Leave a comment
[Apache] Proxypass
Because the default web port of Elasticsearch is 9200. And I want to change it with 80. Maybe I could use the proxypass function. enable the proxy, and restart apache a2enmod proxy a2enmod proxy_http service apache2 restart add following into … Continue reading
Posted in Apache, Elasticsearch, Kibana
Leave a comment
淺談 Elasticsearch 的定義
[摘錄自Elasticsearch Server, 2nd Edition第12頁] The basics of Elasticsearch Elasticsearch is an open source search server project started by Shay Banon and published in February 2010. During this time, the project has grown into a major player in the field of … Continue reading
Posted in Elasticsearch
Leave a comment
elasticsearch.yml 檔案說明
##################### Elasticsearch Configuration Example ##################### # This file contains an overview of various configuration settings, # targeted at operations staff. Application developers should # consult the guide at . 說明此檔案包含多個設定的部份,可以至 Elasticsearch Guide 觀看說明 # # The installation procedure is covered … Continue reading
Posted in Elasticsearch
Leave a comment
Logstash + Redis + Nginx + Kibana + ElasticSearch
環境: Ubuntu 14.04 x64 server 安裝Java環境 sudo apt-get install openjdk-7-jdk 下載Logstash壓縮檔 cd /tmp curl -O https://download.elasticsearch.org/logstash/logstash/logstash-1.4.0.tar.gz tar zxvf logstash-1.4.0.tar.gz -C /opt/logstash 基本測試 cd /opt/logstash bin/logstash -e ‘input { stdin { } } output { stdout {} } # 試著打幾個字看看 安裝Elasticsearch … Continue reading
Posted in Elasticsearch, Kibana, Logstash, Redis
Leave a comment