public interface StreamService extends PersistedService
destroy, destroyAll, save, saveWithoutValidation, validate, validate, validateStream create(CreateStreamRequest request, String userId)
Stream load(String id) throws NotFoundException
NotFoundExceptionvoid destroy(Stream stream) throws NotFoundException
NotFoundExceptionlong count()
void pause(Stream stream) throws ValidationException
ValidationExceptionvoid resume(Stream stream) throws ValidationException
ValidationExceptionList<StreamRule> getStreamRules(Stream stream) throws NotFoundException
NotFoundExceptionList<AlertCondition> getAlertConditions(Stream stream)
AlertCondition getAlertCondition(Stream stream, String conditionId) throws NotFoundException
NotFoundExceptionvoid addAlertCondition(Stream stream, AlertCondition condition) throws ValidationException
ValidationExceptionvoid updateAlertCondition(Stream stream, AlertCondition condition) throws ValidationException
ValidationException@Deprecated void addAlertReceiver(Stream stream, String type, String name)
@Deprecated void removeAlertReceiver(Stream stream, String type, String name)
void removeOutputFromAllStreams(Output output)
Copyright © 2012–2017 Graylog, Inc.. All rights reserved.