# 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:

``````disc_2019_11_12.log
disc_2019_11_13.log
disc_2019_11_14.log
``````

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?