public interface InputService extends PersistedService
destroy, destroyAll, save, saveWithoutValidation, validate, validate, validate
String update(Input model) throws ValidationException
ValidationException
Input find(String id) throws NotFoundException
NotFoundException
Input findForThisNode(String nodeId, String id) throws NotFoundException
NotFoundException
Input findForThisNodeOrGlobal(String nodeId, 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
void updateExtractor(Input input, Extractor extractor) throws ValidationException
ValidationException
MessageInput getMessageInput(Input io) throws NoSuchInputTypeException
NoSuchInputTypeException
Copyright © 2012–2018 Graylog, Inc.. All rights reserved.