[ 
https://issues.apache.org/jira/browse/LOG4J2-1752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15788093#comment-15788093
 ] 

Mikael Ståldal commented on LOG4J2-1752:
----------------------------------------

Are you using Logstash? If so, have you tried 
[GelfLayout|http://logging.apache.org/log4j/2.x/manual/layouts.html#GELFLayout] 
and [Logstash's GELF 
input|https://www.elastic.co/guide/en/logstash/current/plugins-inputs-gelf.html]?

> Add ISO8601 format to timestamp in JSONLayout
> ---------------------------------------------
>
>                 Key: LOG4J2-1752
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1752
>             Project: Log4j 2
>          Issue Type: Improvement
>          Components: Layouts
>    Affects Versions: 2.7
>            Reporter: Jonas Lindholm
>            Priority: Minor
>              Labels: json, layout
>
> The 
> [JSONLayout|https://logging.apache.org/log4j/2.x/manual/layouts.html#JSONLayout]
>  formats the timestamp field to timeMillis.
> Moving from 
> [logstash-logback-encoder|https://github.com/logstash/logstash-logback-encoder]
>  it would be nice to be able to format the timestamp with ISO 8601 as the 
> date pattern instead.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscr...@logging.apache.org
For additional commands, e-mail: log4j-dev-h...@logging.apache.org

Reply via email to