I am working on logstash to extract data from mysql,
as existing filters/plugins lack in doing required operations/transformations
I think I need to create a program of my own to do this.
My question is, Is it possible to call a java program/function or a webservice from filter?
I'm using the JDBC input with a mysql connector. The plugin creates fields for each column I specify in the select statement. Would this not work for you?
As to your question though I don't know if you can call such from a filter but I've used the exec input to make a curl call.
@warkolm I've gone through both the URL's you've mentioned and was really helpful.
I would also like to know if there is another way of calling external program/function (could be in any language) so that I can see which is efficient and will use.
@CraigFoote Can you please share a sample for using exec input for making url call and getting data from that?
@warkolm I've gone through both the URL's you've mentioned and was really helpful.
I would also like to know if there is another way of calling external program/function (could be in any language) so that I can see which is efficient and will use.
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.