[英]Elasticsearch / Logstash
new in the ELK stack maybe my question is stupid. ELK 堆栈中的新功能也许我的问题很愚蠢。 Sorry if it's the case:-)抱歉,如果是这样的话:-)
I want to get datas from several APIs and transform it to push it in elasticsearch.我想从多个 API 获取数据并将其转换为将其推送到 elasticsearch 中。 Is there a way to do it directly with logstash?有没有办法直接用logstash来做? I tried Http-poller but that's not really what I want since I cannot updated the data based on time column and I cannot browse api data.我尝试了 Http-poller,但这并不是我真正想要的,因为我无法根据时间列更新数据,也无法浏览 api 数据。
Have I to code it manually?我必须手动编码吗?
Thanks for your time谢谢你的时间
You can use Http input plugin in logstash.您可以在 logstash 中使用Http 输入插件。
check this for an example:检查这个例子:
https://stackoverflow.com/a/37585290/5430055 https://stackoverflow.com/a/37585290/5430055
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.