Stuck at “Successfully started Logstash API endpoint {:port=>9600}”

Stuck at “Successfully started Logstash API endpoint {:port=>9600}”

When I turn on --debug, it keeps looping the following information:

That looks normal to me. What else do you expect it to log? What is your configuration?

input {
  file {
    path => ["/www/wwwroot/logstash-7.10.2/log.txt"]
	
	stat_interval => 1
	
	start_position => beginning
	
	sincedb_path => "/www/wwwroot/logstash-7.10.2/log.txt"
	
	sincedb_write_interval => 5
    	codec => plain{
		charset=>"GBK"
		}
	}
}
filter {
	
	mutate{
		gsub => [ "message", "\\r", "" ]
	}
	csv {
		
		separator => "----"
		columns => ["id","mail"]
		
		remove_field => ["host", "tags", "path", "message","@timestamp","@version"]
	}
}
output {
    elasticsearch {
        hosts => ["127.0.0.1:9200"]
        index => "id"
    }

}

This is my configuration

If you append a line to that file does a document show up in Elasticsearch?

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