Skip to content

Commit

Permalink
Adds support for ECS compliant cloning
Browse files Browse the repository at this point in the history
When Cloning with logstash in ECS complaint mode, [type] no longer created, instead the value is added as a [tag]
  • Loading branch information
rkbennett authored Nov 20, 2024
1 parent 0bac709 commit bec57bd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ output {
}
}

if [type] == "implantsdb" {
if ([type] == "implantsdb" or "implantsdb" in [tags]) {
elasticsearch {
hosts => ["redelk-elasticsearch:9200"]
sniffing => false
Expand Down Expand Up @@ -73,7 +73,7 @@ output {
}
}

if [type] == "bluecheck" {
if ([type] == "bluecheck" or "bluecheck" in [tags]) {
elasticsearch {
hosts => ["redelk-elasticsearch:9200"]
sniffing => false
Expand Down

0 comments on commit bec57bd

Please sign in to comment.