I am using logstash-2.3.3. when i run "logstash -f logstash-workday.conf" it is struck and no output is being displayed.
C:\logstash-2.3.3\bin>logstash -f logstash-workday.conf
io/console not supported; tty will not be manipulated
Settings: Default pipeline workers: 8
Pipeline main started
logstash-workday.conf : (Input is an file containing some log information and XML content.)
input {
file {
path => "C:\logstash-2.3.3\bin\test.xml"
codec => multiline {
# Grok pattern names are valid! :)
pattern => "^%{...}"
negate => true
what => previous
}
}
}
filter{
xml{
}
}
output{
stdout {
codec => rubydebug
}
}
When i ran "logstash -f logstash-workday.conf --debug" I found these in the logs :
{:timestamp=>"2016-06-21T11:03:07.383000-0700", :message=>"Reading config file", :config_file=>"C:/logstash-2.3.3/bin/logstash-workday.conf", :level=>:debug, :file=>"/logstash-2.3.3/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.3-java/lib/logstash/config/loader.rb", :line=>"69", :method=>"local_config"}
{:timestamp=>"2016-06-21T11:03:07.709000-0700", :message=>"Plugin not defined in namespace, checking for plugin file", :type=>"codec", :name=>"multiline", :path=>"logstash/codecs/multiline", :level=>:debug, :file=>"/logstash-2.3.3/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.3-java/lib/logstash/plugin.rb", :line=>"76", :method=>"lookup"}..... (Its a very long log file )
Thanks in advance.