Why can't read file by input plugin

(吳東祐) #1

Why can't I output a file (2.txt) from the input file(test.json)?
When I execute the instruction below , I did't see any oupput in cmd.
However, I can see the output by stdin and that record to 2.txt successfully.


input {
		file {
				path => "/*.json"
				start_position => "beginning"

output {
    stdout{ codec => "rubydebug" }
    file {
				path => "/2.txt"				



{"name" : "test"}

instruction on command line

logstash -f pipeline_file.config

(system) #2

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