Insert custom script tag into kibana

Hi, I'd like to find out how I can insert a <script> tag into Kibana. I'd like to add event listeners to some HTML elements that are inserted into Kibana through a plugin I'm using. If anyone can direct me to where I can find out how to insert javascript (to do some DOM manipulation) into Kibana, that'd be great.

When you are using the default plugin generator, it will generate a file hacks.js. This file will be executed on every page in Kibana (basically like a custom script tag). You can do anything you want in there (e.g. adding event listeners).

Can you please point me to where I can read about and get started with the default plugin generator.

See this link:

Make sure to switch to the branch for the version you want to target.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.