Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kibana 8.16.0 support #53

Closed
nsano-rururu opened this issue Nov 12, 2024 · 2 comments
Closed

Kibana 8.16.0 support #53

nsano-rururu opened this issue Nov 12, 2024 · 2 comments

Comments

@nsano-rururu
Copy link

No description provided.

@Karql
Copy link
Owner

Karql commented Nov 13, 2024

Build error for kibana 8.16.0 should be fixed first:

yarn build --kibana-version=8.16.0
yarn run v1.22.22
$ yarn plugin-helpers build --kibana-version=8.16.0
$ node ../../scripts/plugin_helpers build --kibana-version=8.16.0
 info deleting the build and target directories
 info run bazel and build required artifacts for the optimizer
 succ bazel run successfully and artifacts were created
 info running @kbn/optimizer
 │ERROR Optimizer failure: Failed to compile with webpack:
 │      Hash: a5f4e72e1f08f285bfa5
 │      Version: webpack 4.46.0
 │      Time: 1716ms
 │      Built at: 11/13/2024 2:38:41 PM
 │                                  Asset      Size  Chunks  Chunk Names
 │      elastalertKibanaPlugin.chunk.1.js  9.67 KiB       1
 │       elastalertKibanaPlugin.plugin.js  7.33 KiB       0  elastalertKibanaPlugin
 │      Entrypoint elastalertKibanaPlugin = elastalertKibanaPlugin.plugin.js
 │       [0] /home/karql/code/efk/kibana/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js 6.67 KiB {0} [built]
 │       [1] /home/karql/code/efk/kibana/node_modules/css-loader/dist/runtime/api.js 2.46 KiB {0} [built]
 │       [2] /home/karql/code/efk/kibana/packages/kbn-optimizer/src/worker/entry_point_creator.ts 461 bytes {0} [not cacheable] [built]
 │       [3] /home/karql/code/efk/kibana/node_modules/val-loader/dist/cjs.js?key=elastalertKibanaPlugin!/home/karql/code/efk/kibana/packages/kbn-ui-shared-deps-npm/src/public_path_module_creator.js 76 bytes {0} [not cacheable] [built]
 │       [4] ./public/index.scss 159 bytes {0} [built]
 │       [5] ./public/index.scss?v8dark 688 bytes {0} [built]
 │       [6] /home/karql/code/efk/kibana/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-0-1!/home/karql/code/efk/kibana/node_modules/postcss-loader/dist/cjs.js??ref--6-oneOf-0-2!/home/karql/code/efk/kibana/node_modules/sass-loader/dist/cjs.js??ref--6-oneOf-0-3!./public/index.scss?v8dark 238 bytes {0} [built]
 │       [7] ./public/index.scss?v8light 689 bytes {0} [built]
 │       [8] /home/karql/code/efk/kibana/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!/home/karql/code/efk/kibana/node_modules/postcss-loader/dist/cjs.js??ref--6-oneOf-1-2!/home/karql/code/efk/kibana/node_modules/sass-loader/dist/cjs.js??ref--6-oneOf-1-3!./public/index.scss?v8light 238 bytes {0} [built]
 │       [9] ./common/index.ts 91 bytes {0} [built]
 │      [10] ./public/index.ts + 1 modules 940 bytes {0} [built]
 │           | ./public/index.ts 235 bytes [built]
 │           | ./public/plugin.ts 700 bytes [built]
 │      [11] external "__kbnSharedDeps__.React" 42 bytes {0} [built]
 │      [12] external "__kbnSharedDeps__.EmotionReact" 42 bytes {0} [built]
 │      [14] external "__kbnSharedDeps__.ReactDom" 42 bytes {0} [built]
 │      [21] ./public/application.tsx + 14 modules 16.7 KiB {1} [built]
 │           | ./public/application.tsx 524 bytes [built]
 │           | ./public/components/main/index.ts 39 bytes [built]
 │           | ./public/components/main/main.tsx 1.59 KiB [built]
 │           | ./public/components/toast/index.ts 58 bytes [built]
 │           | ./public/components/rules/list/list.tsx 4.59 KiB [built]
 │           | ./public/components/toast/toast.tsx 1.44 KiB [built]
 │           | ./public/components/rules/list/item/index.ts 43 bytes [built]
 │           | ./public/components/rules/editor/index.ts 49 bytes [built]
 │           | ./public/components/modal/index.ts 58 bytes [built]
 │           | ./public/lib/elastalert.ts 493 bytes [built]
 │           | ./public/components/rules/list/item/item.tsx 798 bytes [built]
 │           | ./public/components/rules/editor/editor.tsx 5.14 KiB [built]
 │           | ./public/components/modal/dangerous.tsx 1.5 KiB [built]
 │           | ./public/components/console/index.ts 56 bytes [built]
 │           | ./public/components/console/console.tsx 362 bytes [built]
 │          + 7 hidden modules
 │
 │      ERROR in ./public/components/rules/editor/editor.tsx
 │      Module not found: Error: Can't resolve 'brace/ext/language_tools' in '/home/karql/code/efk/kibana/plugins/elastalert-kibana-plugin/public/components/rules/editor'
 │       @ ./public/components/rules/editor/editor.tsx 6:0-34
 │       @ ./public/components/rules/editor/index.ts
 │       @ ./public/components/rules/list/list.tsx
 │       @ ./public/components/main/main.tsx
 │       @ ./public/components/main/index.ts
 │       @ ./public/application.tsx
 │       @ ./public/plugin.ts
 │       @ ./public/index.ts
 │       @ /home/karql/code/efk/kibana/packages/kbn-optimizer/src/worker/entry_point_creator.ts
 │
 │      ERROR in ./public/components/rules/editor/editor.tsx
 │      Module not found: Error: Can't resolve 'brace/mode/yaml' in '/home/karql/code/efk/kibana/plugins/elastalert-kibana-plugin/public/components/rules/editor'
 │       @ ./public/components/rules/editor/editor.tsx 4:0-25
 │       @ ./public/components/rules/editor/index.ts
 │       @ ./public/components/rules/list/list.tsx
 │       @ ./public/components/main/main.tsx
 │       @ ./public/components/main/index.ts
 │       @ ./public/application.tsx
 │       @ ./public/plugin.ts
 │       @ ./public/index.ts
 │       @ /home/karql/code/efk/kibana/packages/kbn-optimizer/src/worker/entry_point_creator.ts
 │
 │      ERROR in ./public/components/rules/editor/editor.tsx
 │      Module not found: Error: Can't resolve 'brace/theme/github' in '/home/karql/code/efk/kibana/plugins/elastalert-kibana-plugin/public/components/rules/editor'
 │       @ ./public/components/rules/editor/editor.tsx 5:0-28
 │       @ ./public/components/rules/editor/index.ts
 │       @ ./public/components/rules/list/list.tsx
 │       @ ./public/components/main/main.tsx
 │       @ ./public/components/main/index.ts
 │       @ ./public/application.tsx
 │       @ ./public/plugin.ts
 │       @ ./public/index.ts
 │       @ /home/karql/code/efk/kibana/packages/kbn-optimizer/src/worker/entry_point_creator.ts
 │ info stopping @kbn/optimizer
 info compressing js and css bundles found at plugins/elastalert-kibana-plugin/build/kibana/elastalertKibanaPlugin/target/public to brotli
ERROR Error: ENOENT: no such file or directory, scandir '/home/karql/code/efk/kibana/plugins/elastalert-kibana-plugin/build/kibana/elastalertKibanaPlugin/target/public'
 info copying assets from `public/assets` to build
 info copying server source into the build and converting with babel
 info running yarn to install dependencies
 info compressing plugin into [elastalertKibanaPlugin-8.16.0.zip]
 succ plugin archive created
Done in 107.97s.

Relates to: elastic/kibana#195703

Karql added a commit that referenced this issue Nov 13, 2024
- Remove legacy kibana react code editor #53
- Update docs + release for kibana v8.16.0 #53
Karql added a commit that referenced this issue Nov 13, 2024
- Remove legacy kibana react code editor #53
- Update docs + release for kibana v8.16.0 #53
Karql added a commit that referenced this issue Nov 14, 2024
- Remove legacy kibana react code editor #53
- Update docs + release for kibana v8.16.0 #53
@Karql
Copy link
Owner

Karql commented Nov 14, 2024

https://github.com/Karql/elastalert-kibana-plugin/releases/tag/1.7.2

@Karql Karql closed this as completed Nov 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants