I have multiple log files in the same directory, that I want to run through Logstash, every file is having different format than other.
My log files can be named randomly by different network providers (I dont have control on how do they name log files). I want to parse based on certain formats they have.
For example: under logs directory there are log files with different format
$ /path/to/logs
abc.log
beats.log
access.log
However, i was able to parse each log file separately by launching logstash instance to the specific format of log file (While parsing access.log file i'm using access.conf file which has the matching grok filter to parse the access.log data format).
Should I run as many instances as I have different types of logs?