@Path(value="/tools/grok_tester") @Produces(value="application/json") public class GrokTesterResource extends RestResource
configuration, userService| Constructor and Description |
|---|
GrokTesterResource(GrokPatternService grokPatternService) |
| Modifier and Type | Method and Description |
|---|---|
GrokTesterResponse |
grokTest(@NotEmpty String pattern,
@NotNull String string,
@NotNull boolean namedCapturesOnly) |
GrokTesterResponse |
testGrok(@Valid @NotNull GrokTestRequest grokTestRequest) |
checkAnyPermission, checkPermission, checkPermission, getCurrentUser, getIndexSet, getSubject, getUriBuilderToSelf, isAnyPermitted, isAnyPermitted, isPermitted, isPermitted, setPrettyPrint@Inject public GrokTesterResource(GrokPatternService grokPatternService)
@GET @Timed public GrokTesterResponse grokTest(@QueryParam(value="pattern") @NotEmpty @NotEmpty String pattern, @QueryParam(value="string") @NotNull @NotNull String string, @QueryParam(value="named_captures_only") @NotNull @NotNull boolean namedCapturesOnly) throws io.krakens.grok.api.exception.GrokException
io.krakens.grok.api.exception.GrokException@POST @Timed @Consumes(value="application/json") @Produces(value="application/json") public GrokTesterResponse testGrok(@Valid @NotNull @Valid @NotNull GrokTestRequest grokTestRequest) throws io.krakens.grok.api.exception.GrokException
io.krakens.grok.api.exception.GrokExceptionCopyright © 2012–2021 Graylog, Inc.. All rights reserved.