You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Marton Elek (Jira)" <ji...@apache.org> on 2019/10/03 15:07:00 UTC

[jira] [Updated] (HDDS-2071) Support filters in ozone insight point

     [ https://issues.apache.org/jira/browse/HDDS-2071?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marton Elek updated HDDS-2071:
------------------------------
    Status: Patch Available  (was: Open)

> Support filters in ozone insight point
> --------------------------------------
>
>                 Key: HDDS-2071
>                 URL: https://issues.apache.org/jira/browse/HDDS-2071
>             Project: Hadoop Distributed Data Store
>          Issue Type: Sub-task
>            Reporter: Marton Elek
>            Assignee: Marton Elek
>            Priority: Major
>
> With Ozone insight we can print out all the logs / metrics of one specific component s (eg. scm.node-manager or scm.node-manager).
> It would be great to support additional filtering capabilities where the output is filtered based on specific keys.
> For example to print out all of the logs related to one datanode or related to one type of RPC request.
> Filter should be a key value map (eg. --filter datanode=sjdhfhf,rpc=createChunk) which can be defined in the ozone insight CLI.
> As we have no option to add additional tags to the logs (it may be supported by log4j2 but not with slf4k), the first implementation can be implemented by pattern matching.
> For example in SCMNodeManager.processNodeReport contains trace/debug logs which includes the " [datanode={}]" part. This formatting convention can be used to print out the only the related information. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org