Skip to content

Commit

Permalink
Logstash PR fix (#3460)
Browse files Browse the repository at this point in the history
  • Loading branch information
PMazarovich authored Aug 6, 2021
1 parent 92a26e0 commit e1198c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/analytics/logstash/logstash.conf
Original file line number Diff line number Diff line change
Expand Up @@ -124,15 +124,15 @@ output {
if [type] == "client" {
elasticsearch {
hosts => ["${LOGSTASH_OUTPUT_HOST}"]
index => "cvat.client"
index => "%{[@metadata][target_index_client]}"
user => "${LOGSTASH_OUTPUT_USER:}"
password => "${LOGSTASH_OUTPUT_PASS:}"
manage_template => false
}
} else if [type] == "server" {
elasticsearch {
hosts => ["${LOGSTASH_OUTPUT_HOST}"]
index => "cvat.server"
index => "%{[@metadata][target_index_server]}"
user => "${LOGSTASH_OUTPUT_USER:}"
password => "${LOGSTASH_OUTPUT_PASS:}"
manage_template => false
Expand Down

0 comments on commit e1198c3

Please sign in to comment.