ELK Stack是流行的日志管理解决方案。
Logstash
input {
file { path => '/var/log/app/*.log' }
}
filter {
grok { match => { 'message' => '%{TIMESTAMP_ISO8601:time}' } }
}
output {
elasticsearch { hosts => ['localhost:9200'] }
}Kibana
可视化平台,用于日志搜索、分析和仪表盘展示。
评论 (0)
暂无评论,来发表第一条评论吧!
发表评论