Hello Folks,
I am using logstash 5.6.3 and I have written python script for parsing the some part of logs. i want to call this script from filter section of logstash.
I look around almost all the ways to look into it. i found a basic template structure to create plugin in logstash.
https://www.elastic.co/guide/en/logstash/current/plugin-generator.html
but it will create directory structure only for plugins. I am facing challenge to install dependency regarding this.
So i have following questions:
- how we can define the dependency in plugins and where i have to register those dependency entry ?
- how we can test this with logstash base functionality ?
- how to build final gem file to install this plugin into logstash ?
I will appreciate if someone can share some sample in this scenario.