How to crawler static file by logstash 'file' input plugin without modifying at beginning

Hi all,

there are 3 log files has been archived, and named 'archived.2016.06.12.log', 'archived.2016.06.13.log' and 'archived.2016.06.14.log'.

my logstash conf content

input {
file {
path => "/home/ubuntu/test_log/a*.log"
}
}

Logstash didn't do anything when I start logstash service, which start to crawler after I modify these files.

How to crawler these files after starting logstash service without modifying at beginning? (Archived files will be produced everyday)

Jason

Have you pointed LS at these files before?
Have a read of https://www.elastic.co/guide/en/logstash/current/plugins-inputs-file.html#_tracking_of_current_position_in_watched_files