From ddd216c54a094ca227c7539241dd432fa8376f9d Mon Sep 17 00:00:00 2001 From: Mark Boyd Date: Tue, 3 Dec 2024 10:23:12 -0500 Subject: [PATCH] add more mappings for cloudwatch log tags (#123) --- .../templates/config/input_and_output.conf.erb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jobs/ingestor_cloudwatch/templates/config/input_and_output.conf.erb b/jobs/ingestor_cloudwatch/templates/config/input_and_output.conf.erb index 12285c53..61d96f10 100644 --- a/jobs/ingestor_cloudwatch/templates/config/input_and_output.conf.erb +++ b/jobs/ingestor_cloudwatch/templates/config/input_and_output.conf.erb @@ -26,6 +26,9 @@ filter rename => {"[cloudwatch_logs][tags][InstanceGUID]"=>"[@cf][service_instance_id]"} rename => {"[cloudwatch_logs][tags][Serviceofferingname]"=>"[@cf][service_offering]"} rename => {"[cloudwatch_logs][tags][Serviceplanname]"=>"[@cf][service_plan]"} + rename => {"[cloudwatch_logs][tags][PlanGUID]"=>"[@cf][plan_id]"} + rename => {"[cloudwatch_logs][tags][ServiceGUID]"=>"[@cf][service_id]"} + rename => {"[cloudwatch_logs][tags][service]"=>"broker"} rename => {"[cloudwatch_logs][tags][broker]"=>"broker"} remove_field => ["[cloudwatch_logs][tags][client]"]