Skip to content

Commit

Permalink
customizing index settings work in progress, idaholab#313 and idahola…
Browse files Browse the repository at this point in the history
  • Loading branch information
mmguero committed Jan 11, 2024
1 parent 86e3598 commit 91569c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions logstash/pipelines/beats/98_finalize.conf
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ filter {
}
}

# resolve opensearch index
# generate opensearch index name
if (![@metadata][malcolm_opensearch_index]) {
ruby {
id => "ruby_resolve_beats_logs_index"
Expand All @@ -118,7 +118,7 @@ filter {
"prefix_default" => "malcolm_beats"
"suffix_env" => "MALCOLM_OTHER_INDEX_SUFFIX"
"suffix_default" => "-%{%y%m%d}"
"midfix" => [ "[event][module]", "[agent][type]", "[input][type]" ]
"midfix_fields" => [ "[event][module]", "[agent][type]", "[input][type]" ]
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion logstash/pipelines/enrichment/98_finalize.conf
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

filter {

# resolve opensearch index
# generate opensearch index name
if (![@metadata][malcolm_opensearch_index]) {
ruby {
id => "ruby_resolve_network_logs_index"
Expand Down

0 comments on commit 91569c3

Please sign in to comment.