Http call in logstash filter

I have a document coming in from logstash input using HTTP poller , in filter section i need to make a http call to other end point with one specific field of document and get the output from end point in filter, at this moment i don't see any Http Filter plugin available for logstash. Any ideas how this can be achieved using logstash.

I haven't done it myself but you could try using the ruby filter. In this blogpost on how to use Ruby in Logstash there is an example of how to make a webcall. Or this blogpost is maybe even better as it looks like it uses the latest version of Ruby.

I do not think there is any filter that does it out of the box. As Kurt suggested it may be possible through the Ruby filter, but be aware that it is likely to be very slow and have a negative impact on throughput.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.