Accessing files inside a folder

Hi,

I have to access the files inside a folder . The folder structure is like this

MainFolder
->folder1 -> 1.txt
->folder2 ->2.txt
->1.txt
->2.txt

when i write the logstash parser like this

file {
path => "/root/MainFolder/*"
start_position => "beginning"
sincedb_path => "/dev/null"
}

It is not working.Please help me out

The documentation says to use ** for a recursive search.

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