Skip to content

Commit

Permalink
adding extra filters to extract the information
Browse files Browse the repository at this point in the history
  • Loading branch information
Duplo-Yashwant committed Nov 28, 2024
1 parent eff08fc commit 5cced8a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions diagnostics/opensearch/logstash/logstash.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,16 @@ input {
}
}

filter {
json {
source => "message"
remove_field => ["message"]
}
split {
field => "records"
}
}

output {
opensearch {
hosts => ["${OPENSEARCH_HOST}:9200"]
Expand Down

0 comments on commit 5cced8a

Please sign in to comment.