karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KARAF-5792) Support add, rename, remove to the custom fields of Decanter log collector
Date Wed, 05 Sep 2018 05:17:00 GMT

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

ASF subversion and git services commented on KARAF-5792:
--------------------------------------------------------

Commit eb04e9318a85dbbd3d95cc8cdaf2d04564af3165 in karaf-decanter's branch refs/heads/master
from xldai
[ https://gitbox.apache.org/repos/asf?p=karaf-decanter.git;h=eb04e93 ]

KARAF-5792 Support add, rename, remove to the custom fields of Decanter log collector


> Support add, rename, remove to the custom fields of Decanter log collector
> --------------------------------------------------------------------------
>
>                 Key: KARAF-5792
>                 URL: https://issues.apache.org/jira/browse/KARAF-5792
>             Project: Karaf
>          Issue Type: Improvement
>          Components: decanter
>    Affects Versions: decanter-2.0.0
>            Reporter: Xilai Dai
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>             Fix For: decanter-2.1.0
>
>
> Now user can only "add" some custom fields with constant value in the org.apache.karaf.decanter.collector.log.cfg.
> {code}
> key1=value1
> key2=value2
> {code}
> But there is no chance to "rename" or "remove" some of the generated fields from the
log collector, or add dynamic value e.g. UUID, Timestamp to the field.
> It would be benifit for user if the custom fields impl get improved in the log collector
of Decanter. Configuration like this:
> {code}
> # custom fields
> fields.add.eventType=LOGEvent
> fields.add.eventUUID=UUID
> fields.add.serverTimestamp=TIMESTAMP
> fields.rename.MDC=customInfo
> fields.rename.level=severity
> fields.rename.renderedMessage=logMessage
> fields.remove.timestamp=true
> {code}
> Then it provides ability to "transformer" the json data on collector level, which will
reduce the overhead user has to "transformer" the data later (using Filebeat or custom transformer
bundle)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message