Class IndexerClusterResource
java.lang.Object
org.graylog2.shared.rest.resources.RestResource
org.graylog2.rest.resources.system.indexer.IndexerClusterResource
@RequiresAuthentication
@Path("/system/indexer/cluster")
public class IndexerClusterResource
extends RestResource
-
Field Summary
Fields inherited from class org.graylog2.shared.rest.resources.RestResource
configuration, userService
-
Constructor Summary
-
Method Summary
Methods inherited from class org.graylog2.shared.rest.resources.RestResource
checkAnyPermission, checkPermission, checkPermission, getCurrentUser, getIndexSet, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint
-
Constructor Details
-
IndexerClusterResource
public IndexerClusterResource()
-
-
Method Details
-
clusterName
@GET @Timed @Path("/name") @RequiresPermissions("indexercluster:read") @Produces("application/json") public ClusterName clusterName() -
clusterHealth
@GET @Timed @Path("/health") @RequiresPermissions("indexercluster:read") @Produces("application/json") public ClusterHealth clusterHealth()
-