Logstash plugin installation created files

Hi,
Background:
I build docker images using logstash. After installing the logstash rpm, a few additional logstash plugins are installed. For ex.

/usr/share/logstash/bin/logstash-plugin install logstash-output-opensearch
/usr/share/logstash/bin/logstash-plugin install logstash-output-syslog

Query:
For a specific reason, I need to store the plugins in a separate location, as the size of these files is large. I need to temporarily move them to different path.
I assume on installation of the plugins, all the plugin-related files get stored here

/usr/share/logstash/vendor/bundle/

Is this the right understanding?

Would there be any other location where the logstash-plugin installation could create crucial files (data/metadata), that would need to be stored too?

Thanks !

I don't think this is possible, the plugins needs to be installed inside the logstash folder.

What is exactly the issue? Those plugins should not that much space, but I'm not sure if during the installation process it needs any extra space.

An alternative would be to prepare offline packages of the plugins that you want to install and then install it from the files that would be in another path.

The offline packages need to be prepared with the same logstash version, the documentation is here.