0%

Elastic Stack

Elastic Stack 入门教程

ElasticSearch 与 Kibana

Beats 轻量型数据采集器

  1. Filebeat
  2. Packetbeat

Logstash

处理流程
Input => Filter => Output
File grok stdout
Redis mutate elastisearch
Beats drop redis
Kafka date kafka

使用 logstash 收集 nginx log 数据

ElasticSearch

Packetbeat 监听端口,采集log

logstash

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
input {
beats: {prot => 5044}
}

filter {
if "search" in [request]{
grok {match => {}}
grok {match => {}}
}
}

output {
if "search" in [request]{

}
}

packetbeat

1