bitsensor / elastalert-kibana-plugin

ElastAlert Kibana Plugin
https://bitsensor.io/blog/elastalert-kibana-plugin-centralized-logging-with-integrated-alerting
Other
556 stars 118 forks source link

manually disabling payload validation on the routes to fix for Kibana 7.6.0 #148

Closed mmguero closed 3 years ago

mmguero commented 4 years ago

Fix issue https://github.com/bitsensor/elastalert-kibana-plugin/issues/141 by manually disabling payload validation on the routes, as suggested in https://github.com/elastic/kibana/issues/57777#issuecomment-608516900

nsano-rururu commented 4 years ago

By incorporating this pull request, it will work with Kibana 7.6.0, 7.6.1, 7.6.2, 7.7.0, 7.7.1, 7.8.0.

nsano-rururu commented 3 years ago

When I tried to move it with Kibana 7.9.0 and Kibana 7.9.1 and Kibana 7.9.2, I also needed the following support.

error message

ERROR in ./plugins/elastalert-kibana-plugin/public/app.js
Module not found: Error: Can't resolve 'ui/autoload/styles' in '/usr/share/kibana/plugins/elastalert-kibana-plugin/public'

Workaround

public/app.js

delete 「import 'ui/autoload/styles';」

Frok Reporitory

nsano-rururu/elastalert-kibana-plugin https://github.com/nsano-rururu/elastalert-kibana-plugin

Kibana startup log that I was interested in

The following warning appears when starting Kibana. With Kibana 7.9.0 or later, it may not work unless you rewrite the program with the new writing method of Kibana Plugin.

{"type":"log","@timestamp":"2020-08-19T15:33:58Z","tags":["warning","legacy-service"],
"pid":6,"message":"Some installed third party plugin(s) [elastalert-kibana-plugin] 
are using the legacy plugin format and will no longer work in a future Kibana release. 
Please refer to https://ela.st/kibana-breaking-changes-8-0 for a list of breaking changes 
and https://ela.st/kibana-platform-migration for documentation on how to migrate legacy plugins."}
nsano-rururu commented 3 years ago

We've removed features used by legacy plugins from Kibana 7.10.0, so the version of Kibana supported by this pull request is up to 7.9.3.