... | @@ -307,31 +307,35 @@ task_result=8000 # 参数错误 |
... | @@ -307,31 +307,35 @@ task_result=8000 # 参数错误 |
|
|
|
|
|
## 数据归集方式
|
|
## 数据归集方式
|
|
|
|
|
|
- [ ]
|
|
- [ ] 爬虫直接写kafka
|
|
|
|
|
|
- [x]
|
|
- [x] 爬虫写文件logstash采集
|
|
|
|
|
|
|
|
|
|
## 归集后存放目录
|
|
## 归集后存放目录
|
|
```buildoutcfg
|
|
```
|
|
/data2_227/tax_punish_result/risk_punish_tax
|
|
/data2_227/grvael_spider_result/risk_tax_punish
|
|
说明: 10.8.6.227机器,/data2/tax_punish_result/risk_punish_tax
|
|
|
|
```
|
|
```
|
|
|
|
|
|
## logstash配置文件名称
|
|
## logstash配置文件名称
|
|
```buildoutcfg
|
|
```
|
|
|
|
project-deploy/logstash/10.8.6.246/conf.d/collie_spider_data_to_kfk.conf(入topic)
|
|
|
|
project-deploy/logstash/10.8.6.229/conf.d/grvael_spider_to_es.conf(入es)
|
|
```
|
|
```
|
|
|
|
|
|
## logstash文件采集type
|
|
## logstash文件采集type
|
|
```buildoutcfg
|
|
```
|
|
|
|
type=>"risk_tax_punish"
|
|
```
|
|
```
|
|
|
|
|
|
## 数据归集的topic
|
|
## 数据归集的topic
|
|
```buildoutcfg
|
|
```
|
|
|
|
topic_id => "public-company-spider-data"
|
|
```
|
|
```
|
|
|
|
|
|
## ES日志索引及筛选条件
|
|
## ES日志索引及筛选条件
|
|
```buildoutcfg
|
|
```
|
|
|
|
index => "public-company-spider-data-%{log_date}"
|
|
```
|
|
```
|
|
|
|
|
|
## 监控指标看板
|
|
## 监控指标看板
|
... | | ... | |