You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Matt Sicker (JIRA)" <ji...@apache.org> on 2017/03/12 19:24:04 UTC

[jira] [Commented] (LOG4J2-1442) Add generic HTTP verb appender

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

Matt Sicker commented on LOG4J2-1442:
-------------------------------------

With the newly added JSON escape pattern converter, arbitrary JSON messages can be sent via this plugin which should provide enough functionality to create whatever payload is necessary to use a webhook or basic REST API.

> Add generic HTTP verb appender
> ------------------------------
>
>                 Key: LOG4J2-1442
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-1442
>             Project: Log4j 2
>          Issue Type: New Feature
>          Components: Appenders
>            Reporter: Matt Sicker
>            Assignee: Mikael Ståldal
>
> Inspired by [this mailing list post|http://apache-logging.6191.n7.nabble.com/Custom-appender-needed-to-HTTP-POST-log-msgs-td52921.html]. This would in one swoop support various APIs such as:
> * Slack and other ChatOps software
> * ElasticSearch
> * ...I'm sure there's more
> Basic features that would be needed are:
> * HTTP verb
> * headers
> * body



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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