Class DebugEventsResource
java.lang.Object
org.graylog2.shared.rest.resources.RestResource
org.graylog2.rest.resources.system.debug.DebugEventsResource
@RequiresAuthentication
@Path("/system/debug/events")
@Produces("application/json")
public class DebugEventsResource
extends RestResource
-
Field Summary
Fields inherited from class org.graylog2.shared.rest.resources.RestResource
configuration, userService
-
Constructor Summary
ConstructorDescriptionDebugEventsResource
(NodeId nodeId, com.google.common.eventbus.EventBus serverEventBus, ClusterEventBus clusterEventBus) -
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
-
DebugEventsResource
@Inject public DebugEventsResource(NodeId nodeId, com.google.common.eventbus.EventBus serverEventBus, ClusterEventBus clusterEventBus)
-
-
Method Details
-
generateClusterDebugEvent
@Timed @POST @Path("/cluster") @Consumes("text/plain") public void generateClusterDebugEvent(@Nullable String text) -
generateDebugEvent
@Timed @POST @Path("/local") @Consumes("text/plain") public void generateDebugEvent(@Nullable String text) -
showLastClusterDebugEvent
-
showLastDebugEvent
-