Logstash index diretory vs files

(amin) #1

Hi guys,

I have a question. I have 5 log files and 5 configs file for logstash.

if i put all the .conf file in directory and start logstash to index that directory is better than calling each conf file separately(logstash -f logfile) ?
better refers to using less resource like heap and .... ? I think when i call logstash to index a directory, it uses one logstash instance so it uses less heap size than 5 logstash instances.

(Magnus B├Ąck) #2

Yes. Logstash obviously has a fixed overhead so from a system resource perspective you'll want to run as few instances as possible.

(system) #3

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