Dead_letter_queue plugin issue

Hello,
I am currently having an issue with property sincedb_path. My logstash service is dockerized and when using this plugin I do not have to implicitly set the sincedb_path attribute because internally logstash will create the directory structure to house the sincedb files. Now for some reason the directory is created successfully but the db files are not created which means the offset is not written, so the dead letter queue file will get re-read from the beginning when the logstash service is restarted.

logstash.conf
input {
dead_letter_queue {
path => "/opt/logstash/persistance/data/dead_letter_queue"
commit_offsets => true
}
}
output {
file {
path => "/app/platform/logstash/logs/dead_letter_queue.log"
codec => line {
format => "Metadata: %{[@metadata]} | Event: %{message} | Timestamp: %{[@timestamp]}"}
}
}

Any ideas?...

Nevermind... :). I found it. command: ls -altr to see hidden files. duh!

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