public interface StreamService extends PersistedService
destroy, destroyAll, save, saveWithoutValidation, validate, validate, validate
Stream create(CreateStreamRequest request, String userId)
Stream load(String id) throws NotFoundException
NotFoundException
void destroy(Stream stream) throws NotFoundException
NotFoundException
long count()
void pause(Stream stream) throws ValidationException
ValidationException
void resume(Stream stream) throws ValidationException
ValidationException
List<StreamRule> getStreamRules(Stream stream) throws NotFoundException
NotFoundException
List<AlertCondition> getAlertConditions(Stream stream)
AlertCondition getAlertCondition(Stream stream, String conditionId) throws NotFoundException
NotFoundException
void addAlertCondition(Stream stream, AlertCondition condition) throws ValidationException
ValidationException
void 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–2018 Graylog, Inc.. All rights reserved.