|
@@ -1,7 +1,35 @@
|
|
|
[[cat-plugins]]
|
|
|
=== cat plugins
|
|
|
|
|
|
-The `plugins` command provides a view per node of running plugins. This information *spans nodes*.
|
|
|
+Returns a list of plugins running on each node of a cluster.
|
|
|
+
|
|
|
+
|
|
|
+[[cat-plugins-tasks-api-request]]
|
|
|
+==== {api-request-title}
|
|
|
+
|
|
|
+`GET /_cat/plugins`
|
|
|
+
|
|
|
+
|
|
|
+[[cat-plugins-tasks-api-query-params]]
|
|
|
+==== {api-query-parms-title}
|
|
|
+
|
|
|
+include::{docdir}/rest-api/common-parms.asciidoc[tag=http-format]
|
|
|
+
|
|
|
+include::{docdir}/rest-api/common-parms.asciidoc[tag=cat-h]
|
|
|
+
|
|
|
+include::{docdir}/rest-api/common-parms.asciidoc[tag=help]
|
|
|
+
|
|
|
+include::{docdir}/rest-api/common-parms.asciidoc[tag=local]
|
|
|
+
|
|
|
+include::{docdir}/rest-api/common-parms.asciidoc[tag=master-timeout]
|
|
|
+
|
|
|
+include::{docdir}/rest-api/common-parms.asciidoc[tag=cat-s]
|
|
|
+
|
|
|
+include::{docdir}/rest-api/common-parms.asciidoc[tag=cat-v]
|
|
|
+
|
|
|
+
|
|
|
+[[cat-plugins-api-example]]
|
|
|
+==== {api-examples-title}
|
|
|
|
|
|
[source,js]
|
|
|
------------------------------------------------------------------------------
|
|
@@ -9,7 +37,7 @@ GET /_cat/plugins?v&s=component&h=name,component,version,description
|
|
|
------------------------------------------------------------------------------
|
|
|
// CONSOLE
|
|
|
|
|
|
-Might look like:
|
|
|
+The API returns the following response:
|
|
|
|
|
|
["source","txt",subs="attributes,callouts"]
|
|
|
------------------------------------------------------------------------------
|
|
@@ -31,6 +59,4 @@ U7321H6 mapper-size {version_qualified} The Mapper Size plugin allow
|
|
|
U7321H6 store-smb {version_qualified} The Store SMB plugin adds support for SMB stores.
|
|
|
U7321H6 transport-nio {version_qualified} The nio transport.
|
|
|
------------------------------------------------------------------------------
|
|
|
-// TESTRESPONSE[s/([.()])/\\$1/ s/U7321H6/.+/ non_json]
|
|
|
-
|
|
|
-We can tell quickly how many plugins per node we have and which versions.
|
|
|
+// TESTRESPONSE[s/([.()])/\\$1/ s/U7321H6/.+/ non_json]
|