Files automatically indexed in elastic

I have a folder where new logs are added daily, in my conf file the input is defined like this:

input {
    file {
            path => "/opt/processed/disc*"
            start_position => "beginning"
            sincedb_path => "/dev/null"

The files names are like this:


The command I run to index the logs look like this:

bin/logstash -f /etc/logstash/conf.d/discs.conf

The problem that I have is that the new files that are added to my /opt/processed folder are not indexed automatically by logstash

Is there something that I need to do so this new files get automatically indexed in elastic?

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