Hi,
I've logstash 1.5.4 running on Win server 2008 R2.
Its locking my application log, allowing it to rotate but it can't be deleted.
My conf looks like this:
input {
file{
path => ["C:\Program Files\Apache Software Foundation\Tomcat 7.0\logs\XXX.log","C:\Program Files\Apache Software Foundation\Tomcat 7.0\logs\XXX.log"]
start_position => beginning
}
}
filter {
grok {
match => {"message" => "%{TIMESTAMP_ISO8601:logdate} [%{DATA:thread}] (%{DATA:classname}) %{LOGLEVEL:level} - %{GREEDYDATA:log_message}"}
}
}
output {
kafka {
broker_list => "XXX:9092"
topic_id => "XXX"
client_id => "XXX"
}
}
Is there a plugin or configuration to fix that?
Thanks,
Amir