I'm new to ELK stack and am working on a Kibana plugin, a form that submits a request to some external api. I successfully got the plugin to set up and to work following the steps in the Kibana docs. The plugin works on my local deployment of kibana (installed thru git), but it doesn't work on kibana instance which was installed using yum on Centos7. When loading the plugin, kibana logs an
Uncaught SyntaxError: Unexpected token '<' (which is suspect to be caused by not running
yarn kbn bootstrap). I'm running the same kibana and elastic search versions (7.7) on both deployments and cannot reproduce the error on kibana installed by git.
After getting ELK set up on Centos, I'm not seeing a scripts folder that contains some of the boiler-plate files to generate plugins on my Centos server. Because of this, I'm unable to generate a new sample plugin to test with. Yarn and it's files are also not present, preventing me from running commands like
yarn kbn bootstrap to kick off kibana plugin development.
How come I'm missing certain files (for plugin development) when installing via yum? Is it possible to add these files back? Are there steps I'm missing to get my custom plugin to work? (other than copying the directory of my plugin and installing it in
Any help would be greatly appreciated.