#${logstash_dir}/config/cluster_scheduler.conf.template
#摄取、转换、充实和输出 yarn.resourcemanager.webapp.address 页面 Cluster Scheduler 数据 Logstash 配置文件模板
input {
file { path => "${logstash_input_file}" }
}
filter {
grok {
match => { "message" => "(?<queue_name>[\w-]+) %{NUMBER:absolute_used_capacity_percent:float} %{NUMBER:absolute_capacity_percent:float}" }
remove_field => ['message']
}
}
output {
elasticsearch {
hosts => ["${elasticsearch_hosts}"]
index => "${elasticsearch_index}"
}
}
摄取、转换、充实和输出 yarn.resourcemanager.webapp.address 页面 Cluster Scheduler 数据 Logstash 配置文件模板
猜你喜欢
转载自blog.csdn.net/qq_16592497/article/details/81315231
今日推荐
周排行