agent安装
LogStash Agent 安装配置
LogStash Pipeline
# The # character at the beginning of a line indicates a comment. Use
# comments to describe your configuration.
input {
}
# The filter part of this file is commented out to indicate that it is
# optional.
# filter {
#
# }
output {
}配置一个File类型的input插件
配置一个agent, 数据来自nginx的access log, 筛选出request请求日志后,分别输出到kafka用于实时监控展现和hdfs用于离线计算和展现
Last updated
Was this helpful?