<p dir="auto">when running _nodes?plugin=true it would be great to be able to get the version of the installed plugins</p>
<p dir="auto">Relative to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="11201343" data-permission-text="Title is private" data-url="https://github.com/elastic/elasticsearch/issues/2668" data-hovercard-type="issue" data-hovercard-url="/elastic/elasticsearch/issues/2668/hovercard" href="https://github.com/elastic/elasticsearch/issues/2668">#2668</a></p>
<p dir="auto">Plugin developpers can now add a version number to their es-plugin.properties file:</p>
<div class="highlight highlight-source-ini notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="plugin=org.elasticsearch.test.integration.nodesinfo.TestPlugin
version=0.0.7-SNAPSHOT"><pre class="notranslate"><span class="pl-k">plugin</span>=org.elasticsearch.test.integration.nodesinfo.TestPlugin
<span class="pl-k">version</span>=0.0.7-SNAPSHOT</pre></div>
<p dir="auto">Also, for site plugins, it's recommended to add a <code class="notranslate">es-plugin.properties</code> file in root site directory with <code class="notranslate">description</code> and <code class="notranslate">version</code> properties:</p>
<div class="highlight highlight-source-ini notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="description=This is a description for a dummy test site plugin.
version=0.0.7-BOND-SITE"><pre class="notranslate"><span class="pl-k">description</span>=This is a description for a dummy test site plugin.
<span class="pl-k">version</span>=0.0.7-BOND-SITE</pre></div>
<p dir="auto">When running Nodes Info API, you will get information on versions:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ curl 'http://localhost:9200/_nodes?plugin=true&amp;pretty'"><pre class="notranslate">$ curl <span class="pl-s"><span class="pl-pds">'</span>http://localhost:9200/_nodes?plugin=true&amp;pretty<span class="pl-pds">'</span></span></pre></div>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="{
  &quot;ok&quot; : true,
  &quot;cluster_name&quot; : &quot;test-cluster-MacBook-Air-de-David.local&quot;,
  &quot;nodes&quot; : {
    &quot;RHMsToxiRcCXwHiS6mEaFw&quot; : {
      &quot;name&quot; : &quot;node2&quot;,
      &quot;transport_address&quot; : &quot;inet[/192.168.0.15:9301]&quot;,
      &quot;hostname&quot; : &quot;MacBook-Air-de-David.local&quot;,
      &quot;version&quot; : &quot;0.90.0.Beta2-SNAPSHOT&quot;,
      &quot;http_address&quot; : &quot;inet[/192.168.0.15:9201]&quot;,
      &quot;plugins&quot; : [ {
        &quot;name&quot; : &quot;dummy&quot;,
        &quot;version&quot; : &quot;0.0.7-BOND-SITE&quot;,
        &quot;description&quot; : &quot;This is a description for a dummy test site plugin.&quot;,
        &quot;url&quot; : &quot;/_plugin/dummy/&quot;,
        &quot;site&quot; : true,
        &quot;jvm&quot; : false
      } ]
    },
    &quot;IKiUOo-LSCq1Km1GUhBwPg&quot; : {
      &quot;name&quot; : &quot;node3&quot;,
      &quot;transport_address&quot; : &quot;inet[/192.168.0.15:9302]&quot;,
      &quot;hostname&quot; : &quot;MacBook-Air-de-David.local&quot;,
      &quot;version&quot; : &quot;0.90.0.Beta2-SNAPSHOT&quot;,
      &quot;http_address&quot; : &quot;inet[/192.168.0.15:9202]&quot;,
      &quot;plugins&quot; : [ {
        &quot;name&quot; : &quot;test-plugin&quot;,
        &quot;version&quot; : &quot;0.0.7-SNAPSHOT&quot;,
        &quot;description&quot; : &quot;test-plugin description&quot;,
        &quot;site&quot; : false,
        &quot;jvm&quot; : true
      } ]
    },
    &quot;H64dcSF2R_GNWh6XRCYZJA&quot; : {
      &quot;name&quot; : &quot;node1&quot;,
      &quot;transport_address&quot; : &quot;inet[/192.168.0.15:9300]&quot;,
      &quot;hostname&quot; : &quot;MacBook-Air-de-David.local&quot;,
      &quot;version&quot; : &quot;0.90.0.Beta2-SNAPSHOT&quot;,
      &quot;http_address&quot; : &quot;inet[/192.168.0.15:9200]&quot;,
      &quot;plugins&quot; : [ ]
    },
    &quot;mGEZcYl8Tye0Rm5AACBhPA&quot; : {
      &quot;name&quot; : &quot;node4&quot;,
      &quot;transport_address&quot; : &quot;inet[/192.168.0.15:9303]&quot;,
      &quot;hostname&quot; : &quot;MacBook-Air-de-David.local&quot;,
      &quot;version&quot; : &quot;0.90.0.Beta2-SNAPSHOT&quot;,
      &quot;http_address&quot; : &quot;inet[/192.168.0.15:9203]&quot;,
      &quot;plugins&quot; : [ {
        &quot;name&quot; : &quot;test-plugin&quot;,
        &quot;version&quot; : &quot;0.0.7-SNAPSHOT&quot;,
        &quot;description&quot; : &quot;test-plugin description&quot;,
        &quot;site&quot; : false,
        &quot;jvm&quot; : true
      }, {
        &quot;name&quot; : &quot;test-no-version-plugin&quot;,
        &quot;version&quot; : &quot;NA&quot;,
        &quot;description&quot; : &quot;test-no-version-plugin description&quot;,
        &quot;site&quot; : false,
        &quot;jvm&quot; : true
      }, {
        &quot;name&quot; : &quot;dummy&quot;,
        &quot;version&quot; : &quot;NA&quot;,
        &quot;description&quot; : &quot;No description found for dummy.&quot;,
        &quot;url&quot; : &quot;/_plugin/dummy/&quot;,
        &quot;site&quot; : true,
        &quot;jvm&quot; : false
      } ]
    }
  }
}"><pre class="notranslate"><span class="pl-kos">{</span>
  <span class="pl-s">"ok"</span> : <span class="pl-c1">true</span><span class="pl-kos">,</span>
  <span class="pl-s">"cluster_name"</span> : <span class="pl-s">"test-cluster-MacBook-Air-de-David.local"</span><span class="pl-kos">,</span>
  <span class="pl-s">"nodes"</span> : <span class="pl-kos">{</span>
    <span class="pl-s">"RHMsToxiRcCXwHiS6mEaFw"</span> : <span class="pl-kos">{</span>
      <span class="pl-s">"name"</span> : <span class="pl-s">"node2"</span><span class="pl-kos">,</span>
      <span class="pl-s">"transport_address"</span> : <span class="pl-s">"inet[/192.168.0.15:9301]"</span><span class="pl-kos">,</span>
      <span class="pl-s">"hostname"</span> : <span class="pl-s">"MacBook-Air-de-David.local"</span><span class="pl-kos">,</span>
      <span class="pl-s">"version"</span> : <span class="pl-s">"0.90.0.Beta2-SNAPSHOT"</span><span class="pl-kos">,</span>
      <span class="pl-s">"http_address"</span> : <span class="pl-s">"inet[/192.168.0.15:9201]"</span><span class="pl-kos">,</span>
      <span class="pl-s">"plugins"</span> : <span class="pl-kos">[</span> <span class="pl-kos">{</span>
        <span class="pl-s">"name"</span> : <span class="pl-s">"dummy"</span><span class="pl-kos">,</span>
        <span class="pl-s">"version"</span> : <span class="pl-s">"0.0.7-BOND-SITE"</span><span class="pl-kos">,</span>
        <span class="pl-s">"description"</span> : <span class="pl-s">"This is a description for a dummy test site plugin."</span><span class="pl-kos">,</span>
        <span class="pl-s">"url"</span> : <span class="pl-s">"/_plugin/dummy/"</span><span class="pl-kos">,</span>
        <span class="pl-s">"site"</span> : <span class="pl-c1">true</span><span class="pl-kos">,</span>
        <span class="pl-s">"jvm"</span> : <span class="pl-c1">false</span>
      <span class="pl-kos">}</span> <span class="pl-kos">]</span>
    <span class="pl-kos">}</span><span class="pl-kos">,</span>
    <span class="pl-s">"IKiUOo-LSCq1Km1GUhBwPg"</span> : <span class="pl-kos">{</span>
      <span class="pl-s">"name"</span> : <span class="pl-s">"node3"</span><span class="pl-kos">,</span>
      <span class="pl-s">"transport_address"</span> : <span class="pl-s">"inet[/192.168.0.15:9302]"</span><span class="pl-kos">,</span>
      <span class="pl-s">"hostname"</span> : <span class="pl-s">"MacBook-Air-de-David.local"</span><span class="pl-kos">,</span>
      <span class="pl-s">"version"</span> : <span class="pl-s">"0.90.0.Beta2-SNAPSHOT"</span><span class="pl-kos">,</span>
      <span class="pl-s">"http_address"</span> : <span class="pl-s">"inet[/192.168.0.15:9202]"</span><span class="pl-kos">,</span>
      <span class="pl-s">"plugins"</span> : <span class="pl-kos">[</span> <span class="pl-kos">{</span>
        <span class="pl-s">"name"</span> : <span class="pl-s">"test-plugin"</span><span class="pl-kos">,</span>
        <span class="pl-s">"version"</span> : <span class="pl-s">"0.0.7-SNAPSHOT"</span><span class="pl-kos">,</span>
        <span class="pl-s">"description"</span> : <span class="pl-s">"test-plugin description"</span><span class="pl-kos">,</span>
        <span class="pl-s">"site"</span> : <span class="pl-c1">false</span><span class="pl-kos">,</span>
        <span class="pl-s">"jvm"</span> : <span class="pl-c1">true</span>
      <span class="pl-kos">}</span> <span class="pl-kos">]</span>
    <span class="pl-kos">}</span><span class="pl-kos">,</span>
    <span class="pl-s">"H64dcSF2R_GNWh6XRCYZJA"</span> : <span class="pl-kos">{</span>
      <span class="pl-s">"name"</span> : <span class="pl-s">"node1"</span><span class="pl-kos">,</span>
      <span class="pl-s">"transport_address"</span> : <span class="pl-s">"inet[/192.168.0.15:9300]"</span><span class="pl-kos">,</span>
      <span class="pl-s">"hostname"</span> : <span class="pl-s">"MacBook-Air-de-David.local"</span><span class="pl-kos">,</span>
      <span class="pl-s">"version"</span> : <span class="pl-s">"0.90.0.Beta2-SNAPSHOT"</span><span class="pl-kos">,</span>
      <span class="pl-s">"http_address"</span> : <span class="pl-s">"inet[/192.168.0.15:9200]"</span><span class="pl-kos">,</span>
      <span class="pl-s">"plugins"</span> : <span class="pl-kos">[</span> <span class="pl-kos">]</span>
    <span class="pl-kos">}</span><span class="pl-kos">,</span>
    <span class="pl-s">"mGEZcYl8Tye0Rm5AACBhPA"</span> : <span class="pl-kos">{</span>
      <span class="pl-s">"name"</span> : <span class="pl-s">"node4"</span><span class="pl-kos">,</span>
      <span class="pl-s">"transport_address"</span> : <span class="pl-s">"inet[/192.168.0.15:9303]"</span><span class="pl-kos">,</span>
      <span class="pl-s">"hostname"</span> : <span class="pl-s">"MacBook-Air-de-David.local"</span><span class="pl-kos">,</span>
      <span class="pl-s">"version"</span> : <span class="pl-s">"0.90.0.Beta2-SNAPSHOT"</span><span class="pl-kos">,</span>
      <span class="pl-s">"http_address"</span> : <span class="pl-s">"inet[/192.168.0.15:9203]"</span><span class="pl-kos">,</span>
      <span class="pl-s">"plugins"</span> : <span class="pl-kos">[</span> <span class="pl-kos">{</span>
        <span class="pl-s">"name"</span> : <span class="pl-s">"test-plugin"</span><span class="pl-kos">,</span>
        <span class="pl-s">"version"</span> : <span class="pl-s">"0.0.7-SNAPSHOT"</span><span class="pl-kos">,</span>
        <span class="pl-s">"description"</span> : <span class="pl-s">"test-plugin description"</span><span class="pl-kos">,</span>
        <span class="pl-s">"site"</span> : <span class="pl-c1">false</span><span class="pl-kos">,</span>
        <span class="pl-s">"jvm"</span> : <span class="pl-c1">true</span>
      <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span>
        <span class="pl-s">"name"</span> : <span class="pl-s">"test-no-version-plugin"</span><span class="pl-kos">,</span>
        <span class="pl-s">"version"</span> : <span class="pl-s">"NA"</span><span class="pl-kos">,</span>
        <span class="pl-s">"description"</span> : <span class="pl-s">"test-no-version-plugin description"</span><span class="pl-kos">,</span>
        <span class="pl-s">"site"</span> : <span class="pl-c1">false</span><span class="pl-kos">,</span>
        <span class="pl-s">"jvm"</span> : <span class="pl-c1">true</span>
      <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span>
        <span class="pl-s">"name"</span> : <span class="pl-s">"dummy"</span><span class="pl-kos">,</span>
        <span class="pl-s">"version"</span> : <span class="pl-s">"NA"</span><span class="pl-kos">,</span>
        <span class="pl-s">"description"</span> : <span class="pl-s">"No description found for dummy."</span><span class="pl-kos">,</span>
        <span class="pl-s">"url"</span> : <span class="pl-s">"/_plugin/dummy/"</span><span class="pl-kos">,</span>
        <span class="pl-s">"site"</span> : <span class="pl-c1">true</span><span class="pl-kos">,</span>
        <span class="pl-s">"jvm"</span> : <span class="pl-c1">false</span>
      <span class="pl-kos">}</span> <span class="pl-kos">]</span>
    <span class="pl-kos">}</span>
  <span class="pl-kos">}</span>
<span class="pl-kos">}</span></pre></div>