cvtienhoven / graylog-plugin-aggregates

Aggregates plugin for Graylog
https://marketplace.graylog.org
GNU General Public License v3.0
53 stars 12 forks source link

Unable to create schedule on latest versions #38

Open 7ooL opened 6 years ago

7ooL commented 6 years ago

plugin aggerates version: 2.2.4 Graylog 2.4.6+ceaa7e4 on graylog (Oracle Corporation 1.8.0_172 on Linux 4.4.0-131-generic)

Could not create schedule Creating schedule failed with status: cannot PUT http://[server ip]:9000/api/plugins/org.graylog.plugins.aggregates/schedules (400)

I am admin

{type: "ApiError",…} message:"Can not deserialize instance of java.util.ArrayList out of VALUE_STRING token↵ at [Source: org.glassfish.jersey.message.internal.ReaderInterceptorExecutor$UnCloseableInputStream@33d8c539; line: 1, column: 98] (through reference chain: org.graylog.plugins.aggregates.report.schedule.rest.models.requests.AddReportScheduleRequest["reportSchedule"]->org.graylog.plugins.aggregates.report.schedule.ReportScheduleImpl["reportReceivers"])" type:"ApiError"

FGS-SWirt commented 6 years ago

I haven't dug into the code enough to determine exactly what is going on, but this occurs when the Email Receivers text box is left blank. If you enter any valid email address (per regex validation, doesn't matter if it is real or not), then you can create a schedule.