Skip to content

Commit

Permalink
Merge pull request #82 from cloud-gov/filter
Browse files Browse the repository at this point in the history
rds Filter
  • Loading branch information
JasonTheMain authored Sep 18, 2024
2 parents 5d83e68 + 609b81c commit b6a03bd
Showing 1 changed file with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,23 @@ input
}
}

filter
{
mutate {
rename => {"[cloudwatch_logs][tags][environment]"=>"environment"}
rename => {"[cloudwatch_logs][tags][OrganizationGUID]"=>"[@cf][org_id]"}
rename => {"[cloudwatch_logs][tags][SpaceGUID]"=>"[@cf][space_id]"}
rename => {"[cloudwatch_logs][tags][Organizationname]"=>"[@cf][org]"}
remove_field => ["[cloudwatch_logs][tags][Createdat]"]
remove_field => ["[cloudwatch_logs][tags][Updatedat]"]
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][broker]"=>"broker"}
remove_field => ["[cloudwatch_logs][tags][client]"]

}
}

<%
es_output_hosts = nil
Expand Down

0 comments on commit b6a03bd

Please sign in to comment.