是否可以按顺序使用logstash过滤器? 例如,我想将消息解析为 json,然后新创建的字段按字符分割。
输入=>过滤器=>过滤器=>输出=>elasticsearch
最佳答案
是的,the official doc 中提到过。
If you specify multiple filters, they are applied in the order of their appearance in the configuration file.
关于filter - Logstash 中的链过滤器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33959672/