input {
file {
codec => json
type => "log4j-json"
path => "C:/Users/akashsoni/Downloads/k/logstash-tutorial/20160402050401.log"
start_position =>beginning
}
}
output {
stdout {}
}
Hi, This is my code which I am trying to run but, i got error when i give command at command prompt:C:\Users\akashsoni\Downloads\logstash-2.3.1\bin>logstash -f first-pipeline.conf- -config.In result:error is: missing: en.logstash.runner.configuration.file
And i am a window user.
when i run this command:C:\Users\akashsoni\Downloads\logstash-2.3.1\bin>logstash -f first-pipeline.conf
then it will start the pipeline but not show any output,why?