I take json format data and send it to logstash from filebeat.
{"key1":"val1","key2":"val2"}
At this time, I want to set index information in filebeat and send it to logstash.
How can I do it ??
I take json format data and send it to logstash from filebeat.
{"key1":"val1","key2":"val2"}
At this time, I want to set index information in filebeat and send it to logstash.
How can I do it ??
You can add fields using the fields
setting either in the input or globally. Filebeat 7.0 also adds an add_fields
processor. The Logstash output also has an index
setting.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
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.