Using postgres with logstash - log filename is causing issues I'm having some trouble forwarding postgres logs to logstash. Normally it's pretty easy to do, but the problem with postgres is that the current logfile has the current date in the filename, so the name changes every day, making it very difficult to put the filename into logstash's config. Is there anything I can do about this? Maybe there's some trick to logstash that I can use to resolve this?
I figured it out, you can just use wildcards in the logstash-forwarder config. :p So far that seems to be working, but I'll keep an eye on it to make sure it rotates properly.