Logstash recieves many
.log files such as
mysqld.log. I deal with it in logstash by having an
if statement for each file such as:
if [log][file][path] =~ "mysqld.log"
I've been asked to also ship data from some old servers where on top of
mysqld.log, there's also
mysqld-port3308.log. The port number varies and can be anything.
Because the content of these files are formatted the same, I'm trying to have logstash simply include anything that starts with
mysql and ends with
I noticed it doesn't accept astriks, is there an alternative for this? Huge thanks ahead!