Recently, I've upgraded my Logstash to 8.11.3 version. Starting from Logstash 8.11 version, Logstash Integration Plugin is available. I was trying to use the Logstash input plugin to receive the data from another Logstash.
as per the elastic documentation, we can use the ** add_field** and id in the logstash input plugin and that will add the filed to the every event.
But, add_filed and Id is not getting added in the event. Here attaching my logstash config, could you please someone check and help me to resolve this issue?
You are right, the input does not call decorate, so the common options like add_field do not work. An issue for this was opened this morning.
The id option does not add an [id] field to the event, it is used by the pipeiine stats API to tell you which plugin the stats refer to. Useful if you have more than one plugin of the same type.
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.