rundeck-plugins / rundeck-logstash-plugin

Pipe all Rundeck log output to a Logstash server
28 stars 18 forks source link

v4.9.0-20230111 StreamingLogWriter plugin LogstashPlugin won't find it's properties from framework.properties #8

Open w00dst0ck opened 1 year ago

w00dst0ck commented 1 year ago

Describe the bug Since upgrade from version v4.8.0-20221110 to version 4.9.0-20230111 the StreamingLogWriter plugin named LogstashPlugin won't find it's properties from framework.properties

After the first job excecution the following ERRORs are reportet in the log.

[2023-01-20T09:50:37,722] ERROR services.PluginService - StreamingLogWriter: configuration was not valid for plugin 'LogstashPlugin': port: required [2023-01-20T09:50:37,728] ERROR services.LoggingService - Failed to load StreamingLogWriter plugin named LogstashPlugin

Also there are no logs are communicated to logstash.

My Rundeck detail

To Reproduce Steps to reproduce the behavior:

  1. Install and configure https://github.com/rundeck-plugins/rundeck-logstash-plugin
  2. Click on project and start a job excecution
  3. See error

Expected behavior StreamingLogWriter plugin named LogstashPlugin is able to read its configuration

Desktop (please complete the following information):

OS: [Windows] Browser [chrome] Version [ 109.0.5414.75 ]

MegaDrive68k commented 8 months ago

Hi @w00dst0ck

Did you "patch" the plugin groovy file like this?

Regards.

w00dst0ck commented 8 months ago

Hi @MegaDrive68k,

yes but it won't use the values from the framework.properties.

My current workaround is, that I've writen my values to the defaultValue.

Regards, Kai