Multiple inputs or single input in logstash config, Which is better?


(Mayank Agrawal) #1

Scenario:
Files that I need logstash to process have same file name pattern (say xyz.log). Earlier I was using single file input, but had issues reading .sincedb file (logstash is not updating it properly).
So I am thinking it to replace the single file input by multiple inputs (single input for each file), so that .sincedb is created separately for each file.
There can be at the most 30 files, so at the max 30 file input plugins.

Question: Is it ok for logstash to have 30 file inputs ?? Will there be any impact on performance etc. ?


(system) #2

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.