Avoiding duplicate entries when using JDBC output to file

Hi all,

New to Logstash, was wondering how to go about this.. I've managed to get output to file working correctly, but would like to avoid duplicate entries. Having done some reading up, this seems to be possible using "document_id" in the output, however I'm assuming this only works when doing output to elasticsearch?

I am required to output the data to a log file, see config below. Any help would be much appreciated!

output {
file {
path => "/data/logs/winsql.log"
stdout {
codec => "rubydebug"

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.