Creating indices from multiple inputs

I am trying to fetch the logs from multiple location and would like to create a single index for those multiple logs...is there anyway via which I can configure in input filter in .conf file???
input {
file {
path => "/elk/MAILGW-SMPTPD/elk/MAILGW-SMPTPD/spamfilter-3/qmail/*"
start_position => "beginning"
}
}
In place of path can I paste multiple path locations or can use "path1=>..." something I like that??????

Yes. The path option to a file input takes an "array", so you can pass it multiple paths, each of which can contain wildcards.

path => [ "/home/user/foo.txt", "/home/user/bar.txt" ]

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