elasticsearch 无法使用logstash将索引加载到elasticsearch,elasticsearch,logstash,elasticsearch,Logstash" /> elasticsearch 无法使用logstash将索引加载到elasticsearch,elasticsearch,logstash,elasticsearch,Logstash" />

elasticsearch 无法使用logstash将索引加载到elasticsearch

elasticsearch 无法使用logstash将索引加载到elasticsearch,elasticsearch,logstash,elasticsearch,Logstash,我无法使用logstash将索引加载到elasticsearch。下面是我的logstash.conf设置。对我来说,配置设置似乎很好。如果我遗漏了什么,请帮忙 假设Logstash和elastic搜索服务运行良好 输入{ 文件{ 类型=>IISLog path=>C:/inetpub/logs/LogFiles/W3SVC1/u_ex140930.log 开始位置=>开始 } } 输出{ stdout{debug=>true debug_格式=>ruby} 弹性搜索{ 主机=>localho

我无法使用logstash将索引加载到elasticsearch。下面是我的logstash.conf设置。对我来说,配置设置似乎很好。如果我遗漏了什么,请帮忙

假设Logstash和elastic搜索服务运行良好

输入{ 文件{ 类型=>IISLog path=>C:/inetpub/logs/LogFiles/W3SVC1/u_ex140930.log 开始位置=>开始 } } 输出{ stdout{debug=>true debug_格式=>ruby} 弹性搜索{ 主机=>localhost 端口=>9200 协议=>http 索引=>iislogs2 }
} 您可以从检查以下内容开始:

检查日志存储日志文件是否存在错误。 运行以下命令:telnet localhost 9200并验证您是否能够连接。 检查elasticsearch日志文件是否存在错误。
你有什么关于stdout的消息吗?日志中有什么有趣的东西吗?如果使用-verbose甚至-debug启动Logstash会怎么样?我不会假设[一切]都运行良好。有很多移动的碎片!以下是诊断麋鹿问题的指南: