Skip to content

Commit

Permalink
Merge pull request #644 from piyush-desai-ibm/GRD-90012
Browse files Browse the repository at this point in the history
Submit changes for GRD-90012.
  • Loading branch information
PratikshaSonawane authored Dec 13, 2024
2 parents 1c45e67 + e685e7b commit 8894724
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ filter
} else {
mutate { gsub => ["originalSQL","[\\]",""]}
mutate { add_field => {"Server_Hostname" => "%{account_id}_%{serverInstance}"} }
mutate {replace => { "serverInstance" => "%{account_id}:%{serverInstance}" }}
auroramysqlguardiumpluginfilter {}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ filter
} else {
mutate { gsub => ["originalSQL","[\\]",""]}
mutate { add_field => {"Server_Hostname" => "%{account_id}_%{serverInstance}"} }
mutate {replace => { "serverInstance" => "%{account_id}:%{serverInstance}" }}
auroramysqlguardiumpluginfilter {}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ input{

filter
{
if [type] == "AuroraMysql" {
if [type] == "cloudwatch" {
grok {
match => {
"message" => [
Expand All @@ -32,6 +32,7 @@ filter
} else {
mutate { gsub => ["originalSQL","[\\]",""]}
mutate { add_field => {"Server_Hostname" => "%{account_id}_%{serverInstance}"} }
mutate {replace => { "serverInstance" => "%{account_id}:%{serverInstance}" }}
auroramysqlguardiumpluginfilter {}
}

Expand Down

0 comments on commit 8894724

Please sign in to comment.