Skip to content

Commit

Permalink
alb logs allow for trace id
Browse files Browse the repository at this point in the history
alb logs allow for trace id
  • Loading branch information
wullub committed May 24, 2024
1 parent d650f24 commit acff4af
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ resource "aws_glue_catalog_table" "application_lb_logs" {
name = "application_lb_logs"
parameters = {
"serialization.format" = "1",
"input.regex" = "([^ ]*) ([^ ]*) ([^ ]*) ([^ ]*):([0-9]*) ([^ ]*)[:-]([0-9]*) ([-.0-9]*) ([-.0-9]*) ([-.0-9]*) (|[-0-9]*) (-|[-0-9]*) ([-0-9]*) ([-0-9]*) \"([^ ]*) (.*) (- |[^ ]*)\" \"([^\"]*)\" ([A-Z0-9-_]+) ([A-Za-z0-9.-]*) ([^ ]*) \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" ([-.0-9]*) ([^ ]*) \"([^\"]*)\" \"([^\"]*)\" \"([^ ]*)\" \"([^s]+?)\" \"([^s]+)\" \"([^ ]*)\" \"([^ ]*)\""
"input.regex" = "([^ ]*) ([^ ]*) ([^ ]*) ([^ ]*):([0-9]*) ([^ ]*)[:-]([0-9]*) ([-.0-9]*) ([-.0-9]*) ([-.0-9]*) (|[-0-9]*) (-|[-0-9]*) ([-0-9]*) ([-0-9]*) \"([^ ]*) (.*) (- |[^ ]*)\" \"([^\"]*)\" ([A-Z0-9-_]+) ([A-Za-z0-9.-]*) ([^ ]*) \"([^\"]*)\" \"([^\"]*)\" \"([^\"]*)\" ([-.0-9]*) ([^ ]*) \"([^\"]*)\" \"([^\"]*)\" \"([^ ]*)\" \"([^s]+?)\" \"([^s]+)\" \"([^ ]*)\" \"([^ ]*)\" ([^ ]*)"
}
serialization_library = "org.apache.hadoop.hive.serde2.RegexSerDe"
}
Expand Down Expand Up @@ -475,7 +475,7 @@ resource "aws_glue_catalog_table" "application_lb_logs" {
type = "string"
}
columns {
name = "trace_id"
name = "trace_header"
type = "string"
}
columns {
Expand Down Expand Up @@ -522,6 +522,10 @@ resource "aws_glue_catalog_table" "application_lb_logs" {
name = "classification_reason"
type = "string"
}
columns {
name = "trace_id"
type = "string"
}
}
}

Expand Down

0 comments on commit acff4af

Please sign in to comment.