Class LogTransformerTransformerConfigDateTimeConverter


  • public final class LogTransformerTransformerConfigDateTimeConverter
    extends java.lang.Object
    • Method Detail

      • locale

        public java.util.Optional<java.lang.String> locale()
        Returns:
        Specifies the locale of the source field. Defaults to `locale.ROOT`.
      • matchPatterns

        public java.util.List<java.lang.String> matchPatterns()
        Returns:
        Specifies the list of patterns to match against the `source` field.
      • source

        public java.lang.String source()
        Returns:
        Specifies the key to apply the date conversion to.
      • sourceTimezone

        public java.util.Optional<java.lang.String> sourceTimezone()
        Returns:
        Specifies the time zone of the source field. Defaults to `UTC`.
      • target

        public java.lang.String target()
        Returns:
        Specifies the JSON field to store the result in.
      • targetFormat

        public java.util.Optional<java.lang.String> targetFormat()
        Returns:
        Specifies the datetime format to use for the converted data in the target field. Defaults to `yyyy-MM-dd'T'HH:mm:ss.SSS'Z`.
      • targetTimezone

        public java.util.Optional<java.lang.String> targetTimezone()
        Returns:
        Specifies the time zone of the target field. Defaults to `UTC`.