[JIRA] (JENKINS-59110) Logstash plugin: Not working for Pipeline jobs when 'Enabled Globally'

0 views
Skip to first unread message

leibkel@yahoo.com (JIRA)

unread,
Aug 27, 2019, 6:00:03 PM8/27/19
to jenkinsc...@googlegroups.com
Lee Leibke created an issue
 
Jenkins / Bug JENKINS-59110
Logstash plugin: Not working for Pipeline jobs when 'Enabled Globally'
Issue Type: Bug Bug
Assignee: Jakub Bochenski
Components: logstash-plugin
Created: 2019-08-27 21:59
Environment: OS - CentOS 7 (via a Vagrant box)
Jenkins - 2.190
Pipeline: API Plugin - 2.36
Logstash Plugin - 2.31
Priority: Minor Minor
Reporter: Lee Leibke

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.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

leibkel@yahoo.com (JIRA)

unread,
Aug 27, 2019, 6:02:01 PM8/27/19
to jenkinsc...@googlegroups.com
Lee Leibke updated an issue
Change By: Lee Leibke
I'm trying to use the Logstash plugin to send build information to an Elasticsearch instance where I've configured 'Enable Globally' for the plugin


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.

christophe.hauquiert@nokia.com (JIRA)

unread,
Mar 27, 2020, 6:59:02 AM3/27/20
to jenkinsc...@googlegroups.com
Christophe Hauquiert commented on Bug JENKINS-59110
 
Re: Logstash plugin: Not working for Pipeline jobs when 'Enabled Globally'

Hi,

I'm facing the same issue, any news on this topic ?

Christophe

This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo

bochenski.kuba+jenkins@gmail.com (JIRA)

unread,
Mar 27, 2020, 9:28:03 AM3/27/20
to jenkinsc...@googlegroups.com

Sorry, I don't have time to work on this ATM.
If anybody want's to send a PR I'll be happy to assist and review

m_winter@gmx.de (JIRA)

unread,
Apr 13, 2020, 12:52:03 PM4/13/20
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages