Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
yiruan@ebay.com committed Sep 5, 2019
1 parent a77f0f6 commit 13a910d
Show file tree
Hide file tree
Showing 14 changed files with 2,024 additions and 149 deletions.
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,15 +78,16 @@
5. 在私有云上管理 Elasticsearch 集群的一些方法
6. 在公有云上管理与部署 Elasticsearch 集群
### 第 10 章:生产环境中的集群运维
1. 集群健康与问题排查
2. 生产环境常用配置与上线清单
3. 监控 Elasticsearch 集群
4. 诊断集群的潜在问题
5. 解决集群 Yellow 与 Red 的问题
6. 集群压力测试
7. 段合并优化及注意事项
8. 缓存及使用 Breaker 限制内存使用
9. 一些运维的相关建议
1. 生产环境常用配置与上线清单
2. 监控 Elasticsearch 集群
3. 诊断集群的潜在问题
4. 解决集群 Yellow 与 Red 的问题
5. 提升集群写性能
6. 提升进群读性能
7. 集群压力测试
8. 段合并优化及注意事项
9. 缓存及使用 Breaker 限制内存使用
10. 一些运维的相关建议
### 第 11 章:索引生命周期管理
1. 使用 Shrink 与 Rollover API 有效管理时间序列索引
2. 索引全生命周期管理及工具介绍
Expand All @@ -98,8 +99,7 @@
1. 使用 Index Pattern 配置数据
2. 使用 Kibana Discover 探索数据
3. 基本可视化组件介绍
4. Visual Builder 介绍
5. 构建 Dashboard
4. 构建 Dashboard
## 第 14 章:探索 X-Pack 套件
1. 用 Monitoring 和 Alerting 监控 Elasticsearch 集群
2. 用 APM 进行程序性能监控
Expand Down
11 changes: 0 additions & 11 deletions part-1/2.4-Logstash安装与导入数据/movielens/logstash.conf
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,6 @@ filter {
add_field => { "year" => "%{[content][1]}"}
}

# mutate {

# gsub => [
#
# "year", "\\)", ""
# ]
# }


mutate {
convert => {
"year" => "integer"
Expand All @@ -40,8 +31,6 @@ filter {
remove_field => ["path", "host","@timestamp","message","content"]
}



}
output {
elasticsearch {
Expand Down
4 changes: 4 additions & 0 deletions part-4/12.1-Logstash入门及架构介绍/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ sudo bin/logstash -f logstash-filter.conf
# codec demo
sudo bin/logstash -e "input{stdin{codec=>line}}output{stdout{codec=> rubydebug}}"
sudo bin/logstash -e "input{stdin{codec=>json}}output{stdout{codec=> rubydebug}}"
sudo bin/logstash -e "input{stdin{codec=>line}}output{stdout{codec=> dots}}"
Expand All @@ -26,5 +28,7 @@ Exception in thread "main" java.lang.NullPointerException
# 一个实例
https://github.com/onebirdrocks/geektime-ELK/blob/master/part-1/2.4-Logstash%E5%AE%89%E8%A3%85%E4%B8%8E%E5%AF%BC%E5%85%A5%E6%95%B0%E6%8D%AE/movielens/logstash.conf
```
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@ filter {
}

output {
elasticsearch { hosts => ["localhost:9200"] }
stdout { codec => rubydebug }
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@ curl -X DELETE localhost:8080/demo/delete -d id=15
mysql-demo.conf
# 创建 alias,只显示没有被标记 deleted的用户
POST /_aliases
{
Expand Down
10 changes: 7 additions & 3 deletions part-4/12.3-Beats介绍/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,19 @@ use db_example;
show tables;
select * from user
curl localhost:8080/demo/add -d name=First -d email=first@xyz.com
curl localhost:8080/demo/add -d name=Second -d email=second@xyz.com
curl localhost:8080/demo/add -d name=Third -d email=thrid@xyz.com
curl localhost:8080/demo/add -d name=Mike -d email=mike@xyz.com -d tags=Elasticsearch,IntelliJ
curl localhost:8080/demo/add -d name=Jack -d email=jack@xyz.com -d tags=Mysql,IntelliJ
curl localhost:8080/demo/add -d name=Bob -d email=bob@xyz.com -d tags=Mysql,IntelliJ
curl 'localhost:8080/demo/all'
# 配置 packetbeat
# 启动
修改 packetbeat,打开 http 5601 9200 和 mysql 3306监控
sudo chown root packetbeat.yml
sudo ./packetbeat setup --dashboards
sudo ./packetbeat
Expand Down
2 changes: 2 additions & 0 deletions part-4/13.1-使用IndexPattern配置数据/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ PUT /logstash-2015.05.20
# For Mac & Windows
curl -H 'Content-Type: application/x-ndjson' -XPOST 'localhost:9200/_bulk?pretty' --data-binary @logs.jsonl
curl -H 'Content-Type: application/x-ndjson' -XPOST 'localhost:9200/bank/account/_bulk?pretty' --data-binary @accounts.json
#For Windows
Invoke-RestMethod "http://localhost:9200/_bulk?pretty" -Method Post -ContentType 'application/x-ndjson' -InFile "logs.jsonl"
Expand Down
2,000 changes: 2,000 additions & 0 deletions part-4/13.1-使用IndexPattern配置数据/accounts.json

Large diffs are not rendered by default.

Empty file.
95 changes: 0 additions & 95 deletions part-4/13.4-VisualBuilder介绍/vega/barchart.vg.json

This file was deleted.

26 changes: 0 additions & 26 deletions part-4/13.4-VisualBuilder介绍/vega/index.html

This file was deleted.

File renamed without changes.

0 comments on commit 13a910d

Please sign in to comment.