Logstash does not show outout in the console while using file plugin. But when i give same input from stdin the out is printed in the console

logstash does not show outout in the console while using file plugin. But when i give same input from stdin the out is printed in the console.

Here is my config file

input {
file {
path => "C:\Users\503160527\test.log"
start_position => "beginning"
sincedb_path => "NUL"
}

}
output {
stdout { codec => rubydebug }

file{
path => "C:\Users\503160527\ELK\Data\test2.txt"

}

}

Do not use backslash in the path option of a file input, use forward slash.

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