I apologize for a stupid question, but I got stuck: the following simple config does not parse the input log-file (LS v.7.3.1):
input {
file {
path => ["C:\temp\solr.log.3"]
#start_position => "beginning"
sincedb_path => "NUL"
ignore_older => 0
mode => "read"
}
}
filter {
}
output {
stdout {
codec => json_lines
}
}
Start LS:
C:\programms\logstash\bin\logstash -f solr.conf
and nothing gets parsed:
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=lcd
Thread.exclusive is deprecated, use Thread::Mutex
Sending Logstash logs to C:/programms/logstash/logs which is now configured via log4j2.properties
[2019-09-10T18:55:59,972][WARN ][logstash.config.source.multilocal] Ignoring the 'pipelines.yml' file because modules or command line options are specified
[2019-09-10T18:55:59,992][INFO ][logstash.runner ] Starting Logstash {"logstash.version"=>"7.3.1"}
[2019-09-10T18:56:01,145][INFO ][org.reflections.Reflections] Reflections took 31 ms to scan 1 urls, producing 19 keys and 39 values
[2019-09-10T18:56:01,889][WARN ][org.logstash.instrument.metrics.gauge.LazyDelegatingGauge] A gauge metric of an unknown type (org.jruby.RubyArray) has been create for key: cluster_uuids. This may result in invalid serialization. It is recommended to log an issue to the responsible developer/development team.
[2019-09-10T18:56:01,889][INFO ][logstash.javapipeline ] Starting pipeline {:pipeline_id=>"main", "pipeline.workers"=>8, "pipeline.batch.size"=>125, "pipeline.batch.delay"=>50, "pipeline.max_inflight"=>1000, :thread=>"#<Thread:0x32816e05 run>"}
[2019-09-10T18:56:02,696][INFO ][logstash.javapipeline ] Pipeline started {"pipeline.id"=>"main"}
[2019-09-10T18:56:02,758][INFO ][filewatch.observingread ] START, creating Discoverer, Watch with file and sincedb collections
[2019-09-10T18:56:02,788][INFO ][logstash.agent ] Pipelines running {:count=>1, :running_pipelines=>[:main], :non_running_pipelines=>[]}
[2019-09-10T18:56:03,241][INFO ][logstash.agent ] Successfully started Logstash API endpoint {:port=>9600}
the debug output does not display anything useful!
It should be a stupid mistake, but what exactly?..
Any hint - much appreciated!
Thanks!