原创 Elasticsearch 配置 elasticsearch.yml 簡介

文件路徑 elasticsearch/config/elasticsearch.yml 版本爲 5.X 以上 # ------------------------------------ Node -------------------

原创 logstash 插件 input 詳解

本文只介紹幾種常用的, 具體可參考 input 插件官方詳解: https://www.elastic.co/guide/en/logstash/current/input-plugins.html 標準輸入 stdin{} input

原创 RabbitMQ 消息隊列 - fanout 模式分發消息

推薦閱讀 https://blog.csdn.net/column/details/15500.html fanout 模式 將同一個 message 發送到所有同該 Exchange 綁定的 queue, 只要 RoutingK

原创 docker 部署 ELK (elasticsearch + logstash + kibana) 收集分析 nginx 日誌

git 項目地址 https://github.com/Gekkoou/docker-elk 目錄結構 ├── elasticsearch elasticsearch目錄 │ └── e

原创 Elasticsearch 安裝 與 中文分詞 ik 安裝 (linux && windows)

elasticsearch 安裝啓動 linux: # 下載解壓包 # wget https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.3.0.tar.g

原创 Elasticsearch 與 mysql 同步數據 (logstash-input-jdbc)

ELK部署參考: https://blog.csdn.net/gekkoou/article/details/80979374 本文使用 logstash 插件 jdbc 來實現 elasticsearch 同步 mysql 數據 插件

原创 x-pack 安裝與使用

本文 x-pack 版本爲6.2.4, 適用於6.2或更早版本 6.3版本及更高版本中, x-pack 包含在 Elastic Stack 的默認發行版中 elasticsearch elasticsearch 根目錄下運行 bin

原创 logstash filter && output 簡介

input 詳解參考之前的文章 https://blog.csdn.net/gekkoou/article/details/80986017 input 官方詳解 https://www.elastic.co/guide/en/log

原创 ELK 收集分析 nginx 日誌 (access.log && error.log)

ELK 安裝啓動等請參考 https://blog.csdn.net/Gekkoou/article/details/80979374 執行命令 logstash -f logstash-nginx.conf 不囉嗦, 直接貼出最重要的文

原创 docker 容器互聯

本文簡單介紹兩種, 一種 link, 另外一種 network link # 在終端A中, 創建容器 box1 # docker run -it --name box1 alpine:3.7 # 在終端B中, 創建容器 box2 #

原创 ELK 收集分析 apache 日誌 (access.log && error.log)

本文 elasticsearch + logstash + kibana 均爲 6.3.1 版本做實踐 # elasticsearch 安裝啓動 wget https://artifacts.elastic.co/downloads/el

原创 docker-compose 部署 elasticsearch 集羣

目錄結構 ├── config 配置目錄 │ ├── es.yml es配置文件 │ ├── es1.yml es1

原创 RabbitMQ 消息隊列 - topic 模式分發消息

推薦閱讀 https://blog.csdn.net/column/details/15500.html topic 模式 根據 Binding 指定的 RoutingKey, Exchange 對 key 進行模式匹配後投遞到相

原创 Elasticsearch 學習筆記

基礎概念 索引(Index) 一個索引就是含有某些相似特性的文檔的集合。例如,你可以有一個用戶數據的索引,一個產品目錄的索引,還有其他的有規則數據的索引。一個索引被一個名稱(必須都是小寫)唯一標識,並且這個名稱被用於索引通過文檔去執行

原创 Elasticsearch 單機集羣配置 與 宕機模擬

單機集羣配置 1. 集羣安裝 下載 elasticsearch 解壓並把目錄改名爲 es, 複製兩份, 第一份 es1, 第二份 es2 wget https://artifacts.elastic.co/downloads/elasti