简体   繁体   中英

How to index array data type from mongodb to elasticsearch using logstash

我们试图使用logstash索引mongodb中的数据,但我们无法单独索引数组数据类型字段,而且日志文件中也没有错误。

It was an issue with MongoDB plugin which we used in logstash.

we added ruby code to the logstash-conf file to get the arrays from log_entry field.

Note: log_entry will have the complete field list and data.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM