Siren Platform User Guide

Installing plugins

Use the following command to install a plugin:

bin/investigate-plugin install <package name or URL>

When you specify a plugin name without a URL, the plugin tool attempts to download an official Elastic plugin, such as:

$ bin/investigate-plugin install x-pack

Installing plugins from an arbitrary URL

You can download official Elastic plugins by specifying their name. You can alternatively specify a URL to a specific plugin, as in the following example:

$ bin/investigate-plugin install https://artifacts.elastic.co/downloads/packs/x-pack/x-pack-10.0.0.zip

You can specify URLs that use the HTTP, HTTPS, or file protocols.

Installing plugins to an arbitrary folder

Use the -d or --plugin-dir option after the install command to specify a folder for plugins, as in the following example:

$ bin/investigate-plugin install file:///some/local/path/x-pack.zip -d path/to/folder

Note

This command creates the specified folder if it does not already exist.

Installing plugins with Linux packages

The Siren Investigate server must be able to write to files in the optimize folder. If you are installing plugins using sudo or su you must ensure these commands are run as the user myuser. This user is already added for you as part of the package installation.

$ sudo -u myuser bin/investigate-plugin install x-pack

If plugins were installed as a different user and the server is not starting, then you must change the owner of these files:

$ chown -R myuser:myuser /path/to/siren-investigate/optimize