Skip to content

Commit

Permalink
Merge pull request #132 from cloud-gov/cloudwatch-upgrades
Browse files Browse the repository at this point in the history
Cloudwatch upgrades including correcting end point
  • Loading branch information
JasonTheMain authored Dec 6, 2024
2 parents f13d329 + ecde353 commit 946033b
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ input
{
log_group_prefix => true
interval => 1
start_position => 86400
start_position => end
<% if_p("logstash_ingestor.cloudwatch.prefix") do |prefix_list| %>
log_group => "<%= prefix_list %>"
<% end %>
Expand Down Expand Up @@ -33,6 +33,11 @@ filter
remove_field => ["[cloudwatch_logs][tags][PlanGUID]"]
remove_field => ["[cloudwatch_logs][tags][ServiceGUID]"]
}
truncate {
fields => ["message"]
add_tag => [ "_logtrimmed" ]
length_bytes => 32765
}
}

<%
Expand Down

0 comments on commit 946033b

Please sign in to comment.