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!
path => "/data/logs/winsql.log"
codec => "rubydebug"