public interface InputService extends PersistedService
destroy, destroyAll, save, saveWithoutValidation, validate, validate, validate
Input find(String id) throws NotFoundException
NotFoundException
Input findForThisNode(String nodeId, String id) throws NotFoundException
NotFoundException
Input findForThisRadio(String radioId, String id) throws NotFoundException
NotFoundException
Input findForThisNodeOrGlobal(String nodeId, String id) throws NotFoundException
NotFoundException
Input findForThisRadioOrGlobal(String radioId, String id) throws NotFoundException
NotFoundException
long 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
ValidationException
void addStaticField(Input input, String key, String value) throws ValidationException
ValidationException
Extractor getExtractor(Input input, String extractorId) throws NotFoundException
NotFoundException
MessageInput getMessageInput(Input io) throws NoSuchInputTypeException
NoSuchInputTypeException
Copyright © 2012-2015 Graylog, Inc.. All Rights Reserved.