Logstash configtest error..logstash 5.4

[2017-06-22T16:48:22,448][FATAL][logstash.runner ] The given configuration is invalid. Reason: Expected one of #, } at line 3, column 21 (byte 39) after input {
beats {
host => 192.168
[2017-06-22T16:50:39,251][ERROR][logstash.outputs.elasticsearch] Unknown setting 'host' for elasticsearch
[2017-06-22T16:50:39,256][FATAL][logstash.runner ] The given configuration is invalid. Reason: Something is wrong with your configuration.
[2017-06-22T16:52:54,479][FATAL][logstash.runner ] The given configuration is invalid. Reason: Expected one of #, } at line 3, column 21 (byte 39) after input {
beats {
host => 192.168
[2017-06-22T16:53:19,905][ERROR][logstash.outputs.elasticsearch] Unknown setting 'host' for elasticsearch
[2017-06-22T16:53:19,909][FATAL][logstash.runner ] The given configuration is invalid. Reason: Something is wrong with your configuration.

Last two lines showing that the config file is wrong. Please read the logs what is wrong and fix it.

1 Like

Thank you so much @Vishal_Sharma1

No issues PLEASE close the topic saying SOLVED

1 Like

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