From fb252374f56d2f394a3074eb9089d594dd66f2af Mon Sep 17 00:00:00 2001 From: Sujoy Date: Tue, 20 Nov 2018 04:41:30 -0500 Subject: [PATCH 1/2] Added plugings for hadoop log files. --- .../mapping/logging_plugins_mapping.yaml | 273 ++++++++++++++++++ 1 file changed, 273 insertions(+) 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: '/^(?