| Modifier and Type | Method and Description |
|---|---|
String |
getId()
Deprecated.
|
String |
getMessageId()
Returns the id to address the document in Elasticsearch.
|
org.joda.time.DateTime |
getReceiveTime() |
long |
getSize() |
org.joda.time.DateTime |
getTimestamp() |
default boolean |
supportsFailureHandling()
Guides the failure handling framework when deciding whether this particular
message should be accepted for the further failure processing.
|
Map<String,Object> |
toElasticSearchObject(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
com.codahale.metrics.Meter invalidTimestampMeter) |
@Deprecated String getId()
UUID or ULID
This method should only be used where backwards compatibility is needed.
Newer code should use getMessageId() instead.String getMessageId()
ULIDlong getSize()
org.joda.time.DateTime getReceiveTime()
Map<String,Object> toElasticSearchObject(com.fasterxml.jackson.databind.ObjectMapper objectMapper, @Nonnull com.codahale.metrics.Meter invalidTimestampMeter)
org.joda.time.DateTime getTimestamp()
default boolean supportsFailureHandling()
Copyright © 2012–2021 Graylog, Inc.. All rights reserved.