ok.
my config file is:-
input {
file {
path => "/etc/record.csv"
start_position => "beginning"
}
}
output{
stdout{ codec => rubydebug}
}
/opt/logstash/bin/logstash -f first.conf -v
Settings: Default pipeline workers: 1
Registering file input {:path=>["/etc/record.csv"], :level=>:info}
No sincedb_path set, generating one based on the file path {:sincedb_path=>"/home/sab/.sincedb_166abf361ebae2343c43ab4612b6db74", :path=>["/etc/record.csv"], :level=>:info}
Starting pipeline {:id=>"base", :pipeline_workers=>1, :batch_size=>125, :batch_delay=>5, :max_inflight=>125, :level=>:info}
Pipeline started {:level=>:info}
Logstash startup completed
^CSIGINT received. Shutting down the pipeline. {:level=>:warn}
Closing inputs {:level=>:info}
Closed inputs {:level=>:info}
Input plugins stopped! Will shutdown filter/output workers. {:level=>:info}
Pipeline shutdown complete. {:level=>:info}
Logstash shutdown completed