Can we pass on file path=> as a command line argument


(Saket Kumar) #1

./bin/logstash -f logstash.conf -path /a/b/*.csv


(Mark Walkom) #2

Nope, you cannot.


(Magnus B├Ąck) #3

No, but you can pass the whole input block as an argument:

/path/to/logstash -e 'input { file { path => "/a/b/*.csv" } }' -f other-configs.conf

(system) #4