Hi,
I am facing the same issue on windows 7.
config file (test.conf):
input {
file {
path => "C:/ElasticSearch/logstash-2.3.4/userdata/sample_data"
start_position => "beginning"
sincedb_path => "NUL"
ignore_older => 0
}
}
output {
stdout {}
}
sample_data file (some random log):
Date , GPU Core Clock [MHz] , GPU Memory Clock [MHz] , GPU Temperature [°C] , Memory Used [MB] , GPU Load [%] , Memory Controller Load [%] , Video Engine Load [%] , VDDC [V] ,
2013-12-30 10:35:32 , 135.0 , 405.0 , 44.0 , 139 , 0 , 5 , 0 , 0.8870 ,
2013-12-30 10:35:33 , 135.0 , 405.0 , 43.0 , 139 , 0 , 5 , 0 , 0.8870 ,
2013-12-30 10:35:34 , 135.0 , 405.0 , 43.0 , 139 , 0 , 5 , 0 , 0.8870 ,
2013-12-30 10:35:35 , 135.0 , 405.0 , 43.0 , 139 , 0 , 5 , 0 , 0.8870 ,
2013-12-30 10:35:36 , 135.0 , 405.0 , 43.0 , 139 , 0 , 5 , 0 , 0.8870 ,
Following is the output from powershell:
PS C:\ElasticSearch\logstash-2.3.4> .\bin\logstash.bat -f .\bin\test.conf -v
io/console not supported; tty will not be manipulated
←[32mstarting agent {:level=>:info}←[0m
←[32mstarting pipeline {:id=>"main", :level=>:info}←[0m
Settings: Default pipeline workers: 2
←[32mRegistering file input {:path=>["C:/ElasticSearch/logstash-2.3.4/userdata/sample_data"], :level=>:info}←[0m
←[32mStarting pipeline {:id=>"main", :pipeline_workers=>2, :batch_size=>125, :batch_delay=>5, :max_inflight=>250, :level
=>:info}←[0m
Pipeline main started
My guess is, issue is due to path in windows. So I've tried
path => "C:\ElasticSearch\logstash-2.3.4\userdata\sample_data"
with no success.
Please help me out with it.
Thanks,
Abhishek