Yes it is => according to documentation. But the symbol that is there after the host parameter is not the same => as you might think. Just remove that character from the configuration and type again => and and make a config test. I tested your configuration and its OK.
@Makra yes you are right it was a different character but after I changed it to correct character => configtest give me the same error [FATAL][logstash.runner ] The given configuration is invalid. Reason: Expected one of #, input, filter, output at line 1, column 1 (byte 1) after
I am not sure if the config file can have JSON extension. Try changing the extension to .conf Also do you have some other configuration files in the config location ?
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.