diff --git a/config_handler/mapping/logging_plugins_mapping.yaml b/config_handler/mapping/logging_plugins_mapping.yaml index d2e137c..0dade42 100644 --- a/config_handler/mapping/logging_plugins_mapping.yaml +++ b/config_handler/mapping/logging_plugins_mapping.yaml @@ -323,3 +323,276 @@ esalogstore: _tag_Name: "${tag_suffix[5].rpartition('_').first}" match: flush_interval: 30s + +# yarn resource manager logging mapping +yarn-rm: + source: + '@type': tail + path: '/var/log/hadoop-yarn/yarn/yarn-yarn-resourcemanager-manager-0.log' + pos_file: '/var/log/td-agent/yarn-rm.pos' + multiline: + format_firstline: '/^(?