public interface InputService extends PersistedService
destroy, destroyAll, save, saveWithoutValidation, validate, validate, validateString update(Input model) throws ValidationException
ValidationExceptionInput find(String id) throws NotFoundException
NotFoundExceptionSet<Input> findByIds(Collection<String> ids)
Input 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
NotFoundExceptionvoid updateExtractor(Input input, Extractor extractor) throws ValidationException
ValidationExceptionMessageInput getMessageInput(Input io) throws NoSuchInputTypeException
NoSuchInputTypeExceptionCopyright © 2012–2021 Graylog, Inc.. All rights reserved.