I am trying to run logstash conf file through Jenkins, I am using a jdbc input plugin with a schedule property to run each morning at 6.00 AM and I have a question, Do I need to leave the process run in background (/logstash -f ) to execute the query every morning?.
When the job in jenkins is executed with the schedule property this doesn't finish and I don't know why, but when I remove the schedule property the jobs finish without problem.
Somebody can explain me how the schedule property works ?
If you use Logstash's schedule option it'll run forever and periodically fetch from the database. That's not suitable for executable via Jenkins. So, either use Jenkins's schedule feature and run Logstash without its schedule feature, or run Logstash outside of Jenkins and rely on Logstash's schedule feature.
The main point is that we implement a java process to export and import kibana dashboards, visualizations and search to JSON files and we can move this to some environments (dev, pre and pro).
when Jenkins runs extract these dashboards and export to required environment and one activity is recycle the process of logstash to execute.
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.