@Path(value="/system/debug/events") @Produces(value="application/json") public class DebugEventsResource extends RestResource
configuration, userService
Constructor and Description |
---|
DebugEventsResource(NodeId nodeId,
com.google.common.eventbus.EventBus serverEventBus,
ClusterEventBus clusterEventBus) |
Modifier and Type | Method and Description |
---|---|
void |
generateClusterDebugEvent(String text) |
void |
generateDebugEvent(String text) |
DebugEvent |
showLastClusterDebugEvent() |
DebugEvent |
showLastDebugEvent() |
checkAnyPermission, checkPermission, checkPermission, getCurrentUser, getIndexSet, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint
@Inject public DebugEventsResource(NodeId nodeId, com.google.common.eventbus.EventBus serverEventBus, ClusterEventBus clusterEventBus)
@Timed @POST @Path(value="/cluster") @Consumes(value="text/plain") public void generateClusterDebugEvent(@Nullable String text)
@Timed @POST @Path(value="/local") @Consumes(value="text/plain") public void generateDebugEvent(@Nullable String text)
@Timed @GET @Path(value="/cluster") public DebugEvent showLastClusterDebugEvent()
@Timed @GET @Path(value="/local") public DebugEvent showLastDebugEvent()
Copyright © 2012–2021 Graylog, Inc.. All rights reserved.