Open paradozed opened 1 year ago
I ran into a similar issue recently, but when setting the mode to "read" the default action is to delete the files. setting "file_completed_action" to log will change this behaviour. Of note, my environment is Linux so could be different for Windows. https://www.elastic.co/guide/en/logstash/current/plugins-inputs-file.html#plugins-inputs-file-file_completed_action
Logstash deletes the input file when I start it in command line. As soon as the pipeline start. The file specified in the "path" parameter is removed.
import-index.conf:
OS : Windows 10