Class FilteredLogEvent

    • Method Detail

      • logStreamName

        public final String logStreamName()

        The name of the log stream to which this event belongs.

        Returns:
        The name of the log stream to which this event belongs.
      • timestamp

        public final Long timestamp()

        The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

        Returns:
        The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
      • message

        public final String message()

        The data contained in the log event.

        Returns:
        The data contained in the log event.
      • ingestionTime

        public final Long ingestionTime()

        The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

        Returns:
        The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
      • eventId

        public final String eventId()

        The ID of the event.

        Returns:
        The ID of the event.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)