You would use 'path => /home/stour/data/**/*.json'. You may want to use read mode rather than tail mode, but make sure you understand the default value of file_completed_action.
And the json file contains data like {"version":1,"checksum":"68e9982a3c55657ef9429918590e629835ffcf24","data":{"time":"2017-05-30T16:01:02.5153013Z","os":{"product":"Wondows 10","build":"9200"},"product":{"hash":"xyz","version":"1.1.12","status":"active"}}}
There is no new line character at the end of json file.
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.