Log-stash does not read the files by this config, However when i edit the file (adding a space), it triggers the file and process it.
How can I configure log-stash to read all the files as they move to my server (as they copied to that directory...)
Logstash probably think it already has processed the files (it probably did while you were trying things out). Deleting the sincedb file should help. See the file input documentation.
I end up creating a bash file to add an empty line to the end of each file every 5 minutes, that makes the log-stash see a change in a file and triggers them.
*/5 * * * * sed -i -e '$a\' /usr/local/ogr/target/*/*/*Group.json
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.