Hi All,
I am trying to create a REST interface for my logstash input plugin to interact with it. I want to expose some REST endpoints so that I can index documents in logstash through my input plugin. I am using Logstash 5.1.2. Any ideas on how to do this?
I don't think there are any particular restrictions on what Logstash plugins can do in this regard so any Ruby code for creating REST APIs should work fine here too.
You know that Logstash already has the http input plugin, right?
Yes, I am aware of http input plugin. My use-case is slightly different from http-input plugin though, which is why I am trying to build a REST interface.
Okay. And what specific problems are you having? Given the existence of the http input plugin and the widespread availability of Ruby REST code it's not clear what you want help with.
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.