logtrail: Optimizations failure - Cannot resolve module/file/directory

Kibana version: 4.5.3

I’ve tried installing the plugin using the following command:

./bin/kibana plugin -i konsole -u https://github.com/sivasamyk/konsole/archive/master.zip

And i get the following error

Optimizing and caching browser bundles...
Plugin installation was unsuccessful due to error "Optimizations failure.

    ERROR in ./installedPlugins/konsole/public/app.js
    Module not found: Error: Cannot resolve module 'sugar-date' in /opt/kibana/installedPlugins/konsole/public
     @ ./installedPlugins/konsole/public/app.js 25:17-38

    ERROR in ./installedPlugins/konsole/public/app.js
    Module not found: Error: Cannot resolve 'file' or 'directory' /opt/kibana/src/ui/public/autoload/styles in /opt/kibana/installedPlugins/konsole/public
     @ ./installedPlugins/konsole/public/app.js 29:0-29
"
root@9539e9ec5bba:/opt/kibana# Plugin installation was unsuccessful due to error "Optimizations failure.

Have you got any pointers to fix the issue?

Thanks.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 27 (15 by maintainers)

Commits related to this issue

Most upvoted comments

@cadab I have updated the logtrail.json and code by providing options to map custom fields. You can install latest software using ./bin/kibana plugin -i logtrail -u https://github.com/sivasamyk/logtrail/releases/download/v4.x-0.1.0/logtrail-4.x-0.1.0.tar.gz. I have also updated readme with instructions to map existing logs from ES. Please check let me know if you face any issues.