I'm trying to the Logstash plugin to send build information to an Elasticsearch instance where I've configured 'Enable Globally'. I'm not modifying the pipeline jogs to use the logstash{} block as I'd like to do this at the global level Per the caveat at https://wiki.jenkins.io/display/JENKINS/Logstash+Plugin JENKINS-45693 is resolved, and the fix for that has been merged. See https://plugins.jenkins.io/workflow-api > Changelog > 2.36 (2019 Aug 01). It looks like it's available for Jenkins instances that are at least at v2.138.4. I have a Jenkins 2.190 instance with the Pipeline: API v2.36 plugin and Logstash v2.31 plugin installed. I see this in the log: NFO jenkins.plugins.logstash.PluginImpl start Logstash: a logstash agent to send jenkins logs to a logstash indexer. But, nothing appeared in elasticsearch. This DOES work as expected for freestyle jobs. |