- 由 Java 構建,被歸類為 NoSQL 數據庫(非結構化的方式存儲數據)。
- 一個分散式、具 RESTful 分隔的搜索和數據分析引擎。
對像被序列化成 JSON 並存儲到 Elasticsearch 中,指定唯一 ID。
{
"email": "[email protected]",
"first_name": "John",
"last_name": "Smith",
"info": {
"bio": "Eco-warrior and defender of the weak",
"age": 25,
"interests": [ "dolphins", "whales" ]
},
"join_date": "2014/05/01"
}
存儲數據的動作為索引(indexing),文檔屬於一種類型(type),而這些類型存在於索引(index)中。
Relational DB -> Databases -> Tables -> Rows -> Columns
Elasticsearch -> Indices(名詞) -> Types -> Documents -> Fields
GET filebeat*/_search
kibana 搜尋部分詳述
允許在數據上生成複雜的可視圖表。它很像 SQL 的 GROUP BY 。
curl "localhost:9200/_nodes/settings?pretty=true"
./bin/elasticsearch-plugin install -b https://github.com/vvanholl/elasticsearch-prometheus-exporter/releases/download/7.7.0.0/prometheus-exporter-7.7.0.0.zip