public interface InputService extends PersistedService
destroy, destroyAll, save, saveWithoutValidation, validate, validate, validateInput find(String id) throws NotFoundException
NotFoundExceptionInput findForThisNode(String nodeId, String id) throws NotFoundException
NotFoundExceptionInput findForThisNodeOrGlobal(String nodeId, String id) throws NotFoundException
NotFoundExceptionlong totalCount()
long globalCount()
long localCount()
Map<String,Long> totalCountByType()
long localCountForNode(String nodeId)
nodeId - the node ID to querylong totalCountForNode(String nodeId)
nodeId - the node ID to querylong totalExtractorCount()
Map<Extractor.Type,Long> totalExtractorCountByType()
void addExtractor(Input input, Extractor extractor) throws ValidationException
ValidationExceptionvoid addStaticField(Input input, String key, String value) throws ValidationException
ValidationExceptionExtractor getExtractor(Input input, String extractorId) throws NotFoundException
NotFoundExceptionMessageInput getMessageInput(Input io) throws NoSuchInputTypeException
NoSuchInputTypeExceptionCopyright © 2012-2016 Graylog, Inc.. All Rights Reserved.