I'm wondering, when a pipeline.workers is define either in logstash.yml and in pipelines.yml, which configuration is applied ?
I found out this setting was different in those 2 files.
My guess would be that the pipelines.yml overrides the pipeline.workers setting of logstash.yml but I'm not sure at all.
The value of pipelines.yml takes precedence over the value from logstash.yml, the value in logstash.yml will be use if there is no value for a setting in pipelines.yml, this is in the documentation
The value of a setting that is not explicitly set in the pipelines.yml file will fall back to the default specified in the logstash.ymlsettings file.
So, if you set pipeline.workers in both, the value from pipelines.yml will be used, if you have multiple pipelines and one of them does not have the pipeline.workers setting, the logstash.yml value will be used.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.