【发布时间】:2017-02-24 16:46:46
【问题描述】:
ES 2.4.1 Logstash 2.4.0
我正在从本地向 elasticsearch 发送数据以创建索引“pica”。我使用了以下 conf 文件。
input {
file {
path => "C:\Output\Receive.txt"
start_position => "beginning"
codec => json_lines
}
}
output {
elasticsearch {
hosts => "http://localhost:9200/"
index => "pica"
}
stdout{
codec => rubydebug
}
}
我在 logstash 提示符或 elasticsearch 集群中都看不到任何输出。
当我看到 .sincedb 文件时,它具有以下代码:
612384816-350504-4325376 0 0 3804
我可以知道这里有什么问题吗?
谢谢
【问题讨论】:
标签: logstash