I have logstash running with something like this:
input {
file {
path => ["/home/logdata/*.log"]
codec => json {
charset => "UTF-8"
}
}
}
output {
elasticsearch {
protocol => "http"
host => "whatever"
cluster => "recordings"
index => "logstash-%{+YYYYMMdd}"
}
}
Some of these files are many GB in size. How can I tell where logstash is in the process? Is there a progress indicator? Can I tell how many lines in or are left?
Amongst other things, I'm trying to figure out when to delete the original log files so knowing when logstash is finished would be very useful.