Error | Install prometheus plugin for elasticsearch

Trying to install prometheus-exporter plugin for elasticsearch - version but I got the below error
Any support to resolve this?

[root@ elasticsearch]# ./bin/elasticsearch-plugin install -b file:///tmp/

-> Downloading file:///tmp/
[=================================================] 100%Â Â
Exception in thread "main" java.nio.file.NoSuchFileException: /usr/share/elasticsearch/plugins/.installing-5109354402234643044/
at sun.nio.fs.UnixException.translateToIOException(
at sun.nio.fs.UnixException.rethrowAsIOException(
at sun.nio.fs.UnixException.rethrowAsIOException(
at sun.nio.fs.UnixFileSystemProvider.newByteChannel(
at java.nio.file.Files.newByteChannel(
at java.nio.file.Files.newByteChannel(
at java.nio.file.spi.FileSystemProvider.newInputStream(
at java.nio.file.Files.newInputStream(
at org.elasticsearch.plugins.PluginInfo.readFromProperties(
at org.elasticsearch.plugins.InstallPluginCommand.loadPluginInfo(
at org.elasticsearch.plugins.InstallPluginCommand.installPlugin(
at org.elasticsearch.plugins.InstallPluginCommand.install(
at org.elasticsearch.plugins.InstallPluginCommand.execute(
at org.elasticsearch.plugins.InstallPluginCommand.execute(
at org.elasticsearch.cli.EnvironmentAwareCommand.execute(
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(
at org.elasticsearch.cli.MultiCommand.execute(
at org.elasticsearch.cli.Command.mainWithoutErrorHandling(
at org.elasticsearch.cli.Command.main(
at org.elasticsearch.plugins.PluginCli.main(

Does the plugin archive have a file? Just check via zip -l...

No It doesn't have this file.
So what should I do?

Where is this prometheus-exporter plugin coming from? Is it an Elasticsearch plugin after all? Can you share a link?


I also tried to place "" inside the plugin folder but still the same error

So is there a certain path that this file should be placed in ?


as far as I know is a proxy exporter. This means it runs as a standalone process. It is not installed as Elasticsearch plugin.

If you are looking for Prometheus exporter that is implemented as Elasticsearch plugin you can check


1 Like

Sorry Lukas as it is my bad
Actually I'm already using the exporter in the below link for version 6.5.4

Hi Muhammad,

if you are running into issues with this plugin, please open a ticket here


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