搜索结果正在快递途中

在logstash中创建了4个设备的.conf文件,在kibana中查看设备日志时,4个索引显示日志相同

Logstash | 作者 YumShan | 发布于2019年02月15日 | 阅读数:1732

在logstash中创建了4个设备的.conf文件,在kibana中查看设备日志时,4个索引显示日志相同
已邀请:

henry0417 - 80后IT男

赞同来自:

4个设备的日志配置信息是一样的么?再者,logstash启动的时候可以加载4个配置文件吗?

henry0417 - 80后IT男

赞同来自:

把4个配置都贴出来看看
 

YumShan - 90后IT男

赞同来自:

input {
  file {
    path => "/data/syslog/192.168.1.1/2019-02-15"
    start_position => "beginning"
    type => "network_server_log"
  }
}


output {
elasticsearch {
    hosts => ["192.168.1.2:9200"]  
    index => "192.168.1.1" 
        }
}

要回复问题请先登录注册