public interface Stream extends Persisted
| Modifier and Type | Interface and Description |
|---|---|
static class |
Stream.MatchingType |
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.collect.ImmutableSet<String> |
DEFAULT_EVENT_STREAM_IDS
Contains all default event streams.
|
static String |
DEFAULT_EVENTS_STREAM_ID
The ID of the default events stream for user generated events.
|
static String |
DEFAULT_STREAM_ID
The ID of the default message stream for all messages.
|
static String |
DEFAULT_SYSTEM_EVENTS_STREAM_ID
The ID of the default events stream for system events.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
asMap(List<StreamRule> streamRules) |
Map<String,List<String>> |
getAlertReceivers() |
String |
getContentPack() |
String |
getDescription() |
Boolean |
getDisabled() |
IndexSet |
getIndexSet() |
String |
getIndexSetId() |
Stream.MatchingType |
getMatchingType() |
Set<Output> |
getOutputs() |
boolean |
getRemoveMatchesFromDefaultStream() |
List<StreamRule> |
getStreamRules() |
String |
getTitle() |
boolean |
isDefaultStream() |
static boolean |
isDefaultStreamId(String id) |
Boolean |
isPaused() |
void |
setContentPack(String contentPack) |
void |
setDefaultStream(boolean defaultStream) |
void |
setDescription(String description) |
void |
setDisabled(Boolean disabled) |
void |
setIndexSetId(String indexSetId) |
void |
setMatchingType(Stream.MatchingType matchingType) |
void |
setRemoveMatchesFromDefaultStream(boolean removeMatchesFromDefaultStream) |
void |
setTitle(String title) |
asMap, getEmbeddedValidations, getFields, getId, getValidationsstatic final String DEFAULT_STREAM_ID
static final String DEFAULT_EVENTS_STREAM_ID
static final String DEFAULT_SYSTEM_EVENTS_STREAM_ID
static final com.google.common.collect.ImmutableSet<String> DEFAULT_EVENT_STREAM_IDS
String getTitle()
String getDescription()
Boolean getDisabled()
String getContentPack()
void setTitle(String title)
void setDescription(String description)
void setDisabled(Boolean disabled)
void setContentPack(String contentPack)
void setMatchingType(Stream.MatchingType matchingType)
Boolean isPaused()
Map<String,Object> asMap(List<StreamRule> streamRules)
List<StreamRule> getStreamRules()
Stream.MatchingType getMatchingType()
boolean isDefaultStream()
void setDefaultStream(boolean defaultStream)
boolean getRemoveMatchesFromDefaultStream()
void setRemoveMatchesFromDefaultStream(boolean removeMatchesFromDefaultStream)
IndexSet getIndexSet()
String getIndexSetId()
void setIndexSetId(String indexSetId)
static boolean isDefaultStreamId(String id)
Copyright © 2012–2021 Graylog, Inc.. All rights reserved.