私信  •  关注

Ganesh Ram Ravi

Ganesh Ram Ravi 最近回复了
5 年前
回复了 Ganesh Ram Ravi 创建的主题 » SQL Server通过logstash与ElasticSearch同步-不会发生重新传输

我发现并解决了这个问题。

我发现的问题是每个字段都区分大小写,只有在 小写字母 信。

下面是我所做的改变,它对我很好。

output {
  elasticsearch {
    hosts => ["localhost:9200"]
    index => "application_log"
    #document_id is a unique id, this has to be provided during syn, else we may get duplicate entry in ElasticSearch index.
    document_id => "%{Id}"
  }
}

没有变化 输入 部分。

谢谢你的支持。