Setting `congestion_threshold` in plugin `beats` --getting below error any solution to fix this

sudo -u logstash /usr/share/logstash/bin/logstash --path.settings /etc/logstash -t

Sending Logstash logs to /var/log/logstash which is now configured via log4j2.properties
[2019-02-03T11:55:15,766][FATAL][logstash.runner ] The given configuration is invalid. Reason: The setting congestion_threshold in plugin beats is obsolete and is no longer available. This option is obsolete since congestion control is done automatically If you have any questions about this, you are invited to visit https://discuss.elastic.co/c/logstash and ask.
[2019-02-03T11:55:15,811][ERROR][org.logstash.Logstash ] java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) ex

You have specified 'congestion_threshold => someNumber' in the configuration of your beats input. You should remove it because the option is obsolete.

After removing 'congestion_threshold => someNumber' in the configuration
getting following error
Sending Logstash logs to /var/log/logstash which is now configured via log4j2.properties
[2019-02-03T22:42:54,106][ERROR][logstash.inputs.beats ] Unknown setting 'congestion_threshold' for beats
[2019-02-03T22:42:54,188][FATAL][logstash.runner ] The given configuration is invalid. Reason: Something is wrong with your configuration.
[2019-02-03T22:42:54,217][ERROR][org.logstash.Logstash ] java.lang.IllegalStateException: Logstash stopped processing because of an error: (SystemExit) exit

Can you show us the configuration of your input?

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